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