OSDN Git Service

* diagnostic.h: Update copyright date.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-01-07  Graham Stott  <grahams@redhat.com>
2
3         * diagnostic.h: Update copyright date.
4         (output_buffer_state): Add parenthesis.
5         (output_buffer_format_args): Likewise.
6
7         * combine.c (combine_instructions): Replace XEXP (links, 0)
8         with link.
9
10 2002-01-06  H.J. Lu <hjl@gnu.org>
11
12         * cfgcleanup.c (thread_jump): Fix 2 typos.
13
14 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
15
16         * config.gcc: Add support for --enable-altivec.
17
18 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
19
20         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
21
22 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
23
24         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
25         __objc_class_name_*.
26
27 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
28
29         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
30
31 2002-01-06  Richard Henderson  <rth@redhat.com>
32
33         * reorg.c (emit_delay_sequence): Remove death notes, not merely
34         nop them out.  Increment label reference count for REG_LABEL.
35         (fill_slots_from_thread): Frob label reference count around
36         delete_related_insns.
37
38 2002-01-05  Richard Henderson  <rth@redhat.com>
39
40         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
41         jump threading.
42
43 2002-01-05  Richard Henderson  <rth@redhat.com>
44
45         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
46         * integrate.c (output_inline_function): Likewise.
47         * toplev.c (rest_of_compilation): Do it here instead.  Move call
48         to remove_unnecessary_notes after emitting abstract instance.
49         Force an emitted nested function to have its parent emited as well.
50         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
51         for null.
52         (rtl_for_decl_location): Do not look at reload data structures
53         before reload has run.
54
55 2002-01-05  Kazu Hirata  <kazu@hxi.com>
56
57         * cse.c: Fix formatting.
58         * dwarf2asm.c: Likewise.
59         * dwarf2out.c: Likewise.
60         * explow.c: Likewise.
61         * expmed.c: Likewise.
62         * function.c: Likewise.
63         * gcov.c: Likewise.
64         * gencheck.c: Likewise.
65         * genrecog.c: Likewise.
66         * ggc-common.c: Likewise.
67         * ggc-page.c: Likewise.
68         * global.c: Likewise.
69
70 2002-01-05  Kazu Hirata  <kazu@hxi.com>
71
72         * combine.c: Fix formatting.
73
74 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
75
76         PR middle-end/1557
77         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
78
79 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
80
81         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
82         as 1 for __powerpc64__ as well.
83
84         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
85
86         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
87         return it.
88
89 2002-01-05  Daniel Berlin  <dan@dberlin.org>
90
91         * lcm.c: Revert change, due to performance regression it causes on
92         SPEC because it's slightly more conservative (sigh, I hate
93         edge-based LCM).
94         
95 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
96
97         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
98
99 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
100
101         * doc/cppinternals.texi: Update.
102
103 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
104
105         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
106         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
107         negatives.
108         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
109         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
110         kludge for pre-october-14th mmix versions to handle new-found bug
111         with PUSHJ/PUSHGO and the register stack.
112         * config/mmix/mmix.h (struct machine_function): Rename member
113         has_call_value_without_parameters to has_call_without_parameters.
114         All referers changed.
115         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
116         TARGET_MASK_BRANCH_PREDICT): New macros.
117         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
118         -mno-reg-stack-fill-bug-workaround.
119         * config/mmix/mmix.md ("call"): Set struct machine member
120         has_call_without_parameters.
121
122 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
123
124         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
125
126 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
127
128         * cfgcleanup.c: Include tm_p.h
129         (mark_effect): Fix handling of hard register; fix handling of SET
130
131 2002-01-04  Kazu Hirata  <kazu@hxi.com>
132
133         * config/h8300/h8300.md (anonymous patterns): Check that
134         operands are registers before using REGNO on them.
135
136 2002-01-03  Roland McGrath  <roland@frob.com>
137
138         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
139
140 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
141
142         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
143         * c-common.h (genrtl_expr_stmt_value): Likewise.
144         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
145         (expand_expr_stmt_value): Add maybe_last argument.
146         Don't warn about statement with no effect if it is the last statement
147         in expression statement.
148         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
149         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
150         expand_expr_stmt_value.
151         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
152         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
153         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
154         as maybe_last to expand_expr_stmt_value.
155
156 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
157
158         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
159         be passed in, do not build it.
160         (c_begin_if_stmt): New function.
161         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
162         * c-common.h (c_expand_start_cond): Update prototype.
163         (c_begin_if_stmt): Prototype new function.
164         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
165         * c-parse.in (if_prefix): Use c_begin_if_stmt,
166         c_begin_while_stmt and c_finish_while_stmt_cond.
167
168 2002-01-04  William Cohen  <wcohen@redhat.com>
169
170         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
171         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
172         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
173         * config/pa/som.h (ASM_FILE_START): Likewise.
174
175 2001-01-04  Daniel Berlin  <dan@cgsoftware.com>
176
177         * lcm.c: Include df.h.
178         Add available_transfer_function prototype.
179         (compute_available): Rework to use iterative dataflow framework.
180         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
181         with bb_info in df.h
182         (available_transfer_function): New function.
183
184         * Makefile.in (lcm.o): add df.h to dependencies.
185
186 2002-01-04  Richard Henderson  <rth@redhat.com>
187
188         * config/alpha/alpha.c (some_operand): Accept HIGH.
189         (input_operand): Likewise; accept simple references to globals.
190         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
191         (alpha_const_double_ok_for_letter_p): Likewise.
192         (alpha_extra_constraint): Likewise.
193         (alpha_preferred_reload_class): Likewise.  Do not force
194         symbolic constants to memory.
195         (alpha_legitimate_address_p): Accept simple references
196         to small_symbolic_operand.
197         (alpha_legitimize_address): New arg scratch.  Be prepared to be
198         called when no_new_pseudos.  Emit simple symbolic references.
199         Split integers into low, high, and rest.
200         (alpha_expand_mov): Use alpha_legitimize_address.
201         (some_small_symbolic_mem_operand): New.
202         (split_small_symbolic_mem_operand): New.
203         * config/alpha/alpha-protos.h: Update.
204         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
205         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
206         (EXTRA_CONSTRAINT): Likewise.
207         (PREFERRED_RELOAD_CLASS): Likewise.
208         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
209         (PREDICATE_CODES): Update.
210         * config/alpha/alpha.md: New post-reload splitters to convert
211         simplfied symbolic operands to the form that references $29.
212         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
213         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
214
215 2002-01-03  Richard Henderson  <rth@redhat.com>
216
217         * local-alloc.c (function_invariant_p): Update commentary.
218
219 2002-01-04  H.J. Lu <hjl@gnu.org>
220
221         * toplev.c (rest_of_compilation): Fix a typo when calling
222         cleanup_cfg.
223
224 2002-01-03  Kazu Hirata  <kazu@hxi.com>
225
226         * c-common.c: Fix formatting.
227         * diagnostic.c: Likewise.
228         * doloop.c: Likewise.
229         * dwarf2out.c: Likewise.
230
231 2002-01-03  Kazu Hirata  <kazu@hxi.com>
232
233         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
234         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
235
236 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
237
238         * cpperror.c: Update comments and copyright.
239         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
240         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
241
242 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
243
244         * collect2.c (main): Use strcmp when testing for "-shared".
245
246 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
247
248         * cppmacro.c: Don't include intl.h.  Update comments.
249         (new_number_token): Allocate enough buffer for 64-bit unsigned
250         integers; update prototype.
251         * cppmain.c: Update comments.
252
253 2002-01-03  William Cohen  <wcohen@redhat.com>
254
255         * function.h (struct function): Add profile.
256         (current_function_profile): New.
257         doc/extend.texi: Update documentation.
258         * final.c (final_start_function): Use current_function_profile
259         instead of profile_flag.
260         (profile_after_prologue): Likewise.
261         * function.c (expand_function_start): Likewise.
262         (expand_function_start): Likewise.
263         * config/alpha/alpha.c (direct_call_operand):
264         (alpha_does_function_need_gp): Likewise.
265         (alpha_expand_prologue): Likewise.
266         * config/arm/arm.c (arm_expand_prologue): Likewise.
267         thumb_expand_prologue: Likewise.
268         * config/d30v/d30v.c (d30v_stack_info): Likewise.
269         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
270         (fr30_expand_prologue): Likewise.
271         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
272         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
273         * config/i386/i386.h (FINALIZE_PIC): Likewise.
274         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
275         * config/i960/i960.c (i960_output_function_prologue): Likewise.
276         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
277         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
278         (m32r_expand_prologue): Likewise.
279         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
280         (m88k_expand_prologue): Likewise.
281         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
282         * config/mips/mips.c (compute_frame_size): Likewise.
283         (mips_expand_prologue): Likewise.
284         (mips_can_use_return_insn): Likewise.
285         * config/pa/elf.h (ASM_FILE_START): Likewise.
286         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
287         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
288         * config/pa/som.h (ASM_FILE_START): Likewise.
289         * config/romp/romp.c (romp_using_r14): Likewise.
290         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
291         (rs6000_stack_info): Likewise.
292         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
293         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
294         * config/v850/v850.c (compute_register_save_size): Likewise.
295
296 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
297
298         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
299         gen_lowpart_common fails, use gen_lowpart_SUBREG.
300
301 2002-01-03  Turly O'Connor  <turly@apple.com>
302
303         * darwin.c (machopic_output_possible_stub_label): Don't generate
304         stub routines for pseudo-stubs which we've just defined.
305
306 2002-01-03  Kazu Hirata  <kazu@hxi.com>
307
308         * builtins.c: Fix formatting.
309         * c-typeck.c: Likewise.
310         * combine.c: Likewise.
311         * expr.c: Likewise.
312         * loop.c: Likewise.
313
314 2002-01-03  Andreas Schwab  <schwab@suse.de>
315
316         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
317         and return true if _cpp_push_next_buffer pushed a new include
318         file.
319         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
320         _cpp_pop_file_buffer did not push a new file.
321         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
322
323 2002-01-02  Eric Christopher  <echristo@redhat.com>
324
325         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
326         FIND_REG_INC_NOTE call. Update copyright.
327         * loop.c (canonicalize_condition): Ditto.
328         * reorg.c (delete_scheduled_jump): Ditto.
329
330 2002-01-03  Kazu Hirata  <kazu@hxi.com>
331
332         * gcse.c: Fix formatting.
333
334 2002-01-03  Graham Stott  <grahams@redhat.com>
335
336         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
337         forward defs for struct tags rtx_def, union_tree, rtvec_def
338         also output corresponding typedefs for rtx, tree, and rtvec.
339
340         * system.h: Move forward defs for struct tags rtx_def, union_tree,
341         rtvec_def along with corresponding typedefs for rtx, tree, and
342         rtvec to config.h, hconfig.h, tconfig.h.
343
344 2002-01-03  Graham Stott  <grahams@redhat.com>
345
346         * tree.h: Update copyright date.
347         (IS_EXPR_CODE_CLASS): Add parenthesis.
348         (TREE_SET_CODE): Add whitespace.
349         (TREE_CHECK): Add parenthesis.
350         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
351         (CST_OR_CONSTRUCTOR_CHECK):
352         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
353         (TREE_SYMBOL_REFERENCED): Whitespace.
354         (INT_CST_LT): Likewise.
355         (INT_CST_LT_UNSIGNED): Likewise.
356         (tree_real_cst): Unwrap comment.
357         (tree_string): Likewise.
358         (tree_complex): Likewise.
359         (IDENTIFIER_POINTER): correct cast.
360         (SAVE_EXPR_CONTEXT): Whitespace.
361         (EXPR_WFL_FILENAME_NODE): Likewise.
362         (EXPR_WFL_FILENAME): Remove parenthesis.
363         (DECL_ORIGIN): Add parenthesis.
364         (DECL_FROM_INLINE): Use NULL_TREE.
365         (build_int_2): Whitespace.
366         (build_type_variant): Add parenthesis.
367
368         * gcc/jcf-parse.c: Update copyright date.
369         (yyparse): Constify resource_filename.
370
371 2002-01-03  Graham Stott  <grahams@redhat.com>
372
373         * rtl.h: Update copyright date.
374         (RTL_CHECK1): Wrap long line.
375         (RTL_CHECK2): Likewise.
376         (RTL_CHECKC1): Wrap long line and whitespace.
377         (RTL_CHECKC2): Likewise.
378         (XWINT): Whitespace.
379         (XINT): Likewise.
380         (XSTR): Likewise.
381         (XEXP): Likewise.
382         (XVEC): Likewise.
383         (XMODE): Likewise.
384         (XBITMAP): Likewise.
385         (XTREE): Likewise.
386         (XBBDEF): Likewise.
387         (XTMPL): Likewise.
388         (X0WINT): Likewise.
389         (X0INT):Likewise.
390         (X0UINT): Likewise.
391         (X0STR): Likewise.
392         (X0EXP): Likewise.
393         (X0VEC): Likewise.
394         (X0MODE): Likewise.
395         (X0BITMAP): Likewise.
396         (X0TREE): Likewise.
397         (X0BBDEF): Likewise.
398         (X0ADVFLAGS): Likewise.
399         (X0CSELIB): Likewise.
400         (X0MEMATTR): Likewise.
401         (XCWINT): Likewise.
402         (XCINT): Likewise.
403         (XCUINT): Likewise.
404         (XCSTR): Likewise.
405         (XCEXP): Likewise.
406         (XCVEC): Likewise.
407         (XCMODE): Likewise.
408         (XCBITMAP): Likewise.
409         (XCTREE): Likewise.
410         (XCBBDEF): Likewise.
411         (XCADVFLAGS): Likewise.
412         (XCCSELIB): Likewise.
413         (XC2EXP): Likewise.
414         (INSN_UID): Likewise.
415         (PREV_INSN): Likewise.
416         (PATTERN): Likewise.
417         (INSN_CODE): Likewise.
418         (PUT_REG_NOTE_KIND): Likewise.
419         (CODE_LABEL_NUMBER): Likewise.
420         (NOTE_SOURCE_FILE): Likewise.
421         (NOTE_BLOCK): Likewise.
422         (NOTE_EH_HANDLER): Likewise.
423         (NOTE_RANGE_INFO): Likewise.
424         (NOTE_LIVE_INFO): Likewise.
425         (NOTE_BASIC_BLOCK): Likewise.
426         (NOTE_EXPECTED_VALUE): Likewise.
427         (NOTE_LINE_NUMBER): Likewise.
428         (LABEL_NAME): Likewise.
429         (LABEL_NUSES): Likewise.
430         (LABEL_ALTERNATE_NAME): Likewise.
431         (ADDRESSOF_DECL): Likewise.
432         (JUMP_LABEL): Likewise.
433         (LABEL_NEXTREF): Likewise.
434         (REGNO): Likewise.
435         (ORIGINAL_REGNO: Likewise.
436         (HARD_REGISTER_NUM_P): Add parenthesis.
437         (SUBREG_REG): Whitespace.
438         (SUBREG_BYTE): Likewise.
439         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
440         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
441         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
442         (ASM_OPERANDS_INPUT_VEC): Likewise.
443         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
444         (ASM_OPERANDS_INPUT): Likewise.
445         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
446         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
447         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
448         (ASM_OPERANDS_INPUT_MODE): Likewise.
449         (ASM_OPERANDS_SOURCE_FILE): Likewise.
450         (ASM_OPERANDS_SOURCE_LINE): Likewise.
451         (MEM_SET_IN_STRUCT_P): Minor reformat.
452         (TRAP_CONDITION): Whitespace.
453         (TRAP_CODE): Likewise.
454         (COND_EXEC_TEST): Likewise.
455         (COND_EXEC_CODE): Likewise.
456         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
457         (PHI_NODE_P): Add parenthesis.
458         (plus_constant): Whitespace and add parenthesis.
459
460 2002-01-03  Kazu Hirata  <kazu@hxi.com>
461
462         * config/avr/avr.c: Fix comment typos.
463         * config/c4x/c4x.md: Likewise.
464         * config/dsp16xx/dsp16xx.h: Likewise.
465         * config/dsp16xx/dsp16xx.md: Likewise.
466         * config/i386/i386.md: Likewise.
467         * config/ia64/ia64.c: Likewise.
468         * config/m32r/m32r.h: Likewise.
469         * config/m68hc11/m68hc11.md: Likewise.
470         * config/mmix/mmix.c: Likewise.
471         * config/mn10200/mn10200.c: Likewise.
472         * config/romp/romp.c: Likewise.
473         * config/sh/sh.c: Likewise.
474         * config/stormy16/stormy16.c: Likewise.
475         * config/stormy16/stormy16.h: Likewise.
476         * config/stormy16/stormy16.md: Likewise.
477
478 2002-01-03  Graham Stott  <grahams@redhat.com>
479
480         * loop.h: Update copyright date.
481         (LOOP_MOVABLES): Fix typo.
482         (LOOP_REGS): Likewise.
483         (LOOP_IVS): Likewise.
484
485 2002-01-03  Graham Stott  <grahams@redhat.com>
486
487         * cppinit.c: Update copyright date.
488         Don't include output.h
489         * Makefile.in: Update copyright date.
490         Update dependency.
491
492 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
493
494         PR c/5226
495         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
496         (-pthread) Add to RS/6000 options.
497
498 2002-01-02  Kazu Hirata  <kazu@hxi.com>
499
500         * except.c: Fix comment typos.
501         * loop.c: Likewise.
502         * varasm.c: Likewise.
503         * doc/tm.texi: Fix a typo.
504
505 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
506
507         * c-typeck.c (output_init_element): Allow initializing static storage
508         duration objects with compound literals.
509
510 2002-01-02  Richard Henderson  <rth@redhat.com>
511
512         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
513         after abusing it.
514
515 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
516
517         * gcc.c (default_compilers): Const-ify.
518         * mips-tdump.c (stab_names): Likewise.
519         * mips-tfile.c (map_coff_types, map_coff_storage,
520         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
521         pseudo_ops_t, pseudo_ops): Likewise.
522         * protoize.c (default_include): Likewise
523
524         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
525         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
526         Add array size in declaration.
527         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
528         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
529         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
530         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
531         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
532         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
533         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
534         emtens, make_nan): Const-ify.
535         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
536         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
537
538 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
539
540         * config.gcc (ia64-*-*): Set extra_headers.
541         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
542         * config/alpha/t-osf: Remove.
543         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
544
545 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
546
547         * config/rs6000/t-aix43: Revert previous change.
548
549 2002-01-02  Jason Merrill  <jason@redhat.com>
550
551         * c-decl.c (c_expand_body): Call outlining_inline_function when
552         emitting an inline function out of line.
553
554 2002-01-02  Richard Henderson  <rth@redhat.com>
555
556         * dwarf2out.c (limbo_die_node): Add created_for member.
557         (new_die): New argument created_for.  Update all callers.
558         (mark_limbo_die_list): New.
559         (dwarf2out_init): Register limbo_die_list as a root.
560         (dwarf2out_finish): Force insert limbo dies into their function
561         context.
562
563 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
564
565         PR c++/5089
566         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
567
568 2002-01-02  Kazu Hirata  <kazu@hxi.com>
569
570         * config/h8300/fixunssfsi.c: Update copyright.
571         Fix comment typos.
572         Fix formatting.
573         * config/h8300/h8300.c: Update copyright.
574         Eliminate warnings.
575
576 2002-01-02  Kazu Hirata  <kazu@hxi.com>
577
578         * config/romp/romp.c: Fix comment formatting.
579         * config/romp/romp.h: Likewise.
580         * config/romp/romp.md: Likewise.
581         * config/s390/s390.c: Likewise.
582         * config/stormy16/stormy16.c: Likewise.
583         * config/stormy16/stormy16.h: Likewise.
584
585 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
586
587         * c-common.h (genrtl_expr_stmt_value): Declare.
588         * c-semantics.c (genrtl_goto_stmt): Redirect to...
589         (genrtl_goto_stmt_value): ... this new function.  Pass new
590         argument down to expand_expr_stmt_value, taking
591         TREE_ADDRESSABLE into account.
592         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
593         STMT_EXPR as addressable, i.e., one whose result we want.
594         * expr.c (expand_expr): Don't save expression statement value
595         of labeled_blocks or loop_exprs.
596         * stmt.c (expand_expr_stmt): Redirect to...
597         (expand_expr_stmt_value): ... this new function.  Use new
598         argument to tell whether to save expression value.
599         (expand_end_stmt_expr): Reset last_expr_type and
600         last_expr_value if we don't have either.
601         * tree-inline.c (declare_return_variable): Mark its use
602         statement as addressable.
603         * tree.h: Document new use of TREE_ADDRESSABLE.
604         (expand_expr_stmt_value): Declare.
605
606 2002-01-01  Tom Rix  <trix@redhat.com>
607
608         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
609         rs6000_emit_allocate_stack.
610
611 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
612
613         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
614         ${srcdir}/ginclude/ to every entry in extra_headers.
615         * configure: Regenerate.
616         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
617         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
618         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
619         * ginclude/proto.h: Rename to config/convex/proto.h.
620
621 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
622
623         * attribs.c (handle_vector_size_attribute): Use host_integerp
624         and tree_int_cst; remove warnings.
625         * caller-save.c (insert_restore): Add cast to get rid of warning.
626         (insert_save): Likewise.
627         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
628         * regmove.c (find_matches): Add temporary var to kill a warning.
629
630 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
631
632         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
633         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
634         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
635         (vms-dwarf2eh.o): Add Makefile rule.
636         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
637         * config/alpha/vms-dwarf2eh.asm: New file.
638
639         * gcc.c (delete_if_ordinary): Delete all versions.
640
641 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
642
643         * config/mmix/mmix.md: Update FIXME to not mention
644         define_constants.
645         (MMIX_rJ_REGNUM): New define_constants constant.
646         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
647         "*movdicc_real"): Adjust contraints formatting.
648         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
649         for branch prediction.
650         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
651         output template.
652         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
653         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
654         number.  Delete related FIXMEs.
655         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
656         from number to MMIX_rJ_REGNUM.
657         (TARGET_MASK_BRANCH_PREDICT): New.
658         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
659         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
660         value.  Add -mbranch-predict and -mno-branch-predict.
661         (TARGET_VERSION): Drop date.
662         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
663         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
664         for finding out global symbols.
665         (mmix_asm_output_labelref): Revert condition for global symbol.
666         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
667         (mmix_print_operand_punct_valid_p): A '+' is valid.
668
669 See ChangeLog.6 for earlier changes.