OSDN Git Service

* read-rtl.c: Fix formatting.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-01-09  Kazu Hirata  <kazu@hxi.com>
2
3         * read-rtl.c: Fix formatting.
4         * real.c: Likewise.
5         * regclass.c: Likewise.
6         * regrename.c: Likewise.
7         * reg-stack.c: Likewise.
8         * reload1.c: Likewise.
9         * reload.c: Likewise.
10         * rtl.c: Likewise.
11
12 2002-01-09  Kazu Hirata  <kazu@hxi.com>
13
14         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
15         to extract items in the expr_list chain.
16
17 2002-01-09  Richard Henderson  <rth@redhat.com>
18
19         * config/vax/vax.c (vax_rtx_cost): Never abort.
20
21         * config/vax/vax.h (REAL_ARITHMETIC): Define.
22
23 2002-01-09  Jan Hubicka  <jh@suse.cz>
24
25         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
26
27 2002-01-09  Richard Henderson  <rth@redhat.com>
28
29         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
30         Unify code from various alternatives.
31
32 2002-01-09  Richard Henderson  <rth@redhat.com>
33
34         * regrename.c (copy_value): Ignore the copy if the source register
35         is present in the value chain with a narrower mode.
36
37 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
38
39         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
40         for the c4x target. Also improve layout.
41
42 2002-01-09  Richard Henderson  <rth@redhat.com>
43
44         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
45         * config/m32r/m32r.md (and ior xor splitters): Swap operands
46         to match insn patterns.
47
48 2002-01-09  Richard Henderson  <rth@redhat.com>
49
50         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
51         (copyprop_hardreg_forward_1): Likewise.
52
53 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
54
55         * pa.md (decrement_and_branch_until_zero): Change predicate for
56         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
57
58 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
59
60         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
61         gets undefined. For Darwin.
62
63 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
64
65         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
66
67 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
68
69         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
70
71 2002-01-08  Richard Henderson  <rth@redhat.com>
72
73         * regrename.c (copy_value): Ignore overlapping copies.
74
75 2002-01-08  Richard Henderson  <rth@redhat.com>
76
77         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
78         as needed to avoid shared structure.
79
80 2002-01-08  Kazu Hirata  <kazu@hxi.com>
81
82         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
83         H8/300H and H8/S.
84
85 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
86
87         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
88         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
89         documentation of obsolete macros.
90         * system.h: Poison these macros.
91         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
92         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
93         config/c4x/c4x.h, config/clipper/clipper.h,
94         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
95         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
96         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
97         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
98         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
99         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
100         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
101         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
102         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
103         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
104         config/sparc/sparc.h, config/stormy16/stormy16.h,
105         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
106         definitions and commented out definitions of obsolete macros.
107         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
108         of MAX_INT_TYPE_SIZE.
109
110 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
111
112         * config/s390/s390.c (s390_preferred_reload_class): Never
113         return ADDR_REGS if it isn't a subset of the given class.
114         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
115         FP_REGS, but all superclasses as well.
116
117         * config/s390/s390.c (s390_function_profiler): Fix thinko.
118
119         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
120         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
121         must not be a const_int.
122
123 2002-01-08  Richard Henderson  <rth@redhat.com>
124
125         * Makefile.in (toplev.o): Depend on options.h.
126         (gcc.o): Depend on specs.h.
127
128 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
129
130         * expr.c (store_expr): Convert VOIDmode constants back to target's
131         mode.
132
133 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
134
135         * doc/invoke.texi: Markup gcc as @command.  Refer to
136         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
137         of http://gcc.gnu.org/thanks.html.
138
139 2002-01-08  Dale Johannesen  <dalej@apple.com>
140
141         * config/rs6000/rs6000.md: Add missing int register
142         target case to movdf_low.
143
144 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
145
146         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
147         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
148         (cppinit.o): Depend on except.h.
149         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
150         s-specs): New rules.
151
152         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
153         Don't create specs.h/options.h/gencheck.h here.  Remove
154         unnecessary variable settings from last argument of AC_OUTPUT.
155         * config.in, configure: Regenerate.
156         * intl.c: Hardcode package name as "gcc".
157
158         * cppinit.c: Include except.h.
159         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
160         appropriate.
161         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
162         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
163         (!)USING_SJLJ_EXCEPTIONS.
164         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
165
166 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
167
168         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
169         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
170         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
171         documentation of obsolete macros.
172         * system.h: Poison these macros.
173         * config/d30v/d30v.h, config/ns32k/encore.h,
174         config/stormy16/stormy16.h: Remove definitions and commented out
175         definitions of obsolete macros.
176
177 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
178
179         * objc/objc-act.c (handle_class_ref): Mark the declaration of
180         %sobjc_class_ref_%s as used - to prevent unwanted compiler
181         warnings.
182
183 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
184
185         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
186         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
187         to insn adjusting stack/frame pointer.
188         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
189         accept operands that cause the insn to be non-splittable.
190
191 2002-01-08  Graham Stott  <grahams@redhat.com>
192
193         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
194         (C_TYPE_FIELDS_VOLATILE): Likewise.
195         (C_TYPE_BEING_DEFINED): Likewise.
196         (C_IS_RESERVED_WORD): Likewise.
197         (C_TYPE_VARIABLE_SIZE): Likewise.
198         (C_DECL_VARIABLE_SIZE): Likewise.
199         (C_MISSING_PROTOTYPE_WARNED): Likewise.
200         (C_SET_EXP_ORIGINAL_CODE): Likewise.
201         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
202         parenthesis.
203         (C_DECL_ANTICIPATED): Likewise.
204         (c_build_type_variant): Add parenthesis.
205
206 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
207
208         * gcc.c (option_map): Remove --version.
209         (process_command): Handle -fversion following the GNU Coding
210         Standards.  Partially addresses PR other/704.
211
212 2002-01-08  Graham Stott  <grahams@redhat.com>
213
214         * combine.c (combine_instructions): Fix typo.
215
216 2002-01-08  Graham Stott  <grahams@redhat.com>
217
218         * debug.h: Use "tree" and "rtx" throughout.
219
220         * debug.c: Likewise.
221
222 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
223
224         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
225         constant pool, use the pool's version of the symbol instead.
226
227 2002-01-07  Richard Henderson  <rth@redhat.com>
228
229         * regrename.c (find_oldest_value_reg): Ignore the value chain if
230         the original register was copied in a mode with a fewer number of
231         hard registers than the desired mode.
232         (copyprop_hardreg_forward_1): Likewise.
233         (debug_value_data): Fix loop test.
234         * toplev.c (parse_options_and_default_flags): Reenable
235         -fcprop-registers at -O1.
236
237 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
238
239         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
240         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
241
242         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
243         predicates.
244
245         * config/rs6000/rs6000.md: Add altivec predicate patterns.
246
247 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
248
249         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
250         (pa_output_function_prologue): Output local label at the beginning of
251         the prologue when profiling.
252         (hppa_profile_hook): Use the local label rather than the function label.
253         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
254
255 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
256
257         * config/rs6000/rs6000.c (print_operand): Remove extra space.
258         (altivec_expand_unop_builtin): Fix thinko.
259         (altivec_expand_binop_builtin): Same.
260         (altivec_expand_ternop_builtin): Same.
261         (altivec_expand_builtin): Same.
262
263 2002-01-07  Richard Henderson  <rth@redhat.com>
264
265         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
266
267 2002-01-07  Jason Merrill  <jason@redhat.com>
268
269         * unwind-dw2.c (execute_cfa_program): Use < again.
270
271 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
272
273         * predict.c (combine_predictions_for_insn): Avoid division by zero.
274
275 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
276
277         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
278         Don't allow -1 - x -> ~x simplifications in the first pass.
279
280 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
281
282         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
283         arguments.
284         (altivec_expand_binop_builtin): Same.
285         (altivec_expand_unop_builtin): Same.
286         (print_operand): Fix typo.
287         (bdesc_1arg): Add vupk* variants.
288
289         * rs6000.h (rs6000_builtins): Add vupk* enums.
290
291         * rs6000.md: Add altivec_vupk* variants.
292
293 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
294
295         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
296         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
297         and last update dates.
298
299 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
300
301         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
302
303 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
304
305         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
306         * config/avr/avr.h (CPP_SPEC): Likewise.
307         (LINK_SPEC): Likewise.
308         (CRT_BINUTILS_SPECS): Likewise.
309         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
310         * doc/invoke.texi (AVR Options): Document them.
311
312 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
313
314         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
315         LABEL_NUSES.
316
317 2002-01-07  Graham Stott  <grahams@redhat.com>
318
319         * config/i386/i386.h: Update copyright date.
320         (HALF_PIC_PTR): Add parenthesis.
321         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
322         (CONSTANT_ALIGNMENT): Add parenthesis.
323         (DATA_ALIGNMENT): Likewise.
324         (LOCAL_ALIGNMENT): Likewise.
325         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
326         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
327         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
328         (HARD_REGNO_NREGS): Add paranethesis.
329         (VALID_SSE_REG_MODE): Whitespace.
330         (VALID_MMX_REG_MODE): Whitespace.
331         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
332         (ix86_hard_regno_mode_ok): Add parenthesis.
333         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
334         (RETURN_IN_MEMORY): Whitespace.
335         (N_REG_CLASSES): Add parenthesis.
336         (INTEGER_CLASS_P): Add parenthesis and wrap.
337         (FLOAT_CLASS_P): Likewise.
338         (SSE_CLASS_P): Likewise.
339         (MMX_CLASS_P): Likewise.
340         (MAYBE_INTEGER_CLASS_P): Likewise.
341         (MAYBE_FLOAT_CLASS_P): Likewise.
342         (MAYBE_SSE_CLASS_P): Likewise.
343         (MAYBE_MMX_CLASS_P): Likewise.
344         (Q_CLASS_P): Likewise.
345         (GENERAL_REGNO_P): Uppercase macro parameter.
346         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
347         (FP_REGNO_P): Likewise.
348         (ANY_FP_REGNO_P): Uppercase macro parameter.
349         (SSE_REGNO_P): Likewise.
350         (SSE_REGNO): Likewise.
351         (SSE_REG_P): Likewise.
352         (SSE_FLOAT_MODE_P): Likewise.
353         (MMX_REGNO_P): Likewise.
354         (MMX_REG_P):Likewise.
355         (STACK_REG_P): Likewise.
356         (NON_STACK_REG_P): Likewise.
357         (STACK_TOP_P): Likewise.
358         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
359         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
360         (SECONDARY_MEMORY_NEEDED): Likewise.
361         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
362         (MD_ASM_CLOBBERS): Whitespace and wrap.
363         (MUST_PASS_IN_STACK): Whitespace and wrap.
364         (RETURN_POPS_ARGS): Add parenthesis.
365         (INIT_CUMULATIVE_ARGS): Likewise.
366         (FUNCTION_ARG): Likewise.
367         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
368         (SETUP_INCOMING_VARARGS): Likewise.
369         (BUILD_VA_LIST_TYPE):  Add parenthesis.
370         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
371         parenthsis.
372         (EXPAND_BUILTIN_VA_ARG): Likewise.
373         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
374         (INITIALIZE_TRAMPOLINE): Add parenthesis.
375         (INITIAL_ELIMINATION_OFFSET): Likewise.
376         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
377         (REGNO_OK_FOR_BASE_P): Likewise.
378         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
379         (REGNO_OK_FOR_DIREG_P): Likewise.
380         (REG_OK_FOR_INDEX_P): Whitespace.
381         (REG_OK_FOR_BASE_P): Whitespace.
382         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
383         parenthesis.
384         (FIND_BASE_TERM): Fix typo.
385         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
386         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
387         (SYMBOLIC_CONST; Whitespace.
388         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
389         (ENCODE_SECTION_INFO): Whitespace.
390         (FINALIZE_PIC): Remove do { ... } while (0).
391         (PROMOTE_MODE): Wrap in do { ... } while (0).
392         (CONST_COSTS): Whitespace.
393         (RTX_COSTS): Add paramethesis, whitespace and wrap.
394         (REGISTER_MOVE_COST): Add parenthesis.
395         (MEMORY_MOVE_COST): Likewise.
396         (EXTRA_CC_MODES): Whitespace.
397         (SELECT_CC_MODE): Add parenthesis and whitespace.
398         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
399         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
400         (ASM_OUTPUT_LABEL): Add paramethesis.
401         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
402         (ASM_OUTPUT_REG_POP): Likewise.
403         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
404         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
405
406         * config/i386/i386.c: Update copyright.
407         (CHECK_STACK_LIMIT): Add parenthesis.
408         (AT_BP): Uppercase macro parameter.
409         (x86_64_int_parameter_registers): Constify.
410         (x86_64_int_return_registers): Likewise.
411         (ix86_compare_op0): Use rtx.
412         (construct_container): Constify INTREG parameter.
413         (function_arg): Use rtx.
414
415         * diagnostic.h: Update copyright date.
416         (output_buffer_state): Add parenthesis.
417         (output_buffer_format_args): Likewise.
418
419         * combine.c (combine_instructions): Replace XEXP (links, 0)
420         with link.
421
422 2002-01-06  H.J. Lu <hjl@gnu.org>
423
424         * cfgcleanup.c (thread_jump): Fix 2 typos.
425
426 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
427
428         * config.gcc: Add support for --enable-altivec.
429
430 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
431
432         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
433
434 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
435
436         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
437         __objc_class_name_*.
438
439 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
440
441         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
442
443 2002-01-06  Richard Henderson  <rth@redhat.com>
444
445         * reorg.c (emit_delay_sequence): Remove death notes, not merely
446         nop them out.  Increment label reference count for REG_LABEL.
447         (fill_slots_from_thread): Frob label reference count around
448         delete_related_insns.
449
450 2002-01-05  Richard Henderson  <rth@redhat.com>
451
452         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
453         jump threading.
454
455 2002-01-05  Richard Henderson  <rth@redhat.com>
456
457         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
458         * integrate.c (output_inline_function): Likewise.
459         * toplev.c (rest_of_compilation): Do it here instead.  Move call
460         to remove_unnecessary_notes after emitting abstract instance.
461         Force an emitted nested function to have its parent emited as well.
462         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
463         for null.
464         (rtl_for_decl_location): Do not look at reload data structures
465         before reload has run.
466
467 2002-01-05  Kazu Hirata  <kazu@hxi.com>
468
469         * cse.c: Fix formatting.
470         * dwarf2asm.c: Likewise.
471         * dwarf2out.c: Likewise.
472         * explow.c: Likewise.
473         * expmed.c: Likewise.
474         * function.c: Likewise.
475         * gcov.c: Likewise.
476         * gencheck.c: Likewise.
477         * genrecog.c: Likewise.
478         * ggc-common.c: Likewise.
479         * ggc-page.c: Likewise.
480         * global.c: Likewise.
481
482 2002-01-05  Kazu Hirata  <kazu@hxi.com>
483
484         * combine.c: Fix formatting.
485
486 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
487
488         PR middle-end/1557
489         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
490
491 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
492
493         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
494         as 1 for __powerpc64__ as well.
495
496         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
497
498         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
499         return it.
500
501 2002-01-05  Daniel Berlin  <dan@dberlin.org>
502
503         * lcm.c: Revert change, due to performance regression it causes on
504         SPEC because it's slightly more conservative (sigh, I hate
505         edge-based LCM).
506
507 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
508
509         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
510
511 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
512
513         * doc/cppinternals.texi: Update.
514
515 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
516
517         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
518         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
519         negatives.
520         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
521         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
522         kludge for pre-october-14th mmix versions to handle new-found bug
523         with PUSHJ/PUSHGO and the register stack.
524         * config/mmix/mmix.h (struct machine_function): Rename member
525         has_call_value_without_parameters to has_call_without_parameters.
526         All referers changed.
527         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
528         TARGET_MASK_BRANCH_PREDICT): New macros.
529         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
530         -mno-reg-stack-fill-bug-workaround.
531         * config/mmix/mmix.md ("call"): Set struct machine member
532         has_call_without_parameters.
533
534 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
535
536         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
537
538 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
539
540         * cfgcleanup.c: Include tm_p.h
541         (mark_effect): Fix handling of hard register; fix handling of SET
542
543 2002-01-04  Kazu Hirata  <kazu@hxi.com>
544
545         * config/h8300/h8300.md (anonymous patterns): Check that
546         operands are registers before using REGNO on them.
547
548 2002-01-03  Roland McGrath  <roland@frob.com>
549
550         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
551
552 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
553
554         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
555         * c-common.h (genrtl_expr_stmt_value): Likewise.
556         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
557         (expand_expr_stmt_value): Add maybe_last argument.
558         Don't warn about statement with no effect if it is the last statement
559         in expression statement.
560         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
561         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
562         expand_expr_stmt_value.
563         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
564         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
565         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
566         as maybe_last to expand_expr_stmt_value.
567
568 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
569
570         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
571         be passed in, do not build it.
572         (c_begin_if_stmt): New function.
573         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
574         * c-common.h (c_expand_start_cond): Update prototype.
575         (c_begin_if_stmt): Prototype new function.
576         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
577         * c-parse.in (if_prefix): Use c_begin_if_stmt,
578         c_begin_while_stmt and c_finish_while_stmt_cond.
579
580 2002-01-04  William Cohen  <wcohen@redhat.com>
581
582         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
583         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
584         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
585         * config/pa/som.h (ASM_FILE_START): Likewise.
586
587 2001-01-04  Daniel Berlin  <dan@cgsoftware.com>
588
589         * lcm.c: Include df.h.
590         Add available_transfer_function prototype.
591         (compute_available): Rework to use iterative dataflow framework.
592         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
593         with bb_info in df.h
594         (available_transfer_function): New function.
595
596         * Makefile.in (lcm.o): add df.h to dependencies.
597
598 2002-01-04  Richard Henderson  <rth@redhat.com>
599
600         * config/alpha/alpha.c (some_operand): Accept HIGH.
601         (input_operand): Likewise; accept simple references to globals.
602         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
603         (alpha_const_double_ok_for_letter_p): Likewise.
604         (alpha_extra_constraint): Likewise.
605         (alpha_preferred_reload_class): Likewise.  Do not force
606         symbolic constants to memory.
607         (alpha_legitimate_address_p): Accept simple references
608         to small_symbolic_operand.
609         (alpha_legitimize_address): New arg scratch.  Be prepared to be
610         called when no_new_pseudos.  Emit simple symbolic references.
611         Split integers into low, high, and rest.
612         (alpha_expand_mov): Use alpha_legitimize_address.
613         (some_small_symbolic_mem_operand): New.
614         (split_small_symbolic_mem_operand): New.
615         * config/alpha/alpha-protos.h: Update.
616         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
617         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
618         (EXTRA_CONSTRAINT): Likewise.
619         (PREFERRED_RELOAD_CLASS): Likewise.
620         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
621         (PREDICATE_CODES): Update.
622         * config/alpha/alpha.md: New post-reload splitters to convert
623         simplfied symbolic operands to the form that references $29.
624         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
625         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
626
627 2002-01-03  Richard Henderson  <rth@redhat.com>
628
629         * local-alloc.c (function_invariant_p): Update commentary.
630
631 2002-01-04  H.J. Lu <hjl@gnu.org>
632
633         * toplev.c (rest_of_compilation): Fix a typo when calling
634         cleanup_cfg.
635
636 2002-01-03  Kazu Hirata  <kazu@hxi.com>
637
638         * c-common.c: Fix formatting.
639         * diagnostic.c: Likewise.
640         * doloop.c: Likewise.
641         * dwarf2out.c: Likewise.
642
643 2002-01-03  Kazu Hirata  <kazu@hxi.com>
644
645         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
646         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
647
648 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
649
650         * cpperror.c: Update comments and copyright.
651         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
652         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
653
654 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
655
656         * collect2.c (main): Use strcmp when testing for "-shared".
657
658 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
659
660         * cppmacro.c: Don't include intl.h.  Update comments.
661         (new_number_token): Allocate enough buffer for 64-bit unsigned
662         integers; update prototype.
663         * cppmain.c: Update comments.
664
665 2002-01-03  William Cohen  <wcohen@redhat.com>
666
667         * function.h (struct function): Add profile.
668         (current_function_profile): New.
669         doc/extend.texi: Update documentation.
670         * final.c (final_start_function): Use current_function_profile
671         instead of profile_flag.
672         (profile_after_prologue): Likewise.
673         * function.c (expand_function_start): Likewise.
674         (expand_function_start): Likewise.
675         * config/alpha/alpha.c (direct_call_operand):
676         (alpha_does_function_need_gp): Likewise.
677         (alpha_expand_prologue): Likewise.
678         * config/arm/arm.c (arm_expand_prologue): Likewise.
679         thumb_expand_prologue: Likewise.
680         * config/d30v/d30v.c (d30v_stack_info): Likewise.
681         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
682         (fr30_expand_prologue): Likewise.
683         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
684         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
685         * config/i386/i386.h (FINALIZE_PIC): Likewise.
686         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
687         * config/i960/i960.c (i960_output_function_prologue): Likewise.
688         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
689         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
690         (m32r_expand_prologue): Likewise.
691         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
692         (m88k_expand_prologue): Likewise.
693         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
694         * config/mips/mips.c (compute_frame_size): Likewise.
695         (mips_expand_prologue): Likewise.
696         (mips_can_use_return_insn): Likewise.
697         * config/pa/elf.h (ASM_FILE_START): Likewise.
698         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
699         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
700         * config/pa/som.h (ASM_FILE_START): Likewise.
701         * config/romp/romp.c (romp_using_r14): Likewise.
702         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
703         (rs6000_stack_info): Likewise.
704         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
705         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
706         * config/v850/v850.c (compute_register_save_size): Likewise.
707
708 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
709
710         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
711         gen_lowpart_common fails, use gen_lowpart_SUBREG.
712
713 2002-01-03  Turly O'Connor  <turly@apple.com>
714
715         * darwin.c (machopic_output_possible_stub_label): Don't generate
716         stub routines for pseudo-stubs which we've just defined.
717
718 2002-01-03  Kazu Hirata  <kazu@hxi.com>
719
720         * builtins.c: Fix formatting.
721         * c-typeck.c: Likewise.
722         * combine.c: Likewise.
723         * expr.c: Likewise.
724         * loop.c: Likewise.
725
726 2002-01-03  Andreas Schwab  <schwab@suse.de>
727
728         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
729         and return true if _cpp_push_next_buffer pushed a new include
730         file.
731         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
732         _cpp_pop_file_buffer did not push a new file.
733         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
734
735 2002-01-02  Eric Christopher  <echristo@redhat.com>
736
737         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
738         FIND_REG_INC_NOTE call. Update copyright.
739         * loop.c (canonicalize_condition): Ditto.
740         * reorg.c (delete_scheduled_jump): Ditto.
741
742 2002-01-03  Kazu Hirata  <kazu@hxi.com>
743
744         * gcse.c: Fix formatting.
745
746 2002-01-03  Graham Stott  <grahams@redhat.com>
747
748         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
749         forward defs for struct tags rtx_def, union_tree, rtvec_def
750         also output corresponding typedefs for rtx, tree, and rtvec.
751
752         * system.h: Move forward defs for struct tags rtx_def, union_tree,
753         rtvec_def along with corresponding typedefs for rtx, tree, and
754         rtvec to config.h, hconfig.h, tconfig.h.
755
756 2002-01-03  Graham Stott  <grahams@redhat.com>
757
758         * tree.h: Update copyright date.
759         (IS_EXPR_CODE_CLASS): Add parenthesis.
760         (TREE_SET_CODE): Add whitespace.
761         (TREE_CHECK): Add parenthesis.
762         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
763         (CST_OR_CONSTRUCTOR_CHECK):
764         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
765         (TREE_SYMBOL_REFERENCED): Whitespace.
766         (INT_CST_LT): Likewise.
767         (INT_CST_LT_UNSIGNED): Likewise.
768         (tree_real_cst): Unwrap comment.
769         (tree_string): Likewise.
770         (tree_complex): Likewise.
771         (IDENTIFIER_POINTER): correct cast.
772         (SAVE_EXPR_CONTEXT): Whitespace.
773         (EXPR_WFL_FILENAME_NODE): Likewise.
774         (EXPR_WFL_FILENAME): Remove parenthesis.
775         (DECL_ORIGIN): Add parenthesis.
776         (DECL_FROM_INLINE): Use NULL_TREE.
777         (build_int_2): Whitespace.
778         (build_type_variant): Add parenthesis.
779
780         * gcc/jcf-parse.c: Update copyright date.
781         (yyparse): Constify resource_filename.
782
783 2002-01-03  Graham Stott  <grahams@redhat.com>
784
785         * rtl.h: Update copyright date.
786         (RTL_CHECK1): Wrap long line.
787         (RTL_CHECK2): Likewise.
788         (RTL_CHECKC1): Wrap long line and whitespace.
789         (RTL_CHECKC2): Likewise.
790         (XWINT): Whitespace.
791         (XINT): Likewise.
792         (XSTR): Likewise.
793         (XEXP): Likewise.
794         (XVEC): Likewise.
795         (XMODE): Likewise.
796         (XBITMAP): Likewise.
797         (XTREE): Likewise.
798         (XBBDEF): Likewise.
799         (XTMPL): Likewise.
800         (X0WINT): Likewise.
801         (X0INT):Likewise.
802         (X0UINT): Likewise.
803         (X0STR): Likewise.
804         (X0EXP): Likewise.
805         (X0VEC): Likewise.
806         (X0MODE): Likewise.
807         (X0BITMAP): Likewise.
808         (X0TREE): Likewise.
809         (X0BBDEF): Likewise.
810         (X0ADVFLAGS): Likewise.
811         (X0CSELIB): Likewise.
812         (X0MEMATTR): Likewise.
813         (XCWINT): Likewise.
814         (XCINT): Likewise.
815         (XCUINT): Likewise.
816         (XCSTR): Likewise.
817         (XCEXP): Likewise.
818         (XCVEC): Likewise.
819         (XCMODE): Likewise.
820         (XCBITMAP): Likewise.
821         (XCTREE): Likewise.
822         (XCBBDEF): Likewise.
823         (XCADVFLAGS): Likewise.
824         (XCCSELIB): Likewise.
825         (XC2EXP): Likewise.
826         (INSN_UID): Likewise.
827         (PREV_INSN): Likewise.
828         (PATTERN): Likewise.
829         (INSN_CODE): Likewise.
830         (PUT_REG_NOTE_KIND): Likewise.
831         (CODE_LABEL_NUMBER): Likewise.
832         (NOTE_SOURCE_FILE): Likewise.
833         (NOTE_BLOCK): Likewise.
834         (NOTE_EH_HANDLER): Likewise.
835         (NOTE_RANGE_INFO): Likewise.
836         (NOTE_LIVE_INFO): Likewise.
837         (NOTE_BASIC_BLOCK): Likewise.
838         (NOTE_EXPECTED_VALUE): Likewise.
839         (NOTE_LINE_NUMBER): Likewise.
840         (LABEL_NAME): Likewise.
841         (LABEL_NUSES): Likewise.
842         (LABEL_ALTERNATE_NAME): Likewise.
843         (ADDRESSOF_DECL): Likewise.
844         (JUMP_LABEL): Likewise.
845         (LABEL_NEXTREF): Likewise.
846         (REGNO): Likewise.
847         (ORIGINAL_REGNO: Likewise.
848         (HARD_REGISTER_NUM_P): Add parenthesis.
849         (SUBREG_REG): Whitespace.
850         (SUBREG_BYTE): Likewise.
851         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
852         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
853         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
854         (ASM_OPERANDS_INPUT_VEC): Likewise.
855         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
856         (ASM_OPERANDS_INPUT): Likewise.
857         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
858         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
859         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
860         (ASM_OPERANDS_INPUT_MODE): Likewise.
861         (ASM_OPERANDS_SOURCE_FILE): Likewise.
862         (ASM_OPERANDS_SOURCE_LINE): Likewise.
863         (MEM_SET_IN_STRUCT_P): Minor reformat.
864         (TRAP_CONDITION): Whitespace.
865         (TRAP_CODE): Likewise.
866         (COND_EXEC_TEST): Likewise.
867         (COND_EXEC_CODE): Likewise.
868         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
869         (PHI_NODE_P): Add parenthesis.
870         (plus_constant): Whitespace and add parenthesis.
871
872 2002-01-03  Kazu Hirata  <kazu@hxi.com>
873
874         * config/avr/avr.c: Fix comment typos.
875         * config/c4x/c4x.md: Likewise.
876         * config/dsp16xx/dsp16xx.h: Likewise.
877         * config/dsp16xx/dsp16xx.md: Likewise.
878         * config/i386/i386.md: Likewise.
879         * config/ia64/ia64.c: Likewise.
880         * config/m32r/m32r.h: Likewise.
881         * config/m68hc11/m68hc11.md: Likewise.
882         * config/mmix/mmix.c: Likewise.
883         * config/mn10200/mn10200.c: Likewise.
884         * config/romp/romp.c: Likewise.
885         * config/sh/sh.c: Likewise.
886         * config/stormy16/stormy16.c: Likewise.
887         * config/stormy16/stormy16.h: Likewise.
888         * config/stormy16/stormy16.md: Likewise.
889
890 2002-01-03  Graham Stott  <grahams@redhat.com>
891
892         * loop.h: Update copyright date.
893         (LOOP_MOVABLES): Fix typo.
894         (LOOP_REGS): Likewise.
895         (LOOP_IVS): Likewise.
896
897 2002-01-03  Graham Stott  <grahams@redhat.com>
898
899         * cppinit.c: Update copyright date.
900         Don't include output.h
901         * Makefile.in: Update copyright date.
902         Update dependency.
903
904 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
905
906         PR c/5226
907         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
908         (-pthread) Add to RS/6000 options.
909
910 2002-01-02  Kazu Hirata  <kazu@hxi.com>
911
912         * except.c: Fix comment typos.
913         * loop.c: Likewise.
914         * varasm.c: Likewise.
915         * doc/tm.texi: Fix a typo.
916
917 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
918
919         * c-typeck.c (output_init_element): Allow initializing static storage
920         duration objects with compound literals.
921
922 2002-01-02  Richard Henderson  <rth@redhat.com>
923
924         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
925         after abusing it.
926
927 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
928
929         * gcc.c (default_compilers): Const-ify.
930         * mips-tdump.c (stab_names): Likewise.
931         * mips-tfile.c (map_coff_types, map_coff_storage,
932         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
933         pseudo_ops_t, pseudo_ops): Likewise.
934         * protoize.c (default_include): Likewise
935
936         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
937         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
938         Add array size in declaration.
939         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
940         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
941         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
942         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
943         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
944         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
945         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
946         emtens, make_nan): Const-ify.
947         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
948         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
949
950 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
951
952         * config.gcc (ia64-*-*): Set extra_headers.
953         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
954         * config/alpha/t-osf: Remove.
955         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
956
957 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
958
959         * config/rs6000/t-aix43: Revert previous change.
960
961 2002-01-02  Jason Merrill  <jason@redhat.com>
962
963         * c-decl.c (c_expand_body): Call outlining_inline_function when
964         emitting an inline function out of line.
965
966 2002-01-02  Richard Henderson  <rth@redhat.com>
967
968         * dwarf2out.c (limbo_die_node): Add created_for member.
969         (new_die): New argument created_for.  Update all callers.
970         (mark_limbo_die_list): New.
971         (dwarf2out_init): Register limbo_die_list as a root.
972         (dwarf2out_finish): Force insert limbo dies into their function
973         context.
974
975 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
976
977         PR c++/5089
978         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
979
980 2002-01-02  Kazu Hirata  <kazu@hxi.com>
981
982         * config/h8300/fixunssfsi.c: Update copyright.
983         Fix comment typos.
984         Fix formatting.
985         * config/h8300/h8300.c: Update copyright.
986         Eliminate warnings.
987
988 2002-01-02  Kazu Hirata  <kazu@hxi.com>
989
990         * config/romp/romp.c: Fix comment formatting.
991         * config/romp/romp.h: Likewise.
992         * config/romp/romp.md: Likewise.
993         * config/s390/s390.c: Likewise.
994         * config/stormy16/stormy16.c: Likewise.
995         * config/stormy16/stormy16.h: Likewise.
996
997 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
998
999         * c-common.h (genrtl_expr_stmt_value): Declare.
1000         * c-semantics.c (genrtl_goto_stmt): Redirect to...
1001         (genrtl_goto_stmt_value): ... this new function.  Pass new
1002         argument down to expand_expr_stmt_value, taking
1003         TREE_ADDRESSABLE into account.
1004         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1005         STMT_EXPR as addressable, i.e., one whose result we want.
1006         * expr.c (expand_expr): Don't save expression statement value
1007         of labeled_blocks or loop_exprs.
1008         * stmt.c (expand_expr_stmt): Redirect to...
1009         (expand_expr_stmt_value): ... this new function.  Use new
1010         argument to tell whether to save expression value.
1011         (expand_end_stmt_expr): Reset last_expr_type and
1012         last_expr_value if we don't have either.
1013         * tree-inline.c (declare_return_variable): Mark its use
1014         statement as addressable.
1015         * tree.h: Document new use of TREE_ADDRESSABLE.
1016         (expand_expr_stmt_value): Declare.
1017
1018 2002-01-01  Tom Rix  <trix@redhat.com>
1019
1020         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1021         rs6000_emit_allocate_stack.
1022
1023 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
1024
1025         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1026         ${srcdir}/ginclude/ to every entry in extra_headers.
1027         * configure: Regenerate.
1028         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1029         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1030         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1031         * ginclude/proto.h: Rename to config/convex/proto.h.
1032
1033 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1034
1035         * attribs.c (handle_vector_size_attribute): Use host_integerp
1036         and tree_int_cst; remove warnings.
1037         * caller-save.c (insert_restore): Add cast to get rid of warning.
1038         (insert_save): Likewise.
1039         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1040         * regmove.c (find_matches): Add temporary var to kill a warning.
1041
1042 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
1043
1044         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1045         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1046         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1047         (vms-dwarf2eh.o): Add Makefile rule.
1048         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1049         * config/alpha/vms-dwarf2eh.asm: New file.
1050
1051         * gcc.c (delete_if_ordinary): Delete all versions.
1052
1053 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
1054
1055         * config/mmix/mmix.md: Update FIXME to not mention
1056         define_constants.
1057         (MMIX_rJ_REGNUM): New define_constants constant.
1058         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1059         "*movdicc_real"): Adjust contraints formatting.
1060         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1061         for branch prediction.
1062         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1063         output template.
1064         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1065         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1066         number.  Delete related FIXMEs.
1067         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1068         from number to MMIX_rJ_REGNUM.
1069         (TARGET_MASK_BRANCH_PREDICT): New.
1070         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1071         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
1072         value.  Add -mbranch-predict and -mno-branch-predict.
1073         (TARGET_VERSION): Drop date.
1074         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1075         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1076         for finding out global symbols.
1077         (mmix_asm_output_labelref): Revert condition for global symbol.
1078         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1079         (mmix_print_operand_punct_valid_p): A '+' is valid.
1080
1081 See ChangeLog.6 for earlier changes.