]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
Daily bump.
[gcc.git] / gcc / ChangeLog
CommitLineData
2450e0b8
NB
12002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
2
3 * cpplib.c (glue_header_name): Use local buffer to build up
4 header name.
5
70b6aaed
NB
62002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
7
8 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
9
6be580c7
KH
102002-02-23 Kazu Hirata <kazu@hxi.com>
11
12 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
13 H8/300[HS] separately.
14 * config/h8300/h8300.md: Remove the early clobber constraint
15 from bit field patterns.
16
35dad9f1
KH
172002-02-23 Kazu Hirata <kazu@hxi.com>
18
19 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
20 register_operand.
21 (mulhisi3): Likewise.
22 (umulqisi3): Likewise.
23 (umulhisi3): Likewise.
24
ab8e2228
NB
252002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
26
27 * cppinit.c (output_deps): Correct test for stdout output.
28 (init_dependency_output): Cure warning.
29
ac6f8a15
RK
30Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
31
32 * expr.c (store_expr): When converting expression to promoted
33 equivalent type, allow using SUBREG_REG of TARGET as the target
34 of the expansion of EXP.
35 * loop.c (basic_induction_var, case SUBREG): Always look inside.
36 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
37 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
38 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
39 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
40
f282ffb3
JM
412002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
42
43 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
44 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
45 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
46
44c5edc0
JJ
472002-02-23 Jakub Jelinek <jakub@redhat.com>
48
49 PR optimization/5747
50 * loop.c (scan_loop): Update reg info if move_movables created new
51 pseudos.
52
f98e43c0
DE
532002-02-23 David Edelsohn <edelsohn@gnu.org>
54
55 * gcc.c (init_gcc_spec): Revert last change.
56
e72247f4
DE
572002-02-23 David Edelsohn <edelsohn@gnu.org>
58
59 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
60 gpc_reg_operand constraint.
61
622002-02-23 Alan Modra <amodra@bigpond.net.au>
63
64 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
65 Simplify comparison of `low'.
66 (add_operand): Fix formatting.
67 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
57deb3a1 68 (mask_operand): Disallow mask to wrap in 64-bit mode.
e72247f4
DE
69 (rs6000_stack_info): Remove redundant test setting push_p.
70 (output_toc): Fix formatting.
71 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
72 cc_reg_not_cr0_operand constraint.
73 (booldi3, boolcdi3 splitters): Same.
74
a5c30531
AH
752002-02-23 Aldy Hernandez <aldyh@redhat.com>
76
77 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
78
43710f9f
DE
792002-02-22 David Edelsohn <edelsohn@gnu.org>
80
81 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
82 gcc invoked with -shared-libgcc.
83
3256b817
JJ
842002-02-22 Jakub Jelinek <jakub@redhat.com>
85
86 PR c++/5748
87 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
88 decl if any of elements was TREE_USED.
89
9e0625a3
AO
902002-02-22 Alexandre Oliva <aoliva@redhat.com>
91
92 * config/sparc/sol2.h: Don't include sys/mman.h.
93 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
94 (arith_4096_operand): Don't throw high bits away.
95 (const64_operand): Take sign extension of CONST_INTs into account.
96 (const64_high_operand, sparc_emit_set_const32): Likewise.
97 (GEN_HIGHINT64): Likewise.
98 (sparc_emit_set_const64_quick1): Likewise.
99 (const64_is_2insns): Likewise.
100 (print_operand): Use trunc_int_for_mode for sign extension.
101 * config/sparc/sparc.h (SMALL_INT32): Likewise.
102 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
103 chars. Assume CONST_INT is already properly sign-extended.
104 (movdi split): Sign-extend each SImode part.
105 (andsi3 split): Don't mask high bits off, so that result
106 remains properly sign-extend.
107 (iorsi3 split): Likewise.
108 (xorsi3 split): Likewise.
109
54fec3d5
RS
1102002-02-22 Richard Sandiford <rsandifo@redhat.com>
111
112 * fold-const.c (fold): Fix typo in comments.
113
667ada9b
DN
1142002-02-21 Diego Novillo <dnovillo@redhat.com>
115
116 * Makefile.in (langhooks.o): Update dependencies.
117
29ac78d5
DN
1182002-02-21 Diego Novillo <dnovillo@redhat.com>
119
120 * langhooks.c: Include flags.h.
121
6aa77e6c
AH
1222002-02-21 Aldy Hernandez <aldyh@redhat.com>
123
124 * testsuite/gcc.dg/attr-alwaysinline.c: New.
125
126 * c-common.c (c_common_post_options): Set inline trees by
127 default.
128
129 * doc/extend.texi (Function Attributes): Document always_inline
130 attribute.
131 Update documentation about inlining when not optimizing.
132
133 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
134
135 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
136 unless DECL_ALWAYS_INLINE.
137
138 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
139 unless DECL_ALWAYS_INLINE.
140 (c_disregard_inline_limits): Disregard if always_inline set.
141
142 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
143 Disregard if always_inline set.
144 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
145 unless DECL_ALWAYS_INLINE.
146
147 * attribs.c (handle_always_inline_attribute): New.
148 (c_common_attribute_table): Add always_inline.
149
150 * config/rs6000/altivec.h: Add prototypes for builtins
151 requiring the always_inline attribute.
152
c410d49e
EC
1532002-02-21 Eric Christopher <echristo@redhat.com>
154
155 * expmed.c (store_bit_field): Try to simplify the subreg
156 before generating a new one when when the mode size of
157 value is less than maxmode.
158
e3c8ea67
RH
1592002-02-21 Richard Henderson <rth@redhat.com>
160
161 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
162 than gen_rtx_PLUS to form the sum.
163 * explow.c (force_reg): Rearrange to not allocate new pseudo
164 when force_operand returns a register.
165 * expr.c (expand_assignment): Allow offset_rtx expansion to
166 return a sum. Do not force addresses into registers.
167 (expand_expr): Likewise.
168 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
169 to canonicalize arithmetic that didn't simpify.
170 (simplify_plus_minus): New argument force; update
171 all callers. Don't split CONST unless we can do something with it,
172 and wouldn't lose the constness of the operands.
173
174 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
175 that we generated earlier.
176
c1a046e5
TT
1772002-02-21 Tom Tromey <tromey@redhat.com>
178
179 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
180 (output_line_info): Use constant `1', with a long explanatory
181 comment.
182 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
183
31fbaad4
R
184Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
185
186 * jump.c (redirect_jump): If old label has no UID, don't try to
187 delete it.
188
a7f52356
R
189Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
190
191 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
192 If input is constant, do shifts at compile time.
193
924fcc4e
JM
1942002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
195
196 * doc/extend.texi: Fix some more overfull hboxes.
197
e5a20888
JJ
1982002-02-21 Jakub Jelinek <jakub@redhat.com>
199
200 PR optimization/4994
201 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
202 register moves.
203
2042002-02-21 Jakub Jelinek <jakub@redhat.com>
22273300
JJ
205
206 PR c++/4574
207 * expr.h (expand_and): Add mode argument.
208 * expmed.c (expand_and): Add mode argument.
209 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
210 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
211 * except.c (expand_builtin_extract_return_addr): Likewise.
212 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
213 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
214 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
215 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
216 * config/c4x/c4x.md: Use GEN_INT (x) instead of
217 gen_rtx (CONST_INT, VOIDmode, x).
218
7133e992
JJ
2192002-02-21 Jakub Jelinek <jakub@redhat.com>
220
221 PR c/4697:
222 * stmt.c (warn_if_unused_value): Move side effects test once more.
223
e2ec05a6
TG
2242002-02-20 Torbjorn Granlund <tege@swox.com>
225
226 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
227 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
228
9dd791c8
AO
229Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
230
231 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
232 SUBREG or ZERO_EXTEND.
233
7ab56274
R
234Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
235
236 * sh.h (current_function_anonymous_args): Remove.
237 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
238 of current_function_varargs and current_function_stdarg is set.
239 * sh.c (sh_expand_prologue): Check current_function_varargs /
240 current_function_stdarg / TARGET_SH5 instead of
241 current_function_anonymous_args.
242
243 * sh64.h (TARGET_VERSION): Define.
244
b1765bde
DE
2452002-02-20 David Edelsohn <edelsohn@gnu.org>
246
247 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
248 VRSAVE_REGNO on TARGET_ALTIVEC.
249
2502002-02-20 Alan Modra <amodra@bigpond.net.au>
251
252 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
253 bits of SImode const_int.
254 (includes_rshift_p): Likewise.
255 (print_operand): Call mask_operand and mask64_operand with correct
c410d49e 256 mode.
b1765bde
DE
257 (rs6000_output_function_epilogue): Pad traceback table to word.
258 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
259 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
260 mask64_operand with correct mode.
b1765bde
DE
261 (FUNCTION_ARG_REGNO_P): Correct parentheses.
262
149d6f9e
JJ
2632002-02-20 Jakub Jelinek <jakub@redhat.com>
264
265 PR debug/4461
266 * varasm.c (get_pool_constant_mark): New.
267 * rtl.h (get_pool_constant_mark): Add prototype.
268 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
269 be represented if it has not been output.
270
4161da12
AO
2712002-02-20 Alexandre Oliva <aoliva@redhat.com>
272
273 * combine.c (do_SUBST): Sanity check substitutions of
274 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
275 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
276 CONST_INT into its operand.
277 (known_cond): Likewise, for ZERO_EXTEND.
278 * simplify-rtx.c (simplify_unary_operation): Fix condition to
279 allow for simplification of wide modes. Reject CONST_INTs in
280 ZERO_EXTEND when their actual mode is not given.
281
3704ef74
AO
2822002-02-20 Alexandre Oliva <aoliva@redhat.com>
283
284 * c-decl.c (pushdecl): If no global declaration is found for an
285 extern declaration in block scope, try a limbo one.
286
7552da58
JJ
2872002-02-20 Jakub Jelinek <jakub@redhat.com>
288
289 PR c++/4401
290 * c-common.c (pointer_int_sum): Moved from...
291 * c-typeck.c (pointer_int_sum): ...here.
292 * c-common.h (pointer_int_sum): Add prototype.
293
00fae85d
JJ
2942002-02-20 Jakub Jelinek <jakub@redhat.com>
295
296 PR c++/5713
297 * c-decl.c (duplicate_decls): Return 0 if issued error about
298 redeclaration.
299
4636c87e
JJ
3002002-02-20 Roger Sayle <roger@eyesopen.com>
301 Jakub Jelinek <jakub@redhat.com>
302
303 PR c/4389
304 * tree.c (host_integerp): Ensure that the constant integer is
305 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
306 when pos is zero or non-zero respectively. Clarify comment.
307 * c-format.c (check_format_info_recurse): Fix host_integerp
308 usage; the pos argument should be zero when assigning to a
309 signed HOST_WIDE_INT.
310
59bef189
RH
3112002-02-20 Richard Henderson <rth@redhat.com>
312
313 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
314 of the operand, rather than assuming TImode.
315 (ix86_expand_binop_builtin): Cope with commutative patterns
316 using nonimmediate_operand for both operands.
317 (ix86_expand_timode_binop_builtin): Likewise.
318 (ix86_expand_store_builtin): Validate operand 1.
319 (ix86_expand_unop1_builtin): Likewise.
320
9338ffe6 3212002-02-20 Philip Blundell <philb@gnu.org>
c410d49e 322
9338ffe6
PB
323 PR 5705
324 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
325
f322b423
RH
3262002-02-20 Richard Henderson <rth@redhat.com>
327
328 PR c/5615
329 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
330
d94084f7
TT
3312002-02-20 Tom Tromey <tromey@redhat.com>
332
333 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
334 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
335 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
336 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
337 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
338 unconditionally.
339
37fa124a
AM
340Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
341
342 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
343 for (const_int 0) in X not just INTVAL.
344
6e5bb5ad
JM
3452002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
346
347 * doc/extend.texi: Avoid or reduce overfull hboxes.
348
420e7dfa
DN
3492002-02-20 Diego Novillo <dnovillo@redhat.com>
350
351 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
352 operations if the field does not start at a mode boundary.
353
1b7a2af6
JS
3542001-02-20 Joel Sherrill <joel@OARcorp.com>
355
356 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
357 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
358 Also done for -Acpu and -Amachine.
359
56cd5b95
NB
3602002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
361
362 * cppinit.c (init_dependency_output): Take deps output file
363 from -o if none given with -MF. Suppress normal output.
c410d49e 364 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
56cd5b95
NB
365 * doc/cpp.texi, doc/invoke.texi: Update.
366
042cdf71
ZW
3672002-02-19 Zack Weinberg <zack@codesourcery.com>
368
369 * toplev.c (output_quoted_string): Write unprintable
370 characters with octal escapes.
371
c1f11548
DE
3722002-02-19 David Edelsohn <edelsohn@gnu.org>
373
374 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
375 really_call_used[VRSAVE_REGNO] if not Altivec.
376
3772002-02-19 Alan Modra <amodra@bigpond.net.au>
c410d49e 378
c1f11548
DE
379 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
380 MODE_MASK.
381 (constant_pool_expr_1): Fix formatting.
382 (rs6000_legitimize_reload_address): Likewise.
383
c964d90e
RK
384Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
385
386 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
387 now that we have one.
388
ae34ac46
ZW
3892002-02-19 Zack Weinberg <zack@codesourcery.com>
390
391 * tree.h (struct tree_common): Remove aux. Add unused_0 at
392 end of first block of bitfields (which was only seven bits);
393 rename dummy to unused_1; remove comment which is no longer true.
394
293c28ee
GS
3952002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
396
397 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
398
7b8781c8
PB
3992002-02-19 Philip Blundell <pb@nexus.co.uk>
400
0cb6c58d 401 PR 5399
7b8781c8
PB
402 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
403 if generating PIC.
404
405 PR 5054
406 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
407 arm_is_longcall_p rather than inspecting call-type cookie
408 directly.
409 (call_value_insn) [TARGET_THUMB]: Likewise.
410
5c464583
GS
4112002-02-19 Graham Stott <grahams@redhat.com>
412
413 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
414
71c061e6
DE
4152002-02-19 David Edelsohn <edelsohn@gnu.org>
416
417 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
418 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
6d1def5c 419 (FP_SAVE_INLINE): Delete.
71c061e6
DE
420
421 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
422 * config/rs6000/eabi.asm: Remove ABI save restore routines.
423 * config/rs6000/t-ppccomm: Build crtsavres.o.
424 * config/rs6000/crtsavres.asm: New file.
425
3a7731fd
PB
4262002-02-19 Philip Blundell <philb@gnu.org>
427
428 * config/arm/arm.c (use_return_insn): Don't reject interrupt
429 functions.
430 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
431 (output_return_instruction): Allow interrupt functions to return with
432 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
433 (arm_expand_prologue): Subtract 4 before stacking LR in an
434 interrupt function.
435
14f583b8
PB
4362002-02-19 Philip Blundell <pb@nexus.co.uk>
437
438 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
439 decl, not just FUNCTION_DECL.
440 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
441 (arm_assemble_integer): Likewise.
442 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
443 marked local.
c410d49e 444
4cb7482c
MG
4452002-02-19 matthew green <mrg@eterna.com.au>
446
447 * config.gcc (sparc-*-netbsdelf*): Enable target.
448 (sparc64-*-netbsd*): New target.
449 * config/sparc/netbsd-elf.h: New file.
450 * config/sparc/t-netbsd64: New file.
451
2df3a718
GS
4522002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
453
454 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
455
77f6c1eb
RS
4562002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
457
458 * doc/invoke.texi: explicitly list the style guidelines that
459 -Weffc++ checks for.
460
fd973d56
JH
461Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
462
463 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
464
30518e45
NB
4652002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
466
467 PR other/5718
468 * gcc.c (cpp_unique_options): Treat -o as indicating object file
469 only if not -E. If -E, pass -o through to the preprocessor.
470
39ea5704
KH
4712002-02-19 Kazu Hirata <kazu@hxi.com>
472
473 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
474 register number with an appropriate macro.
475
7355dba7
BM
4762002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
477
478 * doc/rtl.texi (Constants): Close @code tag.
479
91c8aa9e
AH
4802002-02-19 Aldy Hernandez <aldyh@redhat.com>
481
482 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
483 ("mmx_uavgv4hi3"): Same.
484 ("pmulhrwv4hi3"): Same.
485
486 * tree-inline.c (walk_tree): Handle vectors.
487
488 * c-common.c (constant_expression_warning): Handle vectors.
489 (overflow_warning): Same.
490
491 * sched-deps.c (sched_analyze_2): Handle vectors.
492
493 * rtlanal.c (rtx_unstable_p): Handle vectors.
494 (rtx_varies_p): Same.
495 (count_occurrences): Same.
496 (regs_set_between_p): Same.
497 (modified_between_p): Same.
498 (modified_in_p): Same.
499 (volatile_insn_p): Same.
500 (volatile_refs_p): Same.
501 (side_effects_p): Same.
502 (may_trap_p): Same.
503 (inequality_comparisons_p): Same.
504 (replace_regs): Same.
505 (computed_jump_p_1): Same.
506
507 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
508 argument.
509 (inner_mode_array): New.
510 (copy_rtx): Handle vectors.
511 (copy_most_rtx): Same.
512 (rtx_equal_p): Same.
513 (get_mode_alignment): Adjust for vectors.
514
515 * resource.c (mark_referenced_resources): Handle vectors.
516 (mark_set_resources): Same.
517
518 * reload1.c (eliminate_regs): Handle vectors.
519 (elimination_effects): Same.
520 (scan_paradoxical_subregs): Same.
521
522 * reload.c (subst_reg_equivs): Handle vectors.
523
524 * regrename.c (scan_rtx): Handle vectors.
525
526 * regclass.c (reg_scan_mark_refs): Handle vectors.
527
528 * recog.c (find_single_use_1): Handle vectors.
529
530 * local-alloc.c (equiv_init_varies_p): Handle vectors.
531 (contains_replace_regs): Same.
532 (memref_referenced_p): Same.
533
534 * integrate.c (copy_rtx_and_substitute): Handle vectors.
535 (subst_constants): Same.
536
537 * genattrtab.c (attr_copy_rtx): Handle vectors.
538 (encode_units_mask): Same.
539 (clear_struct_flag): Same.
540 (count_sub_rtxs): Same.
541
542 * gcse.c (want_to_gcse_p): Handle vectors.
543 (oprs_unchanged_p): Same.
544 (hash_expr_1): Same.
545 (oprs_not_set_p): Same.
546 (expr_killed_p): Same.
547 (compute_transp): Same.
548 (store_ops_ok): Same.
549
550 * function.c (purge_addressof_1): Do not allow paradoxical subregs
551 of vectors.
552 (fixup_var_refs_1): Same.
553 (instantiate_virtual_regs_1): Same.
554
555 * fold-const.c (operand_equal_p): Handle vectors.
556 (fold): Same.
557 (rtl_expr_nonnegative_p): Same.
558
559 * flow.c (mark_used_regs): Handle vectors.
560
561 * df.c (df_uses_record): Handle vectors.
562
563 * cselib.c (cselib_subst_to_values): Handle vectors.
564 (cselib_mem_conflict_p): Same.
565 (hash_rtx): Same.
566
567 * cse.c (canon_reg): Handle vectors.
568 (fold_rt): Same.
569 (cse_process_notes): Same.
570 (count_reg_usage): Same.
571 (canon_hash): Same.
572
573 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
574
575 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
576
577 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
578 (gen_rtx): Handle CONST_VECTOR.
579 (gen_const_vector_0): New.
580 (copy_rtx_if_shared): CONST_VECTORs can be shared.
581 (reset_used_flags): Same.
582 (copy_insn_1): Same.
583 (initializer_constant_valid_p): Handle VECTOR_CST.
584
585 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
586
587 * doc/rtl.texi (Constants): Document const_vector.
588 (CONST0_RTX): Update for vectors.
589 (RTL sharing): Same.
590
591 * print-tree.c (print_node): Add case for VECTOR_CST.
592
593 * tree.h (TREE_VECTOR_CST_ELTS): New.
594 (struct tree_vector): New.
595 (union tree_node): Add vector node.
596 (build_vector): Add prototype.
597
598 * tree.def (VECTOR_CST): New.
599
600 * tree.c (build_vector): New.
601
602 * expmed.c (make_tree): Handle CONST_VECTOR.
603
604 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
605 (CONST_VECTOR_ELT): New.
606 (CONST_VECTOR_NUNITS): New.
607
608 * machmode.h (GET_MODE_INNER): New.
609 (DEF_MACHMODE): Accept 8th arg.
610
611 * machmode.def: Add 8th argument for vector inner mode.
612 Add inner vector modes for vectors.
613
614 * rtl.def (VEC_CONST): Remove.
615 (CONST_VECTOR): New.
616
617 * expr.c (clear_storage): Allow vectors.
618 (is_zeros_p): Handle VECTOR_CST.
619
620 * varasm.c (output_constant_pool): Handle vectors.
621 (rtx_const): Add veclo and vechi fields.
622 (kind): Add RTX_VECTOR.
623 (decode_rtx_const): Add case for vector.
624
625 * config/rs6000/rs6000-protos.h: Add zero_constant.
c410d49e 626
91c8aa9e
AH
627 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
628 constants. Force easy vector constants into memory.
629 (easy_vector_constant): New.
630 (emit_easy_vector_constant): New.
631 (rs6000_legitimize_reload_address): Do not generate bad reloads on
632 darwin.
633
634 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
635 instruction does.
636 ("altivec_lvxl"): Same.
637 (altivec_lvebx): Same.
638 (altivec_lvehx): Same.
639 (altivec_lvewx): Same.
640 ("*movv4si_const0"): New.
641 ("*movv4sf_const0"): New.
642 ("*movv8hi_const0"): New.
643 ("*movv16qi_const0"): New.
644
d4d6d0ce
KH
6452002-02-18 Kazu Hirata <kazu@hxi.com>
646
647 * config/h8300/h8300.c (notice_update_cc): Use
648 cc_status.value2.
649
4915d3aa
KH
6502002-02-18 Kazu Hirata <kazu@hxi.com>
651
652 * config/h8300/h8300.md (divmod patterns): Change the
653 constraints for operands[1] to register_operand.
654
82be00ee
KH
6552002-02-18 Kazu Hirata <kazu@hxi.com>
656
657 * config/h8300/h8300-protos.h: Remove the prototype for
658 p_operand.
659 * config/h8300/h8300.c (p_operand): Remove.
660 * config/h8300/h8300.md: Replace p_operand with
661 const_int_operand.
662
1768c26f
PB
6632002-02-18 Philip Blundell <pb@nexus.co.uk>
664
665 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
666 comment.
667 (output_return_instruction): Allow use of LDR to unstack
668 return addresss even for interrupt handlers or when
669 interworking. If compiling for ARMv5, use interworking-safe
670 return instructions by default. Remove duplicated code and
671 lengthy "strcat" sequences.
672
ccd84f51
FS
6732002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
674
675 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
676 (LINK_EH_SPEC): Define.
677 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
678
2c153108
UW
6792002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
680
681 * config/s390/s390.c (s390_emit_prologue): Do not set the
682 frame_related flag for call-clobbered registers.
683
e95d6b23
JH
684Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
685
686 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
687 (construct_container): Fix handling of SSE operands.
688 (ix86_expand_builtin): Fix handling of 64bit pointers.
689 (mmx_maskmovq_rex): New pattern.
690
c43a12b5
JH
691Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
692
693 * regrename.c (kill_set_value): Handle subregs properly.
694
aeb85a15
DB
6952002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
696
697 * objc/objc-act.c (handle_impent): Remove leading '*'
c410d49e 698 from objc_class_name.
aeb85a15 699
a615ca3e
RH
7002002-02-17 Richard Henderson <rth@redhat.com>
701
702 * config/alpha/alpha.c (some_small_symbolic_operand,
703 some_small_symbolic_operand_1, split_small_symbolic_operand,
704 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
705 Handle small SYMBOL_REFs anywhere, not just inside memories.
706 * config/alpha/alpha-protos.h: Update.
707 * config/alpha/alpha.h (PREDICATE_CODES): Update.
708 * config/alpha/alpha.md (small symbolic operand splitter): Update.
709
ddb28441
RM
7102002-02-17 Roland McGrath <roland@frob.com>
711
712 * config.gcc (powerpc-*-gnu-gnualtivec*,
713 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
714 * config/rs6000/gnu.h: New file.
715 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
716 Grok "gnu" in rs6000_abi_name.
717 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
718 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
719 Grok -mcall-gnu analogous to -mcall-linux et al.
720 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
721 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
722 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
723
f6f8ada3
JJ
7242002-02-17 Jakub Jelinek <jakub@redhat.com>
725
726 PR c/3444:
727 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
728 shortening.
729
e16b32fc
PT
7302002-02-17 Philipp Thomas <pthomas@suse.de>
731
732 * config/cris/cris.h: Undefine STARTFILE_SPEC and
733 ENDFILE_SPEC before (re)defining them.
734
f9477efd
KH
7352002-02-17 Kazu Hirata <kazu@hxi.com>
736
737 * config/h8300/h8300.c: Fix formatting.
738 * config/h8300/h8300.h: Likewise.
739
404ae494
PT
7402002-02-17 Philipp Thomas <pthomas@suse.de>
741
742 * doc/tm.texi: Explain why empty strings should not be
743 marked for translation.
744
a52453cc
PT
7452002-02-17 Philipp Thomas <pthomas@suse.de>
746
747 * final.c (output_operand_lossage): Changed to accept
748 printf style arguments. Change calls where necessary.
749 * output.h (output_operand_lossage): Change declaration
750 accordingly. Update copyright.
751 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
752 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
753 Update copyright date where necessary.
c410d49e 754
a52453cc
PT
755 * config/i386/i386.c (print_operand): Likewise. Remove use of
756 sprintf.
757
758 * config/cris/cris.c (cris_operand_lossage): Likewise.
759 Rename parameter so that exgettext recognizes it as
760 translatable message.
761 (LOSE_AND_RETURN): Rename parameter to msgid.
762
1c11abc4
KH
7632002-02-17 Kazu Hirata <kazu@hxi.com>
764
765 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
766 hard coded register number with an appropriate macro.
767 (HARD_REGNO_MODE_OK): Likewise.
768 (ARG_POINTER_REGNUM): Likewise.
769 (STATIC_CHAIN_REGNUM): Likewise.
770 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
771 * config/h8300/h8300.md (define_constants): Define more
772 register numbers.
773
a5d17ff3
PT
7742002-02-17 Philipp Thomas <pthomas@suse.de>
775
776 * config/i386/i386.h: Don't mark empty strings for translation.
777
1a7289c4
L
7782002-02-16 H.J. Lu <hjl@gnu.org>
779
780 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
781
afb58288
ZW
7822002-02-16 Zack Weinberg <zack@codesourcery.com>
783
784 * cppinit.c (merge_include_chains): Check for brack being
785 NULL before attempting to merge it with qtail.
786
d2af4dbd
AC
7872002-02-16 Andrew Cagney <ac131313@redhat.com>
788
789 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
790 DBX_DEBUG.
791
2e1ed1e3
JDA
7922002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
793
794 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
795
604c75b2
JDA
7962002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
797
798 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
799 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
800 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
801
1a42b072
RK
802Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
803
7303604f 804 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1a42b072
RK
805 now only if !TARGET_FIX.
806 (*movsi_nt_vms_fix): New pattern.
807
c2ea1ac6
DR
8082002-02-16 Douglas B Rupp <rupp@gnat.com>
809
810 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
811 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
812 (alpha_sa_mask, alpha_sa_size): Reflect above change.
813 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
814 (alpha_start_function, alpha_expand_epilogue): Likewise.
815 (unicosmk_gen_dsib): Likewise.
816
725e58b1
RK
817Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
818
819 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
820
13e58269
UW
8212002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
822
c410d49e 823 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
13e58269
UW
824 check_and_change_labels, s390_final_chunkify): Delete.
825 (s390_split_branches, s390_chunkify_pool): New functions.
826 (s390_function_prologue): Call them.
c410d49e 827
13e58269
UW
828 * config/s390/s390.h (S390_REL_MAX): Delete.
829 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
830
c410d49e 831 * config/s390/s390.md (cjump, icjump, jump): Fix length
13e58269
UW
832 attribute calculation.
833
834
34d1b01d
DE
8352002-02-15 David Edelsohn <edelsohn@gnu.org>
836
837 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
838 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
839
be5cc51a
JDA
8402002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
841
842 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
843 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
844 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
845
ee96ce90
RS
8462002-02-15 Richard Sandiford <rsandifo@redhat.com>
847
848 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
849
05fa709d
RS
8502002-02-15 Richard Sandiford <rsandifo@redhat.com>
851
852 * reload.c (find_dummy_reload): Check that an output register
853 is valid for its mode.
854
4606272b
AO
8552002-02-14 Alexandre Oliva <aoliva@redhat.com>
856
9a360704
AO
857 * combine.c (known_cond): After replacing the REG of a SUBREG, try
858 to simplify it.
859
4606272b
AO
860 * function.c (assign_parms): Demote promoted argument passed by
861 transparent reference.
862
e62d89a1
JS
8632001-02-14 Joel Sherrill <joel@OARcorp.com>
864
865 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
866 -Acpu() and -Amachine() to eliminate warnings.
867
6c4cf695
UW
8682002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
869
870 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
871
037f11ef
KH
8722002-02-14 Kazu Hirata <kazu@hxi.com>
873
874 * config/h8300/h8300-protos.h: Update the prototype for
875 const_costs.
876 * config/h8300/h8300.c (const_costs): Treat SET as a little
877 more expensive operation.
878 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
879 reference to const_costs.
880
fdc76b09
HPN
8812002-02-14 Hans-Peter Nilsson <hp@axis.com>
882
883 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
884
d76e6800
JJ
8852002-02-14 Jakub Jelinek <jakub@redhat.com>
886
887 PR c/5503:
888 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
889 use arguments from newtype.
890
5ae590d7
EC
8912002-02-13 Eric Christopher <echristo@redhat.com>
892
893 * config/mips/mips.c (override_options): Add check for march/mipsX
894 on the same command line. Fix error message in cpu processing.
895 Remove architecture and ISA checks.
896
b8513691
AH
8972002-02-14 Aldy Hernandez <aldyh@redhat.com>
898
899 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
900
901 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
902
78c875e8
AH
9032002-02-14 Aldy Hernandez <aldyh@redhat.com>
904
905 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
906 alternatives.
907 ("*movv8hi_internal1"): Same.
908 ("*movv16qi_internal1"): Same.
909 ("*movv4sf_internal1"): Same.
910
911 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
912 not push_reload for altivec modes.
913
d76e6800 9142002-02-13 Joel Sherrill <joel@OARcorp.com>
f22b4bc4
JS
915
916 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
917 all RTEMS targets including removal of #includes from config/*/rtems*.h
918 file and adding them to tm_file setting. Added xm_defines=POSIX to
919 many targets.
920 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
921 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
922 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
923 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
924 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
925 config/m68k/rtemself.h: Ditto.
926 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
927 config/mips/rtems64.h: Ditto.
928 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
929 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
930 Ditto.
931 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
932 config/sparc/rtemself.h: Ditto.
933 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
934 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
935 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
936 more like arm-elf.
937 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
938 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
939 target made more similar to i386-elf.
940 * config/i386/t-rtems-i386: Added soft float support and multilibs.
941 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
942 be similar to config/m68k/t-m68kelf.
943 * gthr-rtems.h: Encapsulate with extern "C" for C++.
944
8686336f
JH
945Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
946
947 * regmove.c (kill_value): Handle subregs.
948
558740bf
JH
949Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
950
951 * i386.md (mul patterns): Allow memory operand to be first;
952 add expanders where needed; fix constraints.
953 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
954 Allow memory operand to be the first.
955
956 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
957 operands.
958
21117a17
JJ
9592002-02-13 Jakub Jelinek <jakub@redhat.com>
960
961 PR c/5681:
962 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
963 GET_MODE (x).
964
ec65b2e3
JJ
9652002-02-13 Jakub Jelinek <jakub@redhat.com>
966
967 PR optimization/5547:
968 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
969 all valid IA-32 address modes involving non-scaled %ebx and
970 GOT/GOTOFF as displacement.
971
ce50cae8
UW
9722002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
973
974 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
975 after emitting ltorg insns.
976
977 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
978 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
979 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
980 *abssf2): Fix "op_type" attribute.
981
09eb789b
DR
9822002-02-13 Douglas B Rupp <rupp@gnat.com>
983
2dbe67bb
DR
984 * mkconfig.sh: Avoid using a subshell redirect.
985 ($output.T): Change to $(output)T.
986 (ENABLE_NLS): Remove unneeded undef.
987
ea5b9a1f
DR
988 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
989 * config/alpha/x-vms (libsubdir): Define.
990
3deb00ce
DR
991 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
992 register frame procedures. Optimize retrieving context.
993
09eb789b
DR
994 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
995 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
996 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
997
1abade85
RK
998Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
999
1000 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
1001 Make same change as for find_base_value.
1002
c283e63f
KH
10032002-02-13 Kazu Hirata <kazu@hxi.com>
1004
1005 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
1006 of QImode and SImode.
1007
86039100
KH
10082002-02-13 Kazu Hirata <kazu@hxi.com>
1009
1010 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
1011 length computation of movsi.
1012 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
1013
e1429da0
KH
10142002-02-13 Kazu Hirata <kazu@hxi.com>
1015
1016 * config/h8300/h8300.md (subqi3): Tighten the predicate for
1017 operands[2] to register_operand.
1018
aebfea10
JH
1019Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
1020
1021 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
1022
0ec4e2a8
AH
10232002-02-12 Aldy Hernandez <aldyh@redhat.com>
1024
1025 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
1026 for altivec_lvx* and altivec_stvx*.
1027 ("*movv4si_internal"): Add constraint for loading from GPRs.
1028 ("*movv8hi_internal1"): Same.
1029 ("*movv16qi_internal1"): Same.
1030 ("*movv4sf_internal1"): Same.
1031
1032 * config/rs6000/rs6000.c (altivec_register_operand): New.
1033
1034 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
1035 altivec_register_operand.
1036
b007569d
HPN
10372002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
1038
1039 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
1040 handle SYMBOL_REF.
1041
e6834654
SS
10422002-02-13 Stan Shebs <shebs@apple.com>
1043
1044 * c-typeck.c (digest_init): Handle vectors.
1045 (really_start_incremental_init): Same.
1046 (pop_init_level): Same.
1047 (process_init_element): Same.
1048
1049 * varasm.c (output_constant): Same.
1050
1051 * expr.c (clear_storage): Same.
1052 (store_constructor): Same.
1053
d9b3eb63
EC
10542002-02-12 Eric Christopher <echristo@redhat.com>
1055
1056 * explow.c (hard_function_value): Add comment explaining
1057 signed/unsigned comparison.
1058
56d44285
JJ
10592002-02-12 Jakub Jelinek <jakub@redhat.com>
1060
1061 * jump.c (never_reached_warning): Add finish argument.
1062 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
1063 real insn after end.
1064 * rtl.h (never_reached_warning): Adjust prototype.
1065 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
1066 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
1067 never_reached_warning.
1068
fc209487
GS
10692002-02-12 Graham Stott <grahams@redhat.com>
1070
1071 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
1072
1e41e866
KH
10732002-02-12 Kazu Hirata <kazu@hxi.com>
1074
1075 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
1076 logical shifts on H8/300.
1077 (shift_alg_si): Improve several shifts on H8/300.
1078 (get_shift_alg): Likewise.
1079
a36a47ad
GS
10802002-02-12 Graham Stott <grahams@redhat.com>
1081
1082 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
1083
0aacc8ed
RK
1084Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1085
1086 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
1087 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
1088
a02ac966
HPN
10892002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
1090
1091 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
1092 non-CONST_INT through default_assemble_integer.
1093 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
1094 <case 8>: Abort for CONST_DOUBLE.
1095
d6e06ddc
JDA
10962002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1097
1098 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
1099 is specified.
1100 * config/pa/pa-linux.h (LIB_SPEC): Delete.
1101 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
1102
515342a8
AH
11032002-02-11 Andrew Haley <aph@cambridge.redhat.com>
1104
1105 * config/stormy16/stormy16.md (zero_extendqihi2): New.
1106
cddd8b72
AO
11072002-02-11 Alexandre Oliva <aoliva@redhat.com>
1108
66df7a98
AO
1109 * regrename.c (regrename_optimize): Don't accept a
1110 part-clobbered register if the replaced register is not part
1111 clobbered.
1112
841404cd
AO
1113 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
1114 take padding into account when computing the argument value.
1115
1d1ade42
AO
1116 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
1117
cddd8b72
AO
1118 * combine.c (try_combine): Apply substitutions in
1119 CALL_INSN_FUNCTION_USAGE too.
1120
5c665b88
AH
11212002-02-11 Aldy Hernandez <aldyh@redhat.com>
1122
77f6c1eb
RS
1123 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
1124 __builtin_altivec_abs*.
1125 (bdesc_abs): New.
5c665b88 1126
77f6c1eb
RS
1127 * config/rs6000/rs6000.h (rs6000_builtins): Add
1128 ALTIVEC_BUILTIN_ABS*.
5c665b88 1129
77f6c1eb
RS
1130 * config/rs6000/altivec.h: Use const char for builtins expecting
1131 literals.
1132 (vec_abs): New versions for C and C++.
1133 (vec_abss): Same.
5c665b88 1134
3494f1b4
KH
11352002-02-10 Kazu Hirata <kazu@hxi.com>
1136
1137 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
1138 using Pmode.
1139
72431aef
KH
11402002-02-10 Kazu Hirata <kazu@hxi.com>
1141
1142 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
1143 constant definition from h8300.md.
1144 (FRAME_POINTER_REGNUM): Likewise.
1145 * config/h8300/h8300.md (define_constants): Add FP_REG.
1146
87e4ee91
KH
11472002-02-10 Kazu Hirata <kazu@hxi.com>
1148
1149 * config/h8300/h8300.c (print_operand): Remove redundant code.
1150
9c188705
KH
11512002-02-10 Kazu Hirata <kazu@hxi.com>
1152
1153 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
1154 * config/h8300/h8300.c (byte_reg): Make it static.
1155
fba78abb
RH
11562002-02-10 Richard Henderson <rth@redhat.com>
1157
1158 PR c/5623
1159 * c-typeck.c (incomplete_type_error): Handle flexible array members.
1160
65739e62
RH
11612002-02-10 Richard Henderson <rth@redhat.com>
1162
1163 PR c++/5624
1164 * tree.c (append_random_chars): Don't abort if main_input_filename
1165 does not exist.
1166
247cb9df
HPN
11672002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
1168
1169 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
1170
232bd029
KH
11712002-02-10 Kazu Hirata <kazu@hxi.com>
1172
65739e62 1173 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
232bd029
KH
1174 (pushhi1): Likewise.
1175
276ef573
JDA
11762002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
1177
1178 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
1179 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
1180
617e9ee5
DB
11812002-02-09 David O'Brien <obrien@FreeBSD.org>
1182
1183 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
1184 remove MASK_VIS.
1185 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
1186
6dfa4005
KH
11872002-02-09 Kazu Hirata <kazu@hxi.com>
1188
1189 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
1190 a half of an SImode register on H8/300.
1191
749e7b80
JH
1192Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
1193
1194 * i386.md (movdi_2): Add missing '!'.
1195
ca77d87c
KH
11962002-02-09 Kazu Hirata <kazu@hxi.com>
1197
1198 * config/h8300/h8300.h: Fix formatting. Remove commented-out
1199 definitions.
1200
16c96304
KH
12012002-02-09 Kazu Hirata <kazu@hxi.com>
1202
1203 * config/h8300/h8300.md (length): Correct the distance valid
1204 for the short branch.
1205
a364bc90
KH
12062002-02-09 Kazu Hirata <kazu@hxi.com>
1207
1208 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
1209
e4ec2cac
AO
12102002-02-09 Alexandre Oliva <aoliva@redhat.com>
1211
a138247b
AO
1212 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
1213 registers in SImode.
1214 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
1215 part-clobbered.
1216
2b1fd83f
AO
1217 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
1218 patch.
d9b3eb63 1219
fa5322fa
AO
1220 Contribute sh64-elf.
1221 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
1222 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
1223 (sh_cannot_modify_jumps_p): New function.
1224 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
1225 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
1226 (sh_ms_bitfield_layout_p): New function.
1227 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
1228 Zack Weinberg <zack@codesourcery.com>
1229 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
1230 expand_simple_binop instead of expand_binop.
1231 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
1232 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
1233 use of .quad and .uaquad.
1234 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
1235 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
1236 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1237 * config/sh/sh.md (movdi_const, movdi_const_32bit,
1238 movdi_const_16bit): Make sure all CONSTs have modes.
1239 (sym2PIC): Ditto, but by adjusting all callers.
1240 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
1241 if the prologue calls the SHmedia argument decoder or register
1242 saver.
1243 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1244 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
1245 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
1246 (sh_expand_epilogue): Don't emit USE of return target register.
1247 (prepare_move_operands): Legitimize DImode PIC addresses.
1248 (sh_media_register_for_return): Skip tr0, used to initialize the
1249 PIC register.
1250 (sh_expand_prologue): Remove explicit USE of return register.
1251 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
1252 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
1253 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
1254 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
1255 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
1256 EXTRA_CONSTRAINT_T.
1257 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
1258 (MOVI_SHORI_BASE_OPERAND_P): New.
1259 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
1260 (EXTRA_CONSTRAINT_T): Define in terms of them.
1261 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
1262 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
1263 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
1264 alternatives supporting TARGET_REGS.
1265 (UNSPEC_GOTPLT): New constant.
1266 (movdi split): Move incrementing of LABEL_NUSES...
1267 (movdi_const, movdi_const_32bit): Here. Use
1268 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
1269 (movdi_const_16bit): New.
1270 (call, call_value) [flag_pic]: Use GOTPLT.
1271 (call_pop, call_value_pop): New expands.
1272 (call_pop_compact, call_pop_rettramp): New insns.
1273 (call_value_pop_compact, call_value_pop_rettramp): New insns.
1274 (sibcall) [flag_pic]: Use GOT.
1275 (builtint_setjmp_receiver): Remove bogus, unused expand.
1276 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
1277 (*pt, *ptb, ptrel): New insns.
1278 (sym2GOT): Handle DImode GOT.
1279 (sym2GOTPLT, symGOTPLT2reg): New expands.
1280 (sym2PIC): New expand.
1281 (shcompact_return_tramp): Use GOTPLT to return trampoline.
1282 (shcompact_return_tramp_i): Use return register explicitly.
1283 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
1284 disable flag_reorder_blocks.
1285 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1286 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
1287 clobbers, for clarity.
1288 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
1289 restoring of r0 in macl as MAYBE_DEAD.
1290 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1291 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
1292 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
1293 alter_subreg all over.
1294 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
1295 reload, instead of emitting instructions that would require
1296 reloading.
1297 (casesi_load_media): Add missing modes.
1298 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
1299 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
1300 as used if the argument decoder is called.
1301 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
1302 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
1303 Pmode, then extend it to DImode if necessary.
1304 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
1305 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
1306 constants in FPU-enabled SHmedia, let them be loaded from memory.
1307 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
1308 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
1309 Adjust whitespace in assembly output templates.
1310 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
1311 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
1312 mode of if_then_else.
1313 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
1314 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
1315 sh.h.
1316 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
1317 Joern Rennecke <amylaar@redhat.com>
1318 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
1319 (SUBTARGET_CPP_PTR_SPEC): New.
1320 (SUBTARGET_CPP_SPEC): Remove.
1321 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
1322 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1323 Fix typo in previous checkin.
1324 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
1325 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
1326 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
1327 Alexandre Oliva <aoliva@redhat.com>
1328 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
1329 what single FP register can hold for SHmedia target.
1330 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
1331 Alexandre Oliva <aoliva@redhat.com>
1332 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1333 Do not split into SUBREG.
1334 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
1335 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
1336 and added new functions as specified in SH5 ABI r9.
1337 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
1338 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
1339 8-byte boundary.
1340 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
1341 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
1342 gen_consttable_4 and gen_consttable_8. Emit multiple labels
1343 and consttable_window_ends.
1344 2001-06-03 Graham Stott <grahams@redhat,com>
1345 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
1346 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
1347 * config/sh/sh.c (print_operand): Handle floating-point pair,
1348 vector and matrix registers.
1349 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
1350 vector modes into account.
1351 * config/sh/sh.md (movv2sf): Split move between registers into
1352 movdf.
1353 (movv4sf, movv16sf): Introduce insns that get split only after
1354 reload.
1355 * config/sh/shmedia.h: Fix Copyright dates.
1356 * config/sh/ushmedia.h: Likewise. Move loop counter
1357 declarations into conditionals that uses them.
1358 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
1359 loop boundary.
1360 * config/sh/sshmedia.h: Fix Copyright dates.
1361 (sh_media_PUTCFG): Fix constraints.
1362 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
1363 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
1364 ptrmemfunc_vbit_in_delta for SH5.
1365 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
1366 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
1367 * invoke.texi: Likewise.
1368 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
1369 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
1370 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
1371 GCC_pop_shmedia_regs_nofpu): New global symbols.
1372 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
1373 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
1374 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
1375 compact function with nonlocal labels.
1376 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
1377 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
1378 (initial_elimination_offset): Account for their stack space.
1379 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
1380 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
1381 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
1382 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
1383 least one of the operands to be a register.
1384 (movv2sf): Likewise. Renamed to movv2sf_i.
1385 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
1386 prepare_move_operands() before emitting SHmedia insns.
1387 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
1388 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
1389 Don't save nor initialize r12. Don't mis-align the stack.
1390 Pad the code with a nop.
1391 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
1392 stack.
1393 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1394 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
1395 [__SHMEDIA__]: Implement.
1396 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
1397 * config/sh/sh.md: Set latency of `pt' closer to reality.
1398 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
1399 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
1400 Set move, load and store type attributes.
1401 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
1402 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
1403 profiling.
1404 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
1405 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
1406 * config/sh/sh.c (sh_media_register_for_return): New function.
1407 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
1408 branch-target register.
1409 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
1410 * config/sh/sh.md (return_media_i): Use any call-clobbered
1411 branch-target register.
1412 (return_media): If r18 wasn't copied in the prologue, copy it
1413 here.
1414 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
1415 Clear class FP0_REGS.
1416 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
1417 from elf.h.
1418 2001-03-08 DJ Delorie <dj@redhat.com>
1419 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
1420 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
1421 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
1422 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
1423 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
1424 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1425 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
1426 return value correctly for call_cookie.
1427 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1428 * config/sh/crt1.asm (start): Modified so as to call
1429 ___setup_argv_and_call_main.
1430 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
1431 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
1432 SHmedia mode.
1433 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
1434 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
1435 (STRIP_NAME_ENCODING): Use it.
1436 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
1437 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
1438 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
1439 prepare_scc_operands().
1440 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
1441 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
1442 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
1443 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
1444 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
1445 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
1446 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
1447 used in shcompact_incoming_args.
1448 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
1449 change.
1450 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
1451 mode.
1452 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
1453 Adjust accordingly.
1454 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
1455 Simplify. Adjust. Add sanity check.
1456 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
1457 FPU_SINGLE_BIT.
1458 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
1459 TARGET_SHCOMPACT.
1460 (udivsi3, divsi3): Use them.
1461 (force_mode_for_call): New insn.
1462 (call, call_value, sibcall_value): Emit it before SHcompact
1463 calls.
1464 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
1465 * config/sh/sh.md (call, call_value, sibcall): Make sure the
1466 call cookie is non-NULL before taking its value.
1467 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
1468 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
1469 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1470 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
1471 block.
1472 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
1473 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
1474 temporary for stack adjusts. Use MACL and MACH to pass
1475 arguments to shcompact_incoming_args.
1476 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
1477 clobber r1.
1478 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
1479 (nested_trampoline): Load static chain address into r1.
1480 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
1481 2001-01-07 Alexandre Oliva <aoliva@redhat.com
1482 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
1483 fp_arith_reg_operand().
1484 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
1485 * config/sh/sh.md (casesi): Sign-extend the first two operands,
1486 and use signed compares for them.
1487 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
1488 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
1489 ones properly aligned.
1490 (find_barrier): Account for extra alignment needed for 8-byte wide
1491 constants.
1492 (machine_dependent_reorg): Require a label for the second 4-byte
1493 constant after an 8-byte one.
1494 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
1495 change.
1496 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
1497 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
1498 last_float when switching float modes.
1499 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
1500 auto-increment for general-purpose registers.
1501 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
1502 result.
1503 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
1504 for stack adjust.
1505 * config/sh/sh.c (sh_builtin_saveregs): Support using all
1506 registers for varargs.
1507 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
1508 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
1509 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
1510 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
1511 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
1512 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
1513 call_cookie accordingly.
1514 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
1515 (SHCOMPACT_BYREF): Likewise.
1516 (SHCOMPACT_FORCE_ON_STACK): New macro.
1517 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
1518 (sh_builtin_saveregs): Likewise.
1519 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1520 shcompact_incoming_args): Use new shift values. Support
1521 sequences of consecutive and non-consecutive pushes/pops.
1522 * config/sh/sh.md (return): Don't explicitly use PR_REG.
1523 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1524 * config/sh/sh.h (TEXT_SECTION): Define.
1525 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
1526 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
1527 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
1528 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
1529 return values on FPU-enabled SHmedia.
1530 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
1531 FPU-enabled SHmedia.
1532 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
1533 value is returned in a non-FP reg and is not returned by
1534 reference.
1535 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
1536 jump_ind.
1537 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
1538 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
1539 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
1540 quad-aligned to be passed by callee-copy reference.
1541 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
1542 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
1543 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
1544 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
1545 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
1546 copying low-numbered FP regs to r7 and r8.
1547 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
1548 FP regs to general-purpose regs only if the copy was passed on the
1549 stack.
1550 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
1551 copying FP reg to r9.
1552 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
1553 copy FP regs to general-purpose regs only in outgoing calls.
1554 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1555 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
1556 HOST_WIDE_INT.
1557 * config/sh/sh.h (struct sh_args): Document all fields.
1558 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
1559 passed partially on the stack should not consider making
1560 sibcalls.
1561 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
1562 stack_regs only for incoming calls. When passing FP args,
1563 make sure there are FP regs available before modifying
1564 call_cookie.
1565 (SHCOMPACT_BYREF): Pass double args in general-purpose
1566 registers by reference.
1567 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
1568 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
1569 attempt to generate sibcalls if the caller got any arguments
1570 by reference.
1571 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
1572 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
1573 to 8-byte boundaries.
1574 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
1575 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
1576 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
1577 stored in the stack.
1578 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
1579 for the offsets to have the ISA bit set.
1580 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
1581 invocation. Use beq instead of bgt to mark end of sequence of
1582 loads.
1583 (shcompact_incoming_args): Fix store of r2. Use beq instead of
1584 bgt to mark end of sequence of stores.
1585 * config/sh/sh.c (arith_operand): Don't check whether
1586 CONST_OK_FOR_J for now.
1587 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
1588 instead of long for conversion.
1589 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
1590 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
1591 before passing it to fprintf.
1592 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
1593 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
1594 Call set_fpscr before reading/writing SR.
1595 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
1596 Call set_fpscr.
1597 * config/sh/lib1funcs.asm: Add `.align 2' directives before
1598 SHmedia code.
1599 (FMOVD_WORKS): Define on SH5 with FPU.
1600 (set_fpscr): Define on SH5. Remove separate _fpscr_values
1601 setting.
1602 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
1603 _fpscr_values.
1604 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
1605 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
1606 address.
1607 (ia_main_table): Ditto.
1608 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
1609 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
1610 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
1611 the definitions from sh.h.
1612 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
1613 TARGET_SH5.
1614 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
1615 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
1616 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1617 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
1618 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
1619 Increment LABEL_NUSES.
d9b3eb63 1620
fa5322fa
AO
1621 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
1622 TARGET_SH5.
1623 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
1624 defined.
1625 * config/sh/elf.h (SIZE_TYPE): Likewise.
1626 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
1627 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1628 shcompact_incoming_args): Load switch table addresses using
1629 datalabel.
1630 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1631 (NO_BUILTIN_SIZE_TYPE): Define.
1632 (SIZE_TYPE): Don't define.
1633 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
1634 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
1635 definition of __SH5__=32 for -m5-compact-nofpu.
1636 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
1637 ADDR_DIFF_VEC.
1638 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
1639 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
1640 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
1641 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
1642 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
1643 (INSN_LENGTH_ALIGNMENT): Likewise.
1644 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1645 * config/sh/sh.md (call, call_value, sibcall): Simplify
1646 copying of non-branch-target register.
1647 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1648 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
1649 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
1650 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1651 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
1652 floating-point values as structs.
1653 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
1654 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
1655 general-purpose register.
1656 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
1657 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
1658 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
1659 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
1660 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
1661 (ENCODE_SECTION_INFO): Enclose variables and constants in
1662 DATALABEL unspecs.
1663 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
1664 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
1665 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
1666 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
1667 only for LABEL_REFs. For SYMBOL_REFs, prepend
1668 SH_DATALABEL_ENCODING to the symbol name.
1669 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
1670 convert_mode().
1671 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
1672 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
1673 UNSPEC_DATALABEL.
1674 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
1675 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
1676 (DATALABEL_REF_P): Don't require CONST.
1677 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
1678 REL label.
1679 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
1680 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
1681 right.
1682 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
1683 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
1684 Use shallow_copy_rtx and PUT_MODE to change the mode of
1685 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
1686 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
1687 on SHmedia using GENERAL_REGs.
1688 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1689 bltu_media_i): Fix reversion of conditions.
1690 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
1691 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
1692 * config/sh/sh.c (output_far_jump): Save r13 in macl.
1693 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
1694 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
1695 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1696 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
1697 (GCC_nested_trampoline): Likewise.
1698 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
1699 * config/sh/sh.c (gen_datalabel_ref): Define.
1700 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
1701 (INITIALIZE_TRAMPOLINE): Likewise.
1702 (TRAMPOLINE_ADJUST_ADDRESS): Define.
1703 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
1704 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
1705 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
1706 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
1707 (ic_invalidate): Adjust for SH5.
1708 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
1709 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
1710 _nested_trampoline.
1711 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
1712 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
1713 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
1714 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
1715 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
1716 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
1717 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
1718 * config/sh/sh.c (target_reg_operand): Match only target-branch
1719 registers and pseudos that aren't virtual registers.
1720 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1721 Copy operands that don't match target_reg_operand to pseudos.
1722 (call_media, call_value_media, sibcall_media): Use
1723 target_reg_operand instead of target_operand.
1724 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
d9b3eb63 1725 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
fa5322fa
AO
1726 * config/sh/sh.c (target_reg_operand): Match hardware registers
1727 other than branch-target registers.
1728 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
1729 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
1730 (fpscr_values) [SH5 == 32]: Define.
1731 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
1732 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
1733 Handle function addresses coming in SUBREGs.
1734 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
1735 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
1736 shcompact_return_trampoline): Use datalabel where appropriate.
1737 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
1738 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
1739 general-purpose register to copy one branch-target register to
1740 another.
1741 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
1742 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
1743 SYMBOL_REFs with VOIDmode.
1744 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
1745 bltu_media_i): New insns.
1746 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
1747 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
1748 (INIT_CUMULATIVE_ARGS): Likewise.
1749 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1750 * machmode.def (V16SFmode): New mode.
1751 * c-common.c (type_for_mode): Support V2SF and V16SF.
1752 * tree.c (build_common_tree_nodes_2): Likewise.
1753 * tree.h (tree_index): Likewise.
1754 * calls.c (emit_call_1): Take args_so_far. Adjust all
1755 callers. Introduce CALL_POPS_ARGS.
1756 * tm.texi (CALL_POPS_ARGS): Document.
1757 * config/sh/crt1.asm: Implement in SHmedia mode.
1758 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
1759 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
1760 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
1761 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
1762 Implement divsi and udivsi in SHmedia mode. Introduce
1763 SHcompact trampolines.
1764 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
1765 only in SHmedia64.
1766 (regno_reg_class): Rewrite.
1767 (fp_reg_names): Remove.
1768 (sh_register_names, sh_additional_register_names): New.
1769 (print_operand): Added `u'. Support SUBREGs in addresses.
1770 Add parentheses around shifted CONSTs.
1771 (output_file_start): Output .mode and .abi directives.
1772 (shiftcosts, addsubcosts, multcosts): Adjust.
1773 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
1774 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
1775 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
1776 bytes, not registers. Take into account the need for the
1777 SHcompact incoming args trampoline. Adjust all callers.
1778 (sh_expand_prologue): Take stack_regs into account. Call
1779 incoming args trampoline. Keep stack aligned as per SH5 ABI.
1780 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
1781 stack aligned as per SH5 ABI.
1782 (sh_builtin_saveregs): Support SH5 ABI.
1783 (sh_build_va_list, sh_va_start): Likewise.
1784 (initial_elimination_offset): Take alignment into account.
1785 Compute location of PR according to the SH5 stack frame.
1786 (arith_reg_operand): Reject branch-target registers.
1787 (shmedia_6bit_operand): New.
1788 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
1789 (target_reg_operand): Match DImode only. Accept SUBREGs.
1790 (target_operand): New.
1791 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
1792 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
1793 SIBCALL_REGS for SHmedia.
1794 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
1795 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
1796 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
1797 (TARGET_SWITCHES): New SH5 flags.
1798 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
1799 VALID_REGISTER_P to disable unsupported registers.
1800 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
1801 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
1802 (FUNCTION_ARG_PADDING): Define.
1803 (FASTEST_ALIGNMENT): Adjust.
1804 (SH_REGISTER_NAMES_INITIALIZER): New.
1805 (sh_register_names): Declare.
1806 (DEBUG_REGISTER_NAMES): Define.
1807 (REGISTER_NAMES): Define based on sh_register_names.
1808 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
1809 (sh_additional_register_names): Declare.
1810 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
1811 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
1812 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
1813 (REGISTER_NATURAL_MODE): Define.
1814 (FIRST_PSEUDO_REGISTER): Adjust.
1815 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
1816 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
1817 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
1818 (VECTOR_MODE_SUPPORTED_P): Define.
1819 (REG_CLASS_CONTENTS): Adjust.
1820 (SMALL_REGISTER_CLASSES): Adjust.
1821 (REG_ALLOC_ORDER): Adjust.
1822 (INDEX_REG_CLASS): Adjust.
1823 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
1824 (CONST_OK_FOR_LETTER_P): Adjust.
1825 (PREFERRED_RELOAD_CLASS): Adjust.
1826 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
1827 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
1828 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
1829 (FIRST_FP_PARM_REG): Adjust.
1830 (CALL_POPS_ARGS): Define.
1831 (FUNCTION_ARG_REGNO_P): Adjust.
1832 (struct sh_args): New fields.
1833 (GET_SH_ARG_CLASS): Adjust.
1834 (INIT_CUMULATIVE_ARGS): Adjust.
1835 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
1836 (FUNCTION_ARG_ADVANCE): Adjust.
1837 (FUNCTION_ARG): Adjust.
1838 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
1839 (FUNCTION_ARG_CALLEE_COPIES): Define.
1840 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
1841 (STRICT_ARGUMENT_NAMING): Define.
1842 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
1843 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
1844 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
1845 (SETUP_INCOMING_VARARGS): Adjust.
1846 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
1847 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
1848 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
1849 (SUBREG_OK_FOR_INDEX_P): Adjust.
1850 (EXTRA_CONSTRAINT_S): Update.
1851 (EXTRA_CONSTRAINT_T): New.
1852 (EXTRA_CONSTRAINT): Adjust.
1853 (GO_IF_LEGITIMATE_INDEX): Adjust.
1854 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
1855 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
1856 (MOVE_MAX): Adjust.
1857 (MAX_MOVE_MAX): Define.
1858 (Pmode): Adjust.
1859 (CONST_COSTS): Adjust.
1860 (REGISTER_MOVE_COST): Adjust.
1861 (BRANCH_COST): Adjust.
1862 (TEXT_SECTION_ASM_OP): Adjust.
1863 (DBX_REGISTER_NUMBER): Adjust.
1864 (ASM_OUTPUT_DOUBLE_INT): New.
1865 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
1866 (PREDICATE_CODES): Adjust.
1867 (PROMOTE_MODE): Adjust.
1868 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
1869 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
1870 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
1871 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
1872 (DR0_REG, DR2_REG, DR4_REG): Renumber.
1873 (TR0_REG, TR1_REG, TR2_REG): New.
1874 (XD0_REG): Renumber.
1875 (UNSPEC_COMPACT_ARGS): New.
1876 (type): Added pt and ptabs.
1877 (length): Default to 4 on SHmedia. Default pt length to 12
1878 and 20 on SHmedia32 and SHmedia64, respectively.
1879 (pt): New function unit.
1880 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
1881 Add whitespace between operands of SHmedia instructions.
1882 (movdicc): Fix.
1883 (adddi3_media, addsi3_media): Adjust constraints.
1884 (subsi3) [SHmedia]: Force operand 1 into a register.
1885 (udivsi3_i1_media, udivsi3_i4_media): New.
1886 (udivsi3): Support SHmedia.
1887 (divsi3_i1_media, divsi3_i4_media): New.
1888 (divsi3): Support SHmedia.
1889 (anddi3, iordi3, xordi3): Adjust constraints.
1890 (zero_extendhidi2, zero_extendqidi2): New.
1891 (extendsidi2, extendhidi2, extendqidi2): New.
1892 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
1893 (pop_e, pop_fpul, pop_4): Likewise.
1894 (movsi_media): Support FP and BT registers.
1895 (movsi_media_nofpu): New. Adjust splits to DImode.
1896 (lduw, ldub): Renamed to zero_extend* above.
1897 (movqi_media): Fix typo.
1898 (movdi_media): Support FP and BT registers.
1899 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
1900 (movdi_const_32bit): New.
1901 (shori_media): Require immediate operand. Use `u' for output.
1902 (movdf_media, movsf_media): Simplified.
1903 (movdf_media_nofpu, movsf_media_nofpu): New.
1904 (movdf, movsf): Adjust
1905 (movv2sf, movv2sf, movv16sf): New.
1906 (beq_media, beq_media_i): Adjust constraints. Don't use
1907 scratch BT register.
1908 (bne_media, bne_media_i): Likewise.
1909 (bgt_media, bgt_media_i): Likewise.
1910 (bge_media, bge_media_i): Likewise.
1911 (bgtu_media, bgtu_media_i): Likewise.
1912 (bgeu_media, bgeu_media_i): Likewise.
1913 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
1914 bunordered): Emit jump insn. Force operands to registers when
1915 needed.
1916 (jump_media, jump): Simplify.
1917 (call_compact, call_compact_rettramp): New.
1918 (call_value_compact, call_value_compact_rettramp): New.
1919 (call_media, call_value_media): Simplify.
1920 (sibcall_compact, sibcall_media): New.
1921 (call, call_value): Adjust for SHmedia and SHcompact.
1922 (sibcall, sibcall_value, untyped_call): Likewise.
1923 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
1924 (indirect_jump): Adjust for SHmedia.
1925 (casesi_jump_media): New.
1926 (nop): Re-enable for SHmedia.
1927 (call_site): Restrict to SH1.
1928 (casesi): Adjust for SHmedia.
1929 (casesi_shift_media, casesi_load_media): New.
1930 (return): Explicitly use PR register. Call return trampoline
1931 on SHcompact.
1932 (return_i): Explicitly use PR register.
1933 (shcompact_return_tramp, shcompact_return_tramp_i): New.
1934 (return_media): Adjust.
1935 (shcompact_incoming_args): New.
1936 (epilogue): Adjust.
1937 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
1938 (movstrsi): Disable on SH5.
1939 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
1940 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
1941 (subsf3, subsf3_media): Likewise.
1942 (mulsf3, mulsf3_media, mac_media): Likewise.
1943 (divsf3, divsf3_media): Likewise.
1944 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
1945 (floatsisf2, fux_truncsfsi2): Likewise.
1946 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
1947 constraints.
1948 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
1949 (cmpunsf_media, cmpsf): Likewise.
1950 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
1951 (abssf2, abssf2_media): Likewise.
1952 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
1953 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
1954 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
1955 (floatsidf2, fix_truncdfsi2): Likewise.
1956 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
1957 constraints.
1958 (cmpeqdf_media, cmpgtdf_media): Likewise.
1959 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
1960 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
1961 (absdf2, absdf2_media): Likewise.
1962 (extendsfdf2, extendsfdf2_media): Likewise.
1963 (truncsfdf2, truncsfdf2_media): Likewise.
1964 * config/sh/sh64.h: New file.
1965 * config/sh/t-sh64: New file.
1966 * config/sh/shmedia.h: New file.
1967 * config/sh/ushmedia.h: New file.
1968 * config/sh/sshmedia.h: New file.
1969 * configure.in: Added sh64-*-elf.
1970 * configure: Rebuilt.
1971 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
1972 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
1973 (reg_class_from_letter): Use `b' for TARGET_REGS.
1974 (print_operand): Support `%M', `%m', `AND' and
1975 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
1976 (andcosts): Adjust for SHmedia.
1977 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
1978 Likewise.
1979 (target_reg_operand): New function.
1980 * config/sh/sh-protos.h (target_reg_operand): Declare.
1981 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
1982 FP registers on SH5.
1983 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
1984 on SH4.
1985 (TARGET_REGISTER_P): New macro.
1986 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
1987 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
1988 (EXTRA_CONSTRAINT_S): New macro.
1989 (EXTRA_CONSTRAINT): Adjust.
1990 (FLOAT_TYPE_SIZE): Define to 32.
1991 (Pmode): DImode on SHmedia.
1992 (CONST_COSTS): Adjust for SHmedia literals.
1993 (PREDICATE_CODES): Added target_reg_operand.
1994 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
1995 * config/sh/sh.md: Remove all attrs from SHmedia insns.
1996 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
1997 (cmpdi): Accept SHmedia.
1998 (movdicc_false, movdicc_true): New insns.
1999 (movdicc): New expand.
2000 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
2001 no_new_pseudos.
2002 (addsi3_media): Match `S' constraint.
2003 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
2004 (negdi2): Expand for SHmedia.
2005 (one_cmpldi2): New expand.
2006 (zero_extendsidi2): Change from expand to insn.
2007 (extendsidi2): Add constraints.
2008 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
2009 LD/ST address. Fix SI immediate loading split.
2010 (movhi_media, movqi_media, lduw, ldub): New insns.
2011 (movhi, movqi): Accept SHmedia.
2012 (shori_media, movdi_media): Relax input constraints. Split
2013 symbolic constants.
2014 (movdf_media, movsf_media): New insn. New split to movdi.
2015 (movdf, movsf): Match on SHmedia.
2016 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
2017 bgeu_media): New insns and splits. New insns with `_i' suffix.
2018 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
2019 (bunordered): New expand.
2020 (jump_compact): Renamed from `jump'.
2021 (jump_media): New insn.
2022 (jump): New expand.
2023 (call_media, call_value_media): New insns.
2024 (call, call_value): Adjust.
2025 (indirect_jump_compact): Renamed from `indirect_jump'.
2026 (indirect_jump_media): New insn.
2027 (indirect_jump): New expand.
2028 (untyped_call, return): Accept SHmedia.
2029 (return_media): New insn.
2030 (prologue, epilogue, blockage): Accept SHmedia.
2031 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2032 (sunordered): New expand.
2033 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
2034 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
2035 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
2036 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
2037 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
2038 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
2039 abssf2_media): New insns.
2040 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
2041 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
2042 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
2043 floatdidf2, floatsidf2_media, fix_truncdfdi2,
2044 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
2045 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
2046 absdf2_media): New insns.
2047 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
2048 (extendsfdf2_media, truncdfsf2_media): New insns.
2049 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
2050 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
2051 * config/sh/sh.h (CONST_OK_FOR_J): Document.
2052 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
2053 * config/sh/sh.md (adddi3): New expand.
2054 (adddi3_media, adddi3z_media): New insns.
2055 (adddi3_compact): Renamed from adddi3.
2056 (addsi3_media): Use add.l r63 to add constant zero.
2057 (subdi3): New expand.
2058 (subdi3_media): New insn.
2059 (subdi3_compact): Renamed from subdi3.
2060 (mulsidi3): New expand.
2061 (mulsidi3_media): New insn.
2062 (mulsidi3_compact): Renamed from mulsidi3.
2063 (umulsidi3): New expand.
2064 (umulsidi3_media): New insn.
2065 (umulsidi3_compact): Renamed from umulsidi3.
2066 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
2067 (ashlsi3, ashrsi3, lshrsi3): Use them.
2068 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
2069 (ashldi3, ashrdi3, lshrdi3): Use them.
2070 (zero_extendsidi2): New expand.
2071 (extendsidi2): New insn.
2072 (movsi_media): New insn. Split to movdi to load constants.
2073 (movsi): Enable for shmedia.
2074 (movdi_media): New insn. Use shori_media to load wide constants.
2075 (short_media): New insn.
2076 (movdi): Enable for shmedia.
2077 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
2078 * config/sh/sh.h (CPP_SPEC): Added `m5'.
2079 (SUBTARGET_CPP_SPEC): Added `!m5'.
2080 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
2081 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
2082 to all other SH variants.
2083 (TARGET_DEFAULT): Set to SH1_BIT.
2084 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
2085 (BITS_PER_WORD): Raise to 64 on shmedia.
2086 (MAX_BITS_PER_WORD): Change to 64.
2087 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
2088 (INT_TYPE_SIZE): Keep as 32.
2089 (UNITS_PER_WORD): Raise to 8 on shmedia.
2090 (MIN_UNITS_PER_WORD): Keep as 4.
2091 (POINTER_SIZE): Raise to 64 on shmedia.
2092 (CONST_OK_FOR_J): New macro.
2093 (CONST_OK_FOR_LETTER_P): Use it.
2094 (processor_type): Add PROCESSOR_SH5.
2095 * config/sh/sh.md: Conditionalize all expands, insns and
2096 splits to TARGET_SH1.
2097 (cpu): Added sh5.
2098 (addsi3_compact): Renamed from...
2099 (addsi3): Now an expand.
2100 (addsi3_media, subsi3_media): New insns.
2101 (subsi3): Don't negate constants with SHmedia.
2102
e4ec2cac
AO
2103 * hooks.c: New file.
2104 * hooks.h: New file.
2105 * Makefile.in (HOOKS_H): New.
2106 (TARGET_DEF_H): Added $(HOOKS_H).
2107 (OBJS): Added hooks.o.
2108 (cfgcleanup.o, bb-reorder.o): Added target.h.
2109 (hooks.o): Added dependencies.
2110 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
2111 (TARGET_INITIALIZER): this.
2112 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
2113 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
2114 * bb-reorder.c: Include target.h.
2115 (reorder_basic_blocks): Skip if cannot modify jumps.
2116 * cfgcleanup.c: Include target.h.
2117 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
2118
246a46e0
CD
21192002-02-08 Chris Demetriou <cgd@broadcom.com>
2120
2121 * config/mips/mips.md (casesi_internal, casesi_internal_di):
2122 Protect jump delay slot instructions with .set noreorder and
2123 .set nomacro.
2124
21252002-02-08 Chris Demetriou <cgd@broadcom.com>
6a5ea3f4
CD
2126
2127 * config/mips/mips.md (casesi_internal_di): Calculate
2128 the index into the target offset table correctly.
2129
fdf473ae
RH
21302002-02-08 Richard Henderson <rth@redhat.com>
2131
2132 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
2133 * final.c (output_addr_const): Accept and discard SUBREG.
2134 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
2135 mark them unknown instead.
2136 (simplify_subtraction): Handle RTX_UNKNOWN.
2137 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
2138
c50503ac
DE
21392002-02-08 David Edelsohn <edelsohn@gnu.org>
2140
2141 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
2142
3660d217
RH
21432002-02-08 Richard Henderson <rth@redhat.com>
2144
2145 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
2146
56547299
AJ
21472002-02-08 Andreas Jaeger <aj@suse.de>
2148
2149 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
2150 * config/i386/t-linux64: New file.
2151
1cf537c5
JJ
21522002-02-08 Jakub Jelinek <jakub@redhat.com>
2153
2154 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
2155 * c-parse.in (compstmt): Clear last_expr_type.
2156
5c7f5a5f
RH
21572002-02-07 Richard Henderson <rth@redhat.com>
2158
2159 * loop.c (strength_reduce): Sink final_value when not
2160 eliminating a biv.
2161
b1138bf3
DB
21622002-02-07 David O'Brien <obrien@FreeBSD.org>
2163
2164 * config/sparc/freebsd.h: Fix mismatched spec {.
2165
b6878a45
RH
21662002-02-07 Richard Henderson <rth@redhat.com>
2167
2168 * cfgrtl.c: Include recog.h and insn-config.h.
2169 (keep_with_call_p): Fix general_operand invocation.
2170 * Makefile.in (cfgrtl.o): Update dependencies.
2171
ae19f5ef
KH
21722002-02-07 Kazu Hirata <kazu@hxi.com>
2173
2174 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
2175 comment. Accept HImode only if TARGET_H8300.
2176
b137f9fc
EC
21772002-02-07 Eric Christopher <echristo@redhat.com>
2178
2179 * config/mips/crtn.asm: Cleanup #ifdefs.
2180
21812002-02-07 Eric Christopher <echristo@redhat.com>
2182
2183 * config/mips/crti.asm: Add changes for mips16. mips16 uses
2184 register 7 as RA instead of $31.
2185 * config/mips/crtn.asm: Ditto.
2186 * config/mips/mips.c (mips_move_2words): Add case for
2187 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
2188 (compute_frame_size): Fix typo.
2189 (save_restore_insns): Ditto. Make documentation about using
2190 register $7 as return register more precise.
2191 (mips_expand_epilogue): Fix comment. Add code to work around not
2192 being able to add to the stack pointer directly.
2193 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
2194 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
2195 epilogue.
2196
768070a0
TR
21972002-02-07 Tom Rix <trix@redhat.com>
2198
b137f9fc 2199 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
768070a0
TR
2200 immediates in ldu and stdu DS opcode field.
2201 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
2202 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
2203 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
2204
225909c3
JS
22052002-02-07 Jeff Sturm <jsturm@one-point.com>
2206
2207 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
2208 offset for stack bias.
2209
15fae023
L
22102002-02-07 H.J. Lu <hjl@gnu.org>
2211
2212 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
2213
fde5badd
UW
22142002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
2215
2216 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
2217
162f023b
JH
2218Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
2219
2220 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
2221 * i386.c (x86_order_regs_for_local_alloc): New global function.
2222 * i386.h (REG_ALLOC_ORDER): CLeanup.
2223 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
2224
9b462c42
RH
22252002-02-07 Richard Henderson <rth@redhat.com>
2226
85aa876c 2227 PR optimization/2463
9b462c42
RH
2228 * alias.c (find_base_value): Recall base values for fixed hard regs.
2229 * loop.c (loop_regs_update): Don't use single_set on non-insns.
2230
06e455a9
AO
22312002-02-07 Alexandre Oliva <aoliva@redhat.com>
2232
2233 * config/mips/mips.md (define_delay) [mips16]: Adjust required
2234 length.
2235
edd1967d
RH
22362002-02-06 Richard Henderson <rth@redhat.com>
2237
2238 PR c/5609
2239 * stmt.c (resolve_operand_name_1): Take more care with mixed
2240 named and unnamed operands.
2241
a2cd028f
JJ
22422002-02-06 Janis Johnson <janis187@us.ibm.com>
2243 Jan Hubicka <jh@suse.cz>
2244
2245 * loop.c (remove_constant_addition): Avoid clobbering a shared
2246 CONST expression.
2247
e8487c04
UW
22482002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2249
2250 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
2251 * config/s390/t-linux64: New file.
2252 * config/s390/libgcc-glibc.ver: New file.
2253
58d10f89
UW
22542002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2255
2256 * config/s390/linux64.h: Delete file.
2257 * config/s390/s390x.h: New file.
2258 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
2259 as target header file.
2260 * config/s390/linux.h (TARGET_VERSION): Define depending on
2261 DEFAULT_TARGET_64BIT.
2262 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
2263 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
2264 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
2265 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
2266 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
2267 (EXTRA_SPEC): New define.
2268 * config/s390/s390.h (TARGET_VERSION): Define depending on
2269 DEFAULT_TARGET_64BIT.
2270 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
2271
5ce89b2e
JM
22722002-02-06 Jason Merrill <jason@redhat.com>
2273
2274 * c-decl.c (finish_function): Warn about a non-void function with
2275 no return statement and no abnormal exit.
2276 (current_function_returns_abnormally): New variable.
2277 (start_function): Clear it.
2278 (struct c_language_function): Add returns_abnormally.
2279 (push_c_function_context): Save it.
2280 (pop_c_function_context): Restore it.
2281 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
2282 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
2283 an explicit return type.
2284 * c-tree.h: Declare current_function_returns_abnormally.
2285 (C_FUNCTION_IMPLICIT_INT): New macro.
2286 * c-typeck.c (build_function_call): Set it.
2287 (c_expand_return): Set current_function_returns_value even if the
2288 value is erroneous.
2289
caaf2272
JJ
22902002-02-06 Jakub Jelinek <jakub@redhat.com>
2291
2292 PR c/5420:
2293 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
2294 unsafe for reevaluation.
2295
d5129288
JJ
22962002-02-06 Jakub Jelinek <jakub@redhat.com>
2297
2298 PR c/5482:
2299 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
2300 EXPR_STMT, but COMPOUND_STMT, recurse into it.
2301
7fb75099
RH
23022002-02-06 Richard Henderson <rth@redhat.com>
2303
2304 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
2305 be a general_operand. Dest for function value must be a pseudo.
2306
d3a8b6a6
NC
23072002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
2308
2309 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
2310 as SYMBOL_REFs from the constant pool.
2311
3c1299c5
AO
23122002-02-06 Alexandre Oliva <aoliva@redhat.com>
2313
2314 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
2315 passed by invisible reference.
2316
c2c9f6c9
RH
23172002-02-05 Richard Henderson <rth@redhat.com>
2318
2319 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
2320
a824924d
HPN
23212002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
2322
2323 Implement using "base addresses" in insn operands as default.
2324 * config/mmix/mmix.c (mmix_conditional_register_usage): if
2325 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
2326 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
2327 used to read the rtx value.
2328 (mmix_target_asm_function_epilogue): Fix spacing.
2329 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
2330 (mmix_legitimate_address): Ditto.
2331 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
2332 should be loaded with a GETA insn. Don't allocate needless extra
2333 char for nul termination and fix misleading comment.
2334 (mmix_print_operand_address): Handle constants if
2335 TARGET_BASE_ADDRESSES.
2336 (mmix_output_register_setting): Use base addressing if
2337 TARGET_BASE_ADDRESSES and the number of insns is 3.
2338 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
2339 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
2340 to use R as constraint, add LDA to match s.
2341 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
2342 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
2343 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
2344 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
2345 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
2346 order with other fixed registers.
2347 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
2348 other parameter/call-clobbered registers.
2349 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
2350 -mbase-addresses, -mno-base-addresses.
2351 (MMIX Options): Ditto.
2352
73c342b9
JDA
23532002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2354
2355 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
2356
ef238c58
AH
23572002-02-06 Aldy Hernandez <aldyh@redhat.com>
2358
2359 * config/rs6000/altivec.h: Change elem to _S_elem.
2360
ad08e60e
JT
23612002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
2362
2363 * config/netbsd.h (WCHAR_TYPE): Define.
2364 (WCHAR_TYPE_SIZE): Ditto.
2365 (WINT_TYPE): Ditto.
2366 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
2367 (WCHAR_UNSIGNED): Ditto.
2368 (WCHAR_TYPE_SIZE): Ditto.
2369 (WINT_TYPE): Ditto.
2370 * config/arm/netbsd.h: Likewise.
2371 * config/i386/netbsd-elf.h: Likewise.
2372 * config/i386/netbsd.h: Likewise.
2373 * config/m68k/netbsd-elf.h: Likewise.
2374 * config/m68k/netbsd.h: Likewise.
2375 * config/ns32k/netbsd.h: Likewise.
2376 * config/sparc/netbsd.h: Likewise.
2377 * config/vax/netbsd.: Likewise.
2378
f913c102
AO
23792002-02-05 Alexandre Oliva <aoliva@redhat.com>
2380
2381 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
2382 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
2383 (TARGET_INITIALIZER): this.
2384 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
2385 (BITFIELD_NBYTES_LIMITED): Markup fix.
2386 * tree.h (default_ms_bitfield_layout_p): Declare.
2387 (record_layout_info): Added prev_field.
2388 * tree.c (default_ms_bitfield_layout_p): New fn.
2389 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
2390 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
2391 * stor-layout.c: Include target.h.
2392 (start_record_layout): Initialize prev_field.
2393 (place_field): Handle MS bit-field layout, and disregard
2394 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
2395 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
2396 * Makefile.in (stor-layout.o): Adjust dependencies.
2397
c13db5d1
JM
23982002-02-05 Jason Merrill <jason@redhat.com>
2399
c13db5d1
JM
2400 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
2401
4505024e
AJ
24022002-02-05 Andreas Jaeger <aj@suse.de>
2403
2404 * crtstuff.c: Fix comments.
2405
794ad79d
RH
24062002-02-05 Richard Henderson <rth@redhat.com>
2407
2e279a9b
RH
2408 PR fortran/3393
2409 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
2410 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
2411
794ad79d
RH
2412 PR fortran/3392
2413 * config/mips/mips.c (function_arg): Handle TImode.
2414 (function_arg_advance): Likewise.
2415
8f909017
AH
24162002-02-05 Aldy Hernandez <aldyh@redhat.com>
2417
c13db5d1
JM
2418 * config/rs6000/altivec.h (vec_step_help): Rename to
2419 __vec_step_help.
8f909017 2420
66daa9e3
AH
24212002-02-05 Aldy Hernandez <aldyh@redhat.com>
2422
c13db5d1 2423 * config/rs6000/altivec.h: Fix typos.
66daa9e3 2424
2696e97b
JT
24252002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
2426
2427 * config/arm/netbsd.h: Correct a comment.
2428
3deb2758
AH
24292002-02-05 Aldy Hernandez <aldyh@redhat.com>
2430
c13db5d1
JM
2431 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
2432 building void typed builtins.
3deb2758 2433
c13db5d1
JM
2434 * config/rs6000/altivec.h (vec_ld*): Fix typos.
2435 (vec_step): Implement for C++.
3deb2758 2436
c13db5d1 2437Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2c79137a
RK
2438
2439 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
2440
ebbb0a63
RH
24412002-02-04 Richard Henderson <rth@redhat.com>
2442
2443 * combine.c (nonzero_bits): Re-introduce special case for
2444 sp/fp/ap wrt REGNO_POINTER_ALIGN.
2445
ae4b4a02
AH
24462002-02-05 Aldy Hernandez <aldyh@redhat.com>
2447
c13db5d1
JM
2448 * doc/extend.texi: Warn about unsupported usage of altivec
2449 builtins.
ae4b4a02 2450
c13db5d1
JM
2451 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
2452 (altivec_predicate_*): New.
ae4b4a02 2453
c13db5d1
JM
2454 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
2455 Add C++ version of vec_*() functions.
ae4b4a02 2456
c13db5d1
JM
2457 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
2458 (bdesc_2arg): Remove altivec predicates.
2459 (altivec_expand_builtin): Handle predicates.
2460 (altivec_init_builtins): Handle predicates.
2461 (altivec_expand_predicate_builtin): New.
ae4b4a02 2462
f6bcf44c
JDA
24632002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2464
2465 * pa.c (DO_FRAME_NOTES): Move forward.
2466 (store_reg): Revise handling of frame notes.
2467 (load_reg): Likewise.
2468 (set_reg_plus_d): Likewise.
2469 (hppa_expand_prologue): Likewise.
2470 (hppa_expand_epilogue): Likewise.
b137f9fc 2471
703b0080
JDA
24722002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2473
2474 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
2475
6f9fdf4d
JJ
24762002-02-04 Jakub Jelinek <jakub@redhat.com>
2477
2478 PR c/4475, c++/3780:
2479 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
2480 * c-common.h (SWITCH_TYPE): Define.
2481 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
2482 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
2483 Rename spareness variable to sparseness.
2484 (expand_end_case_type): Renamed from expand_end_case, use orig_type
2485 if non-NULL instead of TREE_TYPE (orig_index).
2486 * tree.h (expand_end_case_type): Renamed from expand_end_case.
2487 (expand_end_case): Define using expand_end_case_type.
2488 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
2489 to expand_end_case_type.
2490 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
2491
79109502
JDA
24922002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2493
2494 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
2495 (BIGGEST_ALIGNMENT): Change to 128.
2496
e62a5987
JDA
24972002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2498
2499 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
2500
219f24a4
JDA
25012002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2502
2503 * pa.md (call_internal_reg_64bit): Remove unused variable.
2504
3cb66fd7
NC
25052002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
2506
2507 * config/arm/arm.h (machine_function): Add uses_anonymous_args
2508 field.
2509 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
2510 * config/arm/arm.c (current_function_anonymous_args): Delete,
2511 replace uses with cfun->machine->uses_anonymous_args.
2512 (arm_reorg): Do not reset uses_anonymous_args.
2513
2514 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
2515 any geenral register.
b137f9fc 2516
24c545ff
BS
25172001-02-04 Bernd Schmidt <bernds@redhat.com>
2518
2519 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
2520 the entry block.
2521
563c12b0
RH
25222002-02-04 Richard Henderson <rth@redhat.com>
2523
2524 * combine.c (force_to_mode): Remove STACK_BIAS code.
2525 (nonzero_bits): Likewise. Replace sp/fp special case with
2526 REGNO_POINTER_ALIGN.
2527
2528 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
2529 (HARD_FRAME_POINTER_REGNUM): New.
2530 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
2531 (FIXED_REGS, CALL_USED_REGS): Update.
2532 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
2533 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
2534 (HARD_REGNO_NREGS): Update for SFP.
2535 (STACK_POINTER_OFFSET): Include bias here ...
2536 (FIRST_PARM_OFFSET): ... not here.
2537 (STACK_BIAS): Remove.
2538 (INIT_EXPANDERS): New.
2539 (STARTING_FRAME_OFFSET): Do not include bias.
2540 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
2541 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
2542 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
2543 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
2544 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
2545 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
2546 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
2547 (MUST_SAVE_REGISTER): Likewise.
2548 (sparc_flat_function_prologue): Likewise.
2549 (sparc_flat_function_epilogue): Likewise.
2550 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
2551 (sparc_init_modes): SFP is GENERAL_REGS.
2552 (sparc_builtin_saveregs): SFP does not have bias applied.
2553
14691f8d
RH
25542002-02-04 Richard Henderson <rth@redhat.com>
2555
2556 * config/alpha/alpha.c (current_function_is_thunk): Don't check
2557 current_function_is_thunk.
2558 (alpha_sa_mask): Distinguish between current_function_is_thunk
2559 called from ASM_OUTPUT_MI_THUNK and not.
2560 (alpha_does_function_need_gp): Thunks always need gp.
2561 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
2562 (alpha_output_mi_thunk_osf): New.
2563 * config/alpha/alpha-protos.h: Update.
2564 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
2565
af702de8
RS
25662002-02-04 Richard Sandiford <rsandifo@redhat.com>
2567
2568 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
2569 function types, not when they're taken away.
2570
5b1cacd8
JL
2571Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
2572
2573 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
2574 CODE_LABEL and jump table when replacing a table jump with a
2575 simple jump.
2576
f3e9edff
UW
25772002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2578
2579 * config/s390/s390-protos.h (legitimize_la_operand,
2580 s390_secondary_input_reload_class, s390_plus_operand,
2581 s390_expand_plus_operand): Add prototypes.
2582
2583 config/s390/s390.c (s390_secondary_input_reload_class,
2584 s390_plus_operand, s390_expand_plus_operand): New functions.
2585
2586 (struct s390_address): New member 'pointer'.
2587 (s390_decompose_address): Compute it.
2588 (legitimate_la_operand_p): Use it.
2589 (legitimize_la_operand): New function.
2590 (movti, movdi, movdf splitters): Call it.
2591
2592 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
2593 (PREDICATE_CODES): Add s390_plus_operand.
2594
2595 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
2596 (la_ccclobber): Allow GENERAL_REGS as output operand.
2597
2598 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
2599 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
2600 (*la_64, *la_31, reload_indi, reload_insi): ... these.
2601
3c9a08ec
UW
26022002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2603
2604 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
2605 register names for regular asm () construct.
2606
ac300a45
JJ
26072002-02-04 Jakub Jelinek <jakub@redhat.com>
2608
2609 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
2610 registers.
2611
fa852403
JJ
26122002-02-04 Jakub Jelinek <jakub@redhat.com>
2613
2614 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
2615 pat for recog.
2616
fecaac37
HP
26172002-02-04 Hartmut Penner <hpenner@de.ibm.com>
2618
2619 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
2620 constant pool to be identical by string address and index.
2621
10c45943
AG
26222002-02-04 Anthony Green <green@redhat.com>
2623
2624 * output.h (SECTION_OVERRIDE): Define.
2625 * varasm.c (named_section): Obey SECTION_OVERRIDE.
2626
69474c3c
JT
26272002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
2628
2629 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
2630 by existing arm*-*-netbsd* (a.out) target.
2631 (ns32k-*-netbsdelf*): Likewise.
2632 (sparc-*-netbsdelf*): Likewise.
2633 (vax-*-netbsdelf*): Likewise.
2634
939a46f6 26352002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3b56934f
CF
2636
2637 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
2638 headers and libobjc headers.
2639
26402002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
2641
2642 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
2643 (_mingw.h): Remove duplicate include.
2644
2fd95d71
JT
26452002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
2646
2647 * config.gcc: Set cpu_type to m68k for 68010, as well.
2648 (m68010-*-netbsdelf*): New...
2649 (m68k*-*-netbsdelf*): ...targets.
2650 * config/m68k/netbsd-elf.h: New file.
2651
0ea6f6a0
KH
26522002-02-02 Kazu Hirata <kazu@hxi.com>
2653
2654 * config/h8300/h8300.c (hand_list): Move inside function_arg.
2655
cbf1b2da
KH
26562002-02-02 Kazu Hirata <kazu@hxi.com>
2657
2658 * config/h8300/h8300.c (h8_push_ops): Move inside
2659 h8300_init_once.
2660 (h8_pop_ops): Likewise.
2661 (h8_move_ops): Likewise.
2662
0869f126
KH
26632002-02-02 Kazu Hirata <kazu@hxi.com>
2664
2665 * config/h8300/h8300.c (os_task): Make it static.
2666 (monitor): Likewise.
2667 (pragma_saveall): Likewise.
2668
90e65b70
AO
26692002-02-02 Alexandre Oliva <aoliva@redhat.com>
2670
2671 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
2672 constant is a valid sign-extension for Pmode.
2673
9cbcd983
KH
26742002-02-02 Kazu Hirata <kazu@hxi.com>
2675
2676 * config/h8300/h8300.c: Fix formatting.
2677
7a27efc4
KH
26782002-02-02 Kazu Hirata <kazu@hxi.com>
2679
2680 * config/h8300/h8300.md: Fix formatting.
2681
54175a44
KH
26822002-02-02 Kazu Hirata <kazu@hxi.com>
2683
2684 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
2685 predicates of operands[1]. Split the patterns for each
2686 processor variant.
2687
eceb1755
KH
26882002-02-02 Kazu Hirata <kazu@hxi.com>
2689
2690 * config/h8300/h8300.md (xor patterns): Tighten the predicates
2691 of operands[1] to register_operand.
2692
0fef3fd0
NB
26932002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
2694
2695 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
2696 * cpphash.c (_cpp_init_hashtable): Similarly.
2697 * cppinit.c (cpp_create_reader): Default the signed_char flag.
2698 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
2699 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
2700 (cpp_handle_option): Handle the new options.
2701 * cpplex.c (cpp_interpret_charconst): Use new flag.
2702 * cpplib.h (struct cpp_options): New member signed_char.
2703 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
2704 (cpp_options): Handle -fsigned-char and -funsigned-char.
2705 (static_specs): Remove signed_char_spec.
2706 (do_spec1): Don't handle %c.
2707 * system.h: Poison SIGNED_CHAR_SPEC.
2708 * tradcif.y (yylex): Use flag_signed_char.
2709 * tradcpp.h (flag_signed_char): New.
2710 * tradcpp.c (flag_signed_char): New.
2711 (main): Handle new command-line options.
2712 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
2713config:
2714 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
2715 * avr/avr.h: Remove old comments.
2716 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
2717 (CC1_SPEC): Pass -fsigned-char if -mic*.
2718 (SIGNED_CHAR_SPEC): Remove.
2719doc:
2720 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
2721
0617ed52
EC
27222002-02-01 Eric Christopher <echristo@redhat.com>
2723
2724 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
2725 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
2726 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
2727 (ASM_OUTPUT_REG_POP): Ditto.
2728
dfd48d76
NB
27292002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
2730
2731 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
2732 patch.
2733
4a23409e
JJ
27342002-02-02 Jakub Jelinek <jakub@redhat.com>
2735
2736 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
2737
d3c52658
JJ
27382002-02-02 Jakub Jelinek <jakub@redhat.com>
2739
2740 PR c/5304:
2741 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
2742 unconditionally.
2743
02c5a3bd
JJ
27442002-02-01 Janis Johnson <janis187@us.ibm.com>
2745
2746 * cfganal.c: Include tm_p.h.
2747 (keep_with_call_p): Fix the test that determines if a register holds
2748 the return value of a call.
2749
3968de80
DD
27502002-02-01 DJ Delorie <dj@redhat.com>
2751
2752 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
2753 we are given conflicting registers, switch to the other one we
2754 had allocated for us.
2755 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
2756 as TImode so we know when the "other" register is available.
2757
1338ea6c
DB
27582002-02-01 David O'Brien <obrien@FreeBSD.org>
2759
2760 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
2761 sparc/sparc_bi.h.
2762
f015be23
JJ
27632002-02-01 Janis Johnson <janis187@us.ibm.com>
2764
2765 * cfganal.c (keep_with_call_p): New function.
2766 (flow_call_edges_add): Prevent splitting a block between a call and
2767 a single-set instruction that should be kept in the same block.
2768
63708ffc
CR
27692002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
2770
2771 * doc/install.texi (avr): Update outdated URL.
2772
5ee4950e
AH
27732002-01-30 Andrew Haley <aph@cambridge.redhat.com>
2774
2775 * config/stormy16/stormy16.md (pushqi): New.
2776 (popqi): New.
2777 (pushhi): New.
2778 (pophi): New.
2779 (movhi): Remove stack operands.
2780 (movqi): Likewise.
2781 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
2782 nonimmediate_nonstack_operand.
0617ed52 2783 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
5ee4950e
AH
2784 New.
2785 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
2786 New.
2787
b88c0704
JM
27882002-01-31 Jason Merrill <jason@redhat.com>
2789
2790 * Makefile.in (c-parse.c): Handle .output file.
2791 * objc/Make-lang.in (objc-parse.c): Likewise.
2792
ac282977
AO
27932002-02-01 Alexandre Oliva <aoliva@redhat.com>
2794
2795 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
2796 the -me[lb] option is given. Don't output the default flag
2797 twice.
2798
bebc7e8b
ZW
27992002-01-31 Zack Weinberg <zack@codesourcery.com>
2800
2801 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
2802 the primary source file; this has not been done yet.
2803 * c-decl.c (c_expand_body): Reset input_filename from
2804 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
2805
5809eb5f
KH
28062002-01-31 Kazu Hirata <kazu@hxi.com>
2807
2808 * rtlanal.c (subreg_regno_offset): Do not use
2809 SUBREG_REGNO_OFFSET.
2810 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
2811 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
2812
8512bbd7
JM
28132002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2814
2815 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
2816 version rather than GNATS version in --version output.
2817
74cb3cc8
RS
28182002-01-31 Richard Sandiford <rsandifo@redhat.com>
2819
2820 * ifcvt.c (noce_process_if_block): Make a copy of the destination
2821 when copying back from a temporary.
2822
874b5b14
RH
28232002-01-30 Richard Henderson <rth@redhat.com>
2824
2825 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
2826 and new_dest are the same.
2827
e803a64b
RH
28282002-01-30 Richard Henderson <rth@redhat.com>
2829
89cf7be5 2830 PR opt/5076
e803a64b
RH
2831 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
2832 * rtl.c (note_insn_name): Update.
2833 * emit-rtl.c (remove_unnecessary_notes): Kill it.
2834 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
2835 to perform loop rotation.
2836 (expand_exit_loop_top_cond): New.
2837 * tree.h (expand_exit_loop_top_cond): Declare it.
2838 * c-semantics.c (genrtl_while_stmt): Use it.
2839 (genrtl_for_stmt): Likewise.
2840
0b51254d
AO
28412002-01-30 Alexandre Oliva <aoliva@redhat.com>
2842
2843 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
2844 arguments to 64-bit boundaries on 64-bit ABIs.
2845
71cef493
SE
28462002-01-30 Steve Ellcey <sje@cup.hp.com>
2847
2848 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
2849
6169e5fd
JM
28502002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
2851
2852 * c-decl.c (grokdeclarator): Handle type being a typedef for an
2853 invalid type.
2854
86f808dc
DB
28552002-01-30 David O'Brien <obrien@FreeBSD.org>
2856
2857 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2858 * config/sparc/sparc_bi.h: Remove file.
2859 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
2860
5748ebeb
RH
28612002-01-30 Richard Henderson <rth@redhat.com>
2862
2863 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
2864
20d32cc2
ZW
28652002-01-30 Zack Weinberg <zack@codesourcery.com>
2866
2867 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
2868
b88c0704 28692002-01-30 Jason Merrill <jason@redhat.com>
6bb28965
JM
2870
2871 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
2872 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
2873 (reg_save): Use DW_CFA_offset_extended_sf instead.
2874
2875 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
2876
37060e78
JJ
28772002-01-29 Jakub Jelinek <jakub@redhat.com>
2878
2879 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
2880 in cselib_lookup.
2881
d18dba68
AH
28822002-01-29 Aldy Hernandez <aldyh@redhat.com>
2883
bebc7e8b
ZW
2884 * rs6000.md ("*call_value_local32"): Remove constraints.
2885 ("*call_value_local64"): Same.
2886 ("*call_value_indirect_nonlocal_aix32"): Same.
2887 ("*call_value_nonlocal_aix32"): Same.
2888 ("*call_value_indirect_nonlocal_aix64"): Same.
2889 ("*call_value_nonlocal_aix64"): Same.
2890 ("*call_value_nonlocal_sysv"): Same.
d18dba68 2891
80a8aac6
RH
28922002-01-29 Richard Henderson <rth@redhat.com>
2893
2894 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
2895
12beba6f
RH
28962002-01-29 Richard Henderson <rth@redhat.com>
2897
2898 * expr.c (force_operand): Ignore flag_pic for detecting pic
2899 address loads.
2900 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
2901 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
2902 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
2903 instead of open-coded loop.
2904 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
2905 be fixed when in use.
2906
2583081e
RH
29072002-01-29 Richard Henderson <rth@redhat.com>
2908
2909 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
2910 * sched-rgn.c (propagate_deps): Update them.
2911 * sched-deps.c (sched_analyze_insn): Update them. Flush the
2912 clobbers list when either gets too long.
2913
3b8d200e
JJ
29142002-01-29 Jakub Jelinek <jakub@redhat.com>
2915
2916 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
2917 and INDEX_REGS the same as GENERAL_REGS.
2918 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
2919
2d3115eb
NB
29202002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2921
bebc7e8b 2922 * tree.c (build_nonstandard_integer_type): Correct prototype.
2d3115eb 2923
ecbe845e
UW
29242002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
2925
bebc7e8b 2926 * config/s390/s390.md (movstrsico, movstrdix_64,
ecbe845e 2927 movstrsix_31): Remove, replace by ...
bebc7e8b 2928 (movstrdi_short, movstrsi_short, movstrdi_long,
ecbe845e
UW
2929 movstrsi_long): ... these. New.
2930 (movstrdi, movstrsi): Adapt.
2931
2932 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
bebc7e8b 2933 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
ecbe845e
UW
2934 Remove unnecessary CC clobber.
2935 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
2936 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
2937
2938 (divmoddi4): Don't partially initialize TImode register.
2939
0b32fca5
GK
29402002-01-29 Geoffrey Keating <geoffk@redhat.com>
2941
2942 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
2943
08ef5437
RH
29442002-01-29 Richard Henderson <rth@redhat.com>
2945
2946 * flow.c (print_rtl_and_abort): Remove.
2947 (print_rtl_and_abort_fcn): Remove.
2948 (verify_local_live_at_start): Use dump_bb instead.
2949 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
2950 (verify_wide_reg_1): Return 2 on mode test failure.
2951
8469e54e
NB
29522002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2953
2954 PR c/3325, c/3326, c/2511, c/3347
2955 * c-decl.c (enum_decl_context): Remove BITFIELD.
2956 (grokdeclarator): Take bitfield width as an input.
2957 Ensure bitfields are given the correct type. Perform
2958 bitfield width validation with build_bitfield_integer_type
2959 rather than waiting for finish_struct.
2960 (grok_typename, grok_typename_in_parm_context, start_decl,
2961 push_parmdecl, grokfield, start_function): Update calls to
2962 grokdeclarator.
2963 (build_bitfield_integer_type): New function.
2964 (finish_struct): Move bitfield validation to grokdeclarator
bebc7e8b 2965 and build_bitfield_integer_type.
8469e54e
NB
2966 * tree.c (build_nonstandard_integer_type): New function.
2967 * tree.h (build_nonstandard_integer_type): New prototype.
2968objc:
2969 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
2970
ffdeea47
JJ
29712002-01-29 Jakub Jelinek <jakub@redhat.com>
2972
2973 PR other/1502:
2974 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
2975 don't ignore unrecognized -W* options.
2976 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
2977 * cpplib.h (cpp_handle_option): Adjust prototype.
2978 * c-decl.c (c_decode_options): Pass 0 as last argument to
2979 cpp_handle_option.
2980
2981 PR c/2896:
2982 * gcc.c (cpp_unique_options): Split from cpp_options.
2983 (cpp_options): Source cpp_unique_options.
2984 (default_compilers): Use cpp_unique_options instead of cpp_options
2985 when used together with cc1_options.
2986 (static_specs): Add cpp_unique_options.
2987 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
2988 when used together with cc1_options.
2989
1a275226
KH
29902002-01-29 Kazu Hirata <kazu@hxi.com>
2991
2992 * config/h8300/h8300-protos.h: Update the prototype of
2993 output_a_shift.
2994 * config/h8300/h8300.c (output_a_shift): Remove an unused
2995 argument 'insn'. Remove redundant code.
2996 * config/h8300/h8300.md: Adust to the new prototype of
2997 output_a_shift.
2998
a11d9dfc
KH
29992002-01-29 Kazu Hirata <kazu@hxi.com>
3000
3001 * config/h8300/h8300-protos.h: Update the prototypes of
3002 emit_a_rotate and expand_a_rotate.
3003 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
3004 first argument to 'enum rtx_code'.
3005 (expand_a_rotate): Likewise.
3006
871f73e3
KH
30072002-01-28 Kazu Hirata <kazu@hxi.com>
3008
3009 * config/h8300/h8300-protos.h: Update the prototype of
3010 output_simode_bld.
3011 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
3012 'log2'.
3013 * config/h8300/h8300.md: Adjust to the new prototype.
3014
5fc4b751
KH
30152002-01-28 Kazu Hirata <kazu@hxi.com>
3016
3017 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
3018 redundant code.
3019
2d67bd7b
JDA
30202002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
3021
3022 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
3023 is a fixed register before returning pic_offset_table_rtx.
3024 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
3025 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
3026
5a852b3e
JM
30272002-01-28 Jason Merrill <jason@redhat.com>
3028
6bb28965 3029 * dwarf2.h: Sync with src version.
5a852b3e 3030
3bca17dd
PK
30312002-01-28 Paul Koning <pkoning@equallogic.com>
3032
3033 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
3034 BT_FN_VOID_PTR_VAR.
3035 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
3036 * doc/extend.texi (__builtin_prefetch): Update documentation:
3037 first argument is now const void ptr.
3038
7dc3f8c0
KH
30392002-01-28 Kazu Hirata <kazu@hxi.com>
3040
3041 * config/h8300/h8300-protos.h: Remove an unused prototype.
3042
e83cb5f0
RZ
30432002-01-28 Roman Zippel <zippel@linux-m68k.org>
3044
3045 * toplev.c (lang_independent_init): Round up identifier size.
3046
5721cd84
RE
30472002-01-28 Richard Earnshaw <rearnsha@arm.com>
3048
3049 * config.gcc: Revert previous change.
3050
d534119e
AP
30512002-01-28 Andris Pavenis <pavenis@latnet.lv>
3052
3053 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
3054
5a721dab
RE
30552002-01-28 Richard Earnshaw <rearnsha@arm.com>
3056
3057 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
3058 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
3059 other non-elf netbsd config frags.
3060 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
3061 collect2 will does that.
3062 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
3063 shared-lib frobbing will work.
3064
da1775d6
KH
30652002-01-28 Kazu Hirata <kazu@hxi.com>
3066
3067 * config/h8300/h8300.h: Fix formatting.
3068 * config/h8300/h8300.md: Likewise.
3069
8f2e963b
LR
30702002-01-28 Loren J. Rittle <ljrittle@acm.org>
3071
3072 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
3073 the old, removed AAA_standards fix.
3074 * fixinc/fixincl.x: Rebuilt.
3075
fdae5767
HPN
30762002-01-28 Hans-Peter Nilsson <hp@axis.com>
3077
3078 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
3079 atexit call in crtbegin, hooked in after call to frame_dummy;
3080 register EH before registering __fini__start.
3081
2a2ecb63
AH
30822002-01-28 Aldy Hernandez <aldyh@redhat.com>
3083
3084 * config/rs6000/altivec.h: Remove spurious semicolons.
3085
8ed43adf
KH
30862002-01-27 Kazu Hirata <kazu@hxi.com>
3087
3088 * config/h8300/h8300.md: Replace dead bit extraction patterns
3089 with ones that work.
3090
917afb0c
RK
3091Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3092
3093 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
3094 if not STRICT_ALIGNMENT.
3095 * rtl.h (MEM_ALIGN): Likewise.
3096
f70a54cb
CR
30972002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
3098
3099 * doc/invoke.texi (-fdump-translation-unit): Revert this
3100 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
3101
d8fd4914
KH
31022002-01-27 Kazu Hirata <kazu@hxi.com>
3103
3104 * config/h8300/h8300.md (define_constants): New.
3105 (anonymous patterns) Use defined constants appropriately.
3106
15e0e275
KH
31072002-01-27 Kazu Hirata <kazu@hxi.com>
3108
3109 * config/h8300/h8300.c (function_arg): Remove redundant code.
3110
37a0f8a5
RH
31112002-01-26 Richard Henderson <rth@redhat.com>
3112
3113 * sched-deps.c (reg_pending_uses_head): New.
3114 (reg_pending_barrier): Rename from reg_pending_sets_all.
3115 (find_insn_list): Don't mark inline.
3116 (find_insn_mem_list): Remove.
3117 (add_dependence_list, add_dependence_list_and_free): New.
3118 (flush_pending_lists): Replace only_write param with separate
3119 for_read and for_write parameters. Update all callers. Use
3120 add_dependence_list_and_free.
3121 (sched_analyze_1): Do not add reg dependencies here; just set
3122 the pending bits. Use add_dependence_list.
3123 (sched_analyze_2): Likewise.
3124 (sched_analyze_insn): Replace schedule_barrier_found with
3125 reg_pending_barrier. Add all dependencies for pending reg
3126 uses, sets, and clobbers.
3127 (sched_analyze): Don't add reg dependencies for calls, just
3128 set pending bits. Use regs_invalidated_by_call. Treat
3129 sched_before_next_call as a normal list, not a fake insn.
3130 (init_deps): No funny init for sched_before_next_call.
3131 (free_deps): Free pending mems lists. Don't zero reg_last.
3132 (init_deps_global): Init reg_pending_uses.
3133 (finish_deps_global): Free it.
3134 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
3135 (find_insn_mem_list): Remove.
3136 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
3137 (propagate_deps): Use them. Zero temp mem lists.
3138
cea3bd3e
RH
31392002-01-26 Richard Henderson <rth@redhat.com>
3140
3141 * Makefile.in (CRTSTUFF_CFLAGS): New.
3142 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
3143 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
3144 crtstuff.c instead of alpha assembly version.
3145 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
3146 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
3147 not FORCE_{INIT,FINI}_SECTION_ALIGN.
3148 (__do_global_dtors_aux): Mark used.
3149 (frame_dummy, __do_global_ctors_aux): Mark used.
3150 (fini_dummy, init_dummy): Remove.
3151
3152 * config/alpha/crtbegin.asm: Remove file.
3153 * config/alpha/crtend.asm: Remove file.
3154 * config/alpha/t-crtbe: Remove file.
3155 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
3156 (LINK_EH_SPEC): New.
3157
3158 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
3159 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
3160 calling constructors.
3161 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
3162
3163 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
3164 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
3165 CRT_END_INIT_DUMMY hack.
3166 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
3167 FORCE_{INIT,FINI}_SECTION_ALIGN.
3168
3169 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
3170 FORCE_{INIT,FINI}_SECTION_ALIGN.
3171
3172 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
3173 invocation sequence.
3174 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
3175
3176 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
3177 (FORCE_CODE_SECTION_ALIGN): New.
3178
60ffa0e5
RH
31792002-01-26 Richard Henderson <rth@redhat.com>
3180
3181 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
3182
61334ebe
RH
31832002-01-26 Richard Henderson <rth@redhat.com>
3184
3185 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
3186 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
3187
1d788fb6
KH
31882002-01-26 Kazu Hirata <kazu@hxi.com>
3189
3190 * config/h8300/h8300.md: Remove bit extraction patterns that
3191 cannot be triggered.
3192 Restrict each bit extraction pattern to a variant on which the
3193 pattern is tested.
3194
87611f88
JM
31952002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
3196
3197 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
3198
cd74ec59
KH
31992002-01-26 Kazu Hirata <kazu@hxi.com>
3200
3201 * config/h8300/h8300.md: Remove bit test patterns that cannot
3202 be triggered.
3203 Restrict each bit test pattern to a variant on which the
3204 pattern is tested.
3205
93051e0f
KG
32062002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3207
3208 * builtins.c (expand_builtin_strncat): Remove redundant check for
3209 INTEGER_CST.
3210
216c995f
DB
32112002-01-25 David O'Brien <obrien@FreeBSD.org>
3212
3213 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
3214 default setting.
3215 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
3216 existing setting.
3217
33c7f925
GK
32182002-01-25 Geoffrey Keating <geoffk@redhat.com>
3219
3220 * dbxout.c (dbxout_init): Use assemble_name rather than just
3221 stripping off the first character.
3222 (dbxout_source_file): Likewise.
3223
6cd444b4
DD
32242002-01-25 DJ Delorie <dj@redhat.com>
3225
3226 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
3227 using rtx_equal_p, not by comparing pointers.
3228
751551d5
SE
32292002-01-25 Steve Ellcey <sje@cup.hp.com>
3230
3231 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
3232 for PIC_OFFSET_TABLE_REGNUM.
3233 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
3234
e564e618
DB
32352002-01-25 David O'Brien <obrien@FreeBSD.org>
3236
3237 * config.gcc (x86_64-*-freebsd*): New target.
3238 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
3239 value.
3240 (i[34567]86-*-freebsd*): Don't include svr4.h.
3241 * config/i386/freebsd64.h: New file.
3242
ff3aaf17
DR
32432002-01-25 Douglas B Rupp <rupp@gnat.com>
3244
4857d29d
DR
3245 * config/alpha/x-vms (version): Make static.
3246
3247 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
3248 in previous checkin.
3249
ff3aaf17
DR
3250 * Makefile.in (install-headers-cp): New target.
3251 * config.gcc (alpha-dec-*vms*): Install headers with
3252 install-headers-cp
3253
48d79c43
JH
3254Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
3255
3256 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
3257 avoid it's copies.
3258
995b5904
RK
3259Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3260
3261 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
3262 of compare_tree_int.
3263 (expand_builtin_strncat): Likewise.
3264 * c-decl.c (finish_struct): Use tree_low_cst.
3265 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
3266 * tree.c (compare_tree_int): Likewise.
3267
75eefe3f
UW
32682002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
3269
3270 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
3271 adjustments even if they are implemented by more than two insns.
3272
5a133afd
JH
3273Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
3274
995b5904 3275 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
5a133afd
JH
3276 * df.h (struct ref): Kill B.
3277 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
3278
3279 * basic-block.h (PROP_EQUAL_NOTES): New flag.
3280 * flow.c (propagate_one_insn): Use it.
3281 (mark_used_regs): Handle NIL.
3282
ead39bdf 32832002-01-25 Geoffrey Keating <geoffk@redhat.com>
3d8dd3c0
GK
3284
3285 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
3286 to help folding.
3287
01a2ccd0
DE
32882002-01-25 David Edelsohn <edelsohn@gnu.org>
3289
3290 * rs6000.md (prefetch): Make address V4SI mode so that the address
3291 is restricted to legitimate form for instruction.
3292
fd29f6ea
BW
32932002-01-25 Bob Wilson <bob.wilson@acm.org>
3294
3295 * doc/install.texi (xtensa-*-elf): New target.
3296 (xtensa-*-linux*): New target.
3297 * doc/contrib.texi: Add myself.
3298
55492b32
NC
32992002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
3300
3301 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
3302 purpose register to hold an SImode (or smaller) value.
3303
72c7c913
JJ
33042002-01-25 Jakub Jelinek <jakub@redhat.com>
3305
3306 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
3307 registry only.
3308 * crtstuff.c: Likewise.
3309
c4df4ceb
KH
33102002-01-25 Kazu Hirata <kazu@hxi.com>
3311
3312 * config/h8300/h8300.md (negation patterns): Tighten
3313 predicates to register_operand.
3314
70e531f5
AH
33152002-01-24 Aldy Hernandez <aldyh@redhat.com>
3316
3bca17dd
PK
3317 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
3318 mode, not Pmode.
70e531f5 3319
3bca17dd 3320 * builtins.c (expand_builtin_prefetch): Same.
70e531f5 3321
a4f76ef9
AO
33222002-01-24 Alexandre Oliva <aoliva@redhat.com>
3323
3324 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
3325 modes.
3326
9bf25b09
KH
33272002-01-24 Kazu Hirata <kazu@hxi.com>
3328
3329 * config/h8300/h8300.c (print_operand): Remove support for
3330 operand character 'A'.
3331 * config/h8300/h8300.md (three anonymous patterns): Replace
3332 operand character 'A' with either 'T' or 'S'.
3333
974af6a5
KH
33342002-01-24 Kazu Hirata <kazu@hxi.com>
3335
3336 * config/h8300/h8300.c (print_operand): Remove support for
3337 operand character 'U'.
3338
7a5bb7b8
AP
33392002-01-24 Andris Pavenis <pavenis@latnet.lv>
3340
3bca17dd 3341 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7a5bb7b8 3342
92a4639e
NC
33432002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
3344
3345 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
3346 values to be assigned to the stack pointer.
3347
467cb2da
HP
33482002-01-14 Hartmut Penner <hpenner@de.ibm.com>
3349
bebc7e8b 3350 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
467cb2da
HP
3351 to const_double needs to be done right for big-endian systems.
3352
3b6cb920
JM
33532002-01-24 Jason Merrill <jason@redhat.com>
3354
b08dd119 3355 PR c++/2432
3b6cb920
JM
3356 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
3357 to can_throw_internal.
3358
f3077311
RH
33592002-01-23 Richard Henderson <rth@redhat.com>
3360
3361 * fold-const.c (fold): Change UINT_MAX test to check vs precision
3362 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
3363
e1d71275
AO
33642002-01-24 Alexandre Oliva <aoliva@redhat.com>
3365
3366 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
3367 (symGOT2reg): Use them, then set as GOT value as unchanging.
3368 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
3369 as a temporary, if possible.
3370 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
3371 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
3372
dc271dbe
KH
33732002-01-23 Kazu Hirata <kazu@hxi.com>
3374
3375 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
3376 accept to accept 0x80 as operands[2].
3377
1a9017f9
AO
33782002-01-24 Alexandre Oliva <aoliva@redhat.com>
3379
3380 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
3381
6932f033
RH
33822002-01-23 Richard Henderson <rth@redhat.com>
3383
3384 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
3385
709619d9
AH
33862002-01-23 Aldy Hernandez <aldyh@redhat.com>
3387
3bca17dd
PK
3388 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
3389 (parmlist_or_identifiers_1): Verify that only a parmlist follows
3390 an attribute.
709619d9 3391
3d709fd3
RH
33922002-01-23 Richard Henderson <rth@redhat.com>
3393
3394 * expr.c (move_by_pieces_1): Extend size before negation.
3395
88a446c0
RH
3396 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
3397 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
3398 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
3399 * config/m68k/t-m68kelf: Likewise.
3400
03984308
BW
34012002-01-23 Bob Wilson <bob.wilson@acm.org>
3402
3403 * config/xtensa/elf.h: New file.
3404 * config/xtensa/lib1funcs.asm: New file.
3405 * config/xtensa/lib2funcs.S: New file.
3406 * config/xtensa/linux.h: New file.
3407 * config/xtensa/t-xtensa: New file.
3408 * config/xtensa/xtensa-config.h: New file.
3409 * config/xtensa/xtensa-protos.h: New file.
3410 * config/xtensa/xtensa.c: New file.
3411 * config/xtensa/xtensa.h: New file.
3412 * config/xtensa/xtensa.md: New file.
3413 * config.gcc (xtensa-*-elf*): New target.
3414 (xtensa-*-linux*): New target.
3415 * cse.c (canon_hash): Compare rtx pointers instead of register
3416 numbers. This is required for the Xtensa port.
3417 * integrate.c (copy_insn_list): Handle case where the static
3418 chain is in memory and the memory address has to be copied to
3419 a register.
3420 * doc/invoke.texi (Option Summary): Add Xtensa options.
3421 (Xtensa Options): New node.
3422 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
3423
c3d5c3fa
ZW
34242002-01-23 Zack Weinberg <zack@codesourcery.com>
3425
a63bea75
ZW
3426 * diagnostic.c (internal_error): Do ICE suppression only
3427 when ENABLE_CHECKING is not defined.
3428
c3d5c3fa
ZW
3429 * c-typeck.c (require_complete_type): Return error_mark_node
3430 if type is error_mark_node.
3431
1398974c
JJ
34322002-01-23 Janis Johnson <janis187@us.ibm.com>
3433
3434 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
3435 -Os and issue a warning.
3436
807633e5
ZW
34372002-01-23 Zack Weinberg <zack@codesourcery.com>
3438
3439 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
3440 current (lack of) need for host configuration by hand.
3441
3442 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
3443 references. Documentation of some target macros moved from
3444 hostconfig.texi to tm.texi.
3445
cf8002d0
WC
34462002-01-23 Will Cohen <wcohen@redhat.com>
3447
3448 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
3449 defined.
3450
d1e76310
KH
34512002-01-23 Kazu Hirata <kazu@hxi.com>
3452
3453 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
3454 operand[3].
3455
b2115575
JM
34562002-01-23 Jason Merrill <jason@redhat.com>
3457
f893c16e
JM
3458 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
3459
b2115575
JM
3460 * function.c (assign_parms): Don't put args of inline functions
3461 into registers when not optimizing.
3462
6bacc7b0
NC
34632002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
3464
3465 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
3466 (prologue_use): New pattern.
3467 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
3468 preference to gen_rtx_USE.
3469 (thumb_expand_prologue): Use gen_prologue_use in preference to
3470 gen_rtx_USE.
3471 (thumb_expand_epilogue): Use gen_prologue_use in preference to
3472 gen_rtx_USE.
3473
a415f7bc
HPN
34742002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
3475
3476 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
3477
5372b3fb
NB
34782002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
3479
3480 PR c/3504
3481 * doc/extend.texi: Correct documentation of __alignof__.
3482
bd571ffc
ZW
34832002-01-22 Zack Weinberg <zack@codesourcery.com>
3484
3485 * params.h: Rename arguments of DEFPARAM so that it will be
3486 recognized as a translation keyword.
3487
333c8841
AH
34882002-01-22 Aldy Hernandez <aldyh@redhat.com>
3489
bd571ffc
ZW
3490 * extend.texi: Document altivec functions.
3491 Fix N-bit adjectives in X86 builtin documentation.
333c8841 3492
38979c65
AO
34932002-01-22 Alexandre Oliva <aoliva@redhat.com>
3494
3495 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
3496 auto_inc_dec values.
3497
7458a9f0
RE
34982002-01-22 Richard Earnshaw <rearnsha@arm.com>
3499
3500 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
3501 after backslash.
3502 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
3503
129bd0c4
AO
35042002-01-22 Alexandre Oliva <aoliva@redhat.com>
3505
3506 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
3507
8b9b74a9
RH
35082002-01-22 Richard Henderson <rth@redhat.com>
3509
3510 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
3511 copy_insn not copy_rtx.
3512
d0c9db30
AM
35132002-01-23 Alan Modra <amodra@bigpond.net.au>
3514
3515 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
3516 "nonzero" as that might add "1" bits. Ensure "constop" is
3517 properly sign extened.
3518 (force_to_mode): Tweak for sign extended constop.
3519
1e7e480e
RH
35202002-01-22 Richard Henderson <rth@redhat.com>
3521
3522 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
3523 for_each_rtx instead of assuming we're already looking at the MEM.
3524 (split_small_symbolic_mem_operand): Likewise.
3525 * config/alpha/alpha.h (PREDICATE_CODES): Update.
3526 * config/alpha/alpha.md (small symbolic memory splitters): Update.
3527
35282002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
3529
3530 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
3531 sequence number for the literal.
3532 (divmoddi_internal_er): Likewise.
3533
b7f2fb96
CR
35342002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
3535
3536 PR java/4972
3537 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
3538 in LIBICONV variable.
3539 * configure: Regenerated.
3540
f66a0046
KW
35412002-01-22 Krister Walfridsson <cato@df.lth.se>
3542
3543 * dependence.c (build_def_use): Remove array_idx.
3544
e3b0efd1
KW
3545 * dwarfout.c (last_filename): Remove.
3546 (output_compile_unit_die): Remove last_filename.
3547
d8086cbb
RS
35482002-01-22 Roger Sayle <roger@eyesopen.com>
3549 Richard Henderson <rth@redhat.com>
3550
3551 PR opt/3640
3552 * fold-const.c (fold): Optimize unsigned comparisons against
3553 UINT_MAX (and similar unsigned constants).
3554
e8d52ba0
JJ
35552002-01-22 Janis Johnson <janis187@us.ibm.com>
3556
d8086cbb 3557 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 3558 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 3559 against the predicate.
11303d15 3560
e8d52ba0
JJ
3561 PR target/5379
3562 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
3563 for the address operand.
3564
cc7b420e
RH
35652002-01-22 Richard Henderson <rth@redhat.com>
3566
3567 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
3568
816e265a
CR
35692002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
3570
3571 PR other/5450
cc7b420e
RH
3572 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
3573 preprocessor flags.
816e265a 3574
7c884404
JT
35752002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
3576
3577 * config.gcc (x86_64-*-netbsd*): New target.
3578 * config/i386/netbsd64.h: New file.
3579
2b672c08
AH
35802002-01-22 Aldy Hernandez <aldyh@redhat.com>
3581
d8086cbb 3582 * regrename.c (kill_value): Fix typo.
2b672c08
AH
3583
35842002-01-22 Aldy Hernandez <aldyh@redhat.com>
3585
d8086cbb 3586 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 3587
d8086cbb 3588 * config/rs6000/rs6000.h: Same.
2b672c08 3589
d8086cbb
RS
3590 * function.c (instantiate_virtual_regs): Remove
3591 STARTING_FRAME_PHASE.
3592 (assign_stack_local_1): Same.
3593 Calculate frame phase.
2b672c08 3594
4b02997f
NC
35952002-01-22 Nick Clifton <nickc@redhat.com>
3596
3597 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
3598 variable declaration to outer scope in order to simplify
3599 future extensions.
3600 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
3601 arm_hard_regno_mode_ok.
3602 * config/arm/arm-protos.h: Add a prototype for
3603 arm_hard_regno_mode_ok.
3604 * config/arm/arm.c (soft_df_operand): Remove now redundant
3605 check for DImode values using IP_REGNUM.
3606 (nonimmediate_soft_df_operand): Remove now redundant check for
3607 DImode values using IP_REGNUM.
3608 (arm_hard_regno_mode_ok): New function. New check: make sure
3609 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
3610
3611 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
3612 note with a USE.
3613 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
3614
8a827ab2
JM
36152002-01-22 Jason Merrill <jason@redhat.com>
3616
3617 * c-semantics.c (genrtl_compound_stmt): Only check nesting
3618 consistency if this COMPOUND_STMT is scoped.
3619
cf403648
KH
36202002-01-22 Kazu Hirata <kazu@hxi.com>
3621
3622 * predict.c: Fix formatting.
3623 * print-tree.c: Likewise.
3624 * protoize.c: Likewise.
3625 * real.h: Likewise.
3626 * rtl.h: Likewise.
3627 * sbitmap.h: Likewise.
3628 * scan.c: Likewise.
3629 * sched-deps.c: Likewise.
3630 * sched-vis.c: Likewise.
3631 * sdbout.c: Likewise.
3632 * sibcall.c: Likewise.
3633 * ssa.c: Likewise.
3634 * ssa-ccp.c: Likewise.
3635 * ssa-dce.c: Likewise.
3636 * stmt.c: Likewise.
3637 * stor-layout.c: Likewise.
3638 * system.h: Likewise.
3639
aea9695c
RK
3640Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3641
a8765ae7
RK
3642 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
3643 if fits in bounds of base type.
3644
aea9695c
RK
3645 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
3646 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
3647 (add_bound_info, default): If can't find a context, make a
3648 SAVE_EXPR.
3649 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
3650
58bf601b
HPN
36512002-01-22 Hans-Peter Nilsson <hp@axis.com>
3652
3653 * c-typeck.c (parser_build_binary_op): If result from
3654 build_binary_op is ERROR_MARK just return error_mark_node without
3655 further processing.
3656
f982f805
JT
36572002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
3658
3659 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
3660 Split a.out-specific bits into...
3661 * config/netbsd-aout.h: ...this.
3662 * config/netbsd-elf.h: New file.
3663 * config/alpha/netbsd-elf.h: Remove.
3664 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
3665 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 3666 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
3667 (ENDFILE_SPEC): Likewise.
3668 (LINK_SPEC): Likewise.
3669 (CPP_SPEC): Likewise.
3670 (ASM_SPEC): Likewise.
3671 (LIB_SPEC): Likewise.
3672 (SWITCH_TAKES_ARG): Likewise.
3673 (TARGET_MEM_FUNCTIONS): Likewise.
3674 (CPP_PREDEFINES): Redefine.
3675 (ASM_FINAL_SPEC): Remove redefinition.
3676 (ASM_COMMENT_START): Redefine.
3677 (FUNCTION_PROFILER): Define.
3678 (TARGET_VERSION): Redefine.
3679 Comment and formatting cleanup.
3680 * config/i386/netbsd.h: Include <netbsd-aout.h>.
3681 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
3682 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
3683 big- or little-endian.
3684 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
3685 * config.gcc (*-*-netbsd*): Add definitions common to all
3686 NetBSD configs.
3687 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
3688 gnu_ld definitions. Add netbsd-elf.h to and remove
3689 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
3690 tmake_file, and don't lose previous tmake_file contents.
3691 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
3692 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
3693 gnu_ld definitions. Add netbsd-elf.h to tm_file.
3694 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
3695 (mipsel-*-netbsd*): Rename this to...
3696 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
3697 mips/little.h to tm_file for mips*el-*.
3698 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
3699 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
3700 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
3701
2e396476
JDA
37022002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
3703
3704 * pa-protos.h (reg_before_reload_operand): New function prototype.
3705 * pa.c (reg_before_reload_operand): New function implementation.
3706 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
3707 contraints to "*m".
3708
3b5708e7
FS
37092002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3710
3711 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
3712
85e79f96
JDA
37132002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
3714
3715 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
3716 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
3717 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
3718 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
3719 (ENDFILE_SPEC): Undefine.
3720 (STARTFILE_SPEC): Redefine for PA.
3721
38abadee
FS
37222002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3723
3724 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
3725
94f1d97c
DJ
37262002-01-21 Daniel Jacobowitz <drow@mvista.com>
3727
3728 * config.gcc: Add entries to supported PowerPC --with-cpu
3729 types.
3730
0333394e
JJ
37312002-01-21 Jakub Jelinek <jakub@redhat.com>
3732
3733 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
3734 true for 64-bit mode only SSE registers in 32-bit mode.
3735
e9d1b155
KH
37362002-01-21 Kazu Hirata <kazu@hxi.com>
3737
3738 * unwind-dw2.c: Fix formatting.
3739 * unwind-dw2-fde.c: Likewise.
3740 * unwind-dw2-fde.h: Likewise.
3741 * unwind-pe.h: Likewise.
3742 * varasm.c: Likewise.
3743 * varray.h: Likewise.
3744
07338cf8
HPN
37452002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
3746
3747 Remove workaround for register stack overwrite bug in mmix.
3748 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
3749 support for TARGET_REG_STACK_FILL_BUG.
3750 * config/mmix/mmix.h: Remove member has_call_without_parameters.
3751 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
3752 Delete.
3753 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
3754 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
3755 -mno-reg-stack-fill-bug-workaround.
3756 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
3757 machine member has_call_without_parameters.
3758 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
3759 -mreg-stack-fill-bug-workaround and
3760 -mno-reg-stack-fill-bug-workaround.
3761 (MMIX Options): Ditto.
3762
7192cbf1
KH
37632002-01-21 Kazu Hirata <kazu@hxi.com>
3764
3765 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
3766 as appropriate.
3767 Remove redundant code.
3768
d1552d7b
JM
37692002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
3770
3771 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
3772 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
3773 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
3774 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
3775 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
3776 out target macro definitions and non-target-specific comments
3777 mostly taken from old versions of the manual.
3778
ed168e45
KH
37792002-01-20 Kazu Hirata <kazu@hxi.com>
3780
3781 * config/h8300/h8300.h: Fix comment formatting.
3782 * config/ia64/aix.h: Likewise.
3783 * config/ia64/ia64-protos.h: Likewise.
3784 * config/ia64/ia64.c: Likewise.
3785 * config/ia64/ia64.h: Likewise.
3786 * config/ia64/ia64intrin.h: Likewise.
3787 * config/ia64/linux.h: Likewise.
3788 * config/ia64/unwind-aix.c: Likewise.
3789 * config/ia64/unwind-ia64.c: Likewise.
3790
005e3e05
KH
37912002-01-20 Kazu Hirata <kazu@hxi.com>
3792
3793 * config/h8300/h8300.c: Revise comments about shift code.
3794
64bead4c
KH
37952002-01-20 Kazu Hirata <kazu@hxi.com>
3796
3797 * config/h8300/h8300.c (function_arg): Update a comment.
3798
ed863595
KH
37992002-01-20 Kazu Hirata <kazu@hxi.com>
3800
3801 * config/h8300/h8300.md: Update the comments at the beginning
3802 of the file.
3803
5904dc87
KH
38042002-01-20 Kazu Hirata <kazu@hxi.com>
3805
3806 * config/i370/i370.c: Fix comment formatting.
3807 * config/i370/i370.h: Likewise.
3808 * config/i370/i370.md: Likewise.
3809 * config/i370/linux.h: Likewise.
3810
9702143f
RK
3811Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3812
cbafacd1
RK
3813 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
3814
9702143f
RK
3815 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
3816 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
3817 in incomplete case.
3818
6b6996b8
GS
38192002-01-20 Graham Stott <grahams@redhat.com>
3820
3821 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
3822
eab854f6
JDA
38232002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
3824
3825 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
3826
5b029315
TR
38272002-01-19 Tom Rix <trix@redhat.com>
3828
3829 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
3830
1d690052
AH
38312002-01-18 Aldy Hernandez <aldyh@redhat.com>
3832
d8086cbb 3833 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 3834
d8086cbb
RS
3835 * function.c (assign_stack_local_1): Adjust x_frame_offset with
3836 STARTING_FRAME_PHASE.
3837 (STARTING_FRAME_PHASE): New.
3838 (instantiate_virtual_regs): Check saneness of
3839 STARTING_FRAME_PHASE.
1d690052 3840
d8086cbb 3841 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 3842
4dd8c093
AO
38432002-01-19 Alexandre Oliva <aoliva@redhat.com>
3844
3845 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
3846
6f2a28d7
CR
38472002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
3848
3849 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
3850 be used for bootstrapping GCC 3.0.
3851
8763a465
KH
38522002-01-18 Kazu Hirata <kazu@hxi.com>
3853
3854 * config/h8300/h8300.md: Fix an insn length.
3855
3ef42a0c
KH
38562002-01-18 Kazu Hirata <kazu@hxi.com>
3857
3858 * bitmap.h: Fix comment formatting.
3859 * combine.c: Likewise.
3860 * cppfiles.c: Likewise.
3861 * c-pragma.h: Likewise.
3862 * c-typeck.c: Likewise.
3863 * df.c: Likewise.
3864 * dwarf2out.c: Likewise.
3865 * function.c: Likewise.
3866 * gcc.c: Likewise.
3867 * genattrtab.c: Likewise.
3868 * gthr-win32.h: Likewise.
3869 * haifa-sched.c: Likewise.
3870 * predict.c: Likewise.
3871 * rtlanal.c: Likewise.
3872 * rtl.h: Likewise.
3873 * unwind-dw2-fde.h: Likewise.
3874 * unwind-pe.h: Likewise.
3875 * vmsdbgout.c: Likewise.
3876
dd4dc3cd
RK
3877Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3878
3879 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
3880 if type_required and passed decl.
3881
5fb4cf24
AH
38822002-01-17 Aldy Hernandez <aldyh@redhat.com>
3883
d8086cbb
RS
3884 * config.gcc (cpu_type): Include altivec.h in powerpc
3885 extra_headers.
3886 Same for darwin.
5fb4cf24 3887
d8086cbb 3888 * config/rs6000/altivec.h: New.
5fb4cf24 3889
2705baf5
DE
38902002-01-17 David Edelsohn <edelsohn@gnu.org>
3891
3892 * doc/install.texi (*-ibm-aix*): Update assembler and exception
3893 handling information.
3894 * doc/trouble.texi (Interoperation): Add libstdc++ information
3895 for AIX.
3896 (Misunderstandings): Add template instantiation and static template
3897 member information for AIX.
3898
dbd680e1
JM
38992002-01-17 Jason Merrill <jason@redhat.com>
3900
821adc5e
JM
3901 * dbxout.c (dbxout_type): Support const and volatile.
3902
dbd680e1
JM
3903 * except.c (add_partial_entry): Remove backwards compatibility code.
3904 (end_protect_partials): Likewise.
3905
d0e82870
JJ
39062002-01-17 Jakub Jelinek <jakub@redhat.com>
3907
3908 * config/ia64/ia64.md (prologue_use): New.
3909 * config/ia64/ia64.c (ia64_expand_prologue): Use
3910 gen_prologue_use instead of gen_rtx_USE.
3911 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
3912 as CODE_FOR_pred_rel_mutex.
3913 (ia64_sched_reorder2): Likewise.
3914
f9f45c65
EC
39152002-01-16 Eric Christopher <echristo@redhat.com>
3916
3917 * config/mips/r3900.h: Reformat.
3918 (SUBTARGET_CPP_SIZE_SPEC): Remove.
3919 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
3920 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
3921 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
3922 * config/mips/t-elf: Remove mips3 multilib.
3923
c66c8b0e
L
39242002-01-16 H.J. Lu <hjl@gnu.org>
3925
3926 * config/mips/linux.h: Include "mips/abi64.h".
3927
5f083b72
L
39282002-01-16 H.J. Lu <hjl@gnu.org>
3929
3930 * config/mips/t-linux: New.
3931
3932 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
3933
3934 * config/mips/linux.h: Don't include "gofast.h".
3935 (INIT_SUBTARGET_OPTABS): Removed.
3936
af3c90a6
KH
39372002-01-16 Kazu Hirata <kazu@hxi.com>
3938
3939 * config/h8300/h8300-protos.h: Replace emit_a_shift with
3940 output_a_shift.
3941 * config/h8300/h8300.c: Likewise.
3942 * config/h8300/h8300.md: Likewise.
3943
a1bf0a16
KH
39442002-01-16 Kazu Hirata <kazu@hxi.com>
3945
3946 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
3947 spaces after an opcode name.
3948 (pushqi1_h8300hs): Likewise.
3949 (pushhi1_h8300hs): Likewise.
3950
88ab0d1c
KH
39512002-01-16 Kazu Hirata <kazu@hxi.com>
3952
3953 * doc/extend.texi: Replace "option" with "attribute"
3954 appropriately.
3955
51c561e3
JJ
39562002-01-16 Jakub Jelinek <jakub@redhat.com>
3957
3958 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
3959 (and:DI () (const_int -8)).
3960 (split_small_symbolic_mem_operand): Split
3961 (mem (and:DI () (const_int -8)).
3962
b8c1a6b8
JJ
39632002-01-16 Jakub Jelinek <jakub@redhat.com>
3964
3965 PR target/5309:
d8086cbb 3966 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
3967 same way as TYPE_IMUL.
3968 (ultrasparc_sched_reorder): Likewise.
3969 * config/sparc/sparc.md (type): Add comment to update
3970 ultrasparc_sched_reorder when making changes.
3971
1e4e4df2
KH
39722002-01-16 Kazu Hirata <kazu@hxi.com>
3973
3974 * doc/invoke.texi: Change the dump file name of block
3975 reordering pass from 28.bbro to 29.bbro.
3976 Mention -dk option.
3977
14d920c0
JH
3978Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
3979
3980 * i386.md (minsf splitter): Fix pasto.
3981
2e99323f
NC
39822002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
3983
3984 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
3985 to frame pointer initialisation instruction.
3986 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
3987 initialisation instruction.
ab8081c1
NC
3988 (soft_df_operand): Do not accept the IP register.
3989 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 3990
c4031a04
JJ
39912002-01-16 Jakub Jelinek <jakub@redhat.com>
3992
3993 PR target/5357:
3994 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
3995 MASK_V8 being both set.
3996
44b8152b
UW
39972002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
3998
3999 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
4000 insn for GOT register; add REG_MAYBE_DEAD notes instead.
4001 config/s390/s390.md (call, call_value): Add GOT register to
4002 CALL_INSN_FUNCTION_USAGE where needed.
4003 (call_exp, call_value_exp): New.
4004
1d6e90ac
NC
40052002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
4006
4007 * config/arm/arm.c: General formatting tidy up.
4008
40092002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
4010
4011 * calls.c (try_to_integrate): Use "(size_t)" intermediate
4012 cast and when casting an integer literal to "rtx" pointer.
4013 (expand_call): Likewise.
4014 * flow.c (try_pre_increment): Likewise.
4015 (find_use_as_address): Likewise.
4016 * integrate.c (expand_iline_function): Likewise.
4017 * regmove.c (try_auto_increment): Likewise.
4018
1d6e90ac 40192002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
4020
4021 * sched-rgn.c (passed): Use sbitmap_free.
4022 (header): Likewise.
4023 (inner): Likewise.
4024 (in_queue): Likewise.
4025 (in_stack): Likewise.
4026
31fce3c4
EC
40272002-01-15 Eric Christopher <echristo@redhat.com>
4028
4029 * flow.c (propagate_one_insn): Change to use fatal_insn.
4030
c99d986a
KH
40312002-01-15 Kazu Hirata <kazu@hxi.com>
4032
4033 * expmed.c (extract_fixed_bit_field): Remove unused code.
4034 * system.h: Poison SLOW_ZERO_EXTEND.
4035 * doc/tm.texi: Remove.
4036 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
4037 * config/arm/arm.h: Likewise.
4038 * config/avr/avr.h: Likewise.
4039 * config/clipper/clipper.h: Likewise.
4040 * config/convex/convex.h: Likewise.
4041 * config/d30v/d30v.h: Likewise.
4042 * config/dsp16xx/dsp16xx.h: Likewise.
4043 * config/elxsi/elxsi.h: Likewise.
4044 * config/fr30/fr30.h: Likewise.
4045 * config/h8300/h8300.h: Likewise.
4046 * config/i370/i370.h: Likewise.
4047 * config/i386/i386.h: Likewise.
4048 * config/m68k/m68k.h: Likewise.
4049 * config/mips/mips.h: Likewise.
4050 * config/ns32k/ns32k.h: Likewise.
4051 * config/pdp11/pdp11.h: Likewise.
4052 * config/pj/pj.h: Likewise.
4053 * config/s390/s390.h: Likewise.
4054 * config/sh/sh.h: Likewise.
4055 * config/stormy16/stormy16.h: Likewise.
4056 * config/v850/v850.h: Likewise.
4057 * config/vax/vax.h: Likewise.
4058 * config/we32k/we32k.h: Likewise.
4059
acfab996
AH
40602002-01-15 Aldy Hernandez <aldyh@redhat.com>
4061
d8086cbb
RS
4062 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
4063 (altivec_lvsl): Change constraint to b.
4064 (altivec_lvsr): Same.
4065 (altivec_lvebx): Same.
4066 (altivec_lvehx): Same.
4067 (altivec_lvewx): Same.
4068 (altivec_lvxl): Same.
4069 (altivec_lvx): Same.
4070 (altivec_stvx): Add parallel.
4071 (altivec_stvxl): Same.
4072 (altivec_stvehx): Same.
4073 (altivec_stvebx): Same.
4074 (altivec_stvebx): Same.
acfab996 4075
5e505bc9
AH
40762002-01-15 Aldy Hernandez <aldyh@redhat.com>
4077
d8086cbb 4078 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 4079
d8086cbb 4080 * config/rs6000/altivec.h: Delete.
5e505bc9 4081
d8086cbb 4082 * config/rs6000/altivec-defs.h: Add.
5e505bc9 4083
5c41fdfb
JDA
40842002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4085
4086 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
4087 and UMOD modes.
4088
4089 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
4090 less than or equal to eight bytes.
4091
4092 * vax.md (andsi3): Remove constraints and change SET destination
4093 operand type to nonimmediate_operand.
4094 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
4095 when it is a CONST_INT.
4096
de097a2d
JM
40972002-01-15 Jason Merrill <jason@redhat.com>
4098
4099 * c-common.def (FILE_STMT): New code.
4100 * c-common.c (statement_code_p): It's a statement.
4101 * c-common.h (stmt_tree_s): Add x_last_filename.
4102 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
4103 (last_expr_filename): New macro.
4104 * c-semantics.c (begin_stmt_tree): Initialize it.
4105 (add_stmt): If the filename changed, also insert a
4106 FILE_STMT.
4107 (expand_stmt): Handle seeing one.
4108
4a913dd6
EC
41092002-01-15 Eric Christopher <echristo@redhat.com>
4110
4111 * flow.c (propagate_one_insn): Add error message and print out
4112 insn for debugging.
4113
006946e4
JM
41142002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
4115
4116 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
4117 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
4118 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
4119 TRAMPOLINE_ALIGNMENT.
4120 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
4121 to be in bits.
4122 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
4123 PCC_BITFIELD_TYPE_MATTERS.
4124 * config/interix.h (STDC_VALUE): Remove. Use
4125 STDC_0_IN_SYSTEM_HEADERS.
4126 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
4127 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
4128 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
4129
751a1458
CR
41302002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
4131
4132 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
4133 not work on this platform currently.
4134
57771fe8
JM
41352002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
4136
4137 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
4138 readonly_warning in _().
4139
0e83ceb1 41402002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 4141
0e83ceb1 4142 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 4143
8e2e89f7
KH
41442002-01-15 Kazu Hirata <kazu@hxi.com>
4145
0e83ceb1
DR
4146 * config/h8300/h8300.c (print_operand): Remove support for
4147 unused operand characters.
4148
8e2e89f7
KH
4149 * read-rtl.c: Fix formatting.
4150 * real.c: Likewise.
4151 * recog.c: Likewise.
4152 * regclass.c: Likewise.
4153 * regmove.c: Likewise.
4154 * reg-stack.c: Likewise.
4155 * reload1.c: Likewise.
4156 * rtlanal.c: Likewise.
4157
b531087a
KH
41582002-01-15 Kazu Hirata <kazu@hxi.com>
4159
4160 * config/i386/i386.c: Fix formatting.
4161
7c94ce7f
JJ
41622002-01-15 Jakub Jelinek <jakub@redhat.com>
4163
4164 * c-typeck.c (process_init_element): Don't save_expr
4165 COMPOUND_LITERAL_EXPR if just its initializer will be used.
4166
6041bf2f
DE
41672002-01-15 David Edelsohn <edelsohn@gnu.org>
4168
4169 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
4170 emit optional traceback table if optimize_size or TARGET_ELF.
4171 * config/rs6000/rs6000.md (prefetch): New.
4172
8559c8c0
AJ
41732002-01-15 Andreas Jaeger <aj@suse.de>
4174
4175 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
4176
70f122f2
KH
41772002-01-15 Kazu Hirata <kazu@hxi.com>
4178
4179 * mips-tfile.c: Fix formatting.
4180
6a7b4ca6
JH
4181Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
4182
4183 * unroll.c (final_reg_note_copy): Fix previous commit.
4184
e7afe229
KH
41852002-01-14 Kazu Hirata <kazu@hxi.com>
4186
4187 * config/h8300/h8300-protos.h: Remove the prototype for
4188 eq_operator.
4189 * config/h8300/h8300.c (eq_operator): Remove.
4190
7d378549
RH
41912002-01-14 Richard Henderson <rth@redhat.com>
4192
4193 * config/i386/i386.md (prefetch): Tidy.
4194 (prefetch_3dnow): Fix locality operand.
4195
ab093b81
RH
41962002-01-14 Richard Henderson <rth@redhat.com>
4197
4198 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
4199 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
4200
d300f51f
HPN
42012002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
4202
4203 * reload1.c (reload_combine): Pass reg_sum replacement through
4204 copy_rtx in loop performing multiple changes.
4205
655dd289
JJ
42062002-01-14 Jakub Jelinek <jakub@redhat.com>
4207
4208 * except.c (remove_unreachable_regions): New.
4209 (free_eh_status): Clear exception_handler_labels.
4210 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
4211 (find_exception_handler_labels): Don't add the same label more than
4212 once.
4213 (remove_exception_handler_label): Don't die if
4214 find_exception_handler_labels hasn't been called for the current
4215 function yet.
4216
1fba46a7
JH
4217Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
4218
4219 * toplev.c (rest_of_compilation): Rebuild jump labels after
4220 gcse.
4221
0975678f
JM
42222002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
4223
4224 * doc/extend.texi: Move documentation of X86 built-in functions
4225 here.
4226 * doc/invoke.texi: From here.
4227 * doc/sourcebuild.texi: Document location of documentation for
4228 machine built-in functions.
4229
969815c7
CF
42302002-01-13 Christopher Faylor <cgf@redhat.com>
4231
4232 * cppfiles.c (TEST_THRESHOLD): New macro.
4233 (SHOULD_MMAP): Ditto.
4234 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
4235 be used.
4236
494c950b
JH
4237Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
4238
4239 * unroll.c (final_reg_note_copy): Properly handle
4240 REG_LABEL
4241 (unroll_loops): Fix LOOP_CONDITION heuristics.
4242
69a0611f
GK
42432002-01-14 Geoffrey Keating <geoffk@redhat.com>
4244
4245 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
4246 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
4247
b90e45ae
JH
4248Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
4249
4250 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
4251 threaded loop.
4252
8377288b
TR
42532002-01-14 Tom Rix <trix@redhat.com>
4254
4255 * config/rs6000/rs6000.md: Fix typo with sradi.
4256
9f37ccb1
UW
42572002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
4258
4259 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
4260 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
4261 (clrstrdi, clrstrsi): Adapt callers.
4262
4263 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
4264
8559c8c0 4265 (movti splitter): Never use register 0 as base register.
9f37ccb1 4266
6c2d03d0
HP
42672002-01-14 Hartmut Penner <hpenner@de.ibm.com>
4268
8559c8c0
AJ
4269 * combine.c (simplify_shift_const): Always generate new rtx
4270 for shift expression instead of reusing given expression.
6c2d03d0 4271
d3e98208
RK
4272Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4273
4274 * config/alpha/alpha.c (alpha_expand_mov): Don't call
4275 alpha_legitimize_address unless mode is Pmode.
4276
9f339dde
GK
42772002-01-13 Geoffrey Keating <geoffk@redhat.com>
4278
4279 * doc/md.texi (Modifiers): Document the '*' constraint for the
4280 user.
4281
4282 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
4283 * doc/extend.texi (Function Attributes): 'interrupt' is valid
4284 for xstormy16 too.
4285
02a10130
RH
42862002-01-13 Richard Henderson <rth@redhat.com>
4287
4288 * reload.c (find_reloads): Use a hard reg destination as reload reg
4289 for an input reload of the source.
4290
61d47787
GP
42912002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4292
4293 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
4294 more generic.
4295
f0df8029
DR
4296Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
4297
4298 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4299 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4300
d2a37256
DR
4301 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
4302
a9e8a5ee
RK
4303Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4304
4305 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
4306
bc06712d
TR
43072002-01-12 Tom Rix <trix@redhat.com>
4308
8559c8c0 4309 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
4310 TARGET_POWERPC64.
4311
7cbe9bb7
RH
43122002-01-12 Richard Henderson <rth@redhat.com>
4313
38b29e64
RH
4314 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
4315
58605ba0
RH
4316 * doc/invoke.texi: Update Alpha options.
4317
7cbe9bb7
RH
4318 * doc/invoke.texi: Update i386 built-in function lists.
4319
9d560860
JH
4320Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
4321
4322 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
4323 referencing outside.
4324
bb93b973
RK
4325Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4326
4327 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
4328 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
4329 offsets, and change line folding.
4330 * optabs.c (expand_binop): Remove warnings.
4331 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 4332
f9f6b7df
GS
43332002-01-12 Graham Stott <grahams@redhat.com>
4334
4335 * attribs.c (handle_deprecated_attribute): constify WHAT.
4336 * diagnostic.c (warn_deprecated_use): Add braces, fixes
4337 dangling else warning and constify WHAT.
4338 * except.h (struct function, struct inline_remap): Move
4339 struct tag forward defs before all prototypes.
4340 (duplicate_eh_regions): Whitespace.
4341
4a692617
NC
43422002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
4343
4344 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
4345 MODE_BASE_REG_CLASS.
4346 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
4347
e37af218
RH
43482002-01-12 Richard Henderson <rth@redhat.com>
4349
4350 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
4351 (ix86_expand_vector_move): New.
4352 (bdesc_2arg): Remove andps, andnps, orps, xorps.
4353 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
4354 Remove old prefetch builtins. Special case the logicals removed above.
4355 (ix86_expand_builtin): Likewise.
4356 (safe_vector_operand): Use V4SFmode, not TImode.
4357 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
4358 (ix86_expand_timode_binop_builtin): New.
4359 * config/i386/i386-protos.h: Update.
4360 * config/i386/i386.h (enum ix86_builtins): Update.
4361 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
4362 Use ix86_expand_vector_move in vector move expanders.
4363 (movti_internal, movti_rex64): Add xorps alternative.
4364 (sse_clrv4sf): Rename and adjust from sse_clrti.
4365 (prefetch): Don't work so hard.
4366 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
4367 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
4368 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
4369
6f1a6c5b
RH
43702002-01-11 Richard Henderson <rth@redhat.com>
4371
4372 * config/i386/mmintrin.h: New file.
4373 * config/i386/xmmintrin.h: New file.
4374 * config.gcc (i?86-*-*): Add extra_headers.
4375 * simplify-rtx.c (simplify_unary_operation): Handle saturating
4376 truncation codes.
4377 (simplify_binary_operation): Handle saturating arithmetic codes.
4378 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
4379 not the lowpart subreg.
4380 (ix86_expand_builtin): Return a TImode dummy register instead of 0
4381 on error.
4382 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
4383
cdb574d3
MH
43842002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4385
4386 * conflict.c (conflict_graph_compute): Free regsets when finished.
4387 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 4388
cf11ac55
HB
43892002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4390
4391 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
4392 every where we allocate a register.
4393
76ac938b
MH
43942002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4395
4396 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
4397 * lcm.c (compute_earliest, compute_farthest): Likewise.
4398
a84b4898
JJ
43992002-01-11 Janis Johnson <janis187@us.ibm.com>
4400
4401 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
4402
aaef1c12
JJ
44032002-01-11 Janis Johnson <janis187@us.ibm.com>
4404
4405 * doc/rtl.texi (Insns): Fix 2 typos.
4406
5d22c1a5
JM
44072002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4408
4409 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
4410 options. Use @table @gcctabopt for MMIX options. Add index
4411 entries for MMIX options. Start new paragraph with first
4412 heading of the machine-dependent options.
4413
3e92902c
CR
44142002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
4415
4416 PR other/5299
4417 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
4418 * combine.c (force_to_mode): Same.
4419 * reload1.c (clear_reload_reg_in_use): Same.
4420
96ae8197
NC
44212002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
4422
4423 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
4424 and 'subtargets'.
4425
9b780582
AJ
44262002-01-11 Andreas Jaeger <aj@suse.de>,
4427 Brad Lucier <lucier@math.purdue.edu>
4428
4429 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
4430 mcpu.
4431
12300dad
DR
4432Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
4433
4434 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
4435 Protect with IN_LIBGCC.
4436 (LINK_EH_SPEC): Add required trailing space.
4437
27511a9a
NP
4438Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
4439
9b780582 4440 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
4441 under the filename which contains them.
4442 (check_identifier, finish_decl_top_level,
4443 lookup_name_current_level_global, shadow_record_fields): Remove.
4444
4daeab16
AJ
44452002-01-11 Andreas Jaeger <aj@suse.de>
4446
4447 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
4448 march.
4449
40571d67
RH
44502002-01-10 Richard Henderson <rth@redhat.com>
4451
4452 * config/alpha/alpha.c (print_operand): Add 'J'.
4453 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
4454 new operand with the sequence number for the lituse. When splitting
4455 the insns, use gen_movdi_er_high_g and generate a sequence number.
4456 (gen_movdi_er_high_g): Print the sequence number if non-zero.
4457
6525c0e7
AH
44582002-01-10 Aldy Hernandez <aldyh@redhat.com>
4459
d8086cbb
RS
4460 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
4461 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
4462 stvxl.
4463 (altivec_expand_builtin): Same.
4464 (altivec_expand_stv_builtin): New.
4465
4466 * config/rs6000/rs6000.h (rs6000_builtins): Same.
4467
4468 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
4469 ("altivec_lvehx"): New.
4470 ("altivec_lvewx"): New.
4471 ("altivec_lvxl"): New.
4472 ("altivec_lvx"): New.
4473 ("altivec_stvx"): New.
4474 ("altivec_stvebx"): New.
4475 ("altivec_stvehx"): New.
4476 ("altivec_stvewx"): New.
4477 ("altivec_stvxl"): New.
6525c0e7 4478
cda94cbb
RH
44792002-01-10 Richard Henderson <rth@redhat.com>
4480
4481 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
4482 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
4483 care not to delete instructions twice.
4484
df2c9a44
ZW
44852002-01-10 Zack Weinberg <zack@codesourcery.com>
4486
4487 * toplev.c: Don't declare environ (it's not used anywhere).
4488 * configure.in: Don't check for declaration of environ.
4489 * config/i386/xm-mingw32.h: Don't #define environ.
4490 * config.in, configure: Regenerate.
4491
5dd8a9b1
ZW
44922002-01-10 Zack Weinberg <zack@codesourcery.com>
4493
4494 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
4495 * configure: Regenerate.
4496
4497 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
4498 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
4499 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
4500 alpha/xm-vms.h.
4501 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
4502 LIMITS_H_TEST here, not in m68k/x-next.
4503 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
4504 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
4505
4506 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
4507 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
4508 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
4509
4510 * config/i386/x-djgpp: Renamed i386/t-djgpp.
4511 * config/m88k/x-dolph: Renamed m88k/t-dolph.
4512 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
4513 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
4514 replacement of quadlib.asm with quadlib.c.
4515
4516 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
4517 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
4518 config/rs6000/xm-beos.h: Delete file.
4519
4520 * config.gcc: Update to match above changes.
4521
d10dd44c
KH
45222002-01-10 Kazu Hirata <kazu@hxi.com>
4523
4524 * config/h8300/h8300.h: Fix comment typos.
4525 * config/h8300/h8300.md: Likewise.
4526 * config/h8300/lib1funcs.asm: Likewise.
4527
04894c5a
DJ
45282002-01-10 Dale Johannesen <dalej@apple.com>
4529
4530 PR optimization/5269
4531 * unroll.c (precondition_loop_p): Make *increment be the correct
4532 sign when n_iterations known, to avoid confusing caller.
4533
adc9fe67
KH
45342002-01-10 Kazu Hirata <kazu@hxi.com>
4535
4536 * doc/extend.texi (deprecated): Fix a typo.
4537
b446e5a2
JH
4538Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
4539
4540 * basic-block.h (update_br_prob_note): Declare.
4541 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
4542 (try_forward_edges): Care negative frequencies and update note.
4543 (outgoing_edges_match): Tweek conditional merging heuristics.
4544 (try_crossjump_to_edge): use update_br_prob_note.
4545 * cfglayout.c (fixup_reorder_chain): Likewise.
4546 * cfrtl.c (update_br_prob_note): New.
4547 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
4548
4549 * i386.c (ix86_decompose_address): Return -1 if address contains
4550 shift.
4551 (legitimate_address_p): Require ix86_decompose_address to return 1.
4552
4553 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
4554 (cprop_insn): Likewise.
4555
a01da83b
KH
45562002-01-10 Kazu Hirata <kazu@hxi.com>
4557
4558 * toplev.c: Fix formatting.
4559 * tree.c: Likewise.
4560 * tree-dump.c: Likewise.
4561 * unroll.c: Likewise.
4562 * unwind-dw2.c: Likewise.
4563 * unwind-dw2-fde.c: Likewise.
4564 * unwind-dw2-fde-glibc.c: Likewise.
4565 * unwind-sjlj.c: Likewise.
4566
9f85bca7
JM
45672002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4568
4569 * doc/invoke.texi: Document PDP-11 options.
4570
f48f56b1
KH
45712002-01-10 Kazu Hirata <kazu@hxi.com>
4572
4573 * config/h8300/h8300.h: Fix formatting.
4574
ead39bdf 45752002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
4576
4577 Add __attribute__ ((deprecated)).
4578 * extend.texi: Document __attribute__ ((deprecated)).
4579 * invoke.texi: Document -Wno-deprecated-declarations.
4580 * testsuite/g++.dg/other/deprecated.C: New C++ test.
4581 * testsuite/gcc.dg/deprecated.c: New C test.
4582 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
4583 (c_common_attribute_table): Add "deprecated" entry.
4584 (handle_deprecated_attribute): New function.
4585 * c-decl.c (deprecated_states): New enum.
4586 deprecated_state: State of "deprecated" handling.
4587 (start_decl): Set deprecated_state based on attributes.
4588 (grokdeclarator): Test for deprecated uses, propagate attribute.
4589 * c-typeck.c (build_component_ref): Test for deprecated fields.
4590 (build_external_ref): Test for deprecated primaries.
4591 * diagnostic.c (warn_deprecated_use) New function to issue
4592 warnings about __attribute__ ((depricated)) references.
4593 * flags.h (warn_deprecated_decl): Extern declared for
4594 -W[no-]deprecated-declarations option.
4595 * print-tree.c (print_node): Show deprecated flag status.
4596 * toplev.c (warn_deprecated_decl): Defined.
4597 (W_options): Added "deprecated-declaration".
4598 * toplev.h (warn_deprecated_use): Extern declared.
4599 * tree.h (struct tree_common): Define deprecated_flag.
4600 (TREE_DEPRECATED): New macro to access flag.
4601 * cp/call.c (build_call): Test for deprecated calls.
4602 * cp/class.c (add_implicitly_declared_members): Set global
4603 flag to tell grokdeclarator to not issue deprecated warnings.
4604 * cp/cp-tree.h: Add extern for adding_implicit_members.
4605 * cp/decl.c (deprecated_states): New enum.
4606 (start_decl): Set deprecated_state based on attributes.
4607 (grokdeclarator): Test for deprecated uses, propagate attribute.
4608 * cp/lex.c (do_identifier): Test for deprecated primaries.
4609 * cp/typeck.c (build_component_ref): Test for deprecated fields.
4610
ead39bdf 46112002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
4612
4613 Fix to assign attributes to inline member functions.
4614 * cp/decl.c (start_method): Handle attrlist.
4615
47073a38
KH
46162002-01-10 Kazu Hirata <kazu@hxi.com>
4617
4618 * combine.c (expand_field_assignment): Use subreg_lsb().
4619
d288e53d
DE
46202002-01-10 David Edelsohn <edelsohn@gnu.org>
4621
4622 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
4623 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
4624 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
4625 Recurse for any operand of AND as long as constant is non-zero.
4626
08a02ffa
KH
46272002-01-10 Kazu Hirata <kazu@hxi.com>
4628
4629 * config/h8300/h8300.md: Remove constraints from expanders.
4630
c203e7fe
KH
46312002-01-10 Kazu Hirata <kazu@hxi.com>
4632
4633 * varasm.c: Fix formatting.
4634 * varray.c: Likewise.
4635 * vmsdbgout.c: Likewise.
4636 * xcoffout.c: Likewise.
4637
bcb3bc6d
JH
4638Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
4639
4640 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 4641 update edge probabilities to match.
bcb3bc6d 4642
0a553c7e
JM
46432002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4644
4645 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
4646 dependencies.
4647 * doc/languages.texi, doc/sourcebuild.texi: New files.
4648 * doc/configfiles.texi: Make a subsubsection. Update.
4649 * doc/configterms.texi: Add @node. Remove warning that this isn't
4650 instructions for building GCC.
4651 * doc/makefile.texi: Make a subsection.
4652 * doc/gccint.texi: Update.
4653
adc7fcb8
JH
4654Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
4655
4656 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
4657
5a4dd0b3
NP
4658Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
4659
4660 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
4661
3987b9db
JH
4662Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
4663
4664 * optabs.c (expand_fix): Look for wider integer modes first.
4665
4666 * i386.md (mov?f): Avoid the fake const double trick for medium
4667 memory model.
4668 (min?f*/max?f*): Prohibit memory operands for i387 variant.
4669 (fop_df_4): Disable for SSE compilation.
4670
ceb15948 46712002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
4672
4673 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 4674 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 4675
e1623399
RH
46762002-01-10 Richard Henderson <rth@redhat.com>
4677
4678 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
4679
c4abb293
RH
46802002-01-10 Richard Henderson <rth@redhat.com>
4681
4682 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
4683 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
4684
d2604ae9
KH
46852002-01-10 Kazu Hirata <kazu@hxi.com>
4686
4687 * combine.c (can_combine_p): Fix a comment typo.
4688
766c7ad1
ZW
46892002-01-09 Zack Weinberg <zack@codesourcery.com>
4690
4691 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
4692 empty list correctly. Change loop index $t to $f for
4693 consistency with rest of Makefile.
4694
95385cbb
AH
46952002-01-08 Aldy Hernandez <aldyh@redhat.com>
4696
4697 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
4698 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4699
4700 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
4701 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
4702 (altivec_init_builtins): Same.
4703 (altivec_expand_unop_builtin): Return NULL_RTX on error.
4704 (altivec_expand_binop_builtin): Same.
4705 (altivec_expand_ternop_builtin): Same.
4706 (bdesc_dst): New.
4707
4708 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
4709 ("altivec_vctuxs"): Fix typo.
4710 ("altivec_vnmsubfp"): Same.
4711 ("altivec_dssall"): New.
4712 ("altivec_mfvscr"): New.
4713 ("altivec_dss"): New.
4714 ("altivec_lvsl"): New.
4715 ("altivec_lvsr"): New.
4716 ("altivec_dstt"): New.
4717 ("altivec_dstst"): New.
4718 ("altivec_dststt"): New.
4719 ("altivec_dst"): New.
4720
4721 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
4722 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
4723
e4ac76b4
RH
47242002-01-09 Richard Henderson <rth@redhat.com>
4725
4726 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
4727
c893e4a4
HPN
47282002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
4729
4730 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
4731 function.
4732 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
4733 prototype.
7387c700 4734 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 4735
f4f4d0f8
KH
47362002-01-09 Kazu Hirata <kazu@hxi.com>
4737
4738 * read-rtl.c: Fix formatting.
4739 * real.c: Likewise.
4740 * regclass.c: Likewise.
4741 * regrename.c: Likewise.
4742 * reg-stack.c: Likewise.
4743 * reload1.c: Likewise.
4744 * reload.c: Likewise.
4745 * rtl.c: Likewise.
4746
cc863bea
KH
47472002-01-09 Kazu Hirata <kazu@hxi.com>
4748
4749 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
4750 to extract items in the expr_list chain.
4751
7b4dfe3d
RH
47522002-01-09 Richard Henderson <rth@redhat.com>
4753
4754 * config/vax/vax.c (vax_rtx_cost): Never abort.
4755
1d969638
RH
4756 * config/vax/vax.h (REAL_ARITHMETIC): Define.
4757
7d5ab30e
JH
47582002-01-09 Jan Hubicka <jh@suse.cz>
4759
4760 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
4761
9503f3d1
RH
47622002-01-09 Richard Henderson <rth@redhat.com>
4763
4764 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
4765 Unify code from various alternatives.
4766
42bd17b7
RH
47672002-01-09 Richard Henderson <rth@redhat.com>
4768
4769 * regrename.c (copy_value): Ignore the copy if the source register
4770 is present in the value chain with a narrower mode.
4771
bdca3c33
HB
47722002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4773
cda94cbb
RH
4774 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
4775 for the c4x target. Also improve layout.
bdca3c33 4776
c73a5e94
RH
47772002-01-09 Richard Henderson <rth@redhat.com>
4778
4779 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
4780 * config/m32r/m32r.md (and ior xor splitters): Swap operands
4781 to match insn patterns.
4782
dd0a18c0
RH
47832002-01-09 Richard Henderson <rth@redhat.com>
4784
4785 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
4786 (copyprop_hardreg_forward_1): Likewise.
4787
1fd9ac1e
JDA
47882002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
4789
4790 * pa.md (decrement_and_branch_until_zero): Change predicate for
4791 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
4792
5cb265ec
BM
47932002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
4794
4795 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
4796 gets undefined. For Darwin.
4797
fcd8fa8b
HB
47982002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4799
4800 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
4801
bd3ab23a
MH
48022002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4803
4804 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
4805
21e16bd6
RH
48062002-01-08 Richard Henderson <rth@redhat.com>
4807
4808 * regrename.c (copy_value): Ignore overlapping copies.
4809
a5376276
RH
48102002-01-08 Richard Henderson <rth@redhat.com>
4811
4812 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
4813 as needed to avoid shared structure.
4814
18cf8dda
KH
48152002-01-08 Kazu Hirata <kazu@hxi.com>
4816
4817 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
4818 H8/300H and H8/S.
4819
16c484c7
JM
48202002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4821
4822 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
4823 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
4824 documentation of obsolete macros.
4825 * system.h: Poison these macros.
4826 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
4827 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
4828 config/c4x/c4x.h, config/clipper/clipper.h,
4829 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
4830 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
4831 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
4832 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
4833 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
4834 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
4835 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4836 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
4837 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
4838 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4839 config/sparc/sparc.h, config/stormy16/stormy16.h,
4840 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
4841 definitions and commented out definitions of obsolete macros.
4842 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
4843 of MAX_INT_TYPE_SIZE.
4844
14b3e8ef
UW
48452002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4846
4847 * config/s390/s390.c (s390_preferred_reload_class): Never
4848 return ADDR_REGS if it isn't a subset of the given class.
4849 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
4850 FP_REGS, but all superclasses as well.
4851
4852 * config/s390/s390.c (s390_function_profiler): Fix thinko.
4853
4854 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
4855 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
4856 must not be a const_int.
4857
a693284d
RH
48582002-01-08 Richard Henderson <rth@redhat.com>
4859
4860 * Makefile.in (toplev.o): Depend on options.h.
4861 (gcc.o): Depend on specs.h.
4862
b3ca30df
JJ
48632002-01-08 Jakub Jelinek <jakub@redhat.com>
4864
4865 * expr.c (store_expr): Convert VOIDmode constants back to target's
4866 mode.
4867
24dbb440
GP
48682002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4869
4870 * doc/invoke.texi: Markup gcc as @command. Refer to
4871 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
4872 of http://gcc.gnu.org/thanks.html.
4873
234e114c
DJ
48742002-01-08 Dale Johannesen <dalej@apple.com>
4875
4876 * config/rs6000/rs6000.md: Add missing int register
4877 target case to movdf_low.
4878
0d24f4d1
ZW
48792002-01-08 Zack Weinberg <zack@codesourcery.com>
4880
4881 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
4882 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
4883 (cppinit.o): Depend on except.h.
4884 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
4885 s-specs): New rules.
4886
4887 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
4888 Don't create specs.h/options.h/gencheck.h here. Remove
4889 unnecessary variable settings from last argument of AC_OUTPUT.
4890 * config.in, configure: Regenerate.
4891 * intl.c: Hardcode package name as "gcc".
4892
4893 * cppinit.c: Include except.h.
4894 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
4895 appropriate.
4896 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
4897 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
4898 (!)USING_SJLJ_EXCEPTIONS.
4899 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
4900
ed722f66
JM
49012002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4902
4903 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
4904 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
4905 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
4906 documentation of obsolete macros.
4907 * system.h: Poison these macros.
4908 * config/d30v/d30v.h, config/ns32k/encore.h,
4909 config/stormy16/stormy16.h: Remove definitions and commented out
4910 definitions of obsolete macros.
4911
31e5e29a
NP
4912Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
4913
4914 * objc/objc-act.c (handle_class_ref): Mark the declaration of
4915 %sobjc_class_ref_%s as used - to prevent unwanted compiler
4916 warnings.
4917
bc1fa59c
UW
49182002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4919
4920 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
4921 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
4922 to insn adjusting stack/frame pointer.
0d24f4d1 4923 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
4924 accept operands that cause the insn to be non-splittable.
4925
a8086abf
GS
49262002-01-08 Graham Stott <grahams@redhat.com>
4927
4928 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
4929 (C_TYPE_FIELDS_VOLATILE): Likewise.
4930 (C_TYPE_BEING_DEFINED): Likewise.
4931 (C_IS_RESERVED_WORD): Likewise.
4932 (C_TYPE_VARIABLE_SIZE): Likewise.
4933 (C_DECL_VARIABLE_SIZE): Likewise.
4934 (C_MISSING_PROTOTYPE_WARNED): Likewise.
4935 (C_SET_EXP_ORIGINAL_CODE): Likewise.
4936 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
4937 parenthesis.
4938 (C_DECL_ANTICIPATED): Likewise.
4939 (c_build_type_variant): Add parenthesis.
4940
3f595aa1
JM
49412002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
4942
4943 * gcc.c (option_map): Remove --version.
4944 (process_command): Handle -fversion following the GNU Coding
4945 Standards. Partially addresses PR other/704.
4946
5bc5a8f9
GS
49472002-01-08 Graham Stott <grahams@redhat.com>
4948
4949 * combine.c (combine_instructions): Fix typo.
4950
16ec4ebf
GS
49512002-01-08 Graham Stott <grahams@redhat.com>
4952
4953 * debug.h: Use "tree" and "rtx" throughout.
4954
4955 * debug.c: Likewise.
4956
4b69f385
NC
49572002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
4958
4959 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
4960 constant pool, use the pool's version of the symbol instead.
4961
57d1019b
RH
49622002-01-07 Richard Henderson <rth@redhat.com>
4963
4964 * regrename.c (find_oldest_value_reg): Ignore the value chain if
4965 the original register was copied in a mode with a fewer number of
4966 hard registers than the desired mode.
4967 (copyprop_hardreg_forward_1): Likewise.
4968 (debug_value_data): Fix loop test.
4969 * toplev.c (parse_options_and_default_flags): Reenable
4970 -fcprop-registers at -O1.
4971
49722002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 4973
0d24f4d1
ZW
4974 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
4975 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 4976
0d24f4d1
ZW
4977 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
4978 predicates.
fa066a23 4979
0d24f4d1 4980 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 4981
8f949e7e
JDA
49822002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
4983
4984 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
4985 (pa_output_function_prologue): Output local label at the beginning of
4986 the prologue when profiling.
4987 (hppa_profile_hook): Use the local label rather than the function label.
4988 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
4989
c62f2db5
AH
49902002-01-07 Aldy Hernandez <aldyh@redhat.com>
4991
0d24f4d1
ZW
4992 * config/rs6000/rs6000.c (print_operand): Remove extra space.
4993 (altivec_expand_unop_builtin): Fix thinko.
4994 (altivec_expand_binop_builtin): Same.
4995 (altivec_expand_ternop_builtin): Same.
4996 (altivec_expand_builtin): Same.
c62f2db5 4997
b5235ba7
RH
49982002-01-07 Richard Henderson <rth@redhat.com>
4999
5000 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
5001
7d8ac293
JM
50022002-01-07 Jason Merrill <jason@redhat.com>
5003
5004 * unwind-dw2.c (execute_cfa_program): Use < again.
5005
571a03b8
JJ
50062002-01-07 Jakub Jelinek <jakub@redhat.com>
5007
5008 * predict.c (combine_predictions_for_insn): Avoid division by zero.
5009
2e951384
JJ
50102002-01-07 Jakub Jelinek <jakub@redhat.com>
5011
5012 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
5013 Don't allow -1 - x -> ~x simplifications in the first pass.
5014
20e26713
AH
50152002-01-07 Aldy Hernandez <aldyh@redhat.com>
5016
0d24f4d1
ZW
5017 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
5018 arguments.
5019 (altivec_expand_binop_builtin): Same.
5020 (altivec_expand_unop_builtin): Same.
5021 (print_operand): Fix typo.
5022 (bdesc_1arg): Add vupk* variants.
20e26713 5023
0d24f4d1 5024 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 5025
0d24f4d1 5026 * rs6000.md: Add altivec_vupk* variants.
20e26713 5027
4dd57c18
JM
50282002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
5029
5030 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
5031 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
5032 and last update dates.
5033
0341c5d2
JJ
50342002-01-07 Janis Johnson <janis187@us.ibm.com>
5035
5036 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
5037
c7f3e0b0
MM
50382002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
5039
5040 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
5041 * config/avr/avr.h (CPP_SPEC): Likewise.
5042 (LINK_SPEC): Likewise.
5043 (CRT_BINUTILS_SPECS): Likewise.
5044 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
5045 * doc/invoke.texi (AVR Options): Document them.
5046
6ba4d630
JH
5047Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
5048
5049 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
5050 LABEL_NUSES.
5051
6253d571
GS
50522002-01-07 Graham Stott <grahams@redhat.com>
5053
0d24f4d1
ZW
5054 * config/i386/i386.h: Update copyright date.
5055 (HALF_PIC_PTR): Add parenthesis.
5056 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
5057 (CONSTANT_ALIGNMENT): Add parenthesis.
5058 (DATA_ALIGNMENT): Likewise.
5059 (LOCAL_ALIGNMENT): Likewise.
5060 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
5061 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
5062 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
5063 (HARD_REGNO_NREGS): Add paranethesis.
5064 (VALID_SSE_REG_MODE): Whitespace.
5065 (VALID_MMX_REG_MODE): Whitespace.
5066 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
5067 (ix86_hard_regno_mode_ok): Add parenthesis.
5068 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
5069 (RETURN_IN_MEMORY): Whitespace.
5070 (N_REG_CLASSES): Add parenthesis.
5071 (INTEGER_CLASS_P): Add parenthesis and wrap.
5072 (FLOAT_CLASS_P): Likewise.
5073 (SSE_CLASS_P): Likewise.
5074 (MMX_CLASS_P): Likewise.
5075 (MAYBE_INTEGER_CLASS_P): Likewise.
5076 (MAYBE_FLOAT_CLASS_P): Likewise.
5077 (MAYBE_SSE_CLASS_P): Likewise.
5078 (MAYBE_MMX_CLASS_P): Likewise.
5079 (Q_CLASS_P): Likewise.
5080 (GENERAL_REGNO_P): Uppercase macro parameter.
5081 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
5082 (FP_REGNO_P): Likewise.
5083 (ANY_FP_REGNO_P): Uppercase macro parameter.
5084 (SSE_REGNO_P): Likewise.
5085 (SSE_REGNO): Likewise.
5086 (SSE_REG_P): Likewise.
5087 (SSE_FLOAT_MODE_P): Likewise.
5088 (MMX_REGNO_P): Likewise.
5089 (MMX_REG_P):Likewise.
5090 (STACK_REG_P): Likewise.
5091 (NON_STACK_REG_P): Likewise.
5092 (STACK_TOP_P): Likewise.
5093 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
5094 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
5095 (SECONDARY_MEMORY_NEEDED): Likewise.
5096 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
5097 (MD_ASM_CLOBBERS): Whitespace and wrap.
5098 (MUST_PASS_IN_STACK): Whitespace and wrap.
5099 (RETURN_POPS_ARGS): Add parenthesis.
5100 (INIT_CUMULATIVE_ARGS): Likewise.
5101 (FUNCTION_ARG): Likewise.
5102 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
5103 (SETUP_INCOMING_VARARGS): Likewise.
5104 (BUILD_VA_LIST_TYPE): Add parenthesis.
5105 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
5106 parenthsis.
5107 (EXPAND_BUILTIN_VA_ARG): Likewise.
5108 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
5109 (INITIALIZE_TRAMPOLINE): Add parenthesis.
5110 (INITIAL_ELIMINATION_OFFSET): Likewise.
5111 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
5112 (REGNO_OK_FOR_BASE_P): Likewise.
5113 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
5114 (REGNO_OK_FOR_DIREG_P): Likewise.
5115 (REG_OK_FOR_INDEX_P): Whitespace.
5116 (REG_OK_FOR_BASE_P): Whitespace.
5117 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
5118 parenthesis.
5119 (FIND_BASE_TERM): Fix typo.
5120 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
5121 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
5122 (SYMBOLIC_CONST; Whitespace.
5123 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
5124 (ENCODE_SECTION_INFO): Whitespace.
5125 (FINALIZE_PIC): Remove do { ... } while (0).
5126 (PROMOTE_MODE): Wrap in do { ... } while (0).
5127 (CONST_COSTS): Whitespace.
5128 (RTX_COSTS): Add paramethesis, whitespace and wrap.
5129 (REGISTER_MOVE_COST): Add parenthesis.
5130 (MEMORY_MOVE_COST): Likewise.
5131 (EXTRA_CC_MODES): Whitespace.
5132 (SELECT_CC_MODE): Add parenthesis and whitespace.
5133 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
5134 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
5135 (ASM_OUTPUT_LABEL): Add paramethesis.
5136 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
5137 (ASM_OUTPUT_REG_POP): Likewise.
5138 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
5139 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 5140
07933f72
GS
5141 * config/i386/i386.c: Update copyright.
5142 (CHECK_STACK_LIMIT): Add parenthesis.
5143 (AT_BP): Uppercase macro parameter.
5144 (x86_64_int_parameter_registers): Constify.
5145 (x86_64_int_return_registers): Likewise.
5146 (ix86_compare_op0): Use rtx.
5147 (construct_container): Constify INTREG parameter.
5148 (function_arg): Use rtx.
5149
0b4d32c9
GS
5150 * diagnostic.h: Update copyright date.
5151 (output_buffer_state): Add parenthesis.
5152 (output_buffer_format_args): Likewise.
5153
6253d571
GS
5154 * combine.c (combine_instructions): Replace XEXP (links, 0)
5155 with link.
5156
68f3f6f1
L
51572002-01-06 H.J. Lu <hjl@gnu.org>
5158
5159 * cfgcleanup.c (thread_jump): Fix 2 typos.
5160
51612002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 5162
0d24f4d1 5163 * config.gcc: Add support for --enable-altivec.
480f7f3a 5164
13b8c631
CR
51652002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
5166
5167 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
5168
58ad89b1
JJ
51692002-01-06 Jakub Jelinek <jakub@redhat.com>
5170
5171 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
5172 __objc_class_name_*.
5173
e403b4bc
CR
51742002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
5175
5176 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
5177
e41c7831
RH
51782002-01-06 Richard Henderson <rth@redhat.com>
5179
5180 * reorg.c (emit_delay_sequence): Remove death notes, not merely
5181 nop them out. Increment label reference count for REG_LABEL.
5182 (fill_slots_from_thread): Frob label reference count around
5183 delete_related_insns.
5184
3b3b1e32
RH
51852002-01-05 Richard Henderson <rth@redhat.com>
5186
5187 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
5188 jump threading.
5189
c28abdf0
RH
51902002-01-05 Richard Henderson <rth@redhat.com>
5191
5192 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
5193 * integrate.c (output_inline_function): Likewise.
5194 * toplev.c (rest_of_compilation): Do it here instead. Move call
5195 to remove_unnecessary_notes after emitting abstract instance.
5196 Force an emitted nested function to have its parent emited as well.
5197 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
5198 for null.
5199 (rtl_for_decl_location): Do not look at reload data structures
5200 before reload has run.
5201
c4f2c499
KH
52022002-01-05 Kazu Hirata <kazu@hxi.com>
5203
5204 * cse.c: Fix formatting.
5205 * dwarf2asm.c: Likewise.
5206 * dwarf2out.c: Likewise.
5207 * explow.c: Likewise.
5208 * expmed.c: Likewise.
5209 * function.c: Likewise.
5210 * gcov.c: Likewise.
5211 * gencheck.c: Likewise.
5212 * genrecog.c: Likewise.
5213 * ggc-common.c: Likewise.
5214 * ggc-page.c: Likewise.
5215 * global.c: Likewise.
5216
cf0d9408
KH
52172002-01-05 Kazu Hirata <kazu@hxi.com>
5218
5219 * combine.c: Fix formatting.
5220
bedca03a
CR
52212002-01-05 Craig Rodrigues <crodrigu@bbn.com>
5222
5223 PR middle-end/1557
5224 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
5225
0134bf2d
DE
52262002-01-05 David Edelsohn <edelsohn@gnu.org>
5227
5228 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
5229 as 1 for __powerpc64__ as well.
5230
5231 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
5232
5233 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
5234 return it.
5235
9ca88d5a
DB
52362002-01-05 Daniel Berlin <dan@dberlin.org>
5237
5238 * lcm.c: Revert change, due to performance regression it causes on
5239 SPEC because it's slightly more conservative (sigh, I hate
5240 edge-based LCM).
0d24f4d1 5241
1c570418
JH
5242Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
5243
5244 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
5245
d83bb9f7
NB
52462002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
5247
5248 * doc/cppinternals.texi: Update.
5249
3e0f61ac
HPN
52502002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
5251
5252 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
5253 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
5254 negatives.
5255 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
5256 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
5257 kludge for pre-october-14th mmix versions to handle new-found bug
5258 with PUSHJ/PUSHGO and the register stack.
5259 * config/mmix/mmix.h (struct machine_function): Rename member
5260 has_call_value_without_parameters to has_call_without_parameters.
5261 All referers changed.
5262 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
5263 TARGET_MASK_BRANCH_PREDICT): New macros.
5264 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
5265 -mno-reg-stack-fill-bug-workaround.
5266 * config/mmix/mmix.md ("call"): Set struct machine member
5267 has_call_without_parameters.
5268
4deaa2f8
JH
5269Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
5270
5271 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
5272
9f16e871
JH
5273Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
5274
5275 * cfgcleanup.c: Include tm_p.h
5276 (mark_effect): Fix handling of hard register; fix handling of SET
5277
96eb1157
KH
52782002-01-04 Kazu Hirata <kazu@hxi.com>
5279
5280 * config/h8300/h8300.md (anonymous patterns): Check that
5281 operands are registers before using REGNO on them.
5282
48180d68
RM
52832002-01-03 Roland McGrath <roland@frob.com>
5284
5285 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
5286
b0832fe1
JJ
52872002-01-04 Jakub Jelinek <jakub@redhat.com>
5288
5289 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
5290 * c-common.h (genrtl_expr_stmt_value): Likewise.
5291 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
5292 (expand_expr_stmt_value): Add maybe_last argument.
5293 Don't warn about statement with no effect if it is the last statement
5294 in expression statement.
5295 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
5296 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
5297 expand_expr_stmt_value.
5298 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
5299 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
5300 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
5301 as maybe_last to expand_expr_stmt_value.
5302
c1e14513
JL
5303Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
5304
0d24f4d1
ZW
5305 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
5306 be passed in, do not build it.
5307 (c_begin_if_stmt): New function.
5308 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5309 * c-common.h (c_expand_start_cond): Update prototype.
5310 (c_begin_if_stmt): Prototype new function.
5311 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5312 * c-parse.in (if_prefix): Use c_begin_if_stmt,
5313 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 5314
b6ec437a
WC
53152002-01-04 William Cohen <wcohen@redhat.com>
5316
5317 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
5318 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5319 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5320 * config/pa/som.h (ASM_FILE_START): Likewise.
5321
ead39bdf 53222002-01-04 Daniel Berlin <dan@cgsoftware.com>
517b711f
DB
5323
5324 * lcm.c: Include df.h.
5325 Add available_transfer_function prototype.
5326 (compute_available): Rework to use iterative dataflow framework.
5327 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
5328 with bb_info in df.h
5329 (available_transfer_function): New function.
5330
5331 * Makefile.in (lcm.o): add df.h to dependencies.
5332
551cc6fd
RH
53332002-01-04 Richard Henderson <rth@redhat.com>
5334
5335 * config/alpha/alpha.c (some_operand): Accept HIGH.
5336 (input_operand): Likewise; accept simple references to globals.
5337 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
5338 (alpha_const_double_ok_for_letter_p): Likewise.
5339 (alpha_extra_constraint): Likewise.
5340 (alpha_preferred_reload_class): Likewise. Do not force
5341 symbolic constants to memory.
5342 (alpha_legitimate_address_p): Accept simple references
5343 to small_symbolic_operand.
5344 (alpha_legitimize_address): New arg scratch. Be prepared to be
5345 called when no_new_pseudos. Emit simple symbolic references.
5346 Split integers into low, high, and rest.
5347 (alpha_expand_mov): Use alpha_legitimize_address.
5348 (some_small_symbolic_mem_operand): New.
5349 (split_small_symbolic_mem_operand): New.
5350 * config/alpha/alpha-protos.h: Update.
5351 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
5352 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
5353 (EXTRA_CONSTRAINT): Likewise.
5354 (PREFERRED_RELOAD_CLASS): Likewise.
5355 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
5356 (PREDICATE_CODES): Update.
5357 * config/alpha/alpha.md: New post-reload splitters to convert
5358 simplfied symbolic operands to the form that references $29.
5359 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
5360 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
5361
1eaea054
RH
53622002-01-03 Richard Henderson <rth@redhat.com>
5363
5364 * local-alloc.c (function_invariant_p): Update commentary.
5365
c4cc12b7
L
53662002-01-04 H.J. Lu <hjl@gnu.org>
5367
5368 * toplev.c (rest_of_compilation): Fix a typo when calling
5369 cleanup_cfg.
5370
173bf5be
KH
53712002-01-03 Kazu Hirata <kazu@hxi.com>
5372
5373 * c-common.c: Fix formatting.
5374 * diagnostic.c: Likewise.
5375 * doloop.c: Likewise.
5376 * dwarf2out.c: Likewise.
5377
187462ac
KH
53782002-01-03 Kazu Hirata <kazu@hxi.com>
5379
5380 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
5381 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
5382
5d8ebbd8
NB
53832002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
5384
5385 * cpperror.c: Update comments and copyright.
5386 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
5387 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
5388
518c1311
JDA
53892002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
5390
5391 * collect2.c (main): Use strcmp when testing for "-shared".
5392
d15a58c0
NB
53932002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
5394
5395 * cppmacro.c: Don't include intl.h. Update comments.
5396 (new_number_token): Allocate enough buffer for 64-bit unsigned
5397 integers; update prototype.
5398 * cppmain.c: Update comments.
5399
70f4f91c
WC
54002002-01-03 William Cohen <wcohen@redhat.com>
5401
5402 * function.h (struct function): Add profile.
5403 (current_function_profile): New.
5404 doc/extend.texi: Update documentation.
5405 * final.c (final_start_function): Use current_function_profile
5406 instead of profile_flag.
5407 (profile_after_prologue): Likewise.
5408 * function.c (expand_function_start): Likewise.
5409 (expand_function_start): Likewise.
c4cc12b7 5410 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
5411 (alpha_does_function_need_gp): Likewise.
5412 (alpha_expand_prologue): Likewise.
5413 * config/arm/arm.c (arm_expand_prologue): Likewise.
5414 thumb_expand_prologue: Likewise.
5415 * config/d30v/d30v.c (d30v_stack_info): Likewise.
5416 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
5417 (fr30_expand_prologue): Likewise.
5418 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
5419 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
5420 * config/i386/i386.h (FINALIZE_PIC): Likewise.
5421 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
5422 * config/i960/i960.c (i960_output_function_prologue): Likewise.
5423 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
5424 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
5425 (m32r_expand_prologue): Likewise.
5426 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
5427 (m88k_expand_prologue): Likewise.
5428 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
5429 * config/mips/mips.c (compute_frame_size): Likewise.
5430 (mips_expand_prologue): Likewise.
5431 (mips_can_use_return_insn): Likewise.
5432 * config/pa/elf.h (ASM_FILE_START): Likewise.
5433 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5434 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5435 * config/pa/som.h (ASM_FILE_START): Likewise.
5436 * config/romp/romp.c (romp_using_r14): Likewise.
5437 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
5438 (rs6000_stack_info): Likewise.
5439 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 5440 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
5441 * config/v850/v850.c (compute_register_save_size): Likewise.
5442
cb1ac742
JJ
54432002-01-03 Jakub Jelinek <jakub@redhat.com>
5444
5445 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
5446 gen_lowpart_common fails, use gen_lowpart_SUBREG.
5447
61d951df 54482002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 5449
61d951df
TC
5450 * darwin.c (machopic_output_possible_stub_label): Don't generate
5451 stub routines for pseudo-stubs which we've just defined.
5452
505ddab6
KH
54532002-01-03 Kazu Hirata <kazu@hxi.com>
5454
5455 * builtins.c: Fix formatting.
5456 * c-typeck.c: Likewise.
5457 * combine.c: Likewise.
5458 * expr.c: Likewise.
5459 * loop.c: Likewise.
5460
b7e30d8a
AS
54612002-01-03 Andreas Schwab <schwab@suse.de>
5462
5463 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
5464 and return true if _cpp_push_next_buffer pushed a new include
5465 file.
5466 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
5467 _cpp_pop_file_buffer did not push a new file.
5468 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
5469
ff81832f
EC
54702002-01-02 Eric Christopher <echristo@redhat.com>
5471
5472 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
5473 FIND_REG_INC_NOTE call. Update copyright.
5474 * loop.c (canonicalize_condition): Ditto.
5475 * reorg.c (delete_scheduled_jump): Ditto.
5476
8e42ace1
KH
54772002-01-03 Kazu Hirata <kazu@hxi.com>
5478
5479 * gcse.c: Fix formatting.
5480
fb2bf631
GS
54812002-01-03 Graham Stott <grahams@redhat.com>
5482
5483 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
5484 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 5485 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
5486
5487 * system.h: Move forward defs for struct tags rtx_def, union_tree,
5488 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 5489 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
5490
54912002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
5492
5493 * tree.h: Update copyright date.
5494 (IS_EXPR_CODE_CLASS): Add parenthesis.
5495 (TREE_SET_CODE): Add whitespace.
5496 (TREE_CHECK): Add parenthesis.
5497 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
5498 (CST_OR_CONSTRUCTOR_CHECK):
5499 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
5500 (TREE_SYMBOL_REFERENCED): Whitespace.
5501 (INT_CST_LT): Likewise.
5502 (INT_CST_LT_UNSIGNED): Likewise.
5503 (tree_real_cst): Unwrap comment.
5504 (tree_string): Likewise.
5505 (tree_complex): Likewise.
5506 (IDENTIFIER_POINTER): correct cast.
5507 (SAVE_EXPR_CONTEXT): Whitespace.
5508 (EXPR_WFL_FILENAME_NODE): Likewise.
5509 (EXPR_WFL_FILENAME): Remove parenthesis.
5510 (DECL_ORIGIN): Add parenthesis.
5511 (DECL_FROM_INLINE): Use NULL_TREE.
5512 (build_int_2): Whitespace.
5513 (build_type_variant): Add parenthesis.
5514
5515 * gcc/jcf-parse.c: Update copyright date.
5516 (yyparse): Constify resource_filename.
5517
f52eda29
GS
55182002-01-03 Graham Stott <grahams@redhat.com>
5519
5520 * rtl.h: Update copyright date.
5521 (RTL_CHECK1): Wrap long line.
5522 (RTL_CHECK2): Likewise.
5523 (RTL_CHECKC1): Wrap long line and whitespace.
5524 (RTL_CHECKC2): Likewise.
5525 (XWINT): Whitespace.
5526 (XINT): Likewise.
5527 (XSTR): Likewise.
5528 (XEXP): Likewise.
5529 (XVEC): Likewise.
5530 (XMODE): Likewise.
5531 (XBITMAP): Likewise.
5532 (XTREE): Likewise.
5533 (XBBDEF): Likewise.
5534 (XTMPL): Likewise.
5535 (X0WINT): Likewise.
5536 (X0INT):Likewise.
5537 (X0UINT): Likewise.
5538 (X0STR): Likewise.
5539 (X0EXP): Likewise.
5540 (X0VEC): Likewise.
5541 (X0MODE): Likewise.
5542 (X0BITMAP): Likewise.
5543 (X0TREE): Likewise.
5544 (X0BBDEF): Likewise.
5545 (X0ADVFLAGS): Likewise.
5546 (X0CSELIB): Likewise.
5547 (X0MEMATTR): Likewise.
5548 (XCWINT): Likewise.
5549 (XCINT): Likewise.
5550 (XCUINT): Likewise.
5551 (XCSTR): Likewise.
5552 (XCEXP): Likewise.
5553 (XCVEC): Likewise.
5554 (XCMODE): Likewise.
5555 (XCBITMAP): Likewise.
5556 (XCTREE): Likewise.
5557 (XCBBDEF): Likewise.
5558 (XCADVFLAGS): Likewise.
5559 (XCCSELIB): Likewise.
5560 (XC2EXP): Likewise.
5561 (INSN_UID): Likewise.
5562 (PREV_INSN): Likewise.
5563 (PATTERN): Likewise.
5564 (INSN_CODE): Likewise.
5565 (PUT_REG_NOTE_KIND): Likewise.
5566 (CODE_LABEL_NUMBER): Likewise.
5567 (NOTE_SOURCE_FILE): Likewise.
5568 (NOTE_BLOCK): Likewise.
5569 (NOTE_EH_HANDLER): Likewise.
5570 (NOTE_RANGE_INFO): Likewise.
5571 (NOTE_LIVE_INFO): Likewise.
5572 (NOTE_BASIC_BLOCK): Likewise.
5573 (NOTE_EXPECTED_VALUE): Likewise.
5574 (NOTE_LINE_NUMBER): Likewise.
5575 (LABEL_NAME): Likewise.
5576 (LABEL_NUSES): Likewise.
5577 (LABEL_ALTERNATE_NAME): Likewise.
5578 (ADDRESSOF_DECL): Likewise.
5579 (JUMP_LABEL): Likewise.
5580 (LABEL_NEXTREF): Likewise.
5581 (REGNO): Likewise.
5582 (ORIGINAL_REGNO: Likewise.
5583 (HARD_REGISTER_NUM_P): Add parenthesis.
5584 (SUBREG_REG): Whitespace.
5585 (SUBREG_BYTE): Likewise.
5586 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
5587 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
5588 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
5589 (ASM_OPERANDS_INPUT_VEC): Likewise.
5590 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
5591 (ASM_OPERANDS_INPUT): Likewise.
5592 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
5593 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
5594 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
5595 (ASM_OPERANDS_INPUT_MODE): Likewise.
5596 (ASM_OPERANDS_SOURCE_FILE): Likewise.
5597 (ASM_OPERANDS_SOURCE_LINE): Likewise.
5598 (MEM_SET_IN_STRUCT_P): Minor reformat.
5599 (TRAP_CONDITION): Whitespace.
5600 (TRAP_CODE): Likewise.
5601 (COND_EXEC_TEST): Likewise.
5602 (COND_EXEC_CODE): Likewise.
5603 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
5604 (PHI_NODE_P): Add parenthesis.
5605 (plus_constant): Whitespace and add parenthesis.
5606
e03f5d43
KH
56072002-01-03 Kazu Hirata <kazu@hxi.com>
5608
5609 * config/avr/avr.c: Fix comment typos.
5610 * config/c4x/c4x.md: Likewise.
5611 * config/dsp16xx/dsp16xx.h: Likewise.
5612 * config/dsp16xx/dsp16xx.md: Likewise.
5613 * config/i386/i386.md: Likewise.
5614 * config/ia64/ia64.c: Likewise.
5615 * config/m32r/m32r.h: Likewise.
5616 * config/m68hc11/m68hc11.md: Likewise.
5617 * config/mmix/mmix.c: Likewise.
5618 * config/mn10200/mn10200.c: Likewise.
5619 * config/romp/romp.c: Likewise.
5620 * config/sh/sh.c: Likewise.
5621 * config/stormy16/stormy16.c: Likewise.
5622 * config/stormy16/stormy16.h: Likewise.
5623 * config/stormy16/stormy16.md: Likewise.
5624
97e300e9
GS
56252002-01-03 Graham Stott <grahams@redhat.com>
5626
5627 * loop.h: Update copyright date.
0d24f4d1
ZW
5628 (LOOP_MOVABLES): Fix typo.
5629 (LOOP_REGS): Likewise.
5630 (LOOP_IVS): Likewise.
ff81832f 5631
745b26b3
GS
56322002-01-03 Graham Stott <grahams@redhat.com>
5633
5634 * cppinit.c: Update copyright date.
5635 Don't include output.h
5636 * Makefile.in: Update copyright date.
5637 Update dependency.
5638
0a379b7a
CR
56392002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
5640
5641 PR c/5226
5642 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
5643 (-pthread) Add to RS/6000 options.
5644
a8154559
KH
56452002-01-02 Kazu Hirata <kazu@hxi.com>
5646
5647 * except.c: Fix comment typos.
5648 * loop.c: Likewise.
5649 * varasm.c: Likewise.
5650 * doc/tm.texi: Fix a typo.
5651
e6ecc89b
JJ
56522002-01-02 Jakub Jelinek <jakub@redhat.com>
5653
5654 * c-typeck.c (output_init_element): Allow initializing static storage
5655 duration objects with compound literals.
5656
d1094b40
RH
56572002-01-02 Richard Henderson <rth@redhat.com>
5658
5659 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
5660 after abusing it.
5661
0c5d8c82
KG
56622002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5663
5e65297b
KG
5664 * gcc.c (default_compilers): Const-ify.
5665 * mips-tdump.c (stab_names): Likewise.
5666 * mips-tfile.c (map_coff_types, map_coff_storage,
5667 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
5668 pseudo_ops_t, pseudo_ops): Likewise.
5669 * protoize.c (default_include): Likewise
5670
0c5d8c82
KG
5671 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
5672 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
5673 Add array size in declaration.
5674 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
5675 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
5676 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
5677 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
5678 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
5679 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
5680 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
5681 emtens, make_nan): Const-ify.
5682 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
5683 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
5684
817e13c4
JM
56852002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
5686
5687 * config.gcc (ia64-*-*): Set extra_headers.
5688 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
5689 * config/alpha/t-osf: Remove.
5690 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
5691
98095e2b
DE
56922002-01-02 David Edelsohn <edelsohn@gnu.org>
5693
5694 * config/rs6000/t-aix43: Revert previous change.
5695
a4200657
JM
56962002-01-02 Jason Merrill <jason@redhat.com>
5697
5698 * c-decl.c (c_expand_body): Call outlining_inline_function when
5699 emitting an inline function out of line.
5700
54ba1f0d
RH
57012002-01-02 Richard Henderson <rth@redhat.com>
5702
5703 * dwarf2out.c (limbo_die_node): Add created_for member.
5704 (new_die): New argument created_for. Update all callers.
5705 (mark_limbo_die_list): New.
5706 (dwarf2out_init): Register limbo_die_list as a root.
5707 (dwarf2out_finish): Force insert limbo dies into their function
5708 context.
5709
323728aa
NS
57102002-01-02 Nathan Sidwell <nathan@codesourcery.com>
5711
5712 PR c++/5089
5713 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
5714
aefc5826
KH
57152002-01-02 Kazu Hirata <kazu@hxi.com>
5716
5717 * config/h8300/fixunssfsi.c: Update copyright.
5718 Fix comment typos.
5719 Fix formatting.
5720 * config/h8300/h8300.c: Update copyright.
5721 Eliminate warnings.
5722
b1c9bc51
KH
57232002-01-02 Kazu Hirata <kazu@hxi.com>
5724
5725 * config/romp/romp.c: Fix comment formatting.
5726 * config/romp/romp.h: Likewise.
5727 * config/romp/romp.md: Likewise.
5728 * config/s390/s390.c: Likewise.
5729 * config/stormy16/stormy16.c: Likewise.
5730 * config/stormy16/stormy16.h: Likewise.
5731
1574ef13
AO
57322002-01-02 Alexandre Oliva <aoliva@redhat.com>
5733
5734 * c-common.h (genrtl_expr_stmt_value): Declare.
5735 * c-semantics.c (genrtl_goto_stmt): Redirect to...
5736 (genrtl_goto_stmt_value): ... this new function. Pass new
5737 argument down to expand_expr_stmt_value, taking
5738 TREE_ADDRESSABLE into account.
5739 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
5740 STMT_EXPR as addressable, i.e., one whose result we want.
5741 * expr.c (expand_expr): Don't save expression statement value
5742 of labeled_blocks or loop_exprs.
5743 * stmt.c (expand_expr_stmt): Redirect to...
5744 (expand_expr_stmt_value): ... this new function. Use new
5745 argument to tell whether to save expression value.
5746 (expand_end_stmt_expr): Reset last_expr_type and
5747 last_expr_value if we don't have either.
5748 * tree-inline.c (declare_return_variable): Mark its use
5749 statement as addressable.
5750 * tree.h: Document new use of TREE_ADDRESSABLE.
5751 (expand_expr_stmt_value): Declare.
5752
252b88f7
TR
57532002-01-01 Tom Rix <trix@redhat.com>
5754
5755 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
5756 rs6000_emit_allocate_stack.
5757
29f7a208
JM
57582002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
5759
5760 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
5761 ${srcdir}/ginclude/ to every entry in extra_headers.
5762 * configure: Regenerate.
5763 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
5764 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
5765 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
5766 * ginclude/proto.h: Rename to config/convex/proto.h.
5767
2cc2d4bb
RK
5768Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5769
5770 * attribs.c (handle_vector_size_attribute): Use host_integerp
5771 and tree_int_cst; remove warnings.
5772 * caller-save.c (insert_restore): Add cast to get rid of warning.
5773 (insert_save): Likewise.
5774 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
5775 * regmove.c (find_matches): Add temporary var to kill a warning.
5776
f01c9bcd
DR
57772002-01-01 Douglas B Rupp <rupp@gnat.com>
5778
16b61764
DR
5779 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
5780 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
5781 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
5782 (vms-dwarf2eh.o): Add Makefile rule.
5783 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
5784 * config/alpha/vms-dwarf2eh.asm: New file.
5785
f01c9bcd
DR
5786 * gcc.c (delete_if_ordinary): Delete all versions.
5787
91312b81
HPN
57882002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
5789
5790 * config/mmix/mmix.md: Update FIXME to not mention
5791 define_constants.
5792 (MMIX_rJ_REGNUM): New define_constants constant.
5793 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
5794 "*movdicc_real"): Adjust contraints formatting.
5795 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
5796 for branch prediction.
5797 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
5798 output template.
5799 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
5800 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
5801 number. Delete related FIXMEs.
5802 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
5803 from number to MMIX_rJ_REGNUM.
5804 (TARGET_MASK_BRANCH_PREDICT): New.
5805 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
5806 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
5807 value. Add -mbranch-predict and -mno-branch-predict.
5808 (TARGET_VERSION): Drop date.
5809 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
5810 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
5811 for finding out global symbols.
5812 (mmix_asm_output_labelref): Revert condition for global symbol.
5813 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
5814 (mmix_print_operand_punct_valid_p): A '+' is valid.
5815
619acae7 5816See ChangeLog.6 for earlier changes.
This page took 0.852385 seconds and 5 git commands to generate.