OSDN Git Service

eddad4d10ce3c667346f7715895754f59be27a39
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-11-19  Jakub Jelinek  <jakub@redhat.com>
2
3         * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
4
5 Mon Nov 19 16:57:44 2001  Douglas B. Rupp  <rupp@gnat.com>
6
7         * toplev.c (DUMPFILE_FORMAT): Define default.
8         (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
9         (close_dump_file, compile_file): Likewise.
10         * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
11         * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
12
13 2001-11-19  Jeff Law <law@redhat.com>
14
15         * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
16         a nop-jump.
17
18 2000-11-19  Neil Booth  <neil@daikokuya.demon.co.uk>
19
20         * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
21         Don't fall off the base token run.
22
23 2001-11-19  Jason Wilkins <fenix@io.com>
24
25         * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
26
27 Mon Nov 19 15:13:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
28
29         * tree.def (VIEW_CONVERT_EXPR): New tree code.
30         * tree.h (handled_component_p): New declaration.
31         * alias.c (handled_component_p): Move function from here ...
32         * expr.c (handled_component_p): ... to here and non longer static.
33         (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
34         (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
35         (get_inner_reference): Handle VIEW_CONVERT_EXPR.
36         (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
37         (expand_expr, case VIEW_CONVERT_EXPR): New case.
38         (expand_expr, cse ADDR_EXPR): No need to copy if already
39         BIGGEST_ALIGNMENT.
40         * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
41         * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
42         (output_constant): Handle VIEW_CONVERT_EXPR.
43         * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
44         Add new case for VIEW_CONVERT_EXPR.
45
46 2001-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
47
48         * a29k/unix.h (ASM_FILE_START): Const-ify.
49         * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
50         * i386/isc.h (ASM_FILE_START): Const-ify.
51         * i386/sun386.h (ASM_FILE_START): Likewise.
52         * m32r.md: Likewise.
53         * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
54         * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
55         * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
56         * mn10200.md: Initialize variable.
57
58 Mon Nov 19 18:06:21 CET 2001  Jan Hubicka  <jh@suse.cz>
59
60         * gcse.c (try_replace_reg): Copy RTX before creating note.
61
62         * df.h (df_ref_flags): New uenum.
63         (DF_REF_FLAGS): New macro.
64         (struct ref): Add field "flags".
65         * df.c (HANDLE_SUBREG): Remove.
66         (df_ref_create): Likewise; set flags field of ref.
67         (df_def_record_1): Strip down read_write subreg; remove
68         commented out code; set READ_WRITE flag.
69         (read_modify_subreg_p): New static function.
70         (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
71         new argument "flags".
72         (df_insn_refs_record): Update call of df_uses_record.
73         (df_insn_modify): Avoid #if 0 around comment.
74         (df_dump): Dump the read/write flag.
75
76         * predict.c (propagate_freq): Make cyclic_probability and frequency
77         volatile
78
79         * i386.c (ix86_cc_mode): Accept USE.
80
81         * cfgrtl.c (purge_dead_edges):  Cleanup EDGE_ABNORMAL flag if computed
82         jump is turned into simplejump.
83
84 2001-11-19  Joseph S. Myers  <jsm28@cam.ac.uk>
85
86         * doc/fragments.texi, doc/trouble.texi: Remove links to old
87         installation chapter.
88         * doc/gcc.texi: Don't claim that this manual documents
89         installation.  Mark Installation menu entry as being out of date.
90
91 Mon Nov 19 07:21:35 2001  Douglas B. Rupp  <rupp@gnat.com>
92
93         * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
94         (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
95         * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
96
97 2001-11-19  Jason Merrill  <jason@redhat.com>
98
99         * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
100         cur_token, not after.
101
102         * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
103         Lose ASM_OUTPUT_CONSTRUCTOR.
104         * system.h: Poison it and INT_ASM_OP.
105         * c-lang.c (finish_file): Don't check for it.
106         * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
107
108 2001-11-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
109
110         * mmix.c (mmix_cc1_ignored_option): Const-ify.
111         (mmix_init_machine_status): Make static to match declaration.
112         (mmix_unique_section): Const-ify.
113         (mmix_output_quoted_string): Avoid automatic aggregate
114         initialization.
115         (mmix_output_register_setting): Likewise.
116         (mmix_output_shiftvalue_op_from_str): Likewise.
117
118         * mmix.h (mmix_cc1_ignored_option): Const-ify.
119         (ASM_OUTPUT_BYTE): Fix format specifier warning.
120         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
121
122 2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
123
124         PR c/4448
125         * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
126         name __objc_thread_exit_status so that it matches the 
127         variable defined in objc/thr.h.
128
129 2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
130
131         PR bootstrap/4020
132         * mklibgcc.in: Add missing semi-colons.
133         * Makefile.in: Same.
134
135 Sun Nov 18 16:47:00 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
136
137         * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
138         after re-laying out decl in incomplete case.
139         (expand_expr, case ADDR_EXPR): Fix typo in copy case.
140
141 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
142
143         * doc/install-old.texi: Move some sections out to ...
144         * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
145         ... here.  New files.  Make into chapters rather than sections.
146         * doc/gcc.texi: Include the new files and add menu entries for
147         them.
148         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
149
150 Sun Nov 18 14:13:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
151
152         * tree.h (TYPE_ALIGN_OK): New flag.
153         * emit-rtl.c (set_mem_attributes): Handle it.
154         * expr.c (emit_single_push_insn): Only set to alias set 0 if
155         doing sibcall optimization.
156         (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
157         when make temporary.
158         (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
159         (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
160
161         * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
162
163 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
164
165         * c-decl.c (c_decode_option): Give deprecation warning for
166         -traditional.
167         * doc/invoke.texi (-traditional): Note that this option is
168         deprecated.
169
170 Sun Nov 18 07:40:07 2001  Douglas B. Rupp  <rupp@gnat.com>
171
172         * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
173         arg to HOST_WIDE_INT, not long.
174
175         * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
176         (HAS_INIT_SECTION): Define.
177         (REAL_ARITHMETIC): Don't undefine.
178
179 2001-11-18  Egor Duda  <deo@logos-m.ru>
180
181         * config/i386/cygwin.h: Strip leading '*' from name, if any.
182
183 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
184
185         * Makefile.in (c-parse.o, c-common.o): Update dependencies.
186         * c-common.c: Include diagnostic.h.
187         (c_common_finish): New.
188         * c-common.h (c_common_finish): New.
189         * c-lang.c (LANG_HOOKS_FINISH): Override.
190         * c-parse.in: Don't include diagnostic.h.
191         (finish_parse): Remove.
192         * langhooks.h: Update comments.
193         * toplev.c (lang_dependent_init): New prototype.
194         (finalize): New.
195         (compile_file): Split cleanup code out to finalize.
196         (lang_dependent_init): Stop if lang_hooks.init fails.
197         (toplev_main): Update.
198         * tree.h (finish_parse): Remove.
199 objc:
200         * objc-act.c (LANG_HOOKS_FINISH): Override.
201
202 Sat Nov 17 23:30:44 2001  Douglas B. Rupp  <rupp@gnat.com>
203
204         * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
205         * config/alpha/vms_tramp.asm: New file.
206         * config/alpha/vms-tramp.asm: Removed.
207
208 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
209
210         * c-common.c (struct disabled_builtin, disabled_builtins,
211         disable_builtin_function, builtin_function_disabled_p): New.
212         (builtin_function_2): Check for disabled built-in functions.
213         * c-common.h (disable_builtin_function): Declare.
214         * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
215         * doc/invoke.texi: Document -fno-builtin-FUNCTION.
216         * doc/extend.texi: Mention -fno-builtin-FUNCTION.
217
218 2001-11-17  Craig Rodrigues  <rodrigc@gcc.gnu.org>
219
220         PR target/4606
221         * config.gcc: Remove reference to va-clipper.h.
222
223 2001-11-17  Stan Shebs  <shebs@apple.com>
224
225         * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
226         AltiVec-related bitfields.
227
228 Sat Nov 17 12:06:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
229
230         * except.c (enum eh_region_type): Add ERT_UNKNOWN.
231         (mark_eh_region, case ERT_UKNONW): New case.
232
233 2001-11-17  Christopher Faylor  <cgf@redhat.com>
234             Corinna Vinschen  <vinschen@redhat.com>
235
236         * config/i386/cygwin.h: Search target specific include directory for
237         w32api stuff, if appropriate.
238
239 Sat Nov 17 08:20:44 2001  Douglas Rupp  <rupp@gnat.com>
240
241         * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
242
243 2001-11-16  Aldy Hernandez  <aldyh@redhat.com>
244
245         * config/rs6000/rs6000.md: Change all ldvx to lvx.
246
247 2001-11-16  Alexandre Oliva  <aoliva@redhat.com>
248
249         * gensupport.c (process_rtx): Don't assume filename is the first
250         argument of any rtl.
251
252 2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
253
254         * vax-protos.h (reg_was_0_p): New prototype.
255         * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
256         * vax.c (follows_p, reg_was_0_p): New functions.
257
258 2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
259
260         * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
261         (casesi1): Likewise.  Define new pattern which arises by simplification
262         when operand 1 is a constant int.  Correct pattern which arises by
263         simplification when operand 1 is zero.
264
265 2001-11-16  David O'Brien  <obrien@FreeBSD.org>
266
267         * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
268         arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
269         arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
270         arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
271         arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
272         arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
273         xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
274         * config/arm/aof.h: Don't include arm.h.
275         * config/arm/aout.h: Likewise.
276         * config/arm/coff.h: Don't include semi.h and aout.h.
277         * config/arm/elf.h: Don't include aout.h.
278         * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
279         (TARGET_VERSION): Undef before defining.
280         (ARM_OS_NAME): Likewise
281         (TARGET_DEFAULT): Likewise
282         (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
283         * config/arm/pe.h: Don't include arm/coff.h.
284         * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
285         SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
286         * config/arm/riscix1-1.h: Likewise.
287         * config/arm/rix-gas.h: Don't include riscix.h.
288         (DBX_CONTIN_LENGTH): Undef before defining.
289         * config/arm/semi.h: Don't include aout.h.
290         * config/arm/semiaof.h: Don't include aof.h.
291         * config/arm/strongarm-coff.h: Don't include coff.h.
292         * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
293         * config/arm/vxarm.h: Don't include arm/coff.h.
294         * config/arm/xscale-coff.h: Don't include coff.h.
295
296 Fri Nov 16 15:22:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
297
298         * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
299         emit_cmp_insn.
300
301 2001-11-16  Andreas Jaeger  <aj@suse.de>
302
303         * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
304         to ....
305         (fixup_fallthru_exit_predecessor): ... this.
306         Change callers and prototype.
307
308 2001-11-16  Bernd Schmidt  <bernds@redhat.com>
309
310         * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
311         hand; don't use gen_setcc_2.
312         (ix86_expand_builtin): Fix pshufw.
313         * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
314         case UNORDERED to emit the right assembler instruction.
315         (mmx_pshufw): Lose operand 2.
316         (cvtsi2ss): Fix representation.
317         From Graham Stott:
318         (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
319
320 2001-11-16  Joseph S. Myers  <jsm28@cam.ac.uk>
321
322         * doc/include/linux-and-gnu.texi: Remove.
323         * doc/gnu.texi: New.
324         * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
325         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
326
327 2001-11-16  Kazu Hirata  <kazu@hxi.com>
328
329         * config/a29k/a29k.c: Fix comment formatting.
330         * config/a29k/a29k.h: Likewise.
331         * config/arc/arc.c: Likewise.
332         * config/arc/arc.h: Likewise.
333         * config/vax/vax.c: Likewise.
334         * config/vax/vax.h: Likewise.
335         * config/we32k/we32k.c: Likewise.
336         * config/we32k/we32k.h: Likewise.
337
338 2001-11-16  Jeff Law  <law@redhat.com>
339
340         * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
341         creating a new jump insn.
342
343 Fri Nov 13 09:06:25 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
344
345         * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
346         copy misaligned data.
347         * varasm.c (assemble_variable): Set alignment into MEM when changed.
348
349 2001-11-16  Graham Stott  <grahams@redhat.com>
350
351         * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
352         OPALIGN type.
353
354 2001-11-16  Olivier Hainque <hainque@act-europe.fr>
355
356         * except.c: Support for catching a list of types with a single handler
357         (struct eh_region): Change type and filter to lists for catch regions.
358         (mark_eh_region): Mark the filter list for GC also.
359         (expand_start_catch): Always build a list if argument not NULL and
360         register each type of the list through add_type_for_runtime.
361         (duplicate_eh_region_1): Change type into type_list for catch regions.
362         (assign_filter_values): Assign a filter to each type associated with a
363         catch region. Assign filter for NULL types in a unique entry in the
364         filter list.
365         (build_post_landing_pads): Emit compare and jump for each filter of
366         the list associated with a catch region.
367         (reachable_next_level): When the type thrown is known, stop the search
368         as soon as one type within a catch list matches. Also, a handler is
369         potentially reachable only if at least one of the types it catches
370         has not been previously caught.
371         (collect_one_action_chain): Retrieve the filter for a NULL type list
372         from the first filter list entry. For non NULL type lists, add an
373         action record for every filter assigned.
374         * except.h: Reflect changes in comment before expand_start_catch.
375
376 Fri Nov 16 07:12:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
377
378         * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
379         BLKmode.
380
381 Fri Nov 16 06:37:05 2001  Andreas Tobler  <a.tobler@schweiz.ch>
382
383         * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
384
385 2001-11-16  Jakub Jelinek  <jakub@redhat.com>
386
387         * c-lang.c (finish_file): Don't emit static inline functions if
388         they weren't referenced.
389
390 2001-11-15  Stan Shebs  <shebs@apple.com>
391
392         * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
393
394 2001-11-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
395
396         * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
397         call.
398         * config/i386/i386.md: Likewise.
399
400 Thu Nov 15 21:40:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
401
402         * timevar.c (rtl.h): Include so get fancy abort.
403
404 2001-11-15  Dale Johannesen  <dalej@apple.com>
405
406         * config/darwin.h (SELECT_RTX_SECTION):  Force address
407         initializers into 'const' section
408         * config/rs6000/rs6000.c (rs6000_emit_cmove):  Fix mode of
409         if_then_else to match result, not operands
410
411 Thu Nov 15 17:57:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
412
413         * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
414         * emit-rtl.c (change_address): Fix typo in default alignment.
415         (adjust_address_1): Use mode of NEW, not MODE, when setting size.
416         * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
417         * rtl.h (REGNO_PTR_FRAME_P): New macro.
418
419         * expr.c (store_field): Pass tree instead of max size; callers changed.
420         Change handling of alignment.
421         Only copy to_rtx if is TARGET.
422         (expand_expr_unaligned): Delete; callers now use expand_expr.
423         (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
424         (expand_assignment): Change handling of alignment.
425         Only copy to_rtx if was original.
426         (get_inner_reference): No longer return alginment; callers changed.
427         (expand_expr, case COMPONENT_REF): Change handling of alignment.
428         (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
429         (compare_from_rtx): Delete ALIGN parm; all callers changed.
430         (do_compare_rtx_and_jump): Likewise.
431         * expr.h: Reflect above changes.
432         * tree.h: Likewise.
433         * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
434         to get_inner_reference.
435         * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
436         * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
437         * optabs.c: Likewise.
438         (prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
439         (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
440         * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
441         compare_rtx_and_jump, and emit_cmp_jump_insns.
442         * fold-const.c: Remove PALIGN in calls to get_inner_reference.
443         * function.c (assign_stack_temp_for_type): No longer static.
444         * optabs.h (emit_cmp_insn): Remove ALIGN parm.
445         (prepare_cmp_insn): Delete declaration.
446         * rtl.h (assign_stack_temp_for_type): Add declaration.
447         * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
448         * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
449         * config/i386/i386.c,config/mips/mips.c: Likewise.
450         * config/i860/i860.c, config/ia64/ia64.c: Likewise.
451         * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
452
453 2001-11-15  Stan Shebs  <shebs@apple.com>
454
455         * config/rs6000/rs6000.h: Fix a comment typo.
456         (RTX_COSTS): Sort processor versions better.
457
458 2001-11-15  Kazu Hirata  <kazu@hxi.com>
459
460         * config/h8300/h8300.md: Fix insn length of bit insns.
461
462 2001-11-15  Jason Merrill  <jason@redhat.com>
463
464         * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
465         DIEs if there were errors in the source.
466
467         * config/alpha/alpha-interix.h, config/alpha/elf.h,
468         config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
469         config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
470         config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
471         config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
472         config/elfos.h, config/lynx.h, config/netware.h,
473         config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
474         config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
475         uses to use ASM_LONG.
476
477 2001-11-15  Alan Matsuoka  <alanm@redhat.com>
478
479         * gensupport.c  process_include : Change call to alloca to
480         xmalloc.
481
482 2001-11-15  Aldy Hernandez  <aldyh@redhat.com>
483
484         * config/rs6000/rs6000.md: Use spaces instead of tabs in output
485         templates.
486
487 Thu Nov 15 08:36:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
488
489         * final.c (alter_subreg): If simplify_subreg can't do anything,
490         handle REG ourselves and abort for others.
491
492 2001-11-15  Richard Hodson  <hodsonr@dionecorp.com>
493
494         * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
495         routines.
496
497 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
498
499         * fix-header.c (read_scan_file): Update.
500
501 Thu Nov 15 08:36:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
502
503         * toplev.c (toplev_main): Don't start timing until after
504         command-line options are parsed.
505
506 2001-11-15  Andreas Schwab  <schwab@suse.de>
507
508         * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
509         makefile frag, not host makefile frag.
510         (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
511         (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
512         used.
513         (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
514         * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
515         * config/m88k/t-dgux (STMP_FIXPROTO): Define.
516         * config/i386/t-cygwin (STMP_FIXPROTO): Define.
517         * config/i386/t-dgux (STMP_FIXPROTO): Define.
518         * config/x-interix: Don't define STMP_FIXPROTO and
519         FIXPROTO_DEFINES.
520         * config/t-interix: New file, define STMP_FIXPROTO.
521         * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
522         * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
523         * config/t-svr4 (FIXPROTO_DEFINES): Define.
524         * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
525         * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
526         * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
527         * config/m68k/t-hp3200: Renamed from x-hp3200.
528         * config/i370/t-oe: Renamed from x-oe.
529         * config/mips/t-iris: Renamed from x-iris.
530         * config/pa/t-bsd: Renamed from x-pa.
531         * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
532         * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
533         config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
534         config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
535         config/rs6000/x-cygwin: Remove files.
536
537         * configure.in: Check for target objdump and use that in eh_frame
538         optimization test.
539         * configure: Regenerated.
540
541 2001-11-15  Jakub Jelinek  <jakub@redhat.com>
542
543         * jump.c (squeeze_notes): Return true if no real insns were found.
544         * rtl.h (squeeze_notes): Adjust prototype.
545         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
546         squeeze_notes finds no real instructions, abort.
547         (merge_blocks_move_successor_nojumps): Likewise.
548         * loop.c (find_and_verify_loops): Likewise.
549         * stmt.c (expand_end_case): Likewise.
550         * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
551         find any real instructions.
552
553         * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
554
555         * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
556         conditional jump, request updating life into for the block
557         containing it.  Fix a typo which prevented life info update.
558         Clear blocks bitmap before using it.
559
560 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
561
562         * c-common.c: Include c-lex.h.
563         (c_common_lang_init): Change prototype.  Call init_c_lex and
564         init_pragma from here.
565         * c-common.h (c_common_lang_init): Change prototype.
566         * c-decl.c (init_decl_processing): Rename.  Call c_parse_init.
567         * c-lang.c (c_init): Change prototype.  Update.
568         (c_init_options): Update.
569         * c-lex.c (cpp_filename): Remove.
570         (init_c_lex): Update.  Read the main file, and get the original
571         file name.
572         (yyparse): Finish the command line options.
573         * c-parse.in (c_parse_init): Call init_reswords here.
574         (init_parse): Remove.
575         * c-tree.h (c_init_decl_processing): New.
576         * cpphash.c (_cpp_init_hashtable): After initializing the hash
577         table, populate it.
578         * cppinit.c (read_original_filename, cpp_finish_options): New.
579         (cpp_create_reader): New prototype. Defer hash table initialization.
580         (cpp_start_read): Rename cpp_read_main_file.  Initialize the
581         hash table.  Get the original filename.
582         * cpplib.h (cpp_create_reader): Update.
583         (cpp_start_read): Remove.
584         (cpp_read_main_file, cpp_finish_options): New.
585         * cppmain.c (main, do_preprocessing): Update.
586         * langhooks.h (struct langhooks): Update init prototype.
587         * toplev.c (general_init, parse_options_and_default_flags,
588         process_options, lang_indpendent_init, lang_dependent_init,
589         init_asm_output): New; perform the bulk of initialization.
590         (compile_file): Move most of initialization to above functions.
591         (debug_hooks): Initialize statically.
592         (set_Wunused): Relocate.
593         (toplev_main): Move most of initialization to other init functions.
594         Have a clear logic flow.
595         * tree.h (init_parse, init_decl_processing): Remove.
596 objc:
597         * objc-act.c (objc_init): Update prototype, combine with old
598         init_parse.
599         (objc_init_options): Update.
600
601
602 2001-11-15  Andreas Jaeger  <aj@suse.de>
603
604         * cfgrtl.c (purge_all_dead_edges): Use int as argument for
605         portability.
606         * basic-block.h: Adjust prototype.
607
608 2001-11-15  Kazu Hirata  <kazu@hxi.com>
609
610         * config/rs6000/aix31.h: Fix comment formatting.
611         * config/rs6000/beos.h: Likewise.
612         * config/rs6000/darwin.h: Likewise.
613         * config/rs6000/eabi.asm: Likewise.
614         * config/rs6000/linux.h: Likewise.
615         * config/rs6000/linux64.h: Likewise.
616         * config/rs6000/lynx.h: Likewise.
617         * config/rs6000/netbsd.h: Likewise.
618         * config/rs6000/rs6000.c: Likewise.
619         * config/rs6000/rs6000.h: Likewise.
620         * config/rs6000/rs6000.md: Likewise.
621         * config/rs6000/sol2.h: Likewise.
622         * config/rs6000/tramp.asm: Likewise.
623         * config/rs6000/xcoff.h: Likewise.
624         * config/rs6000/xm-beos.h: Likewise.
625
626 2001-11-14  Alan Matsuoka  <alanm@redhat.com>
627
628         * rtl.def (INCLUDE) : Define.
629         * gensupport.c  (init_include_reader, process_include,
630         save_string) :  New functions to implement an include facility
631         in .md files.
632         * gensupport.h : Add prototype for init_md_reader_args.
633         * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
634         genextract.c genflags.c genopinit.c genoutput.c
635         genpeep.c genrecog.c: Change call to init_md_reader to
636         init_md_reader_args.
637         * md.texi: Document (include "path") and -I directives for RTL
638         generation tools.
639
640 2001-11-14  DJ Delorie  <dj@redhat.com>
641
642         * integrate.c (get_hard_reg_initial_reg): New.
643         * integrate.h (get_hard_reg_initial_reg): Prototype.
644         * local-alloc.c (block_alloc): Don't tie pseudos that
645         represent call-saved hard regs' initial values.
646
647 2001-11-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
648
649         * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
650         recursion.
651
652 2001-11-14  Roger Sayle <roger@eyesopen.com>
653
654         * fold-const.c (fold): Optimize strlen comparisons against zero.
655
656 2001-11-14  David O'Brien  <obrien@FreeBSD.org>
657
658         * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
659         sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
660         sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
661         sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
662         sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
663         sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
664         sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
665         Include various CPU headers via tm_file.  a.out based platforms now
666         properly include sparc/aout.h.  sol2.h usage now implies including
667         elfos.h, svr4.h, and sparc/sysv4.h.
668         * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
669         Also define to '1'.
670         * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
671         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
672         DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
673         Remove.  They are a.out specific and belong in sparc/aout.h.
674         * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
675         ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
676         DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define.  Moved here from
677         sparc/sparc.h.
678         * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
679         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
680         Moved here from sparc/sparc.h.
681         * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
682         defining.
683         * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
684         * config/sparc/lynx.h:  Don't include lynx.h.
685         (SELECT_SECTION): Do not undef.
686         * config/sparc/openbsd.h: Don't include sparc/sparc.h.
687         * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
688         and sparc/sysv4.h.
689         * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
690         * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define.  Get from
691         sparc/aout.h now.
692         * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
693         Don't undef, there is no need.
694         * config/sparc/splet.h (CPP_PREDEFINES): Define.
695         * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
696         * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
697         Don't include sparc/sparc.h.
698         * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
699         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
700         DATA_SECTION_ASM_OP): Don't undef, there is no need now.  Don't include
701         elfos.h and svr4.h.
702         (TARGET_VERSION): Define.
703         * config/sparc/vxsim.h (TARGET_VERSION): Define.
704
705 Wed Nov 14 19:46:08 CET 2001  Jan Hubicka  <jh@suse.cz>
706
707         * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
708         (cfg_layout_finalize): Use it.
709         * bb-reorder.c (HAVE_epilogue): Remove.
710         (make_reorder_chain): Do not care special placement of
711         last basic block.
712
713         * predict.c (expected_value_to_br_prob): Delete the note
714         once transformed.
715
716         * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
717         measure integration time separately.
718
719 Wed Nov 14 12:30:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
720
721         * function.c (struct temp_slot): ALIGN now unsigned.
722
723 2001-11-14  Kazu Hirata  <kazu@hxi.com>
724
725         * config/dsp16xx/dsp16xx.c: Fix comment formatting.
726         * config/dsp16xx/dsp16xx.h: Likewise.
727         * config/dsp16xx/dsp16xx.md: Likewise.
728
729 2001-11-14  Kazu Hirata  <kazu@hxi.com>
730
731         * config/h8300/h8300.c (get_shift_alg): Reorganize the code
732         that deals with 7-bit shifts in HImode.
733
734 Wed Nov 14 14:17:05 CET 2001  Jan Hubicka  <jh@suse.cz>
735
736         * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
737         * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
738         (final_scan_insn): Update call of alter_subreg.
739         (cleanup_subreg_operands): Likewise.
740         (alter_subreg): Rewrite using simplify_subreg.
741         (output_address, output_operand): Update call of alter_subreg.
742         * output.h (alter_subreg): Update prototype.
743         * sdbout.c (sdbout_symbol): Update call of alter_subreg.
744         * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
745         * Makefile.in (final.o): Add depdendancy on expr.h
746
747 Wed Nov 14 06:37:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
748
749         * c-lang.c (finish_file): Make I unsigned to eliminate warning.
750
751 2001-11-13  Jeff Sturm  <jsturm@one-point.com>
752
753         * doc/install.texi (sparc-*-linux*): Mention requirements for
754         binutils and glibc.
755
756 2001-11-14  Joseph S. Myers  <jsm28@cam.ac.uk>
757
758         * Makefile.in (POD2MAN): Don't include --section=1.
759         (manext): Rename to man1ext.  All users changed.
760         (man7ext): New.
761         (man7dir): New.
762         (generated-manpages): Also depend on $(docdir)/gfdl.7,
763         $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
764         ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
765         --section=1 in calls to $(POD2MAN).
766         ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
767         (maintainer-clean, install, uninstall): Handle the new man pages.
768         ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
769         (installdirs): Create man7dir.
770         * doc/cpp.texi: Include GFDL in this manual.  In the man page,
771         refer to gfdl(7) for the GFDL.  Apply Front Cover and Back Cover
772         texts to man page.  Include gpl(7), gfdl(7) and fsf-funding(7) in
773         the SEE ALSO man page section.
774         * doc/gcov.texi: Apply GFDL to man page.  Include gpl(7), gfdl(7)
775         and fsf-funding(7) in the SEE ALSO man page section.
776         * doc/invoke.texi: Apply GFDL to man page.  Include gpl(7),
777         gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
778         * doc/include/fdl.texi, doc/include/funding.texi,
779         doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
780         * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
781
782 2001-11-13  Richard Henderson  <rth@redhat.com>
783
784         * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
785         as appropriate for the artificial decl.
786
787 2001-11-13  Richard Henderson  <rth@redhat.com>
788
789         * loop.c (combine_movables): Turn off combination until
790         move_movables validation bugs are fixed.
791
792 2001-11-13  DJ Delorie  <dj@redhat.com>
793
794         * config.gcc (powerpc|rs6000): Set default cpp options based
795         on --with-cpu settings.
796         * config/rs6000/softfloat.h: New.
797
798 2001-11-13  Kazu Hirata  <kazu@hxi.com>
799
800         * config/h8300/h8300.c (shift_alg_si): Use special code for
801         25-bit shifts on H8/S.
802         (get_shift_alg): Generate special code for 25-bit shifts on
803         H8/S.
804
805 2001-11-13  Jakub Jelinek  <jakub@redhat.com>
806
807         * emit-rtl.c (adjust_address_1): Add ADJUST argument.
808         (adjust_automodify_address_1): New.
809         * expr.h (adjust_address, adjust_address_nv): Adjust.
810         (adjust_automodify_address, adjust_automodify_address_nv): Define.
811         (adjust_address_1): Update prototype.
812         (adjust_automodify_address_1): Add prototype.
813         * expr.c (move_by_pieces_1): Use adjust_automodify_address.
814         (store_by_pieces_2): Likewise.
815
816 Tue Nov 13 05:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
817
818         * Makefile.in (explow.o): Now depends on ggc.h.
819         * explow.c (ggc.h): Include.
820         (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
821
822         * Makefile.in (expr.o): Depends on insn-attr.h.
823         * expr.c (insn-attr.h): New include.
824         (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
825         of MEM.
826         (highest_pow2_factor, case INTEGER_CST): Handle negative values.
827         (expand_expr): Remove unneeded mark_temp_addr_taken calls and
828         clean up related usage in ADDR_EXPR.
829         (expand_expr_unaligned): Likewise.
830
831         * emit-rtl.c (change_address): Fix typo in alias setting.
832
833 2001-11-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
834
835         * Makefile.in (cfgcleanup.o): Depend on insn-config.h
836
837 2001-11-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
838
839         PR bootstrap/3451
840         * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
841         GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
842
843 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
844
845         * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
846         sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
847         sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
848         sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
849         sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
850         sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
851         sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
852         sparc64-*-linux*):  Include various CPU headers via tm_file.
853         * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
854         (SELECT_SECTION): Likewise.
855         (SELECT_RTX_SECTION): Likewise.
856         * config/sparc/sparc_bi.h: New file.
857         * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
858         * config/sparc/linux-aout.h: Likewise.
859         * config/sparc/linux.h: Don't include sparc/sysv4.h.
860         * config/sparc/linux64.h: Likewise.
861         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
862         * config/sparc/lite.h:  Don't include sparc/sparc.h and gofast.h.
863         * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
864         and dbxcoff.h
865         (ASM_OUTPUT_IDENT): Do not #undef.
866         (SELECT_SECTION): Likewise.
867         (SELECT_RTX_SECTION): Likewise.
868         * config/sparc/liteelf.h: Don't include gofast.h.
869         * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
870         * config/sparc/lynx.h: Don't include sparc/sparc.h.
871         * config/sparc/pbd.h: Likewise.
872         * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
873         * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
874         * config/sparc/rtemself.h: Don't include rtems.h.
875         * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
876         * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
877         sparc_bi.h instead.
878         * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
879         * config/sparc/sol2.h: Include sparc/sparc.h directly.
880         * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
881         * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
882         * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
883         * config/sparc/sp86x-elf.h: Don't include gofast.h.
884         * config/sparc/splet.h: Don't include sparc/aout.h.
885         * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
886         * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
887         * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
888         * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
889         * config/sparc/vxsparc64.h: Don't include gofast.h.
890         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
891
892 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
893
894         * doc/standards.texi: Mention C99 TC1.
895
896 2001-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
897
898         * mips-protos.h (mips_output_conditional_branch): Const-ify.
899         * mips.c (mips_output_conditional_branch): Likewise.
900
901 2001-11-12  Kazu Hirata  <kazu@hxi.com>
902
903         * config/h8300/h8300.c (shift_alg_si): Use special code for
904         15-bit logical shifts and 31-bit logical shifts.
905         (get_shift_alg): Generate special code for 15-bit and 31-bit
906         logical shifts.
907
908 2001-11-12  Kazu Hirata  <kazu@hxi.com>
909
910         * config/h8300/h8300.c (shift_alg_qi): Use rotations when
911         doing 6-bit logical shifts on H8/S.
912         (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
913         (get_shift_alg): Generate special code for 21-bit shifts on
914         H8/S.
915
916 2001-11-12  Kazu Hirata  <kazu@hxi.com>
917
918         * config/h8300/h8300.c (get_shift_alg): Remove a redundant
919         label.
920
921 Mon Nov 12 11:58:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
922
923         * alias.c (nonoverlapping_memrefs_p): Only update size from memref
924         if both size and offset known.
925
926 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
927
928         * config/ia64/freebsd.h: Fix misspelling.
929
930 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
931
932         * doc/gcc.texi: Move several chapters out to ...
933         * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
934         doc/include/linux-and-gnu.texi, doc/interface.texi,
935         doc/makefile.texi, doc/passes.texi, doc/portability.texi:
936         ... here.  New files.
937         * doc/gcc.texi, doc/contrib.texi: Move section headings into
938         contrib.texi.
939         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
940
941 2001-11-12  Kazu Hirata  <kazu@hxi.com>
942
943         * config/alpha/alpha-interix.h: Fix comment formatting.
944         * config/alpha/alpha.c: Likewise.
945         * config/alpha/alpha.h: Likewise.
946         * config/alpha/alpha32.h: Likewise.
947         * config/alpha/freebsd.h: Likewise.
948         * config/alpha/unicosmk.h: Likewise.
949         * config/alpha/vms.h: Likewise.
950
951 2001-11-12  Kazu Hirata  <kazu@hxi.com>
952
953         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
954
955 2001-11-12  Jakub Jelinek  <jakub@redhat.com>
956
957         * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
958         numbers.
959
960 Mon Nov 12 05:18:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
961
962         * emit-rtl.c (set_mem_attributes): If making object, can set alignment
963         from type.
964         (replace_equiv_address): Call update_temp_slot_address.
965
966         * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
967
968         * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
969
970 2001-11-12  Kazu Hirata  <kazu@hxi.com>
971
972         * config/h8300/h8300.c (shift_alg_qi): New.
973         (shift_alg_hi): Likewise.
974         (shift_alg_si): Likewise.
975         (get_shift_alg): Change the type of count to unsigned int.
976         Use the tables.
977
978 2001-11-11  Alexandre Oliva  <aoliva@redhat.com>
979
980         * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
981         * c-decl.c (c_expand_body): Take argument can_defer_p.  Use it
982         to decide whether to defer a function.
983         (finish_function): Adjust.
984         (c_expand_deferred_function): New function.
985         * c-lang.c (deferred_fns): New variable.
986         (c_init): Initialize it, and mark it as a root.
987         (defer_fn): New function.
988         (finish_file): Expand all deferred functions.
989         * c-tree.h (defer_fn): Declare.
990         (c_expand_deferred_function): Likewise.
991         * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
992         * objc-act.c (deferred_fns): New variable.
993         (objc_init): Initialize it, and mark it as a root.
994         (defer_fn): New function.
995         (finish_file): Expand all deferred functions.
996
997 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
998
999         * alpha.c (unicosmk_special_name): Prototype.
1000         (unicosmk_ssib_name): Delete unused variable.
1001         * alpha/unicosmk.h (common_section, ssib_section): Prototype.
1002         * alpha/vms.h (PREFIX): Undef before defining.
1003         * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
1004         * i370/i370.c (mvs_hash_alias): Prototype.  Wrap with macro
1005         controlling usage.  Const-ify.
1006         (alias_number): Delete unused variable.
1007         * m32r/m32r.c (m32r_sched_init): Add missing argument.
1008         (m32r_expand_block_move): Fix uninitialized warnings.
1009         * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
1010         always true' warnings.
1011         * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
1012         * sh/sh.c: Include "integrate.h".
1013         (output_far_jump): Fix uninitialized warning.
1014         * final.c (shorten_branches): Avoid automatic aggregate
1015         initialization.
1016         * integrate.c (subst_constants): Likewise.
1017
1018 2001-11-11  Kazu Hirata  <kazu@hxi.com>
1019
1020         * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
1021         (get_shift_alg): Remove redundant code.
1022
1023 2001-11-11  Kazu Hirata  <kazu@hxi.com>
1024
1025         * config/pa/milli64.S: Fix comment formatting.
1026         * config/pa/pa-64.h: Likewise.
1027         * config/pa/pa-linux.h: Likewise.
1028         * config/pa/pa-protos.h: Likewise.
1029         * config/pa/pa.c: Likewise.
1030         * config/pa/pa.h: Likewise.
1031         * config/pa/pa32-linux.h: Likewise.
1032         * config/pa/pa32-regs.h: Likewise.
1033         * config/pa/pa64-hpux.h: Likewise.
1034         * config/pa/pa64-regs.h: Likewise.
1035         * config/pa/som.h: Likewise.
1036
1037 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
1038
1039         * doc/gcc.texi: Move several chapters out to ...
1040         * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
1041         doc/service.texi, doc/standards.texi, doc/trouble.texi,
1042         doc/vms.texi: ... here.  New files.
1043         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
1044
1045 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
1046
1047         * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
1048         cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
1049         collect2.c, combine.c, config.in, configure, configure.in,
1050         conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
1051         genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
1052         reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
1053         spelling errors.
1054
1055 Sun Nov 11 05:56:01 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1056
1057         * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
1058         Adjust operand number in CONST_DOUBLE.
1059
1060         * expmed.c (extract_bit_field): No longer pass in alignment.
1061         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1062         (store_bit_field, store_fixed_bit_field, store_split_bit_field):
1063         Likewise.
1064         * expr.c (store_constructor, store_constructor_field): Likewise.
1065         (store_field, emit_group_load, emit_group_store): Likewise.
1066         * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
1067         (store_bit_field, extract_bit_field): Likewise.
1068         * calls.c, expr.c, function.c: Change calls to above functions.
1069         * ifcvt.c, stmt.c: Likewise.
1070
1071         * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
1072         constant and one is on frame.
1073         If know memref offset, adjust size from decl.
1074
1075 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1076
1077         * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
1078         format specifier warning.
1079         * convex.h (ASM_OUTPUT_BYTE): Likewise.
1080         * elfos.h (ALIGN_ASM_OP): Undef before defining.
1081         * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
1082         warning.
1083         * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1084         * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1085         * i386-interix.h (gen_stdcall_suffix): Prototype.
1086         * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
1087         * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
1088         ASM_OUTPUT_LONG_DOUBLE): Likewise.
1089         * i386/interix.c (gen_stdcall_suffix): Const-ify.
1090         * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
1091         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
1092         specifier warnings.
1093         * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1094         * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
1095         ASM_OUTPUT_LONG_DOUBLE): Likewise.
1096         * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1097         * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1098         * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1099         * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1100         * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
1101         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
1102         * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
1103         * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
1104         Likewise.
1105         * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
1106         Likewise.
1107         * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
1108         * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
1109         ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
1110         Likewise.
1111         * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
1112         Likewise.
1113         * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
1114         Likewise.
1115         * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
1116         * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
1117         * m68k/news.h (PRINT_OPERAND): Likewise.
1118         * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
1119         ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
1120         * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
1121         * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
1122         definition.
1123         * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
1124         ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
1125         ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
1126         * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
1127         * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
1128         ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
1129         PRINT_OPERAND): Likewise.
1130         * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
1131         Likewise.
1132         * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
1133         * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
1134         * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
1135         * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
1136         * mips.c (mips_output_external_libcall): Mark parameter with
1137         ATTRIBUTE_UNUSED.
1138         (mips_asm_file_start): Move variable into the scope where it's
1139         used.
1140         * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
1141         * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
1142         * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
1143         * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1144         * ns32k.c (print_operand): Likewise.
1145         * pa.c (print_operand, output_div_insn): Likewise.
1146         * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
1147         ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
1148         * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
1149         * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
1150         specifier warnings.
1151         * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1152         * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1153         (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
1154         * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
1155         specifier warnings.
1156         * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1157
1158         * sdbout.c (sdbout_end_epilogue): Mark parameter with
1159         ATTRIBUTE_UNUSED.
1160         * varasm.c (assemble_global): Likewise.
1161
1162 2001-11-11  H.J. Lu <hjl@gnu.org>
1163
1164         * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
1165
1166 Sun Nov 11 01:26:00 CET 2001  Jan Hubicka  <jh@suse.cz>
1167
1168         * final.c (*_MAX_SKIP): Use *_max_skip variables.
1169         * flags.h (align_loops_max_skip, align_jumps_max_skip,
1170         align_labels_max_skip): New global variables.
1171         * toplev.c (align_loops_max_skip, align_jumps_max_skip,
1172         align_labels_max_skip): New global variables.
1173         (toplev_main): Set new variables.
1174         * i386.c (override_options): Set max_skip values.
1175
1176 2001-11-10  Geoffrey Keating  <geoffk@redhat.com>
1177
1178         * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
1179         * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
1180         * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
1181         don't print an @fptr for labels either.
1182         (xstormy16_output_addr_vec): Don't print @fptr here.
1183         * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
1184
1185 Sat Nov 10 08:50:50 2001  Jeffrey A Law  (law@cygnus.com)
1186
1187         * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
1188         an ANSI/ISO definitino.
1189         (ssa_const_prop): Likewise.
1190
1191 2001-11-10  Aldy Hernandez  <aldyh@redhat.com>
1192
1193         * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
1194         altivec registers.
1195
1196 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1197
1198         * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
1199         * cpplex.c (hex_digit_value): Use hex_p/hex_value.
1200         * cppmain.c (general_init): Call hex_init.
1201         * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
1202
1203         * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
1204
1205         * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
1206         of dgux.c:output_file_start().
1207
1208         * i386/dgux.c: Delete file.
1209
1210 2001-11-09  Richard Henderson  <rth@redhat.com>
1211
1212         * config/alpha/alpha.c (decl_in_text_section): New.
1213         (current_file_function_operand): Use it.
1214         (alpha_encode_section_info, alpha_end_function): Likewise.
1215
1216 2001-11-07  David O'Brien  <obrien@FreeBSD.org>
1217
1218         * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
1219         * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
1220         they are OS specific.  Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
1221         so OS specific files and use CPP_PREDEFINES for their needs.
1222         * config/i64/elf.h (TARGET_VERSION): Add.  Also, move inclusion of
1223         target headers to tm_file.
1224         * config/ia64/aix.h (TARGET_VERSION): Likewise.
1225         * config/ia64/hpux.h (TARGET_VERSION): Likewise.
1226         * config/ia64/linux.h (TARGET_VERSION): Likewise.
1227         (FUNCTION_PROFILER): Remove.
1228         * config/ia64/ia64.h (FUNCTION_PROFILER): Update defintion using the
1229         version in config/ia64/linux.h.
1230         * config/ia64/freebsd.h: New file.
1231         * config/freebsd.h: Tidy up.
1232         (_USING_CONFIG_FREEBSD): Define.
1233         (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
1234         (FBSD_CPP_SPEC): Define generic FreeBSD spec.
1235         (FBSD_STARTFILE_SPEC): Likewise.
1236         (FBSD_ENDFILE_SPEC): Likewise.
1237         (FBSD_LIB_SPEC): Likewise.
1238         (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
1239         (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
1240         set an ELF-improper one.
1241
1242 2001-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1243
1244         * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
1245         constant can be loaded in a single instruction to a register.  When
1246         loading immediate constants, use PLUS instead of HIGH/LO_SUM.  Use
1247         depdi for insertion of most significant 32-bits on 64-bit hosts.
1248         * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
1249         with ldil/ldo/depdi instruction sequence on 64-bit hosts.
1250         * pa.md: New addmove pattern for adding constant_int to HImode
1251         register and moving result to HImode register.  Remove HImode HIGH
1252         and LO_SUM patterns.
1253
1254 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
1255
1256         * Makefile.in: Update.
1257         * c-decl.c (print_lang_decl, print_lang_type): Remove.
1258         (print_lang_identifier): Rename c_print_identifier.
1259         * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
1260         (print_lang_statistics, lang_print_xnode): Remove.
1261         * c-parse.in (set_yydebug): Rename c_set_yydebug.
1262         * c-tree.h (c_set_yydebug, c_print_identifier): New.
1263         * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
1264         LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
1265         LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
1266         LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
1267         (LANG_HOOKS_INITIALIZER): Update.
1268         * langhooks.h (struct lang_hooks): New members.
1269         (lang_print_tree_hook): New.
1270         * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
1271         * print-tree.c: Include langhooks.h.
1272         (print_node): Update.
1273         * toplev.c (decode_d_option): Update.
1274         * tree.c: Include langhooks.h.
1275         (dump_tree_statistics): Update.
1276         * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
1277         print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
1278 objc:
1279         * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
1280         LANG_HOOKS_SET_YYDEBUG): Override.
1281         (lang_print_xnode, print_lang_statistics): Remove.
1282
1283 2001-11-09  Richard Henderson  <rth@redhat.com>
1284
1285         * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
1286         on the symbol string.
1287
1288 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1289
1290         * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
1291         ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
1292         * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
1293
1294         * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
1295
1296         * tlink.c (recompile_files): Copy strings passed to `putenv'.
1297
1298 2001-11-09  Geoffrey Keating  <geoffk@redhat.com>
1299
1300         * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
1301         (TYPE_READONLY): Likewise.
1302
1303         * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
1304
1305         * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
1306         don't pass --gdwarf2 to the assembler if the compiler will also
1307         provide debug info.
1308
1309         * config/stormy16/stormy16.c (xstormy16_expand_casesi):
1310         Don't change INDEX.
1311
1312 Fri Nov  9 17:51:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1313
1314         * alias.c (nonoverlapping_memrefs_p): New function.
1315         (true_dependence, canon_true_depenence, write_dependence_p): Call it.
1316
1317         * emit-rtl.c (set_mem_attributes): Get alignments for constants.
1318
1319 2001-11-09  Aldy Hernandez  <aldyh@redhat.com>
1320
1321         * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
1322         (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
1323         generating altivec code.
1324         (FIXED_REGISTERS): VRSAVE is fixed.
1325         (CALL_USED_REGISTERS): VRSAVE is call used.
1326
1327 2001-11-09  Jason Eckhardt  <jle@rice.edu>
1328
1329         * config/mips/mips.c (mips_output_conditional_branch): Do not hard
1330         code the branch target as ".+16/.+12", but rather use labels.
1331
1332 Fri Nov  9 11:27:42 2001  Jeffrey A Law  (law@cygnus.com)
1333
1334         * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
1335         to work around limitations of certain versions of GAS.
1336
1337         * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
1338         (muldi3): Update due to SUBREG_BYTE changes.
1339         (casesi): Similarly.
1340
1341 2001-11-09  Zack Weinberg  <zack@codesourcery.com>
1342
1343         * doc/invoke.texi: Remove comment referring to -xf77-version.
1344
1345 2001-11-09  Kazu Hirata  <kazu@hxi.com>
1346
1347         * config/convex/convex.c: Fix comment formatting.
1348         * config/convex/convex.h: Likewise.
1349
1350 2001-11-08  Zack Weinberg  <zack@codesourcery.com>
1351
1352         * Makefile.in (.po.pox): Look both in srcdir and builddir
1353         for $(PACKAGE).pot.
1354         (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
1355         to the source directory.
1356
1357 2001-11-09 Ben Elliston  <bje@redhat.com>
1358            Michael Meissner  <meissner@redhat.com>
1359            Andrew MacLeod  <amacleod@redhat.com>
1360            Richard Henderson  <rth@redhat.com>
1361            Nick Clifton  <nickc@redhat.com>
1362            Catherine Moore  <clm@redhat.com>
1363
1364         * m32r.c: Add support for m32rx processor.
1365         * m32r.h: Ditto.
1366         * m32r.md: Ditto.
1367         * t-m32r: Ditto.
1368         * m32r-protos.h: Add prototypes for m32rx functions.
1369         * doc/invoke.texi: Document -m32rx option.
1370
1371 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
1372
1373         * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
1374         or after reload.
1375
1376 2001-11-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1377
1378         * doc/install.texi2html: Use $MAKEINFO --no-split.
1379
1380 2001-11-09  Andreas Schwab  <schwab@suse.de>
1381
1382         * Makefile.in ($(HOST_PREFIX_1)rtl.o,
1383         $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
1384         $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
1385         $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
1386         $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
1387
1388 2001-11-09  H.J. Lu <hjl@gnu.org>
1389
1390         * config/mips/mips.c (mips_output_function_prologues): Cast
1391         `tsize' to long for output.
1392
1393 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
1394
1395         * c-lang.c (LANG_HOOKS_NAME): New.
1396         (lang_hooks): Constify.
1397         (c_init_options): Update.
1398         (lang_identify): Remove.
1399         * c-parse.in (language_string): Remove.
1400         * dbxout.c: Include langhooks.h.
1401         (dbxout_symbol_location): Update.
1402         * dwarf2out.c: Include langhooks.h.
1403         (gen_compile_unit_die): Update.
1404         * dwarfout.c: Include langhooks.h.
1405         (prototyped_attribute, output_compile_unit_die): Update.
1406         * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
1407         (LANG_HOOKS_INITIALIZER): Update.
1408         * langhooks.h (struct lang_hooks): New members.  Constify.
1409         * stringpool.c: Don't include toplev.h.
1410         (set_identifier_size): Remove.
1411         * toplev.c (toplev_main): Initialize identifier size.
1412         (print_version): Update.
1413         * tree.h (language_string, init_lex, lang_identify,
1414         set_identifier_size): Remove.
1415         * Makefile.in: Update dependencies.
1416         * config/darwin.c: Include langhooks.h.
1417         (func_name_maybe_scoped): Update.
1418         * config/darwin.h (ASM_END_FILE): Update.
1419         * config/nextstep.h (ASM_END_FILE): Update.
1420         * config/nextstep21.h (ASM_END_FILE): Update.
1421         * config/i386/sun386.h (ASM_END_FILE): Update.
1422         * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
1423         (rs6000_output_function_epilogue): Update.
1424 objc:
1425         * objc-act.c (LANG_HOOKS_NAME): Override.
1426         (struct lang_hooks): Constify.
1427         (objc_init_options): Update.
1428         (lang_identify): Remove.
1429
1430 Fri Nov  9 00:25:18 EST 2001  John Wehle  (john@feith.com)
1431
1432         * fold-const.c (lshift_double): Honor PREC.
1433         (rshift_double): Likewise.
1434
1435 2001-11-08  Kazu Hirata  <kazu@hxi.com>
1436
1437         * config/1750a/1750a.c: Fix comment formatting.
1438         * config/1750a/1750a.h: Likewise.
1439
1440 2001-11-08  Phil Edwards  <pedwards@disaster.jaj.com>
1441
1442         * configure.in (--enable-languages): Be more permissive about
1443         syntax.  Check for empty lists better.  Warn about $LANGUAGES.
1444         * configure: Regenerated.
1445
1446 2001-11-08  Richard Henderson  <rth@redhat.com>
1447
1448         * dwarf2asm.c (dw2_force_const_mem): Fix typo.
1449
1450 2001-11-08  Geoffrey Keating  <geoffk@redhat.com>
1451
1452         * config.gcc: Rename stormy16 to xstormy16.
1453         * config/stormy16/stormy-abi: Likewise.
1454         * config/stormy16/stormy16-protos.h: Likewise.
1455         * config/stormy16/stormy16.c: Likewise.
1456         * config/stormy16/stormy16.h: Likewise.
1457         * config/stormy16/stormy16.md: Likewise.
1458
1459 2001-11-06  Geoffrey Keating  <geoffk@redhat.com>
1460
1461         * tree.h (TYPE_VOLATILE): Add enable-checking code.
1462         (TYPE_READONLY): Likewise.
1463
1464 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1465
1466         * reload1.c (reload): Don't delete equiv insn if can throw.
1467
1468         * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
1469         (clear_storage): Likewise, for OBJECT.
1470
1471 Thu Nov  8 16:23:51 2001  Jeffrey A Law  (law@cygnus.com)
1472
1473         * pa.c (emit_move_sequence): Fix SUBREG expression to
1474         use proper byte offset when extending a constant from
1475         SImode to DImode.
1476
1477 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
1478
1479         * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
1480         which cannot throw.
1481
1482 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1483
1484         * explow.c (convert_memory_address, case SUBREG): Only return
1485         inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
1486
1487 2001-11-08  Richard Henderson  <rth@redhat.com>
1488
1489         * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
1490         (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
1491         (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
1492
1493 2001-11-08  Aldy Hernandez  <aldyh@redhat.com>
1494
1495         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
1496
1497 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
1498
1499         * dwarf2out.c (debug_str_hash): New.
1500         (struct indirect_string_node): New.
1501         (struct dw_val_struct): Change type of val_str to it.
1502         (DEBUG_STR_SECTION_FLAGS): Define.
1503         (add_AT_string): Push string into hashtable, increment reference
1504         counter.
1505         (AT_string): Return string from ht_identifier.
1506         (AT_string_form): New.
1507         (free_AT): For dw_val_class_str, just decrement reference counter.
1508         (size_of_string): Remove.
1509         (size_of_die): Use AT_string_form to decide what size the string
1510         occupies in DIE.
1511         (size_of_pubnames): Use strlen instead of size_of_string.
1512         (value_format): Use AT_string_form for dw_val_class_str.
1513         (output_die): Output DW_FORM_strp strings using
1514         dw2_asm_output_offset.
1515         (indirect_string_alloc, output_indirect_string): New.
1516         (dwarf2out_finish): Emit .debug_str strings if there are any.
1517
1518 2001-11-08  Andreas Franck  <afranck@gmx.de>
1519
1520         * configure.in: Add AC_ARG_PROGRAM to support program name
1521         transformation with --program-prefix, --program-suffix and
1522         --program-transform-name.
1523         * configure: Regenerated.
1524         * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
1525         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
1526         GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
1527         PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
1528         program_transform_name the way suggested by autoconf.
1529         (GCC_TARGET_INSTALL_NAME): Define.
1530         (install-driver): Use the transformed target alias name.
1531
1532 2001-11-08  Richard Henderson  <rth@redhat.com>
1533
1534         * config/mips/mips.c (save_restore_insns): Remove GP from the
1535         restore registers mask early instead of special casing it inside
1536         the loop.
1537
1538 2001-11-08  Neil Booth  <neil@daikokuya.demon.co.uk>
1539
1540         * cp/decl.c (shadow_warning): New function.
1541         (pushdecl): Improve -Wshadow warnings.  Don't give both a warning
1542         and an error when a block scope decl shadows a parameter.
1543
1544 2001-11-08  Richard Henderson  <rth@redhat.com>
1545
1546         * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
1547         case as well.
1548
1549 2001-11-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1550
1551         * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
1552         to implement floating negation on processors prior to PA 2.0.
1553
1554 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
1555
1556         * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
1557         (USE_LINKONCE_INDIRECT): Define.
1558         (dw2_output_indirect_constant_1): Try to output indirect constants
1559         into linkonce sections if possible.
1560         (dw2_force_const_mem): Likewise.  Register indirect_pool with GGC.
1561         (dw2_output_indirect_constants): Likewise.
1562
1563 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
1564
1565         * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
1566
1567 2001-11-07  Neil Booth  <neil@daikokuya.demon.co.uk>
1568
1569         * c-decl.c (pushdecl): Remove file and line.
1570         * c-typeck.c (pop_init_level): Remove size.
1571
1572 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
1573
1574         * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
1575         for rs6000.
1576
1577         * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
1578         (TARGET_ALTIVEC): New.
1579         (TARGET_SWITCHES): Add altivec.
1580         (FIRST_PSEUDO_REGISTER): Change to 109.
1581         (CALL_USED_REGISTERS): Same.
1582         (FIRST_ALTIVEC_REGNO): New.
1583         (LAST_ALTIVEC_REGNO): New.
1584         (ALTIVEC_REGNO_P): New.
1585         (UNITS_PER_ALTIVEC_WORD): New.
1586         (ALTIVEC_VECTOR_MODE): New.
1587         (FIXED_REGISTERS): Add altivec registers.
1588         (REG_ALLOC_ORDER): Same.
1589         (HARD_REGNO_NREGS): Adjust for altivec registers.
1590         (HARD_REGNO_MODE_OK): Same.
1591         (MODES_TIEABLE_P): Same.
1592         (REGISTER_MOVE_COST): Same.
1593         (REGNO_REG_CLASS): Same.
1594         (reg_class): Add ALTIVEC_REGS.
1595         (REG_CLASS_NAMES): Same.
1596         (REG_CLASS_CONTENTS): Same.
1597         (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
1598         (ALTIVEC_ARG_RETURN): New.
1599         (FUNCTION_VALUE): Handle VECTOR_TYPE.
1600         (LIBCALL_VALUE): Handle altivec vector modes.
1601         (VECTOR_MODE_SUPPORTED_P): New.
1602         (ALTIVEC_ARG_MIN_REG): New.
1603         (ALTIVEC_ARG_MAX_REG): New.
1604         (ALTIVEC_ARG_NUM_REG): New.
1605         (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
1606         (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
1607         (REGISTER_NAMES): Add altivec regs.
1608         (DEBUG_REGISTER_NAMES): Same.
1609         (ADDITIONAL_REGISTER_NAMES): Same.
1610         (rs6000_builtins): New.
1611         (MD_EXPAND_BUILTIN): New.
1612         (MD_INIT_BUILTINS): New.
1613         (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
1614         for AltiVec instructions.
1615         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
1616         (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
1617         registers.
1618         (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
1619         (TARGET_SWITCHES): Add no-altivec.
1620         (DATA_ALIGNMENT): Align vectors to 128 bits.
1621         (TARGET_OPTIONS): Add abi= option.
1622         Add rs6000_abi_string extern.
1623         (LOCAL_ALIGNMENT): New.
1624         (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
1625         (MASK_ALTIVEC_ABI): New.
1626         (TARGET_ALTIVEC_ABI): New.
1627         (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
1628         call-saved.
1629         (STACK_BOUNDARY): Adjust for altivec.
1630         (BIGGEST_ALIGNMENT): Same.
1631         (rs6000_args): Add vregno.
1632         (USE_ALTIVEC_FOR_ARG_P): New.
1633         (FIXED_REGISTERS): Add vrsave register.
1634         (CALL_USED_REGISTERS): Same.
1635         (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
1636         (VRSAVE_REGNO): New.
1637         (reg_class): Add VRSAVE_REGS.
1638         (REG_CLASS_NAMES): Same.
1639         (REG_CLASS_CONTENTS): Same.
1640         (REGNO_REG_CLASS): Same.
1641
1642         * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
1643         (ABI_STACK_BOUNDARY): Same.
1644         (BIGGEST_ALIGNMENT): Same.
1645         (ADJUST_FIELD_ALIGN): Remove undef.  Define anew.
1646         (ROUND_TYPE_ALIGN): Same.
1647
1648         * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
1649         to 64.
1650
1651         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
1652         to 64.
1653
1654         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
1655         to 64.
1656
1657         * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
1658         (altivec_expand_builtin): New.
1659         (altivec_init_builtins): New.
1660         (TARGET_EXPAND_BUILTIN): New.
1661         (TARGET_INIT_BUILTINS): New.
1662         (rs6000_init_builtins): New.
1663         (struct builtin_description): New.
1664         (bdesc_2arg): New.
1665         (rs6000_reg_names): Add altivec registers.
1666         (alt_reg_names): Same.
1667         (secondary_reload_class): Altivec regs can hold altivec regs and
1668         memory.
1669         (rs6000_emit_move): Force constants into memory for AltiVec moves.
1670         (print_operand): Add 'y' case for printing altivec memory
1671         operands.
1672         (rs6000_legitimize_address): Legitimize vector addresses into
1673         [REG+REG] or [REG].
1674         (altivec_expand_binop_builtin): New.
1675         New string rs6000_current_abi.
1676         (rs6000_override_options): Call rs6000_parse_abi_options.
1677         (rs6000_parse_abi_options): New.
1678         (function_arg_boundary): Vector arguments must be 16
1679         byte aligned.
1680         (function_arg_advance): Handle vector arguments.
1681         (function_arg_partial_nregs): Same.
1682         (init_cumulative_args): Same.
1683         (function_arg): Same.
1684
1685         * config/rs6000/rs6000.md (altivec_lvx): New.
1686         (type): Add altivec attribute.
1687         (movv4si): New.
1688         (*movv4si_internal): New.
1689         (movv16qi): New.
1690         (*movv16qi_internal): New.
1691         (movv8hi): New.
1692         (*movv8hi_internal1): New.
1693         (movv4sf): New.
1694         (*movv4sf_internal1): New.
1695         (altivec_stvx): New.
1696         (vaddubm): New.
1697         (vadduhm): New.
1698         (vadduwm): New.
1699         (vaddfp): New.
1700         (vaddcuw): New.
1701         (vaddubs): New.
1702         (vaddsbs): New.
1703         (vadduhs): New.
1704         (vaddshs): New.
1705         (vadduws): New.
1706         (vaddsws): New.
1707         (vand): New.
1708         (vandc): New.
1709         (vavgub): New.
1710         (vavgsb): New.
1711         (vavguh): New.
1712         (vavgsh): New.
1713         (vavguw): New.
1714         (vavgsw): New.
1715         (vcmpbfp): New.
1716         (vcmpequb): New.
1717         (vcmpequh): New.
1718         (vcmpequw): New.
1719         (vcmpeqfp): New.
1720         (vcmpgefp): New.
1721         (vcmpgtub): New.
1722         (vcmpgtsb): New.
1723         (vcmpgtuh): New.
1724         (vcmpgtsh): New.
1725         (vcmpgtuw): New.
1726         (vcmpgtsw): New.
1727         (vcmpgtfp): New.
1728         (vcmpgefp): New.
1729         (vcmpgtub): New.
1730         (vcmpgtsb): New.
1731         (vcmpgtuh): New.
1732         (vcmpgtsh): New.
1733         (vcmpgtuw): New.
1734         (vcmpgtsw): New.
1735         (vcmpgtfp): New.
1736         (vmaxub): New.
1737         (vmaxsb): New.
1738         (vmaxuh): New.
1739         (vmaxsh): New.
1740         (vmaxuw): New.
1741         (vmaxsw): New.
1742         (vmaxfp): New.
1743         (vmrghb): New.
1744         (vmrghh): New.
1745         (vmrghw): New.
1746         (vmrglb): New.
1747         (vmrglh): New.
1748         (vmrglw): New.
1749         (vminub): New.
1750         (vminsb): New.
1751         (vminuh): New.
1752         (vminsh): New.
1753         (vminuw): New.
1754         (vminsw): New.
1755         (vminfp): New.
1756         (vmuleub): New.
1757         (vmulesb): New.
1758         (vmuleuh): New.
1759         (vmulesh): New.
1760         (vmuloub): New.
1761         (vmulosb): New.
1762         (vmulouh): New.
1763         (vmulosh): New.
1764         (vnor): New.
1765         (vor): New.
1766         (vpkuhum): New.
1767         (vpkuwum): New.
1768         (vpkpx): New.
1769         (vpkuhss): New.
1770         (vpkshss): New.
1771         (vpkuwss): New.
1772         (vpkswss): New.
1773         (vpkuhus): New.
1774         (vpkshus): New.
1775         (vpkuwus): New.
1776         (vpkswus): New.
1777         (vrlb): New.
1778         (vrlh): New.
1779         (vrlw): New.
1780         (vslb): New.
1781         (vslh): New.
1782         (vslw): New.
1783         (vsl): New.
1784         (vslo): New.
1785         (vsrb): New.
1786         (vrsh): New.
1787         (vrsw): New.
1788         (vsrab): New.
1789         (vsrah): New.
1790         (vsraw): New.
1791         (vsr): New.
1792         (vsro): New.
1793         (vsububm): New.
1794         (vsubuhm): New.
1795         (vsubuwm): New.
1796         (vsubfp): New.
1797         (vsubcuw): New.
1798         (vsububs): New.
1799         (vsubsbs): New.
1800         (vsubuhs): New.
1801         (vsubshs): New.
1802         (vsubuws): New.
1803         (vsubsws): New.
1804         (vsum4ubs): New.
1805         (vsum4sbs): New.
1806         (vsum4shs): New.
1807         (vsum2sws): New.
1808         (vsumsws): New.
1809         (vxor): New.
1810
1811 2001-11-07  Daniel Berlin  <dan@cgsoftware.com>
1812
1813         * Makefile.in (df.o): Add fibheap.h to dependencies.
1814
1815         * df.h: Add prototypes for transfer functions, iterative_dataflow
1816         functions.
1817         (enum df_flow_dir): New enum.
1818         (enum df_confluence_op): New enum.
1819         (struct df): Add inverse_rts_map.
1820
1821         * df.c: Add sbitmap.h to the list of includes.
1822         (df_rd_global_compute): Removed.
1823         (df_ru_global_compute): Removed.
1824         (df_lr_global_compute): Removed.
1825         (df_rd_transfer_function): New function.
1826         (df_ru_transfer_function): New function.
1827         (df_lr_transfer_function): New function.
1828         (df_analyse_1): allocate/compute/free df->inverse_rts_map.
1829         Use iterative_dataflow_bitmap instead of df_*_global_compute.
1830         (iterative_dataflow_sbitmap): New function.
1831         (iterative_dataflow_bitmap): New function.
1832
1833 2001-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1834
1835         * doc/gcc.texi: Move terminology and spelling conventions to
1836         htdocs/codingconventions.html.
1837
1838 2001-11-07  Graham Stott  <grahams@redhat.com>
1839
1840         * cse.c (cse_insn): Emit BARRIER after unconditional jump.
1841
1842 Wed Nov  7 13:33:34 CET 2001  Jan Hubicka  <jh@suse.cz>
1843
1844         * expmed.c (expand_mult): Force operand to register before computing
1845         cost.
1846         * i386.c (x86_decompose_lea): New global vairable.
1847         * i386.h (x86_decompose_lea): Declare.
1848         (TARGET_DECOMPOSE_LEA): New macro.
1849         (RTX_COST): Handle leas properly.
1850
1851 2001-11-06  Richard Henderson  <rth@redhat.com>
1852
1853         * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
1854         defined for a CONSTRUCTOR; don't check it.
1855
1856 2001-11-06  Danny Smith  <dannysmith@users.sourceforge.net>
1857
1858         * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
1859         test for absolute pathnames.
1860
1861 2001-11-06  Olivier Hainque <hainque@act-europe.fr>
1862
1863         * unwind-dw2.c (execute_cfa_program): Evaluate call frame
1864         instructions up to the target pc inclusive.
1865
1866 2001-11-06  Steve Christiansen  <smc@us.ibm.com>
1867
1868         * loop.c (loop_regs_scan):  Don't invalidate PIC register.
1869
1870 2001-11-06  Eric Christopher  <echristo@redhat.com>
1871
1872         * config/mips/mips.md(movdf_internal2): Add constraints for float
1873         to general register move.
1874         * config/mips/elf64.h: Add default ABI.
1875
1876 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1877
1878         * alias.c:: Include langhooks.h.
1879         * emit-rtl.c: Similarly.
1880         * toplev.c: Similarly.
1881         * tree-inline.c: Similarly.
1882         * langhooks-def.h: New, the old langhooks.h.  Give the default
1883         hooks a common prefix.
1884         * langhooks.h: Contents extracted from toplev.h.
1885         * toplev.h: Move langhook stuff to langhooks.h.
1886         * langhooks.c: Give default hooks a common prefix.
1887
1888         * c-lang.c: Include langhooks-def.h.
1889         * objc/objc-act.c: Similarly.
1890         * Makefile.in: Update.
1891         * objc/Make-lang.in: Update.
1892
1893 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
1894
1895         * doc/install.texi: Document that configure options not listed in
1896         this file are unsupported.  Document --with-system-zlib.
1897
1898 Tue Nov  6 09:21:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1899
1900         * rtl.h (mem_for_const_double): New declaration.
1901         * varasm.c (mem_for_const_double): New function.
1902         * config/convex/convex.md (movdf): Use it.
1903         * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
1904         * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
1905         * config/m68k/m68kv4.h: Likewise.
1906
1907         * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
1908         of new GP reg classes.
1909
1910         * expr.c (store_field): When making temp object for unaligned
1911         component, set it to alias set 0.
1912
1913 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
1914
1915         * c-common.c (c_expand_expr_stmt): Apply default conversions to
1916         non-lvalue arrays if C99.
1917         * c-typeck.c (default_conversion): Split out code handling
1918         array-to-pointer and function-to-pointer conversions into a
1919         separate default_function_array_conversion function.
1920         (default_function_array_conversion): New function.  Keep track of
1921         whether any NON_LVALUE_EXPRs were stripped.  Return non-lvalue
1922         arrays unchanged outside C99 mode instead of giving an error for
1923         them.
1924         (build_component_ref): Use pedantic_non_lvalue when handling
1925         COMPOUND_EXPR.  Don't handle COND_EXPR specially.
1926         (convert_arguments): Use default_function_array_conversion.
1927         (build_unary_op): For ADDR_EXPR, take a flag indicating whether
1928         non-lvalues are OK.
1929         (unary_complex_lvalue): Likewise.
1930         (internal_build_compound_expr): Use
1931         default_function_array_conversion.  Apply default conversions to
1932         function in compound expression.
1933         (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
1934         Use default_function_array_conversion.
1935         * doc/extend.texi: Update documentation of subscripting non-lvalue
1936         arrays.
1937         Fixes PR c/461.
1938
1939 2001-11-05  Zack Weinberg  <zack@codesourcery.com>
1940
1941         * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
1942         (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
1943         corresponding to the complete set of .po and .gmo files in
1944         the source directory's po subdir, modified by LINGUAS.  Don't
1945         look at ALL_LINGUAS.
1946         * configure.in: Don't set ALL_LINGUAS.
1947         * configure: Regenerate.
1948
1949         * Makefile.in (.po.gmo): Don't move into source directory.
1950         (.po.pox): Clarify comments.
1951         (install-po): Look for .gmo files in both srcdir and objdir;
1952         don't fail if a file is totally missing.
1953         (distclean): rmdir ada subdirectory too.
1954
1955 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
1956
1957         * config/rs6000/rs6000.c (rs6000_select_section): Handle
1958         CONSTRUCTORs _correctly_.
1959
1960 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1961
1962         * c-decl.c (delete_block): Remove.
1963         * c-tree.h (delete_block): Remove.
1964
1965 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
1966
1967         * cppexp.c (lex, parse_defined): Update warning about defined.
1968
1969 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
1970
1971         * config/rs6000/rs6000.c (rs6000_select_section): Handle
1972         CONSTRUCTORs too.
1973
1974 2001-11-05  Nick Clifton  <nickc@cambridge.redhat.com>
1975
1976         * config/arm/arm.c (arm_return_in_memory): Cope with
1977         int_size_in_bytes returning -1.
1978
1979         * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
1980         DECL being NULL.
1981
1982 Mon Nov  5 16:15:25 CET 2001  Jan Hubicka  <jh@suse.cz>
1983
1984         * Makefile.in (bb-reoder.o): Add dependency on cfglayout.h;
1985         remove unneeded dependencies;
1986         (cfglayout.o): New.
1987         * cfglayout.c, cfglayout.h: New files; break out from ...
1988         * bb-reorder.c: ... here; Remove unneeded includes;
1989
1990 2001-11-04  Alan Modra  <amodra@bigpond.net.au>
1991
1992         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
1993
1994 2001-11-04  David Edelsohn  <edelsohn@gnu.org>
1995
1996         * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
1997         mode as well.  Do not explicitly create intermediate regs.
1998
1999 2001-11-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2000
2001         * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
2002         (common_section): Delete unused variable.
2003         (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
2004         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
2005         * arm-protos.h (arm_poke_function_name, aof_add_import,
2006         aof_delete_import): Const-ify.
2007         * arm.c (legitimize_pic_address): Wrap variables in the macro
2008         controlling their usage.
2009         (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
2010         (arm_poke_function_name, pic_chain, import, aof_add_import,
2011         aof_delete_import): Const-ify.
2012         * i386.c (ix86_osf_output_function_prologue): Const-ify.
2013         * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2014         ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
2015         * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
2016         * i860/sysv3.h: Add missing comment closure.
2017         * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
2018         * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
2019         to symbolic_operand.
2020
2021         * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
2022         (i960-*-*): Set tmake_file.
2023         (sparc86x-*-elf*): Fix typo in header name.
2024
2025         * sched-rgn.c (schedule_insns): Delete unused variable.
2026
2027 2001-11-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
2028
2029         PR c/2820
2030         * c-typeck.c (lookup_field): Rework to return a chain down to
2031         the looked-up field.
2032         (build_component_ref): Use the new lookup_field to handle
2033         nested anonymous entities correctly.
2034
2035 Sun Nov  4 11:53:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2036
2037         * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
2038         Change parameters to gen_rtx_CONST_DOUBLE.
2039         (GEN_INT64, sparc_emit_set_const64): Likewise.
2040         * config/sparc/sparc.md (movdf split): Likewise.
2041
2042 2001-11-03  Geoffrey Keating  <geoffk@redhat.com>
2043
2044         * unroll.c (calculate_giv_inc): Use find_last_value rather
2045         than just hoping the last instruction is the right SET.
2046         [Fixes 990604-1.c on stormy16.]
2047
2048         * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
2049         library at all if -T is used.
2050
2051         * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
2052         some uses of uninitialized variables in error cases.
2053
2054         * config/stormy16/stormy16.c (stormy16_output_shift): Don't
2055         look at 'temp' if we won't be using it.
2056
2057         * config/stormy16/stormy16.h (CONST_COSTS): Define.
2058         (RTX_COSTS): Define.
2059         (ADDRESS_COST): Define.
2060         (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
2061
2062         * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
2063
2064         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
2065         stormy16_asm_output_mi_thunk.
2066         * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
2067         function.
2068         * config/stormy16/stormy16-protos.h
2069         (stormy16_asm_output_mi_thunk): New prototype.
2070
2071 2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
2072
2073         * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
2074         FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
2075         caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
2076         cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
2077         sched-int.h, toplev.c, config/alpha/alpha.c,
2078         config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
2079         config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
2080         config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
2081         config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
2082         config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
2083         config/ns32k/ns32k.md, config/rs6000/rs6000.c,
2084         config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
2085
2086 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2087
2088         * Makefile.in (dbxout.o): Depend on function.h.
2089         * collect2.c (is_in_list): Hide unused function.
2090         * dbxout.c: Include function.h.
2091         (source_label_number, dbxout_source_line, dbxout_source_file,
2092         dbxout_function_end, dbxout_begin_function): Wrap/move inside
2093         macros controlling usage.
2094         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
2095         * output.h (exports_section): Prototype.
2096
2097         * convex.c (convex_output_function_prologue): Fix format specifier
2098         warning.
2099         (asm_declare_function_name): Fix signed/unsigned warning.
2100         (print_operand): Fix format specifier warning.
2101         * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
2102         * dsp16xx-protos.h (uns_comparison_operator,
2103         num_1600_core_shifts): Prototype.
2104         * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
2105         (frame_size, frame_pointer_offset): Delete.
2106         (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
2107         Make static.  Fix format specifier warnings.
2108         * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
2109         (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
2110         * dsp16xx.md: Add default case in switches.
2111         * fr30.h (IN_RANGE): Delete.
2112         * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
2113         * mcore-protos.h (mcore_output_cmov): Const-ify.
2114         * mcore.c (mcore_output_cmov): Likewise.
2115         * mcore.h (switch_to_section): Make static and prototype.
2116         * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
2117         unsigned>=0 warnings.
2118         * mn10300.h (REGNO_IN_RANGE_P): Likewise.
2119         * rs6000-protos.h (read_only_data_section,
2120         read_only_private_data_section): Prototype.
2121         * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
2122         * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
2123         * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
2124
2125 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2126
2127         * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
2128         ATTRIBUTE_UNUSED.
2129         * final.c (final_scan_insn): Add brackets around body of if-stmt.
2130         * gcc.c (convert_filename): Add static prototype.  Const-ify.
2131         Wrap variable in macros controlling its use.
2132         * output.h (sdata_section): Add prototype.
2133
2134         * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
2135         (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
2136         * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
2137         (ASM_FILE_START): Const-ify.
2138         (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
2139         specifier warning.
2140         * c4x.md: Don't use the 'U' integer suffix.
2141         * clipper.md (clipper_movstr): Delete declaration.
2142         * d30v-protos.h (d30v_move_2words): Const-ify.
2143         (debug_stack_info): Add prototype.
2144         * d30v.c: Include "integrate.h".
2145         (d30v_function_arg_boundary, d30v_function_arg,
2146         d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
2147         signed/unsigned warnings.
2148         (d30v_print_operand_memory_reference, d30v_move_2words):
2149         Const-ify.
2150         * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
2151         * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
2152         * fr30.md: Const-ify.
2153         * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
2154         * i370.c (i370_label_scan, mvs_get_label): Make definition static.
2155         (mvs_get_label_page): Hide unused static function.
2156         * i860.c (current_function_original_name): Const-ify.
2157         * i860/sysv3.h (current_function_original_name): Likewise.
2158         * i860/sysv4.h (current_function_original_name): Likewise.
2159         * i960.md: Add default case in switches.  Remove unused variable.
2160         * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
2161         * m32r.md: Const-ify.
2162         * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
2163         * m68hc11.c: Include "reload.h".
2164         (static_chain_reg, print_options, m68hc11_asm_file_start):
2165         Const-ify.
2166         * m68hc11.md: Delete unused variable.  Const-ify.  Add parens
2167         around & in comparison.
2168         * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
2169         * mn10200.c (shift_mode): Remove trailing comma.
2170         * mn10300-protos.h (output_tst): Const-ify.
2171         * mn10300.c (output_tst): Likewise.
2172         * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
2173         warnings.
2174         * pa-protos.h (output_ascii): Use regular char *, not unsigned.
2175         * pa.c (output_ascii): Likewise.
2176         * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
2177         * pdp11.md (expand_unop): Delete declarations.
2178         * pj-protos.h (pj_output_addsi3): Const-ify.
2179         * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
2180         pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
2181         unique_src_operand): Add prototypes.
2182         (pj_output_store_into_lval): Make definition static.
2183         (pj_function_incoming_arg): Don't use unary plus.
2184         (pj_output_addsi3): Const-ify.
2185         * romp.md (get_symref): Delete declarations.
2186         * v850-c.c (mark_current_function_as_interrupt): Don't return
2187         value from void function.
2188         * v850.c: Include "integrate.h".
2189         * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
2190         * vax-protos.h (const_section): Add prototype.
2191
2192 2001-11-03  Aldy Hernandez  <aldyh@redhat.com>
2193
2194         * machmode.def: Add documentation for the seventh argument in
2195         vector modes.
2196
2197 2001-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
2198
2199         * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
2200         consistently.
2201         <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
2202         <-melf>: Don't have markup for ELF acronym.
2203
2204 2001-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
2205
2206         * config.gcc (mmix-*-*): New target.
2207         * doc/invoke.texi: Document MMIX options.
2208         * doc/contrib.texi: Add note about MMIX port to my entry.
2209         * config/mmix/t-mmix: New file.
2210         * config/mmix/mmix.h: New file.
2211         * config/mmix/mmix-protos.h: New file.
2212         * config/mmix/mmix.c: New file.
2213         * config/mmix/mmix.md: New file.
2214         * config/mmix/crti.asm: New file.
2215         * config/mmix/crtn.asm: New file.
2216
2217 2001-11-03  Kazu Hirata  <kazu@hxi.com>
2218
2219         * config/sparc/linux-aout.h: Fix comment formatting.
2220         * config/sparc/linux.h: Likewise.
2221         * config/sparc/linux64.h: Likewise.
2222         * config/sparc/lynx.h: Likewise.
2223         * config/sparc/pbd.h: Likewise.
2224         * config/sparc/sol2-sld-64.h: Likewise.
2225         * config/sparc/sol2.h: Likewise.
2226         * config/sparc/sparc.c: Likewise.
2227         * config/sparc/sparc.h: Likewise.
2228         * config/sparc/sparc.md: Likewise.
2229         * config/sparc/sunos4.h: Likewise.
2230         * config/sparc/vxsim.h: Likewise.
2231         * config/sparc/vxsparc.h: Likewise.
2232         * config/sparc/vxsparc64.h: Likewise.
2233
2234 Sat Nov  3 10:37:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2235
2236         * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
2237         reference to CONST_DOUBLE_MEM in comment.
2238         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
2239         (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
2240         (init_emit_once): Don't clear CONST_DOUBLE_MEM.
2241         * function.c (pop_function_context_from): Don't call
2242         restore_varasm_status.
2243         * function.h (restore_varasm_status): Delete declaration.
2244         * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
2245         * rtl.c: Likewise.
2246         * rtl.def (CONST_DOUBLE): Update comment.
2247         * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
2248         (CONST_DOUBLE_CHAIN): Likewise.
2249         (CONST_DOUBLE_MEM): Delete.
2250         (gen_rtx_CONST_DOUBLE): Update parameters.
2251         * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
2252         Remove reference to CONST_DOUBLE_MEM.
2253         (const_alias_set): New variable.
2254         (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
2255         (immed_real_const_1): Adjust tests for 0, 1, and 2.
2256         Don't set CONST_DOUBLE_MEM.
2257         (clear_const_double_mem): Don't do anything with const_tiny_rtx.
2258         (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
2259         Put constant in const_alias_set.
2260         (struct pool_constant): ALIGN now unsigned.
2261         OFFSET now HOST_WIDE_INT.
2262         Delete LABEL.
2263         (restore_varasm_status): Deleted.
2264         (mark_pool_constant): Mark desc->rtl.
2265         (force_const_mem): Rework to store rtl in hash table,
2266         not CONST_DOUBLE_MEM.
2267         Put constant in const_alias_set.
2268         (find_pool_constant): Check desc->rtl.
2269         (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
2270         (init_varasm_once): Initialize const_alias_set.
2271
2272         * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
2273         force_const_mem.
2274
2275         * reload.c (combine_reloads): Don't combine an output reload if there
2276         are other reloads around for part of the output.
2277
2278         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
2279         constant expression.
2280         (set_mem_decl): New function.
2281         * expr.h (set_mem_decl): New declaration.
2282         * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
2283         (output_asm_operand_names): Add tab.
2284         * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
2285
2286         * builtins.c (get_memory_rtx): Properly set MEM alias set and
2287         attributes.
2288
2289 2001-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
2290
2291         * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
2292         Use "invalid" instead of "illegal".  Use @r in comments in
2293         examples.
2294
2295 2001-11-02  Neil Booth  <neil@daikokuya.demon.co.uk>
2296
2297         * c-decl.c (pushdecl): Move block inside if conditional to remove
2298         possibility of a segfault.  Lookup block-level extern
2299         variables in enclosing scopes correctly.
2300
2301         * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
2302
2303 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
2304
2305         * expmed.c (store_bit_field): Use simplify_gen_subreg to make
2306         SUBREG so we avoid SUBREGing memory.
2307
2308         * expmed.c (store_bit_field): Same.
2309
2310 2001-11-02  DJ Delorie  <dj@redhat.com>
2311
2312         * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
2313         using FP registers for DImode mem-mem moves is acceptable.
2314
2315 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
2316
2317         * builtins.c (apply_args_size): Handle vector arguments.
2318         (apply_result_size): Same.
2319
2320         * machmode.def: Set WIDER mode field for all vector entries.
2321
2322 2001-11-02  Graham Stott  <grahams@redhat.com>
2323
2324         * recog.c (decode_asm_operands):  Check that the SRC is ASM_OPERANDS.
2325
2326 2001-11-01  Eric Christopher  <echristo@redhat.com>
2327
2328         * config.gcc: Revert part of earlier patch.
2329         * config/mips/linux.h: Ditto.
2330         * df.c: Include tm_p.h to avoid warnings.
2331         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
2332         #if/#endif.
2333         * config/mips/mips.c: Define mips_abi regardless.
2334         (mips_output_function_prologues): Add long casts for .frame
2335         output.
2336         (override_options): Allow use of ABI_32.
2337
2338 2001-11-01  Kazu Hirata  <kazu@hxi.com>
2339
2340         * config/m68hc11/m68hc11.c: Fix comment formatting.
2341         * config/m68hc11/m68hc11.h: Likewise.
2342         * config/m68hc11/m68hc11.md: Likewise.
2343
2344 2001-11-01  Neil Booth  <neil@daikokuya.demon.co.uk>
2345
2346         * c-typeck.c (default_conversion): Retain the original expression
2347         codes.
2348         * gcc.dg/Wparentheses.c: New tests.
2349
2350 2001-11-01  David S. Miller  <davem@redhat.com>
2351
2352         * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
2353         64-bit Sparc description more in line with reality.
2354
2355 2001-11-01  Joseph S. Myers  <jsm28@cam.ac.uk>
2356
2357         * Makefile.in (GCOV_OBJS): Add version.o.
2358         * gcov.c: Include "version.h" and <getopt.h>.
2359         (gcov_version_string): Remove.
2360         (print_usage): Take a parameter to determine whether this is a
2361         call from --help or an error message.  Give fuller output that
2362         follows the GNU Coding Standards for --help.
2363         (print_version): New function.
2364         (options): New.
2365         (process_args): Use getopt_long.  Support long options.  Follow
2366         GNU Coding Standards for --help and --version.
2367         * doc/gcov.texi: Document long options.
2368         Addresses part of PR other/704.
2369
2370 2001-11-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2371
2372         * pa.c (output_move_double): Fix typo in double load.
2373
2374 2001-11-01  Kazu Hirata  <kazu@hxi.com>
2375
2376         * config/h8300/h8300.c (h8300_encode_label): Compute a string
2377         before passing it to ggc_alloc_string.
2378
2379 2001-11-01  Kazu Hirata  <kazu@hxi.com>
2380
2381         * config/m68k/3b1.h: Fix comment formatting.
2382         * config/m68k/3b1g.h: Likewise.
2383         * config/m68k/a-ux.h: Likewise.
2384         * config/m68k/amix.h: Likewise.
2385         * config/m68k/apollo68.h: Likewise.
2386         * config/m68k/atari.h: Likewise.
2387         * config/m68k/aux-exit.c: Likewise.
2388         * config/m68k/ccur-GAS.h: Likewise.
2389         * config/m68k/crds.h: Likewise.
2390         * config/m68k/dpx2.h: Likewise.
2391         * config/m68k/dpx2g.h: Likewise.
2392         * config/m68k/hp310.h: Likewise.
2393         * config/m68k/hp320.h: Likewise.
2394         * config/m68k/isi.h: Likewise.
2395         * config/m68k/linux.h: Likewise.
2396         * config/m68k/lynx.h: Likewise.
2397         * config/m68k/m68k-psos.h: Likewise.
2398         * config/m68k/m68k.c: Likewise.
2399         * config/m68k/m68k.h: Likewise.
2400         * config/m68k/m68k.md: Likewise.
2401         * config/m68k/m68kelf.h: Likewise.
2402         * config/m68k/m68kv4.h: Likewise.
2403         * config/m68k/mot3300.h: Likewise.
2404         * config/m68k/news.h: Likewise.
2405         * config/m68k/next.h: Likewise.
2406         * config/m68k/pbb.h: Likewise.
2407         * config/m68k/plexus.h: Likewise.
2408         * config/m68k/sgs.h: Likewise.
2409         * config/m68k/sun3.h: Likewise.
2410         * config/m68k/tower.h: Likewise.
2411         * config/m68k/vxm68k.h: Likewise.
2412
2413 2001-10-31  DJ Delorie  <dj@redhat.com>
2414
2415         * config/mips/mips.h (mips_cache_flush_func): Prototype.
2416         (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
2417         (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
2418         * config/mips/mips.c (mips_cache_flush_func): New.
2419         * doc/invoke.texi: Document the new options.
2420
2421 2001-10-31  Hans-Peter Nilsson  <hp@axis.com>
2422
2423         * config.gcc (cris-*-linux*, tm_file): Rearrange order.
2424         * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
2425
2426         * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
2427
2428         * config/cris/cris.c: Include output.h after tree.h but before
2429         target.h.
2430
2431 2001-10-31  Zack Weinberg  <zack@codesourcery.com>
2432
2433         * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
2434         (INTL_SUBDIRS): Just intl.
2435         (.SUFFIXES): Add .gmo .po .pox.
2436         (native): Also depend on build-@POSUB@.
2437         (intl.all, intl.install): Depend on config.h and things it includes.
2438         (po-generated): New target; depend on c-parse.c and tradcif.c.
2439         (install-normal): Also depend on install-@POSUB@.
2440         (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
2441         (build-, install-, build-po, update-po, install-po,
2442         .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
2443
2444         * aclocal.m4: Prefix each entry in CATALOGS with "po/"
2445         * configure.in: Don't munge XGETTEXT.  Don't generate
2446         po/Makefile.in.
2447         * configure: Regenerate.
2448
2449         * exgettext: Delete.
2450         * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
2451         * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
2452
2453 2001-10-31  Kazu Hirata  <kazu@hxi.com>
2454
2455         * config/h8300/h8300.md (two anonymous patterns): New.
2456
2457 2001-10-31  Aldy Hernandez  <aldyh@redhat.com>
2458
2459         * tree.h (tree_index): Add support for V16QI and V8HI.
2460         (V8HI_type_node): New.
2461         (V16QI_type_node): New.
2462
2463         * tree.c (build_common_tree_nodes_2): Same.
2464
2465         * c-common.c (type_for_mode): Same.
2466
2467 2001-10-31  Kazu Hirata  <kazu@hxi.com>
2468
2469         * config/i386/att.h: Fix comment formatting.
2470         * config/i386/beos-elf.h: Likewise.
2471         * config/i386/bsd.h: Likewise.
2472         * config/i386/bsd386.h: Likewise.
2473         * config/i386/crtdll.h: Likewise.
2474         * config/i386/cygwin.asm: Likewise.
2475         * config/i386/cygwin.h: Likewise.
2476         * config/i386/djgpp.h: Likewise.
2477         * config/i386/freebsd-aout.h: Likewise.
2478         * config/i386/freebsd.h: Likewise.
2479         * config/i386/gas.h: Likewise.
2480         * config/i386/i386-interix.h: Likewise.
2481         * config/i386/i386-protos.h: Likewise.
2482         * config/i386/i386.c: Likewise.
2483         * config/i386/i386.h: Likewise.
2484         * config/i386/i386.md: Likewise.
2485         * config/i386/i386elf.h: Likewise.
2486         * config/i386/interix.c: Likewise.
2487         * config/i386/isc.h: Likewise.
2488         * config/i386/isccoff.h: Likewise.
2489         * config/i386/iscdbx.h: Likewise.
2490         * config/i386/linux.h: Likewise.
2491         * config/i386/lynx.h: Likewise.
2492         * config/i386/mingw32.h: Likewise.
2493         * config/i386/netbsd-elf.h: Likewise.
2494         * config/i386/next.h: Likewise.
2495         * config/i386/osf1elf.h: Likewise.
2496         * config/i386/osfrose.h: Likewise.
2497         * config/i386/sco5.h: Likewise.
2498         * config/i386/seq-gas.h: Likewise.
2499         * config/i386/seq-sysv3.h: Likewise.
2500         * config/i386/sequent.h: Likewise.
2501         * config/i386/sol2.h: Likewise.
2502         * config/i386/sun386.h: Likewise.
2503         * config/i386/uwin.asm: Likewise.
2504         * config/i386/uwin.h: Likewise.
2505         * config/i386/vxi386.h: Likewise.
2506         * config/i386/win32.h: Likewise.
2507         * config/i386/winnt.c: Likewise.
2508         * config/i386/xm-cygwin.h: Likewise.
2509         * config/i386/xm-mingw32.h: Likewise.
2510
2511 2001-10-31  Kazu Hirata  <kazu@hxi.com>
2512
2513         * builtins.def: Fix comment typos.
2514         * config/alpha.c: Likewise.
2515         * config/arm/arm.c: Likewise.
2516         * config/avr/avr.h: Likewise.
2517         * config/d30v/d30v.c: Likewise.
2518         * config/d30v/d30v.h: Likewise.
2519         * config/d30v/d30v.md: Likewise.
2520         * config/dsp16xx/dsp16xx.c: Likewise.
2521         * config/fr30/fr30.c: Likewise.
2522         * config/fr30/fr30.md: Likewise.
2523         * config/i386/i386.c: Likewise.
2524         * config/i860/i860.c: Likewise.
2525         * config/i960/i960.c: Likewise.
2526         * config/ia64/ia64.c: Likewise.
2527         * config/mips/mips.c: Likewise.
2528         * config/pa/pa.c: Likewise.
2529         * config/rs6000/rs6000.c: Likewise.
2530         * config/s390/s390.c: Likewise.
2531         * config/sparc/sparc.c: Likewise.
2532
2533 2001-10-30  Kazu Hirata  <kazu@hxi.com>
2534
2535         * config/mips/elf.h: Fix comment formatting.
2536         * config/mips/elf64.h: Likewise.
2537         * config/mips/iris5.h: Likewise.
2538         * config/mips/iris5gas.h: Likewise.
2539         * config/mips/iris6.h: Likewise.
2540         * config/mips/isa3264.h: Likewise.
2541         * config/mips/linux.h: Likewise.
2542         * config/mips/mips.c: Likewise.
2543         * config/mips/mips.h: Likewise.
2544         * config/mips/mips.md: Likewise.
2545         * config/mips/mips16.S: Likewise.
2546         * config/mips/netbsd.h: Likewise.
2547         * config/mips/osfrose.h: Likewise.
2548         * config/mips/r3900.h: Likewise.
2549         * config/mips/sni-svr4.h: Likewise.
2550         * config/mips/svr4-t.h: Likewise.
2551         * config/mips/ultrix.h: Likewise.
2552
2553 2001-10-30  Daniel Berlin  <dan@cgsoftware.com>
2554
2555         * bitmap.c (bitmap_element_free): Don't forget to update head->indx
2556         when we update head->current.
2557
2558 2001-10-30  Neil Booth  <neil@daikokuya.demon.co.uk>
2559
2560         * tree.c (id_string_size): Remove.
2561         (dump_tree_statistics): Update.
2562         * toplev.c (compile_file): If dumping stats, dump tree stats too.
2563
2564 Tue Oct 30 19:00:43 CET 2001  Jan Hubicka  <jh@suse.cz>
2565
2566         * sched-rgn.c (schedule_insns): Fix comment.
2567
2568 2001-10-30  Zack Weinberg  <zack@codesourcery.com>
2569
2570         * configure.in: Correct previous change: don't assume that
2571         gas's version number _isn't_ the last thing on the line, or
2572         isn't the only number on the line, either.
2573         * configure: Regenerate.
2574
2575 2001-10-30  Kazu Hirata  <kazu@hxi.com>
2576
2577         * cfgcleanup.c: Fix a comment typo.
2578
2579 2001-10-30  Kazu Hirata  <kazu@hxi.com>
2580
2581         * alias.c: Fix comment formatting.
2582         * recog.c: Likewise.
2583         * config/cris/cris.c: Likewise.
2584         * config/cris/cris.h: Likewise.
2585         * config/i960/i960.c: Likewise.
2586         * config/i960/i960.h: Likewise.
2587
2588 2001-10-30  Kazu Hirata  <kazu@hxi.com>
2589
2590         * config/arm/arm.c: Fix a comment typo.
2591         * config/arm/arm.h: Likewise.
2592         * config/ia64/ia64.c: Likewise.
2593
2594 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
2595
2596         * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
2597         REG_EQUIV notes for ASM_OPERANDS.  Return the new note (if any).
2598         * rtl.h (set_unique_reg_note): Change return value.
2599         * gcse.c (try_replace_reg): Use set_unique_reg_note.
2600         * cse.c (cse_insn): Likewise.
2601         * expr.c (emit_move_insn): Likewise.
2602         * explow.c (force_reg): Likewise.
2603         * local-alloc (update_equiv_regs): Likewise.
2604         * loop.c (move_moveables, load_mems): Likewise.
2605         * reload (find_reloads): Likewise.
2606
2607 2001-10-30  Paolo Bonzini  <bonzini@gnu.org>
2608
2609         Localization fixes.
2610         * c-decl.c (parmlist_tags_warning, start_struct,
2611         check_for_loop_decls): Separate messages for struct, union and
2612         enum cases to allow for languages in which they have different
2613         genders.
2614         * c-format.c (scanf_flag_specs): Separate short and long name of
2615         the assignment suppression feature.
2616         (check_format_types): Localize "pointer" and "different types"
2617         strings.
2618         * c-lex.c (lex_number): Localize "an unsigned long int" and
2619         related strings.
2620         (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
2621         warning message.
2622         * c-typeck.c (build_unary_up): Separate messages for increment and
2623         decrement cases to allow for languages in which they use different
2624         articles.  Localize the strings "increment" and "decrement" in one
2625         case.
2626
2627 Tue Oct 30 11:08:11 CET 2001  Jan Hubicka  <jh@suse.cz>
2628
2629         * lcm.c (optimize_mode_switching):  Do not rebuild liveness information
2630         when no changes has been made.
2631
2632         * gcse.c (reg_set_bitmap): Turn into reg_set.
2633         (modify_mem_list_set, canon_modify_mem_list_set)
2634         (clear_modify_mem_tables, free_modify_mem_tables): New.
2635         (gcse_main); Use free_modify_mem_tables.
2636         (free_gcse_mem): Likewise; free the bitmaps.
2637         (alloc_gcse_main): Initialize the bitmaps.
2638         (canon_list_insert): Set canon_modify_mem_list_set.
2639         (record_last_mem_set_info): Likewise; set modify_mem_list_set.
2640         (compute_hash_table): Use clear_modify_mem_tables.
2641         (reset_opr_set_tables): Likewise.
2642         (oprs_not_set_p): reg_set_bitmap is regset.
2643         (mark_set, mark_clobber): Likewise.
2644
2645         * df.h (DF_EQUIV_NOTES): New constant.
2646         (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
2647         when asked for.
2648
2649         * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
2650         (init_regions, schedule_insns): Conditionalize the checking
2651         code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
2652
2653 Tue Oct 30 11:02:31 CET 2001  Jan Hubicka  <jh@suse.cz>
2654
2655         * i386.md (movti_rex64 splitter): Fix condition.
2656
2657 2001-10-29  Zack Weinberg  <zack@codesourcery.com>
2658
2659         * configure.in: Do not assume that gas's version number is the
2660         last thing on the first line of as --version output.
2661         * configure: Regenerate.
2662
2663         * tradcpp.c: Include intl.h.  Rename WARNING, ERROR, FATAL to
2664         MT_WARNING, MT_ERROR, MT_FATAL.
2665         (main): Call gcc_init_libintl.
2666         (v_message): Call gettext on msgid and "warning: "
2667         * tradcif.y: Include intl.h.
2668         (yyerror): Make parameter definition consistent with
2669         prototype.  Call gettext on msgid argument.
2670
2671 2001-10-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2672
2673         * combine.c (num_sign_bit_copies): Avoid signed/unsigned
2674         warnings.
2675
2676         * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
2677
2678 Mon Oct 29 19:22:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2679
2680         * reload1.c (eliminate_regs): Test for reg_renumber being allocated
2681         before referencing it.
2682
2683 2001-10-26  DJ Delorie  <dj@redhat.com>
2684
2685         * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
2686         override -G, and force -G0.
2687
2688 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
2689
2690         * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
2691         FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
2692         c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
2693         timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
2694
2695         * loop.h (struct induction): Rename ext_dependant to
2696         ext_dependent.
2697         * loop.c: Change all uses.
2698         (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
2699         All callers changed.
2700         * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
2701
2702 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
2703
2704         * c-parse.in (expr_no_commas, primary), c-typeck.c
2705         (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
2706
2707 2001-10-29  David Edelsohn  <edelsohn@gnu.org>
2708
2709         Undo assemble_name change in earlier patch.
2710
2711 Mon Oct 29 21:11:40 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2712
2713         * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
2714         determining the type of the receiver, do not check that TREE_CODE
2715         of receiver is CALL_EXPR before calling receiver_is_class_object().
2716         (receiver_is_class_object): For the GNU runtime: recognize
2717         the case that the receiver is self in a class method context.
2718         Check that TREE_CODE of receiver is CALL_EXPR when checking that
2719         the receiver is a call to objc_get_class.
2720
2721 2001-10-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2722
2723         * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
2724
2725 Mon Oct 29 07:23:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2726
2727         * Makefile.in (OBJS): Put all files in alphabetical order.
2728
2729         * dwarf2out.c (add_const_value_attribute): Fix error in last
2730         change.
2731
2732 Mon Oct 29 12:43:06 CET 2001  Jan Hubicka  <jh@suse.cz>
2733
2734         * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
2735         * cfgcleanup.c (merge_blocks): Update the life flag after merging;
2736         fix warning.
2737         * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
2738         (life_analysis): call purge_all_dead_edges after deleting noops.
2739         (delete_noop_move): Do not purge CFG.
2740         * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
2741
2742 2001-10-28  David Edelsohn  <edelsohn@gnu.org>
2743
2744         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
2745         * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
2746         (ASM_GLOBALIZE_LABEL): Use assemble_name.
2747         (ASM_OUTPUT_COMMON): Likewise.
2748         * config/rs6000/rs6000.c (print_operand): Use assemble_name.
2749         (rs6000_output_function_epilogue): Likewise.
2750         (output_mi_thunk): Fix typo.
2751         (rs6000_output_symbol_ref): Use assemble_name.
2752         (output_toc): Likewise.
2753         * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
2754         * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
2755         assemble_name calls STRIP_NAME_ENCODING.
2756         (ASM_OUTPUT_LABEL): Use assemble_name.
2757         (ASM_GLOBALIZE_LABEL): Likewise.
2758         (ASM_DECLARE_FUNCTION_NAME): Likewise.
2759         (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op.  Use assemble_name.
2760         (ASM_OUTPUT_LOCAL): Likewise.
2761
2762 Sun Oct 28 15:45:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2763
2764         * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
2765         (expand_builtin_apply, expand_builtin_return): Likewise.
2766         (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
2767
2768 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
2769
2770         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
2771         ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
2772         c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
2773         configure, configure.in, except.c, except.h, flow.c, function.c,
2774         gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
2775         predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
2776         sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
2777         unroll.c: Fix spelling errors.
2778
2779         * doc/extend.texi, doc/invoke.texi: Fix spelling.
2780
2781         * doc/gcc.texi: Document use of "dependent" and American spelling.
2782
2783 Sun Oct 28 17:05:36 CET 2001  Jan Hubicka  <jh@suse.cz>
2784
2785         * expr.c (emit_group_load): Support CONCATs by storing them to memory
2786         and reloading.
2787
2788 Sun Oct 28 09:59:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2789
2790         * expr.c (store_constructor_field): Only call adjust_address on MEM.
2791
2792 Sun Oct 28 16:48:09 CET 2001  Jan Hubicka  <jh@suse.cz>
2793
2794         * genrecog.c (write_switch):  Output if before switch for
2795         DT_elt_zero_wide_safe.
2796
2797 2001-10-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2798
2799         * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
2800         * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
2801         (FUNCTION_PROFILER): Const-ify.
2802         * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
2803         (eliminate_constant_term, assemble_name, output_addr_const):
2804         Remove declarations.
2805         (ptr_half_pic_address_p, half_pic_hash): Prototype.
2806         (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
2807         half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
2808         * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
2809         (half_pic_declare, half_pic_external): Const-ify.
2810         * toplev.c: Include "halfpic.h".
2811
2812 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
2813
2814         * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
2815         config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
2816         config/i386/i386.c, config/i386/i386-interix.h,
2817         config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
2818         config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
2819         config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
2820         config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
2821         config/sparc/sparc.c, config/m68hc11/m68hc11.c,
2822         config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
2823         config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
2824         spelling errors.
2825
2826         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
2827         ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
2828         c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
2829         collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
2830         haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
2831         regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
2832         system.h, toplev.c: Fix spelling errors.
2833
2834 Sat Oct 27 17:32:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2835
2836         * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
2837
2838         * dwarf2out.c (reg_number): Abort if pseudo.
2839         (reg_loc_descriptor): Return 0 if pseudo.
2840         (is_based_loc): Return 0 if pseudo.
2841         (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
2842         recursive calls.
2843         (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
2844         (loc_descriptor): Return 0 if can't find location and handle 0
2845         return from recursive calls.
2846         (loc_descriptor_from_tree): Likewise.
2847         Fix handling of indirect.
2848         Also return 0 for PLACEHOLDER_EXPR.
2849         Clean up COMPONENT_REF cases.
2850         (add_AT_location_descriptor): Simplify, but handle 0 return from
2851         loc_descriptor.
2852         (add_const_value_attribute): Avoid shift count warning.
2853         (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
2854         Set comp_unit_die as context if not in function.
2855
2856         * config/mips/mips-protos.h: Break up long lines.
2857         Remove needless #ifdef/#endif blocks.
2858         Don't declare functions declared in file made by genpreds or recog.h.
2859         * config/mips/mips.c (mips_output_function_prologue): TSIZE
2860         is now HOST_WIDE_INT; delete unneeded casts.
2861         * config/mips/mips.h: Don't use #elif.
2862
2863         * expr.c (stor_constructor_field): Always call adjust_address.
2864         Copy TARGET before changing its alias set.
2865         (store_field): Likewise, for TO_RTX.
2866         (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
2867         replacement.
2868         (safe_from_p, case ADDR_EXPR): Properly check for conflict.
2869         (find_placeholder): Return 0 if can't find object.
2870         (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
2871         returns 0.
2872
2873 Sat Oct 27 16:31:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
2874
2875         * ifcvt.c (if_convert): Call clear_aux_for_blocks.
2876
2877 Sat Oct 27 12:12:09 CEST 2001  Jan Hubicka  <jh@suse.cz>
2878
2879         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
2880         merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
2881         (merge_blocks): Properly udpate life after making edge nonfallthru.
2882         * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
2883
2884 2001-10-26  Kazu Hirata  <kazu@hxi.com>
2885
2886         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
2887
2888 2001-10-26  Neil Booth  <neil@daikokuya.demon.co.uk>
2889
2890         * c-typeck.c (convert_arguments): When comparing for enumeral
2891         type equality, use TYPE_MAIN_VARIANT.
2892         * gcc.dg/Wconversion.c: New tests.
2893
2894 2001-10-26  Kazu Hirata  <kazu@hxi.com>
2895
2896         * s390/s390.c: Fix comment typos.
2897         * s390/s390.h: Likewise.
2898         * s390/s390.md: Likewise.
2899
2900 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
2901
2902         * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
2903         (walk_tree): Use it for tail calls where appropriate.
2904
2905 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
2906
2907         * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
2908         non-local label_refs.
2909
2910 2001-10-26  Kazu Hirata  <kazu@hxi.com>
2911
2912         * config/h8300/h8300.md (4 anonymous patterns): New.
2913
2914 2001-10-26  Kazu Hirata  <kazu@hxi.com>
2915
2916         * config/h8300/h8300.c (get_shift_alg): Clean up.  Return the
2917         algorithm through the shift_info structure.
2918         (emit_a_shift): Update the use of get_shift_alg.
2919
2920 2001-10-27  Daniel Berlin  <dan@cgsoftware.com>
2921
2922         * sched-rgn.c: Remove bitset typedef.
2923         Change bitset to sbitmap in prototypes / variable types.
2924         Remove bbset_size.
2925         Remove edgeset_bits.
2926         Remove edgeset_size.
2927         s/BITSET_ADD/SET_BIT/g
2928         s/BITSET_INVERT/sbitmap_ones/g
2929         s/BITSET_INTER/sbitmap_a_and_b/g
2930         s/BITSET_UNION/sbitmap_a_or_b/g
2931         s/BITSET_DIFFER/sbitmap_difference/g
2932         s/bitset_member/TEST_BIT/g
2933         (BITSET_*): Removed.
2934         (bitset_member): Removed.
2935         (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
2936         EXECUTE_IF_SET_IN_SBITMAP.
2937         (split_edges): Rewrite, use sbitmap functions instead of bitset
2938         operations.
2939         (schedule_region): Allocate/free sbitmaps, rather than bitsets.
2940
2941 2001-10-26  Andreas Schwab  <schwab@suse.de>
2942
2943         * reload1.c (emit_input_reload_insns): Fix parens in last
2944         (undocumented) change that was supposed to change only whitespace.
2945
2946 Fri Oct 26 07:18:08 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2947
2948         * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
2949
2950         * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
2951         ASM_OPERANDS.
2952
2953 2001-10-26  Andreas Jaeger  <aj@suse.de>
2954
2955         * flow.c (clear_log_links): Remove unused variable.
2956         * cfgcleanup.c (cleanup_cfg): Likewise.
2957
2958 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
2959
2960         * tree-inline.c (remap_decl): Don't copy size and size_unit here.
2961         (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
2962
2963 2001-10-26  Richard Henderson  <rth@redhat.com>
2964
2965         * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
2966         rename PV_REG to R27_REG.
2967         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
2968         (REG_CLASS_FROM_LETTER): Update.
2969         (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
2970         * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
2971         (udivsi3, modsi3, umodsi3): Likewise.
2972         (divdi3, udivdi3, moddi3, umoddi3): Likewise.
2973
2974 2001-10-26  Richard Henderson  <rth@redhat.com>
2975
2976         * cfg.c (clear_aux_for_blocks): Split out of ...
2977         (free_aux_for_blocks): here.
2978         (clear_aux_for_edges): Split from ...
2979         (free_aux_for_edges): here.
2980         * basic-block.h: Declare them.
2981         * lcm.c (compute_antinout_edge): Use them.
2982         (compute_laterin, compute_available, compute_nearerout): Likewise.
2983         (optimize_mode_switching): Likewise.
2984
2985 2001-10-26  Richard Henderson  <rth@redhat.com>
2986
2987         * Makefile.in (unstage*): Remove as, ld, collect-ld before
2988         moving everything back to the main build directory.
2989
2990 2001-10-26  Christopher Faylor  <cgf@redhat.com>
2991
2992         * config/i386/cygwin.h: Search target specific include directory, if
2993         appropriate.
2994
2995 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2996
2997         * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
2998         of macro guards. Fix #endif comment.
2999
3000         * output.h (default_exception_section, default_eh_frame_section):
3001         Move prototypes outside of macro guard.
3002
3003         * crtstuff.c: Fix #endif comment.
3004
3005 Thu Oct 25 12:21:58 2001  Jeffrey A Law  (law@cygnus.com)
3006
3007         * doc/md.texi (movMM): Clarify semantics of storing into a
3008         non-paradoxical SUBREG.
3009
3010 2001-10-25  Zack Weinberg  <zack@codesourcery.com>
3011
3012         * langhooks.c (lang_hook_default_clear_binding_stack): New.
3013         (lang_hook_default_get_alias_set): Move next to other alias
3014         hooks.
3015         * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
3016         (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
3017         (LANG_HOOKS_INITIALIZER): Add it.
3018         * toplev.h (struct lang_hooks): Add clear_binding_stack.
3019         * toplev.c (compile_file):  Call lang_hooks.clear_binding_stack
3020         instead of a loop calling poplevel.
3021
3022 2001-10-25  Nick Clifton  <nickc@cambridge.redhat.com>
3023
3024         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
3025         occurrences of #elif with #if...#endif.
3026
3027 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3028
3029         * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
3030
3031 Thu Oct 25 08:46:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3032
3033         * alias.c (can_address_p): No longer static.
3034         * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
3035         Return 0 if all parameters are default values.
3036         (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
3037         (adjust_address_1): Try harder to compute a size.
3038         * expr.c (expand_assignment, store_constructor): If can't address,
3039         set MEM_KEEP_ALIAS_SET_P.
3040         (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
3041         (store_field): Likewise.
3042         (store_constructor): Simplify call to store_constructor_field.
3043         * expr.h (can_address_p): New declaration.
3044         * gensupport.c (gen_rtx_CONST_INT): New function.
3045         * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
3046         (MEM_SIZE): Get size from mode, if not set and not BLKmode.
3047         (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
3048
3049         * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
3050
3051 2001-10-24  Christopher Faylor  <cgf@redhat.com>
3052
3053         * config/i386/cygwin.h: Use proper path for mingw crt files when
3054         -mno-cygwin.
3055
3056 Wed Oct 24 18:43:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3057
3058         * dwarf2out.c (file_info_cmp): Always return consistent results.
3059
3060 2001-10-24  Roger Sayle <roger@eyesopen.com>
3061
3062         * stmt.c (expand_end_case): Index jumptables from zero for
3063         suitably small values of minval.
3064
3065 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
3066
3067         * stor-layout.c (place_union_field): If any field was aligned with
3068         attribute aligned, set record type's TYPE_USER_ALIGN.
3069         (place_field): Likewise.
3070         (finalize_record_size): Don't clear TYPE_USER_ALIGN.
3071         (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
3072
3073 2001-10-24  Zack Weinberg  <zack@codesourcery.com>
3074
3075         * c-common.h (struct c_common_identifier): Remove rid_code field.
3076         (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
3077
3078         * c-typeck.c (constructor_designated): New local flag.
3079         (struct constructor_stack): Add "designated" field to match.
3080         (start_init): Clear it.
3081         (really_start_incremental_init, push_init_level): Push and
3082         clear it.
3083         (pop_init_level): Pop it.
3084         (set_designator): Set it.
3085
3086         (pop_init_level): Suppress "missing initializer" warnings if
3087         constructor_designated is true.
3088         (process_init_element): Suppress warning about union
3089         initialization under traditional C, if constructor_designated
3090         is true.
3091
3092 Wed Oct 24 15:35:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3093
3094         * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
3095         change.
3096
3097 Wed Oct 24 13:26:12 2001  Jeffrey A Law  (law@cygnus.com)
3098
3099         * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
3100
3101 2001-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
3102
3103         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
3104         the node was already a set to a constant.
3105
3106 Wed Oct 24 12:41:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3107
3108         * emit-rtl.c (set_mem_attributes): Fix typo in last change.
3109         * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
3110
3111 2001-10-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3112
3113         * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
3114         (ASM_OUTPUT_ASCII): Const-ify.  Fix signed/unsigned warning.
3115         (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
3116         * s390.c (s390_final_chunkify): Don't use string concatenation.
3117         (s390_function_prologue, s390_function_epilogue): Const-ify.
3118         * s390.h (FUNCTION_PROFILER): Remove unused variable.
3119
3120 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
3121
3122         * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
3123         prototypes.
3124
3125 2001-10-23  Stan Shebs  <shebs@apple.com>
3126
3127         * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
3128         -traditional-cpp in first-stage compilation.
3129
3130 Tue Oct 23 21:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3131
3132         * gensupport.c (target_flags): Add.
3133
3134 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
3135
3136         * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
3137         if needed.
3138         (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
3139         * except.c (expand_builtin_frob_return_addr): Likewise.
3140         (expand_builtin_eh_return): Likewise.
3141         * stmt.c (expand_computed_goto): Likewise.
3142         * explow.c (memory_address): Likewise.
3143         (allocate_dynamic_stack_space): Clean up predicate testing.
3144         (probe_stack_range): Convert SIZE to Pmode.
3145         * calls.c (rtx_for_function_call): Only call convert_memory_address
3146         if needed.
3147         Pass function call operand as ptr_mode, not Pmode.
3148         * expr.c (expand_assignment): Clean up calls to convert_memory
3149         address by only doing so when needed and making offsets Pmode.
3150         (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
3151         * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
3152         is in Pmode, not ptr_mode.
3153
3154 2001-10-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3155
3156         * darwin-protos.h (constructor_section, destructor_section,
3157         mod_init_section, mod_term_section): Prototype.
3158         * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
3159         Const-ify.
3160         * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
3161         Likewise.
3162         (SECTION_FUNCTION): Prototype `FUNCTION'.  Delete
3163         objc_section_init declaration.
3164         (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
3165         (objc_section_init, try_section_alias): Make static.
3166         (alias_section): Make static and hide unused function.
3167         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
3168
3169 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3170
3171         * alias.c (can_address_p): Compnonents are not addressable if
3172         the containing type has alias set 0.
3173         (get_alias_set): Rework to use STRIP_NOPS.
3174         Only call front-end routine on object, type, or object with
3175         NOPs stripped, not inner values.
3176         Use language hook to call front-end routine.
3177         * builtins.c (get_memory_rtx): Always call set_mem_attributes.
3178         (expand_builtin_apply): Call set_mem_align on MEMs we make.
3179         Don't pass alignment to emit_block_move.
3180         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3181         (expand_builtin_memset): Likewise, but for clear_storage.
3182         * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
3183         and remove C++ specific parts.
3184         * c-common.h (c_common_get_alias_set): Add declaration.
3185         * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
3186         * calls.c (emit_call_1): Fix typo in sibcall_pop case.
3187         (save_fixed_argument_area): Call set_mem_align.
3188         Remove alignment in call to emit_block_move.
3189         (emit_library_call_value_1, store_one_arg): Likewise.
3190         (target_for_arg): Remove; disabled long ago.
3191         * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
3192         once and similar cleanups.
3193         (offset_address): Use proper introductory comment.
3194         * expr.c (emit_block_move): Use alignment from that of MEM args, not
3195         from explicit operand; all callers changed.
3196         (clear_storage): Likewise.
3197         (expand_assignment): Don't call set_mem_alias_set on to_rtx.
3198         (store_field): Remove kludge on alias set used for to_rtx.
3199         (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
3200         (expand_expr_unaligned): Call set_mem_attributes instead of
3201         set_mem_alias_set.
3202         * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
3203         * function.c (assign_stack_temp_for_type): Set MEM alignment.
3204         (expand_function_end): Track MEM attributes of trampolines.
3205         * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
3206         * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
3207         attributes from original.
3208         * langhooks.c (lang_hook_default_get_alias_set): New function.
3209         (hook_get_alias_set_0): New function.
3210         * langhooks.h (hook_get_alias_set_0): New declaration.
3211         (lang_hook_default_get_alias_set): Likewise.
3212         (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
3213         * reload1.c (alter_reg): Use adjust_address_nv.
3214         * rtl.c (get_mode_alignment): Moved to here.
3215         * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
3216         change default if unknown from 1 to BITS_PER_UNIT.
3217         * stor-layout.c (get_mode_alignment): Remove from here.
3218         * toplev.h (struct lang_hoks): Add get_alias_set field.
3219         * tree.h (lang_get_alias_set): Delete declaration.
3220         * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
3221         * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
3222         (ix86_va_arg): Likewise.
3223         * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
3224         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
3225         * config/sparc/sparc.c (sparc_va_arg): Likewise.
3226         * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
3227         (expand_block_move_mem): Remove dead code.
3228
3229 2001-10-22  Neil Booth  <neil@daikokuya.demon.co.uk>
3230
3231         * c-common.c (warn_div_by_zero): New.
3232         * c-common.h (warn_div_by_zero): New.
3233         * c-decl.c (c_decode_option): Take it on the command line.
3234         * c-typeck.c (build_binary_op): Warn about division by zero.
3235         * doc/invoke.texi: Document the new command line option, fix
3236         documentation of -Wmultichar.
3237         * testsuite/gcc.dg/divbyzero.c: New tests.
3238         * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
3239
3240 Tue Oct 23 15:30:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
3241
3242         * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
3243
3244         * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
3245         to avoid update_life_info call.
3246         * basic-block.h (CLEANUP_UPATE_LIFE): Define.
3247         * cfgcleanup.c (bb_flags): New enum.
3248         (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
3249         (notice_new_block, update_forwarder_flag): New functions.
3250         (try_simplify_condjump): Use FORWARDER_BLOCK_P.
3251         (try_forward_edges): Likewise; update flags.
3252         (merge_blocks): Likewise.
3253         (outgoing_edges_match): Likewise.
3254         (try_crossjump_to_edge): Likewise.
3255         (try_optimize_cfg): Likewise; initialize and clear the flags;
3256         recompute life info if needed.
3257         (cleanup_cfg): No need to clear aux pointers.
3258
3259 2001-10-23  Alexandre Oliva  <aoliva@redhat.com>
3260
3261         * config/i386/i386.c (override_options): Default to minimum
3262         stack alignment when optimizing for code size.
3263         * doc/invoke.texi (-mpreferred-stack-boundary): Document the
3264         change.
3265
3266         * config/i386/i386.c (override_options): Set upper limit of
3267         -mpreferred-stack-boundary to 12.
3268
3269 2001-10-22  Zack Weinberg  <zack@codesourcery.com>
3270
3271         * recog.c (peephole2_optimize): Add default case to switch.
3272
3273 2001-10-23  Joseph S. Myers  <jsm28@cam.ac.uk>
3274
3275         * doc/gcc.texi (Sending Patches): Remove.
3276
3277 2001-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
3278
3279         * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
3280         fields when comparing.
3281
3282 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3283
3284         * arm.h (HOST_INT, HOST_UINT): Delete.  Remove all uses.
3285         * arm.c (HOST_INT, HOST_UINT): Likewise.
3286
3287 2001-10-22  Stan Shebs  <shebs@apple.com>
3288
3289         * config/darwin-protos.h (darwin_exception_section): Declare.
3290         (darwin_eh_frame_section): Declare.
3291
3292 Mon Oct 22 18:21:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
3293
3294         * i386.md (movti_rex64): Fix mode.
3295
3296 2001-10-22  Stan Shebs  <shebs@apple.com>
3297
3298         * target.h (struct gcc_target): Add asm_out.exception_section,
3299         asm_out.eh_frame_section.
3300         * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
3301         (TARGET_ASM_EH_FRAME_SECTION): New.
3302         (TARGET_INITIALIZER): Update.
3303         * output.h (default_exception_section): Declare.
3304         (default_eh_frame_section): Declare.
3305         * dwarf2out.c: Include target.h.
3306         (output_call_frame_info): Call target hook for eh frames.
3307         (default_eh_frame_section): New function.
3308         * except.c: Include target.h.
3309         (output_function_exception_table): Call target hook for exception
3310         section.
3311         * varasm.c (default_exception_section): Rename from
3312         exception_section, remove EXCEPTION_SECTION macro.
3313
3314         * config/darwin.h (darwin_eh_frame_section): New function.
3315         (EXCEPTION_SECTION): Remove.
3316         (TARGET_ASM_EXCEPTION_SECTION): Define.
3317         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
3318         (nextstep_exception_section): New function.
3319         (nextstep_eh_frame_section): New function.
3320         (TARGET_ASM_EXCEPTION_SECTION): Define.
3321         (TARGET_ASM_EH_FRAME_SECTION): Define.
3322
3323         * config/pa/som.h (EXCEPTION_SECTION): Remove.
3324         (TARGET_ASM_EXCEPTION_SECTION): Define.
3325         * config/rs6000/sysv4.h, config/rs6000/xcoff.h
3326         (EXCEPTION_SECTION): Remove.
3327         (TARGET_ASM_EXCEPTION_SECTION): Define.
3328         * config/stormy16/stormy16.h: Remove comments referencing
3329         EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
3330
3331         * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
3332         TARGET_ASM_EH_FRAME_SECTION.
3333
3334 2001-10-22  Nick Clifton  <nickc@cambridge.redhat.com>
3335
3336         * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
3337         terms.
3338
3339         * c-format.c: Fix spelling typo in comment.
3340
3341         * sched-int.h: Fix typo in GCC preamble.
3342
3343 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3344
3345         PR debug/4252
3346         * doc/invoke.texi: Remove references to -fdump-translation-unit.
3347
3348 2001-10-22  Richard Henderson  <rth@redhat.com>
3349
3350         * config/i386/i386.c (ix86_expand_clear): New.
3351         * config/i386/i386-protos.h: Declare it.
3352         * config/i386/i386.md (setcc peep2s): Use it.
3353         (movsi_xor): Unexport.
3354
3355 2001-10-22  Richard Henderson  <rth@redhat.com>
3356
3357         * flow.c (clear_log_links): Use free_INSN_LIST_list, not
3358         free_EXPR_LIST_list for LOG_LINKS.
3359
3360 2001-10-21  Robert Lipe  <robertlipe@usa.net>
3361
3362         * config/i386/i386.c (sco_asm_named_section): Delete.
3363         (sco_asm_out_constructor): Delete.
3364         * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
3365         (ASM_OUTPUT_DOUBLE_INT): Likewise.
3366         (TARGET_ASM_CONSTRUCTOR): Delete.  Use default.
3367         (TARGET_ASM_NAMED_SECTION): Use default for ELF.
3368         (EXCEPTION_SECTION): Delete EH scn renaming hack.
3369
3370 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3371
3372         * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
3373         and/or fold extra calls into fewer ones.
3374         * collect2.c (dump_file): Likewise.
3375         * cppexp.c (parse_number): Likewise.
3376         * cpplex.c (_cpp_lex_direct): Likewise.
3377         * final.c (output_asm_insn, asm_fprintf): Likewise.
3378         * fix-header.c (inf_scan_ident, main): Likewise.
3379         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
3380         Likewise.
3381         * fold-const.c (real_hex_to_f): Likewise.
3382         * gen-protos.c (parse_fn_proto): Likewise.
3383         * genattrtab.c (check_attr_test, check_attr_value): Likewise.
3384         * genrecog.c (change_state, write_action): Likewise.
3385         * gensupport.c (shift_output_template): Likewise.
3386         * local-alloc.c (requires_inout): Likewise.
3387         * mips-tfile.c (IS_ASM_IDENT): Likewise.
3388         * protoize.c (is_id_char, main): Likewise.
3389         * real.c (asctoeg): Likewise.
3390         * recog.c (asm_operand_ok): Likewise.
3391         * reload.c (find_reloads): Likewise.
3392         * scan.c (scan_identget_token): Likewise.
3393         * sched-vis.c (print_value): Likewise.
3394         * stringpool.c (ggc_alloc_string): Likewise.
3395         * toplev.c (read_integral_parameter, decode_g_option): Likewise.
3396         * tradcif.y (parse_number, yylex, parse_escape): Likewise.
3397         * tradcpp.c (rescan): Likewise.
3398         * tree.c (clean_symbol_name): Likewise.
3399         * varasm.c (decode_reg_name): Likewise.
3400
3401         * alpha.h (ASM_OUTPUT_ASCII): Likewise.
3402         * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
3403         * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
3404         * m88k.c (output_ascii): Likewise.
3405         * m88k.h (OVERRIDE_OPTIONS): Likewise.
3406         * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
3407         * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
3408         * sh.h (REG_CLASS_FROM_LETTER): Likewise.
3409
3410 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
3411
3412         * langhooks.c (lang_hook_default_do_nothing,
3413         lang_hook_default_decode_option): New defaults.
3414         * langhooks.h: Make hooks unconditional and non-NULL.
3415         * toplev.c (compile_file, toplev_main): Update.
3416         * toplev.h: Update comments.
3417         * objc/objc-act.c (lang_hooks): Update to new paradigm.
3418
3419 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3420
3421         * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
3422
3423         * system.h (IN_RANGE): New macro.
3424
3425 2001-10-21  Zack Weinberg  <zack@codesourcery.com>
3426
3427         * aclocal.m4 (AM_WITH_NLS): Also create and substitute
3428         INTLDEPS variable, which does not include $LIBICONV.
3429         * Makefile.in: Use INTLDEPS in LIBDEPS.
3430         * configure: Regenerate.
3431
3432 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
3433
3434         * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
3435         * cpplex.c (lex_percent, lex_dot): Remove.
3436         (get_effective_char, skip_block_comment, skip_line_comment,
3437         parse_identifier_slow, parse_number, parse_string, save_comment,
3438         _cpp_lex_direct): Update to do lookback freely.
3439         (IF_NEXT_IS, BACKUP): New macros.
3440         * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
3441         * cppmacro.c (paste_tokens): Update.
3442
3443 2001-10-20  Nick Clifton  <nickc@cambridge.redhat.com>
3444
3445         * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
3446
3447 2001-10-20  Hans-Peter Nilsson  <hp@axis.com>
3448
3449         * reload1.c (reload): Check CONSTANT_P before calling
3450         LEGITIMATE_PIC_OPERAND_P.
3451         * config/cris/cris.c (cris_legitimate_pic_operand): Revert
3452         workaround of 2001-10-13.
3453
3454 Sat Oct 20 15:16:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
3455
3456         * i386.c (split_di): Handle splitting of DFmode.
3457
3458 Sat Oct 20 07:27:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3459
3460         * emit-rtl.c (set_mem_attributes): Alignment is in bits.
3461         (adjust_address_1, offset_address): Likewise.
3462
3463         * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
3464         (output_asm_insn): Call it for each line output.
3465         Don't record an operand more than once.
3466
3467         * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
3468         * main.c: Include config.h and system.h, but not ansidecl.h.
3469         * Makefile.in (main.o): Update accordingly.
3470
3471 Sat Oct 20 12:05:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
3472
3473         * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
3474
3475 Sat Oct 20 12:01:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
3476
3477         * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
3478         * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
3479         Break out from ...
3480         (find_sub_basic_blocks): ... here;
3481         (find_many_sub_basic_blocks): New.
3482         * recog.c (split_all_insns): Update find_sub_basic_blocks call.
3483
3484         * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
3485
3486         * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
3487
3488         * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
3489
3490         * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
3491         * flow.c (update_life_info): Measure time.
3492         * c-decl.c: Include timevar.h
3493         (c_expand_body): Measure time.
3494         * toplev.c (rest_of_compilation): Measure time of mode switching
3495         separately.
3496         * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
3497
3498         * toplev.c (flag_asynchronous_unwind_tables): New global variable.
3499         (lang_independent_options): Add asynchronous-unwind-tables
3500         (toplev_main): flag_asynchronous_unwind_tables implies
3501         flag_unwind_tables.
3502         * flags.h (flag_asynchronous_unwind_tables): Declare.
3503         * dwarf2out.c (dwarf2out_stack_adjust): Take into account
3504         flag_asynchronous_unwind_tables.
3505         (output_call_frame_info): Likewise.
3506         * invoke.texi (-fasynchronous-unwind-tables): Document.
3507         * i386.c (optimization_options): Enable
3508         flag_asynchronous_unwind_tables.
3509
3510         * i386.c (ix86_expand_setcc):  Always expect target to be QImode.
3511         * i386.md (s* expanders): Destination is QImode.
3512
3513         * toplev.c (rest_of_compilation): Do not call clear_log_links.
3514         * rtl.h (clear_log_links): Kill.
3515         * flow.c (clear_log_links): Make static; accept blocks parameter;
3516         do no clear life info.
3517         (update_life_info): Call clear_log_links.
3518
3519         * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
3520
3521 2001-10-20  Neil Booth  <neil@daikokuya.demon.co.uk>
3522
3523         * cpplex.c (handle_newline, skip_escaped_newlines,
3524         get_effective_char, skip_block_comment, skip_line_comment,
3525         parse_identifier_slow, parse_number, parse_string,
3526         _cpp_lex_direct): Update to do more stepping back.
3527         (trigraph_ok): Similarly.  Rename trigraph_p.
3528         (SAVE_STATE, RESTORE_STATE): Remove.
3529         (BUFF_SIZE_UPPER_BOUND): Tweak.  Add sanity check.
3530
3531         * cpplib.c (destringize): Rename destringize_and_run, and
3532         call run_directive directly.
3533         (_cpp_do__Pragma): Simplify.
3534
3535 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3536
3537         * pe.c (arm_pe_unique_section): Const-ify.
3538         * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
3539         (switch_to_section): Add static prototype.
3540
3541         * output.h (drectve_section): Prototype.
3542
3543 2001-10-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3544
3545         * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
3546         fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
3547         parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
3548         i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
3549         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3550         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
3551         i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
3552         i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
3553         i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
3554         i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
3555         i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
3556         i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
3557         ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
3558         mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
3559         powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
3560         powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
3561         powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
3562         powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
3563         powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
3564         powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
3565         rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
3566         sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
3567         v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
3568         cris-*-none, cris-*-linux*: Update ${tmfile} list.
3569         (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
3570         i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
3571         mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
3572         powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
3573         v850-*-*): Delete superflous ${cpu_type} setting.
3574         * config/linux.h: Delete svr4.h include.
3575         (SET_ASM_OP): Delete.
3576         * config/netware.h (INT_ASM_OP): Undef before define.
3577         * config/ptx4.h: Delete elfos.h include.
3578         (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
3579         * config/svr4.h: Delete elfos.h include. Update commentary.
3580         * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
3581         config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
3582         config/mn10200/mn10300.h, config/stormy16/stormy16.h,
3583         config/v850/v850.h: Delete svr4.h include.
3584         * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
3585         config/m68k/m68kv4.h, config/m88k/sysv4.h,
3586         config/sparc/sysv4.h: Update includes.
3587         * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
3588         config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
3589         config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
3590         config/m88k/dguxbcs.h: Delete includes.
3591         * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
3592         (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
3593         * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
3594         it.
3595         * config/m88k/dgux.h: Delete include.
3596         (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):  Undef before
3597         defining it.
3598         * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
3599         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
3600         * config/sh/elf.h: Update include.
3601         (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
3602         DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
3603
3604 2001-10-19  Catherine Moore  <clm@redhat.com>
3605
3606         * config/stormy16/stormy-abi:  Updates to varargs descriptions.
3607         * config/stormy16/stormy16.c (stormy16_build_va_list):  Reverse
3608         base and count fields.
3609         (stormy16_expand_builtin_va_start):  last_reg_count changed to
3610         size_of_reg_args.  Use count + size in first comparison.
3611
3612 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3613
3614         * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
3615         * toplev.h (struct lang_hooks): New field HONOR_READONLY.
3616         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
3617         TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
3618         Set alignment from type if INDIRECT_REF.
3619         (adjust_address_1, offset_address): Simplify alignment compuitation.
3620         * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
3621         here; done by set_mem_attributes.
3622
3623 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3624
3625         * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
3626         * arm-protos.h (rdata_section, zero_init_section, common_section):
3627         Prototype.
3628         * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
3629         * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
3630         traditional mode stringification.
3631         * function.c (thread_prologue_and_epilogue_insns): Wrap variable
3632         in macros controling its use.
3633         * rtlanal.c: Include tm_p.h.
3634         * varasm.c (asm_output_aligned_bss): Mark parameter with
3635         ATTRIBUTE_UNUSED.
3636         (assemble_constant_align, assemble_start_function, assemble_align,
3637         assemble_variable, assemble_trampoline_template,
3638         output_constant_def_contents): Wrap potentially empty if-stmt body
3639         in brackets.
3640
3641 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3642
3643         * a29k-protos.h (literal_section): Prototype.
3644         * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
3645         * a29k.md: Ensure function pointers are prototyped.
3646         * genattrtab.c (write_eligible_delay): Mark parameter with
3647         ATTRIBUTE_UNUSED.
3648
3649 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3650
3651         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
3652         * 1750a.c (print_operand): Fix format specifier warning.
3653         * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
3654         * 1750a.md: Likewise.
3655         * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
3656         * genemit.c (output_add_clobbers): Mark parameter with
3657         ATTRIBUTE_UNUSED.
3658         * genrecog.c (write_subroutine): Likewise.
3659         * integrate.c (expand_inline_function): Delete unused variable.
3660         * varasm.c (remove_from_pending_weak_list): Wrap with
3661         ASM_WEAKEN_LABEL.
3662
3663 2001-10-19  Jakub Jelinek  <jakub@redhat.com>
3664
3665         * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
3666         field is different to previous argument's neg field.
3667
3668         * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
3669
3670 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3671
3672         * final.c (get_decl_from_op): New function.
3673         (output_asm_insn): Call it; write "*" when item with decl is address.
3674
3675 2001-10-19  Janis Johnson  <janis187@us.ibm.com>
3676
3677         * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
3678         about 64-bit support from the 3.0_branch version.
3679
3680 2001-10-19  Zack Weinberg  <zack@codesourcery.com>
3681
3682         * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
3683         USE_INCLUDED_LIBINTL when appropriate.
3684         * configure, config.in: Regenerate.
3685         * Makefile.in (datadir): Set to @datadir@.
3686         (intl.o): Also depend on $(CONFIG_H) and system.h.
3687
3688         * intl.c: Factor out common gettext initialization sequence.
3689         (gcc_init_libintl):  New function.
3690         * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
3691         otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
3692         off NLS.  Add multiple include guard.  No need to #ifdef-guard
3693         an #undef.  Prototype gcc_init_libintl here.
3694
3695         * collect2.c (main), cppmain.c (general_init), gcc.c (main),
3696         gcov.c (main), protoize.c (main), toplev.c (toplev_main):
3697         Use gcc_init_libintl.
3698
3699 2001-10-19  Catherine Moore  <clm@redhat.com>
3700
3701         * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
3702
3703         * config/stormy16/stormy16.c (stormy16_split_move):  Make
3704         sure that REG_INC notes are present for auto_inc operands.
3705
3706 2001-10-19  Andreas Jaeger  <aj@suse.de>
3707
3708         * configure: Regenerated.
3709         * configure.in: Add x86_64 to switch statements.
3710
3711 2001-10-18  Richard Henderson  <rth@redhat.com>
3712
3713         * config/alpha/alpha.md (sibcall_osf_1): Load destination
3714         address into $27 explicitly.
3715         (sibcall_value_osf_1): Likewise.
3716
3717 Thu Oct 18 16:07:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3718
3719         * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
3720         (offset_address): New function.
3721         (free_emit_status): Free regno_decl.
3722         (init_emit): Pass proper number of elements to xcalloc.
3723         Allocate regno_decl.
3724         (mark_emit_status): Mark regno_decl values.
3725         * expr.c (highest_pow2_factor): New function.
3726         (expand_assigment): Use it and offset_address.
3727         Properly handle ptr_mode vs. Pmode in offset calculation.
3728         (store_constructor, expand_expr_unaligned): Likewise.
3729         (expand_expr, case COMPONENT_EXPR): Likewise.
3730         * expr.h (offset_address): New decl.
3731         * function.h (struct emit_status): Add regno_decl.
3732         (REGNO_DECL): New macro.
3733         * final.c (output_asm_name): Move in file and don't conditionalize
3734         on flag_print_asm_name.
3735         (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
3736         Output names of operands, if known.
3737         * function.c (assign_parms): Set REGNO_DECL.
3738         * integrate.c (integrate_decl_tree): Likewise.
3739         * stmt.c (expand_decl): Likewise.
3740         * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
3741
3742 2001-10-18  Alexandre Oliva  <aoliva@redhat.com>
3743
3744         * attribs.c (handle_noinline_attribute): New function.
3745         (handle_used_attribute): Likewise.
3746         (c_common_attribute_table): Added noinline and used.
3747         * doc/extend.texi (Function Attributes): Document them.
3748         * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
3749         Warn when merging inline with attribute noinline.
3750         (start_decl, start_function): Warn if inline and attribute
3751         noinline appear in the same declaration.
3752
3753 2001-10-17  Neil Booth  <neil@daikokuya.demon.co.uk>
3754
3755         * config.gcc: Update c4x and i370 for C front end-specific
3756         dependencies.
3757         * config/c4x/c4x-c.c: New.
3758         * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
3759         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
3760         New declarations.
3761         * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
3762         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
3763         Make extern.
3764         (c4x_init_pragma): Remove.
3765         (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
3766         c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
3767         c4x_pr_ignored): Move to c4x-c.c.
3768         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
3769         * config/c4x/t-c4x: Update.
3770         * config/i370/i370-c.c: New.
3771         * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
3772         (i370_pr_map): Move to i370-c.c.
3773         * config/i370/t-i370: New.
3774
3775         * doc/tm.texi: Update.
3776
3777 2001-10-17  Stan Shebs  <shebs@apple.com>
3778
3779         * config/rs6000/rs6000.c: Make assorted mechanical formatting and
3780         typo fixes throughout.
3781         (machopic_output_stub): Remove some dead code.
3782
3783 2001-10-17  Richard Earnshaw <rearnsha@arm.com>
3784
3785         * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
3786         leak.
3787
3788 Wed Oct 17 05:26:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3789
3790         * Makefile.in (print-rtl.o): Depend on TREE_H.
3791         * alias.c (get_alias_set): Make two passes over objects to first
3792         see if inner object is access via restricted pointer.
3793         Defer allocating alias set for restricted pointer until here.
3794         Call find_placeholder with second arg nonzero.
3795         Minor cleanups.
3796         * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
3797         set for restricted pointer types.
3798         * emit-rtl.c (set_mem_attributes): Set more attributes.
3799         (set_mem_align, change_address, adjust_address_1): New functions.
3800         (change_address_1): Now static.
3801         (adjust_address, adjust_address_nv): Deleted.
3802         (replace_equiv_address): Call change_address_1.
3803         * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
3804         (find_placeholder): Get starting point from PLIST arg.
3805         (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
3806         * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
3807         (adjust_address, adjust_address_nv): New macros.
3808         * print-rtl.c (tree.h): New include.
3809         (print_rtx, case MEM): Print all memory attributes.
3810
3811 2001-10-17  Richard Henderson  <rth@redhat.com>
3812
3813         * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
3814
3815 2001-10-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
3816
3817         * c-tree.texi: Eliminate duplicated word.
3818         * cpp.texi: Likewise.
3819         * install.texi: Likewise.
3820         * invoke.texi: Likewise.
3821         * tm.texi: Likewise.
3822
3823 2001-10-17  Michael Collison  <collison@isisinc.net>
3824
3825         * dsp16xx.c: Fix comment formatting to match GNU standards.
3826         (dsp16xx_output_function_prologue): Change type of 'size'
3827         parameter from 'int' to HOST_WIDE_INT.
3828         (dsp16xx_output_function_epilogue): Change type of 'size'
3829         parameter from 'int' to HOST_WIDE_INT.
3830
3831 2001-10-16  Richard Henderson  <rth@redhat.com>
3832
3833         * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
3834         * configure, config.in: Rebuild.
3835
3836         * config/i386/i386.c (ix86_output_addr_vec_elt): New.
3837         (ix86_output_addr_diff_elt): New.
3838         * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
3839         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
3840         (JUMP_TABLES_IN_TEXT_SECTION): New.
3841         * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
3842         * config/i386/i386-protos.h: Update.
3843
3844         * config/i386/386bsd.h, config/i386/beos-elf.h,
3845         config/i386/freebsd-aout.h, config/i386/freebsd.h,
3846         config/i386/i386-interix.h, config/i386/i386elf.h,
3847         config/i386/linux.h, config/i386/netbsd-elf.h,
3848         config/i386/netbsd.h, config/i386/openbsd.h,
3849         config/i386/ptx4-i.h, config/i386/rtemself.h,
3850         config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
3851         (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
3852
3853 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
3854
3855         * stmt.c (expand_asm_operands): Update commentary.
3856
3857 2001-10-16  Stan Shebs  <shebs@apple.com>
3858
3859         * config/darwin.h (GCC_NAME): Remove, no longer used.
3860         (NO_MATH_LIBRARY): Ditto.
3861         (MATH_LIBRARY): Define to emptiness.
3862         (DWARF2_DEBUGGING_INFO): Define.
3863         (PREFERRED_DEBUGGING_TYPE): Define.
3864         (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
3865         (EXCEPTION_SECTION): Define.
3866         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
3867         * config/darwin.c (darwin_encode_section_info): Handle case of
3868         DECL_INITIAL being error_mark_node.
3869
3870 2001-10-16  Richard Henderson  <rth@redhat.com>
3871
3872         * alpha.c (current_file_function_operand): Don't fail for profiling.
3873         (direct_call_operand): New.
3874         * alpha-protos.h: Declare it.
3875         * alpha.h (EXTRA_CONSTRAINT): Use it.
3876         (PREDICATE_CODES): Add it.
3877         (ASM_OUTPUT_MI_THUNK): Remove.
3878         * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
3879         * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
3880
3881 2001-10-16  Krister Walfridsson  <cato@df.lth.se>
3882
3883         * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
3884         (JUMP_TABLES_IN_TEXT_SECTION): Define.
3885
3886 Wed Oct 17 00:21:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
3887
3888         * cfg.c (free_edge): Break out from ....
3889         (remove_edge): ... here.
3890         (clear_edges): Use free_edge.
3891
3892         * att.h (ASM_QUAD): Add comment.
3893         * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
3894
3895 Wed Oct 17 00:01:02 CEST 2001  Jan Hubicka  <jh@suse.cz>
3896
3897         * i386.c (split_ti): New function.
3898         (ix86_split_to_parts): Support TImodes.
3899         * i386.h (VALID_INT_MODE_P): Add TImode.
3900         * i386.md (movdi splitter): Fix.
3901         (movti): Support 64bit integer registers.
3902         (movti_rex64): New function and splitter.
3903
3904         * i386.c (*_cost): Add movsx/movzx cost.
3905         * i386.h (struct processor_costs): Add movsx/movzx fields.
3906         (RTX_COSTS): Handle zero/sign extend + avoid believing that
3907         64bit operations require split on 64bit machine.
3908         (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
3909
3910         * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
3911         (ix86_expand_move): Avoid pushes of memory if size does not match;
3912         move long constants to register.
3913         (x86_initialize_trampoline): Fix mode.
3914         * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
3915         Use ASM_QUAD on 64bit.
3916         * i386.md (test pattern): Disallow impossible constants.
3917         (tablejump PIC expander): Fix emitting of sum.
3918         (movdicc_rex64): Rename to movdicc.
3919         * linux64.h (LINK_SPEC): Add missing '%'.
3920
3921 2001-10-16  Alexandre Oliva  <aoliva@redhat.com>
3922
3923         * tree-inline.c (inlinable_function_p): Leave it up to the
3924         front-end to turn -finline-functions into DECL_INLINE set for all
3925         functions.
3926
3927 2001-10-16  Stan Shebs  <shebs@apple.com>
3928
3929         * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
3930
3931 2001-10-16  Alan Modra  <amodra@bigpond.net.au>
3932
3933         * recog.c: Formatting and comment typo fixes.
3934
3935         * configure.in (gcc_cv_as_bfd_srcdir): New.  Use it to find gas
3936         version in single tree build.
3937         * configure: Regenerate.
3938
3939 2001-10-15  David Edelsohn  <edelsohn@gnu.org>
3940
3941         * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
3942         MODE arguments to gen_rtx and compare operand with const0_rtx.
3943
3944 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
3945
3946         * system.h: Poison old unused target macros.
3947         * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
3948         * config/stormy16/stormy16.c: Update references to obsolete macros.
3949         * config/stormy16/stormy16.h: Similarly.
3950         * config/stormy16/stormy16.md: Similarly.
3951         * config/cris/cris.h: Similarly.
3952
3953 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
3954
3955         * cpplib.c (struct pragma_entry): Store the name as a hashnode.
3956         (lookup_pragma_entry, insert_pragma_entry, do_pragma,
3957         cpp_register_pragma): Update accordingly.
3958
3959 2001-10-14  Neil Booth  <neil@daikokuya.demon.co.uk>
3960
3961         * c-pragma.h (cpp_register_pragma_space): Remove.
3962         * cpplib.h (cpp_register_pragma_space): Remove.
3963         * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
3964         (cpp_register_pragma_space): Remove.
3965         (cpp_register_pragma): Simplify using lookup_pragma_entry,
3966         add sanity checks.
3967         (do_pragma): Similarly.
3968         (_cpp_init_internal_pragmas): Don't register namespaces.
3969
3970         * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
3971         Don't register namespaces.
3972         * cp/lex.c (init_cp_pragma): Similarly.
3973         * doc/tm.texi: Update.
3974
3975 2001-10-10  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3976
3977         PR c/4157
3978         * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
3979
3980 2001-10-13  Michael Collison  <collison@dhcp-12-114.townisp.com>
3981
3982         * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
3983         add scheduling support.
3984         * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
3985         * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
3986         * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
3987
3988
3989 2001-10-13  Hans-Peter Nilsson  <hp@axis.com>
3990
3991         * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
3992         missing CONSTANT_P test in core GCC.
3993
3994 2001-10-12  Neil Booth  <neil@daikokuya.demon.co.uk>
3995
3996         * cppmain.c (struct printer): New member source.
3997         (scan_translation_unit): Fix spacing at start of lines.
3998         (cb_line_change): Update.
3999
4000         * gcc.dg/cpp/spacing2.c: New test.
4001
4002 2001-10-12  Hans-Peter Nilsson  <hp@axis.com>
4003
4004         * config/cris/arit.c: Use __builtin_labs, not abs.
4005
4006         * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
4007
4008         * config/cris/cris.c (cris_target_asm_function_epilogue): Move
4009         misplaced sprintf and fprintf argument.
4010
4011 2001-10-12  Zack Weinberg  <zack@codesourcery.com>
4012
4013         * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
4014         * configure.in, Makefile.in: Take out obsolete check-po logic.
4015         * configure, config.in: Regenerate.
4016
4017 2001-10-12  Ziemowit Laski  <zlaski@apple.com>
4018
4019         * objc/objc-act.c (finish_objc): Correct precondition for emitting
4020         symtab declarations.
4021
4022 2001-10-12  Stan Shebs  <shebs@apple.com>
4023
4024         * config/rs6000/rs6000.c: Remove uses of "register" specifier in
4025         declarations of arguments and local variables.
4026
4027 2001-10-12  Christopher Faylor  <cgf@redhat.com>
4028
4029         * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
4030         ENDFILE_SPEC definition.
4031
4032 2001-10-12  Kazu Hirata  <kazu@hxi.com>
4033
4034         * gthr-dce.h: Fix comment formatting.
4035         * gthr-posix.h: Likewise.
4036         * gthr-single.h: Likewise.
4037         * gthr-solaris.h: Likewise.
4038         * gthr-vxworks.h: Likewise.
4039         * gthr-win32.h: Likewise.
4040
4041 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
4042
4043         * final.c (output_asm_insn): Make sure assembly dialects are
4044         terminated, not nested.  Output `|' and `}' characters if they
4045         don't appear inside assembly dialect selection.
4046         * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
4047         rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
4048         rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
4049         strsetsi_rex_1): Add {} braces.
4050
4051 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
4052
4053         * toplev.c (compile_file): Ignore return value from yyparse.
4054         Always pop any nested binding levels after yyparse returns.
4055
4056 2001-10-11  Richard Henderson  <rth@redhat.com>
4057
4058         * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
4059
4060 2001-10-11  Richard Henderson  <rth@redhat.com>
4061
4062         * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
4063         fall back to add_AT_long_long for large CONST_INT.
4064
4065 2001-10-11  Richard Henderson  <rth@redhat.com>
4066
4067         * config/i386/i386.md (setcc splitters): Add four splitters to
4068         simplify compound compares that simplify_comparison can't handle.
4069
4070 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
4071
4072         * cpplex.c (digraph_spellings, token_spellings): Make static.
4073
4074 2001-10-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4075
4076         * unroll.c (loop_iterations): Fixup last patch.
4077
4078 2001-10-11  Richard Henderson  <rth@redhat.com>
4079
4080         * rtl.h (REG_VTABLE_REF): New.
4081         * rtl.c (reg_note_name): Add it.
4082         * combine.c (distribute_notes): Handle it.
4083         * final.c (final_scan_insn): Handle it.
4084         * tree.def (VTABLE_REF): New.
4085         * expr.c (expand_expr): Handle it.
4086         * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
4087         * output.h: Declare them.
4088
4089 2001-10-11  Richard Henderson  <rth@redhat.com>
4090
4091         * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
4092         for a DECL_INITIAL.
4093
4094 2001-10-11  David Edelsohn  <edelsohn@gnu.org>
4095
4096         * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
4097         available in 64-bit mode.
4098
4099 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
4100
4101         * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
4102         cris-*-linux* cases.
4103         * config/cris/cris-protos.h: New file.
4104         * config/cris/cris.c: New file.
4105         * config/cris/cris.h: New file.
4106         * config/cris/cris.md: New file.
4107         * config/cris/linux.h: New file.
4108         * config/cris/aout.h: New file.
4109         * config/cris/arit.c: New file.
4110         * config/cris/cris_abi_symbol.c: New file.
4111         * config/cris/mulsi3.asm: New file.
4112         * config/cris/t-aout: New file.
4113         * config/cris/t-cris: New file.
4114         * config/cris/t-elfmulti: New file.
4115         * config/cris/t-linux: New file.
4116         * doc/invoke.texi: Add CRIS options.
4117         * doc/install.texi (Specific): Add blurb for CRIS.
4118
4119 2001-10-10  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
4120
4121         * config/float-i128.h: Make sure __STDC__VERSION__ is defined
4122         before using it.
4123         * config/float/i32.h: Likewise.
4124         * config/float-i386.h: Likewise.
4125         * config/float-i64.h: Likewise.
4126         * config/float-m68k.h: Likewise.
4127         * config/float-sh.h: Likewise.
4128         * config/float-sparc.h: Likewise.
4129
4130 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
4131
4132         * doc/contrib.texi: Add note about CRIS port to my entry.
4133
4134 2001-10-11  Kazu Hirata  <kazu@hxi.com>
4135
4136         * basic-block.h: Fix formatting.
4137         * bitmap.h: Likewise.
4138         * cpplib.h: Likewise.
4139         * c-tree.h: Likewise.
4140         * diagnostic.h: Likewise.
4141         * flags.h: Likewise.
4142         * ggc.h: Likewise.
4143         * longlong.h: Likewise.
4144         * real.h: Likewise.
4145         * reload.h: Likewise.
4146         * rtl.h: Likewise.
4147         * tree.h: Likewise.
4148
4149 2001-10-10  Richard Henderson  <rth@redhat.com>
4150
4151         * c-parse.in (asm_operand): Allow named operands.
4152         * genconfig.c (max_recog_operands): Set to 29.
4153         * local-alloc.c (requires_inout): Skip multiple digits.
4154         * recog.c (asm_operand_ok): Likewise.
4155         (preprocess_constraints): Use strtoul for matching constraints.
4156         (constrain_operands): Likewise.
4157         * regmove.c (find_matches): Likewise.
4158         * reload.c (find_reloads): Likewise.
4159         * stmt.c (parse_output_constraint): Don't reject in-out
4160         constraint on operands > 9.  Reject '[' in constraint.
4161         (expand_asm_operands): Handle named operands.  Use strtoul
4162         for matching constraints.
4163         (check_operand_nalternatives): Split out from expand_asm_operands.
4164         (check_unique_operand_names): New.
4165         (resolve_operand_names, resolve_operand_name_1): New.
4166
4167         * doc/extend.texi (Extended Asm): Document named operands.
4168         * doc/md.texi (Simple Constraints): Document matching constraints
4169         on operands > 9.
4170
4171 2001-10-10  Richard Henderson  <rth@redhat.com>
4172
4173         * combine.c (try_combine): Handle a SEQUENCE of one insn.
4174
4175         * i386.c (test splitter): Narrow tests vs paradoxical subregs.
4176         (jcc splitters): Add two splitters to simplify compound compares
4177         that simplify_comparison can't handle.
4178
4179 2001-10-10  Richard Henderson  <rth@redhat.com>
4180
4181         * langhooks.c: Include langhooks.h.
4182         * Makefile.in (langhooks.o): Depend on it.
4183
4184 Wed Oct 10 23:49:06 EDT 2001  John Wehle  (john@feith.com)
4185
4186         * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
4187         should not be considered as a no-op.
4188         * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
4189
4190 2001-10-10  Stan Shebs  <shebs@apple.com>
4191
4192         * alias.c: Remove uses of "register" specifier in declarations
4193         of arguments and local variables.
4194         * c-common.c: Ditto.
4195         * c-convert.c: Ditto.
4196         * c-decl.c: Ditto.
4197         * c-format.c: Ditto.
4198         * c-semantics.c: Ditto.
4199         * c-typeck.c: Ditto.
4200         * caller-save.c: Ditto.
4201         * calls.c: Ditto.
4202         * cfg.c: Ditto.
4203         * cfgbuild.c: Ditto.
4204         * cfgrtl.c: Ditto.
4205         * collect2.c: Ditto.
4206         * combine.c: Ditto.
4207         * convert.c: Ditto.
4208         * cppexp.c: Ditto.
4209         * cppfiles.c: Ditto.
4210         * cse.c: Ditto.
4211         * dbxout.c: Ditto.
4212         * defaults.h: Ditto.
4213         * df.c: Ditto.
4214         * dwarf2out.c: Ditto.
4215         * dwarfout.c: Ditto.
4216         * emit-rtl.c: Ditto.
4217         * explow.c: Ditto.
4218         * expmed.c: Ditto.
4219         * expr.c: Ditto.
4220         * final.c: Ditto.
4221         * fix-header.c: Ditto.
4222         * floatlib.c: Ditto.
4223         * flow.c: Ditto.
4224         * fold-const.c: Ditto.
4225         * function.c: Ditto.
4226         * gcc.c: Ditto.
4227         * gcse.c: Ditto.
4228         * gen-protos.c: Ditto.
4229         * genattrtab.c: Ditto.
4230         * gencheck.c: Ditto.
4231         * genconfig.c: Ditto.
4232         * genemit.c: Ditto.
4233         * genextract.c: Ditto.
4234         * genflags.c: Ditto.
4235         * gengenrtl.c: Ditto.
4236         * genoutput.c: Ditto.
4237         * genpeep.c: Ditto.
4238         * genrecog.c: Ditto.
4239         * gensupport.c: Ditto.
4240         * global.c: Ditto.
4241         * gmon.c: Ditto.
4242         * graph.c: Ditto.
4243         * haifa-sched.c: Ditto.
4244         * hard-reg-set.h: Ditto.
4245         * hash.c: Ditto.
4246         * integrate.c: Ditto.
4247         * jump.c: Ditto.
4248         * lists.c: Ditto.
4249         * local-alloc.c: Ditto.
4250         * loop.c: Ditto.
4251         * mips-tdump.c: Ditto.
4252         * mips-tfile.c: Ditto.
4253         * optabs.c: Ditto.
4254         * prefix.c: Ditto.
4255         * print-rtl.c: Ditto.
4256         * read-rtl.c: Ditto.
4257         * real.c: Ditto.
4258         * recog.c: Ditto.
4259         * reg-stack.c: Ditto.
4260         * regclass.c: Ditto.
4261         * regmove.c: Ditto.
4262         * reload.c: Ditto.
4263         * reload1.c: Ditto.
4264         * reorg.c: Ditto.
4265         * resource.c: Ditto.
4266         * rtl.c: Ditto.
4267         * rtlanal.c: Ditto.
4268         * scan.c: Ditto.
4269         * sched-deps.c: Ditto.
4270         * sched-rgn.c: Ditto.
4271         * sdbout.c: Ditto.
4272         * simplify-rtx.c: Ditto.
4273         * stmt.c: Ditto.
4274         * stor-layout.c: Ditto.
4275         * toplev.c: Ditto.
4276         * tradcif.y: Ditto.
4277         * tradcpp.c: Ditto.
4278         * tree.c: Ditto.
4279         * unroll.c: Ditto.
4280         * varasm.c: Ditto.
4281         * xcoffout.c: Ditto.
4282
4283 2001-10-10  Richard Henderson  <rth@redhat.com>
4284
4285         * rtl.h (can_reverse_comparison_p): Remove.
4286
4287 2001-10-10  Christopher Faylor <cgf@redhat.com>
4288
4289         * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
4290         used.
4291
4292 2001-10-10  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
4293
4294         * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
4295         (Thanks to Chris Faylor for suggesting macro name).
4296         (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
4297         WIN32 defines.
4298         (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
4299         (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
4300         (MATH_LIBRARY): Undef before definition.
4301         (OUTPUT_QUOTED_STRING): Likewise.
4302         * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
4303
4304 2001-10-10  Richard Henderson  <rth@redhat.com>
4305
4306         * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
4307         (fde_unencoded_compare): Likewise.  Don't use subtraction to get
4308         a tristate comparison value.
4309         (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
4310
4311 2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4312
4313         PR c++/4512
4314         * unroll.c (loop_iterations): Ignore insns generated by loop
4315         unrolling.
4316
4317         * config.gcc (mips*-*-gnu*): Delete support.
4318         * config/mips/gnu.h: Remove.
4319
4320 2001-10-10  Kazu Hirata  <kazu@hxi.com>
4321
4322         * calls.c: Fix formatting.
4323         * c-decl.c: Likewise.
4324         * cfgcleanup.c: Likewise.
4325         * combine.c: Likewise.
4326         * cppfiles.c: Likewise.
4327         * cpplib.c: Likewise.
4328         * cppmacro.c: Likewise.
4329         * crtstuff.c: Likewise.
4330         * cse.c: Likewise.
4331         * dwarf2out.c: Likewise.
4332         * expmed.c: Likewise.
4333         * expr.c: Likewise.
4334         * fold-const.c: Likewise.
4335         * function.c: Likewise.
4336         * gcse.c: Likewise.
4337         * genattrtab.c: Likewise.
4338         * ggc-page.c: Likewise.
4339         * integrate.c: Likewise.
4340         * libgcc2.c: Likewise.
4341         * loop.c: Likewise.
4342         * optabs.c: Likewise.
4343         * profile.c: Likewise.
4344         * protoize.c: Likewise.
4345         * real.c: Likewise.
4346         * recog.c: Likewise.
4347         * reload1.c: Likewise.
4348         * reload.c: Likewise.
4349         * reorg.c: Likewise.
4350         * resource.c: Likewise.
4351         * sched-rgn.c: Likewise.
4352         * sdbout.c: Likewise.
4353         * stmt.c: Likewise.
4354         * toplev.c: Likewise.
4355         * varasm.c: Likewise.
4356
4357 2001-10-10  Janis Johnson  <janis187@us.ibm.com>, Alexandre Oliva  <aoliva@redhat.com>
4358
4359         * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
4360         * Makefile.in (langhooks.o): Add dependencies.
4361
4362 Wed Oct 10 00:41:29 EDT 2001  John Wehle  (john@feith.com)
4363
4364         * rs6000.c (rs6000_emit_load_toc_table): Don't
4365         strdup the toc label.
4366         (create_TOC_reference): Likewise.
4367
4368 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
4369
4370         * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
4371         version default.
4372
4373 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
4374
4375         * config/i386/i386.c (ix86_attribute_table): Correct
4376         min_len, max_len fields for dllimport, dllexport and shared.
4377
4378 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4379
4380         * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
4381         doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
4382         Consistently use "nonzero" instead of "non-zero".
4383
4384 2001-10-09  Kazu Hirata  <kazu@hxi.com>
4385
4386         * acconfig.h: Fix comment formatting.
4387         * c-dump.h: Likewise.
4388         * c-tree.h: Likewise.
4389         * conditions.h: Likewise.
4390         * expr.h: Likewise.
4391         * function.h: Likewise.
4392         * gthr.h: Likewise.
4393         * hwint.h: Likewise.
4394         * integrate.h: Likewise.
4395         * intl.h: Likewise.
4396         * loop.h: Likewise.
4397         * optabs.h: Likewise.
4398
4399 2001-10-09  Kazu Hirata  <kazu@hxi.com>
4400
4401         * c-common.h: Fix comment formatting.
4402         * c-dump.c: Likewise.
4403         * cfg.c: Likewise.
4404         * diagnostic.h: Likewise.
4405         * except.c: Likewise.
4406         * gcc.h: Likewise.
4407         * gcov-io.h: Likewise.
4408         * genattrtab.c: Likewise.
4409         * output.h: Likewise.
4410         * predict.h: Likewise.
4411         * reload1.c: Likewise.
4412         * reload.h: Likewise.
4413         * resource.h: Likewise.
4414         * scan.h: Likewise.
4415         * system.h: Likewise.
4416         * tree.h: Likewise.
4417         * tree-inline.c: Likewise.
4418         * tsystem.h: Likewise.
4419         * varasm.c: Likewise.
4420         * xcoffout.h: Likewise.
4421
4422 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
4423
4424         * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
4425
4426 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
4427
4428         * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
4429         config/i386/i386elf.h, config/i386/netbsd-elf.h,
4430         config/i386/netware.h, config/mcore/gfloat.h,
4431         config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
4432         config/netware.h, gccbug.in: Update FSF address.
4433
4434 2001-10-09  Kazu Hirata  <kazu@hxi.com>
4435
4436         * c-common.c: Fix comment typos.
4437         * cfgrtl.c: Likewise.
4438         * collect2.c: Likewise.
4439         * cpplex.c: Likewise.
4440         * doloop.c: Likewise.
4441         * dwarf2out.c: Likewise.
4442         * dwarfout.c: Likewise.
4443         * expr.c: Likewise.
4444         * fold-const.c: Likewise.
4445         * gcc.c: Likewise.
4446         * gcov.c: Likewise.
4447         * gcse.c: Likewise.
4448         * global.c: Likewise.
4449         * ifcvt.c: Likewise.
4450         * loop.c: Likewise.
4451         * optabs.c: Likewise.
4452         * protoize.c: Likewise.
4453         * regclass.c: Likewise.
4454         * reorg.c: Likewise.
4455         * rtl.h: Likewise.
4456         * stmt.c: Likewise.
4457         * tree.h: Likewise.
4458         * doc/cpp.texi: Likewise.
4459         * doc/c-tree.texi: Likewise.
4460         * doc/extend.texi: Likewise.
4461         * doc/invoke.texi: Likewise.
4462         * doc/objc.texi: Likewise.
4463         * doc/tm.texi: Likewise.
4464
4465 2001-10-08  Richard Henderson  <rth@redhat.com>
4466
4467         * varasm.c (set_named_section_flags): Initialize "declared".
4468
4469 2001-10-08  Robert Lipe  <robertlipe@usa.net>
4470
4471         * varasm.c (struct in_named_entry): Add declared.
4472         (named_section_first_declaration): New function.
4473         (default_elf_asm_named_section): Use it.
4474         * output.h (named_section_first_declaration): New.
4475
4476 2001-10-08  Richard Henderson  <rth@redhat.com>
4477
4478         * i386.md (movsi_xor): Export.
4479         (setcc peep2): Use it when available; add an alternative to
4480         match zero_extendhisi2_and.
4481
4482 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4483
4484         * romp-protos.h (romp_initialize_trampoline): New function.
4485         * romp.c (romp_initialize_trampoline): Likewise.
4486         * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
4487         romp_initialize_trampoline.
4488
4489 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4490
4491         * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
4492         * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
4493         * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
4494         * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
4495
4496 2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4497
4498         * unroll.c (loop_iterations): Extend check for multiple back edges.
4499
4500 2001-10-08  Alexandre Oliva  <aoliva@redhat.com>
4501
4502         * langhooks.h: New file.
4503         * Makefile.in (OBJS): Added langhooks.o.
4504         (c-lang.o): Depend on langhooks.h.
4505         (c-common.o): Don't depend on tree-inline.h.
4506         (tree-inline.o): Depend on toplev.h.
4507         (langhooks.o): New rule.
4508         * c-common.c: Don't include tree-inline.h.
4509         (c_mark_lang_decl): Mark argument c as unused.
4510         (c_common_lang_init): Don't initialize hooks here.
4511         * c-lang.c: Include langhooks.h, then override some macros.
4512         (lang_hooks): Initialize with macros in langhooks.h.
4513         (c_init): Don't initialize hooks here.
4514         * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
4515         (struct lang_hooks): Add tree_inlining.  Refer to langhooks.h.
4516         * tree-inline.c: Include toplev.h.  Don't define hook variables.
4517         * tree-inline.h: Don't define hook types nor declare hook
4518         variables.  Move macros to...
4519         * langhooks.c: ... new file, as functions.  Adjust all callers.
4520
4521 2001-10-08  Jeffrey A Law  <law@cygnus.com>
4522
4523         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
4524         purge_mem_unchanging_flag on all instructions, not just on those
4525         before NOTE_INSN_FUNCTION_BEG.
4526
4527 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
4528
4529         * cppmacro.c (_cpp_create_definition): Leave comments off.
4530
4531         * doc/cpp.texi: Update.
4532
4533 2001-10-08  DJ Delorie  <dj@redhat.com>
4534
4535         * c-decl.c (grokfield): Make sure the only unnamed fields
4536         we're allowing are either structs or unions.
4537         * doc/extend.texi: Add documentation for the unnamed field
4538         extension.
4539
4540 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
4541
4542         * aclocal.m4 (gcc_AC_PROG_GNAT): New.
4543         * configure.in: Use it.
4544         * configure: Regenerated.
4545         * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
4546         config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
4547
4548 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
4549
4550         * cppfiles.c (open_file): Don't mark zero-length files
4551         never-reread here.  Don't output diagnostics here either.
4552         (stack_include_file): Mark them never-reread here.
4553         (_cpp_read_file): Update.
4554
4555 2001-10-08  Richard Henderson  <rth@redhat.com>
4556
4557         * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
4558
4559 2001-10-08  Richard Henderson  <rth@redhat.com>
4560
4561         * expr.c (store_expr): When converting a CONST_INT for storage
4562         in a SUBREG, convert it to both SUBREG modes before stripping
4563         the SUBREG.
4564
4565 2001-10-08  Richard Henderson  <rth@redhat.com>
4566
4567         * varasm.c (restore_varasm_status): New.
4568         * function.h: Declare it.
4569         * function.c (pop_function_context_from): Call it.
4570
4571 2001-10-08  Richard Henderson  <rth@redhat.com>
4572
4573         * c-common.h (struct c_lang_decl): Add declared_inline.
4574         * c-tree.h (DECL_DECLARED_INLINE_P): New.
4575         * c-lang.c (c_disregard_inline_limits): Use it.
4576         * c-decl.c (duplicate_decls): Likewise.
4577         (pushdecl, redeclaration_error_message): Likewise.
4578         (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
4579         (grokdeclarator): Likewise.  Set DECL_DECLARED_INLINE_P.
4580         Set DECL_INLINE if -finline-functions.
4581         (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
4582
4583 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
4584
4585         * cppmacro.c (funlike_invocation_p): Move some logic to caller
4586         in enter_macro_context.  Create a padding token in its own context
4587         if necessary when the search for '(' fails.
4588         (enter_macro_context): Update.
4589
4590 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4591
4592         * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
4593         genmultilib, toplev.c: Fix spelling errors of "separate" as
4594         "seperate", and corresponding spelling errors of related words.
4595
4596 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4597
4598         * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
4599         * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
4600         Likewise.
4601         * c-dump.c (dump_option_value_info): Likewise.
4602         * c-format.c (format_length_info, format_char_info,
4603         format_flag_spec, format_flag_pair, format_kind_info): Likewise.
4604         * collect2.c (names): Likewise.
4605         * cppdefault.h (default_include): Likewise.
4606         * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
4607         * flow.c (life_analysis): Likewise.
4608         * gcc.c (dir_separator_str, modify_target, option_map,
4609         target_option_translations, spec_list_1, extra_specs_1,
4610         init_spec): Likewise.
4611         * gcov.c (gcov_version_string): Likewise.
4612         * genattr.c (write_units): Likewise.
4613         * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
4614         * gengenrtl.c (rtx_definition, defs): Likewise.
4615         * genrecog.c (pred_table): Likewise.
4616         * global.c (global_alloc): Likewise.
4617         * lcm.c (optimize_mode_switching): Likewise.
4618         * local-alloc.c (find_free_reg): Likewise.
4619         * params.h (param_info): Likewise.
4620         * predict.c (predictor_info): Likewise.
4621         * protoize.c (unexpansion_struct): Likewise.
4622         * real.c (bmask): Likewise.
4623         * recog.h (insn_operand_data, insn_data): Likewise.
4624         * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
4625         * stmt.c (expand_nl_goto_receiver): Likewise.
4626         * toplev.c (da, debug_args, lang_opt, documented_lang_options,
4627         target_switches, target_options): Likewise.
4628         * tradcif.y (token, tokentab2, yylex): Likewise.
4629         * tree.h (attribute_spec): Likewise.
4630
4631         * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
4632         Likewise.
4633         * arc.c (arc_output_function_epilogue): Likewise.
4634         * arm.c (processors, all_cores, all_architectures,
4635         arm_override_options, isr_attribute_arg, isr_attribute_args,
4636         arm_isr_value): Likewise.
4637         * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
4638         Likewise.
4639         * c4x.c (c4x_int_reglist): Likewise.
4640         * d30v.c (override_options): Likewise.
4641         * h8300.c (shift_insn): Likewise.
4642         * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
4643         pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
4644         ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
4645         builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
4646         ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
4647         * i386.h (processor_costs, ix86_cost): Likewise.
4648         * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
4649         * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
4650         * m68k.c (codes_68881, codes_FPA): Likewise.
4651         * m88k.c (mode_from_align, max_from_align, all_from_align,
4652         best_from_align, m_options): Likewise.
4653         * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
4654         * mcore.c (mode_from_align): Likewise.
4655         * mips/elf64.h (UNIQUE_SECTION): Likewise.
4656         * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
4657         * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
4658         * mips.h (mips_regno_to_class): Likewise.
4659         * ns32k.c (scales): Likewise.
4660         * pa.c (import_string, magic_milli): Likewise.
4661         * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
4662         * sparc.c (leaf_reg_remap, sparc_override_options,
4663         reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
4664         Likewise.
4665         * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
4666
4667 2001-10-07  Dale Johannesen  <dalej@apple.com>
4668
4669         * reload1.c (reload_reg_free_p): Teach register interference
4670         checking that multiple output reloads are emitted in
4671         reverse order.
4672         reload1.c (reload_reg_reaches_end_p):  Ditto.
4673         reload1.c (reloads_conflict):  Ditto.
4674
4675 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4676
4677         * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
4678         NULL_TREE inside @code.
4679
4680 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4681
4682         * doc/gcc.texi: Document consistent style of "32-bit",
4683         "Objective-C", and "@code{NULL}".
4684
4685 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
4686
4687         * cpplex.c (enum spell_type): Add SPELL_NUMBER.
4688         (cpp_token_len, cpp_spell_token, cpp_output_token,
4689         _cpp_equiv_tokens): Handle it.
4690         * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
4691         CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
4692         * cppexp.c (_cpp_parse_expr): Use the correct operator code in
4693         error messages.
4694
4695 Sat Oct  6 07:42:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4696
4697         * gcc.c (default_compilers): Remove .ada.
4698
4699 2001-10-06  Neil Booth  <neil@daikokuya.demon.co.uk>
4700
4701         * doc/cppinternals.texi: Update.
4702
4703 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
4704
4705         * gcc.c (main): Set this_file_error if the appropriate
4706         compiler for a language has not been installed.
4707
4708 2001-10-06  Ulrich Weigand  <uweigand@de.ibm.com>
4709
4710         * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
4711
4712 2001-10-05  Joseph S. Myers  <jsm28@cam.ac.uk>
4713
4714         * gccbug.in (CATEGORIES): Add ada.
4715
4716 2001-10-05  Catherine Moore  <clm@redhat.com>
4717
4718         * config/stormy16/stormy-abi:  Document abi changes.
4719         * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
4720         (ICALL_REGS): New register class.
4721         (NUM_ARGUMENT_REGISTERS): Now 6.
4722         (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
4723         in registers.
4724         (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
4725         * config/stormy16.md (call_internal, call_value_internal,
4726         indirect_jump): Use new 'z' constraint.
4727
4728 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4729
4730         * doc/cppinternals.texi: Update.
4731
4732 2001-10-05  Richard Henderson  <rth@redhat.com>
4733
4734         * dwarf2out.c (FRAME_BEGIN_LABEL): New.
4735         (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
4736         the gas section-name-as-label feature.
4737
4738 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4739
4740         * doc/cppinternals.texi: Update.
4741
4742 Fri Oct  5 08:17:46 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4743
4744         * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
4745         to ensure valid SImode constants.
4746
4747 2001-10-05  Alexandre Oliva  <aoliva@redhat.com>
4748
4749         * Makefile.in (c-decl.o): Depend on tree-inline.h.
4750         (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
4751         * c-decl.c: Include tree-inline.h.
4752         (c_expand_body): Call optimize_inline_calls. Determine whether
4753         a function is inlinable upfront, and only clear
4754         DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
4755         * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
4756         (c_disregard_inline_limits): New function.
4757         (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
4758         (c_post_options): Enable tree inlining if inlining is enabled.
4759         Don't inline trees when instrumenting functions.
4760         (c_init): Initialize lang_disregard_inline_limits and
4761         lang_cannot_inline_tree_fn.
4762         * tree-inline.c (initialize_inlined_parameters): Handle calls
4763         with fewer arguments than declared parameters, and fewer
4764         parameters than passed arguments.  Don't assume value is a
4765         DECL.
4766         (declare_return_variable): Convert return value back to the
4767         original type, if it was promoted.
4768         (tree_inlinable_function_p): New function.
4769         (inlinable_function_p): Don't look at DECL_INLINE if we're
4770         inlining all functions.  Make it work with a NULL id.
4771         Re-check DECL_UNINLINABLE after language-specific checks.
4772         * tree-inline.h (tree_inlinable_function_p): Declare it.
4773         * integrate.c (save_for_inline): Don't bother to prepare argvec
4774         when not inlining.
4775         * cse.c (check_for_label_ref): Don't check deleted labels.
4776
4777         * Makefile.in (tree-inline.o): Depend on newly-included headers.
4778         * tree-inline.c: Include headers needed for the functions moved in.
4779         (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
4780         (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
4781         (copy_body, initialize_inlined_parameters): Likewise.
4782         (declare_return_variable, inlinable_function_p): Likewise.
4783         (expand_call_inline, expand_calls_inline): Likewise.
4784         (optimize_inline_calls, clone_body): Likewise.
4785         (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
4786         (copy_tree_r, remap_save_expr): Likewise.
4787
4788 2001-10-04  Alexandre Oliva  <aoliva@redhat.com>
4789
4790         * Makefile.in (OBJS): Added tree-inline.o.
4791         (c-common.o): Depend on tree-inline.h.
4792         (tree-inline.o): New target.
4793         * c-common.c: Include tree-inline.h.
4794         (c_mark_lang_decl): Don't mark saved_tree.
4795         (c_common_lang_init): Set lang_anon_aggr_type_p.
4796         * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
4797         (struct c_lang_decl): Moved saved_tree to tree_decl.
4798         * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
4799         * integrate.h (function_attribute_inlinable_p): Declare it.
4800         * integrate.c (function_attribute_inlinable_p): Export it.
4801         * tree-inline.c: New file.  Define variables declared in...
4802         * tree-inline.h: New file.  Declare functions to be moved to
4803         tree-inline.c.  Define macros and declare types and hooks for
4804         language-specific tree inlining.
4805         (flag_inline_trees): Moved definition from cp/decl2.c.
4806         * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
4807         (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
4808         (struct tree_decl): Moved saved_tree from c_lang_decl and
4809         inlined_fns from C++'s lang_decl.
4810
4811 2001-10-04  Loren J. Rittle  <ljrittle@acm.org>
4812
4813         * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
4814         propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
4815
4816 2001-10-04  Neil Booth  <neil@daikokuya.demon.co.uk>
4817
4818         * doc/cppinternals.texi: Update.
4819
4820 2001-10-04  Eric Christopher  <echristo@redhat.com>
4821
4822         * config/mips/mips.c (init_cumulative_args): Remember to set
4823         cum->prototype.
4824         * config.gcc: Redo linux configuration. Add target_cpu_default
4825         of soft-float to all mipsisa32 combinations and tx39.
4826         * config/mips/linux.h: Remove include of mips.h.
4827
4828 2001-10-03  Loren J. Rittle  <ljrittle@acm.org>
4829
4830         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
4831         HOST_LDFLAGS and HOST_CPPFLAGS.
4832
4833 2001-10-03  Ziemowit Laski  <zlaski@apple.com>
4834
4835         * c-parse.in (objc_inherit_code, objc_pq_context,
4836         objc_public_flag): Make static.
4837         (objc_interface_context, objc_implementation_context,
4838         objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
4839         global tree array in objc/objc-act.[ch].
4840         (methoddef): Remove unnecessary code.
4841
4842         * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
4843         Hoist struct definitions to objc-act.h.
4844         (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
4845         cat_count): Place declaration in objc-act.h.
4846         (objc_tree_index): Move enumeration to objc-act.h.
4847         (objc_global_trees): Place declaration and macro accessors in
4848         objc-act.h.
4849         (implementation_context): Remove duplicate; use
4850         objc_implementation_context instead:
4851         (method_context): Remove duplicate; use objc_method_context
4852         instead.
4853         (objc_ellipsis_node, objc_method_prototype_template,
4854         implemented_classes, function_type): Move global vars to
4855         objc_global_trees.
4856         (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
4857         (build_message_expr): Move actual construction of ObjC message
4858         send nodes to finish_message_expr.
4859         (finish_message_expr): New routine, contains code formerly in
4860         build_message_expr.
4861         * objc/objc-act.h (finish_message_expr): New prototype.
4862         (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
4863         declarations; these vars are now part of objc_global_trees.
4864         (objc_tree_index, objc_global_trees): Move definitions from
4865         objc-act.c.
4866         * objc/objc-tree.def: Update copyright info.
4867
4868 Wed Oct  3 12:22:11 EDT 2001  John Wehle  (john@feith.com)
4869
4870         * dwarf2asm.c (unaligned_integer_asm_op): Abort if
4871         op is NULL.
4872         * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
4873         only if TARGET_ARCH64.
4874
4875 2001-10-02  Bernd Schmidt  <bernds@redhat.com>
4876
4877         * doc/extend.texi: Fix some problems with previous checkin.
4878         * doc/invoke.texi: Likewise.
4879
4880 2001-10-02  Neil Booth  <neil@daikokuya.demon.co.uk>
4881
4882         * cpphash.h: Update comments.
4883         (cpp_context): Update.
4884         (spec_nodes): Remove n__Pragma.
4885         * cppinit.c (cpp_create_reader): Update.
4886         (builtin_array): Add _Pragma.
4887         * cpplib.h: Update comments.
4888         (NODE_DISABLED, BT_PRAGMA): New.
4889         (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
4890         * cppmacro.c (struct cpp_macro): Remove disabled.
4891         (builtin_macro): Return int, handle _Pragma, push the new token
4892         on the context stack.
4893         (funlike_invocation_p): Unconstify, update.
4894         (enter_macro_context): Handle builtins here.
4895         (replace_args, push_token_context, push_ptoken_context):
4896         Update for prototype changes.
4897         (_cpp_pop_context): Update.
4898         (cpp_get_token): Don't handle buitins, nor _Pragma here.
4899         (cpp_sys_macro_p): Update.
4900         (_cpp_free_definition): Clear disabled flag.
4901         (_cpp_create_definition): Upate.
4902         * cppmain.c: Update comments.
4903
4904 Tue Oct  2 12:46:01 CEST 2001  Bo Thorsen     <bo@suse.co.uk>,
4905                                 Andreas Jaeger <aj@suse.de>,
4906                                 Jan Hubicka    <jh@suse.cz>
4907
4908         * doc/invoke.texi (i386 Options): Document x86-64 options.
4909         (i386 and x86-64 Options): Rename i386 options section.
4910
4911         * config/i386/i386.h (TARGET_UNWIND_INFO): New.
4912         (TARGET_SWITCHES): Add -munwind-info.
4913         (MASK_NO_UNWIND_INFO): New.
4914         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
4915         biarch compilation.
4916         (ASM_OUTPUT_DOUBLE_INT): New.
4917
4918         * config/i386/linux64.h: New spec file for Linux x86-64 support.
4919         * config.gcc: Fix tm_file settings for x86-64.
4920         * config/i386/x86-64.h: New file with OS independent x86-64
4921         definitions.
4922         * config/i386/biarch64.h: New file used to configure compiler
4923         to biarch/64bit compilation.
4924
4925         * config/i386/i386.c: (override_options): Set flags default
4926         for 64bit compilation.
4927
4928 Tue Oct  2 12:46:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
4929
4930         * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
4931         (ix86_expand_int_movcc): Optimize DImode conditional moves with
4932         constants on x86_64.
4933         (ix86_attr_length_immediate_default): Support MODE_DI.
4934         * i386.md (fixdi splitter): Add missing "&& 1" in splitter
4935         condition.
4936         (indirect_jump, tablejump): Turn into expander.
4937
4938 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4939
4940         * c-common.c (c_format_attribute_table): Make format and
4941         format_arg attributes apply to function types rather than to
4942         decls.
4943         (is_valid_printf_arglist): Construct an attribute list and pass
4944         that to check_function_format rather than a name.
4945         * c-common.h (check_function_format): Adjust prototype.
4946         * c-decl.c (duplicate_decls): Preserve attributes from type of
4947         built-in decl when allowing for harmless conflict in types.
4948         * c-format.c (record_function_format,
4949         record_international_format, function_format_list,
4950         international_format_info, international_format_list): Remove.
4951         (function_format_info): Remove next, name and assembler_name.
4952         Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
4953         (decode_format_attr): New.
4954         (handle_format_attribute): Handle receiving a type rather than a
4955         decl.  Call decode_format_attr.  Store format information in a
4956         function_format_info.
4957         (handle_format_arg_attribute): Correct comment.  Handle receiving
4958         a type rather than a decl.  Use unsigned HOST_WIDE_INT for
4959         arg_num.
4960         (check_format_info_recurse, check_format_info_main): Take argument
4961         numbers as unsigned HOST_WIDE_INT.
4962         (check_function_format): Take a list of attributes from the
4963         function type rather than a name or assembler name.  Check for
4964         format attributes in that list and the attributes on the type of
4965         the current function rather than looking through
4966         function_format_list.
4967         (check_format_info): Use unsigned HOST_WIDE_INT for argument
4968         numbers.
4969         (check_format_info_recurse): Take format_arg attributes from the
4970         type of the function calls rather than using
4971         international_format_list.  Allow for multiple format_arg
4972         attributes.
4973         * c-typeck.c (build_function_call): Pass type attributes to
4974         check_function_format rather than name or assembler name.  Don't
4975         require there to be a name or assembler name to check formats.
4976
4977 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4978
4979         * attribs.c (decl_attributes): Possibly call
4980         insert_default_attributes to insert default attributes on
4981         functions in a lazy manner.
4982         * builtin-attrs.def: New file; define the default format and
4983         format_arg attributes.
4984         * c-common.c (c_format_attribute_table): Move to earlier in the
4985         file.
4986         (c_common_nodes_and_builtins): Initialize format_attribute_table.
4987         (enum built_in_attribute, built_in_attributes,
4988         c_attrs_initialized, c_init_attributes,
4989         c_common_insert_default_attributes): New.
4990         (c_common_lang_init): Don't initialize format_attribute_table.  Do
4991         call c_init_attributes.
4992         * Makefile.in (c-common.o): Depend on builtin-attrs.def.
4993         * c-common.h (init_function_format_info): Don't declare.
4994         (c_common_insert_default_attributes): Declare.
4995         * c-decl.c (implicitly_declare, builtin_function): Call
4996         decl_attributes.
4997         (init_decl_processing): Don't call init_function_format_info.
4998         (insert_default_attributes): New.
4999         * c-format.c (handle_format_attribute,
5000         handle_format_arg_attribute): Be quiet about inappropriate
5001         declaration when applying default attributes.
5002         (init_function_format_info): Remove.
5003         * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
5004         (insert_default_attributes): Declare.
5005
5006 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
5007
5008         * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
5009
5010 2001-10-01  Jim Wilson  <wilson@redhat.com>
5011
5012         * sched-deps.c (add_dependence): When elide conditional dependence,
5013         check that insn doesn't modify cond2.
5014
5015 2001-10-01  Dale Johannesen  <dalej@apple.com>
5016
5017         * config/rs6000/rs6000.h (enum processor_type): Add support
5018         for 7400 (G4) and 7450.
5019         (RTX_COSTS): Ditto.
5020         * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
5021         (rs6000_issue_rate): Ditto.
5022         (rs6000_adjust_cost): Fix cycle counts for compares.
5023         (debug_stack_info):  Fix an obvious typo.
5024         * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
5025         * doc/invoke.texi: Document.
5026         * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
5027         for Darwin.
5028         (PROCESSOR_DEFAULT): Ditto.
5029
5030 2001-10-01  Loren J. Rittle  <ljrittle@acm.org>
5031
5032         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
5033         (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
5034         later recursive make invocation.
5035
5036 2001-10-01  Hans Boehm  <boehm@acm.org>
5037
5038         * optabs.c (emit_libcall_block): When using non-call exceptions,
5039         don't add REG_LIBCALL reg notes to trapping calls.
5040
5041 2001-10-01  David Billinghurst <David.Billinghurst@riotinto.com>
5042
5043         * flow.c (propagate_block_delete_libcall): Remove unused first arg
5044         (propagate_one_insn):  Update for above change
5045
5046 2001-10-01  David Billinghurst <David.Billinghurst@riotinto.com>
5047
5048         * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
5049         _Unwind_GetTextRelBase): Argument is unused.
5050
5051 Mon Oct  1 19:20:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5052
5053         * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
5054         Loop through NOPs, placeholders, and components.
5055         Don't go through NOPs if change mode.
5056         (record_alias_subset): Do nothing if SUBSET and SET are the same.
5057         * emit-rtl.c (set_mem_alias_set): Enable check.
5058         * expr.c (find_placeholder): New function.
5059         (expand_expr, case PLACEHOLDER_EXPR): Use it.
5060         (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
5061         to modify it and avoid unneeded copies.
5062         * expr.h (expand_expr): Always define.
5063         (find_placeholder): New declaration.
5064
5065 2001-10-01  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5066
5067         * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
5068         operand 2 is the stack pointer.
5069         ("addr-peephole"): Fix address computation peephole when operand 2
5070         is the stack pointer.
5071
5072 Mon Oct  1 09:26:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5073
5074         * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
5075         (ix86_setup_incoming_varargs): Likewise.
5076
5077 2001-10-01  Jason Merrill  <jason_merrill@redhat.com>
5078
5079         * stor-layout.c (layout_type): Don't complain about too-large
5080         array here.
5081
5082 Mon Oct  1 06:43:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5083
5084         * function.c (keep_stack_depressed): Don't use delete_insn.
5085
5086         * expr.h (set_mem_alias_set): Move decl to here.
5087         * rtl.h (mem_attrs): New typedef and struct.
5088         (union rtunion_def): Add field for mem_attrs.
5089         (X0MEMATTR, MEM_ATTRS): New macros.
5090         (MEM_ALIAS_SET): Use MEM_ATTRS.
5091         (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
5092         (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
5093         (set_mem_alias_set): Delete decl from here.
5094
5095         * alias.c (set_mem_alias_set): Delete from here.
5096         * emit-rtl.c (mem_attrs_htab): New variable.
5097         (rtx_htab_mark, rtx_htab_mark_1): Deleted.
5098         (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
5099         (mem_attrs_mark, get_mem_attrs): Likewise.
5100         (gen_rtx_MEM): Clear MEM_ATTRS.
5101         (set_mem_attributes): Move to here.
5102         (set_mem_alias_set): Likewise, and call get_mem_attrs.
5103         (init_emit_once): const_int_htab now deletable htab.
5104         Initialize mem_attrs_htab.
5105         * explow.c (set_mem_attributes): Delete from here.
5106         * function.c (put_var_into_stack): Clear MEM_ATTRS.
5107         (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
5108         * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
5109         * reload1.c (reload): Rework changing REG to MEM.
5110
5111 2001-09-30  H.J. Lu <hjl@gnu.org>
5112
5113         * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
5114         * config.in: Rebuild.
5115
5116 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5117
5118         * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
5119         ("tsthi_1"): Avoid allocation in register y.
5120         ("*movqi_68hc12"): Reorganize and fix constraints.
5121         ("zero_extendqisi2"): Prefer d over x and y for operand 1.
5122         ("addqi3"): Likewise.
5123         ("addhi3"): Fix constraints.
5124         ("*logicalhi3_zexthi"): Disparage soft registers.
5125
5126 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5127
5128         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
5129         to tmp reg.
5130
5131 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
5132
5133         * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
5134         that we use setjmp/longjmp exceptions.
5135
5136 2001-09-30  Neil Booth  <neil@daikokuya.demon.co.uk>
5137
5138         * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
5139         POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
5140         struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
5141         _cpp_pool_alloc, _cpp_next_chunk): Remove.
5142         (_cpp_extend_buff, BUFF_ROOM): Update.
5143         (_cpp_append_extend_buff): New.
5144         (struct cpp_reader): Remove macro_pool, add a_buff.
5145         * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
5146         macro_pool.
5147         (cpp_destroy): Free a_buff instead of macro_pool.
5148         * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
5149         new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
5150         _cpp_pool_alloc, ): Remove.
5151         (parse_number, parse_string): Update use of _cpp_extend_buff.
5152         (_cpp_extend_buff): Update.
5153         (_cpp_append_extend_buff, cpp_aligned_alloc): New.
5154         * cpplib.c (glue_header_name, parse_answer):
5155         Update use of _cpp_extend_buff.
5156         (cpp_register_pragma, cpp_register_pragma_space): Use
5157         _cpp_aligned_alloc.
5158         (do_assert, do_unassert): Check for EOL, update.
5159         * cppmacro.c (stringify_arg, collect_args): Update to use
5160         _cpp_extend_buff and _cpp_append_extend_buff.
5161         (save_parameter, parse_params, alloc_expansion_token,
5162         _cpp_create_definition): Rework memory management.
5163
5164 2001-09-29  Andris Pavenis  <pavenis@lanet.lv>
5165
5166         * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
5167         update md_exec_prefix.
5168         (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
5169         to string constant.
5170
5171 2001-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
5172
5173         * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
5174         (SELECT_CC_MODE): Use s390_select_ccmode.
5175         * config/s390/s390-protos.h (s390_select_ccmode): Add.
5176         * config/s390/s390.c (s390_select_ccmode): New.
5177         (s390_match_ccmode): Add CCLmode.
5178         (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
5179         (output_branch_condition, output_inverse_branch_condition): Removed.
5180         (print_operand): Use s390_branch_condition_mnemonic.
5181         * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
5182         subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
5183         (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
5184
5185         * config/s390/s390.c (check_and_change_labels): Preserve CC mode
5186         when converting conditional branches to far branches.
5187         * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
5188         cmpint_di): Use CCSmode instead of CCUmode.
5189
5190         * config/s390/s390.c (legitimate_la_operand_p): New.
5191         * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
5192         * config/s390/s390.md (movsi): Convert load address patterns to
5193         arithmetic operations when necessary.
5194         (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
5195         (do_la): Renamed to *do_la and use legitimate_la_operand_p.
5196         (*do_la_reg_0): Don't use before reload.
5197
5198         * config/s390/s390.c (legitimize_address): Make more efficient
5199         use of two-register addressing mode.
5200
5201         * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
5202         with -mno-backchain in some corner cases.
5203
5204         * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
5205
5206 2001-09-29  Alexandre Oliva  <aoliva@redhat.com>
5207
5208         * reload.c (find_reloads): Mark new USE insns with QImode.
5209         (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
5210         find_reloads_subreg_address): Likewise.
5211         * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
5212         encountered.
5213         * reload1.c (reload_combine_note_use): Likewise, inside USEs and
5214         CLOBBERs.
5215         (reload): Make sure there are no USEs with mode other than
5216         VOIDmode.  At the end, remove those marked with QImode.
5217
5218 2001-09-29  Per Bothner  <per@bothner.com>
5219
5220         * cppdefault.c (cpp_include_defaults):  Also search PREFIX_INCLUDE_DIR.
5221         * Makefile.in (includedir):  Rename to local_includedir.
5222         (includedir):  Define as $(prefix)/include.
5223         * config.in (PREFIX_INCLUDE_DIR):  New variable.
5224         * configure.in (PREFIX_INCLUDE_DIR):  Test for new variable.
5225
5226 2001-09-29  Bernd Schmidt  <bernds@redhat.com>
5227
5228         * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
5229         storehps builtins.
5230         * doc/extend.texi (Vector Extensions): New node.
5231         * doc/invoke.texi (Machine Dependent Options): Add documentation for
5232         i386 -mmmx, -msse, -m3dnow.
5233
5234 Sat Sep 29 15:08:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
5235
5236         * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
5237
5238 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
5239
5240         * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
5241
5242         * doc/invoke.texi (Optimize Options): Delete spurious @table.
5243
5244 2001-09-28  Richard Henderson  <rth@redhat.com>
5245
5246         * varasm.c (assemble_integer): Bound alignment check by
5247         BIGGEST_ALIGNMENT.
5248
5249         * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
5250
5251 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5252
5253         * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
5254
5255 2001-09-25  Bernd Schmidt  <bernds@redhat.com>
5256
5257         Mostly from Graham Stott  <grahams@redhat.com>
5258         * c-common.c (type_for_mode): Add support for V2SFmode.
5259         * tree.c (build_common_tree_nodes_2): Likewise.
5260         * tree.h (enum tree_index, global_trees): Likewise.
5261         * config/i386/i386.c (x86_3dnow_a): New variable.
5262         (override_options): Support 3Dnow extensions.
5263         (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
5264         Athlon's version of 3Dnow.
5265         (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
5266         (ix86_expand_builtin): Handle them.
5267         (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
5268         * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
5269         TARGET_3DNOW_A): New macros.
5270         (TARGET_SWITCHES): Add 3Dnow switches.
5271         (VALID_MMX_REG_MODE_3DNOW): New macro.
5272         (VECTOR_MODE_SUPPORTED_P): Use it.
5273         (enum ix86_builtins): Add entries for 3Dnow builtins.
5274         * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
5275         pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
5276         pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
5277         pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
5278         pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
5279         pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
5280         (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
5281         mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
5282         mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
5283         sfence_insn, prefetch): Make these available if TARGET_SSE or
5284         TARGET_3DNOW_A.
5285
5286 Fri Sep 28 19:18:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
5287
5288         * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
5289         ix86_va_start, ix86_build_va_list): Declare.
5290         * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
5291         ix86_va_start, ix86_build_va_list): New global functions.
5292         * i386.md (sse_prologue_save_insn): New insn.
5293         (sse_prologue_save): New expander.
5294         * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
5295         BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
5296
5297 2001-09-28  Neil Booth  <neil@daikokuya.demon.co.uk>
5298
5299         * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
5300         Use size_t everywhere, make definitions consistent with
5301         prototypes.
5302
5303 Fri Sep 28 14:59:34 CEST 2001  Jan Hubicka  <jh@suse.cz>
5304
5305         * gcse.c (replace_store_insn): Use delete_insn.
5306         * loop.c (move_movables): Likewise; avoid delete_insn
5307         from clobbering notes moved elsewhere.
5308         (check_dbra_loop): Use delete_insn.
5309         * ssa.c (convert_from_ssa): Likewise.
5310         * cse.c (cse_insn): Use delete_insn.
5311
5312 2001-09-28  Neil Booth  <neil@daikokuya.demon.co.uk>
5313
5314         * cpphash.h (struct cpp_buff): Make unsigned.
5315         (_cpp_get_buff): Take length of size_t.
5316         (_cpp_unaligned_alloc): New.
5317         (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
5318         (struct cpp_reader): Remove ident_pool.  Add u_buff.
5319         * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
5320         (cpp_destroy): Destroy u_buff, not ident_pool.
5321         * cpplex.c (parse_number, parse_string, save_comment,
5322         cpp_token_as_text): Update to use the unaligned buffer.
5323         (new_buff): Make unsigned.
5324         (_cpp_unaligned_alloc): New.
5325         * cpplib.c (glue_header_name): Update to use the unaligned buffer.
5326         * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
5327         Similarly.
5328         (collect_args): Make unsigned.
5329
5330 2001-09-27  Zack Weinberg  <zack@codesourcery.com>
5331
5332         * cpplex.c (cpp_output_token): Use a putc loop for
5333         SPELL_OPERATOR, and fwrite for SPELL_IDENT.
5334
5335         * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
5336         * configure, config.in: Regenerate.
5337         * system.h: Replace fwrite and fprintf with their unlocked
5338         variants if available.
5339
5340 2001-09-27  Richard Henderson  <rth@redhat.com>
5341
5342         * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
5343         in favour of .eh_frame.
5344
5345 2001-09-27  Aldy Hernandez  <aldyh@redhat.com>
5346
5347         * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
5348         to macros.
5349         (LIBCALL_VALUE): Likewise.
5350
5351 2001-09-27  Neil Booth  <neil@daikokuya.demon.co.uk>
5352
5353         * cpphash.h: Update comment.
5354         * cpplex.c: Update comments.
5355         (_cpp_can_paste): Remove.
5356         * cpplib.h (_cpp_can_paste): Remove.
5357         * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
5358         lexer rather than _cpp_can_paste.
5359
5360 2001-09-27  Neil Booth  <neil@daikokuya.demon.co.uk>
5361
5362         * doc/cppinternals.texi: Update.
5363
5364 2001-09-26  Neil Booth  <neil@daikokuya.demon.co.uk>
5365
5366         * cpphash.h (struct cpp_pool): Remove locks and locked.
5367         (struct cpp_context): Add member buff.
5368         (struct cpp_reader): Remove member argument_pool.
5369         (_cpp_lock_pool, _cpp_unlock_pool): Remove.
5370         * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
5371         * cpplex.c (chunk_suitable): Remove pool argument.
5372         (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
5373         (new_buff, _cpp_extend_buff): Update.
5374         (_cpp_get_buff): Fix silly pointer bug.  Be more selective about
5375         which buffer is returned.
5376         (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
5377         (_cpp_lock_pool, _cpp_unlock_pool): Remove.
5378         * cppmacro.c (lock_pools, unlock_pools): Remove.
5379         (push_ptoken_context): Take a _cpp_buff.
5380         (enter_macro_context): Pool locking removed.
5381         (replace_args): Use a _cpp_buff for the replacement list with
5382         arguments replaced.
5383         (push_token_context): Clear buff.
5384         (expand_arg): Use _cpp_pop_context.
5385         (_cpp_pop_context): Free a context's buffer, if any.
5386
5387 2001-09-26  DJ Delorie  <dj@redhat.com>
5388
5389         * c-typeck.c (digest_init): Check for sizeless arrays.
5390
5391 2001-09-26  Richard Henderson  <rth@redhat.com>
5392
5393         * optabs.c (init_one_libfunc): Create a dummy function type
5394         instead of using error_mark_node.
5395
5396 2001-09-26  Neil Booth  <neil@daikokuya.demon.co.uk>
5397
5398         * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
5399         _cpp_extend_buff, _cpp_free_buff): New.
5400         (struct cpp_reader): New member free_buffs.
5401         * cppinit.c (cpp_destroy): Free buffers.
5402         * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
5403         _cpp_extend_buff, _cpp_free_buff): New.
5404         * cpplib.h (struct cpp_options): Remove unused member.
5405         * cppmacro.c (collect_args): New.  Combines the old parse_arg
5406         and parse_args.  Use _cpp_buff for memory allocation.
5407         (funlike_invocation_p, replace_args): Update.
5408
5409 Wed Sep 26 13:20:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
5410
5411         * final.c (final_scan_insn): Use delete_insn instead of delete_note.
5412
5413 2001-09-25  Andrew Haley  <aph@cambridge.redhat.com>
5414
5415         * except.c (sjlj_mark_call_sites): Change address inside sequence.
5416
5417 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
5418
5419         * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
5420         glibc.
5421
5422 2001-09-25  Janis Johnson  <janis187@us.ibm.com>
5423             Jim Wilson  <wilson@redhat.com>
5424
5425         * doc/install.texi (Specific, ia64-*-linux): Document.
5426
5427 Tue Sep 25 17:13:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
5428
5429         * Makefile.in (cfgrtl.o): Add.
5430         * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
5431         free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
5432         free_aux_for_edge): Declare.
5433         * cfg.c
5434         (HAVE_return): Undefine.
5435         * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
5436         free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
5437         free_aux_for_edge): New global functions.
5438         (first_delete_block): New static variable.
5439         (init_flow): Clear first_delete_block.
5440         (basic_block_for_insn, label_value_list, tail_recursion_label_list,
5441          can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
5442          try_redirect_by_replacing_jump, last_loop_beg_note,
5443          back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
5444          delete_insn, delete_insn_chain, create_basic_block_structure,
5445          create_basic_block, flow_delete_block, compute_bb_for_insn,
5446          free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
5447          set_block_for_new_insns, split_block, merge_blocks_nomove,
5448          block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
5449          redirect_edge_and_branch, force_nonfallthru_and_redirect,
5450          force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
5451          tidy_fallthru_edges, split_edge, insert_insn_on_edge,
5452          commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
5453          debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
5454          purge_all_dead_edges): Move to ....
5455         * cfgrtl.c: New file; .... Here.
5456
5457         * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
5458         (reroder_basic_block): Use alloc_aux_for_blocks.
5459         * predict.c (estimate_bb_frequencies): Likewise; use
5460         alloc_aux_for_edges.
5461         * profile.c (compute_branch_probabilities): Likewise.
5462         (branch_prob): Likewise.
5463         * reg-stack.c (reg_to_stack): Likewise.
5464
5465         * emit-rtl.c (emit_insns_after): Never return NULL.
5466
5467         * basic-block.h (set_block_for_new_insns): Delete.
5468         * cfgrtl.c (set_block_for_new_insns): Delete.
5469
5470         * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
5471         calls when crossjumping.
5472
5473         * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
5474         * unroll.c (copy_loop_body): Use delete_insn.
5475
5476         * final.c (final, final_scan_insn): Use delete_insn/delete_note.
5477         * function.c (fixup_var_refs_insn, fixup_var_refs_1,
5478         keep_stack_depressed): Likewise.
5479         * gcse.c (cprop_cc0_jump): Likewise.
5480         * local-alloc.c (update_equiv_regs): Likewise.
5481         * loop.c (scan_loop, loop_delete_insns): Likewise.
5482         * regmove.c (try_auto_increment, fixup_match_1): Likewise.
5483         * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
5484         delete_output_reload, delete_address_reloads_1,
5485         reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
5486         Likewise.
5487         * sibcall.c (replace_call_placeholder): Likewise.
5488         * cse.c (cse_insn): Likewise.
5489
5490 2001-09-25  Bernd Schmidt  <bernds@redhat.com>
5491
5492         From Graham Stott  <grahams@redhat.com>
5493         (def_builtin): Only define builtins appropriate for target_flags.  All
5494         callers changed.
5495         (builtin_decsription): Add new field mask which is used to determine
5496         when to define the builtin via the macro def_builtin.
5497
5498         (bdesc_comi): Initialise new mask fields.
5499         (bdesc_2srg): Likewise.
5500         (bdesc_1arg): Likewise.
5501
5502         * config/i386/i386.c (ix86_init_builtins): Correct return type
5503         building v4hi_ftype_v4hi_int_int tree node.
5504         (ix86_expand_sse_comi): Fix typo swapping operands.
5505         Don't swap comparision condition, it is already swapped.
5506         (ix86_expand_sse_compare): Before swapping operands
5507         move operand 1 into new rtx and not the target rtx.
5508         Don't swap comparison condition, it is already swapped.
5509         Always check whether we need to create a new TARGET.
5510
5511         * config/i386/i386.md: (sse_comi) Fix typos.
5512         (sse_ucomi): Likewise.
5513         (cvtss2si): Fix operand 0 contraint.
5514         (cvttss2si): Likewise.
5515         (sse_unpckhps): Fix mode for operand 2.
5516         (sse_unpcklps): Likewise.
5517
5518 2001-09-25  Graham Stott  <grahams@redhat.com>
5519
5520         * sibcall.c (skip_copy_to_return_value): Tighten return value
5521         copy check.
5522
5523 2001-09-24  David Edelsohn  <edelsohn@gnu.org>
5524
5525         * rs6000.c (lwa_operand): Address must be word aligned.
5526
5527 Mon Sep 24 18:57:59 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5528
5529         * tree.c (type_hash_marked_p): Consider as marked if debug symbol
5530         number has been set.
5531         (type_hash_mark): Mark type itself.
5532
5533 2001-09-24  Neil Booth  <neil@daikokuya.demon.co.uk>
5534
5535         * c-lex.c (cb_def_pragma): Update.
5536         (c_lex): Update, and skip padding.
5537         * cppexp.c (lex, parse_defined): Update, remove unused variable.
5538         * cpphash.h (struct toklist): Delete.
5539         (union utoken): New.
5540         (struct cpp_context): Update.
5541         (struct cpp_reader): New members eof, avoid_paste.
5542         (_cpp_temp_token): New.
5543         * cppinit.c (cpp_create_reader): Update.
5544         * cpplex.c (_cpp_temp_token): New.
5545         (_cpp_lex_direct): Add PREV_WHITE when parsing args.
5546         (cpp_output_token): Don't print leading whitespace.
5547         (cpp_output_line): Update.
5548         * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
5549         do_include_common, do_line, do_ident, do_pragma,
5550         do_pragma_dependency, _cpp_do__Pragma, parse_answer,
5551         parse_assertion): Update.
5552         (get_token_no_padding): New.
5553         * cpplib.h (CPP_PADDING): New.
5554         (AVOID_LPASTE): Delete.
5555         (struct cpp_token): New union member source.
5556         (cpp_get_token): Update.
5557         * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
5558         (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
5559         replace_args, quote_string, stringify_arg, parse_arg, next_context,
5560         enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
5561         _cpp_backup_tokens, _cpp_create_definition): Update.
5562         (push_arg_context): Delete.
5563         (padding_token, push_token_context, push_ptoken_context): New.
5564         (make_string_token, make_number_token): Update, rename.
5565         (cpp_get_token): Update to handle tokens as pointers to const,
5566         and insert padding appropriately.
5567         * cppmain.c (struct printer): New member prev.
5568         (check_multiline_token): Constify.
5569         (do_preprocessing, cb_line_change): Update.
5570         (scan_translation_unit): Update to handle spacing.
5571         * scan-decls.c (get_a_token): New.
5572         (skip_to_closing_brace, scan_decls): Update.
5573         * fix-header.c (read_scan_file): Update.
5574
5575         * doc/cpp.texi: Update.
5576
5577 2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5578
5579         * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC.  Avoid
5580         leak by passing malloc'ed pointer to reconcat, not concat.
5581
5582 2001-09-24  DJ Delorie  <dj@redhat.com>
5583
5584         * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
5585
5586 2001-09-24  Ulrich Weigand  <uweigand@de.ibm.com>:
5587
5588         * flow.c (delete_dead_jumptables): Delete jumptable if the only
5589         reference is from the literal pool.
5590
5591 2001-09-24  Janis Johnson  <janis187@us.ibm.com>
5592
5593         * doc/install.texi (Final install): Request additional information
5594         in mail about successful builds.
5595
5596 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5597
5598         * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero.  Use
5599         initial value of return pointer register instead of value in frame-20.
5600         Revise comments.
5601
5602 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5603
5604         * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
5605         (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
5606         the libcall if there isn't a referenced identifier for the symbol.
5607
5608 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5609
5610         * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
5611         non 64-bit machines.  Use these as a plabel for the trampoline.
5612         (TRAMPOLINE_SIZE): Adjust size for new words.
5613         (INITIALIZE_TRAMPOLINE): Initialize new words.
5614         (TRAMPOLINE_ADJUST_ADDRESS): New.  Adjust address to make it a
5615         pointer to the plabel in the trampoline.
5616
5617 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5618
5619         * pa.c (function_arg): Pass floating arguments in both general and
5620         floating registers in indirect (dynamic) calls when generating code
5621         for the 32 bit ABI and the HP assembler.
5622
5623 2001-09-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5624
5625         * doc/install.texi: Markup fixes.
5626         Use Solaris 2, SunOS 4 as appropriate.
5627         (Specific, *-*-solaris2*): Explain this.
5628         Unconditionally warn against /usr/ucb tools.
5629         Remove Sun as warning, obsolete.
5630         Move X11 header bug workaround here, update patches.
5631         (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
5632         (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
5633
5634 2001-09-23  Zack Weinberg  <zack@codesourcery.com>
5635
5636         * errors.h (warning, error, fatal, internal_error): Don't mark
5637         with ATTRIBUTE_PRINTF_n.
5638         * toplev.h (internal_error, fatal_io_error, warning, error,
5639         pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
5640         error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
5641         Likewise.
5642
5643 Sun Sep 23 18:19:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5644
5645         * function.c (pop_function_context_from): var_refs_queue
5646         and temp slots now in GC memory.
5647         (mark_function_status, free_after_compilation): Likewise;
5648         also struct function now in GC memory.
5649         (assign_stack_temp_for_type): struct temp_slot now in GC memory.
5650         (combine_temp_slots): Likewise.
5651         (schedule_fixup_var_refs): var_refs_queue now in GC memory.
5652         (prepare_function_start): Use GC memory for struct function.
5653         (mark_temp_slot): Deleted.
5654         (gcc_mark_struct_function): struct function now in GC memory.
5655
5656         * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
5657         code for division, not modulus.
5658
5659         * rtl.def (MEM): Remove obsolete part of comment.
5660
5661 2001-09-22  Joseph S. Myers  <jsm28@cam.ac.uk>
5662
5663         * c-format.c (init_function_format_info): Check __builtin_printf
5664         and __builtin_fprintf even if -ffreestanding.  Check C99 functions
5665         in gnu89 mode.
5666
5667 Sat Sep 22 09:09:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5668
5669         * c-common.c (format_attribute_table): Remove decl.
5670         * tree.h (format_attribute_table, lang_attribute_table): New decls.
5671         (lang_attribute_common): Likewise.
5672
5673         * function.c (fix_lexical_address): Use set_mem_alias_set.
5674         (expand_function_start): Likewise.
5675         * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
5676
5677         * varasm.c (output_constant): Fix unused variable warning.
5678
5679         * attribs.c: New file, from c-common.c.
5680         (attribute_tables): Now four elements.
5681         (format_attribute_table, lang_attribute_common): New variables.
5682         (init_attributes): Reflect above changes.
5683         (handle_mode_attribute): Delete check for wider than uintmax.
5684         * c-common.c: Delete parts moved to attribs.c.
5685         (enum attrs): Deleted; unused.
5686         (c_format_attribute_table): New variable.
5687         (c_common_lang_init): Initialize format_attribute_table with it.
5688         * c-common.h (decl_attributes): Remove decl.
5689         * tree.h (decl_attribute): Move it to here.
5690         * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
5691         (attribs.o): New rule.
5692
5693 2001-09-22  Andreas Jaeger  <aj@suse.de>
5694
5695         * builtins.c (c_getstr): Remove unused variable.
5696
5697 2001-09-21  Richard Henderson  <rth@redhat.com>
5698
5699         * reload1.c (reload): Use delete_insn instead of splatting
5700         NOTE_INSN_DELETED.
5701
5702 2001-09-21  Richard Henderson  <rth@redhat.com>
5703
5704         * reload.c (push_secondary_reload): Don't check for "=" in output
5705         constraint after ""->ALL_REGS check.
5706
5707 2001-09-21  Richard Henderson  <rth@redhat.com>
5708
5709         * predict.c (expected_value_to_br_prob): Use pc_set.
5710
5711         * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
5712         ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
5713
5714 2001-09-21  Richard Henderson  <rth@redhat.com>
5715
5716         * rtl.h (LCT_RETURNS_TWICE): New.
5717         * calls.c (emit_call_1): Set current_function_calls_setjmp for
5718         ECF_RETURNS_TWICE.
5719         (emit_library_call_value_1): Map LCT_RETURNS_TWICE
5720         to ECF_RETURNS_TWICE.
5721         * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
5722         call to setjmp.
5723
5724         * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
5725
5726         * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
5727         (JMP_BUF_SIZE): New.
5728
5729 2001-09-21  Richard Henderson  <rth@redhat.com>
5730
5731         * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
5732         to R8_REGS.
5733
5734 2001-09-21  Richard Henderson  <rth@redhat.com>
5735
5736         * tree.def (FDESC_EXPR): New.
5737         * expr.c (expand_expr): Handle it.
5738         * varasm.c (initializer_constant_valid_p): Likewise.
5739         (output_constant): Likewise.
5740         * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
5741         * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
5742         (ASM_OUTPUT_FDESC): New.
5743         * doc/tm.texi: Document the new macros.
5744
5745 21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
5746
5747         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
5748         ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
5749         once merging is complete.
5750
5751 Fri Sep 21 11:20:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5752
5753         * integrate.c (allocate_initial_values): Eliminate unused arg warning.
5754
5755 21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
5756
5757         * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
5758         that would be invalid after a merge.
5759
5760 Fri Sep 21 14:24:29 CEST 2001  Jan Hubicka  <jh@suse.cz>
5761
5762         * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
5763         * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
5764         remove some labels.
5765         (flow_delete_insn): This one.
5766         (delete_insn_chain): Rename from ...; do not care labels.
5767         (flow_delete_insn_chain): ... this one.
5768         (flow_delete_block): Remove the insns one BB has been expunged.
5769         (merge_blocks_nomove): Likewise.
5770         (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
5771         updating BB boundaries.
5772         (tidy_fallthru_edge): Likewise.
5773         (commit_one_edge_insertion): Likewise.
5774         * cfgbuild.c (find_basic_block): Likewise.
5775         (find_basic_blocks_1): Likewise.
5776         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
5777         (try_crossjump_to_edge): Likewise.
5778         (try_optimize_cfg): Likewise.
5779         * cse.c (delete_trivially_dead_insns): Likewise.
5780         * df.c (df_insn_delete): Likewise.
5781         * doloop.c (doloop_modify): Use delete_related_insns.
5782         * emit-rtl.c (try_split): Likewise.
5783         (remove_insn): Update BB boundaries.
5784         * expect.c (connect_post_landing_pads): Use delete_related_insns.
5785         * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
5786         updating BB boundaries.
5787         (propagate_block_delete_insn): Likewise.
5788         (propagate_block_delete_libcall): Likewise.
5789         * function.c (delete_handlers): Use delete_related_insns.
5790         (thread_prologue_and_epilogue_insns): Likewise.
5791         * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
5792         * genpeep.c (gen_peephole): Use delete_related_insns.
5793         * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
5794         BB boundaries.
5795         (find_cond_trap): Likewise.
5796         * integrate.c (save_for_inline): Use delete_related_insns.
5797         (copy_insn_list): Likewise.
5798         * jump.c (pruge_linie_number_notes): Likewise.
5799         (duplicate_loop_exit_test): Likewise.
5800         (delete_computation): Likewise.
5801         (delete_related_insn): Rename from ...; use delete_insn
5802         (delete_insn): ... this one.
5803         (redirect_jump): Use delete_related_insns.
5804         * loop.c (scan_loop): Likewise.
5805         (move_movables): Likewise.
5806         (find_and_verify_loops): Likewise.
5807         (check_dbra_loop): Likewise.
5808         * recog.c (peephole2_optimize): Likewise.
5809         * reg-stack.c (delete_insn_for_stacker): Remove.
5810         (move_for_stack_reg): Use delete_insn.
5811         * regmove.c (combine_stack_adjustments_for_block): Likewise.
5812         * reload1.c (delete_address_reloads): Use delete_related_insns.
5813         (fixup_abnormal_edges): Use delete_insn.
5814         * recog.c (emit_delay_sequence): Use delete_related_insns.
5815         (delete_from-delay_slot): Likewise.
5816         (delete_scheduled_jump): likewise.
5817         (optimize_skip): Likewise.
5818         (try_merge_delay_insns): Likewise.
5819         (full_simple_delay_slots): Likewise.
5820         (fill_slots_from_thread): Likewise.
5821         (relax_delay_slots): Likewise.
5822         (make_return_insns): Likewise.
5823         (dbr_schedule): Likewise.
5824         * rtl.h (delete_insn): Rename to delete_related_insns.
5825         (delete_insn, delete_insn_chain): New prototypes.
5826         * ssa-ccp (sse_fast_dce):  Remove deleting of DEF, as it is done
5827         by df_insn_delete already.
5828         * ssa-dce.c (delete_insn_bb): Use delete_insn.
5829         * ssa.c (convert_from_ssa): Use delete_related_insns.
5830         * unroll.c (unroll_loop): Likewise.
5831         (calculate_giv_inc): Likewise.
5832         (copy_loop_body): Likewise.
5833
5834         * i386-protos.h (ix86_libcall_value, ix86_function_value,
5835         ix86_function_arg_regno_p, ix86_function_arg_boundary,
5836         ix86_return_in_memory, ix86_function_value): Declare.
5837         * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
5838         new static valurables.
5839         (x86_64_reg_class): New enum
5840         (x86_64_reg_class_name): New array.
5841         (classify_argument, examine_argument, construct_container,
5842          merge_classes): New static functions.
5843         (optimization_options): Enable flag_omit_frame_pointer and disable
5844         flag_pcc_struct_return on 64bit.
5845         (ix86_libcall_value, ix86_function_value,
5846         ix86_function_arg_regno_p, ix86_function_arg_boundary,
5847         ix86_return_in_memory, ix86_function_value): New global functions.
5848         (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
5849         (function_arg_advance): Handle x86_64 passing conventions.
5850         (function_arg): Likewise.
5851         * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
5852         (RETURN_IN_MEMORY): Move offline.
5853         (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
5854         (FUNCTION_VALUE_REGNO_P): New macro.
5855         (FUNCTION_ARG_REGNO_P): Move offline.
5856         (struct ix86_args): Add maybe_vaarg.
5857         * next.h (FUNCTION_VALUE_REGNO_P): Delete.
5858         * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
5859
5860 2001-09-21  Hartmut Penner  <hpenner@de.ibm.com>
5861
5862         * s390.md: Changed attributes for scheduling.
5863         * s390.c: (s390_adjust_cost, s390_adjust_priority)
5864         Changed scheduling
5865
5866 2001-09-21  Joseph S. Myers  <jsm28@cam.ac.uk>
5867
5868         Table-driven attributes.
5869         * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
5870         config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
5871         config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
5872         config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
5873         config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
5874         config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
5875         doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
5876         tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
5877         * tree.h (struct tree_decl): Change machine_attributes to
5878         attributes.
5879         * doc/c-tree.texi: Document that all attributes are now attached
5880         to decls and types.
5881         * c-common.c (add_attribute, attrtab, attrtab_idx,
5882         default_valid_lang_attribute, valid_lang_attribute): Remove.
5883         (attribute_tables, attributes_initialized,
5884         c_common_attribute_table, default_lang_attribute_table): New
5885         variables.
5886         (handle_packed_attribute, handle_nocommon_attribute,
5887         handle_common_attribute, handle_noreturn_attribute,
5888         handle_unused_attribute, handle_const_attribute,
5889         handle_transparent_union_attribute, handle_constructor_attribute,
5890         handle_destructor_attribute, handle_mode_attribute,
5891         handle_section_attribute, handle_aligned_attribute,
5892         handle_weak_attribute, handle_alias_attribute,
5893         handle_no_instrument_function_attribute,
5894         handle_no_check_memory_usage_attribute, handle_malloc_attribute,
5895         handle_no_limit_stack_attribute, handle_pure_attribute): New
5896         functions.
5897         (init_attributes, decl_attributes): Rewrite to implement
5898         table-driven attributes.
5899         * c-common.h (enum attribute_flags): Move to tree.h.
5900         * c-format.c (decl_handle_format_attribute,
5901         decl_handle_format_arg_attribute): Rename to
5902         handle_format_attribute and handle_format_arg_attribute.  Update
5903         for table-driven attributes.
5904         * c-common.h (decl_handle_format_attribute,
5905         decl_handle_format_arg_attribute): Remove prototypes.
5906         (handle_format_attribute, handle_format_arg_attribute): Add
5907         prototypes.
5908         * c-decl.c (grokdeclarator): Handle attributes nested inside
5909         declarators.
5910         * c-parse.in (setattrs, maybe_setattrs): Remove.
5911         (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
5912         Update to handle nested attributes properly.
5913         (maybe_resetattrs, after_type_declarator,
5914         parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
5915         absdcl1_ea, direct_absdcl1): Update to handle nested attributes
5916         properly.
5917         (make_pointer_declarator): Update to handle nested attributes
5918         properly.
5919         * doc/extend.texi: Update documentation of limits of attributes
5920         syntax.  Warn about problems with attribute semantics in C++.
5921         * target.h (struct target): Remove valid_decl_attribute and
5922         valid_type_attribute.  Add attribute_table and
5923         function_attribute_inlinable_p.
5924         * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
5925         TARGET_VALID_TYPE_ATTRIBUTE): Remove.
5926         (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
5927         Add.
5928         (TARGET_INITIALIZER): Update.
5929         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
5930         definition.
5931         (function_attribute_inlinable_p): New function.  Check for the
5932         presence of any machine attributes before using
5933         targetm.function_attribute_inlinable_p.
5934         (function_cannot_inline_p): Update.
5935         * Makefile.in (integrate.o): Update dependencies.
5936         * doc/tm.texi: Update documentation of target attributes and
5937         example definition of TARGET_VALID_TYPE_ATTRIBUTE.
5938         * tree.c (default_valid_attribute_p, valid_machine_attribute):
5939         Remove.
5940         (default_target_attribute_table,
5941         default_function_attribute_inlinable_p): New.
5942         (lookup_attribute): Update comment to clarify handling of multiple
5943         attributes with the same name.
5944         (merge_attributes, attribute_list_contained): Allow multiple
5945         attributes with the same name but different arguments to appear in
5946         the same attribute list.
5947         * tree.h (default_valid_attribute_p): Remove prototype.
5948         (struct attribute_spec): New.
5949         (default_target_attribute_table): Declare.
5950         (enum attribute_flags): Move from c-common.h.  Add
5951         ATTR_FLAG_TYPE_IN_PLACE.
5952         (default_function_attribute_inlinable_p): Declare.
5953         * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
5954         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5955         (TARGET_ATTRIBUTE_TABLE): Define.
5956         (vms_attribute_table): New.
5957         * config/arc/arc.c (arc_valid_decl_attribute): Remove.
5958         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5959         (TARGET_ATTRIBUTE_TABLE): Define.
5960         (arc_attribute_table, arc_handle_interrupt_attribute): New.
5961         * config/arm/arm.c (arm_valid_type_attribute_p,
5962         arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
5963         Remove.
5964         (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
5965         define.
5966         (TARGET_ATTRIBUTE_TABLE): Define.
5967         (arm_attribute_table, arm_handle_fndecl_attribute,
5968         arm_handle_isr_attribute): New.
5969         * config/avr/avr.c (avr_valid_type_attribute,
5970         avr_valid_decl_attribute): Remove.
5971         (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
5972         define.
5973         (TARGET_ATTRIBUTE_TABLE): Define.
5974         (avr_attribute_table, avr_handle_progmem_attribute,
5975         avr_handle_fndecl_attribute): New.
5976         * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
5977         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
5978         (TARGET_ATTRIBUTE_TABLE): Define.
5979         (c4x_attribute_table, c4x_handle_fntype_attribute): New.
5980         * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
5981         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
5982         (TARGET_ATTRIBUTE_TABLE): Define.
5983         (h8300_attribute_table, h8300_handle_fndecl_attribute,
5984         h8300_handle_eightbit_data_attribute,
5985         h8300_handle_tiny_data_attribute): New.
5986         * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
5987         i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
5988         Remove prototypes.
5989         (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
5990         declarations.
5991         * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
5992         (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
5993         define.
5994         (TARGET_ATTRIBUTE_TABLE): Define.
5995         (ix86_attribute_table, ix86_handle_cdecl_attribute,
5996         ix86_handle_regparm_attribute): New.
5997         * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
5998         i386_pe_valid_type_attribute_p): Remove.
5999         (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
6000         * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
6001         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6002         (TARGET_ATTRIBUTE_TABLE): Define.
6003         (ia64_attribute_table): New.
6004         * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
6005         interrupt_ident2, model_ident1, model_ident2): Remove.
6006         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6007         (TARGET_ATTRIBUTE_TABLE): Define.
6008         (init_idents): Update.
6009         (m32r_attribute_table, m32r_handle_model_attribute): New.
6010         * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
6011         Remove.
6012         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6013         (TARGET_ATTRIBUTE_TABLE): Define.
6014         (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
6015         * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
6016         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6017         (TARGET_ATTRIBUTE_TABLE): Define.
6018         (mcore_attribute_table, mcore_handle_naked_attribute): New.
6019         * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
6020         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6021         (TARGET_ATTRIBUTE_TABLE): Define.
6022         (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
6023         * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
6024         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
6025         (TARGET_ATTRIBUTE_TABLE): Define.
6026         (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
6027         * config/sh/sh.c (sh_valid_decl_attribute): Remove.
6028         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6029         (TARGET_ATTRIBUTE_TABLE): Define.
6030         (sh_attribute_table, sh_handle_interrupt_handler_attribute,
6031         sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
6032         New.
6033         * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
6034         Remove.
6035         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
6036         (TARGET_ATTRIBUTE_TABLE): Define.
6037         (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
6038         New.
6039         * config/v850/v850.c (v850_valid_decl_attribute): Remove.
6040         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
6041         (TARGET_ATTRIBUTE_TABLE): Define.
6042         (v850_attribute_table, v850_handle_interrupt_attribute,
6043         v850_handle_data_area_attribute): New.
6044         * config/v850/v850-c.c (mark_current_function_as_interrupt):
6045         Return void.  Call decl_attributes instead of
6046         valid_machine_attribute.
6047
6048 Fri Sep 21 01:49:41 2001  J"orn Rennecke <amylaar@redhat.com>
6049
6050         * sh-protos.h (sh_pr_n_sets): Declare.
6051         * sh.c (calc_live_regs): If the initial value for PR has been copied,
6052         look at the copy to determine if PR needs to be saved.
6053         sh_pr_n_sets: New function.
6054         * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
6055         (ALLOCATE_INITIAL_VALUE): Define.
6056
6057         * sh.c (initial_elimination_offset):
6058         Fix RETURN_ADDRESS_POINTER_REGNUM case.
6059
6060 Fri Sep 21 01:13:56 2001  J"orn Rennecke <amylaar@redhat.com>
6061
6062         * integrate.c (allocate_initial_values): New function.
6063         * integrate.h (allocate_initial_values): Declare.
6064         * local-alloc.c (local_alloc): Move call to allocate_reg_info from
6065         here...
6066         * reload1.c (reload): And initialization of reg_equiv_memory_loc
6067         from here...
6068         * toplev.c (rest_of_compilation): To here.
6069         Call allocate_initial_values.
6070         * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
6071
6072 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6073
6074         * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
6075
6076 2001-09-20  DJ Delorie  <dj@redhat.com>
6077
6078         * c-typeck.c (really_start_incremental_init): Discriminate
6079         between zero-length arrays and flexible arrays.
6080         (push_init_level): Detect zero-length arrays and handle them
6081         like fixed-sized arrays.
6082         * expr.c (store_constructor): Handle zero-length arrays and
6083         flexible arrays correctly.
6084         * doc/extend.texi: Update zero-length array notes.
6085
6086 2001-09-20  Jim Wilson  <wilson@redhat.com>
6087
6088         * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
6089         (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
6090         for issue port conflicts.
6091         (cycle_end_fill_slots): TYPE_L instructions take two slots.
6092
6093 2001-09-20  Andrew MacLeod  <amacleod@redhat.com>
6094
6095         * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
6096         on ia64.
6097
6098 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6099
6100         * fold-const.c (hashtab.h): Include.
6101         (int_const_binop): Remove FORSIZE arg and compute from type; all
6102         callers changed.
6103         Call size_int_type_wide for all single-word constants.
6104         (size_htab_hash, size_htab_eq): New functions.
6105         (size_int_type_wide): Rework to use hash table.
6106         * ggc-common.c (hashtab.h): Include.
6107         (struct d_htab_root): New struct.
6108         (d_htab_roots): New variable.
6109         (ggc_add_deletable_htab, ggc_htab_delete): New functions
6110         (ggc_mark_roots): Handle deletable htabs.
6111         * ggc-page.c (ggc_marked_p): New function.
6112         * ggc-simple.c (ggc_marked_p): Likewise.
6113         * ggc.h: Reformatting throughout.
6114         (ggc_marked_p, ggc_add_deletable_htab): New declarations.
6115         * tree.c (init_obstacks): Make type_hash_table a deletable root.
6116         (type_hash_add): Allocate struct type_hash from GC memory.
6117         (mark_hash_entry, mark_type_hash): Deleted.
6118         (type_hash_marked_p, type_hash_mark): New functions.
6119         * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
6120
6121 Thu Sep 20 12:49:34 2001  J"orn Rennecke <amylaar@redhat.com>
6122
6123         * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
6124         than SImode.
6125
6126 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6127
6128         * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
6129         array-too-large test for signed sizetype.
6130
6131 Thu Sep 20 12:19:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
6132
6133         * i386.md (indirect_jump): Allow Pmode operand.
6134         (tablejump): LIkewise; perform expansion to 64bit mode.
6135         * i386.c (symbolic_operand): Allow 64bit PIC references.
6136         (pic_symbolic_operand): Likewise.
6137         (ix86_find_base_term): Strip the 64bit PIC references.
6138         (legitimate_pic_address_disp_p): Handle 64bit PIC.
6139         (legitimize_pic_address): Likewise.
6140         (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
6141         * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
6142
6143 2001-09-19  Alexandre Petit-Bianco  <apbianco@redhat.com>
6144
6145         * stringpool.c (get_identifier_with_length): New function.
6146         * tree.h (get_identifier_with_length): New prototype.
6147
6148 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
6149             David Edelsohn  <edelsohn@gnu.org>
6150
6151         Revert:
6152         * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
6153         already sign-extended.
6154
6155         * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
6156         * config/rs6000/rs6000.c (logical_operand): Always compare op as
6157         HOST_WIDE_INT.
6158         (rs6000_emit_set_long_const): Avoid unnecessary shift.
6159         (output_profile_hook): Declare label_name const.
6160         * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
6161         to match constraints.
6162
6163 2001-09-19  Stan Shebs  <shebs@apple.com>
6164
6165         * alias.c: Fix typos in comments.
6166         * sched-rgn.c (init_ready_list): Ditto.
6167         * unwind-dw2.c (uw_frame_state_for): Ditto.
6168         * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
6169         * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
6170         * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
6171
6172 2001-09-19  Richard Henderson  <rth@redhat.com>
6173
6174         * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
6175         to the exit block.
6176         * Makefile.in (cfg.o): Depend on TM_P_H.
6177
6178 2001-09-19  Richard Henderson  <rth@redhat.com>
6179
6180         * config/alpha/alpha.c (local_symbol_p): Split out from ...
6181         (local_symbolic_operand): ... here.
6182         (small_symbolic_operand): Check mode.
6183         (global_symbolic_operand): New.
6184         (input_operand): Reject symbolics if explicit relocs.
6185         (call_operand): Tidy.
6186         (alpha_legitimize_address): Use movdi_er_high_g.
6187         (alpha_expand_mov): Likewise.
6188         * config/alpha/alpha-protos.h: Update.
6189         * config/alpha/alpha.h (PREDICATE_CODES): Update.
6190         * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
6191         (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
6192         (UNSPECV_LDGP2): Remove.
6193         (all call patterns): Use 's' not 'i' for symbolic constraint.
6194         (call_osf call_value_osf): Use call_operand.
6195         (all osf call patterns): Use $gp.  New peepholes for explicit relocs.
6196         (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
6197         (prologue_ldgp_1_er): Remove.
6198         (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
6199         (builtin_setjmp_receiver_er patterns): Use them.
6200         (exception_receiver_er): Likewise.
6201
6202 2001-09-19  Richard Henderson  <rth@redhat.com>
6203
6204         * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
6205
6206         * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
6207         and NON_LOCAL_GOTO notes.
6208         * recog.c (peephole2_optimize): Likewise.  Handle EH_REGION;
6209         copy over CALL_INSN_FUNCTION_USAGE.
6210
6211 2001-09-18  Catherine Moore  <clm@redhat.com>
6212
6213         * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
6214         Define as 0.
6215
6216 2001-09-18  Ulrich Weigand  <uweigand@de.ibm.com>:
6217
6218         * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
6219         new-style tm_file specification.  Specify correct tm_p_file,
6220         md_file, and out_file for s390x.
6221
6222         * config/s390/linux.h, linux64.h:  Don't include other target
6223         macro header files.  Now handled via tm_file.
6224
6225         * config/s390/linux.h, s390.h:  (IEEE_FLOAT, TARGET_IEEE_FLOAT,
6226         TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
6227         are defined before use.
6228
6229 Tue Sep 18 09:51:11 2001  Eric Christopher  <ecechristo@redhat.com>
6230
6231         * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
6232         code generation only for Gnu assembler.
6233
6234 2001-09-18  Catherine Moore  <clm@redhat.com>
6235
6236         * config/stormy16 (LIB_SPEC): Remove -lnosys.
6237
6238 2001-09-18  Richard Sandiford  <rsandifo@redhat.com>
6239
6240         * config/mips/mips.c (mips_frame_set): New.
6241         (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
6242         a parallel frame-related expression with a set for each register.
6243
6244 2001-09-18  Philip Blundell  <philb@gnu.org>
6245
6246         * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
6247         header files.
6248
6249 2001-09-17  Dale Johannesen  <dalej@apple.com>
6250
6251         * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
6252         * config/rs6000/aix.h (FIXED_R2): Define.
6253         * config/rs6000/darwin.h (FIXED_R2): Define.
6254         * config/rs6000/sysv4.h (FIXED_R2): Define.
6255
6256 2001-09-17  Jeff Sturm  <jsturm@one-point.com>
6257
6258         * except.c (dw2_build_landing_pads): New local
6259         clobbers_hard_regs.  Emit an ASM_INPUT as a scheduling
6260         barrier after clobbers.  Fixes c++/4012.
6261
6262 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6263
6264         * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
6265
6266 2001-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
6267
6268         * dostage2, dostage3, listing, make-l2.com, makefile.vms,
6269         patch-apollo-includes, vmsconfig.com: Remove obsolete files.
6270
6271 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6272
6273         * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
6274         alloca/strcpy.
6275
6276 2001-09-17  Neil Booth  <neil@daikokuya.demon.co.uk>
6277
6278         * cpphash.h (_cpp_lex_direct): New.
6279         * cpplex.c (_cpp_lex_token): Update.
6280         (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
6281         and increment that pointer.
6282         * cppmacro.c (alloc_expansion_token): New.
6283         (lex_expansion_token): Lex macro expansion directly into
6284         macro storage.
6285
6286 2001-09-16  Brad Lucier  <lucier@math.purdue.edu>
6287
6288         * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
6289
6290 Sun Sep 16 21:59:46 CEST 2001  Jan hubicka  <jh@suse.cz>
6291
6292         * basic-block.h (free_bb_for_insn): Declare.
6293         * bb-reorder.c (label_for_bb): Use block_label.
6294         (emit_jump_to_block_after): Remove.
6295         (insert_intra_1): Do not update block_for_insn.
6296         (insert_inter_bb_scope_notes): Likewise; update bb->end
6297         * cfg.c (free_bb_for_insn): New.
6298         (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
6299         (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
6300         (commit_one_edge_insertion): Likewise.
6301         (commit_one_edge_insertion): Do not update BB boundary.
6302         (commit_edge_insertions): Do not call compute_bb_for_insn.
6303         * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
6304         * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
6305         (merge_blocks_move_successor_nojumps): Likewise.
6306         (try_crossjump_to_edge): Do not update block_for_insn.
6307         * combine.c (combine_instructions): Remove compute_bb_for_insn call.
6308         * df.c (df_pattern_emit_later): Do not update BB boundary.
6309         (df_jump_pattern_emit_after): Likewise.
6310         (df_insn_move_before): Use emit_insn_before.
6311         * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
6312          properly.
6313         (add_insn_after, add_insn_before, emit_insns_after): Update BB
6314         boundaries and basic_block_for_insn.
6315         (reorder_insns_nobb): Rename from reorder_insns.
6316         (reorder_insns): New.
6317         (emit_block_insn_before, emit_block_insn_after): Kill.
6318         * flow.c (check_function_return_warnings): Do not call
6319         compute_bb_for_insn; Do not free basic_block_for_insn.
6320         (attempt_auto_inc): Do not update basic_block_for_insn.
6321         * function.c (emit_return_into_block): Likewise;
6322         do not update BB boundaries.
6323         * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
6324         (insert_insn_end_bb): Use emit_insn_before; Likewise.
6325         (pre_insert_copy_insn): Likewise.
6326         (update_ld_motion_notes): Likewise.
6327         (insert_insn_start_bb): Likewise.
6328         (replace_store_insn): Likewise.
6329         * ifcvt.c (noce_process_if_block): Likewise.
6330         (if_convert): Do not call compute_bb_for_insn.
6331         * lcm.c (optimize_mode_switching): Do not update BB boundaries.
6332         Use emit_insn_before and emit_insn_after.
6333         * recog.c (split_all_insns): Do not update BB boundaries;
6334         Do not call compute_bb_for_insn.
6335         (peephole2_optimize): Do not update BB boundaries.
6336         * reg-stack.c (emit_pop_insn): Use emit_insn_after and
6337         emit_insn_before.
6338         (emit_swap_insn): Likewise.
6339         (convert_regs_1): Likewise.
6340         * reload1.c (reload): Call compute_bb_for_insn.
6341         * rtl.h (reorder_insns_nobb): Declare.
6342         * ssa.c (rename_equivalent_regs): Use emit_insn_before.
6343         * toplev.c (rest_of_compilation): Call free_bb_for_insn
6344         at places CFG is invalidated; do not call compute_bb_for_insn.
6345
6346         * cfg.c (expunge_block): Invalidate BB structure.
6347
6348         * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
6349         array.
6350
6351         * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
6352
6353 2001-09-16  Neil Booth  <neil@daikokuya.demon.co.uk>
6354
6355         * cpphash.h (_cpp_lex_token): Update prototype.
6356         * cpplex.c (_cpp_lex_token): New prototype.
6357         * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
6358         lex_macro_node, read_flag, do_pragma_poison): Update.
6359         * cppmacro.c (cpp_get_token, parse_params,
6360         lex_expansion_token): Update.
6361
6362 2001-09-16  Neil Booth  <neil@daikokuya.demon.co.uk>
6363
6364         * cppmain.c (scan_translation_unit): Don't worry about
6365         putting a space after hashes.
6366         * cpplib.c (directive_diagnostics): New.
6367         (_cpp_handle_directive): Update to use directive_diagnostics.
6368         (run_directive): Don't toggle prevent_expansion.
6369         (do_line): Backup in case of the line extension.
6370         * cpplib.h (cpp_lexer_pos): Remove.
6371         * cppmacro.c (_cpp_create_definition): Precede a leading #
6372         with whitespace.
6373
6374 2001-09-15  Richard Henderson  <rth@redhat.com>
6375
6376         * c-typeck.c (comptypes): Handle zero-length arrays properly.
6377
6378 2001-09-15  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6379
6380         * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
6381
6382 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
6383
6384         PR preprocessor/3571
6385         * tradcpp.c (handle_directive): Skip non-vertical space.
6386
6387 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
6388
6389         * cppmain.c (setup_callbacks): Set line callback only
6390         if outputting preprocessed source.
6391
6392 2001-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6393
6394         * collect2.c (main): Const-ification.
6395         * gcc.c (translate_options, process_command): Use xstrdup in
6396         lieu of xmalloc/strcpy.
6397         (main): Use concat in lieu of xmalloc/strcpy/strcat.
6398
6399 2001-09-14  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6400
6401         * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
6402         example.
6403
6404 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
6405
6406         * scan-decls.c (scan_decls): Fix typo.
6407
6408 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
6409
6410         * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
6411         Split mlstring_pos into mls_line and mls_col.
6412         * cppinit.c (cpp_create_reader): Initialize line to 1.
6413         (cpp_destroy): Free tokenruns.
6414         (push_include): Don't update lexer_pos.
6415         * cpplex.c (unterminated, parse_string): Update.
6416         (lex_token): Don't update lexer_pos, update.
6417         * cpplib.c (if_stack): Save line instead of line + col.
6418         (start_directive, _cpp_do__Pragma, do_else, do_elif,
6419         push_conditional, _cpp_pop_buffer): Update.
6420         * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
6421         (_cpp_create_definition): Update.
6422
6423 2001-09-15  Eric Christopher  <echristo@redhat.com>
6424
6425         * config/mips/abi64.h: Add support for MEABI.
6426
6427 2001-09-15  Eric Christopher  <echristo@redhat.com>
6428
6429         * config/mips/mips.md: Add unspec #2.
6430         (reload_indi): Use.
6431         (reload_outdi): Ditto.
6432         (reload_outsi): Ditto.
6433         (HILO_delay): New.
6434
6435 2001-09-15  Eric Christopher  <echristo@redhat.com>
6436             Jason Eckhardt  <jle@redhat.com>
6437
6438         * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
6439         * config/mips/isa32-linux.h: New file.
6440         * config/mips/isa3264.h: Ditto.
6441         * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
6442         * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
6443         (output_block_mode): Support MEABI.
6444         (function_arg): Ditto. Fix floating point arg passing.
6445         (mips_va_start): Ditto.
6446         (override_options): Add isas 32 and 64, meabi, mips32 and mips64
6447         processors.
6448         (mips_asm_file_start): Add new section to pass abi to gdb.
6449         (function_arg_pass_by_reference): Support MEABI.
6450         (mips_parse_cpu): Support mips32 and mips64 processors.
6451         * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
6452         TARGET_MIPS5KC.  Support isa32 and isa64.
6453         (processor_type): Add r4kc, r5kc, r20kc.
6454         (GENERATE_MULT3_SI): New.
6455         (GENERATE_MULT3_DI): Ditto.
6456         (GENERATE_MULT3): Remove.
6457         (ISA_HAS_64BIT_REGS): Add isa == 64.
6458         (ISA_HAS_8CC): Add mips_isa = 32 and 64.
6459         (ISA_HAS_MADD_MSUB): New.
6460         (ISA_HAS_CLZ_CLO): Ditto.
6461         (ISA_HAS_DCLZ_DCLO): Ditto.
6462         (ABI_GAS_ASM_SPEC): New.
6463         (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
6464         (ASM_SPEC): Ditto.
6465         (LINK_SPEC): Ditto.
6466         (SUBTARGET_CC1_SPEC): Ditto.
6467         (SUBTARGET_CPP_SIZE_SPEC): Ditto.
6468         (PAD_VARARGS_DOWN): Support MEABI.
6469         (HARD_REGNO_NREGS): Move to mips.c.
6470         (ASM_OUTPUT_IDENT): Add #undef.
6471         * config/mips/mips.md: Add r4kc, r5kc, r20kc.
6472         (mulsi3): Use GENERATE_MULT3_SI.
6473         (mulsi3_mult3): Ditto.  Support mips32, mips64.
6474         (mul_acc_si): Use ISA_HAS_MADD_MSUB.
6475         (mul_sub_si): New pattern.
6476         (unnamed splitters): New.
6477         (muldi3): Use GENERATE_MULT3_DI.
6478         (muldi3_internal2): Ditto.
6479         (movdicc): Support mips32.
6480         * config/mips/t-isa3264: New file.
6481
6482 2001-09-15  Hans-Peter Nilsson  <hp@axis.com>
6483
6484         * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
6485         || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
6486         || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
6487
6488         * reorg.c (fill_slots_from_thread): After call to
6489         steal_delay_list_from_target, update own_thread as new_thread may
6490         have branched.
6491
6492 2001-09-14  Neil Booth  <neil@daikokuya.demon.co.uk>
6493
6494         * cpperror.c (print_location): Take line and column, for
6495         default positioning use the previously lexed token.
6496         (_cpp_begin_message): Take line and column.
6497         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
6498         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
6499         * cpphash.h (_cpp_begin_message): Update prototype.
6500         * cppinit.c (push_include): Don't set output line.
6501         * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
6502         * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
6503         (do_pragma): Kludge for front ends.  Don't expand macros at all.
6504         * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
6505         (struct cpp_token): Remove output_line.
6506         (struct cpp_callbacks): New member line_change.
6507         * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
6508         cpp_get_token): Preserve BOL flag.
6509         (cpp_get_line): Remove.
6510         (_cpp_backup_tokens): Remove useless abort().
6511         * cppmain.c (cb_line_change): New.
6512         (scan_translation_unit): Don't worry about starting new lines here.
6513         * scan-decls.c (scan_decls): Update.
6514         * c-lex.c (c_lex, init_c_lex): Update.
6515         (cb_line_change, src_lineno): New.
6516
6517 Fri Sep 14 13:54:50 EDT 2001  John Wehle  (john@feith.com)
6518
6519         * tree.c (append_random_chars): Generate the random
6520         characters in a reproducable fashion.
6521
6522 2001-09-14  Richard Henderson  <rth@redhat.com>
6523
6524         * config/i386/i386.c (internal_label_prefix): New.
6525         (internal_label_prefix_len): New.
6526         (override_options): Set them.
6527         (local_symbolic_operand): New.
6528         (legitimate_pic_address_disp_p): Use it.
6529         (legitimize_pic_address): Likewise.
6530
6531 2001-09-14  Marc Espie <espie@openbsd.org>
6532
6533         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK):  Generate reference to GOT
6534         correctly.
6535
6536 2001-09-14  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6537
6538         * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
6539         * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
6540
6541 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
6542
6543         * rtlanal.c (subreg_regno_offset): Add semicolon to end of
6544         invocation of SUBREG_REGNO_OFFSET.
6545
6546         * haifa-sched.c: Fix typo in FSF copyright statement.
6547         * sched-deps.c: Fix typo in FSF copyright statement.
6548         * sched-ebb.c: Fix typo in FSF copyright statement.
6549         * sched-rgn.c: Fix typo in FSF copyright statement.
6550         * sched-vis.c: Fix typo in FSF copyright statement.
6551
6552         * config.gcc: Move inclusion of arm elf specific header files
6553         from the files themselves into the tm_file variable.  Make
6554         sure that elfos.h is included before target specific elf
6555         headers.
6556         * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
6557         already defined.
6558         (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
6559         * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
6560         ASM_OUTPUT_CASE_LABEL): Protect definition.
6561         (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
6562         not already defined.
6563         * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
6564         LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
6565         Remove duplicate definition.
6566         (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
6567         (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
6568         (RDATA_SECTION_FUNCTION): Remove redundant definition.
6569         (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
6570         Remove inclusion of arm/elf.h.
6571         * config/arm/unknown-elf.h: as for conix-elf.h.
6572         (STARTFILE_SPEC): Include crti.o and crtn.o.
6573         * config/arm/linux-elf.h: as for conix-elf.h.
6574         * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
6575         * config/arm/strongarm-elf.h: Remove inclusion of
6576         unknown-elf.h.
6577         * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
6578         * config/arm/unknown-elf-oabi.h: Remove inclusion of
6579         unknown-elf.h and elf.h.
6580         * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
6581         * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
6582         ASM_WEAKEN_LABEL): Remove redundant definition.
6583         * config/arm/elf.h: Test for inclusion of elfos.h
6584         (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
6585         ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
6586         SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
6587         EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
6588         redundant definition.
6589         (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
6590         ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
6591         ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
6592         * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
6593         Add rules to build crti.o and crtn.o
6594         * crti.asm: New file.
6595         * crtn.asm: New file.
6596
6597 2001-09-13  Neil Booth  <neil@daikokuya.demon.co.uk>
6598
6599         * c-parse.in (_yylex): Use _cpp_backup_tokens.
6600         * cpphash.h (struct tokenrun): Add prev.
6601         (struct lexer_state): Remove bol.
6602         (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
6603         (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
6604         : Remove.
6605         * cppinit.c (cpp_create_reader): Don't set bol.
6606         (cpp_destroy): Don't free lookaheads.
6607         * cpplex.c (lex_directive): Remove.
6608         (next_tokenrun): Update.
6609         (_cpp_lex_token): Clean up logic.
6610         (lex_token): Update to return a pointer to lexed token, since it
6611         can move to the start of the buffer.  Simpify newline handling.
6612         * cpplib.c (SEEN_EOL): Update.
6613         (skip_rest_of_line): Remove lookahead stuff.
6614         (end_directive): Line numbers are already incremented.  Revert
6615         to start of lexed token buffer if we can.
6616         (_cpp_handle_directive, do_pragma, do_pragma_dependency,
6617         parse_answer): Use _cpp_backup_tokens.
6618         (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
6619         instead.  Don't check for EOL.
6620         (do_include_common, do_line, do_pragma_system_header): Use
6621         skip_rest_of_line.
6622         * cpplib.h (BOL, _cpp_backup_tokens): New.
6623         * cppmacro.c (save_lookahead_token, take_lookahead_token,
6624         alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
6625         cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
6626         (builtin_macro): Don't use cpp_get_line.
6627         (cpp_get_line): Short term kludge.
6628         (parse_arg): Handle directives in arguments here.  Back up when
6629         appropriate.  Store EOF at end of argument list.
6630         (funlike_invocation_p): Use _cpp_backup_tokens.
6631         (push_arg_context): Account for EOF at end of list.
6632         (cpp_get_token): Remove lookahead stuff.  Update.
6633
6634 2001-09-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6635
6636         * c-parse.in (yyerror): Const-ification and/or static-ization.
6637         * c-typeck.c (push_member_name): Likewise.
6638         * collect2.c (main): Likewise.
6639         * dbxout.c (dbxout_parms): Likewise.
6640         * diagnostic.c (format_with_decl): Likewise.
6641         * dwarf2out.c (output_ranges): Likewise.
6642         * dwarfout.c (fundamental_type_code): Likewise.
6643         * except.c (dw2_output_call_site_table): Likewise.
6644         * gcc.c (do_spec_1): Likewise.
6645         * genopinit.c (optabs): Likewise.
6646         * objc/objc-act.c (synth_id_with_class_suffix, start_class,
6647         gen_declaration_1, handle_impent): Likewise.
6648         * protoize.c (default_include, in_system_include_dir, abspath):
6649         Likewise.
6650         * sched-vis.c (visualize_stall_cycles): Likewise.
6651         * sdbout.c (plain_type_1, sdbout_end_function,
6652         sdbout_end_epilogue): Likewise.
6653         * varasm.c (decode_reg_name): Likewise.
6654
6655         * 1750a.c (mod_regno_adjust): Likewise.
6656         * alpha.c (alpha_write_one_linkage,
6657         unicosmk_output_default_externs): Likewise.
6658         * arm.c (arm_condition_codes): Likewise.
6659         * arm.h (arm_condition_codes): Likewise.
6660         * avr.c (output_movsisf, encode_section_info): Likewise.
6661         * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
6662         Likewise.
6663         * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
6664         * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
6665         * m88k.c (output_function_profiler): Likewise.
6666         * mips.c (mips_output_conditional_branch): Likewise.
6667         * ns32k.c (ns32k_out_reg_names): Likewise.
6668         * ns32k.h (ns32k_out_reg_names): Likewise.
6669         * pj.c (pj_output_rval): Likewise.
6670         * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
6671         * sparc.c (sparc_flat_function_prologue,
6672         sparc_flat_function_epilogue): Likewise.
6673
6674 2001-09-13  Markus Werle <numerical.simulation@web.de>
6675             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6676
6677         * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
6678         Aachen University of Technology".
6679
6680 2001-09-13  Andreas Schwab  <schwab@suse.de>
6681
6682         * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
6683         C99.
6684
6685 2001-09-13  Richard Henderson  <rth@redhat.com>
6686
6687         * config/alpha/alpha.c (small_symbolic_operand): New.
6688         (override_options): Set MASK_SMALL_DATA based on pic/PIC.
6689         (some_operand, input_operand): Don't handle HIGH.
6690         (alpha_legitimize_address): Use it.  Emit HIGH with PLUS gp.
6691         (alpha_expand_mov): Likewise.
6692         (print_operand) [H]: Just print HIGH symbol.
6693         (print_operand_address): Handle small data.
6694         * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
6695         (TARGET_SWITCHES): Add -msmall-data/large-data.
6696         (PIC_OFFSET_TABLE_REGNUM): New.
6697         (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
6698         (PREDICATE_COES): Update.
6699         * config/alpha/alpha.md (adddi_er_high): New.
6700         (adddi_er_low): Handle small data.
6701         * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
6702         prefer .sdata to .rodata.
6703         (SELECT_RTX_SECTION): Likewise.
6704
6705 2001-09-12  Josh Martin  <josh.martin@abq.sc.philips.com>
6706
6707         * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
6708         defining __size_t and leaving size_t undefined.
6709
6710 2001-09-12  Diego Novillo  <dnovillo@redhat.com>
6711
6712         * basic-block.h (expunge_block): Declare.
6713         * cfg.c (expunge_block): Remove static declaration.
6714
6715 2001-09-12  Richard Henderson  <rth@redhat.com>
6716
6717         * integrate.c (copy_insn_list): Copy label name from
6718         NOTE_INSN_DELETED_LABEL.
6719
6720 2001-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6721
6722         * c-common.c (c_tree_code_name): Const-ification.
6723         * c-decl.c (c_decode_option): Likewise.
6724         * c-typeck.c (warn_for_assignment): Likewise.
6725         * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
6726         Likewise.
6727         * cppinit.c (output_deps): Likewise.
6728         * dependence.c (dependence_string, direction_string): Likewise.
6729         * dwarf2out.c (output_ranges): Likewise.
6730         * fixinc/fixfixes.c (emit_gnu_type): Likewise.
6731         * fixinc/gnu-regex.c (re_error_msgid): Likewise.
6732         * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
6733         standard_startfile_prefix, standard_startfile_prefix_1,
6734         standard_startfile_prefix_2, tooldir_base_prefix,
6735         standard_bindir_prefix, find_a_file): Likewise.
6736         * genattrtab.c (make_length_attrs): Likewise.
6737         * gencheck.c (tree_codes): Likewise.
6738         * genemit.c (gen_split): Likewise.
6739         * genrecog.c (special_mode_pred_table): Likewise.
6740         * graph.c (graph_ext): Likewise.
6741         * protoize (default_include): Likewise.
6742         * reload.c (reload_when_needed_name): Likewise.
6743         * sched-vis.c (visualize_stall_cycles): Likewise.
6744         * tlink.c (recompile_files): Likewise.
6745         * toplev.c (decode_g_option): Likewise.
6746         * tradcpp.c (output_deps): Likewise.
6747         * varasm.c (decode_reg_name): Likewise.
6748
6749         * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
6750         Const-ification.
6751         * arm.md: Likewise.
6752         * avr.c (avr_regnames, encode_section_info): Likewise.
6753         * c4x.c (float_reg_names): Likewise.
6754         * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
6755         * elfos.h (const_section): Likewise.
6756         * i386.c (ix86_comp_type_attributes): Likewise.
6757         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
6758         * ia64/aix.h (UNIQUE_SECTION): Likewise.
6759         * ia64.c (type_names): Likewise.
6760         * m68hc11.c (reg_class_names): Likewise.
6761         * m88k.c (m_options): Likewise.
6762         * mips.c (mips_output_conditional_branch, mips_unique_section):
6763         Likewise.
6764         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
6765         * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
6766         ultra_code_names): Likewise.
6767         * sparc.h (OVERRIDE_OPTIONS): Likewise.
6768
6769 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
6770
6771         * configure.in (gcc_cv_as_shf_merge): Fix a typo.
6772         Use --fatal-warnings option for gas.
6773         * configure: Rebuilt.
6774
6775 2001-09-12  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6776
6777         * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
6778
6779 2001-09-11  Jim Wilson  <wilson@redhat.com>
6780
6781         * alias.c (clear_reg_alias_info): Only handle pseudo registers.
6782
6783 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
6784
6785         * builtins.c (c_strlen): Treat an offset too large for a
6786         HOST_WIDE_INT as out of range.
6787
6788 Tue Sep 11 18:57:47 CEST 2001  Jan Hubicka  <jh@suse.cz>
6789
6790         * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
6791         (EDGE_CRITICAL_P): New predicate.
6792         * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
6793         handling.
6794         (insert_insn_on_edge): Use EDGE_CRITICAL_P.
6795         (dump_edge_info): Remove "crit".
6796         * cfganal.c (mark_critical_edges): Kill.
6797         * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
6798         * cfgcleanup.c (cleanup_cfg): Likewise.
6799         * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
6800         (find_spanning_tree): Likewise.
6801         * reg-stack.c (convert_regs_1): Likewise.
6802         * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
6803
6804         * basic-block.h (create_basic_block_structure): New.
6805         (create_basic_block): Update prototype.
6806         (force_nonfallthru): New.
6807         * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
6808         * cfg.c (create_basic_block_structure): Rename from create_basic_block;
6809         handle updating of block_for_insn, creating of empty BBs and BBs at
6810         the end of INSN chain.
6811         (create_basic_block): New function.
6812         (split_block): Use create_basic_block.
6813         (force_nonfallthru_and_redirect): Break out from ...; cleanup
6814         (redirect_edge_and_branch_force): ... here.
6815         (force_nonfallthru): New.
6816         (split_edge): Rewrite to use force_nonfallthru and create_block.
6817         * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
6818         (find_basic_blocks): Free basic_block_for_insn.
6819         * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
6820
6821         * cfg.c: Fix formating.
6822         * cfgcleanup.c: Fix formating.
6823         (merge_blocks, tail_recursion_label_p): Return bool.
6824         (merge_blocks_move_predecessor_nojumps,
6825          merge_blocks_move_successor_nojumps): Return void.
6826
6827 2001-09-11  Jakub Jelinek  <jakub@redhat.com>
6828
6829         * configure.in: Check whether assembler supports section merging.
6830         * config.in: Rebuilt.
6831         * configure: Rebuilt.
6832         * varasm.c (variable_section, output_constant_pool): Pass alignment
6833         to SELECT_SECTION and SELECT_RTX_SECTION.
6834         (mergeable_string_section): New.
6835         (mergeable_constant_section): New.
6836         (default_elf_asm_named_section): Output SECTION_MERGE and
6837         SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
6838         * output.h (mergeable_string_section): New.
6839         (mergeable_constant_section): New.
6840         (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
6841         * toplev.c (flag_merge_constants): New.
6842         (f_options): Add -fmerge-constants and -fmerge-all-constants
6843         options.
6844         (toplev_main): Default to -fno-merge-constants if not optimizing.
6845         * flags.h (flag_merge_constants): Add extern.
6846         * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
6847         * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
6848         argument.
6849         * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
6850         Define if assembler has working .subsection -1 support.
6851         (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
6852         Put constant into special SHF_MERGE sections if the linker should
6853         attempt to merge duplicates.
6854         * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
6855         macro argument.
6856         Put constant into special SHF_MERGE sections if the linker should
6857         attempt to merge duplicates.
6858         * config/alpha/elf.h: Likewise.
6859         (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
6860         has working .subsection -1 support.
6861         * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
6862         SELECT_SECTION.
6863         * config/svr3.h: Likewise.
6864         * config/darwin.h: Likewise.
6865         * config/arm/aof.h: Likewise.
6866         * config/arm/linux-elf.h: Likewise.
6867         * config/avr/avr.h: Likewise.
6868         * config/c4x/c4x.h: Likewise.
6869         * config/d30v/d30v.h: Likewise.
6870         * config/i386/dgux.h: Likewise.
6871         * config/i386/osfrose.h: Likewise.
6872         * config/i386/sco5.h: Likewise.
6873         * config/i386/svr3gas.h: Likewise.
6874         * config/ia64/aix.h: Likewise.
6875         * config/m32r/m32r.h: Likewise.
6876         * config/m68k/m68k.h: Likewise.
6877         * config/m88k/dgux.h: Likewise.
6878         * config/m88k/m88k.h: Likewise.
6879         * config/mcore/mcore-pe.h: Likewise.
6880         * config/mips/mips.h: Likewise.
6881         * config/pa/pa.h: Likewise.
6882         * config/pa/pa-linux.h: Likewise.
6883         * config/romp/romp.h: Likewise.
6884         * config/rs6000/sysv4.h: Likewise.
6885         * config/rs6000/xcoff.h: Likewise.
6886         * config/s390/linux.h: Likewise.
6887         * config/sparc/sparc.h: Likewise.
6888         * config/sparc/sysv4.h: Likewise.
6889         * config/stormy16/stormy16.h: Likewise.
6890         * config/v850/v850.h: Likewise.
6891         * config/vax/vms.h: Likewise.
6892         * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
6893         and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
6894         * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
6895         default_elf_asm_named_section for SHF_MERGE sections.
6896
6897 Tue Sep 11 17:55:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
6898
6899         * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
6900         is OK.
6901
6902 2001-09-11  Joseph S. Myers  <jsm28@cam.ac.uk>
6903
6904         * c-common.c (split_specs_attrs): Allow for empty attributes with
6905         empty TREE_PURPOSE.  Fixes PR c/4294.
6906
6907 Tue Sep 11 11:37:52 CEST 2001  Jan Hubicka  <jh@suse.cz>
6908
6909         * basic-block.h (cached_make_edge, make_single_succ): New.
6910         (make_edge): Remove first parameter.
6911         * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
6912         * cfg.c (cached_make_edge): Rename from make_edge; return newly
6913         created edge; use obstack allocation.
6914         (make_edge, make_single_succ_edge): New.
6915         (first_removed_edge): New static variable.
6916         (init_flow): Initialize first_removed_edge and n_edges.
6917         (clear_edges): Use remove_edge.
6918         (flow_delete_block): Likewise.
6919         (remove_edge): Add removed edges to the removed edges list.
6920         (split_block, redirect_edge_and_branch_force, split_edge):
6921         Use make_edge.
6922         * cfganal.c (flow_call_edges_add): Updaet make_edge call.
6923         (add_noreturn_fake_exit_edges): Likewise.
6924         (connect_infinite_loops_to_exit): Liekwise.
6925         * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
6926         Use cached_make_edge.
6927         * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
6928         * profile.c (branch_prob): Update make_edge call.
6929         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
6930
6931 2001-09-11  Richard Henderson  <rth@redhat.com>
6932
6933         * config/alpha/alpha.c: Tidy formatting.
6934         (local_symbolic_operand): Verify mode.
6935         (alpha_sa_mask): Ignore unicos for eh_return.
6936         (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
6937         * config/alpha/alpha.md (umk divsi patterns): Remove.
6938         (extendsfdf2): Remove unicos check.
6939         (tablejump): Merge vms and unicos code; always use direct set
6940         plus label_ref use.
6941
6942 2001-09-11  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
6943
6944         * config.gcc (alpha*-*-unicosmk*): New target.
6945
6946         * config/alpha/alpha-protos.h (symbolic_operand,
6947         unicosmk_add_call_info_word, unicosmk_add_extern,
6948         unicosmk_defer_case_vector, unicosmk_unique_section,
6949         unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
6950         unicosmk_asm_file_start, unicosmk_asm_file_end,
6951         unicosmk_output_common): Declare.
6952
6953         * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
6954         direct_return, function_arg, alpha_va_start, alpha_va_arg,
6955         alpha_does_function_need_gp, alpha_end_function): Support Cray
6956         Unicos/Mk.
6957         (alpha_init_machine_status, alpha_mark_machine_status,
6958         alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
6959         unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
6960         unicosmk_asm_named_section, unicosmk_insert_attributes,
6961         unicosmk_section_type_flags, symbolic_operand,
6962         unicosmk_output_module_name, unicosmk_output_default_externs,
6963         unicosmk_output_dex, unicosmk_output_externs,
6964         unicosmk_output_addr_vec, unicosmk_ssib_name,
6965         unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
6966         unicosmk_asm_file_end, unicosmk_output_common,
6967         unicosmk_section_type_flags, unicosmk_unique_section,
6968         unicosmk_add_call_info_word, unicosmk_text_section,
6969         unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
6970         unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
6971         unicosmk_dex_count, unicosmk_special_name): New.
6972         (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
6973         TARGET_ABI_UNICOSMK.
6974         (get_aligned_mem, alpha_expand_unaligned_load,
6975         alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
6976         alpha_expand_unaligned_store_words): Support big-endian mode.
6977         (print_operand): Likewise. New format specifier 't'. Use
6978         TARGET_AS_SLASH_BEFORE_SUFFIX.
6979         (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
6980         (alpha_pv_save_size): Update with above change.
6981         (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
6982         alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
6983         Unicos/Mk.
6984
6985         * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
6986         (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
6987         (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
6988         (EXTRA_CONSTRAINT): New constraint 'U'.
6989         (PREDICATE_CODES): Add symbolic_operand.
6990
6991         * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
6992         UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
6993         (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
6994         (integer division and modulus patterns): Split in default and
6995         Unicos/Mk versions.
6996         (*divmodsi_internal, *divmoddi_internal): Disable for
6997         TARGET_ABI_UNICOSMK.
6998         (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
6999         little-endian and big-endian versions.
7000         (ext, ins, msk): Likewise.
7001         (extv, extzv, insv): Support big-endian mode.
7002         (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
7003         (call_umk, call_value_umk, *call_umk, tablejump_umk,
7004         *tablejump_umk_internal, *call_value_umk): New.
7005         (*movdi_nofix): Add pattern for loading an address into a register on
7006         TARGET_ABI_UNICOSMK.
7007         (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
7008         (umk_mismatch_args, arg_home_umk): New.
7009         (various insns): Don't use mov, fmov, nop, fnop and unop.
7010         (realign): Support TARGET_ABI_UNICOSMK.
7011
7012         * config/alpha/unicosmk.h: New file.
7013         * config/alpha/t-unicosmk: New file.
7014
7015         * fixinc/inclhack.def (unicosmk_restrict): New.
7016         * fixinc/fixincl.x: Regenerate.
7017
7018         * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
7019         (wchar_t): Check for and define __WCHAR_T__.
7020
7021 2001-09-11  Richard Sandiford  <rsandifo@redhat.com>
7022
7023         * combine.c (simplify_shift_const): Treat shifts by the mode
7024         size as undefined.
7025
7026 2001-09-11  Neil Booth  <neil@daikokuya.demon.co.uk>
7027
7028         * cpphash.h (struct tokenrun): New.
7029         (struct cpp_context): New member bol.
7030         (struct cpp_reader): New members.
7031         (_cpp_init_tokenrun): New.
7032         * cppinit.c (cpp_create_reader): Set up the token runs.
7033         * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
7034         (lex_token): New internalised version of _cpp_lex_token.  Don't
7035         handle directives or the multiple include opimisation here any
7036         more.  Simply lex a token.
7037         * cpplib.c (run_directive): Clear bol.
7038         (_cpp_pop_buffer): Set bol.
7039         * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
7040         arguments.
7041
7042 2001-09-11  Michael Meissner  <meissner@redhat.com>
7043
7044         * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
7045         give an error if the user uses -mfp32.
7046         (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
7047         default options.
7048         (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
7049         floating point register size.
7050         (EXTRA_SPECS): Add CPP_FPR_SPEC.
7051
7052         * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
7053         HOST_WIDE_INT_PRINT_DEC to properly print the result of
7054         int_size_in_bytes.
7055         * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
7056         * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
7057
7058 2001-09-11  Hans-Peter Nilsson  <hp@axis.com>
7059
7060         * dbxout.c (dbxout_parms): Fix typo in comment.
7061         * unroll.c (loop_find_equiv_value): Ditto.
7062         * toplev.c (rest_of_compilation): Ditto.
7063         * loop.c (scan_loop): Ditto.
7064         * dwarf2out.c (struct dw_fde_struct): Ditto.
7065
7066 2001-09-10  Zack Weinberg  <zackw@panix.com>
7067
7068         * cpplex.c (parse_identifier): Fast-path optimize.  Avoid
7069         copying identifier when we're just going to throw it away.
7070         (parse_identifier_slow): New routine to handle abnormal cases.
7071         (_cpp_lex_token): Update call site.
7072
7073         * hashtable.c (ht_lookup): Don't assume that the string we've
7074         been given is NUL-terminated.
7075         * system.h: #define __builtin_expect(a, b) to (a) if not
7076         GCC >=3.0.
7077
7078 2001-09-10  Michael Meissner  <meissner@redhat.com>
7079
7080         * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
7081         binutils, gdb.
7082
7083 2001-09-10  David Edelsohn  <edelsohn@gnu.org>
7084
7085         * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
7086
7087 Mon Sep 10 16:26:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7088
7089         * builtins.c (c_getstr): Correct thinko in last change and further
7090         cleanup.
7091
7092 2001-09-10  Tim Freeman <tim@fungibole.com>
7093
7094         * dwarf2out.c (incomplete_types, decl_scope_table): Make them
7095         into varray's and register them as roots with the garbage
7096         collector so they are not collected too soon.
7097
7098 Mon Sep 10 14:21:26 CEST 2001  Jan Hubicka  <jh@suse.cz>
7099
7100         * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
7101         New.
7102         * basic-block.h (flow_obstack, label_value_list,
7103         tail_recursion_label_list): Declare
7104         (tidy_fallthru_edges): Declare.
7105         (expunge_block, last_loop_beg_note): Delete.
7106         (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
7107         * cfg.c: New file
7108         (basic_block_for_insn, label_value_list): Move from flow.c; make global.
7109         (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
7110         init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
7111         flow_delete_insn, flow_delete_insn_chain, create_basic_block,
7112         expunge_block, flow_delete_block, compute_bb_for_insn,
7113         update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
7114         make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
7115         redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
7116         try_redirect_by_replacing_jump, last_loop_beg_note,
7117         redirect_edge_and_branch, redirect_edge_and_branch_force,
7118         tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
7119         split_edge, insert_insn_on_edge, commit_one_edge_insertion,
7120         commit_edge_insertions, dump_flow_info, debug_flow_info,
7121         dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
7122         verify_flow_info, purge_dead_edges, purge_all_dead_edges):
7123         Move here from flow.c
7124         * cfganal.c: New file.
7125         (forwarder_block_p, can_fallthru, mark_critical_edges,
7126          mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
7127          find_unreachable_blocks, create_edge_list, free_edge_list,
7128          print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
7129          flow_edge_list_print, remove_fake_successors, remove_fake_edges,
7130          add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
7131          flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
7132          flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
7133          flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
7134         Move here from flow.c
7135         * cfgbuild.c: New file
7136         (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
7137          make_edges, find_basic_blocks_1, find_basic_blocks,
7138          find_sub_basic_blocks): Move here from flow.c
7139         * cfgcleanup.c: New file.
7140         (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
7141          merge_blocks_move_predecessor_nojumps,
7142          merge_blocks_move_successor_nojumps, merge_blocks,
7143          flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
7144          try_crossjump_bb, try_optimize_cfg): Move here from flow.c
7145         (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
7146         if succeeded.
7147         * cfgloop.c: New file
7148         (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
7149          flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
7150          flow_loop_exit_edges_find, flow_loop_nodes_find,
7151          flow_loop_pre_header_scan, flow_loop_pre_header_find,
7152          flow_loop_tree_node_add, flow_loops_tree_build,
7153          flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
7154          flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
7155         Move here from flow.c
7156         * flow.c: Remove everything moved elsewhere
7157         * output.h (cleanup_cfg): Return bool.
7158
7159         * bb-reorder.c (reorder_block_def): Remove 'index'.
7160         (insert_intra_1): Add argument BB, set block for new note.
7161         (make_reorder_chain): Do not depdent on BB indexes.
7162         (make_reorder_chain_1): Do not use BB indexes.
7163         (label_for_bb): Likewise; set BB for new insn.
7164         (emit_jump_to_block_after): Likewise.
7165         (fixup_reoder_chain): Sanity check that all basic blocks
7166         are chained; verify newly created insn chain; remove
7167         undocnitional jump simplifying; Do not use BB indexes;
7168         properly initialize count and frequency information;
7169         dump reordered sequence.
7170         (insert_intra_bb_scope_notes): update call of insert_intra_1.
7171         (insert_inter_bb_scope_notes): Set block for new insn.
7172         (reorder_basic_blocks): Dump flow info before reoredering.
7173
7174 Mon Sep 10 06:47:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7175
7176         * alias.c (clear_reg_alias_info): Use K&R format definition.
7177         Avoid unsigned warning.
7178         * builtins.c: Use "unsigned int", not "unsigned".
7179         (target_char_cast): Use host_integerp and tree_low_cst.
7180         (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
7181         (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
7182         (c_getstr): Likewise.
7183         (std_expand_builtin_va_arg): Use int_size_in_bytes.
7184         (builtin_memcpy_read_str): Avoid unsigned warning.
7185         (expand_builtin_memcpy): Alignments are unsigned.
7186         (expand_builtin_strncpy, expand_builtin_memset): Likewise.
7187         (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
7188         * predict.c (expensive_function_p): LIMIT now unsigned.
7189         * resource.c (mark_target_live_regs): Make some vars unsigned.
7190         * sdbout.c: Use "unsigned int", not "unsigned".
7191         (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
7192         (sdbout_source_line): Likewise.
7193         (sdbout_record_type_name): Remove "const" for NAME declaration.
7194         * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
7195
7196 2001-09-10  Richard Sandiford  <rsandifo@redhat.com>
7197
7198         * calls.c (store_one_arg): Expand comment.
7199
7200 2001-09-10  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
7201
7202         * calls.c (store_one_arg): Make sure that the entire argument is
7203         pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
7204
7205 2001-09-09  Richard Henderson  <rth@redhat.com>
7206
7207         * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
7208
7209 Sun Sep  9 10:43:17 CEST 2001  Jan Hubicka  <jh@suse.cz>
7210
7211         * loop.c (combine_givs): Fix computing of benefit once giv is combined.
7212
7213 2001-09-09  Richard Henderson  <rth@redhat.com>
7214
7215         * config/alpha/alpha.c (alpha_next_sequence_number): New.
7216         (alpha_this_literal_sequence_number): New.
7217         (alpha_this_gpdisp_sequence_number): New.
7218         (some_operand, input_operand): Add HIGH.
7219         (local_symbolic_operand): New.
7220         (alpha_encode_section_info): New.
7221         (alpha_legitimate_address_p): Allow LO_SUM.
7222         (alpha_legitimize_address): Generate HIGH+LO_SUM.
7223         (alpha_expand_mov): Likewise.
7224         (secondary_reload_class): Check memory_operand not general_operand
7225         for FP_REGS test.
7226         (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
7227         (alpha_expand_unaligned_store): Likewise.
7228         (alpha_expand_unaligned_load_words): Likewise.
7229         (alpha_expand_unaligned_store_words): Likewise.
7230         (alpha_expand_block_clear): Likewise.
7231         (print_operand): Handle %#, %*, %H.
7232         (print_operand_address): Handle LO_SUM.
7233         (find_lo_sum): New.
7234         (alpha_does_function_need_gp): Use it.
7235         (alpha_expand_block_move): Fix signed compare warnings.
7236         (alpha_sa_mask, alpha_align_insns): Likewise.
7237         * config/alpha/alpha-protos.h: Update.
7238         * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
7239         (MASK_EXPLICIT_RELOCS): New.
7240         (TARGET_SWITCHES): Add -mexplicit-relocs.
7241         (EXTRA_CONSTRAINT): Add 'T'.
7242         (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
7243         (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
7244         (ENCODE_SECTION_INFO): Out line.
7245         (REDO_SECTION_INFO_P): New.
7246         (STRIP_NAME_ENCODING): New.
7247         (ASM_OUTPUT_LABELREF): New.
7248         (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
7249         (PREDICATE_CODES): Update.
7250         * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
7251         call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
7252         movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
7253         builtin_setjmp_receiver_er, exception_receiver_1_er,
7254         call_value_osf_1_er): New patterns.
7255         (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
7256         (movqi, movhi, movsi): Add explicit $31 base register to lda.
7257         * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
7258         (FINAL_PRESCAN_INSN): New.
7259
7260 Sat Sep  8 22:00:55 CEST 2001  Jan Hubicka  <jh@suse.cz>
7261
7262         * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
7263
7264 2001-09-08  Andreas Jaeger  <aj@suse.de>
7265
7266         * i386.h (TARGET_SWITCHES): Fix description.
7267
7268 2001-09-07  David Edelsohn  <edelsohn@gnu.org>
7269
7270         * rs6000.c (num_insns_constant): Compute number of instructions
7271         more accurately.
7272
7273         * doc/install.texi: Explain AIX exception handling work-around.
7274         Update URL for AIX fixes.
7275
7276 2001-09-07  Jim Wilson  <wilson@redhat.com>
7277
7278         * alias.c (clear_reg_alias_info): New.
7279         * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
7280         * rtl.h (clear_reg_alias_info): Declare.
7281
7282 2001-09-07  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
7283
7284         * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
7285         available.
7286         (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
7287         (m16m,edivm,emulm): Change declaration to match definition.
7288
7289 2001-09-07  Roman Lechtchinsky <rl@cs.tu-berlin.de>
7290
7291         * reload.c (push_reload): Check for subreg_lowpart_p instead of
7292         SUBREG_BYTE being 0 when determining if the inner part of a subreg
7293         can be reloaded.
7294
7295 2001-09-07  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
7296
7297         * c-common.c (signed_or_unsigned_type): Handle machine mode types
7298         which have no corresponding C type.
7299         * fold_const.c (target_isinf,target_isnan,target_negative): Update
7300         the representation of 64-bit doubles to work with 64-bit ints.
7301
7302 2001-09-07  Aldy Hernandez  <aldyh@redhat.com>
7303
7304         * config/mips/mips.c (override_options): Do not override ISA when ABI
7305         specified if MIPS_CPU_STRING_DEFAULT was specified.
7306
7307 2001-09-07  Richard Henderson  <rth@redhat.com>
7308
7309         * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
7310         (express_from_1): Wrap lines.
7311         * rtlanal.c (commutative_operand_precedence): Rename from
7312         operand_preference; export.
7313         * rtl.h: Declare it.
7314         * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
7315         (simplify_binary_operation): Invoke simplify_plus_minus on
7316         (CONST (PLUS ...)) as well.
7317         (struct simplify_plus_minus_op_data): New.
7318         (simplify_plus_minus_op_data_cmp): New.
7319         (simplify_plus_minus): Use them.  Avoid infinite recursion with
7320         simplify_binary_operation wrt CONST.
7321
7322 Fri Sep  7 11:52:30 2001   Kazu Hirata  <kazu@hxi.com>
7323
7324         * h8300-protos.h (general_operand_dst_push): Remove.
7325         * h8300.c (general_operand_dst_push): Likewise.
7326         * h8300.h (OK_FOR_T): Likewise.
7327         (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
7328         * h8300.md (pushqi_h8300): New.
7329         (pushqi_h8300hs): Likewise.
7330         (pushqi): Likewise.
7331         (pushhi_h8300): Likewise.
7332         (pushhi_h8300hs): Likewise.
7333         (pushhi): Likewise.
7334
7335 Fri Sep  7 12:56:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7336
7337         * genattrtab.c (attr_printf): First arg is unsigned.
7338         Clean up formatting of callers.
7339
7340 2001-09-06  Aldy Hernandez  <aldyh@redhat.com>
7341
7342         * config/mips/mips.c (override_options): Allow abi32 with 64 bit
7343         registers.
7344
7345 2001-09-07  Andreas Jaeger  <aj@suse.de>
7346
7347         * i386.h (TARGET_SWITCHES): Fix descriptions.
7348
7349 2001-09-07  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
7350
7351         * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
7352
7353 2001-09-06  Ira Ruben  <ira@apple.com>
7354
7355         Remove OP_IDENTIFIER.
7356         * tree.def (OP_IDENTIFIER): Remove.
7357         * tree.c (tree_node_kind enum): Remove op_id_kind.
7358         (tree_node_kind_names): Remove "op_identifiers".
7359         (make_node): Remove OP_IDENTIFIER test.
7360         (build_op_identifier): Removed because it isn't being used.
7361         * print-tree.c (print_node): Remove OP_IDENTIFIER case.
7362         * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
7363
7364 2001-09-06  Richard Henderson  <rth@redhat.com>
7365
7366         * simplify-rtx.c (simplify_binary_operation): Revert last change.
7367
7368 2001-09-06  Richard Henderson  <rth@redhat.com>
7369
7370         * simplify-rtx.c (simplify_binary_operation): Simplify contents
7371         of CONST.
7372
7373 2001-09-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7374
7375         * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
7376         number used for CR register.
7377
7378 Thu Sep  6 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
7379                           Joern Rennecke (amylaar@cygnus.com)
7380
7381         * h8300-protos.h (h8300_return_addr_rtx): New prototype.
7382         * h8300.c (initial_offset): Handle offset between RP and FP.
7383         (h8300_return_addr_rtx): New function.
7384         * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
7385         return register.
7386         (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
7387         (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
7388         (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
7389         (CAN_ELIMINATE, REGISTER_NAMES):
7390         (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
7391
7392 2001-09-06  Nathan Sidwell  <nathan@codesourcery.com>
7393
7394         Remove TYPE_NONCOPIED_PARTS.
7395         * tree.h (TYPE_NONCOPIED_PARTS): Remove.
7396         (struct tree_type): Remove noncopied_parts.
7397         * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
7398         * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
7399         (fixed_type_p): Remove.
7400         (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
7401         (expand_expr, MODIFY_EXPR): Likewise.
7402         * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
7403         * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
7404
7405 2001-09-06  Alan Modra  <amodra@bigpond.net.au>
7406
7407         * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
7408         compiler warnings.
7409         (mask64_operand): Likewise.
7410         (includes_rldic_lshift_p): Likewise.
7411         (includes_rldicr_lshift_p): Likewise.
7412
7413 2001-09-05  Ziemowit Laski  <zlaski@apple.com>
7414
7415         * objc/objc-act.c (build_message_expr): If a class method cannot
7416         be found, do not issue a warning if a corresponding instance
7417         method exists in the root class.
7418
7419 2001-09-05  Richard Henderson  <rth@redhat.com>
7420
7421         * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
7422
7423 2001-09-05  Zack Weinberg  <zack@codesourcery.com>
7424
7425         * function.c (ggc_mark_struct_function): Mark f->outer.
7426         * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
7427         * integrate.c (output_inline_function): ... not here.
7428
7429 Wed Sep  5 17:28:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
7430
7431         * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
7432
7433         * i386.c (size_cost): New static variable.
7434         (override_function): Use size_cost when -Os is specified.
7435
7436         * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
7437         properly;  Use current_function_calls_eh_return.
7438         (ix86_expand_epilogue): Avoid dummy optimize_size tests;
7439         use leave to avoid dependency chain.
7440
7441         * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
7442         get BB loop_depth instead of computing it from LOOP notes.
7443
7444         * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
7445
7446 2001-09-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7447
7448         * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
7449         * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7450         UNALIGNED_DOUBLE_INT_ASM_OP): Define
7451
7452 2001-09-05  Jeffrey A Law  (law@cygnus.com)
7453             Jason Merrill (jason@redhat.com)
7454
7455         * stor-layout.c (layout_type): Complain if an array's size can
7456         not be represented in a size_t.
7457
7458         * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
7459
7460 2001-09-05  David Billinghurst <David.Billinghurst@riotinto.com>
7461
7462         * gcc.c: (process_command) Add parentheses around assignment
7463         used as truth value.
7464
7465 2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
7466
7467         * config/mips/mips.c (save_restore_insns): Don't mark any register
7468         save slots as unchanging if current_function_calls_eh_return.
7469
7470 2001-09-05  Richard Henderson  <rth@redhat.com>
7471
7472         * config/alpha/alpha.c (alpha_legitimate_address_p): New.
7473         * config/alpha/alpha-protos.h: Declare it.
7474         * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
7475         (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
7476         (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
7477         (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
7478         (REG_OK_FOR_BASE_P): Select one of the above.
7479
7480 2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
7481
7482         * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
7483         (crti.o): Prefix name of object file with $(T).
7484         (crtn.o): Likewise.
7485
7486 2001-09-05  David S. Miller  <davem@redhat.com>
7487
7488         * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
7489         * config/sparc/linux64.h: Likewise.
7490
7491 2001-09-05  Andreas Jaeger  <aj@suse.de>
7492
7493         * doc/invoke.texi (i386 Options): -mwide-multiply is not
7494         available anymore, remove the documentation.
7495         (i386 Options): Fix typo, cleanup index entries.
7496
7497         * prefix.c (concat): Remove, we can use the version from liberty.
7498
7499 2001-09-05  Richard Henderson  <rth@redhat.com>
7500
7501         * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
7502         New functions split out of md file expanders.
7503         * config/alpha/alpha-protos.h: Declare them.
7504         * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
7505
7506 2001-09-05  Neil Booth  <neil@daikokuya.demon.co.uk>
7507
7508         * cppmacro.c (funlike_invocation_p): No need to restore context.
7509
7510 2001-09-04  Richard Henderson  <rth@redhat.com>
7511
7512         * reload.c (push_reload): Export.
7513         * reload.h (push_reload): Declare it.
7514
7515         * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
7516         (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
7517         * config/alpha/alpha.c (alpha_legitimize_address): New.
7518         (alpha_legitimize_reload_address): Likewise.
7519         * config/alpha/alpha-protos.h: Declare them.
7520
7521 2001-09-04  Stan Shebs  <shebs@apple.com>
7522
7523         * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
7524         * config/darwin.c (machopic_stub_name): Account for internally
7525         generated lib calls such as memcpy.
7526
7527 2001-09-04  Richard Henderson  <rth@redhat.com>
7528
7529         * unwind.h (_UA_END_OF_STACK): New flag.
7530         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
7531
7532 Tue Sep  4 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
7533
7534         * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
7535
7536 2001-09-04  Richard Sandiford  <rsandifo@redhat.com>
7537
7538         * config/mips/mips.c (save_restore_insns): Change base_offset to
7539         fp_offset in second call to mips_emit_frame_related_store.
7540
7541 2001-09-04  Hans-Peter Nilsson  <hp@axis.com>
7542
7543         * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
7544         sometimes be represented as a NOTE of type
7545         NOTE_INSN_DELETED_LABEL.
7546         (Insns): Document NOTE_INSN_DELETED_LABEL.
7547
7548 2001-09-04  Nathan Sidwell  <nathan@codesourcery.com>
7549
7550         * c-common.h (tree_dump_index): Add more comments.
7551         * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
7552         (dump_option_value_info): New struct.
7553         (dump_options): New array.
7554         (dump_switch_p): Parse switch options symbolically.
7555         * doc/invoke.texi (-fdump-ast): Rename to ...
7556         (-fdump-tree): ... here. Document that options are symbolic, and
7557         not all are applicable.
7558
7559 2001-09-04  David S. Miller  <davem@redhat.com>
7560
7561         * config/sparc/sparc.md (define_splits): Kill constraints.
7562
7563         Cleanup redundant and unused insn attributes.
7564         * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
7565         binary, and move.  Mark ialu as default.
7566         (commented out define_function_unit "alu"): Kill.
7567         (define_attr "use_clobbered"): Kill.
7568         (whole file): Kill address insn type references.  Replace
7569         all unary/binary/move references with ialu.
7570         * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
7571         references.  Replace TYPE_{UNARY,BINARY,MOVE} references with
7572         TYPE_IALU.
7573
7574         Simplify length insn attribute and make more judicious use
7575         of insn attribute defaulting.
7576         * config/sparc/sparc.md (all insns with length > one): Mark as
7577         insn type multi if real instructions, else use default if
7578         it is a forced splitter.
7579         (all insns with length == one): Use default insn length.
7580         (all insns of type ialu): Use default insn type.
7581
7582         Fix erroneous insn attribute settings.
7583         (addx): Set insn type to misc.
7584         (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
7585         const_umulsidi3_sp64): Set insn type to imul.
7586
7587         Track SFmode vs DFmode insns according to UltraSPARC
7588         scheduling rules.
7589         * config/sparc/sparc.md ("fptype"): New attribute, default
7590         to "single".
7591         (all DFmode single insns): Mark as fptype "double".
7592
7593 2001-09-03  Jakub Jelinek  <jakub@redhat.com>
7594
7595         * loop.c (express_from_1): Fix CONSTANT_P(a) case.
7596
7597 2001-09-03  Richard Henderson  <rth@redhat.com>
7598
7599         * function.h (struct function): Add arg_pointer_save_area_init.
7600         * function.c (expand_function_end): Init arg_pointer_save_area.
7601         (get_arg_pointer_save_area): Do not init arg_pointer_save_area
7602         when called from a nested function.
7603
7604 2001-09-02  Angela Marie Thomas <angela@cygnus.com>
7605
7606         * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
7607         is enabled.
7608
7609 Sun Sep  2 18:37:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
7610
7611         * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
7612
7613 2001-09-01  Geoffrey Keating  <geoffk@redhat.com>
7614
7615         * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
7616         (emit_push_insn): Use specified padding direction when
7617         STACK_PUSH_CODE is POST_INC.
7618
7619         * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
7620
7621 2001-09-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7622
7623         * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
7624
7625 2001-09-01  Neil Booth  <neil@daikokuya.demon.co.uk>
7626
7627         * cppinit.c (cpp_start_read): Free the imacros list as we
7628         traverse it.  Don't free the chains before returning.
7629         (_cpp_push_next_buffer): Only try pushing buffers if we've
7630         completed -imacros handling.
7631
7632 2001-08-31  Eric Christopher  <echristo@redhat.com>
7633
7634         * gcc.c (handle_braces): Add explaination for abort.
7635
7636 2001-08-30  Roman Zippel  <zippel@linux-m68k.org>
7637
7638         * expmed.c (store_bit_field): Update to patch from 2001-08-27:
7639         move adjustment of bitpos instead.
7640
7641 2001-08-31  Zack Weinberg  <zack@codesourcery.com>
7642
7643         * function.c: Remove all_functions.  Make outer_function_chain
7644         static.
7645         (init_function_start): Don't add new function structure to
7646         all_functions.
7647         (find_function_data, push_function_context_to,
7648         pop_function_context_from, put_var_into_stack,
7649         trampoline_address): Update for changed structure element names.
7650         (push_function_context_to): Disentangle.
7651         (free_after_compilation): Also free F.
7652         (expand_dummy_function_end): Don't free cfun here.
7653         (put_var_into_stack): Comment why we can't use find_function_data here.
7654         (fix_lexical_addr, trampoline_address, ): Use find_function_data.
7655         (mark_function_chain): Split into maybe_mark_struct_function and
7656         ggc_mark_struct_function.  Export the latter.
7657         (init_function_once): Mark from cfun and outer_function_chain;
7658         not all_functions.
7659
7660         * function.h (struct function): Kill next_global.  Rename next
7661         to outer.  All users updated to match.
7662         (all_functions, outer_function_chain): Don't declare.
7663
7664         * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
7665         * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
7666         don't touch f->inlinable, after calling rest_of_compilation.
7667
7668         * tree.h: Forward-declare struct function.  Prototype
7669         ggc_mark_struct_function.
7670
7671 2001-08-31  Kazu Hirata  <kazu@hxi.com>
7672
7673         * config/h8300/h8300.md (*andorhi3): Fix typos.
7674
7675 2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7676
7677         * calls.c (emit_library_call_value): Don't use a fixed
7678         argument after VA_CLOSE, i.e. out of scope in traditional C.
7679
7680         * emit-rtl.c (gen_rtvec): Likewise.
7681
7682 2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7683
7684         * Makefile.in (c-pragma.o): Depend on output.h.
7685         (reorg.o): Depend on except.h.
7686
7687         * c-pragma.c: Include output.h.
7688
7689         * reorg.c: Include except.h.
7690
7691         * unwind-dw2.c: Call __builtin_alloca, not alloca.
7692
7693 2001-08-31  Richard Henderson  <rth@redhat.com>
7694
7695         * sched-deps.c (add_dependence): Don't elide dependency if the
7696         conditional used by insn is modified in elem.
7697
7698 2001-08-31  Nick Clifton  <nickc@cambridge.redhat.com>
7699
7700         * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
7701
7702 2001-08-31  Diego Novillo  <dnovillo@redhat.com>
7703
7704         * c-decl.c (c_decode_option): Skip '-f' prefix before calling
7705         dump_switch_p.
7706
7707 2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
7708
7709         * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
7710         function.
7711         (stormy16_asm_out_constructor): New function.
7712         (TARGET_ASM_CONSTRUCTOR): Define.
7713         (TARGET_ASM_DESTRUCTOR): Define.
7714
7715 2001-08-31  Andreas Jaeger  <aj@suse.de>
7716
7717         * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
7718         * loop.c (add_label_notes): Likewise.
7719         * reload.c (find_reloads): Likewise.
7720         * config/sh/sh.c (machine_dependent_reorg): Likewise.
7721
7722 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
7723
7724         * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
7725         code here.  Take _Unwind_{W,Sw}ord*.
7726         (read_encoded_value_with_base): Use them.
7727         * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
7728         words.
7729         (extract_cie_info): Simplify read_?leb128 handling.
7730         (execute_stack_op, execute_cfa_program): Likewise.
7731         * unwind-dw2-fde.c (get_cie_encoding): Likewise.
7732
7733 2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
7734
7735         * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
7736         the frame pointer to pop the stack if convenient.
7737
7738         * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
7739         Don't use post-increment before combine.
7740         * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
7741         a call-saved register.
7742
7743 2001-08-31  Andreas Jaeger  <aj@suse.de>
7744
7745         * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
7746         code was correct.
7747
7748 2001-08-30  Geoffrey Keating  <geoffk@redhat.com>
7749
7750         * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
7751         not DIV/MOD, of course.
7752
7753 2001-08-30  Vladimir Makarov  <vmakarov@redhat.com>
7754
7755         * rtl.def: Undo my patch commited 2001-08-27.
7756
7757         * genattrtab.c: Ditto.
7758
7759         * rtl.h: Ditto.
7760
7761         * sched-int.h: Ditto.
7762
7763         * target-def.h: Ditto.
7764
7765         * target.h: Ditto.
7766
7767         * haifa-sched.c: Ditto.
7768
7769         * sched-rgn.c: Ditto.
7770
7771         * sched-vis.c: Ditto.
7772
7773         * Makefile.in: Ditto.
7774
7775         * doc/md.texi: Ditto.
7776
7777         * doc/tm.texi: Ditto.
7778
7779         * doc/contrib.texi: Ditto.
7780
7781         * doc/gcc.texi: Ditto.
7782
7783         * genattrtab.h: Remove it.
7784
7785         * genautomata.c: Remove it.
7786
7787         * genattr.c: Undo my patch and Richard Henderson's patch commited
7788         2001-08-27.
7789
7790 Thu Aug 30 19:22:15 2001  J"orn Rennecke <amylaar@redhat.com>
7791
7792         * config.gcc (h8300-*-elf*): New case.
7793         * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
7794         (SUBTARGET_CPP_SPEC): Define.
7795         (EXTRA_SPECS): Define.
7796         (SUBTARGET_EXTRA_SPECS): Define.
7797         * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
7798         * config/h8300/elf.h, config/h8300/t-elf: Likewise.
7799
7800 Thu Aug 30 18:50:37 2001  J"orn Rennecke <amylaar@redhat.com>
7801
7802         * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
7803         (LIB2FUNCS_EXTRA): Define.
7804         config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
7805         config/h8300/fixunssfsi.c: New file.
7806
7807 2001-08-30  Kazu Hirata  <kazu@hxi.com>
7808
7809         * config/h8300/h8300.md (zero_extendqihi2): Changes to
7810         define_expand to accommodate target-specific attributes.
7811         (anonymous zero_extendqihi2 patterns): New.
7812
7813 Thu Aug 30 18:10:56 2001  J"orn Rennecke <amylaar@redhat.com>
7814
7815         * h8300.md (*andorhi3): New pattern.
7816
7817 Thu Aug 30 16:00:31 2001  J"orn Rennecke <amylaar@redhat.com>
7818
7819         * h8300.c (dosize): Fix test for "sub".
7820
7821 Thu Aug 30 10:21:43 2001  J"orn Rennecke <amylaar@redhat.com>
7822
7823         * c-typeck.c (pointer_diff): Try to eliminate common term before
7824         doing conversions.
7825
7826 2001-08-30  Nick Clifton  <nickc@cambridge.redhat.com>
7827
7828         * config/arm/arm.c (arm_compute_initial_elimination_offset):
7829         Account for the saves of the FP registers.
7830
7831         * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
7832         (TEXT_SECTION_ASM_OP): Define.
7833         (INIT_SECTION_ASM_OP): Define.
7834         (FINI_SECTION_ASM_OP): Define.
7835         (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
7836         (RDATA_SECTION_FUNCITON): Provide prototype.
7837
7838 2001-08-29  Geoffrey Keating  <geoffk@redhat.com>
7839
7840         * reload1.c (move2add_note_store): Correct typo checking for
7841         argument pushes.
7842
7843 2001-08-29  Andrew MacLeod  <amacleod@redhat.com>
7844
7845         * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
7846         note should not be considered outside the libcall block.
7847
7848 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7849
7850         * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
7851
7852 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7853
7854         * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
7855
7856 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7857
7858         * config/h8300/h8300-protos.h: Add a prototype for
7859         emit_logical_op.
7860         * config/h8300/h8300.c (emit_logical_op): New.
7861         * config/h8300/h8300.md (andhi3): Use emit_logical_op.
7862         (andsi3): Likewise.
7863         (iorhi3): Likewise.
7864         (iorsi3): Likewise.
7865         (xorhi3): Likewise.
7866         (xorsi3): Likewise.
7867
7868 2001-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7869
7870         * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
7871         comparison with rtx INTVAL.
7872         (pa_output_function_prologue): Don't mix signed and unsigned in `?'
7873         expression.
7874         * pa.h (FUNCTION_ARG_SIZE): Likewise.
7875
7876 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7877
7878         * config/h8300/lib1funcs.asm: Update the copyright.  Fix
7879         comment typos.
7880
7881 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7882
7883         * config/h8300/h8300.md (anonymous movhi pattern): Don't move
7884         (reg n) to (mem (pre_dec (reg n))
7885         (anonymous movsi pattern): Likewise.
7886
7887 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7888
7889         * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
7890
7891 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7892
7893         * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
7894         several special constants.
7895
7896 2001-08-29  Kazu Hirata  <kazu@hxi.com>
7897
7898         * config/h8300/lib1funcs.asm: Fix comment typos.
7899
7900 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7901
7902         * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
7903         Fix format specifier warnings.
7904
7905         * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
7906         inet_makeaddr, semctl): Prototype.
7907
7908         * mips.c (compute_frame_size): Fix signed/unsigned warnings.
7909         (save_restore_insns): Use base_offset, not gp_offset.
7910
7911         * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
7912         (ASM_OUTPUT_BYTE): Fix format specifier warning.
7913
7914 2001-08-29  Richard Henderson  <rth@redhat.com>
7915
7916         * bb-reorder.c (function_tail_eff_head): New.
7917         (record_effective_endpoints): Set it.
7918         (fixup_reorder_chain): Use it.
7919
7920 2001-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7921
7922         * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
7923
7924 2001-08-28  Dale Johannesen  <dalej@apple.com>
7925
7926         * config/darwin.c (machopic_function_base_name): Add const
7927         qualifier to a string.
7928         (darwin_encode_section_info): Ditto.
7929
7930 2001-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7931
7932         * tree.c (default_valid_attribute_p): Don't use PARAMS on a
7933         function definition.
7934
7935 2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
7936
7937         * df.h (struct df): Add rts_order variable.
7938
7939         * df.c (df_visit_next_rts): New function.
7940         (df_visit_next): Renamed to df_visit_next_rc
7941         (df_analyse_1): Allocate/compute/free rts_order as well.
7942         (df_rd_global_compute): Use df_visit_next_rc instead of
7943         df_visit_next.
7944         (df_ru_global_compute): Use df_visit_next_rts instead of
7945         df_visit_next.
7946
7947         * flow.c (flow_reverse_top_sort_order_compute): New function.
7948
7949         * basic-block.h: Add prototype.
7950
7951 2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
7952
7953         * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
7954         blocks, the BB_REACHABLE is now set, rather than aux being
7955         non-NULL. Update the test to reflect this.
7956
7957 2001-08-28  Eric Christopher  <echristo@redhat.com>
7958
7959         * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
7960         config/mips/crti.asm: Ditto.
7961
7962 2001-08-28  Eric Christopher <echristo@redhat.com>
7963             Richard Henderson <rth@redhat.com>
7964
7965         * c-pragma.h (add_weak): Move prototype from here...
7966         * output.h (add_weak): ... to here.
7967         * varasm.c (add_weak): Fix typo.
7968         * config/mips/crti.asm: New file.
7969         * config/mips/crtn.asm: Ditto.
7970         * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
7971         (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
7972         (INVOKE__main): Ditto.
7973         (INIT_SECTION_ASM_OP): New.
7974         (FINI_SECTION_ASM_OP): Ditto.
7975         (STARTFILE_SPEC): Add crti.
7976         (ENDFILE_SPEC): Add crtn.
7977         * config/mips/elf64.h: Same.
7978         * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
7979         Remove.
7980         * config/mips/vxworks.h: Ditto.
7981         * config/mips/t-elf: Support crti and crtn.
7982
7983 2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
7984
7985         * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
7986         INSN_LIST.
7987
7988 2001-08-28  Richard Henderson  <rth@redhat.com>
7989
7990         * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
7991         (one_cmplbi2 splitter): Remove redundant test.
7992
7993 2001-08-28  Dale Johannesen  <dalej@apple.com>
7994
7995         * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
7996
7997 2001-08-28  Danny Smith  <dannysmith@users.sourceforge.net>
7998
7999         * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
8000
8001 2001-08-28  Stan Shebs  <shebs@apple.com>
8002
8003         * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
8004         (UNALIGNED_SHORT_ASM_OP): Define.
8005         (UNALIGNED_INT_ASM_OP): Define.
8006
8007 2001-08-28  Will Cohen  <wcohen@redhat.com>
8008
8009         * config/rs6000/rs6000.md (store_multiple): Correct RTL
8010         generation for first set.
8011
8012 2001-08-27  Roman Zippel  <zippel@linux-m68k.org>
8013
8014         * flow.c (redirect_edge_succ_nodup): Return new edge.
8015         (try_simplify_condjump): Use new edge.
8016         * basic-block.h (redirect_edge_succ_nodup): Update prototype.
8017
8018         * cse.c (cse_basic_block): Skip note instructions.
8019
8020 2001-08-27  Richard Henderson  <rth@redhat.com>
8021
8022         * combine.c (combine_simplify_rtx): Don't reverse condition
8023         if there is no reverse for the condition.
8024         (simplify_comparison): Don't simplify subregs from INT to FP.
8025
8026         * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
8027         suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
8028         sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
8029         bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
8030         bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
8031         bunle_rev, bunlt_rev, bltgt_rev): New patterns.
8032
8033 2001-08-27  Roman Zippel  <zippel@linux-m68k.org>
8034
8035         * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
8036         bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
8037         (pushqi1): New.
8038         (adddi_dilshr32, adddi_dishl32): Only data register can be
8039         source for mem destination.
8040
8041         * expmed.c (store_bit_field): Ignore adjustment to bitpos
8042         and use bitnum to decide about register move.
8043
8044 2001-08-27  Richard Henderson  <rth@redhat.com>
8045
8046         * genattr.c (main): Emit state_t even when not doing scheduling.
8047
8048 2001-08-27  Roman Zippel <zippel@linux-m68k.org>
8049             Richard Henderson  <rth@redhat.com>
8050
8051         * gcse.c (reg_first_set, reg_last_set): Replace with ...
8052         (reg_avail_info, current_bb): ... these.
8053         (oprs_unchanged_p, record_last_reg_set_info): Use them.
8054         (compute_hash_table): Likewise.
8055
8056 2001-08-27  Roman Zippel <zippel@linux-m68k.org>
8057
8058         * flow.c (verify_flow_info): Use checksums to verify edges.
8059
8060 2001-08-27  Richard Henderson  <rth@redhat.com>
8061
8062         * genautomata.c (expand_automata): Always create a description.
8063
8064 2001-08-27  Geoffrey Keating  <geoffk@redhat.com>
8065
8066         * optabs.c (expand_binop): Correctly handle the carry in multiword
8067         add/subtract operations.
8068
8069 2001-08-27  Fred Fish  <fnf@be.com>
8070
8071         * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
8072         __SIZE_TYPE__.
8073
8074 2001-08-27  Geoffrey Keating  <geoffk@redhat.com>
8075
8076         * reload.c (find_reloads_toplev): Back out this change:
8077
8078         Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
8079
8080         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
8081         mem if the address is a mode_dependent_address_p.
8082
8083 2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
8084
8085         * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
8086         PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
8087         AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
8088         RTL constructions.
8089
8090         * genattr.c (main): New variable num_insn_reservations.  Increase
8091         it if there is DEFINE_INSN_RESERVATION.  Output automaton based
8092         pipeline hazard recognizer interface.
8093
8094         * genattrtab.h: New file.
8095
8096         * genattrtab.c: Include genattrtab.h.
8097         (attr_printf, check_attr_test, make_internal_attr,
8098         make_numeric_value): Move protypes into genattrtab.h.  Define them
8099         as external.
8100         (num_dfa_decls): New global variable.
8101         (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
8102         DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
8103         DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
8104         DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
8105
8106         * genautomata.c: New file.
8107
8108         * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
8109
8110         * sched-int.h: (curr_state): Add the external definition for
8111         automaton pipeline interface.
8112         (haifa_insn_data): Add comments for members blockage and units.
8113
8114         * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
8115         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
8116         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
8117         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
8118         TARGET_SCHED_DFA_POST_CYCLE_INSN,
8119         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
8120         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
8121         macros.
8122         (TARGET_SCHED): Use the new macros.
8123
8124         * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
8125         dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
8126         first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
8127         dfa_bubble): New members in gcc_target.sched.
8128
8129         * haifa-sched.c (insert_schedule_bubbles_p): New variable.
8130         (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
8131         (insn_queue): Redefine it as pointer to array.
8132         (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
8133         INSN_QUEUE_SIZE.
8134         (max_insn_queue_index_macro_value): New variable.
8135         (curr_state, dfa_state_size, ready_try): New varaibles for
8136         automaton interface.
8137         (ready_element, ready_remove, max_issue): New function prototypes
8138         for automaton interface.
8139         (choose_ready): New function prototype.
8140         (insn_unit, blockage_range): Add comments.
8141         (unit_last_insn, unit_tick, unit_n_insns): Define them for case
8142         FUNCTION_UNITS_SIZE == 0.
8143         (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
8144         actual_hazard, potential_hazard): Add comments.
8145         (insn_cost): Use cost -1 as undefined value.  Remove
8146         LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
8147         pipeline interface.
8148         (ready_element, ready_remove): New functions for automaton
8149         interface.
8150         (schedule_insn): Add new code for automaton pipeline interface.
8151         (queue_to_ready): Add new code for automaton pipeline interface.
8152         Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
8153         (debug_ready_list): Print newline when the queue is empty.
8154         (max_issue): New function for automaton pipeline interface.
8155         (choose_ready): New function.
8156         (schedule_block): Add new code for automaton pipeline interface.
8157         Print ready list before scheduling each insn.
8158         (sched_init): Add new code for automaton pipeline interface.
8159         Initiate insn cost by -1.
8160         (sched_finish): Free the current automaton state and finalize
8161         automaton pipeline interface.
8162
8163         * sched-rgn.c: Include target.h.
8164         (init_ready_list, new_ready, debug_dependencies): Add new code for
8165         automaton pipeline interface.
8166
8167         * sched-vis.c: Include target.h.
8168         (get_visual_tbl_length): Add code for automaton interface.
8169         (target_units, print_block_visualization):  Add comments.
8170
8171         * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
8172         USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
8173         (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
8174         (getruntime.o, genautomata.o): New entries.
8175         (genattrtab.o): Add new dependency file genattrtab.h.
8176         (genattrtab): Add new dependencies.  Link it with `libm.a'.
8177         (getruntime.o, hashtab.o): New entries for canadian cross.
8178
8179         * doc/md.texi: Description of automaton based model.
8180
8181         * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
8182         Add comments.
8183         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
8184         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
8185         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
8186         TARGET_SCHED_DFA_POST_CYCLE_INSN,
8187         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
8188         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
8189         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
8190         hook descriptions.
8191         (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
8192         MAX_DFA_ISSUE_RATE): New macro descriptions.
8193
8194         * doc/contrib.texi: Add dfa based scheduler contribution.
8195
8196         * doc/gcc.texi: Add more information about genattrtab.
8197
8198 2001-08-27  Diego Novillo  <dnovillo@redhat.com>
8199
8200         * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
8201         an RTL basic block.
8202
8203 2001-08-27  Richard Henderson  <rth@redhat.com>
8204
8205         * function.c (expand_function_end): Don't init arg_pointer_save_area.
8206         (get_arg_pointer_save_area): New.  Create an init it here.
8207         (fix_lexical_addr): Use it.
8208         * function.h: Declare it.
8209         * builtins.c (expand_builtin_setjmp_receiver): Use it.
8210         * stmt.c (expand_nl_goto_receiver): Use it.
8211
8212 2001-08-27  Richard Henderson  <rth@redhat.com>
8213
8214         * final.c (final_scan_insn): Don't enter APP_ON mode for
8215         empty asm strings.
8216
8217         * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
8218         alignment for assemble_integer for DW_EH_PE_aligned.
8219         * except.c (output_function_exception_table): Likewise.
8220
8221 2001-08-26  Andreas Jaeger  <aj@suse.de>
8222
8223         * c-tree.h: Add prototyp for c_sizeof_nowarn.
8224
8225 2001-08-25 Dan Nicolaescu  <dann@ics.uci.edu>
8226
8227         * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
8228
8229 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
8230
8231         * config/rs6000/rs6000.c (mask_operand): Rewrite without
8232         bit-shifting loop.
8233         (mask64_operand): Likewise.
8234         (rldic_operand): Delete.
8235         (includes_lshift64_p): Delete.
8236         (includes_rldic_lshift_p): New function.
8237         (includes_rldicr_lshift_p): New function.
8238         (print_operand): Don't call rldic_operand in case 'W'.
8239         * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
8240         (includes_lshift64_p): Remove.
8241         (includes_rldic_lshift_p): Declare.
8242         (includes_rldicr_lshift_p): Declare.
8243         * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
8244         * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
8245         Replace match_operand rldic_operand predicate with
8246         const_int_operand.  Replace includes_lshift64_p condition with
8247         includes_rldic_lshift_p.
8248         <ashldi3_internal 64 bit rldicr patterns>: New.
8249
8250 2001-08-27  Andreas Jaeger  <aj@suse.de>
8251
8252         * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
8253         * errors.c: Likewise.
8254         * final.c: Likewise.
8255         * dwarf2asm.c: Likewise.
8256         * doprint.c (checkit): Likewise.
8257         * diagnostic.c: Likewise.
8258         * collect2.c: Likewise.
8259         * calls.c: Likewise.
8260         * c-semantics.c (build_stmt): Likewise.
8261         * c-format.c (status_warning): Likewise.
8262         * c-errors.c (pedwarn_c99): Likewise.
8263         * builtins.c (validate_arglist): Likewise.
8264         * config/pj/pj.c (pj_printf): Likewise.
8265         * fix-header.c: Likewise.
8266         * gcc.c: Likewise.
8267         * gcov.c (fnotice): Likewise.
8268         * gensupport.c (message_with_line): Likewise.
8269         * mips-tfile.c: Likewise.
8270         * protoize.c (notice): Likewise.
8271         * read-rtl.c (fatal_with_file_and_line): Likewise.
8272         * rtl-error.c: Likewise.
8273         * tradcpp.c: Likewise.
8274         * tree.c: Likewise.
8275         * cp/tree.c (build_min_nt): Likewise.
8276         (build_min): Likewise.
8277         * cp/lex.c: Likewise.
8278         * cp/errfn.c: Likewise.
8279         * cp/rtti.c (create_pseudo_type_info): Likewise.
8280
8281 Sun Aug 26 20:25:44 2001  Denis Chertykov  <denisc@overta.ru>
8282
8283         * df.c (df_uses_record): Return after recording all uses
8284         in ASM_OPERANDS.
8285
8286 2001-08-26  Daniel Berlin  <dan@cgsoftware.com>
8287
8288         * df.c (df_insn_modify): Realloc the INSN table here, if
8289         necessary, here, too.
8290
8291 2001-08-26  Aldy Hernandez  <aldyh@redhat.com>
8292
8293         * config/mips/mips.c (mips_function_value): Handle complex return
8294         values.
8295
8296 2001-08-25  Hans-Peter Nilsson  <hp@bitrange.com>
8297
8298         * reload1.c (reload): Make all entries in reg_equiv_memory_loc
8299         unshared.
8300         * reload.c (make_memloc): Copy result if it is still
8301         reg_equiv_memory_loc[regno] on return.
8302         (subst_reloads) [ENABLE_CHECKING]: Check that none of
8303         reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
8304         reg_equiv_mem are modified by the substitutions.
8305
8306 Sat Aug 25 23:07:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
8307
8308         * predict.c (expensive_function_p): New.
8309         * rtl.h (expensive_function_p): Declare.
8310         * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
8311         (use_fast_prologue_epilogue): New static variable.
8312         (expand_prologue): Set it; emit short prologues if unset.
8313         (expand_epilogue): Likewise.
8314
8315 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
8316
8317         * config.gcc: Add stormy16-*-elf case.
8318         * config/stormy16/stormy-abi: New file.
8319         * config/stormy16/stormy16-lib2.c: New file.
8320         * config/stormy16/stormy16-protos.h: New file.
8321         * config/stormy16/stormy16.c: New file.
8322         * config/stormy16/stormy16.h: New file.
8323         * config/stormy16/stormy16.md: New file.
8324         * config/stormy16/t-stormy16: New file.
8325
8326 Sat Aug 25 15:46:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
8327
8328         * i386.h (no-accumulate-outgoing-args): Use proper mask.
8329
8330 2001-08-24  David Edelsohn  <edelsohn@gnu.org>
8331
8332         * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
8333         descriptor members are pointer size, not constant 4.
8334         * config/rs6000/rs6000.md (define_splits): Remove more unused
8335         constraints.
8336
8337 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8338
8339         * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
8340
8341 2001-08-24  Andreas Jaeger  <aj@suse.de>, rkl@connect.org.uk
8342
8343         * cp/rtti.c (VPARAMS): Fix parameter.
8344
8345 2001-08-24  Zack Weinberg  <zackw@panix.com>
8346
8347         * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
8348         to zero.
8349         (mode_for_extraction): No need for #ifdefs.  Add default-case abort
8350         to switch.
8351         (store_bit_field): Eliminate insv_bitsize variable.  Put HAVE_insv
8352         in if controlling use of insv.
8353         (extract_bit_field): Likewise, for extv and extzv.
8354
8355 Fri Aug 24 17:27:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
8356
8357         * i386.md (movcc peep2): Fix load of 0.
8358
8359 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8360
8361         * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
8362         *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
8363
8364 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
8365
8366         * c-pragma.h: Move weak_syms and weak_decls...
8367         * varasm.c: ...here.  Now static.
8368         (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
8369         depend on HANDLE_PRAGMA_WEAK.
8370
8371         * c-common.c (c_alignof, c_alignof_expr): Move here...
8372         * c-typeck.c: ...from here.
8373         * c-tree.h, c-common.h: Adjust.
8374
8375 2001-08-23  Bernd Schmidt  <bernds@redhat.com>
8376
8377         * config/ia64/ia64.c (rws_update): If !pred, set write_count
8378         instead of incrementing it.
8379
8380         * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
8381         asm ready, don't try to move them all into the same array element.
8382
8383 Thu Aug 23 17:21:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
8384
8385         * function.c (thread_prologue_and_epilogue_insns): Avoid
8386         fallthru flag on edge to exit.
8387
8388         * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
8389
8390         * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
8391         dead edges.
8392
8393 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
8394
8395         * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
8396         * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
8397         * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
8398         Remove prototype.
8399
8400 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
8401
8402         * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
8403         replace "GNU CC" with "GCC".
8404
8405 2001-08-23  Richard Henderson  <rth@redhat.com>
8406
8407         * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
8408         Reorganize.  Handle ADDL like GR, add GR_AND_BR.  Handle TFmode.
8409         (ia64_secondary_reload_class): Need GR between AR/BR and anything.
8410         Need GR between FR and not GR_AND_FR.
8411         * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
8412         * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
8413         AR regs before GR regs.
8414         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
8415         (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
8416         (REGISTER_MOVE_COST): Update.
8417         (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
8418
8419 2001-08-23  Richard Henderson  <rth@redhat.com>
8420
8421         * regclass.c (init_reg_sets_1): Don't assume cost 2 within
8422         a register class.
8423
8424 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
8425
8426         * reload1.c (emit_reload_insns): Don't look for notes
8427         on a NULL store_insn.
8428
8429 2001-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8430
8431         * sparc.c (uns_small_int): Don't reference a constant >32-bit.
8432         (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
8433         (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
8434         format specifier warnings.
8435         (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
8436
8437 2001-08-22  David Billinghurst <David.Billinghurst@riotinto.com>
8438
8439         * config/i386/i386-protos.h: Correct declaration of
8440         i386_pe_asm_named_section.
8441
8442 2001-08-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8443
8444         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
8445         variable i.
8446         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
8447
8448 2001-08-22  Neil Booth  <neil@daikokuya.demon.co.uk>
8449
8450         * cpperror.c (print_location): Don't show _Pragma.
8451         * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
8452         and file change callback generation here.
8453         (stack_include_file): Update use of cpp_push_buffer.
8454         * cpphash.h (_cpp_pop_file_buffer): Update prototype.
8455         (struct cpp_buffer): Remove type, pfile members.
8456         * cppinit.c (cpp_handle_option): Use free_chain.
8457         * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
8458         (skip_escaped_newlines, get_effective_char, lex_percent): Take
8459         a cpp_reader rather than a cpp_buffer.
8460         (skip_escaped_newlines, get_effective_char, skip_block_comment,
8461         skip_line_comment, parse_string, lex_percent, lex_dot,
8462         _cpp_lex_token): Update accordingly.
8463         * cpplib.c (_cpp_pop_buffer): Don't do file change callback
8464         generation here.
8465         (cpp_push_buffer): Update prototype.
8466         (run_directive): Update use of cpp_push_buffer.
8467         (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
8468         handle_assertion): Update use of run_directive.
8469         * cpplib.h (enum cpp_buffer_type): Remove.
8470         (cpp_push_buffer): Update prototype.
8471         * fix-header.c (read_scan_file): Update.
8472
8473 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
8474
8475         * gcc.c (struct prefix_list): Change prefix to const char *.
8476
8477 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
8478
8479         * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
8480
8481 2001-08-22  Jason Merrill  <jason_merrill@redhat.com>
8482
8483         * explow.c (set_mem_attributes): Avoid returning a bogus alias set
8484         from a new MEM.
8485
8486         * jump.c (squeeze_notes): Take parms by reference.  Handle END being
8487         a squeezable note.
8488         * rtl.h: Adjust.
8489         * ifcvt.c (dead_or_predicable): Adjust.
8490         * loop.c (find_and_verify_loops): Adjust.
8491         * stmt.c (expand_end_case): Adjust.
8492         * flow.c (merge_blocks_move_successor_nojumps): Adjust.  Modify the
8493         head and end insn pointers in the basic block, not just local copies.
8494         (merge_blocks_move_predecessor_nojumps): Likewise.
8495
8496 2001-08-22  Lars Brinkhoff  <lars@nocrew.org>
8497
8498         * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
8499         bitmap.h, builtin-types.def, builtins.c, builtins.def,
8500         c-aux-info.c, c-common.c, c-common.def, c-common.h,
8501         c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
8502         c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
8503         c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
8504         caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
8505         conditions.h, config.gcc, configure.frag, configure.in,
8506         conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
8507         cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
8508         dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
8509         doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
8510         dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
8511         emit-rtl.c, errors.c, errors.h, except.c, except.h,
8512         exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
8513         fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
8514         function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
8515         gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
8516         gencheck.c, gencodes.c, genconfig.c, genemit.c,
8517         genextract.c, genflags.c, gengenrtl.c, genmultilib,
8518         genopinit.c, genoutput.c, genpeep.c, genrecog.c,
8519         gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
8520         ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
8521         graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
8522         gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
8523         gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
8524         hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
8525         integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
8526         libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
8527         machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
8528         mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
8529         mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
8530         params.h, predict.c, predict.def, predict.h, prefix.c,
8531         prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
8532         read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
8533         regclass.c, regmove.c, regrename.c, regs.h, reload.c,
8534         reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
8535         rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
8536         sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
8537         sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
8538         ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
8539         stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
8540         tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
8541         tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
8542         unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
8543         unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
8544         xcoffout.h: replace "GNU CC" with "GCC".
8545
8546 2001-08-21  Richard Henderson  <rth@redhat.com>
8547
8548         * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
8549         (final_scan_insn): Consider jump tables data even if we have no
8550         independent text section if !JUMP_TABLES_IN_TEXT_SECTION.  Use
8551         ADDR_VEC_ALIGN.
8552         * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
8553         (ASM_OUTPUT_CASE_END): Remove.
8554         (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
8555         * config/ia64/ia64.md (tablejump): Decode pc-relative references.
8556         * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
8557
8558 2001-08-21  Richard Henderson  <rth@redhat.com>
8559
8560         * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
8561         at barrier insns.  Emit stop bits before barriers.
8562
8563         * flow.c (flow_find_cross_jump): Don't consider unconditional
8564         return insns for commoning.
8565
8566         * final.c (compute_alignments): Fix typo.
8567
8568         * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
8569         (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
8570         (store_bit_field): Use mode_for_extraction more places.
8571         (extract_bit_field): Likewise.
8572
8573 2001-08-21  Zack Weinberg  <zackw@panix.com>
8574
8575         * caller-save.c: Don't include insn-codes.h.
8576         (reg_save_code, reg_restore_code): Make arrays of int.
8577         All uses updated to match.
8578         (insert_save, insert_restore): No need to initialize "code"
8579         variable upon declaration.
8580         * Makefile.in: update dependencies; fix typo in clean rule.
8581
8582 2001-08-21  Richard Henderson  <rth@redhat.com>
8583
8584         * ifcvt.c (find_if_block): Allow join_bb as EXIT.
8585         (merge_if_block): Handle fallout from same.
8586
8587 2001-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8588
8589         * builtins.c (type_to_class): Fix typo in last change.
8590
8591 2001-08-21  Richard Henderson  <rth@redhat.com>
8592
8593         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
8594         ia64_asm_output_label.
8595
8596         * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
8597         copy of gp while the real gp register contains garbage.
8598
8599 2001-08-21  Zack Weinberg  <zackw@panix.com>
8600
8601         * expmed.c (mode_for_extraction): New function.
8602         (store_bit_field, extract_bit_field): Use it.
8603         * expr.h: Prototype it and provide an enum for its first argument.
8604
8605         * combine.c, function.c, recog.c: Don't include insn-codes.h.
8606         Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
8607         and digging through the insn_data tables.
8608         * Makefile.in: Update dependencies.
8609
8610 2001-08-22  Neil Booth  <neil@daikokuya.demon.co.uk>
8611
8612         * cppfiles.c (stack_include_file): line-map.c now handles include
8613         depth.
8614         (handle_missing_handler): Similarly.
8615         (_cpp_execute_include): Similarly.
8616         (_cpp_pop_file_buffer): Similarly.
8617         * cpphash.h (struct cpp_reader): Remove system_include_depth,
8618         buffer_stack_depth and include_depth.
8619         * cpplib.c (do_include_common): line-map.c now handles include depth.
8620         (cpp_push_buffer): Similarly.
8621         (_cpp_pop_buffer): Similarly.
8622         * cppmacro.c (builtin_macro): Update.
8623         * line-map.c (init_line_maps): Set depth.
8624         (add_line_map): Increment "used" earlier.  Update and use the
8625         include depth.
8626         (trace_include): Use the include depth.
8627         * line-map.h (struct line_maps): New member depth.
8628
8629 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
8630
8631         * cppfiles.c (stack_include_file): Don't handle -H here.
8632         * cppinit.c (cpp_start_read): Set include tracing after
8633         cpp_post_options and after stacking the main file.
8634         * line-map.c (trace_include): New.
8635         (init_line_maps, add_line_map): Update.
8636         * line-map.h (struct line_maps): New member trace_includes.
8637
8638 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
8639
8640         * cppfiles.c (stack_include_file): Harmonize system headerness tests.
8641         * cppfiles.c (stack_include_file): Only stack a file if there
8642         is something to do.  Return a boolean indicating whether a
8643         buffer was stacked or not.
8644         (_cpp_execute_include): Similarly.
8645         (_cpp_read_file): Similarly.
8646         * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
8647
8648 2001-08-21  Sam Steingold  <sds@gnu.org>
8649
8650         * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
8651         (RECACHE): keep obufp_before_macroname up to date
8652
8653 2001-08-21  Zack Weinberg  <zackw@panix.com>
8654
8655         * stmt.c: Don't include insn-codes.h.
8656         (expand_end_case): Machine specific logic moved to expr.c.
8657         No need to worry about __builtin_classify_type.
8658         (check_for_full_enumeration_handling, emit_case_nodes):
8659         Kill #if 0 blocks.
8660
8661         * builtins.o (expand_builtin_classify_type): Split up so code
8662         can be shared with fold_builtin_classify_type.
8663         (type_to_class, fold_builtin_classify_type): New functions.
8664         (fold_builtins): Handle __builtin_classify_type.
8665
8666         * expr.c (do_tablejump): Now static.
8667         (case_values_threshold, try_casesi, try_tablejump): New;
8668         code mostly from stmt.c (expand_end_case).
8669         (expr.h): Update prototypes.
8670
8671         * Makefile.in (stmt.o): Update dependencies.
8672
8673 2001-08-21  Will Cohen  <wcohen@redhat.com>
8674
8675         * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
8676         declaration of variable i.
8677         * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
8678         declaration of variable i.
8679
8680 2001-08-21  Richard Henderson  <rth@redhat.com>
8681
8682         * crtstuff.c: Fix thinko last change.  Move list tails to start
8683         of CRT_END section.  Tidy ifdefs.
8684         (__EH_FRAME_BEGIN__): Always static for ELF.
8685         (__do_global_ctors_1): Rename from __frame_dummy.
8686         * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
8687         name change; don't hide __EH_FRAME_BEGIN__.
8688
8689 2001-08-21  Richard Henderson  <rth@redhat.com>
8690
8691         * gdbinit.in: Move break on exit after break on fancy_abort.
8692
8693         * config/ia64/ia64.c (ia64_return_in_memory): True for variable
8694         sized types.
8695
8696 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
8697
8698         * cpphash.h (_cpp_push_next_buffer): New.
8699         * cppinit.c (do_includes): Remove.
8700         (push_include, free_chain, _cpp_push_next_buffer): New.
8701         (cpp_start_read): Use them to rework command line option handling.
8702         (cpp_handle_option): Combine handling of -include and -imacros.
8703         * cpplex.c (_cpp_lex_token): Push a new -include buffer if
8704         appropriate.  Always insert missing \n at EOF.
8705         * cpplib.c (start_directive): Get the directive position right.
8706         * cppmain.c (cb_file_change): Always print the first line, unless
8707         preprocessed.
8708
8709 2001-08-20  Andreas Jaeger  <aj@suse.de>
8710
8711         * profile.c (compute_branch_probabilities): Remove extra new-line
8712         in error message.
8713         * flow.c (verify_flow_info): Likewise.
8714
8715 2001-08-20  Diego Novillo  <dnovillo@redhat.com>
8716
8717         * basic-block.h (basic_block): Add new field 'flags'.
8718         (BB_REACHABLE): Define.
8719         (expunge_block): Declare.
8720         * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
8721         (EXIT_BLOCK_PTR): Ditto.
8722         (expunge_block): Remove static declaration.
8723         (cleanup_cfg): Clear bb->aux on every basic block.
8724         (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
8725         computing reachability.
8726         (delete_unreachable_blocks): Delete block b if b->flags has
8727         BB_REACHABLE unset.
8728
8729 2001-08-20  Diego Novillo  <dnovillo@redhat.com>
8730
8731         * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
8732
8733 2001-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8734
8735         * sparc.c (sparc_variable_issue): Fix typo in last change.
8736
8737 2001-08-20  Richard Henderson  <rth@redhat.com>
8738
8739         * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
8740
8741 2001-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8742
8743         * pa.h (RETURN_IN_MEMORY): Improve comment.
8744
8745 2001-08-20  Janis Johnson  <janis187@us.ibm.com>
8746
8747         * doc/invoke.texi (Profiling options): Clarify the interactions
8748         between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
8749
8750 2001-08-20  Jeffrey Oldham  <oldham@codesourcery.com>
8751
8752         * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
8753         command.
8754
8755 2001-08-20  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
8756
8757         * gcc.c (make_relative_prefix): Allocate a sufficiently large
8758         buffer.
8759
8760 2001-08-20  Richard Henderson  <rth@redhat.com>
8761
8762         * final.c (end_final): Fix typo last change.
8763
8764 2001-08-20  Neil Booth  <neil@daikokuya.demon.co.uk>
8765
8766         * cppinit.c (init_standard_includes): The returned buffer
8767         is already malloc-ed.
8768         * gcc.c (add_prefix): Similarly.
8769         * prefix.c (translate_name): Update to support clear buffer
8770         ownership rules.
8771         (update_path): Similarly.  Be sure to free any newly allocated
8772         key.  UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
8773         (tr): New function.
8774         * prefix.h (update_path): Update prototype and document.
8775         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
8776         up and update to new buffer ownership rules.
8777         * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
8778
8779 Mon Aug 20 01:44:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
8780
8781         * final.c (compute_alignments): New function.
8782         (init_insn_lengths): Do not care label_align.
8783         (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
8784         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
8785         (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
8786         (shorted_branches): Realloc label_align array; do
8787         not call init_insn_lengths; Do not care about loop alignments.
8788         * output.h (compute_alignments): Declare.
8789         * toplev.c (rest_of_compilation): Call compute_alignments.
8790         * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
8791
8792         * predict.c (block_info_def): Add npredecesors, remove nvisited;
8793         change visited to tovisit.
8794         (propagate_freq): Use faster traversing algorithm.
8795         (estimate_loops_at_level, estimate_bb_frequencies): Change visited
8796         to tovisit; reverse meaning.
8797
8798         * predict.c (struct block_info_def): Remove nvisited.
8799         (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
8800         (estimate_bb_frequencies): Call mark_dfs_back_edges.
8801
8802 2001-08-19  Geoffrey Keating  <geoffk@redhat.com>
8803
8804         * doc/invoke.texi (MIPS Options): Document -mfused-madd.
8805         * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
8806         (TARGET_FUSED_MADD): New.
8807         (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
8808         * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
8809         the multiply-add instructions.
8810
8811 2001-08-19  Richard Henderson  <rth@redhat.com>
8812
8813         * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
8814         is aligned to pointer size.
8815
8816 2001-08-19  Richard Henderson  <rth@redhat.com>
8817
8818         * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
8819         display markers during final schedule.
8820
8821 2001-08-19  Richard Henderson  <rth@redhat.com>
8822
8823         * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
8824
8825 2001-08-19  Richard Henderson  <rth@redhat.com>
8826
8827         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
8828         in the same string.
8829         (ASM_NAME_TO_STRING): Remove.
8830         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
8831         in the same string.  Remove support for expressions.
8832
8833 2001-08-19  Richard Henderson  <rth@redhat.com>
8834
8835         * config/i386/i386.md (tablejump): Make an expander; handle
8836         pic relative addressing here.
8837         (tablejump_1): Rename from tablejump_pic.
8838         (casesi): Remove.
8839
8840 2001-08-19  Richard Henderson  <rth@redhat.com>
8841
8842         * regclass.c (fix_register): Fix typo.
8843
8844 2001-08-18  Richard Henderson  <rth@redhat.com>
8845
8846         * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
8847         (struct _Unwind_Context): Expand br_loc to hold it.
8848         (uw_frame_state_for): Handle leaf functions better.
8849         (uw_update_reg_address): Update for br_loc change.
8850
8851 2001-08-18  Richard Henderson  <rth@redhat.com>
8852
8853         * crtstuff.c: Move list heads before code that uses them.
8854         (__JCR_LIST__): Remove initial null.
8855         (frame_dummy, __frame_dummy): Do java registration here ...
8856         (__do_global_ctors_aux): ... not here.
8857
8858         * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
8859         (__do_global_dtors_aux): Update to match.
8860         (__JCR_LIST__, __do_jv_register_classes): New.
8861         (.init): Call it.
8862         * config/ia64/crtend.asm (__JCR_END__): New.
8863         (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
8864         instead of an indirect LTOFF22 reloc.
8865
8866 2001-08-18  Richard Henderson  <rth@redhat.com>
8867
8868         * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
8869         * regclass.c (init_reg_sets_1): Fix typo.
8870         * config/ia64/ia64.c (ar_pfs_reg_operand): New.
8871         (ia64_expand_call): Pass ar.pfs to sibcall expanders.
8872         (ia64_compute_frame_size): Make ar.unat live when in use.
8873         (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
8874         for ar.pfs; remove ar.unat handling.
8875         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
8876         call-saved.
8877         (PREDICATE_CODES): Add ar_pfs_reg_operand.
8878         * config/ia64/ia64-protos.h: Update decls.
8879         * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
8880         (sibcall_pic): Likewise.
8881
8882 2001-08-18  Richard Henderson  <rth@redhat.com>
8883
8884         * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
8885         pred_rel_mutex when searching for insn_group_barrier.
8886         * config/ia64/ia64.md (cycle_display): Combine the expander
8887         and insn patterns.
8888
8889         * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
8890         bit before asm as needed.
8891
8892 2001-08-18  Richard Henderson  <rth@redhat.com>
8893
8894         * timevar.def (TV_MACH_DEP): New.
8895         * toplev.c (rest_of_compilation): Use it.
8896         * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
8897
8898 2001-08-18  Zack Weinberg  <zackw@panix.com>
8899
8900         * unwind-dw2.c (execute_stack_op): Add default aborts to
8901         the inner switches to prevent warnings.
8902
8903 2001-08-18  Richard Henderson  <rth@redhat.com>
8904
8905         * timevar.h (struct timevar_time_def): Change element type to float.
8906         (ticks_to_msec, clocks_to_msec): Likewise.
8907         (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
8908         (get_time): Likewise.
8909         (timevar_print): Adjust zero check and printing to match.
8910
8911 2001-08-18  Zack Weinberg  <zackw@panix.com>
8912
8913         * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
8914         doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
8915         Eliminate overfull or underfull hboxes.
8916
8917 2001-08-18  Zack Weinberg  <zackw@panix.com>
8918
8919         * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
8920
8921 2001-08-18  Zack Weinberg  <zackw@panix.com>
8922
8923         * haifa-sched.c: Convert to target hooks.  Macros replaced
8924         are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
8925         MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
8926         MD_SCHED_FINISH, and HAVE_cycle_display.
8927         * target-def.h (TARGET_SCHED_ADJUST_COST,
8928         TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
8929         TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
8930         TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
8931         TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
8932         New hook #defines to be overridden.
8933         (TARGET_SCHED): Bring them all together.
8934         (TARGET_INITIALIZER): Update.
8935         * target.h: Don't forward declare struct rtx_def.  Use 'rtx'
8936         instead of 'struct rtx_def *' throughout.
8937         (struct sched): New set of hooks for the scheduler.
8938         * Makefile.in (haifa-sched.o): Depend on target.h.
8939         * doc/tm.texi: Document the new scheduler hooks, together in
8940         their own section, instead of scattered around.
8941         Fix a bunch of underfull/overfull hboxes.
8942
8943         * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
8944         ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
8945         sparc.h: Don't define any of the old scheduler macros.
8946
8947         * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
8948         ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
8949         sparc.c: Create hook functions from code extracted from
8950         corresponding target header, or make existing hooks static, as
8951         appropriate.  Set the appropriate entries in targetm.
8952
8953         * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
8954         i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
8955         rs6000-protos.h, s390-protos.h, sparc-protos.h:
8956         Remove prototypes for functions which are now static.
8957
8958         * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
8959         related gunk; the Haifa scheduler is now the only choice.
8960
8961 2001-08-18  Zack Weinberg  <zackw@panix.com>
8962
8963         * optabs.h (OTI_flodiv, flodiv_optab): Kill.
8964         * genopinit.c: Put floating point divide insns in sdiv_optab.
8965         * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
8966         * config/gofast.h, config/c4x/c4x.h,
8967         config/ia64/hpux_longdouble.h, config/mips/mips.h,
8968         config/pa/long_double.h, config/rs6000/sysv4.h,
8969         config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
8970         * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
8971         (init_optabs): Use init_optabv for overflow-trapping optabs.
8972         Don't init flodiv_optab.  Give mov_optab, movstrict_optab, and
8973         cmp_optab RTX codes so have_insn_for can find them.
8974
8975         * optabs.c (expand_simple_binop, expand_simple_unop,
8976         have_insn_for, gen_sub3_insn): New interfaces.
8977         * expr.h: Prototype new functions.
8978         (enum optab_methods): Move here from optabs.h.
8979
8980         * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
8981         loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
8982         Use new functions instead of working directly with optabs.
8983         * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
8984         unroll.c: Don't include optabs.h.
8985         * caller-save.c, combine.c, function.c, stmt.c: Just include
8986         insn-codes.h, not optabs.h.
8987         * Makefile.in: Update dependencies.
8988
8989         * combine.c (make_compound_operation, simplify_comparison):
8990         Fix typos testing for this or that instruction.
8991
8992 2001-08-18  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8993
8994         * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
8995         generating libgcc.a.
8996
8997 2001-08-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8998
8999         * except.c (TYPE_HASH): Delete.
9000
9001         * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
9002         HOST_WIDE_INT.
9003
9004         * tree.c (TYPE_HASH): Delete.
9005
9006         * tree.h (TYPE_HASH): Define.
9007
9008 2001-08-18  Graham Stott  <grahams@redhat.com>
9009
9010         * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
9011         define_split.
9012         (adddi3_internal_2+2): Likewise.
9013         (eh_set_lr_di+1): Likewise.
9014
9015 2001-08-17  Richard Henderson  <rth@redhat.com>
9016
9017         * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9018         UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
9019         * dwarf2asm.c: ... here.
9020         * dwarfout.c: Remove them.
9021
9022         * varasm.c (assemble_integer): Add align parameter.
9023         (assemble_real, output_constant, output_constructor): Likewise.
9024         * output.h: Update decls.
9025         * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
9026         config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
9027         config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
9028         config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
9029         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
9030         Update all callers.
9031
9032         * final.c (end_final): Abort profile block generation if we
9033         havn't layed it out properly.
9034         * output.h (assemble_eh_integer): Remove stale decl.
9035         * varasm.c (assemble_zeros): Tidy; use assemble_integer.
9036         (min_align): New.
9037         (assemble_integer): Handle unaligned data.
9038         (assemble_real): Abort on unaligned data.
9039         (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
9040         anything useful.
9041         (default_dtor_section_asm_out_destructor): Use assemble_align.
9042         (default_named_section_asm_out_constructor): Likewise.
9043         (default_ctor_section_asm_out_constructor): Likewise.
9044         * config/darwin.c (machopic_asm_out_constructor): Likewise.
9045         (machopic_asm_out_destructor): Likewise.
9046         * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
9047         (nextstep_asm_out_destructor): Likewise.
9048         * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
9049         (vms_asm_out_destructor): Likewise.
9050
9051 2001-08-17  Richard Henderson  <rth@redhat.com>
9052
9053         * config/mips/iris6.h (TARGET_IRIX6): New.
9054         (current_section_name, current_section_flags): New.
9055         (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
9056         (MAX_OFILE_ALIGNMENT): New.
9057         (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
9058         * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
9059         (copy_file_data): Split out from
9060         (mips_asm_file_end): ... here.
9061         (mips_asm_file_start): Remove extra .section directive.  Use
9062         tmpfile instead of mips_make_temp_file.
9063         (mips_unique_section): Use const char * as needed for warnings.
9064         (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
9065         re-add align parameter.
9066         (iris6_asm_named_section): New.
9067         (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
9068         (iris6_asm_output_align, iris6_section_align_1): New.
9069         (iris6_asm_file_start, iris6_asm_file_end): New.
9070         * config/mips/mips-protos.h: Update decls.
9071
9072 2001-08-17  Janis Johnson  <janis187@us.ibm.com>
9073
9074         * doc/install.texi (Install GCC): Add links to build status pages.
9075         (Specific): Ditto.
9076         (Final install): Ditto; request updates for specific info
9077
9078 2001-08-17  Neil Booth  <neil@daikokuya.demon.co.uk>
9079
9080         * cpperror.c (print_location):  Don't take a file name; use the
9081         line map instead.
9082         (_cpp_begin_message): Similarly.
9083         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
9084         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
9085         (cpp_pedwarn_with_file_and_line): Remove.
9086         * cppfiles.c (stack_include_file): Update; set filename to stdin
9087         here when appropriate.
9088         * cpphash.h (struct cpp_buffer): Remove nominal_fname.
9089         (_cpp_begin_message): Don't take a file name.
9090         * cppinit.c: Add comment.
9091         * cpplex.c: Fix end-of-directive indicator.
9092         * cpplib.c: Don't include intl.h.
9093         (run_directive, do_diagnostic): Update.
9094         (do_line): Update to not use nominal_fname.
9095         (cpp_push_buffer): Don't take a filename.
9096         * cpplib.h (struct ht): Remove.
9097         (cpp_push_buffer): Don't take a filename.
9098         (cpp_pedwarn_with_file_and_line): Remove.
9099         * cppmacro.c (struct cpp_macro): Remove file.
9100         (builtin_macro): Update.
9101         (_cpp_create_definition): Update.
9102         * cppmain.c: Correct comment.
9103         * fix-header.c (read_scan_file): Update.
9104
9105 2001-08-17  Kazu Hirata  <kazu@hxi.com>
9106
9107         * sbitmap.c: Fix comment formatting.
9108         * sched-deps.c: Likewise.
9109         * sibcall.c: Likewise.
9110         * simplify-rtx.c: Likewise.
9111         * ssa.c: Likewise.
9112         * ssa-ccp.c: Likewise.
9113         * stor-layout.c: Likewise.
9114         * timevar.c: Likewise.
9115         * toplev.c: Likewise.
9116         * unwind-dw2.c: Likewise.
9117         * unwind-dw2-fde.c: Likewise.
9118         * varasm.c: Likewise.
9119
9120 2001-08-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9121
9122         * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
9123         or larger than an integer in memory.
9124
9125 2001-08-17  Zack Weinberg  <zackw@panix.com>
9126
9127         * system.h: Forward-declare struct rtx_def, struct rtvec_def,
9128         and union tree_node.  Typedef rtx, rtvec, and tree.  Fix comment.
9129         * rtl.h: Don't forward-declare union tree_node here.  Don't
9130         typedef rtx or rtvec here.  Change all uses of struct rtx_def *,
9131         struct rtvec_def *, or union tree_node * to use rtx, rtvec,
9132         and tree respectively.
9133         * tree.h: Don't forward-declare struct rtx_def here.  Don't
9134         typedef tree here.  Change all uses of struct rtx_def *,
9135         struct rtvec_def *, or union tree_node * to use rtx, rtvec,
9136         and tree respectively.
9137
9138 2001-08-17  Richard Henderson  <rth@redhat.com>
9139
9140         * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
9141         config/mips/openbsd.h: Fix typos last change.
9142
9143 2001-08-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9144
9145         * doc/invoke.texi (Optimize Options): The default for
9146         -finline-limit is 600.
9147
9148 2001-08-17  Richard Henderson  <rth@redhat.com>
9149
9150         * varasm.c (text_section): Allow TEXT_SECTION to override the
9151         printing of TEXT_SECTION_ASM_OP.
9152         * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
9153         (DATA_SECTION, BSS_SECTION): Remove.
9154         * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
9155         RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
9156         Rename from s/_NAME//.
9157         * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
9158         (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
9159         (TEXT_SECTION): ... here.  New.
9160         * config/mips/elf.h (TEXT_SECTION): New; no file switching.
9161         * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
9162         * config/mips/openbsd.h: Likewise.
9163         * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
9164         (mips_asm_file_end): Likewise test.
9165         (mips_output_function_epilogue): Likewise.  Switch back to data
9166         section after emitting the function.
9167
9168         * doc/tm.texi (Sections): Document TEXT_SECTION.
9169
9170 2001-08-17  Richard Henderson  <rth@redhat.com>
9171
9172         * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
9173         (dwarf2out_finish): Do it here.  Emit .debug_loc before .debug_info.
9174
9175 2001-08-17  Richard Henderson  <rth@redhat.com>
9176
9177         * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
9178         * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
9179         __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
9180         Add aligned attribute.
9181
9182 2001-08-17  Andrew Haley  <aph@cambridge.redhat.com>
9183
9184         * config/sh/sh.md: Add modes to unspecs in first insn to match
9185         those in the second.
9186
9187         * Makefile.in: Fix collect2 copy for Cygwin.
9188
9189 Fri Aug 17 15:48:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
9190
9191         Install the proper patch.
9192         * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
9193         (assign_params): Avoid setting DECL_RTL to unfinished RTX.
9194         (expand_function_start): Likewise.
9195         * stmt.c (expand_decl): Likewise.
9196         * varasm.c (make_decl_rtx): Likewise.
9197
9198 Fri Aug 17 15:41:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
9199
9200         * final.c: Undo my previous accidental checkin.
9201         * output.h: Likewise.
9202         * tm.texi: Likewise.
9203
9204 2001-08-16  Richard Henderson  <rth@redhat.com>
9205
9206         * varasm.c (named_section_flags): Remove align parameter.
9207         * varasm.c, dwarf2out.c: Update all callers.
9208         * output.h: Update prototypes.
9209
9210         * target.h (target.asm_out.named_section): Remove align parameter.
9211         * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
9212         config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
9213         config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
9214         config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
9215         config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
9216
9217         * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
9218         (get_named_section_flags, set_named_section_flags): New.
9219         (named_section_flags): Use them.
9220         (named_section): Do decl vs section flags check here...
9221         (default_section_type_flags): ... not here.
9222         (init_varasm_once): Create in_named_htab.
9223         (resolve_unique_section): Mark reloc unused.
9224
9225 2001-08-16  Richard Henderson  <rth@redhat.com>
9226
9227         * varasm.c (force_const_mem): Keep pool alignment in bits.
9228         (output_constant_pool): Use assemble_align.
9229
9230 2001-08-16  Zack Weinberg  <zackw@panix.com>
9231
9232         * doc/tm.texi: Remove extra @table command.
9233
9234 2001-08-16  Zack Weinberg  <zackw@panix.com>
9235
9236         * final.c (shorten_branches): Clear the end of the label_align
9237         array only if we made it larger.  Break up messy expressions
9238         for clarity.
9239
9240         * diagnostic.c (internal_error): Check for error recursion
9241         before doing ICE suppression.
9242
9243         * timevar.c: Timing variables now count in milliseconds.
9244         (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
9245         (get_time): Not here.
9246         (timevar_print): Don't print any timer whose user, cpu, and
9247         wall times are all zero as displayed.
9248         * timevar.h: Update comment aboout units.  Make timevar
9249         counters unsigned.
9250
9251 Thu Aug 16 17:39:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
9252
9253         * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
9254         (assign_params): Avoid setting DECL_RTL to unfinished RTX.
9255         (expand_function_start): Likewise.
9256         * stmt.c (expand_decl): Likewise.
9257         * varasm.c (make_decl_rtx): Likewise.
9258
9259 2001-08-16  Jason Merrill  <jason_merrill@redhat.com>
9260
9261         * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
9262         (finalize_record_size): Don't set TYPE_USER_ALIGN.
9263
9264 2001-08-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
9265
9266         * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
9267         variables.
9268
9269 2001-08-16  Andreas Jaeger  <aj@suse.de>
9270
9271         * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
9272         prototype.
9273
9274 Wed Aug 15 15:22:52 EDT 2001  John Wehle  (john@feith.com)
9275
9276         * rtl.h (only_sets_cc0_p): New prototype.
9277         * jump.c (sets_cc0_p): Handle INSN.
9278         (only_sets_cc0_p): New function.
9279         * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
9280         (tidy_fallthru_edge): Likewise.
9281         * integrate.c (copy_insn_list): Likewise.
9282         * unroll.c (unroll_loop): Likewise.
9283         (copy_loop_body): Likewise.
9284
9285 2001-08-15  Jason Eckhardt  <jle@redhat.com>
9286
9287         * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
9288
9289 Wed Aug 15 14:24:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
9290
9291         * predict.c (struct block_info_def): Remove nvisited.
9292         (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
9293         (estimate_bb_frequencies): Call mark_dfs_back_edges.
9294
9295         * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium
9296         (ix86_adjust_cost): Teach scheduler that latency to load operand can
9297         be masked.
9298
9299 Wed Aug 15 12:41:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
9300
9301         * predict.def: Update hitrates.
9302
9303 2001-08-15  Richard Henderson  <rth@redhat.com>
9304
9305         * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
9306
9307 Tue Aug 14 17:30:59 2001  Jeffrey A Law  (law@cygnus.com)
9308
9309         * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
9310         note from its associated jump.
9311
9312 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
9313
9314         * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
9315         also on 64-bit s390x targets.
9316
9317 2001-08-14  Nick Clifton  <nickc@cambridge.redhat.com>
9318
9319         * config/arm/arm.c (arm_compute_initial_elimination_offset): New
9320         function.
9321         (arm_expand_prologue): Handled nested functions which take a
9322         variable argument list.
9323         * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
9324         macro with an invocation of
9325         arm_compute_initial_elimination_offset.
9326         * config/arm/arm-protos.h: Prototype
9327         arm_compute_initial_elimination_offset.
9328
9329 2001-08-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9330
9331         * doc/install.texi (Specific, avr): Fix markup.
9332         (Specific, c4x): Ditto.
9333
9334 2001-08-14  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
9335
9336         * predict.c (dump_prediction): Change `bool' parameter to `int'.
9337
9338 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
9339
9340         * Makefile.in (OBJS): Add rtl-error.o
9341         (rtl-error.o): New rule.
9342         (diagnostic.o): Adjust dependency.
9343         diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
9344         error_for_asm, _fatal_insn, _fatal_insn_not_found,
9345         warning_for_asm): Move to...
9346         rtl-error.c: ...here.  New file.
9347
9348 2001-08-14  Richard Henderson  <rth@redhat.com>
9349
9350         * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
9351         if USING_SJLJ_EXCEPTIONS.
9352
9353 2001-08-14  Steve Ellcey <sje@cup.hp.com>
9354
9355         * tlink.c (scan_linker_output): Check string for unsatisfied in
9356         addition to undefined and unresolved.
9357
9358 2001-08-14  Graham Stott  <grahams@redhat.com>
9359
9360         * libgcc2.c (*): Replace EH_FRAME_SECTION with
9361         EH_FRAME_SECTION_NAME.
9362
9363 Tue Aug 14 14:57:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
9364
9365         * genattrtab.c (simplify_test_exp_in_temp): New function.
9366         (simplify_test_exp): Avoid explicit use of temporary obstack.
9367         (simplify_cond, insert_right_side, evaluate_eq_attr,
9368         simplify_and_tree, simplify_or_tree, eliminate_known_true):
9369         Use simplify_test_exp_in_temp.
9370         (optimize_attrs): Iterate until expression stabilizes.
9371
9372 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>:
9373
9374         * glimits.h: Remove the __LONG_MAX__ special case for s390x.
9375         * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
9376
9377 2001-08-13  Richard Henderson  <rth@redhat.com>
9378
9379         * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
9380         (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
9381         * config/arm/conix-elf.h: Likewise.
9382
9383 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
9384
9385         * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
9386         in gcc.c.
9387         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
9388
9389         * gcse.c (hash_scan_set): Expressions that are set as part of
9390         jump instructions are not available.
9391
9392 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
9393
9394         * config/s390/s390.c (print_operand, s390_function_prologue,
9395         s390_va_start): Fixed HOST_WIDE_INT type mismatch.
9396
9397 2001-08-13  Richard Henderson  <rth@redhat.com>
9398
9399         * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
9400         * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
9401         * doc/tm.texi (Exception Region Output): Document it.
9402
9403 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
9404
9405         * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
9406         DWARF2 instead of stabs by default.
9407
9408 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
9409
9410         * config/rs6000/rs6000.c: Include optabs.h.
9411
9412 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
9413
9414         * config/rs6000/eabi.asm: Define 64-bit versions of FPR
9415         save/restore routines.
9416         * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
9417
9418 2001-08-13  Andreas Jaeger  <aj@suse.de>
9419
9420         * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
9421         the english is correct.
9422
9423 2001-08-13  Zack Weinberg  <zackw@panix.com>
9424
9425         * expr.h: Split out optab- and libfunc-related code to...
9426         * optabs.h, libfuncs.h: ... these new headers.
9427
9428         * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
9429         (OPTABS_H): New.
9430         (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
9431         dependencies.
9432         * mkconfig.sh: Don't include insn-codes.h from config.h.
9433
9434         * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
9435         enum insn_code is available.  Move reload_in_optab and
9436         reload_out_optab array declarations to optabs.h.
9437         * regmove.c (gen_add3_insn): Move to optabs.c, export from
9438         there, prototype in expr.h.
9439         * gencodes.c: Cleanup: zap global variables, don't use
9440         printf where puts will do, don't bother defining MAX_INSN_CODE
9441         which nothing uses, let CODE_FOR_nothing get its value implicitly.
9442
9443         * genemit.c, genopinit.c: Include optabs.h in generated file.
9444         * genoutput.c: Include insn-codes.h in generated file.
9445         * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
9446         expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
9447         reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
9448         config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
9449         config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
9450         config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
9451         Include optabs.h.
9452         * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
9453         optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
9454         config/m88k/m88k.c, config/sparc/sparc.c:
9455         Include libfuncs.h.
9456         * reload.c: Include expr.h and optabs.h before reload.h.
9457         * config/alpha/alpha.c: Include tree.h before reload.h.
9458         * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
9459         and reload.h in that order.
9460         * config/sparc/sparc.c: Include debug.h.
9461         * recog.c: Include insn-codes.h.
9462
9463 2001-08-13  Andreas Jaeger  <aj@suse.de>
9464
9465         * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
9466         s390*linux.
9467
9468 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
9469
9470         * dwarf2out.c (output_cfa_loc): Fix typo in comment.
9471         * gcc.c (init_spec): Fix typo in comment.
9472         * varasm.c (data_section): Fix typo in comment.
9473
9474 Mon Aug 13 02:27:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
9475
9476         * predict.c (dump_prediction): New argument "USED".
9477         (combine_predictions_for_insn): Determine the used heuristics,
9478         output the case no heuristic applied.
9479         * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
9480
9481 2001-08-13  Andreas Jaeger  <aj@suse.de>
9482
9483         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
9484         register %rip.
9485
9486 2001-08-13  Kazu Hirata  <kazu@hxi.com>
9487
9488         * jump.c: Fix formatting.
9489
9490 2001-08-13  Kazu Hirata  <kazu@hxi.com>
9491
9492         * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
9493         length.
9494
9495 2001-08-12  Geoffrey Keating  <geoffk@redhat.com>
9496
9497         * loop.c (check_dbra_loop): Use condjump_label to compute
9498         jump_label.
9499
9500         * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
9501         to better document the files they're in.
9502
9503 2001-08-12  Zack Weinberg  <zackw@panix.com>
9504
9505         * recog.h (struct insn_operand_data): Shrink 'mode' field
9506         to 16 bits.
9507
9508 2001-08-12  Kazu Hirata  <kazu@hxi.com>
9509
9510         * gcc.c: Fix comment formatting.
9511         * gccspec.c: Likewise.
9512         * gcov.c: Likewise.
9513         * gcse.c: Likewise.
9514         * genemit.c: Likewise.
9515         * gengenrtl.c: Likewise.
9516         * genrecog.c: Likewise.
9517         * gensupport.c: Likewise.
9518         * ggc-page.c: Likewise.
9519         * global.c: Likewise.
9520         * graph.c: Likewise.
9521         * ifcvt.c: Likewise.
9522         * integrate.c: Likewise.
9523         * lcm.c: Likewise.
9524         * libgcc2.c: Likewise.
9525         * loop.c: Likewise.
9526         * mbchar.c: Likewise.
9527         * optabs.c: Likewise.
9528         * predict.c: Likewise.
9529         * prefix.c: Likewise.
9530         * profile.c: Likewise.
9531         * protoize.c: Likewise.
9532         * real.c: Likewise.
9533         * recog.c: Likewise.
9534         * regclass.c: Likewise.
9535         * regmove.c: Likewise.
9536         * reg-stack.c: Likewise.
9537         * reload1.c: Likewise.
9538         * resource.c: Likewise.
9539         * rtlanal.c: Likewise.
9540         * rtl.c: Likewise.
9541
9542 2001-08-12  Kazu Hirata  <kazu@hxi.com>
9543
9544         * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
9545         a tree representing a constant is passed to the macro.
9546
9547 2001-08-12  Richard Henderson  <rth@redhat.com>
9548
9549         * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
9550         (rs6000_elf_asm_out_destructor): New.
9551         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
9552         (DTORS_SECTION_ASM_OP): Remove.
9553         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9554         (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
9555
9556 2001-08-12  David Edelsohn  <edelsohn@gnu.org>
9557
9558         Revert:
9559         2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9560         * gcc.c (set_collect_gcc_options): New function, split out from
9561         main.
9562         Ignore elided switches.
9563         (do_spec_1): Invoke before executing command.
9564         (set_input): Export.
9565         Move declaration ...
9566         * gcc.h (set_input): ... here.
9567         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
9568         file.
9569
9570 2001-08-12  Richard Henderson  <rth@redhat.com>
9571
9572         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
9573         thinko wrt TARGET_RELOCATABLE.
9574
9575 2001-08-12  Neil Booth  <neil@daikokuya.demon.co.uk>
9576
9577         * fix-header.c (cb_file_change): Update prototype.
9578
9579 2001-08-11  Zack Weinberg  <zackw@panix.com>
9580
9581         * toplev.c (set_float_handler): Make static.
9582         * toplev.h: Don't prototype set_float_handler.
9583
9584         * simplify-rtx.c: Don't include setjmp.h.
9585         (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
9586         New functions.
9587         (simplify_unary_operation, simplify_binary_operation): Use them,
9588         via do_float_handler.
9589
9590         * fold-const.c: Don't include setjmp.h.
9591         (exact_real_inverse_1): New function.
9592         (exact_real_inverse): Use it, via do_float_handler.
9593
9594         * varasm.c: Don't include setjmp.h.
9595         (assemble_real_1): New function.
9596         (assemble_real): Use it, via do_float_handler.
9597         Call internal_error if we get a trap here.
9598
9599         * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
9600         config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
9601
9602 2001-08-11  Zack Weinberg  <zackw@panix.com>
9603
9604         * defaults.h: Define PREFERRED_STACK_BOUNDARY to
9605         STACK_BOUNDARY if not already defined.
9606
9607         * calls.c, function.c, reload1.c, explow.c: Don't default
9608         PREFERRED_STACK_BOUNDARY.  Remove all #if/#ifdef on
9609         PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
9610
9611         * explow.c (allocate_dynamic_stack_space): Change unsafe #if
9612         to run-time test.
9613
9614         * doc/tm.texi: Document that STACK_BOUNDARY is required;
9615         clarify difference between it and PREFERRED_STACK_BOUNDARY.
9616
9617 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9618
9619         * cppmacro.c (enter_macro_context): Push macro expansions even
9620         if empty.
9621
9622 2001-08-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9623
9624         * config/rs6000/rs6000.c: Include integrate.h to silence warning.
9625         (rs6000_elf_section_type_flags): Actually return a value.
9626
9627 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
9628
9629         * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
9630         Clean up code: add missing comments and prototypes, fix warnings,
9631         remove obsolete code, fix spacing to conform to coding style.
9632
9633 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
9634
9635         * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
9636         and TARGET_ASM_CLOSE_PAREN.
9637         (regclass_map): CC register belongs to class NO_REGS.
9638         (legitimize_pic_address): Don't generate unnecessary moves
9639         (to avoid confusing loop optimization).
9640         (check_and_change_labels): Replace jump_long by indirect_jump.
9641         (s390_final_chunkify): Don't start a new literal pool on section
9642         switch in 64-bit code.
9643         (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
9644
9645         * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
9646         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
9647         (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
9648         modes correctly.
9649         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
9650         (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
9651         (CONST_COSTS): Fixed incorrect costs.
9652
9653         * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
9654         Use emit_jump instead of emit_jump_insn (gen_jump).
9655         (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
9656         (to avoid confusing flow analysis).
9657         (tablejump, tablejump1, tablejump2): Removed.  Replaced by casesi.
9658         (casesi, casesi_jump): New.
9659         (jump_long): Removed.  Functionality merged into indirect_jump.
9660         (indirect_jump): Accept address_operand, not just register_operand.
9661         (cjump_long, icjump_long): Use same logic as indirect_jump.
9662         (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
9663         Fixed broken setjmp/longjmp handling.
9664         (do_builtin_setjmp_setup): Removed.
9665
9666         * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
9667         broken GNU as versions that don't accept .quad with large
9668         negative values.  Use hexadecimal output instead.
9669         (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
9670         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
9671         FUNCTION_EPILOGUE): Removed.  Now in targetm.
9672
9673         * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
9674
9675         * config/s390/fixdfdi.h: Add missing copyright statement.
9676         Fix type conflicts on 64-bit.  Add missing SFmode routines.
9677
9678         * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
9679         email address.
9680
9681 2001-08-11  Richard Henderson  <rth@redhat.com>
9682
9683         * rtl.h (REG_EH_RETHROW): Remove.
9684         * rtl.c (reg_note_name): Update.
9685         * combine.c (distribute_notes): Don't check for it.
9686
9687 2001-08-11  Richard Henderson  <rth@redhat.com>
9688
9689         * combine.c (distribute_notes): Place REG_SETJMP.
9690
9691 2001-08-11  Richard Henderson  <rth@redhat.com>
9692
9693         * doc/extend.texi (Arrays and pointers implementation): Discourage
9694         relying on sign-extension of pointers.
9695
9696 2001-08-11  H.J. Lu <hjl@gnu.org>
9697
9698         * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
9699         in_dtors.
9700         (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
9701         RDATA_SECTION_ASM_OP.
9702
9703 2001-08-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9704
9705         * doc/install.texi (Specific, c4x): Fix cross-reference to the
9706         main manual to work both for info and HTML versions.
9707
9708 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9709             Matt Kraai <kraai@alumni.carnegiemellon.edu>
9710
9711         * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
9712         * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
9713         (struct cpp_pool): New member first.
9714         * cppinit.c (append_include_chain): Plug memory leaks.
9715         * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
9716         Allocate pragma structures from the (aligned) macro pool to
9717         avoid leaking memory.
9718         * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
9719         so we don't leak memory.
9720         * hashtable.c (ht_destroy): New.
9721         * hashtable.h (ht_destroy): New.
9722
9723 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9724             Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9725
9726         * c-lex.c (map): Make const.
9727         (cb_file_change): Update for callback passing a line map.
9728         Don't assume we have a previous map.  Remove sanity check
9729         about popping too many files.
9730         * cpperror.c (print_location): Make map const.
9731         * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
9732         (cpp_make_system_header): Similarly.
9733         (search_from): Similarly.
9734         (_cpp_execute_include): Don't remember where we came from.
9735         * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
9736         (struct cpp_reader): Make map const.
9737         (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
9738         * cpplib.c (do_line): Update; line maps now hold sysp.
9739         (cpp_push_buffer): Similarly.
9740         (_cpp_do_file_change): Similarly; callback with map instead.
9741         (cpp_get_line_maps): Constify return value.
9742         (_cpp_pop_buffer): Update.
9743         * cpplib.h (struct cpp_file_change): Remove.
9744         (struct cpp_callbacks): Update.
9745         (cpp_get_line_maps): Constify return value.
9746         * cppmacro.c (_cpp_create_definition): Update.
9747         * cppmain.c (struct printer): Constify map.
9748         (maybe_print_line): Similarly.
9749         (print_line): Similarly.  Deduce flags 1 and 2 here.
9750         (cb_file_change): Update.
9751         * line-map.c (free_line_maps): Warn regardless.
9752         (add_line_map): Return pointer to const.  When passed NULL to_file
9753         with LC_LEAVE, use the obvious values for the return point so the
9754         caller doesn't have to figure them out.
9755         (lookup_line): Return pointer to const.
9756         (print_containing_files): Take pointer to const.
9757         * line-map.h (struct line_map): New members reason, sysp.
9758         (add_line_map): Return pointer to const.
9759         (lookup_line): Similarly.
9760         (print_containing_files): Take pointer to const.
9761
9762 2001-08-10  Roman Zippel  <zippel@linux-m68k.org>
9763             Richard Henderson  <rth@redhat.com>
9764
9765         * regmove.c (regmove_optimize): Avoid setting a register twice in
9766         a parallel set.
9767
9768 2001-08-10  Richard Henderson  <rth@redhat.com>
9769
9770         * doc/extend.texi (Arrays and pointers implementation): Document
9771         behavior of pointer/integer conversion.
9772
9773 2001-08-10  Ulrich Weigand  <uweigand@de.ibm.com>
9774
9775         * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
9776
9777 2001-08-10  Richard Henderson  <rth@redhat.com>
9778
9779         * doc/extend.texi (C Implementation): New chapter.
9780         * doc/gcc.texi (Top): Link it in.
9781
9782 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
9783
9784         * doc/install.texi (Specific): Fix CVS merge botch.
9785
9786 2001-08-10  Richard Henderson  <rth@redhat.com>
9787
9788         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
9789         ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
9790
9791 2001-08-10  Zack Weinberg  <zackw@stanford.edu>
9792
9793         * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
9794         if not already defined.  Remove all #ifdefs on STACK_BOUNDARY;
9795         this macro is now required.
9796
9797         * cselib.c (cselib_process_insn), flow.c (propagate_block),
9798         loop.c (find_and_verify_loops), reload.c (reload): Check
9799         for rtx code of CALL_INSN, not CALL, when deciding if we
9800         need to check for REG_SETJMP note.
9801
9802         * gcse.c (compute_hash_table, compute_store_table): Update
9803         the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
9804         logic.
9805
9806         * config/avr/avr.c: Fix typo.
9807         * config/convex/convex.c (expand_movstr): Use adjust_address.
9808         * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
9809         variable.
9810         * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
9811         * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
9812         Fix typo.
9813         * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
9814         Do define STACK_BOUNDARY.
9815         * config/i370/i370.c: Include expr.h.
9816         * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
9817         config/pa/som.h, config/v850/v850.h: Take in_ctors and
9818         in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
9819         and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
9820         * config/m88k/m88k.c: Include c-tree.h after expr.h.
9821         * config/pdp11/pdp11.c: Include expr.h and toplev.h.
9822         * config/romp/romp.c: Include expr.h after tree.h.
9823         Include toplev.h.
9824         (output_fpop): Use xmalloc, not oballoc.
9825         * config/we32k/we32k.c: Include expr.h.
9826
9827 2001-08-10  Kazu Hirata  <kazu@hxi.com>
9828
9829         * config/h8300/h8300.h: Fix formatting.
9830
9831 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
9832
9833         * c-common.h (RETURN_NULLIFIED_P): Lose.
9834         * c-semantics.c (genrtl_return_stmt): Don't check it.
9835
9836 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
9837
9838         * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
9839         (mips_annotate_frame_insn): New function.
9840         (mips_emit_frame_related_store): New function.
9841         (save_restore_insns): Don't mark instructions that set up the base
9842         registers as frame-related.  Add REG_FRAME_RELATED_EXPR notes to
9843         the store instructions instead.
9844         (mips_expand_prologue): If the stack size is moved into a temporary
9845         register, do not mark that move as frame-related.  Add a
9846         REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
9847
9848 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
9849
9850         * config/mips/mips.c (save_restore_insns): Don't mark the RA's
9851         stack slot as unchanging if current_function_calls_eh_return.
9852
9853 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
9854
9855         * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
9856         access the second half of the TFmode scratch operand.
9857
9858 2001-08-10  Anthony Green  <green@redhat.com>
9859
9860         * java/class.c (emit_register_classes): Conditionalize code on
9861         JCR_SECTION_NAME.
9862
9863 2001-08-10  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9864
9865         * doc/install.texi (Specific, avr): Fix cross-reference to the
9866         main manual to work both for info and HTML versions.
9867
9868 2001-08-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9869
9870         * stmt.c (expand_null_return_1): Remove code to generate simple returns
9871         and "use_goto" argument.
9872         (expand_null_return, expand_value_return): Update all callers.
9873         * function.c (expand_function_end): Remove code to generate simple
9874         return.
9875         * config/vax/vax.md (epilogue): New expander for function return.
9876         * doc/md.texi (epilogue): Remove "if defined".
9877
9878 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
9879
9880         * Makefile.in: Partially revert my previous change:
9881         put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
9882         of the hashtab.o and safe-ctype.o rules.
9883
9884 2001-08-09  Richard Henderson  <rth@redhat.com>
9885
9886         * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
9887         (USE_COLLECT2): Remove duplicate definition.
9888         * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
9889         (use_collect2): Remove dead code.
9890         * configure.in (use_collect2): Remove will_use_collect2 and
9891         maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
9892         * configure: Rebuild.
9893
9894         * target.h (targetm.asm_out.constructor): New.
9895         (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
9896         * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
9897         (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
9898         * varasm.c (in_ctors, in_dtors): New.
9899         (assemble_constructor, assemble_destructor): Remove.
9900         (default_stabs_asm_out_destructor): New.
9901         (default_named_section_asm_out_destructor): New.
9902         (dtors_section, default_dtor_section_asm_out_destructor): New.
9903         (default_stabs_asm_out_constructor): New.
9904         (default_named_section_asm_out_constructor): New.
9905         (ctors_section, default_ctor_section_asm_out_constructor): New.
9906         * output.h: Update declarations.
9907         * c-decl.c (c_expand_body): Use target hooks instead of
9908         assemble_constructor and assemble_destructor.
9909         * profile.c (output_func_start_profiler): Likewise.
9910         * objc/objc-act.c (finish_objc): Likewise.
9911         (build_module_descriptor): Tidy.  Set TREE_PUBLIC properly
9912         for the constructor.
9913         * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
9914
9915         * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
9916         (DTORS_SECTION_ASM_OP): Likewise.
9917         (__CTOR_LIST__): Use attribute section when possible.
9918         (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
9919
9920         * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
9921         ASM_OUTPUT_CONSTRUCTOR.
9922
9923         * config/darwin.c (machopic_asm_out_constructor): New.
9924         (machopic_asm_out_destructor): New.
9925         * config/darwin-protos.h: Update declarations.
9926         * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9927         (ASM_OUTPUT_DESTRUCTOR): Remove.
9928         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9929         * config/nextstep.c (nextstep_asm_out_constructor): New.
9930         (nextstep_asm_out_destructor): New.
9931         * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9932         (ASM_OUTPUT_DESTRUCTOR): Remove.
9933         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9934         * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
9935         ASM_OUTPUT_*STRUCTOR.
9936         * config/i386/aix386ng.h: Likewise.
9937
9938         * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
9939         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
9940         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
9941         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9942         * config/lynx.h: Likewise.
9943         * config/netware.h: Likewise.
9944         * config/psos.h: Likewise.
9945         * config/alpha/alpha-interix.h: Likewise.
9946         * config/alpha/elf.h: Likewise.
9947         * config/arc/arc.h: Likewise.
9948         * config/arm/aof.h: Likewise.
9949         * config/arm/coff.h: Likewise.
9950         * config/arm/elf.h: Likewise.
9951         * config/c4x/c4x.h: Likewise.
9952         * config/h8300/h8300.h: Likewise.
9953         * config/i386/cygwin.h: Likewise.
9954         * config/i386/djgpp.h: Likewise.
9955         * config/i386/i386-coff.h: Likewise.
9956         * config/i386/i386-interix.h: Likewise.
9957         * config/i386/sco5.h: Likewise.
9958         * config/i386/vsta.h: Likewise.
9959         * config/i386/win32.h: Likewise.
9960         * config/i960/i960-coff.h: Likewise.
9961         * config/ia64/sysv4.h: Likewise.
9962         * config/m68hc11/m68hc11.h: Likewise.
9963         * config/m68k/coff.h: Likewise.
9964         * config/m68k/mot3300.h: Likewise.
9965         * config/m88k/m88k.h: Likewise.
9966         * config/mcore/mcore-pe.h: Likewise.
9967         * config/mcore/mcore.h: Likewise.
9968         * config/mips/elf.h: Likewise.
9969         * config/mips/elf64.h: Likewise.
9970         * config/mips/iris6.h: Likewise.
9971         * config/pa/pa64-hpux.h: Likewise.
9972         * config/rs6000/sysv4.h: Likewise.
9973         * config/sh/sh.h: Likewise.
9974         * config/sparc/litecoff.h: Likewise.
9975
9976         * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
9977         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
9978         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9979         * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9980         (ASM_OUTPUT_DESTRUCTOR): Remove.
9981         * config/a29k/a29k.c: Move include of tree.h.
9982         * config/a29k/udi.h: Delete file.
9983         * config/alpha/alpha.c (vms_asm_out_constructor): New.
9984         (vms_asm_out_destructor): New.
9985         * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
9986         (EXTRA_SECTION_FUNCTIONS): Likewise.
9987         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
9988         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9989         * config/c4x/c4x.c: Move include of tree.h.
9990         * config/clipper/clipper.c (clix_asm_out_constructor): New.
9991         (clix_asm_out_destructor): New.
9992         * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9993         (ASM_OUTPUT_DESTRUCTOR): Remove.
9994         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
9995         * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
9996         (TARGET_ASM_CONSTRUCTOR): New.
9997         * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
9998         (sco_asm_out_constructor): New.
9999         * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
10000         * config/i386/svr3gas.h: Remove stack grows up code.
10001         Remove code duplicated from i386/sysv3.h.
10002         (TARGET_ASM_CONSTRUCTOR): New.
10003         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
10004         (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
10005         * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10006         (TARGET_ASM_CONSTRUCTOR): New.
10007         * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
10008         (m68hc11_asm_out_destructor): New.
10009         * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
10010         (TARGET_ASM_DESTRUCTOR): New.
10011         * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
10012         * config/m68k/dpx2.h: Properly undef all the bits inherited from
10013         config/svr3.h pertaining to section manipulation.
10014         * config/m68k/dpx2g.h: Remove #if 0 code.
10015         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
10016         * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
10017         (ASM_OUTPUT_CONSTRUCTOR): Remove.
10018         (TARGET_ASM_CONSTRUCTOR): New.
10019         * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
10020         (m88k_svr3_asm_out_constructor): New.
10021         (m88k_svr3_asm_out_destructor): New.
10022         * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10023         (ASM_OUTPUT_DESTRUCTOR): Remove.
10024         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10025         * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
10026         * config/rs6000/aix.h: Likewise.
10027         * config/mips/rtems64.h: Don't undef removed constructor related bits.
10028         * config/mips/vxworks.h: Likewise.
10029         * config/rs6000/lynx.h: Likewise.
10030         * config/sh/elf.h: Likewise.
10031         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
10032         (DTORS_SECTION_ASM_OP): New.
10033         * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10034         (ASM_OUTPUT_DESTRUCTOR): Remove.
10035         * config/sparc/sol2-sld-64.h: Likewise.
10036         * config/vax/vax.c (vms_asm_out_constructor): New.
10037         (vms_asm_out_destructor): New.
10038         * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
10039         (ASM_OUTPUT_DESTRUCTOR): Remove.
10040         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
10041
10042         * doc/tm.texi (@node Initialization): Update.
10043
10044 2001-08-09  Richard Henderson  <rth@redhat.com>
10045
10046         * config/alpha/crtbegin.asm (__JCR_LIST__): New.
10047         (__do_global_dtors_aux): Use gp-relative static data to avoid
10048         one dynamic relocation.
10049         (__do_frame_setup): Register Java classes.
10050         * config/alpha/crtend.asm (__JCR_END__): New.
10051
10052 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
10053
10054         * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
10055         (CONFIG_H, TCONFIG_H, TM_P_H): Update.
10056         (GEN, STAGESTUFF): Add new files.
10057         (insn-constants.h, s-constants, tm-preds.h, s-preds,
10058         genconstants, genpreds, genconstants.o, genpreds.o): New rules.
10059         (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
10060         * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
10061         as well as insn-codes.h and insn-flags.h in config.h; and no
10062         extra headers in tconfig.h and hconfig.h.
10063
10064         * gencodes.c: Eliminate code to generate predicate declarations
10065         or #defines for md-file constants.
10066         * genconstants.c, genpreds.c: New files.
10067
10068         * i386.md: Re-order guard expressions such that TARGET_64BIT
10069         comes first, when this permits better optimization.  Add
10070         TARGET_64BIT to more x86-64 patterns.  Add comment explaining
10071         why this is desirable.
10072
10073 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
10074
10075         * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
10076         (find_fde_for_dso): Remove.
10077         (_Unwind_IteratePhdrCallback): New.
10078         (_Unwind_FindTableEntry): Use dl_iterate_phdr.
10079         * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
10080
10081 Thu Aug  9 11:30:20 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10082
10083         * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
10084         (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
10085
10086 2001-08-09  Graham Stott  <grahams@redhat.com>
10087
10088         * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
10089         (vis_no_unit): Use it.
10090         (visualize_no_unit): Add the insn only if room exists.
10091
10092 2001-08-09  Graham Stott  <grahams@redhat.com>
10093
10094         * predict.c (estimate_probability): Replace magic numbers with
10095         appropriate enumeration.
10096
10097 2001-08-09  Graham Stott  <grahams@redhat.com>
10098
10099         * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
10100         parameter.
10101         (EXTRACT_FLAGS): Likewise.
10102
10103 2001-08-09  Aldy Hernandez  <aldyh@redhat.com>
10104
10105         * config/mips/mips.c    (mips_legitimate_address_p): Check for
10106         CONST_INT in last patch.
10107
10108 2001-08-08  Anthony Green  <green@redhat.com>
10109
10110         * java/class.c (emit_register_classes): Use assemble_jcr if
10111         possible.  Keep the original mechanism as a fallback.
10112         * defaults.h (JCR_SECTION_NAME): Define if we have named section
10113         and weak symbol support.
10114         * crtstuff.c (__JCR_LIST__): Define.
10115         (__JCR_END__): Define.
10116         (_Jv_RegiserClasses): Define weak symbol if possible.
10117         (__do_global_ctors_aux): Register classes for ELF targets with
10118         weak symbol support.
10119
10120 2001-08-08  Kazu Hirata  <kazu@hxi.com>
10121
10122         * dbxout.c: Fix comment formatting.
10123         * dependence.c: Likewise.
10124         * df.c: Likewise.
10125         * diagnostic.c: Likewise.
10126         * dominance.c: Likewise.
10127         * doprint.c: Likewise.
10128         * dwarf2out.c: Likewise.
10129         * dwarfout.c: Likewise.
10130         * emit-rtl.c: Likewise.
10131         * except.c: Likewise.
10132         * explow.c: Likewise.
10133         * expmed.c: Likewise.
10134         * expr.c: Likewise.
10135         * flow.c: Likewise.
10136         * fold-const.c: Likewise.
10137         * function.c: Likewise.
10138
10139 2001-08-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10140
10141         * global.c (retry_global_alloc): Avoid shadowing allocno.
10142
10143 2001-08-08  Mark Mitchell  <mark@codesourcery.com>
10144
10145         * except.c (remove_fixup_regions): Fix typo.
10146
10147 2001-08-08  Jan van Male <jan.vanmale@fenk.wau.nl>
10148
10149         * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
10150         unsigned HOST_WIDE_INT to avoid warning.
10151         * final.c (final): Cast INSN_UID to unsigned to avoid warning.
10152         * flow.c (set_block_for_new_insns): Likewise.
10153
10154 Wed Aug  8 21:08:14 CEST 2001  Jan Hubicka  <jh@suse.cz>
10155
10156         * sibcall.c (return_value_pseudo): New static variable.
10157         (skip_copy_to_return_value): Handle return_value_pseudo.
10158         (call_ends_block_p): Ensure that return_value_pseudo is set.
10159         (optimize_sibling_and_tail_recursive_call): Discover the
10160         load of pseudo return value in alternate exit block.
10161
10162 Wed Aug  8 21:06:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
10163
10164         * calls.c (ECF_ALWAYS_RETURN): New constant.
10165         (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
10166         (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
10167         (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
10168         * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
10169         * rtl.c (reg_note_name): New name.
10170         * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
10171
10172 2001-08-07  Aldy Hernandez  <aldyh@redhat.com>
10173
10174         * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
10175
10176 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
10177
10178         * alias.c (get_alias_set): Return a previously calculated
10179         alias set for a VAR_DECL.
10180         * function.c (gen_mem_addressof): Calculate the alias set before
10181         touching the RTL.
10182
10183 Wed Aug  8 18:44:37 CEST 2001  Jan Hubicka  <jh@suse.cz>
10184
10185         * predict.def: Set hitrates according our experimental run.
10186
10187 Wed Aug  8 18:01:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
10188
10189         * i386.h (HARD_REGNO_RENAME_OK): New macro.
10190
10191 2001-08-08  H.J. Lu <hjl@gnu.org>
10192
10193         * config/mips/mips.c (mips_unique_section): New. Copied from
10194         config/mips/elf.h.
10195
10196         * config/mips/mips-protos.h (mips_unique_section): New
10197         prototype.
10198
10199         * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
10200
10201         * config/mips/little.h: New. Generic little endian mips
10202         targets. Only mips*-*-linux* is converted to use it so far.
10203
10204         * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
10205         (WCHAR_TYPE): Defined
10206         (WCHAR_TYPE_SIZE): Likewise.
10207         (INIT_SUBTARGET_OPTABS): Likewise.
10208         (BSS_SECTION_ASM_OP): Likewise.
10209         (SBSS_SECTION_ASM_OP): Likewise.
10210         (ASM_OUTPUT_ALIGNED_BSS): Likewise.
10211         (ASM_DECLARE_OBJECT_NAME): Likewise.
10212         (UNIQUE_SECTION): Likewise.
10213         (EXTRA_SECTIONS): Likewise.
10214         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
10215         (ASM_OUTPUT_DESTRUCTOR): Likewise.
10216         (ASM_OUTPUT_DEF): Likewise.
10217         (HANDLE_SYSV_PRAGMA): Removed.
10218         (NO_IMPLICIT_EXTERN_C): Likewise.
10219         (TARGET_MEM_FUNCTIONS): Likewise.
10220         (STARTFILE_SPEC): Likewise.
10221         (ENDFILE_SPEC): Likewise.
10222         (LIB_SPEC): Likewise.
10223         (INVOKE__main): Likewise.
10224         (CTOR_LIST_BEGIN): Likewise.
10225         (CTOR_LIST_END): Likewise.
10226         (DTOR_LIST_BEGIN): Likewise.
10227         (DTOR_LIST_END): Likewise.
10228         (SET_ASM_OP): Likewise.
10229         (ASM_OUTPUT_SOURCE_LINE): Likewise.
10230         (ASM_OUTPUT_DEF): Likewise.
10231         (ASM_OUTPUT_IDENT): Likewise.
10232
10233         * config/mips/mips.h (ASM_SPEC): Undefine before define.
10234         (CPLUSPLUS_CPP_SPEC): Likewise.
10235         (ASM_APP_ON) Redefine only if not defined.
10236         (ASM_APP_OFF): Likewise.
10237         (ASM_OUTPUT_SOURCE_LINE): Likewise.
10238         (ASM_OUTPUT_IDENT): Likewise.
10239
10240         * config.gcc: Update tm_file for Linux/mips.
10241
10242 2001-08-08  Bernd Schmidt  <bernds@redhat.com>
10243
10244         * cselib.c (cselib_record_sets): If insn is predicated, turn
10245         sources into IF_THEN_ELSEs.
10246
10247         * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
10248         Turn into define_insn_and_split.
10249
10250         * sched-deps.c: Include "cselib.h".
10251         (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
10252         Use cselib to turn memory addresses into VALUEs.
10253         (sched_analyze): Call cselib_init/cselib_finish if necessary.
10254         * sched-int.h (struct sched_info): New member USE_CSELIB.
10255         * sched-ebb.c (ebb_sched_info): Initialize it.
10256         * sched-rgn.c (rgn_sched_info): Likewise.
10257         * Makefile.in (sched-deps.o): Update dependencies.
10258
10259         * cselib.h (cselib_subst_to_values): Declare.
10260         * cselib.c (cselib_subst_to_values): No longer static.  Allow MEMs
10261         that have no value and autoincs to be handled by generating a new
10262         dummy value.
10263
10264 2001-08-08  Graham Stott  <grahams@redhat.com>
10265
10266         * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
10267         within fixed length SEQUENCE.
10268
10269 2001-08-08  Graham Stott  <grahams@redhat.com>
10270
10271         * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
10272         (diagnostic_prefixing_rule): Likewise.
10273         (diagnostic_line_cutoff): Likewise.
10274         (diagnostic_kind_count): Likewise.
10275
10276 2001-08-08  Graham Stott  <grahams@redhat.com>
10277
10278         * alias.c (find_base_decl): Delete redundent assignment.
10279
10280 2001-08-08  Graham Stott  <grahams@redhat.com>
10281
10282         * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
10283         (abs): Uppercase and paranthesize macro parameter.
10284         (MEM_DEPENDENCY): Add whitespace.
10285
10286 2001-08-08  Graham Stott  <grahams@redhat.com>
10287
10288         * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
10289         failure check for CONST_INT
10290
10291 2001-08-08  Graham Stott  <grahams@redhat.com>
10292
10293         * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
10294         (libcall_dead_p): Likewise.
10295
10296         (mark_used_regs): Constify fmt.
10297         (find_use_as_address): Likewise.
10298
10299 2001-08-08  Graham Stott  <grahams@redhat.com>
10300
10301         * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
10302          parameter.
10303
10304 2001-08-08  Graham Stott  <grahams@redhat.com>
10305
10306         * combine.c (combine_simplify_rtx): Update comment and
10307         remove erroneous test.
10308
10309 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
10310
10311         * cppinit.c (cpp_finish): Pop the final buffer without comment.
10312         * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
10313         take care to avoid multiple no-newline at EOF warnings in that
10314         case.
10315
10316 Tue Aug  7 22:18:06 CEST 2001  Jan Hubicka  <jh@suse.cz>
10317
10318         * calls.c (expand_call): Do not emit INSN_SETJMP note.
10319         (emit_library_call_value_1): Likewise.
10320         (emit_call_1): Emit REG_SETJMP note.
10321         * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
10322         of INSN_SETJMP
10323         * cselib.c (cselib_process_insn): Likewise.
10324         * flow.c (propagate_block): Likewise.
10325         * loop.c (find_and_verify_loops): Likewise.
10326         * reload.c (find_equiv_regs): Likewise.
10327         * reload1.c (reload): Likewise.
10328         * resource.c (mark_referenced_resources,
10329         mark_set_resources): Likewise.
10330         * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
10331         * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
10332         * haifa-sched.c (unlink_other_notes): Likewise.
10333         (reemit_notes): Likewise.
10334         * sched-ebb.c (sched_ebb): Likewise.
10335         * sched-rgc.c (sched_region): Likewise.
10336         * rtl.c (note_insn_name): Likewise.
10337         (reg_note_name): Add REG_SETJMP
10338         * rtl.h (reg_note): Add REG_SETJMP.
10339         (insn_note): Remove NOTE_INSN_SETJMP.
10340
10341         * profile.c (branch_prob): Add fake edges for setjmp.
10342
10343 2001-08-07  Daniel Jacobowitz  <drow@mvista.com>
10344
10345         * config.gcc: Quote target_cpu_default2 correctly for
10346         powerpc*-*-* targets.
10347
10348 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
10349
10350         * cpplib.h, line-map.h: Update comments.
10351         * cppmain.c (printer_init): Move inline.
10352         (maybe_print_line, print_line): Take a map pointer.
10353         (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
10354         (cb_file_change): Don't use prior value of print.map.
10355
10356 2001-08-07  David Edelsohn  <edelsohn@gnu.org>
10357
10358         * doc/install.texi: Document fine-grained multilib configuration.
10359
10360 Tue Aug  7 16:52:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
10361
10362         * rtlanal.c (find_first_parameter_load): Call note_stores
10363         only on the instructions.
10364
10365 Tue Aug  7 14:56:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
10366
10367         * alias.c (nonlocal_mentioned_p):
10368         Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
10369         * calls.c (emit_call_1): Likewise.
10370         * cse.c (cse_insn, invalidate_skipped_block): Likewise.
10371         * cselib.c (cselib_process_insn): Likewise.
10372         * df.c (df_insns_modify): Likewise.
10373         * flow.c (need_fake_edge_p): Likewise.
10374         (propagate_one_insn): Likewise.
10375         * haifa-sched.c (reemit_notes): Likewise.
10376         * integrate.c (copy_insn_list): Likewise.
10377         * jump.c (delete_prior_computation): Likewise.
10378         * local-alloc.c (validate_equiv_mem): Likewise.
10379         * loop.c (scan_loop): Likewise.
10380         * predict.c (estimate_probability): Likewise.
10381         * reload.c (reload): Likewise.
10382         * sched-deps (sched_analyze): Likewise.
10383         * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
10384         * gcse.c (compute_hash_table): Likewise.
10385         (mark_call): Likewise.
10386         (store_killed_in_insn): Likewise.
10387
10388 2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
10389
10390         * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
10391
10392 2001-08-06  Richard Henderson  <rth@redhat.com>
10393
10394         * varasm.c (assemble_gc_entry): Remove.
10395         * output.h: Likewise.
10396
10397 2001-08-06  Richard Henderson  <rth@redhat.com>
10398
10399         * varasm.c (assemble_constructor): Take a symbol_ref and a
10400         priority instead of a bare string.  Move priority handling
10401         here from cp/decl2.c.
10402         * output.h: Update decls.
10403
10404         * c-decl.c (c_expand_body): Update calls to assemble_constructor
10405         and assemble_destructor.
10406         * profile.c (output_func_start_profiler): Likewise.
10407         * objc/objc-act.c (finish_objc): Likewise.
10408         (build_module_descriptor): Return the symbol not the symbol name.
10409
10410 2001-08-06  David Edelsohn  <edelsohn@gnu.org>
10411
10412         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
10413         * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
10414         ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
10415         * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
10416         * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
10417         * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
10418
10419 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
10420
10421         * cpperror.c (print_containing_files): Moved to line-map.c.
10422         (print_location): line-map.c handles re-listing or otherwise.
10423         * cpphash.h (struct lexer_state): Remove next_bol.
10424         (struct cpp_buffer): Remove include_stack_listed.
10425         * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
10426         Remove faked buffer handling.
10427         (_cpp_do_file_change): Tweak.
10428         * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
10429         * cppmain.c (struct printer): Remove filename.
10430         (print_line, cb_file_change): Update accordingly.
10431         * line-map.c: Include intl.h.
10432         (init_line_maps): Initialize last_listed.
10433         (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
10434         (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
10435         (print_containing_files): New.
10436         * line-map.h (struct line_maps): New member last_listed.
10437         (print_containing_files, INCLUDED_FROM): New.
10438         * Makefile.in: Update.
10439         * po/POTFILES.in: Add line-map.c.
10440
10441 2001-08-06  Richard Henderson  <rth@redhat.com>
10442
10443         * except.c (convert_from_eh_region_ranges_1): Never mark
10444         USE or CLOBBER insns as throwing.
10445
10446         * expr.c (store_constructor): Don't clobber memory targets.
10447
10448 2001-08-06  Andreas Jaeger  <aj@suse.de>
10449
10450         * profile.c (branch_prob): Remove unused variable insn.
10451
10452         * Makefile.in (local-alloc.o): Add dependency on except.h.
10453
10454         * local-alloc.c: Include except.h for can_throw_internal prototype.
10455
10456 2001-08-06  Richard Henderson  <rth@redhat.com>
10457
10458         * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
10459         * function.c (expand_main_function): Implement it.
10460         * doc/tm.texi: Document it.
10461
10462 2001-08-06  Stan Shebs  <shebs@apple.com>
10463
10464         * doc/install.texi: Document powerpc-*-darwin* details.
10465
10466 2001-08-06  Daniel Berlin  <dan@cgsoftware.com>
10467
10468         * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
10469         (ASM_CPU_SPEC): Move back to rs6000.h
10470         #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
10471
10472         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
10473
10474         * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
10475         readded.
10476
10477         * config/rs6000/linux64.h: Ditto.
10478
10479         * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
10480         to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
10481         nothing.
10482
10483         Remove accidently readded definitions of FUNCTION_PROLOGUE,
10484         FUNCTION_EPILOGUE,  ASM_OPEN_PAREN, ASM_CLOSE_PAREN
10485
10486         * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
10487         to rs6000.h
10488
10489 2001-08-05  Richard Henderson  <rth@redhat.com>
10490
10491         * local-alloc.c (update_equiv_regs): Do not move insns that
10492         can throw.
10493
10494 2001-08-05  Jan Hubicka  <jh@suse.cz>
10495
10496         * Makefile.in (reload1.o): Add dedendancy on except.h
10497         * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
10498         prototypes.
10499         * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
10500         indicating wehther edges has been cleaned up.
10501         * reload1.c: Inlucde except.h
10502         (fixup_abnormal_edges): Accept deleted insns.
10503         * toplev.c (rest_of_compilation): Purge dead edges unconditionally
10504         after combine.
10505
10506 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
10507
10508         * cpplib.c (do_line): Correct line number after pop_buffer.
10509
10510 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
10511
10512         PR preprocessor/3824
10513         * line-map.c: Update comments.
10514         * line-map.h: Update comments.
10515         * tradcif.y: Don't consider large numbers unsigned.
10516
10517 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
10518
10519         PR preprocessor/3081
10520         * c-lex.c (map): New.
10521         (cb_file_change): Update map and use it.
10522         (cb_def_pragma, cb_define, cb_undef): Use map and line.
10523         (c_lex): Update to use map.
10524         * cpperror.c (print_location): Move to using logical line numbers.
10525         * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
10526         (cpp_make_system_header): Similarly.
10527         (_cpp_execute_include): Stop line numbering hacks.  Store the
10528         line we will return to.
10529         * cpphash.h (CPP_BUF_LINE): Remove.
10530         (struct cpp_buffer): Remove lineno and pseudo_newlines.
10531         Add map and return_to_line.
10532         (_cpp_do_file_change): Update.
10533         * cppinit.c (cpp_start_read): Update line kludge.
10534         * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
10535         (trigraph_ok): Use logical line numbers for diagnostics.
10536         (skip_block_comment): Likewise.
10537         (skip_whitespace): Likewise.
10538         (skip_line_comment): Use pfile->line instead.
10539         (_cpp_lex_token): Update to use logical line numbering exclusively.
10540         Handle BOL locally.  Accept new lines in directives, but keep
10541         pfile->line decremented.  Diagnostics use logical lines.  Update
10542         directive handling.
10543         * cpplib.c (SEEN_EOL): New.
10544         (skip_rest_of_line, check_eol): Use it.
10545         (end_directive): Increase line number when accepting the newline
10546         at the end of a directive.
10547         (run_directive): Simplify.
10548         (do_line): Bad LC_LEAVEs become LC_RENAMEs.  Update.
10549         (_cpp_do_file_change): Update to take buffer line number as an
10550         argument, and store the current map in the cpp_reader.  Remove
10551         line number kludges.
10552         (_cpp_do__Pragma): Restore output position after a _Pragma.
10553         (cpp_push_buffer): Don't set output line or lineno.
10554         (_cpp_pop_buffer): Transfer more info from a faked buffer.
10555         Remove line kludge.  Set output_line.
10556         * cppmacro.c (builtin_macro): Update handling of __LINE__.
10557         (parse_arg): Use logical lines.
10558         (save_lookahead_token): Save EOFs too now.
10559         * cppmain.c (struct printer): Fix comments.
10560         (printer_init): Simplify, let caller do errors.
10561         (scan_translation_unit, check_multiline_token, dump_macro): Update.
10562         (maybe_print_line): Simplify.
10563         (print_line): Don't print a linemarker if -P.
10564         (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
10565         (cb_file_change): Simplify.
10566         * line-map.h (LAST_SOURCE_LINE): Fix.
10567         (CURRENT_LINE_MAP): New.
10568
10569 2001-08-05  Bernd Schmidt  <bernds@redhat.com>
10570
10571         * doloop.c (doloop_modify_runtime): Properly compute number of
10572         iterations if loop was unrolled.
10573
10574         * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
10575         if their CSELIB_VAL_PTRs are.
10576
10577         * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
10578         (setup_spill_pointers): Initialize it.
10579         (spill_restore_mem): Set it.
10580         (do_spill, do_restore): Use it to add REG_INC note.
10581         * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
10582
10583         * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
10584         asms if other insns are available.
10585
10586         * config/ia64/ia64.c (condop_operator): New predicate.
10587         * config/ia64/ia64.h (PREDICATE_CODES): Add it.
10588         * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
10589         patterns.
10590
10591         * expr.c (expand_expr, case COND_EXPR): Prefer working with a
10592         temporary register than directly using a MEM.
10593
10594 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
10595
10596         * config/sh/sh.c (sh_asm_named_section): Fix typo in align
10597         parameter in last change.
10598
10599 2001-08-04  Zack Weinberg  <zackw@panix.com>
10600
10601         * sparc.md: Don't use #if inside C test expression.
10602
10603 2001-08-04  Richard Henderson  <rth@redhat.com>
10604
10605         * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
10606
10607 2001-08-04  Neil Booth  <neil@daikokuya.demon.co.uk>
10608
10609         * cpphash.h (struct cpp_reader): New member directive_line.
10610         * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
10611         * cpplib.c (do_define, do_undef, do_ident, do_include_common,
10612         do_pragma): Pass line to callbacks.
10613         (start_directive): Record line of directive.
10614         * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
10615         cb_include): Similarly.
10616         * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
10617         Similarly.
10618
10619 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
10620
10621         * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
10622         comment.
10623
10624 Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
10625
10626         * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
10627
10628         * reload1.c (fixup_abnormal_edges): New static function.
10629         (reload): Use it.
10630
10631         * flow.c (need_fake_edge_p): New function.
10632         (flow_call_edges_add): Fix handling of noreturn and sibling calls;
10633         avoid call insn to be very last insn in the insn stream.
10634
10635         * profile.c (branch_prob): Call flow_call_edges_add instead of
10636         doing that by hand; cleanup cfg to re-merge basic blocks once
10637         we are done.
10638
10639 2001-08-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10640
10641         * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
10642         are also on line-map.h.
10643         * cppfiles.c (stack_include_file): Update.
10644         * cpphash.h (struct cpp_buffer): New member return_at_eof.
10645         (_cpp_pop_buffer): New.
10646         * cppinit.c (cpp_destroy, cpp_finish): Update.
10647         (do_includes): Mark each buffer to return at EOF.
10648         * cpplex.c (_cpp_lex_token): Pop buffers at EOF.  Continue or
10649         return as requested.
10650         * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
10651         (cpp_pop_buffer): Rename _cpp_pop_buffer.  Stop skipping.
10652         * cpplib.h (cpp_pop_buffer): Remove.
10653         (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
10654         * cppmacro.c (cpp_scan_buffer_nooutput): Similarly.  No need to pop
10655         buffers.
10656         * cppmain.c (scan_buffer): Rename scan_translation_unit.  No need
10657         to pop buffers.
10658         (do_preprocessing): Update.
10659         * fix-header.c (read_scan_file): Update.  No need to pop buffers.
10660         * c-parse.in (_yylex): Similarly.
10661         * scan-decls.c (scan_decls): Similarly.
10662         * line-map.h: Update comments.
10663
10664         * objc/Make-lang.in (objc-act.o): Update dependencies.
10665
10666 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10667
10668         * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
10669         and soft register for operand 0.
10670         ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
10671
10672 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10673
10674         * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
10675         register for operand 0.
10676         ("bitcmpqi_z_used"): Allow memory for operand 0.
10677         (split "bitcmpqi"): New split to handle address reg as operand 1.
10678
10679 2001-08-04  Andreas Jaeger  <aj@suse.de>
10680
10681         * gcse.c: Revert Daniel's last patch.
10682
10683 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
10684
10685         * sparc-protos.h: Add prototypes for fp_zero_operand and
10686         reg_or_0_operand.
10687         * sh-protos.h: Add prototype for fpul_operand.
10688
10689 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
10690
10691         * doc/extend.texi (Other Builtins): Fix typo in last change.
10692
10693 2001-08-03  Richard Henderson  <rth@redhat.com>
10694
10695         * target.h (gcc_target): Add asm_out.named_section,
10696         section_type_flags, have_named_sections.
10697         * target-def.h (TARGET_ASM_NAMED_SECTION): New.
10698         (TARGET_HAVE_NAMED_SECTIONS): New.
10699         (TARGET_SECTION_TYPE_FLAGS): New.
10700
10701         * Makefile.in (toplev.o): Depend on TARGET_H.
10702         (varasm.o, dbxout.o): Likewise.
10703         * c-common.c (decl_attributes): Check targetm.have_named_sections
10704         instead of ifdef ASM_OUTPUT_SECTION_NAME.
10705         * dbxout.c (dbxout_function_decl): Likewise.
10706         (dbxout_function_end): Likewise.
10707         * toplev.c (compile_file): Likewise.
10708         * varasm.c (exception_section): Likewise.
10709         * cp/decl2.c (finish_objects): Likewise.
10710
10711         * defaults.h (EH_FRAME_SECTION): Remove.
10712         (EH_FRAME_SECTION_ASM_OP): Remove.
10713         (EH_FRAME_SECTION_NAME): New.
10714         (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
10715         (UNIQUE_SECTION_P): Remove.
10716         * dwarf2out.c (SECTION_FORMAT): Remove.
10717         (ASM_OUTPUT_SECTION): Remove.
10718         (output_call_frame_info): Use named_section_flags.
10719         (output_comp_unit, dwarf2out_start_source_file): Likewise.
10720         (dwarf2out_end_source_file, dwarf2out_define): Likewise.
10721         (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
10722         * varasm.c (in_eh_frame, eh_frame_section): Remove.
10723         (named_section_flags): New.
10724         (named_section): Use it and targetm.section_type_flags.
10725         (resolve_unique_section): New.
10726         (assemble_start_function): Use it.
10727         (asm_emit_uninitialised, assemble_variable): Likewise.
10728         (default_section_type_flags): New.
10729         (default_no_named_section, default_elf_asm_named_section): New.
10730         (default_coff_asm_named_section, default_pe_asm_named_section): New.
10731         * output.h: Update varasm.c decls.
10732         (SECTION_*): New flags.
10733
10734         * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
10735         (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
10736
10737         * config/elfos.h (UNIQUE_SECTION_P): Remove.
10738         * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
10739         * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
10740         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
10741         * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
10742         * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
10743         * config/mips/elf.h, config/mips/elf64.h: Likewise.
10744         * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
10745         * config/pa/pa64-hpux.h,
10746
10747         * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
10748         (TARGET_ASM_NAMED_SECTION): New.
10749         * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
10750         * config/alpha/vms.h, config/arm/coff.h: Likewise.
10751         * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
10752         * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
10753         * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
10754         * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
10755         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
10756         * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
10757         * config/i386/sco5.h, config/i386/win32.h: Likewise.
10758         * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
10759         * config/mcore/mcore.h, config/mips/elf.h: Likewise.
10760         * config/mips/elf64.h, config/mips/iris6.h: Likewise.
10761         * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
10762         * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
10763         * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
10764         * config/sparc/sysv4.h: Likewise.
10765
10766         * config/nextstep.h: Error until named sections implemented.
10767
10768         * config/a29k/a29k.c (a29k_asm_named_section): New.
10769         * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
10770         (vms_section_type_flags, vms_asm_named_section): New.
10771         * config/arm/arm.c (arm_elf_asm_named_section): New.
10772         * config/avr/avr.c (asm_output_section_name): Remove.
10773         * config/avr/avr-protos.h: Update.
10774         * config/c4x/c4x.c (c4x_asm_named_section): New.
10775         * config/h8300/h8300.c (h8300_asm_named_section): New.
10776         * config/i386/i386.c (sco_asm_named_section): New.
10777         * config/i386/winnt.c (SECTION_PE_SHARED): New.
10778         (i386_pe_section_type_flags): New.
10779         (i386_pe_asm_named_section): New.
10780         * config/i386/i386-protos.h: Update.
10781         * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
10782         * config/mcore/mcore.c (mcore_asm_named_section): New.
10783         * config/mips/mips.c (iris6_asm_named_section): New.
10784         * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
10785         instead of UNIQUE_SECTION_P.
10786         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
10787         (xcoff_asm_named_section): New.
10788         * config/sh/sh.c (sh_asm_named_section): New.
10789         * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
10790
10791         * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
10792         * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
10793         (EH_FRAME_SECTION_NAME): New.
10794         (EXCEPTION_SECTION): New.
10795         * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
10796         (DEBUG_*_SECTION): Remove.
10797         * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
10798         * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
10799         (EH_FRAME_SECTION_ASM_OP): Remove.
10800
10801         * doc/tm.texi (UNIQUE_SECTION_P): Remove.
10802         (ASM_OUTPUT_SECTION_NAME): Remove.
10803         (TARGET_ASM_NAMED_SECTION): New.
10804         (TARGET_HAVE_NAMED_SECTIONS): New.
10805         (TARGET_SECTION_TYPE_FLAGS): New.
10806         (EH_FRAME_SECTION_ASM_OP): Remove.
10807         (EH_FRAME_SECTION_NAME): New.
10808
10809 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
10810
10811         * builtins.c (fold_builtin_constant_p): Return integer_zero_node
10812         for complex expressions when cfun == 0.
10813         * doc/extend.texi: Document that __builtin_constant_p can be
10814         used in data initializers as well as functions.
10815
10816 2001-08-03  Alexandre Oliva  <aoliva@redhat.com>
10817
10818         * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
10819         variable I locally, instead of expecting a declaration in the
10820         calling context.
10821
10822 2001-08-03  Richard Henderson  <rth@redhat.com>
10823
10824         * except.c (collect_one_action_chain): Add an explicit cleanup
10825         action if regions surrounding a catch were encoded entirely
10826         within the call-site entry.
10827
10828 2001-08-03  Richard Henderson  <rth@redhat.com>
10829
10830         * dbxout.c (dbxout_symbol_location): Flatten subregs first;
10831         don't take REGNO of a non-register.
10832
10833 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10834
10835         * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
10836         __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
10837         (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
10838         (__gthread_mutex_init_function): New function for mutex initialization.
10839
10840 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
10841
10842         * Makefile.in: Revert screwed up commit.
10843
10844 2001-08-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
10845
10846         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
10847         * config/m68hc11/larith.asm (_exit): Split in several sub-sections
10848         merged by linker script to get a final _exit().
10849         (__do_global_dtors): New for destructor handling in specific exit
10850         section.
10851         (__do_global_ctors): New for constructors in specific install section.
10852         (__map_data_section): Map data sections before running constructors.
10853         * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
10854         (CTORS_SECTION_ASM_OP): Define to put in readonly section.
10855         (DTORS_SECTION_ASM_OP): Likewise.
10856         (CTORS_SECTION_FUNCTION): Define to force a reference to
10857         __do_global_ctors.
10858         (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
10859
10860 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
10861
10862         * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
10863
10864         * Makefile.in: Add df.h to gcse.c dependencies.
10865
10866 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10867
10868         * varasm.c (output_constant_def_contents): Use for the length of a
10869         string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
10870         depending on which is larger.
10871
10872 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
10873
10874         * gcse.c: Include df.h for use as a dataflow analyzer.
10875         Remove regvec.
10876         Declaration of reg_set_info: gone.
10877         New df_analyzer variable used by store motion.
10878         (reg_set_info): Deleted.
10879         (mark_mem_regs): New function, analyze regs used by a mem.
10880         (store_ops_ok): Use dataflow analyzer results to determine if
10881         necessary regs are changed in the block.
10882         (find_moveable_store): Remove check for symbol ref, we can handle
10883         much more complex expressions now.
10884         (compute_store_table): Remove most of the code, it's unnecessary
10885         now that the dataflow analyzer records the info for us.
10886         (store_killed_after): Add parameter to say whether to do the
10887         store_ops_okay test, used to speed up testing when we already know
10888         the answer, and just want to know if the store itself was killed.
10889         (build_store_vector): Largely rewritten to calculate the various
10890         vectors properly, and somewhat optimized.
10891         (store_motion): Init the df_analyzer, get REG_DEF chains.
10892         Also handle trapping expressions (since mems almost always trap)
10893         (simple_mem): Redefine what a simple mem is.
10894
10895 2001-08-03  DJ Delorie  <dj@redhat.com>
10896
10897         * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
10898         set from a constant part of the condition.
10899
10900 2001-08-01  Andrew Cagney  <ac131313@redhat.com>
10901
10902         * mkdeps.c (deps_add_default_target): Make local variable
10903         ``start'' a const char pointer.
10904         * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
10905
10906 2001-08-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10907
10908         * doc/install.texi (Configuration): Fix markup.
10909         (Specific, i?86-*-udk): Likewise.
10910         (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
10911         --with-gnu-ld.
10912         Document --enable-threads and --enable-libgcj status.
10913         (Specific, mips-sgi-irix*): Canonicalize triples.
10914         (Specific, mips-sgi-irix5): Warn about problems with this config.
10915         Mention required GNU as patch.
10916         Native assembler problems are fixed.
10917         (Specific, mips-sgi-irix6): Update O32 ABI support status.
10918         Document --enable-threads and --enable-libgcj status.
10919
10920 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
10921
10922         * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
10923         of mkinstalldirs.
10924
10925 2001-08-03  Richard Henderson  <rth@redhat.com>
10926
10927         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
10928         constant data.
10929
10930 2001-08-03  Richard Henderson  <rth@redhat.com>
10931
10932         * rtlanal.c (find_first_parameter_load): Stop if we
10933         reach a CODE_LABEL at BOUNDARY.
10934
10935 2001-08-03  Richard Henderson  <rth@redhat.com>
10936
10937         * config/alpha/alpha.md (force_movdi): New insn.
10938         * config/alpha/alpha.c (alpha_expand_prologue): Use it.
10939         Tweek FRP marking of VMS prologue insns.
10940         * config/alpha/vms.h (EPILOGUE_USES): New.
10941
10942 2001-08-02  Richard Henderson  <rth@redhat.com>
10943
10944         * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
10945
10946 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
10947
10948         * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
10949         simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
10950         config/convex/convex.h, config/d30v/d30v.c,
10951         config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
10952         config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
10953         config/mips/mips.h, config/mn10200/mn10200.h,
10954         config/mn10300/mn10300.h, config/pdp11/pdp11.md,
10955         config/v850/v850.h, config/vax/openbsd.h,
10956         config/vax/openbsd1.h, config/vax/ultrix.h,
10957         config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
10958         config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
10959         cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
10960         doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
10961         doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
10962         in comments and documentation.
10963
10964 2001-08-03  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10965
10966         * line-map.c: New.
10967         * line-map.h: New.
10968         * Makefile.in (line-map.o): New.
10969         (LIBCPP_OBJS, LIBCPP_DEPS): Update.
10970         * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
10971         * cpperror.c (print_containing_files): Similarly.
10972         (print_location): Update.  Don't output a space before _Pragma.
10973         * cppfiles.c (stack_include_file): Set to line 1 immediately.
10974         (stack_include_filee, cpp_make_system_header): Update.
10975         (_cpp_execute_include): Get logical line number right for calling
10976         as-yet-unterminated #include.
10977         * cpphash.h (struct cpp_reader): Add line_maps.
10978         (_cpp_do_file_change): Update.
10979         * cppinit.c (cpp_create_reader): Initialize line maps.
10980         (cpp_destroy): Destroy line maps.
10981         (cpp_start_read): Get logical line number right.
10982         * cpplex.c (parse_string): Only warn once for multi-line strings.
10983         Use boolean variable for null warning.
10984         * cpplib.c (_cpp_handle_directive): End the directive if it isn't
10985         already.
10986         (do_include_common): End the directive early.
10987         (do_line): Don't warn about out-of-range lines in preprocessed
10988         source.  Update.  Remove unused variables.
10989         (_cpp_do_file_change): Update for new line mapping.
10990         (pragma_cb): New typedef.
10991         (cpp_register_pragma): Stop looking ahead before calling the
10992         handler.  Clean up.
10993         (do_pragma_system_header): End directive early.
10994         (cpp_get_line_maps): New.
10995         (cpp_pop_buffer): Fudge logical line.  Update.
10996         * cpplib.h: Include line-map.h
10997         (enum cpp_fc_reason): Remove.
10998         (struct cpp_file_change): Update.
10999         (cpp_get_line_maps): New.
11000         * cppmain.c (struct_printer): New member map.
11001         (cb_file_change): Update for new mappings.
11002         * fix-header.c (cb_file_change): Similarly.
11003
11004 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
11005
11006         * Makefile.in (libgcc.mk): Define mkinstalldirs.
11007         * mklibgcc.in: Use mkinstalldirs instead of mkdir.
11008
11009 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
11010
11011         * config/vax/vax.c: include expr.h.
11012
11013 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
11014
11015         * Makefile.in ($(srcdir)/configure): Only rebuild in
11016         maintainer mode.
11017         ($(srcdir)/config.in): Only define in maintainer mode.
11018         ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
11019
11020 2001-08-02  David Edelsohn  <edelsohn@gnu.org>
11021
11022         * doc/install.texi (Install GCC: Binaries): Update Bull info.
11023
11024 2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11025
11026         * gcc.c (set_collect_gcc_options): New function, split out from
11027         main.
11028         Ignore elided switches.
11029         (do_spec_1): Invoke before executing command.
11030         (set_input): Export.
11031         Move declaration ...
11032         * gcc.h (set_input): ... here.
11033         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
11034         file.
11035
11036 2001-08-02  Nathan Sidwell  <nathan@codesourcery.com>
11037
11038         Kill -fhonor-std.
11039         * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
11040         interaction.
11041         * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
11042
11043 2001-08-02  Richard Sandiford  <rsandifo@redhat.com>
11044
11045         * mips.md (movdicc): Make conditional on TARGET_64BIT.  Likewise
11046         for the unnamed instructions it expands to.
11047
11048 2001-08-02  Richard Henderson  <rth@redhat.com>
11049
11050         * regclass.c (call_really_used_regs): Conditionally define.
11051         (init_reg_sets_1): Don't use it if not defined.
11052         (fix_register): Similarly, don't set it.
11053
11054 2001-08-01  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11055
11056         * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
11057         Correct comment that had been missed in the previous change.
11058
11059 2001-08-01  Stan Shebs  <shebs@apple.com>
11060
11061         * config/darwin.c (machopic_stub_name): Try matching by name.
11062         (update_stubs): New function.
11063         (darwin_encode_section_info):  Call it and update_non_lazy_ptrs
11064         unconditionally.
11065
11066 2001-08-01  Richard Henderson  <rth@redhat.com>
11067
11068         * except.c (output_function_exception_table): Use assemble_align.
11069         * varasm.c (assemble_eh_label): Remove.
11070         (assemble_eh_align, assemble_eh_integer): Remove.
11071
11072 2001-08-01  Robert Lipe  <robertl@caldera.com>
11073
11074         * dwarfout.c: Remove reference to README.DWARF.
11075
11076 2001-08-01  Andrew MacLeod  <amacleod@redhat.com>
11077
11078         * regclass.c (call_really_used_regs): New array for registers which
11079         are actually used by a call.
11080         (init_reg_sets_1): Initialize regs_invalidated_by_call with the
11081         new array.
11082         (fix_register): Set call_really_used too.
11083         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
11084         * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
11085
11086 2001-08-01  Richard Henderson  <rth@redhat.com>
11087
11088         * read-rtl.c (read_name): Consider \r whitespace.
11089
11090 2001-07-11  Andrew Cagney  <ac131313@redhat.com>
11091
11092         * config.gcc: Recognize powerpc-*-netbsd*.
11093
11094         * doc/install.texi (Host/target specific installation notes for
11095         GCC): Mention powerpc-*-netbsd*.
11096
11097         * config/rs6000/netbsd.h: New file.
11098         (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
11099         (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
11100         (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
11101         (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
11102         (TARGET_VERSION): Redefine.
11103
11104         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
11105         mcall-netbsd as a match for mcall-sysv.
11106         (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
11107         (ncrti.S, ncrtn.S): New targets.
11108         ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
11109
11110         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
11111         "netbsd' as a V4 ABI.
11112         (ASM_SPEC): Check for -mcall-netbsd.
11113         (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
11114         (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
11115         (LIB_SPEC, ENDFILE_SPEC): Ditto.
11116         (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
11117         (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
11118         (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
11119         (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
11120
11121         * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
11122         (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
11123
11124 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
11125
11126         * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
11127         only if NO_BASE_OF_ENCODED_VALUE isn't defined.
11128         * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
11129         including "unwind-pe.h".
11130
11131 Wed Aug  1 20:01:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
11132
11133         * rs6000.md (define_splits): Kill unused constraints.
11134
11135 Wed Aug  1 20:02:12 CEST 2001 Graham Stott  <grahams@redhat.com>
11136                               Jan Hubicka  <jh@suse.cz>
11137
11138         * function.c (thread_prologue_and_epilogue_insns): Kill code
11139         dealing with non-existent CFG.
11140
11141 2001-08-01  Kazu Hirata  <kazu@hxi.com>
11142
11143         * alias.c: Fix comment formatting.
11144         * bitmap.c: Likewise.
11145         * builtins.c: Likewise.
11146         * calls.c: Likewise.
11147         * c-common.c: Likewise.
11148         * c-decl.c: Likewise.
11149         * c-dump.c: Likewise.
11150         * c-lex.c: Likewise.
11151         * collect2.c: Likewise.
11152         * combine.c: Likewise.
11153         * conflict.c: Likewise.
11154         * cppfiles.c: Likewise.
11155         * cppinit.c: Likewise.
11156         * cpplex.c: Likewise.
11157         * cpplib.c: Likewise.
11158         * cppmacro.c: Likewise.
11159         * cppspec.c: Likewise.
11160         * c-pragma.c: Likewise.
11161         * crtstuff.c: Likewise.
11162         * cse.c: Likewise.
11163         * cselib.c: Likewise.
11164         * c-semantics.c: Likewise.
11165         * c-typeck.c: Likewise.
11166
11167 2001-08-01  H.J. Lu <hjl@gnu.org>
11168
11169         * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
11170
11171 2001-08-01  H.J. Lu <hjl@gnu.org>
11172
11173         * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
11174
11175 2001-08-01  Ziemowit Laski  <zlaski@apple.com>
11176
11177         * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
11178         contextualizing Objective-C class name lookup by the lexer.
11179         (typespec_reserved_nonattr): Disable ObjC class name lookup after
11180         seeing a TYPESPEC.
11181         (protocoldef): Add support for forward @protocol declarations.
11182         (yylexname): Suppress ObjC class name lookup in certain contexts;
11183         re-enable after lookup is complete.
11184         (_yylex): Re-enable ObjC class name lookup when certain
11185         punctuation marks are seen.
11186
11187         * objc/objc-act.c (check_protocol_recursively): New function used
11188         for finding circular dependencies in protocols.
11189         (objc_declare_protocols): New function for handling forward
11190         @protocol declarations.
11191         (receiver_is_class_object): Detect the case when 'self' is used
11192         inside of a class method.
11193         (build_message_expr): Issue a warning if class method is desired
11194         but instance method is found instead.
11195         (conforms_to_protocol): Streamline.
11196         (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
11197         protocol Foo, even if 'Bar foo' does not.
11198         (check_protocols): Streamline.
11199         (start_protocol): Add checks for circular and duplicate protocol
11200         definitions.
11201         (encode_aggregate_within): For typedefs of structs, encode the
11202         underlying struct.
11203         * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
11204         (objc_declare_protocols): New prototype.
11205
11206 2001-08-01  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
11207
11208         * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
11209         * cpplex.c (handle_newline): Update prototype.  Maintain logical
11210         line number.
11211         (skip_escaped_newlines, skip_block_comment, parse_string):
11212         Update accordingly.
11213         (_cpp_lex_token): Update, and store token position within the token.
11214         * cpplib.h (struct cpp_token): Add line and column entries.
11215         * cppmacro.c (replace_args): Position stringified tokens correctly.
11216
11217 2001-08-01  Andreas Jaeger  <aj@suse.de>
11218
11219         * basic-block.h: Add prototype for last_loop_beg_note.
11220
11221 2001-07-31  Alexandre Petit-Bianco  <apbianco@redhat.com>
11222
11223         * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
11224         RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
11225         comment.
11226         (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
11227         while handling WITH_CLEANUP_EXPR node. Use second operand calling
11228         expand_decl_cleanup.
11229         * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
11230         the first RTX.
11231         (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
11232         operand while calling simple_cst_equal.
11233         * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
11234         operand is the cleanup expression, the third is the RTL_EXPR.
11235         * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
11236
11237 2001-07-31  Jeff Sturm  <jsturm@one-point.com>
11238
11239         * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
11240
11241 2001-07-31  matthew green  <mrg@eterna.com.au>
11242
11243         * config.gcc (i386-*-netbsdelf): New description.
11244         * config/i386/netbsd-elf.h: New file.
11245
11246 2001-07-30  Geoffrey Keating  <geoffk@redhat.com>
11247
11248         * loop.c (check_dbra_loop): Use single_set to compute
11249         jump_label.
11250
11251 2001-07-31  Daniel Berlin  <dan@cgsoftware.com>
11252
11253         PowerPC reorg and support for powerpc64-*-linux*.
11254
11255         Also fixes emitting of constants on 32 bit and 64 bit
11256         platforms.
11257
11258         * config.gcc: powerpc64-*-linux* is a new target.
11259         Things that needed aix.h now also include xcoff.h
11260
11261         * config/rs6000/rs6000.h: Split XCOFF specific stuff into
11262         xcoff.h.
11263         Move AIX specific stuff into aix.h.
11264         (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
11265         with more than just XCOFF now.
11266         (SET_ASM_OP): Remove, now defined where needed.
11267         (FUNCTION_PROLOGUE): New macro definition.
11268         (FUNCTION_EPILOGUE): New macro definition.
11269         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
11270
11271         * config/rs6000/xcoff.h: New file.
11272
11273         * config/rs6000/linux64.h: New file.
11274
11275         * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
11276
11277 2001-07-31  Alan Modra  <amodra@bigpond.net.au>
11278
11279         * rs6000.c (print_operand_address): Handle ELF syntax.
11280         (output_toc): Simplify.  Use DOUBLE_INT_ASM_OP.
11281         * rs6000.md (load_toc_aix_di): Handle ELF syntax.
11282         * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
11283
11284 2001-07-31  David Edelsohn  <edelsohn@gnu.org>
11285
11286         * rs6000.c (rs6000_override_options): Only disable
11287         flag_function_sections for XCOFF.
11288         (exact_log2_cint_operand): New predicate.
11289         (reg_or_{add,sub}_cint64_operand): New predicates.
11290         (add_operand): Compare CONST_INT with fewer function calls.
11291         (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
11292         (print_operand, case 'p'): Ensure positive operand.
11293         (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
11294         * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
11295         (PREDICATE_CODES): Add new predicates.
11296         * rs6000.md (addsi3): Split 32-bit constants more correctly.
11297         (divsi3, modsi3): Ensure positive power-of-2.
11298         (adddi3): Use new predicate.  Split 32-bit constants more
11299         correctly.  Re-arrange splitter to handle any constant.
11300         (subdi3): Use new predicate.
11301         (divdi3, moddi3): Ensure positive power-of-2.
11302         (movdi): Use rs6000_emit_set_const.
11303         (load_toc_v4_pic_di): Delete.
11304
11305 2001-07-31  Graham Stott <grahams@redhat.com>
11306
11307         * function.c (pad_below): Revert 2001-07-26 patch.
11308
11309 Tue Jul 31 15:37:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
11310
11311         * reg-stack (convert_regs_1): Fix best edge condition.
11312
11313 Tue Jul 31 15:33:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
11314
11315         * jump.c (duplicate_loop_exit_test): Better test for jumps
11316         entering the loop; create loop pre_header.
11317
11318 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
11319
11320         * doc/install.texi: Add s390 and s390x as new targets.
11321         * doc/invoke.texi: Add documentation of S/390 and zSeries
11322         target options.
11323         * doc/md.texi: Add documentation of S/390 and zSeries constraints.
11324
11325 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
11326
11327         * config/m68k/m68k.md: Replace all general_operand with
11328         nonimmediate_operand for all destinations.
11329         * config/m68k/m68k.c (not_sp_operand): Likewise.
11330
11331 Mon Jul 30 23:20:34 EDT 2001  John Wehle  (john@feith.com)
11332
11333         * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
11334
11335 2001-07-30  Richard Henderson  <rth@redhat.com>
11336
11337         * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
11338         * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
11339
11340 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
11341
11342         * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
11343         Add missing doc strings
11344         * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
11345         * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
11346
11347 Mon Jul 30 22:16:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
11348
11349         * i386.c (ix86_output_main_function_alignment_hack): New function.
11350         (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
11351
11352         * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
11353         edges by EDGE_DFS_BACK flag.
11354         (dump_edge_info): Add dfs_back flag.
11355         * basic-block.h (EDGE_DFS_BACK): New constant.
11356         (mark_dfs_back_edges): Declare.
11357         * alias.c (loop_p): Remove.
11358         (mark_constant_function): Use mark_dfs_back_edges.
11359
11360         * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
11361         (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
11362         (compensate_edge): Break out from ...
11363         (convert_regs_1): ... here; do smart choosing of stack_out to copy.
11364         (convert_regs_2): Set block_done once block is really done;
11365         Do updating of the predecessors counts.
11366
11367         * toplev.c (rest_of_compilation): Recompute block_for_insn
11368         before post-reload cfg_cleanup.
11369         * function.c (thread_prologue_epilogue_insns):
11370         Call set_block_for_new_insns when emitting prologue directly.
11371
11372 2001-07-30  Andreas Jaeger  <aj@suse.de>
11373
11374         * jump.c: Add prototype for mark_modified_reg.
11375
11376         * cse.c (set_live_p): Add unused attribute.
11377
11378         * gcov.c (calculate_branch_probs): Use gcov_type to avoid
11379         overflow.
11380         (scan_for_source_files): Use long for count to avoid overflow.
11381         (output_data): Likewise.
11382         (output_data): Don't use string concatatenation to silence gcc
11383         -traditional.
11384
11385         * predict.c: Fix typos and grammar.
11386
11387         * gcse.c (insert_insn_end_bb): Remove unused variables.
11388
11389 Mon Jul 30 21:54:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
11390
11391         * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
11392         (attempt_auto_inc): LIkewise.
11393         (mark_used_reg): Likewise.
11394         (try_pre_increment_1): Likewise.
11395         * regclass.c (regclass): Likewise.
11396         * global.c (allocno_compare): Update comment; change scaling factor.
11397         * local-alloc.c (QTY_CMP_PRI): Likewise.
11398         * regs.h (REG_FREQ_FROM_BB): New.
11399         (REG_FREQ_MAX): Likewise.
11400
11401 2001-07-30  H.J. Lu <hjl@gnu.org>
11402
11403         * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
11404         -D_GNU_SOURCE.
11405
11406 2001-07-30  H.J. Lu  (hjl@gnu.org)
11407
11408         * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
11409         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
11410         (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
11411
11412 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
11413
11414         * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
11415         as -mthumb-interwork when -mcpu=arm7 is specified.
11416
11417 Mon Jul 30 17:44:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
11418
11419         * predict.def (noreturn, loop branch, loop exit): Mark as first
11420         match heuristics.
11421
11422 Mon Jul 30 12:52:11 CEST 2001  Jan Hubicka  <jh@suse.cz>
11423
11424         * combine.c (try_combine): Avoid barrier after noop jumps.
11425
11426 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
11427
11428         * cpphash.h (struct cpp_reader): Remove import_warning.
11429         * cpplib.c (skip_rest_of_line): Don't bother turning off
11430         macro expansion.
11431         (parse_include): Move include handling to...
11432         (do_include_common): ... here.  Move import warning from...
11433         (do_import): ... here.
11434         (do_pragma_poison): Don't do a callback for poison identifiers.
11435         * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
11436         * cppmain.c (setup_callbacks): Similarly.
11437
11438 Sun Jul 29 23:26:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
11439
11440         * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
11441         handle multiple sets.
11442         * except.c (sjlj_mark_call_sites): .... here.
11443         * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
11444
11445 Sun Jul 29 21:38:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
11446
11447         Suggested by Richard Henderson and Richard Kenner:
11448         * combine.c (recog_for_combine): Use the fake recog
11449         only if instruction does not match.
11450         * rtl.h (NOOP_MOVE_INSN_CODE): New.
11451         * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
11452
11453         * combine.c (try_combine): Discover noop jump as direct jump.
11454
11455 2001-07-29  Daniel Berlin  <dan@cgsoftware.com>
11456
11457         * df.c (df_rd_global_compute): Add successors to worklist, not
11458         current item.
11459         (df_ru_global_compute): Ditto.
11460
11461 2001-07-27  Daniel Berlin  <dan@cgsoftware.com>
11462
11463         * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
11464         increment REG_N_SETS.
11465
11466 2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
11467
11468         * sbitmap.h: New prototype for sbitmap_a_xor_b.
11469
11470         * sbitmap.c (sbitmap_a_xor_b): New function.
11471         ifdef the basic block stuff on IN_GCC.
11472
11473 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
11474
11475         * cppexp.c (parse_defined): Always record the macro name.
11476         (lex): Don't worry about identifiers, or special-case
11477         CPP_NOT here.
11478         (_cpp_parse_expr): Figure out at the end of the routine
11479         whether we saw a valid !defined() expression.
11480         * cppfiles.c (stack_include_file): Update for mi_valid.
11481         (_cpp_pop_file_buffer): Similarly.
11482         * cpplex.c (_cpp_lex_token): Similarly.
11483         * cpphash.h (enum mi_state, enum mi_ind, mi_state,
11484         mi_if_not_defined, mi_lexed): Remove.
11485         (mi_valid): New.
11486         * cpplib.c (do_if): Simplify.
11487         (do_endif, push_conditional, _cpp_handle_directive): Update
11488         for renaming of mi_state to mi_valid.
11489 doc:
11490         * cpp.texi: Add index entries for digraphs, and add comment
11491         that C++ refers to them as alternative tokens.
11492
11493 Sun Jul 29 18:59:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
11494
11495         * basic-block.h (CLEANUP_PRE_LOOP): New.
11496         * except.c (finish_eh_generation): Update call of cleanup_cfg.
11497         * sibcall.c (optimize_sibling_calls): Likewise.
11498         * toplev.c (rest_of_compilation): Likewise.
11499         * flow.c (try_forward_edges): Take argument MODE;
11500         do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
11501         (try_optimize_cfg): Update call of try_forward_edges.
11502
11503 Sun Jul 29 18:59:56 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
11504                                 Jan Hubicka  <jh@suse.cz>
11505
11506         * (validate_replace_rtx_1): Fix simplification of MINUS.
11507
11508 2001-07-29  Neil Booth  <neil@daikokuya.demon.co.uk>
11509
11510         PR preprocessor/3669
11511         * cppinit.c (init_dependency_output): Turn off dump requests
11512         if sending dependencies to stdout.
11513
11514 2001-07-28  Richard Henderson  <rth@redhat.com>
11515
11516         * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
11517         not optimizing.
11518
11519 2001-07-28  Golubev I. N.  <gin@mo.msk.ru>
11520
11521         * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
11522
11523 2001-07-28  Kazu Hirata  <kazu@hxi.com>
11524
11525         * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
11526         is VAR_DECL first to prevent an ICE.
11527
11528 2001-07-28  Richard Henderson  <rth@redhat.com>
11529
11530         * varasm.c (immed_real_const_1): Don't elide special cases for
11531         nested functions.
11532         (clear_const_double_mem): Clear const_tiny_rtx too.
11533
11534 2001-07-28  Richard Henderson  <rth@redhat.com>
11535
11536         * dwarf2out.c (dw_val_class_offset): New.
11537         (struct dw_ranges_struct, dw_ranges_ref): New.
11538         (ranges_table, ranges_table_allocated): New.
11539         (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
11540         (add_AT_offset, add_ranges, output_ranges): New.
11541         (print_die, output_die): Handle dw_val_class_offset.
11542         (attr_checksum, size_of_die, value_format): Likewise.
11543         (gen_lexical_block_die): Handle non-contiguous blocks.
11544         (gen_block_die): Likewise.
11545         (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
11546         if needed.  Dump the ranges table.
11547         * final.c (final_start_function): Remove unnecessary notes and
11548         rebuild the block tree before numbering the blocks.
11549         * function.c (reorder_blocks_0): Walk the existing block tree
11550         to unmark all blocks.
11551         (reorder_blocks_1): Create block fragments when duplicate block
11552         notes are seen.
11553         (reorder_fix_fragments): New.
11554         (reorder_blocks): Call it.
11555         * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
11556
11557 2001-07-28  Richard Henderson  <rth@redhat.com>
11558
11559         * emit-rtl.c (adjust_address): Make a copy of the memory address.
11560
11561 2001-07-28  Richard Henderson  <rth@redhat.com>
11562
11563         * flow.c (add_to_mem_set_list): New function.
11564         (init_propagate_block_info): Use it.
11565         (mark_set_1): Likewise.
11566         (insn_dead_p): Canonicalize memory address for dead store
11567         comparison.  Allow wider mode stores to kill narrower mode stores.
11568         (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
11569         (invalidate_mems_from_set): Don't handle MEMs.
11570
11571 2001-07-28  Kazu Hirata  <kazu@hxi.com>
11572
11573         * config/h8300/h8300.h: Fix formatting.
11574
11575 Sat Jul 28 23:35:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
11576
11577         * basic-block.h (EDGE_FREQUENCY): New macro.
11578         * bb-reorder (fixup_reorder_chain): Set counts and frequencies
11579         for new BB/edges.
11580         * flow.c (find_sub_basic_blocks): Likewise.
11581         (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
11582         (redirect_edge_and_branch): Use EDGE_FREQUENCY.
11583
11584         * predict.c (DEF_PREDICTOR): New argument FLAGS.
11585         (HITRATE): New macro.
11586         (PRED_FLAG_FIRST_MATCH): New constant.
11587         (predictor_info): New field flgags.
11588         (combine_predictions_for_insn): Use DS theory to combine
11589         probabilities; set the edge probabilities when finished.
11590         (estimate_probability): Avoid duplicated matches
11591         of LOOP_BRANCH heuristics for nested loops; update comment.
11592         * predict.def: Add flags for each prediction, set probabilities
11593         according to B&L paper.
11594         * predict.h (DEF_PREDICTOR): New argument FLAGS.
11595
11596         * profile.c (compute_branch_probabilities):  Cleanup way the edge
11597         probabilities are computed and REG_BR_PROB notes are dropped; if
11598         values does not match, emit error.
11599         (init_branch_prob): Do error instead of warning when profile driven
11600         feedback is missing or corrupt.
11601
11602 2001-07-27  DJ Delorie  <dj@redhat.com>
11603
11604         * ifcvt.c (noce_get_alt_condition): If the condition is a compare
11605         against a constant, try to adjust the compare to have the desired
11606         constant in it so that min/max optimizations happen more often.
11607
11608 Fri Jul 27 17:53:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
11609
11610         * flow.c (last_loop_beg_note): New function.
11611         (redirect_edge_and_branch): Use it.
11612         (split_edge): Likewise.
11613
11614         * alias.c (loop_p): Avoid uninitialized memory access.
11615
11616         * flow.c (try_forward_edges): Avoid accessing freed memory.
11617
11618         * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
11619         variable access.
11620
11621 2001-07-26  Andrew Haley  <aph@redhat.com>
11622         Joern Rennecke <amylaar@redhat.com>
11623
11624         * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
11625         (SUBTARGET_CPP_ENDIAN_SPEC): New.
11626         (SUBTARGET_CPP_SPEC): New.
11627         (CPP_SPEC): Remove.
11628         * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
11629         (SUBTARGET_CPP_PTR_SPEC): New.
11630         (CPP_DEFAULT_CPU_SPEC): New.
11631         (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
11632         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
11633         (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
11634         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
11635         (SUBTARGET_CPP_SPEC): Define as an empty string.
11636
11637 2001-07-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11638
11639         * doc/install.texi (Configuration): Properly link the host
11640         specific instructions also when generating HTML.
11641
11642 Fri Jul 27 00:33:35 EDT 2001  John Wehle  (john@feith.com)
11643
11644         * flow.c (redirect_edge_and_branch_force): Test
11645         target->global_live_at_start.
11646
11647 2001-07-26  Richard Henderson  <rth@redhat.com>
11648
11649         * simplify-rtx.c (avoid_constant_pool_reference): Export.
11650         * rtl.h (avoid_constant_pool_reference): Declare it.
11651         * dwarf2out.c (add_location_or_const_value_attribute): Use it.
11652         (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
11653
11654 Thu Jul 26 22:30:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
11655
11656         * rtl.h (cleanup_barriers): Declare.
11657         * jump.c (cleanup_barriers): New function.
11658         * toplev.c (rest_of_compilation): Call cleanup_barriers
11659         before loop optimizer and after bb_reorder.
11660
11661         * flow.c (back_edge_of_syntactic_loop_p): New.
11662         (split_edge): Use it.
11663
11664 2001-07-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11665
11666         * glimits.h (_MACH_MACHLIMITS_H_): Delete.
11667
11668 Thu Jul 26 22:22:21 2001  Denis Chertykov  <denisc@overta.ru>
11669
11670         * cse.c (cse_process_notes): Replace any registers if the address
11671         remains valid.
11672
11673 Thu Jul 26 14:04:03 EDT 2001  John Wehle  (john@feith.com)
11674
11675         * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
11676         (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
11677         (propagate_block): Update prototype.
11678         * flow.c (update_life_info): Simplify the CFG and
11679         recalculate the global regs which are alive when
11680         removing dead code during a global update.
11681         (propagate_block): Return non-zero if an INSN is
11682         deleted.
11683
11684 2001-07-26  Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11685
11686         * Makefile.in (LIBICONV): Define.
11687
11688 2001-07-26  Catherine Moore  <clm@redhat.com>
11689
11690         * config/v850/v850.h (ENCODE_SECTION_INFO):  Change order
11691         of conditional to avoid tree checking errors.
11692
11693 2001-07-26  Kazu Hirata  <kazu@hxi.com>
11694
11695         * regmove.c (regmove_optimize): Don't replace a reg with
11696         another reg of a different mode.
11697
11698 2001-07-26  Andrew MacLeod  <amacleod@redhat.com>
11699
11700         * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
11701         limit length of dependency flush list.
11702         * params.h (MAX_PENDING_LIST_LENGTH): Define.
11703         * sched-int.h  (struct deps): Add pending_flush_length field.
11704         * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
11705         has 1 element in it.
11706         (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
11707         (sched_analyze): After a jump, if the pending memory flush list is too
11708         large, flush the pending lists.
11709         (init_deps): Initialize pending_flush_length to 0.
11710         * doc/invoke.texi (max_pending_list_length): Document parameter.
11711
11712 2001-07-26  Neil Booth  <neil@daikokuya.demon.co.uk>
11713
11714         * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
11715         * dbxout.c (dbxout_global_decl): Move outside #ifdef.
11716         * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
11717
11718 2001-07-26  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
11719
11720         * cpphash.h (struct_lexer_state): Delete was_skipping.
11721         Move skipping here from struct cpp_reader.
11722         * cpplex.c (parse_identifier): Update.
11723         (_cpp_lex_token): Don't skip tokens in a directive.
11724         * cpplib.c (struct if_stack): Update.
11725         (start_directive, end_directive): Don't change skipping state.
11726         (_cpp_handle_directive): Update.
11727         (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
11728         (do_else, do_endif): Update; only check for excess tokens if not
11729         in a skipped conditional block.
11730         (push_conditional): Update for new struct if_stack.
11731
11732 2001-07-26  Graham Stott  <grahams@redhat.com>
11733
11734         * function.c (locate_and_pad_parm): Also pad initial offset
11735         so that the total argument size also includes the padding.
11736
11737 2001-07-26  Graham Stott <grahams@redhat.com>
11738
11739         * gensupport.c (alter_output_for_insn): Correct enable checking failure
11740         change XSTR to XTMPL.
11741
11742         (process_one_cond_exec): Likewise
11743
11744 2001-07-25  Richard Henderson  <rth@redhat.com>
11745
11746         * varasm.c (assemble_variable): Create DECL_RTL before setting
11747         TREE_ASM_WRITTEN.
11748
11749 Thu Jul 26 00:19:30 CEST 2001  Jan Hubicka  <jh@suse.cz>
11750
11751         * predict.c (estimate_probability): Avoid duplicated predictions.
11752
11753         * loop.c (find_and_verify_loops): Grok multiple barriers.
11754
11755 Wed Jul 25 18:00:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11756
11757         * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
11758
11759         * dbxout.c: Consistently use putc instead of fputc.
11760         (print_wide_int): New function; call instead of direct fprintf.
11761         (dbxout_type_index): Adjust calls of CHARS to be more accurate.
11762         (dbxout_type_fields, dbxout_type_method_1): Likewise.
11763         (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
11764         (print_int_cst_octal): Likewise.
11765         (print_octal): Show we wrote characters.
11766         (dbxout_type): Set have_used_extensions in more places.
11767
11768 2001-07-25  Catherine Moore  <clm@redhat.com>
11769
11770         * config/v850/v850.c (v850_va_arg):  Use addr
11771         instead of valist to build incr.
11772
11773 Wed Jul 25 22:48:59 CEST 2001  Jan Hubicka  <jh@suse.cz>
11774
11775         * flow.c (delete_dead_jumptables): New function.
11776         (life_analyzis): Call it.
11777         * bb-reorder.c (skip_insns_after_block): Handle contradictory
11778         sequences.
11779
11780 2001-07-25  Richard Henderson  <rth@redhat.com>
11781
11782         * except.c (reachable_handlers): Handle a region being removed
11783         out from under a RESX.
11784
11785 2001-07-25  Richard Henderson  <rth@redhat.com>
11786
11787         * config/alpha/alpha.c (alpha_emit_conditional_move): Always
11788         swap GE/GT if it is an fp comparison.
11789
11790 2001-07-25  Andrew Haley  <aph@cambridge.redhat.com>
11791
11792         * alias.c (rtx_equal_for_memref_p): Allow strings as types in
11793         operands.
11794
11795 Wed Jul 25 08:25:01 2001  Jeffrey A Law  (law@cygnus.com)
11796
11797         * ssa.c (rename_insn_1): Do not wrap an assignment to a
11798         paradoxical SUBREG inside a SEQUENCE.  Fix minor formatting
11799         glitch.
11800
11801         * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
11802         throw an exception.
11803         (visit_expression): When attempting to simplify an expression,
11804         retrieve any modes for arguments before they are simplified
11805         to constants.
11806
11807 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
11808             Janis Johnson  <janis@us.ibm.com>
11809
11810         * stmt.c (expand_goto): A nonlocal goto can be a call too.
11811         * builtins.c (expand_builtin_longjmp): Reverse label and static chain
11812         pointer parameters to match documented usage of nonlocal_goto.
11813         * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
11814         parameters to their correct order.
11815         * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
11816         parameters to their correct order.
11817
11818 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
11819
11820         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
11821
11822 2001-07-25  Jan Hubicka  <jh@suse.cz>
11823             Richard Henderson  <rth@redhat.com>
11824
11825         * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
11826         the sequence.
11827         (make_edges): New argument update_p; populate the edge cache if set.
11828         (find_basic_blocks): Update make_edges invocation.
11829
11830 2001-07-24  Joel Sherrill <joel@OARcorp.com>
11831
11832         * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
11833
11834 2001-07-24  Joel Sherrill <joel@OARcorp.com>
11835
11836         * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
11837         -Acpu and -Amachine.h.
11838         * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
11839         Corrected header to say ELF not a.out.
11840         * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
11841         when given -msoft-float.
11842
11843 2001-07-24  Joel Sherrill <joel@OARcorp.com>
11844
11845         * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
11846         extra multilib parts like arm-elf.
11847         (i960-*-coff*, i960-*-rtems): Should not use collect2.
11848         (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
11849         crtfini.o as extra multilib parts.
11850
11851 2001-07-24  Joel Sherrill <joel@OARcorp.com>
11852
11853         * configure.in: Add rtems as a supported thread model.
11854         * gthr-rtems.h: Add missing entry point __gthread_active_p.
11855         * configure: Rebuilt.
11856
11857 2001-07-24  Lars Brinkhoff  <lars@nocrew.org>
11858
11859         * stor-layout.c (get_mode_alignment): make it work when
11860         BITS_PER_UNIT is not a power of two.
11861         * builtins.c (get_pointer_alignment): Likewise.
11862
11863 2001-07-24  Richard Henderson  <rth@redhat.com>
11864
11865         * simplify-rtx.c (avoid_constant_pool_reference): Coerce
11866         the retrieved constant into the expected mode.
11867
11868 Wed Jul 25 01:41:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
11869
11870         * flow.c (try_simplify_condjump): Avoid duplicated edges.
11871         (verify_flow_info): Check for duplicated edges; clarify
11872         error reporting.
11873
11874         * flow.c (block_label): Update basic_block_for_insn.
11875         (commit_edge_insertions): Call compute_bb_for_insn.
11876
11877         * flow.c (purge_dead_edges): Handle conditional jumps and conditional
11878         returns too.
11879
11880         * flow.c (redirect_edge_and_branch,
11881         try_optimize_cfg): Use redirect_edge_succ_nodup
11882         (redirect_edge_succ_nodup): New.
11883         * basic_block.h (redirect_edge_succ_nodup): Declare.
11884
11885         * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
11886         after gcse.
11887
11888 Wed Jul 25 00:32:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
11889
11890         * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
11891         (try_crossjump_to_edge): Update commetns.
11892         (try_crossjump_bb): Likewise.
11893
11894 2001-07-24  Richard Henderson  <rth@redhat.com>
11895
11896         * combine.c (distribute_notes): Move set of need_refresh
11897         for noop_move_p down to catch all cases.
11898
11899 Tue Jul 24 20:32:44 CEST 2001  Jan Hubicka  <jh@suse.cz>
11900
11901         * recog.c (split_all_insns_noflow): New.
11902         * rtl.h (split_all_insns_noflow): Declare.
11903         * ia64.c (ia64_reorg): Use split_all_insns_noflow.
11904         * m68hc11.c (m68hc11_reorg): Likewise.
11905         * sh.c (machine_dependent_reorg): Likewise.
11906         * toplev.c (rest_of_compilation): Likewise for last split_all_insns
11907         call.
11908
11909 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
11910
11911         * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
11912         (ashlsi3_n splitter): Likewise.
11913         (lshrsi3_n splitter): Likewise.
11914
11915         (GOTaddr2picreg): Make const SImode.
11916         (sym_label2reg): Likewise.
11917         (symGOT2reg): Likewise.
11918         (symGOTOFF2reg) Likewise.
11919
11920         (casesi_worker_0): Make unspec SImode.
11921
11922 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
11923
11924         * config/sh/sh.c (barrier_align): Check that an operand really is
11925         an insn before extracting its INSN_CODE.
11926
11927 2001-07-24  Andrew Haley  <aph@cambridge.redhat.com>
11928
11929         * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
11930         dangling else.
11931
11932         * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
11933         for SImode to prevent overflow.
11934
11935 2001-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11936
11937         * config/mips/irix6-libc-compat.c: New file.
11938         * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
11939         * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
11940         passing workaround.
11941
11942 2001-07-24  lars brinkhoff  <lars@nocrew.org>
11943
11944         * rtl.texi (REG_POINTER): Document.
11945         (Machine Modes): Document BImode, OImode, PQImode, PHImode,
11946         QFmode, HFmode, TQFmode, QCmode, and HCmode.
11947
11948 Tue Jul 24 10:49:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
11949
11950         * flow.c (delete_noop_moves): Do not confuse libcall regions.
11951
11952 2001-07-23  Richard Henderson  <rth@redhat.com>
11953
11954         * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
11955
11956 2001-07-23  Kazu Hirata  <kazu@hxi.com>
11957
11958         * config/h8300/h8300-protos.h: Add a prototype for
11959         general_operand_dst_push.
11960         * config/h8300/h8300.c (general_operand_dst_push): New.
11961         * config/h8300/h8300.h (OK_FOR_T): New.
11962         (EXTRA_CONSTRAINT): Use it.
11963         * config/h8300/h8300.md (movqi_push): Remove and integrate into
11964         the existing movqi pattern.
11965         (movhi_push): Likewise.
11966
11967         * reload.c: Fix comment typos.
11968
11969 Mon Jul 23 23:34:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
11970
11971         * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
11972
11973 2001-07-23  H.J. Lu  (hjl@gnu.org)
11974
11975         * doc/extend.texi: Update __builtin_return_address and
11976         __builtin_frame_address.
11977
11978 2001-07-23  Richard Henderson  <rth@redhat.com>
11979
11980         * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
11981         before CSE.
11982         * config/i386/i386.md: New setcc+movzbl peephole2.
11983
11984 2001-07-23  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
11985
11986         * objc/Make-lang.in (objc-act.o): Depend on debug.h.
11987         * objc/objc-act.c: Include debug.h.
11988         (synth_module_prologue): Save and restore debug hooks too.
11989
11990 2001-07-23  lars brinkhoff  <lars@nocrew.org>
11991
11992         * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
11993         and C4X_FLOAT_FORMAT.
11994         (BOOL_TYPE_SIZE): Document.
11995
11996 Mon Jul 23 11:54:23 2001  Clinton Popetz  <cpopetz@cpopetz.com>
11997
11998         * unroll.c (loop_iterations): Fix miscalculation of initial
11999         giv offset.
12000
12001 2001-07-13  Andrew Haley  <aph@redhat.com>
12002
12003         * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
12004         * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
12005         * config/sh/sh.c (sh_can_redirect_branch): New function.
12006         * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
12007         * reorg.c (steal_delay_list_from_target): Use
12008         MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
12009
12010 Mon Jul 23 17:20:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
12011
12012         * flow.c (try_simplify_condjump): Unlink insn chain on
12013         fallthru edge; use can_fallthru.
12014
12015 Mon Jul 23 16:03:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
12016
12017         * basic-block.h (find_sub_basic_block): Declare.
12018         * flow.c (make_edges): New arguments MIN and MAX;
12019         (find_sub_basic_blocks): Revamp to use make_edges
12020         and purge_dead_edges.
12021         (find_basic_blocks): Update call of find_sub_basic_block.
12022
12023         * recog.c (split_all_insns): Always expect CFG to be consistent;
12024         call find_sub_basic_blocks in case something has changed.
12025         * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
12026         has been built.
12027
12028         * basic-block.h (delete_noop_moves): Declare.
12029         * combine.c (combine_instructions): Call it.
12030         (recog_for_combine): Tolerate noop moves
12031         (distribute_notes): Force refresh when register dies at noop move.
12032         * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
12033         too.
12034         (life_analysis): Update delete_noop_moves call.
12035         (set_noop_p): Move too ...
12036         * rtlanal.c (noop_move_p): ... here.
12037         * rtl.h (noop_move_p): Declare.
12038
12039         * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
12040         * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
12041         after combine.
12042         * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
12043         (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
12044
12045 2001-07-23  Hans-Peter Nilsson  <hp@bitrange.com>
12046
12047         * reload.c (push_reload): Fix typo in comment.
12048         (find_reloads_address): Ditto.
12049         (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
12050
12051 2001-07-22  Richard Henderson  <rth@redhat.com>
12052
12053         * flow.c: Grammar check and clarify a lot of comments.
12054         (try_simplify_condjump): Rename variables to be clearer.
12055         (try_forward_edges): Skip complex and fallthru edges.
12056         Rearrange tests to avoid duplicate checks.
12057         (flow_find_cross_jump): Likewise.
12058         (outgoing_edges_match): Allow match if neither branch has
12059         probability data.  Loosen probability match to 5%.
12060         (try_crossjump_to_edge): Hoist repeated indirection into
12061         local variables.
12062         (try_crossjump_bb): Don't check complex edges.  Eliminate
12063         redundant crossjump tests.
12064         (try_optimize_cfg): Fix use of bool.  Reorganize cheaper
12065         checks before more expensive checks.
12066
12067 2001-07-22  Richard Henderson  <rth@redhat.com>
12068
12069         * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
12070         INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
12071         arguments.
12072
12073 2001-07-22  Richard Henderson  <rth@redhat.com>
12074
12075         * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
12076         (const_sint32_operand): Likewise.
12077         * m68k.md (anon mulsi pattern): Use const_int_operand not
12078         const_sint32_operand.
12079         (umulsi3_highpart): Zero extend a constant input.
12080         (smulsi3_highpart): Don't bother checking SImode constant.
12081         (const_umulsi3_highpart): Give op3 DImode.
12082         (const_smulsi3_highpart): Likewise.
12083
12084 2001-07-22  Richard Henderson  <rth@redhat.com>
12085
12086         * flow.c (split_block): Make sure bb_note is included in the
12087         new block when splitting before a label.
12088
12089 Sun Jul 22 23:28:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
12090
12091         * basic-block.h (redirect_edge_and_branch_force,
12092         redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
12093         * flow.c (redirect_edge_and_branch_force,
12094         redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
12095         (redirect_edge_and_branch_force): Fix copying of lifeness information.
12096         (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
12097         * ifcvt.c (dead_or_predictable): Take BB as an new destination
12098         instead of label; update CFG after transformation.
12099         (find_if_case_1): Update call, use redirect_edge_and_branch_force
12100         for finishing the transformation; handle even case where ELSE
12101         does not follow THEN.
12102         (find_if_case_2): Update call of dead_or_predictable; simplify
12103         CFG update.
12104
12105         * emit-rtl.c (split_branch_probability): New global variable.
12106         (try_split): Take care to set split_branch_probability and
12107         create REG_BR_PROB note for new jump insns.
12108         * md.texi (define_split): Document new feature.
12109
12110         * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
12111
12112 2001-07-22  Neil Booth  <neil@daikokuya.demon.co.uk>
12113
12114         * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
12115         (asm_out_file): Remove redundant declaration.
12116         (assemble_asm): Remove old #if 0 block.
12117         (assemble_variable): Remove end of function; debug output is
12118         now handled with global_decl.  Remove old #if 0 block.  Update.
12119         Remove saved_in_section and associated no-op code.
12120         * Makefile.in (varasm.o): Correct dependencies.
12121
12122 Sun Jul 22 17:55:11 2001  Alexandre Oliva  <aoliva@redhat.com>
12123
12124         * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
12125         the definition in defaults.h.
12126
12127 Sun Jul 22 21:31:04 CEST 2001  Jan Hubicka  <jh@suse.cz>
12128
12129         * jump.c: Update comments.
12130         (delete_barrier_successors, delete_unreferenced_labels,
12131         delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
12132         delete_labelref_insn, redirect_tablejump, jump_optimize_1,
12133         jump_optimize, jump_optimize_minimal): Kill.
12134         (rebuild_jump_labels): Move code from jump_optimize_1.
12135         (purge_line_number_notes): Likewise.
12136         (copy_loop_headers): Likewise.
12137         * reg-stack.c: Update comment.
12138         * stmt.c: Likewise.
12139         * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
12140         JUMP_AFTER_REGSCAN): Kill.
12141         * toplev.c (rest_of_compilation): Use cleanup_cfg, call
12142         purge_line_number_notes and copy_loop_headers.
12143
12144 2001-07-22 Neil Booth  <neil@daikokuya.demon.co.uk>
12145            Richard Henderson  <rth@redhat.com>
12146
12147         * dbxout.c (dbxout_global_decl): New.
12148         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
12149         * sdbout.c (sdbout_finish): New.
12150         (sdbout_debug_hooks): Use it, add comments.
12151         (sdbout_global_decl): Defer initialised public vars to
12152         sdbout_finish.
12153         * varasm.c (assemble_variable): Don't output debug information
12154         for file-scope variables.
12155
12156 2001-07-22  Richard Henderson  <rth@redhat.com>
12157
12158         * config/alpha/alpha.c (get_trap_mode_suffix): New.
12159         (get_round_mode_suffix): New.
12160         (print_operand): Use them for [/].  Remove support for [&'`()+].
12161         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
12162         * config/alpha/alpha.md (attr round_suffix): New.
12163         (attr trap_suffix): New.
12164         (all insns): Set them appropriately.  Use %/ instead of the
12165         myriad punctuators.
12166
12167 2001-07-22  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
12168
12169         * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
12170
12171 2001-07-22  Richard Henderson  <rth@redhat.com>
12172
12173         * regrename.c (regrename_optimize): Compute nregs for each
12174         potential target register.
12175
12176 2001-07-21 Neil Booth  <neil@daikokuya.demon.co.uk>
12177            Richard Henderson  <rth@redhat.com>
12178
12179         * dbxout.c (dbxout_global_decl): New.
12180         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
12181         * sdbout.c (sdbout_finish): New.
12182         (sdbout_debug_hooks): Use it, add comments.
12183         (sdbout_global_decl): Defer initialised public vars to
12184         sdbout_finish.
12185         * varasm.c (assemble_variable): Don't output debug information
12186         for file-scope variables.
12187
12188 2001-07-21  H.J. Lu  (hjl@gnu.org)
12189
12190         * config/mips/mips.c (mips_cpu): Moved into ...
12191         (override_options): Here.
12192
12193         * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
12194         mips_tune.
12195         (mips_cpu): Removed.
12196
12197 2001-07-21  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
12198
12199         * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
12200         ("iorqi3"): Likewise.
12201         ("xorqi3"): Likewise.
12202         ("*addhi3"): Fix constraint to avoid reloading in a soft register.
12203         ("*subhi3_sp): Likewise.
12204         ("*subhi3"): Likewise.
12205         ("extendhisi2"): Accept D, X and Y as source operand to avoid
12206         reload problems.
12207
12208 2001-07-21  Nathan Sidwell  <nathan@codesourcery.com>
12209
12210         * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
12211         * config/freebsd.h: Likewise.
12212         * config/linux.h: Likewise.
12213         * config/openbsd.h: Likewise.
12214         * config/alpha/linux-elf.h: Likewise.
12215         * config/arm/linux-elf.h: Likewise.
12216         * config/d30v/d30v.h: Likewise.
12217         * config/fr30/fr30.h: Likewise.
12218         * config/ia64/aix.h: Likewise.
12219         * config/ia64/ia64.h: Likewise.
12220         * config/mips/linux.h: Likewise.
12221         * config/pj/pj.h: Likewise.
12222         * config/rs6000/linux.h: Likewise.
12223         * config/sparc/linux.h: Likewise.
12224         * config/sparc/linux64.h: Likewise.
12225
12226 2001-07-20  Bruce Korb  <bkorb@gnu.org>
12227
12228         * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
12229         because getc() and char* may disagree on signedness.
12230
12231 2001-07-20  Richard Henderson  <rth@redhat.com>
12232
12233         * doc/rtl.texi (REG_DEAD): Update for current semantics.
12234
12235         * flow.c (try_redirect_by_replacing_jump): Correctly compute which
12236         insns to delete in the presence of cc0 in a jump insn.
12237
12238 Fri Jul 20 22:14:49 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
12239                                 Jan Hubicka  <jh@suse.cz>
12240
12241         * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
12242         of doing the change by hand.
12243
12244 Fri Jul 20 21:59:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
12245
12246         * rtlanal.c (set_noop_p): Return true for noop jumps.
12247
12248         * expr.c (emit_single_push_insn): Add call to push expander.
12249         * expr.h (optab_index): Add OTI_push
12250         (push_optab): New constant.
12251         * genopinit.c (optabs): Add push_optab.
12252         * optabs.c (init_optab): Init push optab.
12253         * md.texi (push??1): Document
12254
12255 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
12256
12257         * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
12258         expand to emit the pattern; put a REG_INC note for push/pop
12259         instructions.
12260         ("movdf", "movdf_internal"): Likewise.
12261         ("movsi", "movsi_internal"): Likewise.
12262         ("movsf", "movsf_internal"): Likewise.
12263         ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
12264
12265 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
12266
12267         * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
12268         gen_highpart.
12269
12270 2001-07-20  Daniel Berlin  <dan@cgsoftware.com>
12271
12272         * params.def: Change default max inline insns to 100.
12273
12274 2001-07-20  Diego Novillo  <dnovillo@redhat.com>
12275
12276         * combine.c (combine_simplify_rtx): Generate a new shift operation
12277         when simplifying the first operand of a (neg (ashift)) expression.
12278
12279 2001-07-20  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
12280
12281         * regclass.c (N_REG_INTS): Use only 32 bits per element.
12282
12283 2001-07-20  Kelley Cook  <kelley.cook@home.com>
12284
12285         * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
12286         information.   Move rest into ...
12287         (*-*-solaris): ... here.  Eliminate redundant information and
12288         reword necessary packages section.  Delete 4.x assembler bug info.
12289         (sparc-sun-*): Merge into ...
12290         (sparc-sun-sunos*): here.
12291
12292 2001-07-20  Catherine Moore  <clm@redhat.com>
12293
12294         * config/v850/v850.md (casesi): Generate LABEL_REF
12295         with Pmode.
12296
12297 Fri Jul 20 14:12:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
12298
12299         * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
12300         * i386.c (ix86_zero_extend_to_Pmode): Make global.
12301         * i386.md (strclrsi expander): Use it.
12302
12303 Fri Jul 20 13:24:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
12304
12305         * integrate.c (copy_insn_list): handle
12306         NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
12307         (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
12308         identically as to CODE_LABEL.
12309
12310         * fold-const (fold): Convert A/B/C to A/(B*C) and
12311         A/(B/C) to (A/B)*C
12312
12313         * except.c (connect_post_landing_pads): Delete the RESX insns.
12314
12315 2001-07-20  Aldy Hernandez  <aldyh@redhat.com>
12316
12317         * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
12318
12319         * config/mips/mips.md (nmadd/nmsub): Use macro.
12320
12321 2001-07-20  Nathan Sidwell  <nathan@codesourcery.com>
12322
12323         * cppinit.c (remove_dup_dir): Make static.
12324         (remove_dup_dirs): Make static. Only warn about preempting a
12325         system directory with a non-system directory.
12326
12327 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
12328
12329         * ifcvt.c (noce_try_store_flag_constants): Correct order
12330         of parameters to trunc_int_for_mode.
12331
12332 2001-07-19  Mark Mitchell  <mark@codesourcery.com>
12333
12334         * reorg.c (fill_simple_delay_slots): If an instruction might throw
12335         an exception that will be caught within this function, do not fill
12336         its delay slot with any subsequent instruction.
12337
12338 2001-07-19  Steve Ellcey <sje@cup.hp.com>
12339
12340         * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
12341         * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
12342         pointer extension instruction.
12343         * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
12344         * simplify-rtx.c (simplify_unary_operation) Likewise.
12345         * explow.c (convert_memory_address) Check value of
12346         POINTERS_EXTEND_UNSIGNED to avoid some conversions when
12347         less than zero.
12348         * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
12349         MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
12350         * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
12351         Add Multilib Support.
12352         (POINTERS_EXTEND_UNSIGNED)  Define for ILP32 support.
12353         * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
12354         Add Multilib Support.
12355         (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
12356         support.
12357         * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
12358         * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
12359         a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
12360
12361 2001-07-19  Alexandre Oliva  <aoliva@redhat.com>
12362
12363         * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
12364         old and new operands in `<', `3' and `b'.
12365
12366 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
12367
12368         * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
12369         (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
12370         (toplev.o): Don't depend on xcoffout.h.
12371         * c-decl.c: Include debug.h
12372         (duplicate_decls): Use debug hook.
12373         * dbxout.c (dbxout_source_file, dbxout_args): Make static.
12374         (dbx_debug_hooks, xcoff_debug_hooks): Update.
12375         (dbxout_types): Remove.
12376         * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
12377         * debug.c (do_nothing_debug_hooks): Update.
12378         (debug_true_tree, debug_nothing_rtx): New.
12379         * debug.h (struct rtx_def): New.
12380         (struct gcc_debug_hooks): New hooks ignore_block,
12381         outlining_inline_function and label.
12382         (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
12383         dwarf2out_frame_finish): New.
12384         * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
12385         Make static, update prototype.
12386         (dwarf2_debug_hooks): Update.
12387         * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
12388         dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
12389         * dwarfout.c (dwarf_debug_hooks): Update.
12390         * emit-rtl.c: Include debug.h.
12391         (remove_unnecessary_notes): Use debug hook.
12392         * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
12393         (final_scan_insn): Use debug hook.
12394         * integrate.c (output_inline_function): Use debug hook.
12395         * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
12396         (sdb_debug_hooks): Update.
12397         * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
12398         * toplev.c: Don't include xcoffout.h.
12399         (note_outlining_of_inline_function, debug_ignore_block): Remove.
12400         * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
12401         Remove.
12402         * tree.h (dwarf2out_do_frame): Remove.
12403
12404 2001-07-19  Catherine Moore  <clm@cygnus.com>
12405
12406         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
12407
12408 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
12409
12410         * reload1.c (eliminate_regs_in_insn): When updating a set
12411         to the frame pointer to the hardware frame pointer, perform
12412         the update always not just when REPLACE is set.
12413
12414         * reload1.c (choose_reload_regs): Don't inherit a reload
12415         that crosses multiple registers if registers past the first
12416         don't fit in the desired class.
12417
12418         * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
12419         when negating constants.
12420
12421 2001-07-19  Toon Moene  <toon@moene.indiv.nluug.nl>
12422
12423         * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
12424         * doc/tree.texi: Ditto.
12425
12426 2001-07-19  Mark Kettenis  <kettenis@wins.uva.nl>
12427             Jakub Jelinek  <jakub@redhat.com>
12428
12429         * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
12430         (extract_cie_info): Handle "eh" augmentation properly,
12431         remember eh_ptr.
12432         (struct frame_state, __frame_state_for): New.
12433
12434 2001-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12435
12436         * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
12437         HANDLE_SYSV_PRAGMA): Define.
12438         * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
12439         previous args.
12440         (copy_object): Caller changed.
12441
12442 2001-07-19  Andreas Schwab  <schwab@suse.de>
12443
12444         * configure.in (assembler dwarf2 debug_line support): Define nop
12445         insn for m68k.
12446         * configure: Regenerated.
12447
12448 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
12449
12450         * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
12451         dwarfout.h.
12452         * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
12453         to conditionally compiled block.
12454         (dbx_debug_hooks, xcoff_debug_hooks): Update.
12455         * dbxout.h (dbxout_function): Remove.
12456         * debug.c (do_nothing_debug_hooks): Update.
12457         * debug.h (struct gcc_debug_hooks): New hooks function_decl,
12458         global_decl, deferred_inline_function.
12459         * dwarf2out.c (dwarf2_debug_hooks): Update.
12460         (dwarf2out_global_decl): New.
12461         * dwarfout.c: Don't include dwarfout.h.
12462         (dwarfout_global_decl, dwarfout_function_decl,
12463         dwarfout_deferred_inline_function): New.
12464         (dwarf_debug_hooks): Update.
12465         * dwarfout.h: Remove.
12466         * final.c: Don't include dwarfout.h.
12467         * sdbout.c (sdbout_global_decl): New.
12468         (sdbout_debug_hooks): Update.
12469         * toplev.c: Don't include dwarfout.h.
12470         (check_global_declarations, rest_of_compilation): Use new debug hooks.
12471         (note_deferral_of_defined_inline_function): Remove.
12472         * toplev.h (note_deferral_of_defined_inline_function): Remove.
12473         * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
12474         * ch/lex.c: Don't include dwarfout.h.
12475         * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
12476         (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
12477         * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
12478         * cp/optimize.c: Include debug.h.
12479         (maybe_clone_body): Use debug hook.
12480         * cp/semantics.c: Include debug.h.
12481         (expand_body): Use debug hook.
12482         * po/POTFILES.in: Remove dwarfout.h.
12483
12484 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
12485
12486         * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
12487         * c-parse.in (yyerror, _yylex): Similarly.
12488         * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
12489         Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
12490         Update comments.
12491         * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
12492         * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
12493
12494 2001-07-18  Jeff Sturm  <jsturm@one-point.com>
12495
12496         * dwarf2out.c (dwarf2out_abstract_function): Don't emit
12497         in-class declaration at -g1.  Fixes c++/2814.
12498
12499 2001-07-18  Richard Henderson  <rth@redhat.com>
12500
12501         * doc/md.texi (reload_in/out): Document restrictions in predicates
12502         and constraints for these patterns.  Document empty string matching
12503         ALL_REGS.
12504
12505 2001-07-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12506
12507         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
12508
12509 Wed Jul 18 20:47:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
12510
12511         * cse.c: Undo my previous patch.
12512
12513 2001-07-18  Tom Tromey  <tromey@redhat.com>
12514
12515         For PR java/2812:
12516         * configure: Rebuilt.
12517         * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
12518         instead.
12519         * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
12520
12521 Wed Jul 18 18:46:30 CEST 2001  Richard Henderson <rth@cygnus.com>
12522                                 Jan Hubicka  <jh@suse.cz>
12523
12524         * flow.c (redirect_edge_and_branch): Bail out on complex edges.
12525         (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
12526         * jump.c (mark_jump_label): Do not forward branches.
12527
12528 Wed Jul 18 18:35:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
12529
12530         * cse.c (delete_trivially_dead_insns): Delete the libcall block
12531         when return value is unused.
12532
12533 Wed Jul 18 18:28:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
12534
12535         * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
12536
12537 Wed Jul 18 12:05:29 2001  Nicola Pero  <n.pero@mi.flashnet.it>
12538
12539         * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
12540         on error.  We can't blindly return the result of
12541         pthread_mutex_trylock because it returns a positive number on
12542         error, while we must return -1 on error.
12543         (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
12544         fixes.
12545         Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
12546
12547 2001-07-18  Andreas Jaeger  <aj@suse.de>
12548
12549         * integrate.c (output_inline_function): Correct type of debug_hooks.
12550
12551 2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>
12552
12553         * combine.c (combine_simplify_rtx): DIV can be treated
12554         associatively for floats if unsafe math optimisations are enabled.
12555
12556 2001-07-17  Richard Henderson  <rth@redhat.com>
12557
12558         * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
12559
12560 2001-07-17  Richard Henderson  <rth@redhat.com>
12561
12562         * calls.c (prepare_call_address): New parameter SIBCALLP.  If true,
12563         don't force the function address into a register.
12564         (expand_call, emit_library_call_value_1): Update callers.
12565         * builtins.c (expand_builtin_apply): Likewise.
12566         * expr.h (prepare_call_address): Update decl.
12567
12568 2001-07-17  Chandrakala Chavva  <cchavva@redhat.com>
12569
12570         * config.gcc: For *-*-chorusos triplet, get chorus.h file from
12571         config directory.
12572         * config/i386/chorus.h: Move up.
12573         * config/sparc/chorus.h: Likewise.
12574         * config/rs6000/chorus.h: Likewise.
12575         * config/chorus.h: Moved here.
12576
12577 2001-07-17  Andreas Schwab  <schwab@suse.de>
12578
12579         * configure.in  (assembler eh_frame optimization): Handle big
12580         endian.
12581         * configure: Regenerated.
12582
12583 Tue Jul 17 23:43:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
12584
12585         * expr.c (epxand_expr): Convert divisions into multiplications by
12586         reciprocals if -ffast-math.
12587
12588 2001-07-17  Neil Booth  <neil@daikokuya.demon.co.uk>
12589
12590         * dbxout.c (dbxout_really_begin_function): Rename to
12591         dbxout_begin_function.
12592         (dbx_debug_hooks, xcoff_debug_hooks): Update.
12593         (dbxout_begin_function): Remove.
12594         (dbxout_function): Update.
12595         (dbxout_source_line): Update prototype.
12596         * dbxout.h (dbxout_begin_function): Remove.
12597         * debug.c (do_nothing_debug_hooks): Update.
12598         (debug_nothing_tree): Update.
12599         (debug_nothing_charstar_rtx): Remove.
12600         * debug.h (union tree_node): Declare.
12601         (struct rtx_def): Remove.
12602         (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
12603         begin_function.  Change source_line prototype.
12604         (debug_nothing_tree): New.
12605         (debug_nothing_charstar_rtx): Delete.
12606         (dwarf2out_begin_prologue): Moved from ...
12607         * tree.h: ... here.
12608         * dwarf2out.c (dwarf2_debug_hooks): Update.
12609         (dwarf2out_begin_prologue): Update prototype.  If genuine dwarf2
12610         debug info, call dwarf2out_source_line.
12611         (dwarf2out_souce_line): Update prototype.
12612         * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
12613         Change prototype, make static.
12614         (dwarfout_source_line): Update prototype.
12615         (dwarf_debug_hooks): Update.
12616         * dwarfout.h (dwarfout_begin_function): Remove.
12617         * final.c (final_start_function, final_scan_insn): Use appropriate
12618         debug hooks, update to use notice_source_line.
12619         (output_source_line): Rename notice_source_line.  Don't call the
12620         source_line debug hook.
12621         * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
12622         make static, update prototype.
12623         (sdbout_mark_begin_function): Rename sdbout_begin_function, update
12624         prototype.
12625         (sdbout_end_prologue): New.
12626         (sdbout_source_line): Update prototype.
12627         (sdbout_debug_hooks): Update.
12628         (sdbout_symbol): Remove unused var.
12629         * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
12630         Delete.
12631         * varasm.c: Include debug.h.
12632         (assemble_start_function): Use begin_function debug_hook.
12633         * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
12634         update with prototype.
12635         (xcoffout_source_line): Update prototype.
12636         * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
12637         update prototype.
12638         (xcoffout_source_line): Update prototype.
12639
12640 2001-07-17  Richard Henderson  <rth@redhat.com>
12641
12642         * c-typeck.c (build_binary_op): Do not shorten unsigned
12643         right shift after sign extension.
12644
12645 Tue Jul 17 16:56:05 CEST 2001  Jan Hubicka  <jh@suse.cz>
12646
12647         * combine.c (combine_simplify_rtx): Attempt to simplify
12648         a*(b/c) as (a*b)/c for floats in unsafe_math mode.
12649
12650         * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
12651         (simplify_binary_operation, simplify_unary_operation,
12652          simplify_relational_operation): Use it.
12653
12654         * combine.c (combine_simplify_rtx): Don't do associative law
12655         on divisions; allow associative law on floats.
12656
12657 2001-07-17  H.J. Lu <hjl@gnu.org>
12658             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12659
12660         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
12661         ASM_OUTPUT_WEAK_ALIAS are defined.
12662         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
12663         * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
12664         Moved ...
12665         * config/mips/iris5.h: ... here.
12666         (HANDLE_SYSV_PRAGMA): Defined as 1.
12667         * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
12668         * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
12669         symbol.
12670
12671 2001-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
12672
12673         * c-parse.in (all_prefix_attributes): New variable.
12674         (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
12675         (maybe_resetattrs): New production.
12676         (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
12677         maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
12678         notype_initdcl, nested_function, notype_nested_function,
12679         component_decl, components, components_notype,
12680         component_declarator, component_notype_declarator,
12681         absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
12682         ivars, mydecl, myparm): Update.  Avoid prefix attributes just
12683         after a comma being applied to more than one declarator.
12684         * doc/extend.texi (Attribute Syntax): Update.  Remove
12685         documentation of bugs that are no longer present.
12686
12687 2001-07-13  Eric Christopher  <echristo@redhat.com>
12688
12689         * config/mips/mips.h: Change TUNE_MIPS* options to use
12690         mips_tune.
12691         (EXTRA_SPECS): Add cc1_cpu_spec.
12692         * config/mips/mips.md (muldf3): Fix typo.
12693
12694 2001-07-16  Richard Henderson  <rth@redhat.com>
12695
12696         * config/m68k/m68k.c: Include expr.h and reload.h.
12697         (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
12698         [general int]: Use HOST_WIDE_INT_PRINT_DEC.
12699
12700 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
12701             Richard Henderson  <rth@redhat.com>
12702
12703         * cse.c (set_live_p): Take INSN argument for cc0; update callers.
12704         (insn_live_p): Fix fall off end of function.
12705         (dead_libcall_p): Remove COUNTS argument; update callers.
12706         (delete_trivially_dead_insns): Remove unused variables.
12707
12708 2001-07-17  Andreas Jaeger  <aj@suse.de>
12709
12710         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
12711         x86-64 pic support.
12712
12713         * lcm.c (optimize_mode_switching): Avoid warning for unused
12714         variable if !NORMAL_MODE.
12715
12716         * flow.c (try_crossjump_to_edge): Remove unused variable.
12717
12718 2001-07-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12719
12720         * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
12721         atexit declaration in stdlib.h.
12722
12723 2001-07-16  Richard Begg  <Richard.Begg@colesmyer.com.au>
12724
12725         * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
12726
12727 Mon Jul 16 22:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
12728
12729         * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
12730         * except.c (finish_eh_generation): Update call of cleanup_cfg;
12731         do rebuild_jump_labels instead of jump_optimize
12732         * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
12733         * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
12734         * flow.c (try_optimize_cfg): Remove unneeded code_labels.
12735
12736         * flow.c: Include timevar.h
12737         (find_basic_block): Push/pop timevar;
12738         (cleanup_cfg): Likewise.
12739         * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
12740         * Makefile: Add dependencies on timevar.h
12741
12742         * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
12743         (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
12744
12745         * rtl.h (delete_trivially_dead_insns): Add new parameter.
12746         * toplev.c (rest_of_compilation): Update calls.
12747         * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
12748         (delete_trivially_dead_insns): ... here; accept new argument
12749         preserve_basic_blocks; preserve basic blocks if set.
12750
12751         * reg-stack.c (stack_regs_mentioned): Return 0 if
12752         stack_regs_mentioned_data is not initialized.
12753         (reg_to_stack): Make stack_regs_mentioned survive after the
12754         reg-stack is completted; do not call cleanup_cfg.
12755         * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
12756         make cleanup_cfg after bb-reorder to output to debug file.
12757
12758 2001-07-16  Richard Henderson  <rth@redhat.com>
12759
12760         * regclass.c (init_reg_sets): Use only 32 bits per initializer
12761         from int_reg_class_contents.
12762
12763 2001-07-16  Richard Henderson  <rth@redhat.com>
12764
12765         * hard-reg-set.h (regs_invalidated_by_call): Declare.
12766         * regclass.c (regs_invalidated_by_call): Move from cse.c.
12767         (init_reg_sets_1): Move initialization from cse_main.
12768         * cse.c (regs_invalidated_by_call): Move to regclass.c.
12769         (cse_main): Move its initialization also.
12770         * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
12771         * flow.c (propagate_one_insn): Likewise.
12772         * gcse.c (compute_hash_table): Likewise.
12773         (compute_kill_rd, compute_store_table): Likewise.
12774         * sched-deps.c (sched_analyze_1): Likewise.
12775
12776 Mon Jul 16 18:07:07 2001  J"orn Rennecke <amylaar@redhat.com>
12777
12778         * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
12779         gen_rtx_SET.
12780
12781 2001-07-16  Steve Ellcey <sje@cup.hp.com>
12782
12783         * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
12784         in if statement so we don't access undefined memory.
12785
12786 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
12787
12788         * gcse.c: Update comment at top.
12789         Update comment on mem handling.
12790         mem_last_set, mem_first_set, mem_set_in_block: gone.
12791         Declaration of reg_set_info: gone.
12792         (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
12793         pointless with load_killed_in_block_p (they are *more*
12794         conservative then it, not less, and less accurate).
12795         (oprs_not_set_p): Ditto.
12796         (alloc_gcse_mem): Don't allocate mem_set_in_block
12797         (free_gcse_mem): Don't free it, either.
12798         (record_last_mem_set_info): Update comment in front, remove
12799         mem_*set_* stuff. Note the reason we don't handle stores directly
12800         here.
12801         (compute_hash_table): Update comments to reflect reality. Remove
12802         mem_*set_* references.
12803         (reset_opr_set_tables): Remove mem_*set_* references.
12804         (mark_call): Ditto.
12805         (mark_set): Ditto.  Also remove double sets of bitmaps for REG's.
12806         (mark_clobber): Ditto (on both parts, we double set here too).
12807         (expr_killed_p): Remove mem_set_in_block test.
12808         (compute_transp): Remove mem_set_in_block test.
12809
12810         * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
12811         of edge, and removal of phi alternative to dump file.
12812         (ssa_ccp_substitute_constants): Add note about register now being
12813         constant, and which uses were replaced in what insns to dump file.
12814
12815 2001-07-16  Andreas Jaeger  <aj@suse.de>
12816
12817         * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
12818         variables of type HOST_WIDEST_INT.
12819
12820         * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
12821         (__bb_exit_func): Correct type of count_max to avoid overflow.
12822         (num_digits): Handle long long argument.
12823
12824         * combine.c (gen_lowpart_for_combine): Remove unused variable.
12825
12826 2001-07-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
12827
12828         * output.h (sdb_begin_function_line): Restore as an extern
12829         variable.
12830         * sdbout.c (sdb_begin_function_line): Make extern.
12831
12832 2001-07-15  Richard Henderson  <rth@redhat.com>
12833
12834         * machmode.def (Pmode): Redefine if GENERATOR_FILE.
12835         * genrecog.c (maybe_both_true_mode): New.
12836         (maybe_both_true_2): Use it.
12837         (write_switch): Don't put Pmode in a switch.
12838         * rtl.c (mode arrays): Don't explicitly size them.
12839
12840 Sun Jul 15 14:07:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
12841
12842         * toplev.c (rest_of_compilation): Fix register_life_up_to_date
12843         handling; move unconditional splitting before mode switching.
12844
12845         * i386.md (type): Add fistp type.
12846         (i387, length_attr, scheduling definitions): Handle this type.
12847         (fix_trunc?f?i2): Revamp to use mode switching.
12848         (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
12849         * i386.h (fp_cw_mode): New enum
12850         (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
12851         MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
12852
12853 Sun Jul 15 12:53:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12854
12855         * Makefile.in (integrate.o): Add debug.h.
12856         * integrate.c (debug.h): Add.
12857         (output_inline_function): Save, reset, and restore debug_hooks.
12858
12859 2001-07-15  Richard Henderson  <rth@redhat.com>
12860
12861         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
12862         instead of COMPARE for the EQUIV expression.
12863
12864 2001-07-15  Richard Henderson  <rth@redhat.com>
12865
12866         * flow.c (redirect_edge_and_branch_force): Initialize
12867         global_live_at_start and global_live_at_end.
12868         (allocate_bb_life_data): Export.
12869         * basic-block.h (allocate_bb_life_data): Declare.
12870         * toplev.c (rest_of_compilation): Call it.
12871
12872 2001-07-15  Richard Henderson  <rth@redhat.com>
12873
12874         * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
12875         (alpha_tablejump_best_label): New.
12876         * config/alpha/alpha-protos.h: Declare them.
12877         * config/alpha/alpha.md: Use braced strings for code blocks.
12878         (tablejump_osf): Break out add with r29.
12879         (tablejump_osf_internal): Remove.
12880         (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
12881         use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
12882
12883 Sun Jul 15 00:53:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
12884
12885         * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
12886         of the movable.
12887
12888         * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
12889
12890         * i386-protos.h (ix86_split_fp_branch): Update prototype.
12891         (ix86_fp_jump_nontrivial_p): New.
12892         * i386.md (fp_jcc_?): Update call of split_fp_branch;
12893         use ix86_fp_jump_nontrivial_p.
12894         * i386.c (ix86_fp_jump_nontrivial_p): New.
12895         (ix86_split_fp_branch): Accept code instead of rtx.
12896         (ix86_expand_compare): Expand comparison early in case
12897         doing so is resonably cheap.
12898
12899 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
12900
12901         * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
12902         not 'machine'.
12903         (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
12904         (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
12905
12906 2001-07-15  Neil Booth  <neil@daikokuya.demon.co.uk>
12907
12908         * dbxout.c (dbxout_source_line): Make static, update prototype.
12909         (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
12910         (dbxout_init, dbxout_finish, dbxout_source_line,
12911         dbxout_begin_block, dbxout_end_block): Update for new prototypes.
12912         * dbxout.h (dbxout_source_line): Delete.
12913         * debug.c (debug_nothing_file, debug_nothing_file_int,
12914         debug_nothing_file_charstar_rtx): New.
12915         (do_nothing_debug_hooks): Update.
12916         (debug_nothing_void, debug_nothing_charstar_rtx,
12917         dwarf2out_end_epilogue): New.
12918         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
12919         * debug.h (struct rtx_def): Declare.
12920         (gcc_debug_hooks): New hooks source_line, end_epilogue
12921         and end_function.
12922         (debug_nothing_void, debug_nothing_charstar_rtx,
12923         dwarf2out_end_epilogue): New.
12924         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
12925         * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
12926         (dwarf2_debug_hooks): Update.
12927         (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
12928         dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
12929         * dwarf2out.h (dwarf2out_source_line): Remove.
12930         * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
12931         Make static, update prototype.
12932         (dwarfout_init, dwarfout_finish, dwarfout_source_line,
12933         dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
12934         (dwarf_debug_hooks): Update.
12935         * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
12936         dwarfout_end_function): Remove.
12937         * final.c (profile_function): Use debug hooks for ending functions
12938         and epilogues.
12939         (output_source_line, final_end_function): Update prototype,
12940         use debug hooks.
12941         (final_start_function, final_scan_insn): Update.
12942         * output.h (sdb_begin_function_line): Remove.
12943         (final_end_function): Update prototype.
12944         * sdbout.c (sdb_begin_function_line): Make static.
12945         (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
12946         (sdbout_source_line): New.
12947         (sdbout_end_epilogue, sdbout_end_function): Make static, update
12948         prototypes.
12949         (sdb_debug_hooks): Update.
12950         (sdbout_init, sdbout_source_line,
12951         sdbout_begin_block, sdbout_end_block): Update for new prototypes.
12952         * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
12953         * toplev.c (compile_file, rest_of_compilation): Update.
12954         * tree.h (dwarf2out_end_epilogue): Move to debug.h.
12955         * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
12956         xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
12957         Update for prototype changes.
12958         * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
12959         xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
12960
12961 2001-07-15  Richard Henderson  <rth@redhat.com>
12962
12963         * config/alpha/alpha.h (TARGET_ABI_OSF): New.
12964         (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
12965         * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
12966         * config/alpha/alpha.c: Likewise.
12967         * config/alpha/alpha.md: Likewise.
12968         * config/alpha/alpha32.h: Likewise.
12969         * config/alpha/vms.h: Likewise.
12970         (OPEN_VMS): Remove.
12971
12972 2001-07-14  Richard Henderson  <rth@redhat.com>
12973
12974         * config/alpha/alpha.md: Use define_constants for unspec values.
12975         Substitute throughout.
12976
12977 2001-07-14  Tim Josling  <tej@melbpc.org.au>
12978
12979         * tree.def (EXPON_EXPR) remove. Never supported anyway.
12980
12981 2001-07-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12982
12983         * pa.md: Remove unused constraints from define_split's.
12984
12985 2001-04-14  Richard Henderson  <rth@redhat.com>
12986
12987         * ifcvt.c (find_cond_trap): Test for exit block.
12988
12989 Sun Jul 15 00:50:20 CEST 2001  Jan Hubicka  <jh@suse.cz>
12990
12991         Re-install recently reverted patch.
12992         * emit-rtl.c (try_split): Update mark_jump_label call.
12993         * flow.c (find_sub_basic_blocks): Likewise.
12994         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
12995         jump_back_p): Kill.
12996         (mark_all_labels): Kill second parameter.
12997         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
12998         (rebuild_jump_labels, jump_optimize_minimal): Update call
12999         of jump_optimize_1.
13000         (jump_optimize_1): Kill crossjumping code.
13001         (mark_jump_label): Kill cross_jump parameter.
13002         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
13003         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
13004         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
13005          splitting.
13006         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
13007         DFI_bpro.
13008         (dump_file_info): Likewise.
13009         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
13010         reorganize passes to do reg-stack first, bb-reorder second.
13011         * invoke.texi (-d letters doc): Remove the jump2 pass.
13012
13013 2001-07-14  Richard Henderson  <rth@redhat.com>
13014
13015         * ifcvt.c (find_cond_trap): New.
13016         (find_if_header): Call it.
13017         (merge_if_block): Relax existing jump sanity check.
13018         * jump.c (jump_optimize_1): Remove conditional trap handling.
13019
13020 2001-07-14  Alan Modra  <amodra@bigpond.net.au>
13021
13022         * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
13023         millicode.
13024         (insn_refs_are_delayed): Correct comment.
13025         * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
13026         * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
13027         instead of r31.  Make associated insn !TARGET_64BIT, and
13028         provide an additional 64-bit insn that clobbers r2.
13029         (divsi3): Likewise.
13030         (udivsi3): Likewise.
13031         (modsi3): Likewise.
13032         (umodsi3): Likewise.
13033
13034 Sat Jul 14 02:58:38 CEST 2001  Jan Hubicka  <jh@suse.cz>
13035
13036         * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
13037
13038         * flow.c (redirect_edge_and_branch_force, split_edge,
13039         try_crossjump_to_edge): Use set_block_for_new_insns.
13040         * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
13041
13042 2001-07-13  H.J. Lu  (hjl@gnu.org)
13043
13044         * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
13045         the correct patch.
13046
13047 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
13048
13049         Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
13050
13051 2001-07-13  Joseph S. Myers  <jsm28@cam.ac.uk>
13052
13053         * c-common.c (decl_attributes): Take a pointer to the node to
13054         which attributes are to be attached, and a flags argument.
13055         * c-common.h (enum attribute_flags): New.
13056         (decl_attributes): Update prototype.
13057         * c-decl.c (start_decl, push_parm_decl, finish_struct,
13058         finish_enum, start_function): Update calls to decl_attributes.
13059         * c-parse.in (component_declarator, component_notype_declarator,
13060         label): Update calls to decl_attributes.
13061
13062 Fri Jul 13 23:04:00 2001  Denis Chertykov  <denisc@overta.ru>
13063
13064         * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
13065         * config/avr/avr.c (legitimate_address_p): Return value changed
13066         from letter to register classes. For better debugging.
13067
13068 2001-07-13  Kazu Hirata  <kazu@hxi.com>
13069
13070         * jump.c (reversed_comparison_code_parts): Fix comment typos.
13071
13072 2001-07-13  H.J. Lu  (hjl@gnu.org)
13073
13074         * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
13075
13076 2001-07-13  Marc Espie  <espie@cvs.openbsd.org>
13077
13078         * config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
13079         correctly for shared configurations.
13080         * config/t-libgcc-pic:  New.
13081         * config/{i386,m68k,sparc}/t-openbsd:  New.
13082         * config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
13083         Support -shared.  Support debugging libraries with -g.
13084         * config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
13085         frame information does not emit pointer diffs.
13086         * config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
13087         emit pointer diffs.
13088
13089 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
13090
13091         Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
13092
13093 2001-07-13  David Edelsohn  <edelsohn@gnu.org>
13094
13095         * combine.c (try_combine): Ensure const_int pow2 is positive.
13096
13097 2001-07-13  Hartmut Penner  <hpenner@de.ibm.com>
13098
13099         * config.gcc: Add configuration for s/390.
13100         * config/s390/s390.c: New. Subroutines for code generation.
13101         * config/s390/s390.h: New. Definitions for s/390.
13102         * config/s390/s390-protos.h: New. Prototypes.
13103         * config/s390/linux.h: New. Definitions for linux for s/390.
13104         * config/s390/linux64.h: New. Definitions for linux for zSeries.
13105         * config/s390/t-linux: New. Makefile fragment.
13106         * config/s390/s390.md: New. Machine description for s/390 and zSeries.
13107         * config/s390/fixdfdi.h: New. Fix L_fix*di.
13108
13109 Fri Jul 13 14:46:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
13110
13111         * emit-rtl.c (try_split): Update mark_jump_label call.
13112         * flow.c (find_sub_basic_blocks): Likewise.
13113         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
13114         jump_back_p): Kill.
13115         (mark_all_labels): Kill second parameter.
13116         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
13117         (rebuild_jump_labels, jump_optimize_minimal): Update call
13118         of jump_optimize_1.
13119         (jump_optimize_1): Kill crossjumping code.
13120         (mark_jump_label): Kill cross_jump parameter.
13121         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
13122         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
13123         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
13124          splitting.
13125         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
13126         DFI_bpro.
13127         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
13128         reorganize passes to do reg-stack first, bb-reorder second.
13129         * invoke.texi (-d letters doc): Remove the jump2 pass.
13130
13131 2001-07-12  Steve Ellcey <sje@cup.hp.com>
13132
13133         * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
13134
13135 Thu Jul 12 17:57:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
13136
13137         * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
13138         basic blocks.
13139         (verify_flow_info): Make diagnostics prettier.
13140
13141 Thu Jul 12 16:48:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
13142
13143         * flow.c (find_basic_blocks_1): Do not emit NOP after call.
13144
13145         * flow.c (outgoing_edges_match): Return early if condition reversal
13146         failed.
13147
13148 2001-07-06  Richard Sandiford  <rsandifo@redhat.com>
13149
13150         * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
13151         (mips_move_2words): When splitting a move into two instructions,
13152         prefix the second address operand with '%D'.
13153
13154 2001-07-12  Neil Booth  <neil@daikokuya.demon.co.uk>
13155
13156         * Makefile.in (final.o): Depend on debug.h.
13157         * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
13158         (dbx_debug_hooks): Add new hooks.
13159         (xcoff_debug_hooks): New.
13160         * debug.c (debug_nothing_file_int_int): New.
13161         (do_nothing_debug_hooks): Update.
13162         * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
13163         (debug_nothing_file_int_int): New.
13164         * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
13165         static, update prototype.
13166         (dwarf2_debug_hooks): Update.
13167         * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
13168         * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
13169         static, update prototype.
13170         (dwarf_debug_hooks): Update.
13171         * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
13172         * final.c: Include debug.h.
13173         (final_scan_insn): Use debug hooks when beginning and ending blocks.
13174         * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
13175         static, update prototype.
13176         (sdb_debug_hooks): Update.
13177         * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
13178         * toplev.c: Distinguish between xcoff and dbx.
13179
13180         * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
13181         Call all debug hooks, not just dwarf ones.
13182
13183 2001-07-11  Timothy Wall  <twall@redhat.com>
13184
13185         * config.gcc: Add configuration for AIX5/IA64.
13186         * config/ia64/aix.h: New.  AIX5/IA64-specific configuration.
13187         * config/ia64/crt[in].asm: New.  Generic static ctor/dtor
13188         support prefix/suffix code.
13189         * config/ia64/t-aix: New.  Makefile fragment.
13190         * config/ia64/unwind-aix.c: New.  Unwind table entry lookup.
13191
13192 2001-07-11  Kazu Hirata  <kazu@hxi.com>
13193
13194         * recog.c (validate_change): Fix a comment typo.
13195
13196 2001-07-11  Neil Booth  <neil@daikokuya.demon.co.uk>
13197
13198         * Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
13199         * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
13200         hooks directly.
13201         * dbxout.c (dbx_debug_hooks): Add new hooks.
13202         (dbxout_start_new_source_file): Rename dbxout_start_source_file,
13203         make static.
13204         (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
13205         make static.
13206         * dbxout.h (dbxout_start_new_source_file,
13207         dbxout_resume_previous_source_file): Delete.
13208         * debug.c (do_nothing_debug_hooks): Add new hooks.
13209         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
13210         (debug_nothing_int_charstar, debug_nothing_int): New.
13211         * debug.h (gcc_debug_hooks): New hooks define, undef,
13212         start_source_file and end_source_file.
13213         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
13214         (debug_nothing_int_charstar, debug_nothing_int): New.
13215         * dwarf2out.c (dwarf2_debug_hooks): Add new hooks.  Move into
13216         the conditionally compiled section.
13217         (dwarf2out_start_source_file, dwarf2out_end_source_file,
13218         dwarf2out_define, dwarf2out_undef): Make static.
13219         * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
13220         dwarf2out_define, dwarf2out_undef): Remove.
13221         * dwarfout.c (dwarf_debug_hooks): Add new hooks.
13222         (dwarfout_start_source_file, dwarfout_end_source_file,
13223         dwarfout_define, dwarfout_undef): Make static.
13224         (dwarfout_start_source_file_check,
13225         dwarfout_end_source_file_check): New.
13226         (dwarfout_define, dwarfout_finish): Update.
13227         * dwarfout.h (dwarfout_start_new_source_file,
13228         dwarfout_resume_previous_source_file, dwarfout_define,
13229         dwarfout_undef): Remove.
13230         * sdbout.c (sdb_debug_hooks): Add new hooks.
13231         (sdbout_start_new_source_file): Rename sdbout_start_source_file,
13232         make static.
13233         (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
13234         make static, take an arg.
13235         * sdbout.h (sdbout_start_new_source_file,
13236         sdbout_resume_previous_source_file): Delete.
13237         * toplev.c (debug_start_source_file, debug_end_source_file,
13238         debug_define, debug_undef): Delete.
13239         * toplev.h (debug_start_source_file, debug_end_source_file,
13240         debug_define, debug_undef): Delete.
13241
13242         * java/jcf-parse.c: Include debug.h.
13243         (parse_class_file): Update to use debug hooks directly.
13244         * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
13245
13246 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13247
13248         * alias.c (set_mem_alias_set): New function.
13249         * rtl.h (set_mem_alias_set): Declare it.
13250         * builtins.c (expand_builtin_return_addr): Call it instead of
13251         using MEM_ALIAS_SET accessor.
13252         (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
13253         (get_memory_rtx, expand_builtin_va_arg): Likewise.
13254         (expand_builtin_va_copy):Likewise.
13255         * caller-save.c (setup_save_areas): Likewise.
13256         * calls.c (compute_argument_addresses): Likewise.
13257         * explow.c (set_mem_attributes): Likewise.
13258         * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
13259         (expand_assignment, store_constructor_field, store_field): Likewise.
13260         (expand_expr_unaligned): Likewise.
13261         * function.c (assign_stack_temp_for_type): Likewise.
13262         (put_reg_into_stack, gen_mem_addressof): Likewise.
13263         * ifcvt.c (noce_try_cmove_arith): Likewise.
13264         * reload1.c (reload, alter_reg): Likewise.
13265         * config/alpha/alpha.c (get_aligned_mem): Likewise.
13266         (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
13267         (alpha_expand_unaligned_store): Likewise
13268         (alpha_expand_unaligned_load_words): Likewise.
13269         (alpha_expand_unaligned_store_words): Likewise.
13270         (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
13271         (alpha_expand_epilogue): Likewise.
13272         * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
13273         * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
13274         * config/i386/i386.c (legitimize_pic_address): Likewise.
13275         * config/i960/i960.c (setup_incoming_varargs): Likewise.
13276         * config/ia64/ia64.c (spill_restore_mem): Likewise.
13277         * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
13278         * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
13279         * config/mips/mips.c (mips_va_arg): Likewise.
13280         * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
13281         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
13282         * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
13283         (setup_incoming_varargs, rs6000_va_arg): Likewise.
13284         (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
13285         (rs6000_emit_epilogue): Likewise.
13286         * config/sh/sh.c (sh_builtin_saveregs): Likewise.
13287         * config/sparc/sparc.c (sparc_va_arg): Likewise.
13288         * config/v850/v850.c (v850_va_arg): Likewise.
13289
13290 Wed Jul 11 21:27:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
13291
13292         * flow.c (merge_blocks_move_successor_nojumps): Do not crash
13293         when fallthru edge is present.
13294         (mege_blocks): Handle case where creation of jump insn
13295         is required.
13296
13297         * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
13298         CLEANUP_POST_REGSTACK): New constants.
13299         * except.c (finish_eh_generation): Update call of cleanup_cfg,
13300         * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
13301         * output.h (cleanup_cfg): Update prototype.
13302         * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
13303         * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
13304         cleanup_cfg call; kill missleading comment.
13305         * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
13306         * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
13307         parameter; control optimizations performed using it.
13308         (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
13309         try_crossjump_bb): New functions.
13310
13311 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13312
13313         * pa.c (pa_output_function_prologue): Delete prototype.  Make function
13314         extern.
13315         * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
13316         pa_output_function_prologue.
13317         * pa-protos.h (pa_output_function_prologue): New prototype.
13318
13319 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13320
13321         * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
13322         and low to get correct sign extension in low+high test.
13323
13324 2001-07-11  Janis Johnson <janis@us.ibm.com>
13325
13326         * gcov.c (arcdata): Use gcov_type to fix branch percentage
13327         for large hit count.
13328
13329         * profile.c (branch_prob): Fix .bbg info for computed gotos
13330         and C++ EH code.
13331
13332 2001-07-11  Mark Mitchell  <mark@codesourcery.com>
13333
13334         * stmt.c (parse_output_constraint): New function, split out
13335         from ...
13336         (expand_asm_operands): ... here.  Use parse_output_constraint.
13337         * tree.h (parse_output_constraint): Declare it.
13338
13339 2001-07-11  Richard Henderson  <rth@redhat.com>
13340
13341         * bitmap.c: Comment some functions; fiddle whitespace.
13342         (bitmap_free): Don't export.
13343         (bitmap_element_allocate): Use memset.
13344         * bitmap.h (bitmap_free): Don't declare.
13345
13346 2001-07-11  Daniel Berlin  <dan@cgsoftware.com>
13347
13348         * gcse.c, lcm.c, sched-deps.c:
13349         s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
13350
13351         * flow.c (flow_loops_find): Free dom if we found no loops, since
13352         we aren't going to save it.
13353
13354         * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
13355         done.
13356
13357 Wed Jul 11 09:00:48 2001  Jeffrey A Law  (law@cygnus.com)
13358
13359         * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
13360
13361 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13362
13363         * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
13364         #ifndef DWARF2_DEBUGGING_INFO.
13365
13366 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
13367
13368         * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
13369
13370 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
13371
13372         * config/mips/mips.c (gen_int_relational): Tell the caller not to
13373         reverse a branch if a NE comparison is implemented with GTU.
13374
13375 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
13376             H.J. Lu  <hjl@gnu.org>
13377
13378         * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
13379         constant addresses.
13380         (call_internal2): Likewise.
13381         (call_value_internal1): Likewise.
13382         (call_value_internal2): Likewise.
13383         (call_value_multiple_internal1): Likewise.
13384         (call_value_multiple_internal2): Likewise.
13385
13386 2001-07-10  Kazu Hirata  <kazu@hxi.com>
13387
13388         * calls.c (emit_library_call_value_1): Fix a comment typo.
13389         * dwarf2out.c (mem_loc_descriptor): Likewise.
13390         * config/i386/i386.c (ix86_expand_aligntest): Likewise.
13391
13392 2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>
13393
13394         * simplify-rtx.c (simplify_subreg): Fix typo in comment
13395
13396 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13397
13398         * recog.c (offsettable_address_p): Handle LO_SUM case.
13399         * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
13400         instead of plus_constant.
13401
13402 2001-07-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13403
13404         * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
13405         fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
13406
13407 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13408
13409         * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
13410         adjust_address_nv instead of plus_constant.
13411
13412 2001-07-10  Neil Booth  <neil@daikokuya.demon.co.uk>
13413
13414         * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
13415         dwarf2out.o): Depend on debug.h, wrap long lines.
13416         * dbxout.c: Include debug.h.
13417         (dbx_debug_hooks): New.
13418         (dbxout_init): Make static, take just 2 args.
13419         (dbxout_finish): Make static.
13420         * dbxout.h (dbxout_init, dbxout_finish): Delete.
13421         * debug.c: New file.
13422         * debug.h: New file.
13423         * dwarf2out.c: Include debug.h.
13424         (dwarf2_debug_hooks): New.
13425         (dwarf2out_init): Make static.
13426         (dwarf2out_finish): Make static, take 2 args.
13427         * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
13428         * dwarfout.c: Include debug.h.
13429         (dwarf_debug_hooks): New.
13430         (dwarfout_init): Make static.
13431         (dwarfout_finish): Make static, take 2 args.
13432         * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
13433         * sdbout.c: Include debug.h.
13434         (sdb_debug_hooks): New.
13435         (sdbout_init): Make static, take 2 args.
13436         * sdbout.h (sdbout_init): Delete.
13437         * toplev.c: Include debug.h.
13438         (debug_hooks): New.
13439         (compile_file): Set deubg_hooks based on command line options.
13440         Use the hooks unconditionally rather than conditional compilation.
13441
13442 Tue Jul 10 09:04:45 2001  Jeffrey A Law  (law@cygnus.com)
13443
13444         * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
13445         first_insn_after_basic_block_note instead.
13446
13447         * df.c (df_bb_refs_unlink): #if 0 out for now.
13448
13449 2001-07-10  David Billinghurst <David.Billinghurst@riotinto.com
13450
13451         * ssa.h: Add prototype for ssa_const_prop
13452         * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
13453         (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
13454         (ssa_fast_dce): Remove unused variable
13455
13456 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
13457
13458         * diagnostic.c (finish_diagnostic): Rename to
13459         diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
13460         calls thourghout.
13461
13462 2001-07-10  Jason Merrill  <jason_merrill@redhat.com>
13463
13464         * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
13465         .loc support.
13466
13467         * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
13468         (dump_file): Only pad the demangled name with spaces if the
13469         mangled name was padded with spaces.
13470
13471 2001-07-10  Bernd Schmidt  <bernds@redhat.com>
13472
13473         * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
13474         edge detection.
13475
13476 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13477
13478         * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
13479         extraction if no direct load if either EXPAND_CONST_ADDRESS or
13480         EXPAND_INITIALIZER.
13481
13482         * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
13483         whether can put offset inside LO_SUM to check mode alignment, not size.
13484
13485 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
13486
13487         * doc/tm.texi (Misc): Fix thinko.
13488
13489 2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
13490
13491         * regmove.c (replace_in_call_usage): Fix warnings.
13492         * sched-deps.c (add_dependence): Fix warnings.
13493         * simplify-rtx.c (simplify_subreg): Likewise.
13494         Return NULL_RTX instead of NULL.
13495
13496         * reg-stack.c (emit_swap_insn): Eliminate warnings.
13497         (subst_asm_stack_regs): Likewise.
13498
13499         * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
13500         warnings.
13501
13502         * dwarf2out.c (output_call_frame_info): Declare i as int.
13503         (build_abbrev_table): Declare n_alloc as int.
13504         (dwarf2out_finish): Initialize die.
13505         * except.c: Declare sjlj_funcdef_number as unsigned.
13506         (connect_post_landing_pads): Declare j as unsigned.
13507         (convert_to_eh_region_ranges): Initialize call_site.
13508         (output_function_exception_table): Initialize tt_format_size.
13509         * expr.c (move_by_pieces_1): Initialize to1.
13510         (store_constructor): Initialize minelt and maxelt.
13511         * flow.c (mark_regs_live_at_end): Declare i as unsigned.
13512         * function.c (instantiate_decls): Avoid signed/unsigned warning.
13513
13514         * c-decl.c (combine_parm_decls): Unused, remove.
13515         * c-tree.h: Remove prototype for combine_parm_decls.
13516
13517         * reload.c (push_reload): Fix warning.
13518         (regno_clobbered_p): Likewise.
13519         * reload1.c (replace_pseudos_in_call_usage): Likewise.
13520         (reload_combine): Likewise.
13521
13522         * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
13523         * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
13524         warnings.
13525         * bitmap.c (bitmap_operation): Change user.
13526         * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
13527
13528 2001-07-10  Eric Christopher  <echristo@redhat.com>
13529
13530         * config/mips/mips.c (override_options): Fix typo.
13531
13532 2001-07-09  Stan Shebs  <shebs@apple.com>
13533
13534         * target.h (struct gcc_target): New fields init_builtins and
13535         expand_builtin.
13536         * target-def.h (TARGET_INIT_BUILTINS): New macro.
13537         (TARGET_EXPAND_BUILTIN): New macro.
13538         (TARGET_INITIALIZER): Add them.
13539         * builtins.c: Include target.h.
13540         (expand_builtin): Use targetm.expand_builtin.
13541         (default_init_builtins): New function.
13542         (default_expand_builtin): New function.
13543         * expr.h (default_init_builtins): Declare.
13544         (default_expand_builtin): Declare.
13545         * c-common.c (c_common_nodes_and_builtins): Use
13546         targetm.init_builtins.
13547         * defaults.h (MD_INIT_BUILTINS): Remove.
13548         * Makefile.in (builtins.o): Depend on target.h.
13549
13550         * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
13551         (TARGET_EXPAND_BUILTIN): Define.
13552         * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
13553         (MD_EXPAND_BUILTIN): Remove.
13554
13555         * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
13556         (TARGET_EXPAND_BUILTIN): Define.
13557         (c4x_init_builtins): Make endlink arg a local.
13558         (c4x_print_operand): Fix typos in adjust_address usages.
13559         * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
13560         * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
13561         (MD_EXPAND_BUILTIN): Remove.
13562
13563         * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
13564         (TARGET_EXPAND_BUILTIN): Define.
13565         (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
13566         (ix86_init_builtins): Call new function only if TARGET_MMX.
13567         * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
13568         * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
13569         (MD_EXPAND_BUILTIN): Remove.
13570
13571         * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
13572         (TARGET_EXPAND_BUILTIN): Define.
13573         * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
13574         (MD_EXPAND_BUILTIN): Remove.
13575
13576         * doc/tm.texi: Document these changes.
13577
13578 2001-07-09  Diego Novillo  <dnovillo@redhat.com>
13579
13580         * basic-block.h (tree_node): Forward declare if needed.
13581         (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
13582         (BLOCK_HEAD_TREE): Define.
13583         (BLOCK_END_TREE): Define.
13584         (struct loops): Rename field 'tree' to 'tree_root'.
13585         * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
13586         'end_tree'.
13587         (flow_loops_tree_build): Rename reference to field 'tree' to
13588         'tree_root'.
13589         (flow_loops_level_compute): Ditto.
13590         * predict.c (estimate_bb_frequencies): Ditto.
13591         * tree.h (struct tree_common): Add field 'aux'.
13592
13593 2001-07-09  Stan Shebs  <shebs@apple.com>
13594
13595         * config/darwin.c (darwin_encode_section_info): Don't mark any
13596         DECL_EXTERNAL node as defined.
13597
13598 2001-07-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13599
13600         * pa.c (pa_init_machine_status, pa_mark_machine_status,
13601         pa_free_machine_status, hppa_init_pic_save): Delete.
13602         (hppa_pic_save_rtx): New.  Use get_hard_reg_initial_val.
13603         (hppa_profile_hook): Use hppa_pic_save_rtx.
13604         * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
13605         hppa_init_pic_save): Delete.
13606         (hppa_pic_save_rtx): Declare.
13607         * pa.md (call, call_value, sibcall, sibcall_value,
13608         builtin_setjmp_receiver): Use hppa_pic_save_rtx.
13609
13610 2001-07-09  Kazu Hirata  <kazu@hxi.com>
13611
13612         * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
13613         * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
13614
13615 2001-07-09  Andreas Jaeger  <aj@suse.de>
13616
13617         * output.h: Add declaration of final_forward_branch_p.
13618
13619         * config/i386/i386.c (output_fix_trunc): Remove unused variable.
13620
13621         * varray.c: Include errors.h for internal_error and trim_filename
13622         declarations.
13623
13624         * Makefile.in (varray.o): Add errors.h.
13625
13626 2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
13627
13628         * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
13629         * optabs.c (have_add2_insn): Check whether the add insn chosen
13630         really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
13631         * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
13632
13633 Mon Jul  9 13:26:40 2001  Jeffrey A Law  (law@cygnus.com)
13634
13635         * Makefile.in (OBJS): Add ssa-ccp.o
13636         (ssa-ccp.o): Add dependencies.
13637         * toplev.c (DFI_ssa_ccp): New dump file enum.
13638         (dump_file): Add entry for dumping after SSA CCP.
13639         (flag_ssa_ccp): New flag variable.
13640         (f_options): Add -fssa-ccp.
13641         (rest_of_compilation): Run SSA CCP if requested.
13642         * timevar.def (TV_SSA_CCP): New timevar.
13643         * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
13644         * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
13645         Fix minor typo in SSA DCE documentation.
13646         * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
13647         Add documentation for new dump option.  Renumber dump files
13648         appropriately.
13649
13650 Mon Jul  9 21:36:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
13651
13652         * emit-rtl.c (gen_highpart_mode): New.
13653         * rtl.h (gen_highpart_mode): Declare.
13654         * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
13655         operand can be VOIDmode constant.
13656
13657 Mon Jul  9 17:23:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
13658
13659         * flow.c (redirect_edge_and_branch_force): New.
13660         (can_fallthru): Ensure that basic blocks are succeeding.
13661         (try_optimize_cfg): Do not delete basic block if it is the last one.
13662
13663         * flow.c (try_redirect_by_replacing_jump): Do not remove
13664         jumps with side effects, unlink chain on fallthru edge;
13665         set block for new jump instruction; avoid basic block to
13666         over by line number note.
13667
13668         * flow.c (try_simplify_condjump): Verify that the condjump
13669         is not always falling through.
13670
13671         Re-install patch:
13672         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
13673
13674         * flow.c (forwarder_block_p): Fix for fallthru blocks.
13675         (try_redirect_by_replacing_jump): Update properly the count
13676         and frequency information.
13677
13678 Mon Jul  9 06:41:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13679
13680         * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
13681         address that is a LO_SUM specially.
13682         * explow.c (plus_constant_wide, case LO_SUM): Deleted.
13683
13684         * c-lang.c (start_cdtor): Remove extra parameter from start_function.
13685
13686         * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
13687         (operand_subword): Use them.
13688         (change_address_1): Renamed from change_address; new arg VALIDATE.
13689         * expr.h: Reflect above changes; change_address now macro.
13690         * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
13691         making MEM.
13692         * cselib.c (add_mem_for_addr): Likewise.
13693         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
13694         * regmove.c (try_apply_stack_adjustment): Likewise.
13695         * reload.c (push_reload, make_memloc): Likewise.
13696         * reload1.c (eliminate_regs): Likewise.
13697         * simplify-rtx.c (simplify_replace_rtx): Likewise.
13698         * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
13699         adjust_addess.
13700         * combine.c (make_extraction, simplify_shift_const): Likewise.
13701         (gen_lowpart_for_combine): Likewise.
13702         * cse.c (gen_lowpart_if_possible): Likewise.
13703         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
13704         * expr.c (expand_expr, case COMPONENT_REF): Likewise.
13705         * optabs.c (gen_move_insn): Likewise.
13706         * reload1.c (alter_reg): Likewise.
13707         * simplify-rtx.c (simplify_subreg): Likewise.
13708         * stmt.c (expand_anon_union_decl): Likewise.
13709         * recog.c (validate_replace_rtx_1): Likewise.
13710         (expr.h): Include.
13711         * Makefile.in (recog.o): Add $(EXPR_H).
13712         * explow.c (stabilize): Call replace_equiv_address.
13713         * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
13714         * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
13715
13716 2001-07-03  Andrew Haley  <aph@redhat.com>
13717
13718         * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
13719         the mode of the memory location.
13720
13721 2001-07-09  Bo Thorsen  <bo@suse.co.uk>
13722
13723         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
13724
13725 2001-07-09  Neil Booth  <neil@daikokuya.demon.co.uk>
13726
13727         * final.c (output_addr_const): Use target opening and
13728         closing parentheses.
13729         * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
13730         defaults, add to TARGET_ASM_OUT.
13731         * target.h (struct gcc_target): Add open_paren and close_paren.
13732         * doc/md.texi: Update.
13733         * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
13734         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
13735         TARGET_ASM_CLOSE_PAREN.
13736         * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
13737         Override.
13738         * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
13739         Override.
13740         * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
13741         * config/a29k/a29k.h: Similarly.
13742         * config/alpha/alpha.h: Similarly.
13743         * config/arc/arc.h: Similarly.
13744         * config/arm/aof.h: Similarly.
13745         * config/arm/aout.h: Similarly.
13746         * config/avr/avr.h: Similarly.
13747         * config/c4x/c4x.h: Similarly.
13748         * config/clipper/clipper.h: Similarly.
13749         * config/convex/convex.h: Similarly.
13750         * config/d30v/d30v.h: Similarly.
13751         * config/dsp16xx/dsp16xx.h: Similarly.
13752         * config/elxsi/elxsi.h: Similarly.
13753         * config/fr30/fr30.h: Similarly.
13754         * config/h8300/h8300.h: Similarly.
13755         * config/i370/i370.h: Similarly.
13756         * config/i386/i386.h: Similarly.
13757         * config/i860/i860.h: Similarly.
13758         * config/i960/i960.h: Similarly.
13759         * config/ia64/ia64.h: Similarly.
13760         * config/m32r/m32r.h: Similarly.
13761         * config/m68hc11/m68hc11.h: Similarly.
13762         * config/m68k/m68k.h: Similarly.
13763         * config/m88k/m88k.h: Similarly.
13764         * config/mcore/mcore.h: Similarly.
13765         * config/mips/mips.h: Similarly.
13766         * config/mn10200/mn10200.h: Similarly.
13767         * config/mn10300/mn10300.h: Similarly.
13768         * config/ns32k/ns32k.h: Similarly.
13769         * config/pa/pa.h: Similarly.
13770         * config/pdp11/pdp11.h: Similarly.
13771         * config/pj/pj.h: Similarly.
13772         * config/romp/romp.h: Similarly.
13773         * config/rs6000/rs6000.h: Similarly.
13774         * config/sh/sh.h: Similarly.
13775         * config/sparc/sparc.h: Similarly.
13776         * config/v850/v850.h: Similarly.
13777         * config/vax/vax.h: Similarly.
13778         * config/we32k/we32k.h: Similarly.
13779
13780 2001-07-09  Joseph S. Myers  <jsm28@cam.ac.uk>
13781
13782         * doc/c-tree.texi: Document representation of attributes.
13783
13784 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13785
13786         * doc/tm.texi: Update some places for the rename of target to
13787         targetm.  Fix typo.
13788
13789 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13790
13791         * target.h (struct gcc_target): Add insert_attributes.
13792         * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
13793         (TARGET_INITIALIZER): Update.
13794         * tree.c, tree.h (default_insert_attributes): New function.
13795         Update comments on other default functions to refer to targetm,
13796         not target.
13797         * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
13798         TARGET_INSERT_ATTRIBUTES.
13799         (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
13800         * c-common.c (decl_attributes): Use targetm.insert_attributes.
13801         Don't use PRAGMA_INSERT_ATTRIBUTES.
13802         * Makefile.in (c-common.o): Depend on $(TARGET_H).
13803         * c-decl.c (start_decl, start_function): Don't call
13804         SET_DEFAULT_DECL_ATTRIBUTES.
13805         * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
13806         * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
13807         declare.
13808         * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
13809         (c4x_check_attribute): Avoid modifying attribute list itself.
13810         (c4x_set_default_attributes): Rename to c4x_insert_attributes.
13811         Make static.
13812         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
13813         * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
13814         declare.
13815         * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
13816         (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
13817         Make static.
13818         * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
13819         * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
13820         declare.
13821         * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
13822         (v850_set_default_decl_attr): Rename to v850_insert_attributes.
13823         Adjust parameters.  Make static.
13824
13825 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
13826
13827         * c-common.c (decl_attributes): Only take a single attributes
13828         parameter.
13829         * c-common.h (decl_attributes): Update prototype.
13830         * c-decl.c (start_decl, start_function): Only take a single
13831         attributes parameter.  Update calls to decl_attributes.
13832         (finish_struct, finish_enum): Update calls to decl_attributes.
13833         (push_parm_decl): Expect unified list of attributes.  Update call
13834         to decl_attributes.
13835         * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
13836         notype_nested_function, component_declarator,
13837         component_notype_declarator, label): Update calls to
13838         decl_attributes.
13839         (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
13840         lists that are passed to push_parm_decl.
13841         * c-tree.h (start_function, start_decl): Update prototypes.
13842         * config/sh/sh-protos.h, config/sh/sh.c
13843         (sh_pragma_insert_attributes): Only take a single attributes
13844         parameter.
13845         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
13846         * doc/tm.texi (INSERT_ATTRIBUTES): Update.
13847         * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
13848         build_module_descriptor, generate_static_references,
13849         generate_strings, build_selector_translation_table,
13850         generate_descriptor_table, generate_protocols,
13851         generate_ivars_list, generate_dispatch_table,
13852         generate_protocol_list, generate_category,
13853         generate_shared_structures, really_start_method, add_objc_decls,
13854         generate_classref_translation_entry): Update calls to start_decl
13855         and start_function.
13856         (build_tmp_function_decl, start_method_def): Unify attribute lists
13857         that are passed to push_parm_decl.
13858
13859 2001-07-08  Neil Booth  <neil@daikokuya.demon.co.uk>
13860
13861         * final.c (no_asm_to_stream): New.
13862         (final_scan_insn): Use target structures for prologue ends
13863         and epilogue starts.
13864         * output.h (no_asm_to_stream): New.
13865         * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
13866         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
13867         (TARGET_ASM_OUT): Update.
13868         * target.h (struct gcc_target): New members function_end_prologue
13869         and function_begin_epilogue.
13870         * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
13871         * config/alpha/alpha-protos.h (output_end_prologue): Delete.
13872         * config/alpha/alpha.c (output_end_prologue): Rename to
13873         alpha_output_function_end_prologue.  Use in target struct
13874         and make static.
13875         * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
13876         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
13877         * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
13878         ia64_output_function_end_prologue.  Use in target struct
13879         and make static.
13880         (ia64_function_prologue, ia64_funciton_epilogue): Rename
13881         mistyped prototypes.
13882         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
13883         * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
13884         Delete.
13885         * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
13886         an use in target struct, make static.
13887         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
13888         Delete.
13889
13890 2001-07-08  Richard Henderson  <rth@redhat.com>
13891
13892         * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
13893
13894 2001-07-08  Richard Henderson  <rth@redhat.com>
13895
13896         * config/i386/i386.md: Remove constraints strings from define_split
13897         and define_peephole2 patterns.
13898         (eh_return_si, eh_return_di): Split eh_return_1 for modes.
13899         (eh_return): Use them.
13900
13901 2001-07-08  Richard Henderson  <rth@redhat.com>
13902
13903         * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
13904         Document MD_FALLBACK_FRAME_STATE_FOR.
13905
13906 2001-07-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13907
13908         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
13909         Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
13910         elimination.
13911         * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
13912
13913 2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>
13914
13915         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
13916         of the label inside NAME as opposed to just the end of NAME.
13917
13918 2001-07-07  Neil Booth  <neil@daikokuya.demon.co.uk>
13919
13920         * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
13921         * config/alpha/alpha.c (alpha_init_machine_status,
13922         alpha_mark_machine_status, alpha_free_machine_status): Delete.
13923         (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
13924         (vms_valid_decl_attribute_p): Make static, conditionally compile.
13925         * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
13926
13927 2001-07-06  Stan Shebs  <shebs@apple.com>
13928
13929         * target.h (targetm): Rename global from "target", so as not to
13930         conflict with local variables.
13931         * c-decl.c: Ditto.
13932         * c-typeck.c: Ditto.
13933         * final.c: Ditto.
13934         * tree.c: Ditto.
13935         * cp/decl.c: Ditto.
13936         * cp/decl2.c: Ditto.
13937         * cp/typeck.c: Ditto.
13938         * 1750a/1750a.c: Ditto.
13939         * a29k/a29k.c: Ditto.
13940         * arc/arc.c: Ditto.
13941         * arm/arm.c: Ditto.
13942         * avr/avr.c: Ditto.
13943         * clipper/clipper.c: Ditto.
13944         * convex/convex.c: Ditto.
13945         * d30v/d30v.c: Ditto.
13946         * dsp16xx/dsp16xx.c: Ditto.
13947         * elxsi/elxsi.c: Ditto.
13948         * fr30/fr30.c: Ditto.
13949         * h8300/h8300.c: Ditto.
13950         * i370/i370.c: Ditto.
13951         * i386/i386.c: Ditto.
13952         * i860/i860.c: Ditto.
13953         * i960/i960.c: Ditto.
13954         * ia64/ia64.c: Ditto.
13955         * m32r/m32r.c: Ditto.
13956         * m68hc11/m68hc11.c: Ditto.
13957         * m68k/m68k.c: Ditto.
13958         * m88k/m88k.c: Ditto.
13959         * mips/mips.c: Ditto.
13960         * ns32k/ns32k.c: Ditto.
13961         * pa/pa.c: Ditto.
13962         * pdp11/pdp11.c: Ditto.
13963         * romp/romp.c: Ditto.
13964         * rs6000/rs6000.c: Ditto.
13965         * sh/sh.c: Ditto.
13966         * sparc/sparc.c: Ditto.
13967         * vax/vax.c: Ditto.
13968         * we32k/we32k.c: Ditto.
13969         * doc/tm.texi: Update the manual to match.
13970
13971 2001-07-06  Richard Henderson  <rth@redhat.com>
13972
13973         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
13974         DWARF2_UNWIND_INFO not just whether it is defined.
13975
13976 2001-07-06  Diego Novillo  <dnovillo@redhat.com>
13977
13978         * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
13979         call to simplify_binary_operation returns a new pattern.
13980
13981 2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
13982
13983         * glimits.h (__SHRT_MAX__): New.
13984         (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
13985         (SHRT_MAX): Define in terms of __SHRT_MAX__.
13986
13987 2001-07-06  Jan van Male  <jan.vanmale@fenk.wau.nl>
13988
13989         * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
13990         avoid warnings.
13991
13992 2001-07-06  Richard Henderson  <rth@redhat.com>
13993
13994         * bitmap.c (bitmap_release_memory): Move adjacent to the
13995         allocation functions.
13996         (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
13997         the implementation.  Binary search for the set bit.
13998         (bitmap_union_of_diff): Allocate the temporary on the stack
13999         instead of using xmalloc.
14000
14001 2001-07-06  Richard Henderson  <rth@redhat.com>
14002
14003         * genrecog.c (validate_pattern): Warn for constraints in
14004         define_{expand,split,peephole2}.  Remove strict_low_part
14005         before looking up match_dup.
14006
14007 2001-07-06  DJ Delorie  <dj@redhat.com>
14008
14009         * doc/gcc.texi (Makefile): Rename to be a more general purpose
14010         chapter about various build hints and history.  Add section
14011         talking about the various types of native and cross builds.
14012
14013 2001-07-06  Neil Booth  <neil@daikokuya.demon.co.uk>
14014
14015         * Makefile.in (final.o): Depend on target.h.
14016         * final.c: Include target.h.
14017         (default_function_pro_epilogue): New.
14018         (final_start_function): Use target structure for function prologues.
14019         (final_end_function): Use target structure for function epilogues.
14020         * fold-const.c (real_hex_to_f): Constify s and p.
14021         * output.h (default_function_pro_epilogue): New.
14022         * real.h (real_hex_to_f): Update prototype.
14023         * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
14024         TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
14025         (TARGET_INITIALIZER): Update.
14026         * target.h (gcc_target): Add struct asm_out.
14027         * doc/tm.texi: Update.
14028
14029 config:
14030         Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
14031         TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
14032         in cpu/cpu.c, or rename old functions consistently.  Take
14033         a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
14034         redundant macros and prototypes.  Make new functions static.
14035
14036         * 1750a/1750a.c: Similarly.
14037         * 1750a/1750a.h: Similarly.
14038         * a29k/a29k-protos.h: Similarly.
14039         * a29k/a29k.c: Similarly.
14040         * a29k/a29k.h: Similarly.
14041         * arc/arc-protos.h: Similarly.
14042         * arc/arc.c: Similarly.
14043         * arc/arc.h: Similarly.
14044         * arm/arm-protos.h: Similarly.
14045         * arm/arm.c: Similarly.
14046         * arm/arm.h: Similarly.
14047         * avr/avr-protos.h: Similarly.
14048         * avr/avr.c: Similarly.
14049         * avr/avr.h: Similarly.
14050         * clipper/clipper-protos.h: Similarly.
14051         * clipper/clipper.c: Similarly.
14052         * clipper/clipper.h: Similarly.
14053         * convex/convex.c: Similarly.
14054         * convex/convex.h: Similarly.
14055         * d30v/d30v-protos.h: Similarly.
14056         * d30v/d30v.c: Similarly.
14057         * d30v/d30v.h: Similarly.
14058         * d30v/d30v.md: Similarly.
14059         * dsp16xx/dsp16xx-protos.h: Similarly.
14060         * dsp16xx/dsp16xx.c: Similarly.
14061         * dsp16xx/dsp16xx.h: Similarly.
14062         * elxsi/elxsi.c: Similarly.
14063         * elxsi/elxsi.h: Similarly.
14064         * fr30/fr30.c: Similarly.
14065         * fr30/fr30.md: Similarly.
14066         * h8300/h8300-protos.h: Similarly.
14067         * h8300/h8300.c: Similarly.
14068         * h8300/h8300.h: Similarly.
14069         * i370/i370-protos.h: Similarly.
14070         * i370/i370.c: Similarly.
14071         * i370/i370.h: Similarly.
14072         * i386/i386.c: Similarly.
14073         * i386/osf1elf.h: Similarly.
14074         * i386/osfrose.h: Similarly.
14075         * i860/i860-protos.h: Similarly.
14076         * i860/i860.c: Similarly.
14077         * i860/i860.h: Similarly.
14078         * i960/i960-protos.h: Similarly.
14079         * i960/i960.c: Similarly.
14080         * i960/i960.h: Similarly.
14081         * ia64/ia64-protos.h: Similarly.
14082         * ia64/ia64.c: Similarly.
14083         * ia64/ia64.h: Similarly.
14084         * m32r/m32r-protos.h: Similarly.
14085         * m32r/m32r.c: Similarly.
14086         * m32r/m32r.h: Similarly.
14087         * m68hc11/m68hc11-protos.h: Similarly.
14088         * m68hc11/m68hc11.c: Similarly.
14089         * m68hc11/m68hc11.h: Similarly.
14090         * m68k/crds.h: Similarly.
14091         * m68k/dpx2.h: Similarly.
14092         * m68k/m68k-protos.h: Similarly.
14093         * m68k/m68k.c: Similarly.
14094         * m68k/m68k.h: Similarly.
14095         * m68k/news.h: Similarly.
14096         * m88k/m88k-protos.h: Similarly.
14097         * m88k/m88k.c: Similarly.
14098         * m88k/m88k.h: Similarly.
14099         * mips/mips-protos.h: Similarly.
14100         * mips/mips.c: Similarly.
14101         * mips/mips.h: Similarly.
14102         * ns32k/merlin.h: Similarly.
14103         * ns32k/ns32k.c: Similarly.
14104         * ns32k/ns32k.h: Similarly.
14105         * ns32k/tek6000.h: Similarly.
14106         * pa/pa-protos.h: Similarly.
14107         * pa/pa.c: Similarly.
14108         * pa/pa.h: Similarly.
14109         * pdp11/2bsd.h: Similarly.
14110         * pdp11/pdp11-protos.h: Similarly.
14111         * pdp11/pdp11.c: Similarly.
14112         * pdp11/pdp11.h: Similarly.
14113         * romp/romp-protos.h: Similarly.
14114         * romp/romp.c: Similarly.
14115         * romp/romp.h: Similarly.
14116         * rs6000/rs6000-protos.h: Similarly.
14117         * rs6000/rs6000.c: Similarly.
14118         * rs6000/rs6000.h: Similarly.
14119         * rs6000/sysv4.h: Similarly.
14120         * sh/sh-protos.h: Similarly.
14121         * sh/sh.c: Similarly.
14122         * sh/sh.h: Similarly.
14123         * sparc/sparc-protos.h: Similarly.
14124         * sparc/sparc.c: Similarly.
14125         * sparc/sparc.h: Similarly.
14126         * vax/vax.c: Similarly.
14127         * vax/vax.h: Similarly.
14128         * vax/vms.h: Similarly.
14129         * we32k/we32k.c: Similarly.
14130         * we32k/we32k.h: Similarly.
14131
14132 Fri Jul  6 11:47:59 2001  Jeffrey A Law  (law@cygnus.com)
14133
14134         * basic-block.h (first_insn_after_basic_block_note): Declare.
14135         * flow.c (first_insn_after_basic_block_note): Define.  Moved
14136         from...
14137         * ssa.c (first_insn_after_basic_block_note): Remove.
14138         * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
14139         necessary.
14140         (ssa_eliminate_dead_code): Properly update the CFG and PHI
14141         nodes when we find a dead conditional branch.  Insert BARRIERs
14142         after any blocks with no successors, but which do not have
14143         any BARRIERs.
14144
14145 2001-07-06  Zack Weinberg  <zackw@stanford.edu>
14146
14147         * varray.c (varray_check_failed): Use internal_error.
14148
14149 2001-07-05  Andrew Haley  <aph@redhat.com>
14150
14151         * Makefile.in (LIB2_DIVMOD_FUNCS): New.
14152         (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
14153         * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
14154
14155 2001-07-02  Jason Merrill  <jason_merrill@redhat.com>
14156
14157         * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
14158         reference if the target constant is also a SYMBOL_REF.
14159
14160 2001-07-05  Eric Christopher  <echristo@redhat.com>
14161
14162         * config/mips/mips.h (MASK_MIPS3900): Remove.
14163         (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
14164         MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
14165         (TARGET_MIPS3900): Change to use mips_arch.
14166         (TARGET_MIPS4000): New.
14167         (TARGET_MIPS4100): New.
14168         (TARGET_MIPS4300): New.
14169         (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
14170         (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
14171         for -mipsX.
14172         (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
14173         (ISA_HAS_BRANCHLIKELY): To here.
14174         (CC1_CPU_SPEC):  New.
14175         (CC1_SPEC): Use here.  Remove 4650 and 3900 options.
14176         (mips_arch_string): Declare.
14177         (mips_arch): Declare.
14178         (TARGET_OPTIONS): Add -march and -mtune.
14179
14180         * config/mips/mips.c (mips_arch_string): New.
14181         (mips_arch): New.
14182         (override_options): Handle -march for codegen and -mtune
14183         for scheduling. Use mips_arch. Move tx39 target default here.
14184         (mips_parse_cpu): Move error message to override_options.
14185
14186         * config/mips/r3900.h (TARGET_DEFAULT): Remove.
14187
14188         * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
14189
14190         * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
14191         (MIPS Options): Ditto.  Change mcpu entry to historical text.
14192
14193 2001-07-05  H.J. Lu  (hjl@gnu.org)
14194
14195         * config/mips/mips.c (mips_parse_cpu): New function to parse
14196         -march=*/-mcpu=*.
14197
14198 2001-07-05  Jim Wilson  <wilson@redhat.com>
14199
14200         * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
14201         * config/ia64/t-ia64: Likewise.
14202         (LIB1ASMFUNCS): Update comment.
14203
14204 2001-07-05  David Edelsohn  <edelsohn@gnu.org>
14205
14206         * doc/install.texi (Install GCC: Binaries): Fix typo.
14207
14208 2001-07-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14209
14210         * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
14211         reference using the stack pointer, adjust it since we push Y
14212         temporarily.
14213         ("*ashrsi3"): Likewise.
14214         ("*lshrsi3"): Likewise.
14215
14216 2001-07-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14217
14218         * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
14219         when -fomit-frame-pointer is used.
14220
14221 2001-07-05  Jeffrey Oldham  <oldham@codesourcery.com>
14222
14223         * flow.c: Reverse Jan Hubicka's patch of 02July2001.
14224         (try_redirect_by_replacing_jump): Reverse updating properly the
14225         count and frequency information.  Reverse removing cc0 setter.
14226         (forwarder_block_p): Reverse fixing for fallthru blocks.
14227
14228 2001-07-05  DJ Delorie  <dj@redhat.com>
14229
14230         * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
14231         (translate_options): If the above is defined, use it to map
14232         given options to new options.
14233         * doc/tm.texi: Document it.
14234
14235 2001-07-05  Brad Lucier <lucier@math.purdue.edu>
14236             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14237
14238         * doc/invoke.texi (Optimize Options): Document that -fgcse may
14239         cause programs using computed gotos to run more slowly.
14240
14241 2001-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14242
14243         * doc/install.texi (Specific): Markup, spelling and typo fixes.
14244         Fixed sorting.
14245         Consistently require binutils 2.11.2, not prereleases.
14246         (Specific, decstation-*): Canonicalize as mips-dec-*.
14247         (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
14248         always necessary.
14249         (Specific, m68k-altos): Removed reference to README.altos, deleted.
14250         (Specific, mips-*): Reword MIPS C compiler requirements.
14251         (Specific, powerpc*-*-*): New, mention --with-cpu once.
14252         (Specific, sunv5): Removed, obsolete.
14253
14254 2001-07-05  Nathan Sidwell  <nathan@codesourcery.com>
14255
14256         * dwarf2out.c (output_loc_list): Use an all ones mask for
14257         .text asm output and don't rely on long long
14258         literals. Reformat some long lines.
14259
14260 2001-07-05  Andreas Jaeger  <aj@suse.de>
14261
14262         * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
14263         section.
14264
14265 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
14266
14267         * dwarf2out.c (dwarf2out_define): Update comment.
14268         (dwarf2out_undef): Ditto.
14269         (dwarf2out_start_source_file): Ditto.
14270         (dwarf2out_end_source_file): Ditto.
14271         (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
14272         since we never call the start/end debug hook for the primary file.
14273
14274 2001-07-04  Kazu Hirata  <kazu@hxi.com>
14275
14276         * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
14277         from shll.
14278
14279 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
14280
14281         * cppinit.c (remove_dup_dirs): Inform if a system include
14282         directory is being reordered.
14283         * doc/invoke.texi (Directory Options): GCC warns if you hide a
14284         system include.
14285         * doc/cpp.texi (Search Paths): Likewise.
14286         * doc/gcc.texi (Interoperation): Remove information about
14287         -I/usr/include.
14288
14289 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
14290
14291         * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
14292         (VARRAY_TOP_CHAR_PTR): Likewise.
14293
14294 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14295
14296         * gcc.c (process_command): Don't assign elements of a const char*.
14297
14298 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14299
14300         * emit-rtl.c (change_address): Don't abort if invalid address while
14301         reload is in progress.
14302
14303 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
14304
14305         * c-lex.c (cb_file_change): Pass line number to
14306         debug_start_source_file.
14307         (cb_undefine): Pass correct line number to debug_undef.
14308
14309         * toplev.c (debug_start_source_file): Add line number to
14310         parameters. Pass it along to dwarf2out_start_source_file.
14311         (decode_g_option): Stop resetting debug level back to normal when
14312         we change debug formats, unless the current level is
14313         none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
14314         3).
14315
14316         * toplev.h (debug_start_source_file): Add line number to
14317         parameters.
14318
14319         * dwarf2out.h (dwarf2out_start_source_file): Add line number to
14320         parameters.
14321
14322         * dwarf2out.c (dwarf2out_start_source_file): Add line number to
14323         parameters.
14324         Output debug_macinfo data for starting file if requested.
14325         (dwarf2out_end_source_file): Output debug_macinfo data for ending
14326         file if requested.
14327         (dwarf2out_define): Output debug_macinfo data for defining a macro
14328         if requested.
14329         (dwarf2out_undef): Output debug_macinfo data for undefining a
14330         macro if requested.
14331         (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
14332         (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
14333         (macinfo_section_label): New. DWARF2 macro info section label.
14334         (dwarf2out_init): If we want macro info, output the start label
14335         for the section.
14336         (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
14337         attribute to the compilation unit die pointing to the macro info.
14338
14339 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
14340
14341         * dwarf2out.c (new_loc_list): Move to inside #ifdef
14342         DWARF2_DEBUGGING_INFO.
14343         (add_loc_descr_to_loc_list): Ditto.
14344         (output_loc_list): Ditto.
14345         Also, fix thinko in curr not being initialized.
14346         (gen_internal_sym): Ditto.
14347
14348 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14349
14350         * emit-rtl.c (replace_equiv_address): New function.
14351         * expr.h (replace_equiv_address): New declaration.
14352         * explow.c (validize_mem): Call it instead of change_address and
14353         also call if -fforce-addr and address is constant.
14354         * expr.c: Replace more calls to change_address with adjust_address
14355         and/or replace_equiv_address or to validize_mem.
14356         * function.c, regmove.c, config/alpha/alpha.c: Likewise.
14357         * config/arm/arm.md, config/clipper/clipper.md: Likewise.
14358         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
14359         * config/i370/i370.md, config/i860/i860.md: Likewise.
14360         * config/i960/i960.md, config/mips/mips.c: Likewise.
14361         * config/mips/mips.md, config/pa/pa.md: Likewise.
14362         * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
14363         * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
14364
14365 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14366
14367         * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
14368
14369         * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
14370         function.
14371
14372 2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>
14373
14374         * doc/include: New directory.
14375         * doc/fdl.texi: Move to doc/include/fdl.texi.
14376         * doc/texinfo.tex: Move to doc/include/texinfo.tex.
14377         * doc/include/funding.texi, doc/include/gpl.texi: New files.
14378         * doc/gcc.texi: Use funding.texi and gpl.texi.
14379         * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
14380         $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
14381         Update dependencies and use -I $(docdir)/include.
14382
14383 2001-07-04  Anthony Green  <green@redhat.com>
14384
14385         * config/v850/t-v850 (v850-c.o): Add missing dependencies.
14386
14387 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14388
14389         * doc/install.texi (sparc64-*-*): Remove garbage.
14390
14391 Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>
14392
14393         * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
14394         Fix typo in last change to use adjust_address.
14395
14396 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14397
14398         * doc/install.texi (Specific): Update information for *-*-solaris*.
14399
14400 Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14401
14402         * explow.c (plus_constant_wide): Reinitialize Y for restart.
14403
14404 2001-07-03  Stan Shebs  <shebs@apple.com>
14405
14406         * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
14407         case for flag_no_mach_text_sections.
14408         (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
14409         * config/darwin.c (flag_no_mach_text_sections): Remove.
14410         * config/darwin-protos.h (darwin_init_pragma): Remove decl.
14411
14412 Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14413
14414         * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
14415         and avoid checking for constant as first operand.
14416         * recog.c (find_constant_term_loc): No longer static.
14417         (adj_offettable_operand): Delete.
14418         * rtl.h (adj_offsettable_operand): Delete declaration.
14419         (find_constant_term): Add declaration.
14420         * caller-save.c: Replace calls to adj_offsettable_operand with calls
14421         to adjust_address.
14422         * config/arm/arm.c, config/c4x/c4x.c: Likewise.
14423         * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
14424         * config/i386/i386.c, config/i386/i386.md: Likewise.
14425         * config/i860/i860.c, config/i960/i960.c: Likewise.
14426         * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
14427         * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
14428         * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
14429         * config/mips/mips.c, config/mips/mips.md: Likewise.
14430         * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
14431         * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
14432         * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
14433         * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
14434         * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
14435         * config/ns32k/ns32k.md: Likewise.
14436
14437 2001-07-03  Zack Weinberg  <zackw@stanford.edu>
14438
14439         * rtl.c (copy_rtx): Handle 'T' format letter.
14440         * gensupport.c (collect_insn_data): Likewise.
14441         * print-rtl.c (print_rtx): Print 'T' slots like 's'.
14442
14443 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
14444
14445         * doc/invoke.texi (Directory Options): Specifiy range for <N> in
14446         -B option.  Use 'dir' not 'foo' as example directory name.
14447
14448 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14449
14450         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
14451         Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
14452
14453 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
14454
14455         * doc/cppinternals.texi: Improve formatting and logical markup.
14456
14457 2001-07-03  Andreas Jaeger  <aj@suse.de>
14458
14459         * Makefile.in (insn-recog.o): Add dependency on reload.h.
14460
14461         * genrecog.c (write_header): Include reload.h for prototypes in
14462         insn-recog.c.
14463
14464 2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>
14465
14466 config:
14467         * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
14468         VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
14469         * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
14470         i386_pe_valid_type_attribute_p): Add.
14471         * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
14472         * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
14473
14474 Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14475
14476         * explow.c (plus_constant_wide, case LO_SUM): New case.
14477         (plus_constant_for_output_wide): Delete.
14478         * rtl.h (plus_constant_for_output): Delete.
14479         * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
14480         instead of plus_constant_for_output.
14481         * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
14482         * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
14483         * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
14484         * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
14485         * config/sparc/sparc.md: Likewise.
14486         Convert some change_address calls to adjust_address.
14487
14488 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
14489
14490         * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
14491         doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
14492         documentation of -std and -Wwrite-strings.
14493
14494 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
14495
14496         * cse.c (canon_hash): Don't register registers in very small
14497         register classes, as extending their lifetime might cause
14498         reload to fail.
14499
14500 Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
14501
14502         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
14503
14504         * flow.c (forwarder_block_p): Fix for fallthru blocks.
14505         (try_redirect_by_replacing_jump): Update properly the count
14506         and frequency information.
14507
14508 Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)
14509
14510         * toplev.c (dump_file_index): Move SSA dumps just after first
14511         jump dump.
14512         (dump_file): Corresponding changes.
14513         (rest_of_compilation): Move SSA path to just after the first
14514         jump pass.
14515         * doc/gcc.texi (Passes): Update due to movement of SSA path.
14516         * doc/invoke.texi: Update dump file #s as they were completely
14517         out of date with reality.
14518
14519 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
14520
14521         * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
14522
14523         * expr.c (emit_move_insn_1): Deal with non-default
14524         STACK_PUSH_CODE.
14525
14526         * expr.c (emit_single_push_insn): Fix warning.
14527
14528 2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
14529
14530         * expr.c (emit_move_insn_1): Avoid modifying
14531         cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
14532
14533 Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14534
14535         * emit-rtl.c (adjust_address): New function.
14536         * expr.h (adjust_address): Add declaration.
14537         * builtins.c: Replace some calls to change_address with calls to it
14538         or to validize_mem.
14539         * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
14540         * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
14541         * config/arm/arm.c, config/convex/convex.c: Likewise.
14542         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
14543         * config/i386/i386.c, config/i386/i386.md: Likewise.
14544         * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
14545         * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
14546         * config/m88k/m88k.c, config/mips/mips.md: Likewise.
14547         * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
14548         * config/sh/sh.c, config/sparc/sparc.md: Likewise.
14549
14550 2001-07-02  Jim Wilson  <wilson@redhat.com>
14551
14552         * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
14553
14554 2001-07-02  Steve Ellcey  <sje@cup.hp.com>
14555
14556         * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
14557         * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
14558
14559 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
14560
14561         * cppinit.c (lang_defaults): New table.
14562         (set_lang): Just read from lang_defaults into the live options
14563         structure.
14564
14565 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
14566
14567         * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
14568         * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
14569         * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
14570
14571 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14572
14573         * doc/install.texi: Various spelling and markup fixes.
14574         (Installing GCC): Component specific installation instructions are
14575         gone.
14576         Fix reference.
14577         Warn about removing old install dir in the presence of shared libs.
14578         (Configuration): Invoke with options target to match configure
14579         --help.
14580         Consistently refer to gas, gld pathnames.
14581         Invert --enable-multilib documentation.
14582         Remove references to old compiler versions.
14583
14584 Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14585
14586         * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
14587
14588 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14589
14590         * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
14591         section.
14592         (Specific, mips*-sgi-irix5): Note IDO download.
14593         Reworded MIPS C hints.
14594         Use GNU as instead of GAS.
14595         Markup fixes.
14596         Removed SGI Freeware reference, IRIX 6 only.
14597         (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
14598         Note N64 library requirement/workaround.
14599         Update O32 hints.
14600         Complete list of structure passing bug victims.
14601
14602 2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14603
14604         * doc/install.texi: Remove CVS Id.
14605
14606 2001-07-02  Andreas Jaeger  <aj@suse.de>
14607
14608         * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
14609         (find_inherently_necessary): Remove unused variable.
14610
14611 2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>
14612
14613         * c-common.h (TDI_inlined): New ast dump phase.
14614         (dump_flag_name): New function.
14615         * c-dump.c (dump_files): Add inlined phase.
14616         (dump_flag_name): Define.
14617         * doc/invoke.texi (-fdump-ast-inlined): Document.
14618
14619 Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14620
14621         * stor-layout.c (layout_decl): Revert change to handling of alignment
14622         in packed types.
14623
14624 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14625
14626         * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
14627         for FIELD_DECL.
14628
14629 2001-07-01  Geoffrey Keating  <geoffk@redhat.com>
14630
14631         * doc/tm.texi (FUNCTION_ARG): Document that the last call
14632         is special.
14633
14634 2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>
14635
14636         * tlink.c (recompile_files): Remove COMPILER_PATH and
14637         LIBRARY_PATH from the environment.
14638
14639 2001-07-01  Zack Weinberg  <zackw@stanford.edu>
14640
14641         * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
14642         RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
14643         enumerators.
14644         (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
14645
14646         * c-parse.in (OBJC_STRING): Kill.
14647         (objc_string): Decompose to [objc_string] '@' STRING.
14648         (reswords): Take the leading '@' off all the Objective C keywords.
14649         (objc_rid_sans_at): Kill.
14650         (init_reswords): Don't initialize it.
14651         (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
14652         (_yylex): Kill reconsider label.  Look ahead one token after
14653         an '@'; if we get an identifier, check whether it's an
14654         Objective C @-keyword.  If so, return the keyword.  Otherwise,
14655         put back the token and return the '@' as a terminal.
14656
14657         * cpplib.c (lex_macro_node): Remove unnecessary check for
14658         leading '@' on identifier.  Clarify control flow and commentary.
14659
14660 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14661
14662         * cse.c (new_label_ref): Variable deleted.
14663         (insert): Remove set of new_label_ref.
14664         (check_for_label_ref): New function.
14665         (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
14666
14667 See ChangeLog.5 for earlier changes.