1616019899a61498a04ff657706bacb3375c5946
[gcc.git] / gcc / ChangeLog
1 2002-01-26 Graham Stott <grahams@redhat.com>
2
3 * sched-rgn.c (passed): Use sbitmap_free.
4 (header): Likewise.
5 (inner): Likewise.
6 (in_queue): Likewise.
7 (in_stack): Likewise.
8
9 2002-01-15 Eric Christopher <echristo@redhat.com>
10
11 * flow.c (propagate_one_insn): Change to use fatal_insn.
12
13 2002-01-15 Kazu Hirata <kazu@hxi.com>
14
15 * expmed.c (extract_fixed_bit_field): Remove unused code.
16 * system.h: Poison SLOW_ZERO_EXTEND.
17 * doc/tm.texi: Remove.
18 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
19 * config/arm/arm.h: Likewise.
20 * config/avr/avr.h: Likewise.
21 * config/clipper/clipper.h: Likewise.
22 * config/convex/convex.h: Likewise.
23 * config/d30v/d30v.h: Likewise.
24 * config/dsp16xx/dsp16xx.h: Likewise.
25 * config/elxsi/elxsi.h: Likewise.
26 * config/fr30/fr30.h: Likewise.
27 * config/h8300/h8300.h: Likewise.
28 * config/i370/i370.h: Likewise.
29 * config/i386/i386.h: Likewise.
30 * config/m68k/m68k.h: Likewise.
31 * config/mips/mips.h: Likewise.
32 * config/ns32k/ns32k.h: Likewise.
33 * config/pdp11/pdp11.h: Likewise.
34 * config/pj/pj.h: Likewise.
35 * config/s390/s390.h: Likewise.
36 * config/sh/sh.h: Likewise.
37 * config/stormy16/stormy16.h: Likewise.
38 * config/v850/v850.h: Likewise.
39 * config/vax/vax.h: Likewise.
40 * config/we32k/we32k.h: Likewise.
41
42 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
43
44 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
45 (altivec_lvsl): Change constraint to b.
46 (altivec_lvsr): Same.
47 (altivec_lvebx): Same.
48 (altivec_lvehx): Same.
49 (altivec_lvewx): Same.
50 (altivec_lvxl): Same.
51 (altivec_lvx): Same.
52 (altivec_stvx): Add parallel.
53 (altivec_stvxl): Same.
54 (altivec_stvehx): Same.
55 (altivec_stvebx): Same.
56 (altivec_stvebx): Same.
57
58 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
59
60 * config.gcc: Change altivec.h to altivec-defs.h.
61
62 * config/rs6000/altivec.h: Delete.
63
64 * config/rs6000/altivec-defs.h: Add.
65
66 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
67
68 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
69 and UMOD modes.
70
71 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
72 less than or equal to eight bytes.
73
74 * vax.md (andsi3): Remove constraints and change SET destination
75 operand type to nonimmediate_operand.
76 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
77 when it is a CONST_INT.
78
79 2002-01-15 Jason Merrill <jason@redhat.com>
80
81 * c-common.def (FILE_STMT): New code.
82 * c-common.c (statement_code_p): It's a statement.
83 * c-common.h (stmt_tree_s): Add x_last_filename.
84 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
85 (last_expr_filename): New macro.
86 * c-semantics.c (begin_stmt_tree): Initialize it.
87 (add_stmt): If the filename changed, also insert a
88 FILE_STMT.
89 (expand_stmt): Handle seeing one.
90
91 2002-01-15 Eric Christopher <echristo@redhat.com>
92
93 * flow.c (propagate_one_insn): Add error message and print out
94 insn for debugging.
95
96 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
97
98 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
99 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
100 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
101 TRAMPOLINE_ALIGNMENT.
102 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
103 to be in bits.
104 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
105 PCC_BITFIELD_TYPE_MATTERS.
106 * config/interix.h (STDC_VALUE): Remove. Use
107 STDC_0_IN_SYSTEM_HEADERS.
108 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
109 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
110 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
111
112 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
113
114 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
115 not work on this platform currently.
116
117 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
118
119 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
120 readonly_warning in _().
121
122 2002-01-15 Douglas B Rupp <rupp@gnat.com>
123
124 * gcc.c (delete_if_ordinary): Backout previous change.
125
126 2002-01-15 Kazu Hirata <kazu@hxi.com>
127
128 * config/h8300/h8300.c (print_operand): Remove support for
129 unused operand characters.
130
131 * read-rtl.c: Fix formatting.
132 * real.c: Likewise.
133 * recog.c: Likewise.
134 * regclass.c: Likewise.
135 * regmove.c: Likewise.
136 * reg-stack.c: Likewise.
137 * reload1.c: Likewise.
138 * rtlanal.c: Likewise.
139
140 2002-01-15 Kazu Hirata <kazu@hxi.com>
141
142 * config/i386/i386.c: Fix formatting.
143
144 2002-01-15 Jakub Jelinek <jakub@redhat.com>
145
146 * c-typeck.c (process_init_element): Don't save_expr
147 COMPOUND_LITERAL_EXPR if just its initializer will be used.
148
149 2002-01-15 David Edelsohn <edelsohn@gnu.org>
150
151 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
152 emit optional traceback table if optimize_size or TARGET_ELF.
153 * config/rs6000/rs6000.md (prefetch): New.
154
155 2002-01-15 Andreas Jaeger <aj@suse.de>
156
157 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
158
159 2002-01-15 Kazu Hirata <kazu@hxi.com>
160
161 * mips-tfile.c: Fix formatting.
162
163 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
164
165 * unroll.c (final_reg_note_copy): Fix previous commit.
166
167 2002-01-14 Kazu Hirata <kazu@hxi.com>
168
169 * config/h8300/h8300-protos.h: Remove the prototype for
170 eq_operator.
171 * config/h8300/h8300.c (eq_operator): Remove.
172
173 2002-01-14 Richard Henderson <rth@redhat.com>
174
175 * config/i386/i386.md (prefetch): Tidy.
176 (prefetch_3dnow): Fix locality operand.
177
178 2002-01-14 Richard Henderson <rth@redhat.com>
179
180 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
181 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
182
183 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
184
185 * reload1.c (reload_combine): Pass reg_sum replacement through
186 copy_rtx in loop performing multiple changes.
187
188 2002-01-14 Jakub Jelinek <jakub@redhat.com>
189
190 * except.c (remove_unreachable_regions): New.
191 (free_eh_status): Clear exception_handler_labels.
192 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
193 (find_exception_handler_labels): Don't add the same label more than
194 once.
195 (remove_exception_handler_label): Don't die if
196 find_exception_handler_labels hasn't been called for the current
197 function yet.
198
199 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
200
201 * toplev.c (rest_of_compilation): Rebuild jump labels after
202 gcse.
203
204 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
205
206 * doc/extend.texi: Move documentation of X86 built-in functions
207 here.
208 * doc/invoke.texi: From here.
209 * doc/sourcebuild.texi: Document location of documentation for
210 machine built-in functions.
211
212 2002-01-13 Christopher Faylor <cgf@redhat.com>
213
214 * cppfiles.c (TEST_THRESHOLD): New macro.
215 (SHOULD_MMAP): Ditto.
216 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
217 be used.
218
219 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
220
221 * unroll.c (final_reg_note_copy): Properly handle
222 REG_LABEL
223 (unroll_loops): Fix LOOP_CONDITION heuristics.
224
225 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
226
227 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
228 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
229
230 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
231
232 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
233 threaded loop.
234
235 2002-01-14 Tom Rix <trix@redhat.com>
236
237 * config/rs6000/rs6000.md: Fix typo with sradi.
238
239 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
240
241 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
242 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
243 (clrstrdi, clrstrsi): Adapt callers.
244
245 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
246
247 (movti splitter): Never use register 0 as base register.
248
249 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
250
251 * combine.c (simplify_shift_const): Always generate new rtx
252 for shift expression instead of reusing given expression.
253
254 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
255
256 * config/alpha/alpha.c (alpha_expand_mov): Don't call
257 alpha_legitimize_address unless mode is Pmode.
258
259 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
260
261 * doc/md.texi (Modifiers): Document the '*' constraint for the
262 user.
263
264 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
265 * doc/extend.texi (Function Attributes): 'interrupt' is valid
266 for xstormy16 too.
267
268 2002-01-13 Richard Henderson <rth@redhat.com>
269
270 * reload.c (find_reloads): Use a hard reg destination as reload reg
271 for an input reload of the source.
272
273 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
274
275 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
276 more generic.
277
278 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
279
280 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
281 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
282
283 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
284
285 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
286
287 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
288
289 2002-01-12 Tom Rix <trix@redhat.com>
290
291 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
292 TARGET_POWERPC64.
293
294 2002-01-12 Richard Henderson <rth@redhat.com>
295
296 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
297
298 * doc/invoke.texi: Update Alpha options.
299
300 * doc/invoke.texi: Update i386 built-in function lists.
301
302 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
303
304 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
305 referencing outside.
306
307 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
308
309 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
310 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
311 offsets, and change line folding.
312 * optabs.c (expand_binop): Remove warnings.
313 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
314
315 2002-01-12 Graham Stott <grahams@redhat.com>
316
317 * attribs.c (handle_deprecated_attribute): constify WHAT.
318 * diagnostic.c (warn_deprecated_use): Add braces, fixes
319 dangling else warning and constify WHAT.
320 * except.h (struct function, struct inline_remap): Move
321 struct tag forward defs before all prototypes.
322 (duplicate_eh_regions): Whitespace.
323
324 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
325
326 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
327 MODE_BASE_REG_CLASS.
328 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
329
330 2002-01-12 Richard Henderson <rth@redhat.com>
331
332 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
333 (ix86_expand_vector_move): New.
334 (bdesc_2arg): Remove andps, andnps, orps, xorps.
335 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
336 Remove old prefetch builtins. Special case the logicals removed above.
337 (ix86_expand_builtin): Likewise.
338 (safe_vector_operand): Use V4SFmode, not TImode.
339 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
340 (ix86_expand_timode_binop_builtin): New.
341 * config/i386/i386-protos.h: Update.
342 * config/i386/i386.h (enum ix86_builtins): Update.
343 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
344 Use ix86_expand_vector_move in vector move expanders.
345 (movti_internal, movti_rex64): Add xorps alternative.
346 (sse_clrv4sf): Rename and adjust from sse_clrti.
347 (prefetch): Don't work so hard.
348 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
349 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
350 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
351
352 2002-01-11 Richard Henderson <rth@redhat.com>
353
354 * config/i386/mmintrin.h: New file.
355 * config/i386/xmmintrin.h: New file.
356 * config.gcc (i?86-*-*): Add extra_headers.
357 * simplify-rtx.c (simplify_unary_operation): Handle saturating
358 truncation codes.
359 (simplify_binary_operation): Handle saturating arithmetic codes.
360 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
361 not the lowpart subreg.
362 (ix86_expand_builtin): Return a TImode dummy register instead of 0
363 on error.
364 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
365
366 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
367
368 * conflict.c (conflict_graph_compute): Free regsets when finished.
369 * ssa.c (compute_coalesced_reg_partition): Likewise.
370
371 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
372
373 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
374 every where we allocate a register.
375
376 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
377
378 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
379 * lcm.c (compute_earliest, compute_farthest): Likewise.
380
381 2002-01-11 Janis Johnson <janis187@us.ibm.com>
382
383 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
384
385 2002-01-11 Janis Johnson <janis187@us.ibm.com>
386
387 * doc/rtl.texi (Insns): Fix 2 typos.
388
389 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
390
391 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
392 options. Use @table @gcctabopt for MMIX options. Add index
393 entries for MMIX options. Start new paragraph with first
394 heading of the machine-dependent options.
395
396 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
397
398 PR other/5299
399 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
400 * combine.c (force_to_mode): Same.
401 * reload1.c (clear_reload_reg_in_use): Same.
402
403 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
404
405 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
406 and 'subtargets'.
407
408 2002-01-11 Andreas Jaeger <aj@suse.de>,
409 Brad Lucier <lucier@math.purdue.edu>
410
411 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
412 mcpu.
413
414 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
415
416 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
417 Protect with IN_LIBGCC.
418 (LINK_EH_SPEC): Add required trailing space.
419
420 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
421
422 * c-tree.h: Move function declarations so that they are listed
423 under the filename which contains them.
424 (check_identifier, finish_decl_top_level,
425 lookup_name_current_level_global, shadow_record_fields): Remove.
426
427 2002-01-11 Andreas Jaeger <aj@suse.de>
428
429 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
430 march.
431
432 2002-01-10 Richard Henderson <rth@redhat.com>
433
434 * config/alpha/alpha.c (print_operand): Add 'J'.
435 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
436 new operand with the sequence number for the lituse. When splitting
437 the insns, use gen_movdi_er_high_g and generate a sequence number.
438 (gen_movdi_er_high_g): Print the sequence number if non-zero.
439
440 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
441
442 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
443 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
444 stvxl.
445 (altivec_expand_builtin): Same.
446 (altivec_expand_stv_builtin): New.
447
448 * config/rs6000/rs6000.h (rs6000_builtins): Same.
449
450 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
451 ("altivec_lvehx"): New.
452 ("altivec_lvewx"): New.
453 ("altivec_lvxl"): New.
454 ("altivec_lvx"): New.
455 ("altivec_stvx"): New.
456 ("altivec_stvebx"): New.
457 ("altivec_stvehx"): New.
458 ("altivec_stvewx"): New.
459 ("altivec_stvxl"): New.
460
461 2002-01-10 Richard Henderson <rth@redhat.com>
462
463 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
464 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
465 care not to delete instructions twice.
466
467 2002-01-10 Zack Weinberg <zack@codesourcery.com>
468
469 * toplev.c: Don't declare environ (it's not used anywhere).
470 * configure.in: Don't check for declaration of environ.
471 * config/i386/xm-mingw32.h: Don't #define environ.
472 * config.in, configure: Regenerate.
473
474 2002-01-10 Zack Weinberg <zack@codesourcery.com>
475
476 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
477 * configure: Regenerate.
478
479 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
480 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
481 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
482 alpha/xm-vms.h.
483 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
484 LIMITS_H_TEST here, not in m68k/x-next.
485 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
486 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
487
488 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
489 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
490 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
491
492 * config/i386/x-djgpp: Renamed i386/t-djgpp.
493 * config/m88k/x-dolph: Renamed m88k/t-dolph.
494 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
495 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
496 replacement of quadlib.asm with quadlib.c.
497
498 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
499 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
500 config/rs6000/xm-beos.h: Delete file.
501
502 * config.gcc: Update to match above changes.
503
504 2002-01-10 Kazu Hirata <kazu@hxi.com>
505
506 * config/h8300/h8300.h: Fix comment typos.
507 * config/h8300/h8300.md: Likewise.
508 * config/h8300/lib1funcs.asm: Likewise.
509
510 2002-01-10 Dale Johannesen <dalej@apple.com>
511
512 PR optimization/5269
513 * unroll.c (precondition_loop_p): Make *increment be the correct
514 sign when n_iterations known, to avoid confusing caller.
515
516 2002-01-10 Kazu Hirata <kazu@hxi.com>
517
518 * doc/extend.texi (deprecated): Fix a typo.
519
520 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
521
522 * basic-block.h (update_br_prob_note): Declare.
523 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
524 (try_forward_edges): Care negative frequencies and update note.
525 (outgoing_edges_match): Tweek conditional merging heuristics.
526 (try_crossjump_to_edge): use update_br_prob_note.
527 * cfglayout.c (fixup_reorder_chain): Likewise.
528 * cfrtl.c (update_br_prob_note): New.
529 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
530
531 * i386.c (ix86_decompose_address): Return -1 if address contains
532 shift.
533 (legitimate_address_p): Require ix86_decompose_address to return 1.
534
535 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
536 (cprop_insn): Likewise.
537
538 2002-01-10 Kazu Hirata <kazu@hxi.com>
539
540 * toplev.c: Fix formatting.
541 * tree.c: Likewise.
542 * tree-dump.c: Likewise.
543 * unroll.c: Likewise.
544 * unwind-dw2.c: Likewise.
545 * unwind-dw2-fde.c: Likewise.
546 * unwind-dw2-fde-glibc.c: Likewise.
547 * unwind-sjlj.c: Likewise.
548
549 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
550
551 * doc/invoke.texi: Document PDP-11 options.
552
553 2002-01-10 Kazu Hirata <kazu@hxi.com>
554
555 * config/h8300/h8300.h: Fix formatting.
556
557 2001-01-10 Ira Ruben <ira@apple.com>
558
559 Add __attribute__ ((deprecated)).
560 * extend.texi: Document __attribute__ ((deprecated)).
561 * invoke.texi: Document -Wno-deprecated-declarations.
562 * testsuite/g++.dg/other/deprecated.C: New C++ test.
563 * testsuite/gcc.dg/deprecated.c: New C test.
564 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
565 (c_common_attribute_table): Add "deprecated" entry.
566 (handle_deprecated_attribute): New function.
567 * c-decl.c (deprecated_states): New enum.
568 deprecated_state: State of "deprecated" handling.
569 (start_decl): Set deprecated_state based on attributes.
570 (grokdeclarator): Test for deprecated uses, propagate attribute.
571 * c-typeck.c (build_component_ref): Test for deprecated fields.
572 (build_external_ref): Test for deprecated primaries.
573 * diagnostic.c (warn_deprecated_use) New function to issue
574 warnings about __attribute__ ((depricated)) references.
575 * flags.h (warn_deprecated_decl): Extern declared for
576 -W[no-]deprecated-declarations option.
577 * print-tree.c (print_node): Show deprecated flag status.
578 * toplev.c (warn_deprecated_decl): Defined.
579 (W_options): Added "deprecated-declaration".
580 * toplev.h (warn_deprecated_use): Extern declared.
581 * tree.h (struct tree_common): Define deprecated_flag.
582 (TREE_DEPRECATED): New macro to access flag.
583 * cp/call.c (build_call): Test for deprecated calls.
584 * cp/class.c (add_implicitly_declared_members): Set global
585 flag to tell grokdeclarator to not issue deprecated warnings.
586 * cp/cp-tree.h: Add extern for adding_implicit_members.
587 * cp/decl.c (deprecated_states): New enum.
588 (start_decl): Set deprecated_state based on attributes.
589 (grokdeclarator): Test for deprecated uses, propagate attribute.
590 * cp/lex.c (do_identifier): Test for deprecated primaries.
591 * cp/typeck.c (build_component_ref): Test for deprecated fields.
592
593 2001-01-10 Ira Ruben <ira@apple.com>
594
595 Fix to assign attributes to inline member functions.
596 * cp/decl.c (start_method): Handle attrlist.
597
598 2002-01-10 Kazu Hirata <kazu@hxi.com>
599
600 * combine.c (expand_field_assignment): Use subreg_lsb().
601
602 2002-01-10 David Edelsohn <edelsohn@gnu.org>
603
604 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
605 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
606 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
607 Recurse for any operand of AND as long as constant is non-zero.
608
609 2002-01-10 Kazu Hirata <kazu@hxi.com>
610
611 * config/h8300/h8300.md: Remove constraints from expanders.
612
613 2002-01-10 Kazu Hirata <kazu@hxi.com>
614
615 * varasm.c: Fix formatting.
616 * varray.c: Likewise.
617 * vmsdbgout.c: Likewise.
618 * xcoffout.c: Likewise.
619
620 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
621
622 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
623 update edge probabilities to match.
624
625 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
626
627 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
628 dependencies.
629 * doc/languages.texi, doc/sourcebuild.texi: New files.
630 * doc/configfiles.texi: Make a subsubsection. Update.
631 * doc/configterms.texi: Add @node. Remove warning that this isn't
632 instructions for building GCC.
633 * doc/makefile.texi: Make a subsection.
634 * doc/gccint.texi: Update.
635
636 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
637
638 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
639
640 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
641
642 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
643
644 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
645
646 * optabs.c (expand_fix): Look for wider integer modes first.
647
648 * i386.md (mov?f): Avoid the fake const double trick for medium
649 memory model.
650 (min?f*/max?f*): Prohibit memory operands for i387 variant.
651 (fop_df_4): Disable for SSE compilation.
652
653 2002-01-20 Graham Stott <grahams@redhat.com>
654
655 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
656 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
657
658 2002-01-10 Richard Henderson <rth@redhat.com>
659
660 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
661
662 2002-01-10 Richard Henderson <rth@redhat.com>
663
664 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
665 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
666
667 2002-01-10 Kazu Hirata <kazu@hxi.com>
668
669 * combine.c (can_combine_p): Fix a comment typo.
670
671 2002-01-09 Zack Weinberg <zack@codesourcery.com>
672
673 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
674 empty list correctly. Change loop index $t to $f for
675 consistency with rest of Makefile.
676
677 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
678
679 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
680 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
681
682 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
683 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
684 (altivec_init_builtins): Same.
685 (altivec_expand_unop_builtin): Return NULL_RTX on error.
686 (altivec_expand_binop_builtin): Same.
687 (altivec_expand_ternop_builtin): Same.
688 (bdesc_dst): New.
689
690 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
691 ("altivec_vctuxs"): Fix typo.
692 ("altivec_vnmsubfp"): Same.
693 ("altivec_dssall"): New.
694 ("altivec_mfvscr"): New.
695 ("altivec_dss"): New.
696 ("altivec_lvsl"): New.
697 ("altivec_lvsr"): New.
698 ("altivec_dstt"): New.
699 ("altivec_dstst"): New.
700 ("altivec_dststt"): New.
701 ("altivec_dst"): New.
702
703 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
704 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
705
706 2002-01-09 Richard Henderson <rth@redhat.com>
707
708 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
709
710 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
711
712 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
713 function.
714 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
715 prototype.
716 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
717
718 2002-01-09 Kazu Hirata <kazu@hxi.com>
719
720 * read-rtl.c: Fix formatting.
721 * real.c: Likewise.
722 * regclass.c: Likewise.
723 * regrename.c: Likewise.
724 * reg-stack.c: Likewise.
725 * reload1.c: Likewise.
726 * reload.c: Likewise.
727 * rtl.c: Likewise.
728
729 2002-01-09 Kazu Hirata <kazu@hxi.com>
730
731 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
732 to extract items in the expr_list chain.
733
734 2002-01-09 Richard Henderson <rth@redhat.com>
735
736 * config/vax/vax.c (vax_rtx_cost): Never abort.
737
738 * config/vax/vax.h (REAL_ARITHMETIC): Define.
739
740 2002-01-09 Jan Hubicka <jh@suse.cz>
741
742 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
743
744 2002-01-09 Richard Henderson <rth@redhat.com>
745
746 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
747 Unify code from various alternatives.
748
749 2002-01-09 Richard Henderson <rth@redhat.com>
750
751 * regrename.c (copy_value): Ignore the copy if the source register
752 is present in the value chain with a narrower mode.
753
754 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
755
756 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
757 for the c4x target. Also improve layout.
758
759 2002-01-09 Richard Henderson <rth@redhat.com>
760
761 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
762 * config/m32r/m32r.md (and ior xor splitters): Swap operands
763 to match insn patterns.
764
765 2002-01-09 Richard Henderson <rth@redhat.com>
766
767 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
768 (copyprop_hardreg_forward_1): Likewise.
769
770 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
771
772 * pa.md (decrement_and_branch_until_zero): Change predicate for
773 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
774
775 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
776
777 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
778 gets undefined. For Darwin.
779
780 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
781
782 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
783
784 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
785
786 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
787
788 2002-01-08 Richard Henderson <rth@redhat.com>
789
790 * regrename.c (copy_value): Ignore overlapping copies.
791
792 2002-01-08 Richard Henderson <rth@redhat.com>
793
794 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
795 as needed to avoid shared structure.
796
797 2002-01-08 Kazu Hirata <kazu@hxi.com>
798
799 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
800 H8/300H and H8/S.
801
802 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
803
804 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
805 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
806 documentation of obsolete macros.
807 * system.h: Poison these macros.
808 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
809 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
810 config/c4x/c4x.h, config/clipper/clipper.h,
811 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
812 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
813 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
814 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
815 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
816 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
817 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
818 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
819 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
820 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
821 config/sparc/sparc.h, config/stormy16/stormy16.h,
822 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
823 definitions and commented out definitions of obsolete macros.
824 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
825 of MAX_INT_TYPE_SIZE.
826
827 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
828
829 * config/s390/s390.c (s390_preferred_reload_class): Never
830 return ADDR_REGS if it isn't a subset of the given class.
831 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
832 FP_REGS, but all superclasses as well.
833
834 * config/s390/s390.c (s390_function_profiler): Fix thinko.
835
836 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
837 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
838 must not be a const_int.
839
840 2002-01-08 Richard Henderson <rth@redhat.com>
841
842 * Makefile.in (toplev.o): Depend on options.h.
843 (gcc.o): Depend on specs.h.
844
845 2002-01-08 Jakub Jelinek <jakub@redhat.com>
846
847 * expr.c (store_expr): Convert VOIDmode constants back to target's
848 mode.
849
850 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
851
852 * doc/invoke.texi: Markup gcc as @command. Refer to
853 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
854 of http://gcc.gnu.org/thanks.html.
855
856 2002-01-08 Dale Johannesen <dalej@apple.com>
857
858 * config/rs6000/rs6000.md: Add missing int register
859 target case to movdf_low.
860
861 2002-01-08 Zack Weinberg <zack@codesourcery.com>
862
863 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
864 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
865 (cppinit.o): Depend on except.h.
866 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
867 s-specs): New rules.
868
869 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
870 Don't create specs.h/options.h/gencheck.h here. Remove
871 unnecessary variable settings from last argument of AC_OUTPUT.
872 * config.in, configure: Regenerate.
873 * intl.c: Hardcode package name as "gcc".
874
875 * cppinit.c: Include except.h.
876 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
877 appropriate.
878 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
879 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
880 (!)USING_SJLJ_EXCEPTIONS.
881 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
882
883 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
884
885 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
886 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
887 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
888 documentation of obsolete macros.
889 * system.h: Poison these macros.
890 * config/d30v/d30v.h, config/ns32k/encore.h,
891 config/stormy16/stormy16.h: Remove definitions and commented out
892 definitions of obsolete macros.
893
894 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
895
896 * objc/objc-act.c (handle_class_ref): Mark the declaration of
897 %sobjc_class_ref_%s as used - to prevent unwanted compiler
898 warnings.
899
900 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
901
902 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
903 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
904 to insn adjusting stack/frame pointer.
905 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
906 accept operands that cause the insn to be non-splittable.
907
908 2002-01-08 Graham Stott <grahams@redhat.com>
909
910 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
911 (C_TYPE_FIELDS_VOLATILE): Likewise.
912 (C_TYPE_BEING_DEFINED): Likewise.
913 (C_IS_RESERVED_WORD): Likewise.
914 (C_TYPE_VARIABLE_SIZE): Likewise.
915 (C_DECL_VARIABLE_SIZE): Likewise.
916 (C_MISSING_PROTOTYPE_WARNED): Likewise.
917 (C_SET_EXP_ORIGINAL_CODE): Likewise.
918 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
919 parenthesis.
920 (C_DECL_ANTICIPATED): Likewise.
921 (c_build_type_variant): Add parenthesis.
922
923 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
924
925 * gcc.c (option_map): Remove --version.
926 (process_command): Handle -fversion following the GNU Coding
927 Standards. Partially addresses PR other/704.
928
929 2002-01-08 Graham Stott <grahams@redhat.com>
930
931 * combine.c (combine_instructions): Fix typo.
932
933 2002-01-08 Graham Stott <grahams@redhat.com>
934
935 * debug.h: Use "tree" and "rtx" throughout.
936
937 * debug.c: Likewise.
938
939 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
940
941 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
942 constant pool, use the pool's version of the symbol instead.
943
944 2002-01-07 Richard Henderson <rth@redhat.com>
945
946 * regrename.c (find_oldest_value_reg): Ignore the value chain if
947 the original register was copied in a mode with a fewer number of
948 hard registers than the desired mode.
949 (copyprop_hardreg_forward_1): Likewise.
950 (debug_value_data): Fix loop test.
951 * toplev.c (parse_options_and_default_flags): Reenable
952 -fcprop-registers at -O1.
953
954 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
955
956 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
957 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
958
959 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
960 predicates.
961
962 * config/rs6000/rs6000.md: Add altivec predicate patterns.
963
964 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
965
966 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
967 (pa_output_function_prologue): Output local label at the beginning of
968 the prologue when profiling.
969 (hppa_profile_hook): Use the local label rather than the function label.
970 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
971
972 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
973
974 * config/rs6000/rs6000.c (print_operand): Remove extra space.
975 (altivec_expand_unop_builtin): Fix thinko.
976 (altivec_expand_binop_builtin): Same.
977 (altivec_expand_ternop_builtin): Same.
978 (altivec_expand_builtin): Same.
979
980 2002-01-07 Richard Henderson <rth@redhat.com>
981
982 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
983
984 2002-01-07 Jason Merrill <jason@redhat.com>
985
986 * unwind-dw2.c (execute_cfa_program): Use < again.
987
988 2002-01-07 Jakub Jelinek <jakub@redhat.com>
989
990 * predict.c (combine_predictions_for_insn): Avoid division by zero.
991
992 2002-01-07 Jakub Jelinek <jakub@redhat.com>
993
994 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
995 Don't allow -1 - x -> ~x simplifications in the first pass.
996
997 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
998
999 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1000 arguments.
1001 (altivec_expand_binop_builtin): Same.
1002 (altivec_expand_unop_builtin): Same.
1003 (print_operand): Fix typo.
1004 (bdesc_1arg): Add vupk* variants.
1005
1006 * rs6000.h (rs6000_builtins): Add vupk* enums.
1007
1008 * rs6000.md: Add altivec_vupk* variants.
1009
1010 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1011
1012 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1013 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1014 and last update dates.
1015
1016 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1017
1018 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1019
1020 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1021
1022 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1023 * config/avr/avr.h (CPP_SPEC): Likewise.
1024 (LINK_SPEC): Likewise.
1025 (CRT_BINUTILS_SPECS): Likewise.
1026 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1027 * doc/invoke.texi (AVR Options): Document them.
1028
1029 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1030
1031 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1032 LABEL_NUSES.
1033
1034 2002-01-07 Graham Stott <grahams@redhat.com>
1035
1036 * config/i386/i386.h: Update copyright date.
1037 (HALF_PIC_PTR): Add parenthesis.
1038 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1039 (CONSTANT_ALIGNMENT): Add parenthesis.
1040 (DATA_ALIGNMENT): Likewise.
1041 (LOCAL_ALIGNMENT): Likewise.
1042 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1043 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1044 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1045 (HARD_REGNO_NREGS): Add paranethesis.
1046 (VALID_SSE_REG_MODE): Whitespace.
1047 (VALID_MMX_REG_MODE): Whitespace.
1048 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1049 (ix86_hard_regno_mode_ok): Add parenthesis.
1050 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1051 (RETURN_IN_MEMORY): Whitespace.
1052 (N_REG_CLASSES): Add parenthesis.
1053 (INTEGER_CLASS_P): Add parenthesis and wrap.
1054 (FLOAT_CLASS_P): Likewise.
1055 (SSE_CLASS_P): Likewise.
1056 (MMX_CLASS_P): Likewise.
1057 (MAYBE_INTEGER_CLASS_P): Likewise.
1058 (MAYBE_FLOAT_CLASS_P): Likewise.
1059 (MAYBE_SSE_CLASS_P): Likewise.
1060 (MAYBE_MMX_CLASS_P): Likewise.
1061 (Q_CLASS_P): Likewise.
1062 (GENERAL_REGNO_P): Uppercase macro parameter.
1063 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1064 (FP_REGNO_P): Likewise.
1065 (ANY_FP_REGNO_P): Uppercase macro parameter.
1066 (SSE_REGNO_P): Likewise.
1067 (SSE_REGNO): Likewise.
1068 (SSE_REG_P): Likewise.
1069 (SSE_FLOAT_MODE_P): Likewise.
1070 (MMX_REGNO_P): Likewise.
1071 (MMX_REG_P):Likewise.
1072 (STACK_REG_P): Likewise.
1073 (NON_STACK_REG_P): Likewise.
1074 (STACK_TOP_P): Likewise.
1075 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1076 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1077 (SECONDARY_MEMORY_NEEDED): Likewise.
1078 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1079 (MD_ASM_CLOBBERS): Whitespace and wrap.
1080 (MUST_PASS_IN_STACK): Whitespace and wrap.
1081 (RETURN_POPS_ARGS): Add parenthesis.
1082 (INIT_CUMULATIVE_ARGS): Likewise.
1083 (FUNCTION_ARG): Likewise.
1084 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1085 (SETUP_INCOMING_VARARGS): Likewise.
1086 (BUILD_VA_LIST_TYPE): Add parenthesis.
1087 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1088 parenthsis.
1089 (EXPAND_BUILTIN_VA_ARG): Likewise.
1090 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1091 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1092 (INITIAL_ELIMINATION_OFFSET): Likewise.
1093 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1094 (REGNO_OK_FOR_BASE_P): Likewise.
1095 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1096 (REGNO_OK_FOR_DIREG_P): Likewise.
1097 (REG_OK_FOR_INDEX_P): Whitespace.
1098 (REG_OK_FOR_BASE_P): Whitespace.
1099 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1100 parenthesis.
1101 (FIND_BASE_TERM): Fix typo.
1102 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1103 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1104 (SYMBOLIC_CONST; Whitespace.
1105 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1106 (ENCODE_SECTION_INFO): Whitespace.
1107 (FINALIZE_PIC): Remove do { ... } while (0).
1108 (PROMOTE_MODE): Wrap in do { ... } while (0).
1109 (CONST_COSTS): Whitespace.
1110 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1111 (REGISTER_MOVE_COST): Add parenthesis.
1112 (MEMORY_MOVE_COST): Likewise.
1113 (EXTRA_CC_MODES): Whitespace.
1114 (SELECT_CC_MODE): Add parenthesis and whitespace.
1115 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1116 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1117 (ASM_OUTPUT_LABEL): Add paramethesis.
1118 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1119 (ASM_OUTPUT_REG_POP): Likewise.
1120 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1121 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1122
1123 * config/i386/i386.c: Update copyright.
1124 (CHECK_STACK_LIMIT): Add parenthesis.
1125 (AT_BP): Uppercase macro parameter.
1126 (x86_64_int_parameter_registers): Constify.
1127 (x86_64_int_return_registers): Likewise.
1128 (ix86_compare_op0): Use rtx.
1129 (construct_container): Constify INTREG parameter.
1130 (function_arg): Use rtx.
1131
1132 * diagnostic.h: Update copyright date.
1133 (output_buffer_state): Add parenthesis.
1134 (output_buffer_format_args): Likewise.
1135
1136 * combine.c (combine_instructions): Replace XEXP (links, 0)
1137 with link.
1138
1139 2002-01-06 H.J. Lu <hjl@gnu.org>
1140
1141 * cfgcleanup.c (thread_jump): Fix 2 typos.
1142
1143 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1144
1145 * config.gcc: Add support for --enable-altivec.
1146
1147 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1148
1149 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1150
1151 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1152
1153 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1154 __objc_class_name_*.
1155
1156 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1157
1158 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1159
1160 2002-01-06 Richard Henderson <rth@redhat.com>
1161
1162 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1163 nop them out. Increment label reference count for REG_LABEL.
1164 (fill_slots_from_thread): Frob label reference count around
1165 delete_related_insns.
1166
1167 2002-01-05 Richard Henderson <rth@redhat.com>
1168
1169 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1170 jump threading.
1171
1172 2002-01-05 Richard Henderson <rth@redhat.com>
1173
1174 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1175 * integrate.c (output_inline_function): Likewise.
1176 * toplev.c (rest_of_compilation): Do it here instead. Move call
1177 to remove_unnecessary_notes after emitting abstract instance.
1178 Force an emitted nested function to have its parent emited as well.
1179 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1180 for null.
1181 (rtl_for_decl_location): Do not look at reload data structures
1182 before reload has run.
1183
1184 2002-01-05 Kazu Hirata <kazu@hxi.com>
1185
1186 * cse.c: Fix formatting.
1187 * dwarf2asm.c: Likewise.
1188 * dwarf2out.c: Likewise.
1189 * explow.c: Likewise.
1190 * expmed.c: Likewise.
1191 * function.c: Likewise.
1192 * gcov.c: Likewise.
1193 * gencheck.c: Likewise.
1194 * genrecog.c: Likewise.
1195 * ggc-common.c: Likewise.
1196 * ggc-page.c: Likewise.
1197 * global.c: Likewise.
1198
1199 2002-01-05 Kazu Hirata <kazu@hxi.com>
1200
1201 * combine.c: Fix formatting.
1202
1203 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1204
1205 PR middle-end/1557
1206 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1207
1208 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1209
1210 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1211 as 1 for __powerpc64__ as well.
1212
1213 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1214
1215 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1216 return it.
1217
1218 2002-01-05 Daniel Berlin <dan@dberlin.org>
1219
1220 * lcm.c: Revert change, due to performance regression it causes on
1221 SPEC because it's slightly more conservative (sigh, I hate
1222 edge-based LCM).
1223
1224 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1225
1226 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1227
1228 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1229
1230 * doc/cppinternals.texi: Update.
1231
1232 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1233
1234 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1235 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1236 negatives.
1237 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1238 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1239 kludge for pre-october-14th mmix versions to handle new-found bug
1240 with PUSHJ/PUSHGO and the register stack.
1241 * config/mmix/mmix.h (struct machine_function): Rename member
1242 has_call_value_without_parameters to has_call_without_parameters.
1243 All referers changed.
1244 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1245 TARGET_MASK_BRANCH_PREDICT): New macros.
1246 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1247 -mno-reg-stack-fill-bug-workaround.
1248 * config/mmix/mmix.md ("call"): Set struct machine member
1249 has_call_without_parameters.
1250
1251 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1252
1253 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1254
1255 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1256
1257 * cfgcleanup.c: Include tm_p.h
1258 (mark_effect): Fix handling of hard register; fix handling of SET
1259
1260 2002-01-04 Kazu Hirata <kazu@hxi.com>
1261
1262 * config/h8300/h8300.md (anonymous patterns): Check that
1263 operands are registers before using REGNO on them.
1264
1265 2002-01-03 Roland McGrath <roland@frob.com>
1266
1267 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1268
1269 2002-01-04 Jakub Jelinek <jakub@redhat.com>
1270
1271 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1272 * c-common.h (genrtl_expr_stmt_value): Likewise.
1273 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1274 (expand_expr_stmt_value): Add maybe_last argument.
1275 Don't warn about statement with no effect if it is the last statement
1276 in expression statement.
1277 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
1278 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
1279 expand_expr_stmt_value.
1280 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
1281 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
1282 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
1283 as maybe_last to expand_expr_stmt_value.
1284
1285 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
1286
1287 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
1288 be passed in, do not build it.
1289 (c_begin_if_stmt): New function.
1290 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1291 * c-common.h (c_expand_start_cond): Update prototype.
1292 (c_begin_if_stmt): Prototype new function.
1293 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1294 * c-parse.in (if_prefix): Use c_begin_if_stmt,
1295 c_begin_while_stmt and c_finish_while_stmt_cond.
1296
1297 2002-01-04 William Cohen <wcohen@redhat.com>
1298
1299 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
1300 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1301 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1302 * config/pa/som.h (ASM_FILE_START): Likewise.
1303
1304 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
1305
1306 * lcm.c: Include df.h.
1307 Add available_transfer_function prototype.
1308 (compute_available): Rework to use iterative dataflow framework.
1309 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
1310 with bb_info in df.h
1311 (available_transfer_function): New function.
1312
1313 * Makefile.in (lcm.o): add df.h to dependencies.
1314
1315 2002-01-04 Richard Henderson <rth@redhat.com>
1316
1317 * config/alpha/alpha.c (some_operand): Accept HIGH.
1318 (input_operand): Likewise; accept simple references to globals.
1319 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
1320 (alpha_const_double_ok_for_letter_p): Likewise.
1321 (alpha_extra_constraint): Likewise.
1322 (alpha_preferred_reload_class): Likewise. Do not force
1323 symbolic constants to memory.
1324 (alpha_legitimate_address_p): Accept simple references
1325 to small_symbolic_operand.
1326 (alpha_legitimize_address): New arg scratch. Be prepared to be
1327 called when no_new_pseudos. Emit simple symbolic references.
1328 Split integers into low, high, and rest.
1329 (alpha_expand_mov): Use alpha_legitimize_address.
1330 (some_small_symbolic_mem_operand): New.
1331 (split_small_symbolic_mem_operand): New.
1332 * config/alpha/alpha-protos.h: Update.
1333 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1334 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
1335 (EXTRA_CONSTRAINT): Likewise.
1336 (PREFERRED_RELOAD_CLASS): Likewise.
1337 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
1338 (PREDICATE_CODES): Update.
1339 * config/alpha/alpha.md: New post-reload splitters to convert
1340 simplfied symbolic operands to the form that references $29.
1341 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
1342 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
1343
1344 2002-01-03 Richard Henderson <rth@redhat.com>
1345
1346 * local-alloc.c (function_invariant_p): Update commentary.
1347
1348 2002-01-04 H.J. Lu <hjl@gnu.org>
1349
1350 * toplev.c (rest_of_compilation): Fix a typo when calling
1351 cleanup_cfg.
1352
1353 2002-01-03 Kazu Hirata <kazu@hxi.com>
1354
1355 * c-common.c: Fix formatting.
1356 * diagnostic.c: Likewise.
1357 * doloop.c: Likewise.
1358 * dwarf2out.c: Likewise.
1359
1360 2002-01-03 Kazu Hirata <kazu@hxi.com>
1361
1362 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
1363 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
1364
1365 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1366
1367 * cpperror.c: Update comments and copyright.
1368 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
1369 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
1370
1371 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1372
1373 * collect2.c (main): Use strcmp when testing for "-shared".
1374
1375 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1376
1377 * cppmacro.c: Don't include intl.h. Update comments.
1378 (new_number_token): Allocate enough buffer for 64-bit unsigned
1379 integers; update prototype.
1380 * cppmain.c: Update comments.
1381
1382 2002-01-03 William Cohen <wcohen@redhat.com>
1383
1384 * function.h (struct function): Add profile.
1385 (current_function_profile): New.
1386 doc/extend.texi: Update documentation.
1387 * final.c (final_start_function): Use current_function_profile
1388 instead of profile_flag.
1389 (profile_after_prologue): Likewise.
1390 * function.c (expand_function_start): Likewise.
1391 (expand_function_start): Likewise.
1392 * config/alpha/alpha.c (direct_call_operand):
1393 (alpha_does_function_need_gp): Likewise.
1394 (alpha_expand_prologue): Likewise.
1395 * config/arm/arm.c (arm_expand_prologue): Likewise.
1396 thumb_expand_prologue: Likewise.
1397 * config/d30v/d30v.c (d30v_stack_info): Likewise.
1398 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
1399 (fr30_expand_prologue): Likewise.
1400 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1401 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
1402 * config/i386/i386.h (FINALIZE_PIC): Likewise.
1403 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1404 * config/i960/i960.c (i960_output_function_prologue): Likewise.
1405 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
1406 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
1407 (m32r_expand_prologue): Likewise.
1408 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
1409 (m88k_expand_prologue): Likewise.
1410 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
1411 * config/mips/mips.c (compute_frame_size): Likewise.
1412 (mips_expand_prologue): Likewise.
1413 (mips_can_use_return_insn): Likewise.
1414 * config/pa/elf.h (ASM_FILE_START): Likewise.
1415 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1416 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1417 * config/pa/som.h (ASM_FILE_START): Likewise.
1418 * config/romp/romp.c (romp_using_r14): Likewise.
1419 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1420 (rs6000_stack_info): Likewise.
1421 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1422 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1423 * config/v850/v850.c (compute_register_save_size): Likewise.
1424
1425 2002-01-03 Jakub Jelinek <jakub@redhat.com>
1426
1427 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1428 gen_lowpart_common fails, use gen_lowpart_SUBREG.
1429
1430 2002-01-03 Turly O'Connor <turly@apple.com>
1431
1432 * darwin.c (machopic_output_possible_stub_label): Don't generate
1433 stub routines for pseudo-stubs which we've just defined.
1434
1435 2002-01-03 Kazu Hirata <kazu@hxi.com>
1436
1437 * builtins.c: Fix formatting.
1438 * c-typeck.c: Likewise.
1439 * combine.c: Likewise.
1440 * expr.c: Likewise.
1441 * loop.c: Likewise.
1442
1443 2002-01-03 Andreas Schwab <schwab@suse.de>
1444
1445 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1446 and return true if _cpp_push_next_buffer pushed a new include
1447 file.
1448 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1449 _cpp_pop_file_buffer did not push a new file.
1450 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1451
1452 2002-01-02 Eric Christopher <echristo@redhat.com>
1453
1454 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1455 FIND_REG_INC_NOTE call. Update copyright.
1456 * loop.c (canonicalize_condition): Ditto.
1457 * reorg.c (delete_scheduled_jump): Ditto.
1458
1459 2002-01-03 Kazu Hirata <kazu@hxi.com>
1460
1461 * gcse.c: Fix formatting.
1462
1463 2002-01-03 Graham Stott <grahams@redhat.com>
1464
1465 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1466 forward defs for struct tags rtx_def, union_tree, rtvec_def
1467 also output corresponding typedefs for rtx, tree, and rtvec.
1468
1469 * system.h: Move forward defs for struct tags rtx_def, union_tree,
1470 rtvec_def along with corresponding typedefs for rtx, tree, and
1471 rtvec to config.h, hconfig.h, tconfig.h.
1472
1473 2002-01-03 Graham Stott <grahams@redhat.com>
1474
1475 * tree.h: Update copyright date.
1476 (IS_EXPR_CODE_CLASS): Add parenthesis.
1477 (TREE_SET_CODE): Add whitespace.
1478 (TREE_CHECK): Add parenthesis.
1479 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1480 (CST_OR_CONSTRUCTOR_CHECK):
1481 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1482 (TREE_SYMBOL_REFERENCED): Whitespace.
1483 (INT_CST_LT): Likewise.
1484 (INT_CST_LT_UNSIGNED): Likewise.
1485 (tree_real_cst): Unwrap comment.
1486 (tree_string): Likewise.
1487 (tree_complex): Likewise.
1488 (IDENTIFIER_POINTER): correct cast.
1489 (SAVE_EXPR_CONTEXT): Whitespace.
1490 (EXPR_WFL_FILENAME_NODE): Likewise.
1491 (EXPR_WFL_FILENAME): Remove parenthesis.
1492 (DECL_ORIGIN): Add parenthesis.
1493 (DECL_FROM_INLINE): Use NULL_TREE.
1494 (build_int_2): Whitespace.
1495 (build_type_variant): Add parenthesis.
1496
1497 * gcc/jcf-parse.c: Update copyright date.
1498 (yyparse): Constify resource_filename.
1499
1500 2002-01-03 Graham Stott <grahams@redhat.com>
1501
1502 * rtl.h: Update copyright date.
1503 (RTL_CHECK1): Wrap long line.
1504 (RTL_CHECK2): Likewise.
1505 (RTL_CHECKC1): Wrap long line and whitespace.
1506 (RTL_CHECKC2): Likewise.
1507 (XWINT): Whitespace.
1508 (XINT): Likewise.
1509 (XSTR): Likewise.
1510 (XEXP): Likewise.
1511 (XVEC): Likewise.
1512 (XMODE): Likewise.
1513 (XBITMAP): Likewise.
1514 (XTREE): Likewise.
1515 (XBBDEF): Likewise.
1516 (XTMPL): Likewise.
1517 (X0WINT): Likewise.
1518 (X0INT):Likewise.
1519 (X0UINT): Likewise.
1520 (X0STR): Likewise.
1521 (X0EXP): Likewise.
1522 (X0VEC): Likewise.
1523 (X0MODE): Likewise.
1524 (X0BITMAP): Likewise.
1525 (X0TREE): Likewise.
1526 (X0BBDEF): Likewise.
1527 (X0ADVFLAGS): Likewise.
1528 (X0CSELIB): Likewise.
1529 (X0MEMATTR): Likewise.
1530 (XCWINT): Likewise.
1531 (XCINT): Likewise.
1532 (XCUINT): Likewise.
1533 (XCSTR): Likewise.
1534 (XCEXP): Likewise.
1535 (XCVEC): Likewise.
1536 (XCMODE): Likewise.
1537 (XCBITMAP): Likewise.
1538 (XCTREE): Likewise.
1539 (XCBBDEF): Likewise.
1540 (XCADVFLAGS): Likewise.
1541 (XCCSELIB): Likewise.
1542 (XC2EXP): Likewise.
1543 (INSN_UID): Likewise.
1544 (PREV_INSN): Likewise.
1545 (PATTERN): Likewise.
1546 (INSN_CODE): Likewise.
1547 (PUT_REG_NOTE_KIND): Likewise.
1548 (CODE_LABEL_NUMBER): Likewise.
1549 (NOTE_SOURCE_FILE): Likewise.
1550 (NOTE_BLOCK): Likewise.
1551 (NOTE_EH_HANDLER): Likewise.
1552 (NOTE_RANGE_INFO): Likewise.
1553 (NOTE_LIVE_INFO): Likewise.
1554 (NOTE_BASIC_BLOCK): Likewise.
1555 (NOTE_EXPECTED_VALUE): Likewise.
1556 (NOTE_LINE_NUMBER): Likewise.
1557 (LABEL_NAME): Likewise.
1558 (LABEL_NUSES): Likewise.
1559 (LABEL_ALTERNATE_NAME): Likewise.
1560 (ADDRESSOF_DECL): Likewise.
1561 (JUMP_LABEL): Likewise.
1562 (LABEL_NEXTREF): Likewise.
1563 (REGNO): Likewise.
1564 (ORIGINAL_REGNO: Likewise.
1565 (HARD_REGISTER_NUM_P): Add parenthesis.
1566 (SUBREG_REG): Whitespace.
1567 (SUBREG_BYTE): Likewise.
1568 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1569 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1570 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1571 (ASM_OPERANDS_INPUT_VEC): Likewise.
1572 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1573 (ASM_OPERANDS_INPUT): Likewise.
1574 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1575 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1576 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1577 (ASM_OPERANDS_INPUT_MODE): Likewise.
1578 (ASM_OPERANDS_SOURCE_FILE): Likewise.
1579 (ASM_OPERANDS_SOURCE_LINE): Likewise.
1580 (MEM_SET_IN_STRUCT_P): Minor reformat.
1581 (TRAP_CONDITION): Whitespace.
1582 (TRAP_CODE): Likewise.
1583 (COND_EXEC_TEST): Likewise.
1584 (COND_EXEC_CODE): Likewise.
1585 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1586 (PHI_NODE_P): Add parenthesis.
1587 (plus_constant): Whitespace and add parenthesis.
1588
1589 2002-01-03 Kazu Hirata <kazu@hxi.com>
1590
1591 * config/avr/avr.c: Fix comment typos.
1592 * config/c4x/c4x.md: Likewise.
1593 * config/dsp16xx/dsp16xx.h: Likewise.
1594 * config/dsp16xx/dsp16xx.md: Likewise.
1595 * config/i386/i386.md: Likewise.
1596 * config/ia64/ia64.c: Likewise.
1597 * config/m32r/m32r.h: Likewise.
1598 * config/m68hc11/m68hc11.md: Likewise.
1599 * config/mmix/mmix.c: Likewise.
1600 * config/mn10200/mn10200.c: Likewise.
1601 * config/romp/romp.c: Likewise.
1602 * config/sh/sh.c: Likewise.
1603 * config/stormy16/stormy16.c: Likewise.
1604 * config/stormy16/stormy16.h: Likewise.
1605 * config/stormy16/stormy16.md: Likewise.
1606
1607 2002-01-03 Graham Stott <grahams@redhat.com>
1608
1609 * loop.h: Update copyright date.
1610 (LOOP_MOVABLES): Fix typo.
1611 (LOOP_REGS): Likewise.
1612 (LOOP_IVS): Likewise.
1613
1614 2002-01-03 Graham Stott <grahams@redhat.com>
1615
1616 * cppinit.c: Update copyright date.
1617 Don't include output.h
1618 * Makefile.in: Update copyright date.
1619 Update dependency.
1620
1621 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1622
1623 PR c/5226
1624 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1625 (-pthread) Add to RS/6000 options.
1626
1627 2002-01-02 Kazu Hirata <kazu@hxi.com>
1628
1629 * except.c: Fix comment typos.
1630 * loop.c: Likewise.
1631 * varasm.c: Likewise.
1632 * doc/tm.texi: Fix a typo.
1633
1634 2002-01-02 Jakub Jelinek <jakub@redhat.com>
1635
1636 * c-typeck.c (output_init_element): Allow initializing static storage
1637 duration objects with compound literals.
1638
1639 2002-01-02 Richard Henderson <rth@redhat.com>
1640
1641 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1642 after abusing it.
1643
1644 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1645
1646 * gcc.c (default_compilers): Const-ify.
1647 * mips-tdump.c (stab_names): Likewise.
1648 * mips-tfile.c (map_coff_types, map_coff_storage,
1649 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1650 pseudo_ops_t, pseudo_ops): Likewise.
1651 * protoize.c (default_include): Likewise
1652
1653 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1654 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1655 Add array size in declaration.
1656 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1657 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1658 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1659 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1660 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1661 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1662 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1663 emtens, make_nan): Const-ify.
1664 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1665 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1666
1667 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1668
1669 * config.gcc (ia64-*-*): Set extra_headers.
1670 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1671 * config/alpha/t-osf: Remove.
1672 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1673
1674 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1675
1676 * config/rs6000/t-aix43: Revert previous change.
1677
1678 2002-01-02 Jason Merrill <jason@redhat.com>
1679
1680 * c-decl.c (c_expand_body): Call outlining_inline_function when
1681 emitting an inline function out of line.
1682
1683 2002-01-02 Richard Henderson <rth@redhat.com>
1684
1685 * dwarf2out.c (limbo_die_node): Add created_for member.
1686 (new_die): New argument created_for. Update all callers.
1687 (mark_limbo_die_list): New.
1688 (dwarf2out_init): Register limbo_die_list as a root.
1689 (dwarf2out_finish): Force insert limbo dies into their function
1690 context.
1691
1692 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1693
1694 PR c++/5089
1695 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1696
1697 2002-01-02 Kazu Hirata <kazu@hxi.com>
1698
1699 * config/h8300/fixunssfsi.c: Update copyright.
1700 Fix comment typos.
1701 Fix formatting.
1702 * config/h8300/h8300.c: Update copyright.
1703 Eliminate warnings.
1704
1705 2002-01-02 Kazu Hirata <kazu@hxi.com>
1706
1707 * config/romp/romp.c: Fix comment formatting.
1708 * config/romp/romp.h: Likewise.
1709 * config/romp/romp.md: Likewise.
1710 * config/s390/s390.c: Likewise.
1711 * config/stormy16/stormy16.c: Likewise.
1712 * config/stormy16/stormy16.h: Likewise.
1713
1714 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1715
1716 * c-common.h (genrtl_expr_stmt_value): Declare.
1717 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1718 (genrtl_goto_stmt_value): ... this new function. Pass new
1719 argument down to expand_expr_stmt_value, taking
1720 TREE_ADDRESSABLE into account.
1721 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1722 STMT_EXPR as addressable, i.e., one whose result we want.
1723 * expr.c (expand_expr): Don't save expression statement value
1724 of labeled_blocks or loop_exprs.
1725 * stmt.c (expand_expr_stmt): Redirect to...
1726 (expand_expr_stmt_value): ... this new function. Use new
1727 argument to tell whether to save expression value.
1728 (expand_end_stmt_expr): Reset last_expr_type and
1729 last_expr_value if we don't have either.
1730 * tree-inline.c (declare_return_variable): Mark its use
1731 statement as addressable.
1732 * tree.h: Document new use of TREE_ADDRESSABLE.
1733 (expand_expr_stmt_value): Declare.
1734
1735 2002-01-01 Tom Rix <trix@redhat.com>
1736
1737 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1738 rs6000_emit_allocate_stack.
1739
1740 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1741
1742 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1743 ${srcdir}/ginclude/ to every entry in extra_headers.
1744 * configure: Regenerate.
1745 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1746 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1747 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1748 * ginclude/proto.h: Rename to config/convex/proto.h.
1749
1750 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1751
1752 * attribs.c (handle_vector_size_attribute): Use host_integerp
1753 and tree_int_cst; remove warnings.
1754 * caller-save.c (insert_restore): Add cast to get rid of warning.
1755 (insert_save): Likewise.
1756 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1757 * regmove.c (find_matches): Add temporary var to kill a warning.
1758
1759 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1760
1761 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1762 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1763 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1764 (vms-dwarf2eh.o): Add Makefile rule.
1765 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1766 * config/alpha/vms-dwarf2eh.asm: New file.
1767
1768 * gcc.c (delete_if_ordinary): Delete all versions.
1769
1770 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1771
1772 * config/mmix/mmix.md: Update FIXME to not mention
1773 define_constants.
1774 (MMIX_rJ_REGNUM): New define_constants constant.
1775 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1776 "*movdicc_real"): Adjust contraints formatting.
1777 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1778 for branch prediction.
1779 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1780 output template.
1781 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1782 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1783 number. Delete related FIXMEs.
1784 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1785 from number to MMIX_rJ_REGNUM.
1786 (TARGET_MASK_BRANCH_PREDICT): New.
1787 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1788 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1789 value. Add -mbranch-predict and -mno-branch-predict.
1790 (TARGET_VERSION): Drop date.
1791 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1792 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1793 for finding out global symbols.
1794 (mmix_asm_output_labelref): Revert condition for global symbol.
1795 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1796 (mmix_print_operand_punct_valid_p): A '+' is valid.
1797
1798 See ChangeLog.6 for earlier changes.