OSDN Git Service

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