OSDN Git Service

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