OSDN Git Service

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