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