OSDN Git Service

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