OSDN Git Service

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