OSDN Git Service

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