]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
flow.c (print_rtl_and_abort): Remove.
[gcc.git] / gcc / ChangeLog
1 2002-01-29 Richard Henderson <rth@redhat.com>
2
3 * flow.c (print_rtl_and_abort): Remove.
4 (print_rtl_and_abort_fcn): Remove.
5 (verify_local_live_at_start): Use dump_bb instead.
6 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
7 (verify_wide_reg_1): Return 2 on mode test failure.
8
9 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
10
11 PR c/3325, c/3326, c/2511, c/3347
12 * c-decl.c (enum_decl_context): Remove BITFIELD.
13 (grokdeclarator): Take bitfield width as an input.
14 Ensure bitfields are given the correct type. Perform
15 bitfield width validation with build_bitfield_integer_type
16 rather than waiting for finish_struct.
17 (grok_typename, grok_typename_in_parm_context, start_decl,
18 push_parmdecl, grokfield, start_function): Update calls to
19 grokdeclarator.
20 (build_bitfield_integer_type): New function.
21 (finish_struct): Move bitfield validation to grokdeclarator
22 and build_bitfield_integer_type.
23 * tree.c (build_nonstandard_integer_type): New function.
24 * tree.h (build_nonstandard_integer_type): New prototype.
25 objc:
26 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
27
28 2002-01-29 Jakub Jelinek <jakub@redhat.com>
29
30 PR other/1502:
31 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
32 don't ignore unrecognized -W* options.
33 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
34 * cpplib.h (cpp_handle_option): Adjust prototype.
35 * c-decl.c (c_decode_options): Pass 0 as last argument to
36 cpp_handle_option.
37
38 PR c/2896:
39 * gcc.c (cpp_unique_options): Split from cpp_options.
40 (cpp_options): Source cpp_unique_options.
41 (default_compilers): Use cpp_unique_options instead of cpp_options
42 when used together with cc1_options.
43 (static_specs): Add cpp_unique_options.
44 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
45 when used together with cc1_options.
46
47 2002-01-29 Kazu Hirata <kazu@hxi.com>
48
49 * config/h8300/h8300-protos.h: Update the prototype of
50 output_a_shift.
51 * config/h8300/h8300.c (output_a_shift): Remove an unused
52 argument 'insn'. Remove redundant code.
53 * config/h8300/h8300.md: Adust to the new prototype of
54 output_a_shift.
55
56 2002-01-29 Kazu Hirata <kazu@hxi.com>
57
58 * config/h8300/h8300-protos.h: Update the prototypes of
59 emit_a_rotate and expand_a_rotate.
60 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
61 first argument to 'enum rtx_code'.
62 (expand_a_rotate): Likewise.
63
64 2002-01-28 Kazu Hirata <kazu@hxi.com>
65
66 * config/h8300/h8300-protos.h: Update the prototype of
67 output_simode_bld.
68 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
69 'log2'.
70 * config/h8300/h8300.md: Adjust to the new prototype.
71
72 2002-01-28 Kazu Hirata <kazu@hxi.com>
73
74 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
75 redundant code.
76
77 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
78
79 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
80 is a fixed register before returning pic_offset_table_rtx.
81 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
82 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
83
84 2002-01-28 Jason Merrill <jason@redhat.com>
85
86 * dwarf2.h (enum dwarf_call_frame_info): Add other DWARF 3 codes.
87 Sync with src version.
88
89 2002-01-28 Paul Koning <pkoning@equallogic.com>
90
91 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
92 BT_FN_VOID_PTR_VAR.
93 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
94 * doc/extend.texi (__builtin_prefetch): Update documentation:
95 first argument is now const void ptr.
96
97 2002-01-28 Kazu Hirata <kazu@hxi.com>
98
99 * config/h8300/h8300-protos.h: Remove an unused prototype.
100
101 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
102
103 * toplev.c (lang_independent_init): Round up identifier size.
104
105 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
106
107 * config.gcc: Revert previous change.
108
109 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
110
111 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
112
113 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
114
115 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
116 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
117 other non-elf netbsd config frags.
118 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
119 collect2 will does that.
120 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
121 shared-lib frobbing will work.
122
123 2002-01-28 Kazu Hirata <kazu@hxi.com>
124
125 * config/h8300/h8300.h: Fix formatting.
126 * config/h8300/h8300.md: Likewise.
127
128 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
129
130 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
131 the old, removed AAA_standards fix.
132 * fixinc/fixincl.x: Rebuilt.
133
134 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
135
136 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
137 atexit call in crtbegin, hooked in after call to frame_dummy;
138 register EH before registering __fini__start.
139
140 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
141
142 * config/rs6000/altivec.h: Remove spurious semicolons.
143
144 2002-01-27 Kazu Hirata <kazu@hxi.com>
145
146 * config/h8300/h8300.md: Replace dead bit extraction patterns
147 with ones that work.
148
149 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
150
151 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
152 if not STRICT_ALIGNMENT.
153 * rtl.h (MEM_ALIGN): Likewise.
154
155 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
156
157 * doc/invoke.texi (-fdump-translation-unit): Revert this
158 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
159
160 2002-01-27 Kazu Hirata <kazu@hxi.com>
161
162 * config/h8300/h8300.md (define_constants): New.
163 (anonymous patterns) Use defined constants appropriately.
164
165 2002-01-27 Kazu Hirata <kazu@hxi.com>
166
167 * config/h8300/h8300.c (function_arg): Remove redundant code.
168
169 2002-01-26 Richard Henderson <rth@redhat.com>
170
171 * sched-deps.c (reg_pending_uses_head): New.
172 (reg_pending_barrier): Rename from reg_pending_sets_all.
173 (find_insn_list): Don't mark inline.
174 (find_insn_mem_list): Remove.
175 (add_dependence_list, add_dependence_list_and_free): New.
176 (flush_pending_lists): Replace only_write param with separate
177 for_read and for_write parameters. Update all callers. Use
178 add_dependence_list_and_free.
179 (sched_analyze_1): Do not add reg dependencies here; just set
180 the pending bits. Use add_dependence_list.
181 (sched_analyze_2): Likewise.
182 (sched_analyze_insn): Replace schedule_barrier_found with
183 reg_pending_barrier. Add all dependencies for pending reg
184 uses, sets, and clobbers.
185 (sched_analyze): Don't add reg dependencies for calls, just
186 set pending bits. Use regs_invalidated_by_call. Treat
187 sched_before_next_call as a normal list, not a fake insn.
188 (init_deps): No funny init for sched_before_next_call.
189 (free_deps): Free pending mems lists. Don't zero reg_last.
190 (init_deps_global): Init reg_pending_uses.
191 (finish_deps_global): Free it.
192 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
193 (find_insn_mem_list): Remove.
194 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
195 (propagate_deps): Use them. Zero temp mem lists.
196
197 2002-01-26 Richard Henderson <rth@redhat.com>
198
199 * Makefile.in (CRTSTUFF_CFLAGS): New.
200 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
201 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
202 crtstuff.c instead of alpha assembly version.
203 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
204 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
205 not FORCE_{INIT,FINI}_SECTION_ALIGN.
206 (__do_global_dtors_aux): Mark used.
207 (frame_dummy, __do_global_ctors_aux): Mark used.
208 (fini_dummy, init_dummy): Remove.
209
210 * config/alpha/crtbegin.asm: Remove file.
211 * config/alpha/crtend.asm: Remove file.
212 * config/alpha/t-crtbe: Remove file.
213 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
214 (LINK_EH_SPEC): New.
215
216 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
217 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
218 calling constructors.
219 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
220
221 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
222 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
223 CRT_END_INIT_DUMMY hack.
224 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
225 FORCE_{INIT,FINI}_SECTION_ALIGN.
226
227 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
228 FORCE_{INIT,FINI}_SECTION_ALIGN.
229
230 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
231 invocation sequence.
232 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
233
234 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
235 (FORCE_CODE_SECTION_ALIGN): New.
236
237 2002-01-26 Richard Henderson <rth@redhat.com>
238
239 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
240
241 2002-01-26 Richard Henderson <rth@redhat.com>
242
243 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
244 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
245
246 2002-01-26 Kazu Hirata <kazu@hxi.com>
247
248 * config/h8300/h8300.md: Remove bit extraction patterns that
249 cannot be triggered.
250 Restrict each bit extraction pattern to a variant on which the
251 pattern is tested.
252
253 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
254
255 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
256
257 2002-01-26 Kazu Hirata <kazu@hxi.com>
258
259 * config/h8300/h8300.md: Remove bit test patterns that cannot
260 be triggered.
261 Restrict each bit test pattern to a variant on which the
262 pattern is tested.
263
264 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
265
266 * builtins.c (expand_builtin_strncat): Remove redundant check for
267 INTEGER_CST.
268
269 2002-01-25 David O'Brien <obrien@FreeBSD.org>
270
271 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
272 default setting.
273 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
274 existing setting.
275
276 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
277
278 * dbxout.c (dbxout_init): Use assemble_name rather than just
279 stripping off the first character.
280 (dbxout_source_file): Likewise.
281
282 2002-01-25 DJ Delorie <dj@redhat.com>
283
284 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
285 using rtx_equal_p, not by comparing pointers.
286
287 2002-01-25 Steve Ellcey <sje@cup.hp.com>
288
289 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
290 for PIC_OFFSET_TABLE_REGNUM.
291 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
292
293 2002-01-25 David O'Brien <obrien@FreeBSD.org>
294
295 * config.gcc (x86_64-*-freebsd*): New target.
296 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
297 value.
298 (i[34567]86-*-freebsd*): Don't include svr4.h.
299 * config/i386/freebsd64.h: New file.
300
301 2002-01-25 Douglas B Rupp <rupp@gnat.com>
302
303 * config/alpha/x-vms (version): Make static.
304
305 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
306 in previous checkin.
307
308 * Makefile.in (install-headers-cp): New target.
309 * config.gcc (alpha-dec-*vms*): Install headers with
310 install-headers-cp
311
312 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
313
314 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
315 avoid it's copies.
316
317 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
318
319 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
320 of compare_tree_int.
321 (expand_builtin_strncat): Likewise.
322 * c-decl.c (finish_struct): Use tree_low_cst.
323 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
324 * tree.c (compare_tree_int): Likewise.
325
326 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
327
328 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
329 adjustments even if they are implemented by more than two insns.
330
331 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
332
333 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
334 * df.h (struct ref): Kill B.
335 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
336
337 * basic-block.h (PROP_EQUAL_NOTES): New flag.
338 * flow.c (propagate_one_insn): Use it.
339 (mark_used_regs): Handle NIL.
340
341 2001-01-25 Geoffrey Keating <geoffk@redhat.com>
342
343 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
344 to help folding.
345
346 2002-01-25 David Edelsohn <edelsohn@gnu.org>
347
348 * rs6000.md (prefetch): Make address V4SI mode so that the address
349 is restricted to legitimate form for instruction.
350
351 2002-01-25 Bob Wilson <bob.wilson@acm.org>
352
353 * doc/install.texi (xtensa-*-elf): New target.
354 (xtensa-*-linux*): New target.
355 * doc/contrib.texi: Add myself.
356
357 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
358
359 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
360 purpose register to hold an SImode (or smaller) value.
361
362 2002-01-25 Jakub Jelinek <jakub@redhat.com>
363
364 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
365 registry only.
366 * crtstuff.c: Likewise.
367
368 2002-01-25 Kazu Hirata <kazu@hxi.com>
369
370 * config/h8300/h8300.md (negation patterns): Tighten
371 predicates to register_operand.
372
373 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
374
375 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
376 mode, not Pmode.
377
378 * builtins.c (expand_builtin_prefetch): Same.
379
380 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
381
382 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
383 modes.
384
385 2002-01-24 Kazu Hirata <kazu@hxi.com>
386
387 * config/h8300/h8300.c (print_operand): Remove support for
388 operand character 'A'.
389 * config/h8300/h8300.md (three anonymous patterns): Replace
390 operand character 'A' with either 'T' or 'S'.
391
392 2002-01-24 Kazu Hirata <kazu@hxi.com>
393
394 * config/h8300/h8300.c (print_operand): Remove support for
395 operand character 'U'.
396
397 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
398
399 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
400
401 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
402
403 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
404 values to be assigned to the stack pointer.
405
406 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
407
408 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
409 to const_double needs to be done right for big-endian systems.
410
411 2002-01-24 Jason Merrill <jason@redhat.com>
412
413 PR c++/2432
414 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
415 to can_throw_internal.
416
417 2002-01-23 Richard Henderson <rth@redhat.com>
418
419 * fold-const.c (fold): Change UINT_MAX test to check vs precision
420 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
421
422 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
423
424 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
425 (symGOT2reg): Use them, then set as GOT value as unchanging.
426 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
427 as a temporary, if possible.
428 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
429 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
430
431 2002-01-23 Kazu Hirata <kazu@hxi.com>
432
433 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
434 accept to accept 0x80 as operands[2].
435
436 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
437
438 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
439
440 2002-01-23 Richard Henderson <rth@redhat.com>
441
442 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
443
444 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
445
446 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
447 (parmlist_or_identifiers_1): Verify that only a parmlist follows
448 an attribute.
449
450 2002-01-23 Richard Henderson <rth@redhat.com>
451
452 * expr.c (move_by_pieces_1): Extend size before negation.
453
454 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
455 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
456 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
457 * config/m68k/t-m68kelf: Likewise.
458
459 2002-01-23 Bob Wilson <bob.wilson@acm.org>
460
461 * config/xtensa/elf.h: New file.
462 * config/xtensa/lib1funcs.asm: New file.
463 * config/xtensa/lib2funcs.S: New file.
464 * config/xtensa/linux.h: New file.
465 * config/xtensa/t-xtensa: New file.
466 * config/xtensa/xtensa-config.h: New file.
467 * config/xtensa/xtensa-protos.h: New file.
468 * config/xtensa/xtensa.c: New file.
469 * config/xtensa/xtensa.h: New file.
470 * config/xtensa/xtensa.md: New file.
471 * config.gcc (xtensa-*-elf*): New target.
472 (xtensa-*-linux*): New target.
473 * cse.c (canon_hash): Compare rtx pointers instead of register
474 numbers. This is required for the Xtensa port.
475 * integrate.c (copy_insn_list): Handle case where the static
476 chain is in memory and the memory address has to be copied to
477 a register.
478 * doc/invoke.texi (Option Summary): Add Xtensa options.
479 (Xtensa Options): New node.
480 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
481
482 2002-01-23 Zack Weinberg <zack@codesourcery.com>
483
484 * diagnostic.c (internal_error): Do ICE suppression only
485 when ENABLE_CHECKING is not defined.
486
487 * c-typeck.c (require_complete_type): Return error_mark_node
488 if type is error_mark_node.
489
490 2002-01-23 Janis Johnson <janis187@us.ibm.com>
491
492 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
493 -Os and issue a warning.
494
495 2002-01-23 Zack Weinberg <zack@codesourcery.com>
496
497 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
498 current (lack of) need for host configuration by hand.
499
500 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
501 references. Documentation of some target macros moved from
502 hostconfig.texi to tm.texi.
503
504 2002-01-23 Will Cohen <wcohen@redhat.com>
505
506 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
507 defined.
508
509 2002-01-23 Kazu Hirata <kazu@hxi.com>
510
511 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
512 operand[3].
513
514 2002-01-23 Jason Merrill <jason@redhat.com>
515
516 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
517
518 * function.c (assign_parms): Don't put args of inline functions
519 into registers when not optimizing.
520
521 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
522
523 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
524 (prologue_use): New pattern.
525 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
526 preference to gen_rtx_USE.
527 (thumb_expand_prologue): Use gen_prologue_use in preference to
528 gen_rtx_USE.
529 (thumb_expand_epilogue): Use gen_prologue_use in preference to
530 gen_rtx_USE.
531
532 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
533
534 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
535
536 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
537
538 PR c/3504
539 * doc/extend.texi: Correct documentation of __alignof__.
540
541 2002-01-22 Zack Weinberg <zack@codesourcery.com>
542
543 * params.h: Rename arguments of DEFPARAM so that it will be
544 recognized as a translation keyword.
545
546 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
547
548 * extend.texi: Document altivec functions.
549 Fix N-bit adjectives in X86 builtin documentation.
550
551 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
552
553 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
554 auto_inc_dec values.
555
556 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
557
558 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
559 after backslash.
560 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
561
562 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
563
564 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
565
566 2002-01-22 Richard Henderson <rth@redhat.com>
567
568 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
569 copy_insn not copy_rtx.
570
571 2002-01-23 Alan Modra <amodra@bigpond.net.au>
572
573 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
574 "nonzero" as that might add "1" bits. Ensure "constop" is
575 properly sign extened.
576 (force_to_mode): Tweak for sign extended constop.
577
578 2002-01-22 Richard Henderson <rth@redhat.com>
579
580 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
581 for_each_rtx instead of assuming we're already looking at the MEM.
582 (split_small_symbolic_mem_operand): Likewise.
583 * config/alpha/alpha.h (PREDICATE_CODES): Update.
584 * config/alpha/alpha.md (small symbolic memory splitters): Update.
585
586 2002-01-22 Richard Henderson <rth@redhat.com>
587
588 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
589 sequence number for the literal.
590 (divmoddi_internal_er): Likewise.
591
592 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
593
594 PR java/4972
595 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
596 in LIBICONV variable.
597 * configure: Regenerated.
598
599 2002-01-22 Krister Walfridsson <cato@df.lth.se>
600
601 * dependence.c (build_def_use): Remove array_idx.
602
603 * dwarfout.c (last_filename): Remove.
604 (output_compile_unit_die): Remove last_filename.
605
606 2002-01-22 Roger Sayle <roger@eyesopen.com>
607 Richard Henderson <rth@redhat.com>
608
609 PR opt/3640
610 * fold-const.c (fold): Optimize unsigned comparisons against
611 UINT_MAX (and similar unsigned constants).
612
613 2002-01-22 Janis Johnson <janis187@us.ibm.com>
614
615 * Makefile.in (loop.o): Depend on OPTABS_H.
616 * loop.c (emit_prefetch_instructions): Check the prefetch operand
617 against the predicate.
618
619 PR target/5379
620 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
621 for the address operand.
622
623 2002-01-22 Richard Henderson <rth@redhat.com>
624
625 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
626
627 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
628
629 PR other/5450
630 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
631 preprocessor flags.
632
633 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
634
635 * config.gcc (x86_64-*-netbsd*): New target.
636 * config/i386/netbsd64.h: New file.
637
638 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
639
640 * regrename.c (kill_value): Fix typo.
641
642 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
643
644 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
645
646 * config/rs6000/rs6000.h: Same.
647
648 * function.c (instantiate_virtual_regs): Remove
649 STARTING_FRAME_PHASE.
650 (assign_stack_local_1): Same.
651 Calculate frame phase.
652
653 2002-01-22 Nick Clifton <nickc@redhat.com>
654
655 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
656 variable declaration to outer scope in order to simplify
657 future extensions.
658 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
659 arm_hard_regno_mode_ok.
660 * config/arm/arm-protos.h: Add a prototype for
661 arm_hard_regno_mode_ok.
662 * config/arm/arm.c (soft_df_operand): Remove now redundant
663 check for DImode values using IP_REGNUM.
664 (nonimmediate_soft_df_operand): Remove now redundant check for
665 DImode values using IP_REGNUM.
666 (arm_hard_regno_mode_ok): New function. New check: make sure
667 that DImode values are not stored in IP_REGNUM.
668
669 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
670 note with a USE.
671 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
672
673 2002-01-22 Jason Merrill <jason@redhat.com>
674
675 * c-semantics.c (genrtl_compound_stmt): Only check nesting
676 consistency if this COMPOUND_STMT is scoped.
677
678 2002-01-22 Kazu Hirata <kazu@hxi.com>
679
680 * predict.c: Fix formatting.
681 * print-tree.c: Likewise.
682 * protoize.c: Likewise.
683 * real.h: Likewise.
684 * rtl.h: Likewise.
685 * sbitmap.h: Likewise.
686 * scan.c: Likewise.
687 * sched-deps.c: Likewise.
688 * sched-vis.c: Likewise.
689 * sdbout.c: Likewise.
690 * sibcall.c: Likewise.
691 * ssa.c: Likewise.
692 * ssa-ccp.c: Likewise.
693 * ssa-dce.c: Likewise.
694 * stmt.c: Likewise.
695 * stor-layout.c: Likewise.
696 * system.h: Likewise.
697
698 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
699
700 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
701 if fits in bounds of base type.
702
703 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
704 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
705 (add_bound_info, default): If can't find a context, make a
706 SAVE_EXPR.
707 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
708
709 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
710
711 * c-typeck.c (parser_build_binary_op): If result from
712 build_binary_op is ERROR_MARK just return error_mark_node without
713 further processing.
714
715 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
716
717 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
718 Split a.out-specific bits into...
719 * config/netbsd-aout.h: ...this.
720 * config/netbsd-elf.h: New file.
721 * config/alpha/netbsd-elf.h: Remove.
722 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
723 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
724 (STARTFILE_SPEC): Remove redundant definition.
725 (ENDFILE_SPEC): Likewise.
726 (LINK_SPEC): Likewise.
727 (CPP_SPEC): Likewise.
728 (ASM_SPEC): Likewise.
729 (LIB_SPEC): Likewise.
730 (SWITCH_TAKES_ARG): Likewise.
731 (TARGET_MEM_FUNCTIONS): Likewise.
732 (CPP_PREDEFINES): Redefine.
733 (ASM_FINAL_SPEC): Remove redefinition.
734 (ASM_COMMENT_START): Redefine.
735 (FUNCTION_PROFILER): Define.
736 (TARGET_VERSION): Redefine.
737 Comment and formatting cleanup.
738 * config/i386/netbsd.h: Include <netbsd-aout.h>.
739 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
740 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
741 big- or little-endian.
742 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
743 * config.gcc (*-*-netbsd*): Add definitions common to all
744 NetBSD configs.
745 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
746 gnu_ld definitions. Add netbsd-elf.h to and remove
747 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
748 tmake_file, and don't lose previous tmake_file contents.
749 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
750 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
751 gnu_ld definitions. Add netbsd-elf.h to tm_file.
752 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
753 (mipsel-*-netbsd*): Rename this to...
754 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
755 mips/little.h to tm_file for mips*el-*.
756 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
757 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
758 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
759
760 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
761
762 * pa-protos.h (reg_before_reload_operand): New function prototype.
763 * pa.c (reg_before_reload_operand): New function implementation.
764 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
765 contraints to "*m".
766
767 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
768
769 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
770
771 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
772
773 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
774 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
775 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
776 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
777 (ENDFILE_SPEC): Undefine.
778 (STARTFILE_SPEC): Redefine for PA.
779
780 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
781
782 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
783
784 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
785
786 * config.gcc: Add entries to supported PowerPC --with-cpu
787 types.
788
789 2002-01-21 Jakub Jelinek <jakub@redhat.com>
790
791 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
792 true for 64-bit mode only SSE registers in 32-bit mode.
793
794 2002-01-21 Kazu Hirata <kazu@hxi.com>
795
796 * unwind-dw2.c: Fix formatting.
797 * unwind-dw2-fde.c: Likewise.
798 * unwind-dw2-fde.h: Likewise.
799 * unwind-pe.h: Likewise.
800 * varasm.c: Likewise.
801 * varray.h: Likewise.
802
803 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
804
805 Remove workaround for register stack overwrite bug in mmix.
806 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
807 support for TARGET_REG_STACK_FILL_BUG.
808 * config/mmix/mmix.h: Remove member has_call_without_parameters.
809 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
810 Delete.
811 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
812 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
813 -mno-reg-stack-fill-bug-workaround.
814 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
815 machine member has_call_without_parameters.
816 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
817 -mreg-stack-fill-bug-workaround and
818 -mno-reg-stack-fill-bug-workaround.
819 (MMIX Options): Ditto.
820
821 2002-01-21 Kazu Hirata <kazu@hxi.com>
822
823 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
824 as appropriate.
825 Remove redundant code.
826
827 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
828
829 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
830 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
831 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
832 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
833 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
834 out target macro definitions and non-target-specific comments
835 mostly taken from old versions of the manual.
836
837 2002-01-20 Kazu Hirata <kazu@hxi.com>
838
839 * config/h8300/h8300.h: Fix comment formatting.
840 * config/ia64/aix.h: Likewise.
841 * config/ia64/ia64-protos.h: Likewise.
842 * config/ia64/ia64.c: Likewise.
843 * config/ia64/ia64.h: Likewise.
844 * config/ia64/ia64intrin.h: Likewise.
845 * config/ia64/linux.h: Likewise.
846 * config/ia64/unwind-aix.c: Likewise.
847 * config/ia64/unwind-ia64.c: Likewise.
848
849 2002-01-20 Kazu Hirata <kazu@hxi.com>
850
851 * config/h8300/h8300.c: Revise comments about shift code.
852
853 2002-01-20 Kazu Hirata <kazu@hxi.com>
854
855 * config/h8300/h8300.c (function_arg): Update a comment.
856
857 2002-01-20 Kazu Hirata <kazu@hxi.com>
858
859 * config/h8300/h8300.md: Update the comments at the beginning
860 of the file.
861
862 2002-01-20 Kazu Hirata <kazu@hxi.com>
863
864 * config/i370/i370.c: Fix comment formatting.
865 * config/i370/i370.h: Likewise.
866 * config/i370/i370.md: Likewise.
867 * config/i370/linux.h: Likewise.
868
869 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
870
871 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
872
873 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
874 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
875 in incomplete case.
876
877 2002-01-20 Graham Stott <grahams@redhat.com>
878
879 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
880
881 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
882
883 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
884
885 2002-01-19 Tom Rix <trix@redhat.com>
886
887 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
888
889 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
890
891 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
892
893 * function.c (assign_stack_local_1): Adjust x_frame_offset with
894 STARTING_FRAME_PHASE.
895 (STARTING_FRAME_PHASE): New.
896 (instantiate_virtual_regs): Check saneness of
897 STARTING_FRAME_PHASE.
898
899 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
900
901 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
902
903 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
904
905 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
906
907 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
908 be used for bootstrapping GCC 3.0.
909
910 2002-01-18 Kazu Hirata <kazu@hxi.com>
911
912 * config/h8300/h8300.md: Fix an insn length.
913
914 2002-01-18 Kazu Hirata <kazu@hxi.com>
915
916 * bitmap.h: Fix comment formatting.
917 * combine.c: Likewise.
918 * cppfiles.c: Likewise.
919 * c-pragma.h: Likewise.
920 * c-typeck.c: Likewise.
921 * df.c: Likewise.
922 * dwarf2out.c: Likewise.
923 * function.c: Likewise.
924 * gcc.c: Likewise.
925 * genattrtab.c: Likewise.
926 * gthr-win32.h: Likewise.
927 * haifa-sched.c: Likewise.
928 * predict.c: Likewise.
929 * rtlanal.c: Likewise.
930 * rtl.h: Likewise.
931 * unwind-dw2-fde.h: Likewise.
932 * unwind-pe.h: Likewise.
933 * vmsdbgout.c: Likewise.
934
935 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
936
937 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
938 if type_required and passed decl.
939
940 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
941
942 * config.gcc (cpu_type): Include altivec.h in powerpc
943 extra_headers.
944 Same for darwin.
945
946 * config/rs6000/altivec.h: New.
947
948 2002-01-17 David Edelsohn <edelsohn@gnu.org>
949
950 * doc/install.texi (*-ibm-aix*): Update assembler and exception
951 handling information.
952 * doc/trouble.texi (Interoperation): Add libstdc++ information
953 for AIX.
954 (Misunderstandings): Add template instantiation and static template
955 member information for AIX.
956
957 2002-01-17 Jason Merrill <jason@redhat.com>
958
959 * dbxout.c (dbxout_type): Support const and volatile.
960
961 * except.c (add_partial_entry): Remove backwards compatibility code.
962 (end_protect_partials): Likewise.
963
964 2002-01-17 Jakub Jelinek <jakub@redhat.com>
965
966 * config/ia64/ia64.md (prologue_use): New.
967 * config/ia64/ia64.c (ia64_expand_prologue): Use
968 gen_prologue_use instead of gen_rtx_USE.
969 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
970 as CODE_FOR_pred_rel_mutex.
971 (ia64_sched_reorder2): Likewise.
972
973 2002-01-16 Eric Christopher <echristo@redhat.com>
974
975 * config/mips/r3900.h: Reformat.
976 (SUBTARGET_CPP_SIZE_SPEC): Remove.
977 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
978 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
979 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
980 * config/mips/t-elf: Remove mips3 multilib.
981
982 2002-01-16 H.J. Lu <hjl@gnu.org>
983
984 * config/mips/linux.h: Include "mips/abi64.h".
985
986 2002-01-16 H.J. Lu <hjl@gnu.org>
987
988 * config/mips/t-linux: New.
989
990 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
991
992 * config/mips/linux.h: Don't include "gofast.h".
993 (INIT_SUBTARGET_OPTABS): Removed.
994
995 2002-01-16 Kazu Hirata <kazu@hxi.com>
996
997 * config/h8300/h8300-protos.h: Replace emit_a_shift with
998 output_a_shift.
999 * config/h8300/h8300.c: Likewise.
1000 * config/h8300/h8300.md: Likewise.
1001
1002 2002-01-16 Kazu Hirata <kazu@hxi.com>
1003
1004 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
1005 spaces after an opcode name.
1006 (pushqi1_h8300hs): Likewise.
1007 (pushhi1_h8300hs): Likewise.
1008
1009 2002-01-16 Kazu Hirata <kazu@hxi.com>
1010
1011 * doc/extend.texi: Replace "option" with "attribute"
1012 appropriately.
1013
1014 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1015
1016 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
1017 (and:DI () (const_int -8)).
1018 (split_small_symbolic_mem_operand): Split
1019 (mem (and:DI () (const_int -8)).
1020
1021 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1022
1023 PR target/5309:
1024 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
1025 same way as TYPE_IMUL.
1026 (ultrasparc_sched_reorder): Likewise.
1027 * config/sparc/sparc.md (type): Add comment to update
1028 ultrasparc_sched_reorder when making changes.
1029
1030 2002-01-16 Kazu Hirata <kazu@hxi.com>
1031
1032 * doc/invoke.texi: Change the dump file name of block
1033 reordering pass from 28.bbro to 29.bbro.
1034 Mention -dk option.
1035
1036 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
1037
1038 * i386.md (minsf splitter): Fix pasto.
1039
1040 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1041
1042 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
1043 to frame pointer initialisation instruction.
1044 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
1045 initialisation instruction.
1046 (soft_df_operand): Do not accept the IP register.
1047 (nonimmediate_soft_df_operand): Do not accept the IP register.
1048
1049 2002-01-16 Jakub Jelinek <jakub@redhat.com>
1050
1051 PR target/5357:
1052 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
1053 MASK_V8 being both set.
1054
1055 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
1056
1057 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
1058 insn for GOT register; add REG_MAYBE_DEAD notes instead.
1059 config/s390/s390.md (call, call_value): Add GOT register to
1060 CALL_INSN_FUNCTION_USAGE where needed.
1061 (call_exp, call_value_exp): New.
1062
1063 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
1064
1065 * config/arm/arm.c: General formatting tidy up.
1066
1067 2002-01-16 Graham Stott <grahams@redhat.com>
1068
1069 * calls.c (try_to_integrate): Use "(size_t)" intermediate
1070 cast and when casting an integer literal to "rtx" pointer.
1071 (expand_call): Likewise.
1072 * flow.c (try_pre_increment): Likewise.
1073 (find_use_as_address): Likewise.
1074 * integrate.c (expand_iline_function): Likewise.
1075 * regmove.c (try_auto_increment): Likewise.
1076
1077 2002-01-16 Graham Stott <grahams@redhat.com>
1078
1079 * sched-rgn.c (passed): Use sbitmap_free.
1080 (header): Likewise.
1081 (inner): Likewise.
1082 (in_queue): Likewise.
1083 (in_stack): Likewise.
1084
1085 2002-01-15 Eric Christopher <echristo@redhat.com>
1086
1087 * flow.c (propagate_one_insn): Change to use fatal_insn.
1088
1089 2002-01-15 Kazu Hirata <kazu@hxi.com>
1090
1091 * expmed.c (extract_fixed_bit_field): Remove unused code.
1092 * system.h: Poison SLOW_ZERO_EXTEND.
1093 * doc/tm.texi: Remove.
1094 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
1095 * config/arm/arm.h: Likewise.
1096 * config/avr/avr.h: Likewise.
1097 * config/clipper/clipper.h: Likewise.
1098 * config/convex/convex.h: Likewise.
1099 * config/d30v/d30v.h: Likewise.
1100 * config/dsp16xx/dsp16xx.h: Likewise.
1101 * config/elxsi/elxsi.h: Likewise.
1102 * config/fr30/fr30.h: Likewise.
1103 * config/h8300/h8300.h: Likewise.
1104 * config/i370/i370.h: Likewise.
1105 * config/i386/i386.h: Likewise.
1106 * config/m68k/m68k.h: Likewise.
1107 * config/mips/mips.h: Likewise.
1108 * config/ns32k/ns32k.h: Likewise.
1109 * config/pdp11/pdp11.h: Likewise.
1110 * config/pj/pj.h: Likewise.
1111 * config/s390/s390.h: Likewise.
1112 * config/sh/sh.h: Likewise.
1113 * config/stormy16/stormy16.h: Likewise.
1114 * config/v850/v850.h: Likewise.
1115 * config/vax/vax.h: Likewise.
1116 * config/we32k/we32k.h: Likewise.
1117
1118 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1119
1120 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
1121 (altivec_lvsl): Change constraint to b.
1122 (altivec_lvsr): Same.
1123 (altivec_lvebx): Same.
1124 (altivec_lvehx): Same.
1125 (altivec_lvewx): Same.
1126 (altivec_lvxl): Same.
1127 (altivec_lvx): Same.
1128 (altivec_stvx): Add parallel.
1129 (altivec_stvxl): Same.
1130 (altivec_stvehx): Same.
1131 (altivec_stvebx): Same.
1132 (altivec_stvebx): Same.
1133
1134 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
1135
1136 * config.gcc: Change altivec.h to altivec-defs.h.
1137
1138 * config/rs6000/altivec.h: Delete.
1139
1140 * config/rs6000/altivec-defs.h: Add.
1141
1142 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1143
1144 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
1145 and UMOD modes.
1146
1147 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
1148 less than or equal to eight bytes.
1149
1150 * vax.md (andsi3): Remove constraints and change SET destination
1151 operand type to nonimmediate_operand.
1152 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
1153 when it is a CONST_INT.
1154
1155 2002-01-15 Jason Merrill <jason@redhat.com>
1156
1157 * c-common.def (FILE_STMT): New code.
1158 * c-common.c (statement_code_p): It's a statement.
1159 * c-common.h (stmt_tree_s): Add x_last_filename.
1160 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
1161 (last_expr_filename): New macro.
1162 * c-semantics.c (begin_stmt_tree): Initialize it.
1163 (add_stmt): If the filename changed, also insert a
1164 FILE_STMT.
1165 (expand_stmt): Handle seeing one.
1166
1167 2002-01-15 Eric Christopher <echristo@redhat.com>
1168
1169 * flow.c (propagate_one_insn): Add error message and print out
1170 insn for debugging.
1171
1172 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1173
1174 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
1175 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
1176 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
1177 TRAMPOLINE_ALIGNMENT.
1178 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
1179 to be in bits.
1180 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
1181 PCC_BITFIELD_TYPE_MATTERS.
1182 * config/interix.h (STDC_VALUE): Remove. Use
1183 STDC_0_IN_SYSTEM_HEADERS.
1184 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
1185 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
1186 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
1187
1188 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
1189
1190 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
1191 not work on this platform currently.
1192
1193 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
1194
1195 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
1196 readonly_warning in _().
1197
1198 2002-01-15 Douglas B Rupp <rupp@gnat.com>
1199
1200 * gcc.c (delete_if_ordinary): Backout previous change.
1201
1202 2002-01-15 Kazu Hirata <kazu@hxi.com>
1203
1204 * config/h8300/h8300.c (print_operand): Remove support for
1205 unused operand characters.
1206
1207 * read-rtl.c: Fix formatting.
1208 * real.c: Likewise.
1209 * recog.c: Likewise.
1210 * regclass.c: Likewise.
1211 * regmove.c: Likewise.
1212 * reg-stack.c: Likewise.
1213 * reload1.c: Likewise.
1214 * rtlanal.c: Likewise.
1215
1216 2002-01-15 Kazu Hirata <kazu@hxi.com>
1217
1218 * config/i386/i386.c: Fix formatting.
1219
1220 2002-01-15 Jakub Jelinek <jakub@redhat.com>
1221
1222 * c-typeck.c (process_init_element): Don't save_expr
1223 COMPOUND_LITERAL_EXPR if just its initializer will be used.
1224
1225 2002-01-15 David Edelsohn <edelsohn@gnu.org>
1226
1227 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
1228 emit optional traceback table if optimize_size or TARGET_ELF.
1229 * config/rs6000/rs6000.md (prefetch): New.
1230
1231 2002-01-15 Andreas Jaeger <aj@suse.de>
1232
1233 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
1234
1235 2002-01-15 Kazu Hirata <kazu@hxi.com>
1236
1237 * mips-tfile.c: Fix formatting.
1238
1239 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
1240
1241 * unroll.c (final_reg_note_copy): Fix previous commit.
1242
1243 2002-01-14 Kazu Hirata <kazu@hxi.com>
1244
1245 * config/h8300/h8300-protos.h: Remove the prototype for
1246 eq_operator.
1247 * config/h8300/h8300.c (eq_operator): Remove.
1248
1249 2002-01-14 Richard Henderson <rth@redhat.com>
1250
1251 * config/i386/i386.md (prefetch): Tidy.
1252 (prefetch_3dnow): Fix locality operand.
1253
1254 2002-01-14 Richard Henderson <rth@redhat.com>
1255
1256 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
1257 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
1258
1259 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1260
1261 * reload1.c (reload_combine): Pass reg_sum replacement through
1262 copy_rtx in loop performing multiple changes.
1263
1264 2002-01-14 Jakub Jelinek <jakub@redhat.com>
1265
1266 * except.c (remove_unreachable_regions): New.
1267 (free_eh_status): Clear exception_handler_labels.
1268 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
1269 (find_exception_handler_labels): Don't add the same label more than
1270 once.
1271 (remove_exception_handler_label): Don't die if
1272 find_exception_handler_labels hasn't been called for the current
1273 function yet.
1274
1275 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
1276
1277 * toplev.c (rest_of_compilation): Rebuild jump labels after
1278 gcse.
1279
1280 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
1281
1282 * doc/extend.texi: Move documentation of X86 built-in functions
1283 here.
1284 * doc/invoke.texi: From here.
1285 * doc/sourcebuild.texi: Document location of documentation for
1286 machine built-in functions.
1287
1288 2002-01-13 Christopher Faylor <cgf@redhat.com>
1289
1290 * cppfiles.c (TEST_THRESHOLD): New macro.
1291 (SHOULD_MMAP): Ditto.
1292 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
1293 be used.
1294
1295 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
1296
1297 * unroll.c (final_reg_note_copy): Properly handle
1298 REG_LABEL
1299 (unroll_loops): Fix LOOP_CONDITION heuristics.
1300
1301 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
1302
1303 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
1304 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
1305
1306 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
1307
1308 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
1309 threaded loop.
1310
1311 2002-01-14 Tom Rix <trix@redhat.com>
1312
1313 * config/rs6000/rs6000.md: Fix typo with sradi.
1314
1315 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
1316
1317 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
1318 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
1319 (clrstrdi, clrstrsi): Adapt callers.
1320
1321 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
1322
1323 (movti splitter): Never use register 0 as base register.
1324
1325 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
1326
1327 * combine.c (simplify_shift_const): Always generate new rtx
1328 for shift expression instead of reusing given expression.
1329
1330 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1331
1332 * config/alpha/alpha.c (alpha_expand_mov): Don't call
1333 alpha_legitimize_address unless mode is Pmode.
1334
1335 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
1336
1337 * doc/md.texi (Modifiers): Document the '*' constraint for the
1338 user.
1339
1340 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
1341 * doc/extend.texi (Function Attributes): 'interrupt' is valid
1342 for xstormy16 too.
1343
1344 2002-01-13 Richard Henderson <rth@redhat.com>
1345
1346 * reload.c (find_reloads): Use a hard reg destination as reload reg
1347 for an input reload of the source.
1348
1349 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1350
1351 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
1352 more generic.
1353
1354 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
1355
1356 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1357 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
1358
1359 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
1360
1361 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1362
1363 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
1364
1365 2002-01-12 Tom Rix <trix@redhat.com>
1366
1367 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
1368 TARGET_POWERPC64.
1369
1370 2002-01-12 Richard Henderson <rth@redhat.com>
1371
1372 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
1373
1374 * doc/invoke.texi: Update Alpha options.
1375
1376 * doc/invoke.texi: Update i386 built-in function lists.
1377
1378 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
1379
1380 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
1381 referencing outside.
1382
1383 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1384
1385 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
1386 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
1387 offsets, and change line folding.
1388 * optabs.c (expand_binop): Remove warnings.
1389 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
1390
1391 2002-01-12 Graham Stott <grahams@redhat.com>
1392
1393 * attribs.c (handle_deprecated_attribute): constify WHAT.
1394 * diagnostic.c (warn_deprecated_use): Add braces, fixes
1395 dangling else warning and constify WHAT.
1396 * except.h (struct function, struct inline_remap): Move
1397 struct tag forward defs before all prototypes.
1398 (duplicate_eh_regions): Whitespace.
1399
1400 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
1401
1402 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
1403 MODE_BASE_REG_CLASS.
1404 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
1405
1406 2002-01-12 Richard Henderson <rth@redhat.com>
1407
1408 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
1409 (ix86_expand_vector_move): New.
1410 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1411 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1412 Remove old prefetch builtins. Special case the logicals removed above.
1413 (ix86_expand_builtin): Likewise.
1414 (safe_vector_operand): Use V4SFmode, not TImode.
1415 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1416 (ix86_expand_timode_binop_builtin): New.
1417 * config/i386/i386-protos.h: Update.
1418 * config/i386/i386.h (enum ix86_builtins): Update.
1419 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1420 Use ix86_expand_vector_move in vector move expanders.
1421 (movti_internal, movti_rex64): Add xorps alternative.
1422 (sse_clrv4sf): Rename and adjust from sse_clrti.
1423 (prefetch): Don't work so hard.
1424 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1425 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1426 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1427
1428 2002-01-11 Richard Henderson <rth@redhat.com>
1429
1430 * config/i386/mmintrin.h: New file.
1431 * config/i386/xmmintrin.h: New file.
1432 * config.gcc (i?86-*-*): Add extra_headers.
1433 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1434 truncation codes.
1435 (simplify_binary_operation): Handle saturating arithmetic codes.
1436 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1437 not the lowpart subreg.
1438 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1439 on error.
1440 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1441
1442 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1443
1444 * conflict.c (conflict_graph_compute): Free regsets when finished.
1445 * ssa.c (compute_coalesced_reg_partition): Likewise.
1446
1447 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1448
1449 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1450 every where we allocate a register.
1451
1452 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1453
1454 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1455 * lcm.c (compute_earliest, compute_farthest): Likewise.
1456
1457 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1458
1459 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1460
1461 2002-01-11 Janis Johnson <janis187@us.ibm.com>
1462
1463 * doc/rtl.texi (Insns): Fix 2 typos.
1464
1465 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1466
1467 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1468 options. Use @table @gcctabopt for MMIX options. Add index
1469 entries for MMIX options. Start new paragraph with first
1470 heading of the machine-dependent options.
1471
1472 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1473
1474 PR other/5299
1475 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1476 * combine.c (force_to_mode): Same.
1477 * reload1.c (clear_reload_reg_in_use): Same.
1478
1479 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1480
1481 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1482 and 'subtargets'.
1483
1484 2002-01-11 Andreas Jaeger <aj@suse.de>,
1485 Brad Lucier <lucier@math.purdue.edu>
1486
1487 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1488 mcpu.
1489
1490 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1491
1492 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1493 Protect with IN_LIBGCC.
1494 (LINK_EH_SPEC): Add required trailing space.
1495
1496 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1497
1498 * c-tree.h: Move function declarations so that they are listed
1499 under the filename which contains them.
1500 (check_identifier, finish_decl_top_level,
1501 lookup_name_current_level_global, shadow_record_fields): Remove.
1502
1503 2002-01-11 Andreas Jaeger <aj@suse.de>
1504
1505 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1506 march.
1507
1508 2002-01-10 Richard Henderson <rth@redhat.com>
1509
1510 * config/alpha/alpha.c (print_operand): Add 'J'.
1511 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1512 new operand with the sequence number for the lituse. When splitting
1513 the insns, use gen_movdi_er_high_g and generate a sequence number.
1514 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1515
1516 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
1517
1518 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1519 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1520 stvxl.
1521 (altivec_expand_builtin): Same.
1522 (altivec_expand_stv_builtin): New.
1523
1524 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1525
1526 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1527 ("altivec_lvehx"): New.
1528 ("altivec_lvewx"): New.
1529 ("altivec_lvxl"): New.
1530 ("altivec_lvx"): New.
1531 ("altivec_stvx"): New.
1532 ("altivec_stvebx"): New.
1533 ("altivec_stvehx"): New.
1534 ("altivec_stvewx"): New.
1535 ("altivec_stvxl"): New.
1536
1537 2002-01-10 Richard Henderson <rth@redhat.com>
1538
1539 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1540 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1541 care not to delete instructions twice.
1542
1543 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1544
1545 * toplev.c: Don't declare environ (it's not used anywhere).
1546 * configure.in: Don't check for declaration of environ.
1547 * config/i386/xm-mingw32.h: Don't #define environ.
1548 * config.in, configure: Regenerate.
1549
1550 2002-01-10 Zack Weinberg <zack@codesourcery.com>
1551
1552 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1553 * configure: Regenerate.
1554
1555 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1556 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1557 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1558 alpha/xm-vms.h.
1559 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1560 LIMITS_H_TEST here, not in m68k/x-next.
1561 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1562 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1563
1564 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1565 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1566 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1567
1568 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1569 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1570 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1571 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1572 replacement of quadlib.asm with quadlib.c.
1573
1574 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1575 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1576 config/rs6000/xm-beos.h: Delete file.
1577
1578 * config.gcc: Update to match above changes.
1579
1580 2002-01-10 Kazu Hirata <kazu@hxi.com>
1581
1582 * config/h8300/h8300.h: Fix comment typos.
1583 * config/h8300/h8300.md: Likewise.
1584 * config/h8300/lib1funcs.asm: Likewise.
1585
1586 2002-01-10 Dale Johannesen <dalej@apple.com>
1587
1588 PR optimization/5269
1589 * unroll.c (precondition_loop_p): Make *increment be the correct
1590 sign when n_iterations known, to avoid confusing caller.
1591
1592 2002-01-10 Kazu Hirata <kazu@hxi.com>
1593
1594 * doc/extend.texi (deprecated): Fix a typo.
1595
1596 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1597
1598 * basic-block.h (update_br_prob_note): Declare.
1599 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1600 (try_forward_edges): Care negative frequencies and update note.
1601 (outgoing_edges_match): Tweek conditional merging heuristics.
1602 (try_crossjump_to_edge): use update_br_prob_note.
1603 * cfglayout.c (fixup_reorder_chain): Likewise.
1604 * cfrtl.c (update_br_prob_note): New.
1605 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1606
1607 * i386.c (ix86_decompose_address): Return -1 if address contains
1608 shift.
1609 (legitimate_address_p): Require ix86_decompose_address to return 1.
1610
1611 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1612 (cprop_insn): Likewise.
1613
1614 2002-01-10 Kazu Hirata <kazu@hxi.com>
1615
1616 * toplev.c: Fix formatting.
1617 * tree.c: Likewise.
1618 * tree-dump.c: Likewise.
1619 * unroll.c: Likewise.
1620 * unwind-dw2.c: Likewise.
1621 * unwind-dw2-fde.c: Likewise.
1622 * unwind-dw2-fde-glibc.c: Likewise.
1623 * unwind-sjlj.c: Likewise.
1624
1625 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1626
1627 * doc/invoke.texi: Document PDP-11 options.
1628
1629 2002-01-10 Kazu Hirata <kazu@hxi.com>
1630
1631 * config/h8300/h8300.h: Fix formatting.
1632
1633 2001-01-10 Ira Ruben <ira@apple.com>
1634
1635 Add __attribute__ ((deprecated)).
1636 * extend.texi: Document __attribute__ ((deprecated)).
1637 * invoke.texi: Document -Wno-deprecated-declarations.
1638 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1639 * testsuite/gcc.dg/deprecated.c: New C test.
1640 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1641 (c_common_attribute_table): Add "deprecated" entry.
1642 (handle_deprecated_attribute): New function.
1643 * c-decl.c (deprecated_states): New enum.
1644 deprecated_state: State of "deprecated" handling.
1645 (start_decl): Set deprecated_state based on attributes.
1646 (grokdeclarator): Test for deprecated uses, propagate attribute.
1647 * c-typeck.c (build_component_ref): Test for deprecated fields.
1648 (build_external_ref): Test for deprecated primaries.
1649 * diagnostic.c (warn_deprecated_use) New function to issue
1650 warnings about __attribute__ ((depricated)) references.
1651 * flags.h (warn_deprecated_decl): Extern declared for
1652 -W[no-]deprecated-declarations option.
1653 * print-tree.c (print_node): Show deprecated flag status.
1654 * toplev.c (warn_deprecated_decl): Defined.
1655 (W_options): Added "deprecated-declaration".
1656 * toplev.h (warn_deprecated_use): Extern declared.
1657 * tree.h (struct tree_common): Define deprecated_flag.
1658 (TREE_DEPRECATED): New macro to access flag.
1659 * cp/call.c (build_call): Test for deprecated calls.
1660 * cp/class.c (add_implicitly_declared_members): Set global
1661 flag to tell grokdeclarator to not issue deprecated warnings.
1662 * cp/cp-tree.h: Add extern for adding_implicit_members.
1663 * cp/decl.c (deprecated_states): New enum.
1664 (start_decl): Set deprecated_state based on attributes.
1665 (grokdeclarator): Test for deprecated uses, propagate attribute.
1666 * cp/lex.c (do_identifier): Test for deprecated primaries.
1667 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1668
1669 2001-01-10 Ira Ruben <ira@apple.com>
1670
1671 Fix to assign attributes to inline member functions.
1672 * cp/decl.c (start_method): Handle attrlist.
1673
1674 2002-01-10 Kazu Hirata <kazu@hxi.com>
1675
1676 * combine.c (expand_field_assignment): Use subreg_lsb().
1677
1678 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1679
1680 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1681 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1682 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1683 Recurse for any operand of AND as long as constant is non-zero.
1684
1685 2002-01-10 Kazu Hirata <kazu@hxi.com>
1686
1687 * config/h8300/h8300.md: Remove constraints from expanders.
1688
1689 2002-01-10 Kazu Hirata <kazu@hxi.com>
1690
1691 * varasm.c: Fix formatting.
1692 * varray.c: Likewise.
1693 * vmsdbgout.c: Likewise.
1694 * xcoffout.c: Likewise.
1695
1696 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1697
1698 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1699 update edge probabilities to match.
1700
1701 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1702
1703 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1704 dependencies.
1705 * doc/languages.texi, doc/sourcebuild.texi: New files.
1706 * doc/configfiles.texi: Make a subsubsection. Update.
1707 * doc/configterms.texi: Add @node. Remove warning that this isn't
1708 instructions for building GCC.
1709 * doc/makefile.texi: Make a subsection.
1710 * doc/gccint.texi: Update.
1711
1712 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1713
1714 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1715
1716 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1717
1718 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1719
1720 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1721
1722 * optabs.c (expand_fix): Look for wider integer modes first.
1723
1724 * i386.md (mov?f): Avoid the fake const double trick for medium
1725 memory model.
1726 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1727 (fop_df_4): Disable for SSE compilation.
1728
1729 2002-01-10 Graham Stott <grahams@redhat.com>
1730
1731 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1732 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1733
1734 2002-01-10 Richard Henderson <rth@redhat.com>
1735
1736 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1737
1738 2002-01-10 Richard Henderson <rth@redhat.com>
1739
1740 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1741 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1742
1743 2002-01-10 Kazu Hirata <kazu@hxi.com>
1744
1745 * combine.c (can_combine_p): Fix a comment typo.
1746
1747 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1748
1749 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1750 empty list correctly. Change loop index $t to $f for
1751 consistency with rest of Makefile.
1752
1753 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1754
1755 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1756 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1757
1758 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1759 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1760 (altivec_init_builtins): Same.
1761 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1762 (altivec_expand_binop_builtin): Same.
1763 (altivec_expand_ternop_builtin): Same.
1764 (bdesc_dst): New.
1765
1766 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1767 ("altivec_vctuxs"): Fix typo.
1768 ("altivec_vnmsubfp"): Same.
1769 ("altivec_dssall"): New.
1770 ("altivec_mfvscr"): New.
1771 ("altivec_dss"): New.
1772 ("altivec_lvsl"): New.
1773 ("altivec_lvsr"): New.
1774 ("altivec_dstt"): New.
1775 ("altivec_dstst"): New.
1776 ("altivec_dststt"): New.
1777 ("altivec_dst"): New.
1778
1779 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1780 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1781
1782 2002-01-09 Richard Henderson <rth@redhat.com>
1783
1784 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1785
1786 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1787
1788 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1789 function.
1790 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1791 prototype.
1792 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1793
1794 2002-01-09 Kazu Hirata <kazu@hxi.com>
1795
1796 * read-rtl.c: Fix formatting.
1797 * real.c: Likewise.
1798 * regclass.c: Likewise.
1799 * regrename.c: Likewise.
1800 * reg-stack.c: Likewise.
1801 * reload1.c: Likewise.
1802 * reload.c: Likewise.
1803 * rtl.c: Likewise.
1804
1805 2002-01-09 Kazu Hirata <kazu@hxi.com>
1806
1807 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1808 to extract items in the expr_list chain.
1809
1810 2002-01-09 Richard Henderson <rth@redhat.com>
1811
1812 * config/vax/vax.c (vax_rtx_cost): Never abort.
1813
1814 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1815
1816 2002-01-09 Jan Hubicka <jh@suse.cz>
1817
1818 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1819
1820 2002-01-09 Richard Henderson <rth@redhat.com>
1821
1822 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1823 Unify code from various alternatives.
1824
1825 2002-01-09 Richard Henderson <rth@redhat.com>
1826
1827 * regrename.c (copy_value): Ignore the copy if the source register
1828 is present in the value chain with a narrower mode.
1829
1830 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1831
1832 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1833 for the c4x target. Also improve layout.
1834
1835 2002-01-09 Richard Henderson <rth@redhat.com>
1836
1837 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1838 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1839 to match insn patterns.
1840
1841 2002-01-09 Richard Henderson <rth@redhat.com>
1842
1843 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1844 (copyprop_hardreg_forward_1): Likewise.
1845
1846 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1847
1848 * pa.md (decrement_and_branch_until_zero): Change predicate for
1849 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1850
1851 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1852
1853 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1854 gets undefined. For Darwin.
1855
1856 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1857
1858 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1859
1860 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1861
1862 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1863
1864 2002-01-08 Richard Henderson <rth@redhat.com>
1865
1866 * regrename.c (copy_value): Ignore overlapping copies.
1867
1868 2002-01-08 Richard Henderson <rth@redhat.com>
1869
1870 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1871 as needed to avoid shared structure.
1872
1873 2002-01-08 Kazu Hirata <kazu@hxi.com>
1874
1875 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1876 H8/300H and H8/S.
1877
1878 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1879
1880 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1881 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1882 documentation of obsolete macros.
1883 * system.h: Poison these macros.
1884 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1885 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1886 config/c4x/c4x.h, config/clipper/clipper.h,
1887 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1888 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1889 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1890 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1891 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1892 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1893 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1894 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1895 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1896 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1897 config/sparc/sparc.h, config/stormy16/stormy16.h,
1898 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1899 definitions and commented out definitions of obsolete macros.
1900 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1901 of MAX_INT_TYPE_SIZE.
1902
1903 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1904
1905 * config/s390/s390.c (s390_preferred_reload_class): Never
1906 return ADDR_REGS if it isn't a subset of the given class.
1907 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1908 FP_REGS, but all superclasses as well.
1909
1910 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1911
1912 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1913 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1914 must not be a const_int.
1915
1916 2002-01-08 Richard Henderson <rth@redhat.com>
1917
1918 * Makefile.in (toplev.o): Depend on options.h.
1919 (gcc.o): Depend on specs.h.
1920
1921 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1922
1923 * expr.c (store_expr): Convert VOIDmode constants back to target's
1924 mode.
1925
1926 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1927
1928 * doc/invoke.texi: Markup gcc as @command. Refer to
1929 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1930 of http://gcc.gnu.org/thanks.html.
1931
1932 2002-01-08 Dale Johannesen <dalej@apple.com>
1933
1934 * config/rs6000/rs6000.md: Add missing int register
1935 target case to movdf_low.
1936
1937 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1938
1939 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1940 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1941 (cppinit.o): Depend on except.h.
1942 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1943 s-specs): New rules.
1944
1945 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1946 Don't create specs.h/options.h/gencheck.h here. Remove
1947 unnecessary variable settings from last argument of AC_OUTPUT.
1948 * config.in, configure: Regenerate.
1949 * intl.c: Hardcode package name as "gcc".
1950
1951 * cppinit.c: Include except.h.
1952 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1953 appropriate.
1954 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1955 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1956 (!)USING_SJLJ_EXCEPTIONS.
1957 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1958
1959 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1960
1961 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1962 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1963 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1964 documentation of obsolete macros.
1965 * system.h: Poison these macros.
1966 * config/d30v/d30v.h, config/ns32k/encore.h,
1967 config/stormy16/stormy16.h: Remove definitions and commented out
1968 definitions of obsolete macros.
1969
1970 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1971
1972 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1973 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1974 warnings.
1975
1976 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1977
1978 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1979 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1980 to insn adjusting stack/frame pointer.
1981 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1982 accept operands that cause the insn to be non-splittable.
1983
1984 2002-01-08 Graham Stott <grahams@redhat.com>
1985
1986 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1987 (C_TYPE_FIELDS_VOLATILE): Likewise.
1988 (C_TYPE_BEING_DEFINED): Likewise.
1989 (C_IS_RESERVED_WORD): Likewise.
1990 (C_TYPE_VARIABLE_SIZE): Likewise.
1991 (C_DECL_VARIABLE_SIZE): Likewise.
1992 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1993 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1994 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1995 parenthesis.
1996 (C_DECL_ANTICIPATED): Likewise.
1997 (c_build_type_variant): Add parenthesis.
1998
1999 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
2000
2001 * gcc.c (option_map): Remove --version.
2002 (process_command): Handle -fversion following the GNU Coding
2003 Standards. Partially addresses PR other/704.
2004
2005 2002-01-08 Graham Stott <grahams@redhat.com>
2006
2007 * combine.c (combine_instructions): Fix typo.
2008
2009 2002-01-08 Graham Stott <grahams@redhat.com>
2010
2011 * debug.h: Use "tree" and "rtx" throughout.
2012
2013 * debug.c: Likewise.
2014
2015 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
2016
2017 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
2018 constant pool, use the pool's version of the symbol instead.
2019
2020 2002-01-07 Richard Henderson <rth@redhat.com>
2021
2022 * regrename.c (find_oldest_value_reg): Ignore the value chain if
2023 the original register was copied in a mode with a fewer number of
2024 hard registers than the desired mode.
2025 (copyprop_hardreg_forward_1): Likewise.
2026 (debug_value_data): Fix loop test.
2027 * toplev.c (parse_options_and_default_flags): Reenable
2028 -fcprop-registers at -O1.
2029
2030 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2031
2032 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
2033 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
2034
2035 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
2036 predicates.
2037
2038 * config/rs6000/rs6000.md: Add altivec predicate patterns.
2039
2040 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2041
2042 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
2043 (pa_output_function_prologue): Output local label at the beginning of
2044 the prologue when profiling.
2045 (hppa_profile_hook): Use the local label rather than the function label.
2046 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
2047
2048 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2049
2050 * config/rs6000/rs6000.c (print_operand): Remove extra space.
2051 (altivec_expand_unop_builtin): Fix thinko.
2052 (altivec_expand_binop_builtin): Same.
2053 (altivec_expand_ternop_builtin): Same.
2054 (altivec_expand_builtin): Same.
2055
2056 2002-01-07 Richard Henderson <rth@redhat.com>
2057
2058 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
2059
2060 2002-01-07 Jason Merrill <jason@redhat.com>
2061
2062 * unwind-dw2.c (execute_cfa_program): Use < again.
2063
2064 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2065
2066 * predict.c (combine_predictions_for_insn): Avoid division by zero.
2067
2068 2002-01-07 Jakub Jelinek <jakub@redhat.com>
2069
2070 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
2071 Don't allow -1 - x -> ~x simplifications in the first pass.
2072
2073 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
2074
2075 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
2076 arguments.
2077 (altivec_expand_binop_builtin): Same.
2078 (altivec_expand_unop_builtin): Same.
2079 (print_operand): Fix typo.
2080 (bdesc_1arg): Add vupk* variants.
2081
2082 * rs6000.h (rs6000_builtins): Add vupk* enums.
2083
2084 * rs6000.md: Add altivec_vupk* variants.
2085
2086 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
2087
2088 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
2089 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
2090 and last update dates.
2091
2092 2002-01-07 Janis Johnson <janis187@us.ibm.com>
2093
2094 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
2095
2096 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2097
2098 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
2099 * config/avr/avr.h (CPP_SPEC): Likewise.
2100 (LINK_SPEC): Likewise.
2101 (CRT_BINUTILS_SPECS): Likewise.
2102 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2103 * doc/invoke.texi (AVR Options): Document them.
2104
2105 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
2106
2107 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
2108 LABEL_NUSES.
2109
2110 2002-01-07 Graham Stott <grahams@redhat.com>
2111
2112 * config/i386/i386.h: Update copyright date.
2113 (HALF_PIC_PTR): Add parenthesis.
2114 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
2115 (CONSTANT_ALIGNMENT): Add parenthesis.
2116 (DATA_ALIGNMENT): Likewise.
2117 (LOCAL_ALIGNMENT): Likewise.
2118 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
2119 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
2120 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
2121 (HARD_REGNO_NREGS): Add paranethesis.
2122 (VALID_SSE_REG_MODE): Whitespace.
2123 (VALID_MMX_REG_MODE): Whitespace.
2124 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
2125 (ix86_hard_regno_mode_ok): Add parenthesis.
2126 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
2127 (RETURN_IN_MEMORY): Whitespace.
2128 (N_REG_CLASSES): Add parenthesis.
2129 (INTEGER_CLASS_P): Add parenthesis and wrap.
2130 (FLOAT_CLASS_P): Likewise.
2131 (SSE_CLASS_P): Likewise.
2132 (MMX_CLASS_P): Likewise.
2133 (MAYBE_INTEGER_CLASS_P): Likewise.
2134 (MAYBE_FLOAT_CLASS_P): Likewise.
2135 (MAYBE_SSE_CLASS_P): Likewise.
2136 (MAYBE_MMX_CLASS_P): Likewise.
2137 (Q_CLASS_P): Likewise.
2138 (GENERAL_REGNO_P): Uppercase macro parameter.
2139 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
2140 (FP_REGNO_P): Likewise.
2141 (ANY_FP_REGNO_P): Uppercase macro parameter.
2142 (SSE_REGNO_P): Likewise.
2143 (SSE_REGNO): Likewise.
2144 (SSE_REG_P): Likewise.
2145 (SSE_FLOAT_MODE_P): Likewise.
2146 (MMX_REGNO_P): Likewise.
2147 (MMX_REG_P):Likewise.
2148 (STACK_REG_P): Likewise.
2149 (NON_STACK_REG_P): Likewise.
2150 (STACK_TOP_P): Likewise.
2151 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
2152 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
2153 (SECONDARY_MEMORY_NEEDED): Likewise.
2154 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
2155 (MD_ASM_CLOBBERS): Whitespace and wrap.
2156 (MUST_PASS_IN_STACK): Whitespace and wrap.
2157 (RETURN_POPS_ARGS): Add parenthesis.
2158 (INIT_CUMULATIVE_ARGS): Likewise.
2159 (FUNCTION_ARG): Likewise.
2160 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
2161 (SETUP_INCOMING_VARARGS): Likewise.
2162 (BUILD_VA_LIST_TYPE): Add parenthesis.
2163 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
2164 parenthsis.
2165 (EXPAND_BUILTIN_VA_ARG): Likewise.
2166 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
2167 (INITIALIZE_TRAMPOLINE): Add parenthesis.
2168 (INITIAL_ELIMINATION_OFFSET): Likewise.
2169 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
2170 (REGNO_OK_FOR_BASE_P): Likewise.
2171 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
2172 (REGNO_OK_FOR_DIREG_P): Likewise.
2173 (REG_OK_FOR_INDEX_P): Whitespace.
2174 (REG_OK_FOR_BASE_P): Whitespace.
2175 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
2176 parenthesis.
2177 (FIND_BASE_TERM): Fix typo.
2178 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
2179 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
2180 (SYMBOLIC_CONST; Whitespace.
2181 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
2182 (ENCODE_SECTION_INFO): Whitespace.
2183 (FINALIZE_PIC): Remove do { ... } while (0).
2184 (PROMOTE_MODE): Wrap in do { ... } while (0).
2185 (CONST_COSTS): Whitespace.
2186 (RTX_COSTS): Add paramethesis, whitespace and wrap.
2187 (REGISTER_MOVE_COST): Add parenthesis.
2188 (MEMORY_MOVE_COST): Likewise.
2189 (EXTRA_CC_MODES): Whitespace.
2190 (SELECT_CC_MODE): Add parenthesis and whitespace.
2191 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
2192 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
2193 (ASM_OUTPUT_LABEL): Add paramethesis.
2194 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
2195 (ASM_OUTPUT_REG_POP): Likewise.
2196 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
2197 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2198
2199 * config/i386/i386.c: Update copyright.
2200 (CHECK_STACK_LIMIT): Add parenthesis.
2201 (AT_BP): Uppercase macro parameter.
2202 (x86_64_int_parameter_registers): Constify.
2203 (x86_64_int_return_registers): Likewise.
2204 (ix86_compare_op0): Use rtx.
2205 (construct_container): Constify INTREG parameter.
2206 (function_arg): Use rtx.
2207
2208 * diagnostic.h: Update copyright date.
2209 (output_buffer_state): Add parenthesis.
2210 (output_buffer_format_args): Likewise.
2211
2212 * combine.c (combine_instructions): Replace XEXP (links, 0)
2213 with link.
2214
2215 2002-01-06 H.J. Lu <hjl@gnu.org>
2216
2217 * cfgcleanup.c (thread_jump): Fix 2 typos.
2218
2219 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
2220
2221 * config.gcc: Add support for --enable-altivec.
2222
2223 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2224
2225 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
2226
2227 2002-01-06 Jakub Jelinek <jakub@redhat.com>
2228
2229 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
2230 __objc_class_name_*.
2231
2232 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
2233
2234 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
2235
2236 2002-01-06 Richard Henderson <rth@redhat.com>
2237
2238 * reorg.c (emit_delay_sequence): Remove death notes, not merely
2239 nop them out. Increment label reference count for REG_LABEL.
2240 (fill_slots_from_thread): Frob label reference count around
2241 delete_related_insns.
2242
2243 2002-01-05 Richard Henderson <rth@redhat.com>
2244
2245 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
2246 jump threading.
2247
2248 2002-01-05 Richard Henderson <rth@redhat.com>
2249
2250 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
2251 * integrate.c (output_inline_function): Likewise.
2252 * toplev.c (rest_of_compilation): Do it here instead. Move call
2253 to remove_unnecessary_notes after emitting abstract instance.
2254 Force an emitted nested function to have its parent emited as well.
2255 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
2256 for null.
2257 (rtl_for_decl_location): Do not look at reload data structures
2258 before reload has run.
2259
2260 2002-01-05 Kazu Hirata <kazu@hxi.com>
2261
2262 * cse.c: Fix formatting.
2263 * dwarf2asm.c: Likewise.
2264 * dwarf2out.c: Likewise.
2265 * explow.c: Likewise.
2266 * expmed.c: Likewise.
2267 * function.c: Likewise.
2268 * gcov.c: Likewise.
2269 * gencheck.c: Likewise.
2270 * genrecog.c: Likewise.
2271 * ggc-common.c: Likewise.
2272 * ggc-page.c: Likewise.
2273 * global.c: Likewise.
2274
2275 2002-01-05 Kazu Hirata <kazu@hxi.com>
2276
2277 * combine.c: Fix formatting.
2278
2279 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
2280
2281 PR middle-end/1557
2282 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
2283
2284 2002-01-05 David Edelsohn <edelsohn@gnu.org>
2285
2286 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
2287 as 1 for __powerpc64__ as well.
2288
2289 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
2290
2291 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
2292 return it.
2293
2294 2002-01-05 Daniel Berlin <dan@dberlin.org>
2295
2296 * lcm.c: Revert change, due to performance regression it causes on
2297 SPEC because it's slightly more conservative (sigh, I hate
2298 edge-based LCM).
2299
2300 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
2301
2302 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
2303
2304 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2305
2306 * doc/cppinternals.texi: Update.
2307
2308 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
2309
2310 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
2311 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
2312 negatives.
2313 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
2314 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
2315 kludge for pre-october-14th mmix versions to handle new-found bug
2316 with PUSHJ/PUSHGO and the register stack.
2317 * config/mmix/mmix.h (struct machine_function): Rename member
2318 has_call_value_without_parameters to has_call_without_parameters.
2319 All referers changed.
2320 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
2321 TARGET_MASK_BRANCH_PREDICT): New macros.
2322 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
2323 -mno-reg-stack-fill-bug-workaround.
2324 * config/mmix/mmix.md ("call"): Set struct machine member
2325 has_call_without_parameters.
2326
2327 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
2328
2329 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
2330
2331 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
2332
2333 * cfgcleanup.c: Include tm_p.h
2334 (mark_effect): Fix handling of hard register; fix handling of SET
2335
2336 2002-01-04 Kazu Hirata <kazu@hxi.com>
2337
2338 * config/h8300/h8300.md (anonymous patterns): Check that
2339 operands are registers before using REGNO on them.
2340
2341 2002-01-03 Roland McGrath <roland@frob.com>
2342
2343 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
2344
2345 2002-01-04 Jakub Jelinek <jakub@redhat.com>
2346
2347 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
2348 * c-common.h (genrtl_expr_stmt_value): Likewise.
2349 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
2350 (expand_expr_stmt_value): Add maybe_last argument.
2351 Don't warn about statement with no effect if it is the last statement
2352 in expression statement.
2353 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
2354 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
2355 expand_expr_stmt_value.
2356 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
2357 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
2358 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
2359 as maybe_last to expand_expr_stmt_value.
2360
2361 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
2362
2363 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
2364 be passed in, do not build it.
2365 (c_begin_if_stmt): New function.
2366 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2367 * c-common.h (c_expand_start_cond): Update prototype.
2368 (c_begin_if_stmt): Prototype new function.
2369 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
2370 * c-parse.in (if_prefix): Use c_begin_if_stmt,
2371 c_begin_while_stmt and c_finish_while_stmt_cond.
2372
2373 2002-01-04 William Cohen <wcohen@redhat.com>
2374
2375 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
2376 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2377 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2378 * config/pa/som.h (ASM_FILE_START): Likewise.
2379
2380 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
2381
2382 * lcm.c: Include df.h.
2383 Add available_transfer_function prototype.
2384 (compute_available): Rework to use iterative dataflow framework.
2385 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
2386 with bb_info in df.h
2387 (available_transfer_function): New function.
2388
2389 * Makefile.in (lcm.o): add df.h to dependencies.
2390
2391 2002-01-04 Richard Henderson <rth@redhat.com>
2392
2393 * config/alpha/alpha.c (some_operand): Accept HIGH.
2394 (input_operand): Likewise; accept simple references to globals.
2395 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
2396 (alpha_const_double_ok_for_letter_p): Likewise.
2397 (alpha_extra_constraint): Likewise.
2398 (alpha_preferred_reload_class): Likewise. Do not force
2399 symbolic constants to memory.
2400 (alpha_legitimate_address_p): Accept simple references
2401 to small_symbolic_operand.
2402 (alpha_legitimize_address): New arg scratch. Be prepared to be
2403 called when no_new_pseudos. Emit simple symbolic references.
2404 Split integers into low, high, and rest.
2405 (alpha_expand_mov): Use alpha_legitimize_address.
2406 (some_small_symbolic_mem_operand): New.
2407 (split_small_symbolic_mem_operand): New.
2408 * config/alpha/alpha-protos.h: Update.
2409 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
2410 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2411 (EXTRA_CONSTRAINT): Likewise.
2412 (PREFERRED_RELOAD_CLASS): Likewise.
2413 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2414 (PREDICATE_CODES): Update.
2415 * config/alpha/alpha.md: New post-reload splitters to convert
2416 simplfied symbolic operands to the form that references $29.
2417 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2418 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2419
2420 2002-01-03 Richard Henderson <rth@redhat.com>
2421
2422 * local-alloc.c (function_invariant_p): Update commentary.
2423
2424 2002-01-04 H.J. Lu <hjl@gnu.org>
2425
2426 * toplev.c (rest_of_compilation): Fix a typo when calling
2427 cleanup_cfg.
2428
2429 2002-01-03 Kazu Hirata <kazu@hxi.com>
2430
2431 * c-common.c: Fix formatting.
2432 * diagnostic.c: Likewise.
2433 * doloop.c: Likewise.
2434 * dwarf2out.c: Likewise.
2435
2436 2002-01-03 Kazu Hirata <kazu@hxi.com>
2437
2438 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2439 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2440
2441 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2442
2443 * cpperror.c: Update comments and copyright.
2444 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2445 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2446
2447 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2448
2449 * collect2.c (main): Use strcmp when testing for "-shared".
2450
2451 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2452
2453 * cppmacro.c: Don't include intl.h. Update comments.
2454 (new_number_token): Allocate enough buffer for 64-bit unsigned
2455 integers; update prototype.
2456 * cppmain.c: Update comments.
2457
2458 2002-01-03 William Cohen <wcohen@redhat.com>
2459
2460 * function.h (struct function): Add profile.
2461 (current_function_profile): New.
2462 doc/extend.texi: Update documentation.
2463 * final.c (final_start_function): Use current_function_profile
2464 instead of profile_flag.
2465 (profile_after_prologue): Likewise.
2466 * function.c (expand_function_start): Likewise.
2467 (expand_function_start): Likewise.
2468 * config/alpha/alpha.c (direct_call_operand):
2469 (alpha_does_function_need_gp): Likewise.
2470 (alpha_expand_prologue): Likewise.
2471 * config/arm/arm.c (arm_expand_prologue): Likewise.
2472 thumb_expand_prologue: Likewise.
2473 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2474 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2475 (fr30_expand_prologue): Likewise.
2476 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2477 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2478 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2479 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2480 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2481 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2482 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2483 (m32r_expand_prologue): Likewise.
2484 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2485 (m88k_expand_prologue): Likewise.
2486 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2487 * config/mips/mips.c (compute_frame_size): Likewise.
2488 (mips_expand_prologue): Likewise.
2489 (mips_can_use_return_insn): Likewise.
2490 * config/pa/elf.h (ASM_FILE_START): Likewise.
2491 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2492 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2493 * config/pa/som.h (ASM_FILE_START): Likewise.
2494 * config/romp/romp.c (romp_using_r14): Likewise.
2495 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2496 (rs6000_stack_info): Likewise.
2497 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2498 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
2499 * config/v850/v850.c (compute_register_save_size): Likewise.
2500
2501 2002-01-03 Jakub Jelinek <jakub@redhat.com>
2502
2503 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2504 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2505
2506 2002-01-03 Turly O'Connor <turly@apple.com>
2507
2508 * darwin.c (machopic_output_possible_stub_label): Don't generate
2509 stub routines for pseudo-stubs which we've just defined.
2510
2511 2002-01-03 Kazu Hirata <kazu@hxi.com>
2512
2513 * builtins.c: Fix formatting.
2514 * c-typeck.c: Likewise.
2515 * combine.c: Likewise.
2516 * expr.c: Likewise.
2517 * loop.c: Likewise.
2518
2519 2002-01-03 Andreas Schwab <schwab@suse.de>
2520
2521 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2522 and return true if _cpp_push_next_buffer pushed a new include
2523 file.
2524 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2525 _cpp_pop_file_buffer did not push a new file.
2526 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2527
2528 2002-01-02 Eric Christopher <echristo@redhat.com>
2529
2530 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2531 FIND_REG_INC_NOTE call. Update copyright.
2532 * loop.c (canonicalize_condition): Ditto.
2533 * reorg.c (delete_scheduled_jump): Ditto.
2534
2535 2002-01-03 Kazu Hirata <kazu@hxi.com>
2536
2537 * gcse.c: Fix formatting.
2538
2539 2002-01-03 Graham Stott <grahams@redhat.com>
2540
2541 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2542 forward defs for struct tags rtx_def, union_tree, rtvec_def
2543 also output corresponding typedefs for rtx, tree, and rtvec.
2544
2545 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2546 rtvec_def along with corresponding typedefs for rtx, tree, and
2547 rtvec to config.h, hconfig.h, tconfig.h.
2548
2549 2002-01-03 Graham Stott <grahams@redhat.com>
2550
2551 * tree.h: Update copyright date.
2552 (IS_EXPR_CODE_CLASS): Add parenthesis.
2553 (TREE_SET_CODE): Add whitespace.
2554 (TREE_CHECK): Add parenthesis.
2555 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2556 (CST_OR_CONSTRUCTOR_CHECK):
2557 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2558 (TREE_SYMBOL_REFERENCED): Whitespace.
2559 (INT_CST_LT): Likewise.
2560 (INT_CST_LT_UNSIGNED): Likewise.
2561 (tree_real_cst): Unwrap comment.
2562 (tree_string): Likewise.
2563 (tree_complex): Likewise.
2564 (IDENTIFIER_POINTER): correct cast.
2565 (SAVE_EXPR_CONTEXT): Whitespace.
2566 (EXPR_WFL_FILENAME_NODE): Likewise.
2567 (EXPR_WFL_FILENAME): Remove parenthesis.
2568 (DECL_ORIGIN): Add parenthesis.
2569 (DECL_FROM_INLINE): Use NULL_TREE.
2570 (build_int_2): Whitespace.
2571 (build_type_variant): Add parenthesis.
2572
2573 * gcc/jcf-parse.c: Update copyright date.
2574 (yyparse): Constify resource_filename.
2575
2576 2002-01-03 Graham Stott <grahams@redhat.com>
2577
2578 * rtl.h: Update copyright date.
2579 (RTL_CHECK1): Wrap long line.
2580 (RTL_CHECK2): Likewise.
2581 (RTL_CHECKC1): Wrap long line and whitespace.
2582 (RTL_CHECKC2): Likewise.
2583 (XWINT): Whitespace.
2584 (XINT): Likewise.
2585 (XSTR): Likewise.
2586 (XEXP): Likewise.
2587 (XVEC): Likewise.
2588 (XMODE): Likewise.
2589 (XBITMAP): Likewise.
2590 (XTREE): Likewise.
2591 (XBBDEF): Likewise.
2592 (XTMPL): Likewise.
2593 (X0WINT): Likewise.
2594 (X0INT):Likewise.
2595 (X0UINT): Likewise.
2596 (X0STR): Likewise.
2597 (X0EXP): Likewise.
2598 (X0VEC): Likewise.
2599 (X0MODE): Likewise.
2600 (X0BITMAP): Likewise.
2601 (X0TREE): Likewise.
2602 (X0BBDEF): Likewise.
2603 (X0ADVFLAGS): Likewise.
2604 (X0CSELIB): Likewise.
2605 (X0MEMATTR): Likewise.
2606 (XCWINT): Likewise.
2607 (XCINT): Likewise.
2608 (XCUINT): Likewise.
2609 (XCSTR): Likewise.
2610 (XCEXP): Likewise.
2611 (XCVEC): Likewise.
2612 (XCMODE): Likewise.
2613 (XCBITMAP): Likewise.
2614 (XCTREE): Likewise.
2615 (XCBBDEF): Likewise.
2616 (XCADVFLAGS): Likewise.
2617 (XCCSELIB): Likewise.
2618 (XC2EXP): Likewise.
2619 (INSN_UID): Likewise.
2620 (PREV_INSN): Likewise.
2621 (PATTERN): Likewise.
2622 (INSN_CODE): Likewise.
2623 (PUT_REG_NOTE_KIND): Likewise.
2624 (CODE_LABEL_NUMBER): Likewise.
2625 (NOTE_SOURCE_FILE): Likewise.
2626 (NOTE_BLOCK): Likewise.
2627 (NOTE_EH_HANDLER): Likewise.
2628 (NOTE_RANGE_INFO): Likewise.
2629 (NOTE_LIVE_INFO): Likewise.
2630 (NOTE_BASIC_BLOCK): Likewise.
2631 (NOTE_EXPECTED_VALUE): Likewise.
2632 (NOTE_LINE_NUMBER): Likewise.
2633 (LABEL_NAME): Likewise.
2634 (LABEL_NUSES): Likewise.
2635 (LABEL_ALTERNATE_NAME): Likewise.
2636 (ADDRESSOF_DECL): Likewise.
2637 (JUMP_LABEL): Likewise.
2638 (LABEL_NEXTREF): Likewise.
2639 (REGNO): Likewise.
2640 (ORIGINAL_REGNO: Likewise.
2641 (HARD_REGISTER_NUM_P): Add parenthesis.
2642 (SUBREG_REG): Whitespace.
2643 (SUBREG_BYTE): Likewise.
2644 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2645 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2646 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2647 (ASM_OPERANDS_INPUT_VEC): Likewise.
2648 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2649 (ASM_OPERANDS_INPUT): Likewise.
2650 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2651 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2652 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2653 (ASM_OPERANDS_INPUT_MODE): Likewise.
2654 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2655 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2656 (MEM_SET_IN_STRUCT_P): Minor reformat.
2657 (TRAP_CONDITION): Whitespace.
2658 (TRAP_CODE): Likewise.
2659 (COND_EXEC_TEST): Likewise.
2660 (COND_EXEC_CODE): Likewise.
2661 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2662 (PHI_NODE_P): Add parenthesis.
2663 (plus_constant): Whitespace and add parenthesis.
2664
2665 2002-01-03 Kazu Hirata <kazu@hxi.com>
2666
2667 * config/avr/avr.c: Fix comment typos.
2668 * config/c4x/c4x.md: Likewise.
2669 * config/dsp16xx/dsp16xx.h: Likewise.
2670 * config/dsp16xx/dsp16xx.md: Likewise.
2671 * config/i386/i386.md: Likewise.
2672 * config/ia64/ia64.c: Likewise.
2673 * config/m32r/m32r.h: Likewise.
2674 * config/m68hc11/m68hc11.md: Likewise.
2675 * config/mmix/mmix.c: Likewise.
2676 * config/mn10200/mn10200.c: Likewise.
2677 * config/romp/romp.c: Likewise.
2678 * config/sh/sh.c: Likewise.
2679 * config/stormy16/stormy16.c: Likewise.
2680 * config/stormy16/stormy16.h: Likewise.
2681 * config/stormy16/stormy16.md: Likewise.
2682
2683 2002-01-03 Graham Stott <grahams@redhat.com>
2684
2685 * loop.h: Update copyright date.
2686 (LOOP_MOVABLES): Fix typo.
2687 (LOOP_REGS): Likewise.
2688 (LOOP_IVS): Likewise.
2689
2690 2002-01-03 Graham Stott <grahams@redhat.com>
2691
2692 * cppinit.c: Update copyright date.
2693 Don't include output.h
2694 * Makefile.in: Update copyright date.
2695 Update dependency.
2696
2697 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2698
2699 PR c/5226
2700 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2701 (-pthread) Add to RS/6000 options.
2702
2703 2002-01-02 Kazu Hirata <kazu@hxi.com>
2704
2705 * except.c: Fix comment typos.
2706 * loop.c: Likewise.
2707 * varasm.c: Likewise.
2708 * doc/tm.texi: Fix a typo.
2709
2710 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2711
2712 * c-typeck.c (output_init_element): Allow initializing static storage
2713 duration objects with compound literals.
2714
2715 2002-01-02 Richard Henderson <rth@redhat.com>
2716
2717 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2718 after abusing it.
2719
2720 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2721
2722 * gcc.c (default_compilers): Const-ify.
2723 * mips-tdump.c (stab_names): Likewise.
2724 * mips-tfile.c (map_coff_types, map_coff_storage,
2725 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2726 pseudo_ops_t, pseudo_ops): Likewise.
2727 * protoize.c (default_include): Likewise
2728
2729 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2730 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2731 Add array size in declaration.
2732 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2733 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2734 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2735 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2736 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2737 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2738 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2739 emtens, make_nan): Const-ify.
2740 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2741 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2742
2743 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2744
2745 * config.gcc (ia64-*-*): Set extra_headers.
2746 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2747 * config/alpha/t-osf: Remove.
2748 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2749
2750 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2751
2752 * config/rs6000/t-aix43: Revert previous change.
2753
2754 2002-01-02 Jason Merrill <jason@redhat.com>
2755
2756 * c-decl.c (c_expand_body): Call outlining_inline_function when
2757 emitting an inline function out of line.
2758
2759 2002-01-02 Richard Henderson <rth@redhat.com>
2760
2761 * dwarf2out.c (limbo_die_node): Add created_for member.
2762 (new_die): New argument created_for. Update all callers.
2763 (mark_limbo_die_list): New.
2764 (dwarf2out_init): Register limbo_die_list as a root.
2765 (dwarf2out_finish): Force insert limbo dies into their function
2766 context.
2767
2768 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2769
2770 PR c++/5089
2771 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2772
2773 2002-01-02 Kazu Hirata <kazu@hxi.com>
2774
2775 * config/h8300/fixunssfsi.c: Update copyright.
2776 Fix comment typos.
2777 Fix formatting.
2778 * config/h8300/h8300.c: Update copyright.
2779 Eliminate warnings.
2780
2781 2002-01-02 Kazu Hirata <kazu@hxi.com>
2782
2783 * config/romp/romp.c: Fix comment formatting.
2784 * config/romp/romp.h: Likewise.
2785 * config/romp/romp.md: Likewise.
2786 * config/s390/s390.c: Likewise.
2787 * config/stormy16/stormy16.c: Likewise.
2788 * config/stormy16/stormy16.h: Likewise.
2789
2790 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2791
2792 * c-common.h (genrtl_expr_stmt_value): Declare.
2793 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2794 (genrtl_goto_stmt_value): ... this new function. Pass new
2795 argument down to expand_expr_stmt_value, taking
2796 TREE_ADDRESSABLE into account.
2797 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2798 STMT_EXPR as addressable, i.e., one whose result we want.
2799 * expr.c (expand_expr): Don't save expression statement value
2800 of labeled_blocks or loop_exprs.
2801 * stmt.c (expand_expr_stmt): Redirect to...
2802 (expand_expr_stmt_value): ... this new function. Use new
2803 argument to tell whether to save expression value.
2804 (expand_end_stmt_expr): Reset last_expr_type and
2805 last_expr_value if we don't have either.
2806 * tree-inline.c (declare_return_variable): Mark its use
2807 statement as addressable.
2808 * tree.h: Document new use of TREE_ADDRESSABLE.
2809 (expand_expr_stmt_value): Declare.
2810
2811 2002-01-01 Tom Rix <trix@redhat.com>
2812
2813 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2814 rs6000_emit_allocate_stack.
2815
2816 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2817
2818 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2819 ${srcdir}/ginclude/ to every entry in extra_headers.
2820 * configure: Regenerate.
2821 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2822 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2823 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2824 * ginclude/proto.h: Rename to config/convex/proto.h.
2825
2826 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2827
2828 * attribs.c (handle_vector_size_attribute): Use host_integerp
2829 and tree_int_cst; remove warnings.
2830 * caller-save.c (insert_restore): Add cast to get rid of warning.
2831 (insert_save): Likewise.
2832 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2833 * regmove.c (find_matches): Add temporary var to kill a warning.
2834
2835 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2836
2837 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2838 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2839 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2840 (vms-dwarf2eh.o): Add Makefile rule.
2841 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2842 * config/alpha/vms-dwarf2eh.asm: New file.
2843
2844 * gcc.c (delete_if_ordinary): Delete all versions.
2845
2846 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2847
2848 * config/mmix/mmix.md: Update FIXME to not mention
2849 define_constants.
2850 (MMIX_rJ_REGNUM): New define_constants constant.
2851 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2852 "*movdicc_real"): Adjust contraints formatting.
2853 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2854 for branch prediction.
2855 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2856 output template.
2857 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2858 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2859 number. Delete related FIXMEs.
2860 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2861 from number to MMIX_rJ_REGNUM.
2862 (TARGET_MASK_BRANCH_PREDICT): New.
2863 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2864 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2865 value. Add -mbranch-predict and -mno-branch-predict.
2866 (TARGET_VERSION): Drop date.
2867 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2868 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2869 for finding out global symbols.
2870 (mmix_asm_output_labelref): Revert condition for global symbol.
2871 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2872 (mmix_print_operand_punct_valid_p): A '+' is valid.
2873
2874 See ChangeLog.6 for earlier changes.
This page took 0.154367 seconds and 5 git commands to generate.