OSDN Git Service

2001-11-09 H.J. Lu <hjl@gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-11-09  H.J. Lu <hjl@gnu.org>
2
3         * config/mips/mips.c (mips_output_function_prologues): Cast
4         `tsize' to long for output.
5
6 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
7
8         * c-lang.c (LANG_HOOKS_NAME): New.
9         (lang_hooks): Constify.
10         (c_init_options): Update.
11         (lang_identify): Remove.
12         * c-parse.in (language_string): Remove.
13         * dbxout.c: Include langhooks.h.
14         (dbxout_symbol_location): Update.
15         * dwarf2out.c: Include langhooks.h.
16         (gen_compile_unit_die): Update.
17         * dwarfout.c: Include langhooks.h.
18         (prototyped_attribute, output_compile_unit_die): Update.
19         * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
20         (LANG_HOOKS_INITIALIZER): Update.
21         * langhooks.h (struct lang_hooks): New members.  Constify.
22         * stringpool.c: Don't include toplev.h.
23         (set_identifier_size): Remove.
24         * toplev.c (toplev_main): Initialize identifier size.
25         (print_version): Update.
26         * tree.h (language_string, init_lex, lang_identify,
27         set_identifier_size): Remove.
28         * Makefile.in: Update dependencies.
29         * config/darwin.c: Include langhooks.h.
30         (func_name_maybe_scoped): Update.
31         * config/darwin.h (ASM_END_FILE): Update.
32         * config/nextstep.h (ASM_END_FILE): Update.
33         * config/nextstep21.h (ASM_END_FILE): Update.
34         * config/i386/sun386.h (ASM_END_FILE): Update.
35         * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
36         (rs6000_output_function_epilogue): Update.
37 objc:
38         * objc-act.c (LANG_HOOKS_NAME): Override.
39         (struct lang_hooks): Constify.
40         (objc_init_options): Update.
41         (lang_identify): Remove.
42
43 Fri Nov  9 00:25:18 EST 2001  John Wehle  (john@feith.com)
44
45         * fold-const.c (lshift_double): Honor PREC.
46         (rshift_double): Likewise.
47
48 2001-11-08  Kazu Hirata  <kazu@hxi.com>
49
50         * config/1750a/1750a.c: Fix comment formatting.
51         * config/1750a/1750a.h: Likewise.
52
53 2001-11-08  Phil Edwards  <pedwards@disaster.jaj.com>
54
55         * configure.in (--enable-languages): Be more permissive about
56         syntax.  Check for empty lists better.  Warn about $LANGUAGES.
57         * configure: Regenerated.
58
59 2001-11-08  Richard Henderson  <rth@redhat.com>
60
61         * dwarf2asm.c (dw2_force_const_mem): Fix typo.
62
63 2001-11-08  Geoffrey Keating  <geoffk@redhat.com>
64
65         * config.gcc: Rename stormy16 to xstormy16.
66         * config/stormy16/stormy-abi: Likewise.
67         * config/stormy16/stormy16-protos.h: Likewise.
68         * config/stormy16/stormy16.c: Likewise.
69         * config/stormy16/stormy16.h: Likewise.
70         * config/stormy16/stormy16.md: Likewise.
71
72 2001-11-06  Geoffrey Keating  <geoffk@redhat.com>
73
74         * tree.h (TYPE_VOLATILE): Add enable-checking code.
75         (TYPE_READONLY): Likewise.
76
77 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
78
79         * reload1.c (reload): Don't delete equiv insn if can throw.
80
81         * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
82         (clear_storage): Likewise, for OBJECT.
83
84 Thu Nov  8 16:23:51 2001  Jeffrey A Law  (law@cygnus.com)
85
86         * pa.c (emit_move_sequence): Fix SUBREG expression to
87         use proper byte offset when extending a constant from
88         SImode to DImode.
89
90 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
91
92         * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
93         which cannot throw.
94
95 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
96
97         * explow.c (convert_memory_address, case SUBREG): Only return
98         inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
99
100 2001-11-08  Richard Henderson  <rth@redhat.com>
101
102         * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
103         (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
104         (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
105
106 2001-11-08  Aldy Hernandez  <aldyh@redhat.com>
107
108         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
109
110 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
111
112         * dwarf2out.c (debug_str_hash): New.
113         (struct indirect_string_node): New.
114         (struct dw_val_struct): Change type of val_str to it.
115         (DEBUG_STR_SECTION_FLAGS): Define.
116         (add_AT_string): Push string into hashtable, increment reference
117         counter.
118         (AT_string): Return string from ht_identifier.
119         (AT_string_form): New.
120         (free_AT): For dw_val_class_str, just decrement reference counter.
121         (size_of_string): Remove.
122         (size_of_die): Use AT_string_form to decide what size the string
123         occupies in DIE.
124         (size_of_pubnames): Use strlen instead of size_of_string.
125         (value_format): Use AT_string_form for dw_val_class_str.
126         (output_die): Output DW_FORM_strp strings using
127         dw2_asm_output_offset.
128         (indirect_string_alloc, output_indirect_string): New.
129         (dwarf2out_finish): Emit .debug_str strings if there are any.
130
131 2001-11-08  Andreas Franck  <afranck@gmx.de>
132
133         * configure.in: Add AC_ARG_PROGRAM to support program name
134         transformation with --program-prefix, --program-suffix and
135         --program-transform-name.
136         * configure: Regenerated.
137         * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
138         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
139         GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
140         PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
141         program_transform_name the way suggested by autoconf.
142         (GCC_TARGET_INSTALL_NAME): Define.
143         (install-driver): Use the transformed target alias name.
144
145 2001-11-08  Richard Henderson  <rth@redhat.com>
146
147         * config/mips/mips.c (save_restore_insns): Remove GP from the
148         restore registers mask early instead of special casing it inside
149         the loop.
150
151 2001-11-08  Neil Booth  <neil@daikokuya.demon.co.uk>
152
153         * cp/decl.c (shadow_warning): New function.
154         (pushdecl): Improve -Wshadow warnings.  Don't give both a warning
155         and an error when a block scope decl shadows a parameter.
156
157 2001-11-08  Richard Henderson  <rth@redhat.com>
158
159         * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
160         case as well.
161
162 2001-11-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
163
164         * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
165         to implement floating negation on processors prior to PA 2.0.
166
167 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
168
169         * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
170         (USE_LINKONCE_INDIRECT): Define.
171         (dw2_output_indirect_constant_1): Try to output indirect constants
172         into linkonce sections if possible.
173         (dw2_force_const_mem): Likewise.  Register indirect_pool with GGC.
174         (dw2_output_indirect_constants): Likewise.
175
176 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
177
178         * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
179
180 2001-11-07  Neil Booth  <neil@daikokuya.demon.co.uk>
181
182         * c-decl.c (pushdecl): Remove file and line.
183         * c-typeck.c (pop_init_level): Remove size.
184
185 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
186
187         * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
188         for rs6000.
189
190         * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
191         (TARGET_ALTIVEC): New.
192         (TARGET_SWITCHES): Add altivec.
193         (FIRST_PSEUDO_REGISTER): Change to 109.
194         (CALL_USED_REGISTERS): Same.
195         (FIRST_ALTIVEC_REGNO): New.
196         (LAST_ALTIVEC_REGNO): New.
197         (ALTIVEC_REGNO_P): New.
198         (UNITS_PER_ALTIVEC_WORD): New.
199         (ALTIVEC_VECTOR_MODE): New.
200         (FIXED_REGISTERS): Add altivec registers.
201         (REG_ALLOC_ORDER): Same.
202         (HARD_REGNO_NREGS): Adjust for altivec registers.
203         (HARD_REGNO_MODE_OK): Same.
204         (MODES_TIEABLE_P): Same.
205         (REGISTER_MOVE_COST): Same.
206         (REGNO_REG_CLASS): Same.
207         (reg_class): Add ALTIVEC_REGS.
208         (REG_CLASS_NAMES): Same.
209         (REG_CLASS_CONTENTS): Same.
210         (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
211         (ALTIVEC_ARG_RETURN): New.
212         (FUNCTION_VALUE): Handle VECTOR_TYPE.
213         (LIBCALL_VALUE): Handle altivec vector modes.
214         (VECTOR_MODE_SUPPORTED_P): New.
215         (ALTIVEC_ARG_MIN_REG): New.
216         (ALTIVEC_ARG_MAX_REG): New.
217         (ALTIVEC_ARG_NUM_REG): New.
218         (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
219         (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
220         (REGISTER_NAMES): Add altivec regs.
221         (DEBUG_REGISTER_NAMES): Same.
222         (ADDITIONAL_REGISTER_NAMES): Same.
223         (rs6000_builtins): New.
224         (MD_EXPAND_BUILTIN): New.
225         (MD_INIT_BUILTINS): New.
226         (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
227         for AltiVec instructions.
228         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
229         (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
230         registers.
231         (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
232         (TARGET_SWITCHES): Add no-altivec.
233         (DATA_ALIGNMENT): Align vectors to 128 bits.
234         (TARGET_OPTIONS): Add abi= option.
235         Add rs6000_abi_string extern.
236         (LOCAL_ALIGNMENT): New.
237         (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
238         (MASK_ALTIVEC_ABI): New.
239         (TARGET_ALTIVEC_ABI): New.
240         (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
241         call-saved.
242         (STACK_BOUNDARY): Adjust for altivec.
243         (BIGGEST_ALIGNMENT): Same.
244         (rs6000_args): Add vregno.
245         (USE_ALTIVEC_FOR_ARG_P): New.
246         (FIXED_REGISTERS): Add vrsave register.
247         (CALL_USED_REGISTERS): Same.
248         (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
249         (VRSAVE_REGNO): New.
250         (reg_class): Add VRSAVE_REGS.
251         (REG_CLASS_NAMES): Same.
252         (REG_CLASS_CONTENTS): Same.
253         (REGNO_REG_CLASS): Same.
254         
255         * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
256         (ABI_STACK_BOUNDARY): Same.
257         (BIGGEST_ALIGNMENT): Same.
258         (ADJUST_FIELD_ALIGN): Remove undef.  Define anew.
259         (ROUND_TYPE_ALIGN): Same.
260         
261         * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
262         to 64.
263
264         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
265         to 64.
266
267         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
268         to 64.
269
270         * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
271         (altivec_expand_builtin): New.
272         (altivec_init_builtins): New.
273         (TARGET_EXPAND_BUILTIN): New.
274         (TARGET_INIT_BUILTINS): New.
275         (rs6000_init_builtins): New.
276         (struct builtin_description): New.
277         (bdesc_2arg): New.
278         (rs6000_reg_names): Add altivec registers.
279         (alt_reg_names): Same.
280         (secondary_reload_class): Altivec regs can hold altivec regs and
281         memory.
282         (rs6000_emit_move): Force constants into memory for AltiVec moves.
283         (print_operand): Add 'y' case for printing altivec memory
284         operands.
285         (rs6000_legitimize_address): Legitimize vector addresses into
286         [REG+REG] or [REG].
287         (altivec_expand_binop_builtin): New.
288         New string rs6000_current_abi.
289         (rs6000_override_options): Call rs6000_parse_abi_options.
290         (rs6000_parse_abi_options): New.
291         (function_arg_boundary): Vector arguments must be 16
292         byte aligned.
293         (function_arg_advance): Handle vector arguments.
294         (function_arg_partial_nregs): Same.
295         (init_cumulative_args): Same.
296         (function_arg): Same.
297
298         * config/rs6000/rs6000.md (altivec_lvx): New.
299         (type): Add altivec attribute.
300         (movv4si): New.
301         (*movv4si_internal): New.
302         (movv16qi): New.
303         (*movv16qi_internal): New.
304         (movv8hi): New.
305         (*movv8hi_internal1): New.
306         (movv4sf): New.
307         (*movv4sf_internal1): New.
308         (altivec_stvx): New.
309         (vaddubm): New.
310         (vadduhm): New.
311         (vadduwm): New.
312         (vaddfp): New.
313         (vaddcuw): New.
314         (vaddubs): New.
315         (vaddsbs): New.
316         (vadduhs): New.
317         (vaddshs): New.
318         (vadduws): New.
319         (vaddsws): New.
320         (vand): New.
321         (vandc): New.
322         (vavgub): New.
323         (vavgsb): New.
324         (vavguh): New.
325         (vavgsh): New.
326         (vavguw): New.
327         (vavgsw): New.
328         (vcmpbfp): New.
329         (vcmpequb): New.
330         (vcmpequh): New.
331         (vcmpequw): New.
332         (vcmpeqfp): New.
333         (vcmpgefp): New.
334         (vcmpgtub): New.
335         (vcmpgtsb): New.
336         (vcmpgtuh): New.
337         (vcmpgtsh): New.
338         (vcmpgtuw): New.
339         (vcmpgtsw): New.
340         (vcmpgtfp): New.
341         (vcmpgefp): New.
342         (vcmpgtub): New.
343         (vcmpgtsb): New.
344         (vcmpgtuh): New.
345         (vcmpgtsh): New.
346         (vcmpgtuw): New.
347         (vcmpgtsw): New.
348         (vcmpgtfp): New.
349         (vmaxub): New.
350         (vmaxsb): New.
351         (vmaxuh): New.
352         (vmaxsh): New.
353         (vmaxuw): New.
354         (vmaxsw): New.
355         (vmaxfp): New.
356         (vmrghb): New.
357         (vmrghh): New.
358         (vmrghw): New.
359         (vmrglb): New.
360         (vmrglh): New.
361         (vmrglw): New.
362         (vminub): New.
363         (vminsb): New.
364         (vminuh): New.
365         (vminsh): New.
366         (vminuw): New.
367         (vminsw): New.
368         (vminfp): New.
369         (vmuleub): New.
370         (vmulesb): New.
371         (vmuleuh): New.
372         (vmulesh): New.
373         (vmuloub): New.
374         (vmulosb): New.
375         (vmulouh): New.
376         (vmulosh): New.
377         (vnor): New.
378         (vor): New.
379         (vpkuhum): New.
380         (vpkuwum): New.
381         (vpkpx): New.
382         (vpkuhss): New.
383         (vpkshss): New.
384         (vpkuwss): New.
385         (vpkswss): New.
386         (vpkuhus): New.
387         (vpkshus): New.
388         (vpkuwus): New.
389         (vpkswus): New.
390         (vrlb): New.
391         (vrlh): New.
392         (vrlw): New.
393         (vslb): New.
394         (vslh): New.
395         (vslw): New.
396         (vsl): New.
397         (vslo): New.
398         (vsrb): New.
399         (vrsh): New.
400         (vrsw): New.
401         (vsrab): New.
402         (vsrah): New.
403         (vsraw): New.
404         (vsr): New.
405         (vsro): New.
406         (vsububm): New.
407         (vsubuhm): New.
408         (vsubuwm): New.
409         (vsubfp): New.
410         (vsubcuw): New.
411         (vsububs): New.
412         (vsubsbs): New.
413         (vsubuhs): New.
414         (vsubshs): New.
415         (vsubuws): New.
416         (vsubsws): New.
417         (vsum4ubs): New.
418         (vsum4sbs): New.
419         (vsum4shs): New.
420         (vsum2sws): New.
421         (vsumsws): New.
422         (vxor): New.
423
424 2001-11-07  Daniel Berlin  <dan@cgsoftware.com>
425
426         * Makefile.in (df.o): Add fibheap.h to dependencies.
427        
428         * df.h: Add prototypes for transfer functions, iterative_dataflow
429         functions.
430         (enum df_flow_dir): New enum.
431         (enum df_confluence_op): New enum.
432         (struct df): Add inverse_rts_map.
433
434         * df.c: Add sbitmap.h to the list of includes.
435         (df_rd_global_compute): Removed.
436         (df_ru_global_compute): Removed.
437         (df_lr_global_compute): Removed.
438         (df_rd_transfer_function): New function.
439         (df_ru_transfer_function): New function.
440         (df_lr_transfer_function): New function.
441         (df_analyse_1): allocate/compute/free df->inverse_rts_map.
442         Use iterative_dataflow_bitmap instead of df_*_global_compute.
443         (iterative_dataflow_sbitmap): New function.
444         (iterative_dataflow_bitmap): New function.
445
446 2001-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
447
448         * doc/gcc.texi: Move terminology and spelling conventions to
449         htdocs/codingconventions.html.
450
451 2001-11-07  Graham Stott  <grahams@redhat.com>
452
453         * cse.c (cse_insn): Emit BARRIER after unconditional jump.
454
455 Wed Nov  7 13:33:34 CET 2001  Jan Hubicka  <jh@suse.cz>
456
457         * expmed.c (expand_mult): Force operand to register before computing
458         cost.
459         * i386.c (x86_decompose_lea): New global vairable.
460         * i386.h (x86_decompose_lea): Declare.
461         (TARGET_DECOMPOSE_LEA): New macro.
462         (RTX_COST): Handle leas properly.
463
464 2001-11-06  Richard Henderson  <rth@redhat.com>
465
466         * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
467         defined for a CONSTRUCTOR; don't check it.
468
469 2001-11-06  Danny Smith  <dannysmith@users.sourceforge.net>
470
471         * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
472         test for absolute pathnames.
473
474 2001-11-06  Olivier Hainque <hainque@act-europe.fr>
475
476         * unwind-dw2.c (execute_cfa_program): Evaluate call frame
477         instructions up to the target pc inclusive.
478
479 2001-11-06  Steve Christiansen  <smc@us.ibm.com>
480
481         * loop.c (loop_regs_scan):  Don't invalidate PIC register.
482
483 2001-11-06  Eric Christopher  <echristo@redhat.com>
484
485         * config/mips/mips.md(movdf_internal2): Add constraints for float
486         to general register move.
487         * config/mips/elf64.h: Add default ABI.
488
489 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
490
491         * alias.c:: Include langhooks.h.
492         * emit-rtl.c: Similarly.
493         * toplev.c: Similarly.
494         * tree-inline.c: Similarly.
495         * langhooks-def.h: New, the old langhooks.h.  Give the default
496         hooks a common prefix.
497         * langhooks.h: Contents extracted from toplev.h.
498         * toplev.h: Move langhook stuff to langhooks.h.
499         * langhooks.c: Give default hooks a common prefix.
500
501         * c-lang.c: Include langhooks-def.h.
502         * objc/objc-act.c: Similarly.
503         * Makefile.in: Update.
504         * objc/Make-lang.in: Update.
505
506 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
507
508         * doc/install.texi: Document that configure options not listed in
509         this file are unsupported.  Document --with-system-zlib.
510
511 Tue Nov  6 09:21:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
512
513         * rtl.h (mem_for_const_double): New declaration.
514         * varasm.c (mem_for_const_double): New function.
515         * config/convex/convex.md (movdf): Use it.
516         * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
517         * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
518         * config/m68k/m68kv4.h: Likewise.
519
520         * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
521         of new GP reg classes.
522
523         * expr.c (store_field): When making temp object for unaligned
524         component, set it to alias set 0.
525
526 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
527
528         * c-common.c (c_expand_expr_stmt): Apply default conversions to
529         non-lvalue arrays if C99.
530         * c-typeck.c (default_conversion): Split out code handling
531         array-to-pointer and function-to-pointer conversions into a
532         separate default_function_array_conversion function.
533         (default_function_array_conversion): New function.  Keep track of
534         whether any NON_LVALUE_EXPRs were stripped.  Return non-lvalue
535         arrays unchanged outside C99 mode instead of giving an error for
536         them.
537         (build_component_ref): Use pedantic_non_lvalue when handling
538         COMPOUND_EXPR.  Don't handle COND_EXPR specially.
539         (convert_arguments): Use default_function_array_conversion.
540         (build_unary_op): For ADDR_EXPR, take a flag indicating whether
541         non-lvalues are OK.
542         (unary_complex_lvalue): Likewise.
543         (internal_build_compound_expr): Use
544         default_function_array_conversion.  Apply default conversions to
545         function in compound expression.
546         (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
547         Use default_function_array_conversion.
548         * doc/extend.texi: Update documentation of subscripting non-lvalue
549         arrays.
550         Fixes PR c/461.
551
552 2001-11-05  Zack Weinberg  <zack@codesourcery.com>
553
554         * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
555         (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
556         corresponding to the complete set of .po and .gmo files in
557         the source directory's po subdir, modified by LINGUAS.  Don't
558         look at ALL_LINGUAS.
559         * configure.in: Don't set ALL_LINGUAS.
560         * configure: Regenerate.
561
562         * Makefile.in (.po.gmo): Don't move into source directory.
563         (.po.pox): Clarify comments.
564         (install-po): Look for .gmo files in both srcdir and objdir;
565         don't fail if a file is totally missing.
566         (distclean): rmdir ada subdirectory too.
567
568 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
569
570         * config/rs6000/rs6000.c (rs6000_select_section): Handle
571         CONSTRUCTORs _correctly_.
572
573 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
574
575         * c-decl.c (delete_block): Remove.
576         * c-tree.h (delete_block): Remove.
577
578 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
579
580         * cppexp.c (lex, parse_defined): Update warning about defined.
581
582 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
583
584         * config/rs6000/rs6000.c (rs6000_select_section): Handle
585         CONSTRUCTORs too.
586
587 2001-11-05  Nick Clifton  <nickc@cambridge.redhat.com>
588
589         * config/arm/arm.c (arm_return_in_memory): Cope with
590         int_size_in_bytes returning -1.
591
592         * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
593         DECL being NULL.
594
595 Mon Nov  5 16:15:25 CET 2001  Jan Hubicka  <jh@suse.cz>
596
597         * Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h;
598         remove unneded depdendencies;
599         (cfglayout.o): New.
600         * cfglayout.c, cfglayout.h: New files; break out from ...
601         * bb-reorder.c: ... here; Remove unneeded includes;
602
603 2001-11-04  Alan Modra  <amodra@bigpond.net.au>
604
605         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
606
607 2001-11-04  David Edelsohn  <edelsohn@gnu.org>
608
609         * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
610         mode as well.  Do not explicitly create intermediate regs.
611
612 2001-11-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
613
614         * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
615         (common_section): Delete unused variable.
616         (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
617         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
618         * arm-protos.h (arm_poke_function_name, aof_add_import,
619         aof_delete_import): Const-ify.
620         * arm.c (legitimize_pic_address): Wrap variables in the macro
621         controlling their usage.
622         (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
623         (arm_poke_function_name, pic_chain, import, aof_add_import,
624         aof_delete_import): Const-ify.
625         * i386.c (ix86_osf_output_function_prologue): Const-ify.
626         * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
627         ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
628         * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
629         * i860/sysv3.h: Add missing comment closure.
630         * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
631         * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
632         to symbolic_operand.
633
634         * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
635         (i960-*-*): Set tmake_file.
636         (sparc86x-*-elf*): Fix typo in header name.
637
638         * sched-rgn.c (schedule_insns): Delete unused variable.
639
640 2001-11-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
641
642         PR c/2820
643         * c-typeck.c (lookup_field): Rework to return a chain down to
644         the looked-up field.
645         (build_component_ref): Use the new lookup_field to handle
646         nested anonymous entities correctly.
647
648 Sun Nov  4 11:53:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
649
650         * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
651         Change parameters to gen_rtx_CONST_DOUBLE.
652         (GEN_INT64, sparc_emit_set_const64): Likewise.
653         * config/sparc/sparc.md (movdf split): Likewise.
654
655 2001-11-03  Geoffrey Keating  <geoffk@redhat.com>
656
657         * unroll.c (calculate_giv_inc): Use find_last_value rather
658         than just hoping the last instruction is the right SET.
659         [Fixes 990604-1.c on stormy16.]
660
661         * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
662         library at all if -T is used.
663
664         * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
665         some uses of uninitialized variables in error cases.
666
667         * config/stormy16/stormy16.c (stormy16_output_shift): Don't
668         look at 'temp' if we won't be using it.
669
670         * config/stormy16/stormy16.h (CONST_COSTS): Define.
671         (RTX_COSTS): Define.
672         (ADDRESS_COST): Define.
673         (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
674
675         * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
676
677         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
678         stormy16_asm_output_mi_thunk.
679         * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
680         function.
681         * config/stormy16/stormy16-protos.h
682         (stormy16_asm_output_mi_thunk): New prototype.
683
684 2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
685
686         * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
687         FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
688         caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
689         cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
690         sched-int.h, toplev.c, config/alpha/alpha.c,
691         config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
692         config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
693         config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
694         config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
695         config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
696         config/ns32k/ns32k.md, config/rs6000/rs6000.c,
697         config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
698
699 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
700
701         * Makefile.in (dbxout.o): Depend on function.h.
702         * collect2.c (is_in_list): Hide unused function.
703         * dbxout.c: Include function.h.
704         (source_label_number, dbxout_source_line, dbxout_source_file,
705         dbxout_function_end, dbxout_begin_function): Wrap/move inside
706         macros controlling usage.
707         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
708         * output.h (exports_section): Prototype.
709
710         * convex.c (convex_output_function_prologue): Fix format specifier
711         warning.
712         (asm_declare_function_name): Fix signed/unsigned warning.
713         (print_operand): Fix format specifier warning.
714         * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
715         * dsp16xx-protos.h (uns_comparison_operator,
716         num_1600_core_shifts): Prototype.
717         * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
718         (frame_size, frame_pointer_offset): Delete.
719         (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
720         Make static.  Fix format specifier warnings.
721         * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
722         (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
723         * dsp16xx.md: Add default case in switches.
724         * fr30.h (IN_RANGE): Delete.
725         * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
726         * mcore-protos.h (mcore_output_cmov): Const-ify.
727         * mcore.c (mcore_output_cmov): Likewise.
728         * mcore.h (switch_to_section): Make static and prototype.
729         * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
730         unsigned>=0 warnings.
731         * mn10300.h (REGNO_IN_RANGE_P): Likewise.
732         * rs6000-protos.h (read_only_data_section,
733         read_only_private_data_section): Prototype.
734         * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
735         * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
736         * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
737
738 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
739
740         * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
741         ATTRIBUTE_UNUSED.
742         * final.c (final_scan_insn): Add brackets around body of if-stmt.
743         * gcc.c (convert_filename): Add static prototype.  Const-ify.
744         Wrap variable in macros controlling its use.
745         * output.h (sdata_section): Add prototype.
746
747         * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
748         (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
749         * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
750         (ASM_FILE_START): Const-ify.
751         (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
752         specifier warning.
753         * c4x.md: Don't use the 'U' integer suffix.
754         * clipper.md (clipper_movstr): Delete declaration.
755         * d30v-protos.h (d30v_move_2words): Const-ify.
756         (debug_stack_info): Add prototype.
757         * d30v.c: Include "integrate.h".
758         (d30v_function_arg_boundary, d30v_function_arg,
759         d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
760         signed/unsigned warnings.
761         (d30v_print_operand_memory_reference, d30v_move_2words):
762         Const-ify.
763         * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
764         * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
765         * fr30.md: Const-ify.
766         * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
767         * i370.c (i370_label_scan, mvs_get_label): Make definition static.
768         (mvs_get_label_page): Hide unused static function.
769         * i860.c (current_function_original_name): Const-ify.
770         * i860/sysv3.h (current_function_original_name): Likewise.
771         * i860/sysv4.h (current_function_original_name): Likewise.
772         * i960.md: Add default case in switches.  Remove unused variable.
773         * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
774         * m32r.md: Const-ify.
775         * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
776         * m68hc11.c: Include "reload.h".
777         (static_chain_reg, print_options, m68hc11_asm_file_start):
778         Const-ify.
779         * m68hc11.md: Delete unused variable.  Const-ify.  Add parens
780         around & in comparison.
781         * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
782         * mn10200.c (shift_mode): Remove trailing comma.
783         * mn10300-protos.h (output_tst): Const-ify.
784         * mn10300.c (output_tst): Likewise.
785         * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
786         warnings.
787         * pa-protos.h (output_ascii): Use regular char *, not unsigned.
788         * pa.c (output_ascii): Likewise.
789         * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
790         * pdp11.md (expand_unop): Delete declarations.
791         * pj-protos.h (pj_output_addsi3): Const-ify.
792         * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
793         pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
794         unique_src_operand): Add prototypes.
795         (pj_output_store_into_lval): Make definition static.
796         (pj_function_incoming_arg): Don't use unary plus.
797         (pj_output_addsi3): Const-ify.
798         * romp.md (get_symref): Delete declarations.
799         * v850-c.c (mark_current_function_as_interrupt): Don't return
800         value from void function.
801         * v850.c: Include "integrate.h".
802         * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
803         * vax-protos.h (const_section): Add prototype.
804
805 2001-11-03  Aldy Hernandez  <aldyh@redhat.com>
806
807         * machmode.def: Add documentation for the seventh argument in
808         vector modes.
809
810 2001-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
811
812         * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
813         consistently.
814         <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
815         <-melf>: Don't have markup for ELF acronym.
816
817 2001-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
818
819         * config.gcc (mmix-*-*): New target.
820         * doc/invoke.texi: Document MMIX options.
821         * doc/contrib.texi: Add note about MMIX port to my entry.
822         * config/mmix/t-mmix: New file.
823         * config/mmix/mmix.h: New file.
824         * config/mmix/mmix-protos.h: New file.
825         * config/mmix/mmix.c: New file.
826         * config/mmix/mmix.md: New file.
827         * config/mmix/crti.asm: New file.
828         * config/mmix/crtn.asm: New file.
829
830 2001-11-03  Kazu Hirata  <kazu@hxi.com>
831
832         * config/sparc/linux-aout.h: Fix comment formatting.
833         * config/sparc/linux.h: Likewise.
834         * config/sparc/linux64.h: Likewise.
835         * config/sparc/lynx.h: Likewise.
836         * config/sparc/pbd.h: Likewise.
837         * config/sparc/sol2-sld-64.h: Likewise.
838         * config/sparc/sol2.h: Likewise.
839         * config/sparc/sparc.c: Likewise.
840         * config/sparc/sparc.h: Likewise.
841         * config/sparc/sparc.md: Likewise.
842         * config/sparc/sunos4.h: Likewise.
843         * config/sparc/vxsim.h: Likewise.
844         * config/sparc/vxsparc.h: Likewise.
845         * config/sparc/vxsparc64.h: Likewise.
846
847 Sat Nov  3 10:37:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
848
849         * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
850         reference to CONST_DOUBLE_MEM in comment.
851         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
852         (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
853         (init_emit_once): Don't clear CONST_DOUBLE_MEM.
854         * function.c (pop_function_context_from): Don't call
855         restore_varasm_status.
856         * function.h (restore_varasm_status): Delete declaration.
857         * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
858         * rtl.c: Likewise.
859         * rtl.def (CONST_DOUBLE): Update comment.
860         * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
861         (CONST_DOUBLE_CHAIN): Likewise.
862         (CONST_DOUBLE_MEM): Delete.
863         (gen_rtx_CONST_DOUBLE): Update parameters.
864         * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
865         Remove reference to CONST_DOUBLE_MEM.
866         (const_alias_set): New variable.
867         (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
868         (immed_real_const_1): Adjust tests for 0, 1, and 2.
869         Don't set CONST_DOUBLE_MEM.
870         (clear_const_double_mem): Don't do anything with const_tiny_rtx.
871         (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
872         Put constant in const_alias_set.
873         (struct pool_constant): ALIGN now unsigned.
874         OFFSET now HOST_WIDE_INT.
875         Delete LABEL.
876         (restore_varasm_status): Deleted.
877         (mark_pool_constant): Mark desc->rtl.
878         (force_const_mem): Rework to store rtl in hash table,
879         not CONST_DOUBLE_MEM.
880         Put constant in const_alias_set.
881         (find_pool_constant): Check desc->rtl.
882         (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
883         (init_varasm_once): Initialize const_alias_set.
884
885         * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
886         force_const_mem.
887
888         * reload.c (combine_reloads): Don't combine an output reload if there
889         are other reloads around for part of the output.
890
891         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
892         constant expression.
893         (set_mem_decl): New function.
894         * expr.h (set_mem_decl): New declaration.
895         * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
896         (output_asm_operand_names): Add tab.
897         * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
898
899         * builtins.c (get_memory_rtx): Properly set MEM alias set and
900         attributes.
901
902 2001-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
903
904         * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
905         Use "invalid" instead of "illegal".  Use @r in comments in
906         examples.
907
908 2001-11-02  Neil Booth  <neil@daikokuya.demon.co.uk>
909
910         * c-decl.c (pushdecl): Move block inside if conditional to remove
911         possibility of a segfault.  Lookup block-level extern
912         variables in enclosing scopes correctly.
913
914         * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
915
916 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
917
918         * expmed.c (store_bit_field): Use simplify_gen_subreg to make
919         SUBREG so we avoid SUBREGing memory.
920
921         * expmed.c (store_bit_field): Same.
922
923 2001-11-02  DJ Delorie  <dj@redhat.com>
924
925         * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
926         using FP registers for DImode mem-mem moves is acceptable.
927
928 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
929
930         * builtins.c (apply_args_size): Handle vector arguments.
931         (apply_result_size): Same.
932
933         * machmode.def: Set WIDER mode field for all vector entries.
934
935 2001-11-02  Graham Stott  <grahams@redhat.com>
936
937         * recog.c (decode_asm_operands):  Check that the SRC is ASM_OPERANDS.
938
939 2001-11-01  Eric Christopher  <echristo@redhat.com>
940
941         * config.gcc: Revert part of earlier patch.
942         * config/mips/linux.h: Ditto.
943         * df.c: Include tm_p.h to avoid warnings.
944         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
945         #if/#endif.
946         * config/mips/mips.c: Define mips_abi regardless.
947         (mips_output_function_prologues): Add long casts for .frame
948         output.
949         (override_options): Allow use of ABI_32.
950
951 2001-11-01  Kazu Hirata  <kazu@hxi.com>
952
953         * config/m68hc11/m68hc11.c: Fix comment formatting.
954         * config/m68hc11/m68hc11.h: Likewise.
955         * config/m68hc11/m68hc11.md: Likewise.
956
957 2001-11-01  Neil Booth  <neil@daikokuya.demon.co.uk>
958
959         * c-typeck.c (default_conversion): Retain the original expression
960         codes.
961         * gcc.dg/Wparentheses.c: New tests.
962
963 2001-11-01  David S. Miller  <davem@redhat.com>
964
965         * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
966         64-bit Sparc description more in line with reality.
967
968 2001-11-01  Joseph S. Myers  <jsm28@cam.ac.uk>
969
970         * Makefile.in (GCOV_OBJS): Add version.o.
971         * gcov.c: Include "version.h" and <getopt.h>.
972         (gcov_version_string): Remove.
973         (print_usage): Take a parameter to determine whether this is a
974         call from --help or an error message.  Give fuller output that
975         follows the GNU Coding Standards for --help.
976         (print_version): New function.
977         (options): New.
978         (process_args): Use getopt_long.  Support long options.  Follow
979         GNU Coding Standards for --help and --version.
980         * doc/gcov.texi: Document long options.
981         Addresses part of PR other/704.
982
983 2001-11-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
984
985         * pa.c (output_move_double): Fix typo in double load.
986
987 2001-11-01  Kazu Hirata  <kazu@hxi.com>
988
989         * config/h8300/h8300.c (h8300_encode_label): Compute a string
990         before passing it to ggc_alloc_string.
991
992 2001-11-01  Kazu Hirata  <kazu@hxi.com>
993
994         * config/m68k/3b1.h: Fix comment formatting.
995         * config/m68k/3b1g.h: Likewise.
996         * config/m68k/a-ux.h: Likewise.
997         * config/m68k/amix.h: Likewise.
998         * config/m68k/apollo68.h: Likewise.
999         * config/m68k/atari.h: Likewise.
1000         * config/m68k/aux-exit.c: Likewise.
1001         * config/m68k/ccur-GAS.h: Likewise.
1002         * config/m68k/crds.h: Likewise.
1003         * config/m68k/dpx2.h: Likewise.
1004         * config/m68k/dpx2g.h: Likewise.
1005         * config/m68k/hp310.h: Likewise.
1006         * config/m68k/hp320.h: Likewise.
1007         * config/m68k/isi.h: Likewise.
1008         * config/m68k/linux.h: Likewise.
1009         * config/m68k/lynx.h: Likewise.
1010         * config/m68k/m68k-psos.h: Likewise.
1011         * config/m68k/m68k.c: Likewise.
1012         * config/m68k/m68k.h: Likewise.
1013         * config/m68k/m68k.md: Likewise.
1014         * config/m68k/m68kelf.h: Likewise.
1015         * config/m68k/m68kv4.h: Likewise.
1016         * config/m68k/mot3300.h: Likewise.
1017         * config/m68k/news.h: Likewise.
1018         * config/m68k/next.h: Likewise.
1019         * config/m68k/pbb.h: Likewise.
1020         * config/m68k/plexus.h: Likewise.
1021         * config/m68k/sgs.h: Likewise.
1022         * config/m68k/sun3.h: Likewise.
1023         * config/m68k/tower.h: Likewise.
1024         * config/m68k/vxm68k.h: Likewise.
1025
1026 2001-10-31  DJ Delorie  <dj@redhat.com>
1027
1028         * config/mips/mips.h (mips_cache_flush_func): Prototype.
1029         (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
1030         (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
1031         * config/mips/mips.c (mips_cache_flush_func): New.
1032         * doc/invoke.texi: Document the new options.
1033
1034 2001-10-31  Hans-Peter Nilsson  <hp@axis.com>
1035
1036         * config.gcc (cris-*-linux*, tm_file): Rearrange order.
1037         * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
1038
1039         * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
1040
1041         * config/cris/cris.c: Include output.h after tree.h but before
1042         target.h.
1043
1044 2001-10-31  Zack Weinberg  <zack@codesourcery.com>
1045
1046         * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
1047         (INTL_SUBDIRS): Just intl.
1048         (.SUFFIXES): Add .gmo .po .pox.
1049         (native): Also depend on build-@POSUB@.
1050         (intl.all, intl.install): Depend on config.h and things it includes.
1051         (po-generated): New target; depend on c-parse.c and tradcif.c.
1052         (install-normal): Also depend on install-@POSUB@.
1053         (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
1054         (build-, install-, build-po, update-po, install-po,
1055         .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
1056
1057         * aclocal.m4: Prefix each entry in CATALOGS with "po/"
1058         * configure.in: Don't munge XGETTEXT.  Don't generate
1059         po/Makefile.in.
1060         * configure: Regenerate.
1061
1062         * exgettext: Delete.
1063         * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
1064         * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
1065
1066 2001-10-31  Kazu Hirata  <kazu@hxi.com>
1067
1068         * config/h8300/h8300.md (two anonymous patterns): New.
1069
1070 2001-10-31  Aldy Hernandez  <aldyh@redhat.com>
1071
1072         * tree.h (tree_index): Add support for V16QI and V8HI.
1073         (V8HI_type_node): New.
1074         (V16QI_type_node): New.
1075
1076         * tree.c (build_common_tree_nodes_2): Same.
1077
1078         * c-common.c (type_for_mode): Same.
1079
1080 2001-10-31  Kazu Hirata  <kazu@hxi.com>
1081
1082         * config/i386/att.h: Fix comment formatting.
1083         * config/i386/beos-elf.h: Likewise.
1084         * config/i386/bsd.h: Likewise.
1085         * config/i386/bsd386.h: Likewise.
1086         * config/i386/crtdll.h: Likewise.
1087         * config/i386/cygwin.asm: Likewise.
1088         * config/i386/cygwin.h: Likewise.
1089         * config/i386/djgpp.h: Likewise.
1090         * config/i386/freebsd-aout.h: Likewise.
1091         * config/i386/freebsd.h: Likewise.
1092         * config/i386/gas.h: Likewise.
1093         * config/i386/i386-interix.h: Likewise.
1094         * config/i386/i386-protos.h: Likewise.
1095         * config/i386/i386.c: Likewise.
1096         * config/i386/i386.h: Likewise.
1097         * config/i386/i386.md: Likewise.
1098         * config/i386/i386elf.h: Likewise.
1099         * config/i386/interix.c: Likewise.
1100         * config/i386/isc.h: Likewise.
1101         * config/i386/isccoff.h: Likewise.
1102         * config/i386/iscdbx.h: Likewise.
1103         * config/i386/linux.h: Likewise.
1104         * config/i386/lynx.h: Likewise.
1105         * config/i386/mingw32.h: Likewise.
1106         * config/i386/netbsd-elf.h: Likewise.
1107         * config/i386/next.h: Likewise.
1108         * config/i386/osf1elf.h: Likewise.
1109         * config/i386/osfrose.h: Likewise.
1110         * config/i386/sco5.h: Likewise.
1111         * config/i386/seq-gas.h: Likewise.
1112         * config/i386/seq-sysv3.h: Likewise.
1113         * config/i386/sequent.h: Likewise.
1114         * config/i386/sol2.h: Likewise.
1115         * config/i386/sun386.h: Likewise.
1116         * config/i386/uwin.asm: Likewise.
1117         * config/i386/uwin.h: Likewise.
1118         * config/i386/vxi386.h: Likewise.
1119         * config/i386/win32.h: Likewise.
1120         * config/i386/winnt.c: Likewise.
1121         * config/i386/xm-cygwin.h: Likewise.
1122         * config/i386/xm-mingw32.h: Likewise.
1123
1124 2001-10-31  Kazu Hirata  <kazu@hxi.com>
1125
1126         * builtins.def: Fix comment typos.
1127         * config/alpha.c: Likewise.
1128         * config/arm/arm.c: Likewise.
1129         * config/avr/avr.h: Likewise.
1130         * config/d30v/d30v.c: Likewise.
1131         * config/d30v/d30v.h: Likewise.
1132         * config/d30v/d30v.md: Likewise.
1133         * config/dsp16xx/dsp16xx.c: Likewise.
1134         * config/fr30/fr30.c: Likewise.
1135         * config/fr30/fr30.md: Likewise.
1136         * config/i386/i386.c: Likewise.
1137         * config/i860/i860.c: Likewise.
1138         * config/i960/i960.c: Likewise.
1139         * config/ia64/ia64.c: Likewise.
1140         * config/mips/mips.c: Likewise.
1141         * config/pa/pa.c: Likewise.
1142         * config/rs6000/rs6000.c: Likewise.
1143         * config/s390/s390.c: Likewise.
1144         * config/sparc/sparc.c: Likewise.
1145
1146 2001-10-30  Kazu Hirata  <kazu@hxi.com>
1147
1148         * config/mips/elf.h: Fix comment formatting.
1149         * config/mips/elf64.h: Likewise.
1150         * config/mips/iris5.h: Likewise.
1151         * config/mips/iris5gas.h: Likewise.
1152         * config/mips/iris6.h: Likewise.
1153         * config/mips/isa3264.h: Likewise.
1154         * config/mips/linux.h: Likewise.
1155         * config/mips/mips.c: Likewise.
1156         * config/mips/mips.h: Likewise.
1157         * config/mips/mips.md: Likewise.
1158         * config/mips/mips16.S: Likewise.
1159         * config/mips/netbsd.h: Likewise.
1160         * config/mips/osfrose.h: Likewise.
1161         * config/mips/r3900.h: Likewise.
1162         * config/mips/sni-svr4.h: Likewise.
1163         * config/mips/svr4-t.h: Likewise.
1164         * config/mips/ultrix.h: Likewise.
1165
1166 2001-10-30  Daniel Berlin  <dan@cgsoftware.com>
1167
1168         * bitmap.c (bitmap_element_free): Don't forget to update head->indx
1169         when we update head->current.
1170
1171 2001-10-30  Neil Booth  <neil@daikokuya.demon.co.uk>
1172
1173         * tree.c (id_string_size): Remove.
1174         (dump_tree_statistics): Update.
1175         * toplev.c (compile_file): If dumping stats, dump tree stats too.
1176
1177 Tue Oct 30 19:00:43 CET 2001  Jan Hubicka  <jh@suse.cz>
1178
1179         * sched-rgn.c (schedule_insns): Fix comment.
1180
1181 2001-10-30  Zack Weinberg  <zack@codesourcery.com>
1182
1183         * configure.in: Correct previous change: don't assume that
1184         gas's version number _isn't_ the last thing on the line, or
1185         isn't the only number on the line, either.
1186         * configure: Regenerate.
1187
1188 2001-10-30  Kazu Hirata  <kazu@hxi.com>
1189
1190         * cfgcleanup.c: Fix a comment typo.
1191
1192 2001-10-30  Kazu Hirata  <kazu@hxi.com>
1193
1194         * alias.c: Fix comment formatting.
1195         * recog.c: Likewise.
1196         * config/cris/cris.c: Likewise.
1197         * config/cris/cris.h: Likewise.
1198         * config/i960/i960.c: Likewise.
1199         * config/i960/i960.h: Likewise.
1200
1201 2001-10-30  Kazu Hirata  <kazu@hxi.com>
1202
1203         * config/arm/arm.c: Fix a comment typo.
1204         * config/arm/arm.h: Likewise.
1205         * config/ia64/ia64.c: Likewise.
1206
1207 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1208
1209         * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
1210         REG_EQUIV notes for ASM_OPERANDS.  Return the new note (if any).
1211         * rtl.h (set_unique_reg_note): Change return value.
1212         * gcse.c (try_replace_reg): Use set_unique_reg_note.
1213         * cse.c (cse_insn): Likewise.
1214         * expr.c (emit_move_insn): Likewise.
1215         * explow.c (force_reg): Likewise.
1216         * local-alloc (update_equiv_regs): Likewise.
1217         * loop.c (move_moveables, load_mems): Likewise.
1218         * reload (find_reloads): Likewise.
1219
1220 2001-10-30  Paolo Bonzini  <bonzini@gnu.org>
1221
1222         Localization fixes.
1223         * c-decl.c (parmlist_tags_warning, start_struct,
1224         check_for_loop_decls): Separate messages for struct, union and
1225         enum cases to allow for languages in which they have different
1226         genders.
1227         * c-format.c (scanf_flag_specs): Separate short and long name of
1228         the assignment suppression feature.
1229         (check_format_types): Localize "pointer" and "different types"
1230         strings.
1231         * c-lex.c (lex_number): Localize "an unsigned long int" and
1232         related strings.
1233         (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
1234         warning message.
1235         * c-typeck.c (build_unary_up): Separate messages for increment and
1236         decrement cases to allow for languages in which they use different
1237         articles.  Localize the strings "increment" and "decrement" in one
1238         case.
1239
1240 Tue Oct 30 11:08:11 CET 2001  Jan Hubicka  <jh@suse.cz>
1241
1242         * lcm.c (optimize_mode_switching):  Do not rebuild liveness information
1243         when no changes has been made.
1244
1245         * gcse.c (reg_set_bitmap): Turn into reg_set.
1246         (modify_mem_list_set, canon_modify_mem_list_set)
1247         (clear_modify_mem_tables, free_modify_mem_tables): New.
1248         (gcse_main); Use free_modify_mem_tables.
1249         (free_gcse_mem): Likewise; free the bitmaps.
1250         (alloc_gcse_main): Initialize the bitmaps.
1251         (canon_list_insert): Set canon_modify_mem_list_set.
1252         (record_last_mem_set_info): Likewise; set modify_mem_list_set.
1253         (compute_hash_table): Use clear_modify_mem_tables.
1254         (reset_opr_set_tables): Likewise.
1255         (oprs_not_set_p): reg_set_bitmap is regset.
1256         (mark_set, mark_clobber): Likewise.
1257
1258         * df.h (DF_EQUIV_NOTES): New constant.
1259         (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
1260         when asked for.
1261
1262         * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
1263         (init_regions, schedule_insns): Conditionalize the checking
1264         code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
1265
1266 Tue Oct 30 11:02:31 CET 2001  Jan Hubicka  <jh@suse.cz>
1267
1268         * i386.md (movti_rex64 splitter): Fix condition.
1269
1270 2001-10-29  Zack Weinberg  <zack@codesourcery.com>
1271
1272         * configure.in: Do not assume that gas's version number is the
1273         last thing on the first line of as --version output.
1274         * configure: Regenerate.
1275
1276         * tradcpp.c: Include intl.h.  Rename WARNING, ERROR, FATAL to
1277         MT_WARNING, MT_ERROR, MT_FATAL.
1278         (main): Call gcc_init_libintl.
1279         (v_message): Call gettext on msgid and "warning: "
1280         * tradcif.y: Include intl.h.
1281         (yyerror): Make parameter definition consistent with
1282         prototype.  Call gettext on msgid argument.
1283
1284 2001-10-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1285
1286         * combine.c (num_sign_bit_copies): Avoid signed/unsigned
1287         warnings.
1288
1289         * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
1290
1291 Mon Oct 29 19:22:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1292
1293         * reload1.c (eliminate_regs): Test for reg_renumber being allocated
1294         before referencing it.
1295
1296 2001-10-26  DJ Delorie  <dj@redhat.com>
1297
1298         * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
1299         override -G, and force -G0.
1300
1301 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
1302
1303         * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
1304         FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
1305         c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
1306         timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
1307
1308         * loop.h (struct induction): Rename ext_dependant to
1309         ext_dependent.
1310         * loop.c: Change all uses.
1311         (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
1312         All callers changed.
1313         * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
1314
1315 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
1316
1317         * c-parse.in (expr_no_commas, primary), c-typeck.c
1318         (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
1319
1320 2001-10-29  David Edelsohn  <edelsohn@gnu.org>
1321
1322         Undo assemble_name change in earlier patch.
1323
1324 Mon Oct 29 21:11:40 2001  Nicola Pero  <n.pero@mi.flashnet.it>
1325
1326         * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
1327         determining the type of the receiver, do not check that TREE_CODE
1328         of receiver is CALL_EXPR before calling receiver_is_class_object().
1329         (receiver_is_class_object): For the GNU runtime: recognize
1330         the case that the receiver is self in a class method context.
1331         Check that TREE_CODE of receiver is CALL_EXPR when checking that
1332         the receiver is a call to objc_get_class.
1333
1334 2001-10-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1335
1336         * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
1337
1338 Mon Oct 29 07:23:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1339
1340         * Makefile.in (OBJS): Put all files in alphabetical order.
1341
1342         * dwarf2out.c (add_const_value_attribute): Fix error in last
1343         change.
1344
1345 Mon Oct 29 12:43:06 CET 2001  Jan Hubicka  <jh@suse.cz>
1346
1347         * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
1348         * cfgcleanup.c (merge_blocks): Update the life flag after merging;
1349         fix warning.
1350         * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
1351         (life_analysis): call purge_all_dead_edges after deleting noops.
1352         (delete_noop_move): Do not purge CFG.
1353         * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
1354
1355 2001-10-28  David Edelsohn  <edelsohn@gnu.org>
1356
1357         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
1358         * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
1359         (ASM_GLOBALIZE_LABEL): Use assemble_name.
1360         (ASM_OUTPUT_COMMON): Likewise.
1361         * config/rs6000/rs6000.c (print_operand): Use assemble_name.
1362         (rs6000_output_function_epilogue): Likewise.
1363         (output_mi_thunk): Fix typo.
1364         (rs6000_output_symbol_ref): Use assemble_name.
1365         (output_toc): Likewise.
1366         * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
1367         * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
1368         assemble_name calls STRIP_NAME_ENCODING.
1369         (ASM_OUTPUT_LABEL): Use assemble_name.
1370         (ASM_GLOBALIZE_LABEL): Likewise.
1371         (ASM_DECLARE_FUNCTION_NAME): Likewise.
1372         (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op.  Use assemble_name.
1373         (ASM_OUTPUT_LOCAL): Likewise.
1374
1375 Sun Oct 28 15:45:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1376
1377         * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
1378         (expand_builtin_apply, expand_builtin_return): Likewise.
1379         (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
1380
1381 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
1382
1383         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
1384         ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
1385         c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
1386         configure, configure.in, except.c, except.h, flow.c, function.c,
1387         gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
1388         predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
1389         sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
1390         unroll.c: Fix spelling errors.
1391
1392         * doc/extend.texi, doc/invoke.texi: Fix spelling.
1393
1394         * doc/gcc.texi: Document use of "dependent" and American spelling.
1395
1396 Sun Oct 28 17:05:36 CET 2001  Jan Hubicka  <jh@suse.cz>
1397
1398         * expr.c (emit_group_load): Support CONCATs by storing them to memory
1399         and reloading.
1400
1401 Sun Oct 28 09:59:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1402
1403         * expr.c (store_constructor_field): Only call adjust_address on MEM.
1404
1405 Sun Oct 28 16:48:09 CET 2001  Jan Hubicka  <jh@suse.cz>
1406
1407         * genrecog.c (write_switch):  Output if before switch for
1408         DT_elt_zero_wide_safe.
1409
1410 2001-10-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1411
1412         * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
1413         * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
1414         (FUNCTION_PROFILER): Const-ify.
1415         * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
1416         (eliminate_constant_term, assemble_name, output_addr_const):
1417         Remove declarations.
1418         (ptr_half_pic_address_p, half_pic_hash): Prototype.
1419         (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
1420         half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
1421         * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
1422         (half_pic_declare, half_pic_external): Const-ify.
1423         * toplev.c: Include "halfpic.h".
1424
1425 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
1426
1427         * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
1428         config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
1429         config/i386/i386.c, config/i386/i386-interix.h,
1430         config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
1431         config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
1432         config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
1433         config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
1434         config/sparc/sparc.c, config/m68hc11/m68hc11.c,
1435         config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
1436         config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
1437         spelling errors.
1438
1439         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
1440         ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
1441         c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
1442         collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
1443         haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
1444         regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
1445         system.h, toplev.c: Fix spelling errors.
1446
1447 Sat Oct 27 17:32:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1448
1449         * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
1450
1451         * dwarf2out.c (reg_number): Abort if pseudo.
1452         (reg_loc_descriptor): Return 0 if pseudo.
1453         (is_based_loc): Return 0 if pseudo.
1454         (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
1455         recursive calls.
1456         (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
1457         (loc_descriptor): Return 0 if can't find location and handle 0
1458         return from recursive calls.
1459         (loc_descriptor_from_tree): Likewise.
1460         Fix handling of indirect.
1461         Also return 0 for PLACEHOLDER_EXPR.
1462         Clean up COMPONENT_REF cases.
1463         (add_AT_location_descriptor): Simplify, but handle 0 return from
1464         loc_descriptor.
1465         (add_const_value_attribute): Avoid shift count warning.
1466         (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
1467         Set comp_unit_die as context if not in function.
1468
1469         * config/mips/mips-protos.h: Break up long lines.
1470         Remove needless #ifdef/#endif blocks.
1471         Don't declare functions declared in file made by genpreds or recog.h.
1472         * config/mips/mips.c (mips_output_function_prologue): TSIZE
1473         is now HOST_WIDE_INT; delete unneeded casts.
1474         * config/mips/mips.h: Don't use #elif.
1475
1476         * expr.c (stor_constructor_field): Always call adjust_address.
1477         Copy TARGET before changing its alias set.
1478         (store_field): Likewise, for TO_RTX.
1479         (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
1480         replacement.
1481         (safe_from_p, case ADDR_EXPR): Properly check for conflict.
1482         (find_placeholder): Return 0 if can't find object.
1483         (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
1484         returns 0.
1485
1486 Sat Oct 27 16:31:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
1487
1488         * ifcvt.c (if_convert): Call clear_aux_for_blocks.
1489
1490 Sat Oct 27 12:12:09 CEST 2001  Jan Hubicka  <jh@suse.cz>
1491
1492         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
1493         merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
1494         (merge_blocks): Properly udpate life after making edge nonfallthru.
1495         * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
1496
1497 2001-10-26  Kazu Hirata  <kazu@hxi.com>
1498
1499         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
1500
1501 2001-10-26  Neil Booth  <neil@daikokuya.demon.co.uk>
1502
1503         * c-typeck.c (convert_arguments): When comparing for enumeral
1504         type equality, use TYPE_MAIN_VARIANT.
1505         * gcc.dg/Wconversion.c: New tests.
1506
1507 2001-10-26  Kazu Hirata  <kazu@hxi.com>
1508
1509         * s390/s390.c: Fix comment typos.
1510         * s390/s390.h: Likewise.
1511         * s390/s390.md: Likewise.
1512
1513 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
1514
1515         * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
1516         (walk_tree): Use it for tail calls where appropriate.
1517
1518 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
1519
1520         * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
1521         non-local label_refs.
1522
1523 2001-10-26  Kazu Hirata  <kazu@hxi.com>
1524
1525         * config/h8300/h8300.md (4 anonymous patterns): New.
1526
1527 2001-10-26  Kazu Hirata  <kazu@hxi.com>
1528
1529         * config/h8300/h8300.c (get_shift_alg): Clean up.  Return the
1530         algorithm through the shift_info structure.
1531         (emit_a_shift): Update the use of get_shift_alg.
1532
1533 2001-10-27  Daniel Berlin  <dan@cgsoftware.com>
1534
1535         * sched-rgn.c: Remove bitset typedef.
1536         Change bitset to sbitmap in prototypes / variable types.
1537         Remove bbset_size.
1538         Remove edgeset_bits.
1539         Remove edgeset_size.
1540         s/BITSET_ADD/SET_BIT/g
1541         s/BITSET_INVERT/sbitmap_ones/g
1542         s/BITSET_INTER/sbitmap_a_and_b/g
1543         s/BITSET_UNION/sbitmap_a_or_b/g
1544         s/BITSET_DIFFER/sbitmap_difference/g
1545         s/bitset_member/TEST_BIT/g
1546         (BITSET_*): Removed.
1547         (bitset_member): Removed.
1548         (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
1549         EXECUTE_IF_SET_IN_SBITMAP.
1550         (split_edges): Rewrite, use sbitmap functions instead of bitset
1551         operations.
1552         (schedule_region): Allocate/free sbitmaps, rather than bitsets.
1553
1554 2001-10-26  Andreas Schwab  <schwab@suse.de>
1555
1556         * reload1.c (emit_input_reload_insns): Fix parens in last
1557         (undocumented) change that was supposed to change only whitespace.
1558
1559 Fri Oct 26 07:18:08 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1560
1561         * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
1562
1563         * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
1564         ASM_OPERANDS.
1565
1566 2001-10-26  Andreas Jaeger  <aj@suse.de>
1567
1568         * flow.c (clear_log_links): Remove unused variable.
1569         * cfgcleanup.c (cleanup_cfg): Likewise.
1570
1571 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
1572
1573         * tree-inline.c (remap_decl): Don't copy size and size_unit here.
1574         (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
1575
1576 2001-10-26  Richard Henderson  <rth@redhat.com>
1577
1578         * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
1579         rename PV_REG to R27_REG.
1580         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
1581         (REG_CLASS_FROM_LETTER): Update.
1582         (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
1583         * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
1584         (udivsi3, modsi3, umodsi3): Likewise.
1585         (divdi3, udivdi3, moddi3, umoddi3): Likewise.
1586
1587 2001-10-26  Richard Henderson  <rth@redhat.com>
1588
1589         * cfg.c (clear_aux_for_blocks): Split out of ...
1590         (free_aux_for_blocks): here.
1591         (clear_aux_for_edges): Split from ...
1592         (free_aux_for_edges): here.
1593         * basic-block.h: Declare them.
1594         * lcm.c (compute_antinout_edge): Use them.
1595         (compute_laterin, compute_available, compute_nearerout): Likewise.
1596         (optimize_mode_switching): Likewise.
1597
1598 2001-10-26  Richard Henderson  <rth@redhat.com>
1599
1600         * Makefile.in (unstage*): Remove as, ld, collect-ld before
1601         moving everything back to the main build directory.
1602
1603 2001-10-26  Christopher Faylor  <cgf@redhat.com>
1604
1605         * config/i386/cygwin.h: Search target specfic include directory, if
1606         appropriate.
1607
1608 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1609
1610         * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
1611         of macro guards. Fix #endif comment.
1612
1613         * output.h (default_exception_section, default_eh_frame_section):
1614         Move prototypes outside of macro guard.
1615
1616         * crtstuff.c: Fix #endif comment.
1617
1618 Thu Oct 25 12:21:58 2001  Jeffrey A Law  (law@cygnus.com)
1619
1620         * doc/md.texi (movMM): Clarify semantics of storing into a
1621         non-paradoxical SUBREG.
1622
1623 2001-10-25  Zack Weinberg  <zack@codesourcery.com>
1624
1625         * langhooks.c (lang_hook_default_clear_binding_stack): New.
1626         (lang_hook_default_get_alias_set): Move next to other alias
1627         hooks.
1628         * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
1629         (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
1630         (LANG_HOOKS_INITIALIZER): Add it.
1631         * toplev.h (struct lang_hooks): Add clear_binding_stack.
1632         * toplev.c (compile_file):  Call lang_hooks.clear_binding_stack
1633         instead of a loop calling poplevel.
1634
1635 2001-10-25  Nick Clifton  <nickc@cambridge.redhat.com>
1636
1637         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
1638         occurrences of #elif with #if...#endif.
1639
1640 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1641
1642         * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
1643
1644 Thu Oct 25 08:46:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1645
1646         * alias.c (can_address_p): No longer static.
1647         * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
1648         Return 0 if all parameters are default values.
1649         (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
1650         (adjust_address_1): Try harder to compute a size.
1651         * expr.c (expand_assignment, store_constructor): If can't address,
1652         set MEM_KEEP_ALIAS_SET_P.
1653         (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
1654         (store_field): Likewise.
1655         (store_constructor): Simplify call to store_constructor_field.
1656         * expr.h (can_address_p): New declaration.
1657         * gensupport.c (gen_rtx_CONST_INT): New function.
1658         * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
1659         (MEM_SIZE): Get size from mode, if not set and not BLKmode.
1660         (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
1661
1662         * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
1663
1664 2001-10-24  Christopher Faylor  <cgf@redhat.com>
1665
1666         * config/i386/cygwin.h: Use proper path for mingw crt files when
1667         -mno-cygwin.
1668
1669 Wed Oct 24 18:43:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1670
1671         * dwarf2out.c (file_info_cmp): Always return consistent results.
1672
1673 2001-10-24  Roger Sayle <roger@eyesopen.com>
1674
1675         * stmt.c (expand_end_case): Index jumptables from zero for
1676         suitably small values of minval.
1677
1678 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
1679
1680         * stor-layout.c (place_union_field): If any field was aligned with
1681         attribute aligned, set record type's TYPE_USER_ALIGN.
1682         (place_field): Likewise.
1683         (finalize_record_size): Don't clear TYPE_USER_ALIGN.
1684         (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
1685
1686 2001-10-24  Zack Weinberg  <zack@codesourcery.com>
1687
1688         * c-common.h (struct c_common_identifier): Remove rid_code field.
1689         (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
1690
1691         * c-typeck.c (constructor_designated): New local flag.
1692         (struct constructor_stack): Add "designated" field to match.
1693         (start_init): Clear it.
1694         (really_start_incremental_init, push_init_level): Push and
1695         clear it.
1696         (pop_init_level): Pop it.
1697         (set_designator): Set it.
1698
1699         (pop_init_level): Suppress "missing initializer" warnings if
1700         constructor_designated is true.
1701         (process_init_element): Suppress warning about union
1702         initialization under traditional C, if constructor_designated
1703         is true.
1704
1705 Wed Oct 24 15:35:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1706
1707         * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
1708         change.
1709
1710 Wed Oct 24 13:26:12 2001  Jeffrey A Law  (law@cygnus.com)
1711
1712         * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
1713
1714 2001-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
1715
1716         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
1717         the node was already a set to a constant.
1718
1719 Wed Oct 24 12:41:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1720
1721         * emit-rtl.c (set_mem_attributes): Fix typo in last change.
1722         * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
1723
1724 2001-10-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1725
1726         * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
1727         (ASM_OUTPUT_ASCII): Const-ify.  Fix signed/unsigned warning.
1728         (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
1729         * s390.c (s390_final_chunkify): Don't use string concatenation.
1730         (s390_function_prologue, s390_function_epilogue): Const-ify.
1731         * s390.h (FUNCTION_PROFILER): Remove unused variable.
1732
1733 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
1734
1735         * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
1736         prototypes.
1737
1738 2001-10-23  Stan Shebs  <shebs@apple.com>
1739
1740         * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
1741         -traditional-cpp in first-stage compilation.
1742
1743 Tue Oct 23 21:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1744
1745         * gensupport.c (target_flags): Add.
1746
1747 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
1748
1749         * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
1750         if needed.
1751         (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
1752         * except.c (expand_builtin_frob_return_addr): Likewise.
1753         (expand_builtin_eh_return): Likewise.
1754         * stmt.c (expand_computed_goto): Likewise.
1755         * explow.c (memory_address): Likewise.
1756         (allocate_dynamic_stack_space): Clean up predicate testing.
1757         (probe_stack_range): Convert SIZE to Pmode.
1758         * calls.c (rtx_for_function_call): Only call convert_memory_address
1759         if needed.
1760         Pass function call operand as ptr_mode, not Pmode.
1761         * expr.c (expand_assignment): Clean up calls to convert_memory
1762         address by only doing so when needed and making offsets Pmode.
1763         (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
1764         * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
1765         is in Pmode, not ptr_mode.
1766
1767 2001-10-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1768
1769         * darwin-protos.h (constructor_section, destructor_section,
1770         mod_init_section, mod_term_section): Prototype.
1771         * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
1772         Const-ify.
1773         * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
1774         Likewise.
1775         (SECTION_FUNCTION): Prototype `FUNCTION'.  Delete
1776         objc_section_init declaration.
1777         (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
1778         (objc_section_init, try_section_alias): Make static.
1779         (alias_section): Make static and hide unused function.
1780         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
1781
1782 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1783
1784         * alias.c (can_address_p): Compnonents are not addressable if
1785         the containing type has alias set 0.
1786         (get_alias_set): Rework to use STRIP_NOPS.
1787         Only call front-end routine on object, type, or object with
1788         NOPs stripped, not inner values.
1789         Use language hook to call front-end routine.
1790         * builtins.c (get_memory_rtx): Always call set_mem_attributes.
1791         (expand_builtin_apply): Call set_mem_align on MEMs we make.
1792         Don't pass alignment to emit_block_move.
1793         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1794         (expand_builtin_memset): Likewise, but for clear_storage.
1795         * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
1796         and remove C++ specific parts.
1797         * c-common.h (c_common_get_alias_set): Add declaration.
1798         * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
1799         * calls.c (emit_call_1): Fix typo in sibcall_pop case.
1800         (save_fixed_argument_area): Call set_mem_align.
1801         Remove alignment in call to emit_block_move.
1802         (emit_library_call_value_1, store_one_arg): Likewise.
1803         (target_for_arg): Remove; disabled long ago.
1804         * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
1805         once and similar cleanups.
1806         (offset_address): Use proper introductory comment.
1807         * expr.c (emit_block_move): Use alignment from that of MEM args, not
1808         from explicit operand; all callers changed.
1809         (clear_storage): Likewise.
1810         (expand_assignment): Don't call set_mem_alias_set on to_rtx.
1811         (store_field): Remove kludge on alias set used for to_rtx.
1812         (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
1813         (expand_expr_unaligned): Call set_mem_attributes instead of
1814         set_mem_alias_set.
1815         * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
1816         * function.c (assign_stack_temp_for_type): Set MEM alignment.
1817         (expand_function_end): Track MEM attributes of trampolines.
1818         * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
1819         * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
1820         attributes from original.
1821         * langhooks.c (lang_hook_default_get_alias_set): New function.
1822         (hook_get_alias_set_0): New function.
1823         * langhooks.h (hook_get_alias_set_0): New declaration.
1824         (lang_hook_default_get_alias_set): Likewise.
1825         (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
1826         * reload1.c (alter_reg): Use adjust_address_nv.
1827         * rtl.c (get_mode_alignment): Moved to here.
1828         * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
1829         change default if unknown from 1 to BITS_PER_UNIT.
1830         * stor-layout.c (get_mode_alignment): Remove from here.
1831         * toplev.h (struct lang_hoks): Add get_alias_set field.
1832         * tree.h (lang_get_alias_set): Delete declaration.
1833         * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
1834         * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
1835         (ix86_va_arg): Likewise.
1836         * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
1837         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
1838         * config/sparc/sparc.c (sparc_va_arg): Likewise.
1839         * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
1840         (expand_block_move_mem): Remove dead code.
1841
1842 2001-10-22  Neil Booth  <neil@daikokuya.demon.co.uk>
1843
1844         * c-common.c (warn_div_by_zero): New.
1845         * c-common.h (warn_div_by_zero): New.
1846         * c-decl.c (c_decode_option): Take it on the command line.
1847         * c-typeck.c (build_binary_op): Warn about division by zero.
1848         * doc/invoke.texi: Document the new command line option, fix
1849         documentation of -Wmultichar.
1850         * testsuite/gcc.dg/divbyzero.c: New tests.
1851         * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
1852
1853 Tue Oct 23 15:30:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
1854
1855         * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
1856
1857         * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
1858         to avoid update_life_info call.
1859         * basic-block.h (CLEANUP_UPATE_LIFE): Define.
1860         * cfgcleanup.c (bb_flags): New enum.
1861         (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
1862         (notice_new_block, update_forwarder_flag): New functions.
1863         (try_simplify_condjump): Use FORWARDER_BLOCK_P.
1864         (try_forward_edges): Likewise; update flags.
1865         (merge_blocks): Likewise.
1866         (outgoing_edges_match): Likewise.
1867         (try_crossjump_to_edge): Likewise.
1868         (try_optimize_cfg): Likewise; initialize and clear the flags;
1869         recompute life info if needed.
1870         (cleanup_cfg): No need to clear aux pointers.
1871
1872 2001-10-23  Alexandre Oliva  <aoliva@redhat.com>
1873
1874         * config/i386/i386.c (override_options): Default to minimum
1875         stack alignment when optimizing for code size.
1876         * doc/invoke.texi (-mpreferred-stack-boundary): Document the
1877         change.
1878
1879         * config/i386/i386.c (override_options): Set upper limit of
1880         -mpreferred-stack-boundary to 12.
1881
1882 2001-10-22  Zack Weinberg  <zack@codesourcery.com>
1883
1884         * recog.c (peephole2_optimize): Add default case to switch.
1885
1886 2001-10-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1887
1888         * doc/gcc.texi (Sending Patches): Remove.
1889
1890 2001-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
1891
1892         * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
1893         fields when comparing.
1894
1895 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1896
1897         * arm.h (HOST_INT, HOST_UINT): Delete.  Remove all uses.
1898         * arm.c (HOST_INT, HOST_UINT): Likewise.
1899
1900 2001-10-22  Stan Shebs  <shebs@apple.com>
1901
1902         * config/darwin-protos.h (darwin_exception_section): Declare.
1903         (darwin_eh_frame_section): Declare.
1904
1905 Mon Oct 22 18:21:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
1906
1907         * i386.md (movti_rex64): Fix mode.
1908
1909 2001-10-22  Stan Shebs  <shebs@apple.com>
1910
1911         * target.h (struct gcc_target): Add asm_out.exception_section,
1912         asm_out.eh_frame_section.
1913         * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
1914         (TARGET_ASM_EH_FRAME_SECTION): New.
1915         (TARGET_INITIALIZER): Update.
1916         * output.h (default_exception_section): Declare.
1917         (default_eh_frame_section): Declare.
1918         * dwarf2out.c: Include target.h.
1919         (output_call_frame_info): Call target hook for eh frames.
1920         (default_eh_frame_section): New function.
1921         * except.c: Include target.h.
1922         (output_function_exception_table): Call target hook for exception
1923         section.
1924         * varasm.c (default_exception_section): Rename from
1925         exception_section, remove EXCEPTION_SECTION macro.
1926
1927         * config/darwin.h (darwin_eh_frame_section): New function.
1928         (EXCEPTION_SECTION): Remove.
1929         (TARGET_ASM_EXCEPTION_SECTION): Define.
1930         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
1931         (nextstep_exception_section): New function.
1932         (nextstep_eh_frame_section): New function.
1933         (TARGET_ASM_EXCEPTION_SECTION): Define.
1934         (TARGET_ASM_EH_FRAME_SECTION): Define.
1935
1936         * config/pa/som.h (EXCEPTION_SECTION): Remove.
1937         (TARGET_ASM_EXCEPTION_SECTION): Define.
1938         * config/rs6000/sysv4.h, config/rs6000/xcoff.h
1939         (EXCEPTION_SECTION): Remove.
1940         (TARGET_ASM_EXCEPTION_SECTION): Define.
1941         * config/stormy16/stormy16.h: Remove comments referencing
1942         EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
1943
1944         * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
1945         TARGET_ASM_EH_FRAME_SECTION.
1946
1947 2001-10-22  Nick Clifton  <nickc@cambridge.redhat.com>
1948
1949         * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
1950         terms.
1951
1952         * c-format.c: Fix spelling typo in comment.
1953
1954         * sched-int.h: Fix typo in GCC preamble.
1955
1956 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1957
1958         PR debug/4252
1959         * doc/invoke.texi: Remove references to -fdump-translation-unit.
1960
1961 2001-10-22  Richard Henderson  <rth@redhat.com>
1962
1963         * config/i386/i386.c (ix86_expand_clear): New.
1964         * config/i386/i386-protos.h: Declare it.
1965         * config/i386/i386.md (setcc peep2s): Use it.
1966         (movsi_xor): Unexport.
1967
1968 2001-10-22  Richard Henderson  <rth@redhat.com>
1969
1970         * flow.c (clear_log_links): Use free_INSN_LIST_list, not
1971         free_EXPR_LIST_list for LOG_LINKS.
1972
1973 2001-10-21  Robert Lipe  <robertlipe@usa.net>
1974
1975         * config/i386/i386.c (sco_asm_named_section): Delete.
1976         (sco_asm_out_constructor): Delete.
1977         * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
1978         (ASM_OUTPUT_DOUBLE_INT): Likewise.
1979         (TARGET_ASM_CONSTRUCTOR): Delete.  Use default.
1980         (TARGET_ASM_NAMED_SECTION): Use default for ELF.
1981         (EXCEPTION_SECTION): Delete EH scn renaming hack.
1982
1983 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1984
1985         * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
1986         and/or fold extra calls into fewer ones.
1987         * collect2.c (dump_file): Likewise.
1988         * cppexp.c (parse_number): Likewise.
1989         * cpplex.c (_cpp_lex_direct): Likewise.
1990         * final.c (output_asm_insn, asm_fprintf): Likewise.
1991         * fix-header.c (inf_scan_ident, main): Likewise.
1992         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
1993         Likewise.
1994         * fold-const.c (real_hex_to_f): Likewise.
1995         * gen-protos.c (parse_fn_proto): Likewise.
1996         * genattrtab.c (check_attr_test, check_attr_value): Likewise.
1997         * genrecog.c (change_state, write_action): Likewise.
1998         * gensupport.c (shift_output_template): Likewise.
1999         * local-alloc.c (requires_inout): Likewise.
2000         * mips-tfile.c (IS_ASM_IDENT): Likewise.
2001         * protoize.c (is_id_char, main): Likewise.
2002         * real.c (asctoeg): Likewise.
2003         * recog.c (asm_operand_ok): Likewise.
2004         * reload.c (find_reloads): Likewise.
2005         * scan.c (scan_identget_token): Likewise.
2006         * sched-vis.c (print_value): Likewise.
2007         * stringpool.c (ggc_alloc_string): Likewise.
2008         * toplev.c (read_integral_parameter, decode_g_option): Likewise.
2009         * tradcif.y (parse_number, yylex, parse_escape): Likewise.
2010         * tradcpp.c (rescan): Likewise.
2011         * tree.c (clean_symbol_name): Likewise.
2012         * varasm.c (decode_reg_name): Likewise.
2013
2014         * alpha.h (ASM_OUTPUT_ASCII): Likewise.
2015         * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
2016         * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
2017         * m88k.c (output_ascii): Likewise.
2018         * m88k.h (OVERRIDE_OPTIONS): Likewise.
2019         * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
2020         * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
2021         * sh.h (REG_CLASS_FROM_LETTER): Likewise.
2022
2023 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
2024
2025         * langhooks.c (lang_hook_default_do_nothing,
2026         lang_hook_default_decode_option): New defaults.
2027         * langhooks.h: Make hooks unconditional and non-NULL.
2028         * toplev.c (compile_file, toplev_main): Update.
2029         * toplev.h: Update comments.
2030         * objc/objc-act.c (lang_hooks): Update to new paradigm.
2031
2032 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2033
2034         * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
2035
2036         * system.h (IN_RANGE): New macro.
2037
2038 2001-10-21  Zack Weinberg  <zack@codesourcery.com>
2039
2040         * aclocal.m4 (AM_WITH_NLS): Also create and substitute
2041         INTLDEPS variable, which does not include $LIBICONV.
2042         * Makefile.in: Use INTLDEPS in LIBDEPS.
2043         * configure: Regenerate.
2044
2045 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
2046
2047         * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
2048         * cpplex.c (lex_percent, lex_dot): Remove.
2049         (get_effective_char, skip_block_comment, skip_line_comment,
2050         parse_identifier_slow, parse_number, parse_string, save_comment,
2051         _cpp_lex_direct): Update to do lookback freely.
2052         (IF_NEXT_IS, BACKUP): New macros.
2053         * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
2054         * cppmacro.c (paste_tokens): Update.
2055
2056 2001-10-20  Nick Clifton  <nickc@cambridge.redhat.com>
2057
2058         * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
2059
2060 2001-10-20  Hans-Peter Nilsson  <hp@axis.com>
2061
2062         * reload1.c (reload): Check CONSTANT_P before calling
2063         LEGITIMATE_PIC_OPERAND_P.
2064         * config/cris/cris.c (cris_legitimate_pic_operand): Revert
2065         workaround of 2001-10-13.
2066
2067 Sat Oct 20 15:16:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
2068
2069         * i386.c (split_di): Handle splitting of DFmode.
2070
2071 Sat Oct 20 07:27:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2072
2073         * emit-rtl.c (set_mem_attributes): Alignment is in bits.
2074         (adjust_address_1, offset_address): Likewise.
2075
2076         * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
2077         (output_asm_insn): Call it for each line output.
2078         Don't record an operand more than once.
2079
2080         * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
2081         * main.c: Include config.h and system.h, but not ansidecl.h.
2082         * Makefile.in (main.o): Update accordingly.
2083
2084 Sat Oct 20 12:05:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
2085
2086         * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
2087
2088 Sat Oct 20 12:01:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
2089
2090         * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
2091         * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
2092         Break out from ...
2093         (find_sub_basic_blocks): ... here;
2094         (find_many_sub_basic_blocks): New.
2095         * recog.c (split_all_insns): Update find_sub_basic_blocks call.
2096
2097         * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
2098
2099         * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
2100
2101         * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
2102
2103         * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
2104         * flow.c (update_life_info): Measure time.
2105         * c-decl.c: Include timevar.h
2106         (c_expand_body): Measure time.
2107         * toplev.c (rest_of_compilation): Measure time of mode switching
2108         separately.
2109         * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
2110
2111         * toplev.c (flag_asynchronous_unwind_tables): New global variable.
2112         (lang_independent_options): Add asynchronous-unwind-tables
2113         (toplev_main): flag_asynchronous_unwind_tables implies
2114         flag_unwind_tables.
2115         * flags.h (flag_asynchronous_unwind_tables): Declare.
2116         * dwarf2out.c (dwarf2out_stack_adjust): Take into account
2117         flag_asynchronous_unwind_tables.
2118         (output_call_frame_info): Likewise.
2119         * invoke.texi (-fasynchronous-unwind-tables): Document.
2120         * i386.c (optimization_options): Enable
2121         flag_asynchronous_unwind_tables.
2122
2123         * i386.c (ix86_expand_setcc):  Always expect target to be QImode.
2124         * i386.md (s* expanders): Destination is QImode.
2125
2126         * toplev.c (rest_of_compilation): Do not call clear_log_links.
2127         * rtl.h (clear_log_links): Kill.
2128         * flow.c (clear_log_links): Make static; accept blocks parameter;
2129         do no clear life info.
2130         (update_life_info): Call clear_log_links.
2131
2132         * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
2133
2134 2001-10-20  Neil Booth  <neil@daikokuya.demon.co.uk>
2135
2136         * cpplex.c (handle_newline, skip_escaped_newlines,
2137         get_effective_char, skip_block_comment, skip_line_comment,
2138         parse_identifier_slow, parse_number, parse_string,
2139         _cpp_lex_direct): Update to do more stepping back.
2140         (trigraph_ok): Similarly.  Rename trigraph_p.
2141         (SAVE_STATE, RESTORE_STATE): Remove.
2142         (BUFF_SIZE_UPPER_BOUND): Tweak.  Add sanity check.
2143
2144         * cpplib.c (destringize): Rename destringize_and_run, and
2145         call run_directive directly.
2146         (_cpp_do__Pragma): Simplify.
2147
2148 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2149
2150         * pe.c (arm_pe_unique_section): Const-ify.
2151         * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
2152         (switch_to_section): Add static prototype.
2153
2154         * output.h (drectve_section): Prototype.
2155
2156 2001-10-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2157
2158         * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
2159         fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
2160         parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
2161         i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
2162         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
2163         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
2164         i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
2165         i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
2166         i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
2167         i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
2168         i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
2169         i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
2170         ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
2171         mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
2172         powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2173         powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2174         powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2175         powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2176         powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2177         powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
2178         rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
2179         sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
2180         v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
2181         cris-*-none, cris-*-linux*: Update ${tmfile} list.
2182         (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
2183         i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
2184         mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
2185         powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
2186         v850-*-*): Delete superflous ${cpu_type} setting.
2187         * config/linux.h: Delete svr4.h include.
2188         (SET_ASM_OP): Delete.
2189         * config/netware.h (INT_ASM_OP): Undef before define.
2190         * config/ptx4.h: Delete elfos.h include.
2191         (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
2192         * config/svr4.h: Delete elfos.h include. Update commentary.
2193         * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
2194         config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
2195         config/mn10200/mn10300.h, config/stormy16/stormy16.h,
2196         config/v850/v850.h: Delete svr4.h include.
2197         * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
2198         config/m68k/m68kv4.h, config/m88k/sysv4.h,
2199         config/sparc/sysv4.h: Update includes.
2200         * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
2201         config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
2202         config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
2203         config/m88k/dguxbcs.h: Delete includes.
2204         * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
2205         (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
2206         * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
2207         it.
2208         * config/m88k/dgux.h: Delete include.
2209         (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):  Undef before
2210         defining it.
2211         * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
2212         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
2213         * config/sh/elf.h: Update include.
2214         (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
2215         DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
2216
2217 2001-10-19  Catherine Moore  <clm@redhat.com>
2218
2219         * config/stormy16/stormy-abi:  Updates to varargs descriptions.
2220         * config/stormy16/stormy16.c (stormy16_build_va_list):  Reverse
2221         base and count fields.
2222         (stormy16_expand_builtin_va_start):  last_reg_count changed to
2223         size_of_reg_args.  Use count + size in first comparison.
2224
2225 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2226
2227         * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
2228         * toplev.h (struct lang_hooks): New field HONOR_READONLY.
2229         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
2230         TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
2231         Set alignment from type if INDIRECT_REF.
2232         (adjust_address_1, offset_address): Simplify alignment compuitation.
2233         * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
2234         here; done by set_mem_attributes.
2235
2236 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2237
2238         * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
2239         * arm-protos.h (rdata_section, zero_init_section, common_section):
2240         Prototype.
2241         * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
2242         * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
2243         traditional mode stringification.
2244         * function.c (thread_prologue_and_epilogue_insns): Wrap variable
2245         in macros controling its use.
2246         * rtlanal.c: Include tm_p.h.
2247         * varasm.c (asm_output_aligned_bss): Mark parameter with
2248         ATTRIBUTE_UNUSED.
2249         (assemble_constant_align, assemble_start_function, assemble_align,
2250         assemble_variable, assemble_trampoline_template,
2251         output_constant_def_contents): Wrap potentially empty if-stmt body
2252         in brackets.
2253
2254 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2255
2256         * a29k-protos.h (literal_section): Prototype.
2257         * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
2258         * a29k.md: Ensure function pointers are prototyped.
2259         * genattrtab.c (write_eligible_delay): Mark parameter with
2260         ATTRIBUTE_UNUSED.
2261
2262 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2263
2264         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
2265         * 1750a.c (print_operand): Fix format specifier warning.
2266         * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
2267         * 1750a.md: Likewise.
2268         * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
2269         * genemit.c (output_add_clobbers): Mark parameter with
2270         ATTRIBUTE_UNUSED.
2271         * genrecog.c (write_subroutine): Likewise.
2272         * integrate.c (expand_inline_function): Delete unused variable.
2273         * varasm.c (remove_from_pending_weak_list): Wrap with
2274         ASM_WEAKEN_LABEL.
2275
2276 2001-10-19  Jakub Jelinek  <jakub@redhat.com>
2277
2278         * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
2279         field is different to previous argument's neg field.
2280
2281         * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
2282
2283 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2284
2285         * final.c (get_decl_from_op): New function.
2286         (output_asm_insn): Call it; write "*" when item with decl is address.
2287
2288 2001-10-19  Janis Johnson  <janis187@us.ibm.com>
2289
2290         * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
2291         about 64-bit support from the 3.0_branch version.
2292
2293 2001-10-19  Zack Weinberg  <zack@codesourcery.com>
2294
2295         * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
2296         USE_INCLUDED_LIBINTL when appropriate.
2297         * configure, config.in: Regenerate.
2298         * Makefile.in (datadir): Set to @datadir@.
2299         (intl.o): Also depend on $(CONFIG_H) and system.h.
2300
2301         * intl.c: Factor out common gettext initialization sequence.
2302         (gcc_init_libintl):  New function.
2303         * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
2304         otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
2305         off NLS.  Add multiple include guard.  No need to #ifdef-guard
2306         an #undef.  Prototype gcc_init_libintl here.
2307
2308         * collect2.c (main), cppmain.c (general_init), gcc.c (main),
2309         gcov.c (main), protoize.c (main), toplev.c (toplev_main):
2310         Use gcc_init_libintl.
2311
2312 2001-10-19  Catherine Moore  <clm@redhat.com>
2313
2314         * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
2315
2316         * config/stormy16/stormy16.c (stormy16_split_move):  Make
2317         sure that REG_INC notes are present for auto_inc operands.
2318
2319 2001-10-19  Andreas Jaeger  <aj@suse.de>
2320
2321         * configure: Regenerated.
2322         * configure.in: Add x86_64 to switch statements.
2323
2324 2001-10-18  Richard Henderson  <rth@redhat.com>
2325
2326         * config/alpha/alpha.md (sibcall_osf_1): Load destination
2327         address into $27 explicitly.
2328         (sibcall_value_osf_1): Likewise.
2329
2330 Thu Oct 18 16:07:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2331
2332         * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
2333         (offset_address): New function.
2334         (free_emit_status): Free regno_decl.
2335         (init_emit): Pass proper number of elements to xcalloc.
2336         Allocate regno_decl.
2337         (mark_emit_status): Mark regno_decl values.
2338         * expr.c (highest_pow2_factor): New function.
2339         (expand_assigment): Use it and offset_address.
2340         Properly handle ptr_mode vs. Pmode in offset calculation.
2341         (store_constructor, expand_expr_unaligned): Likewise.
2342         (expand_expr, case COMPONENT_EXPR): Likewise.
2343         * expr.h (offset_address): New decl.
2344         * function.h (struct emit_status): Add regno_decl.
2345         (REGNO_DECL): New macro.
2346         * final.c (output_asm_name): Move in file and don't conditionalize
2347         on flag_print_asm_name.
2348         (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
2349         Output names of operands, if known.
2350         * function.c (assign_parms): Set REGNO_DECL.
2351         * integrate.c (integrate_decl_tree): Likewise.
2352         * stmt.c (expand_decl): Likewise.
2353         * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
2354
2355 2001-10-18  Alexandre Oliva  <aoliva@redhat.com>
2356
2357         * attribs.c (handle_noinline_attribute): New function.
2358         (handle_used_attribute): Likewise.
2359         (c_common_attribute_table): Added noinline and used.
2360         * doc/extend.texi (Function Attributes): Document them.
2361         * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
2362         Warn when merging inline with attribute noinline.
2363         (start_decl, start_function): Warn if inline and attribute
2364         noinline appear in the same declaration.
2365
2366 2001-10-17  Neil Booth  <neil@daikokuya.demon.co.uk>
2367
2368         * config.gcc: Update c4x and i370 for C front end-specific
2369         dependencies.
2370         * config/c4x/c4x-c.c: New.
2371         * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
2372         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
2373         New declarations.
2374         * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
2375         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
2376         Make extern.
2377         (c4x_init_pragma): Remove.
2378         (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
2379         c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
2380         c4x_pr_ignored): Move to c4x-c.c.
2381         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
2382         * config/c4x/t-c4x: Update.
2383         * config/i370/i370-c.c: New.
2384         * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
2385         (i370_pr_map): Move to i370-c.c.
2386         * config/i370/t-i370: New.
2387
2388         * doc/tm.texi: Update.
2389
2390 2001-10-17  Stan Shebs  <shebs@apple.com>
2391
2392         * config/rs6000/rs6000.c: Make assorted mechanical formatting and
2393         typo fixes throughout.
2394         (machopic_output_stub): Remove some dead code.
2395
2396 2001-10-17  Richard Earnshaw <rearnsha@arm.com>
2397
2398         * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
2399         leak.
2400
2401 Wed Oct 17 05:26:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2402
2403         * Makefile.in (print-rtl.o): Depend on TREE_H.
2404         * alias.c (get_alias_set): Make two passes over objects to first
2405         see if inner object is access via restricted pointer.
2406         Defer allocating alias set for restricted pointer until here.
2407         Call find_placeholder with second arg nonzero.
2408         Minor cleanups.
2409         * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
2410         set for restricted pointer types.
2411         * emit-rtl.c (set_mem_attributes): Set more attributes.
2412         (set_mem_align, change_address, adjust_address_1): New functions.
2413         (change_address_1): Now static.
2414         (adjust_address, adjust_address_nv): Deleted.
2415         (replace_equiv_address): Call change_address_1.
2416         * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
2417         (find_placeholder): Get starting point from PLIST arg.
2418         (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
2419         * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
2420         (adjust_address, adjust_address_nv): New macros.
2421         * print-rtl.c (tree.h): New include.
2422         (print_rtx, case MEM): Print all memory attributes.
2423
2424 2001-10-17  Richard Henderson  <rth@redhat.com>
2425
2426         * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
2427
2428 2001-10-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
2429
2430         * c-tree.texi: Eliminate duplicated word.
2431         * cpp.texi: Likewise.
2432         * install.texi: Likewise.
2433         * invoke.texi: Likewise.
2434         * tm.texi: Likewise.
2435
2436 2001-10-17  Michael Collison  <collison@isisinc.net>
2437
2438         * dsp16xx.c: Fix comment formatting to match GNU standards.
2439         (dsp16xx_output_function_prologue): Change type of 'size'
2440         parameter from 'int' to HOST_WIDE_INT.
2441         (dsp16xx_output_function_epilogue): Change type of 'size'
2442         parameter from 'int' to HOST_WIDE_INT.
2443
2444 2001-10-16  Richard Henderson  <rth@redhat.com>
2445
2446         * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
2447         * configure, config.in: Rebuild.
2448
2449         * config/i386/i386.c (ix86_output_addr_vec_elt): New.
2450         (ix86_output_addr_diff_elt): New.
2451         * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
2452         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2453         (JUMP_TABLES_IN_TEXT_SECTION): New.
2454         * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
2455         * config/i386/i386-protos.h: Update.
2456
2457         * config/i386/386bsd.h, config/i386/beos-elf.h,
2458         config/i386/freebsd-aout.h, config/i386/freebsd.h,
2459         config/i386/i386-interix.h, config/i386/i386elf.h,
2460         config/i386/linux.h, config/i386/netbsd-elf.h,
2461         config/i386/netbsd.h, config/i386/openbsd.h,
2462         config/i386/ptx4-i.h, config/i386/rtemself.h,
2463         config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
2464         (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
2465
2466 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
2467
2468         * stmt.c (expand_asm_operands): Update commentary.
2469
2470 2001-10-16  Stan Shebs  <shebs@apple.com>
2471
2472         * config/darwin.h (GCC_NAME): Remove, no longer used.
2473         (NO_MATH_LIBRARY): Ditto.
2474         (MATH_LIBRARY): Define to emptiness.
2475         (DWARF2_DEBUGGING_INFO): Define.
2476         (PREFERRED_DEBUGGING_TYPE): Define.
2477         (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
2478         (EXCEPTION_SECTION): Define.
2479         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2480         * config/darwin.c (darwin_encode_section_info): Handle case of
2481         DECL_INITIAL being error_mark_node.
2482
2483 2001-10-16  Richard Henderson  <rth@redhat.com>
2484
2485         * alpha.c (current_file_function_operand): Don't fail for profiling.
2486         (direct_call_operand): New.
2487         * alpha-protos.h: Declare it.
2488         * alpha.h (EXTRA_CONSTRAINT): Use it.
2489         (PREDICATE_CODES): Add it.
2490         (ASM_OUTPUT_MI_THUNK): Remove.
2491         * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
2492         * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
2493
2494 2001-10-16  Krister Walfridsson  <cato@df.lth.se>
2495
2496         * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
2497         (JUMP_TABLES_IN_TEXT_SECTION): Define.
2498
2499 Wed Oct 17 00:21:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
2500
2501         * cfg.c (free_edge): Break out from ....
2502         (remove_edge): ... here.
2503         (clear_edges): Use free_edge.
2504
2505         * att.h (ASM_QUAD): Add comment.
2506         * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
2507
2508 Wed Oct 17 00:01:02 CEST 2001  Jan Hubicka  <jh@suse.cz>
2509
2510         * i386.c (split_ti): New function.
2511         (ix86_split_to_parts): Support TImodes.
2512         * i386.h (VALID_INT_MODE_P): Add TImode.
2513         * i386.md (movdi splitter): Fix.
2514         (movti): Support 64bit integer registers.
2515         (movti_rex64): New function and splitter.
2516
2517         * i386.c (*_cost): Add movsx/movzx cost.
2518         * i386.h (struct processor_costs): Add movsx/movzx fields.
2519         (RTX_COSTS): Handle zero/sign extend + avoid believing that
2520         64bit operations require split on 64bit machine.
2521         (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
2522
2523         * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
2524         (ix86_expand_move): Avoid pushes of memory if size does not match;
2525         move long constants to register.
2526         (x86_initialize_trampoline): Fix mode.
2527         * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
2528         Use ASM_QUAD on 64bit.
2529         * i386.md (test pattern): Disallow impossible constants.
2530         (tablejump PIC expander): Fix emitting of sum.
2531         (movdicc_rex64): Rename to movdicc.
2532         * linux64.h (LINK_SPEC): Add missing '%'.
2533
2534 2001-10-16  Alexandre Oliva  <aoliva@redhat.com>
2535
2536         * tree-inline.c (inlinable_function_p): Leave it up to the
2537         front-end to turn -finline-functions into DECL_INLINE set for all
2538         functions.
2539
2540 2001-10-16  Stan Shebs  <shebs@apple.com>
2541
2542         * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
2543
2544 2001-10-16  Alan Modra  <amodra@bigpond.net.au>
2545
2546         * recog.c: Formatting and comment typo fixes.
2547
2548         * configure.in (gcc_cv_as_bfd_srcdir): New.  Use it to find gas
2549         version in single tree build.
2550         * configure: Regenerate.
2551
2552 2001-10-15  David Edelsohn  <edelsohn@gnu.org>
2553
2554         * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
2555         MODE arguments to gen_rtx and compare operand with const0_rtx.
2556
2557 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
2558
2559         * system.h: Poison old unused target macros.
2560         * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
2561         * config/stormy16/stormy16.c: Update references to obsolete macros.
2562         * config/stormy16/stormy16.h: Similarly.
2563         * config/stormy16/stormy16.md: Similarly.
2564         * config/cris/cris.h: Similarly.
2565
2566 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
2567
2568         * cpplib.c (struct pragma_entry): Store the name as a hashnode.
2569         (lookup_pragma_entry, insert_pragma_entry, do_pragma,
2570         cpp_register_pragma): Update accordingly.
2571
2572 2001-10-14  Neil Booth  <neil@daikokuya.demon.co.uk>
2573
2574         * c-pragma.h (cpp_register_pragma_space): Remove.
2575         * cpplib.h (cpp_register_pragma_space): Remove.
2576         * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
2577         (cpp_register_pragma_space): Remove.
2578         (cpp_register_pragma): Simplify using lookup_pragma_entry,
2579         add sanity checks.
2580         (do_pragma): Similarly.
2581         (_cpp_init_internal_pragmas): Don't register namespaces.
2582
2583         * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
2584         Don't register namespaces.
2585         * cp/lex.c (init_cp_pragma): Similarly.
2586         * doc/tm.texi: Update.
2587
2588 2001-10-10  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2589
2590         PR c/4157
2591         * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
2592
2593 2001-10-13  Michael Collison  <collison@dhcp-12-114.townisp.com>
2594
2595         * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
2596         add scheduling support.
2597         * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
2598         * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
2599         * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
2600
2601
2602 2001-10-13  Hans-Peter Nilsson  <hp@axis.com>
2603
2604         * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
2605         missing CONSTANT_P test in core GCC.
2606
2607 2001-10-12  Neil Booth  <neil@daikokuya.demon.co.uk>
2608
2609         * cppmain.c (struct printer): New member source.
2610         (scan_translation_unit): Fix spacing at start of lines.
2611         (cb_line_change): Update.
2612
2613         * gcc.dg/cpp/spacing2.c: New test.
2614
2615 2001-10-12  Hans-Peter Nilsson  <hp@axis.com>
2616
2617         * config/cris/arit.c: Use __builtin_labs, not abs.
2618
2619         * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
2620
2621         * config/cris/cris.c (cris_target_asm_function_epilogue): Move
2622         misplaced sprintf and fprintf argument.
2623
2624 2001-10-12  Zack Weinberg  <zack@codesourcery.com>
2625
2626         * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
2627         * configure.in, Makefile.in: Take out obsolete check-po logic.
2628         * configure, config.in: Regenerate.
2629
2630 2001-10-12  Ziemowit Laski  <zlaski@apple.com>
2631
2632         * objc/objc-act.c (finish_objc): Correct precondition for emitting
2633         symtab declarations.
2634
2635 2001-10-12  Stan Shebs  <shebs@apple.com>
2636
2637         * config/rs6000/rs6000.c: Remove uses of "register" specifier in
2638         declarations of arguments and local variables.
2639
2640 2001-10-12  Christopher Faylor  <cgf@redhat.com>
2641
2642         * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
2643         ENDFILE_SPEC definition.
2644
2645 2001-10-12  Kazu Hirata  <kazu@hxi.com>
2646
2647         * gthr-dce.h: Fix comment formatting.
2648         * gthr-posix.h: Likewise.
2649         * gthr-single.h: Likewise.
2650         * gthr-solaris.h: Likewise.
2651         * gthr-vxworks.h: Likewise.
2652         * gthr-win32.h: Likewise.
2653
2654 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
2655
2656         * final.c (output_asm_insn): Make sure assembly dialects are
2657         terminated, not nested.  Output `|' and `}' characters if they
2658         don't appear inside assembly dialect selection.
2659         * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
2660         rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
2661         rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
2662         strsetsi_rex_1): Add {} braces.
2663
2664 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
2665
2666         * toplev.c (compile_file): Ignore return value from yyparse.
2667         Always pop any nested binding levels after yyparse returns.
2668
2669 2001-10-11  Richard Henderson  <rth@redhat.com>
2670
2671         * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
2672
2673 2001-10-11  Richard Henderson  <rth@redhat.com>
2674
2675         * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
2676         fall back to add_AT_long_long for large CONST_INT.
2677
2678 2001-10-11  Richard Henderson  <rth@redhat.com>
2679
2680         * config/i386/i386.md (setcc splitters): Add four splitters to
2681         simplify compound compares that simplify_comparison can't handle.
2682
2683 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
2684
2685         * cpplex.c (digraph_spellings, token_spellings): Make static.
2686
2687 2001-10-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2688
2689         * unroll.c (loop_iterations): Fixup last patch.
2690
2691 2001-10-11  Richard Henderson  <rth@redhat.com>
2692
2693         * rtl.h (REG_VTABLE_REF): New.
2694         * rtl.c (reg_note_name): Add it.
2695         * combine.c (distribute_notes): Handle it.
2696         * final.c (final_scan_insn): Handle it.
2697         * tree.def (VTABLE_REF): New.
2698         * expr.c (expand_expr): Handle it.
2699         * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
2700         * output.h: Declare them.
2701
2702 2001-10-11  Richard Henderson  <rth@redhat.com>
2703
2704         * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
2705         for a DECL_INITIAL.
2706
2707 2001-10-11  David Edelsohn  <edelsohn@gnu.org>
2708
2709         * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
2710         available in 64-bit mode.
2711
2712 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
2713
2714         * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
2715         cris-*-linux* cases.
2716         * config/cris/cris-protos.h: New file.
2717         * config/cris/cris.c: New file.
2718         * config/cris/cris.h: New file.
2719         * config/cris/cris.md: New file.
2720         * config/cris/linux.h: New file.
2721         * config/cris/aout.h: New file.
2722         * config/cris/arit.c: New file.
2723         * config/cris/cris_abi_symbol.c: New file.
2724         * config/cris/mulsi3.asm: New file.
2725         * config/cris/t-aout: New file.
2726         * config/cris/t-cris: New file.
2727         * config/cris/t-elfmulti: New file.
2728         * config/cris/t-linux: New file.
2729         * doc/invoke.texi: Add CRIS options.
2730         * doc/install.texi (Specific): Add blurb for CRIS.
2731
2732 2001-10-10  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
2733
2734         * config/float-i128.h: Make sure __STDC__VERSION__ is defined
2735         before using it.
2736         * config/float/i32.h: Likewise.
2737         * config/float-i386.h: Likewise.
2738         * config/float-i64.h: Likewise.
2739         * config/float-m68k.h: Likewise.
2740         * config/float-sh.h: Likewise.
2741         * config/float-sparc.h: Likewise.
2742
2743 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
2744
2745         * doc/contrib.texi: Add note about CRIS port to my entry.
2746
2747 2001-10-11  Kazu Hirata  <kazu@hxi.com>
2748
2749         * basic-block.h: Fix formatting.
2750         * bitmap.h: Likewise.
2751         * cpplib.h: Likewise.
2752         * c-tree.h: Likewise.
2753         * diagnostic.h: Likewise.
2754         * flags.h: Likewise.
2755         * ggc.h: Likewise.
2756         * longlong.h: Likewise.
2757         * real.h: Likewise.
2758         * reload.h: Likewise.
2759         * rtl.h: Likewise.
2760         * tree.h: Likewise.
2761
2762 2001-10-10  Richard Henderson  <rth@redhat.com>
2763
2764         * c-parse.in (asm_operand): Allow named operands.
2765         * genconfig.c (max_recog_operands): Set to 29.
2766         * local-alloc.c (requires_inout): Skip multiple digits.
2767         * recog.c (asm_operand_ok): Likewise.
2768         (preprocess_constraints): Use strtoul for matching constraints.
2769         (constrain_operands): Likewise.
2770         * regmove.c (find_matches): Likewise.
2771         * reload.c (find_reloads): Likewise.
2772         * stmt.c (parse_output_constraint): Don't reject in-out
2773         constraint on operands > 9.  Reject '[' in constraint.
2774         (expand_asm_operands): Handle named operands.  Use strtoul
2775         for matching constraints.
2776         (check_operand_nalternatives): Split out from expand_asm_operands.
2777         (check_unique_operand_names): New.
2778         (resolve_operand_names, resolve_operand_name_1): New.
2779
2780         * doc/extend.texi (Extended Asm): Document named operands.
2781         * doc/md.texi (Simple Constraints): Document matching constraints
2782         on operands > 9.
2783
2784 2001-10-10  Richard Henderson  <rth@redhat.com>
2785
2786         * combine.c (try_combine): Handle a SEQUENCE of one insn.
2787
2788         * i386.c (test splitter): Narrow tests vs paradoxical subregs.
2789         (jcc splitters): Add two splitters to simplify compound compares
2790         that simplify_comparison can't handle.
2791
2792 2001-10-10  Richard Henderson  <rth@redhat.com>
2793
2794         * langhooks.c: Include langhooks.h.
2795         * Makefile.in (langhooks.o): Depend on it.
2796
2797 Wed Oct 10 23:49:06 EDT 2001  John Wehle  (john@feith.com)
2798
2799         * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
2800         should not be considered as a no-op.
2801         * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
2802
2803 2001-10-10  Stan Shebs  <shebs@apple.com>
2804
2805         * alias.c: Remove uses of "register" specifier in declarations
2806         of arguments and local variables.
2807         * c-common.c: Ditto.
2808         * c-convert.c: Ditto.
2809         * c-decl.c: Ditto.
2810         * c-format.c: Ditto.
2811         * c-semantics.c: Ditto.
2812         * c-typeck.c: Ditto.
2813         * caller-save.c: Ditto.
2814         * calls.c: Ditto.
2815         * cfg.c: Ditto.
2816         * cfgbuild.c: Ditto.
2817         * cfgrtl.c: Ditto.
2818         * collect2.c: Ditto.
2819         * combine.c: Ditto.
2820         * convert.c: Ditto.
2821         * cppexp.c: Ditto.
2822         * cppfiles.c: Ditto.
2823         * cse.c: Ditto.
2824         * dbxout.c: Ditto.
2825         * defaults.h: Ditto.
2826         * df.c: Ditto.
2827         * dwarf2out.c: Ditto.
2828         * dwarfout.c: Ditto.
2829         * emit-rtl.c: Ditto.
2830         * explow.c: Ditto.
2831         * expmed.c: Ditto.
2832         * expr.c: Ditto.
2833         * final.c: Ditto.
2834         * fix-header.c: Ditto.
2835         * floatlib.c: Ditto.
2836         * flow.c: Ditto.
2837         * fold-const.c: Ditto.
2838         * function.c: Ditto.
2839         * gcc.c: Ditto.
2840         * gcse.c: Ditto.
2841         * gen-protos.c: Ditto.
2842         * genattrtab.c: Ditto.
2843         * gencheck.c: Ditto.
2844         * genconfig.c: Ditto.
2845         * genemit.c: Ditto.
2846         * genextract.c: Ditto.
2847         * genflags.c: Ditto.
2848         * gengenrtl.c: Ditto.
2849         * genoutput.c: Ditto.
2850         * genpeep.c: Ditto.
2851         * genrecog.c: Ditto.
2852         * gensupport.c: Ditto.
2853         * global.c: Ditto.
2854         * gmon.c: Ditto.
2855         * graph.c: Ditto.
2856         * haifa-sched.c: Ditto.
2857         * hard-reg-set.h: Ditto.
2858         * hash.c: Ditto.
2859         * integrate.c: Ditto.
2860         * jump.c: Ditto.
2861         * lists.c: Ditto.
2862         * local-alloc.c: Ditto.
2863         * loop.c: Ditto.
2864         * mips-tdump.c: Ditto.
2865         * mips-tfile.c: Ditto.
2866         * optabs.c: Ditto.
2867         * prefix.c: Ditto.
2868         * print-rtl.c: Ditto.
2869         * read-rtl.c: Ditto.
2870         * real.c: Ditto.
2871         * recog.c: Ditto.
2872         * reg-stack.c: Ditto.
2873         * regclass.c: Ditto.
2874         * regmove.c: Ditto.
2875         * reload.c: Ditto.
2876         * reload1.c: Ditto.
2877         * reorg.c: Ditto.
2878         * resource.c: Ditto.
2879         * rtl.c: Ditto.
2880         * rtlanal.c: Ditto.
2881         * scan.c: Ditto.
2882         * sched-deps.c: Ditto.
2883         * sched-rgn.c: Ditto.
2884         * sdbout.c: Ditto.
2885         * simplify-rtx.c: Ditto.
2886         * stmt.c: Ditto.
2887         * stor-layout.c: Ditto.
2888         * toplev.c: Ditto.
2889         * tradcif.y: Ditto.
2890         * tradcpp.c: Ditto.
2891         * tree.c: Ditto.
2892         * unroll.c: Ditto.
2893         * varasm.c: Ditto.
2894         * xcoffout.c: Ditto.
2895
2896 2001-10-10  Richard Henderson  <rth@redhat.com>
2897
2898         * rtl.h (can_reverse_comparison_p): Remove.
2899
2900 2001-10-10  Christopher Faylor <cgf@redhat.com>
2901
2902         * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
2903         used.
2904
2905 2001-10-10  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2906
2907         * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
2908         (Thanks to Chris Faylor for suggesting macro name).
2909         (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
2910         WIN32 defines.
2911         (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
2912         (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
2913         (MATH_LIBRARY): Undef before definition.
2914         (OUTPUT_QUOTED_STRING): Likewise.
2915         * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
2916
2917 2001-10-10  Richard Henderson  <rth@redhat.com>
2918
2919         * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
2920         (fde_unencoded_compare): Likewise.  Don't use subtraction to get
2921         a tristate comparison value.
2922         (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
2923
2924 2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2925
2926         PR c++/4512
2927         * unroll.c (loop_iterations): Ignore insns generated by loop
2928         unrolling.
2929
2930         * config.gcc (mips*-*-gnu*): Delete support.
2931         * config/mips/gnu.h: Remove.
2932
2933 2001-10-10  Kazu Hirata  <kazu@hxi.com>
2934
2935         * calls.c: Fix formatting.
2936         * c-decl.c: Likewise.
2937         * cfgcleanup.c: Likewise.
2938         * combine.c: Likewise.
2939         * cppfiles.c: Likewise.
2940         * cpplib.c: Likewise.
2941         * cppmacro.c: Likewise.
2942         * crtstuff.c: Likewise.
2943         * cse.c: Likewise.
2944         * dwarf2out.c: Likewise.
2945         * expmed.c: Likewise.
2946         * expr.c: Likewise.
2947         * fold-const.c: Likewise.
2948         * function.c: Likewise.
2949         * gcse.c: Likewise.
2950         * genattrtab.c: Likewise.
2951         * ggc-page.c: Likewise.
2952         * integrate.c: Likewise.
2953         * libgcc2.c: Likewise.
2954         * loop.c: Likewise.
2955         * optabs.c: Likewise.
2956         * profile.c: Likewise.
2957         * protoize.c: Likewise.
2958         * real.c: Likewise.
2959         * recog.c: Likewise.
2960         * reload1.c: Likewise.
2961         * reload.c: Likewise.
2962         * reorg.c: Likewise.
2963         * resource.c: Likewise.
2964         * sched-rgn.c: Likewise.
2965         * sdbout.c: Likewise.
2966         * stmt.c: Likewise.
2967         * toplev.c: Likewise.
2968         * varasm.c: Likewise.
2969
2970 2001-10-10  Janis Johnson  <janis187@us.ibm.com>, Alexandre Oliva  <aoliva@redhat.com>
2971
2972         * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
2973         * Makefile.in (langhooks.o): Add dependencies.
2974
2975 Wed Oct 10 00:41:29 EDT 2001  John Wehle  (john@feith.com)
2976
2977         * rs6000.c (rs6000_emit_load_toc_table): Don't
2978         strdup the toc label.
2979         (create_TOC_reference): Likewise.
2980
2981 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2982
2983         * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
2984         version default.
2985
2986 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
2987
2988         * config/i386/i386.c (ix86_attribute_table): Correct
2989         min_len, max_len fields for dllimport, dllexport and shared.
2990
2991 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
2992
2993         * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
2994         doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
2995         Consistently use "nonzero" instead of "non-zero".
2996
2997 2001-10-09  Kazu Hirata  <kazu@hxi.com>
2998
2999         * acconfig.h: Fix comment formatting.
3000         * c-dump.h: Likewise.
3001         * c-tree.h: Likewise.
3002         * conditions.h: Likewise.
3003         * expr.h: Likewise.
3004         * function.h: Likewise.
3005         * gthr.h: Likewise.
3006         * hwint.h: Likewise.
3007         * integrate.h: Likewise.
3008         * intl.h: Likewise.
3009         * loop.h: Likewise.
3010         * optabs.h: Likewise.
3011
3012 2001-10-09  Kazu Hirata  <kazu@hxi.com>
3013
3014         * c-common.h: Fix comment formatting.
3015         * c-dump.c: Likewise.
3016         * cfg.c: Likewise.
3017         * diagnostic.h: Likewise.
3018         * except.c: Likewise.
3019         * gcc.h: Likewise.
3020         * gcov-io.h: Likewise.
3021         * genattrtab.c: Likewise.
3022         * output.h: Likewise.
3023         * predict.h: Likewise.
3024         * reload1.c: Likewise.
3025         * reload.h: Likewise.
3026         * resource.h: Likewise.
3027         * scan.h: Likewise.
3028         * system.h: Likewise.
3029         * tree.h: Likewise.
3030         * tree-inline.c: Likewise.
3031         * tsystem.h: Likewise.
3032         * varasm.c: Likewise.
3033         * xcoffout.h: Likewise.
3034
3035 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3036
3037         * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
3038
3039 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3040
3041         * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
3042         config/i386/i386elf.h, config/i386/netbsd-elf.h,
3043         config/i386/netware.h, config/mcore/gfloat.h,
3044         config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
3045         config/netware.h, gccbug.in: Update FSF address.
3046
3047 2001-10-09  Kazu Hirata  <kazu@hxi.com>
3048
3049         * c-common.c: Fix comment typos.
3050         * cfgrtl.c: Likewise.
3051         * collect2.c: Likewise.
3052         * cpplex.c: Likewise.
3053         * doloop.c: Likewise.
3054         * dwarf2out.c: Likewise.
3055         * dwarfout.c: Likewise.
3056         * expr.c: Likewise.
3057         * fold-const.c: Likewise.
3058         * gcc.c: Likewise.
3059         * gcov.c: Likewise.
3060         * gcse.c: Likewise.
3061         * global.c: Likewise.
3062         * ifcvt.c: Likewise.
3063         * loop.c: Likewise.
3064         * optabs.c: Likewise.
3065         * protoize.c: Likewise.
3066         * regclass.c: Likewise.
3067         * reorg.c: Likewise.
3068         * rtl.h: Likewise.
3069         * stmt.c: Likewise.
3070         * tree.h: Likewise.
3071         * doc/cpp.texi: Likewise.
3072         * doc/c-tree.texi: Likewise.
3073         * doc/extend.texi: Likewise.
3074         * doc/invoke.texi: Likewise.
3075         * doc/objc.texi: Likewise.
3076         * doc/tm.texi: Likewise.
3077
3078 2001-10-08  Richard Henderson  <rth@redhat.com>
3079
3080         * varasm.c (set_named_section_flags): Initialize "declared".
3081
3082 2001-10-08  Robert Lipe  <robertlipe@usa.net>
3083
3084         * varasm.c (struct in_named_entry): Add declared.
3085         (named_section_first_declaration): New function.
3086         (default_elf_asm_named_section): Use it.
3087         * output.h (named_section_first_declaration): New.
3088
3089 2001-10-08  Richard Henderson  <rth@redhat.com>
3090
3091         * i386.md (movsi_xor): Export.
3092         (setcc peep2): Use it when available; add an alternative to
3093         match zero_extendhisi2_and.
3094
3095 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3096
3097         * romp-protos.h (romp_initialize_trampoline): New function.
3098         * romp.c (romp_initialize_trampoline): Likewise.
3099         * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
3100         romp_initialize_trampoline.
3101
3102 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3103
3104         * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
3105         * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3106         * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3107         * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
3108
3109 2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3110
3111         * unroll.c (loop_iterations): Extend check for multiple back edges.
3112
3113 2001-10-08  Alexandre Oliva  <aoliva@redhat.com>
3114
3115         * langhooks.h: New file.
3116         * Makefile.in (OBJS): Added langhooks.o.
3117         (c-lang.o): Depend on langhooks.h.
3118         (c-common.o): Don't depend on tree-inline.h.
3119         (tree-inline.o): Depend on toplev.h.
3120         (langhooks.o): New rule.
3121         * c-common.c: Don't include tree-inline.h.
3122         (c_mark_lang_decl): Mark argument c as unused.
3123         (c_common_lang_init): Don't initialize hooks here.
3124         * c-lang.c: Include langhooks.h, then override some macros.
3125         (lang_hooks): Initialize with macros in langhooks.h.
3126         (c_init): Don't initialize hooks here.
3127         * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
3128         (struct lang_hooks): Add tree_inlining.  Refer to langhooks.h.
3129         * tree-inline.c: Include toplev.h.  Don't define hook variables.
3130         * tree-inline.h: Don't define hook types nor declare hook
3131         variables.  Move macros to...
3132         * langhooks.c: ... new file, as functions.  Adjust all callers.
3133
3134 2001-10-08  Jeffrey A Law  <law@cygnus.com>
3135
3136         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
3137         purge_mem_unchanging_flag on all instructions, not just on those
3138         before NOTE_INSN_FUNCTION_BEG.
3139
3140 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3141
3142         * cppmacro.c (_cpp_create_definition): Leave comments off.
3143
3144         * doc/cpp.texi: Update.
3145
3146 2001-10-08  DJ Delorie  <dj@redhat.com>
3147
3148         * c-decl.c (grokfield): Make sure the only unnamed fields
3149         we're allowing are either structs or unions.
3150         * doc/extend.texi: Add documentation for the unnamed field
3151         extension.
3152
3153 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
3154
3155         * aclocal.m4 (gcc_AC_PROG_GNAT): New.
3156         * configure.in: Use it.
3157         * configure: Regenerated.
3158         * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
3159         config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
3160
3161 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3162
3163         * cppfiles.c (open_file): Don't mark zero-length files
3164         never-reread here.  Don't output diagnostics here either.
3165         (stack_include_file): Mark them never-reread here.
3166         (_cpp_read_file): Update.
3167
3168 2001-10-08  Richard Henderson  <rth@redhat.com>
3169
3170         * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
3171
3172 2001-10-08  Richard Henderson  <rth@redhat.com>
3173
3174         * expr.c (store_expr): When converting a CONST_INT for storage
3175         in a SUBREG, convert it to both SUBREG modes before stripping
3176         the SUBREG.
3177
3178 2001-10-08  Richard Henderson  <rth@redhat.com>
3179
3180         * varasm.c (restore_varasm_status): New.
3181         * function.h: Declare it.
3182         * function.c (pop_function_context_from): Call it.
3183
3184 2001-10-08  Richard Henderson  <rth@redhat.com>
3185
3186         * c-common.h (struct c_lang_decl): Add declared_inline.
3187         * c-tree.h (DECL_DECLARED_INLINE_P): New.
3188         * c-lang.c (c_disregard_inline_limits): Use it.
3189         * c-decl.c (duplicate_decls): Likewise.
3190         (pushdecl, redeclaration_error_message): Likewise.
3191         (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
3192         (grokdeclarator): Likewise.  Set DECL_DECLARED_INLINE_P.
3193         Set DECL_INLINE if -finline-functions.
3194         (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
3195
3196 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3197
3198         * cppmacro.c (funlike_invocation_p): Move some logic to caller
3199         in enter_macro_context.  Create a padding token in its own context
3200         if necessary when the search for '(' fails.
3201         (enter_macro_context): Update.
3202
3203 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
3204
3205         * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
3206         genmultilib, toplev.c: Fix spelling errors of "separate" as
3207         "seperate", and corresponding spelling errors of related words.
3208
3209 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3210
3211         * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
3212         * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
3213         Likewise.
3214         * c-dump.c (dump_option_value_info): Likewise.
3215         * c-format.c (format_length_info, format_char_info,
3216         format_flag_spec, format_flag_pair, format_kind_info): Likewise.
3217         * collect2.c (names): Likewise.
3218         * cppdefault.h (default_include): Likewise.
3219         * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
3220         * flow.c (life_analysis): Likewise.
3221         * gcc.c (dir_separator_str, modify_target, option_map,
3222         target_option_translations, spec_list_1, extra_specs_1,
3223         init_spec): Likewise.
3224         * gcov.c (gcov_version_string): Likewise.
3225         * genattr.c (write_units): Likewise.
3226         * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
3227         * gengenrtl.c (rtx_definition, defs): Likewise.
3228         * genrecog.c (pred_table): Likewise.
3229         * global.c (global_alloc): Likewise.
3230         * lcm.c (optimize_mode_switching): Likewise.
3231         * local-alloc.c (find_free_reg): Likewise.
3232         * params.h (param_info): Likewise.
3233         * predict.c (predictor_info): Likewise.
3234         * protoize.c (unexpansion_struct): Likewise.
3235         * real.c (bmask): Likewise.
3236         * recog.h (insn_operand_data, insn_data): Likewise.
3237         * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
3238         * stmt.c (expand_nl_goto_receiver): Likewise.
3239         * toplev.c (da, debug_args, lang_opt, documented_lang_options,
3240         target_switches, target_options): Likewise.
3241         * tradcif.y (token, tokentab2, yylex): Likewise.
3242         * tree.h (attribute_spec): Likewise.
3243
3244         * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
3245         Likewise.
3246         * arc.c (arc_output_function_epilogue): Likewise.
3247         * arm.c (processors, all_cores, all_architectures,
3248         arm_override_options, isr_attribute_arg, isr_attribute_args,
3249         arm_isr_value): Likewise.
3250         * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
3251         Likewise.
3252         * c4x.c (c4x_int_reglist): Likewise.
3253         * d30v.c (override_options): Likewise.
3254         * h8300.c (shift_insn): Likewise.
3255         * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
3256         pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
3257         ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
3258         builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
3259         ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
3260         * i386.h (processor_costs, ix86_cost): Likewise.
3261         * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
3262         * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
3263         * m68k.c (codes_68881, codes_FPA): Likewise.
3264         * m88k.c (mode_from_align, max_from_align, all_from_align,
3265         best_from_align, m_options): Likewise.
3266         * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
3267         * mcore.c (mode_from_align): Likewise.
3268         * mips/elf64.h (UNIQUE_SECTION): Likewise.
3269         * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
3270         * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
3271         * mips.h (mips_regno_to_class): Likewise.
3272         * ns32k.c (scales): Likewise.
3273         * pa.c (import_string, magic_milli): Likewise.
3274         * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
3275         * sparc.c (leaf_reg_remap, sparc_override_options,
3276         reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
3277         Likewise.
3278         * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
3279
3280 2001-10-07  Dale Johannesen  <dalej@apple.com>
3281
3282         * reload1.c (reload_reg_free_p): Teach register interference
3283         checking that multiple output reloads are emitted in
3284         reverse order.
3285         reload1.c (reload_reg_reaches_end_p):  Ditto.
3286         reload1.c (reloads_conflict):  Ditto.
3287
3288 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
3289
3290         * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
3291         NULL_TREE inside @code.
3292
3293 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
3294
3295         * doc/gcc.texi: Document consistent style of "32-bit",
3296         "Objective-C", and "@code{NULL}".
3297
3298 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
3299
3300         * cpplex.c (enum spell_type): Add SPELL_NUMBER.
3301         (cpp_token_len, cpp_spell_token, cpp_output_token,
3302         _cpp_equiv_tokens): Handle it.
3303         * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
3304         CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
3305         * cppexp.c (_cpp_parse_expr): Use the correct operator code in
3306         error messages.
3307
3308 Sat Oct  6 07:42:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3309
3310         * gcc.c (default_compilers): Remove .ada.
3311
3312 2001-10-06  Neil Booth  <neil@daikokuya.demon.co.uk>
3313
3314         * doc/cppinternals.texi: Update.
3315
3316 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
3317
3318         * gcc.c (main): Set this_file_error if the appropriate
3319         compiler for a language has not been installed.
3320
3321 2001-10-06  Ulrich Weigand  <uweigand@de.ibm.com>
3322
3323         * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
3324
3325 2001-10-05  Joseph S. Myers  <jsm28@cam.ac.uk>
3326
3327         * gccbug.in (CATEGORIES): Add ada.
3328
3329 2001-10-05  Catherine Moore  <clm@redhat.com>
3330
3331         * config/stormy16/stormy-abi:  Document abi changes.
3332         * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
3333         (ICALL_REGS): New register class.
3334         (NUM_ARGUMENT_REGISTERS): Now 6.
3335         (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
3336         in registers.
3337         (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
3338         * config/stormy16.md (call_internal, call_value_internal,
3339         indirect_jump): Use new 'z' constraint.
3340
3341 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
3342
3343         * doc/cppinternals.texi: Update.
3344
3345 2001-10-05  Richard Henderson  <rth@redhat.com>
3346
3347         * dwarf2out.c (FRAME_BEGIN_LABEL): New.
3348         (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
3349         the gas section-name-as-label feature.
3350
3351 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
3352
3353         * doc/cppinternals.texi: Update.
3354
3355 Fri Oct  5 08:17:46 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3356
3357         * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
3358         to ensure valid SImode constants.
3359
3360 2001-10-05  Alexandre Oliva  <aoliva@redhat.com>
3361
3362         * Makefile.in (c-decl.o): Depend on tree-inline.h.
3363         (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
3364         * c-decl.c: Include tree-inline.h.
3365         (c_expand_body): Call optimize_inline_calls. Determine whether
3366         a function is inlinable upfront, and only clear
3367         DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
3368         * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
3369         (c_disregard_inline_limits): New function.
3370         (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
3371         (c_post_options): Enable tree inlining if inlining is enabled.
3372         Don't inline trees when instrumenting functions.
3373         (c_init): Initialize lang_disregard_inline_limits and
3374         lang_cannot_inline_tree_fn.
3375         * tree-inline.c (initialize_inlined_parameters): Handle calls
3376         with fewer arguments than declared parameters, and fewer
3377         parameters than passed arguments.  Don't assume value is a
3378         DECL.
3379         (declare_return_variable): Convert return value back to the
3380         original type, if it was promoted.
3381         (tree_inlinable_function_p): New function.
3382         (inlinable_function_p): Don't look at DECL_INLINE if we're
3383         inlining all functions.  Make it work with a NULL id.
3384         Re-check DECL_UNINLINABLE after language-specific checks.
3385         * tree-inline.h (tree_inlinable_function_p): Declare it.
3386         * integrate.c (save_for_inline): Don't bother to prepare argvec
3387         when not inlining.
3388         * cse.c (check_for_label_ref): Don't check deleted labels.
3389
3390         * Makefile.in (tree-inline.o): Depend on newly-included headers.
3391         * tree-inline.c: Include headers needed for the functions moved in.
3392         (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
3393         (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
3394         (copy_body, initialize_inlined_parameters): Likewise.
3395         (declare_return_variable, inlinable_function_p): Likewise.
3396         (expand_call_inline, expand_calls_inline): Likewise.
3397         (optimize_inline_calls, clone_body): Likewise.
3398         (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
3399         (copy_tree_r, remap_save_expr): Likewise.
3400
3401 2001-10-04  Alexandre Oliva  <aoliva@redhat.com>
3402
3403         * Makefile.in (OBJS): Added tree-inline.o.
3404         (c-common.o): Depend on tree-inline.h.
3405         (tree-inline.o): New target.
3406         * c-common.c: Include tree-inline.h.
3407         (c_mark_lang_decl): Don't mark saved_tree.
3408         (c_common_lang_init): Set lang_anon_aggr_type_p.
3409         * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
3410         (struct c_lang_decl): Moved saved_tree to tree_decl.
3411         * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
3412         * integrate.h (function_attribute_inlinable_p): Declare it.
3413         * integrate.c (function_attribute_inlinable_p): Export it.
3414         * tree-inline.c: New file.  Define variables declared in...
3415         * tree-inline.h: New file.  Declare functions to be moved to
3416         tree-inline.c.  Define macros and declare types and hooks for
3417         language-specific tree inlining.
3418         (flag_inline_trees): Moved definition from cp/decl2.c.
3419         * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
3420         (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
3421         (struct tree_decl): Moved saved_tree from c_lang_decl and
3422         inlined_fns from C++'s lang_decl.
3423
3424 2001-10-04  Loren J. Rittle  <ljrittle@acm.org>
3425
3426         * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
3427         propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
3428
3429 2001-10-04  Neil Booth  <neil@daikokuya.demon.co.uk>
3430
3431         * doc/cppinternals.texi: Update.
3432
3433 2001-10-04  Eric Christopher  <echristo@redhat.com>
3434
3435         * config/mips/mips.c (init_cumulative_args): Remember to set
3436         cum->prototype.
3437         * config.gcc: Redo linux configuration. Add target_cpu_default
3438         of soft-float to all mipsisa32 combinations and tx39.
3439         * config/mips/linux.h: Remove include of mips.h.
3440
3441 2001-10-03  Loren J. Rittle  <ljrittle@acm.org>
3442
3443         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
3444         HOST_LDFLAGS and HOST_CPPFLAGS.
3445
3446 2001-10-03  Ziemowit Laski  <zlaski@apple.com>
3447
3448         * c-parse.in (objc_inherit_code, objc_pq_context,
3449         objc_public_flag): Make static.
3450         (objc_interface_context, objc_implementation_context,
3451         objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
3452         global tree array in objc/objc-act.[ch].
3453         (methoddef): Remove unnecessary code.
3454
3455         * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
3456         Hoist struct definitions to objc-act.h.
3457         (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,