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