OSDN Git Service

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