OSDN Git Service

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