OSDN Git Service

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