OSDN Git Service

* config/alpha/alpha.c (vms_attribute_table): Add new attributes.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Fri Dec 14 07:29:52 2001  Douglas B. Rupp  <rupp@gnat.com>
2
3         * config/alpha/alpha.c (vms_attribute_table): Add new attributes.
4         (alpha_write_linkage): Test for null alpha_links.
5         (SECTION_VMS_GLOBAL, SECTION_VMS_INITIALIZE): New section attributes.
6         (vms_section_type_flags, vms_asm_named_section): Handle them.
7
8 Fri Dec 14 12:05:14 CET 2001  Jan Hubicka  <jh@suse.cz>
9
10         * i386.c (ix86_fpmath, ix86_fpmath_string): New.
11         (override_option): Set ix86_fpmath.
12         * i386.h (MASK_MIX_SSE_I387): Remove.
13         (TARGET_SSE_MATH): New.
14         (TARGET_MIX_SSE_I387): Use ix86_fpmath.
15         (TARGET_SWITCHES): Remove "mix-sse-i387".
16         (fpmath_unit): New enum.
17         (ix86_fpmath, ix86_fpmath_string): Declare.
18         * i386.md (swapsf): Fix condition.
19         (add?f, sub?f, mul?f, div?f, sqrt?f, min?f): Use TARGET_SSE_MATH.
20         (fp_?f_*_nosse): New.
21         (fp_*): Use TARGET_SSE_MATH.
22         * invoke.texi (-mfpmath): Document.
23         (-msse2): Add.
24
25 2001-12-14  Jason Merrill  <jason@redhat.com>
26
27         * dwarf2out.c (output_die): Print the string in the comment for
28         a DW_FORM_strp.
29
30 2001-12-14  Richard Earnshaw  <rearnsha@arm.com>
31
32         * netbsd.h (COLLECT_SHARED_INIT_FUNC)
33         (COLLECT_SHARD_FINI_FUNC): Remove redundant semicolon.
34         * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
35         (COLLECT_SHARD_FINI_FUNC): Use @code where appropriate.
36
37 2001-12-13  Richard Henderson  <rth@redhat.com>
38
39         * regrename.c (kill_value_regno): Simplify chain removal.
40         (kill_value): Kill all of HARD_REGNO_NREGS.
41         (kill_set_value): Use kill_value not kill_value_regno.
42         (kill_autoinc_value): Likewise.
43         (copyprop_hardreg_forward): Don't collect refresh_blocks.
44         Call delete_noop_moves.
45
46 2001-12-13  Aldy Hernandez  <aldyh@redhat.com>
47
48         * attribs.c (c_common_attribute_table): Swap decl_req and type_req
49         for the mode attribute.
50         (handle_mode_attribute): Handle types, not decls.
51
52 2001-12-13  Jason Merrill  <jason@redhat.com>
53
54         * c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro.
55
56 2001-12-13  Aldy Hernandez  <aldyh@redhat.com>
57
58         * config/rs6000/rs6000.md (eh_set_lr_di): Change scratch
59         constraint to base register.
60         (eh_set_lr_si): Same.
61
62 2001-12-13  Hans-Peter Nilsson  <hp@axis.com>
63
64         * expr.c (expand_expr, case ADDR_EXPR): Don't honor
65         flag_force_addr for modifier != EXPAND_CONST_ADDRESS,
66         modifier != EXPAND_INITIALIZER and modifier != EXPAND_SUM.
67
68 Thu Dec 13 20:30:08 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
69
70         * expr.c (copy_blkmode_from_reg): Add missing braces to eliminate
71         warning and reformat comments.
72         (expand_assignment): Don't pass EXPAND_WRITE if LHS is component.
73         (highest_pow2_factor, case INTEGER_CST): Return BIGGEST_ALIGNMENT
74         if overflow.
75
76 2001-12-12  Aldy Hernandez  <aldyh@redhat.com>
77
78         * config/rs6000/rs6000.c (rs6000_override_options): Add
79         SUBSUBTARGET_OVERRIDE_OPTIONS.
80
81         * config/rs6000/eabialtivec.h: New file.
82
83         * config/rs6000/linuxaltivec.h: New file.
84
85         * config.gcc: Add powerpc-*-eabialtivec and
86         powerpc-*-linux-gnualtivec.
87
88 2001-12-13  Neil Booth  <neil@daikokuya.demon.co.uk>
89
90         * toplev.c (process_options, parse_options_and_default_flags):
91         Set flag_no_inline before the post_options hook.
92
93 2001-12-13  Richard Henderson  <rth@redhat.com>
94
95         * emit-rtl.c (adjust_address_1): Don't adjust address if adjust
96         is false.
97
98 2001-12-13  Richard Earnshaw  <rearnsha@arm.com>
99
100         * collect2.c (COLLECT_SHARED_INIT_FUNC)
101         (COLLECT_SHARD_FINI_FUNC): Define default values.
102         (write_c_file_stat): Use them to call construtor and destructor 
103         functions in shared libraries.
104         * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
105         (COLLECT_SHARD_FINI_FUNC): Document them.
106         * config/netbsd.h (COLLECT_SHARED_INIT_FUNC)
107         (COLLECT_SHARD_FINI_FUNC): Define.
108
109         * config/netbsd.h (LINK_SPEC): Don't pull in estart if creating a
110         shared library.  Pass -shared through to the linker.
111         * config/arm/netbsd.h (LINK_SPEC): Likewise.
112
113         * config/arm/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -fpic.
114         (SHLIB_EXT, SHLIB_NAME, SHLIB_SONAME, SHLIB_OBJS, SHLIB_LINK)
115         (SHLIB_INSTALL): Define.
116
117 2001-12-13  Richard Earnshaw  <rearnsha@arm.com>
118
119         * arm.c (legitimize_pic_address): Handle LABEL_REFs in substantially
120         the same way as we handle SYMBOL_REFS.
121
122 Thu Dec 13 07:47:24 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
123
124         * loop.c (remove_constant_addition): Fix prototype and whitespace.
125         (emit_prefetch_instructions): Remove warnings and whitespace
126         changes.
127
128 Thu Dec 13 06:48:38 2001  Douglas B. Rupp  <rupp@gnat.com>
129
130         * config/alpha/vms-cc.c (preprocess_args): Fix forward
131         declaration.
132
133 Thu Dec 13 12:31:07 CET 2001  Jan Hubicka  <jh@suse.cz>
134
135         * predict.c (estimate_probability): Reorganize opcode heuristics.
136         * predict.def (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL,
137         PRED_FPOPCODE): New.
138
139         * i386.c (override_options): Recognize various CPU variants and set
140         SSE/MMX/3dNOW flags accordingly.
141         * i386.h (MASK_MMX_SET, MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET,
142         MASK_3DNOW_A_SET): New.
143         (MASK_ACCUMULATE_OUTGOING_ARGS_SET): New.
144         (MASK_NO_ACCUMULATE_OUTGOING_ARGS): Delete.
145         (MASK_*): Renumber.
146         (TARGET_FLAGS): Use new masks.
147         (CPP_CPU_SPECS): Recognize new CPU variants.
148         * invoke.texi (-mcpu): Update documentation.
149
150         * flags.h (flag_prefetch_loop_arrays): Declare.
151         * loop.h (LOOP_PREFETCH): Define new constant.
152         * loop.c (strength_reduce): Call emit_prefetch_instructions.
153         (MAX_PREFETCHES, PREFETCH_BLOCKS_BEFORE_LOOP_MAX,
154         PREFETCH_BLOCKS_BEFORE_LOOP_MIN, PREFETCH_BLOCKS_IN_LOOP_MIN): New
155         constants.
156         (check_store_data): New structure.
157         (check_store, emit_prefetch_instructions, rtx_equal_for_prefetch_p):
158         New functions.
159         * toplev.c: Include insn-flags.h.
160         (flag_prefetch_loop_arrays): New global variable.
161         (lang_independent_option): Add -fprefetch-loop-arrays.
162         (rest_of_compilation) Pass LOOP_PREFETCH when flag_prefetch_loop_arrays
163         is set.
164         * Makefile.in (toplev.c): Depend on insn-flags.h.
165         * invoke.texi (-fprefetch-loop-arrays): Document.
166
167         * predict.c (estimate_probability): Distribute the loop exit
168         probability according to number of exit edges.
169
170         * cfgcleanup.c (insns_match_p): Break out from ...;
171         (flow_find_cross_jump): ... here;
172         (outgoing_edges_match): Add parameter MODE; attempt to match everything
173         except for tablejumps.
174         (try_crossjump_to_edge): Accept complex edges.
175         (try_crossjump_bb): Likewise.
176
177 2001-11-29  Corey Minyard <minyard@acm.org>
178
179         * recog.c (validate_replace_rtx_1): Use simplify_gen_binary
180         instead of plus_constant.
181         * simplify-rtx.c (neg_const_int): New.
182         (simplify_gen_binary, simplify_plus_minus): Use it.
183
184 2001-12-12  Roger Sayle  <roger@eyesopen.com>
185
186         * builtins.c (expand_builtin_memset, expand_builtin_memcpy,
187         expand_builtin_strcpy): Additional arguments TARGET and MODE.
188         (expand_builtin_bzero, expand_builtin_strcpy,
189         expand_builtin_strncpy, expand_builtin_bzero): Pass additional
190         TARGET and MODE parameters to the above functions.
191         (expand_builtin_memset, expand_builtin_memcpy): Optimize the
192         case where the LEN parameter is constant zero.
193         (expand_builtin_memcmp): No longer conditional on
194         HAVE_cmpstrsi.  Take an additional mode parameter.  Optimize
195         the cases where len is either constant zero or one.
196         Optimize to call to memcpy, even if the memcpy isn't inlined.
197         (expand_builtin_strncpy): Optimize to call memcpy, even if the
198         memcpy isn't inlined.
199         (expand_builtin_strcmp, expand_builtin_strncmp): Always attempt
200         to optimize to a call to memcmp.
201         (expand_builtin): expand_builtin_memcmp can always be called,
202         and pass the required parameters to expand_builtin_memcmp,
203         expand_builtin_memset, expand_builtin_memcpy and
204         expand_builtin_strcpy.
205
206 2001-12-12  David O'Brien  <obrien@FreeBSD.org>
207
208         * config.gcc (arm-*-freebsd*): Add target.
209         * config/arm/freebsd.h: New file.
210         * config/arm/arm.h (CPP_PREDEFINES): Do not define.
211         (CPP_SPEC): #undef before defining.
212         (CPP_CPU_ARCH_SPEC): Add -Acpu=arm -Amachine=arm.
213         * config/arm/conix-elf.h (CPP_PREDEFINES): Remove -Acpu=arm
214         -Amachine=arm.
215         * config/arm/linux-elf.h: Likewise.
216         * config/arm/netbsd.h: Likewise.
217         * config/arm/riscix.h: Likewise.
218         * config/arm/riscix1-1.h: Likewise.
219         * config/arm/semiaof.h: Likewise.
220
221 2001-12-12  Richard Henderson  <rth@redhat.com>
222
223         * regrename.c (copyprop_hardreg_forward): New optimization.
224         (kill_value_regno, kill_value, init_value_data, kill_clobbered_value,
225         kill_set_value, kill_autoinc_value, copy_value, find_oldest_value_reg,
226         replace_oldest_value_reg, replace_oldest_value_addr,
227         replace_oldest_value_mem, copyprop_hardreg_forward_1,
228         debug_value_data, validate_value_data): New.
229         * rtl.h (copyprop_hardreg_forward): Declare.
230         * toplev.c (flag_cprop_registers): New.
231         (f_options): Add -fcprop-registers
232         (rest_of_compilation): Invoke it.
233         (parse_options_and_default_flags): Set it at -O1.
234         * doc/invoke.texi: Document it.
235
236 2001-12-12  Jakub Jelinek  <jakub@redhat.com>
237
238         * dwarf2out.c (dw_val_class): Add dw_val_class_range_list.
239         (DEBUG_RANGES_SECTION_LABEL): Define.
240         (ranges_section_label): Add.
241         (add_AT_range_list): New.
242         (print_die, sizeof_die, value_format): Handle dw_val_class_range_list.
243         (output_loc_list): Location expression length is always 2-byte.
244         (output_die): Handle dw_val_class_range_list.
245         (gen_lexical_block_die): Call add_AT_range_list.
246         (dwarf2out_init): Initialize ranges_section_label.
247         (dwarf2out_finish): Emit ranges_section_label.
248
249 2001-12-12  Jakub Jelinek  <jakub@redhat.com>
250
251         * c-typeck.c (digest_init): Allow initializing
252         static storage duration objects with compound literals.
253         * doc/extend.texi (Compound literals): Document the extension.
254
255 2001-12-12  Richard Henderson  <rth@redhat.com>
256
257         * emit-rtl.c (adjust_address_1): Always copy address to avoid
258         shared rtl.
259
260 Wed Dec 12 07:37:52 2001  Olivier Hainque <hainque@act-europe.fr>
261
262         * stmt.c (expand_end_case): Do subtraction of lower bound as trees
263         to avoid overflow.
264
265 Wed Dec 12 07:35:24 2001  Douglas B. Rupp  <rupp@gnat.com>
266
267         * cppfiles.c (read_include_file): Set buffer size properly when
268         file is shorter than expected.
269
270 Wed Dec 12 08:35:33 2001  Nicola Pero  <n.pero@mi.flashnet.it>
271
272         * objc/objc-act.c (encode_complete_bitfield): Fixed encoding
273         enumeral types - encode them using 'i'.
274
275 2001-12-12  Nathan Sidwell  <nathan@codesourcery.com>
276
277         * doc/extend.texi (Deprecated Features): Deprecate implicit
278         typename. Document that named return and initializer lists are now
279         removed.
280
281 2001-12-11  Roger Sayle <roger@eyesopen.com>
282
283         * except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid
284         compiler warning about enumeration values not being handled.
285
286 2001-12-11  Momchil Velikov  <velco@fadata.bg>
287
288         * config/fp-bit.c (pack_d): Cast to ``fractype'' for long long
289         shifts.
290
291 2001-12-11  Richard Henderson  <rth@redhat.com>
292
293         * config/alpha/alpha.h (TARGET_FIXUP_EV5_PREFETCH): New.
294         * config/alpha/linux.h (TARGET_FIXUP_EV5_PREFETCH): New.
295         * config/alpha/alpha.md (prefetch): New.
296
297 2001-12-11  Richard Henderson  <rth@redhat.com>
298
299         * combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C)
300         if C has only low bits set and doesn't intersect with X or Y.
301
302 Tue Dec 11 23:58:39 EST 2001  John Wehle  (john@feith.com)
303
304         * basic-block.h (flow_preorder_transversal_compute): Declare.
305         * cfganal.c (flow_preorder_transversal_compute): Implement.
306
307 Tue Dec 11 23:54:27 EST 2001  John Wehle  (john@feith.com)
308
309         * cfganal.c (flow_depth_first_order_compute): Always
310         increment dfsnum.
311
312 2001-11-30 Alan Matsuoka <alanm@redhat.com>
313
314         * combine.c (combine_simplify_rtx) : Can't simplify
315         cases that use mode class MODE_CC.
316
317 2001-12-11  Richard Henderson  <rth@redhat.com>
318
319         * expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in
320         which there is no divide expander.
321
322 2001-12-11  Richard Henderson  <rth@redhat.com>
323
324         * except.c (sjlj_find_directly_reachable_regions): Don't
325         consider RNL_BLOCKED a directly reachable region.
326         (sjlj_assign_call_site_values): Trust directly_reachable.
327         (sjlj_emit_dispatch_table): Likewise.
328
329 2001-12-11  Richard Henderson  <rth@redhat.com>
330
331         * config/alpha/alpha.md (divmodsi_internal_er): Split, so that
332         we represent the address load's dependency on the gp.
333         (divmoddi_internal_er): Likewise.
334         (divmodsi_internal_er_1, divmoddi_internal_er_1): New.
335
336 2001-12-11  Richard Henderson  <rth@redhat.com>
337
338         * emit-rtl.c (widen_memory_access): New.
339         * expr.h (widen_memory_access): Declare it.
340         * config/alpha/alpha.c (get_aligned_mem): Use it.
341
342 2001-12-11  Richard Henderson  <rth@redhat.com>
343
344         * combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED
345         simplification above out of range check.
346
347 2001-12-11  Dan Nicolaescu  <dann@ics.uci.edu>
348
349         * config/sparc/sparc.md (prefetch): New.
350
351 2001-12-11  Aldy Hernandez  <aldyh@redhat.com>
352
353         * output.h (regno_uninitialized): Make argument unsigned.
354
355         * flow.c (regno_uninitialized): Make regno unsigned.
356
357 2001-12-11  David O'Brien  <obrien@FreeBSD.org>
358
359         * elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define.
360         * config/cris/cris.h (ENDFILE_SPEC): Define.
361         * config/i386/i386elf.h ((ENDFILE_SPEC, STARTFILE_SPEC): Define.
362         * config/pa/elf.h: Likewise.
363
364 2001-12-11  Richard Henderson  <rth@redhat.com>
365
366         * objc/objc-act.c (build_string_class_template): New.
367         (build_objc_string_object): Call it.
368
369 2001-12-11  Steve Ellcey  <sje@cup.hp.com>
370
371         * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
372         * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
373         * calls.c (store_unaligned_arguments_into_pseudos): Check
374         FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures
375         are passed/returned.
376         * expr.c (move_block_from_reg): Ditto.
377         (move_block_from_reg): Ditto.
378         (copy_blkmode_from_reg): Ditto.
379         * stmt.c (expand_return): Ditto.
380         * stor-layout.c (compute_record_mode): If
381         FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check
382         MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode.
383         * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true
384         so that Structures of one field are still treated as structures.
385         (FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true.
386         (FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding().
387         (PAD_VARARGS_DOWN): Modify from default to not pad structures down.
388         * config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New.
389         * config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function
390         to special case handling of structure padding.
391
392 2001-12-11  Daniel Berlin  <dan@cgsoftware.com>
393
394         * sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P.
395         (may_trap_exp): Stores only are risk if they trap, too, not just
396         if code == MEM.
397
398 2001-12-11  Aldy Hernandez  <aldyh@redhat.com>
399
400         * flow.c (find_regno_partial): Indent properly.  Add a default to
401         switch.
402
403 2001-12-11  Neil Booth  <neil@daikokuya.demon.co.uk>
404
405         * c-common.c (combine_strings): Complain if concatenating
406         __FUNCTION__.
407         * c-parse.in (yylexname): Flag artificial strings.
408         * tree.h (TREE_ARTIFICIAL_STRING_P): New.
409 doc:
410         * extend.texi: Update.
411
412 2001-12-11  Aldy Hernandez  <aldyh@redhat.com>
413
414         * c-common.c (type_for_mode): Handle unsigned vectors.
415         (type_for_mode): Remove redundant calls to TYPE_MODE.
416
417         * tree.c (make_vector): New.
418         (build_common_tree_nodes_2): Use make_vector for vector types.
419         Add unsigned vector types.
420
421         * tree.h (tree_index): Add unsigned types for vectors.
422         (unsigned_V16QI_type_node): New.
423         (unsigned_V4SI_type_node): New.
424         (unsigned_V8QI_type_node): New.
425         (unsigned_V8HI_type_node): New.
426         (unsigned_V4HI_type_node): New.
427         (unsigned_V2SI_type_node): New.
428
429 2001-12-11  Stan Shebs  <shebs@apple.com>
430
431         * objc/objc-act.c (finish_message_expr): Fix misplaced parens in a
432         test of class names.
433
434 2001-12-11  David O'Brien  <obrien@FreeBSD.org>
435
436         * config.gcc (m68020-*-elf*): Expand tm_file to include all needed
437         cpu configuration headers.
438         * config/h8300/elf.h: Include dbxelf.h.
439         * config/m68k/linux.h: Likewise.
440         * config/m68k/m68020-elf.h: Likewise.
441         * config/m68k/m68kv4.h: Likewise.
442         * config/sh/elf.h: Likewise.
443         * config/m68k/m68kemb.h: Add comment about the its purpose.
444
445 2001-12-11  Richard Henderson  <rth@redhat.com>
446
447         * objc/objc-act.c (build_constructor): Cast initializer values
448         to the proper field types.
449
450 2001-12-11  Jakub Jelinek  <jakub@redhat.com>
451
452         * unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
453
454 2001-12-10  Roger Sayle <roger@eyesopen.com>
455
456         * builtins.c (expand_builtin): Use a switch statement to list
457         those functions not expanded without optimizations, instead of a
458         series of equality tests.
459
460 Tue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
461
462         * config/alpha/vms.h (LIB_SPEC): Define.
463         * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
464
465         * libgcc2.c (_bb): Remove ctime declaration.
466
467         * Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
468         that works if LN_S = cp.
469
470         * config/alpha/x-vms (version): Change "." to "_".
471
472         * configure.in: Hardcode that vfork works on VMS host.
473         * configure: Regenerated.
474
475 Mon Dec 10 18:37:31 2001  Douglas B. Rupp  <rupp@gnat.com>
476
477         * gcc.c (convert_filename): Add do_obj parameter. Don't convert
478         unless do_obj true.
479         (process_command): Modify calls to convert_filename.
480
481 2001-12-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
482
483         * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
484
485 Mon Dec 10 15:54:27 2001  Jeffrey A Law  (law@cygnus.com)
486
487         * combine.c (known_cond): Check mode of each operand to determine
488         if COND is comparing floating point values.
489
490 2001-12-10  David Edelsohn  <edelsohn@gnu.org>
491
492         * rs6000.h (processor_type): Add PPC405.
493         (RTX_COSTS): Add PPC405.  Correct rs64 and ppc630 multiply costs.
494         * rs6000.md: Add PPC405 information.  Utilize imul2 and imul3 for
495         rios1, rs64, and ppc630 processors.
496         * rs6000.c (processor_target_table): Add PPC405.
497
498 2001-12-10  Richard Henderson  <rth@redhat.com>
499
500         * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
501         instead of hardcoding subregs into the _be and _le patterns.
502
503 2001-12-10  Neil Booth  <neil@daikokuya.demon.co.uk>
504
505         * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
506
507 Mon Dec 10 09:19:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
508
509         * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
510         what insn does.
511
512 2001-12-10  Joseph S. Myers  <jsm28@cam.ac.uk>
513
514         * doc/cpp.texi: Don't condition menus on @ifinfo.  Condition the
515         copyright notice formerly conditioned on @ifinfo on @ifnottex
516         instead.
517
518 Mon Dec 10 06:15:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
519
520         * vmsdbgout.c (lookup_filename): Remove warning.
521
522 Mon Dec 10 06:09:57 2001  Douglas B. Rupp  <rupp@gnat.com>
523
524         * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
525
526         * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
527         (exeext, target_alias, prefix, local_prefix): Define.
528         * config/alpha/x-vms (USE_COLLECT2): Make empty.
529         * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
530         file specifications. Remove ".".
531         (GCC_INCLUDE_DIR): Remove redefinition (redundant).
532         * fixinc/mkfixinc.sh (alpha*-dec-vms*):  Change to alpha*-dec-*vms*
533
534 2001-12-09  Nathan Sidwell  <nathan@codesourcery.com>
535
536         * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
537
538 Sun Dec  9 21:57:24 2001  Douglas B. Rupp  <rupp@gnat.com>
539
540         * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
541         Add rules for building [vp]crt0.o
542         * config/alpha/vms.h (START_FILE_SPEC): Define.
543         * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
544         * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
545         * doc/invoke.texi: Document special Alpha/VMS options.
546
547 Sun Dec  9 20:25:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
548
549         * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
550         * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
551         not GNUC.
552
553 Sun Dec  9 20:19:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
554                           Douglas B. Rupp  <rupp@gnat.com>
555
556         * tree.c (append_random_char): Conditionalize INO for VMS.
557
558 2001-12-09  Richard Henderson  <rth@redhat.com>
559
560         * cfgcleanup.c (label_is_jump_target_p): New function.
561         (try_optimize_cfg): Use label_is_jump_target_p to check if label is
562         target of a JUMP_INSN from the preceding block.
563
564 Sun Dec  9 18:40:07 2001  Douglas B. Rupp  <rupp@gnat.com>
565
566         * vmsdbgout.c (lookup_filename): Assign null string instead
567         of null pointer to fnam.
568
569 2001-12-09  Richard Henderson  <rth@redhat.com>
570
571         * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
572         immediately after a call; insert nops before a call.
573
574 2001-12-09  Richard Henderson  <rth@redhat.com>
575
576         * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
577         not FUNCTION_BOUNDARY.
578         * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
579         * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
580         * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
581
582 2001-12-09  Hans-Peter Nilsson  <hp@bitrange.com>
583
584         * config/mmix/mmix.c (mmix_function_block_profiler,
585         mmix_block_profiler, mmix_function_block_profiler_exit): Delete
586         unused functions.
587         * config/mmix/mmix-protos.h (mmix_function_block_profiler,
588         mmix_block_profiler, mmix_function_block_profiler_exit): Delete
589         prototypes.
590
591         * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
592         Delete obsoleted macros.
593
594 2001-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
595
596         * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
597         doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
598
599         * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
600         cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
601         function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
602         config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
603         config/i370/i370.c, config/i386/i386.c,
604         config/i386/i386-interix.h, config/i386/i386.md,
605         config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
606         config/m32r/m32r-protos.h, config/mcore/mcore.h,
607         config/rs6000/rs6000.h, config/sparc/linux64.h,
608         config/sparc/sparc.c, config/v850/v850-protos.h,
609         config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
610         spelling errors.
611
612 2001-12-09  Daniel Berlin  <dan@cgsoftware.com>
613
614         * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
615         altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
616
617         * config/rs6000/rs6000.c: Ditto.
618
619         * config/rs6000/rs6000.md: Ditto.
620
621 2001-12-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
622
623         * 1750a.md: Add default case in switch.
624         * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
625         if-else statement.
626         * dsp16xx.c (print_operand_address): Likewise.
627         * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
628         * ia64.md: Add missing braces.
629         * rs6000-protos.h (s8bit_cint_operand): Prototype.
630         * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
631         if-else statement.
632         * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
633         * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
634         * dbxout.c (dbxout_source_file): Move a variable into the scope
635         where it is used.
636         * final.c (profile_function): Mark parameter with
637         ATTRIBUTE_UNUSED.
638         * genemit.c (gen_expand): Likewise for generated file.
639         * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
640
641         * vmsdbg.h: Delete spurious close-comment.
642         (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
643         * vmsdbgout.c (write_modbeg): Define return type.
644
645         * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
646         * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
647         * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
648         * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
649         * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
650         * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
651         * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
652
653 2001-12-08  Tom Rix  <trix@redhat.com>
654
655         * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
656         * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
657         * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
658         for powerpc64.
659         * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
660         movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
661         * config/rs6000/rs6000.c (expand_block_move): Do not use
662         gen_movstrsi_2reg and powerpc64.
663
664 2001-10-08  Aldy Hernandez  <aldyh@redhat.com>
665
666         * c-common.h (rid): Add RID_CHOOSE_EXPR and
667         RID_TYPES_COMPATIBLE_P.
668
669         * c-parse.in (reswords): Add __builtin_choose_expr.
670         Add __builtin_types_compatible_p.
671         Add CHOOSE_EXPR token.
672         Add TYPES_COMPATIBLE_P token.
673         Add production for CHOOSE_EXPR.
674         Add production for TYPES_COMPATIBLE_P.
675
676         * doc/extend.texi (__builtin_choose_expr): Add documentation.
677         (__builtin_types_compatible_p): Likewise.
678
679 2001-12-08  David Edelsohn  <edelsohn@gnu.org>
680
681         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
682         to unions.
683
684 2001-12-08  Neil Booth  <neil@daikokuya.demon.co.uk>
685
686         * c-parse.in: Take string literals in assembler constructs,
687         not expressions.
688         * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
689         check the strings are STRING_CSTs.
690
691 2001-12-08  Neil Booth  <neil@daikokuya.demon.co.uk>
692
693         * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
694         using combine_strings to do the concatenation.
695         * c-parse.in: Replace uses of the string non-terminal with STRING.
696         Don't attempt string concatenation.
697         (OBJC_STRING): New terminal.
698         (string): Remove non-terminal.
699         (_yylex): Call combine_strings on function names.  Generate
700         OBJC_STRING terminals; don't pass '@' on to yacc.
701         * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
702         (build_asm_stmt): Similarly.
703
704 2001-12-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
705
706         * rtlanal.c (get_jump_table_offset): Delete unused variable.
707
708 2001-12-08  Richard Earnshaw  <rearnsha@arm.com>
709
710         * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
711         (prefetch): Rewrite using PREFETCH RTL primitive.
712         * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
713         * arm.c (arm_init_builtins): Don't initialize a builtin for
714         __builtin_prefetch here.
715         (arm_expand_builtin): Don't expand __builtin_prefetch here.
716
717 2001-12-08  Richard Earnshaw  <rearnsha@arm.com>
718
719         * final.c (cleanup_subreg_operands):  Use recog_data.operand_loc
720         in test for a subreg.
721
722 2001-12-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
723
724         * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
725         strings.
726
727 2001-12-07  Richard Henderson  <rth@redhat.com>
728
729         * doc/extend.texi: Fix typo last change.
730
731         * c-decl.c (c_language): Remove duplicate.
732
733 2001-12-07  Dale Johannesen  <dalej@apple.com>
734
735         * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
736         * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
737         specific codegen, eliminate a register copy.
738         (print_operand_address): Add support for Darwin's lo16(constant)
739         syntax.
740         (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
741         generation of addresses within very large data objects.
742         (s8bit_cint_operand):  New.
743         * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
744         Move "mtjmpr" to correct functional unit for 750/7400/7450.
745         Add imul2 and imul3 insn types for multiplication by 16- and
746         8-bit constants.
747         Change tablejump patterns to strongly discourage using LR
748         rather than CTR.
749         Add %lo16 patterns for Darwin loads and stores.
750
751 2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
752
753         * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
754
755 2001-12-07  Stephane Carrez  <Stephane.Carrez@sun.com>
756
757         * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
758         with %sp because it can cause the delayed instruction to load
759         below the stack.
760
761 2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
762
763         * alpha.c (alpha_expand_unaligned_store,
764         alpha_expand_unaligned_store_words): Use constm1_rtx in place of
765         call to immed_double_const.
766
767 2001-12-07  Aldy Hernandez  <aldyh@redhat.com>
768
769         * doc/extend.texi (Variable Attributes): Document vector_size.
770
771         * attribs.c (c_common_attribute_table): Add vector_size.
772         (handle_vector_size_attribute): New.
773         (vector_size_helper): New.
774         (decl_attributes): Relayout the decl after calculating attribs.
775
776 2001-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
777
778         * doc/gcc.texi: Don't include install-old.texi.  Adjust menu
779         description for Trouble section.
780         * doc/install-old.texi: Adjust for inclusion as chapter of new
781         installation manual.
782         * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
783         Adjust to include old installation chapter as chapter of new
784         installation manual.
785
786 Fri Dec  7 11:07:35 EST 2001  John Wehle  (john@feith.com)
787
788         * rtl.h (get_jump_table_offset): Declare.
789         * rtlanal.c (get_jump_table_offset): Implement.
790
791 Fri Dec  7 07:06:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
792
793         * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
794         Deleted; were used only by BB profiler code.
795         (sbb_head, sbb_tail, sbb_label_num): Likewise.
796         (end_final): Delete now-unused vars I, PTR, and SPTR.
797
798         * expr.c (store_field): Remove warning.
799         (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
800         (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
801         (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
802         divisor constant power of 2.
803         (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
804
805 2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
806
807         * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
808         shifting.
809
810 2001-12-06  Aldy Hernandez  <aldyh@redhat.com>
811
812         * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
813         (DWARF_FRAME_REGISTERS): Delete.
814
815 2001-12-06  Janis Johnson  <janis187@us.ibm.com>
816
817         * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
818         * builtins.def (BUILT_IN_PREFETCH): Change arguments.
819         * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
820         with defaults for read prefetch with high degree of locality.
821         * doc/extend.texi (__builtin_prefetch): Update documentation.
822         * doc/md.texi (prefetch): Add documentation.
823
824 2001-12-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
825
826         * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
827         UNIX V5.1A stdio.h.
828         * fixinc/fixincl.x: Regenerate.
829         Fixes PR libf2c/4826.
830
831 2001-12-06  Aldy Hernandez  <aldyh@redhat.com>
832             Richard Henderson  <rth@redhat.com>
833
834         * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
835         (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
836
837         * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
838         to PRE_GCC3_DWARF_FRAME_REGISTERS.
839         (frame_state): Same.
840         (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
841
842 2001-12-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
843
844         * langhooks.c (lhd_staticp): Mark parameter with
845         ATTRIBUTE_UNUSED.
846
847 2001-12-06  H.J. Lu <hjl@gnu.org>
848
849         * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
850         reduce noise.
851         (.po.pox): Likewise.
852         (o/$(PACKAGE).pot): Likewise.
853
854 2001-12-06  Alexandre Oliva  <aoliva@redhat.com>
855
856         * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
857         * tree-inline.c (expand_call_inline): ... here.
858
859 2001-12-06  H.J. Lu <hjl@gnu.org>
860
861         * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
862         (.po.pox): Likewise.
863         (o/$(PACKAGE).pot): Likewise.
864
865 2001-12-06  David O'Brien  <obrien@FreeBSD.org>
866
867         * config.gcc: Include dbxelf.h before elfos.h.
868         * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
869
870 2001-12-06  Zack Weinberg  <zack@codesourcery.com>
871
872         * cppfiles.c (open_file): If we've opened a directory by
873         mistake, close it.
874         (find_include_file): Avoid turning / into // or // into ///.
875
876 2001-12-06  Nick Clifton  <nickc@cambridge.redhat.com>
877
878         * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
879         (STRUCT_VALUE_REGNUM): Restore definition.
880
881 2001-12-06  Andrew MacLeod <amacleod@redhat.com>
882
883         * flow.c (find_regno_partial): Return register, not the expression
884         the register is in.
885
886 Thu Dec  6 09:24:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
887
888         * function.c (handle_epilogue_set): Check for FP setting case when
889         SP is set from FP in same insn.
890
891 2001-12-06  Nick Clifton  <nickc@cambridge.redhat.com>
892
893         * config/arm/arm.c (load_multiple_sequence): Pass pointer to
894         RTX when calling alter_subreg().
895         (store_multiple_sequence): Pass pointer to RTX when calling
896         alter_subreg().
897
898 Thu Dec  6 06:55:13 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
899
900         * function.c (assing_parms): Fix typo in last change.
901         * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
902         * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
903         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
904         * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
905
906 2001-12-06  Alan Modra  <amodra@bigpond.net.au>
907
908         * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
909         correct code selecting section.
910
911 Thu Dec  6 12:45:33 CET 2001  Jan Hubicka  <jh@suse.cz>
912
913         * final.c (count_basic_block, add_bb, add_bb_string):
914         Kill.
915         (end_final, final_start_function, final, final_scan_insn,
916         leaf_function_p): Kill BB profiler related code.
917         * flags.h (profile_block_flag): Kill.
918         * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
919         BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
920         __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
921         bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
922         reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
923         __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
924         __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
925         __bb_init_trace_func): Kill.
926         * toplev.c (profile_block_flag): Kill.
927         (indepdendent_decode_option, process_options): Kill -a related code.
928         * alpha.c (direct_call_operand): Likewise.
929         * arm.c (arm_expand_prologue, thumb_expand_prologue,
930         thumb_expand_epilogue): Likewise.
931         * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
932         * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
933         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
934         MACHINE_STATE_RESTORE): Kill.
935         * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
936         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
937         MACHINE_STATE_RESTORE): Kill.
938         * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
939         * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
940         ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
941         code.
942         (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
943         * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
944         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
945         MACHINE_STATE_RESTORE): Kill.
946         * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
947         * i960.c (i960_output_function_prologue): Kill BB profiler related
948         code.
949         * ia64.c (ia64_compute_frame_size): Likewise.
950         * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
951         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
952         MACHINE_STATE_RESTORE): Kill.
953         * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
954         * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
955         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
956         MACHINE_STATE_RESTORE): Kill.
957         * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
958         * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
959         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
960         MACHINE_STATE_RESTORE): Kill.
961         * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
962         Kill BB profiler related code.
963         * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
964         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
965         MACHINE_STATE_RESTORE): Kill.
966         * mips.c (mips_expand_prologue): Kill BB profiler related code.
967         * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
968         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
969         MACHINE_STATE_RESTORE): Kill.
970         * rs6000.c (rs6000_override_options): Kill BB profiler related code.
971         * s960.c (s390_function_prologue): Kill BB profiler related code.
972         * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
973         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
974         MACHINE_STATE_RESTORE): Kill.
975         * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
976         * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
977         * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
978         * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
979         * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
980         sparc_nonflat_function_epilogue): Kill BB profiler related code.
981         (sparc_function_block_profiler, sparc_block_profiler,
982         sparc_function_block_profiler_exit): Kill.
983         * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
984         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
985         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
986         MACHINE_STATE_RESTORE): Kill.
987         * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
988         * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
989         * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
990         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
991         MACHINE_STATE_RESTORE): Kill.
992         * doc/invoke.texi: Kill documentation of -a and -ax.
993         * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
994         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
995         MACHINE_STATE_RESTORE): Kill.
996
997 2001-10-26  Steve Christiansen  <smc@us.ibm.com>
998
999         * doc/rtl.texi: Use a table to display RTL format characters.
1000
1001 2001-12-06  Bo Thorsen  <bo@suse.co.uk>
1002
1003         * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
1004
1005 Wed Dec  5 19:18:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1006
1007         * function.c (keep_stack_depressed): Check global_live_at_start
1008         of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
1009
1010 2001-12-05  David O'Brien  <obrien@FreeBSD.org>
1011
1012         * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
1013         as set by the generic FreeBSD configure framework.
1014
1015 2001-12-04  Jason Merrill  <jason@redhat.com>
1016
1017         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
1018         start_inlining, end_inlining.
1019         * tree-inline.c (expand_call_inline): Call them.
1020         * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
1021         (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
1022         (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
1023         * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
1024         (lhd_tree_inlining_end_inlining): New fn.
1025
1026 2001-12-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1027
1028         * c-common.c (shadow_warning): New function, moved from cp/decl.c.
1029         * c-common.h (shadow_warning): New.
1030         * c-decl.c: Include c-common.h.
1031         (warn_if_shadowing): New, broken out of pushdecl.
1032         (pushdecl): Use warn_if_shadowing.
1033         (store_parm_decls): Prevent duplicate -Wshadow warnings.
1034
1035 Wed Dec  5 17:59:19 2001  Douglas B. Rupp  <rupp@gnat.com>
1036
1037         * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
1038         (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
1039         (LIB_SPEC): Remove.
1040
1041 Wed Dec  5 16:03:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1042
1043         * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
1044         (QUAL_UNION_TYPE): New type.
1045
1046         * varasm.c (output_constant, case ERROR_MARK): New case.
1047
1048         * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
1049         (c_com): Delete its reference.
1050         * builtins.c: Delete memory checking code.
1051         * calls.c, expr.c, function.c, stmt.c: Likewise.
1052         * builtins.c (expand_builtin_arg_info): Remove reference to
1053         EXPAND_MEMORY_USE_* modifiers.
1054         * explow.c (expr_size): Likewise.
1055         * expr.c (expand_expr, expand_increment): Likewise.
1056         * expr.h (ARGS_SIZE_RTX): Likewise.
1057         * function.c (assign_parms, expand_pending_sizeso): Likewise.
1058         * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
1059         * expr.c (in_check_memory_usage): Delete.
1060         (get_push_address, get_memory_usage_from_modifier): Delete.
1061         (expand_assigment): Use EXPAND_WRITE on destination.
1062         (expand_expr): Delete ro_modifier.
1063         * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
1064         add EXPAND_WRITE.
1065         (memory_use_mode): Delete.
1066         * flags.h (flag_check_memory_usage): Deleted.
1067         (flag_prefix_function_name): Likewise.
1068         * function.c (expand_function_start): Don't set
1069         current_function_check_memory_usage.
1070         * function.h (check_memory_usage): Delete.
1071         * libfuncs.h, optabs.c: Delete chkr_* stuff.
1072         * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
1073         EXPAND_WRITE.
1074         * toplev.c (flag_check_memory_usage): Deleted.
1075         (flag_prefix_function_name): Likewise.
1076         (f_options, process_options): Delete references to above.
1077         * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
1078         * varasm.c (CHKR_PREFIX): Deleted.
1079         (make_decl_rtl): Remove flag_prefix_function_name handling.
1080         (assemble_name): Likewise.
1081         * doc/extend.texi: Remove no_check_memory_usage attribute.
1082         * doc/invoke.texi: Remove -fcheck-memory-usage
1083         and -fprefix-function-name.
1084
1085 2001-12-05  Andreas Schwab  <schwab@suse.de>
1086
1087         * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
1088         from autoconf.
1089
1090 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1091
1092         * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
1093
1094 2001-12-05  William Cohen  <wcohen@redhat.com>
1095
1096         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
1097         instruction.
1098
1099 2001-12-05  Daniel Berlin  <dan@cgsoftware.com>
1100
1101         * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
1102         builtins.
1103
1104         * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
1105         better reflect reality (change from Apple's tree).
1106         Add more of altivec instructions.
1107         Add ftruncv4sf2 pattern.
1108         Remove more unspecs (vector merge instructions, etc).
1109
1110         * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
1111         builtins.
1112         (bdesc_1arg): New, for 1 argument altivec builtins.
1113         (altivec_expand_builtin): Handle unary and ternary ops.
1114         (altivec_init_builtins): Ditto.
1115
1116 Wed Dec  5 09:33:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1117
1118         * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
1119         * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
1120
1121 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
1122
1123         * gcse.c (store_killed_in_insn): Consider pure calls
1124         as potential store killers in addition to normal calls.
1125
1126 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
1127
1128         * expr.c (expand_expr): When checking promoted value, use
1129         DECL_MODE (exp) and not mode.
1130
1131 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
1132
1133         * c-typeck.c (output_init_element): Call digest_init
1134         just once, not in each if branch and check its return value for
1135         error_mark_node.
1136
1137 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
1138
1139         * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
1140         type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
1141         (finish_struct): Break the loop if n_incomplete went to 0.
1142         For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
1143
1144 Wed Dec  5 07:41:13 2001  Douglas B. Rupp  <rupp@gnat.com>
1145
1146         * config/alpha/alpha.c (alpha_va_start): Update VMS case.
1147
1148 Wed Dec  5 07:27:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1149                           Douglas B. Rupp  <rupp@gnat.com>
1150
1151         * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
1152         * doc/invoke.texi: Add -gvms.
1153         * doc/passes.texi: Add mention of vmsdbgout.c.
1154         * doc/tm.texi: Document VMS debugging output.
1155
1156 Wed Dec  5 06:26:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1157
1158         * function.h (tree, rtx): Remove no-longer-needed definitions.
1159
1160         * function.c (keep_stack_depressed): Refine check for register
1161         clobbered over call.
1162
1163         * expr.c (store_expr): When copying string constant into array,
1164         use functions that update memrefs instead of computations on
1165         addresses to better track MEMs.  Also properly handle 32/64 pointers.
1166         (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
1167         (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
1168
1169         * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
1170         underneath COMPONENT_REFs.
1171         (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
1172
1173 2001-12-05  Neil Booth  <neil@daikokuya.demon.co.uk>
1174
1175         * toplev.c (display_target_options): Don't print twice.
1176
1177 Wed Dec  5 00:42:16 EST 2001  John Wehle  (john@feith.com)
1178
1179         * emit-rtl.c (set_unique_reg_note): Don't set
1180         a REG_EQUAL or REG_EQUIV note if multiple sets
1181         are present.
1182
1183 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1184
1185         * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
1186         CASE_DROPS_THROUGH.
1187
1188 2001-12-04  Andrew MacLeod  <amacleod@redhat.com>
1189
1190         * rtl.h (initialize_uninitialized_subregs): New prototype.
1191         * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
1192         when optimization is on.
1193         * flow.c (find_regno_partial): Find subregs within an expression.
1194         (initialize_uninitialized_subregs): Initialize live on entry registers
1195         which are used in subreg expressions.
1196
1197 2001-12-04  Phil Edwards  <pme@gcc.gnu.org>
1198
1199         * Makefile.in:  Add INSTALL_SCRIPT using INSTALL definition.
1200
1201 2001-12-04  DJ Delorie  <dj@redhat.com>
1202
1203         * fixinc/fixincl.c (initialize): Avoid problemsome macro
1204         parameter names (PR 3388).
1205
1206 2001-12-05  Alan Modra  <amodra@bigpond.net.au>
1207
1208         * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
1209         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
1210
1211 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1212
1213         * c-common.def (COMPOUND_LITERAL_EXPR): New.
1214         * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
1215         (c_staticp): New function.
1216         * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
1217         (c_staticp): Declare.
1218         * c-typeck.c (default_function_array_conversion, build_unary_op):
1219         Don't handle CONSTRUCTOR specially.
1220         (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
1221         * c-decl.c (build_compound_literal): New function.
1222         * c-tree.h (build_compound_literal): Declare.
1223         * c-parse.in (primary): Use build_compound_literal.
1224         * c-lang.c (LANG_HOOKS_STATICP): Define.
1225         * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
1226         * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
1227         * doc/extend.texi: Update documentation of compound literals.
1228         Fixes PR c/4787.
1229
1230 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1231
1232         * langhooks.h (struct lang_hooks): Add staticp.
1233         * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
1234         (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
1235         * langhooks.c (lhd_staticp): New function.
1236         * tree.c (staticp): Call lang_hooks.staticp for language-specific
1237         tree codes.
1238
1239 2001-12-04  Neil Booth  <neil@daikokuya.demon.co.uk>
1240
1241         * cppspec.c (lang_specific_driver): Set is_cpp_driver.
1242         * gcc.c (process_command): Ensure the cpp driver sees
1243         --help and --target-help, and that the help is printed
1244         exactly once.
1245
1246 2001-12-04  David Edelsohn  <edelsohn@gnu.org>
1247
1248         * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
1249
1250 2001-12-04  Hans-Peter Nilsson  <hp@axis.com>
1251
1252         * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
1253         flag_strict_aliasing.  Use separate assignment statements.
1254
1255 2001-12-04  Zack Weinberg  <zack@codesourcery.com>
1256
1257         * build-make, cross-make: Delete file.
1258         * configure.in: Set and substitute CROSS, ALL,
1259         SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
1260         HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
1261         whether build == host and host == target.  Do not
1262         AC_SUBST_FILE build_overrides or cross_overrides.  Do not
1263         AC_SUBST cross_defines or extra_c_flags.
1264         * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
1265         (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
1266         HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
1267         partially or completely with autoconf-substituted @variable@
1268         notation.
1269         (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
1270         @build_overrides@, @extra_c_flags@, all.build, install-build,
1271         install-cross-rest, install-float-h-cross): Deleted.
1272         (install-normal): Rename to install.  Delete old "install"
1273         indirection rule.
1274
1275 2001-12-04  Andrew MacLeod  <amacleod@redhat.com>
1276
1277         * stmt.c (expand_return): Clear destination instead of clobbering it
1278         when setting a return value via bitsets.
1279
1280 2001-12-04  Alexandre Oliva  <aoliva@redhat.com>
1281
1282         * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
1283         it has DECL_SAVED_TREE.
1284
1285         * c-decl.c (duplicate_decls): Revert rth's patch.  If newdecl
1286         is in a different binding level, get its abstract origin to be
1287         olddecl.
1288         * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
1289         check earlier.
1290         * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
1291         DECL_INITIAL is NULL.
1292
1293 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
1294
1295         * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
1296         Return correct value if one of the subexpressions was optimized to
1297         0 resp. 1.  Optimize (x | A) | x and (x & A) | x.
1298         (and_reg_cond): Similarly.
1299
1300 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
1301
1302         * function.c (assign_parms): Set last_named only for last named
1303         argument.
1304
1305 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1306
1307         * doc/install.texi: Use the GFDL.  Include years from old install
1308         manual in copyright notice.  Include copyright and GFDL notice on
1309         HTML index page.  Include usual footer on testing.html.
1310         * doc/install.texi2html: Build gfdl.html.  Use -I
1311         $SOURCEDIR/include.
1312         * doc/include/fdl.texi: Adapt for use in the install manual.
1313
1314 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1315
1316         * doc/install.texi: Document that installed native compiler for
1317         building cross compilers should be GCC 2.95 or later.
1318
1319 2001-12-03  Eric Christopher  <echristo@redhat.com>
1320
1321         * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
1322         * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
1323         patterns.
1324
1325 2001-12-03  Janis Johnson  <janis187@us.ibm.com>
1326
1327         * rtl.def (PREFETCH): New rtx code.
1328         * doc/rtl.texi (PREFETCH): Add documentation.
1329         * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
1330         * rtlanal.c (reg_referenced_p): Ditto.
1331         * sched-vis.c (print_exp):  Ditto.
1332         * ssa-dce.c (find_inherently_necessary):  Ditto.
1333
1334         * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
1335           (PREFETCH_BLOCK): Define.
1336         * config/ia64/ia64.md (itanium_class): Add lfetch.
1337           (prefetch, prefetch_internal): New.
1338
1339         * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
1340         * builtins.def (BUILT_IN_PREFETCH): New.
1341         * builtins.c (expand_builtin_expect): New.
1342           (expand_builtin): Call it.
1343         * doc/extend.texi: Document __builtin_prefetch.
1344
1345         * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
1346           conflicts with new generic prefetch functionality.
1347         * config/i386/i386.c (ix86_expand_builtin): Use new name for
1348           prefetch_sse.
1349
1350 2001-12-02  Ziemowit Laski  <zlaski@apple.com>
1351
1352         * objc/Make-lang.in: Update copyright.
1353         (OBJC_OBJS): Add objc-lang.o.
1354         (objc-lang.o): New rule.
1355         * objc/config-lang.in: Fix file description and update
1356         copyright.
1357         * objc/objc-act.c: Do not include langhooks.h and
1358         langhooks-def.h
1359         (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
1360         (objc_post_options): Move to objc-lang.c.
1361         (objc_init_options): Move to objc-lang.c.
1362         (objc_init): Make non-static.
1363         (objc_decode_option): Make non-static.
1364         (HASHFUNCTION): Remove macro.
1365         (hash_func): New function.
1366         (hash_enter): Replace HASHFUNCTION with hash_func.
1367         (hash_lookup): Replace HASHFUNCTION with hash_func.
1368         (maybe_objc_tree_codes): New function.
1369         (init_objc): Move ObjC tree code initialization to
1370         maybe_objc_tree_codes().
1371         * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
1372         (objc_init): New public prototype.
1373         (objc_decode_option): New public prototype.
1374         (maybe_add_objc_tree_codes): New public prototype.
1375         * objc/objc-lang.c: New file.
1376         (lang_hooks): Moved from objc-act.c.
1377         (objc_post_options): Moved from objc-act.c.
1378         (objc_init_options): Moved from objc-act.c.
1379
1380 2001-12-03  Geoff Keating  <geoffk@redhat.com>
1381
1382         * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
1383         of array elements.
1384
1385 2001-12-03  Neil Booth  <neil@daikokuya.demon.co.uk>
1386
1387         PR c/4988
1388         * gcc.c (process_command): Don't add a preprocessor option for
1389         --help and --target-help; cc1 is enough.
1390
1391 2001-12-03  Neil Booth  <neil@daikokuya.demon.co.uk>
1392
1393         * c-decl.c (grokdeclarator): Use ISO word.
1394         * cppinit.c: Remove leading capital from diagnostic messages, as
1395         per GNU coding standards.
1396         * emit-rtl.c: Similarly.
1397         * final.c: Similarly.
1398         * gcc.c: Similarly.
1399         * tradcpp.c: Similarly.
1400         * config/arm/arm.c: Similarly.
1401         * config/arm/arm.h: Similarly.
1402         * config/avr/avr.c: Similarly.
1403         * config/avr/avr.h: Similarly.
1404         * config/c4x/c4x.c: Similarly.
1405         * config/cris/cris.c: Similarly.
1406         * config/cris/cris.h: Similarly.
1407         * config/d30v/d30v.c: Similarly.
1408         * config/dsp16xx/dsp16xx.c: Similarly.
1409         * config/dsp16xx/dsp16xx.h: Similarly.
1410         * config/h8300/h8300.c: Similarly.
1411         * config/i386/i386.c: Similarly.
1412         * config/i386/xm-djgpp.h: Similarly.
1413         * config/i960/i960.h: Similarly.
1414         * config/m32r/m32r.c: Similarly.
1415         * config/m68hc11/m68hc11.c: Similarly.
1416         * config/m88k/m88k.c: Similarly.
1417         * config/m88k/m88k.h: Similarly.
1418         * config/mcore/mcore.c: Similarly.
1419         * config/mcore/mcore.h: Similarly.
1420         * config/mips/mips.c: Similarly.
1421         * config/mmix/mmix.c: Similarly.
1422         * config/pa/pa.c: Similarly.
1423         * config/rs6000/rs6000.c: Similarly.
1424         * config/rs6000/sysv4.h: Similarly.
1425         * config/s390/s390.c: Similarly.
1426         * config/sparc/sparc.c: Similarly.
1427         * config/v850/v850-c.c: Similarly.
1428         * config/v850/v850.c: Similarly.
1429
1430 2001-12-03  Zack Weinberg  <zack@codesourcery.com>
1431
1432         * rs6000.h (RETURN_IN_MEMORY): Cast result of
1433         int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
1434
1435 Mon Dec  3 09:18:34 2001  Jeffrey A Law  (law@cygnus.com)
1436
1437         * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
1438         bit twiddling constant.
1439
1440 Mon Dec  3 16:16:37 CET 2001  Jan Hubicka  <jh@suse.cz>
1441
1442         * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
1443         call purge_dead_edges after removing.
1444         (delete_null_pointer_checks): Do not handle delete_list.
1445
1446         * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
1447         (count_basic_blocks): ... here.
1448         (find_basic_blocks, find_bb_boundaries): Cleanup.
1449
1450         * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
1451         overflow for types greater then 2 * HOST_WIDE_INT.
1452
1453         * reload.c (find_reloads): Update the duplicates after swapingg.
1454
1455 Mon Dec  3 13:52:19 CET 2001  Jan Hubicka  <jh@suse.cz>
1456
1457         * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
1458
1459 2001-12-02  Zack Weinberg  <zack@codesourcery.com>
1460
1461         * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
1462         MASK_LONG_DOUBLE_128): Delete.
1463         (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
1464         TARGET_AIX_STRUCT_RET): New flags.
1465         (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
1466         -mlong-double-64.  Add entries for -m(no-)aix-struct-return
1467         and -m(no-)svr4-struct-return.
1468         (TARGET_OPTIONS): Add entry for -mlong-double-.
1469         (rs6000_long_double_size_string, rs6000_long_double_type_size,
1470         rs6000_altivec_abi): Declare.
1471         (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
1472         LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
1473         (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
1474         structures of size <= 8 bytes in registers.
1475         (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
1476
1477         * config/rs6000/rs6000.c (rs6000_long_double_size_string,
1478         rs6000_long_double_type_size, rs6000_altivec_abi): New
1479         globals.
1480         (rs6000_override_options): Set rs6000_long_double_type_size
1481         from rs6000_long_double_size_string, if nonzero.  Set the
1482         MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
1483         not already set.
1484         (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
1485         target_flags bit.
1486         (rs6000_init_builtins): This hook now takes no arguments.
1487
1488         * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
1489         DRAFT_V4_STRUCT_RET to 1.
1490
1491 2001-12-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1492
1493         * c-typeck.c (really_start_incremental_init, push_init_level):
1494         Avoid constructor_max_index being other than an INTEGER_CST.
1495
1496 2001-12-02  David Edelsohn  <edelsohn@gnu.org>
1497
1498         * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
1499         unsigned.
1500         (ASM_GENERATE_INTERNAL_LABEL): Same.
1501         (UNIQUE_SECTION): Fix typo.
1502
1503 2001-12-02  Richard Henderson  <rth@redhat.com>
1504
1505         * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
1506
1507 2001-12-02  Richard Henderson  <rth@redhat.com>
1508
1509         * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
1510         (MEM_EXPR): Rename from MEM_DECL; adjust all users.
1511         * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
1512         * expr.h, final.c, reload1.c: Adjust users.
1513
1514         * alias.c (nonoverlapping_component_refs_p): New.
1515         (decl_for_component_ref, adjust_offset_for_component_ref): New.
1516         (nonoverlapping_memrefs_p): Use them.
1517         * emit-rtl.c (component_ref_for_mem_expr): New.
1518         (set_mem_attributes): Use it.
1519         (set_mem_offset): New.
1520         * expr.c (expand_assignment): Call set_mem_attributes for
1521         inner references; adjust the memory offset as needed.
1522         * print-rtl.c (print_mem_expr): New.
1523         (print_rtx): Use it.
1524
1525 Sun Dec  2 09:22:25 2001  Douglas B. Rupp  <rupp@gnat.com>
1526
1527         * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
1528
1529         * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
1530         (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
1531         (ASM_SPEC): Don't redefine.
1532         (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
1533         * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
1534         * config/alpha/vms-dwarf2.asm: New file.
1535
1536         * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
1537         * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
1538         * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
1539         (vmsdbgout_after_prologue): New declaration.
1540         * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
1541         * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
1542         * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
1543         (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
1544         (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
1545         (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
1546         * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
1547         Test VMS_DEBUGGING_INFO.
1548         (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
1549         (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
1550         * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
1551         * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
1552         VMS_AND_DWARF2_DEBUG.
1553         (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
1554         (decode_g_option): Add "vms" to debug_type_names.
1555         (process_options): Set vmsdbg_debug_hooks if -gvms.
1556         (lang_independent_init): Emit line number for VMS unless -g0.
1557         * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
1558         * vmsdbg.h, vmsdbgout.c: New files.
1559
1560 Sun Dec  2 09:03:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1561
1562         * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
1563
1564 2001-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1565
1566         * cfgrtl.c (purge_all_dead_edges): Initialize variable.
1567         * dwarf2out.c (is_cxx): Prototype.
1568         * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
1569         warning.
1570         * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
1571
1572 Sun Dec  2 07:12:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1573
1574         * libgcc2.c (__bb_exit_func): Fix line wrap problems.
1575
1576 2001-12-02  Geoff Keating  <geoffk@redhat.com>
1577
1578         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
1579         * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
1580         rather than simplify_subreg.  Check for volatile-ness.  Check that
1581         we're not splitting one slow operation into two slow operations.
1582
1583 2001-12-02  David Edelsohn  <edelsohn@gnu.org>
1584
1585         * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
1586         before shifting.
1587
1588 2001-12-02  Neil Booth  <neil@daikokuya.demon.co.uk>
1589
1590         * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
1591         capital from diagnostics.
1592         * c-lex.c (cb_file_change): Similarly.
1593         * c-parse.in : Similarly.
1594         * cfgrtl.c (verify_flow_info): Similarly.
1595         * collect2.c: Similarly.
1596         * cppfiles.c (find_include_file): Similarly.
1597         * cppinit.c (cpp_handle_option): Similarly.
1598         * cpplex.c (cpp_spell_token): Similarly.
1599         * cppmain.c (do_preprocessing): Similarly.
1600         * gcc.c (translate_options, process_command, do_spec1,
1601         main, pfatal_execute): Similarly.
1602         * genattr.c (main): Similarly.
1603         * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
1604         write_test_expr, main): Similarly.
1605         * gencodes.c (main): Similarly.
1606         * genconfig.c (main): Similarly.
1607         * genconstants.c (main): Similarly.
1608         * genemit.c (main): Similarly.
1609         * genextract.c (main): Similarly.
1610         * genflags.c (main): Similarly.
1611         * genopinit.c (main): Similarly.
1612         * genoutput.c (process_template, main): Similarly.
1613         * genpeep.c (main): Similarly.
1614         * genrecog.c (main): Similarly.
1615         * gensupport.c (is_predicable, identify_predicable_attribute,
1616         alter_predicate_for_insn, init_md_reader_args, main): Similarly.
1617         * ggc-page.c (alloc_anon): Similarly.
1618         * mips-tfile.c (add_string, add_procedure, add_file, read_line,
1619         parse_begin, parse_bend, parse_def, parse_end, parse_file,
1620         parse_stabs_common, parse_stabs, write_varray, write_object,
1621         read_seek, copy_object, main, error): Similarly.
1622         * profile.c (compute_branch_probabilities): Similarly.
1623         * reg-stack.c (check_asm_stack_operands): Similarly.
1624         * reload.c (find_reloads): Similarly.
1625         * reload1.c (spill_failure, failed_reload): Similarly.
1626         * rtl-error.c (_fatal_insn_not_found): Similarly.
1627         * toplev.c (read_integral_parameter, crash_signal,
1628         decode_f_option, set_target_switch, parse_options_and_default_flags)
1629         : Similarly.
1630         * tradcif.y (parse_number, yylex): Similarly.
1631         * tradcpp.c (main, fancy_abort): Similarly.
1632         * tree.c (tree_check_failed): Similarly.
1633         * varray.c (varray_check_failed): Similarly.
1634         * xcoffout.c (xcoff_output_standard_types): Similarly.
1635 objc:
1636         * objc-act.c (get_object_ref, lookup_and_install_protocols,
1637         build_objc_string_object, objc_declare_alias, build_ivar_chain,
1638         finish_message_expr, build_protocol_expr, is_public,
1639         start_class): Similarly.
1640
1641 2001-12-01  Neil Booth  <neil@daikokuya.demon.co.uk>
1642
1643         * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
1644         trailing period from diagnostics.
1645         * c-lex.c (cb_file_change): Similarly.
1646         * cppmacro.c (check_trad_stringification): Similarly.
1647         * gcc.c (do_spec_1): Similarly.
1648         * genattr.c (main): Similarly.
1649         * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
1650         * gencodes.c (main): Similarly.
1651         * genconfig.c (main): Similarly.
1652         * genconstants.c (main): Similarly.
1653         * genemit.c (main): Similarly.
1654         * genextract.c (main): Similarly.
1655         * genopinit.c (main): Similarly.
1656         * genoutput.c (main): Similarly.
1657         * genpeep.c (main): Similarly.
1658         * genrecog.c (main): Similarly.
1659         * mips-tfile.c (add_file, error): Similarly.
1660         * profile.c (init_branch_prob): Similarly.
1661         * reload1.c (spill_failure): Similarly.
1662         * stmt.c (parse_output_constraint): Similarly.
1663         * varasm.c (assemble_variable): Similarly.
1664
1665 2001-12-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1666
1667         * m68k.c (init_FPA_table): Provide static prototype.
1668         * mips/abi64.h (mips_function_value): Move prototype to ...
1669         * mips-protos.h (mips_function_value): ... here.
1670         * mips.c: Include halfpic.h.
1671         * output.h (rdata_section): Prototype.
1672
1673         * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1674         * m88k.c (m88k_svr3_asm_out_constructor,
1675         m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
1676         !OBJECT_FORMAT_ELF.
1677         * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1678         * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1679         * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1680
1681 2001-12-01  Geoff Keating  <geoffk@redhat.com>
1682
1683         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
1684         LO_SUM addresses less than word size are not legitimate,
1685         because they lead to invalid SUBREGs.
1686         * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
1687
1688 2001-12-01  Olivier Hainque <hainque@act-europe.fr>
1689
1690         * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
1691         while scanning for multiple back edges.
1692
1693 2001-12-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1694
1695         * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
1696         * config/rs6000/tramp.asm: Use it.
1697
1698 2001-12-01  Zack Weinberg  <zack@codesourcery.com>
1699
1700         * gencheck.c, gengenrtl.c: Don't define xmalloc.
1701         * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
1702         xmalloc.
1703
1704 2001-11-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1705
1706         * pa.c (output_ascii): Cast `p' to unsigned char.
1707
1708 2001-11-30  Daniel Berlin  <dan@cgsoftware.com>
1709
1710         * config/rs6000/rs6000.c (altivec_expand_builtin): add
1711         ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
1712         *_16qi,_8hi, rename existing V4SI ones to *_4si.
1713         (altivec_init_builtins): Ditto.
1714         (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
1715
1716         * config/rs6000/rs6000.md: Add attribute types vecsimple,
1717         veccomplex, vecfloat, and vecperm, for altivec instructions.
1718         Modify altivec patterns to use appropriate attribute type.
1719         Modify altivec patterns to match RTL operations where appropriate
1720         (IE no unspec where we can avoid it).
1721         Add vector unit scheduling for ppc7450.
1722         Rename patterns to what they are where appropriate
1723         (altivec_vaddfp->addv4sf3, etc)
1724
1725         * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
1726         Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
1727
1728         * config/rs6000/sysv4.h: Add -mcpu=7450.
1729
1730         * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
1731         _builtin_altivec_ld_interal function.
1732
1733 2001-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1734
1735         * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
1736         strchr, strrchr, isascii, gettimeofday.
1737         * config.in, configure: Regenerate.
1738
1739 2001-11-30  Zoltan Hidvegi  <hzoli@hzoli.2y.net>
1740
1741         * unroll.c (unroll_loop): Correct special exit cases.
1742
1743 2001-11-30  Stephane Carrez  <Stephane.Carrez@sun.com>
1744
1745         * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
1746         accept DFmode and DImode only.
1747
1748 2001-11-30  Aldy Hernandez  <aldyh@redhat.com>
1749
1750         * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
1751         (STACK_DYNAMIC_OFFSET): Same.
1752
1753 2001-11-30  Richard Henderson  <rth@redhat.com>
1754
1755         * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
1756
1757 2001-11-30  Aldy Hernandez  <aldyh@redhat.com>
1758
1759         * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
1760         (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
1761         the values in call_used_registers.
1762
1763 Fri Nov 30 12:48:26 2001  Jeffrey A Law  (law@cygnus.com)
1764
1765         * gthr-dce.h: If _DCE_THREADS is not defined, then just include
1766         gthr-single.
1767
1768 2001-11-30  Jason Merrill  <jason@redhat.com>
1769
1770         * dwarf2out.c (is_cxx): New fn.
1771         (add_data_member_location_attribute): Check it.
1772         * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
1773
1774 Fri Nov 30 08:26:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1775
1776         * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
1777
1778 2001-11-30  Daniel Berlin  <dan@cgsoftware.com>
1779
1780         * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
1781         MODE_VECTOR_FLOAT as allowed.
1782
1783 2001-11-29  Zack Weinberg  <zack@codesourcery.com>
1784
1785         Purge cruft now we have build libiberty.
1786
1787         * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
1788         HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
1789         USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
1790         USE_HOST_STRSTR): Delete variables.
1791         (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
1792         hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
1793         $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
1794         $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
1795         (LIBIBERTY, BUILD_LIBIBERTY): New variables.
1796         (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
1797         (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
1798         (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
1799         (HOST_LIBS): Ditto.
1800         (HOST_RTL): Remove hashtab.o safe-ctype.o.
1801         (OBJS): Remove splay-tree.o.
1802         (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
1803         (distclean): No need to delete splay-tree.c obstack.c
1804         hashtab.c safe-ctype.c.
1805         (mostlyclean): Delete build copies of print-rtl.c bitmap.c
1806         errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
1807         * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
1808         Delete.
1809         * configure.in: Don't use them.
1810         Set and substitute @FORBUILD@.
1811         * config.in, configure: Regenerate.
1812         * doprint.c: Move to libiberty/_doprnt.c.
1813         * doc/configterms.texi: Document that libiberty is now built
1814         up to three times.  Fix typo.
1815
1816 2001-11-30  Jason Merrill  <jason@redhat.com>
1817
1818         * dwarf2out.c (add_data_member_location_attribute): Do the
1819         right thing for virtual bases.
1820         * dbxout.c (dbxout_type): For a virtual base, print the offset
1821         within the vtable.
1822
1823 2001-11-29  Zoltan Hidvegi  <hzoli@hzoli.2y.net>
1824
1825         * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
1826
1827 2001-11-29  Aldy Hernandez  <aldyh@redhat.com>
1828
1829         * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
1830         go in memory.
1831         Remove unused attribute for named.
1832
1833 2001-11-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1834
1835         * genattrtab.c (attr_rtx_1): New function containing the
1836         majority of `attr_rtx'.  Move variable declarations into the
1837         scope where they are used.  Eliminate unnecessary gotos.
1838         (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
1839         VA_FIXEDARG, and VA_CLOSE.
1840
1841 2001-11-30  Hans-Peter Nilsson  <hp@axis.com>
1842
1843         * config/cris/cris.c (cris_notice_update_cc): Check first
1844         destination also against overlap with cc_status.value2 and second
1845         destination against overlap with cc_status.value1.  For overlaps,
1846         clear overlapped value, don't just CC_STATUS_INIT.
1847
1848         * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
1849         Fix typo in comment.
1850         (LINK_SPEC): Remove whitespace at end of line.
1851
1852 2001-11-29  Jakub Jelinek  <jakub@redhat.com>
1853
1854         * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
1855
1856 2001-11-29  Jakub Jelinek  <jakub@redhat.com>
1857
1858         * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
1859         macros for the supported debugging types.
1860
1861 2001-11-29  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1862
1863         PR other/4932
1864         * config/i386/i386.c (print_operand):  Verify that the
1865           argument to %c is a constant and not a conditional which
1866           needs to be reversed.
1867
1868 Thu Nov 29 11:12:59 2001  Geoffrey Keating (geoffk@redhat.com)
1869
1870         * emit-rtl.c (gen_lowpart_common): Fix conversion of
1871         REAL_VALUE_TYPEs to an array of target integers.  Fix extraction
1872         of low part of those arrays for 32bit and 64bit hosts.
1873
1874 2001-11-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1875
1876         * Makefile.in (insn-output.o): Depend on insn-codes.h.
1877
1878 2001-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
1879
1880         * configure.in (target_list): Add generated-manpages.
1881         * configure: Regenerate.
1882         * Makefile.in (generated-manpages): Depend on
1883         lang.generated-manpages.
1884         * objc/Make-lang.in (objc.generated-manpages): New dummy target.
1885
1886 2001-11-29  Nick Clifton  <nickc@cambridge.redhat.com>
1887
1888         * config/arm/crti.asm (_init): Add .thumb_func if compiled
1889         with -mthumb.
1890         (_fini): Add .thumb_func if compiled with -mthumb.
1891
1892 2001-11-28  Eric Christopher  <echristo@redhat.com>
1893
1894         * config/mips/mips.c (override_options): Fix thinko in mips_tune
1895         for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
1896
1897 Thu Nov 29 00:24:15 EST 2001  John Wehle  (john@feith.com)
1898
1899         * alpha.md (tablejump): Use pic_offset_table_rtx
1900         instead of gen_rtx_REG.
1901
1902 Wed Nov 28 15:36:13 2001  Jeffrey A Law  (law@cygnus.com)
1903
1904         * expr.c (store_expr): When copying a string constant into an
1905         array, reset the known alignment of the MEM for the section to
1906         be cleared to BITS_PER_UNIT.
1907
1908 2001-11-28  Hans-Peter Nilsson  <hp@axis.com>
1909
1910         * config/cris/cris.c: Remove whitespace at end of line.
1911
1912 Wed Nov 28 14:51:23 2001  Douglas B. Rupp  <rupp@gnat.com>
1913
1914         * config.gcc (i[34567]86-*-interix3*): New case.
1915         * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
1916         New files.
1917
1918 2001-11-28  Richard Henderson  <rth@redhat.com>
1919
1920         * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
1921         symbolic_operand as the predicate.
1922
1923 2001-11-28  Richard Henderson  <rth@redhat.com>
1924
1925         * doloop.c (doloop_modify_runtime): Properly select induction
1926         variable; skip late entry test if biv initializer created by loop.
1927
1928 Wed Nov 28 08:21:47 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1929
1930         * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
1931         EXPR_WITH_FILE_LOCATION, so change checks and documentation.
1932
1933         * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
1934
1935         * tree.h: Add missing checks on some macros; make formatting more
1936         consistent.
1937
1938         * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
1939         level; only add to pending_sizes if find it.
1940
1941         * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
1942
1943         * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
1944         Add casts to remove warnings.
1945
1946         * Makefile.in (OBJS): Sort alphabetically.
1947
1948         * print-rtl.c (print_rtx): If RTX code is bad, just say so.
1949         Also minor cleanups.
1950
1951 Wed Nov 28 06:52:27 2001  Arnaud Charlet  <charlet@ACT-Europe.FR>
1952
1953         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
1954         (FLAGS_TO_PASS): Add STAGE_PREFIX.
1955         (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
1956         to STAGE_PREFIX.
1957
1958 Wed Nov 28 10:42:19 CET 2001  Jan Hubicka  <jh@suse.cz>
1959
1960         * cse.c (true_dependence_in_rtx): New function.
1961         (invalidate): Use it.
1962
1963         * c-common.h (GOTO_FAKE_P): New macro.
1964         * tree-inline.c (GOTO_FAKE_P): Set.
1965         * c-tree.texi (GOTO_FAKE_P): Document.
1966
1967         * varasm.c (assemble_variable): Set reloc to 3 for error_mark
1968         containing pointers.
1969         (output_addressed_constants): Check for local/external relocations.
1970         * elfos.h (SELECT_SECTION): Classify data section.
1971         * tm.texi (SELECT_SECTION): Update documentation.
1972
1973         * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
1974         (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
1975
1976 2001-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1977
1978         * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1979         UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
1980         OBJECT_FORMAT_ROSE.
1981
1982 2001-11-28  Hans-Peter Nilsson  <hp@axis.com>
1983
1984         * config/cris/cris.c: Tweak spacing for prototypes.
1985         (LOSE_AND_RETURN): New macro.
1986         (cris_operand_lossage): New function.
1987         (cris_print_index, cris_print_base): Use cris_operand_lossage
1988         rather than fatal_insn.
1989         (cris_print_operand, cris_print_operand_address): Use
1990         LOSE_AND_RETURN rather than fatal_insn and internal_error.
1991         (cris_output_addr_const): Use LOSE_AND_RETURN and
1992         output_operand_lossage rather than fatal_insn and internal_error
1993         for valid but unexpected rtx expressions.
1994
1995         * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
1996         for a SUBREG in src or dest, abort instead.
1997
1998 2001-11-28  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1999
2000         * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
2001         doc.
2002
2003 2001-11-27  Jakub Jelinek  <jakub@redhat.com>
2004
2005         * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
2006         preprocessor define.  If only DBX_DEBUGGING_INFO or only
2007         DWARF2_DEBUGGING_INFO is supported for the target, provide
2008         appropriate definitions.
2009
2010 2001-11-27  Neil Booth  <neil@daikokuya.demon.co.uk>
2011
2012         * Makefile.in: Update, and add c-objc-common.o dependencies.
2013         * c-lang.c: Remove unnecessary includes.
2014         (c_init): Move bulk of code to c_objc_common_init, and call it.
2015         (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
2016         inline_forbidden_p, c_cannot_inline_tree_fn): Move to
2017         c-objc-common.c.
2018         * c-objc-common.c: New.  Mostly pulled from c-lang.c.
2019         * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
2020         c_objc_common_init, c_missing_noreturn_ok_p): New.
2021         * toplev.c: Update comment.
2022         * doc/passes.texi: Update.
2023 objc:
2024         * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
2025         LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
2026         LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
2027         (objc_init): Update to use c_objc_common_init.
2028
2029 2001-11-27  Neil Booth  <neil@daikokuya.demon.co.uk>
2030
2031         * cpphash.c (_cpp_init_hashtable): Update.
2032         * cpphash.h (struct spec_nodes): Remove n_L.
2033         * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
2034
2035 2001-11-17  Richard Henderson  <rth@redhat.com>
2036
2037         * unroll.c (loop_iterations): Move last change ...
2038         * doloop.c (doloop_modify_runtime): ... here.
2039
2040 2001-11-17  Corey Minyard  <minyard@acm.org>
2041             Richard Henderson  <rth@redhat.com>
2042
2043         * unroll.c (loop_iterations): Detect one situation in which we
2044         overestimate the number of iterations.
2045
2046 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2047
2048         * gcc.c (set_input): Export.
2049         Move declaration ...
2050         gcc.h (set_input): ... here.
2051
2052 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2053
2054         * gcc.c (set_collect_gcc_options): New function, split out from
2055         main.
2056         Ignore elided switches.
2057         (do_spec): Invoke before executing command.
2058         (do_spec_1): Likewise.
2059         Fixes PR other/3968.
2060
2061 2001-11-27  Hans-Peter Nilsson  <hp@axis.com>
2062
2063         * config/cris/cris.h (INT_ASM_OP): Remove.
2064
2065 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2066
2067         * config/i386/sol2.h (WINT_TYPE): Redefine.
2068         (WINT_TYPE_SIZE): Likewise.
2069
2070 2001-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2071
2072         * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
2073         (dup2): Make static and add prototype.
2074         * m68k/plexus.h: Don't define NO_DUP2.
2075         * configure.in (AC_CHECK_FUNCS): Add dup2.
2076         * config.in, configure: Regenerate.
2077
2078         * ia64/aix.h (REG_SIZE): Don't #undef.
2079         * sparc.h (REG_SIZE): Delete.
2080         * flow.c (mark_used_regs): Don't use REG_SIZE.
2081         * regs.h (REG_SIZE): Delete.
2082
2083 2001-11-27  Andreas Schwab  <schwab@suse.de>
2084
2085         * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
2086         PREFERRED_DEBUGGING_TYPE.
2087
2088 Tue Nov 27 08:21:47 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2089
2090         * Makefile.in (c-lang.o): Depends on langhooks-def.h.
2091         (expr.o, varasm.o): Depends on langhooks.h.
2092         * c-common.c (c_safe_from_p): Always declare.
2093         (c_expand_expr): Refine when declared.
2094         * c-lang.c (c-common.h): Now include.
2095         (LANG_HOOKS_SAFE_FROM_P): Define new hook.
2096         (c_init): Don't set lang_safe_from_expr.
2097         * expr.c (langhooks.h): Now include.
2098         (lang_safe_from_p): No longer define.
2099         (safe_from_p): Use lang hook.
2100         (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
2101         (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
2102         * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
2103         * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
2104         (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
2105         * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
2106         * langhooks.h (struct lang_hooks): New fields expand_constant
2107         and safe_from_p.
2108         * output.h (output_constant): Size arg is HOST_WIDE_INT.
2109         * stmt.c (expand_decl_init): No longer need to expand constant
2110         for CONST_DECL.
2111         * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
2112         * toplev.c (lang_expand_constant): Delete var.
2113         * tree.c (save_expr): Don't put another SAVE_EXPR around simple
2114         operations on SAVE_EXPR.
2115         * varasm.c (langhooks.h): Now include.
2116         (compare_constant_1): Use lang_hooks, not lang_expand_constant.
2117         (record_constant_1, output_addressed_constants): Likewise.
2118         (initializer_constant_valid_p, output_constant): Likewise.
2119         (output_constant_def): Process no-defer of string constant.
2120         (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
2121         (output_constant): Strip more conversions.
2122         Track our size and pad for the rest.
2123         (array_size_for_constructor): Remove code for non-byte STRING_CST.
2124         (output_constructor): SIZE now HOST_WIDE_INT.
2125
2126 2001-11-27  Richard Henderson  <rth@redhat.com>
2127
2128         * ifcvt.c (noce_try_store_flag_constants): Test for overflow
2129         in computing DIFF.
2130
2131 2001-11-27  Zack Weinberg  <zack@codesourcery.com>
2132
2133         * cppfiles.c (read_include_file): Add comment.
2134
2135 2001-11-26  Richard Henderson  <rth@redhat.com>
2136
2137         * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
2138
2139 2001-11-26  Richard Henderson  <rth@redhat.com>
2140
2141         * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
2142         * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
2143         commented out override.
2144
2145 2001-11-26  Neil Booth  <neil@daikokuya.demon.co.uk>
2146
2147         * cppfiles.c (stack_include_file): Don't optimize zero-length
2148         files.
2149         (read_include_file): NUL-terminate read files.
2150         * cpplex.c (handle_newline, skip_escaped_newlines,
2151         get_effective_char, skip_whitespace, parse_identifier,
2152         parse_identifier_slow, parse_number, parse_string,
2153         _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
2154         NUL-terminated.
2155         * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
2156         Be sure buffers are NUL terminated.
2157         * cppmacro.c (warn_of_redefinition): Kill compile warning.
2158
2159 2001-11-26  Neil Booth  <neil@daikokuya.demon.co.uk>
2160
2161         * c-common.c: Include tree-inline.h.
2162         (c_language): Move separate definitions here.
2163         (c_common_init_options, c_common_post_options): New.
2164         (c_common_lang_init): Rename c_common_init.
2165         * c-common.h (c_common_lang_init): Similarly.
2166         (c_common_init_options, c_common_post_options): New.
2167         * c-lang.c (c_post_options): Move body to c_common_post_options.
2168         (c_init_options): Use c_common_init_options.
2169         (c_init): Update.
2170         * langhooks.def: Rearrange.
2171         * langhooks.h: Rearrange, and improve comments.
2172         * toplev.c (do_compile): New function.
2173         (toplev_main): Use it.
2174         (lang_independent_f_options, parse_options_and_default_flags,
2175         process_options): Remove trailing periods.
2176         * Makefile.in: Update.
2177 objc:   * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
2178         functions.
2179         (ojbc_init): Update.
2180
2181 2001-11-26  Richard Henderson  <rth@redhat.com>
2182
2183         * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
2184
2185 2001-11-26  DJ Delorie  <dj@redhat.com>
2186
2187         * expr.c (store_constructor): Actually use the value computed
2188         if WORD_REGISTER_OPERATIONS.
2189
2190 2001-11-26  Richard Henderson  <rth@redhat.com>
2191
2192         * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
2193         for CONSTRUCTOR.
2194
2195 2001-11-26  David Edelsohn  <edelsohn@gnu.org>
2196
2197         * rs6000.c (output_mi_thunk): Handle minimal-toc and call
2198         correct function on AIX.
2199
2200 2001-11-26  Alexandre Oliva  <aoliva@redhat.com>
2201
2202         * toplev.c (process_options): Don't force
2203         flag_optimize_sibling_calls to zero just because exceptions are
2204         enabled.
2205
2206 Mon Nov 26 12:37:05 2001  Jeffrey A Law  (law@cygnus.com)
2207
2208         * df.h (transfer_function_sbitmap): Use PARAMS around argument
2209         list in function prototypes.
2210         (transfer_function_bitmap): Likewise.
2211
2212 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
2213
2214         * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
2215         * config/i386/netbsd-elf.h: Likewise.
2216
2217 2001-11-26  David Edelsohn  <edelsohn@gnu.org>
2218
2219         * doc/trouble.texi: Remove outdated RS/6000 comments.
2220
2221 Mon Nov 26 13:49:41 CET 2001  Jan Hubicka  <jh@suse.cz>
2222
2223         * final.c (walk_alter_subreg): Fix return value.
2224
2225 Mon Nov 26 11:36:20 CET 2001  Jan Hubicka  <jh@suse.cz>
2226
2227         * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
2228         alter_subreg.
2229         * sparc.md (post-reload splitters): Do not call alter_subreg.
2230         * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
2231
2232 2001-11-25  Aldy Hernandez  <aldyh@redhat.com>
2233
2234         * regclass.c (choose_hard_reg_mode): Handle vector arguments.
2235
2236 2001-11-26  Alan Modra  <amodra@bigpond.net.au>
2237
2238         * final.c: (insn_lengths): Make it an int *, so that large jump
2239         tables don't overflow.
2240
2241 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
2242
2243         * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
2244         (format_types): Use it for scanf.
2245         (dollar_arguments_pointer_p): New.
2246         (init_dollar_format_checking): Store details of which arguments
2247         are pointers.
2248         (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
2249         (finish_dollar_format_checking): Take extra parameter
2250         pointer_gap_ok.  Treat unused arguments differently if
2251         pointer_gap_ok and the unused arguments are pointers.
2252         (check_format_info_main): Pass extra argument to
2253         finish_dollar_format_checking.
2254         * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
2255         unused arguments are present between used arguments with operand
2256         numbers.
2257
2258 2001-11-25  Daniel Berlin  <dan@cgsoftware.com>
2259
2260         * df.c: Add prototypes for hybrid_search_bitmap and
2261         hybrid_search_sbitmap.
2262         (hybrid_search_bitmap): New function.
2263         (hybrid_search_sbitmap): New function.
2264         (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
2265         (iterative_dataflow_bitmap): Ditto.
2266
2267 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2268
2269         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
2270         address computations.
2271
2272 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2273
2274         * config/m68hc11/m68hc11.c (d_register_operand): Must accept
2275         register b (low part of d).
2276
2277 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2278
2279         * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
2280         passed to mcount.
2281
2282 Sun Nov 25 06:22:09 2001  Douglas B. Rupp  <rupp@gnat.com>
2283
2284         * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
2285         * config/alpha/x-vms: New file, to compile the above.
2286         * config.gcc (alpha*-dec-vms*): Add x-vms.
2287
2288 2001-11-24  Hans-Peter Nilsson  <hp@axis.com>
2289
2290         * genextract.c (main): Set ro_loc for peepholes.
2291
2292 Sat Nov 24 17:04:10 2001  Douglas B. Rupp  <rupp@gnat.com>
2293
2294         * fix-header.c (main): Move inf_buffer termination and inf_limit
2295         calculation to after read.
2296
2297         * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
2298         (__UNIX_FOPEN): Define.
2299
2300 Sat Nov 24 16:11:00 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2301
2302         * function.c (assign_stack_temp_for_type): Clear alias set before
2303         setting new one.
2304
2305 2001-11-23  David Edelsohn  <edelsohn@gnu.org>
2306
2307         * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
2308         format.
2309         * rs6000.md (cmptf): Fix typo.
2310
2311 2001-11-23  Richard Sandiford  <rsandifo@redhat.com>
2312
2313         * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
2314         * varasm.c (output_constructor): Use assemble_integer rather
2315         than ASM_OUTPUT_BYTE.
2316
2317 2001-11-23  Andreas Jaeger  <aj@suse.de>
2318
2319         * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
2320         extension.
2321
2322 2001-11-23  Nick Clifton  <nickc@cambridge.redhat.com>
2323
2324         * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
2325         default definition.
2326         (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
2327         (MULTILIB_DEFAULTS): Remove previous definition.
2328
2329 2001-11-23  Neil Booth  <neil@daikokuya.demon.co.uk>
2330
2331         * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
2332         * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
2333
2334 2001-11-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2335
2336         * cris.h: Revert thinko in last patch.
2337
2338 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
2339
2340         * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
2341         FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
2342         cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
2343         dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
2344         explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
2345         sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
2346
2347         * predict.c, reg-stack.c: Fix spelling errors.
2348
2349 2001-10-09  Andrew Haley  <aph@redhat.com>
2350
2351         * calls.c (check_sibcall_argument_overlap): Use slot_offset for
2352         start of stack slot.
2353
2354 2001-11-22  Graham Stott  <grahams@redhat.com>
2355
2356         * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
2357         replacement jump after original jump.
2358
2359         (verify_flow_info): Remove redundent initialisation.
2360         Handle reaching end of insn list before finding a BARRIER.
2361         Only issue one missing barrier diagnostic.
2362
2363 2001-11-22  Graham Stott  <grahams@redhat.com>
2364
2365         * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
2366
2367 Thu Nov 22 06:49:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2368
2369         * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
2370         insn actually does.
2371
2372 2001-11-22  Nick Clifton  <nickc@cambridge.redhat.com>
2373
2374         * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
2375         Fix typo -mm32rx=> -m32rx.
2376
2377         * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
2378         targets.
2379
2380         * config.gcc (xscale-coff): Add necessary header files to
2381         tm_file variable.
2382
2383 2001-11-20  Zack Weinberg  <zack@codesourcery.com>
2384
2385         * rs6000.c (output_cbranch): Use $, not %$, in output template.
2386
2387 2001-11-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2388
2389         * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
2390         (lang_type_quals): Declare.
2391         (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
2392         retrieve language-specific qualifiers for a type node, instead of
2393         C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
2394         lang_dump_tree.
2395         * tree-dump.h: Rename from c-dump.h.
2396         * c-common.h (C_TYPE_QUALS): Removed.
2397         Move declarations for tree-dump.c interface to...
2398         * tree.h: ... here. Remove lang_dump_tree.
2399         * langhooks.h (struct lang_hooks_for_tree_dump): New.
2400         (struct lang_hooks): Add tree_dump hooks.
2401         * langhooks.c (lhd_tree_dump_dump_tree): New function.
2402         (lhd_tree_dump_type_quals): New function.
2403         * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
2404         Declare.
2405         (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
2406         * Makefile.in: Move tree-dump.o to language-independent back-end.
2407
2408 2001-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2409
2410         * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
2411         * alpha.h (DBX_REGISTER_NUMBER): Likewise.
2412         * arc.h (DBX_REGISTER_NUMBER): Likewise.
2413         * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
2414         * avr.h (DBX_REGISTER_NUMBER): Likewise.
2415         * c4x.h (DBX_REGISTER_NUMBER): Likewise.
2416         * clipper.h (DBX_REGISTER_NUMBER): Likewise.
2417         * convex.h (DBX_REGISTER_NUMBER): Likewise.
2418         * cris.h (DBX_REGISTER_NUMBER): Likewise.
2419         * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
2420         * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
2421         * fr30.h (DBX_REGISTER_NUMBER): Likewise.
2422         * h8300.h (DBX_REGISTER_NUMBER): Likewise.
2423         * i370.h (DBX_REGISTER_NUMBER): Likewise.
2424         * i860.h (DBX_REGISTER_NUMBER): Likewise.
2425         * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
2426         * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
2427         * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
2428         * m32r.h (DBX_REGISTER_NUMBER): Likewise.
2429         * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
2430         * m88k.h (DBX_REGISTER_NUMBER): Likewise.
2431         * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
2432         * mcore.h (DBX_REGISTER_NUMBER): Likewise.
2433         * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
2434         * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
2435         * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
2436         * romp.h (DBX_REGISTER_NUMBER): Likewise.
2437         * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
2438         * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
2439         * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
2440         * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
2441         * v850.h (DBX_REGISTER_NUMBER): Likewise.
2442         * vax.h (DBX_REGISTER_NUMBER): Likewise.
2443         * we32k.h (DBX_REGISTER_NUMBER): Likewise.
2444
2445         * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
2446         * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
2447
2448 2001-11-21  H.J. Lu <hjl@gnu.org>
2449
2450         * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
2451
2452 2001-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2453
2454         * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
2455         emit_cmp_and_jump_insns.
2456
2457         * stormy16.c (xstormy16_expand_builtin_va_arg,
2458         xstormy16_expand_casesi): Likewise.
2459
2460 Wed Nov 21 17:37:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2461
2462         * function.c (keep_stack_depressed): Major rework.
2463         (handle_epilogue_set, emit_equiv_load): New functions.
2464         (thread_prologue_and_epilogue_insns): keep_stack_depressed now
2465         has return value.
2466         * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
2467         * rtl.h (SET_IS_RETURN_P): New macro.
2468
2469         * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
2470         and also support TREE_ADDRESSABLE.
2471         * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
2472
2473 2001-11-21  David Edelsohn  <edelsohn@gnu.org>
2474
2475         * rs6000.md (cmptf_internal1): Replace %$ with $.
2476
2477 Wed Nov 21 16:44:01 2001  Douglas B. Rupp  <rupp@gnat.com>
2478
2479         * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
2480         (read_include_file): Use STAT_SIZE_TOO_BIG.
2481
2482         * cppinit.c (INO_T_COPY): Define.
2483         (INO_T_EQ): Uppercase parameters.
2484         (append_include_chain): Use INO_T_COPY.
2485
2486 2001-11-21  Richard Sandiford  <rsandifo@redhat.com>
2487
2488         * cfg.c: Fix typos and formatting in the introductory comment.
2489
2490 Wed Nov 21 12:38:37 CET 2001  Jan Hubicka
2491
2492         * profile.c (compute_branch_probabilites):  Compute probabilities
2493         for entry/exit edges; estimate probabilities for zero counts.
2494
2495 2001-11-21  Jakub Jelinek  <jakub@redhat.com>
2496
2497         * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
2498         to emit_library_call.
2499         * function.c (expand_main_function, expand_function_start,
2500         expand_function_end): Likewise.
2501         * profile.c (output_func_start_profiler): Likewise.
2502         * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
2503         second argument to emit_library_call.
2504         * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
2505         as second argument to emit_library_call.
2506         * calls.c (emit_library_call): Update fn_type description.
2507
2508 2001-11-21  Jakub Jelinek  <jakub@redhat.com>
2509
2510         * c-decl.c (c_expand_deferred_function): Only call c_expand_body
2511         if fndecl is still DECL_INLINE and has DECL_RESULT.
2512
2513 2001-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2514
2515         * clipper.c (clipper_movstr): Avoid uninitialized warning.
2516         * i960.c (is_mask, legitimize_address): Likewise.
2517         * m88k.c (m88k_expand_prologue): Likewise.
2518         * m88k.md: Likewise.
2519         * mcore.c (emit_new_cond_insn): Likewise.
2520         * stormy16.c (xstormy16_emit_cbranch): Likewise.
2521
2522 2001-11-20  Zack Weinberg  <zack@codesourcery.com>
2523
2524         * config.gcc: Delete powerpcle-*-solaris2* stanza.
2525         * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
2526         config/rs6000/rs6000.h, config/rs6000/rs6000.md,
2527         config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
2528         config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
2529         config/rs6000/t-ppcos: Expunge all references to Solaris.
2530
2531         * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
2532
2533         * config/rs6000/rs6000.md: Replace '%$' with '$' in all
2534         output templates.
2535         * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
2536         and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
2537
2538 2001-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2539
2540         * sh.md: Avoid uninitialized warnings.
2541         * vax.c (vax_rtx_cost): Likewise.
2542
2543 2001-11-15  Aldy Hernandez  <aldyh@redhat.com>
2544
2545         * rs6000.c (direct_return): Check if we are saving altivec
2546         registers.
2547         (first_altivec_reg_to_save): New.
2548         Updated stack frame layout comments.
2549         (rs6000_stack_info): Calculate altivec register save size.
2550         Save link register if we saved some altivec registers.
2551         (rs6000_stack_info): Align save size to 16 if altivec abi or
2552         abi_darwin.
2553         (rs6000_stack_info): Calculate altivec register offsets.
2554         (rs6000_stack_info): Add altivec info to save_size.
2555         (debug_stack_info): Add altivec debug info.
2556         (rs6000_emit_prologue): Save altivec registers and vrsave.
2557         (compute_vrsave_mask): New.
2558         (altivec_expand_builtin): Remove unused variables.
2559         (rs6000_parse_abi_options): Add static qualifier.
2560         (rs6000_expand_builtin): Remove unused parameters.
2561         (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
2562         (altivec_init_builtins): Same.
2563         (is_altivec_return_reg): New.
2564         (vrsave_operation): New.
2565         (ALTIVEC_REG_BIT): New.
2566         (generate_set_vrsave): New.
2567
2568         * rs6000.md (get_vrsave): New.
2569         (set_vrsave): New.
2570         (*set_vrsave_internal): New.
2571
2572         * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
2573         altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
2574         altivec_padding_size, vrsave_mask.
2575         (TOTAL_ALTIVEC_REGS): New.
2576         (EPILOGUE_USES): Add VRSAVE_REGNO.
2577
2578 2001-11-20  Jeff Law <law@redhat.com>
2579
2580         * unroll.c (copy_loop_body): Update LABEL_NUSES for the
2581         exit label as necessary.
2582
2583 2001-11-20  Brad Kaiser  <bkaiser@acelink.net>
2584
2585         * reload1.c (elimination_effects): Use function_invariant_p
2586         instead of CONSTANT_P when considering register equivalences.
2587
2588 2001-11-20  David O'Brien  <obrien@FreeBSD.org>
2589
2590         * config.gcc: Add FreeBSD/PowerPC target.
2591         (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2592         powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2593         powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2594         powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2595         powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2596         powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
2597         freebsd-spec.h to tm_file.
2598         (rs6000-*-lynxos*): Add lynx.h to tm_file.
2599         * config/freebsd.h: Tidy up.
2600         (USING_CONFIG_FREEBSD): Define.
2601         (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
2602         FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
2603         FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
2604         (TARGET_HAS_F_SETLKW): Define.
2605         (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
2606         * config/freebsd-spec.h: New file.
2607         * config/rs6000/freebsd.h: New file.
2608         * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
2609         * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
2610         USING_SVR4_H to know when to turn on ELF support.
2611         * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
2612         define only if not already defined.
2613         Add FreeBSD support.
2614         * config/rs6000/aix.h (TARGET_VERSION): Define.
2615         * config/rs6000/beos.h: Likewise.
2616         * config/rs6000/darwin.h: Likewise.
2617         * config/rs6000/mach.h: Likewise.
2618         * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
2619         Don't include lynx.h directly.
2620
2621 2001-11-20  Graham Stott  <grahams@redhat.com>
2622
2623         * unwind-dw2-fde.c (__deregister_frame_info_bases):
2624         Fix lossage in last change return OB.
2625
2626 Tue Nov 20 11:56:12 2001  Douglas B. Rupp  <rupp@gnat.com>
2627
2628         * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
2629         Remove unneeded exit related macros.
2630
2631 2001-11-20  David Edelsohn  <edelsohn@gnu.org>
2632
2633         * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
2634
2635         * rs6000.c (rs6000_emit_move): Add TFmode case.
2636         * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
2637         LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2638         LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
2639         * rs6000.h: ... to here.
2640         * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
2641         trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
2642         fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
2643
2644 Tue Nov 20 06:41:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2645
2646         * emit-rtl.c (get_mem_attrs): Fix typo.
2647
2648 2001-11-20  Jakub Jelinek  <jakub@redhat.com>
2649
2650         * c-lang.c (finish_file): Backout 2001-11-16
2651         changes, instead set DECL_DEFER_OUTPUT for static inline functions
2652         before calling c_expand_deferred_function.
2653
2654 2001-11-20  Jakub Jelinek  <jakub@redhat.com>
2655
2656         * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
2657         Don't register empty .eh_frame sections.
2658         (__deregister_frame_info_bases, __deregister_frame): Don't
2659         unregister them either.
2660
2661 2001-11-19  Geoffrey Keating  <geoffk@redhat.com>
2662
2663         * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
2664         (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
2665         * configure: Regenerate.
2666         * config.in: Add dummy definitions of new flags.
2667         * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
2668         * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
2669         * gcc.c (ASM_DEBUG_SPEC): New macro.
2670         (asm_debug): New static variable.
2671         (default_compilers): Add asm_debug when assembling from
2672         user input.
2673         (static_specs): Add asm_debug.
2674
2675 2001-11-20  Loren J. Rittle  <ljrittle@acm.org>
2676
2677         * config.gcc (*-*-freebsd*): Remove configuration block.
2678
2679 2001-11-19  Loren J. Rittle  <ljrittle@acm.org>
2680
2681         bootstrap/4422
2682         * configure.in: Setup ability to run ./stage[1234]/xgcc in
2683         fixinc *as if* it were a proper lang subdirectory.
2684         * configure: Rebuilt.
2685
2686 2001-11-19  Loren J. Rittle  <ljrittle@acm.org>
2687
2688         * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
2689
2690 2001-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2691
2692         * 1750a.md: Don't use hex format for a const_int.
2693
2694 2001-11-19  Geoffrey Keating  <geoffk@redhat.com>
2695
2696         * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
2697
2698 2001-11-19  Zack Weinberg  <zack@codesourcery.com>
2699
2700         * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
2701         defined (prevents link errors when gettext isn't in the system
2702         library).
2703
2704 2001-11-19  DJ Delorie  <dj@redhat.com>
2705
2706         * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
2707         (validate_const_int): New.
2708         (read_rtx): Validate constant integers.
2709         * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
2710
2711 2001-11-19  Jakub Jelinek  <jakub@redhat.com>
2712
2713         * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
2714
2715 Mon Nov 19 16:57:44 2001  Douglas B. Rupp  <rupp@gnat.com>
2716
2717         * toplev.c (DUMPFILE_FORMAT): Define default.
2718         (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
2719         (close_dump_file, compile_file): Likewise.
2720         * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
2721         * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
2722
2723 2001-11-19  Jeff Law <law@redhat.com>
2724
2725         * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
2726         a nop-jump.
2727
2728 2000-11-19  Neil Booth  <neil@daikokuya.demon.co.uk>
2729
2730         * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
2731         Don't fall off the base token run.
2732
2733 2001-11-19  Jason Wilkins <fenix@io.com>
2734
2735         * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
2736
2737 Mon Nov 19 15:13:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2738
2739         * tree.def (VIEW_CONVERT_EXPR): New tree code.
2740         * tree.h (handled_component_p): New declaration.
2741         * alias.c (handled_component_p): Move function from here ...
2742         * expr.c (handled_component_p): ... to here and non longer static.
2743         (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
2744         (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
2745         (get_inner_reference): Handle VIEW_CONVERT_EXPR.
2746         (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
2747         (expand_expr, case VIEW_CONVERT_EXPR): New case.
2748         (expand_expr, cse ADDR_EXPR): No need to copy if already
2749         BIGGEST_ALIGNMENT.
2750         * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
2751         * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
2752         (output_constant): Handle VIEW_CONVERT_EXPR.
2753         * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
2754         Add new case for VIEW_CONVERT_EXPR.
2755
2756 2001-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2757
2758         * a29k/unix.h (ASM_FILE_START): Const-ify.
2759         * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
2760         * i386/isc.h (ASM_FILE_START): Const-ify.
2761         * i386/sun386.h (ASM_FILE_START): Likewise.
2762         * m32r.md: Likewise.
2763         * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
2764         * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
2765         * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
2766         * mn10200.md: Initialize variable.
2767
2768 Mon Nov 19 18:06:21 CET 2001  Jan Hubicka  <jh@suse.cz>
2769
2770         * gcse.c (try_replace_reg): Copy RTX before creating note.
2771
2772         * df.h (df_ref_flags): New uenum.
2773         (DF_REF_FLAGS): New macro.
2774         (struct ref): Add field "flags".
2775         * df.c (HANDLE_SUBREG): Remove.
2776         (df_ref_create): Likewise; set flags field of ref.
2777         (df_def_record_1): Strip down read_write subreg; remove
2778         commented out code; set READ_WRITE flag.
2779         (read_modify_subreg_p): New static function.
2780         (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
2781         new argument "flags".
2782         (df_insn_refs_record): Update call of df_uses_record.
2783         (df_insn_modify): Avoid #if 0 around comment.
2784         (df_dump): Dump the read/write flag.
2785
2786         * predict.c (propagate_freq): Make cyclic_probability and frequency
2787         volatile
2788
2789         * i386.c (ix86_cc_mode): Accept USE.
2790
2791         * cfgrtl.c (purge_dead_edges):  Cleanup EDGE_ABNORMAL flag if computed
2792         jump is turned into simplejump.
2793
2794 2001-11-19  Joseph S. Myers  <jsm28@cam.ac.uk>
2795
2796         * doc/fragments.texi, doc/trouble.texi: Remove links to old
2797         installation chapter.
2798         * doc/gcc.texi: Don't claim that this manual documents
2799         installation.  Mark Installation menu entry as being out of date.
2800
2801 Mon Nov 19 07:21:35 2001  Douglas B. Rupp  <rupp@gnat.com>
2802
2803         * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
2804         (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
2805         * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
2806
2807 2001-11-19  Jason Merrill  <jason@redhat.com>
2808
2809         * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
2810         cur_token, not after.
2811
2812         * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
2813         Lose ASM_OUTPUT_CONSTRUCTOR.
2814         * system.h: Poison it and INT_ASM_OP.
2815         * c-lang.c (finish_file): Don't check for it.
2816         * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
2817
2818 2001-11-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2819
2820         * mmix.c (mmix_cc1_ignored_option): Const-ify.
2821         (mmix_init_machine_status): Make static to match declaration.
2822         (mmix_unique_section): Const-ify.
2823         (mmix_output_quoted_string): Avoid automatic aggregate
2824         initialization.
2825         (mmix_output_register_setting): Likewise.
2826         (mmix_output_shiftvalue_op_from_str): Likewise.
2827
2828         * mmix.h (mmix_cc1_ignored_option): Const-ify.
2829         (ASM_OUTPUT_BYTE): Fix format specifier warning.
2830         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2831
2832 2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2833
2834         PR c/4448
2835         * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
2836         name __objc_thread_exit_status so that it matches the
2837         variable defined in objc/thr.h.
2838
2839 2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2840
2841         PR bootstrap/4020
2842         * mklibgcc.in: Add missing semi-colons.
2843         * Makefile.in: Same.
2844
2845 Sun Nov 18 16:47:00 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2846
2847         * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
2848         after re-laying out decl in incomplete case.
2849         (expand_expr, case ADDR_EXPR): Fix typo in copy case.
2850
2851 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2852
2853         * doc/install-old.texi: Move some sections out to ...
2854         * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
2855         ... here.  New files.  Make into chapters rather than sections.
2856         * doc/gcc.texi: Include the new files and add menu entries for
2857         them.
2858         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2859
2860 Sun Nov 18 14:13:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2861
2862         * tree.h (TYPE_ALIGN_OK): New flag.
2863         * emit-rtl.c (set_mem_attributes): Handle it.
2864         * expr.c (emit_single_push_insn): Only set to alias set 0 if
2865         doing sibcall optimization.
2866         (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
2867         when make temporary.
2868         (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
2869         (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
2870
2871         * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
2872
2873 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2874
2875         * c-decl.c (c_decode_option): Give deprecation warning for
2876         -traditional.
2877         * doc/invoke.texi (-traditional): Note that this option is
2878         deprecated.
2879
2880 Sun Nov 18 07:40:07 2001  Douglas B. Rupp  <rupp@gnat.com>
2881
2882         * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
2883         arg to HOST_WIDE_INT, not long.
2884
2885         * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
2886         (HAS_INIT_SECTION): Define.
2887         (REAL_ARITHMETIC): Don't undefine.
2888
2889 2001-11-18  Egor Duda  <deo@logos-m.ru>
2890
2891         * config/i386/cygwin.h: Strip leading '*' from name, if any.
2892
2893 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2894
2895         * Makefile.in (c-parse.o, c-common.o): Update dependencies.
2896         * c-common.c: Include diagnostic.h.
2897         (c_common_finish): New.
2898         * c-common.h (c_common_finish): New.
2899         * c-lang.c (LANG_HOOKS_FINISH): Override.
2900         * c-parse.in: Don't include diagnostic.h.
2901         (finish_parse): Remove.
2902         * langhooks.h: Update comments.
2903         * toplev.c (lang_dependent_init): New prototype.
2904         (finalize): New.
2905         (compile_file): Split cleanup code out to finalize.
2906         (lang_dependent_init): Stop if lang_hooks.init fails.
2907         (toplev_main): Update.
2908         * tree.h (finish_parse): Remove.
2909 objc:
2910         * objc-act.c (LANG_HOOKS_FINISH): Override.
2911
2912 Sat Nov 17 23:30:44 2001  Douglas B. Rupp  <rupp@gnat.com>
2913
2914         * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
2915         * config/alpha/vms_tramp.asm: New file.
2916         * config/alpha/vms-tramp.asm: Removed.
2917
2918 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2919
2920         * c-common.c (struct disabled_builtin, disabled_builtins,
2921         disable_builtin_function, builtin_function_disabled_p): New.
2922         (builtin_function_2): Check for disabled built-in functions.
2923         * c-common.h (disable_builtin_function): Declare.
2924         * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
2925         * doc/invoke.texi: Document -fno-builtin-FUNCTION.
2926         * doc/extend.texi: Mention -fno-builtin-FUNCTION.
2927
2928 2001-11-17  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2929
2930         PR target/4606
2931         * config.gcc: Remove reference to va-clipper.h.
2932
2933 2001-11-17  Stan Shebs  <shebs@apple.com>
2934
2935         * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
2936         AltiVec-related bitfields.
2937
2938 Sat Nov 17 12:06:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2939
2940         * except.c (enum eh_region_type): Add ERT_UNKNOWN.
2941         (mark_eh_region, case ERT_UKNONW): New case.
2942
2943 2001-11-17  Christopher Faylor  <cgf@redhat.com>
2944             Corinna Vinschen  <vinschen@redhat.com>
2945
2946         * config/i386/cygwin.h: Search target specific include directory for
2947         w32api stuff, if appropriate.
2948
2949 Sat Nov 17 08:20:44 2001  Douglas Rupp  <rupp@gnat.com>
2950
2951         * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
2952
2953 2001-11-16  Aldy Hernandez  <aldyh@redhat.com>
2954
2955         * config/rs6000/rs6000.md: Change all ldvx to lvx.
2956
2957 2001-11-16  Alexandre Oliva  <aoliva@redhat.com>
2958
2959         * gensupport.c (process_rtx): Don't assume filename is the first
2960         argument of any rtl.
2961
2962 2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2963
2964         * vax-protos.h (reg_was_0_p): New prototype.
2965         * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
2966         * vax.c (follows_p, reg_was_0_p): New functions.
2967
2968 2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2969
2970         * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
2971         (casesi1): Likewise.  Define new pattern which arises by simplification
2972         when operand 1 is a constant int.  Correct pattern which arises by
2973         simplification when operand 1 is zero.
2974
2975 2001-11-16  David O'Brien  <obrien@FreeBSD.org>
2976
2977         * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
2978         arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
2979         arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
2980         arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
2981         arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
2982         arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
2983         xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
2984         * config/arm/aof.h: Don't include arm.h.
2985         * config/arm/aout.h: Likewise.
2986         * config/arm/coff.h: Don't include semi.h and aout.h.
2987         * config/arm/elf.h: Don't include aout.h.
2988         * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
2989         (TARGET_VERSION): Undef before defining.
2990         (ARM_OS_NAME): Likewise
2991         (TARGET_DEFAULT): Likewise
2992         (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
2993         * config/arm/pe.h: Don't include arm/coff.h.
2994         * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
2995         SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
2996         * config/arm/riscix1-1.h: Likewise.
2997         * config/arm/rix-gas.h: Don't include riscix.h.
2998         (DBX_CONTIN_LENGTH): Undef before defining.
2999         * config/arm/semi.h: Don't include aout.h.
3000         * config/arm/semiaof.h: Don't include aof.h.
3001         * config/arm/strongarm-coff.h: Don't include coff.h.
3002         * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
3003         * config/arm/vxarm.h: Don't include arm/coff.h.
3004         * config/arm/xscale-coff.h: Don't include coff.h.
3005
3006 Fri Nov 16 15:22:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3007
3008         * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
3009         emit_cmp_insn.
3010
3011 2001-11-16  Andreas Jaeger  <aj@suse.de>
3012
3013         * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
3014         to ....
3015         (fixup_fallthru_exit_predecessor): ... this.
3016         Change callers and prototype.
3017
3018 2001-11-16  Bernd Schmidt  <bernds@redhat.com>
3019
3020         * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
3021         hand; don't use gen_setcc_2.
3022         (ix86_expand_builtin): Fix pshufw.
3023         * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
3024         case UNORDERED to emit the right assembler instruction.
3025         (mmx_pshufw): Lose operand 2.
3026         (cvtsi2ss): Fix representation.
3027         From Graham Stott:
3028         (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
3029
3030 2001-11-16  Joseph S. Myers  <jsm28@cam.ac.uk>
3031
3032         * doc/include/linux-and-gnu.texi: Remove.
3033         * doc/gnu.texi: New.
3034         * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
3035         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3036
3037 2001-11-16  Kazu Hirata  <kazu@hxi.com>
3038
3039         * config/a29k/a29k.c: Fix comment formatting.
3040         * config/a29k/a29k.h: Likewise.
3041         * config/arc/arc.c: Likewise.
3042         * config/arc/arc.h: Likewise.
3043         * config/vax/vax.c: Likewise.
3044         * config/vax/vax.h: Likewise.
3045         * config/we32k/we32k.c: Likewise.
3046         * config/we32k/we32k.h: Likewise.
3047
3048 2001-11-16  Jeff Law  <law@redhat.com>
3049
3050         * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
3051         creating a new jump insn.
3052
3053 Fri Nov 13 09:06:25 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3054
3055         * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
3056         copy misaligned data.
3057         * varasm.c (assemble_variable): Set alignment into MEM when changed.
3058
3059 2001-11-16  Graham Stott  <grahams@redhat.com>
3060
3061         * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
3062         OPALIGN type.
3063
3064 2001-11-16  Olivier Hainque <hainque@act-europe.fr>
3065
3066         * except.c: Support for catching a list of types with a single handler
3067         (struct eh_region): Change type and filter to lists for catch regions.
3068         (mark_eh_region): Mark the filter list for GC also.
3069         (expand_start_catch): Always build a list if argument not NULL and
3070         register each type of the list through add_type_for_runtime.
3071         (duplicate_eh_region_1): Change type into type_list for catch regions.
3072         (assign_filter_values): Assign a filter to each type associated with a
3073         catch region. Assign filter for NULL types in a unique entry in the
3074         filter list.
3075         (build_post_landing_pads): Emit compare and jump for each filter of
3076         the list associated with a catch region.
3077         (reachable_next_level): When the type thrown is known, stop the search
3078         as soon as one type within a catch list matches. Also, a handler is
3079         potentially reachable only if at least one of the types it catches
3080         has not been previously caught.
3081         (collect_one_action_chain): Retrieve the filter for a NULL type list
3082         from the first filter list entry. For non NULL type lists, add an
3083         action record for every filter assigned.
3084         * except.h: Reflect changes in comment before expand_start_catch.
3085
3086 Fri Nov 16 07:12:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3087
3088         * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
3089         BLKmode.
3090
3091 Fri Nov 16 06:37:05 2001  Andreas Tobler  <a.tobler@schweiz.ch>
3092
3093         * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
3094
3095 2001-11-16  Jakub Jelinek  <jakub@redhat.com>
3096
3097         * c-lang.c (finish_file): Don't emit static inline functions if
3098         they weren't referenced.
3099
3100 2001-11-15  Stan Shebs  <shebs@apple.com>
3101
3102         * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
3103
3104 2001-11-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3105
3106         * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
3107         call.
3108         * config/i386/i386.md: Likewise.
3109
3110 Thu Nov 15 21:40:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3111
3112         * timevar.c (rtl.h): Include so get fancy abort.
3113
3114 2001-11-15  Dale Johannesen  <dalej@apple.com>
3115
3116         * config/darwin.h (SELECT_RTX_SECTION):  Force address
3117         initializers into 'const' section
3118         * config/rs6000/rs6000.c (rs6000_emit_cmove):  Fix mode of
3119         if_then_else to match result, not operands
3120
3121 Thu Nov 15 17:57:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3122
3123         * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
3124         * emit-rtl.c (change_address): Fix typo in default alignment.
3125         (adjust_address_1): Use mode of NEW, not MODE, when setting size.
3126         * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
3127         * rtl.h (REGNO_PTR_FRAME_P): New macro.
3128
3129         * expr.c (store_field): Pass tree instead of max size; callers changed.
3130         Change handling of alignment.
3131         Only copy to_rtx if is TARGET.
3132         (expand_expr_unaligned): Delete; callers now use expand_expr.
3133         (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
3134         (expand_assignment): Change handling of alignment.
3135         Only copy to_rtx if was original.
3136         (get_inner_reference): No longer return alginment; callers changed.
3137         (expand_expr, case COMPONENT_REF): Change handling of alignment.
3138         (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
3139         (compare_from_rtx): Delete ALIGN parm; all callers changed.
3140         (do_compare_rtx_and_jump): Likewise.
3141         * expr.h: Reflect above changes.
3142         * tree.h: Likewise.
3143         * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
3144         to get_inner_reference.
3145         * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
3146         * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
3147         * optabs.c: Likewise.
3148         (prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
3149         (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
3150         * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
3151         compare_rtx_and_jump, and emit_cmp_jump_insns.
3152         * fold-const.c: Remove PALIGN in calls to get_inner_reference.
3153         * function.c (assign_stack_temp_for_type): No longer static.
3154         * optabs.h (emit_cmp_insn): Remove ALIGN parm.
3155         (prepare_cmp_insn): Delete declaration.
3156         * rtl.h (assign_stack_temp_for_type): Add declaration.
3157         * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
3158         * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
3159         * config/i386/i386.c,config/mips/mips.c: Likewise.
3160         * config/i860/i860.c, config/ia64/ia64.c: Likewise.
3161         * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
3162
3163 2001-11-15  Stan Shebs  <shebs@apple.com>
3164
3165         * config/rs6000/rs6000.h: Fix a comment typo.
3166         (RTX_COSTS): Sort processor versions better.
3167
3168 2001-11-15  Kazu Hirata  <kazu@hxi.com>
3169
3170         * config/h8300/h8300.md: Fix insn length of bit insns.
3171
3172 2001-11-15  Jason Merrill  <jason@redhat.com>
3173
3174         * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
3175         DIEs if there were errors in the source.
3176
3177         * config/alpha/alpha-interix.h, config/alpha/elf.h,
3178         config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
3179         config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
3180         config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
3181         config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
3182         config/elfos.h, config/lynx.h, config/netware.h,
3183         config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
3184         config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
3185         uses to use ASM_LONG.
3186
3187 2001-11-15  Alan Matsuoka  <alanm@redhat.com>
3188
3189         * gensupport.c  process_include : Change call to alloca to
3190         xmalloc.
3191
3192 2001-11-15  Aldy Hernandez  <aldyh@redhat.com>
3193
3194         * config/rs6000/rs6000.md: Use spaces instead of tabs in output
3195         templates.
3196
3197 Thu Nov 15 08:36:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3198
3199         * final.c (alter_subreg): If simplify_subreg can't do anything,
3200         handle REG ourselves and abort for others.
3201
3202 2001-11-15  Richard Hodson  <hodsonr@dionecorp.com>
3203
3204         * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
3205         routines.
3206
3207 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
3208
3209         * fix-header.c (read_scan_file): Update.
3210
3211 Thu Nov 15 08:36:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3212
3213         * toplev.c (toplev_main): Don't start timing until after
3214         command-line options are parsed.
3215
3216 2001-11-15  Andreas Schwab  <schwab@suse.de>
3217
3218         * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
3219         makefile frag, not host makefile frag.
3220         (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
3221         (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
3222         used.
3223         (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
3224         * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
3225         * config/m88k/t-dgux (STMP_FIXPROTO): Define.
3226         * config/i386/t-cygwin (STMP_FIXPROTO): Define.
3227         * config/i386/t-dgux (STMP_FIXPROTO): Define.
3228         * config/x-interix: Don't define STMP_FIXPROTO and
3229         FIXPROTO_DEFINES.
3230         * config/t-interix: New file, define STMP_FIXPROTO.
3231         * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
3232         * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
3233         * config/t-svr4 (FIXPROTO_DEFINES): Define.
3234         * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
3235         * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
3236         * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
3237         * config/m68k/t-hp3200: Renamed from x-hp3200.
3238         * config/i370/t-oe: Renamed from x-oe.
3239         * config/mips/t-iris: Renamed from x-iris.
3240         * config/pa/t-bsd: Renamed from x-pa.
3241         * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
3242         * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
3243         config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
3244         config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
3245         config/rs6000/x-cygwin: Remove files.
3246
3247         * configure.in: Check for target objdump and use that in eh_frame
3248         optimization test.
3249         * configure: Regenerated.
3250
3251 2001-11-15  Jakub Jelinek  <jakub@redhat.com>
3252
3253         * jump.c (squeeze_notes): Return true if no real insns were found.
3254         * rtl.h (squeeze_notes): Adjust prototype.
3255         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
3256         squeeze_notes finds no real instructions, abort.
3257         (merge_blocks_move_successor_nojumps): Likewise.
3258         * loop.c (find_and_verify_loops): Likewise.
3259         * stmt.c (expand_end_case): Likewise.
3260         * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
3261         find any real instructions.
3262
3263         * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
3264
3265         * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
3266         conditional jump, request updating life into for the block
3267         containing it.  Fix a typo which prevented life info update.
3268         Clear blocks bitmap before using it.
3269
3270 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
3271
3272         * c-common.c: Include c-lex.h.
3273         (c_common_lang_init): Change prototype.  Call init_c_lex and
3274         init_pragma from here.
3275         * c-common.h (c_common_lang_init): Change prototype.
3276         * c-decl.c (init_decl_processing): Rename.  Call c_parse_init.
3277         * c-lang.c (c_init): Change prototype.  Update.
3278         (c_init_options): Update.
3279         * c-lex.c (cpp_filename): Remove.
3280         (init_c_lex): Update.  Read the main file, and get the original
3281         file name.
3282         (yyparse): Finish the command line options.
3283         * c-parse.in (c_parse_init): Call init_reswords here.
3284         (init_parse): Remove.
3285         * c-tree.h (c_init_decl_processing): New.
3286         * cpphash.c (_cpp_init_hashtable): After initializing the hash
3287         table, populate it.
3288         * cppinit.c (read_original_filename, cpp_finish_options): New.
3289         (cpp_create_reader): New prototype. Defer hash table initialization.
3290         (cpp_start_read): Rename cpp_read_main_file.  Initialize the
3291         hash table.  Get the original filename.
3292         * cpplib.h (cpp_create_reader): Update.
3293         (cpp_start_read): Remove.
3294         (cpp_read_main_file, cpp_finish_options): New.
3295         * cppmain.c (main, do_preprocessing): Update.
3296         * langhooks.h (struct langhooks): Update init prototype.
3297         * toplev.c (general_init, parse_options_and_default_flags,
3298         process_options, lang_indpendent_init, lang_dependent_init,
3299         init_asm_output): New; perform the bulk of initialization.
3300         (compile_file): Move most of initialization to above functions.
3301         (debug_hooks): Initialize statically.
3302         (set_Wunused): Relocate.
3303         (toplev_main): Move most of initialization to other init functions.
3304         Have a clear logic flow.
3305         * tree.h (init_parse, init_decl_processing): Remove.
3306 objc:
3307         * objc-act.c (objc_init): Update prototype, combine with old
3308         init_parse.
3309         (objc_init_options): Update.
3310
3311
3312 2001-11-15  Andreas Jaeger  <aj@suse.de>
3313
3314         * cfgrtl.c (purge_all_dead_edges): Use int as argument for
3315         portability.
3316         * basic-block.h: Adjust prototype.
3317
3318 2001-11-15  Kazu Hirata  <kazu@hxi.com>
3319
3320         * config/rs6000/aix31.h: Fix comment formatting.
3321         * config/rs6000/beos.h: Likewise.
3322         * config/rs6000/darwin.h: Likewise.
3323         * config/rs6000/eabi.asm: Likewise.
3324         * config/rs6000/linux.h: Likewise.
3325         * config/rs6000/linux64.h: Likewise.
3326         * config/rs6000/lynx.h: Likewise.
3327         * config/rs6000/netbsd.h: Likewise.
3328         * config/rs6000/rs6000.c: Likewise.
3329         * config/rs6000/rs6000.h: Likewise.
3330         * config/rs6000/rs6000.md: Likewise.
3331         * config/rs6000/sol2.h: Likewise.
3332         * config/rs6000/tramp.asm: Likewise.
3333         * config/rs6000/xcoff.h: Likewise.
3334         * config/rs6000/xm-beos.h: Likewise.
3335
3336 2001-11-14  Alan Matsuoka  <alanm@redhat.com>
3337
3338         * rtl.def (INCLUDE) : Define.
3339         * gensupport.c  (init_include_reader, process_include,
3340         save_string) :  New functions to implement an include facility
3341         in .md files.
3342         * gensupport.h : Add prototype for init_md_reader_args.
3343         * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
3344         genextract.c genflags.c genopinit.c genoutput.c
3345         genpeep.c genrecog.c: Change call to init_md_reader to
3346         init_md_reader_args.
3347         * md.texi: Document (include "path") and -I directives for RTL
3348         generation tools.
3349
3350 2001-11-14  DJ Delorie  <dj@redhat.com>
3351
3352         * integrate.c (get_hard_reg_initial_reg): New.
3353         * integrate.h (get_hard_reg_initial_reg): Prototype.
3354         * local-alloc.c (block_alloc): Don't tie pseudos that
3355         represent call-saved hard regs' initial values.
3356
3357 2001-11-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3358
3359         * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
3360         recursion.
3361
3362 2001-11-14  Roger Sayle <roger@eyesopen.com>
3363
3364         * fold-const.c (fold): Optimize strlen comparisons against zero.
3365
3366 2001-11-14  David O'Brien  <obrien@FreeBSD.org>
3367
3368         * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
3369         sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
3370         sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
3371         sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
3372         sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
3373         sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
3374         sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
3375         Include various CPU headers via tm_file.  a.out based platforms now
3376         properly include sparc/aout.h.  sol2.h usage now implies including
3377         elfos.h, svr4.h, and sparc/sysv4.h.
3378         * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
3379         Also define to '1'.
3380         * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
3381         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
3382         DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
3383         Remove.  They are a.out specific and belong in sparc/aout.h.
3384         * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
3385         ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
3386         DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define.  Moved here from
3387         sparc/sparc.h.
3388         * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
3389         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
3390         Moved here from sparc/sparc.h.
3391         * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
3392         defining.
3393         * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
3394         * config/sparc/lynx.h:  Don't include lynx.h.
3395         (SELECT_SECTION): Do not undef.
3396         * config/sparc/openbsd.h: Don't include sparc/sparc.h.
3397         * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
3398         and sparc/sysv4.h.
3399         * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
3400         * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define.  Get from
3401         sparc/aout.h now.
3402         * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
3403         Don't undef, there is no need.
3404         * config/sparc/splet.h (CPP_PREDEFINES): Define.
3405         * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
3406         * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
3407         Don't include sparc/sparc.h.
3408         * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
3409         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
3410         DATA_SECTION_ASM_OP): Don't undef, there is no need now.  Don't include
3411         elfos.h and svr4.h.
3412         (TARGET_VERSION): Define.
3413         * config/sparc/vxsim.h (TARGET_VERSION): Define.
3414
3415 Wed Nov 14 19:46:08 CET 2001  Jan Hubicka  <jh@suse.cz>
3416
3417         * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
3418         (cfg_layout_finalize): Use it.
3419         * bb-reorder.c (HAVE_epilogue): Remove.
3420         (make_reorder_chain): Do not care special placement of
3421         last basic block.
3422
3423         * predict.c (expected_value_to_br_prob): Delete the note
3424         once transformed.
3425
3426         * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
3427         measure integration time separately.
3428
3429 Wed Nov 14 12:30:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3430
3431         * function.c (struct temp_slot): ALIGN now unsigned.
3432
3433 2001-11-14  Kazu Hirata  <kazu@hxi.com>
3434
3435         * config/dsp16xx/dsp16xx.c: Fix comment formatting.
3436         * config/dsp16xx/dsp16xx.h: Likewise.
3437         * config/dsp16xx/dsp16xx.md: Likewise.
3438
3439 2001-11-14  Kazu Hirata  <kazu@hxi.com>
3440
3441         * config/h8300/h8300.c (get_shift_alg): Reorganize the code
3442         that deals with 7-bit shifts in HImode.
3443
3444 Wed Nov 14 14:17:05 CET 2001  Jan Hubicka  <jh@suse.cz>
3445
3446         * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
3447         * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
3448         (final_scan_insn): Update call of alter_subreg.
3449         (cleanup_subreg_operands): Likewise.
3450         (alter_subreg): Rewrite using simplify_subreg.
3451         (output_address, output_operand): Update call of alter_subreg.
3452         * output.h (alter_subreg): Update prototype.
3453         * sdbout.c (sdbout_symbol): Update call of alter_subreg.
3454         * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
3455         * Makefile.in (final.o): Add dependency on expr.h
3456
3457 Wed Nov 14 06:37:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3458
3459         * c-lang.c (finish_file): Make I unsigned to eliminate warning.
3460
3461 2001-11-13  Jeff Sturm  <jsturm@one-point.com>
3462
3463         * doc/install.texi (sparc-*-linux*): Mention requirements for
3464         binutils and glibc.
3465
3466 2001-11-14  Joseph S. Myers  <jsm28@cam.ac.uk>
3467
3468         * Makefile.in (POD2MAN): Don't include --section=1.
3469         (manext): Rename to man1ext.  All users changed.
3470         (man7ext): New.
3471         (man7dir): New.
3472         (generated-manpages): Also depend on $(docdir)/gfdl.7,
3473         $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
3474         ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
3475         --section=1 in calls to $(POD2MAN).
3476         ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
3477         (maintainer-clean, install, uninstall): Handle the new man pages.
3478         ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
3479         (installdirs): Create man7dir.
3480         * doc/cpp.texi: Include GFDL in this manual.  In the man page,
3481         refer to gfdl(7) for the GFDL.  Apply Front Cover and Back Cover
3482         texts to man page.  Include gpl(7), gfdl(7) and fsf-funding(7) in
3483         the SEE ALSO man page section.
3484         * doc/gcov.texi: Apply GFDL to man page.  Include gpl(7), gfdl(7)
3485         and fsf-funding(7) in the SEE ALSO man page section.
3486         * doc/invoke.texi: Apply GFDL to man page.  Include gpl(7),
3487         gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
3488         * doc/include/fdl.texi, doc/include/funding.texi,
3489         doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
3490         * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
3491
3492 2001-11-13  Richard Henderson  <rth@redhat.com>
3493
3494         * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
3495         as appropriate for the artificial decl.
3496
3497 2001-11-13  Richard Henderson  <rth@redhat.com>
3498
3499         * loop.c (combine_movables): Turn off combination until
3500         move_movables validation bugs are fixed.
3501
3502 2001-11-13  DJ Delorie  <dj@redhat.com>
3503
3504         * config.gcc (powerpc|rs6000): Set default cpp options based
3505         on --with-cpu settings.
3506         * config/rs6000/softfloat.h: New.
3507
3508 2001-11-13  Kazu Hirata  <kazu@hxi.com>
3509
3510         * config/h8300/h8300.c (shift_alg_si): Use special code for
3511         25-bit shifts on H8/S.
3512         (get_shift_alg): Generate special code for 25-bit shifts on
3513         H8/S.
3514
3515 2001-11-13  Jakub Jelinek  <jakub@redhat.com>
3516
3517         * emit-rtl.c (adjust_address_1): Add ADJUST argument.
3518         (adjust_automodify_address_1): New.
3519         * expr.h (adjust_address, adjust_address_nv): Adjust.
3520         (adjust_automodify_address, adjust_automodify_address_nv): Define.
3521         (adjust_address_1): Update prototype.
3522         (adjust_automodify_address_1): Add prototype.
3523         * expr.c (move_by_pieces_1): Use adjust_automodify_address.
3524         (store_by_pieces_2): Likewise.
3525
3526 Tue Nov 13 05:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3527
3528         * Makefile.in (explow.o): Now depends on ggc.h.
3529         * explow.c (ggc.h): Include.
3530         (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
3531
3532         * Makefile.in (expr.o): Depends on insn-attr.h.
3533         * expr.c (insn-attr.h): New include.
3534         (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
3535         of MEM.
3536         (highest_pow2_factor, case INTEGER_CST): Handle negative values.
3537         (expand_expr): Remove unneeded mark_temp_addr_taken calls and
3538         clean up related usage in ADDR_EXPR.
3539         (expand_expr_unaligned): Likewise.
3540
3541         * emit-rtl.c (change_address): Fix typo in alias setting.
3542
3543 2001-11-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3544
3545         * Makefile.in (cfgcleanup.o): Depend on insn-config.h
3546
3547 2001-11-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3548
3549         PR bootstrap/3451
3550         * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
3551         GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
3552
3553 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
3554
3555         * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
3556         sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
3557         sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
3558         sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
3559         sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
3560         sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
3561         sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
3562         sparc64-*-linux*):  Include various CPU headers via tm_file.
3563         * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
3564         (SELECT_SECTION): Likewise.
3565         (SELECT_RTX_SECTION): Likewise.
3566         * config/sparc/sparc_bi.h: New file.
3567         * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
3568         * config/sparc/linux-aout.h: Likewise.
3569         * config/sparc/linux.h: Don't include sparc/sysv4.h.
3570         * config/sparc/linux64.h: Likewise.
3571         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
3572         * config/sparc/lite.h:  Don't include sparc/sparc.h and gofast.h.
3573         * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
3574         and dbxcoff.h
3575         (ASM_OUTPUT_IDENT): Do not #undef.
3576         (SELECT_SECTION): Likewise.
3577         (SELECT_RTX_SECTION): Likewise.
3578         * config/sparc/liteelf.h: Don't include gofast.h.
3579         * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
3580         * config/sparc/lynx.h: Don't include sparc/sparc.h.
3581         * config/sparc/pbd.h: Likewise.
3582         * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
3583         * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
3584         * config/sparc/rtemself.h: Don't include rtems.h.
3585         * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
3586         * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
3587         sparc_bi.h instead.
3588         * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
3589         * config/sparc/sol2.h: Include sparc/sparc.h directly.
3590         * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
3591         * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
3592         * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
3593         * config/sparc/sp86x-elf.h: Don't include gofast.h.
3594         * config/sparc/splet.h: Don't include sparc/aout.h.
3595         * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
3596         * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
3597         * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
3598         * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
3599         * config/sparc/vxsparc64.h: Don't include gofast.h.
3600         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
3601
3602 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3603
3604         * doc/standards.texi: Mention C99 TC1.
3605
3606 2001-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3607
3608         * mips-protos.h (mips_output_conditional_branch): Const-ify.
3609         * mips.c (mips_output_conditional_branch): Likewise.
3610
3611 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3612
3613         * config/h8300/h8300.c (shift_alg_si): Use special code for
3614         15-bit logical shifts and 31-bit logical shifts.
3615         (get_shift_alg): Generate special code for 15-bit and 31-bit
3616         logical shifts.
3617
3618 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3619
3620         * config/h8300/h8300.c (shift_alg_qi): Use rotations when
3621         doing 6-bit logical shifts on H8/S.
3622         (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
3623         (get_shift_alg): Generate special code for 21-bit shifts on
3624         H8/S.
3625
3626 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3627
3628         * config/h8300/h8300.c (get_shift_alg): Remove a redundant
3629         label.
3630
3631 Mon Nov 12 11:58:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3632
3633         * alias.c (nonoverlapping_memrefs_p): Only update size from memref
3634         if both size and offset known.
3635
3636 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
3637
3638         * config/ia64/freebsd.h: Fix misspelling.
3639
3640 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3641
3642         * doc/gcc.texi: Move several chapters out to ...
3643         * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
3644         doc/include/linux-and-gnu.texi, doc/interface.texi,
3645         doc/makefile.texi, doc/passes.texi, doc/portability.texi:
3646         ... here.  New files.
3647         * doc/gcc.texi, doc/contrib.texi: Move section headings into
3648         contrib.texi.
3649         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3650
3651 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3652
3653         * config/alpha/alpha-interix.h: Fix comment formatting.
3654         * config/alpha/alpha.c: Likewise.
3655         * config/alpha/alpha.h: Likewise.
3656         * config/alpha/alpha32.h: Likewise.
3657         * config/alpha/freebsd.h: Likewise.
3658         * config/alpha/unicosmk.h: Likewise.
3659         * config/alpha/vms.h: Likewise.
3660
3661 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3662
3663         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3664
3665 2001-11-12  Jakub Jelinek  <jakub@redhat.com>
3666
3667         * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
3668         numbers.
3669
3670 Mon Nov 12 05:18:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3671
3672         * emit-rtl.c (set_mem_attributes): If making object, can set alignment
3673         from type.
3674         (replace_equiv_address): Call update_temp_slot_address.
3675
3676         * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
3677
3678         * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
3679
3680 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3681
3682         * config/h8300/h8300.c (shift_alg_qi): New.
3683         (shift_alg_hi): Likewise.
3684         (shift_alg_si): Likewise.
3685         (get_shift_alg): Change the type of count to unsigned int.
3686         Use the tables.
3687
3688 2001-11-11  Alexandre Oliva  <aoliva@redhat.com>
3689
3690         * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
3691         * c-decl.c (c_expand_body): Take argument can_defer_p.  Use it
3692         to decide whether to defer a function.
3693         (finish_function): Adjust.
3694         (c_expand_deferred_function): New function.
3695         * c-lang.c (deferred_fns): New variable.
3696         (c_init): Initialize it, and mark it as a root.
3697         (defer_fn): New function.
3698         (finish_file): Expand all deferred functions.
3699         * c-tree.h (defer_fn): Declare.
3700         (c_expand_deferred_function): Likewise.
3701         * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
3702         * objc-act.c (deferred_fns): New variable.
3703         (objc_init): Initialize it, and mark it as a root.
3704         (defer_fn): New function.
3705         (finish_file): Expand all deferred functions.
3706
3707 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3708
3709         * alpha.c (unicosmk_special_name): Prototype.
3710         (unicosmk_ssib_name): Delete unused variable.
3711         * alpha/unicosmk.h (common_section, ssib_section): Prototype.
3712         * alpha/vms.h (PREFIX): Undef before defining.
3713         * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
3714         * i370/i370.c (mvs_hash_alias): Prototype.  Wrap with macro
3715         controlling usage.  Const-ify.
3716         (alias_number): Delete unused variable.
3717         * m32r/m32r.c (m32r_sched_init): Add missing argument.
3718         (m32r_expand_block_move): Fix uninitialized warnings.
3719         * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
3720         always true' warnings.
3721         * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
3722         * sh/sh.c: Include "integrate.h".
3723         (output_far_jump): Fix uninitialized warning.
3724         * final.c (shorten_branches): Avoid automatic aggregate
3725         initialization.
3726         * integrate.c (subst_constants): Likewise.
3727
3728 2001-11-11  Kazu Hirata  <kazu@hxi.com>
3729
3730         * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
3731         (get_shift_alg): Remove redundant code.
3732
3733 2001-11-11  Kazu Hirata  <kazu@hxi.com>
3734
3735         * config/pa/milli64.S: Fix comment formatting.
3736         * config/pa/pa-64.h: Likewise.
3737         * config/pa/pa-linux.h: Likewise.
3738         * config/pa/pa-protos.h: Likewise.
3739         * config/pa/pa.c: Likewise.
3740         * config/pa/pa.h: Likewise.
3741         * config/pa/pa32-linux.h: Likewise.
3742         * config/pa/pa32-regs.h: Likewise.
3743         * config/pa/pa64-hpux.h: Likewise.
3744         * config/pa/pa64-regs.h: Likewise.
3745         * config/pa/som.h: Likewise.
3746
3747 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
3748
3749         * doc/gcc.texi: Move several chapters out to ...
3750         * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
3751         doc/service.texi, doc/standards.texi, doc/trouble.texi,
3752         doc/vms.texi: ... here.  New files.
3753         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3754
3755 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
3756
3757         * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
3758         cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
3759         collect2.c, combine.c, config.in, configure, configure.in,
3760         conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
3761         genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
3762         reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
3763         spelling errors.
3764
3765 Sun Nov 11 05:56:01 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3766
3767         * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
3768         Adjust operand number in CONST_DOUBLE.
3769
3770         * expmed.c (extract_bit_field): No longer pass in alignment.
3771         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3772         (store_bit_field, store_fixed_bit_field, store_split_bit_field):
3773         Likewise.
3774         * expr.c (store_constructor, store_constructor_field): Likewise.
3775         (store_field, emit_group_load, emit_group_store): Likewise.
3776         * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
3777         (store_bit_field, extract_bit_field): Likewise.
3778         * calls.c, expr.c, function.c: Change calls to above functions.
3779         * ifcvt.c, stmt.c: Likewise.
3780
3781         * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
3782         constant and one is on frame.
3783         If know memref offset, adjust size from decl.
3784
3785 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3786
3787         * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
3788         format specifier warning.
3789         * convex.h (ASM_OUTPUT_BYTE): Likewise.
3790         * elfos.h (ALIGN_ASM_OP): Undef before defining.
3791         * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
3792         warning.
3793         * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3794         * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3795         * i386-interix.h (gen_stdcall_suffix): Prototype.
3796         * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3797         * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3798         ASM_OUTPUT_LONG_DOUBLE): Likewise.
3799         * i386/interix.c (gen_stdcall_suffix): Const-ify.
3800         * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3801         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
3802         specifier warnings.
3803         * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3804         * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3805         ASM_OUTPUT_LONG_DOUBLE): Likewise.
3806         * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3807         * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3808         * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3809         * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3810         * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
3811         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
3812         * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3813         * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3814         Likewise.
3815         * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3816         Likewise.
3817         * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
3818         * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3819         ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
3820         Likewise.
3821         * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
3822         Likewise.
3823         * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3824         Likewise.
3825         * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
3826         * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3827         * m68k/news.h (PRINT_OPERAND): Likewise.
3828         * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3829         ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3830         * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3831         * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
3832         definition.
3833         * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3834         ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
3835         ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
3836         * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3837         * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
3838         ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
3839         PRINT_OPERAND): Likewise.
3840         * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3841         Likewise.
3842         * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3843         * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3844         * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
3845         * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3846         * mips.c (mips_output_external_libcall): Mark parameter with
3847         ATTRIBUTE_UNUSED.
3848         (mips_asm_file_start): Move variable into the scope where it's
3849         used.
3850         * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
3851         * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3852         * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
3853         * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3854         * ns32k.c (print_operand): Likewise.
3855         * pa.c (print_operand, output_div_insn): Likewise.
3856         * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
3857         ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
3858         * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
3859         * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3860         specifier warnings.
3861         * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3862         * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3863         (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
3864         * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3865         specifier warnings.
3866         * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3867
3868         * sdbout.c (sdbout_end_epilogue): Mark parameter with
3869         ATTRIBUTE_UNUSED.
3870         * varasm.c (assemble_global): Likewise.
3871
3872 2001-11-11  H.J. Lu <hjl@gnu.org>
3873
3874         * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
3875
3876 Sun Nov 11 01:26:00 CET 2001  Jan Hubicka  <jh@suse.cz>
3877
3878         * final.c (*_MAX_SKIP): Use *_max_skip variables.
3879         * flags.h (align_loops_max_skip, align_jumps_max_skip,
3880         align_labels_max_skip): New global variables.
3881         * toplev.c (align_loops_max_skip, align_jumps_max_skip,
3882         align_labels_max_skip): New global variables.
3883         (toplev_main): Set new variables.
3884         * i386.c (override_options): Set max_skip values.
3885
3886 2001-11-10  Geoffrey Keating  <geoffk@redhat.com>
3887
3888         * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
3889         * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
3890         * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
3891         don't print an @fptr for labels either.
3892         (xstormy16_output_addr_vec): Don't print @fptr here.
3893         * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
3894
3895 Sat Nov 10 08:50:50 2001  Jeffrey A Law  (law@cygnus.com)
3896
3897         * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
3898         an ANSI/ISO definitino.
3899         (ssa_const_prop): Likewise.
3900
3901 2001-11-10  Aldy Hernandez  <aldyh@redhat.com>
3902
3903         * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
3904         altivec registers.
3905
3906 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3907
3908         * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
3909         * cpplex.c (hex_digit_value): Use hex_p/hex_value.
3910         * cppmain.c (general_init): Call hex_init.
3911         * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
3912
3913         * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
3914
3915         * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
3916         of dgux.c:output_file_start().
3917
3918         * i386/dgux.c: Delete file.
3919
3920 2001-11-09  Richard Henderson  <rth@redhat.com>
3921
3922         * config/alpha/alpha.c (decl_in_text_section): New.
3923         (current_file_function_operand): Use it.
3924         (alpha_encode_section_info, alpha_end_function): Likewise.
3925
3926 2001-11-07  David O'Brien  <obrien@FreeBSD.org>
3927
3928         * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
3929         * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
3930         they are OS specific.  Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
3931         so OS specific files and use CPP_PREDEFINES for their needs.
3932         * config/i64/elf.h (TARGET_VERSION): Add.  Also, move inclusion of
3933         target headers to tm_file.
3934         * config/ia64/aix.h (TARGET_VERSION): Likewise.
3935         * config/ia64/hpux.h (TARGET_VERSION): Likewise.
3936         * config/ia64/linux.h (TARGET_VERSION): Likewise.
3937         (FUNCTION_PROFILER): Remove.
3938         * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
3939         version in config/ia64/linux.h.
3940         * config/ia64/freebsd.h: New file.
3941         * config/freebsd.h: Tidy up.
3942         (_USING_CONFIG_FREEBSD): Define.
3943         (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
3944         (FBSD_CPP_SPEC): Define generic FreeBSD spec.
3945         (FBSD_STARTFILE_SPEC): Likewise.
3946         (FBSD_ENDFILE_SPEC): Likewise.
3947         (FBSD_LIB_SPEC): Likewise.
3948         (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
3949         (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
3950         set an ELF-improper one.
3951
3952 2001-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3953
3954         * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
3955         constant can be loaded in a single instruction to a register.  When
3956         loading immediate constants, use PLUS instead of HIGH/LO_SUM.  Use
3957         depdi for insertion of most significant 32-bits on 64-bit hosts.
3958         * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
3959         with ldil/ldo/depdi instruction sequence on 64-bit hosts.
3960         * pa.md: New addmove pattern for adding constant_int to HImode
3961         register and moving result to HImode register.  Remove HImode HIGH
3962         and LO_SUM patterns.
3963
3964 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3965
3966         * Makefile.in: Update.
3967         * c-decl.c (print_lang_decl, print_lang_type): Remove.
3968         (print_lang_identifier): Rename c_print_identifier.
3969         * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3970         (print_lang_statistics, lang_print_xnode): Remove.
3971         * c-parse.in (set_yydebug): Rename c_set_yydebug.
3972         * c-tree.h (c_set_yydebug, c_print_identifier): New.
3973         * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
3974         LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
3975         LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
3976         LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3977         (LANG_HOOKS_INITIALIZER): Update.
3978         * langhooks.h (struct lang_hooks): New members.
3979         (lang_print_tree_hook): New.
3980         * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
3981         * print-tree.c: Include langhooks.h.
3982         (print_node): Update.
3983         * toplev.c (decode_d_option): Update.
3984         * tree.c: Include langhooks.h.
3985         (dump_tree_statistics): Update.
3986         * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
3987         print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
3988 objc:
3989         * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
3990         LANG_HOOKS_SET_YYDEBUG): Override.
3991         (lang_print_xnode, print_lang_statistics): Remove.
3992
3993 2001-11-09  Richard Henderson  <rth@redhat.com>
3994
3995         * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
3996         on the symbol string.
3997
3998 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3999
4000         * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
4001         ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
4002         * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
4003
4004         * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
4005
4006         * tlink.c (recompile_files): Copy strings passed to `putenv'.
4007
4008 2001-11-09  Geoffrey Keating  <geoffk@redhat.com>
4009
4010         * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
4011         (TYPE_READONLY): Likewise.
4012
4013         * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
4014
4015         * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
4016         don't pass --gdwarf2 to the assembler if the compiler will also
4017         provide debug info.
4018
4019         * config/stormy16/stormy16.c (xstormy16_expand_casesi):
4020         Don't change INDEX.
4021
4022 Fri Nov  9 17:51:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4023
4024         * alias.c (nonoverlapping_memrefs_p): New function.
4025         (true_dependence, canon_true_depenence, write_dependence_p): Call it.
4026
4027         * emit-rtl.c (set_mem_attributes): Get alignments for constants.
4028
4029 2001-11-09  Aldy Hernandez  <aldyh@redhat.com>
4030
4031         * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
4032         (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
4033         generating altivec code.
4034         (FIXED_REGISTERS): VRSAVE is fixed.
4035         (CALL_USED_REGISTERS): VRSAVE is call used.
4036
4037 2001-11-09  Jason Eckhardt  <jle@rice.edu>
4038
4039         * config/mips/mips.c (mips_output_conditional_branch): Do not hard
4040         code the branch target as ".+16/.+12", but rather use labels.
4041
4042 Fri Nov  9 11:27:42 2001  Jeffrey A Law  (law@cygnus.com)
4043
4044         * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
4045         to work around limitations of certain versions of GAS.
4046
4047         * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
4048         (muldi3): Update due to SUBREG_BYTE changes.
4049         (casesi): Similarly.
4050
4051 2001-11-09  Zack Weinberg  <zack@codesourcery.com>
4052
4053         * doc/invoke.texi: Remove comment referring to -xf77-version.
4054
4055 2001-11-09  Kazu Hirata  <kazu@hxi.com>
4056
4057         * config/convex/convex.c: Fix comment formatting.
4058         * config/convex/convex.h: Likewise.
4059
4060 2001-11-08  Zack Weinberg  <zack@codesourcery.com>
4061
4062         * Makefile.in (.po.pox): Look both in srcdir and builddir
4063         for $(PACKAGE).pot.
4064         (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
4065         to the source directory.
4066
4067 2001-11-09 Ben Elliston  <bje@redhat.com>
4068            Michael Meissner  <meissner@redhat.com>
4069            Andrew MacLeod  <amacleod@redhat.com>
4070            Richard Henderson  <rth@redhat.com>
4071            Nick Clifton  <nickc@redhat.com>
4072            Catherine Moore  <clm@redhat.com>
4073
4074         * m32r.c: Add support for m32rx processor.
4075         * m32r.h: Ditto.
4076         * m32r.md: Ditto.
4077         * t-m32r: Ditto.
4078         * m32r-protos.h: Add prototypes for m32rx functions.
4079         * doc/invoke.texi: Document -m32rx option.
4080
4081 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
4082
4083         * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
4084         or after reload.
4085
4086 2001-11-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4087
4088         * doc/install.texi2html: Use $MAKEINFO --no-split.
4089
4090 2001-11-09  Andreas Schwab  <schwab@suse.de>
4091
4092         * Makefile.in ($(HOST_PREFIX_1)rtl.o,
4093         $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
4094         $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
4095         $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
4096         $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
4097
4098 2001-11-09  H.J. Lu <hjl@gnu.org>
4099
4100         * config/mips/mips.c (mips_output_function_prologues): Cast
4101         `tsize' to long for output.
4102
4103 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
4104
4105         * c-lang.c (LANG_HOOKS_NAME): New.
4106         (lang_hooks): Constify.
4107         (c_init_options): Update.
4108         (lang_identify): Remove.
4109         * c-parse.in (language_string): Remove.
4110         * dbxout.c: Include langhooks.h.
4111         (dbxout_symbol_location): Update.
4112         * dwarf2out.c: Include langhooks.h.
4113         (gen_compile_unit_die): Update.
4114         * dwarfout.c: Include langhooks.h.
4115         (prototyped_attribute, output_compile_unit_die): Update.
4116         * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
4117         (LANG_HOOKS_INITIALIZER): Update.
4118         * langhooks.h (struct lang_hooks): New members.  Constify.
4119         * stringpool.c: Don't include toplev.h.
4120         (set_identifier_size): Remove.
4121         * toplev.c (toplev_main): Initialize identifier size.
4122         (print_version): Update.
4123         * tree.h (language_string, init_lex, lang_identify,
4124         set_identifier_size): Remove.
4125         * Makefile.in: Update dependencies.
4126         * config/darwin.c: Include langhooks.h.
4127         (func_name_maybe_scoped): Update.
4128         * config/darwin.h (ASM_END_FILE): Update.
4129         * config/nextstep.h (ASM_END_FILE): Update.
4130         * config/nextstep21.h (ASM_END_FILE): Update.
4131         * config/i386/sun386.h (ASM_END_FILE): Update.
4132         * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
4133         (rs6000_output_function_epilogue): Update.
4134 objc:
4135         * objc-act.c (LANG_HOOKS_NAME): Override.
4136         (struct lang_hooks): Constify.
4137         (objc_init_options): Update.
4138         (lang_identify): Remove.
4139
4140 Fri Nov  9 00:25:18 EST 2001  John Wehle  (john@feith.com)
4141
4142         * fold-const.c (lshift_double): Honor PREC.
4143         (rshift_double): Likewise.
4144
4145 2001-11-08  Kazu Hirata  <kazu@hxi.com>
4146
4147         * config/1750a/1750a.c: Fix comment formatting.
4148         * config/1750a/1750a.h: Likewise.
4149
4150 2001-11-08  Phil Edwards  <pedwards@disaster.jaj.com>
4151
4152         * configure.in (--enable-languages): Be more permissive about
4153         syntax.  Check for empty lists better.  Warn about $LANGUAGES.
4154         * configure: Regenerated.
4155
4156 2001-11-08  Richard Henderson  <rth@redhat.com>
4157
4158         * dwarf2asm.c (dw2_force_const_mem): Fix typo.
4159
4160 2001-11-08  Geoffrey Keating  <geoffk@redhat.com>
4161
4162         * config.gcc: Rename stormy16 to xstormy16.
4163         * config/stormy16/stormy-abi: Likewise.
4164         * config/stormy16/stormy16-protos.h: Likewise.
4165         * config/stormy16/stormy16.c: Likewise.
4166         * config/stormy16/stormy16.h: Likewise.
4167         * config/stormy16/stormy16.md: Likewise.
4168
4169 2001-11-06  Geoffrey Keating  <geoffk@redhat.com>
4170
4171         * tree.h (TYPE_VOLATILE): Add enable-checking code.
4172         (TYPE_READONLY): Likewise.
4173
4174 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4175
4176         * reload1.c (reload): Don't delete equiv insn if can throw.
4177
4178         * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
4179         (clear_storage): Likewise, for OBJECT.
4180
4181 Thu Nov  8 16:23:51 2001  Jeffrey A Law  (law@cygnus.com)
4182
4183         * pa.c (emit_move_sequence): Fix SUBREG expression to
4184         use proper byte offset when extending a constant from
4185         SImode to DImode.
4186
4187 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
4188
4189         * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
4190         which cannot throw.
4191
4192 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4193
4194         * explow.c (convert_memory_address, case SUBREG): Only return
4195         inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
4196
4197 2001-11-08  Richard Henderson  <rth@redhat.com>
4198
4199         * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
4200         (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
4201         (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
4202
4203 2001-11-08  Aldy Hernandez  <aldyh@redhat.com>
4204
4205         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
4206
4207 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
4208
4209         * dwarf2out.c (debug_str_hash): New.
4210         (struct indirect_string_node): New.
4211         (struct dw_val_struct): Change type of val_str to it.
4212         (DEBUG_STR_SECTION_FLAGS): Define.
4213         (add_AT_string): Push string into hashtable, increment reference
4214         counter.
4215         (AT_string): Return string from ht_identifier.
4216         (AT_string_form): New.
4217         (free_AT): For dw_val_class_str, just decrement reference counter.
4218         (size_of_string): Remove.
4219         (size_of_die): Use AT_string_form to decide what size the string
4220         occupies in DIE.
4221         (size_of_pubnames): Use strlen instead of size_of_string.
4222         (value_format): Use AT_string_form for dw_val_class_str.
4223         (output_die): Output DW_FORM_strp strings using
4224         dw2_asm_output_offset.
4225         (indirect_string_alloc, output_indirect_string): New.
4226         (dwarf2out_finish): Emit .debug_str strings if there are any.
4227
4228 2001-11-08  Andreas Franck  <afranck@gmx.de>
4229
4230         * configure.in: Add AC_ARG_PROGRAM to support program name
4231         transformation with --program-prefix, --program-suffix and
4232         --program-transform-name.
4233         * configure: Regenerated.
4234         * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
4235         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
4236         GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
4237         PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
4238         program_transform_name the way suggested by autoconf.
4239         (GCC_TARGET_INSTALL_NAME): Define.
4240         (install-driver): Use the transformed target alias name.
4241
4242 2001-11-08  Richard Henderson  <rth@redhat.com>
4243
4244         * config/mips/mips.c (save_restore_insns): Remove GP from the
4245         restore registers mask early instead of special casing it inside
4246         the loop.
4247
4248 2001-11-08  Neil Booth  <neil@daikokuya.demon.co.uk>
4249
4250         * cp/decl.c (shadow_warning): New function.
4251         (pushdecl): Improve -Wshadow warnings.  Don't give both a warning
4252         and an error when a block scope decl shadows a parameter.
4253
4254 2001-11-08  Richard Henderson  <rth@redhat.com>
4255
4256         * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
4257         case as well.
4258
4259 2001-11-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4260
4261         * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
4262         to implement floating negation on processors prior to PA 2.0.
4263
4264 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
4265
4266         * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
4267         (USE_LINKONCE_INDIRECT): Define.
4268         (dw2_output_indirect_constant_1): Try to output indirect constants
4269         into linkonce sections if possible.
4270         (dw2_force_const_mem): Likewise.  Register indirect_pool with GGC.
4271         (dw2_output_indirect_constants): Likewise.
4272
4273 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
4274
4275         * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
4276
4277 2001-11-07  Neil Booth  <neil@daikokuya.demon.co.uk>
4278
4279         * c-decl.c (pushdecl): Remove file and line.
4280         * c-typeck.c (pop_init_level): Remove size.
4281
4282 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
4283
4284         * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
4285         for rs6000.
4286
4287         * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
4288         (TARGET_ALTIVEC): New.
4289         (TARGET_SWITCHES): Add altivec.
4290         (FIRST_PSEUDO_REGISTER): Change to 109.
4291         (CALL_USED_REGISTERS): Same.
4292         (FIRST_ALTIVEC_REGNO): New.
4293         (LAST_ALTIVEC_REGNO): New.
4294         (ALTIVEC_REGNO_P): New.
4295         (UNITS_PER_ALTIVEC_WORD): New.
4296         (ALTIVEC_VECTOR_MODE): New.
4297         (FIXED_REGISTERS): Add altivec registers.
4298         (REG_ALLOC_ORDER): Same.
4299         (HARD_REGNO_NREGS): Adjust for altivec registers.
4300         (HARD_REGNO_MODE_OK): Same.
4301         (MODES_TIEABLE_P): Same.
4302         (REGISTER_MOVE_COST): Same.
4303         (REGNO_REG_CLASS): Same.
4304         (reg_class): Add ALTIVEC_REGS.
4305         (REG_CLASS_NAMES): Same.
4306         (REG_CLASS_CONTENTS): Same.
4307         (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
4308         (ALTIVEC_ARG_RETURN): New.
4309         (FUNCTION_VALUE): Handle VECTOR_TYPE.
4310         (LIBCALL_VALUE): Handle altivec vector modes.
4311         (VECTOR_MODE_SUPPORTED_P): New.
4312         (ALTIVEC_ARG_MIN_REG): New.
4313         (ALTIVEC_ARG_MAX_REG): New.
4314         (ALTIVEC_ARG_NUM_REG): New.
4315         (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
4316         (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
4317         (REGISTER_NAMES): Add altivec regs.
4318         (DEBUG_REGISTER_NAMES): Same.
4319         (ADDITIONAL_REGISTER_NAMES): Same.
4320         (rs6000_builtins): New.
4321         (MD_EXPAND_BUILTIN): New.
4322         (MD_INIT_BUILTINS): New.
4323         (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
4324         for AltiVec instructions.
4325         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
4326         (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
4327         registers.
4328         (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
4329         (TARGET_SWITCHES): Add no-altivec.
4330         (DATA_ALIGNMENT): Align vectors to 128 bits.
4331         (TARGET_OPTIONS): Add abi= option.
4332         Add rs6000_abi_string extern.
4333         (LOCAL_ALIGNMENT): New.
4334         (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
4335         (MASK_ALTIVEC_ABI): New.
4336         (TARGET_ALTIVEC_ABI): New.
4337         (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
4338         call-saved.
4339         (STACK_BOUNDARY): Adjust for altivec.
4340         (BIGGEST_ALIGNMENT): Same.
4341         (rs6000_args): Add vregno.
4342         (USE_ALTIVEC_FOR_ARG_P): New.
4343         (FIXED_REGISTERS): Add vrsave register.
4344         (CALL_USED_REGISTERS): Same.
4345         (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
4346         (VRSAVE_REGNO): New.
4347         (reg_class): Add VRSAVE_REGS.
4348         (REG_CLASS_NAMES): Same.
4349         (REG_CLASS_CONTENTS): Same.
4350         (REGNO_REG_CLASS): Same.
4351
4352         * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
4353         (ABI_STACK_BOUNDARY): Same.
4354         (BIGGEST_ALIGNMENT): Same.
4355         (ADJUST_FIELD_ALIGN): Remove undef.  Define anew.
4356         (ROUND_TYPE_ALIGN): Same.
4357
4358         * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
4359         to 64.
4360
4361         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
4362         to 64.
4363
4364         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
4365         to 64.
4366
4367         * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
4368         (altivec_expand_builtin): New.
4369         (altivec_init_builtins): New.
4370         (TARGET_EXPAND_BUILTIN): New.
4371         (TARGET_INIT_BUILTINS): New.
4372         (rs6000_init_builtins): New.
4373         (struct builtin_description): New.
4374         (bdesc_2arg): New.
4375         (rs6000_reg_names): Add altivec registers.
4376         (alt_reg_names): Same.
4377         (secondary_reload_class): Altivec regs can hold altivec regs and
4378         memory.
4379         (rs6000_emit_move): Force constants into memory for AltiVec moves.
4380         (print_operand): Add 'y' case for printing altivec memory
4381         operands.
4382         (rs6000_legitimize_address): Legitimize vector addresses into
4383         [REG+REG] or [REG].
4384         (altivec_expand_binop_builtin): New.
4385         New string rs6000_current_abi.
4386         (rs6000_override_options): Call rs6000_parse_abi_options.
4387         (rs6000_parse_abi_options): New.
4388         (function_arg_boundary): Vector arguments must be 16
4389         byte aligned.
4390         (function_arg_advance): Handle vector arguments.
4391         (function_arg_partial_nregs): Same.
4392         (init_cumulative_args): Same.
4393         (function_arg): Same.
4394
4395         * config/rs6000/rs6000.md (altivec_lvx): New.
4396         (type): Add altivec attribute.
4397         (movv4si): New.
4398         (*movv4si_internal): New.
4399         (movv16qi): New.
4400         (*movv16qi_internal): New.
4401         (movv8hi): New.
4402         (*movv8hi_internal1): New.
4403         (movv4sf): New.
4404         (*movv4sf_internal1): New.
4405         (altivec_stvx): New.
4406         (vaddubm): New.
4407         (vadduhm): New.
4408         (vadduwm): New.
4409         (vaddfp): New.
4410         (vaddcuw): New.
4411         (vaddubs): New.
4412         (vaddsbs): New.
4413         (vadduhs): New.
4414         (vaddshs): New.
4415         (vadduws): New.
4416         (vaddsws): New.
4417         (vand): New.
4418         (vandc): New.
4419         (vavgub): New.
4420         (vavgsb): New.
4421         (vavguh): New.
4422         (vavgsh): New.
4423         (vavguw): New.
4424         (vavgsw): New.
4425         (vcmpbfp): New.
4426         (vcmpequb): New.
4427         (vcmpequh): New.
4428         (vcmpequw): New.
4429         (vcmpeqfp): New.
4430         (vcmpgefp): New.
4431         (vcmpgtub): New.
4432         (vcmpgtsb): New.
4433         (vcmpgtuh): New.
4434         (vcmpgtsh): New.
4435         (vcmpgtuw): New.
4436         (vcmpgtsw): New.
4437         (vcmpgtfp): New.
4438         (vcmpgefp): New.
4439         (vcmpgtub): New.
4440         (vcmpgtsb): New.
4441         (vcmpgtuh): New.
4442         (vcmpgtsh): New.
4443         (vcmpgtuw): New.
4444         (vcmpgtsw): New.
4445         (vcmpgtfp): New.
4446         (vmaxub): New.
4447         (vmaxsb): New.
4448         (vmaxuh): New.
4449         (vmaxsh): New.
4450         (vmaxuw): New.
4451         (vmaxsw): New.
4452         (vmaxfp): New.
4453         (vmrghb): New.
4454         (vmrghh): New.
4455         (vmrghw): New.
4456         (vmrglb): New.
4457         (vmrglh): New.
4458         (vmrglw): New.
4459         (vminub): New.
4460         (vminsb): New.
4461         (vminuh): New.
4462         (vminsh): New.
4463         (vminuw): New.
4464         (vminsw): New.
4465         (vminfp): New.
4466         (vmuleub): New.
4467         (vmulesb): New.
4468         (vmuleuh): New.
4469         (vmulesh): New.
4470         (vmuloub): New.
4471         (vmulosb): New.
4472         (vmulouh): New.
4473         (vmulosh): New.
4474         (vnor): New.
4475         (vor): New.
4476         (vpkuhum): New.
4477         (vpkuwum): New.
4478         (vpkpx): New.
4479         (vpkuhss): New.
4480         (vpkshss): New.
4481         (vpkuwss): New.
4482         (vpkswss): New.
4483         (vpkuhus): New.
4484         (vpkshus): New.
4485         (vpkuwus): New.
4486         (vpkswus): New.
4487         (vrlb): New.
4488         (vrlh): New.
4489         (vrlw): New.
4490         (vslb): New.
4491         (vslh): New.
4492         (vslw): New.
4493         (vsl): New.
4494         (vslo): New.
4495         (vsrb): New.
4496         (vrsh): New.
4497         (vrsw): New.
4498         (vsrab): New.
4499         (vsrah): New.
4500         (vsraw): New.
4501         (vsr): New.
4502         (vsro): New.
4503         (vsububm): New.
4504         (vsubuhm): New.
4505         (vsubuwm): New.
4506         (vsubfp): New.
4507         (vsubcuw): New.
4508         (vsububs): New.
4509         (vsubsbs): New.
4510         (vsubuhs): New.
4511         (vsubshs): New.
4512         (vsubuws): New.
4513         (vsubsws): New.
4514         (vsum4ubs): New.
4515         (vsum4sbs): New.
4516         (vsum4shs): New.
4517         (vsum2sws): New.
4518         (vsumsws): New.
4519         (vxor): New.
4520
4521 2001-11-07  Daniel Berlin  <dan@cgsoftware.com>
4522
4523         * Makefile.in (df.o): Add fibheap.h to dependencies.
4524
4525         * df.h: Add prototypes for transfer functions, iterative_dataflow
4526         functions.
4527         (enum df_flow_dir): New enum.
4528         (enum df_confluence_op): New enum.
4529         (struct df): Add inverse_rts_map.
4530
4531         * df.c: Add sbitmap.h to the list of includes.
4532         (df_rd_global_compute): Removed.
4533         (df_ru_global_compute): Removed.
4534         (df_lr_global_compute): Removed.
4535         (df_rd_transfer_function): New function.
4536         (df_ru_transfer_function): New function.
4537         (df_lr_transfer_function): New function.
4538         (df_analyse_1): allocate/compute/free df->inverse_rts_map.
4539         Use iterative_dataflow_bitmap instead of df_*_global_compute.
4540         (iterative_dataflow_sbitmap): New function.
4541         (iterative_dataflow_bitmap): New function.
4542
4543 2001-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4544
4545         * doc/gcc.texi: Move terminology and spelling conventions to
4546         htdocs/codingconventions.html.
4547
4548 2001-11-07  Graham Stott  <grahams@redhat.com>
4549
4550         * cse.c (cse_insn): Emit BARRIER after unconditional jump.
4551
4552 Wed Nov  7 13:33:34 CET 2001  Jan Hubicka  <jh@suse.cz>
4553
4554         * expmed.c (expand_mult): Force operand to register before computing
4555         cost.
4556         * i386.c (x86_decompose_lea): New global vairable.
4557         * i386.h (x86_decompose_lea): Declare.
4558         (TARGET_DECOMPOSE_LEA): New macro.
4559         (RTX_COST): Handle leas properly.
4560
4561 2001-11-06  Richard Henderson  <rth@redhat.com>
4562
4563         * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
4564         defined for a CONSTRUCTOR; don't check it.
4565
4566 2001-11-06  Danny Smith  <dannysmith@users.sourceforge.net>
4567
4568         * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
4569         test for absolute pathnames.
4570
4571 2001-11-06  Olivier Hainque <hainque@act-europe.fr>
4572
4573         * unwind-dw2.c (execute_cfa_program): Evaluate call frame
4574         instructions up to the target pc inclusive.
4575
4576 2001-11-06  Steve Christiansen  <smc@us.ibm.com>
4577
4578         * loop.c (loop_regs_scan):  Don't invalidate PIC register.
4579
4580 2001-11-06  Eric Christopher  <echristo@redhat.com>
4581
4582         * config/mips/mips.md(movdf_internal2): Add constraints for float
4583         to general register move.
4584         * config/mips/elf64.h: Add default ABI.
4585
4586 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
4587
4588         * alias.c:: Include langhooks.h.
4589         * emit-rtl.c: Similarly.
4590         * toplev.c: Similarly.
4591         * tree-inline.c: Similarly.
4592         * langhooks-def.h: New, the old langhooks.h.  Give the default
4593         hooks a common prefix.
4594         * langhooks.h: Contents extracted from toplev.h.
4595         * toplev.h: Move langhook stuff to langhooks.h.
4596         * langhooks.c: Give default hooks a common prefix.
4597
4598         * c-lang.c: Include langhooks-def.h.
4599         * objc/objc-act.c: Similarly.
4600         * Makefile.in: Update.
4601         * objc/Make-lang.in: Update.
4602
4603 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
4604
4605         * doc/install.texi: Document that configure options not listed in
4606         this file are unsupported.  Document --with-system-zlib.
4607
4608 Tue Nov  6 09:21:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4609
4610         * rtl.h (mem_for_const_double): New declaration.
4611         * varasm.c (mem_for_const_double): New function.
4612         * config/convex/convex.md (movdf): Use it.
4613         * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
4614         * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
4615         * config/m68k/m68kv4.h: Likewise.
4616
4617         * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
4618         of new GP reg classes.
4619
4620         * expr.c (store_field): When making temp object for unaligned
4621         component, set it to alias set 0.
4622
4623 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
4624
4625         * c-common.c (c_expand_expr_stmt): Apply default conversions to
4626         non-lvalue arrays if C99.
4627         * c-typeck.c (default_conversion): Split out code handling
4628         array-to-pointer and function-to-pointer conversions into a
4629         separate default_function_array_conversion function.
4630         (default_function_array_conversion): New function.  Keep track of
4631         whether any NON_LVALUE_EXPRs were stripped.  Return non-lvalue
4632         arrays unchanged outside C99 mode instead of giving an error for
4633         them.
4634         (build_component_ref): Use pedantic_non_lvalue when handling
4635         COMPOUND_EXPR.  Don't handle COND_EXPR specially.
4636         (convert_arguments): Use default_function_array_conversion.
4637         (build_unary_op): For ADDR_EXPR, take a flag indicating whether
4638         non-lvalues are OK.
4639         (unary_complex_lvalue): Likewise.
4640         (internal_build_compound_expr): Use
4641         default_function_array_conversion.  Apply default conversions to
4642         function in compound expression.
4643         (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
4644         Use default_function_array_conversion.
4645         * doc/extend.texi: Update documentation of subscripting non-lvalue
4646         arrays.
4647         Fixes PR c/461.
4648
4649 2001-11-05  Zack Weinberg  <zack@codesourcery.com>
4650
4651         * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
4652         (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
4653         corresponding to the complete set of .po and .gmo files in
4654         the source directory's po subdir, modified by LINGUAS.  Don't
4655         look at ALL_LINGUAS.
4656         * configure.in: Don't set ALL_LINGUAS.
4657         * configure: Regenerate.
4658
4659         * Makefile.in (.po.gmo): Don't move into source directory.
4660         (.po.pox): Clarify comments.
4661         (install-po): Look for .gmo files in both srcdir and objdir;
4662         don't fail if a file is totally missing.
4663         (distclean): rmdir ada subdirectory too.
4664
4665 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
4666
4667         * config/rs6000/rs6000.c (rs6000_select_section): Handle
4668         CONSTRUCTORs _correctly_.
4669
4670 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
4671
4672         * c-decl.c (delete_block): Remove.
4673         * c-tree.h (delete_block): Remove.
4674
4675 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
4676
4677         * cppexp.c (lex, parse_defined): Update warning about defined.
4678
4679 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
4680
4681         * config/rs6000/rs6000.c (rs6000_select_section): Handle
4682         CONSTRUCTORs too.
4683
4684 2001-11-05  Nick Clifton  <nickc@cambridge.redhat.com>
4685
4686         * config/arm/arm.c (arm_return_in_memory): Cope with
4687         int_size_in_bytes returning -1.
4688
4689         * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
4690         DECL being NULL.
4691
4692 Mon Nov  5 16:15:25 CET 2001  Jan Hubicka  <jh@suse.cz>
4693
4694         * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
4695         remove unneeded dependencies;
4696         (cfglayout.o): New.
4697         * cfglayout.c, cfglayout.h: New files; break out from ...
4698         * bb-reorder.c: ... here; Remove unneeded includes;
4699
4700 2001-11-04  Alan Modra  <amodra@bigpond.net.au>
4701
4702         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
4703
4704 2001-11-04  David Edelsohn  <edelsohn@gnu.org>
4705
4706         * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
4707         mode as well.  Do not explicitly create intermediate regs.
4708
4709 2001-11-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4710
4711         * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
4712         (common_section): Delete unused variable.
4713         (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
4714         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4715         * arm-protos.h (arm_poke_function_name, aof_add_import,
4716         aof_delete_import): Const-ify.
4717         * arm.c (legitimize_pic_address): Wrap variables in the macro
4718         controlling their usage.
4719         (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
4720         (arm_poke_function_name, pic_chain, import, aof_add_import,
4721         aof_delete_import): Const-ify.
4722         * i386.c (ix86_osf_output_function_prologue): Const-ify.
4723         * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4724         ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
4725         * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
4726         * i860/sysv3.h: Add missing comment closure.
4727         * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
4728         * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
4729         to symbolic_operand.
4730
4731         * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
4732         (i960-*-*): Set tmake_file.
4733         (sparc86x-*-elf*): Fix typo in header name.
4734
4735         * sched-rgn.c (schedule_insns): Delete unused variable.
4736
4737 2001-11-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
4738
4739         PR c/2820
4740         * c-typeck.c (lookup_field): Rework to return a chain down to
4741         the looked-up field.
4742         (build_component_ref): Use the new lookup_field to handle
4743         nested anonymous entities correctly.
4744
4745 Sun Nov  4 11:53:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4746
4747         * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
4748         Change parameters to gen_rtx_CONST_DOUBLE.
4749         (GEN_INT64, sparc_emit_set_const64): Likewise.
4750         * config/sparc/sparc.md (movdf split): Likewise.
4751
4752 2001-11-03  Geoffrey Keating  <geoffk@redhat.com>
4753
4754         * unroll.c (calculate_giv_inc): Use find_last_value rather
4755         than just hoping the last instruction is the right SET.
4756         [Fixes 990604-1.c on stormy16.]
4757
4758         * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
4759         library at all if -T is used.
4760
4761         * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
4762         some uses of uninitialized variables in error cases.
4763
4764         * config/stormy16/stormy16.c (stormy16_output_shift): Don't
4765         look at 'temp' if we won't be using it.
4766
4767         * config/stormy16/stormy16.h (CONST_COSTS): Define.
4768         (RTX_COSTS): Define.
4769         (ADDRESS_COST): Define.
4770         (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
4771
4772         * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
4773
4774         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
4775         stormy16_asm_output_mi_thunk.
4776         * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
4777         function.
4778         * config/stormy16/stormy16-protos.h
4779         (stormy16_asm_output_mi_thunk): New prototype.
4780
4781 2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
4782
4783         * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
4784         FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
4785         caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
4786         cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
4787         sched-int.h, toplev.c, config/alpha/alpha.c,
4788         config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
4789         config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
4790         config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
4791         config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
4792         config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
4793         config/ns32k/ns32k.md, config/rs6000/rs6000.c,
4794         config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
4795
4796 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4797
4798         * Makefile.in (dbxout.o): Depend on function.h.
4799         * collect2.c (is_in_list): Hide unused function.
4800         * dbxout.c: Include function.h.
4801         (source_label_number, dbxout_source_line, dbxout_source_file,
4802         dbxout_function_end, dbxout_begin_function): Wrap/move inside
4803         macros controlling usage.
4804         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
4805         * output.h (exports_section): Prototype.
4806
4807         * convex.c (convex_output_function_prologue): Fix format specifier
4808         warning.
4809         (asm_declare_function_name): Fix signed/unsigned warning.
4810         (print_operand): Fix format specifier warning.
4811         * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
4812         * dsp16xx-protos.h (uns_comparison_operator,
4813         num_1600_core_shifts): Prototype.
4814         * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
4815         (frame_size, frame_pointer_offset): Delete.
4816         (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
4817         Make static.  Fix format specifier warnings.
4818         * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
4819         (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
4820         * dsp16xx.md: Add default case in switches.
4821         * fr30.h (IN_RANGE): Delete.
4822         * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4823         * mcore-protos.h (mcore_output_cmov): Const-ify.
4824         * mcore.c (mcore_output_cmov): Likewise.
4825         * mcore.h (switch_to_section): Make static and prototype.
4826         * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
4827         unsigned>=0 warnings.
4828         * mn10300.h (REGNO_IN_RANGE_P): Likewise.
4829         * rs6000-protos.h (read_only_data_section,
4830         read_only_private_data_section): Prototype.
4831         * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4832         * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
4833         * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
4834
4835 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4836
4837         * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
4838         ATTRIBUTE_UNUSED.
4839         * final.c (final_scan_insn): Add brackets around body of if-stmt.
4840         * gcc.c (convert_filename): Add static prototype.  Const-ify.
4841         Wrap variable in macros controlling its use.
4842         * output.h (sdata_section): Add prototype.
4843
4844         * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4845         (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
4846         * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
4847         (ASM_FILE_START): Const-ify.
4848         (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
4849         specifier warning.
4850         * c4x.md: Don't use the 'U' integer suffix.
4851         * clipper.md (clipper_movstr): Delete declaration.
4852         * d30v-protos.h (d30v_move_2words): Const-ify.
4853         (debug_stack_info): Add prototype.
4854         * d30v.c: Include "integrate.h".
4855         (d30v_function_arg_boundary, d30v_function_arg,
4856         d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
4857         signed/unsigned warnings.
4858         (d30v_print_operand_memory_reference, d30v_move_2words):
4859         Const-ify.
4860         * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
4861         * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
4862         * fr30.md: Const-ify.
4863         * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4864         * i370.c (i370_label_scan, mvs_get_label): Make definition static.
4865         (mvs_get_label_page): Hide unused static function.
4866         * i860.c (current_function_original_name): Const-ify.
4867         * i860/sysv3.h (current_function_original_name): Likewise.
4868         * i860/sysv4.h (current_function_original_name): Likewise.
4869         * i960.md: Add default case in switches.  Remove unused variable.
4870         * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
4871         * m32r.md: Const-ify.
4872         * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
4873         * m68hc11.c: Include "reload.h".
4874         (static_chain_reg, print_options, m68hc11_asm_file_start):
4875         Const-ify.
4876         * m68hc11.md: Delete unused variable.  Const-ify.  Add parens
4877         around & in comparison.
4878         * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4879         * mn10200.c (shift_mode): Remove trailing comma.
4880         * mn10300-protos.h (output_tst): Const-ify.
4881         * mn10300.c (output_tst): Likewise.
4882         * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
4883         warnings.
4884         * pa-protos.h (output_ascii): Use regular char *, not unsigned.
4885         * pa.c (output_ascii): Likewise.
4886         * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4887         * pdp11.md (expand_unop): Delete declarations.
4888         * pj-protos.h (pj_output_addsi3): Const-ify.
4889         * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
4890         pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
4891         unique_src_operand): Add prototypes.
4892         (pj_output_store_into_lval): Make definition static.
4893         (pj_function_incoming_arg): Don't use unary plus.
4894         (pj_output_addsi3): Const-ify.
4895         * romp.md (get_symref): Delete declarations.
4896         * v850-c.c (mark_current_function_as_interrupt): Don't return
4897         value from void function.
4898         * v850.c: Include "integrate.h".
4899         * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
4900         * vax-protos.h (const_section): Add prototype.
4901
4902 2001-11-03  Aldy Hernandez  <aldyh@redhat.com>
4903
4904         * machmode.def: Add documentation for the seventh argument in
4905         vector modes.
4906
4907 2001-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
4908
4909         * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
4910         consistently.
4911         <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
4912         <-melf>: Don't have markup for ELF acronym.
4913
4914 2001-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
4915
4916         * config.gcc (mmix-*-*): New target.
4917         * doc/invoke.texi: Document MMIX options.
4918         * doc/contrib.texi: Add note about MMIX port to my entry.
4919         * config/mmix/t-mmix: New file.
4920         * config/mmix/mmix.h: New file.
4921         * config/mmix/mmix-protos.h: New file.
4922         * config/mmix/mmix.c: New file.
4923         * config/mmix/mmix.md: New file.
4924         * config/mmix/crti.asm: New file.
4925         * config/mmix/crtn.asm: New file.
4926
4927 2001-11-03  Kazu Hirata  <kazu@hxi.com>
4928
4929         * config/sparc/linux-aout.h: Fix comment formatting.
4930         * config/sparc/linux.h: Likewise.
4931         * config/sparc/linux64.h: Likewise.
4932         * config/sparc/lynx.h: Likewise.
4933         * config/sparc/pbd.h: Likewise.
4934         * config/sparc/sol2-sld-64.h: Likewise.
4935         * config/sparc/sol2.h: Likewise.
4936         * config/sparc/sparc.c: Likewise.
4937         * config/sparc/sparc.h: Likewise.
4938         * config/sparc/sparc.md: Likewise.
4939         * config/sparc/sunos4.h: Likewise.
4940         * config/sparc/vxsim.h: Likewise.
4941         * config/sparc/vxsparc.h: Likewise.
4942         * config/sparc/vxsparc64.h: Likewise.
4943
4944 Sat Nov  3 10:37:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4945
4946         * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
4947         reference to CONST_DOUBLE_MEM in comment.
4948         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
4949         (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
4950         (init_emit_once): Don't clear CONST_DOUBLE_MEM.
4951         * function.c (pop_function_context_from): Don't call
4952         restore_varasm_status.
4953         * function.h (restore_varasm_status): Delete declaration.
4954         * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
4955         * rtl.c: Likewise.
4956         * rtl.def (CONST_DOUBLE): Update comment.
4957         * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
4958         (CONST_DOUBLE_CHAIN): Likewise.
4959         (CONST_DOUBLE_MEM): Delete.
4960         (gen_rtx_CONST_DOUBLE): Update parameters.
4961         * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
4962         Remove reference to CONST_DOUBLE_MEM.
4963         (const_alias_set): New variable.
4964         (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
4965         (immed_real_const_1): Adjust tests for 0, 1, and 2.
4966         Don't set CONST_DOUBLE_MEM.
4967         (clear_const_double_mem): Don't do anything with const_tiny_rtx.
4968         (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
4969         Put constant in const_alias_set.
4970         (struct pool_constant): ALIGN now unsigned.
4971         OFFSET now HOST_WIDE_INT.
4972         Delete LABEL.
4973         (restore_varasm_status): Deleted.
4974         (mark_pool_constant): Mark desc->rtl.
4975         (force_const_mem): Rework to store rtl in hash table,
4976         not CONST_DOUBLE_MEM.
4977         Put constant in const_alias_set.
4978         (find_pool_constant): Check desc->rtl.
4979         (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
4980         (init_varasm_once): Initialize const_alias_set.
4981
4982         * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
4983         force_const_mem.
4984
4985         * reload.c (combine_reloads): Don't combine an output reload if there
4986         are other reloads around for part of the output.
4987
4988         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
4989         constant expression.
4990         (set_mem_decl): New function.
4991         * expr.h (set_mem_decl): New declaration.
4992         * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
4993         (output_asm_operand_names): Add tab.
4994         * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
4995
4996         * builtins.c (get_memory_rtx): Properly set MEM alias set and
4997         attributes.
4998
4999 2001-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
5000
5001         * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
5002         Use "invalid" instead of "illegal".  Use @r in comments in
5003         examples.
5004
5005 2001-11-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5006
5007         * c-decl.c (pushdecl): Move block inside if conditional to remove
5008         possibility of a segfault.  Lookup block-level extern
5009         variables in enclosing scopes correctly.
5010
5011         * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
5012
5013 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
5014
5015         * expmed.c (store_bit_field): Use simplify_gen_subreg to make
5016         SUBREG so we avoid SUBREGing memory.
5017
5018         * expmed.c (store_bit_field): Same.
5019
5020 2001-11-02  DJ Delorie  <dj@redhat.com>
5021
5022         * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
5023         using FP registers for DImode mem-mem moves is acceptable.
5024
5025 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
5026
5027         * builtins.c (apply_args_size): Handle vector arguments.
5028         (apply_result_size): Same.
5029
5030         * machmode.def: Set WIDER mode field for all vector entries.
5031
5032 2001-11-02  Graham Stott  <grahams@redhat.com>
5033
5034         * recog.c (decode_asm_operands):  Check that the SRC is ASM_OPERANDS.
5035
5036 2001-11-01  Eric Christopher  <echristo@redhat.com>
5037
5038         * config.gcc: Revert part of earlier patch.
5039         * config/mips/linux.h: Ditto.
5040         * df.c: Include tm_p.h to avoid warnings.
5041         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
5042         #if/#endif.
5043         * config/mips/mips.c: Define mips_abi regardless.
5044         (mips_output_function_prologues): Add long casts for .frame
5045         output.
5046         (override_options): Allow use of ABI_32.
5047
5048 2001-11-01  Kazu Hirata  <kazu@hxi.com>
5049
5050         * config/m68hc11/m68hc11.c: Fix comment formatting.
5051         * config/m68hc11/m68hc11.h: Likewise.
5052         * config/m68hc11/m68hc11.md: Likewise.
5053
5054 2001-11-01  Neil Booth  <neil@daikokuya.demon.co.uk>
5055
5056         * c-typeck.c (default_conversion): Retain the original expression
5057         codes.
5058         * gcc.dg/Wparentheses.c: New tests.
5059
5060 2001-11-01  David S. Miller  <davem@redhat.com>
5061
5062         * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
5063         64-bit Sparc description more in line with reality.
5064
5065 2001-11-01  Joseph S. Myers  <jsm28@cam.ac.uk>
5066
5067         * Makefile.in (GCOV_OBJS): Add version.o.
5068         * gcov.c: Include "version.h" and <getopt.h>.
5069         (gcov_version_string): Remove.
5070         (print_usage): Take a parameter to determine whether this is a
5071         call from --help or an error message.  Give fuller output that
5072         follows the GNU Coding Standards for --help.
5073         (print_version): New function.
5074         (options): New.
5075         (process_args): Use getopt_long.  Support long options.  Follow
5076         GNU Coding Standards for --help and --version.
5077         * doc/gcov.texi: Document long options.
5078         Addresses part of PR other/704.
5079
5080 2001-11-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5081
5082         * pa.c (output_move_double): Fix typo in double load.
5083
5084 2001-11-01  Kazu Hirata  <kazu@hxi.com>
5085
5086         * config/h8300/h8300.c (h8300_encode_label): Compute a string
5087         before passing it to ggc_alloc_string.
5088
5089 2001-11-01  Kazu Hirata  <kazu@hxi.com>
5090
5091         * config/m68k/3b1.h: Fix comment formatting.
5092         * config/m68k/3b1g.h: Likewise.
5093         * config/m68k/a-ux.h: Likewise.
5094         * config/m68k/amix.h: Likewise.
5095         * config/m68k/apollo68.h: Likewise.
5096         * config/m68k/atari.h: Likewise.
5097         * config/m68k/aux-exit.c: Likewise.
5098         * config/m68k/ccur-GAS.h: Likewise.
5099         * config/m68k/crds.h: Likewise.
5100         * config/m68k/dpx2.h: Likewise.
5101         * config/m68k/dpx2g.h: Likewise.
5102         * config/m68k/hp310.h: Likewise.
5103         * config/m68k/hp320.h: Likewise.
5104         * config/m68k/isi.h: Likewise.
5105         * config/m68k/linux.h: Likewise.
5106         * config/m68k/lynx.h: Likewise.
5107         * config/m68k/m68k-psos.h: Likewise.
5108         * config/m68k/m68k.c: Likewise.
5109         * config/m68k/m68k.h: Likewise.
5110         * config/m68k/m68k.md: Likewise.
5111         * config/m68k/m68kelf.h: Likewise.
5112         * config/m68k/m68kv4.h: Likewise.
5113         * config/m68k/mot3300.h: Likewise.
5114         * config/m68k/news.h: Likewise.
5115         * config/m68k/next.h: Likewise.
5116         * config/m68k/pbb.h: Likewise.
5117         * config/m68k/plexus.h: Likewise.
5118         * config/m68k/sgs.h: Likewise.
5119         * config/m68k/sun3.h: Likewise.
5120         * config/m68k/tower.h: Likewise.
5121         * config/m68k/vxm68k.h: Likewise.
5122
5123 2001-10-31  DJ Delorie  <dj@redhat.com>
5124
5125         * config/mips/mips.h (mips_cache_flush_func): Prototype.
5126         (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
5127         (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
5128         * config/mips/mips.c (mips_cache_flush_func): New.
5129         * doc/invoke.texi: Document the new options.
5130
5131 2001-10-31  Hans-Peter Nilsson  <hp@axis.com>
5132
5133         * config.gcc (cris-*-linux*, tm_file): Rearrange order.
5134         * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
5135
5136         * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
5137
5138         * config/cris/cris.c: Include output.h after tree.h but before
5139         target.h.
5140
5141 2001-10-31  Zack Weinberg  <zack@codesourcery.com>
5142
5143         * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
5144         (INTL_SUBDIRS): Just intl.
5145         (.SUFFIXES): Add .gmo .po .pox.
5146         (native): Also depend on build-@POSUB@.
5147         (intl.all, intl.install): Depend on config.h and things it includes.
5148         (po-generated): New target; depend on c-parse.c and tradcif.c.
5149         (install-normal): Also depend on install-@POSUB@.
5150         (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
5151         (build-, install-, build-po, update-po, install-po,
5152         .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
5153
5154         * aclocal.m4: Prefix each entry in CATALOGS with "po/"
5155         * configure.in: Don't munge XGETTEXT.  Don't generate
5156         po/Makefile.in.
5157         * configure: Regenerate.
5158
5159         * exgettext: Delete.
5160         * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
5161         * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
5162
5163 2001-10-31  Kazu Hirata  <kazu@hxi.com>
5164
5165         * config/h8300/h8300.md (two anonymous patterns): New.
5166
5167 2001-10-31  Aldy Hernandez  <aldyh@redhat.com>
5168
5169         * tree.h (tree_index): Add support for V16QI and V8HI.
5170         (V8HI_type_node): New.
5171         (V16QI_type_node): New.
5172
5173         * tree.c (build_common_tree_nodes_2): Same.
5174
5175         * c-common.c (type_for_mode): Same.
5176
5177 2001-10-31  Kazu Hirata  <kazu@hxi.com>
5178
5179         * config/i386/att.h: Fix comment formatting.
5180         * config/i386/beos-elf.h: Likewise.
5181         * config/i386/bsd.h: Likewise.
5182         * config/i386/bsd386.h: Likewise.
5183         * config/i386/crtdll.h: Likewise.
5184         * config/i386/cygwin.asm: Likewise.
5185         * config/i386/cygwin.h: Likewise.
5186         * config/i386/djgpp.h: Likewise.
5187         * config/i386/freebsd-aout.h: Likewise.
5188         * config/i386/freebsd.h: Likewise.
5189         * config/i386/gas.h: Likewise.
5190         * config/i386/i386-interix.h: Likewise.
5191         * config/i386/i386-protos.h: Likewise.
5192         * config/i386/i386.c: Likewise.
5193         * config/i386/i386.h: Likewise.
5194         * config/i386/i386.md: Likewise.
5195         * config/i386/i386elf.h: Likewise.
5196         * config/i386/interix.c: Likewise.
5197         * config/i386/isc.h: Likewise.
5198         * config/i386/isccoff.h: Likewise.
5199         * config/i386/iscdbx.h: Likewise.
5200         * config/i386/linux.h: Likewise.
5201         * config/i386/lynx.h: Likewise.
5202         * config/i386/mingw32.h: Likewise.
5203         * config/i386/netbsd-elf.h: Likewise.
5204         * config/i386/next.h: Likewise.
5205         * config/i386/osf1elf.h: Likewise.
5206         * config/i386/osfrose.h: Likewise.
5207         * config/i386/sco5.h: Likewise.
5208         * config/i386/seq-gas.h: Likewise.
5209         * config/i386/seq-sysv3.h: Likewise.
5210         * config/i386/sequent.h: Likewise.
5211         * config/i386/sol2.h: Likewise.
5212         * config/i386/sun386.h: Likewise.
5213         * config/i386/uwin.asm: Likewise.
5214         * config/i386/uwin.h: Likewise.
5215         * config/i386/vxi386.h: Likewise.
5216         * config/i386/win32.h: Likewise.
5217         * config/i386/winnt.c: Likewise.
5218         * config/i386/xm-cygwin.h: Likewise.
5219         * config/i386/xm-mingw32.h: Likewise.
5220
5221 2001-10-31  Kazu Hirata  <kazu@hxi.com>
5222
5223         * builtins.def: Fix comment typos.
5224         * config/alpha.c: Likewise.
5225         * config/arm/arm.c: Likewise.
5226         * config/avr/avr.h: Likewise.
5227         * config/d30v/d30v.c: Likewise.
5228         * config/d30v/d30v.h: Likewise.
5229         * config/d30v/d30v.md: Likewise.
5230         * config/dsp16xx/dsp16xx.c: Likewise.
5231         * config/fr30/fr30.c: Likewise.
5232         * config/fr30/fr30.md: Likewise.
5233         * config/i386/i386.c: Likewise.
5234         * config/i860/i860.c: Likewise.
5235         * config/i960/i960.c: Likewise.
5236         * config/ia64/ia64.c: Likewise.
5237         * config/mips/mips.c: Likewise.
5238         * config/pa/pa.c: Likewise.
5239         * config/rs6000/rs6000.c: Likewise.
5240         * config/s390/s390.c: Likewise.
5241         * config/sparc/sparc.c: Likewise.
5242
5243 2001-10-30  Kazu Hirata  <kazu@hxi.com>
5244
5245         * config/mips/elf.h: Fix comment formatting.
5246         * config/mips/elf64.h: Likewise.
5247         * config/mips/iris5.h: Likewise.
5248         * config/mips/iris5gas.h: Likewise.
5249         * config/mips/iris6.h: Likewise.
5250         * config/mips/isa3264.h: Likewise.
5251         * config/mips/linux.h: Likewise.
5252         * config/mips/mips.c: Likewise.
5253         * config/mips/mips.h: Likewise.
5254         * config/mips/mips.md: Likewise.
5255         * config/mips/mips16.S: Likewise.
5256         * config/mips/netbsd.h: Likewise.
5257         * config/mips/osfrose.h: Likewise.
5258         * config/mips/r3900.h: Likewise.
5259         * config/mips/sni-svr4.h: Likewise.
5260         * config/mips/svr4-t.h: Likewise.
5261         * config/mips/ultrix.h: Likewise.
5262
5263 2001-10-30  Daniel Berlin  <dan@cgsoftware.com>
5264
5265         * bitmap.c (bitmap_element_free): Don't forget to update head->indx
5266         when we update head->current.
5267
5268 2001-10-30  Neil Booth  <neil@daikokuya.demon.co.uk>
5269
5270         * tree.c (id_string_size): Remove.
5271         (dump_tree_statistics): Update.
5272         * toplev.c (compile_file): If dumping stats, dump tree stats too.
5273
5274 Tue Oct 30 19:00:43 CET 2001  Jan Hubicka  <jh@suse.cz>
5275
5276         * sched-rgn.c (schedule_insns): Fix comment.
5277
5278 2001-10-30  Zack Weinberg  <zack@codesourcery.com>
5279
5280         * configure.in: Correct previous change: don't assume that
5281         gas's version number _isn't_ the last thing on the line, or
5282         isn't the only number on the line, either.
5283         * configure: Regenerate.
5284
5285 2001-10-30  Kazu Hirata  <kazu@hxi.com>
5286
5287         * cfgcleanup.c: Fix a comment typo.
5288
5289 2001-10-30  Kazu Hirata  <kazu@hxi.com>
5290
5291         * alias.c: Fix comment formatting.
5292         * recog.c: Likewise.
5293         * config/cris/cris.c: Likewise.
5294         * config/cris/cris.h: Likewise.
5295         * config/i960/i960.c: Likewise.
5296         * config/i960/i960.h: Likewise.
5297
5298 2001-10-30  Kazu Hirata  <kazu@hxi.com>
5299
5300         * config/arm/arm.c: Fix a comment typo.
5301         * config/arm/arm.h: Likewise.
5302         * config/ia64/ia64.c: Likewise.
5303
5304 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
5305
5306         * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
5307         REG_EQUIV notes for ASM_OPERANDS.  Return the new note (if any).
5308         * rtl.h (set_unique_reg_note): Change return value.
5309         * gcse.c (try_replace_reg): Use set_unique_reg_note.
5310         * cse.c (cse_insn): Likewise.
5311         * expr.c (emit_move_insn): Likewise.
5312         * explow.c (force_reg): Likewise.
5313         * local-alloc (update_equiv_regs): Likewise.
5314         * loop.c (move_moveables, load_mems): Likewise.
5315         * reload (find_reloads): Likewise.
5316
5317 2001-10-30  Paolo Bonzini  <bonzini@gnu.org>
5318
5319         Localization fixes.
5320         * c-decl.c (parmlist_tags_warning, start_struct,
5321         check_for_loop_decls): Separate messages for struct, union and
5322         enum cases to allow for languages in which they have different
5323         genders.
5324         * c-format.c (scanf_flag_specs): Separate short and long name of
5325         the assignment suppression feature.
5326         (check_format_types): Localize "pointer" and "different types"
5327         strings.
5328         * c-lex.c (lex_number): Localize "an unsigned long int" and
5329         related strings.
5330         (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
5331         warning message.
5332         * c-typeck.c (build_unary_up): Separate messages for increment and
5333         decrement cases to allow for languages in which they use different
5334         articles.  Localize the strings "increment" and "decrement" in one
5335         case.
5336
5337 Tue Oct 30 11:08:11 CET 2001  Jan Hubicka  <jh@suse.cz>
5338
5339         * lcm.c (optimize_mode_switching):  Do not rebuild liveness information
5340         when no changes has been made.
5341
5342         * gcse.c (reg_set_bitmap): Turn into reg_set.
5343         (modify_mem_list_set, canon_modify_mem_list_set)
5344         (clear_modify_mem_tables, free_modify_mem_tables): New.
5345         (gcse_main); Use free_modify_mem_tables.
5346         (free_gcse_mem): Likewise; free the bitmaps.
5347         (alloc_gcse_main): Initialize the bitmaps.
5348         (canon_list_insert): Set canon_modify_mem_list_set.
5349         (record_last_mem_set_info): Likewise; set modify_mem_list_set.
5350         (compute_hash_table): Use clear_modify_mem_tables.
5351         (reset_opr_set_tables): Likewise.
5352         (oprs_not_set_p): reg_set_bitmap is regset.
5353         (mark_set, mark_clobber): Likewise.
5354
5355         * df.h (DF_EQUIV_NOTES): New constant.
5356         (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
5357         when asked for.
5358
5359         * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
5360         (init_regions, schedule_insns): Conditionalize the checking
5361         code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
5362
5363 Tue Oct 30 11:02:31 CET 2001  Jan Hubicka  <jh@suse.cz>
5364
5365         * i386.md (movti_rex64 splitter): Fix condition.
5366
5367 2001-10-29  Zack Weinberg  <zack@codesourcery.com>
5368
5369         * configure.in: Do not assume that gas's version number is the
5370         last thing on the first line of as --version output.
5371         * configure: Regenerate.
5372
5373         * tradcpp.c: Include intl.h.  Rename WARNING, ERROR, FATAL to
5374         MT_WARNING, MT_ERROR, MT_FATAL.
5375         (main): Call gcc_init_libintl.
5376         (v_message): Call gettext on msgid and "warning: "
5377         * tradcif.y: Include intl.h.
5378         (yyerror): Make parameter definition consistent with
5379         prototype.  Call gettext on msgid argument.
5380
5381 2001-10-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5382
5383         * combine.c (num_sign_bit_copies): Avoid signed/unsigned
5384         warnings.
5385
5386         * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
5387
5388 Mon Oct 29 19:22:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5389
5390         * reload1.c (eliminate_regs): Test for reg_renumber being allocated
5391         before referencing it.
5392
5393 2001-10-26  DJ Delorie  <dj@redhat.com>
5394
5395         * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
5396         override -G, and force -G0.
5397
5398 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
5399
5400         * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
5401         FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
5402         c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
5403         timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
5404
5405         * loop.h (struct induction): Rename ext_dependant to
5406         ext_dependent.
5407         * loop.c: Change all uses.
5408         (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
5409         All callers changed.
5410         * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
5411
5412 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
5413
5414         * c-parse.in (expr_no_commas, primary), c-typeck.c
5415         (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
5416
5417 2001-10-29  David Edelsohn  <edelsohn@gnu.org>
5418
5419         Undo assemble_name change in earlier patch.
5420
5421 Mon Oct 29 21:11:40 2001  Nicola Pero  <n.pero@mi.flashnet.it>
5422
5423         * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
5424         determining the type of the receiver, do not check that TREE_CODE
5425         of receiver is CALL_EXPR before calling receiver_is_class_object().
5426         (receiver_is_class_object): For the GNU runtime: recognize
5427         the case that the receiver is self in a class method context.
5428         Check that TREE_CODE of receiver is CALL_EXPR when checking that
5429         the receiver is a call to objc_get_class.
5430
5431 2001-10-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5432
5433         * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
5434
5435 Mon Oct 29 07:23:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5436
5437         * Makefile.in (OBJS): Put all files in alphabetical order.
5438
5439         * dwarf2out.c (add_const_value_attribute): Fix error in last
5440         change.
5441
5442 Mon Oct 29 12:43:06 CET 2001  Jan Hubicka  <jh@suse.cz>
5443
5444         * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
5445         * cfgcleanup.c (merge_blocks): Update the life flag after merging;
5446         fix warning.
5447         * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
5448         (life_analysis): call purge_all_dead_edges after deleting noops.
5449         (delete_noop_move): Do not purge CFG.
5450         * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
5451
5452 2001-10-28  David Edelsohn  <edelsohn@gnu.org>
5453
5454         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
5455         * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
5456         (ASM_GLOBALIZE_LABEL): Use assemble_name.
5457         (ASM_OUTPUT_COMMON): Likewise.
5458         * config/rs6000/rs6000.c (print_operand): Use assemble_name.
5459         (rs6000_output_function_epilogue): Likewise.
5460         (output_mi_thunk): Fix typo.
5461         (rs6000_output_symbol_ref): Use assemble_name.
5462         (output_toc): Likewise.
5463         * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
5464         * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
5465         assemble_name calls STRIP_NAME_ENCODING.
5466         (ASM_OUTPUT_LABEL): Use assemble_name.
5467         (ASM_GLOBALIZE_LABEL): Likewise.
5468         (ASM_DECLARE_FUNCTION_NAME): Likewise.
5469         (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op.  Use assemble_name.
5470         (ASM_OUTPUT_LOCAL): Likewise.
5471
5472 Sun Oct 28 15:45:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5473
5474         * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
5475         (expand_builtin_apply, expand_builtin_return): Likewise.
5476         (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
5477
5478 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5479
5480         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5481         ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
5482         c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
5483         configure, configure.in, except.c, except.h, flow.c, function.c,
5484         gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
5485         predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
5486         sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
5487         unroll.c: Fix spelling errors.
5488
5489         * doc/extend.texi, doc/invoke.texi: Fix spelling.
5490
5491         * doc/gcc.texi: Document use of "dependent" and American spelling.
5492
5493 Sun Oct 28 17:05:36 CET 2001  Jan Hubicka  <jh@suse.cz>
5494
5495         * expr.c (emit_group_load): Support CONCATs by storing them to memory
5496         and reloading.
5497
5498 Sun Oct 28 09:59:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5499
5500         * expr.c (store_constructor_field): Only call adjust_address on MEM.
5501
5502 Sun Oct 28 16:48:09 CET 2001  Jan Hubicka  <jh@suse.cz>
5503
5504         * genrecog.c (write_switch):  Output if before switch for
5505         DT_elt_zero_wide_safe.
5506
5507 2001-10-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5508
5509         * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
5510         * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
5511         (FUNCTION_PROFILER): Const-ify.
5512         * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
5513         (eliminate_constant_term, assemble_name, output_addr_const):
5514         Remove declarations.
5515         (ptr_half_pic_address_p, half_pic_hash): Prototype.
5516         (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
5517         half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
5518         * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
5519         (half_pic_declare, half_pic_external): Const-ify.
5520         * toplev.c: Include "halfpic.h".
5521
5522 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5523
5524         * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
5525         config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
5526         config/i386/i386.c, config/i386/i386-interix.h,
5527         config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
5528         config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
5529         config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
5530         config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
5531         config/sparc/sparc.c, config/m68hc11/m68hc11.c,
5532         config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
5533         config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
5534         spelling errors.
5535
5536         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5537         ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
5538         c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
5539         collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
5540         haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
5541         regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
5542         system.h, toplev.c: Fix spelling errors.
5543
5544 Sat Oct 27 17:32:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5545
5546         * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
5547
5548         * dwarf2out.c (reg_number): Abort if pseudo.
5549         (reg_loc_descriptor): Return 0 if pseudo.
5550         (is_based_loc): Return 0 if pseudo.
5551         (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
5552         recursive calls.
5553         (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
5554         (loc_descriptor): Return 0 if can't find location and handle 0
5555         return from recursive calls.
5556         (loc_descriptor_from_tree): Likewise.
5557         Fix handling of indirect.
5558         Also return 0 for PLACEHOLDER_EXPR.
5559         Clean up COMPONENT_REF cases.
5560         (add_AT_location_descriptor): Simplify, but handle 0 return from
5561         loc_descriptor.
5562         (add_const_value_attribute): Avoid shift count warning.
5563         (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
5564         Set comp_unit_die as context if not in function.
5565
5566         * config/mips/mips-protos.h: Break up long lines.
5567         Remove needless #ifdef/#endif blocks.
5568         Don't declare functions declared in file made by genpreds or recog.h.
5569         * config/mips/mips.c (mips_output_function_prologue): TSIZE
5570         is now HOST_WIDE_INT; delete unneeded casts.
5571         * config/mips/mips.h: Don't use #elif.
5572
5573         * expr.c (stor_constructor_field): Always call adjust_address.
5574         Copy TARGET before changing its alias set.
5575         (store_field): Likewise, for TO_RTX.
5576         (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
5577         replacement.
5578         (safe_from_p, case ADDR_EXPR): Properly check for conflict.
5579         (find_placeholder): Return 0 if can't find object.
5580         (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
5581         returns 0.
5582
5583 Sat Oct 27 16:31:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
5584
5585         * ifcvt.c (if_convert): Call clear_aux_for_blocks.
5586
5587 Sat Oct 27 12:12:09 CEST 2001  Jan Hubicka  <jh@suse.cz>
5588
5589         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
5590         merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
5591         (merge_blocks): Properly udpate life after making edge nonfallthru.
5592         * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
5593
5594 2001-10-26  Kazu Hirata  <kazu@hxi.com>
5595
5596         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5597
5598 2001-10-26  Neil Booth  <neil@daikokuya.demon.co.uk>
5599
5600         * c-typeck.c (convert_arguments): When comparing for enumeral
5601         type equality, use TYPE_MAIN_VARIANT.
5602         * gcc.dg/Wconversion.c: New tests.
5603
5604 2001-10-26  Kazu Hirata  <kazu@hxi.com>
5605
5606         * s390/s390.c: Fix comment typos.
5607         * s390/s390.h: Likewise.
5608         * s390/s390.md: Likewise.
5609
5610 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
5611
5612         * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
5613         (walk_tree): Use it for tail calls where appropriate.
5614
5615 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
5616
5617         * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
5618         non-local label_refs.
5619
5620 2001-10-26  Kazu Hirata  <kazu@hxi.com>
5621
5622         * config/h8300/h8300.md (4 anonymous patterns): New.
5623
5624 2001-10-26  Kazu Hirata  <kazu@hxi.com>
5625
5626         * config/h8300/h8300.c (get_shift_alg): Clean up.  Return the
5627         algorithm through the shift_info structure.
5628         (emit_a_shift): Update the use of get_shift_alg.
5629
5630 2001-10-27  Daniel Berlin  <dan@cgsoftware.com>
5631
5632         * sched-rgn.c: Remove bitset typedef.
5633         Change bitset to sbitmap in prototypes / variable types.
5634         Remove bbset_size.
5635         Remove edgeset_bits.
5636         Remove edgeset_size.
5637         s/BITSET_ADD/SET_BIT/g
5638         s/BITSET_INVERT/sbitmap_ones/g
5639         s/BITSET_INTER/sbitmap_a_and_b/g
5640         s/BITSET_UNION/sbitmap_a_or_b/g
5641         s/BITSET_DIFFER/sbitmap_difference/g
5642         s/bitset_member/TEST_BIT/g
5643         (BITSET_*): Removed.
5644         (bitset_member): Removed.
5645         (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
5646         EXECUTE_IF_SET_IN_SBITMAP.
5647         (split_edges): Rewrite, use sbitmap functions instead of bitset
5648         operations.
5649         (schedule_region): Allocate/free sbitmaps, rather than bitsets.
5650
5651 2001-10-26  Andreas Schwab  <schwab@suse.de>
5652
5653         * reload1.c (emit_input_reload_insns): Fix parens in last
5654         (undocumented) change that was supposed to change only whitespace.
5655
5656 Fri Oct 26 07:18:08 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5657
5658         * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
5659
5660         * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
5661         ASM_OPERANDS.
5662
5663 2001-10-26  Andreas Jaeger  <aj@suse.de>
5664
5665         * flow.c (clear_log_links): Remove unused variable.
5666         * cfgcleanup.c (cleanup_cfg): Likewise.
5667
5668 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
5669
5670         * tree-inline.c (remap_decl): Don't copy size and size_unit here.
5671         (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
5672
5673 2001-10-26  Richard Henderson  <rth@redhat.com>
5674
5675         * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
5676         rename PV_REG to R27_REG.
5677         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5678         (REG_CLASS_FROM_LETTER): Update.
5679         (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
5680         * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
5681         (udivsi3, modsi3, umodsi3): Likewise.
5682         (divdi3, udivdi3, moddi3, umoddi3): Likewise.
5683
5684 2001-10-26  Richard Henderson  <rth@redhat.com>
5685
5686         * cfg.c (clear_aux_for_blocks): Split out of ...
5687         (free_aux_for_blocks): here.
5688         (clear_aux_for_edges): Split from ...
5689         (free_aux_for_edges): here.
5690         * basic-block.h: Declare them.
5691         * lcm.c (compute_antinout_edge): Use them.
5692         (compute_laterin, compute_available, compute_nearerout): Likewise.
5693         (optimize_mode_switching): Likewise.
5694
5695 2001-10-26  Richard Henderson  <rth@redhat.com>
5696
5697         * Makefile.in (unstage*): Remove as, ld, collect-ld before
5698         moving everything back to the main build directory.
5699
5700 2001-10-26  Christopher Faylor  <cgf@redhat.com>
5701
5702         * config/i386/cygwin.h: Search target specific include directory, if
5703         appropriate.
5704
5705 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5706
5707         * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
5708         of macro guards. Fix #endif comment.
5709
5710         * output.h (default_exception_section, default_eh_frame_section):
5711         Move prototypes outside of macro guard.
5712
5713         * crtstuff.c: Fix #endif comment.
5714
5715 Thu Oct 25 12:21:58 2001  Jeffrey A Law  (law@cygnus.com)
5716
5717         * doc/md.texi (movMM): Clarify semantics of storing into a
5718         non-paradoxical SUBREG.
5719
5720 2001-10-25  Zack Weinberg  <zack@codesourcery.com>
5721
5722         * langhooks.c (lang_hook_default_clear_binding_stack): New.
5723         (lang_hook_default_get_alias_set): Move next to other alias
5724         hooks.
5725         * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
5726         (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
5727         (LANG_HOOKS_INITIALIZER): Add it.
5728         * toplev.h (struct lang_hooks): Add clear_binding_stack.
5729         * toplev.c (compile_file):  Call lang_hooks.clear_binding_stack
5730         instead of a loop calling poplevel.
5731
5732 2001-10-25  Nick Clifton  <nickc@cambridge.redhat.com>
5733
5734         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
5735         occurrences of #elif with #if...#endif.
5736
5737 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5738
5739         * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
5740
5741 Thu Oct 25 08:46:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5742
5743         * alias.c (can_address_p): No longer static.
5744         * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
5745         Return 0 if all parameters are default values.
5746         (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
5747         (adjust_address_1): Try harder to compute a size.
5748         * expr.c (expand_assignment, store_constructor): If can't address,
5749         set MEM_KEEP_ALIAS_SET_P.
5750         (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
5751         (store_field): Likewise.
5752         (store_constructor): Simplify call to store_constructor_field.
5753         * expr.h (can_address_p): New declaration.
5754         * gensupport.c (gen_rtx_CONST_INT): New function.
5755         * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
5756         (MEM_SIZE): Get size from mode, if not set and not BLKmode.
5757         (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
5758
5759         * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
5760
5761 2001-10-24  Christopher Faylor  <cgf@redhat.com>
5762
5763         * config/i386/cygwin.h: Use proper path for mingw crt files when
5764         -mno-cygwin.
5765
5766 Wed Oct 24 18:43:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5767
5768         * dwarf2out.c (file_info_cmp): Always return consistent results.
5769
5770 2001-10-24  Roger Sayle <roger@eyesopen.com>
5771
5772         * stmt.c (expand_end_case): Index jumptables from zero for
5773         suitably small values of minval.
5774
5775 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
5776
5777         * stor-layout.c (place_union_field): If any field was aligned with
5778         attribute aligned, set record type's TYPE_USER_ALIGN.
5779         (place_field): Likewise.
5780         (finalize_record_size): Don't clear TYPE_USER_ALIGN.
5781         (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
5782
5783 2001-10-24  Zack Weinberg  <zack@codesourcery.com>
5784
5785         * c-common.h (struct c_common_identifier): Remove rid_code field.
5786         (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
5787
5788         * c-typeck.c (constructor_designated): New local flag.
5789         (struct constructor_stack): Add "designated" field to match.
5790         (start_init): Clear it.
5791         (really_start_incremental_init, push_init_level): Push and
5792         clear it.
5793         (pop_init_level): Pop it.
5794         (set_designator): Set it.
5795
5796         (pop_init_level): Suppress "missing initializer" warnings if
5797         constructor_designated is true.
5798         (process_init_element): Suppress warning about union
5799         initialization under traditional C, if constructor_designated
5800         is true.
5801
5802 Wed Oct 24 15:35:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5803
5804         * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
5805         change.
5806
5807 Wed Oct 24 13:26:12 2001  Jeffrey A Law  (law@cygnus.com)
5808
5809         * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
5810
5811 2001-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
5812
5813         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
5814         the node was already a set to a constant.
5815
5816 Wed Oct 24 12:41:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5817
5818         * emit-rtl.c (set_mem_attributes): Fix typo in last change.
5819         * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
5820
5821 2001-10-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5822
5823         * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
5824         (ASM_OUTPUT_ASCII): Const-ify.  Fix signed/unsigned warning.
5825         (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
5826         * s390.c (s390_final_chunkify): Don't use string concatenation.
5827         (s390_function_prologue, s390_function_epilogue): Const-ify.
5828         * s390.h (FUNCTION_PROFILER): Remove unused variable.
5829
5830 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
5831
5832         * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
5833         prototypes.
5834
5835 2001-10-23  Stan Shebs  <shebs@apple.com>
5836
5837         * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
5838         -traditional-cpp in first-stage compilation.
5839
5840 Tue Oct 23 21:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5841
5842         * gensupport.c (target_flags): Add.
5843
5844 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
5845
5846         * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
5847         if needed.
5848         (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
5849         * except.c (expand_builtin_frob_return_addr): Likewise.
5850         (expand_builtin_eh_return): Likewise.
5851         * stmt.c (expand_computed_goto): Likewise.
5852         * explow.c (memory_address): Likewise.
5853         (allocate_dynamic_stack_space): Clean up predicate testing.
5854         (probe_stack_range): Convert SIZE to Pmode.
5855         * calls.c (rtx_for_function_call): Only call convert_memory_address
5856         if needed.
5857         Pass function call operand as ptr_mode, not Pmode.
5858         * expr.c (expand_assignment): Clean up calls to convert_memory
5859         address by only doing so when needed and making offsets Pmode.
5860         (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
5861         * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
5862         is in Pmode, not ptr_mode.
5863
5864 2001-10-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5865
5866         * darwin-protos.h (constructor_section, destructor_section,
5867         mod_init_section, mod_term_section): Prototype.
5868         * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
5869         Const-ify.
5870         * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
5871         Likewise.
5872         (SECTION_FUNCTION): Prototype `FUNCTION'.  Delete
5873         objc_section_init declaration.
5874         (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
5875         (objc_section_init, try_section_alias): Make static.
5876         (alias_section): Make static and hide unused function.
5877         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
5878
5879 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5880
5881         * alias.c (can_address_p): Compnonents are not addressable if
5882         the containing type has alias set 0.
5883         (get_alias_set): Rework to use STRIP_NOPS.
5884         Only call front-end routine on object, type, or object with
5885         NOPs stripped, not inner values.
5886         Use language hook to call front-end routine.
5887         * builtins.c (get_memory_rtx): Always call set_mem_attributes.
5888         (expand_builtin_apply): Call set_mem_align on MEMs we make.
5889         Don't pass alignment to emit_block_move.
5890         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5891         (expand_builtin_memset): Likewise, but for clear_storage.
5892         * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
5893         and remove C++ specific parts.
5894         * c-common.h (c_common_get_alias_set): Add declaration.
5895         * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
5896         * calls.c (emit_call_1): Fix typo in sibcall_pop case.
5897         (save_fixed_argument_area): Call set_mem_align.
5898         Remove alignment in call to emit_block_move.
5899         (emit_library_call_value_1, store_one_arg): Likewise.
5900         (target_for_arg): Remove; disabled long ago.
5901         * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
5902         once and similar cleanups.
5903         (offset_address): Use proper introductory comment.
5904         * expr.c (emit_block_move): Use alignment from that of MEM args, not
5905         from explicit operand; all callers changed.
5906         (clear_storage): Likewise.
5907         (expand_assignment): Don't call set_mem_alias_set on to_rtx.
5908         (store_field): Remove kludge on alias set used for to_rtx.
5909         (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
5910         (expand_expr_unaligned): Call set_mem_attributes instead of
5911         set_mem_alias_set.
5912         * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
5913         * function.c (assign_stack_temp_for_type): Set MEM alignment.
5914         (expand_function_end): Track MEM attributes of trampolines.
5915         * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
5916         * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
5917         attributes from original.
5918         * langhooks.c (lang_hook_default_get_alias_set): New function.
5919         (hook_get_alias_set_0): New function.
5920         * langhooks.h (hook_get_alias_set_0): New declaration.
5921         (lang_hook_default_get_alias_set): Likewise.
5922         (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
5923         * reload1.c (alter_reg): Use adjust_address_nv.
5924         * rtl.c (get_mode_alignment): Moved to here.
5925         * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
5926         change default if unknown from 1 to BITS_PER_UNIT.
5927         * stor-layout.c (get_mode_alignment): Remove from here.
5928         * toplev.h (struct lang_hoks): Add get_alias_set field.
5929         * tree.h (lang_get_alias_set): Delete declaration.
5930         * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
5931         * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
5932         (ix86_va_arg): Likewise.
5933         * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
5934         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5935         * config/sparc/sparc.c (sparc_va_arg): Likewise.
5936         * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
5937         (expand_block_move_mem): Remove dead code.
5938
5939 2001-10-22  Neil Booth  <neil@daikokuya.demon.co.uk>
5940
5941         * c-common.c (warn_div_by_zero): New.
5942         * c-common.h (warn_div_by_zero): New.
5943         * c-decl.c (c_decode_option): Take it on the command line.
5944         * c-typeck.c (build_binary_op): Warn about division by zero.
5945         * doc/invoke.texi: Document the new command line option, fix
5946         documentation of -Wmultichar.
5947         * testsuite/gcc.dg/divbyzero.c: New tests.
5948         * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
5949
5950 Tue Oct 23 15:30:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
5951
5952         * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
5953
5954         * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
5955         to avoid update_life_info call.
5956         * basic-block.h (CLEANUP_UPATE_LIFE): Define.
5957         * cfgcleanup.c (bb_flags): New enum.
5958         (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
5959         (notice_new_block, update_forwarder_flag): New functions.
5960         (try_simplify_condjump): Use FORWARDER_BLOCK_P.
5961         (try_forward_edges): Likewise; update flags.
5962         (merge_blocks): Likewise.
5963         (outgoing_edges_match): Likewise.
5964         (try_crossjump_to_edge): Likewise.
5965         (try_optimize_cfg): Likewise; initialize and clear the flags;
5966         recompute life info if needed.
5967         (cleanup_cfg): No need to clear aux pointers.
5968
5969 2001-10-23  Alexandre Oliva  <aoliva@redhat.com>
5970
5971         * config/i386/i386.c (override_options): Default to minimum
5972         stack alignment when optimizing for code size.
5973         * doc/invoke.texi (-mpreferred-stack-boundary): Document the
5974         change.
5975
5976         * config/i386/i386.c (override_options): Set upper limit of
5977         -mpreferred-stack-boundary to 12.
5978
5979 2001-10-22  Zack Weinberg  <zack@codesourcery.com>
5980
5981         * recog.c (peephole2_optimize): Add default case to switch.
5982
5983 2001-10-23  Joseph S. Myers  <jsm28@cam.ac.uk>
5984
5985         * doc/gcc.texi (Sending Patches): Remove.
5986
5987 2001-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
5988
5989         * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
5990         fields when comparing.
5991
5992 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5993
5994         * arm.h (HOST_INT, HOST_UINT): Delete.  Remove all uses.
5995         * arm.c (HOST_INT, HOST_UINT): Likewise.
5996
5997 2001-10-22  Stan Shebs  <shebs@apple.com>
5998
5999         * config/darwin-protos.h (darwin_exception_section): Declare.
6000         (darwin_eh_frame_section): Declare.
6001
6002 Mon Oct 22 18:21:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
6003
6004         * i386.md (movti_rex64): Fix mode.
6005
6006 2001-10-22  Stan Shebs  <shebs@apple.com>
6007
6008         * target.h (struct gcc_target): Add asm_out.exception_section,
6009         asm_out.eh_frame_section.
6010         * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
6011         (TARGET_ASM_EH_FRAME_SECTION): New.
6012         (TARGET_INITIALIZER): Update.
6013         * output.h (default_exception_section): Declare.
6014         (default_eh_frame_section): Declare.
6015         * dwarf2out.c: Include target.h.
6016         (output_call_frame_info): Call target hook for eh frames.
6017         (default_eh_frame_section): New function.
6018         * except.c: Include target.h.
6019         (output_function_exception_table): Call target hook for exception
6020         section.
6021         * varasm.c (default_exception_section): Rename from
6022         exception_section, remove EXCEPTION_SECTION macro.
6023
6024         * config/darwin.h (darwin_eh_frame_section): New function.
6025         (EXCEPTION_SECTION): Remove.
6026         (TARGET_ASM_EXCEPTION_SECTION): Define.
6027         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
6028         (nextstep_exception_section): New function.
6029         (nextstep_eh_frame_section): New function.
6030         (TARGET_ASM_EXCEPTION_SECTION): Define.
6031         (TARGET_ASM_EH_FRAME_SECTION): Define.
6032
6033         * config/pa/som.h (EXCEPTION_SECTION): Remove.
6034         (TARGET_ASM_EXCEPTION_SECTION): Define.
6035         * config/rs6000/sysv4.h, config/rs6000/xcoff.h
6036         (EXCEPTION_SECTION): Remove.
6037         (TARGET_ASM_EXCEPTION_SECTION): Define.
6038         * config/stormy16/stormy16.h: Remove comments referencing
6039         EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
6040
6041         * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
6042         TARGET_ASM_EH_FRAME_SECTION.
6043
6044 2001-10-22  Nick Clifton  <nickc@cambridge.redhat.com>
6045
6046         * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
6047         terms.
6048
6049         * c-format.c: Fix spelling typo in comment.
6050
6051         * sched-int.h: Fix typo in GCC preamble.
6052
6053 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
6054
6055         PR debug/4252
6056         * doc/invoke.texi: Remove references to -fdump-translation-unit.
6057
6058 2001-10-22  Richard Henderson  <rth@redhat.com>
6059
6060         * config/i386/i386.c (ix86_expand_clear): New.
6061         * config/i386/i386-protos.h: Declare it.
6062         * config/i386/i386.md (setcc peep2s): Use it.
6063         (movsi_xor): Unexport.
6064
6065 2001-10-22  Richard Henderson  <rth@redhat.com>
6066
6067         * flow.c (clear_log_links): Use free_INSN_LIST_list, not
6068         free_EXPR_LIST_list for LOG_LINKS.
6069
6070 2001-10-21  Robert Lipe  <robertlipe@usa.net>
6071
6072         * config/i386/i386.c (sco_asm_named_section): Delete.
6073         (sco_asm_out_constructor): Delete.
6074         * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
6075         (ASM_OUTPUT_DOUBLE_INT): Likewise.
6076         (TARGET_ASM_CONSTRUCTOR): Delete.  Use default.
6077         (TARGET_ASM_NAMED_SECTION): Use default for ELF.
6078         (EXCEPTION_SECTION): Delete EH scn renaming hack.
6079
6080 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6081
6082         * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
6083         and/or fold extra calls into fewer ones.
6084         * collect2.c (dump_file): Likewise.
6085         * cppexp.c (parse_number): Likewise.
6086         * cpplex.c (_cpp_lex_direct): Likewise.
6087         * final.c (output_asm_insn, asm_fprintf): Likewise.
6088         * fix-header.c (inf_scan_ident, main): Likewise.
6089         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
6090         Likewise.
6091         * fold-const.c (real_hex_to_f): Likewise.
6092         * gen-protos.c (parse_fn_proto): Likewise.
6093         * genattrtab.c (check_attr_test, check_attr_value): Likewise.
6094         * genrecog.c (change_state, write_action): Likewise.
6095         * gensupport.c (shift_output_template): Likewise.
6096         * local-alloc.c (requires_inout): Likewise.
6097         * mips-tfile.c (IS_ASM_IDENT): Likewise.
6098         * protoize.c (is_id_char, main): Likewise.
6099         * real.c (asctoeg): Likewise.
6100         * recog.c (asm_operand_ok): Likewise.
6101         * reload.c (find_reloads): Likewise.
6102         * scan.c (scan_identget_token): Likewise.
6103         * sched-vis.c (print_value): Likewise.
6104         * stringpool.c (ggc_alloc_string): Likewise.
6105         * toplev.c (read_integral_parameter, decode_g_option): Likewise.
6106         * tradcif.y (parse_number, yylex, parse_escape): Likewise.
6107         * tradcpp.c (rescan): Likewise.
6108         * tree.c (clean_symbol_name): Likewise.
6109         * varasm.c (decode_reg_name): Likewise.
6110
6111         * alpha.h (ASM_OUTPUT_ASCII): Likewise.
6112         * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
6113         * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
6114         * m88k.c (output_ascii): Likewise.
6115         * m88k.h (OVERRIDE_OPTIONS): Likewise.
6116         * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
6117         * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
6118         * sh.h (REG_CLASS_FROM_LETTER): Likewise.
6119
6120 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
6121
6122         * langhooks.c (lang_hook_default_do_nothing,
6123         lang_hook_default_decode_option): New defaults.
6124         * langhooks.h: Make hooks unconditional and non-NULL.
6125         * toplev.c (compile_file, toplev_main): Update.
6126         * toplev.h: Update comments.
6127         * objc/objc-act.c (lang_hooks): Update to new paradigm.
6128
6129 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6130
6131         * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
6132
6133         * system.h (IN_RANGE): New macro.
6134
6135 2001-10-21  Zack Weinberg  <zack@codesourcery.com>
6136
6137         * aclocal.m4 (AM_WITH_NLS): Also create and substitute
6138         INTLDEPS variable, which does not include $LIBICONV.
6139         * Makefile.in: Use INTLDEPS in LIBDEPS.
6140         * configure: Regenerate.
6141
6142 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
6143
6144         * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
6145         * cpplex.c (lex_percent, lex_dot): Remove.
6146         (get_effective_char, skip_block_comment, skip_line_comment,
6147         parse_identifier_slow, parse_number, parse_string, save_comment,
6148         _cpp_lex_direct): Update to do lookback freely.
6149         (IF_NEXT_IS, BACKUP): New macros.
6150         * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
6151         * cppmacro.c (paste_tokens): Update.
6152
6153 2001-10-20  Nick Clifton  <nickc@cambridge.redhat.com>
6154
6155         * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
6156
6157 2001-10-20  Hans-Peter Nilsson  <hp@axis.com>
6158
6159         * reload1.c (reload): Check CONSTANT_P before calling
6160         LEGITIMATE_PIC_OPERAND_P.
6161         * config/cris/cris.c (cris_legitimate_pic_operand): Revert
6162         workaround of 2001-10-13.
6163
6164 Sat Oct 20 15:16:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
6165
6166         * i386.c (split_di): Handle splitting of DFmode.
6167
6168 Sat Oct 20 07:27:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6169
6170         * emit-rtl.c (set_mem_attributes): Alignment is in bits.
6171         (adjust_address_1, offset_address): Likewise.
6172
6173         * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
6174         (output_asm_insn): Call it for each line output.
6175         Don't record an operand more than once.
6176
6177         * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
6178         * main.c: Include config.h and system.h, but not ansidecl.h.
6179         * Makefile.in (main.o): Update accordingly.
6180
6181 Sat Oct 20 12:05:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
6182
6183         * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
6184
6185 Sat Oct 20 12:01:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
6186
6187         * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
6188         * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
6189         Break out from ...
6190         (find_sub_basic_blocks): ... here;
6191         (find_many_sub_basic_blocks): New.
6192         * recog.c (split_all_insns): Update find_sub_basic_blocks call.
6193
6194         * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
6195
6196         * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
6197
6198         * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
6199
6200         * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
6201         * flow.c (update_life_info): Measure time.
6202         * c-decl.c: Include timevar.h
6203         (c_expand_body): Measure time.
6204         * toplev.c (rest_of_compilation): Measure time of mode switching
6205         separately.
6206         * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
6207
6208         * toplev.c (flag_asynchronous_unwind_tables): New global variable.
6209         (lang_independent_options): Add asynchronous-unwind-tables
6210         (toplev_main): flag_asynchronous_unwind_tables implies
6211         flag_unwind_tables.
6212         * flags.h (flag_asynchronous_unwind_tables): Declare.
6213         * dwarf2out.c (dwarf2out_stack_adjust): Take into account
6214         flag_asynchronous_unwind_tables.
6215         (output_call_frame_info): Likewise.
6216         * invoke.texi (-fasynchronous-unwind-tables): Document.
6217         * i386.c (optimization_options): Enable
6218         flag_asynchronous_unwind_tables.
6219
6220         * i386.c (ix86_expand_setcc):  Always expect target to be QImode.
6221         * i386.md (s* expanders): Destination is QImode.
6222
6223         * toplev.c (rest_of_compilation): Do not call clear_log_links.
6224         * rtl.h (clear_log_links): Kill.
6225         * flow.c (clear_log_links): Make static; accept blocks parameter;
6226         do no clear life info.
6227         (update_life_info): Call clear_log_links.
6228
6229         * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
6230
6231 2001-10-20  Neil Booth  <neil@daikokuya.demon.co.uk>
6232
6233         * cpplex.c (handle_newline, skip_escaped_newlines,
6234         get_effective_char, skip_block_comment, skip_line_comment,
6235         parse_identifier_slow, parse_number, parse_string,
6236         _cpp_lex_direct): Update to do more stepping back.
6237         (trigraph_ok): Similarly.  Rename trigraph_p.
6238         (SAVE_STATE, RESTORE_STATE): Remove.
6239         (BUFF_SIZE_UPPER_BOUND): Tweak.  Add sanity check.
6240
6241         * cpplib.c (destringize): Rename destringize_and_run, and
6242         call run_directive directly.
6243         (_cpp_do__Pragma): Simplify.
6244
6245 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6246
6247         * pe.c (arm_pe_unique_section): Const-ify.
6248         * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
6249         (switch_to_section): Add static prototype.
6250
6251         * output.h (drectve_section): Prototype.
6252
6253 2001-10-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6254
6255         * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
6256         fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
6257         parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
6258         i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
6259         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6260         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
6261         i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
6262         i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
6263         i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
6264         i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
6265         i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
6266         i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
6267         ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
6268         mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
6269         powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
6270         powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
6271         powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
6272         powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
6273         powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
6274         powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
6275         rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
6276         sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
6277         v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
6278         cris-*-none, cris-*-linux*: Update ${tmfile} list.
6279         (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
6280         i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
6281         mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
6282         powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
6283         v850-*-*): Delete superflous ${cpu_type} setting.
6284         * config/linux.h: Delete svr4.h include.
6285         (SET_ASM_OP): Delete.
6286         * config/netware.h (INT_ASM_OP): Undef before define.
6287         * config/ptx4.h: Delete elfos.h include.
6288         (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
6289         * config/svr4.h: Delete elfos.h include. Update commentary.
6290         * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
6291         config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
6292         config/mn10200/mn10300.h, config/stormy16/stormy16.h,
6293         config/v850/v850.h: Delete svr4.h include.
6294         * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
6295         config/m68k/m68kv4.h, config/m88k/sysv4.h,
6296         config/sparc/sysv4.h: Update includes.
6297         * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
6298         config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
6299         config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
6300         config/m88k/dguxbcs.h: Delete includes.
6301         * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
6302         (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
6303         * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
6304         it.
6305         * config/m88k/dgux.h: Delete include.
6306         (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):  Undef before
6307         defining it.
6308         * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
6309         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
6310         * config/sh/elf.h: Update include.
6311         (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
6312         DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
6313
6314 2001-10-19  Catherine Moore  <clm@redhat.com>
6315
6316         * config/stormy16/stormy-abi:  Updates to varargs descriptions.
6317         * config/stormy16/stormy16.c (stormy16_build_va_list):  Reverse
6318         base and count fields.
6319         (stormy16_expand_builtin_va_start):  last_reg_count changed to
6320         size_of_reg_args.  Use count + size in first comparison.
6321
6322 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6323
6324         * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
6325         * toplev.h (struct lang_hooks): New field HONOR_READONLY.
6326         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
6327         TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
6328         Set alignment from type if INDIRECT_REF.
6329         (adjust_address_1, offset_address): Simplify alignment compuitation.
6330         * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
6331         here; done by set_mem_attributes.
6332
6333 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6334
6335         * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
6336         * arm-protos.h (rdata_section, zero_init_section, common_section):
6337         Prototype.
6338         * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
6339         * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
6340         traditional mode stringification.
6341         * function.c (thread_prologue_and_epilogue_insns): Wrap variable
6342         in macros controling its use.
6343         * rtlanal.c: Include tm_p.h.
6344         * varasm.c (asm_output_aligned_bss): Mark parameter with
6345         ATTRIBUTE_UNUSED.
6346         (assemble_constant_align, assemble_start_function, assemble_align,
6347         assemble_variable, assemble_trampoline_template,
6348         output_constant_def_contents): Wrap potentially empty if-stmt body
6349         in brackets.
6350
6351 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6352
6353         * a29k-protos.h (literal_section): Prototype.
6354         * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
6355         * a29k.md: Ensure function pointers are prototyped.
6356         * genattrtab.c (write_eligible_delay): Mark parameter with
6357         ATTRIBUTE_UNUSED.
6358
6359 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6360
6361         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
6362         * 1750a.c (print_operand): Fix format specifier warning.
6363         * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
6364         * 1750a.md: Likewise.
6365         * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
6366         * genemit.c (output_add_clobbers): Mark parameter with
6367         ATTRIBUTE_UNUSED.
6368         * genrecog.c (write_subroutine): Likewise.
6369         * integrate.c (expand_inline_function): Delete unused variable.
6370         * varasm.c (remove_from_pending_weak_list): Wrap with
6371         ASM_WEAKEN_LABEL.
6372
6373 2001-10-19  Jakub Jelinek  <jakub@redhat.com>
6374
6375         * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
6376         field is different to previous argument's neg field.
6377
6378         * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
6379
6380 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6381
6382         * final.c (get_decl_from_op): New function.
6383         (output_asm_insn): Call it; write "*" when item with decl is address.
6384
6385 2001-10-19  Janis Johnson  <janis187@us.ibm.com>
6386
6387         * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
6388         about 64-bit support from the 3.0_branch version.
6389
6390 2001-10-19  Zack Weinberg  <zack@codesourcery.com>
6391
6392         * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
6393         USE_INCLUDED_LIBINTL when appropriate.
6394         * configure, config.in: Regenerate.
6395         * Makefile.in (datadir): Set to @datadir@.
6396         (intl.o): Also depend on $(CONFIG_H) and system.h.
6397
6398         * intl.c: Factor out common gettext initialization sequence.
6399         (gcc_init_libintl):  New function.
6400         * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
6401         otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
6402         off NLS.  Add multiple include guard.  No need to #ifdef-guard
6403         an #undef.  Prototype gcc_init_libintl here.
6404
6405         * collect2.c (main), cppmain.c (general_init), gcc.c (main),
6406         gcov.c (main), protoize.c (main), toplev.c (toplev_main):
6407         Use gcc_init_libintl.
6408
6409 2001-10-19  Catherine Moore  <clm@redhat.com>
6410
6411         * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
6412
6413         * config/stormy16/stormy16.c (stormy16_split_move):  Make
6414         sure that REG_INC notes are present for auto_inc operands.
6415
6416 2001-10-19  Andreas Jaeger  <aj@suse.de>
6417
6418         * configure: Regenerated.
6419         * configure.in: Add x86_64 to switch statements.
6420
6421 2001-10-18  Richard Henderson  <rth@redhat.com>
6422
6423         * config/alpha/alpha.md (sibcall_osf_1): Load destination
6424         address into $27 explicitly.
6425         (sibcall_value_osf_1): Likewise.
6426
6427 Thu Oct 18 16:07:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6428
6429         * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
6430         (offset_address): New function.
6431         (free_emit_status): Free regno_decl.
6432         (init_emit): Pass proper number of elements to xcalloc.
6433         Allocate regno_decl.
6434         (mark_emit_status): Mark regno_decl values.
6435         * expr.c (highest_pow2_factor): New function.
6436         (expand_assigment): Use it and offset_address.
6437         Properly handle ptr_mode vs. Pmode in offset calculation.
6438         (store_constructor, expand_expr_unaligned): Likewise.
6439         (expand_expr, case COMPONENT_EXPR): Likewise.
6440         * expr.h (offset_address): New decl.
6441         * function.h (struct emit_status): Add regno_decl.
6442         (REGNO_DECL): New macro.
6443         * final.c (output_asm_name): Move in file and don't conditionalize
6444         on flag_print_asm_name.
6445         (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
6446         Output names of operands, if known.
6447         * function.c (assign_parms): Set REGNO_DECL.
6448         * integrate.c (integrate_decl_tree): Likewise.
6449         * stmt.c (expand_decl): Likewise.
6450         * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
6451
6452 2001-10-18  Alexandre Oliva  <aoliva@redhat.com>
6453
6454         * attribs.c (handle_noinline_attribute): New function.
6455         (handle_used_attribute): Likewise.
6456         (c_common_attribute_table): Added noinline and used.
6457         * doc/extend.texi (Function Attributes): Document them.
6458         * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
6459         Warn when merging inline with attribute noinline.
6460         (start_decl, start_function): Warn if inline and attribute
6461         noinline appear in the same declaration.
6462
6463 2001-10-17  Neil Booth  <neil@daikokuya.demon.co.uk>
6464
6465         * config.gcc: Update c4x and i370 for C front end-specific
6466         dependencies.
6467         * config/c4x/c4x-c.c: New.
6468         * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
6469         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6470         New declarations.
6471         * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
6472         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6473         Make extern.
6474         (c4x_init_pragma): Remove.
6475         (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
6476         c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
6477         c4x_pr_ignored): Move to c4x-c.c.
6478         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
6479         * config/c4x/t-c4x: Update.
6480         * config/i370/i370-c.c: New.
6481         * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
6482         (i370_pr_map): Move to i370-c.c.
6483         * config/i370/t-i370: New.
6484
6485         * doc/tm.texi: Update.
6486
6487 2001-10-17  Stan Shebs  <shebs@apple.com>
6488
6489         * config/rs6000/rs6000.c: Make assorted mechanical formatting and
6490         typo fixes throughout.
6491         (machopic_output_stub): Remove some dead code.
6492
6493 2001-10-17  Richard Earnshaw <rearnsha@arm.com>
6494
6495         * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
6496         leak.
6497
6498 Wed Oct 17 05:26:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6499
6500         * Makefile.in (print-rtl.o): Depend on TREE_H.
6501         * alias.c (get_alias_set): Make two passes over objects to first
6502         see if inner object is access via restricted pointer.
6503         Defer allocating alias set for restricted pointer until here.
6504         Call find_placeholder with second arg nonzero.
6505         Minor cleanups.
6506         * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
6507         set for restricted pointer types.
6508         * emit-rtl.c (set_mem_attributes): Set more attributes.
6509         (set_mem_align, change_address, adjust_address_1): New functions.
6510         (change_address_1): Now static.
6511         (adjust_address, adjust_address_nv): Deleted.
6512         (replace_equiv_address): Call change_address_1.
6513         * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
6514         (find_placeholder): Get starting point from PLIST arg.
6515         (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
6516         * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
6517         (adjust_address, adjust_address_nv): New macros.
6518         * print-rtl.c (tree.h): New include.
6519         (print_rtx, case MEM): Print all memory attributes.
6520
6521 2001-10-17  Richard Henderson  <rth@redhat.com>
6522
6523         * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
6524
6525 2001-10-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
6526
6527         * c-tree.texi: Eliminate duplicated word.
6528         * cpp.texi: Likewise.
6529         * install.texi: Likewise.
6530         * invoke.texi: Likewise.
6531         * tm.texi: Likewise.
6532
6533 2001-10-17  Michael Collison  <collison@isisinc.net>
6534
6535         * dsp16xx.c: Fix comment formatting to match GNU standards.
6536         (dsp16xx_output_function_prologue): Change type of 'size'
6537         parameter from 'int' to HOST_WIDE_INT.
6538         (dsp16xx_output_function_epilogue): Change type of 'size'
6539         parameter from 'int' to HOST_WIDE_INT.
6540
6541 2001-10-16  Richard Henderson  <rth@redhat.com>
6542
6543         * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
6544         * configure, config.in: Rebuild.
6545
6546         * config/i386/i386.c (ix86_output_addr_vec_elt): New.
6547         (ix86_output_addr_diff_elt): New.
6548         * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
6549         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6550         (JUMP_TABLES_IN_TEXT_SECTION): New.
6551         * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
6552         * config/i386/i386-protos.h: Update.
6553
6554         * config/i386/386bsd.h, config/i386/beos-elf.h,
6555         config/i386/freebsd-aout.h, config/i386/freebsd.h,
6556         config/i386/i386-interix.h, config/i386/i386elf.h,
6557         config/i386/linux.h, config/i386/netbsd-elf.h,
6558         config/i386/netbsd.h, config/i386/openbsd.h,
6559         config/i386/ptx4-i.h, config/i386/rtemself.h,
6560         config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
6561         (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
6562
6563 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
6564
6565         * stmt.c (expand_asm_operands): Update commentary.
6566
6567 2001-10-16  Stan Shebs  <shebs@apple.com>
6568
6569         * config/darwin.h (GCC_NAME): Remove, no longer used.
6570         (NO_MATH_LIBRARY): Ditto.
6571         (MATH_LIBRARY): Define to emptiness.
6572         (DWARF2_DEBUGGING_INFO): Define.
6573         (PREFERRED_DEBUGGING_TYPE): Define.
6574         (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
6575         (EXCEPTION_SECTION): Define.
6576         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6577         * config/darwin.c (darwin_encode_section_info): Handle case of
6578         DECL_INITIAL being error_mark_node.
6579
6580 2001-10-16  Richard Henderson  <rth@redhat.com>
6581
6582         * alpha.c (current_file_function_operand): Don't fail for profiling.
6583         (direct_call_operand): New.
6584         * alpha-protos.h: Declare it.
6585         * alpha.h (EXTRA_CONSTRAINT): Use it.
6586         (PREDICATE_CODES): Add it.
6587         (ASM_OUTPUT_MI_THUNK): Remove.
6588         * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
6589         * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
6590
6591 2001-10-16  Krister Walfridsson  <cato@df.lth.se>
6592
6593         * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
6594         (JUMP_TABLES_IN_TEXT_SECTION): Define.
6595
6596 Wed Oct 17 00:21:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
6597
6598         * cfg.c (free_edge): Break out from ....
6599         (remove_edge): ... here.
6600         (clear_edges): Use free_edge.
6601
6602         * att.h (ASM_QUAD): Add comment.
6603         * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
6604
6605 Wed Oct 17 00:01:02 CEST 2001  Jan Hubicka  <jh@suse.cz>
6606
6607         * i386.c (split_ti): New function.
6608         (ix86_split_to_parts): Support TImodes.
6609         * i386.h (VALID_INT_MODE_P): Add TImode.
6610         * i386.md (movdi splitter): Fix.
6611         (movti): Support 64bit integer registers.
6612         (movti_rex64): New function and splitter.
6613
6614         * i386.c (*_cost): Add movsx/movzx cost.
6615         * i386.h (struct processor_costs): Add movsx/movzx fields.
6616         (RTX_COSTS): Handle zero/sign extend + avoid believing that
6617         64bit operations require split on 64bit machine.
6618         (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
6619
6620         * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
6621         (ix86_expand_move): Avoid pushes of memory if size does not match;
6622         move long constants to register.
6623         (x86_initialize_trampoline): Fix mode.
6624         * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
6625         Use ASM_QUAD on 64bit.
6626         * i386.md (test pattern): Disallow impossible constants.
6627         (tablejump PIC expander): Fix emitting of sum.
6628         (movdicc_rex64): Rename to movdicc.
6629         * linux64.h (LINK_SPEC): Add missing '%'.
6630
6631 2001-10-16  Alexandre Oliva  <aoliva@redhat.com>
6632
6633         * tree-inline.c (inlinable_function_p): Leave it up to the
6634         front-end to turn -finline-functions into DECL_INLINE set for all
6635         functions.
6636
6637 2001-10-16  Stan Shebs  <shebs@apple.com>
6638
6639         * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
6640
6641 2001-10-16  Alan Modra  <amodra@bigpond.net.au>
6642
6643         * recog.c: Formatting and comment typo fixes.
6644
6645         * configure.in (gcc_cv_as_bfd_srcdir): New.  Use it to find gas
6646         version in single tree build.
6647         * configure: Regenerate.
6648
6649 2001-10-15  David Edelsohn  <edelsohn@gnu.org>
6650
6651         * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
6652         MODE arguments to gen_rtx and compare operand with const0_rtx.
6653
6654 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
6655
6656         * system.h: Poison old unused target macros.
6657         * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6658         * config/stormy16/stormy16.c: Update references to obsolete macros.
6659         * config/stormy16/stormy16.h: Similarly.
6660         * config/stormy16/stormy16.md: Similarly.
6661         * config/cris/cris.h: Similarly.
6662
6663 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
6664
6665         * cpplib.c (struct pragma_entry): Store the name as a hashnode.
6666         (lookup_pragma_entry, insert_pragma_entry, do_pragma,
6667         cpp_register_pragma): Update accordingly.
6668
6669 2001-10-14  Neil Booth  <neil@daikokuya.demon.co.uk>
6670
6671         * c-pragma.h (cpp_register_pragma_space): Remove.
6672         * cpplib.h (cpp_register_pragma_space): Remove.
6673         * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
6674         (cpp_register_pragma_space): Remove.
6675         (cpp_register_pragma): Simplify using lookup_pragma_entry,
6676         add sanity checks.
6677         (do_pragma): Similarly.
6678         (_cpp_init_internal_pragmas): Don't register namespaces.
6679
6680         * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
6681         Don't register namespaces.
6682         * cp/lex.c (init_cp_pragma): Similarly.
6683         * doc/tm.texi: Update.
6684
6685 2001-10-10  Craig Rodrigues  <rodrigc@gcc.gnu.org>
6686
6687         PR c/4157
6688         * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
6689
6690 2001-10-13  Michael Collison  <collison@dhcp-12-114.townisp.com>
6691
6692         * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
6693         add scheduling support.
6694         * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
6695         * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
6696         * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
6697
6698
6699 2001-10-13  Hans-Peter Nilsson  <hp@axis.com>
6700
6701         * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
6702         missing CONSTANT_P test in core GCC.
6703
6704 2001-10-12  Neil Booth  <neil@daikokuya.demon.co.uk>
6705
6706         * cppmain.c (struct printer): New member source.
6707         (scan_translation_unit): Fix spacing at start of lines.
6708         (cb_line_change): Update.
6709
6710         * gcc.dg/cpp/spacing2.c: New test.
6711
6712 2001-10-12  Hans-Peter Nilsson  <hp@axis.com>
6713
6714         * config/cris/arit.c: Use __builtin_labs, not abs.
6715
6716         * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
6717
6718         * config/cris/cris.c (cris_target_asm_function_epilogue): Move
6719         misplaced sprintf and fprintf argument.
6720
6721 2001-10-12  Zack Weinberg  <zack@codesourcery.com>
6722
6723         * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
6724         * configure.in, Makefile.in: Take out obsolete check-po logic.
6725         * configure, config.in: Regenerate.
6726
6727 2001-10-12  Ziemowit Laski  <zlaski@apple.com>
6728
6729         * objc/objc-act.c (finish_objc): Correct precondition for emitting
6730         symtab declarations.
6731
6732 2001-10-12  Stan Shebs  <shebs@apple.com>
6733
6734         * config/rs6000/rs6000.c: Remove uses of "register" specifier in
6735         declarations of arguments and local variables.
6736
6737 2001-10-12  Christopher Faylor  <cgf@redhat.com>
6738
6739         * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
6740         ENDFILE_SPEC definition.
6741
6742 2001-10-12  Kazu Hirata  <kazu@hxi.com>
6743
6744         * gthr-dce.h: Fix comment formatting.
6745         * gthr-posix.h: Likewise.
6746         * gthr-single.h: Likewise.
6747         * gthr-solaris.h: Likewise.
6748         * gthr-vxworks.h: Likewise.
6749         * gthr-win32.h: Likewise.
6750
6751 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
6752
6753         * final.c (output_asm_insn): Make sure assembly dialects are
6754         terminated, not nested.  Output `|' and `}' characters if they
6755         don't appear inside assembly dialect selection.
6756         * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
6757         rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
6758         rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
6759         strsetsi_rex_1): Add {} braces.
6760
6761 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
6762
6763         * toplev.c (compile_file): Ignore return value from yyparse.
6764         Always pop any nested binding levels after yyparse returns.
6765
6766 2001-10-11  Richard Henderson  <rth@redhat.com>
6767
6768         * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
6769
6770 2001-10-11  Richard Henderson  <rth@redhat.com>
6771
6772         * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
6773         fall back to add_AT_long_long for large CONST_INT.
6774
6775 2001-10-11  Richard Henderson  <rth@redhat.com>
6776
6777         * config/i386/i386.md (setcc splitters): Add four splitters to
6778         simplify compound compares that simplify_comparison can't handle.
6779
6780 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
6781
6782         * cpplex.c (digraph_spellings, token_spellings): Make static.
6783
6784 2001-10-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6785
6786         * unroll.c (loop_iterations): Fixup last patch.
6787
6788 2001-10-11  Richard Henderson  <rth@redhat.com>
6789
6790         * rtl.h (REG_VTABLE_REF): New.
6791         * rtl.c (reg_note_name): Add it.
6792         * combine.c (distribute_notes): Handle it.
6793         * final.c (final_scan_insn): Handle it.
6794         * tree.def (VTABLE_REF): New.
6795         * expr.c (expand_expr): Handle it.
6796         * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
6797         * output.h: Declare them.
6798
6799 2001-10-11  Richard Henderson  <rth@redhat.com>
6800
6801         * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
6802         for a DECL_INITIAL.
6803
6804 2001-10-11  David Edelsohn  <edelsohn@gnu.org>
6805
6806         * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
6807         available in 64-bit mode.
6808
6809 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
6810
6811         * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
6812         cris-*-linux* cases.
6813         * config/cris/cris-protos.h: New file.
6814         * config/cris/cris.c: New file.
6815         * config/cris/cris.h: New file.
6816         * config/cris/cris.md: New file.
6817         * config/cris/linux.h: New file.
6818         * config/cris/aout.h: New file.
6819         * config/cris/arit.c: New file.
6820         * config/cris/cris_abi_symbol.c: New file.
6821         * config/cris/mulsi3.asm: New file.
6822         * config/cris/t-aout: New file.
6823         * config/cris/t-cris: New file.
6824         * config/cris/t-elfmulti: New file.
6825         * config/cris/t-linux: New file.
6826         * doc/invoke.texi: Add CRIS options.
6827         * doc/install.texi (Specific): Add blurb for CRIS.
6828
6829 2001-10-10  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
6830
6831         * config/float-i128.h: Make sure __STDC__VERSION__ is defined
6832         before using it.
6833         * config/float/i32.h: Likewise.
6834         * config/float-i386.h: Likewise.
6835         * config/float-i64.h: Likewise.
6836         * config/float-m68k.h: Likewise.
6837         * config/float-sh.h: Likewise.
6838         * config/float-sparc.h: Likewise.
6839
6840 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
6841
6842         * doc/contrib.texi: Add note about CRIS port to my entry.
6843
6844 2001-10-11  Kazu Hirata  <kazu@hxi.com>
6845
6846         * basic-block.h: Fix formatting.
6847         * bitmap.h: Likewise.
6848         * cpplib.h: Likewise.
6849         * c-tree.h: Likewise.
6850         * diagnostic.h: Likewise.
6851         * flags.h: Likewise.
6852         * ggc.h: Likewise.
6853         * longlong.h: Likewise.
6854         * real.h: Likewise.
6855         * reload.h: Likewise.
6856         * rtl.h: Likewise.
6857         * tree.h: Likewise.
6858
6859 2001-10-10  Richard Henderson  <rth@redhat.com>
6860
6861         * c-parse.in (asm_operand): Allow named operands.
6862         * genconfig.c (max_recog_operands): Set to 29.
6863         * local-alloc.c (requires_inout): Skip multiple digits.
6864         * recog.c (asm_operand_ok): Likewise.
6865         (preprocess_constraints): Use strtoul for matching constraints.
6866         (constrain_operands): Likewise.
6867         * regmove.c (find_matches): Likewise.
6868         * reload.c (find_reloads): Likewise.
6869         * stmt.c (parse_output_constraint): Don't reject in-out
6870         constraint on operands > 9.  Reject '[' in constraint.
6871         (expand_asm_operands): Handle named operands.  Use strtoul
6872         for matching constraints.
6873         (check_operand_nalternatives): Split out from expand_asm_operands.
6874         (check_unique_operand_names): New.
6875         (resolve_operand_names, resolve_operand_name_1): New.
6876
6877         * doc/extend.texi (Extended Asm): Document named operands.
6878         * doc/md.texi (Simple Constraints): Document matching constraints
6879         on operands > 9.
6880
6881 2001-10-10  Richard Henderson  <rth@redhat.com>
6882
6883         * combine.c (try_combine): Handle a SEQUENCE of one insn.
6884
6885         * i386.c (test splitter): Narrow tests vs paradoxical subregs.
6886         (jcc splitters): Add two splitters to simplify compound compares
6887         that simplify_comparison can't handle.
6888
6889 2001-10-10  Richard Henderson  <rth@redhat.com>
6890
6891         * langhooks.c: Include langhooks.h.
6892         * Makefile.in (langhooks.o): Depend on it.
6893
6894 Wed Oct 10 23:49:06 EDT 2001  John Wehle  (john@feith.com)
6895
6896         * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
6897         should not be considered as a no-op.
6898         * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
6899
6900 2001-10-10  Stan Shebs  <shebs@apple.com>
6901
6902         * alias.c: Remove uses of "register" specifier in declarations
6903         of arguments and local variables.
6904         * c-common.c: Ditto.
6905         * c-convert.c: Ditto.
6906         * c-decl.c: Ditto.
6907         * c-format.c: Ditto.
6908         * c-semantics.c: Ditto.
6909         * c-typeck.c: Ditto.
6910         * caller-save.c: Ditto.
6911         * calls.c: Ditto.
6912         * cfg.c: Ditto.
6913         * cfgbuild.c: Ditto.
6914         * cfgrtl.c: Ditto.
6915         * collect2.c: Ditto.
6916         * combine.c: Ditto.
6917         * convert.c: Ditto.
6918         * cppexp.c: Ditto.
6919         * cppfiles.c: Ditto.
6920         * cse.c: Ditto.
6921         * dbxout.c: Ditto.
6922         * defaults.h: Ditto.
6923         * df.c: Ditto.
6924         * dwarf2out.c: Ditto.
6925         * dwarfout.c: Ditto.
6926         * emit-rtl.c: Ditto.
6927         * explow.c: Ditto.
6928         * expmed.c: Ditto.
6929         * expr.c: Ditto.
6930         * final.c: Ditto.
6931         * fix-header.c: Ditto.
6932         * floatlib.c: Ditto.
6933         * flow.c: Ditto.
6934         * fold-const.c: Ditto.
6935         * function.c: Ditto.
6936         * gcc.c: Ditto.
6937         * gcse.c: Ditto.
6938         * gen-protos.c: Ditto.
6939         * genattrtab.c: Ditto.
6940         * gencheck.c: Ditto.
6941         * genconfig.c: Ditto.
6942         * genemit.c: Ditto.
6943         * genextract.c: Ditto.
6944         * genflags.c: Ditto.
6945         * gengenrtl.c: Ditto.
6946         * genoutput.c: Ditto.
6947         * genpeep.c: Ditto.
6948         * genrecog.c: Ditto.
6949         * gensupport.c: Ditto.
6950         * global.c: Ditto.
6951         * gmon.c: Ditto.
6952         * graph.c: Ditto.
6953         * haifa-sched.c: Ditto.
6954         * hard-reg-set.h: Ditto.
6955         * hash.c: Ditto.
6956         * integrate.c: Ditto.
6957         * jump.c: Ditto.
6958         * lists.c: Ditto.
6959         * local-alloc.c: Ditto.
6960         * loop.c: Ditto.
6961         * mips-tdump.c: Ditto.
6962         * mips-tfile.c: Ditto.
6963         * optabs.c: Ditto.
6964         * prefix.c: Ditto.
6965         * print-rtl.c: Ditto.
6966         * read-rtl.c: Ditto.
6967         * real.c: Ditto.
6968         * recog.c: Ditto.
6969         * reg-stack.c: Ditto.
6970         * regclass.c: Ditto.
6971         * regmove.c: Ditto.
6972         * reload.c: Ditto.
6973         * reload1.c: Ditto.
6974         * reorg.c: Ditto.
6975         * resource.c: Ditto.
6976         * rtl.c: Ditto.
6977         * rtlanal.c: Ditto.
6978         * scan.c: Ditto.
6979         * sched-deps.c: Ditto.
6980         * sched-rgn.c: Ditto.
6981         * sdbout.c: Ditto.
6982         * simplify-rtx.c: Ditto.
6983         * stmt.c: Ditto.
6984         * stor-layout.c: Ditto.
6985         * toplev.c: Ditto.
6986         * tradcif.y: Ditto.
6987         * tradcpp.c: Ditto.
6988         * tree.c: Ditto.
6989         * unroll.c: Ditto.
6990         * varasm.c: Ditto.
6991         * xcoffout.c: Ditto.
6992
6993 2001-10-10  Richard Henderson  <rth@redhat.com>
6994
6995         * rtl.h (can_reverse_comparison_p): Remove.
6996
6997 2001-10-10  Christopher Faylor <cgf@redhat.com>
6998
6999         * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
7000         used.
7001
7002 2001-10-10  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
7003
7004         * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
7005         (Thanks to Chris Faylor for suggesting macro name).
7006         (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
7007         WIN32 defines.
7008         (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
7009         (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
7010         (MATH_LIBRARY): Undef before definition.
7011         (OUTPUT_QUOTED_STRING): Likewise.
7012         * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
7013
7014 2001-10-10  Richard Henderson  <rth@redhat.com>
7015
7016         * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
7017         (fde_unencoded_compare): Likewise.  Don't use subtraction to get
7018         a tristate comparison value.
7019         (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
7020
7021 2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7022
7023         PR c++/4512
7024         * unroll.c (loop_iterations): Ignore insns generated by loop
7025         unrolling.
7026
7027         * config.gcc (mips*-*-gnu*): Delete support.
7028         * config/mips/gnu.h: Remove.
7029
7030 2001-10-10  Kazu Hirata  <kazu@hxi.com>
7031
7032         * calls.c: Fix formatting.
7033         * c-decl.c: Likewise.
7034         * cfgcleanup.c: Likewise.
7035         * combine.c: Likewise.
7036         * cppfiles.c: Likewise.
7037         * cpplib.c: Likewise.
7038         * cppmacro.c: Likewise.
7039         * crtstuff.c: Likewise.
7040         * cse.c: Likewise.
7041         * dwarf2out.c: Likewise.
7042         * expmed.c: Likewise.
7043         * expr.c: Likewise.
7044         * fold-const.c: Likewise.
7045         * function.c: Likewise.
7046         * gcse.c: Likewise.
7047         * genattrtab.c: Likewise.
7048         * ggc-page.c: Likewise.
7049         * integrate.c: Likewise.
7050         * libgcc2.c: Likewise.
7051         * loop.c: Likewise.
7052         * optabs.c: Likewise.
7053         * profile.c: Likewise.
7054         * protoize.c: Likewise.
7055         * real.c: Likewise.
7056         * recog.c: Likewise.
7057         * reload1.c: Likewise.
7058         * reload.c: Likewise.
7059         * reorg.c: Likewise.
7060         * resource.c: Likewise.
7061         * sched-rgn.c: Likewise.
7062         * sdbout.c: Likewise.
7063         * stmt.c: Likewise.
7064         * toplev.c: Likewise.
7065         * varasm.c: Likewise.
7066
7067 2001-10-10  Janis Johnson  <janis187@us.ibm.com>, Alexandre Oliva  <aoliva@redhat.com>
7068
7069         * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
7070         * Makefile.in (langhooks.o): Add dependencies.
7071
7072 Wed Oct 10 00:41:29 EDT 2001  John Wehle  (john@feith.com)
7073
7074         * rs6000.c (rs6000_emit_load_toc_table): Don't
7075         strdup the toc label.
7076         (create_TOC_reference): Likewise.
7077
7078 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
7079
7080         * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
7081         version default.
7082
7083 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
7084
7085         * config/i386/i386.c (ix86_attribute_table): Correct
7086         min_len, max_len fields for dllimport, dllexport and shared.
7087
7088 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7089
7090         * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
7091         doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
7092         Consistently use "nonzero" instead of "non-zero".
7093
7094 2001-10-09  Kazu Hirata  <kazu@hxi.com>
7095
7096         * acconfig.h: Fix comment formatting.
7097         * c-dump.h: Likewise.
7098         * c-tree.h: Likewise.
7099         * conditions.h: Likewise.
7100         * expr.h: Likewise.
7101         * function.h: Likewise.
7102         * gthr.h: Likewise.
7103         * hwint.h: Likewise.
7104         * integrate.h: Likewise.
7105         * intl.h: Likewise.
7106         * loop.h: Likewise.
7107         * optabs.h: Likewise.
7108
7109 2001-10-09  Kazu Hirata  <kazu@hxi.com>
7110
7111         * c-common.h: Fix comment formatting.
7112         * c-dump.c: Likewise.
7113         * cfg.c: Likewise.
7114         * diagnostic.h: Likewise.
7115         * except.c: Likewise.
7116         * gcc.h: Likewise.
7117         * gcov-io.h: Likewise.
7118         * genattrtab.c: Likewise.
7119         * output.h: Likewise.
7120         * predict.h: Likewise.
7121         * reload1.c: Likewise.
7122         * reload.h: Likewise.
7123         * resource.h: Likewise.
7124         * scan.h: Likewise.
7125         * system.h: Likewise.
7126         * tree.h: Likewise.
7127         * tree-inline.c: Likewise.
7128         * tsystem.h: Likewise.
7129         * varasm.c: Likewise.
7130         * xcoffout.h: Likewise.
7131
7132 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
7133
7134         * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
7135
7136 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
7137
7138         * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
7139         config/i386/i386elf.h, config/i386/netbsd-elf.h,
7140         config/i386/netware.h, config/mcore/gfloat.h,
7141         config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
7142         config/netware.h, gccbug.in: Update FSF address.
7143
7144 2001-10-09  Kazu Hirata  <kazu@hxi.com>
7145
7146         * c-common.c: Fix comment typos.
7147         * cfgrtl.c: Likewise.
7148         * collect2.c: Likewise.
7149         * cpplex.c: Likewise.
7150         * doloop.c: Likewise.
7151         * dwarf2out.c: Likewise.
7152         * dwarfout.c: Likewise.
7153         * expr.c: Likewise.
7154         * fold-const.c: Likewise.
7155         * gcc.c: Likewise.
7156         * gcov.c: Likewise.
7157         * gcse.c: Likewise.
7158         * global.c: Likewise.
7159         * ifcvt.c: Likewise.
7160         * loop.c: Likewise.
7161         * optabs.c: Likewise.
7162         * protoize.c: Likewise.
7163         * regclass.c: Likewise.
7164         * reorg.c: Likewise.
7165         * rtl.h: Likewise.
7166         * stmt.c: Likewise.
7167         * tree.h: Likewise.
7168         * doc/cpp.texi: Likewise.
7169         * doc/c-tree.texi: Likewise.
7170         * doc/extend.texi: Likewise.
7171         * doc/invoke.texi: Likewise.
7172         * doc/objc.texi: Likewise.
7173         * doc/tm.texi: Likewise.
7174
7175 2001-10-08  Richard Henderson  <rth@redhat.com>
7176
7177         * varasm.c (set_named_section_flags): Initialize "declared".
7178
7179 2001-10-08  Robert Lipe  <robertlipe@usa.net>
7180
7181         * varasm.c (struct in_named_entry): Add declared.
7182         (named_section_first_declaration): New function.
7183         (default_elf_asm_named_section): Use it.
7184         * output.h (named_section_first_declaration): New.
7185
7186 2001-10-08  Richard Henderson  <rth@redhat.com>
7187
7188         * i386.md (movsi_xor): Export.
7189         (setcc peep2): Use it when available; add an alternative to
7190         match zero_extendhisi2_and.
7191
7192 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7193
7194         * romp-protos.h (romp_initialize_trampoline): New function.
7195         * romp.c (romp_initialize_trampoline): Likewise.
7196         * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
7197         romp_initialize_trampoline.
7198
7199 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7200
7201         * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
7202         * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
7203         * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
7204         * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
7205
7206 2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7207
7208         * unroll.c (loop_iterations): Extend check for multiple back edges.
7209
7210 2001-10-08  Alexandre Oliva  <aoliva@redhat.com>
7211
7212         * langhooks.h: New file.
7213         * Makefile.in (OBJS): Added langhooks.o.
7214         (c-lang.o): Depend on langhooks.h.
7215         (c-common.o): Don't depend on tree-inline.h.
7216         (tree-inline.o): Depend on toplev.h.
7217         (langhooks.o): New rule.
7218         * c-common.c: Don't include tree-inline.h.
7219         (c_mark_lang_decl): Mark argument c as unused.
7220         (c_common_lang_init): Don't initialize hooks here.
7221         * c-lang.c: Include langhooks.h, then override some macros.
7222         (lang_hooks): Initialize with macros in langhooks.h.
7223         (c_init): Don't initialize hooks here.
7224         * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
7225         (struct lang_hooks): Add tree_inlining.  Refer to langhooks.h.
7226         * tree-inline.c: Include toplev.h.  Don't define hook variables.
7227         * tree-inline.h: Don't define hook types nor declare hook
7228         variables.  Move macros to...
7229         * langhooks.c: ... new file, as functions.  Adjust all callers.
7230
7231 2001-10-08  Jeffrey A Law  <law@cygnus.com>
7232
7233         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
7234         purge_mem_unchanging_flag on all instructions, not just on those
7235         before NOTE_INSN_FUNCTION_BEG.
7236
7237 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
7238
7239         * cppmacro.c (_cpp_create_definition): Leave comments off.
7240
7241         * doc/cpp.texi: Update.
7242
7243 2001-10-08  DJ Delorie  <dj@redhat.com>
7244
7245         * c-decl.c (grokfield): Make sure the only unnamed fields
7246         we're allowing are either structs or unions.
7247         * doc/extend.texi: Add documentation for the unnamed field
7248         extension.
7249
7250 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
7251
7252         * aclocal.m4 (gcc_AC_PROG_GNAT): New.
7253         * configure.in: Use it.
7254         * configure: Regenerated.
7255         * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
7256         config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
7257
7258 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
7259
7260         * cppfiles.c (open_file): Don't mark zero-length files
7261         never-reread here.  Don't output diagnostics here either.
7262         (stack_include_file): Mark them never-reread here.
7263         (_cpp_read_file): Update.
7264
7265 2001-10-08  Richard Henderson  <rth@redhat.com>
7266
7267         * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
7268
7269 2001-10-08  Richard Henderson  <rth@redhat.com>
7270
7271         * expr.c (store_expr): When converting a CONST_INT for storage
7272         in a SUBREG, convert it to both SUBREG modes before stripping
7273         the SUBREG.
7274
7275 2001-10-08  Richard Henderson  <rth@redhat.com>
7276
7277         * varasm.c (restore_varasm_status): New.
7278         * function.h: Declare it.
7279         * function.c (pop_function_context_from): Call it.
7280
7281 2001-10-08  Richard Henderson  <rth@redhat.com>
7282
7283         * c-common.h (struct c_lang_decl): Add declared_inline.
7284         * c-tree.h (DECL_DECLARED_INLINE_P): New.
7285         * c-lang.c (c_disregard_inline_limits): Use it.
7286         * c-decl.c (duplicate_decls): Likewise.
7287         (pushdecl, redeclaration_error_message): Likewise.
7288         (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
7289         (grokdeclarator): Likewise.  Set DECL_DECLARED_INLINE_P.
7290         Set DECL_INLINE if -finline-functions.
7291         (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
7292
7293 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
7294
7295         * cppmacro.c (funlike_invocation_p): Move some logic to caller
7296         in enter_macro_context.  Create a padding token in its own context
7297         if necessary when the search for '(' fails.
7298         (enter_macro_context): Update.
7299
7300 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
7301
7302         * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
7303         genmultilib, toplev.c: Fix spelling errors of "separate" as
7304         "seperate", and corresponding spelling errors of related words.
7305
7306 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7307
7308         * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
7309         * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
7310         Likewise.
7311         * c-dump.c (dump_option_value_info): Likewise.
7312         * c-format.c (format_length_info, format_char_info,
7313         format_flag_spec, format_flag_pair, format_kind_info): Likewise.
7314         * collect2.c (names): Likewise.
7315         * cppdefault.h (default_include): Likewise.
7316         * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
7317         * flow.c (life_analysis): Likewise.
7318         * gcc.c (dir_separator_str, modify_target, option_map,
7319         target_option_translations, spec_list_1, extra_specs_1,
7320         init_spec): Likewise.
7321         * gcov.c (gcov_version_string): Likewise.
7322         * genattr.c (write_units): Likewise.
7323         * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
7324         * gengenrtl.c (rtx_definition, defs): Likewise.
7325         * genrecog.c (pred_table): Likewise.
7326         * global.c (global_alloc): Likewise.
7327         * lcm.c (optimize_mode_switching): Likewise.
7328         * local-alloc.c (find_free_reg): Likewise.
7329         * params.h (param_info): Likewise.
7330         * predict.c (predictor_info): Likewise.
7331         * protoize.c (unexpansion_struct): Likewise.
7332         * real.c (bmask): Likewise.
7333         * recog.h (insn_operand_data, insn_data): Likewise.
7334         * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
7335         * stmt.c (expand_nl_goto_receiver): Likewise.
7336         * toplev.c (da, debug_args, lang_opt, documented_lang_options,
7337         target_switches, target_options): Likewise.
7338         * tradcif.y (token, tokentab2, yylex): Likewise.
7339         * tree.h (attribute_spec): Likewise.
7340
7341         * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
7342         Likewise.
7343         * arc.c (arc_output_function_epilogue): Likewise.
7344         * arm.c (processors, all_cores, all_architectures,
7345         arm_override_options, isr_attribute_arg, isr_attribute_args,
7346         arm_isr_value): Likewise.
7347         * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
7348         Likewise.
7349         * c4x.c (c4x_int_reglist): Likewise.
7350         * d30v.c (override_options): Likewise.
7351         * h8300.c (shift_insn): Likewise.
7352         * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
7353         pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
7354         ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
7355         builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
7356         ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
7357         * i386.h (processor_costs, ix86_cost): Likewise.
7358         * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
7359         * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
7360         * m68k.c (codes_68881, codes_FPA): Likewise.
7361         * m88k.c (mode_from_align, max_from_align, all_from_align,
7362         best_from_align, m_options): Likewise.
7363         * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
7364         * mcore.c (mode_from_align): Likewise.
7365         * mips/elf64.h (UNIQUE_SECTION): Likewise.
7366         * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
7367         * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
7368         * mips.h (mips_regno_to_class): Likewise.
7369         * ns32k.c (scales): Likewise.
7370         * pa.c (import_string, magic_milli): Likewise.
7371         * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
7372         * sparc.c (leaf_reg_remap, sparc_override_options,
7373         reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
7374         Likewise.
7375         * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
7376
7377 2001-10-07  Dale Johannesen  <dalej@apple.com>
7378
7379         * reload1.c (reload_reg_free_p): Teach register interference
7380         checking that multiple output reloads are emitted in
7381         reverse order.
7382         reload1.c (reload_reg_reaches_end_p):  Ditto.
7383         reload1.c (reloads_conflict):  Ditto.
7384
7385 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
7386
7387         * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
7388         NULL_TREE inside @code.
7389
7390 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
7391
7392         * doc/gcc.texi: Document consistent style of "32-bit",
7393         "Objective-C", and "@code{NULL}".
7394
7395 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
7396
7397         * cpplex.c (enum spell_type): Add SPELL_NUMBER.
7398         (cpp_token_len, cpp_spell_token, cpp_output_token,
7399         _cpp_equiv_tokens): Handle it.
7400         * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
7401         CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
7402         * cppexp.c (_cpp_parse_expr): Use the correct operator code in
7403         error messages.
7404
7405 Sat Oct  6 07:42:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7406
7407         * gcc.c (default_compilers): Remove .ada.
7408
7409 2001-10-06  Neil Booth  <neil@daikokuya.demon.co.uk>
7410
7411         * doc/cppinternals.texi: Update.
7412
7413 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
7414
7415         * gcc.c (main): Set this_file_error if the appropriate
7416         compiler for a language has not been installed.
7417
7418 2001-10-06  Ulrich Weigand  <uweigand@de.ibm.com>
7419
7420         * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
7421
7422 2001-10-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7423
7424         * gccbug.in (CATEGORIES): Add ada.
7425
7426 2001-10-05  Catherine Moore  <clm@redhat.com>
7427
7428         * config/stormy16/stormy-abi:  Document abi changes.
7429         * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
7430         (ICALL_REGS): New register class.
7431         (NUM_ARGUMENT_REGISTERS): Now 6.
7432         (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
7433         in registers.
7434         (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
7435         * config/stormy16.md (call_internal, call_value_internal,
7436         indirect_jump): Use new 'z' constraint.
7437
7438 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
7439
7440         * doc/cppinternals.texi: Update.
7441
7442 2001-10-05  Richard Henderson  <rth@redhat.com>
7443
7444         * dwarf2out.c (FRAME_BEGIN_LABEL): New.
7445         (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
7446         the gas section-name-as-label feature.
7447
7448 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
7449
7450         * doc/cppinternals.texi: Update.
7451
7452 Fri Oct  5 08:17:46 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7453
7454         * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
7455         to ensure valid SImode constants.
7456
7457 2001-10-05  Alexandre Oliva  <aoliva@redhat.com>
7458
7459         * Makefile.in (c-decl.o): Depend on tree-inline.h.
7460         (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
7461         * c-decl.c: Include tree-inline.h.
7462         (c_expand_body): Call optimize_inline_calls. Determine whether
7463         a function is inlinable upfront, and only clear
7464         DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
7465         * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
7466         (c_disregard_inline_limits): New function.
7467         (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
7468         (c_post_options): Enable tree inlining if inlining is enabled.
7469         Don't inline trees when instrumenting functions.
7470         (c_init): Initialize lang_disregard_inline_limits and
7471         lang_cannot_inline_tree_fn.
7472         * tree-inline.c (initialize_inlined_parameters): Handle calls
7473         with fewer arguments than declared parameters, and fewer
7474         parameters than passed arguments.  Don't assume value is a
7475         DECL.
7476         (declare_return_variable): Convert return value back to the
7477         original type, if it was promoted.
7478         (tree_inlinable_function_p): New function.
7479         (inlinable_function_p): Don't look at DECL_INLINE if we're
7480         inlining all functions.  Make it work with a NULL id.
7481         Re-check DECL_UNINLINABLE after language-specific checks.
7482         * tree-inline.h (tree_inlinable_function_p): Declare it.
7483         * integrate.c (save_for_inline): Don't bother to prepare argvec
7484         when not inlining.
7485         * cse.c (check_for_label_ref): Don't check deleted labels.
7486
7487         * Makefile.in (tree-inline.o): Depend on newly-included headers.
7488         * tree-inline.c: Include headers needed for the functions moved in.
7489         (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
7490         (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
7491         (copy_body, initialize_inlined_parameters): Likewise.
7492         (declare_return_variable, inlinable_function_p): Likewise.
7493         (expand_call_inline, expand_calls_inline): Likewise.
7494         (optimize_inline_calls, clone_body): Likewise.
7495         (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
7496         (copy_tree_r, remap_save_expr): Likewise.
7497
7498 2001-10-04  Alexandre Oliva  <aoliva@redhat.com>
7499
7500         * Makefile.in (OBJS): Added tree-inline.o.
7501         (c-common.o): Depend on tree-inline.h.
7502         (tree-inline.o): New target.
7503         * c-common.c: Include tree-inline.h.
7504         (c_mark_lang_decl): Don't mark saved_tree.
7505         (c_common_lang_init): Set lang_anon_aggr_type_p.
7506         * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
7507         (struct c_lang_decl): Moved saved_tree to tree_decl.
7508         * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
7509         * integrate.h (function_attribute_inlinable_p): Declare it.
7510         * integrate.c (function_attribute_inlinable_p): Export it.
7511         * tree-inline.c: New file.  Define variables declared in...
7512         * tree-inline.h: New file.  Declare functions to be moved to
7513         tree-inline.c.  Define macros and declare types and hooks for
7514         language-specific tree inlining.
7515         (flag_inline_trees): Moved definition from cp/decl2.c.
7516         * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
7517         (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
7518         (struct tree_decl): Moved saved_tree from c_lang_decl and
7519         inlined_fns from C++'s lang_decl.
7520
7521 2001-10-04  Loren J. Rittle  <ljrittle@acm.org>
7522
7523         * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
7524         propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
7525
7526 2001-10-04  Neil Booth  <neil@daikokuya.demon.co.uk>
7527
7528         * doc/cppinternals.texi: Update.
7529
7530 2001-10-04  Eric Christopher  <echristo@redhat.com>
7531
7532         * config/mips/mips.c (init_cumulative_args): Remember to set
7533         cum->prototype.
7534         * config.gcc: Redo linux configuration. Add target_cpu_default
7535         of soft-float to all mipsisa32 combinations and tx39.
7536         * config/mips/linux.h: Remove include of mips.h.
7537
7538 2001-10-03  Loren J. Rittle  <ljrittle@acm.org>
7539
7540         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
7541         HOST_LDFLAGS and HOST_CPPFLAGS.
7542
7543 2001-10-03  Ziemowit Laski  <zlaski@apple.com>
7544
7545         * c-parse.in (objc_inherit_code, objc_pq_context,
7546         objc_public_flag): Make static.
7547         (objc_interface_context, objc_implementation_context,
7548         objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
7549         global tree array in objc/objc-act.[ch].
7550         (methoddef): Remove unnecessary code.
7551
7552         * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
7553         Hoist struct definitions to objc-act.h.
7554         (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
7555         cat_count): Place declaration in objc-act.h.
7556         (objc_tree_index): Move enumeration to objc-act.h.
7557         (objc_global_trees): Place declaration and macro accessors in
7558         objc-act.h.
7559         (implementation_context): Remove duplicate; use
7560         objc_implementation_context instead:
7561         (method_context): Remove duplicate; use objc_method_context
7562         instead.
7563         (objc_ellipsis_node, objc_method_prototype_template,
7564         implemented_classes, function_type): Move global vars to
7565         objc_global_trees.
7566         (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
7567         (build_message_expr): Move actual construction of ObjC message
7568         send nodes to finish_message_expr.
7569         (finish_message_expr): New routine, contains code formerly in
7570         build_message_expr.
7571         * objc/objc-act.h (finish_message_expr): New prototype.
7572         (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
7573         declarations; these vars are now part of objc_global_trees.
7574         (objc_tree_index, objc_global_trees): Move definitions from
7575         objc-act.c.
7576         * objc/objc-tree.def: Update copyright info.
7577
7578 Wed Oct  3 12:22:11 EDT 2001  John Wehle  (john@feith.com)
7579
7580         * dwarf2asm.c (unaligned_integer_asm_op): Abort if
7581         op is NULL.
7582         * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
7583         only if TARGET_ARCH64.
7584
7585 2001-10-02  Bernd Schmidt  <bernds@redhat.com>
7586
7587         * doc/extend.texi: Fix some problems with previous checkin.
7588         * doc/invoke.texi: Likewise.
7589
7590 2001-10-02  Neil Booth  <neil@daikokuya.demon.co.uk>
7591
7592         * cpphash.h: Update comments.
7593         (cpp_context): Update.
7594         (spec_nodes): Remove n__Pragma.
7595         * cppinit.c (cpp_create_reader): Update.
7596         (builtin_array): Add _Pragma.
7597         * cpplib.h: Update comments.
7598         (NODE_DISABLED, BT_PRAGMA): New.
7599         (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
7600         * cppmacro.c (struct cpp_macro): Remove disabled.
7601         (builtin_macro): Return int, handle _Pragma, push the new token
7602         on the context stack.
7603         (funlike_invocation_p): Unconstify, update.
7604         (enter_macro_context): Handle builtins here.
7605         (replace_args, push_token_context, push_ptoken_context):
7606         Update for prototype changes.
7607         (_cpp_pop_context): Update.
7608         (cpp_get_token): Don't handle buitins, nor _Pragma here.
7609         (cpp_sys_macro_p): Update.
7610         (_cpp_free_definition): Clear disabled flag.
7611         (_cpp_create_definition): Upate.
7612         * cppmain.c: Update comments.
7613
7614 Tue Oct  2 12:46:01 CEST 2001  Bo Thorsen     <bo@suse.co.uk>,
7615                                 Andreas Jaeger <aj@suse.de>,
7616                                 Jan Hubicka    <jh@suse.cz>
7617
7618         * doc/invoke.texi (i386 Options): Document x86-64 options.
7619         (i386 and x86-64 Options): Rename i386 options section.
7620
7621         * config/i386/i386.h (TARGET_UNWIND_INFO): New.
7622         (TARGET_SWITCHES): Add -munwind-info.
7623         (MASK_NO_UNWIND_INFO): New.
7624         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
7625         biarch compilation.
7626         (ASM_OUTPUT_DOUBLE_INT): New.
7627
7628         * config/i386/linux64.h: New spec file for Linux x86-64 support.
7629         * config.gcc: Fix tm_file settings for x86-64.
7630         * config/i386/x86-64.h: New file with OS independent x86-64
7631         definitions.
7632         * config/i386/biarch64.h: New file used to configure compiler
7633         to biarch/64bit compilation.
7634
7635         * config/i386/i386.c: (override_options): Set flags default
7636         for 64bit compilation.
7637
7638 Tue Oct  2 12:46:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
7639
7640         * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
7641         (ix86_expand_int_movcc): Optimize DImode conditional moves with
7642         constants on x86_64.
7643         (ix86_attr_length_immediate_default): Support MODE_DI.
7644         * i386.md (fixdi splitter): Add missing "&& 1" in splitter
7645         condition.
7646         (indirect_jump, tablejump): Turn into expander.
7647
7648 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
7649
7650         * c-common.c (c_format_attribute_table): Make format and
7651         format_arg attributes apply to function types rather than to
7652         decls.
7653         (is_valid_printf_arglist): Construct an attribute list and pass
7654         that to check_function_format rather than a name.
7655         * c-common.h (check_function_format): Adjust prototype.
7656         * c-decl.c (duplicate_decls): Preserve attributes from type of
7657         built-in decl when allowing for harmless conflict in types.
7658         * c-format.c (record_function_format,
7659         record_international_format, function_format_list,
7660         international_format_info, international_format_list): Remove.
7661         (function_format_info): Remove next, name and assembler_name.
7662         Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
7663         (decode_format_attr): New.
7664         (handle_format_attribute): Handle receiving a type rather than a
7665         decl.  Call decode_format_attr.  Store format information in a
7666         function_format_info.
7667         (handle_format_arg_attribute): Correct comment.  Handle receiving
7668         a type rather than a decl.  Use unsigned HOST_WIDE_INT for
7669         arg_num.
7670         (check_format_info_recurse, check_format_info_main): Take argument
7671         numbers as unsigned HOST_WIDE_INT.
7672         (check_function_format): Take a list of attributes from the
7673         function type rather than a name or assembler name.  Check for
7674         format attributes in that list and the attributes on the type of
7675         the current function rather than looking through
7676         function_format_list.
7677         (check_format_info): Use unsigned HOST_WIDE_INT for argument
7678         numbers.
7679         (check_format_info_recurse): Take format_arg attributes from the
7680         type of the function calls rather than using
7681         international_format_list.  Allow for multiple format_arg
7682         attributes.
7683         * c-typeck.c (build_function_call): Pass type attributes to
7684         check_function_format rather than name or assembler name.  Don't
7685         require there to be a name or assembler name to check formats.
7686
7687 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
7688
7689         * attribs.c (decl_attributes): Possibly call
7690         insert_default_attributes to insert default attributes on
7691         functions in a lazy manner.
7692         * builtin-attrs.def: New file; define the default format and
7693         format_arg attributes.
7694         * c-common.c (c_format_attribute_table): Move to earlier in the
7695         file.
7696         (c_common_nodes_and_builtins): Initialize format_attribute_table.
7697         (enum built_in_attribute, built_in_attributes,
7698         c_attrs_initialized, c_init_attributes,
7699         c_common_insert_default_attributes): New.
7700         (c_common_lang_init): Don't initialize format_attribute_table.  Do
7701         call c_init_attributes.
7702         * Makefile.in (c-common.o): Depend on builtin-attrs.def.
7703         * c-common.h (init_function_format_info): Don't declare.
7704         (c_common_insert_default_attributes): Declare.
7705         * c-decl.c (implicitly_declare, builtin_function): Call
7706         decl_attributes.
7707         (init_decl_processing): Don't call init_function_format_info.
7708         (insert_default_attributes): New.
7709         * c-format.c (handle_format_attribute,
7710         handle_format_arg_attribute): Be quiet about inappropriate
7711         declaration when applying default attributes.
7712         (init_function_format_info): Remove.
7713         * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
7714         (insert_default_attributes): Declare.
7715
7716 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
7717
7718         * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
7719
7720 2001-10-01  Jim Wilson  <wilson@redhat.com>
7721
7722         * sched-deps.c (add_dependence): When elide conditional dependence,
7723         check that insn doesn't modify cond2.
7724
7725 2001-10-01  Dale Johannesen  <dalej@apple.com>
7726
7727         * config/rs6000/rs6000.h (enum processor_type): Add support
7728         for 7400 (G4) and 7450.
7729         (RTX_COSTS): Ditto.
7730         * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
7731         (rs6000_issue_rate): Ditto.
7732         (rs6000_adjust_cost): Fix cycle counts for compares.
7733         (debug_stack_info):  Fix an obvious typo.
7734         * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
7735         * doc/invoke.texi: Document.
7736         * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
7737         for Darwin.
7738         (PROCESSOR_DEFAULT): Ditto.
7739
7740 2001-10-01  Loren J. Rittle  <ljrittle@acm.org>
7741
7742         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
7743         (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
7744         later recursive make invocation.
7745
7746 2001-10-01  Hans Boehm  <boehm@acm.org>
7747
7748         * optabs.c (emit_libcall_block): When using non-call exceptions,
7749         don't add REG_LIBCALL reg notes to trapping calls.
7750
7751 2001-10-01  David Billinghurst <David.Billinghurst@riotinto.com>
7752
7753         * flow.c (propagate_block_delete_libcall): Remove unused first arg
7754         (propagate_one_insn):  Update for above change
7755
7756 2001-10-01  David Billinghurst <David.Billinghurst@riotinto.com>
7757
7758         * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
7759         _Unwind_GetTextRelBase): Argument is unused.
7760
7761 Mon Oct  1 19:20:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7762
7763         * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
7764         Loop through NOPs, placeholders, and components.
7765         Don't go through NOPs if change mode.
7766         (record_alias_subset): Do nothing if SUBSET and SET are the same.
7767         * emit-rtl.c (set_mem_alias_set): Enable check.
7768         * expr.c (find_placeholder): New function.
7769         (expand_expr, case PLACEHOLDER_EXPR): Use it.
7770         (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
7771         to modify it and avoid unneeded copies.
7772         * expr.h (expand_expr): Always define.
7773         (find_placeholder): New declaration.
7774
7775 2001-10-01  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7776
7777         * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
7778         operand 2 is the stack pointer.
7779         ("addr-peephole"): Fix address computation peephole when operand 2
7780         is the stack pointer.
7781
7782 Mon Oct  1 09:26:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7783
7784         * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
7785         (ix86_setup_incoming_varargs): Likewise.
7786
7787 2001-10-01  Jason Merrill  <jason_merrill@redhat.com>
7788
7789         * stor-layout.c (layout_type): Don't complain about too-large
7790         array here.
7791
7792 Mon Oct  1 06:43:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7793
7794         * function.c (keep_stack_depressed): Don't use delete_insn.
7795
7796         * expr.h (set_mem_alias_set): Move decl to here.
7797         * rtl.h (mem_attrs): New typedef and struct.
7798         (union rtunion_def): Add field for mem_attrs.
7799         (X0MEMATTR, MEM_ATTRS): New macros.
7800         (MEM_ALIAS_SET): Use MEM_ATTRS.
7801         (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
7802         (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
7803         (set_mem_alias_set): Delete decl from here.
7804
7805         * alias.c (set_mem_alias_set): Delete from here.
7806         * emit-rtl.c (mem_attrs_htab): New variable.
7807         (rtx_htab_mark, rtx_htab_mark_1): Deleted.
7808         (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
7809         (mem_attrs_mark, get_mem_attrs): Likewise.
7810         (gen_rtx_MEM): Clear MEM_ATTRS.
7811         (set_mem_attributes): Move to here.
7812         (set_mem_alias_set): Likewise, and call get_mem_attrs.
7813         (init_emit_once): const_int_htab now deletable htab.
7814         Initialize mem_attrs_htab.
7815         * explow.c (set_mem_attributes): Delete from here.
7816         * function.c (put_var_into_stack): Clear MEM_ATTRS.
7817         (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
7818         * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
7819         * reload1.c (reload): Rework changing REG to MEM.
7820
7821 2001-09-30  H.J. Lu <hjl@gnu.org>
7822
7823         * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
7824         * config.in: Rebuild.
7825
7826 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7827
7828         * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
7829         ("tsthi_1"): Avoid allocation in register y.
7830         ("*movqi_68hc12"): Reorganize and fix constraints.
7831         ("zero_extendqisi2"): Prefer d over x and y for operand 1.
7832         ("addqi3"): Likewise.
7833         ("addhi3"): Fix constraints.
7834         ("*logicalhi3_zexthi"): Disparage soft registers.
7835
7836 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7837
7838         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
7839         to tmp reg.
7840
7841 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7842
7843         * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
7844         that we use setjmp/longjmp exceptions.
7845
7846 2001-09-30  Neil Booth  <neil@daikokuya.demon.co.uk>
7847
7848         * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
7849         POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
7850         struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7851         _cpp_pool_alloc, _cpp_next_chunk): Remove.
7852         (_cpp_extend_buff, BUFF_ROOM): Update.
7853         (_cpp_append_extend_buff): New.
7854         (struct cpp_reader): Remove macro_pool, add a_buff.
7855         * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
7856         macro_pool.
7857         (cpp_destroy): Free a_buff instead of macro_pool.
7858         * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
7859         new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7860         _cpp_pool_alloc, ): Remove.
7861         (parse_number, parse_string): Update use of _cpp_extend_buff.
7862         (_cpp_extend_buff): Update.
7863         (_cpp_append_extend_buff, cpp_aligned_alloc): New.
7864         * cpplib.c (glue_header_name, parse_answer):
7865         Update use of _cpp_extend_buff.
7866         (cpp_register_pragma, cpp_register_pragma_space): Use
7867         _cpp_aligned_alloc.
7868         (do_assert, do_unassert): Check for EOL, update.
7869         * cppmacro.c (stringify_arg, collect_args): Update to use
7870         _cpp_extend_buff and _cpp_append_extend_buff.
7871         (save_parameter, parse_params, alloc_expansion_token,
7872         _cpp_create_definition): Rework memory management.
7873
7874 2001-09-29  Andris Pavenis  <pavenis@lanet.lv>
7875
7876         * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
7877         update md_exec_prefix.
7878         (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
7879         to string constant.
7880
7881 2001-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
7882
7883         * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
7884         (SELECT_CC_MODE): Use s390_select_ccmode.
7885         * config/s390/s390-protos.h (s390_select_ccmode): Add.
7886         * config/s390/s390.c (s390_select_ccmode): New.
7887         (s390_match_ccmode): Add CCLmode.
7888         (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
7889         (output_branch_condition, output_inverse_branch_condition): Removed.
7890         (print_operand): Use s390_branch_condition_mnemonic.
7891         * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
7892         subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
7893         (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
7894
7895         * config/s390/s390.c (check_and_change_labels): Preserve CC mode
7896         when converting conditional branches to far branches.
7897         * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
7898         cmpint_di): Use CCSmode instead of CCUmode.
7899
7900         * config/s390/s390.c (legitimate_la_operand_p): New.
7901         * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
7902         * config/s390/s390.md (movsi): Convert load address patterns to
7903         arithmetic operations when necessary.
7904         (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
7905         (do_la): Renamed to *do_la and use legitimate_la_operand_p.
7906         (*do_la_reg_0): Don't use before reload.
7907
7908         * config/s390/s390.c (legitimize_address): Make more efficient
7909         use of two-register addressing mode.
7910
7911         * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
7912         with -mno-backchain in some corner cases.
7913
7914         * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
7915
7916 2001-09-29  Alexandre Oliva  <aoliva@redhat.com>
7917
7918         * reload.c (find_reloads): Mark new USE insns with QImode.
7919         (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
7920         find_reloads_subreg_address): Likewise.
7921         * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
7922         encountered.
7923         * reload1.c (reload_combine_note_use): Likewise, inside USEs and
7924         CLOBBERs.
7925         (reload): Make sure there are no USEs with mode other than
7926         VOIDmode.  At the end, remove those marked with QImode.
7927
7928 2001-09-29  Per Bothner  <per@bothner.com>
7929
7930         * cppdefault.c (cpp_include_defaults):  Also search PREFIX_INCLUDE_DIR.
7931         * Makefile.in (includedir):  Rename to local_includedir.
7932         (includedir):  Define as $(prefix)/include.
7933         * config.in (PREFIX_INCLUDE_DIR):  New variable.
7934         * configure.in (PREFIX_INCLUDE_DIR):  Test for new variable.
7935
7936 2001-09-29  Bernd Schmidt  <bernds@redhat.com>
7937
7938         * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
7939         storehps builtins.
7940         * doc/extend.texi (Vector Extensions): New node.
7941         * doc/invoke.texi (Machine Dependent Options): Add documentation for
7942         i386 -mmmx, -msse, -m3dnow.
7943
7944 Sat Sep 29 15:08:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
7945
7946         * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
7947
7948 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
7949
7950         * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
7951
7952         * doc/invoke.texi (Optimize Options): Delete spurious @table.
7953
7954 2001-09-28  Richard Henderson  <rth@redhat.com>
7955
7956         * varasm.c (assemble_integer): Bound alignment check by
7957         BIGGEST_ALIGNMENT.
7958
7959         * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
7960
7961 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7962
7963         * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
7964
7965 2001-09-25  Bernd Schmidt  <bernds@redhat.com>
7966
7967         Mostly from Graham Stott  <grahams@redhat.com>
7968         * c-common.c (type_for_mode): Add support for V2SFmode.
7969         * tree.c (build_common_tree_nodes_2): Likewise.
7970         * tree.h (enum tree_index, global_trees): Likewise.
7971         * config/i386/i386.c (x86_3dnow_a): New variable.
7972         (override_options): Support 3Dnow extensions.
7973         (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
7974         Athlon's version of 3Dnow.
7975         (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
7976         (ix86_expand_builtin): Handle them.
7977         (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
7978         * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
7979         TARGET_3DNOW_A): New macros.
7980         (TARGET_SWITCHES): Add 3Dnow switches.
7981         (VALID_MMX_REG_MODE_3DNOW): New macro.
7982         (VECTOR_MODE_SUPPORTED_P): Use it.
7983         (enum ix86_builtins): Add entries for 3Dnow builtins.
7984         * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
7985         pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
7986         pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
7987         pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
7988         pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
7989         pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
7990         (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
7991         mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
7992         mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
7993         sfence_insn, prefetch): Make these available if TARGET_SSE or
7994         TARGET_3DNOW_A.
7995
7996 Fri Sep 28 19:18:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
7997
7998         * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
7999         ix86_va_start, ix86_build_va_list): Declare.
8000         * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
8001         ix86_va_start, ix86_build_va_list): New global functions.
8002         * i386.md (sse_prologue_save_insn): New insn.
8003         (sse_prologue_save): New expander.
8004         * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
8005         BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
8006
8007 2001-09-28  Neil Booth  <neil@daikokuya.demon.co.uk>
8008
8009         * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
8010         Use size_t everywhere, make definitions consistent with
8011         prototypes.
8012
8013 Fri Sep 28 14:59:34 CEST 2001  Jan Hubicka  <jh@suse.cz>
8014
8015         * gcse.c (replace_store_insn): Use delete_insn.
8016         * loop.c (move_movables): Likewise; avoid delete_insn
8017         from clobbering notes moved elsewhere.
8018         (check_dbra_loop): Use delete_insn.
8019         * ssa.c (convert_from_ssa): Likewise.
8020         * cse.c (cse_insn): Use delete_insn.
8021
8022 2001-09-28  Neil Booth  <neil@daikokuya.demon.co.uk>
8023
8024         * cpphash.h (struct cpp_buff): Make unsigned.
8025         (_cpp_get_buff): Take length of size_t.
8026         (_cpp_unaligned_alloc): New.
8027         (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
8028         (struct cpp_reader): Remove ident_pool.  Add u_buff.
8029         * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
8030         (cpp_destroy): Destroy u_buff, not ident_pool.
8031         * cpplex.c (parse_number, parse_string, save_comment,
8032         cpp_token_as_text): Update to use the unaligned buffer.
8033         (new_buff): Make unsigned.
8034         (_cpp_unaligned_alloc): New.
8035         * cpplib.c (glue_header_name): Update to use the unaligned buffer.
8036         * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
8037         Similarly.
8038         (collect_args): Make unsigned.
8039
8040 2001-09-27  Zack Weinberg  <zack@codesourcery.com>
8041
8042         * cpplex.c (cpp_output_token): Use a putc loop for
8043         SPELL_OPERATOR, and fwrite for SPELL_IDENT.
8044
8045         * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
8046         * configure, config.in: Regenerate.
8047         * system.h: Replace fwrite and fprintf with their unlocked
8048         variants if available.
8049
8050 2001-09-27  Richard Henderson  <rth@redhat.com>
8051
8052         * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
8053         in favour of .eh_frame.
8054
8055 2001-09-27  Aldy Hernandez  <aldyh@redhat.com>
8056
8057         * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
8058         to macros.
8059         (LIBCALL_VALUE): Likewise.
8060
8061 2001-09-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8062
8063         * cpphash.h: Update comment.
8064         * cpplex.c: Update comments.
8065         (_cpp_can_paste): Remove.
8066         * cpplib.h (_cpp_can_paste): Remove.
8067         * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
8068         lexer rather than _cpp_can_paste.
8069
8070 2001-09-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8071
8072         * doc/cppinternals.texi: Update.
8073
8074 2001-09-26  Neil Booth  <neil@daikokuya.demon.co.uk>
8075
8076         * cpphash.h (struct cpp_pool): Remove locks and locked.
8077         (struct cpp_context): Add member buff.
8078         (struct cpp_reader): Remove member argument_pool.
8079         (_cpp_lock_pool, _cpp_unlock_pool): Remove.
8080         * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
8081         * cpplex.c (chunk_suitable): Remove pool argument.
8082         (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
8083         (new_buff, _cpp_extend_buff): Update.
8084         (_cpp_get_buff): Fix silly pointer bug.  Be more selective about
8085         which buffer is returned.
8086         (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
8087         (_cpp_lock_pool, _cpp_unlock_pool): Remove.
8088         * cppmacro.c (lock_pools, unlock_pools): Remove.
8089         (push_ptoken_context): Take a _cpp_buff.
8090         (enter_macro_context): Pool locking removed.
8091         (replace_args): Use a _cpp_buff for the replacement list with
8092         arguments replaced.
8093         (push_token_context): Clear buff.
8094         (expand_arg): Use _cpp_pop_context.
8095         (_cpp_pop_context): Free a context's buffer, if any.
8096
8097 2001-09-26  DJ Delorie  <dj@redhat.com>
8098
8099         * c-typeck.c (digest_init): Check for sizeless arrays.
8100
8101 2001-09-26  Richard Henderson  <rth@redhat.com>
8102
8103         * optabs.c (init_one_libfunc): Create a dummy function type
8104         instead of using error_mark_node.
8105
8106 2001-09-26  Neil Booth  <neil@daikokuya.demon.co.uk>
8107
8108         * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
8109         _cpp_extend_buff, _cpp_free_buff): New.
8110         (struct cpp_reader): New member free_buffs.
8111         * cppinit.c (cpp_destroy): Free buffers.
8112         * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
8113         _cpp_extend_buff, _cpp_free_buff): New.
8114         * cpplib.h (struct cpp_options): Remove unused member.
8115         * cppmacro.c (collect_args): New.  Combines the old parse_arg
8116         and parse_args.  Use _cpp_buff for memory allocation.
8117         (funlike_invocation_p, replace_args): Update.
8118
8119 Wed Sep 26 13:20:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
8120
8121         * final.c (final_scan_insn): Use delete_insn instead of delete_note.
8122
8123 2001-09-25  Andrew Haley  <aph@cambridge.redhat.com>
8124
8125         * except.c (sjlj_mark_call_sites): Change address inside sequence.
8126
8127 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
8128
8129         * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
8130         glibc.
8131
8132 2001-09-25  Janis Johnson  <janis187@us.ibm.com>
8133             Jim Wilson  <wilson@redhat.com>
8134
8135         * doc/install.texi (Specific, ia64-*-linux): Document.
8136
8137 Tue Sep 25 17:13:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
8138
8139         * Makefile.in (cfgrtl.o): Add.
8140         * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
8141         free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
8142         free_aux_for_edge): Declare.
8143         * cfg.c
8144         (HAVE_return): Undefine.
8145         * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
8146         free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
8147         free_aux_for_edge): New global functions.
8148         (first_delete_block): New static variable.
8149         (init_flow): Clear first_delete_block.
8150         (basic_block_for_insn, label_value_list, tail_recursion_label_list,
8151          can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
8152          try_redirect_by_replacing_jump, last_loop_beg_note,
8153          back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
8154          delete_insn, delete_insn_chain, create_basic_block_structure,
8155          create_basic_block, flow_delete_block, compute_bb_for_insn,
8156          free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
8157          set_block_for_new_insns, split_block, merge_blocks_nomove,
8158          block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
8159          redirect_edge_and_branch, force_nonfallthru_and_redirect,
8160          force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
8161          tidy_fallthru_edges, split_edge, insert_insn_on_edge,
8162          commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
8163          debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
8164          purge_all_dead_edges): Move to ....
8165         * cfgrtl.c: New file; .... Here.
8166
8167         * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
8168         (reroder_basic_block): Use alloc_aux_for_blocks.
8169         * predict.c (estimate_bb_frequencies): Likewise; use
8170         alloc_aux_for_edges.
8171         * profile.c (compute_branch_probabilities): Likewise.
8172         (branch_prob): Likewise.
8173         * reg-stack.c (reg_to_stack): Likewise.
8174
8175         * emit-rtl.c (emit_insns_after): Never return NULL.
8176
8177         * basic-block.h (set_block_for_new_insns): Delete.
8178         * cfgrtl.c (set_block_for_new_insns): Delete.
8179
8180         * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
8181         calls when crossjumping.
8182
8183         * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
8184         * unroll.c (copy_loop_body): Use delete_insn.
8185
8186         * final.c (final, final_scan_insn): Use delete_insn/delete_note.
8187         * function.c (fixup_var_refs_insn, fixup_var_refs_1,
8188         keep_stack_depressed): Likewise.
8189         * gcse.c (cprop_cc0_jump): Likewise.
8190         * local-alloc.c (update_equiv_regs): Likewise.
8191         * loop.c (scan_loop, loop_delete_insns): Likewise.
8192         * regmove.c (try_auto_increment, fixup_match_1): Likewise.
8193         * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
8194         delete_output_reload, delete_address_reloads_1,
8195         reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
8196         Likewise.
8197         * sibcall.c (replace_call_placeholder): Likewise.
8198         * cse.c (cse_insn): Likewise.
8199
8200 2001-09-25  Bernd Schmidt  <bernds@redhat.com>
8201
8202         From Graham Stott  <grahams@redhat.com>
8203         (def_builtin): Only define builtins appropriate for target_flags.  All
8204         callers changed.
8205         (builtin_decsription): Add new field mask which is used to determine
8206         when to define the builtin via the macro def_builtin.
8207
8208         (bdesc_comi): Initialise new mask fields.
8209         (bdesc_2srg): Likewise.
8210         (bdesc_1arg): Likewise.
8211
8212         * config/i386/i386.c (ix86_init_builtins): Correct return type
8213         building v4hi_ftype_v4hi_int_int tree node.
8214         (ix86_expand_sse_comi): Fix typo swapping operands.
8215         Don't swap comparision condition, it is already swapped.
8216         (ix86_expand_sse_compare): Before swapping operands
8217         move operand 1 into new rtx and not the target rtx.
8218         Don't swap comparison condition, it is already swapped.
8219         Always check whether we need to create a new TARGET.
8220
8221         * config/i386/i386.md: (sse_comi) Fix typos.
8222         (sse_ucomi): Likewise.
8223         (cvtss2si): Fix operand 0 contraint.
8224         (cvttss2si): Likewise.
8225         (sse_unpckhps): Fix mode for operand 2.
8226         (sse_unpcklps): Likewise.
8227
8228 2001-09-25  Graham Stott  <grahams@redhat.com>
8229
8230         * sibcall.c (skip_copy_to_return_value): Tighten return value
8231         copy check.
8232
8233 2001-09-24  David Edelsohn  <edelsohn@gnu.org>
8234
8235         * rs6000.c (lwa_operand): Address must be word aligned.
8236
8237 Mon Sep 24 18:57:59 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8238
8239         * tree.c (type_hash_marked_p): Consider as marked if debug symbol
8240         number has been set.
8241         (type_hash_mark): Mark type itself.
8242
8243 2001-09-24  Neil Booth  <neil@daikokuya.demon.co.uk>
8244
8245         * c-lex.c (cb_def_pragma): Update.
8246         (c_lex): Update, and skip padding.
8247         * cppexp.c (lex, parse_defined): Update, remove unused variable.
8248         * cpphash.h (struct toklist): Delete.
8249         (union utoken): New.
8250         (struct cpp_context): Update.
8251         (struct cpp_reader): New members eof, avoid_paste.
8252         (_cpp_temp_token): New.
8253         * cppinit.c (cpp_create_reader): Update.
8254         * cpplex.c (_cpp_temp_token): New.
8255         (_cpp_lex_direct): Add PREV_WHITE when parsing args.
8256         (cpp_output_token): Don't print leading whitespace.
8257         (cpp_output_line): Update.
8258         * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
8259         do_include_common, do_line, do_ident, do_pragma,
8260         do_pragma_dependency, _cpp_do__Pragma, parse_answer,
8261         parse_assertion): Update.
8262         (get_token_no_padding): New.
8263         * cpplib.h (CPP_PADDING): New.
8264         (AVOID_LPASTE): Delete.
8265         (struct cpp_token): New union member source.
8266         (cpp_get_token): Update.
8267         * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
8268         (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
8269         replace_args, quote_string, stringify_arg, parse_arg, next_context,
8270         enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
8271         _cpp_backup_tokens, _cpp_create_definition): Update.
8272         (push_arg_context): Delete.
8273         (padding_token, push_token_context, push_ptoken_context): New.
8274         (make_string_token, make_number_token): Update, rename.
8275         (cpp_get_token): Update to handle tokens as pointers to const,
8276         and insert padding appropriately.
8277         * cppmain.c (struct printer): New member prev.
8278         (check_multiline_token): Constify.
8279         (do_preprocessing, cb_line_change): Update.
8280         (scan_translation_unit): Update to handle spacing.
8281         * scan-decls.c (get_a_token): New.
8282         (skip_to_closing_brace, scan_decls): Update.
8283         * fix-header.c (read_scan_file): Update.
8284
8285         * doc/cpp.texi: Update.
8286
8287 2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8288
8289         * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC.  Avoid
8290         leak by passing malloc'ed pointer to reconcat, not concat.
8291
8292 2001-09-24  DJ Delorie  <dj@redhat.com>
8293
8294         * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
8295
8296 2001-09-24  Ulrich Weigand  <uweigand@de.ibm.com>:
8297
8298         * flow.c (delete_dead_jumptables): Delete jumptable if the only
8299         reference is from the literal pool.
8300
8301 2001-09-24  Janis Johnson  <janis187@us.ibm.com>
8302
8303         * doc/install.texi (Final install): Request additional information
8304         in mail about successful builds.
8305
8306 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8307
8308         * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero.  Use
8309         initial value of return pointer register instead of value in frame-20.
8310         Revise comments.
8311
8312 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8313
8314         * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
8315         (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
8316         the libcall if there isn't a referenced identifier for the symbol.
8317
8318 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8319
8320         * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
8321         non 64-bit machines.  Use these as a plabel for the trampoline.
8322         (TRAMPOLINE_SIZE): Adjust size for new words.
8323         (INITIALIZE_TRAMPOLINE): Initialize new words.
8324         (TRAMPOLINE_ADJUST_ADDRESS): New.  Adjust address to make it a
8325         pointer to the plabel in the trampoline.
8326
8327 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8328
8329         * pa.c (function_arg): Pass floating arguments in both general and
8330         floating registers in indirect (dynamic) calls when generating code
8331         for the 32 bit ABI and the HP assembler.
8332
8333 2001-09-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8334
8335         * doc/install.texi: Markup fixes.
8336         Use Solaris 2, SunOS 4 as appropriate.
8337         (Specific, *-*-solaris2*): Explain this.
8338         Unconditionally warn against /usr/ucb tools.
8339         Remove Sun as warning, obsolete.
8340         Move X11 header bug workaround here, update patches.
8341         (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
8342         (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
8343
8344 2001-09-23  Zack Weinberg  <zack@codesourcery.com>
8345
8346         * errors.h (warning, error, fatal, internal_error): Don't mark
8347         with ATTRIBUTE_PRINTF_n.
8348         * toplev.h (internal_error, fatal_io_error, warning, error,
8349         pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
8350         error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
8351         Likewise.
8352
8353 Sun Sep 23 18:19:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8354
8355         * function.c (pop_function_context_from): var_refs_queue
8356         and temp slots now in GC memory.
8357         (mark_function_status, free_after_compilation): Likewise;
8358         also struct function now in GC memory.
8359         (assign_stack_temp_for_type): struct temp_slot now in GC memory.
8360         (combine_temp_slots): Likewise.
8361         (schedule_fixup_var_refs): var_refs_queue now in GC memory.
8362         (prepare_function_start): Use GC memory for struct function.
8363         (mark_temp_slot): Deleted.
8364         (gcc_mark_struct_function): struct function now in GC memory.
8365
8366         * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
8367         code for division, not modulus.
8368
8369         * rtl.def (MEM): Remove obsolete part of comment.
8370
8371 2001-09-22  Joseph S. Myers  <jsm28@cam.ac.uk>
8372
8373         * c-format.c (init_function_format_info): Check __builtin_printf
8374         and __builtin_fprintf even if -ffreestanding.  Check C99 functions
8375         in gnu89 mode.
8376
8377 Sat Sep 22 09:09:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8378
8379         * c-common.c (format_attribute_table): Remove decl.
8380         * tree.h (format_attribute_table, lang_attribute_table): New decls.
8381         (lang_attribute_common): Likewise.
8382
8383         * function.c (fix_lexical_address): Use set_mem_alias_set.
8384         (expand_function_start): Likewise.
8385         * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
8386
8387         * varasm.c (output_constant): Fix unused variable warning.
8388
8389         * attribs.c: New file, from c-common.c.
8390         (attribute_tables): Now four elements.
8391         (format_attribute_table, lang_attribute_common): New variables.
8392         (init_attributes): Reflect above changes.
8393         (handle_mode_attribute): Delete check for wider than uintmax.
8394         * c-common.c: Delete parts moved to attribs.c.
8395         (enum attrs): Deleted; unused.
8396         (c_format_attribute_table): New variable.
8397         (c_common_lang_init): Initialize format_attribute_table with it.
8398         * c-common.h (decl_attributes): Remove decl.
8399         * tree.h (decl_attribute): Move it to here.
8400         * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
8401         (attribs.o): New rule.
8402
8403 2001-09-22  Andreas Jaeger  <aj@suse.de>
8404
8405         * builtins.c (c_getstr): Remove unused variable.
8406
8407 2001-09-21  Richard Henderson  <rth@redhat.com>
8408
8409         * reload1.c (reload): Use delete_insn instead of splatting
8410         NOTE_INSN_DELETED.
8411
8412 2001-09-21  Richard Henderson  <rth@redhat.com>
8413
8414         * reload.c (push_secondary_reload): Don't check for "=" in output
8415         constraint after ""->ALL_REGS check.
8416
8417 2001-09-21  Richard Henderson  <rth@redhat.com>
8418
8419         * predict.c (expected_value_to_br_prob): Use pc_set.
8420
8421         * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
8422         ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
8423
8424 2001-09-21  Richard Henderson  <rth@redhat.com>
8425
8426         * rtl.h (LCT_RETURNS_TWICE): New.
8427         * calls.c (emit_call_1): Set current_function_calls_setjmp for
8428         ECF_RETURNS_TWICE.
8429         (emit_library_call_value_1): Map LCT_RETURNS_TWICE
8430         to ECF_RETURNS_TWICE.
8431         * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
8432         call to setjmp.
8433
8434         * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
8435
8436         * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
8437         (JMP_BUF_SIZE): New.
8438
8439 2001-09-21  Richard Henderson  <rth@redhat.com>
8440
8441         * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
8442         to R8_REGS.
8443
8444 2001-09-21  Richard Henderson  <rth@redhat.com>
8445
8446         * tree.def (FDESC_EXPR): New.
8447         * expr.c (expand_expr): Handle it.
8448         * varasm.c (initializer_constant_valid_p): Likewise.
8449         (output_constant): Likewise.
8450         * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
8451         * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
8452         (ASM_OUTPUT_FDESC): New.
8453         * doc/tm.texi: Document the new macros.
8454
8455 21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
8456
8457         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
8458         ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
8459         once merging is complete.
8460
8461 Fri Sep 21 11:20:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8462
8463         * integrate.c (allocate_initial_values): Eliminate unused arg warning.
8464
8465 21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
8466
8467         * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
8468         that would be invalid after a merge.
8469
8470 Fri Sep 21 14:24:29 CEST 2001  Jan Hubicka  <jh@suse.cz>
8471
8472         * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
8473         * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
8474         remove some labels.
8475         (flow_delete_insn): This one.
8476         (delete_insn_chain): Rename from ...; do not care labels.
8477         (flow_delete_insn_chain): ... this one.
8478         (flow_delete_block): Remove the insns one BB has been expunged.
8479         (merge_blocks_nomove): Likewise.
8480         (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
8481         updating BB boundaries.
8482         (tidy_fallthru_edge): Likewise.
8483         (commit_one_edge_insertion): Likewise.
8484         * cfgbuild.c (find_basic_block): Likewise.
8485         (find_basic_blocks_1): Likewise.
8486         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
8487         (try_crossjump_to_edge): Likewise.
8488         (try_optimize_cfg): Likewise.
8489         * cse.c (delete_trivially_dead_insns): Likewise.
8490         * df.c (df_insn_delete): Likewise.
8491         * doloop.c (doloop_modify): Use delete_related_insns.
8492         * emit-rtl.c (try_split): Likewise.
8493         (remove_insn): Update BB boundaries.
8494         * expect.c (connect_post_landing_pads): Use delete_related_insns.
8495         * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
8496         updating BB boundaries.
8497         (propagate_block_delete_insn): Likewise.
8498         (propagate_block_delete_libcall): Likewise.
8499         * function.c (delete_handlers): Use delete_related_insns.
8500         (thread_prologue_and_epilogue_insns): Likewise.
8501         * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
8502         * genpeep.c (gen_peephole): Use delete_related_insns.
8503         * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
8504         BB boundaries.
8505         (find_cond_trap): Likewise.
8506         * integrate.c (save_for_inline): Use delete_related_insns.
8507         (copy_insn_list): Likewise.
8508         * jump.c (pruge_linie_number_notes): Likewise.
8509         (duplicate_loop_exit_test): Likewise.
8510         (delete_computation): Likewise.
8511         (delete_related_insn): Rename from ...; use delete_insn
8512         (delete_insn): ... this one.
8513         (redirect_jump): Use delete_related_insns.
8514         * loop.c (scan_loop): Likewise.
8515         (move_movables): Likewise.
8516         (find_and_verify_loops): Likewise.
8517         (check_dbra_loop): Likewise.
8518         * recog.c (peephole2_optimize): Likewise.
8519         * reg-stack.c (delete_insn_for_stacker): Remove.
8520         (move_for_stack_reg): Use delete_insn.
8521         * regmove.c (combine_stack_adjustments_for_block): Likewise.
8522         * reload1.c (delete_address_reloads): Use delete_related_insns.
8523         (fixup_abnormal_edges): Use delete_insn.
8524         * recog.c (emit_delay_sequence): Use delete_related_insns.
8525         (delete_from-delay_slot): Likewise.
8526         (delete_scheduled_jump): likewise.
8527         (optimize_skip): Likewise.
8528         (try_merge_delay_insns): Likewise.
8529         (full_simple_delay_slots): Likewise.
8530         (fill_slots_from_thread): Likewise.
8531         (relax_delay_slots): Likewise.
8532         (make_return_insns): Likewise.
8533         (dbr_schedule): Likewise.
8534         * rtl.h (delete_insn): Rename to delete_related_insns.
8535         (delete_insn, delete_insn_chain): New prototypes.
8536         * ssa-ccp (sse_fast_dce):  Remove deleting of DEF, as it is done
8537         by df_insn_delete already.
8538         * ssa-dce.c (delete_insn_bb): Use delete_insn.
8539         * ssa.c (convert_from_ssa): Use delete_related_insns.
8540         * unroll.c (unroll_loop): Likewise.
8541         (calculate_giv_inc): Likewise.
8542         (copy_loop_body): Likewise.
8543
8544         * i386-protos.h (ix86_libcall_value, ix86_function_value,
8545         ix86_function_arg_regno_p, ix86_function_arg_boundary,
8546         ix86_return_in_memory, ix86_function_value): Declare.
8547         * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
8548         new static valurables.
8549         (x86_64_reg_class): New enum
8550         (x86_64_reg_class_name): New array.
8551         (classify_argument, examine_argument, construct_container,
8552          merge_classes): New static functions.
8553         (optimization_options): Enable flag_omit_frame_pointer and disable
8554         flag_pcc_struct_return on 64bit.
8555         (ix86_libcall_value, ix86_function_value,
8556         ix86_function_arg_regno_p, ix86_function_arg_boundary,
8557         ix86_return_in_memory, ix86_function_value): New global functions.
8558         (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
8559         (function_arg_advance): Handle x86_64 passing conventions.
8560         (function_arg): Likewise.
8561         * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
8562         (RETURN_IN_MEMORY): Move offline.
8563         (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
8564         (FUNCTION_VALUE_REGNO_P): New macro.
8565         (FUNCTION_ARG_REGNO_P): Move offline.
8566         (struct ix86_args): Add maybe_vaarg.
8567         * next.h (FUNCTION_VALUE_REGNO_P): Delete.
8568         * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
8569
8570 2001-09-21  Hartmut Penner  <hpenner@de.ibm.com>
8571
8572         * s390.md: Changed attributes for scheduling.
8573         * s390.c: (s390_adjust_cost, s390_adjust_priority)
8574         Changed scheduling
8575
8576 2001-09-21  Joseph S. Myers  <jsm28@cam.ac.uk>
8577
8578         Table-driven attributes.
8579         * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
8580         config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
8581         config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
8582         config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
8583         config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
8584         config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
8585         doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
8586         tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
8587         * tree.h (struct tree_decl): Change machine_attributes to
8588         attributes.
8589         * doc/c-tree.texi: Document that all attributes are now attached
8590         to decls and types.
8591         * c-common.c (add_attribute, attrtab, attrtab_idx,
8592         default_valid_lang_attribute, valid_lang_attribute): Remove.
8593         (attribute_tables, attributes_initialized,
8594         c_common_attribute_table, default_lang_attribute_table): New
8595         variables.
8596         (handle_packed_attribute, handle_nocommon_attribute,
8597         handle_common_attribute, handle_noreturn_attribute,
8598         handle_unused_attribute, handle_const_attribute,
8599         handle_transparent_union_attribute, handle_constructor_attribute,
8600         handle_destructor_attribute, handle_mode_attribute,
8601         handle_section_attribute, handle_aligned_attribute,
8602         handle_weak_attribute, handle_alias_attribute,
8603         handle_no_instrument_function_attribute,
8604         handle_no_check_memory_usage_attribute, handle_malloc_attribute,
8605         handle_no_limit_stack_attribute, handle_pure_attribute): New
8606         functions.
8607         (init_attributes, decl_attributes): Rewrite to implement
8608         table-driven attributes.
8609         * c-common.h (enum attribute_flags): Move to tree.h.
8610         * c-format.c (decl_handle_format_attribute,
8611         decl_handle_format_arg_attribute): Rename to
8612         handle_format_attribute and handle_format_arg_attribute.  Update
8613         for table-driven attributes.
8614         * c-common.h (decl_handle_format_attribute,
8615         decl_handle_format_arg_attribute): Remove prototypes.
8616         (handle_format_attribute, handle_format_arg_attribute): Add
8617         prototypes.
8618         * c-decl.c (grokdeclarator): Handle attributes nested inside
8619         declarators.
8620         * c-parse.in (setattrs, maybe_setattrs): Remove.
8621         (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
8622         Update to handle nested attributes properly.
8623         (maybe_resetattrs, after_type_declarator,
8624         parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
8625         absdcl1_ea, direct_absdcl1): Update to handle nested attributes
8626         properly.
8627         (make_pointer_declarator): Update to handle nested attributes
8628         properly.
8629         * doc/extend.texi: Update documentation of limits of attributes
8630         syntax.  Warn about problems with attribute semantics in C++.
8631         * target.h (struct target): Remove valid_decl_attribute and
8632         valid_type_attribute.  Add attribute_table and
8633         function_attribute_inlinable_p.
8634         * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
8635         TARGET_VALID_TYPE_ATTRIBUTE): Remove.
8636         (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
8637         Add.
8638         (TARGET_INITIALIZER): Update.
8639         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
8640         definition.
8641         (function_attribute_inlinable_p): New function.  Check for the
8642         presence of any machine attributes before using
8643         targetm.function_attribute_inlinable_p.
8644         (function_cannot_inline_p): Update.
8645         * Makefile.in (integrate.o): Update dependencies.
8646         * doc/tm.texi: Update documentation of target attributes and
8647         example definition of TARGET_VALID_TYPE_ATTRIBUTE.
8648         * tree.c (default_valid_attribute_p, valid_machine_attribute):
8649         Remove.
8650         (default_target_attribute_table,
8651         default_function_attribute_inlinable_p): New.
8652         (lookup_attribute): Update comment to clarify handling of multiple
8653         attributes with the same name.
8654         (merge_attributes, attribute_list_contained): Allow multiple
8655         attributes with the same name but different arguments to appear in
8656         the same attribute list.
8657         * tree.h (default_valid_attribute_p): Remove prototype.
8658         (struct attribute_spec): New.
8659         (default_target_attribute_table): Declare.
8660         (enum attribute_flags): Move from c-common.h.  Add
8661         ATTR_FLAG_TYPE_IN_PLACE.
8662         (default_function_attribute_inlinable_p): Declare.
8663         * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
8664         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8665         (TARGET_ATTRIBUTE_TABLE): Define.
8666         (vms_attribute_table): New.
8667         * config/arc/arc.c (arc_valid_decl_attribute): Remove.
8668         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8669         (TARGET_ATTRIBUTE_TABLE): Define.
8670         (arc_attribute_table, arc_handle_interrupt_attribute): New.
8671         * config/arm/arm.c (arm_valid_type_attribute_p,
8672         arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
8673         Remove.
8674         (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8675         define.
8676         (TARGET_ATTRIBUTE_TABLE): Define.
8677         (arm_attribute_table, arm_handle_fndecl_attribute,
8678         arm_handle_isr_attribute): New.
8679         * config/avr/avr.c (avr_valid_type_attribute,
8680         avr_valid_decl_attribute): Remove.
8681         (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
8682         define.
8683         (TARGET_ATTRIBUTE_TABLE): Define.
8684         (avr_attribute_table, avr_handle_progmem_attribute,
8685         avr_handle_fndecl_attribute): New.
8686         * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
8687         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8688         (TARGET_ATTRIBUTE_TABLE): Define.
8689         (c4x_attribute_table, c4x_handle_fntype_attribute): New.
8690         * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
8691         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8692         (TARGET_ATTRIBUTE_TABLE): Define.
8693         (h8300_attribute_table, h8300_handle_fndecl_attribute,
8694         h8300_handle_eightbit_data_attribute,
8695         h8300_handle_tiny_data_attribute): New.
8696         * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
8697         i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
8698         Remove prototypes.
8699         (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
8700         declarations.
8701         * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
8702         (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8703         define.
8704         (TARGET_ATTRIBUTE_TABLE): Define.
8705         (ix86_attribute_table, ix86_handle_cdecl_attribute,
8706         ix86_handle_regparm_attribute): New.
8707         * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
8708         i386_pe_valid_type_attribute_p): Remove.
8709         (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
8710         * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
8711         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8712         (TARGET_ATTRIBUTE_TABLE): Define.
8713         (ia64_attribute_table): New.
8714         * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
8715         interrupt_ident2, model_ident1, model_ident2): Remove.
8716         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8717         (TARGET_ATTRIBUTE_TABLE): Define.
8718         (init_idents): Update.
8719         (m32r_attribute_table, m32r_handle_model_attribute): New.
8720         * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
8721         Remove.
8722         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8723         (TARGET_ATTRIBUTE_TABLE): Define.
8724         (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
8725         * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
8726         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8727         (TARGET_ATTRIBUTE_TABLE): Define.
8728         (mcore_attribute_table, mcore_handle_naked_attribute): New.
8729         * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
8730         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8731         (TARGET_ATTRIBUTE_TABLE): Define.
8732         (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
8733         * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
8734         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8735         (TARGET_ATTRIBUTE_TABLE): Define.
8736         (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
8737         * config/sh/sh.c (sh_valid_decl_attribute): Remove.
8738         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8739         (TARGET_ATTRIBUTE_TABLE): Define.
8740         (sh_attribute_table, sh_handle_interrupt_handler_attribute,
8741         sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
8742         New.
8743         * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
8744         Remove.
8745         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
8746         (TARGET_ATTRIBUTE_TABLE): Define.
8747         (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
8748         New.
8749         * config/v850/v850.c (v850_valid_decl_attribute): Remove.
8750         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8751         (TARGET_ATTRIBUTE_TABLE): Define.
8752         (v850_attribute_table, v850_handle_interrupt_attribute,
8753         v850_handle_data_area_attribute): New.
8754         * config/v850/v850-c.c (mark_current_function_as_interrupt):
8755         Return void.  Call decl_attributes instead of
8756         valid_machine_attribute.
8757
8758 Fri Sep 21 01:49:41 2001  J"orn Rennecke <amylaar@redhat.com>
8759
8760         * sh-protos.h (sh_pr_n_sets): Declare.
8761         * sh.c (calc_live_regs): If the initial value for PR has been copied,
8762         look at the copy to determine if PR needs to be saved.
8763         sh_pr_n_sets: New function.
8764         * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
8765         (ALLOCATE_INITIAL_VALUE): Define.
8766
8767         * sh.c (initial_elimination_offset):
8768         Fix RETURN_ADDRESS_POINTER_REGNUM case.
8769
8770 Fri Sep 21 01:13:56 2001  J"orn Rennecke <amylaar@redhat.com>
8771
8772         * integrate.c (allocate_initial_values): New function.
8773         * integrate.h (allocate_initial_values): Declare.
8774         * local-alloc.c (local_alloc): Move call to allocate_reg_info from
8775         here...
8776         * reload1.c (reload): And initialization of reg_equiv_memory_loc
8777         from here...
8778         * toplev.c (rest_of_compilation): To here.
8779         Call allocate_initial_values.
8780         * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
8781
8782 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8783
8784         * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
8785
8786 2001-09-20  DJ Delorie  <dj@redhat.com>
8787
8788         * c-typeck.c (really_start_incremental_init): Discriminate
8789         between zero-length arrays and flexible arrays.
8790         (push_init_level): Detect zero-length arrays and handle them
8791         like fixed-sized arrays.
8792         * expr.c (store_constructor): Handle zero-length arrays and
8793         flexible arrays correctly.
8794         * doc/extend.texi: Update zero-length array notes.
8795
8796 2001-09-20  Jim Wilson  <wilson@redhat.com>
8797
8798         * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
8799         (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
8800         for issue port conflicts.
8801         (cycle_end_fill_slots): TYPE_L instructions take two slots.
8802
8803 2001-09-20  Andrew MacLeod  <amacleod@redhat.com>
8804
8805         * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
8806         on ia64.
8807
8808 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8809
8810         * fold-const.c (hashtab.h): Include.
8811         (int_const_binop): Remove FORSIZE arg and compute from type; all
8812         callers changed.
8813         Call size_int_type_wide for all single-word constants.
8814         (size_htab_hash, size_htab_eq): New functions.
8815         (size_int_type_wide): Rework to use hash table.
8816         * ggc-common.c (hashtab.h): Include.
8817         (struct d_htab_root): New struct.
8818         (d_htab_roots): New variable.
8819         (ggc_add_deletable_htab, ggc_htab_delete): New functions
8820         (ggc_mark_roots): Handle deletable htabs.
8821         * ggc-page.c (ggc_marked_p): New function.
8822         * ggc-simple.c (ggc_marked_p): Likewise.
8823         * ggc.h: Reformatting throughout.
8824         (ggc_marked_p, ggc_add_deletable_htab): New declarations.
8825         * tree.c (init_obstacks): Make type_hash_table a deletable root.
8826         (type_hash_add): Allocate struct type_hash from GC memory.
8827         (mark_hash_entry, mark_type_hash): Deleted.
8828         (type_hash_marked_p, type_hash_mark): New functions.
8829         * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
8830
8831 Thu Sep 20 12:49:34 2001  J"orn Rennecke <amylaar@redhat.com>
8832
8833         * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
8834         than SImode.
8835
8836 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8837
8838         * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
8839         array-too-large test for signed sizetype.
8840
8841 Thu Sep 20 12:19:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
8842
8843         * i386.md (indirect_jump): Allow Pmode operand.
8844         (tablejump): LIkewise; perform expansion to 64bit mode.
8845         * i386.c (symbolic_operand): Allow 64bit PIC references.
8846         (pic_symbolic_operand): Likewise.
8847         (ix86_find_base_term): Strip the 64bit PIC references.
8848         (legitimate_pic_address_disp_p): Handle 64bit PIC.
8849         (legitimize_pic_address): Likewise.
8850         (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
8851         * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
8852
8853 2001-09-19  Alexandre Petit-Bianco  <apbianco@redhat.com>
8854
8855         * stringpool.c (get_identifier_with_length): New function.
8856         * tree.h (get_identifier_with_length): New prototype.
8857
8858 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
8859             David Edelsohn  <edelsohn@gnu.org>
8860
8861         Revert:
8862         * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
8863         already sign-extended.
8864
8865         * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
8866         * config/rs6000/rs6000.c (logical_operand): Always compare op as
8867         HOST_WIDE_INT.
8868         (rs6000_emit_set_long_const): Avoid unnecessary shift.
8869         (output_profile_hook): Declare label_name const.
8870         * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
8871         to match constraints.
8872
8873 2001-09-19  Stan Shebs  <shebs@apple.com>
8874
8875         * alias.c: Fix typos in comments.
8876         * sched-rgn.c (init_ready_list): Ditto.
8877         * unwind-dw2.c (uw_frame_state_for): Ditto.
8878         * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
8879         * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
8880         * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
8881
8882 2001-09-19  Richard Henderson  <rth@redhat.com>
8883
8884         * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
8885         to the exit block.
8886         * Makefile.in (cfg.o): Depend on TM_P_H.
8887
8888 2001-09-19  Richard Henderson  <rth@redhat.com>
8889
8890         * config/alpha/alpha.c (local_symbol_p): Split out from ...
8891         (local_symbolic_operand): ... here.
8892         (small_symbolic_operand): Check mode.
8893         (global_symbolic_operand): New.
8894         (input_operand): Reject symbolics if explicit relocs.
8895         (call_operand): Tidy.
8896         (alpha_legitimize_address): Use movdi_er_high_g.
8897         (alpha_expand_mov): Likewise.
8898         * config/alpha/alpha-protos.h: Update.
8899         * config/alpha/alpha.h (PREDICATE_CODES): Update.
8900         * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
8901         (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
8902         (UNSPECV_LDGP2): Remove.
8903         (all call patterns): Use 's' not 'i' for symbolic constraint.
8904         (call_osf call_value_osf): Use call_operand.
8905         (all osf call patterns): Use $gp.  New peepholes for explicit relocs.
8906         (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
8907         (prologue_ldgp_1_er): Remove.
8908         (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
8909         (builtin_setjmp_receiver_er patterns): Use them.
8910         (exception_receiver_er): Likewise.
8911
8912 2001-09-19  Richard Henderson  <rth@redhat.com>
8913
8914         * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
8915
8916         * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
8917         and NON_LOCAL_GOTO notes.
8918         * recog.c (peephole2_optimize): Likewise.  Handle EH_REGION;
8919         copy over CALL_INSN_FUNCTION_USAGE.
8920
8921 2001-09-18  Catherine Moore  <clm@redhat.com>
8922
8923         * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
8924         Define as 0.
8925
8926 2001-09-18  Ulrich Weigand  <uweigand@de.ibm.com>:
8927
8928         * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
8929         new-style tm_file specification.  Specify correct tm_p_file,
8930         md_file, and out_file for s390x.
8931
8932         * config/s390/linux.h, linux64.h:  Don't include other target
8933         macro header files.  Now handled via tm_file.
8934
8935         * config/s390/linux.h, s390.h:  (IEEE_FLOAT, TARGET_IEEE_FLOAT,
8936         TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
8937         are defined before use.
8938
8939 Tue Sep 18 09:51:11 2001  Eric Christopher  <ecechristo@redhat.com>
8940
8941         * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
8942         code generation only for Gnu assembler.
8943
8944 2001-09-18  Catherine Moore  <clm@redhat.com>
8945
8946         * config/stormy16 (LIB_SPEC): Remove -lnosys.
8947
8948 2001-09-18  Richard Sandiford  <rsandifo@redhat.com>
8949
8950         * config/mips/mips.c (mips_frame_set): New.
8951         (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
8952         a parallel frame-related expression with a set for each register.
8953
8954 2001-09-18  Philip Blundell  <philb@gnu.org>
8955
8956         * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
8957         header files.
8958
8959 2001-09-17  Dale Johannesen  <dalej@apple.com>
8960
8961         * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
8962         * config/rs6000/aix.h (FIXED_R2): Define.
8963         * config/rs6000/darwin.h (FIXED_R2): Define.
8964         * config/rs6000/sysv4.h (FIXED_R2): Define.
8965
8966 2001-09-17  Jeff Sturm  <jsturm@one-point.com>
8967
8968         * except.c (dw2_build_landing_pads): New local
8969         clobbers_hard_regs.  Emit an ASM_INPUT as a scheduling
8970         barrier after clobbers.  Fixes c++/4012.
8971
8972 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8973
8974         * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
8975
8976 2001-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
8977
8978         * dostage2, dostage3, listing, make-l2.com, makefile.vms,
8979         patch-apollo-includes, vmsconfig.com: Remove obsolete files.
8980
8981 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8982
8983         * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
8984         alloca/strcpy.
8985
8986 2001-09-17  Neil Booth  <neil@daikokuya.demon.co.uk>
8987
8988         * cpphash.h (_cpp_lex_direct): New.
8989         * cpplex.c (_cpp_lex_token): Update.
8990         (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
8991         and increment that pointer.
8992         * cppmacro.c (alloc_expansion_token): New.
8993         (lex_expansion_token): Lex macro expansion directly into
8994         macro storage.
8995
8996 2001-09-16  Brad Lucier  <lucier@math.purdue.edu>
8997
8998         * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
8999
9000 Sun Sep 16 21:59:46 CEST 2001  Jan hubicka  <jh@suse.cz>
9001
9002         * basic-block.h (free_bb_for_insn): Declare.
9003         * bb-reorder.c (label_for_bb): Use block_label.
9004         (emit_jump_to_block_after): Remove.
9005         (insert_intra_1): Do not update block_for_insn.
9006         (insert_inter_bb_scope_notes): Likewise; update bb->end
9007         * cfg.c (free_bb_for_insn): New.
9008         (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
9009         (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
9010         (commit_one_edge_insertion): Likewise.
9011         (commit_one_edge_insertion): Do not update BB boundary.
9012         (commit_edge_insertions): Do not call compute_bb_for_insn.
9013         * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
9014         * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
9015         (merge_blocks_move_successor_nojumps): Likewise.
9016         (try_crossjump_to_edge): Do not update block_for_insn.
9017         * combine.c (combine_instructions): Remove compute_bb_for_insn call.
9018         * df.c (df_pattern_emit_later): Do not update BB boundary.
9019         (df_jump_pattern_emit_after): Likewise.
9020         (df_insn_move_before): Use emit_insn_before.
9021         * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
9022          properly.
9023         (add_insn_after, add_insn_before, emit_insns_after): Update BB
9024         boundaries and basic_block_for_insn.
9025         (reorder_insns_nobb): Rename from reorder_insns.
9026         (reorder_insns): New.
9027         (emit_block_insn_before, emit_block_insn_after): Kill.
9028         * flow.c (check_function_return_warnings): Do not call
9029         compute_bb_for_insn; Do not free basic_block_for_insn.
9030         (attempt_auto_inc): Do not update basic_block_for_insn.
9031         * function.c (emit_return_into_block): Likewise;
9032         do not update BB boundaries.
9033         * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
9034         (insert_insn_end_bb): Use emit_insn_before; Likewise.
9035         (pre_insert_copy_insn): Likewise.
9036         (update_ld_motion_notes): Likewise.
9037         (insert_insn_start_bb): Likewise.
9038         (replace_store_insn): Likewise.
9039         * ifcvt.c (noce_process_if_block): Likewise.
9040         (if_convert): Do not call compute_bb_for_insn.
9041         * lcm.c (optimize_mode_switching): Do not update BB boundaries.
9042         Use emit_insn_before and emit_insn_after.
9043         * recog.c (split_all_insns): Do not update BB boundaries;
9044         Do not call compute_bb_for_insn.
9045         (peephole2_optimize): Do not update BB boundaries.
9046         * reg-stack.c (emit_pop_insn): Use emit_insn_after and
9047         emit_insn_before.
9048         (emit_swap_insn): Likewise.
9049         (convert_regs_1): Likewise.
9050         * reload1.c (reload): Call compute_bb_for_insn.
9051         * rtl.h (reorder_insns_nobb): Declare.
9052         * ssa.c (rename_equivalent_regs): Use emit_insn_before.
9053         * toplev.c (rest_of_compilation): Call free_bb_for_insn
9054         at places CFG is invalidated; do not call compute_bb_for_insn.
9055
9056         * cfg.c (expunge_block): Invalidate BB structure.
9057
9058         * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
9059         array.
9060
9061         * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
9062
9063 2001-09-16  Neil Booth  <neil@daikokuya.demon.co.uk>
9064
9065         * cpphash.h (_cpp_lex_token): Update prototype.
9066         * cpplex.c (_cpp_lex_token): New prototype.
9067         * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
9068         lex_macro_node, read_flag, do_pragma_poison): Update.
9069         * cppmacro.c (cpp_get_token, parse_params,
9070         lex_expansion_token): Update.
9071
9072 2001-09-16  Neil Booth  <neil@daikokuya.demon.co.uk>
9073
9074         * cppmain.c (scan_translation_unit): Don't worry about
9075         putting a space after hashes.
9076         * cpplib.c (directive_diagnostics): New.
9077         (_cpp_handle_directive): Update to use directive_diagnostics.
9078         (run_directive): Don't toggle prevent_expansion.
9079         (do_line): Backup in case of the line extension.
9080         * cpplib.h (cpp_lexer_pos): Remove.
9081         * cppmacro.c (_cpp_create_definition): Precede a leading #
9082         with whitespace.
9083
9084 2001-09-15  Richard Henderson  <rth@redhat.com>
9085
9086         * c-typeck.c (comptypes): Handle zero-length arrays properly.
9087
9088 2001-09-15  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9089
9090         * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
9091
9092 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
9093
9094         PR preprocessor/3571
9095         * tradcpp.c (handle_directive): Skip non-vertical space.
9096
9097 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
9098
9099         * cppmain.c (setup_callbacks): Set line callback only
9100         if outputting preprocessed source.
9101
9102 2001-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9103
9104         * collect2.c (main): Const-ification.
9105         * gcc.c (translate_options, process_command): Use xstrdup in
9106         lieu of xmalloc/strcpy.
9107         (main): Use concat in lieu of xmalloc/strcpy/strcat.
9108
9109 2001-09-14  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9110
9111         * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
9112         example.
9113
9114 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
9115
9116         * scan-decls.c (scan_decls): Fix typo.
9117
9118 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
9119
9120         * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
9121         Split mlstring_pos into mls_line and mls_col.
9122         * cppinit.c (cpp_create_reader): Initialize line to 1.
9123         (cpp_destroy): Free tokenruns.
9124         (push_include): Don't update lexer_pos.
9125         * cpplex.c (unterminated, parse_string): Update.
9126         (lex_token): Don't update lexer_pos, update.
9127         * cpplib.c (if_stack): Save line instead of line + col.
9128         (start_directive, _cpp_do__Pragma, do_else, do_elif,
9129         push_conditional, _cpp_pop_buffer): Update.
9130         * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
9131         (_cpp_create_definition): Update.
9132
9133 2001-09-15  Eric Christopher  <echristo@redhat.com>
9134
9135         * config/mips/abi64.h: Add support for MEABI.
9136
9137 2001-09-15  Eric Christopher  <echristo@redhat.com>
9138
9139         * config/mips/mips.md: Add unspec #2.
9140         (reload_indi): Use.
9141         (reload_outdi): Ditto.
9142         (reload_outsi): Ditto.
9143         (HILO_delay): New.
9144
9145 2001-09-15  Eric Christopher  <echristo@redhat.com>
9146             Jason Eckhardt  <jle@redhat.com>
9147
9148         * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
9149         * config/mips/isa32-linux.h: New file.
9150         * config/mips/isa3264.h: Ditto.
9151         * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
9152         * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
9153         (output_block_mode): Support MEABI.
9154         (function_arg): Ditto. Fix floating point arg passing.
9155         (mips_va_start): Ditto.
9156         (override_options): Add isas 32 and 64, meabi, mips32 and mips64
9157         processors.
9158         (mips_asm_file_start): Add new section to pass abi to gdb.
9159         (function_arg_pass_by_reference): Support MEABI.
9160         (mips_parse_cpu): Support mips32 and mips64 processors.
9161         * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
9162         TARGET_MIPS5KC.  Support isa32 and isa64.
9163         (processor_type): Add r4kc, r5kc, r20kc.
9164         (GENERATE_MULT3_SI): New.
9165         (GENERATE_MULT3_DI): Ditto.
9166         (GENERATE_MULT3): Remove.
9167         (ISA_HAS_64BIT_REGS): Add isa == 64.
9168         (ISA_HAS_8CC): Add mips_isa = 32 and 64.
9169         (ISA_HAS_MADD_MSUB): New.
9170         (ISA_HAS_CLZ_CLO): Ditto.
9171         (ISA_HAS_DCLZ_DCLO): Ditto.
9172         (ABI_GAS_ASM_SPEC): New.
9173         (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
9174         (ASM_SPEC): Ditto.
9175         (LINK_SPEC): Ditto.
9176         (SUBTARGET_CC1_SPEC): Ditto.
9177         (SUBTARGET_CPP_SIZE_SPEC): Ditto.
9178         (PAD_VARARGS_DOWN): Support MEABI.
9179         (HARD_REGNO_NREGS): Move to mips.c.
9180         (ASM_OUTPUT_IDENT): Add #undef.
9181         * config/mips/mips.md: Add r4kc, r5kc, r20kc.
9182         (mulsi3): Use GENERATE_MULT3_SI.
9183         (mulsi3_mult3): Ditto.  Support mips32, mips64.
9184         (mul_acc_si): Use ISA_HAS_MADD_MSUB.
9185         (mul_sub_si): New pattern.
9186         (unnamed splitters): New.
9187         (muldi3): Use GENERATE_MULT3_DI.
9188         (muldi3_internal2): Ditto.
9189         (movdicc): Support mips32.
9190         * config/mips/t-isa3264: New file.
9191
9192 2001-09-15  Hans-Peter Nilsson  <hp@axis.com>
9193
9194         * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
9195         || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
9196         || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
9197
9198         * reorg.c (fill_slots_from_thread): After call to
9199         steal_delay_list_from_target, update own_thread as new_thread may
9200         have branched.
9201
9202 2001-09-14  Neil Booth  <neil@daikokuya.demon.co.uk>
9203
9204         * cpperror.c (print_location): Take line and column, for
9205         default positioning use the previously lexed token.
9206         (_cpp_begin_message): Take line and column.
9207         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
9208         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
9209         * cpphash.h (_cpp_begin_message): Update prototype.
9210         * cppinit.c (push_include): Don't set output line.
9211         * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
9212         * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
9213         (do_pragma): Kludge for front ends.  Don't expand macros at all.
9214         * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
9215         (struct cpp_token): Remove output_line.
9216         (struct cpp_callbacks): New member line_change.
9217         * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
9218         cpp_get_token): Preserve BOL flag.
9219         (cpp_get_line): Remove.
9220         (_cpp_backup_tokens): Remove useless abort().
9221         * cppmain.c (cb_line_change): New.
9222         (scan_translation_unit): Don't worry about starting new lines here.
9223         * scan-decls.c (scan_decls): Update.
9224         * c-lex.c (c_lex, init_c_lex): Update.
9225         (cb_line_change, src_lineno): New.
9226
9227 Fri Sep 14 13:54:50 EDT 2001  John Wehle  (john@feith.com)
9228
9229         * tree.c (append_random_chars): Generate the random
9230         characters in a reproducable fashion.
9231
9232 2001-09-14  Richard Henderson  <rth@redhat.com>
9233
9234         * config/i386/i386.c (internal_label_prefix): New.
9235         (internal_label_prefix_len): New.
9236         (override_options): Set them.
9237         (local_symbolic_operand): New.
9238         (legitimate_pic_address_disp_p): Use it.
9239         (legitimize_pic_address): Likewise.
9240
9241 2001-09-14  Marc Espie <espie@openbsd.org>
9242
9243         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK):  Generate reference to GOT
9244         correctly.
9245
9246 2001-09-14  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9247
9248         * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
9249         * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
9250
9251 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
9252
9253         * rtlanal.c (subreg_regno_offset): Add semicolon to end of
9254         invocation of SUBREG_REGNO_OFFSET.
9255
9256         * haifa-sched.c: Fix typo in FSF copyright statement.
9257         * sched-deps.c: Fix typo in FSF copyright statement.
9258         * sched-ebb.c: Fix typo in FSF copyright statement.
9259         * sched-rgn.c: Fix typo in FSF copyright statement.
9260         * sched-vis.c: Fix typo in FSF copyright statement.
9261
9262         * config.gcc: Move inclusion of arm elf specific header files
9263         from the files themselves into the tm_file variable.  Make
9264         sure that elfos.h is included before target specific elf
9265         headers.
9266         * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
9267         already defined.
9268         (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
9269         * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
9270         ASM_OUTPUT_CASE_LABEL): Protect definition.
9271         (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
9272         not already defined.
9273         * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
9274         LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
9275         Remove duplicate definition.
9276         (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
9277         (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
9278         (RDATA_SECTION_FUNCTION): Remove redundant definition.
9279         (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
9280         Remove inclusion of arm/elf.h.
9281         * config/arm/unknown-elf.h: as for conix-elf.h.
9282         (STARTFILE_SPEC): Include crti.o and crtn.o.
9283         * config/arm/linux-elf.h: as for conix-elf.h.
9284         * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
9285         * config/arm/strongarm-elf.h: Remove inclusion of
9286         unknown-elf.h.
9287         * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
9288         * config/arm/unknown-elf-oabi.h: Remove inclusion of
9289         unknown-elf.h and elf.h.
9290         * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
9291         * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
9292         ASM_WEAKEN_LABEL): Remove redundant definition.
9293         * config/arm/elf.h: Test for inclusion of elfos.h
9294         (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
9295         ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
9296         SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
9297         EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
9298         redundant definition.
9299         (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
9300         ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
9301         ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
9302         * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
9303         Add rules to build crti.o and crtn.o
9304         * crti.asm: New file.
9305         * crtn.asm: New file.
9306
9307 2001-09-13  Neil Booth  <neil@daikokuya.demon.co.uk>
9308
9309         * c-parse.in (_yylex): Use _cpp_backup_tokens.
9310         * cpphash.h (struct tokenrun): Add prev.
9311         (struct lexer_state): Remove bol.
9312         (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
9313         (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
9314         : Remove.
9315         * cppinit.c (cpp_create_reader): Don't set bol.
9316         (cpp_destroy): Don't free lookaheads.
9317         * cpplex.c (lex_directive): Remove.
9318         (next_tokenrun): Update.
9319         (_cpp_lex_token): Clean up logic.
9320         (lex_token): Update to return a pointer to lexed token, since it
9321         can move to the start of the buffer.  Simpify newline handling.
9322         * cpplib.c (SEEN_EOL): Update.
9323         (skip_rest_of_line): Remove lookahead stuff.
9324         (end_directive): Line numbers are already incremented.  Revert
9325         to start of lexed token buffer if we can.
9326         (_cpp_handle_directive, do_pragma, do_pragma_dependency,
9327         parse_answer): Use _cpp_backup_tokens.
9328         (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
9329         instead.  Don't check for EOL.
9330         (do_include_common, do_line, do_pragma_system_header): Use
9331         skip_rest_of_line.
9332         * cpplib.h (BOL, _cpp_backup_tokens): New.
9333         * cppmacro.c (save_lookahead_token, take_lookahead_token,
9334         alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
9335         cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
9336         (builtin_macro): Don't use cpp_get_line.
9337         (cpp_get_line): Short term kludge.
9338         (parse_arg): Handle directives in arguments here.  Back up when
9339         appropriate.  Store EOF at end of argument list.
9340         (funlike_invocation_p): Use _cpp_backup_tokens.
9341         (push_arg_context): Account for EOF at end of list.
9342         (cpp_get_token): Remove lookahead stuff.  Update.
9343
9344 2001-09-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9345
9346         * c-parse.in (yyerror): Const-ification and/or static-ization.
9347         * c-typeck.c (push_member_name): Likewise.
9348         * collect2.c (main): Likewise.
9349         * dbxout.c (dbxout_parms): Likewise.
9350         * diagnostic.c (format_with_decl): Likewise.
9351         * dwarf2out.c (output_ranges): Likewise.
9352         * dwarfout.c (fundamental_type_code): Likewise.
9353         * except.c (dw2_output_call_site_table): Likewise.
9354         * gcc.c (do_spec_1): Likewise.
9355         * genopinit.c (optabs): Likewise.
9356         * objc/objc-act.c (synth_id_with_class_suffix, start_class,
9357         gen_declaration_1, handle_impent): Likewise.
9358         * protoize.c (default_include, in_system_include_dir, abspath):
9359         Likewise.
9360         * sched-vis.c (visualize_stall_cycles): Likewise.
9361         * sdbout.c (plain_type_1, sdbout_end_function,
9362         sdbout_end_epilogue): Likewise.
9363         * varasm.c (decode_reg_name): Likewise.
9364
9365         * 1750a.c (mod_regno_adjust): Likewise.
9366         * alpha.c (alpha_write_one_linkage,
9367         unicosmk_output_default_externs): Likewise.
9368         * arm.c (arm_condition_codes): Likewise.
9369         * arm.h (arm_condition_codes): Likewise.
9370         * avr.c (output_movsisf, encode_section_info): Likewise.
9371         * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
9372         Likewise.
9373         * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
9374         * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
9375         * m88k.c (output_function_profiler): Likewise.
9376         * mips.c (mips_output_conditional_branch): Likewise.
9377         * ns32k.c (ns32k_out_reg_names): Likewise.
9378         * ns32k.h (ns32k_out_reg_names): Likewise.
9379         * pj.c (pj_output_rval): Likewise.
9380         * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
9381         * sparc.c (sparc_flat_function_prologue,
9382         sparc_flat_function_epilogue): Likewise.
9383
9384 2001-09-13  Markus Werle <numerical.simulation@web.de>
9385             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9386
9387         * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
9388         Aachen University of Technology".
9389
9390 2001-09-13  Andreas Schwab  <schwab@suse.de>
9391
9392         * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
9393         C99.
9394
9395 2001-09-13  Richard Henderson  <rth@redhat.com>
9396
9397         * config/alpha/alpha.c (small_symbolic_operand): New.
9398         (override_options): Set MASK_SMALL_DATA based on pic/PIC.
9399         (some_operand, input_operand): Don't handle HIGH.
9400         (alpha_legitimize_address): Use it.  Emit HIGH with PLUS gp.
9401         (alpha_expand_mov): Likewise.
9402         (print_operand) [H]: Just print HIGH symbol.
9403         (print_operand_address): Handle small data.
9404         * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
9405         (TARGET_SWITCHES): Add -msmall-data/large-data.
9406         (PIC_OFFSET_TABLE_REGNUM): New.
9407         (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
9408         (PREDICATE_COES): Update.
9409         * config/alpha/alpha.md (adddi_er_high): New.
9410         (adddi_er_low): Handle small data.
9411         * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
9412         prefer .sdata to .rodata.
9413         (SELECT_RTX_SECTION): Likewise.
9414
9415 2001-09-12  Josh Martin  <josh.martin@abq.sc.philips.com>
9416
9417         * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
9418         defining __size_t and leaving size_t undefined.
9419
9420 2001-09-12  Diego Novillo  <dnovillo@redhat.com>
9421
9422         * basic-block.h (expunge_block): Declare.
9423         * cfg.c (expunge_block): Remove static declaration.
9424
9425 2001-09-12  Richard Henderson  <rth@redhat.com>
9426
9427         * integrate.c (copy_insn_list): Copy label name from
9428         NOTE_INSN_DELETED_LABEL.
9429
9430 2001-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9431
9432         * c-common.c (c_tree_code_name): Const-ification.
9433         * c-decl.c (c_decode_option): Likewise.
9434         * c-typeck.c (warn_for_assignment): Likewise.
9435         * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
9436         Likewise.
9437         * cppinit.c (output_deps): Likewise.
9438         * dependence.c (dependence_string, direction_string): Likewise.
9439         * dwarf2out.c (output_ranges): Likewise.
9440         * fixinc/fixfixes.c (emit_gnu_type): Likewise.
9441         * fixinc/gnu-regex.c (re_error_msgid): Likewise.
9442         * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
9443         standard_startfile_prefix, standard_startfile_prefix_1,
9444         standard_startfile_prefix_2, tooldir_base_prefix,
9445         standard_bindir_prefix, find_a_file): Likewise.
9446         * genattrtab.c (make_length_attrs): Likewise.
9447         * gencheck.c (tree_codes): Likewise.
9448         * genemit.c (gen_split): Likewise.
9449         * genrecog.c (special_mode_pred_table): Likewise.
9450         * graph.c (graph_ext): Likewise.
9451         * protoize (default_include): Likewise.
9452         * reload.c (reload_when_needed_name): Likewise.
9453         * sched-vis.c (visualize_stall_cycles): Likewise.
9454         * tlink.c (recompile_files): Likewise.
9455         * toplev.c (decode_g_option): Likewise.
9456         * tradcpp.c (output_deps): Likewise.
9457         * varasm.c (decode_reg_name): Likewise.
9458
9459         * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
9460         Const-ification.
9461         * arm.md: Likewise.
9462         * avr.c (avr_regnames, encode_section_info): Likewise.
9463         * c4x.c (float_reg_names): Likewise.
9464         * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
9465         * elfos.h (const_section): Likewise.
9466         * i386.c (ix86_comp_type_attributes): Likewise.
9467         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
9468         * ia64/aix.h (UNIQUE_SECTION): Likewise.
9469         * ia64.c (type_names): Likewise.
9470         * m68hc11.c (reg_class_names): Likewise.
9471         * m88k.c (m_options): Likewise.
9472         * mips.c (mips_output_conditional_branch, mips_unique_section):
9473         Likewise.
9474         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
9475         * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
9476         ultra_code_names): Likewise.
9477         * sparc.h (OVERRIDE_OPTIONS): Likewise.
9478
9479 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
9480
9481         * configure.in (gcc_cv_as_shf_merge): Fix a typo.
9482         Use --fatal-warnings option for gas.
9483         * configure: Rebuilt.
9484
9485 2001-09-12  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9486
9487         * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
9488
9489 2001-09-11  Jim Wilson  <wilson@redhat.com>
9490
9491         * alias.c (clear_reg_alias_info): Only handle pseudo registers.
9492
9493 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
9494
9495         * builtins.c (c_strlen): Treat an offset too large for a
9496         HOST_WIDE_INT as out of range.
9497
9498 Tue Sep 11 18:57:47 CEST 2001  Jan Hubicka  <jh@suse.cz>
9499
9500         * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
9501         (EDGE_CRITICAL_P): New predicate.
9502         * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
9503         handling.
9504         (insert_insn_on_edge): Use EDGE_CRITICAL_P.
9505         (dump_edge_info): Remove "crit".
9506         * cfganal.c (mark_critical_edges): Kill.
9507         * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
9508         * cfgcleanup.c (cleanup_cfg): Likewise.
9509         * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
9510         (find_spanning_tree): Likewise.
9511         * reg-stack.c (convert_regs_1): Likewise.
9512         * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
9513
9514         * basic-block.h (create_basic_block_structure): New.
9515         (create_basic_block): Update prototype.
9516         (force_nonfallthru): New.
9517         * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
9518         * cfg.c (create_basic_block_structure): Rename from create_basic_block;
9519         handle updating of block_for_insn, creating of empty BBs and BBs at
9520         the end of INSN chain.
9521         (create_basic_block): New function.
9522         (split_block): Use create_basic_block.
9523         (force_nonfallthru_and_redirect): Break out from ...; cleanup
9524         (redirect_edge_and_branch_force): ... here.
9525         (force_nonfallthru): New.
9526         (split_edge): Rewrite to use force_nonfallthru and create_block.
9527         * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
9528         (find_basic_blocks): Free basic_block_for_insn.
9529         * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
9530
9531         * cfg.c: Fix formating.
9532         * cfgcleanup.c: Fix formating.
9533         (merge_blocks, tail_recursion_label_p): Return bool.
9534         (merge_blocks_move_predecessor_nojumps,
9535          merge_blocks_move_successor_nojumps): Return void.
9536
9537 2001-09-11  Jakub Jelinek  <jakub@redhat.com>
9538
9539         * configure.in: Check whether assembler supports section merging.
9540         * config.in: Rebuilt.
9541         * configure: Rebuilt.
9542         * varasm.c (variable_section, output_constant_pool): Pass alignment
9543         to SELECT_SECTION and SELECT_RTX_SECTION.
9544         (mergeable_string_section): New.
9545         (mergeable_constant_section): New.
9546         (default_elf_asm_named_section): Output SECTION_MERGE and
9547         SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9548         * output.h (mergeable_string_section): New.
9549         (mergeable_constant_section): New.
9550         (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
9551         * toplev.c (flag_merge_constants): New.
9552         (f_options): Add -fmerge-constants and -fmerge-all-constants
9553         options.
9554         (toplev_main): Default to -fno-merge-constants if not optimizing.
9555         * flags.h (flag_merge_constants): Add extern.
9556         * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
9557         * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
9558         argument.
9559         * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
9560         Define if assembler has working .subsection -1 support.
9561         (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
9562         Put constant into special SHF_MERGE sections if the linker should
9563         attempt to merge duplicates.
9564         * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
9565         macro argument.
9566         Put constant into special SHF_MERGE sections if the linker should
9567         attempt to merge duplicates.
9568         * config/alpha/elf.h: Likewise.
9569         (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
9570         has working .subsection -1 support.
9571         * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
9572         SELECT_SECTION.
9573         * config/svr3.h: Likewise.
9574         * config/darwin.h: Likewise.
9575         * config/arm/aof.h: Likewise.
9576         * config/arm/linux-elf.h: Likewise.
9577         * config/avr/avr.h: Likewise.
9578         * config/c4x/c4x.h: Likewise.
9579         * config/d30v/d30v.h: Likewise.
9580         * config/i386/dgux.h: Likewise.
9581         * config/i386/osfrose.h: Likewise.
9582         * config/i386/sco5.h: Likewise.
9583         * config/i386/svr3gas.h: Likewise.
9584         * config/ia64/aix.h: Likewise.
9585         * config/m32r/m32r.h: Likewise.
9586         * config/m68k/m68k.h: Likewise.
9587         * config/m88k/dgux.h: Likewise.
9588         * config/m88k/m88k.h: Likewise.
9589         * config/mcore/mcore-pe.h: Likewise.
9590         * config/mips/mips.h: Likewise.
9591         * config/pa/pa.h: Likewise.
9592         * config/pa/pa-linux.h: Likewise.
9593         * config/romp/romp.h: Likewise.
9594         * config/rs6000/sysv4.h: Likewise.
9595         * config/rs6000/xcoff.h: Likewise.
9596         * config/s390/linux.h: Likewise.
9597         * config/sparc/sparc.h: Likewise.
9598         * config/sparc/sysv4.h: Likewise.
9599         * config/stormy16/stormy16.h: Likewise.
9600         * config/v850/v850.h: Likewise.
9601         * config/vax/vms.h: Likewise.
9602         * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
9603         and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9604         * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
9605         default_elf_asm_named_section for SHF_MERGE sections.
9606
9607 Tue Sep 11 17:55:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
9608
9609         * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
9610         is OK.
9611
9612 2001-09-11  Joseph S. Myers  <jsm28@cam.ac.uk>
9613
9614         * c-common.c (split_specs_attrs): Allow for empty attributes with
9615         empty TREE_PURPOSE.  Fixes PR c/4294.
9616
9617 Tue Sep 11 11:37:52 CEST 2001  Jan Hubicka  <jh@suse.cz>
9618
9619         * basic-block.h (cached_make_edge, make_single_succ): New.
9620         (make_edge): Remove first parameter.
9621         * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
9622         * cfg.c (cached_make_edge): Rename from make_edge; return newly
9623         created edge; use obstack allocation.
9624         (make_edge, make_single_succ_edge): New.
9625         (first_removed_edge): New static variable.
9626         (init_flow): Initialize first_removed_edge and n_edges.
9627         (clear_edges): Use remove_edge.
9628         (flow_delete_block): Likewise.
9629         (remove_edge): Add removed edges to the removed edges list.
9630         (split_block, redirect_edge_and_branch_force, split_edge):
9631         Use make_edge.
9632         * cfganal.c (flow_call_edges_add): Updaet make_edge call.
9633         (add_noreturn_fake_exit_edges): Likewise.
9634         (connect_infinite_loops_to_exit): Liekwise.
9635         * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
9636         Use cached_make_edge.
9637         * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
9638         * profile.c (branch_prob): Update make_edge call.
9639         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
9640
9641 2001-09-11  Richard Henderson  <rth@redhat.com>
9642
9643         * config/alpha/alpha.c: Tidy formatting.
9644         (local_symbolic_operand): Verify mode.
9645         (alpha_sa_mask): Ignore unicos for eh_return.
9646         (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
9647         * config/alpha/alpha.md (umk divsi patterns): Remove.
9648         (extendsfdf2): Remove unicos check.
9649         (tablejump): Merge vms and unicos code; always use direct set
9650         plus label_ref use.
9651
9652 2001-09-11  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9653
9654         * config.gcc (alpha*-*-unicosmk*): New target.
9655
9656         * config/alpha/alpha-protos.h (symbolic_operand,
9657         unicosmk_add_call_info_word, unicosmk_add_extern,
9658         unicosmk_defer_case_vector, unicosmk_unique_section,
9659         unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
9660         unicosmk_asm_file_start, unicosmk_asm_file_end,
9661         unicosmk_output_common): Declare.
9662
9663         * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
9664         direct_return, function_arg, alpha_va_start, alpha_va_arg,
9665         alpha_does_function_need_gp, alpha_end_function): Support Cray
9666         Unicos/Mk.
9667         (alpha_init_machine_status, alpha_mark_machine_status,
9668         alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
9669         unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
9670         unicosmk_asm_named_section, unicosmk_insert_attributes,
9671         unicosmk_section_type_flags, symbolic_operand,
9672         unicosmk_output_module_name, unicosmk_output_default_externs,
9673         unicosmk_output_dex, unicosmk_output_externs,
9674         unicosmk_output_addr_vec, unicosmk_ssib_name,
9675         unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
9676         unicosmk_asm_file_end, unicosmk_output_common,
9677         unicosmk_section_type_flags, unicosmk_unique_section,
9678         unicosmk_add_call_info_word, unicosmk_text_section,
9679         unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
9680         unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
9681         unicosmk_dex_count, unicosmk_special_name): New.
9682         (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
9683         TARGET_ABI_UNICOSMK.
9684         (get_aligned_mem, alpha_expand_unaligned_load,
9685         alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
9686         alpha_expand_unaligned_store_words): Support big-endian mode.
9687         (print_operand): Likewise. New format specifier 't'. Use
9688         TARGET_AS_SLASH_BEFORE_SUFFIX.
9689         (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
9690         (alpha_pv_save_size): Update with above change.
9691         (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
9692         alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
9693         Unicos/Mk.
9694
9695         * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
9696         (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
9697         (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
9698         (EXTRA_CONSTRAINT): New constraint 'U'.
9699         (PREDICATE_CODES): Add symbolic_operand.
9700
9701         * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
9702         UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
9703         (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
9704         (integer division and modulus patterns): Split in default and
9705         Unicos/Mk versions.
9706         (*divmodsi_internal, *divmoddi_internal): Disable for
9707         TARGET_ABI_UNICOSMK.
9708         (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
9709         little-endian and big-endian versions.
9710         (ext, ins, msk): Likewise.
9711         (extv, extzv, insv): Support big-endian mode.
9712         (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
9713         (call_umk, call_value_umk, *call_umk, tablejump_umk,
9714         *tablejump_umk_internal, *call_value_umk): New.
9715         (*movdi_nofix): Add pattern for loading an address into a register on
9716         TARGET_ABI_UNICOSMK.
9717         (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
9718         (umk_mismatch_args, arg_home_umk): New.
9719         (various insns): Don't use mov, fmov, nop, fnop and unop.
9720         (realign): Support TARGET_ABI_UNICOSMK.
9721
9722         * config/alpha/unicosmk.h: New file.
9723         * config/alpha/t-unicosmk: New file.
9724
9725         * fixinc/inclhack.def (unicosmk_restrict): New.
9726         * fixinc/fixincl.x: Regenerate.
9727
9728         * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
9729         (wchar_t): Check for and define __WCHAR_T__.
9730
9731 2001-09-11  Richard Sandiford  <rsandifo@redhat.com>
9732
9733         * combine.c (simplify_shift_const): Treat shifts by the mode
9734         size as undefined.
9735
9736 2001-09-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9737
9738         * cpphash.h (struct tokenrun): New.
9739         (struct cpp_context): New member bol.
9740         (struct cpp_reader): New members.
9741         (_cpp_init_tokenrun): New.
9742         * cppinit.c (cpp_create_reader): Set up the token runs.
9743         * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
9744         (lex_token): New internalised version of _cpp_lex_token.  Don't
9745         handle directives or the multiple include optimization here any
9746         more.  Simply lex a token.
9747         * cpplib.c (run_directive): Clear bol.
9748         (_cpp_pop_buffer): Set bol.
9749         * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
9750         arguments.
9751
9752 2001-09-11  Michael Meissner  <meissner@redhat.com>
9753
9754         * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
9755         give an error if the user uses -mfp32.
9756         (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
9757         default options.
9758         (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
9759         floating point register size.
9760         (EXTRA_SPECS): Add CPP_FPR_SPEC.
9761
9762         * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
9763         HOST_WIDE_INT_PRINT_DEC to properly print the result of
9764         int_size_in_bytes.
9765         * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9766         * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9767
9768 2001-09-11  Hans-Peter Nilsson  <hp@axis.com>
9769
9770         * dbxout.c (dbxout_parms): Fix typo in comment.
9771         * unroll.c (loop_find_equiv_value): Ditto.
9772         * toplev.c (rest_of_compilation): Ditto.
9773         * loop.c (scan_loop): Ditto.
9774         * dwarf2out.c (struct dw_fde_struct): Ditto.
9775
9776 2001-09-10  Zack Weinberg  <zackw@panix.com>
9777
9778         * cpplex.c (parse_identifier): Fast-path optimize.  Avoid
9779         copying identifier when we're just going to throw it away.
9780         (parse_identifier_slow): New routine to handle abnormal cases.
9781         (_cpp_lex_token): Update call site.
9782
9783         * hashtable.c (ht_lookup): Don't assume that the string we've
9784         been given is NUL-terminated.
9785         * system.h: #define __builtin_expect(a, b) to (a) if not
9786         GCC >=3.0.
9787
9788 2001-09-10  Michael Meissner  <meissner@redhat.com>
9789
9790         * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
9791         binutils, gdb.
9792
9793 2001-09-10  David Edelsohn  <edelsohn@gnu.org>
9794
9795         * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
9796
9797 Mon Sep 10 16:26:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9798
9799         * builtins.c (c_getstr): Correct thinko in last change and further
9800         cleanup.
9801
9802 2001-09-10  Tim Freeman <tim@fungibole.com>
9803
9804         * dwarf2out.c (incomplete_types, decl_scope_table): Make them
9805         into varray's and register them as roots with the garbage
9806         collector so they are not collected too soon.
9807
9808 Mon Sep 10 14:21:26 CEST 2001  Jan Hubicka  <jh@suse.cz>
9809
9810         * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
9811         New.
9812         * basic-block.h (flow_obstack, label_value_list,
9813         tail_recursion_label_list): Declare
9814         (tidy_fallthru_edges): Declare.
9815         (expunge_block, last_loop_beg_note): Delete.
9816         (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
9817         * cfg.c: New file
9818         (basic_block_for_insn, label_value_list): Move from flow.c; make global.
9819         (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
9820         init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
9821         flow_delete_insn, flow_delete_insn_chain, create_basic_block,
9822         expunge_block, flow_delete_block, compute_bb_for_insn,
9823         update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
9824         make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
9825         redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
9826         try_redirect_by_replacing_jump, last_loop_beg_note,
9827         redirect_edge_and_branch, redirect_edge_and_branch_force,
9828         tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
9829         split_edge, insert_insn_on_edge, commit_one_edge_insertion,
9830         commit_edge_insertions, dump_flow_info, debug_flow_info,
9831         dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
9832         verify_flow_info, purge_dead_edges, purge_all_dead_edges):
9833         Move here from flow.c
9834         * cfganal.c: New file.
9835         (forwarder_block_p, can_fallthru, mark_critical_edges,
9836          mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
9837          find_unreachable_blocks, create_edge_list, free_edge_list,
9838          print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
9839          flow_edge_list_print, remove_fake_successors, remove_fake_edges,
9840          add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
9841          flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
9842          flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
9843          flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
9844         Move here from flow.c
9845         * cfgbuild.c: New file
9846         (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
9847          make_edges, find_basic_blocks_1, find_basic_blocks,
9848          find_sub_basic_blocks): Move here from flow.c
9849         * cfgcleanup.c: New file.
9850         (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
9851          merge_blocks_move_predecessor_nojumps,
9852          merge_blocks_move_successor_nojumps, merge_blocks,
9853          flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
9854          try_crossjump_bb, try_optimize_cfg): Move here from flow.c
9855         (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
9856         if succeeded.
9857         * cfgloop.c: New file
9858         (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
9859          flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
9860          flow_loop_exit_edges_find, flow_loop_nodes_find,
9861          flow_loop_pre_header_scan, flow_loop_pre_header_find,
9862          flow_loop_tree_node_add, flow_loops_tree_build,
9863          flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
9864          flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
9865         Move here from flow.c
9866         * flow.c: Remove everything moved elsewhere
9867         * output.h (cleanup_cfg): Return bool.
9868
9869         * bb-reorder.c (reorder_block_def): Remove 'index'.
9870         (insert_intra_1): Add argument BB, set block for new note.
9871         (make_reorder_chain): Do not depdent on BB indexes.
9872         (make_reorder_chain_1): Do not use BB indexes.
9873         (label_for_bb): Likewise; set BB for new insn.
9874         (emit_jump_to_block_after): Likewise.
9875         (fixup_reorder_chain): Sanity check that all basic blocks
9876         are chained; verify newly created insn chain; remove
9877         undocnitional jump simplifying; Do not use BB indexes;
9878         properly initialize count and frequency information;
9879         dump reordered sequence.
9880         (insert_intra_bb_scope_notes): update call of insert_intra_1.
9881         (insert_inter_bb_scope_notes): Set block for new insn.
9882         (reorder_basic_blocks): Dump flow info before reoredering.
9883
9884 Mon Sep 10 06:47:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9885
9886         * alias.c (clear_reg_alias_info): Use K&R format definition.
9887         Avoid unsigned warning.
9888         * builtins.c: Use "unsigned int", not "unsigned".
9889         (target_char_cast): Use host_integerp and tree_low_cst.
9890         (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
9891         (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
9892         (c_getstr): Likewise.
9893         (std_expand_builtin_va_arg): Use int_size_in_bytes.
9894         (builtin_memcpy_read_str): Avoid unsigned warning.
9895         (expand_builtin_memcpy): Alignments are unsigned.
9896         (expand_builtin_strncpy, expand_builtin_memset): Likewise.
9897         (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
9898         * predict.c (expensive_function_p): LIMIT now unsigned.
9899         * resource.c (mark_target_live_regs): Make some vars unsigned.
9900         * sdbout.c: Use "unsigned int", not "unsigned".
9901         (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
9902         (sdbout_source_line): Likewise.
9903         (sdbout_record_type_name): Remove "const" for NAME declaration.
9904         * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
9905
9906 2001-09-10  Richard Sandiford  <rsandifo@redhat.com>
9907
9908         * calls.c (store_one_arg): Expand comment.
9909
9910 2001-09-10  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9911
9912         * calls.c (store_one_arg): Make sure that the entire argument is
9913         pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
9914
9915 2001-09-09  Richard Henderson  <rth@redhat.com>
9916
9917         * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
9918
9919 Sun Sep  9 10:43:17 CEST 2001  Jan Hubicka  <jh@suse.cz>
9920
9921         * loop.c (combine_givs): Fix computing of benefit once giv is combined.
9922
9923 2001-09-09  Richard Henderson  <rth@redhat.com>
9924
9925         * config/alpha/alpha.c (alpha_next_sequence_number): New.
9926         (alpha_this_literal_sequence_number): New.
9927         (alpha_this_gpdisp_sequence_number): New.
9928         (some_operand, input_operand): Add HIGH.
9929         (local_symbolic_operand): New.
9930         (alpha_encode_section_info): New.
9931         (alpha_legitimate_address_p): Allow LO_SUM.
9932         (alpha_legitimize_address): Generate HIGH+LO_SUM.
9933         (alpha_expand_mov): Likewise.
9934         (secondary_reload_class): Check memory_operand not general_operand
9935         for FP_REGS test.
9936         (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
9937         (alpha_expand_unaligned_store): Likewise.
9938         (alpha_expand_unaligned_load_words): Likewise.
9939         (alpha_expand_unaligned_store_words): Likewise.
9940         (alpha_expand_block_clear): Likewise.
9941         (print_operand): Handle %#, %*, %H.
9942         (print_operand_address): Handle LO_SUM.
9943         (find_lo_sum): New.
9944         (alpha_does_function_need_gp): Use it.
9945         (alpha_expand_block_move): Fix signed compare warnings.
9946         (alpha_sa_mask, alpha_align_insns): Likewise.
9947         * config/alpha/alpha-protos.h: Update.
9948         * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
9949         (MASK_EXPLICIT_RELOCS): New.
9950         (TARGET_SWITCHES): Add -mexplicit-relocs.
9951         (EXTRA_CONSTRAINT): Add 'T'.
9952         (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
9953         (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
9954         (ENCODE_SECTION_INFO): Out line.
9955         (REDO_SECTION_INFO_P): New.
9956         (STRIP_NAME_ENCODING): New.
9957         (ASM_OUTPUT_LABELREF): New.
9958         (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
9959         (PREDICATE_CODES): Update.
9960         * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
9961         call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
9962         movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
9963         builtin_setjmp_receiver_er, exception_receiver_1_er,
9964         call_value_osf_1_er): New patterns.
9965         (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
9966         (movqi, movhi, movsi): Add explicit $31 base register to lda.
9967         * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
9968         (FINAL_PRESCAN_INSN): New.
9969
9970 Sat Sep  8 22:00:55 CEST 2001  Jan Hubicka  <jh@suse.cz>
9971
9972         * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
9973
9974 2001-09-08  Andreas Jaeger  <aj@suse.de>
9975
9976         * i386.h (TARGET_SWITCHES): Fix description.
9977
9978 2001-09-07  David Edelsohn  <edelsohn@gnu.org>
9979
9980         * rs6000.c (num_insns_constant): Compute number of instructions
9981         more accurately.
9982
9983         * doc/install.texi: Explain AIX exception handling work-around.
9984         Update URL for AIX fixes.
9985
9986 2001-09-07  Jim Wilson  <wilson@redhat.com>
9987
9988         * alias.c (clear_reg_alias_info): New.
9989         * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
9990         * rtl.h (clear_reg_alias_info): Declare.
9991
9992 2001-09-07  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9993
9994         * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
9995         available.
9996         (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
9997         (m16m,edivm,emulm): Change declaration to match definition.
9998
9999 2001-09-07  Roman Lechtchinsky <rl@cs.tu-berlin.de>
10000
10001         * reload.c (push_reload): Check for subreg_lowpart_p instead of
10002         SUBREG_BYTE being 0 when determining if the inner part of a subreg
10003         can be reloaded.
10004
10005 2001-09-07  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
10006
10007         * c-common.c (signed_or_unsigned_type): Handle machine mode types
10008         which have no corresponding C type.
10009         * fold_const.c (target_isinf,target_isnan,target_negative): Update
10010         the representation of 64-bit doubles to work with 64-bit ints.
10011
10012 2001-09-07  Aldy Hernandez  <aldyh@redhat.com>
10013
10014         * config/mips/mips.c (override_options): Do not override ISA when ABI
10015         specified if MIPS_CPU_STRING_DEFAULT was specified.
10016
10017 2001-09-07  Richard Henderson  <rth@redhat.com>
10018
10019         * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
10020         (express_from_1): Wrap lines.
10021         * rtlanal.c (commutative_operand_precedence): Rename from
10022         operand_preference; export.
10023         * rtl.h: Declare it.
10024         * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
10025         (simplify_binary_operation): Invoke simplify_plus_minus on
10026         (CONST (PLUS ...)) as well.
10027         (struct simplify_plus_minus_op_data): New.
10028         (simplify_plus_minus_op_data_cmp): New.
10029         (simplify_plus_minus): Use them.  Avoid infinite recursion with
10030         simplify_binary_operation wrt CONST.
10031
10032 Fri Sep  7 11:52:30 2001   Kazu Hirata  <kazu@hxi.com>
10033
10034         * h8300-protos.h (general_operand_dst_push): Remove.
10035         * h8300.c (general_operand_dst_push): Likewise.
10036         * h8300.h (OK_FOR_T): Likewise.
10037         (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
10038         * h8300.md (pushqi_h8300): New.
10039         (pushqi_h8300hs): Likewise.
10040         (pushqi): Likewise.
10041         (pushhi_h8300): Likewise.
10042         (pushhi_h8300hs): Likewise.
10043         (pushhi): Likewise.
10044
10045 Fri Sep  7 12:56:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10046
10047         * genattrtab.c (attr_printf): First arg is unsigned.
10048         Clean up formatting of callers.
10049
10050 2001-09-06  Aldy Hernandez  <aldyh@redhat.com>
10051
10052         * config/mips/mips.c (override_options): Allow abi32 with 64 bit
10053         registers.
10054
10055 2001-09-07  Andreas Jaeger  <aj@suse.de>
10056
10057         * i386.h (TARGET_SWITCHES): Fix descriptions.
10058
10059 2001-09-07  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
10060
10061         * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
10062
10063 2001-09-06  Ira Ruben  <ira@apple.com>
10064
10065         Remove OP_IDENTIFIER.
10066         * tree.def (OP_IDENTIFIER): Remove.
10067         * tree.c (tree_node_kind enum): Remove op_id_kind.
10068         (tree_node_kind_names): Remove "op_identifiers".
10069         (make_node): Remove OP_IDENTIFIER test.
10070         (build_op_identifier): Removed because it isn't being used.
10071         * print-tree.c (print_node): Remove OP_IDENTIFIER case.
10072         * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
10073
10074 2001-09-06  Richard Henderson  <rth@redhat.com>
10075
10076         * simplify-rtx.c (simplify_binary_operation): Revert last change.
10077
10078 2001-09-06  Richard Henderson  <rth@redhat.com>
10079
10080         * simplify-rtx.c (simplify_binary_operation): Simplify contents
10081         of CONST.
10082
10083 2001-09-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10084
10085         * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
10086         number used for CR register.
10087
10088 Thu Sep  6 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
10089                           Joern Rennecke (amylaar@cygnus.com)
10090
10091         * h8300-protos.h (h8300_return_addr_rtx): New prototype.
10092         * h8300.c (initial_offset): Handle offset between RP and FP.
10093         (h8300_return_addr_rtx): New function.
10094         * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
10095         return register.
10096         (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
10097         (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
10098         (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
10099         (CAN_ELIMINATE, REGISTER_NAMES):
10100         (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
10101
10102 2001-09-06  Nathan Sidwell  <nathan@codesourcery.com>
10103
10104         Remove TYPE_NONCOPIED_PARTS.
10105         * tree.h (TYPE_NONCOPIED_PARTS): Remove.
10106         (struct tree_type): Remove noncopied_parts.
10107         * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
10108         * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
10109         (fixed_type_p): Remove.
10110         (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
10111         (expand_expr, MODIFY_EXPR): Likewise.
10112         * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
10113         * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
10114
10115 2001-09-06  Alan Modra  <amodra@bigpond.net.au>
10116
10117         * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
10118         compiler warnings.
10119         (mask64_operand): Likewise.
10120         (includes_rldic_lshift_p): Likewise.
10121         (includes_rldicr_lshift_p): Likewise.
10122
10123 2001-09-05  Ziemowit Laski  <zlaski@apple.com>
10124
10125         * objc/objc-act.c (build_message_expr): If a class method cannot
10126         be found, do not issue a warning if a corresponding instance
10127         method exists in the root class.
10128
10129 2001-09-05  Richard Henderson  <rth@redhat.com>
10130
10131         * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
10132
10133 2001-09-05  Zack Weinberg  <zack@codesourcery.com>
10134
10135         * function.c (ggc_mark_struct_function): Mark f->outer.
10136         * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
10137         * integrate.c (output_inline_function): ... not here.
10138
10139 Wed Sep  5 17:28:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
10140
10141         * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
10142
10143         * i386.c (size_cost): New static variable.
10144         (override_function): Use size_cost when -Os is specified.
10145
10146         * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
10147         properly;  Use current_function_calls_eh_return.
10148         (ix86_expand_epilogue): Avoid dummy optimize_size tests;
10149         use leave to avoid dependency chain.
10150
10151         * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
10152         get BB loop_depth instead of computing it from LOOP notes.
10153
10154         * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
10155
10156 2001-09-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10157
10158         * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
10159         * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
10160         UNALIGNED_DOUBLE_INT_ASM_OP): Define
10161
10162 2001-09-05  Jeffrey A Law  (law@cygnus.com)
10163             Jason Merrill (jason@redhat.com)
10164
10165         * stor-layout.c (layout_type): Complain if an array's size can
10166         not be represented in a size_t.
10167
10168         * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
10169
10170 2001-09-05  David Billinghurst <David.Billinghurst@riotinto.com>
10171
10172         * gcc.c: (process_command) Add parentheses around assignment
10173         used as truth value.
10174
10175 2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
10176
10177         * config/mips/mips.c (save_restore_insns): Don't mark any register
10178         save slots as unchanging if current_function_calls_eh_return.
10179
10180 2001-09-05  Richard Henderson  <rth@redhat.com>
10181
10182         * config/alpha/alpha.c (alpha_legitimate_address_p): New.
10183         * config/alpha/alpha-protos.h: Declare it.
10184         * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
10185         (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
10186         (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
10187         (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
10188         (REG_OK_FOR_BASE_P): Select one of the above.
10189
10190 2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
10191
10192         * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
10193         (crti.o): Prefix name of object file with $(T).
10194         (crtn.o): Likewise.
10195
10196 2001-09-05  David S. Miller  <davem@redhat.com>
10197
10198         * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
10199         * config/sparc/linux64.h: Likewise.
10200
10201 2001-09-05  Andreas Jaeger  <aj@suse.de>
10202
10203         * doc/invoke.texi (i386 Options): -mwide-multiply is not
10204         available anymore, remove the documentation.
10205         (i386 Options): Fix typo, cleanup index entries.
10206
10207         * prefix.c (concat): Remove, we can use the version from liberty.
10208
10209 2001-09-05  Richard Henderson  <rth@redhat.com>
10210
10211         * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
10212         New functions split out of md file expanders.
10213         * config/alpha/alpha-protos.h: Declare them.
10214         * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
10215
10216 2001-09-05  Neil Booth  <neil@daikokuya.demon.co.uk>
10217
10218         * cppmacro.c (funlike_invocation_p): No need to restore context.
10219
10220 2001-09-04  Richard Henderson  <rth@redhat.com>
10221
10222         * reload.c (push_reload): Export.
10223         * reload.h (push_reload): Declare it.
10224
10225         * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
10226         (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
10227         * config/alpha/alpha.c (alpha_legitimize_address): New.
10228         (alpha_legitimize_reload_address): Likewise.
10229         * config/alpha/alpha-protos.h: Declare them.
10230
10231 2001-09-04  Stan Shebs  <shebs@apple.com>
10232
10233         * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
10234         * config/darwin.c (machopic_stub_name): Account for internally
10235         generated lib calls such as memcpy.
10236
10237 2001-09-04  Richard Henderson  <rth@redhat.com>
10238
10239         * unwind.h (_UA_END_OF_STACK): New flag.
10240         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
10241
10242 Tue Sep  4 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
10243
10244         * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
10245
10246 2001-09-04  Richard Sandiford  <rsandifo@redhat.com>
10247
10248         * config/mips/mips.c (save_restore_insns): Change base_offset to
10249         fp_offset in second call to mips_emit_frame_related_store.
10250
10251 2001-09-04  Hans-Peter Nilsson  <hp@axis.com>
10252
10253         * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
10254         sometimes be represented as a NOTE of type
10255         NOTE_INSN_DELETED_LABEL.
10256         (Insns): Document NOTE_INSN_DELETED_LABEL.
10257
10258 2001-09-04  Nathan Sidwell  <nathan@codesourcery.com>
10259
10260         * c-common.h (tree_dump_index): Add more comments.
10261         * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
10262         (dump_option_value_info): New struct.
10263         (dump_options): New array.
10264         (dump_switch_p): Parse switch options symbolically.
10265         * doc/invoke.texi (-fdump-ast): Rename to ...
10266         (-fdump-tree): ... here. Document that options are symbolic, and
10267         not all are applicable.
10268
10269 2001-09-04  David S. Miller  <davem@redhat.com>
10270
10271         * config/sparc/sparc.md (define_splits): Kill constraints.
10272
10273         Cleanup redundant and unused insn attributes.
10274         * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
10275         binary, and move.  Mark ialu as default.
10276         (commented out define_function_unit "alu"): Kill.
10277         (define_attr "use_clobbered"): Kill.
10278         (whole file): Kill address insn type references.  Replace
10279         all unary/binary/move references with ialu.
10280         * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
10281         references.  Replace TYPE_{UNARY,BINARY,MOVE} references with
10282         TYPE_IALU.
10283
10284         Simplify length insn attribute and make more judicious use
10285         of insn attribute defaulting.
10286         * config/sparc/sparc.md (all insns with length > one): Mark as
10287         insn type multi if real instructions, else use default if
10288         it is a forced splitter.
10289         (all insns with length == one): Use default insn length.
10290         (all insns of type ialu): Use default insn type.
10291
10292         Fix erroneous insn attribute settings.
10293         (addx): Set insn type to misc.
10294         (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
10295         const_umulsidi3_sp64): Set insn type to imul.
10296
10297         Track SFmode vs DFmode insns according to UltraSPARC
10298         scheduling rules.
10299         * config/sparc/sparc.md ("fptype"): New attribute, default
10300         to "single".
10301         (all DFmode single insns): Mark as fptype "double".
10302
10303 2001-09-03  Jakub Jelinek  <jakub@redhat.com>
10304
10305         * loop.c (express_from_1): Fix CONSTANT_P(a) case.
10306
10307 2001-09-03  Richard Henderson  <rth@redhat.com>
10308
10309         * function.h (struct function): Add arg_pointer_save_area_init.
10310         * function.c (expand_function_end): Init arg_pointer_save_area.
10311         (get_arg_pointer_save_area): Do not init arg_pointer_save_area
10312         when called from a nested function.
10313
10314 2001-09-02  Angela Marie Thomas <angela@cygnus.com>
10315
10316         * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
10317         is enabled.
10318
10319 Sun Sep  2 18:37:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
10320
10321         * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
10322
10323 2001-09-01  Geoffrey Keating  <geoffk@redhat.com>
10324
10325         * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
10326         (emit_push_insn): Use specified padding direction when
10327         STACK_PUSH_CODE is POST_INC.
10328
10329         * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
10330
10331 2001-09-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10332
10333         * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
10334
10335 2001-09-01  Neil Booth  <neil@daikokuya.demon.co.uk>
10336
10337         * cppinit.c (cpp_start_read): Free the imacros list as we
10338         traverse it.  Don't free the chains before returning.
10339         (_cpp_push_next_buffer): Only try pushing buffers if we've
10340         completed -imacros handling.
10341
10342 2001-08-31  Eric Christopher  <echristo@redhat.com>
10343
10344         * gcc.c (handle_braces): Add explaination for abort.
10345
10346 2001-08-30  Roman Zippel  <zippel@linux-m68k.org>
10347
10348         * expmed.c (store_bit_field): Update to patch from 2001-08-27:
10349         move adjustment of bitpos instead.
10350
10351 2001-08-31  Zack Weinberg  <zack@codesourcery.com>
10352
10353         * function.c: Remove all_functions.  Make outer_function_chain
10354         static.
10355         (init_function_start): Don't add new function structure to
10356         all_functions.
10357         (find_function_data, push_function_context_to,
10358         pop_function_context_from, put_var_into_stack,
10359         trampoline_address): Update for changed structure element names.
10360         (push_function_context_to): Disentangle.
10361         (free_after_compilation): Also free F.
10362         (expand_dummy_function_end): Don't free cfun here.
10363         (put_var_into_stack): Comment why we can't use find_function_data here.
10364         (fix_lexical_addr, trampoline_address, ): Use find_function_data.
10365         (mark_function_chain): Split into maybe_mark_struct_function and
10366         ggc_mark_struct_function.  Export the latter.
10367         (init_function_once): Mark from cfun and outer_function_chain;
10368         not all_functions.
10369
10370         * function.h (struct function): Kill next_global.  Rename next
10371         to outer.  All users updated to match.
10372         (all_functions, outer_function_chain): Don't declare.
10373
10374         * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
10375         * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
10376         don't touch f->inlinable, after calling rest_of_compilation.
10377
10378         * tree.h: Forward-declare struct function.  Prototype
10379         ggc_mark_struct_function.
10380
10381 2001-08-31  Kazu Hirata  <kazu@hxi.com>
10382
10383         * config/h8300/h8300.md (*andorhi3): Fix typos.
10384
10385 2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10386
10387         * calls.c (emit_library_call_value): Don't use a fixed
10388         argument after VA_CLOSE, i.e. out of scope in traditional C.
10389
10390         * emit-rtl.c (gen_rtvec): Likewise.
10391
10392 2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10393
10394         * Makefile.in (c-pragma.o): Depend on output.h.
10395         (reorg.o): Depend on except.h.
10396
10397         * c-pragma.c: Include output.h.
10398
10399         * reorg.c: Include except.h.
10400
10401         * unwind-dw2.c: Call __builtin_alloca, not alloca.
10402
10403 2001-08-31  Richard Henderson  <rth@redhat.com>
10404
10405         * sched-deps.c (add_dependence): Don't elide dependency if the
10406         conditional used by insn is modified in elem.
10407
10408 2001-08-31  Nick Clifton  <nickc@cambridge.redhat.com>
10409
10410         * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
10411
10412 2001-08-31  Diego Novillo  <dnovillo@redhat.com>
10413
10414         * c-decl.c (c_decode_option): Skip '-f' prefix before calling
10415         dump_switch_p.
10416
10417 2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
10418
10419         * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
10420         function.
10421         (stormy16_asm_out_constructor): New function.
10422         (TARGET_ASM_CONSTRUCTOR): Define.
10423         (TARGET_ASM_DESTRUCTOR): Define.
10424
10425 2001-08-31  Andreas Jaeger  <aj@suse.de>
10426
10427         * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
10428         * loop.c (add_label_notes): Likewise.
10429         * reload.c (find_reloads): Likewise.
10430         * config/sh/sh.c (machine_dependent_reorg): Likewise.
10431
10432 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
10433
10434         * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
10435         code here.  Take _Unwind_{W,Sw}ord*.
10436         (read_encoded_value_with_base): Use them.
10437         * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
10438         words.
10439         (extract_cie_info): Simplify read_?leb128 handling.
10440         (execute_stack_op, execute_cfa_program): Likewise.
10441         * unwind-dw2-fde.c (get_cie_encoding): Likewise.
10442
10443 2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
10444
10445         * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
10446         the frame pointer to pop the stack if convenient.
10447
10448         * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
10449         Don't use post-increment before combine.
10450         * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
10451         a call-saved register.
10452
10453 2001-08-31  Andreas Jaeger  <aj@suse.de>
10454
10455         * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
10456         code was correct.
10457
10458 2001-08-30  Geoffrey Keating  <geoffk@redhat.com>
10459
10460         * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
10461         not DIV/MOD, of course.
10462
10463 2001-08-30  Vladimir Makarov  <vmakarov@redhat.com>
10464
10465         * rtl.def: Undo my patch commited 2001-08-27.
10466
10467         * genattrtab.c: Ditto.
10468
10469         * rtl.h: Ditto.
10470
10471         * sched-int.h: Ditto.
10472
10473         * target-def.h: Ditto.
10474
10475         * target.h: Ditto.
10476
10477         * haifa-sched.c: Ditto.
10478
10479         * sched-rgn.c: Ditto.
10480
10481         * sched-vis.c: Ditto.
10482
10483         * Makefile.in: Ditto.
10484
10485         * doc/md.texi: Ditto.
10486
10487         * doc/tm.texi: Ditto.
10488
10489         * doc/contrib.texi: Ditto.
10490
10491         * doc/gcc.texi: Ditto.
10492
10493         * genattrtab.h: Remove it.
10494
10495         * genautomata.c: Remove it.
10496
10497         * genattr.c: Undo my patch and Richard Henderson's patch commited
10498         2001-08-27.
10499
10500 Thu Aug 30 19:22:15 2001  J"orn Rennecke <amylaar@redhat.com>
10501
10502         * config.gcc (h8300-*-elf*): New case.
10503         * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
10504         (SUBTARGET_CPP_SPEC): Define.
10505         (EXTRA_SPECS): Define.
10506         (SUBTARGET_EXTRA_SPECS): Define.
10507         * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
10508         * config/h8300/elf.h, config/h8300/t-elf: Likewise.
10509
10510 Thu Aug 30 18:50:37 2001  J"orn Rennecke <amylaar@redhat.com>
10511
10512         * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
10513         (LIB2FUNCS_EXTRA): Define.
10514         config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
10515         config/h8300/fixunssfsi.c: New file.
10516
10517 2001-08-30  Kazu Hirata  <kazu@hxi.com>
10518
10519         * config/h8300/h8300.md (zero_extendqihi2): Changes to
10520         define_expand to accommodate target-specific attributes.
10521         (anonymous zero_extendqihi2 patterns): New.
10522
10523 Thu Aug 30 18:10:56 2001  J"orn Rennecke <amylaar@redhat.com>
10524
10525         * h8300.md (*andorhi3): New pattern.
10526
10527 Thu Aug 30 16:00:31 2001  J"orn Rennecke <amylaar@redhat.com>
10528
10529         * h8300.c (dosize): Fix test for "sub".
10530
10531 Thu Aug 30 10:21:43 2001  J"orn Rennecke <amylaar@redhat.com>
10532
10533         * c-typeck.c (pointer_diff): Try to eliminate common term before
10534         doing conversions.
10535
10536 2001-08-30  Nick Clifton  <nickc@cambridge.redhat.com>
10537
10538         * config/arm/arm.c (arm_compute_initial_elimination_offset):
10539         Account for the saves of the FP registers.
10540
10541         * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
10542         (TEXT_SECTION_ASM_OP): Define.
10543         (INIT_SECTION_ASM_OP): Define.
10544         (FINI_SECTION_ASM_OP): Define.
10545         (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
10546         (RDATA_SECTION_FUNCITON): Provide prototype.
10547
10548 2001-08-29  Geoffrey Keating  <geoffk@redhat.com>
10549
10550         * reload1.c (move2add_note_store): Correct typo checking for
10551         argument pushes.
10552
10553 2001-08-29  Andrew MacLeod  <amacleod@redhat.com>
10554
10555         * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
10556         note should not be considered outside the libcall block.
10557
10558 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10559
10560         * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
10561
10562 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10563
10564         * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
10565
10566 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10567
10568         * config/h8300/h8300-protos.h: Add a prototype for
10569         emit_logical_op.
10570         * config/h8300/h8300.c (emit_logical_op): New.
10571         * config/h8300/h8300.md (andhi3): Use emit_logical_op.
10572         (andsi3): Likewise.
10573         (iorhi3): Likewise.
10574         (iorsi3): Likewise.
10575         (xorhi3): Likewise.
10576         (xorsi3): Likewise.
10577
10578 2001-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10579
10580         * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
10581         comparison with rtx INTVAL.
10582         (pa_output_function_prologue): Don't mix signed and unsigned in `?'
10583         expression.
10584         * pa.h (FUNCTION_ARG_SIZE): Likewise.
10585
10586 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10587
10588         * config/h8300/lib1funcs.asm: Update the copyright.  Fix
10589         comment typos.
10590
10591 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10592
10593         * config/h8300/h8300.md (anonymous movhi pattern): Don't move
10594         (reg n) to (mem (pre_dec (reg n))
10595         (anonymous movsi pattern): Likewise.
10596
10597 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10598
10599         * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
10600
10601 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10602
10603         * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
10604         several special constants.
10605
10606 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10607
10608         * config/h8300/lib1funcs.asm: Fix comment typos.
10609
10610 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10611
10612         * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
10613         Fix format specifier warnings.
10614
10615         * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
10616         inet_makeaddr, semctl): Prototype.
10617
10618         * mips.c (compute_frame_size): Fix signed/unsigned warnings.
10619         (save_restore_insns): Use base_offset, not gp_offset.
10620
10621         * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
10622         (ASM_OUTPUT_BYTE): Fix format specifier warning.
10623
10624 2001-08-29  Richard Henderson  <rth@redhat.com>
10625
10626         * bb-reorder.c (function_tail_eff_head): New.
10627         (record_effective_endpoints): Set it.
10628         (fixup_reorder_chain): Use it.
10629
10630 2001-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10631
10632         * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
10633
10634 2001-08-28  Dale Johannesen  <dalej@apple.com>
10635
10636         * config/darwin.c (machopic_function_base_name): Add const
10637         qualifier to a string.
10638         (darwin_encode_section_info): Ditto.
10639
10640 2001-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10641
10642         * tree.c (default_valid_attribute_p): Don't use PARAMS on a
10643         function definition.
10644
10645 2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
10646
10647         * df.h (struct df): Add rts_order variable.
10648
10649         * df.c (df_visit_next_rts): New function.
10650         (df_visit_next): Renamed to df_visit_next_rc
10651         (df_analyse_1): Allocate/compute/free rts_order as well.
10652         (df_rd_global_compute): Use df_visit_next_rc instead of
10653         df_visit_next.
10654         (df_ru_global_compute): Use df_visit_next_rts instead of
10655         df_visit_next.
10656
10657         * flow.c (flow_reverse_top_sort_order_compute): New function.
10658
10659         * basic-block.h: Add prototype.
10660
10661 2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
10662
10663         * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
10664         blocks, the BB_REACHABLE is now set, rather than aux being
10665         non-NULL. Update the test to reflect this.
10666
10667 2001-08-28  Eric Christopher  <echristo@redhat.com>
10668
10669         * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10670         config/mips/crti.asm: Ditto.
10671
10672 2001-08-28  Eric Christopher <echristo@redhat.com>
10673             Richard Henderson <rth@redhat.com>
10674
10675         * c-pragma.h (add_weak): Move prototype from here...
10676         * output.h (add_weak): ... to here.
10677         * varasm.c (add_weak): Fix typo.
10678         * config/mips/crti.asm: New file.
10679         * config/mips/crtn.asm: Ditto.
10680         * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
10681         (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
10682         (INVOKE__main): Ditto.
10683         (INIT_SECTION_ASM_OP): New.
10684         (FINI_SECTION_ASM_OP): Ditto.
10685         (STARTFILE_SPEC): Add crti.
10686         (ENDFILE_SPEC): Add crtn.
10687         * config/mips/elf64.h: Same.
10688         * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
10689         Remove.
10690         * config/mips/vxworks.h: Ditto.
10691         * config/mips/t-elf: Support crti and crtn.
10692
10693 2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
10694
10695         * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
10696         INSN_LIST.
10697
10698 2001-08-28  Richard Henderson  <rth@redhat.com>
10699
10700         * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
10701         (one_cmplbi2 splitter): Remove redundant test.
10702
10703 2001-08-28  Dale Johannesen  <dalej@apple.com>
10704
10705         * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
10706
10707 2001-08-28  Danny Smith  <dannysmith@users.sourceforge.net>
10708
10709         * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
10710
10711 2001-08-28  Stan Shebs  <shebs@apple.com>
10712
10713         * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
10714         (UNALIGNED_SHORT_ASM_OP): Define.
10715         (UNALIGNED_INT_ASM_OP): Define.
10716
10717 2001-08-28  Will Cohen  <wcohen@redhat.com>
10718
10719         * config/rs6000/rs6000.md (store_multiple): Correct RTL
10720         generation for first set.
10721
10722 2001-08-27  Roman Zippel  <zippel@linux-m68k.org>
10723
10724         * flow.c (redirect_edge_succ_nodup): Return new edge.
10725         (try_simplify_condjump): Use new edge.
10726         * basic-block.h (redirect_edge_succ_nodup): Update prototype.
10727
10728         * cse.c (cse_basic_block): Skip note instructions.
10729
10730 2001-08-27  Richard Henderson  <rth@redhat.com>
10731
10732         * combine.c (combine_simplify_rtx): Don't reverse condition
10733         if there is no reverse for the condition.
10734         (simplify_comparison): Don't simplify subregs from INT to FP.
10735
10736         * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
10737         suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
10738         sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
10739         bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
10740         bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
10741         bunle_rev, bunlt_rev, bltgt_rev): New patterns.
10742
10743 2001-08-27  Roman Zippel  <zippel@linux-m68k.org>
10744
10745         * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
10746         bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
10747         (pushqi1): New.
10748         (adddi_dilshr32, adddi_dishl32): Only data register can be
10749         source for mem destination.
10750
10751         * expmed.c (store_bit_field): Ignore adjustment to bitpos
10752         and use bitnum to decide about register move.
10753
10754 2001-08-27  Richard Henderson  <rth@redhat.com>
10755
10756         * genattr.c (main): Emit state_t even when not doing scheduling.
10757
10758 2001-08-27  Roman Zippel <zippel@linux-m68k.org>
10759             Richard Henderson  <rth@redhat.com>
10760
10761         * gcse.c (reg_first_set, reg_last_set): Replace with ...
10762         (reg_avail_info, current_bb): ... these.
10763         (oprs_unchanged_p, record_last_reg_set_info): Use them.
10764         (compute_hash_table): Likewise.
10765
10766 2001-08-27  Roman Zippel <zippel@linux-m68k.org>
10767
10768         * flow.c (verify_flow_info): Use checksums to verify edges.
10769
10770 2001-08-27  Richard Henderson  <rth@redhat.com>
10771
10772         * genautomata.c (expand_automata): Always create a description.
10773
10774 2001-08-27  Geoffrey Keating  <geoffk@redhat.com>
10775
10776         * optabs.c (expand_binop): Correctly handle the carry in multiword
10777         add/subtract operations.
10778
10779 2001-08-27  Fred Fish  <fnf@be.com>
10780
10781         * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
10782         __SIZE_TYPE__.
10783
10784 2001-08-27  Geoffrey Keating  <geoffk@redhat.com>
10785
10786         * reload.c (find_reloads_toplev): Back out this change:
10787
10788         Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
10789
10790         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
10791         mem if the address is a mode_dependent_address_p.
10792
10793 2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
10794
10795         * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10796         PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10797         AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10798         RTL constructions.
10799
10800         * genattr.c (main): New variable num_insn_reservations.  Increase
10801         it if there is DEFINE_INSN_RESERVATION.  Output automaton based
10802         pipeline hazard recognizer interface.
10803
10804         * genattrtab.h: New file.
10805
10806         * genattrtab.c: Include genattrtab.h.
10807         (attr_printf, check_attr_test, make_internal_attr,
10808         make_numeric_value): Move protypes into genattrtab.h.  Define them
10809         as external.
10810         (num_dfa_decls): New global variable.
10811         (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10812         DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10813         DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10814         DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
10815
10816         * genautomata.c: New file.
10817
10818         * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10819
10820         * sched-int.h: (curr_state): Add the external definition for
10821         automaton pipeline interface.
10822         (haifa_insn_data): Add comments for members blockage and units.
10823
10824         * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10825         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10826         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10827         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10828         TARGET_SCHED_DFA_POST_CYCLE_INSN,
10829         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10830         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10831         macros.
10832         (TARGET_SCHED): Use the new macros.
10833
10834         * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10835         dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10836         first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10837         dfa_bubble): New members in gcc_target.sched.
10838
10839         * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10840         (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10841         (insn_queue): Redefine it as pointer to array.
10842         (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10843         INSN_QUEUE_SIZE.
10844         (max_insn_queue_index_macro_value): New variable.
10845         (curr_state, dfa_state_size, ready_try): New varaibles for
10846         automaton interface.
10847         (ready_element, ready_remove, max_issue): New function prototypes
10848         for automaton interface.
10849         (choose_ready): New function prototype.
10850         (insn_unit, blockage_range): Add comments.
10851         (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10852         FUNCTION_UNITS_SIZE == 0.
10853         (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10854         actual_hazard, potential_hazard): Add comments.
10855         (insn_cost): Use cost -1 as undefined value.  Remove
10856         LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
10857         pipeline interface.
10858         (ready_element, ready_remove): New functions for automaton
10859         interface.
10860         (schedule_insn): Add new code for automaton pipeline interface.
10861         (queue_to_ready): Add new code for automaton pipeline interface.
10862         Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10863         (debug_ready_list): Print newline when the queue is empty.
10864         (max_issue): New function for automaton pipeline interface.
10865         (choose_ready): New function.
10866         (schedule_block): Add new code for automaton pipeline interface.
10867         Print ready list before scheduling each insn.
10868         (sched_init): Add new code for automaton pipeline interface.
10869         Initiate insn cost by -1.
10870         (sched_finish): Free the current automaton state and finalize
10871         automaton pipeline interface.
10872
10873         * sched-rgn.c: Include target.h.
10874         (init_ready_list, new_ready, debug_dependencies): Add new code for
10875         automaton pipeline interface.
10876
10877         * sched-vis.c: Include target.h.
10878         (get_visual_tbl_length): Add code for automaton interface.
10879         (target_units, print_block_visualization):  Add comments.
10880
10881         * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10882         USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
10883         (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
10884         (getruntime.o, genautomata.o): New entries.
10885         (genattrtab.o): Add new dependency file genattrtab.h.
10886         (genattrtab): Add new dependencies.  Link it with `libm.a'.
10887         (getruntime.o, hashtab.o): New entries for canadian cross.
10888
10889         * doc/md.texi: Description of automaton based model.
10890
10891         * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
10892         Add comments.
10893         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10894         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10895         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10896         TARGET_SCHED_DFA_POST_CYCLE_INSN,
10897         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10898         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10899         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
10900         hook descriptions.
10901         (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
10902         MAX_DFA_ISSUE_RATE): New macro descriptions.
10903
10904         * doc/contrib.texi: Add dfa based scheduler contribution.
10905
10906         * doc/gcc.texi: Add more information about genattrtab.
10907
10908 2001-08-27  Diego Novillo  <dnovillo@redhat.com>
10909
10910         * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
10911         an RTL basic block.
10912
10913 2001-08-27  Richard Henderson  <rth@redhat.com>
10914
10915         * function.c (expand_function_end): Don't init arg_pointer_save_area.
10916         (get_arg_pointer_save_area): New.  Create an init it here.
10917         (fix_lexical_addr): Use it.
10918         * function.h: Declare it.
10919         * builtins.c (expand_builtin_setjmp_receiver): Use it.
10920         * stmt.c (expand_nl_goto_receiver): Use it.
10921
10922 2001-08-27  Richard Henderson  <rth@redhat.com>
10923
10924         * final.c (final_scan_insn): Don't enter APP_ON mode for
10925         empty asm strings.
10926
10927         * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
10928         alignment for assemble_integer for DW_EH_PE_aligned.
10929         * except.c (output_function_exception_table): Likewise.
10930
10931 2001-08-26  Andreas Jaeger  <aj@suse.de>
10932
10933         * c-tree.h: Add prototyp for c_sizeof_nowarn.
10934
10935 2001-08-25 Dan Nicolaescu  <dann@ics.uci.edu>
10936
10937         * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
10938
10939 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
10940
10941         * config/rs6000/rs6000.c (mask_operand): Rewrite without
10942         bit-shifting loop.
10943         (mask64_operand): Likewise.
10944         (rldic_operand): Delete.
10945         (includes_lshift64_p): Delete.
10946         (includes_rldic_lshift_p): New function.
10947         (includes_rldicr_lshift_p): New function.
10948         (print_operand): Don't call rldic_operand in case 'W'.
10949         * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
10950         (includes_lshift64_p): Remove.
10951         (includes_rldic_lshift_p): Declare.
10952         (includes_rldicr_lshift_p): Declare.
10953         * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
10954         * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
10955         Replace match_operand rldic_operand predicate with
10956         const_int_operand.  Replace includes_lshift64_p condition with
10957         includes_rldic_lshift_p.
10958         <ashldi3_internal 64 bit rldicr patterns>: New.
10959
10960 2001-08-27  Andreas Jaeger  <aj@suse.de>
10961
10962         * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
10963         * errors.c: Likewise.
10964         * final.c: Likewise.
10965         * dwarf2asm.c: Likewise.
10966         * doprint.c (checkit): Likewise.
10967         * diagnostic.c: Likewise.
10968         * collect2.c: Likewise.
10969         * calls.c: Likewise.
10970         * c-semantics.c (build_stmt): Likewise.
10971         * c-format.c (status_warning): Likewise.
10972         * c-errors.c (pedwarn_c99): Likewise.
10973         * builtins.c (validate_arglist): Likewise.
10974         * config/pj/pj.c (pj_printf): Likewise.
10975         * fix-header.c: Likewise.
10976         * gcc.c: Likewise.
10977         * gcov.c (fnotice): Likewise.
10978         * gensupport.c (message_with_line): Likewise.
10979         * mips-tfile.c: Likewise.
10980         * protoize.c (notice): Likewise.
10981         * read-rtl.c (fatal_with_file_and_line): Likewise.
10982         * rtl-error.c: Likewise.
10983         * tradcpp.c: Likewise.
10984         * tree.c: Likewise.
10985         * cp/tree.c (build_min_nt): Likewise.
10986         (build_min): Likewise.
10987         * cp/lex.c: Likewise.
10988         * cp/errfn.c: Likewise.
10989         * cp/rtti.c (create_pseudo_type_info): Likewise.
10990
10991 Sun Aug 26 20:25:44 2001  Denis Chertykov  <denisc@overta.ru>
10992
10993         * df.c (df_uses_record): Return after recording all uses
10994         in ASM_OPERANDS.
10995
10996 2001-08-26  Daniel Berlin  <dan@cgsoftware.com>
10997
10998         * df.c (df_insn_modify): Realloc the INSN table here, if
10999         necessary, here, too.
11000
11001 2001-08-26  Aldy Hernandez  <aldyh@redhat.com>
11002
11003         * config/mips/mips.c (mips_function_value): Handle complex return
11004         values.
11005
11006 2001-08-25  Hans-Peter Nilsson  <hp@bitrange.com>
11007
11008         * reload1.c (reload): Make all entries in reg_equiv_memory_loc
11009         unshared.
11010         * reload.c (make_memloc): Copy result if it is still
11011         reg_equiv_memory_loc[regno] on return.
11012         (subst_reloads) [ENABLE_CHECKING]: Check that none of
11013         reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
11014         reg_equiv_mem are modified by the substitutions.
11015
11016 Sat Aug 25 23:07:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
11017
11018         * predict.c (expensive_function_p): New.
11019         * rtl.h (expensive_function_p): Declare.
11020         * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
11021         (use_fast_prologue_epilogue): New static variable.
11022         (expand_prologue): Set it; emit short prologues if unset.
11023         (expand_epilogue): Likewise.
11024
11025 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
11026
11027         * config.gcc: Add stormy16-*-elf case.
11028         * config/stormy16/stormy-abi: New file.
11029         * config/stormy16/stormy16-lib2.c: New file.
11030         * config/stormy16/stormy16-protos.h: New file.
11031         * config/stormy16/stormy16.c: New file.
11032         * config/stormy16/stormy16.h: New file.
11033         * config/stormy16/stormy16.md: New file.
11034         * config/stormy16/t-stormy16: New file.
11035
11036 Sat Aug 25 15:46:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
11037
11038         * i386.h (no-accumulate-outgoing-args): Use proper mask.
11039
11040 2001-08-24  David Edelsohn  <edelsohn@gnu.org>
11041
11042         * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
11043         descriptor members are pointer size, not constant 4.
11044         * config/rs6000/rs6000.md (define_splits): Remove more unused
11045         constraints.
11046
11047 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11048
11049         * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
11050
11051 2001-08-24  Andreas Jaeger  <aj@suse.de>, rkl@connect.org.uk
11052
11053         * cp/rtti.c (VPARAMS): Fix parameter.
11054
11055 2001-08-24  Zack Weinberg  <zackw@panix.com>
11056
11057         * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
11058         to zero.
11059         (mode_for_extraction): No need for #ifdefs.  Add default-case abort
11060         to switch.
11061         (store_bit_field): Eliminate insv_bitsize variable.  Put HAVE_insv
11062         in if controlling use of insv.
11063         (extract_bit_field): Likewise, for extv and extzv.
11064
11065 Fri Aug 24 17:27:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
11066
11067         * i386.md (movcc peep2): Fix load of 0.
11068
11069 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11070
11071         * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
11072         *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
11073
11074 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
11075
11076         * c-pragma.h: Move weak_syms and weak_decls...
11077         * varasm.c: ...here.  Now static.
11078         (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
11079         depend on HANDLE_PRAGMA_WEAK.
11080
11081         * c-common.c (c_alignof, c_alignof_expr): Move here...
11082         * c-typeck.c: ...from here.
11083         * c-tree.h, c-common.h: Adjust.
11084
11085 2001-08-23  Bernd Schmidt  <bernds@redhat.com>
11086
11087         * config/ia64/ia64.c (rws_update): If !pred, set write_count
11088         instead of incrementing it.
11089
11090         * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
11091         asm ready, don't try to move them all into the same array element.
11092
11093 Thu Aug 23 17:21:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
11094
11095         * function.c (thread_prologue_and_epilogue_insns): Avoid
11096         fallthru flag on edge to exit.
11097
11098         * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
11099
11100         * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
11101         dead edges.
11102
11103 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
11104
11105         * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
11106         * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
11107         * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
11108         Remove prototype.
11109
11110 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
11111
11112         * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
11113         replace "GNU CC" with "GCC".
11114
11115 2001-08-23  Richard Henderson  <rth@redhat.com>
11116
11117         * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
11118         Reorganize.  Handle ADDL like GR, add GR_AND_BR.  Handle TFmode.
11119         (ia64_secondary_reload_class): Need GR between AR/BR and anything.
11120         Need GR between FR and not GR_AND_FR.
11121         * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
11122         * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
11123         AR regs before GR regs.
11124         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
11125         (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
11126         (REGISTER_MOVE_COST): Update.
11127         (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
11128
11129 2001-08-23  Richard Henderson  <rth@redhat.com>
11130
11131         * regclass.c (init_reg_sets_1): Don't assume cost 2 within
11132         a register class.
11133
11134 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
11135
11136         * reload1.c (emit_reload_insns): Don't look for notes
11137         on a NULL store_insn.
11138
11139 2001-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11140
11141         * sparc.c (uns_small_int): Don't reference a constant >32-bit.
11142         (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
11143         (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
11144         format specifier warnings.
11145         (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
11146
11147 2001-08-22  David Billinghurst <David.Billinghurst@riotinto.com>
11148
11149         * config/i386/i386-protos.h: Correct declaration of
11150         i386_pe_asm_named_section.
11151
11152 2001-08-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11153
11154         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
11155         variable i.
11156         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
11157
11158 2001-08-22  Neil Booth  <neil@daikokuya.demon.co.uk>
11159
11160         * cpperror.c (print_location): Don't show _Pragma.
11161         * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
11162         and file change callback generation here.
11163         (stack_include_file): Update use of cpp_push_buffer.
11164         * cpphash.h (_cpp_pop_file_buffer): Update prototype.
11165         (struct cpp_buffer): Remove type, pfile members.
11166         * cppinit.c (cpp_handle_option): Use free_chain.
11167         * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
11168         (skip_escaped_newlines, get_effective_char, lex_percent): Take
11169         a cpp_reader rather than a cpp_buffer.
11170         (skip_escaped_newlines, get_effective_char, skip_block_comment,
11171         skip_line_comment, parse_string, lex_percent, lex_dot,
11172         _cpp_lex_token): Update accordingly.
11173         * cpplib.c (_cpp_pop_buffer): Don't do file change callback
11174         generation here.
11175         (cpp_push_buffer): Update prototype.
11176         (run_directive): Update use of cpp_push_buffer.
11177         (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
11178         handle_assertion): Update use of run_directive.
11179         * cpplib.h (enum cpp_buffer_type): Remove.
11180         (cpp_push_buffer): Update prototype.
11181         * fix-header.c (read_scan_file): Update.
11182
11183 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
11184
11185         * gcc.c (struct prefix_list): Change prefix to const char *.
11186
11187 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
11188
11189         * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
11190
11191 2001-08-22  Jason Merrill  <jason_merrill@redhat.com>
11192
11193         * explow.c (set_mem_attributes): Avoid returning a bogus alias set
11194         from a new MEM.
11195
11196         * jump.c (squeeze_notes): Take parms by reference.  Handle END being
11197         a squeezable note.
11198         * rtl.h: Adjust.
11199         * ifcvt.c (dead_or_predicable): Adjust.
11200         * loop.c (find_and_verify_loops): Adjust.
11201         * stmt.c (expand_end_case): Adjust.
11202         * flow.c (merge_blocks_move_successor_nojumps): Adjust.  Modify the
11203         head and end insn pointers in the basic block, not just local copies.
11204         (merge_blocks_move_predecessor_nojumps): Likewise.
11205
11206 2001-08-22  Lars Brinkhoff  <lars@nocrew.org>
11207
11208         * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
11209         bitmap.h, builtin-types.def, builtins.c, builtins.def,
11210         c-aux-info.c, c-common.c, c-common.def, c-common.h,
11211         c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
11212         c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
11213         c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
11214         caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
11215         conditions.h, config.gcc, configure.frag, configure.in,
11216         conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
11217         cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
11218         dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
11219         doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
11220         dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
11221         emit-rtl.c, errors.c, errors.h, except.c, except.h,
11222         exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
11223         fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
11224         function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
11225         gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
11226         gencheck.c, gencodes.c, genconfig.c, genemit.c,
11227         genextract.c, genflags.c, gengenrtl.c, genmultilib,
11228         genopinit.c, genoutput.c, genpeep.c, genrecog.c,
11229         gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
11230         ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
11231         graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
11232         gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
11233         gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
11234         hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
11235         integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
11236         libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
11237         machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
11238         mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
11239         mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
11240         params.h, predict.c, predict.def, predict.h, prefix.c,
11241         prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
11242         read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
11243         regclass.c, regmove.c, regrename.c, regs.h, reload.c,
11244         reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
11245         rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
11246         sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
11247         sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
11248         ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
11249         stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
11250         tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
11251         tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
11252         unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
11253         unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
11254         xcoffout.h: replace "GNU CC" with "GCC".
11255
11256 2001-08-21  Richard Henderson  <rth@redhat.com>
11257
11258         * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
11259         (final_scan_insn): Consider jump tables data even if we have no
11260         independent text section if !JUMP_TABLES_IN_TEXT_SECTION.  Use
11261         ADDR_VEC_ALIGN.
11262         * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
11263         (ASM_OUTPUT_CASE_END): Remove.
11264         (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
11265         * config/ia64/ia64.md (tablejump): Decode pc-relative references.
11266         * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
11267
11268 2001-08-21  Richard Henderson  <rth@redhat.com>
11269
11270         * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
11271         at barrier insns.  Emit stop bits before barriers.
11272
11273         * flow.c (flow_find_cross_jump): Don't consider unconditional
11274         return insns for commoning.
11275
11276         * final.c (compute_alignments): Fix typo.
11277
11278         * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
11279         (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
11280         (store_bit_field): Use mode_for_extraction more places.
11281         (extract_bit_field): Likewise.
11282
11283 2001-08-21  Zack Weinberg  <zackw@panix.com>
11284
11285         * caller-save.c: Don't include insn-codes.h.
11286         (reg_save_code, reg_restore_code): Make arrays of int.
11287         All uses updated to match.
11288         (insert_save, insert_restore): No need to initialize "code"
11289         variable upon declaration.
11290         * Makefile.in: update dependencies; fix typo in clean rule.
11291
11292 2001-08-21  Richard Henderson  <rth@redhat.com>
11293
11294         * ifcvt.c (find_if_block): Allow join_bb as EXIT.
11295         (merge_if_block): Handle fallout from same.
11296
11297 2001-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11298
11299         * builtins.c (type_to_class): Fix typo in last change.
11300
11301 2001-08-21  Richard Henderson  <rth@redhat.com>
11302
11303         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
11304         ia64_asm_output_label.
11305
11306         * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
11307         copy of gp while the real gp register contains garbage.
11308
11309 2001-08-21  Zack Weinberg  <zackw@panix.com>
11310
11311         * expmed.c (mode_for_extraction): New function.
11312         (store_bit_field, extract_bit_field): Use it.
11313         * expr.h: Prototype it and provide an enum for its first argument.
11314
11315         * combine.c, function.c, recog.c: Don't include insn-codes.h.
11316         Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
11317         and digging through the insn_data tables.
11318         * Makefile.in: Update dependencies.
11319
11320 2001-08-22  Neil Booth  <neil@daikokuya.demon.co.uk>
11321
11322         * cppfiles.c (stack_include_file): line-map.c now handles include
11323         depth.
11324         (handle_missing_handler): Similarly.
11325         (_cpp_execute_include): Similarly.
11326         (_cpp_pop_file_buffer): Similarly.
11327         * cpphash.h (struct cpp_reader): Remove system_include_depth,
11328         buffer_stack_depth and include_depth.
11329         * cpplib.c (do_include_common): line-map.c now handles include depth.
11330         (cpp_push_buffer): Similarly.
11331         (_cpp_pop_buffer): Similarly.
11332         * cppmacro.c (builtin_macro): Update.
11333         * line-map.c (init_line_maps): Set depth.
11334         (add_line_map): Increment "used" earlier.  Update and use the
11335         include depth.
11336         (trace_include): Use the include depth.
11337         * line-map.h (struct line_maps): New member depth.
11338
11339 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
11340
11341         * cppfiles.c (stack_include_file): Don't handle -H here.
11342         * cppinit.c (cpp_start_read): Set include tracing after
11343         cpp_post_options and after stacking the main file.
11344         * line-map.c (trace_include): New.
11345         (init_line_maps, add_line_map): Update.
11346         * line-map.h (struct line_maps): New member trace_includes.
11347
11348 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
11349
11350         * cppfiles.c (stack_include_file): Harmonize system headerness tests.
11351         * cppfiles.c (stack_include_file): Only stack a file if there
11352         is something to do.  Return a boolean indicating whether a
11353         buffer was stacked or not.
11354         (_cpp_execute_include): Similarly.
11355         (_cpp_read_file): Similarly.
11356         * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
11357
11358 2001-08-21  Sam Steingold  <sds@gnu.org>
11359
11360         * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
11361         (RECACHE): keep obufp_before_macroname up to date
11362
11363 2001-08-21  Zack Weinberg  <zackw@panix.com>
11364
11365         * stmt.c: Don't include insn-codes.h.
11366         (expand_end_case): Machine specific logic moved to expr.c.
11367         No need to worry about __builtin_classify_type.
11368         (check_for_full_enumeration_handling, emit_case_nodes):
11369         Kill #if 0 blocks.
11370
11371         * builtins.o (expand_builtin_classify_type): Split up so code
11372         can be shared with fold_builtin_classify_type.
11373         (type_to_class, fold_builtin_classify_type): New functions.
11374         (fold_builtins): Handle __builtin_classify_type.
11375
11376         * expr.c (do_tablejump): Now static.
11377         (case_values_threshold, try_casesi, try_tablejump): New;
11378         code mostly from stmt.c (expand_end_case).
11379         (expr.h): Update prototypes.
11380
11381         * Makefile.in (stmt.o): Update dependencies.
11382
11383 2001-08-21  Will Cohen  <wcohen@redhat.com>
11384
11385         * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
11386         declaration of variable i.
11387         * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
11388         declaration of variable i.
11389
11390 2001-08-21  Richard Henderson  <rth@redhat.com>
11391
11392         * crtstuff.c: Fix thinko last change.  Move list tails to start
11393         of CRT_END section.  Tidy ifdefs.
11394         (__EH_FRAME_BEGIN__): Always static for ELF.
11395         (__do_global_ctors_1): Rename from __frame_dummy.
11396         * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
11397         name change; don't hide __EH_FRAME_BEGIN__.
11398
11399 2001-08-21  Richard Henderson  <rth@redhat.com>
11400
11401         * gdbinit.in: Move break on exit after break on fancy_abort.
11402
11403         * config/ia64/ia64.c (ia64_return_in_memory): True for variable
11404         sized types.
11405
11406 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
11407
11408         * cpphash.h (_cpp_push_next_buffer): New.
11409         * cppinit.c (do_includes): Remove.
11410         (push_include, free_chain, _cpp_push_next_buffer): New.
11411         (cpp_start_read): Use them to rework command line option handling.
11412         (cpp_handle_option): Combine handling of -include and -imacros.
11413         * cpplex.c (_cpp_lex_token): Push a new -include buffer if
11414         appropriate.  Always insert missing \n at EOF.
11415         * cpplib.c (start_directive): Get the directive position right.
11416         * cppmain.c (cb_file_change): Always print the first line, unless
11417         preprocessed.
11418
11419 2001-08-20  Andreas Jaeger  <aj@suse.de>
11420
11421         * profile.c (compute_branch_probabilities): Remove extra new-line
11422         in error message.
11423         * flow.c (verify_flow_info): Likewise.
11424
11425 2001-08-20  Diego Novillo  <dnovillo@redhat.com>
11426
11427         * basic-block.h (basic_block): Add new field 'flags'.
11428         (BB_REACHABLE): Define.
11429         (expunge_block): Declare.
11430         * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
11431         (EXIT_BLOCK_PTR): Ditto.
11432         (expunge_block): Remove static declaration.
11433         (cleanup_cfg): Clear bb->aux on every basic block.
11434         (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
11435         computing reachability.
11436         (delete_unreachable_blocks): Delete block b if b->flags has
11437         BB_REACHABLE unset.
11438
11439 2001-08-20  Diego Novillo  <dnovillo@redhat.com>
11440
11441         * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
11442
11443 2001-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11444
11445         * sparc.c (sparc_variable_issue): Fix typo in last change.
11446
11447 2001-08-20  Richard Henderson  <rth@redhat.com>
11448
11449         * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
11450
11451 2001-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11452
11453         * pa.h (RETURN_IN_MEMORY): Improve comment.
11454
11455 2001-08-20  Janis Johnson  <janis187@us.ibm.com>
11456
11457         * doc/invoke.texi (Profiling options): Clarify the interactions
11458         between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
11459
11460 2001-08-20  Jeffrey Oldham  <oldham@codesourcery.com>
11461
11462         * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
11463         command.
11464
11465 2001-08-20  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
11466
11467         * gcc.c (make_relative_prefix): Allocate a sufficiently large
11468         buffer.
11469
11470 2001-08-20  Richard Henderson  <rth@redhat.com>
11471
11472         * final.c (end_final): Fix typo last change.
11473
11474 2001-08-20  Neil Booth  <neil@daikokuya.demon.co.uk>
11475
11476         * cppinit.c (init_standard_includes): The returned buffer
11477         is already malloc-ed.
11478         * gcc.c (add_prefix): Similarly.
11479         * prefix.c (translate_name): Update to support clear buffer
11480         ownership rules.
11481         (update_path): Similarly.  Be sure to free any newly allocated
11482         key.  UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
11483         (tr): New function.
11484         * prefix.h (update_path): Update prototype and document.
11485         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
11486         up and update to new buffer ownership rules.
11487         * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
11488
11489 Mon Aug 20 01:44:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
11490
11491         * final.c (compute_alignments): New function.
11492         (init_insn_lengths): Do not care label_align.
11493         (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
11494         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
11495         (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
11496         (shorted_branches): Realloc label_align array; do
11497         not call init_insn_lengths; Do not care about loop alignments.
11498         * output.h (compute_alignments): Declare.
11499         * toplev.c (rest_of_compilation): Call compute_alignments.
11500         * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
11501
11502         * predict.c (block_info_def): Add npredecesors, remove nvisited;
11503         change visited to tovisit.
11504         (propagate_freq): Use faster traversing algorithm.
11505         (estimate_loops_at_level, estimate_bb_frequencies): Change visited
11506         to tovisit; reverse meaning.
11507
11508         * predict.c (struct block_info_def): Remove nvisited.
11509         (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11510         (estimate_bb_frequencies): Call mark_dfs_back_edges.
11511
11512 2001-08-19  Geoffrey Keating  <geoffk@redhat.com>
11513
11514         * doc/invoke.texi (MIPS Options): Document -mfused-madd.
11515         * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
11516         (TARGET_FUSED_MADD): New.
11517         (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
11518         * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
11519         the multiply-add instructions.
11520
11521 2001-08-19  Richard Henderson  <rth@redhat.com>
11522
11523         * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
11524         is aligned to pointer size.
11525
11526 2001-08-19  Richard Henderson  <rth@redhat.com>
11527
11528         * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
11529         display markers during final schedule.
11530
11531 2001-08-19  Richard Henderson  <rth@redhat.com>
11532
11533         * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
11534
11535 2001-08-19  Richard Henderson  <rth@redhat.com>
11536
11537         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
11538         in the same string.
11539         (ASM_NAME_TO_STRING): Remove.
11540         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
11541         in the same string.  Remove support for expressions.
11542
11543 2001-08-19  Richard Henderson  <rth@redhat.com>
11544
11545         * config/i386/i386.md (tablejump): Make an expander; handle
11546         pic relative addressing here.
11547         (tablejump_1): Rename from tablejump_pic.
11548         (casesi): Remove.
11549
11550 2001-08-19  Richard Henderson  <rth@redhat.com>
11551
11552         * regclass.c (fix_register): Fix typo.
11553
11554 2001-08-18  Richard Henderson  <rth@redhat.com>
11555
11556         * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
11557         (struct _Unwind_Context): Expand br_loc to hold it.
11558         (uw_frame_state_for): Handle leaf functions better.
11559         (uw_update_reg_address): Update for br_loc change.
11560
11561 2001-08-18  Richard Henderson  <rth@redhat.com>
11562
11563         * crtstuff.c: Move list heads before code that uses them.
11564         (__JCR_LIST__): Remove initial null.
11565         (frame_dummy, __frame_dummy): Do java registration here ...
11566         (__do_global_ctors_aux): ... not here.
11567
11568         * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
11569         (__do_global_dtors_aux): Update to match.
11570         (__JCR_LIST__, __do_jv_register_classes): New.
11571         (.init): Call it.
11572         * config/ia64/crtend.asm (__JCR_END__): New.
11573         (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
11574         instead of an indirect LTOFF22 reloc.
11575
11576 2001-08-18  Richard Henderson  <rth@redhat.com>
11577
11578         * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
11579         * regclass.c (init_reg_sets_1): Fix typo.
11580         * config/ia64/ia64.c (ar_pfs_reg_operand): New.
11581         (ia64_expand_call): Pass ar.pfs to sibcall expanders.
11582         (ia64_compute_frame_size): Make ar.unat live when in use.
11583         (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
11584         for ar.pfs; remove ar.unat handling.
11585         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
11586         call-saved.
11587         (PREDICATE_CODES): Add ar_pfs_reg_operand.
11588         * config/ia64/ia64-protos.h: Update decls.
11589         * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
11590         (sibcall_pic): Likewise.
11591
11592 2001-08-18  Richard Henderson  <rth@redhat.com>
11593
11594         * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
11595         pred_rel_mutex when searching for insn_group_barrier.
11596         * config/ia64/ia64.md (cycle_display): Combine the expander
11597         and insn patterns.
11598
11599         * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
11600         bit before asm as needed.
11601
11602 2001-08-18  Richard Henderson  <rth@redhat.com>
11603
11604         * timevar.def (TV_MACH_DEP): New.
11605         * toplev.c (rest_of_compilation): Use it.
11606         * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
11607
11608 2001-08-18  Zack Weinberg  <zackw@panix.com>
11609
11610         * unwind-dw2.c (execute_stack_op): Add default aborts to
11611         the inner switches to prevent warnings.
11612
11613 2001-08-18  Richard Henderson  <rth@redhat.com>
11614
11615         * timevar.h (struct timevar_time_def): Change element type to float.
11616         (ticks_to_msec, clocks_to_msec): Likewise.
11617         (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
11618         (get_time): Likewise.
11619         (timevar_print): Adjust zero check and printing to match.
11620
11621 2001-08-18  Zack Weinberg  <zackw@panix.com>
11622
11623         * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
11624         doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
11625         Eliminate overfull or underfull hboxes.
11626
11627 2001-08-18  Zack Weinberg  <zackw@panix.com>
11628
11629         * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
11630
11631 2001-08-18  Zack Weinberg  <zackw@panix.com>
11632
11633         * haifa-sched.c: Convert to target hooks.  Macros replaced
11634         are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
11635         MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
11636         MD_SCHED_FINISH, and HAVE_cycle_display.
11637         * target-def.h (TARGET_SCHED_ADJUST_COST,
11638         TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
11639         TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
11640         TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
11641         TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
11642         New hook #defines to be overridden.
11643         (TARGET_SCHED): Bring them all together.
11644         (TARGET_INITIALIZER): Update.
11645         * target.h: Don't forward declare struct rtx_def.  Use 'rtx'
11646         instead of 'struct rtx_def *' throughout.
11647         (struct sched): New set of hooks for the scheduler.
11648         * Makefile.in (haifa-sched.o): Depend on target.h.
11649         * doc/tm.texi: Document the new scheduler hooks, together in
11650         their own section, instead of scattered around.
11651         Fix a bunch of underfull/overfull hboxes.
11652
11653         * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
11654         ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
11655         sparc.h: Don't define any of the old scheduler macros.
11656
11657         * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
11658         ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
11659         sparc.c: Create hook functions from code extracted from
11660         corresponding target header, or make existing hooks static, as
11661         appropriate.  Set the appropriate entries in targetm.
11662
11663         * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
11664         i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
11665         rs6000-protos.h, s390-protos.h, sparc-protos.h:
11666         Remove prototypes for functions which are now static.
11667
11668         * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
11669         related gunk; the Haifa scheduler is now the only choice.
11670
11671 2001-08-18  Zack Weinberg  <zackw@panix.com>
11672
11673         * optabs.h (OTI_flodiv, flodiv_optab): Kill.
11674         * genopinit.c: Put floating point divide insns in sdiv_optab.
11675         * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
11676         * config/gofast.h, config/c4x/c4x.h,
11677         config/ia64/hpux_longdouble.h, config/mips/mips.h,
11678         config/pa/long_double.h, config/rs6000/sysv4.h,
11679         config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
11680         * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
11681         (init_optabs): Use init_optabv for overflow-trapping optabs.
11682         Don't init flodiv_optab.  Give mov_optab, movstrict_optab, and
11683         cmp_optab RTX codes so have_insn_for can find them.
11684
11685         * optabs.c (expand_simple_binop, expand_simple_unop,
11686         have_insn_for, gen_sub3_insn): New interfaces.
11687         * expr.h: Prototype new functions.
11688         (enum optab_methods): Move here from optabs.h.
11689
11690         * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
11691         loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
11692         Use new functions instead of working directly with optabs.
11693         * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
11694         unroll.c: Don't include optabs.h.
11695         * caller-save.c, combine.c, function.c, stmt.c: Just include
11696         insn-codes.h, not optabs.h.
11697         * Makefile.in: Update dependencies.
11698
11699         * combine.c (make_compound_operation, simplify_comparison):
11700         Fix typos testing for this or that instruction.
11701
11702 2001-08-18  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
11703
11704         * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
11705         generating libgcc.a.
11706
11707 2001-08-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11708
11709         * except.c (TYPE_HASH): Delete.
11710
11711         * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
11712         HOST_WIDE_INT.
11713
11714         * tree.c (TYPE_HASH): Delete.
11715
11716         * tree.h (TYPE_HASH): Define.
11717
11718 2001-08-18  Graham Stott  <grahams@redhat.com>
11719
11720         * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
11721         define_split.
11722         (adddi3_internal_2+2): Likewise.
11723         (eh_set_lr_di+1): Likewise.
11724
11725 2001-08-17  Richard Henderson  <rth@redhat.com>
11726
11727         * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11728         UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
11729         * dwarf2asm.c: ... here.
11730         * dwarfout.c: Remove them.
11731
11732         * varasm.c (assemble_integer): Add align parameter.
11733         (assemble_real, output_constant, output_constructor): Likewise.
11734         * output.h: Update decls.
11735         * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
11736         config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
11737         config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
11738         config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
11739         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
11740         Update all callers.
11741
11742         * final.c (end_final): Abort profile block generation if we
11743         haven't layed it out properly.
11744         * output.h (assemble_eh_integer): Remove stale decl.
11745         * varasm.c (assemble_zeros): Tidy; use assemble_integer.
11746         (min_align): New.
11747         (assemble_integer): Handle unaligned data.
11748         (assemble_real): Abort on unaligned data.
11749         (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
11750         anything useful.
11751         (default_dtor_section_asm_out_destructor): Use assemble_align.
11752         (default_named_section_asm_out_constructor): Likewise.
11753         (default_ctor_section_asm_out_constructor): Likewise.
11754         * config/darwin.c (machopic_asm_out_constructor): Likewise.
11755         (machopic_asm_out_destructor): Likewise.
11756         * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
11757         (nextstep_asm_out_destructor): Likewise.
11758         * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
11759         (vms_asm_out_destructor): Likewise.
11760
11761 2001-08-17  Richard Henderson  <rth@redhat.com>
11762
11763         * config/mips/iris6.h (TARGET_IRIX6): New.
11764         (current_section_name, current_section_flags): New.
11765         (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
11766         (MAX_OFILE_ALIGNMENT): New.
11767         (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
11768         * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
11769         (copy_file_data): Split out from
11770         (mips_asm_file_end): ... here.
11771         (mips_asm_file_start): Remove extra .section directive.  Use
11772         tmpfile instead of mips_make_temp_file.
11773         (mips_unique_section): Use const char * as needed for warnings.
11774         (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
11775         re-add align parameter.
11776         (iris6_asm_named_section): New.
11777         (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
11778         (iris6_asm_output_align, iris6_section_align_1): New.
11779         (iris6_asm_file_start, iris6_asm_file_end): New.
11780         * config/mips/mips-protos.h: Update decls.
11781
11782 2001-08-17  Janis Johnson  <janis187@us.ibm.com>
11783
11784         * doc/install.texi (Install GCC): Add links to build status pages.
11785         (Specific): Ditto.
11786         (Final install): Ditto; request updates for specific info
11787
11788 2001-08-17  Neil Booth  <neil@daikokuya.demon.co.uk>
11789
11790         * cpperror.c (print_location):  Don't take a file name; use the
11791         line map instead.
11792         (_cpp_begin_message): Similarly.
11793         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
11794         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
11795         (cpp_pedwarn_with_file_and_line): Remove.
11796         * cppfiles.c (stack_include_file): Update; set filename to stdin
11797         here when appropriate.
11798         * cpphash.h (struct cpp_buffer): Remove nominal_fname.
11799         (_cpp_begin_message): Don't take a file name.
11800         * cppinit.c: Add comment.
11801         * cpplex.c: Fix end-of-directive indicator.
11802         * cpplib.c: Don't include intl.h.
11803         (run_directive, do_diagnostic): Update.
11804         (do_line): Update to not use nominal_fname.
11805         (cpp_push_buffer): Don't take a filename.
11806         * cpplib.h (struct ht): Remove.
11807         (cpp_push_buffer): Don't take a filename.
11808         (cpp_pedwarn_with_file_and_line): Remove.
11809         * cppmacro.c (struct cpp_macro): Remove file.
11810         (builtin_macro): Update.
11811         (_cpp_create_definition): Update.
11812         * cppmain.c: Correct comment.
11813         * fix-header.c (read_scan_file): Update.
11814
11815 2001-08-17  Kazu Hirata  <kazu@hxi.com>
11816
11817         * sbitmap.c: Fix comment formatting.
11818         * sched-deps.c: Likewise.
11819         * sibcall.c: Likewise.
11820         * simplify-rtx.c: Likewise.
11821         * ssa.c: Likewise.
11822         * ssa-ccp.c: Likewise.
11823         * stor-layout.c: Likewise.
11824         * timevar.c: Likewise.
11825         * toplev.c: Likewise.
11826         * unwind-dw2.c: Likewise.
11827         * unwind-dw2-fde.c: Likewise.
11828         * varasm.c: Likewise.
11829
11830 2001-08-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11831
11832         * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
11833         or larger than an integer in memory.
11834
11835 2001-08-17  Zack Weinberg  <zackw@panix.com>
11836
11837         * system.h: Forward-declare struct rtx_def, struct rtvec_def,
11838         and union tree_node.  Typedef rtx, rtvec, and tree.  Fix comment.
11839         * rtl.h: Don't forward-declare union tree_node here.  Don't
11840         typedef rtx or rtvec here.  Change all uses of struct rtx_def *,
11841         struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11842         and tree respectively.
11843         * tree.h: Don't forward-declare struct rtx_def here.  Don't
11844         typedef tree here.  Change all uses of struct rtx_def *,
11845         struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11846         and tree respectively.
11847
11848 2001-08-17  Richard Henderson  <rth@redhat.com>
11849
11850         * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
11851         config/mips/openbsd.h: Fix typos last change.
11852
11853 2001-08-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11854
11855         * doc/invoke.texi (Optimize Options): The default for
11856         -finline-limit is 600.
11857
11858 2001-08-17  Richard Henderson  <rth@redhat.com>
11859
11860         * varasm.c (text_section): Allow TEXT_SECTION to override the
11861         printing of TEXT_SECTION_ASM_OP.
11862         * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
11863         (DATA_SECTION, BSS_SECTION): Remove.
11864         * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
11865         RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
11866         Rename from s/_NAME//.
11867         * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
11868         (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
11869         (TEXT_SECTION): ... here.  New.
11870         * config/mips/elf.h (TEXT_SECTION): New; no file switching.
11871         * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
11872         * config/mips/openbsd.h: Likewise.
11873         * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
11874         (mips_asm_file_end): Likewise test.
11875         (mips_output_function_epilogue): Likewise.  Switch back to data
11876         section after emitting the function.
11877
11878         * doc/tm.texi (Sections): Document TEXT_SECTION.
11879
11880 2001-08-17  Richard Henderson  <rth@redhat.com>
11881
11882         * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
11883         (dwarf2out_finish): Do it here.  Emit .debug_loc before .debug_info.
11884
11885 2001-08-17  Richard Henderson  <rth@redhat.com>
11886
11887         * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
11888         * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
11889         __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
11890         Add aligned attribute.
11891
11892 2001-08-17  Andrew Haley  <aph@cambridge.redhat.com>
11893
11894         * config/sh/sh.md: Add modes to unspecs in first insn to match
11895         those in the second.
11896
11897         * Makefile.in: Fix collect2 copy for Cygwin.
11898
11899 Fri Aug 17 15:48:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
11900
11901         Install the proper patch.
11902         * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11903         (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11904         (expand_function_start): Likewise.
11905         * stmt.c (expand_decl): Likewise.
11906         * varasm.c (make_decl_rtx): Likewise.
11907
11908 Fri Aug 17 15:41:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
11909
11910         * final.c: Undo my previous accidental checkin.
11911         * output.h: Likewise.
11912         * tm.texi: Likewise.
11913
11914 2001-08-16  Richard Henderson  <rth@redhat.com>
11915
11916         * varasm.c (named_section_flags): Remove align parameter.
11917         * varasm.c, dwarf2out.c: Update all callers.
11918         * output.h: Update prototypes.
11919
11920         * target.h (target.asm_out.named_section): Remove align parameter.
11921         * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
11922         config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
11923         config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
11924         config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
11925         config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
11926
11927         * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
11928         (get_named_section_flags, set_named_section_flags): New.
11929         (named_section_flags): Use them.
11930         (named_section): Do decl vs section flags check here...
11931         (default_section_type_flags): ... not here.
11932         (init_varasm_once): Create in_named_htab.
11933         (resolve_unique_section): Mark reloc unused.
11934
11935 2001-08-16  Richard Henderson  <rth@redhat.com>
11936
11937         * varasm.c (force_const_mem): Keep pool alignment in bits.
11938         (output_constant_pool): Use assemble_align.
11939
11940 2001-08-16  Zack Weinberg  <zackw@panix.com>
11941
11942         * doc/tm.texi: Remove extra @table command.
11943
11944 2001-08-16  Zack Weinberg  <zackw@panix.com>
11945
11946         * final.c (shorten_branches): Clear the end of the label_align
11947         array only if we made it larger.  Break up messy expressions
11948         for clarity.
11949
11950         * diagnostic.c (internal_error): Check for error recursion
11951         before doing ICE suppression.
11952
11953         * timevar.c: Timing variables now count in milliseconds.
11954         (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
11955         (get_time): Not here.
11956         (timevar_print): Don't print any timer whose user, cpu, and
11957         wall times are all zero as displayed.
11958         * timevar.h: Update comment aboout units.  Make timevar
11959         counters unsigned.
11960
11961 Thu Aug 16 17:39:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
11962
11963         * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11964         (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11965         (expand_function_start): Likewise.
11966         * stmt.c (expand_decl): Likewise.
11967         * varasm.c (make_decl_rtx): Likewise.
11968
11969 2001-08-16  Jason Merrill  <jason_merrill@redhat.com>
11970
11971         * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
11972         (finalize_record_size): Don't set TYPE_USER_ALIGN.
11973
11974 2001-08-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
11975
11976         * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
11977         variables.
11978
11979 2001-08-16  Andreas Jaeger  <aj@suse.de>
11980
11981         * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
11982         prototype.
11983
11984 Wed Aug 15 15:22:52 EDT 2001  John Wehle  (john@feith.com)
11985
11986         * rtl.h (only_sets_cc0_p): New prototype.
11987         * jump.c (sets_cc0_p): Handle INSN.
11988         (only_sets_cc0_p): New function.
11989         * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
11990         (tidy_fallthru_edge): Likewise.
11991         * integrate.c (copy_insn_list): Likewise.
11992         * unroll.c (unroll_loop): Likewise.
11993         (copy_loop_body): Likewise.
11994
11995 2001-08-15  Jason Eckhardt  <jle@redhat.com>
11996
11997         * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
11998
11999 Wed Aug 15 14:24:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
12000
12001         * predict.c (struct block_info_def): Remove nvisited.
12002         (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
12003         (estimate_bb_frequencies): Call mark_dfs_back_edges.
12004
12005         * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
12006         (ix86_adjust_cost): Teach scheduler that latency to load operand can
12007         be masked.
12008
12009 Wed Aug 15 12:41:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
12010
12011         * predict.def: Update hitrates.
12012
12013 2001-08-15  Richard Henderson  <rth@redhat.com>
12014
12015         * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
12016
12017 Tue Aug 14 17:30:59 2001  Jeffrey A Law  (law@cygnus.com)
12018
12019         * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
12020         note from its associated jump.
12021
12022 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
12023
12024         * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
12025         also on 64-bit s390x targets.
12026
12027 2001-08-14  Nick Clifton  <nickc@cambridge.redhat.com>
12028
12029         * config/arm/arm.c (arm_compute_initial_elimination_offset): New
12030         function.
12031         (arm_expand_prologue): Handled nested functions which take a
12032         variable argument list.
12033         * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
12034         macro with an invocation of
12035         arm_compute_initial_elimination_offset.
12036         * config/arm/arm-protos.h: Prototype
12037         arm_compute_initial_elimination_offset.
12038
12039 2001-08-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12040
12041         * doc/install.texi (Specific, avr): Fix markup.
12042         (Specific, c4x): Ditto.
12043
12044 2001-08-14  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
12045
12046         * predict.c (dump_prediction): Change `bool' parameter to `int'.
12047
12048 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
12049
12050         * Makefile.in (OBJS): Add rtl-error.o
12051         (rtl-error.o): New rule.
12052         (diagnostic.o): Adjust dependency.
12053         diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
12054         error_for_asm, _fatal_insn, _fatal_insn_not_found,
12055         warning_for_asm): Move to...
12056         rtl-error.c: ...here.  New file.
12057
12058 2001-08-14  Richard Henderson  <rth@redhat.com>
12059
12060         * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
12061         if USING_SJLJ_EXCEPTIONS.
12062
12063 2001-08-14  Steve Ellcey <sje@cup.hp.com>
12064
12065         * tlink.c (scan_linker_output): Check string for unsatisfied in
12066         addition to undefined and unresolved.
12067
12068 2001-08-14  Graham Stott  <grahams@redhat.com>
12069
12070         * libgcc2.c (*): Replace EH_FRAME_SECTION with
12071         EH_FRAME_SECTION_NAME.
12072
12073 Tue Aug 14 14:57:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
12074
12075         * genattrtab.c (simplify_test_exp_in_temp): New function.
12076         (simplify_test_exp): Avoid explicit use of temporary obstack.
12077         (simplify_cond, insert_right_side, evaluate_eq_attr,
12078         simplify_and_tree, simplify_or_tree, eliminate_known_true):
12079         Use simplify_test_exp_in_temp.
12080         (optimize_attrs): Iterate until expression stabilizes.
12081
12082 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>:
12083
12084         * glimits.h: Remove the __LONG_MAX__ special case for s390x.
12085         * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
12086
12087 2001-08-13  Richard Henderson  <rth@redhat.com>
12088
12089         * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
12090         (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
12091         * config/arm/conix-elf.h: Likewise.
12092
12093 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
12094
12095         * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
12096         in gcc.c.
12097         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
12098
12099         * gcse.c (hash_scan_set): Expressions that are set as part of
12100         jump instructions are not available.
12101
12102 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
12103
12104         * config/s390/s390.c (print_operand, s390_function_prologue,
12105         s390_va_start): Fixed HOST_WIDE_INT type mismatch.
12106
12107 2001-08-13  Richard Henderson  <rth@redhat.com>
12108
12109         * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
12110         * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
12111         * doc/tm.texi (Exception Region Output): Document it.
12112
12113 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
12114
12115         * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
12116         DWARF2 instead of stabs by default.
12117
12118 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
12119
12120         * config/rs6000/rs6000.c: Include optabs.h.
12121
12122 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
12123
12124         * config/rs6000/eabi.asm: Define 64-bit versions of FPR
12125         save/restore routines.
12126         * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
12127
12128 2001-08-13  Andreas Jaeger  <aj@suse.de>
12129
12130         * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
12131         the english is correct.
12132
12133 2001-08-13  Zack Weinberg  <zackw@panix.com>
12134
12135         * expr.h: Split out optab- and libfunc-related code to...
12136         * optabs.h, libfuncs.h: ... these new headers.
12137
12138         * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
12139         (OPTABS_H): New.
12140         (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
12141         dependencies.
12142         * mkconfig.sh: Don't include insn-codes.h from config.h.
12143
12144         * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
12145         enum insn_code is available.  Move reload_in_optab and
12146         reload_out_optab array declarations to optabs.h.
12147         * regmove.c (gen_add3_insn): Move to optabs.c, export from
12148         there, prototype in expr.h.
12149         * gencodes.c: Cleanup: zap global variables, don't use
12150         printf where puts will do, don't bother defining MAX_INSN_CODE
12151         which nothing uses, let CODE_FOR_nothing get its value implicitly.
12152
12153         * genemit.c, genopinit.c: Include optabs.h in generated file.
12154         * genoutput.c: Include insn-codes.h in generated file.
12155         * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
12156         expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
12157         reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
12158         config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
12159         config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
12160         config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
12161         Include optabs.h.
12162         * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
12163         optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
12164         config/m88k/m88k.c, config/sparc/sparc.c:
12165         Include libfuncs.h.
12166         * reload.c: Include expr.h and optabs.h before reload.h.
12167         * config/alpha/alpha.c: Include tree.h before reload.h.
12168         * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
12169         and reload.h in that order.
12170         * config/sparc/sparc.c: Include debug.h.
12171         * recog.c: Include insn-codes.h.
12172
12173 2001-08-13  Andreas Jaeger  <aj@suse.de>
12174
12175         * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
12176         s390*linux.
12177
12178 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
12179
12180         * dwarf2out.c (output_cfa_loc): Fix typo in comment.
12181         * gcc.c (init_spec): Fix typo in comment.
12182         * varasm.c (data_section): Fix typo in comment.
12183
12184 Mon Aug 13 02:27:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
12185
12186         * predict.c (dump_prediction): New argument "USED".
12187         (combine_predictions_for_insn): Determine the used heuristics,
12188         output the case no heuristic applied.
12189         * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
12190
12191 2001-08-13  Andreas Jaeger  <aj@suse.de>
12192
12193         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
12194         register %rip.
12195
12196 2001-08-13  Kazu Hirata  <kazu@hxi.com>
12197
12198         * jump.c: Fix formatting.
12199
12200 2001-08-13  Kazu Hirata  <kazu@hxi.com>
12201
12202         * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
12203         length.
12204
12205 2001-08-12  Geoffrey Keating  <geoffk@redhat.com>
12206
12207         * loop.c (check_dbra_loop): Use condjump_label to compute
12208         jump_label.
12209
12210         * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
12211         to better document the files they're in.
12212
12213 2001-08-12  Zack Weinberg  <zackw@panix.com>
12214
12215         * recog.h (struct insn_operand_data): Shrink 'mode' field
12216         to 16 bits.
12217
12218 2001-08-12  Kazu Hirata  <kazu@hxi.com>
12219
12220         * gcc.c: Fix comment formatting.
12221         * gccspec.c: Likewise.
12222         * gcov.c: Likewise.
12223         * gcse.c: Likewise.
12224         * genemit.c: Likewise.
12225         * gengenrtl.c: Likewise.
12226         * genrecog.c: Likewise.
12227         * gensupport.c: Likewise.
12228         * ggc-page.c: Likewise.
12229         * global.c: Likewise.
12230         * graph.c: Likewise.
12231         * ifcvt.c: Likewise.
12232         * integrate.c: Likewise.
12233         * lcm.c: Likewise.
12234         * libgcc2.c: Likewise.
12235         * loop.c: Likewise.
12236         * mbchar.c: Likewise.
12237         * optabs.c: Likewise.
12238         * predict.c: Likewise.
12239         * prefix.c: Likewise.
12240         * profile.c: Likewise.
12241         * protoize.c: Likewise.
12242         * real.c: Likewise.
12243         * recog.c: Likewise.
12244         * regclass.c: Likewise.
12245         * regmove.c: Likewise.
12246         * reg-stack.c: Likewise.
12247         * reload1.c: Likewise.
12248         * resource.c: Likewise.
12249         * rtlanal.c: Likewise.
12250         * rtl.c: Likewise.
12251
12252 2001-08-12  Kazu Hirata  <kazu@hxi.com>
12253
12254         * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
12255         a tree representing a constant is passed to the macro.
12256
12257 2001-08-12  Richard Henderson  <rth@redhat.com>
12258
12259         * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
12260         (rs6000_elf_asm_out_destructor): New.
12261         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
12262         (DTORS_SECTION_ASM_OP): Remove.
12263         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12264         (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
12265
12266 2001-08-12  David Edelsohn  <edelsohn@gnu.org>
12267
12268         Revert:
12269         2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12270         * gcc.c (set_collect_gcc_options): New function, split out from
12271         main.
12272         Ignore elided switches.
12273         (do_spec_1): Invoke before executing command.
12274         (set_input): Export.
12275         Move declaration ...
12276         * gcc.h (set_input): ... here.
12277         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
12278         file.
12279
12280 2001-08-12  Richard Henderson  <rth@redhat.com>
12281
12282         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
12283         thinko wrt TARGET_RELOCATABLE.
12284
12285 2001-08-12  Neil Booth  <neil@daikokuya.demon.co.uk>
12286
12287         * fix-header.c (cb_file_change): Update prototype.
12288
12289 2001-08-11  Zack Weinberg  <zackw@panix.com>
12290
12291         * toplev.c (set_float_handler): Make static.
12292         * toplev.h: Don't prototype set_float_handler.
12293
12294         * simplify-rtx.c: Don't include setjmp.h.
12295         (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
12296         New functions.
12297         (simplify_unary_operation, simplify_binary_operation): Use them,
12298         via do_float_handler.
12299
12300         * fold-const.c: Don't include setjmp.h.
12301         (exact_real_inverse_1): New function.
12302         (exact_real_inverse): Use it, via do_float_handler.
12303
12304         * varasm.c: Don't include setjmp.h.
12305         (assemble_real_1): New function.
12306         (assemble_real): Use it, via do_float_handler.
12307         Call internal_error if we get a trap here.
12308
12309         * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
12310         config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
12311
12312 2001-08-11  Zack Weinberg  <zackw@panix.com>
12313
12314         * defaults.h: Define PREFERRED_STACK_BOUNDARY to
12315         STACK_BOUNDARY if not already defined.
12316
12317         * calls.c, function.c, reload1.c, explow.c: Don't default
12318         PREFERRED_STACK_BOUNDARY.  Remove all #if/#ifdef on
12319         PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
12320
12321         * explow.c (allocate_dynamic_stack_space): Change unsafe #if
12322         to run-time test.
12323
12324         * doc/tm.texi: Document that STACK_BOUNDARY is required;
12325         clarify difference between it and PREFERRED_STACK_BOUNDARY.
12326
12327 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
12328
12329         * cppmacro.c (enter_macro_context): Push macro expansions even
12330         if empty.
12331
12332 2001-08-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12333
12334         * config/rs6000/rs6000.c: Include integrate.h to silence warning.
12335         (rs6000_elf_section_type_flags): Actually return a value.
12336
12337 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
12338
12339         * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
12340         Clean up code: add missing comments and prototypes, fix warnings,
12341         remove obsolete code, fix spacing to conform to coding style.
12342
12343 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
12344
12345         * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
12346         and TARGET_ASM_CLOSE_PAREN.
12347         (regclass_map): CC register belongs to class NO_REGS.
12348         (legitimize_pic_address): Don't generate unnecessary moves
12349         (to avoid confusing loop optimization).
12350         (check_and_change_labels): Replace jump_long by indirect_jump.
12351         (s390_final_chunkify): Don't start a new literal pool on section
12352         switch in 64-bit code.
12353         (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
12354
12355         * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
12356         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
12357         (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
12358         modes correctly.
12359         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
12360         (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
12361         (CONST_COSTS): Fixed incorrect costs.
12362
12363         * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
12364         Use emit_jump instead of emit_jump_insn (gen_jump).
12365         (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
12366         (to avoid confusing flow analysis).
12367         (tablejump, tablejump1, tablejump2): Removed.  Replaced by casesi.
12368         (casesi, casesi_jump): New.
12369         (jump_long): Removed.  Functionality merged into indirect_jump.
12370         (indirect_jump): Accept address_operand, not just register_operand.
12371         (cjump_long, icjump_long): Use same logic as indirect_jump.
12372         (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
12373         Fixed broken setjmp/longjmp handling.
12374         (do_builtin_setjmp_setup): Removed.
12375
12376         * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
12377         broken GNU as versions that don't accept .quad with large
12378         negative values.  Use hexadecimal output instead.
12379         (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
12380         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
12381         FUNCTION_EPILOGUE): Removed.  Now in targetm.
12382
12383         * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
12384
12385         * config/s390/fixdfdi.h: Add missing copyright statement.
12386         Fix type conflicts on 64-bit.  Add missing SFmode routines.
12387
12388         * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
12389         email address.
12390
12391 2001-08-11  Richard Henderson  <rth@redhat.com>
12392
12393         * rtl.h (REG_EH_RETHROW): Remove.
12394         * rtl.c (reg_note_name): Update.
12395         * combine.c (distribute_notes): Don't check for it.
12396
12397 2001-08-11  Richard Henderson  <rth@redhat.com>
12398
12399         * combine.c (distribute_notes): Place REG_SETJMP.
12400
12401 2001-08-11  Richard Henderson  <rth@redhat.com>
12402
12403         * doc/extend.texi (Arrays and pointers implementation): Discourage
12404         relying on sign-extension of pointers.
12405
12406 2001-08-11  H.J. Lu <hjl@gnu.org>
12407
12408         * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
12409         in_dtors.
12410         (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
12411         RDATA_SECTION_ASM_OP.
12412
12413 2001-08-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12414
12415         * doc/install.texi (Specific, c4x): Fix cross-reference to the
12416         main manual to work both for info and HTML versions.
12417
12418 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
12419             Matt Kraai <kraai@alumni.carnegiemellon.edu>
12420
12421         * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
12422         * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
12423         (struct cpp_pool): New member first.
12424         * cppinit.c (append_include_chain): Plug memory leaks.
12425         * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
12426         Allocate pragma structures from the (aligned) macro pool to
12427         avoid leaking memory.
12428         * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
12429         so we don't leak memory.
12430         * hashtable.c (ht_destroy): New.
12431         * hashtable.h (ht_destroy): New.
12432
12433 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
12434             Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12435
12436         * c-lex.c (map): Make const.
12437         (cb_file_change): Update for callback passing a line map.
12438         Don't assume we have a previous map.  Remove sanity check
12439         about popping too many files.
12440         * cpperror.c (print_location): Make map const.
12441         * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
12442         (cpp_make_system_header): Similarly.
12443         (search_from): Similarly.
12444         (_cpp_execute_include): Don't remember where we came from.
12445         * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
12446         (struct cpp_reader): Make map const.
12447         (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
12448         * cpplib.c (do_line): Update; line maps now hold sysp.
12449         (cpp_push_buffer): Similarly.
12450         (_cpp_do_file_change): Similarly; callback with map instead.
12451         (cpp_get_line_maps): Constify return value.
12452         (_cpp_pop_buffer): Update.
12453         * cpplib.h (struct cpp_file_change): Remove.
12454         (struct cpp_callbacks): Update.
12455         (cpp_get_line_maps): Constify return value.
12456         * cppmacro.c (_cpp_create_definition): Update.
12457         * cppmain.c (struct printer): Constify map.
12458         (maybe_print_line): Similarly.
12459         (print_line): Similarly.  Deduce flags 1 and 2 here.
12460         (cb_file_change): Update.
12461         * line-map.c (free_line_maps): Warn regardless.
12462         (add_line_map): Return pointer to const.  When passed NULL to_file
12463         with LC_LEAVE, use the obvious values for the return point so the
12464         caller doesn't have to figure them out.
12465         (lookup_line): Return pointer to const.
12466         (print_containing_files): Take pointer to const.
12467         * line-map.h (struct line_map): New members reason, sysp.
12468         (add_line_map): Return pointer to const.
12469         (lookup_line): Similarly.
12470         (print_containing_files): Take pointer to const.
12471
12472 2001-08-10  Roman Zippel  <zippel@linux-m68k.org>
12473             Richard Henderson  <rth@redhat.com>
12474
12475         * regmove.c (regmove_optimize): Avoid setting a register twice in
12476         a parallel set.
12477
12478 2001-08-10  Richard Henderson  <rth@redhat.com>
12479
12480         * doc/extend.texi (Arrays and pointers implementation): Document
12481         behavior of pointer/integer conversion.
12482
12483 2001-08-10  Ulrich Weigand  <uweigand@de.ibm.com>
12484
12485         * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
12486
12487 2001-08-10  Richard Henderson  <rth@redhat.com>
12488
12489         * doc/extend.texi (C Implementation): New chapter.
12490         * doc/gcc.texi (Top): Link it in.
12491
12492 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
12493
12494         * doc/install.texi (Specific): Fix CVS merge botch.
12495
12496 2001-08-10  Richard Henderson  <rth@redhat.com>
12497
12498         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
12499         ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
12500
12501 2001-08-10  Zack Weinberg  <zackw@stanford.edu>
12502
12503         * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
12504         if not already defined.  Remove all #ifdefs on STACK_BOUNDARY;
12505         this macro is now required.
12506
12507         * cselib.c (cselib_process_insn), flow.c (propagate_block),
12508         loop.c (find_and_verify_loops), reload.c (reload): Check
12509         for rtx code of CALL_INSN, not CALL, when deciding if we
12510         need to check for REG_SETJMP note.
12511
12512         * gcse.c (compute_hash_table, compute_store_table): Update
12513         the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
12514         logic.
12515
12516         * config/avr/avr.c: Fix typo.
12517         * config/convex/convex.c (expand_movstr): Use adjust_address.
12518         * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
12519         variable.
12520         * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
12521         * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
12522         Fix typo.
12523         * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
12524         Do define STACK_BOUNDARY.
12525         * config/i370/i370.c: Include expr.h.
12526         * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
12527         config/pa/som.h, config/v850/v850.h: Take in_ctors and
12528         in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
12529         and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
12530         * config/m88k/m88k.c: Include c-tree.h after expr.h.
12531         * config/pdp11/pdp11.c: Include expr.h and toplev.h.
12532         * config/romp/romp.c: Include expr.h after tree.h.
12533         Include toplev.h.
12534         (output_fpop): Use xmalloc, not oballoc.
12535         * config/we32k/we32k.c: Include expr.h.
12536
12537 2001-08-10  Kazu Hirata  <kazu@hxi.com>
12538
12539         * config/h8300/h8300.h: Fix formatting.
12540
12541 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
12542
12543         * c-common.h (RETURN_NULLIFIED_P): Lose.
12544         * c-semantics.c (genrtl_return_stmt): Don't check it.
12545
12546 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
12547
12548         * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
12549         (mips_annotate_frame_insn): New function.
12550         (mips_emit_frame_related_store): New function.
12551         (save_restore_insns): Don't mark instructions that set up the base
12552         registers as frame-related.  Add REG_FRAME_RELATED_EXPR notes to
12553         the store instructions instead.
12554         (mips_expand_prologue): If the stack size is moved into a temporary
12555         register, do not mark that move as frame-related.  Add a
12556         REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
12557
12558 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
12559
12560         * config/mips/mips.c (save_restore_insns): Don't mark the RA's
12561         stack slot as unchanging if current_function_calls_eh_return.
12562
12563 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
12564
12565         * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
12566         access the second half of the TFmode scratch operand.
12567
12568 2001-08-10  Anthony Green  <green@redhat.com>
12569
12570         * java/class.c (emit_register_classes): Conditionalize code on
12571         JCR_SECTION_NAME.
12572
12573 2001-08-10  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12574
12575         * doc/install.texi (Specific, avr): Fix cross-reference to the
12576         main manual to work both for info and HTML versions.
12577
12578 2001-08-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12579
12580         * stmt.c (expand_null_return_1): Remove code to generate simple returns
12581         and "use_goto" argument.
12582         (expand_null_return, expand_value_return): Update all callers.
12583         * function.c (expand_function_end): Remove code to generate simple
12584         return.
12585         * config/vax/vax.md (epilogue): New expander for function return.
12586         * doc/md.texi (epilogue): Remove "if defined".
12587
12588 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
12589
12590         * Makefile.in: Partially revert my previous change:
12591         put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
12592         of the hashtab.o and safe-ctype.o rules.
12593
12594 2001-08-09  Richard Henderson  <rth@redhat.com>
12595
12596         * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
12597         (USE_COLLECT2): Remove duplicate definition.
12598         * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
12599         (use_collect2): Remove dead code.
12600         * configure.in (use_collect2): Remove will_use_collect2 and
12601         maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
12602         * configure: Rebuild.
12603
12604         * target.h (targetm.asm_out.constructor): New.
12605         (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
12606         * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
12607         (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
12608         * varasm.c (in_ctors, in_dtors): New.
12609         (assemble_constructor, assemble_destructor): Remove.
12610         (default_stabs_asm_out_destructor): New.
12611         (default_named_section_asm_out_destructor): New.
12612         (dtors_section, default_dtor_section_asm_out_destructor): New.
12613         (default_stabs_asm_out_constructor): New.
12614         (default_named_section_asm_out_constructor): New.
12615         (ctors_section, default_ctor_section_asm_out_constructor): New.
12616         * output.h: Update declarations.
12617         * c-decl.c (c_expand_body): Use target hooks instead of
12618         assemble_constructor and assemble_destructor.
12619         * profile.c (output_func_start_profiler): Likewise.
12620         * objc/objc-act.c (finish_objc): Likewise.
12621         (build_module_descriptor): Tidy.  Set TREE_PUBLIC properly
12622         for the constructor.
12623         * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
12624
12625         * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
12626         (DTORS_SECTION_ASM_OP): Likewise.
12627         (__CTOR_LIST__): Use attribute section when possible.
12628         (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
12629
12630         * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
12631         ASM_OUTPUT_CONSTRUCTOR.
12632
12633         * config/darwin.c (machopic_asm_out_constructor): New.
12634         (machopic_asm_out_destructor): New.
12635         * config/darwin-protos.h: Update declarations.
12636         * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12637         (ASM_OUTPUT_DESTRUCTOR): Remove.
12638         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12639         * config/nextstep.c (nextstep_asm_out_constructor): New.
12640         (nextstep_asm_out_destructor): New.
12641         * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12642         (ASM_OUTPUT_DESTRUCTOR): Remove.
12643         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12644         * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
12645         ASM_OUTPUT_*STRUCTOR.
12646         * config/i386/aix386ng.h: Likewise.
12647
12648         * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
12649         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
12650         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12651         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12652         * config/lynx.h: Likewise.
12653         * config/netware.h: Likewise.
12654         * config/psos.h: Likewise.
12655         * config/alpha/alpha-interix.h: Likewise.
12656         * config/alpha/elf.h: Likewise.
12657         * config/arc/arc.h: Likewise.
12658         * config/arm/aof.h: Likewise.
12659         * config/arm/coff.h: Likewise.
12660         * config/arm/elf.h: Likewise.
12661         * config/c4x/c4x.h: Likewise.
12662         * config/h8300/h8300.h: Likewise.
12663         * config/i386/cygwin.h: Likewise.
12664         * config/i386/djgpp.h: Likewise.
12665         * config/i386/i386-coff.h: Likewise.
12666         * config/i386/i386-interix.h: Likewise.
12667         * config/i386/sco5.h: Likewise.
12668         * config/i386/vsta.h: Likewise.
12669         * config/i386/win32.h: Likewise.
12670         * config/i960/i960-coff.h: Likewise.
12671         * config/ia64/sysv4.h: Likewise.
12672         * config/m68hc11/m68hc11.h: Likewise.
12673         * config/m68k/coff.h: Likewise.
12674         * config/m68k/mot3300.h: Likewise.
12675         * config/m88k/m88k.h: Likewise.
12676         * config/mcore/mcore-pe.h: Likewise.
12677         * config/mcore/mcore.h: Likewise.
12678         * config/mips/elf.h: Likewise.
12679         * config/mips/elf64.h: Likewise.
12680         * config/mips/iris6.h: Likewise.
12681         * config/pa/pa64-hpux.h: Likewise.
12682         * config/rs6000/sysv4.h: Likewise.
12683         * config/sh/sh.h: Likewise.
12684         * config/sparc/litecoff.h: Likewise.
12685
12686         * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
12687         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12688         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12689         * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12690         (ASM_OUTPUT_DESTRUCTOR): Remove.
12691         * config/a29k/a29k.c: Move include of tree.h.
12692         * config/a29k/udi.h: Delete file.
12693         * config/alpha/alpha.c (vms_asm_out_constructor): New.
12694         (vms_asm_out_destructor): New.
12695         * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
12696         (EXTRA_SECTION_FUNCTIONS): Likewise.
12697         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12698         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12699         * config/c4x/c4x.c: Move include of tree.h.
12700         * config/clipper/clipper.c (clix_asm_out_constructor): New.
12701         (clix_asm_out_destructor): New.
12702         * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12703         (ASM_OUTPUT_DESTRUCTOR): Remove.
12704         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12705         * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12706         (TARGET_ASM_CONSTRUCTOR): New.
12707         * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
12708         (sco_asm_out_constructor): New.
12709         * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
12710         * config/i386/svr3gas.h: Remove stack grows up code.
12711         Remove code duplicated from i386/sysv3.h.
12712         (TARGET_ASM_CONSTRUCTOR): New.
12713         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12714         (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
12715         * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12716         (TARGET_ASM_CONSTRUCTOR): New.
12717         * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
12718         (m68hc11_asm_out_destructor): New.
12719         * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
12720         (TARGET_ASM_DESTRUCTOR): New.
12721         * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
12722         * config/m68k/dpx2.h: Properly undef all the bits inherited from
12723         config/svr3.h pertaining to section manipulation.
12724         * config/m68k/dpx2g.h: Remove #if 0 code.
12725         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
12726         * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
12727         (ASM_OUTPUT_CONSTRUCTOR): Remove.
12728         (TARGET_ASM_CONSTRUCTOR): New.
12729         * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
12730         (m88k_svr3_asm_out_constructor): New.
12731         (m88k_svr3_asm_out_destructor): New.
12732         * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12733         (ASM_OUTPUT_DESTRUCTOR): Remove.
12734         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12735         * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
12736         * config/rs6000/aix.h: Likewise.
12737         * config/mips/rtems64.h: Don't undef removed constructor related bits.
12738         * config/mips/vxworks.h: Likewise.
12739         * config/rs6000/lynx.h: Likewise.
12740         * config/sh/elf.h: Likewise.
12741         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
12742         (DTORS_SECTION_ASM_OP): New.
12743         * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12744         (ASM_OUTPUT_DESTRUCTOR): Remove.
12745         * config/sparc/sol2-sld-64.h: Likewise.
12746         * config/vax/vax.c (vms_asm_out_constructor): New.
12747         (vms_asm_out_destructor): New.
12748         * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12749         (ASM_OUTPUT_DESTRUCTOR): Remove.
12750         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12751
12752         * doc/tm.texi (@node Initialization): Update.
12753
12754 2001-08-09  Richard Henderson  <rth@redhat.com>
12755
12756         * config/alpha/crtbegin.asm (__JCR_LIST__): New.
12757         (__do_global_dtors_aux): Use gp-relative static data to avoid
12758         one dynamic relocation.
12759         (__do_frame_setup): Register Java classes.
12760         * config/alpha/crtend.asm (__JCR_END__): New.
12761
12762 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
12763
12764         * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
12765         (CONFIG_H, TCONFIG_H, TM_P_H): Update.
12766         (GEN, STAGESTUFF): Add new files.
12767         (insn-constants.h, s-constants, tm-preds.h, s-preds,
12768         genconstants, genpreds, genconstants.o, genpreds.o): New rules.
12769         (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
12770         * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
12771         as well as insn-codes.h and insn-flags.h in config.h; and no
12772         extra headers in tconfig.h and hconfig.h.
12773
12774         * gencodes.c: Eliminate code to generate predicate declarations
12775         or #defines for md-file constants.
12776         * genconstants.c, genpreds.c: New files.
12777
12778         * i386.md: Re-order guard expressions such that TARGET_64BIT
12779         comes first, when this permits better optimization.  Add
12780         TARGET_64BIT to more x86-64 patterns.  Add comment explaining
12781         why this is desirable.
12782
12783 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
12784
12785         * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
12786         (find_fde_for_dso): Remove.
12787         (_Unwind_IteratePhdrCallback): New.
12788         (_Unwind_FindTableEntry): Use dl_iterate_phdr.
12789         * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
12790
12791 Thu Aug  9 11:30:20 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12792
12793         * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
12794         (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
12795
12796 2001-08-09  Graham Stott  <grahams@redhat.com>
12797
12798         * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
12799         (vis_no_unit): Use it.
12800         (visualize_no_unit): Add the insn only if room exists.
12801
12802 2001-08-09  Graham Stott  <grahams@redhat.com>
12803
12804         * predict.c (estimate_probability): Replace magic numbers with
12805         appropriate enumeration.
12806
12807 2001-08-09  Graham Stott  <grahams@redhat.com>
12808
12809         * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
12810         parameter.
12811         (EXTRACT_FLAGS): Likewise.
12812
12813 2001-08-09  Aldy Hernandez  <aldyh@redhat.com>
12814
12815         * config/mips/mips.c    (mips_legitimate_address_p): Check for
12816         CONST_INT in last patch.
12817
12818 2001-08-08  Anthony Green  <green@redhat.com>
12819
12820         * java/class.c (emit_register_classes): Use assemble_jcr if
12821         possible.  Keep the original mechanism as a fallback.
12822         * defaults.h (JCR_SECTION_NAME): Define if we have named section
12823         and weak symbol support.
12824         * crtstuff.c (__JCR_LIST__): Define.
12825         (__JCR_END__): Define.
12826         (_Jv_RegiserClasses): Define weak symbol if possible.
12827         (__do_global_ctors_aux): Register classes for ELF targets with
12828         weak symbol support.
12829
12830 2001-08-08  Kazu Hirata  <kazu@hxi.com>
12831
12832         * dbxout.c: Fix comment formatting.
12833         * dependence.c: Likewise.
12834         * df.c: Likewise.
12835         * diagnostic.c: Likewise.
12836         * dominance.c: Likewise.
12837         * doprint.c: Likewise.
12838         * dwarf2out.c: Likewise.
12839         * dwarfout.c: Likewise.
12840         * emit-rtl.c: Likewise.
12841         * except.c: Likewise.
12842         * explow.c: Likewise.
12843         * expmed.c: Likewise.
12844         * expr.c: Likewise.
12845         * flow.c: Likewise.
12846         * fold-const.c: Likewise.
12847         * function.c: Likewise.
12848
12849 2001-08-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12850
12851         * global.c (retry_global_alloc): Avoid shadowing allocno.
12852
12853 2001-08-08  Mark Mitchell  <mark@codesourcery.com>
12854
12855         * except.c (remove_fixup_regions): Fix typo.
12856
12857 2001-08-08  Jan van Male <jan.vanmale@fenk.wau.nl>
12858
12859         * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
12860         unsigned HOST_WIDE_INT to avoid warning.
12861         * final.c (final): Cast INSN_UID to unsigned to avoid warning.
12862         * flow.c (set_block_for_new_insns): Likewise.
12863
12864 Wed Aug  8 21:08:14 CEST 2001  Jan Hubicka  <jh@suse.cz>
12865
12866         * sibcall.c (return_value_pseudo): New static variable.
12867         (skip_copy_to_return_value): Handle return_value_pseudo.
12868         (call_ends_block_p): Ensure that return_value_pseudo is set.
12869         (optimize_sibling_and_tail_recursive_call): Discover the
12870         load of pseudo return value in alternate exit block.
12871
12872 Wed Aug  8 21:06:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
12873
12874         * calls.c (ECF_ALWAYS_RETURN): New constant.
12875         (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
12876         (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
12877         (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
12878         * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
12879         * rtl.c (reg_note_name): New name.
12880         * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
12881
12882 2001-08-07  Aldy Hernandez  <aldyh@redhat.com>
12883
12884         * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
12885
12886 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
12887
12888         * alias.c (get_alias_set): Return a previously calculated
12889         alias set for a VAR_DECL.
12890         * function.c (gen_mem_addressof): Calculate the alias set before
12891         touching the RTL.
12892
12893 Wed Aug  8 18:44:37 CEST 2001  Jan Hubicka  <jh@suse.cz>
12894
12895         * predict.def: Set hitrates according our experimental run.
12896
12897 Wed Aug  8 18:01:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
12898
12899         * i386.h (HARD_REGNO_RENAME_OK): New macro.
12900
12901 2001-08-08  H.J. Lu <hjl@gnu.org>
12902
12903         * config/mips/mips.c (mips_unique_section): New. Copied from
12904         config/mips/elf.h.
12905
12906         * config/mips/mips-protos.h (mips_unique_section): New
12907         prototype.
12908
12909         * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
12910
12911         * config/mips/little.h: New. Generic little endian mips
12912         targets. Only mips*-*-linux* is converted to use it so far.
12913
12914         * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
12915         (WCHAR_TYPE): Defined
12916         (WCHAR_TYPE_SIZE): Likewise.
12917         (INIT_SUBTARGET_OPTABS): Likewise.
12918         (BSS_SECTION_ASM_OP): Likewise.
12919         (SBSS_SECTION_ASM_OP): Likewise.
12920         (ASM_OUTPUT_ALIGNED_BSS): Likewise.
12921         (ASM_DECLARE_OBJECT_NAME): Likewise.
12922         (UNIQUE_SECTION): Likewise.
12923         (EXTRA_SECTIONS): Likewise.
12924         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
12925         (ASM_OUTPUT_DESTRUCTOR): Likewise.
12926         (ASM_OUTPUT_DEF): Likewise.
12927         (HANDLE_SYSV_PRAGMA): Removed.
12928         (NO_IMPLICIT_EXTERN_C): Likewise.
12929         (TARGET_MEM_FUNCTIONS): Likewise.
12930         (STARTFILE_SPEC): Likewise.
12931         (ENDFILE_SPEC): Likewise.
12932         (LIB_SPEC): Likewise.
12933         (INVOKE__main): Likewise.
12934         (CTOR_LIST_BEGIN): Likewise.
12935         (CTOR_LIST_END): Likewise.
12936         (DTOR_LIST_BEGIN): Likewise.
12937         (DTOR_LIST_END): Likewise.
12938         (SET_ASM_OP): Likewise.
12939         (ASM_OUTPUT_SOURCE_LINE): Likewise.
12940         (ASM_OUTPUT_DEF): Likewise.
12941         (ASM_OUTPUT_IDENT): Likewise.
12942
12943         * config/mips/mips.h (ASM_SPEC): Undefine before define.
12944         (CPLUSPLUS_CPP_SPEC): Likewise.
12945         (ASM_APP_ON) Redefine only if not defined.
12946         (ASM_APP_OFF): Likewise.
12947         (ASM_OUTPUT_SOURCE_LINE): Likewise.
12948         (ASM_OUTPUT_IDENT): Likewise.
12949
12950         * config.gcc: Update tm_file for Linux/mips.
12951
12952 2001-08-08  Bernd Schmidt  <bernds@redhat.com>
12953
12954         * cselib.c (cselib_record_sets): If insn is predicated, turn
12955         sources into IF_THEN_ELSEs.
12956
12957         * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
12958         Turn into define_insn_and_split.
12959
12960         * sched-deps.c: Include "cselib.h".
12961         (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
12962         Use cselib to turn memory addresses into VALUEs.
12963         (sched_analyze): Call cselib_init/cselib_finish if necessary.
12964         * sched-int.h (struct sched_info): New member USE_CSELIB.
12965         * sched-ebb.c (ebb_sched_info): Initialize it.
12966         * sched-rgn.c (rgn_sched_info): Likewise.
12967         * Makefile.in (sched-deps.o): Update dependencies.
12968
12969         * cselib.h (cselib_subst_to_values): Declare.
12970         * cselib.c (cselib_subst_to_values): No longer static.  Allow MEMs
12971         that have no value and autoincs to be handled by generating a new
12972         dummy value.
12973
12974 2001-08-08  Graham Stott  <grahams@redhat.com>
12975
12976         * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
12977         within fixed length SEQUENCE.
12978
12979 2001-08-08  Graham Stott  <grahams@redhat.com>
12980
12981         * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
12982         (diagnostic_prefixing_rule): Likewise.
12983         (diagnostic_line_cutoff): Likewise.
12984         (diagnostic_kind_count): Likewise.
12985
12986 2001-08-08  Graham Stott  <grahams@redhat.com>
12987
12988         * alias.c (find_base_decl): Delete redundent assignment.
12989
12990 2001-08-08  Graham Stott  <grahams@redhat.com>
12991
12992         * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
12993         (abs): Uppercase and paranthesize macro parameter.
12994         (MEM_DEPENDENCY): Add whitespace.
12995
12996 2001-08-08  Graham Stott  <grahams@redhat.com>
12997
12998         * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
12999         failure check for CONST_INT
13000
13001 2001-08-08  Graham Stott  <grahams@redhat.com>
13002
13003         * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
13004         (libcall_dead_p): Likewise.
13005
13006         (mark_used_regs): Constify fmt.
13007         (find_use_as_address): Likewise.
13008
13009 2001-08-08  Graham Stott  <grahams@redhat.com>
13010
13011         * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
13012          parameter.
13013
13014 2001-08-08  Graham Stott  <grahams@redhat.com>
13015
13016         * combine.c (combine_simplify_rtx): Update comment and
13017         remove erroneous test.
13018
13019 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
13020
13021         * cppinit.c (cpp_finish): Pop the final buffer without comment.
13022         * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
13023         take care to avoid multiple no-newline at EOF warnings in that
13024         case.
13025
13026 Tue Aug  7 22:18:06 CEST 2001  Jan Hubicka  <jh@suse.cz>
13027
13028         * calls.c (expand_call): Do not emit INSN_SETJMP note.
13029         (emit_library_call_value_1): Likewise.
13030         (emit_call_1): Emit REG_SETJMP note.
13031         * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
13032         of INSN_SETJMP
13033         * cselib.c (cselib_process_insn): Likewise.
13034         * flow.c (propagate_block): Likewise.
13035         * loop.c (find_and_verify_loops): Likewise.
13036         * reload.c (find_equiv_regs): Likewise.
13037         * reload1.c (reload): Likewise.
13038         * resource.c (mark_referenced_resources,
13039         mark_set_resources): Likewise.
13040         * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
13041         * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
13042         * haifa-sched.c (unlink_other_notes): Likewise.
13043         (reemit_notes): Likewise.
13044         * sched-ebb.c (sched_ebb): Likewise.
13045         * sched-rgc.c (sched_region): Likewise.
13046         * rtl.c (note_insn_name): Likewise.
13047         (reg_note_name): Add REG_SETJMP
13048         * rtl.h (reg_note): Add REG_SETJMP.
13049         (insn_note): Remove NOTE_INSN_SETJMP.
13050
13051         * profile.c (branch_prob): Add fake edges for setjmp.
13052
13053 2001-08-07  Daniel Jacobowitz  <drow@mvista.com>
13054
13055         * config.gcc: Quote target_cpu_default2 correctly for
13056         powerpc*-*-* targets.
13057
13058 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
13059
13060         * cpplib.h, line-map.h: Update comments.
13061         * cppmain.c (printer_init): Move inline.
13062         (maybe_print_line, print_line): Take a map pointer.
13063         (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
13064         (cb_file_change): Don't use prior value of print.map.
13065
13066 2001-08-07  David Edelsohn  <edelsohn@gnu.org>
13067
13068         * doc/install.texi: Document fine-grained multilib configuration.
13069
13070 Tue Aug  7 16:52:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
13071
13072         * rtlanal.c (find_first_parameter_load): Call note_stores
13073         only on the instructions.
13074
13075 Tue Aug  7 14:56:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
13076
13077         * alias.c (nonlocal_mentioned_p):
13078         Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
13079         * calls.c (emit_call_1): Likewise.
13080         * cse.c (cse_insn, invalidate_skipped_block): Likewise.
13081         * cselib.c (cselib_process_insn): Likewise.
13082         * df.c (df_insns_modify): Likewise.
13083         * flow.c (need_fake_edge_p): Likewise.
13084         (propagate_one_insn): Likewise.
13085         * haifa-sched.c (reemit_notes): Likewise.
13086         * integrate.c (copy_insn_list): Likewise.
13087         * jump.c (delete_prior_computation): Likewise.
13088         * local-alloc.c (validate_equiv_mem): Likewise.
13089         * loop.c (scan_loop): Likewise.
13090         * predict.c (estimate_probability): Likewise.
13091         * reload.c (reload): Likewise.
13092         * sched-deps (sched_analyze): Likewise.
13093         * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
13094         * gcse.c (compute_hash_table): Likewise.
13095         (mark_call): Likewise.
13096         (store_killed_in_insn): Likewise.
13097
13098 2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
13099
13100         * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
13101
13102 2001-08-06  Richard Henderson  <rth@redhat.com>
13103
13104         * varasm.c (assemble_gc_entry): Remove.
13105         * output.h: Likewise.
13106
13107 2001-08-06  Richard Henderson  <rth@redhat.com>
13108
13109         * varasm.c (assemble_constructor): Take a symbol_ref and a
13110         priority instead of a bare string.  Move priority handling
13111         here from cp/decl2.c.
13112         * output.h: Update decls.
13113
13114         * c-decl.c (c_expand_body): Update calls to assemble_constructor
13115         and assemble_destructor.
13116         * profile.c (output_func_start_profiler): Likewise.
13117         * objc/objc-act.c (finish_objc): Likewise.
13118         (build_module_descriptor): Return the symbol not the symbol name.
13119
13120 2001-08-06  David Edelsohn  <edelsohn@gnu.org>
13121
13122         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
13123         * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
13124         ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
13125         * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
13126         * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
13127         * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
13128
13129 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
13130
13131         * cpperror.c (print_containing_files): Moved to line-map.c.
13132         (print_location): line-map.c handles re-listing or otherwise.
13133         * cpphash.h (struct lexer_state): Remove next_bol.
13134         (struct cpp_buffer): Remove include_stack_listed.
13135         * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
13136         Remove faked buffer handling.
13137         (_cpp_do_file_change): Tweak.
13138         * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
13139         * cppmain.c (struct printer): Remove filename.
13140         (print_line, cb_file_change): Update accordingly.
13141         * line-map.c: Include intl.h.
13142         (init_line_maps): Initialize last_listed.
13143         (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
13144         (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
13145         (print_containing_files): New.
13146         * line-map.h (struct line_maps): New member last_listed.
13147         (print_containing_files, INCLUDED_FROM): New.
13148         * Makefile.in: Update.
13149         * po/POTFILES.in: Add line-map.c.
13150
13151 2001-08-06  Richard Henderson  <rth@redhat.com>
13152
13153         * except.c (convert_from_eh_region_ranges_1): Never mark
13154         USE or CLOBBER insns as throwing.
13155
13156         * expr.c (store_constructor): Don't clobber memory targets.
13157
13158 2001-08-06  Andreas Jaeger  <aj@suse.de>
13159
13160         * profile.c (branch_prob): Remove unused variable insn.
13161
13162         * Makefile.in (local-alloc.o): Add dependency on except.h.
13163
13164         * local-alloc.c: Include except.h for can_throw_internal prototype.
13165
13166 2001-08-06  Richard Henderson  <rth@redhat.com>
13167
13168         * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
13169         * function.c (expand_main_function): Implement it.
13170         * doc/tm.texi: Document it.
13171
13172 2001-08-06  Stan Shebs  <shebs@apple.com>
13173
13174         * doc/install.texi: Document powerpc-*-darwin* details.
13175
13176 2001-08-06  Daniel Berlin  <dan@cgsoftware.com>
13177
13178         * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
13179         (ASM_CPU_SPEC): Move back to rs6000.h
13180         #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
13181
13182         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
13183
13184         * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
13185         readded.
13186
13187         * config/rs6000/linux64.h: Ditto.
13188
13189         * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
13190         to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
13191         nothing.
13192
13193         Remove accidently readded definitions of FUNCTION_PROLOGUE,
13194         FUNCTION_EPILOGUE,  ASM_OPEN_PAREN, ASM_CLOSE_PAREN
13195
13196         * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
13197         to rs6000.h
13198
13199 2001-08-05  Richard Henderson  <rth@redhat.com>
13200
13201         * local-alloc.c (update_equiv_regs): Do not move insns that
13202         can throw.
13203
13204 2001-08-05  Jan Hubicka  <jh@suse.cz>
13205
13206         * Makefile.in (reload1.o): Add dedendancy on except.h
13207         * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
13208         prototypes.
13209         * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
13210         indicating wehther edges has been cleaned up.
13211         * reload1.c: Inlucde except.h
13212         (fixup_abnormal_edges): Accept deleted insns.
13213         * toplev.c (rest_of_compilation): Purge dead edges unconditionally
13214         after combine.
13215
13216 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
13217
13218         * cpplib.c (do_line): Correct line number after pop_buffer.
13219
13220 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
13221
13222         PR preprocessor/3824
13223         * line-map.c: Update comments.
13224         * line-map.h: Update comments.
13225         * tradcif.y: Don't consider large numbers unsigned.
13226
13227 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
13228
13229         PR preprocessor/3081
13230         * c-lex.c (map): New.
13231         (cb_file_change): Update map and use it.
13232         (cb_def_pragma, cb_define, cb_undef): Use map and line.
13233         (c_lex): Update to use map.
13234         * cpperror.c (print_location): Move to using logical line numbers.
13235         * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
13236         (cpp_make_system_header): Similarly.
13237         (_cpp_execute_include): Stop line numbering hacks.  Store the
13238         line we will return to.
13239         * cpphash.h (CPP_BUF_LINE): Remove.
13240         (struct cpp_buffer): Remove lineno and pseudo_newlines.
13241         Add map and return_to_line.
13242         (_cpp_do_file_change): Update.
13243         * cppinit.c (cpp_start_read): Update line kludge.
13244         * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
13245         (trigraph_ok): Use logical line numbers for diagnostics.
13246         (skip_block_comment): Likewise.
13247         (skip_whitespace): Likewise.
13248         (skip_line_comment): Use pfile->line instead.
13249         (_cpp_lex_token): Update to use logical line numbering exclusively.
13250         Handle BOL locally.  Accept new lines in directives, but keep
13251         pfile->line decremented.  Diagnostics use logical lines.  Update
13252         directive handling.
13253         * cpplib.c (SEEN_EOL): New.
13254         (skip_rest_of_line, check_eol): Use it.
13255         (end_directive): Increase line number when accepting the newline
13256         at the end of a directive.
13257         (run_directive): Simplify.
13258         (do_line): Bad LC_LEAVEs become LC_RENAMEs.  Update.
13259         (_cpp_do_file_change): Update to take buffer line number as an
13260         argument, and store the current map in the cpp_reader.  Remove
13261         line number kludges.
13262         (_cpp_do__Pragma): Restore output position after a _Pragma.
13263         (cpp_push_buffer): Don't set output line or lineno.
13264         (_cpp_pop_buffer): Transfer more info from a faked buffer.
13265         Remove line kludge.  Set output_line.
13266         * cppmacro.c (builtin_macro): Update handling of __LINE__.
13267         (parse_arg): Use logical lines.
13268         (save_lookahead_token): Save EOFs too now.
13269         * cppmain.c (struct printer): Fix comments.
13270         (printer_init): Simplify, let caller do errors.
13271         (scan_translation_unit, check_multiline_token, dump_macro): Update.
13272         (maybe_print_line): Simplify.
13273         (print_line): Don't print a linemarker if -P.
13274         (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
13275         (cb_file_change): Simplify.
13276         * line-map.h (LAST_SOURCE_LINE): Fix.
13277         (CURRENT_LINE_MAP): New.
13278
13279 2001-08-05  Bernd Schmidt  <bernds@redhat.com>
13280
13281         * doloop.c (doloop_modify_runtime): Properly compute number of
13282         iterations if loop was unrolled.
13283
13284         * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
13285         if their CSELIB_VAL_PTRs are.
13286
13287         * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
13288         (setup_spill_pointers): Initialize it.
13289         (spill_restore_mem): Set it.
13290         (do_spill, do_restore): Use it to add REG_INC note.
13291         * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
13292
13293         * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
13294         asms if other insns are available.
13295
13296         * config/ia64/ia64.c (condop_operator): New predicate.
13297         * config/ia64/ia64.h (PREDICATE_CODES): Add it.
13298         * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
13299         patterns.
13300
13301         * expr.c (expand_expr, case COND_EXPR): Prefer working with a
13302         temporary register than directly using a MEM.
13303
13304 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
13305
13306         * config/sh/sh.c (sh_asm_named_section): Fix typo in align
13307         parameter in last change.
13308
13309 2001-08-04  Zack Weinberg  <zackw@panix.com>
13310
13311         * sparc.md: Don't use #if inside C test expression.
13312
13313 2001-08-04  Richard Henderson  <rth@redhat.com>
13314
13315         * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
13316
13317 2001-08-04  Neil Booth  <neil@daikokuya.demon.co.uk>
13318
13319         * cpphash.h (struct cpp_reader): New member directive_line.
13320         * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
13321         * cpplib.c (do_define, do_undef, do_ident, do_include_common,
13322         do_pragma): Pass line to callbacks.
13323         (start_directive): Record line of directive.
13324         * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
13325         cb_include): Similarly.
13326         * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
13327         Similarly.
13328
13329 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
13330
13331         * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
13332         comment.
13333
13334 Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
13335
13336         * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
13337
13338         * reload1.c (fixup_abnormal_edges): New static function.
13339         (reload): Use it.
13340
13341         * flow.c (need_fake_edge_p): New function.
13342         (flow_call_edges_add): Fix handling of noreturn and sibling calls;
13343         avoid call insn to be very last insn in the insn stream.
13344
13345         * profile.c (branch_prob): Call flow_call_edges_add instead of
13346         doing that by hand; cleanup cfg to re-merge basic blocks once
13347         we are done.
13348
13349 2001-08-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
13350
13351         * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
13352         are also on line-map.h.
13353         * cppfiles.c (stack_include_file): Update.
13354         * cpphash.h (struct cpp_buffer): New member return_at_eof.
13355         (_cpp_pop_buffer): New.
13356         * cppinit.c (cpp_destroy, cpp_finish): Update.
13357         (do_includes): Mark each buffer to return at EOF.
13358         * cpplex.c (_cpp_lex_token): Pop buffers at EOF.  Continue or
13359         return as requested.
13360         * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
13361         (cpp_pop_buffer): Rename _cpp_pop_buffer.  Stop skipping.
13362         * cpplib.h (cpp_pop_buffer): Remove.
13363         (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
13364         * cppmacro.c (cpp_scan_buffer_nooutput): Similarly.  No need to pop
13365         buffers.
13366         * cppmain.c (scan_buffer): Rename scan_translation_unit.  No need
13367         to pop buffers.
13368         (do_preprocessing): Update.
13369         * fix-header.c (read_scan_file): Update.  No need to pop buffers.
13370         * c-parse.in (_yylex): Similarly.
13371         * scan-decls.c (scan_decls): Similarly.
13372         * line-map.h: Update comments.
13373
13374         * objc/Make-lang.in (objc-act.o): Update dependencies.
13375
13376 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13377
13378         * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
13379         and soft register for operand 0.
13380         ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
13381
13382 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13383
13384         * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
13385         register for operand 0.
13386         ("bitcmpqi_z_used"): Allow memory for operand 0.
13387         (split "bitcmpqi"): New split to handle address reg as operand 1.
13388
13389 2001-08-04  Andreas Jaeger  <aj@suse.de>
13390
13391         * gcse.c: Revert Daniel's last patch.
13392
13393 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
13394
13395         * sparc-protos.h: Add prototypes for fp_zero_operand and
13396         reg_or_0_operand.
13397         * sh-protos.h: Add prototype for fpul_operand.
13398
13399 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
13400
13401         * doc/extend.texi (Other Builtins): Fix typo in last change.
13402
13403 2001-08-03  Richard Henderson  <rth@redhat.com>
13404
13405         * target.h (gcc_target): Add asm_out.named_section,
13406         section_type_flags, have_named_sections.
13407         * target-def.h (TARGET_ASM_NAMED_SECTION): New.
13408         (TARGET_HAVE_NAMED_SECTIONS): New.
13409         (TARGET_SECTION_TYPE_FLAGS): New.
13410
13411         * Makefile.in (toplev.o): Depend on TARGET_H.
13412         (varasm.o, dbxout.o): Likewise.
13413         * c-common.c (decl_attributes): Check targetm.have_named_sections
13414         instead of ifdef ASM_OUTPUT_SECTION_NAME.
13415         * dbxout.c (dbxout_function_decl): Likewise.
13416         (dbxout_function_end): Likewise.
13417         * toplev.c (compile_file): Likewise.
13418         * varasm.c (exception_section): Likewise.
13419         * cp/decl2.c (finish_objects): Likewise.
13420
13421         * defaults.h (EH_FRAME_SECTION): Remove.
13422         (EH_FRAME_SECTION_ASM_OP): Remove.
13423         (EH_FRAME_SECTION_NAME): New.
13424         (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
13425         (UNIQUE_SECTION_P): Remove.
13426         * dwarf2out.c (SECTION_FORMAT): Remove.
13427         (ASM_OUTPUT_SECTION): Remove.
13428         (output_call_frame_info): Use named_section_flags.
13429         (output_comp_unit, dwarf2out_start_source_file): Likewise.
13430         (dwarf2out_end_source_file, dwarf2out_define): Likewise.
13431         (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
13432         * varasm.c (in_eh_frame, eh_frame_section): Remove.
13433         (named_section_flags): New.
13434         (named_section): Use it and targetm.section_type_flags.
13435         (resolve_unique_section): New.
13436         (assemble_start_function): Use it.
13437         (asm_emit_uninitialised, assemble_variable): Likewise.
13438         (default_section_type_flags): New.
13439         (default_no_named_section, default_elf_asm_named_section): New.
13440         (default_coff_asm_named_section, default_pe_asm_named_section): New.
13441         * output.h: Update varasm.c decls.
13442         (SECTION_*): New flags.
13443
13444         * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
13445         (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
13446
13447         * config/elfos.h (UNIQUE_SECTION_P): Remove.
13448         * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
13449         * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
13450         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13451         * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
13452         * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
13453         * config/mips/elf.h, config/mips/elf64.h: Likewise.
13454         * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
13455         * config/pa/pa64-hpux.h,
13456
13457         * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
13458         (TARGET_ASM_NAMED_SECTION): New.
13459         * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
13460         * config/alpha/vms.h, config/arm/coff.h: Likewise.
13461         * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
13462         * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
13463         * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
13464         * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
13465         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13466         * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
13467         * config/i386/sco5.h, config/i386/win32.h: Likewise.
13468         * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
13469         * config/mcore/mcore.h, config/mips/elf.h: Likewise.
13470         * config/mips/elf64.h, config/mips/iris6.h: Likewise.
13471         * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
13472         * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
13473         * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
13474         * config/sparc/sysv4.h: Likewise.
13475
13476         * config/nextstep.h: Error until named sections implemented.
13477
13478         * config/a29k/a29k.c (a29k_asm_named_section): New.
13479         * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
13480         (vms_section_type_flags, vms_asm_named_section): New.
13481         * config/arm/arm.c (arm_elf_asm_named_section): New.
13482         * config/avr/avr.c (asm_output_section_name): Remove.
13483         * config/avr/avr-protos.h: Update.
13484         * config/c4x/c4x.c (c4x_asm_named_section): New.
13485         * config/h8300/h8300.c (h8300_asm_named_section): New.
13486         * config/i386/i386.c (sco_asm_named_section): New.
13487         * config/i386/winnt.c (SECTION_PE_SHARED): New.
13488         (i386_pe_section_type_flags): New.
13489         (i386_pe_asm_named_section): New.
13490         * config/i386/i386-protos.h: Update.
13491         * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
13492         * config/mcore/mcore.c (mcore_asm_named_section): New.
13493         * config/mips/mips.c (iris6_asm_named_section): New.
13494         * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
13495         instead of UNIQUE_SECTION_P.
13496         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
13497         (xcoff_asm_named_section): New.
13498         * config/sh/sh.c (sh_asm_named_section): New.
13499         * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
13500
13501         * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
13502         * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
13503         (EH_FRAME_SECTION_NAME): New.
13504         (EXCEPTION_SECTION): New.
13505         * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
13506         (DEBUG_*_SECTION): Remove.
13507         * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
13508         * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
13509         (EH_FRAME_SECTION_ASM_OP): Remove.
13510
13511         * doc/tm.texi (UNIQUE_SECTION_P): Remove.
13512         (ASM_OUTPUT_SECTION_NAME): Remove.
13513         (TARGET_ASM_NAMED_SECTION): New.
13514         (TARGET_HAVE_NAMED_SECTIONS): New.
13515         (TARGET_SECTION_TYPE_FLAGS): New.
13516         (EH_FRAME_SECTION_ASM_OP): Remove.
13517         (EH_FRAME_SECTION_NAME): New.
13518
13519 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
13520
13521         * builtins.c (fold_builtin_constant_p): Return integer_zero_node
13522         for complex expressions when cfun == 0.
13523         * doc/extend.texi: Document that __builtin_constant_p can be
13524         used in data initializers as well as functions.
13525
13526 2001-08-03  Alexandre Oliva  <aoliva@redhat.com>
13527
13528         * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
13529         variable I locally, instead of expecting a declaration in the
13530         calling context.
13531
13532 2001-08-03  Richard Henderson  <rth@redhat.com>
13533
13534         * except.c (collect_one_action_chain): Add an explicit cleanup
13535         action if regions surrounding a catch were encoded entirely
13536         within the call-site entry.
13537
13538 2001-08-03  Richard Henderson  <rth@redhat.com>
13539
13540         * dbxout.c (dbxout_symbol_location): Flatten subregs first;
13541         don't take REGNO of a non-register.
13542
13543 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13544
13545         * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
13546         __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
13547         (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
13548         (__gthread_mutex_init_function): New function for mutex initialization.
13549
13550 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
13551
13552         * Makefile.in: Revert screwed up commit.
13553
13554 2001-08-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13555
13556         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
13557         * config/m68hc11/larith.asm (_exit): Split in several sub-sections
13558         merged by linker script to get a final _exit().
13559         (__do_global_dtors): New for destructor handling in specific exit
13560         section.
13561         (__do_global_ctors): New for constructors in specific install section.
13562         (__map_data_section): Map data sections before running constructors.
13563         * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
13564         (CTORS_SECTION_ASM_OP): Define to put in readonly section.
13565         (DTORS_SECTION_ASM_OP): Likewise.
13566         (CTORS_SECTION_FUNCTION): Define to force a reference to
13567         __do_global_ctors.
13568         (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
13569
13570 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
13571
13572         * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
13573
13574         * Makefile.in: Add df.h to gcse.c dependencies.
13575
13576 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13577
13578         * varasm.c (output_constant_def_contents): Use for the length of a
13579         string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
13580         depending on which is larger.
13581
13582 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
13583
13584         * gcse.c: Include df.h for use as a dataflow analyzer.
13585         Remove regvec.
13586         Declaration of reg_set_info: gone.
13587         New df_analyzer variable used by store motion.
13588         (reg_set_info): Deleted.
13589         (mark_mem_regs): New function, analyze regs used by a mem.
13590         (store_ops_ok): Use dataflow analyzer results to determine if
13591         necessary regs are changed in the block.
13592         (find_moveable_store): Remove check for symbol ref, we can handle
13593         much more complex expressions now.
13594         (compute_store_table): Remove most of the code, it's unnecessary
13595         now that the dataflow analyzer records the info for us.
13596         (store_killed_after): Add parameter to say whether to do the
13597         store_ops_okay test, used to speed up testing when we already know
13598         the answer, and just want to know if the store itself was killed.
13599         (build_store_vector): Largely rewritten to calculate the various
13600         vectors properly, and somewhat optimized.
13601         (store_motion): Init the df_analyzer, get REG_DEF chains.
13602         Also handle trapping expressions (since mems almost always trap)
13603         (simple_mem): Redefine what a simple mem is.
13604
13605 2001-08-03  DJ Delorie  <dj@redhat.com>
13606
13607         * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
13608         set from a constant part of the condition.
13609
13610 2001-08-01  Andrew Cagney  <ac131313@redhat.com>
13611
13612         * mkdeps.c (deps_add_default_target): Make local variable
13613         ``start'' a const char pointer.
13614         * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
13615
13616 2001-08-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13617
13618         * doc/install.texi (Configuration): Fix markup.
13619         (Specific, i?86-*-udk): Likewise.
13620         (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
13621         --with-gnu-ld.
13622         Document --enable-threads and --enable-libgcj status.
13623         (Specific, mips-sgi-irix*): Canonicalize triples.
13624         (Specific, mips-sgi-irix5): Warn about problems with this config.
13625         Mention required GNU as patch.
13626         Native assembler problems are fixed.
13627         (Specific, mips-sgi-irix6): Update O32 ABI support status.
13628         Document --enable-threads and --enable-libgcj status.
13629
13630 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
13631
13632         * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
13633         of mkinstalldirs.
13634
13635 2001-08-03  Richard Henderson  <rth@redhat.com>
13636
13637         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
13638         constant data.
13639
13640 2001-08-03  Richard Henderson  <rth@redhat.com>
13641
13642         * rtlanal.c (find_first_parameter_load): Stop if we
13643         reach a CODE_LABEL at BOUNDARY.
13644
13645 2001-08-03  Richard Henderson  <rth@redhat.com>
13646
13647         * config/alpha/alpha.md (force_movdi): New insn.
13648         * config/alpha/alpha.c (alpha_expand_prologue): Use it.
13649         Tweek FRP marking of VMS prologue insns.
13650         * config/alpha/vms.h (EPILOGUE_USES): New.
13651
13652 2001-08-02  Richard Henderson  <rth@redhat.com>
13653
13654         * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
13655
13656 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
13657
13658         * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
13659         simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
13660         config/convex/convex.h, config/d30v/d30v.c,
13661         config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13662         config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
13663         config/mips/mips.h, config/mn10200/mn10200.h,
13664         config/mn10300/mn10300.h, config/pdp11/pdp11.md,
13665         config/v850/v850.h, config/vax/openbsd.h,
13666         config/vax/openbsd1.h, config/vax/ultrix.h,
13667         config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
13668         config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
13669         cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
13670         doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
13671         doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
13672         in comments and documentation.
13673
13674 2001-08-03  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
13675
13676         * line-map.c: New.
13677         * line-map.h: New.
13678         * Makefile.in (line-map.o): New.
13679         (LIBCPP_OBJS, LIBCPP_DEPS): Update.
13680         * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
13681         * cpperror.c (print_containing_files): Similarly.
13682         (print_location): Update.  Don't output a space before _Pragma.
13683         * cppfiles.c (stack_include_file): Set to line 1 immediately.
13684         (stack_include_filee, cpp_make_system_header): Update.
13685         (_cpp_execute_include): Get logical line number right for calling
13686         as-yet-unterminated #include.
13687         * cpphash.h (struct cpp_reader): Add line_maps.
13688         (_cpp_do_file_change): Update.
13689         * cppinit.c (cpp_create_reader): Initialize line maps.
13690         (cpp_destroy): Destroy line maps.
13691         (cpp_start_read): Get logical line number right.
13692         * cpplex.c (parse_string): Only warn once for multi-line strings.
13693         Use boolean variable for null warning.
13694         * cpplib.c (_cpp_handle_directive): End the directive if it isn't
13695         already.
13696         (do_include_common): End the directive early.
13697         (do_line): Don't warn about out-of-range lines in preprocessed
13698         source.  Update.  Remove unused variables.
13699         (_cpp_do_file_change): Update for new line mapping.
13700         (pragma_cb): New typedef.
13701         (cpp_register_pragma): Stop looking ahead before calling the
13702         handler.  Clean up.
13703         (do_pragma_system_header): End directive early.
13704         (cpp_get_line_maps): New.
13705         (cpp_pop_buffer): Fudge logical line.  Update.
13706         * cpplib.h: Include line-map.h
13707         (enum cpp_fc_reason): Remove.
13708         (struct cpp_file_change): Update.
13709         (cpp_get_line_maps): New.
13710         * cppmain.c (struct_printer): New member map.
13711         (cb_file_change): Update for new mappings.
13712         * fix-header.c (cb_file_change): Similarly.
13713
13714 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
13715
13716         * Makefile.in (libgcc.mk): Define mkinstalldirs.
13717         * mklibgcc.in: Use mkinstalldirs instead of mkdir.
13718
13719 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
13720
13721         * config/vax/vax.c: include expr.h.
13722
13723 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
13724
13725         * Makefile.in ($(srcdir)/configure): Only rebuild in
13726         maintainer mode.
13727         ($(srcdir)/config.in): Only define in maintainer mode.
13728         ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
13729
13730 2001-08-02  David Edelsohn  <edelsohn@gnu.org>
13731
13732         * doc/install.texi (Install GCC: Binaries): Update Bull info.
13733
13734 2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13735
13736         * gcc.c (set_collect_gcc_options): New function, split out from
13737         main.
13738         Ignore elided switches.
13739         (do_spec_1): Invoke before executing command.
13740         (set_input): Export.
13741         Move declaration ...
13742         * gcc.h (set_input): ... here.
13743         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13744         file.
13745
13746 2001-08-02  Nathan Sidwell  <nathan@codesourcery.com>
13747
13748         Kill -fhonor-std.
13749         * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
13750         interaction.
13751         * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
13752
13753 2001-08-02  Richard Sandiford  <rsandifo@redhat.com>
13754
13755         * mips.md (movdicc): Make conditional on TARGET_64BIT.  Likewise
13756         for the unnamed instructions it expands to.
13757
13758 2001-08-02  Richard Henderson  <rth@redhat.com>
13759
13760         * regclass.c (call_really_used_regs): Conditionally define.
13761         (init_reg_sets_1): Don't use it if not defined.
13762         (fix_register): Similarly, don't set it.
13763
13764 2001-08-01  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13765
13766         * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
13767         Correct comment that had been missed in the previous change.
13768
13769 2001-08-01  Stan Shebs  <shebs@apple.com>
13770
13771         * config/darwin.c (machopic_stub_name): Try matching by name.
13772         (update_stubs): New function.
13773         (darwin_encode_section_info):  Call it and update_non_lazy_ptrs
13774         unconditionally.
13775
13776 2001-08-01  Richard Henderson  <rth@redhat.com>
13777
13778         * except.c (output_function_exception_table): Use assemble_align.
13779         * varasm.c (assemble_eh_label): Remove.
13780         (assemble_eh_align, assemble_eh_integer): Remove.
13781
13782 2001-08-01  Robert Lipe  <robertl@caldera.com>
13783
13784         * dwarfout.c: Remove reference to README.DWARF.
13785
13786 2001-08-01  Andrew MacLeod  <amacleod@redhat.com>
13787
13788         * regclass.c (call_really_used_regs): New array for registers which
13789         are actually used by a call.
13790         (init_reg_sets_1): Initialize regs_invalidated_by_call with the
13791         new array.
13792         (fix_register): Set call_really_used too.
13793         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
13794         * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
13795
13796 2001-08-01  Richard Henderson  <rth@redhat.com>
13797
13798         * read-rtl.c (read_name): Consider \r whitespace.
13799
13800 2001-07-11  Andrew Cagney  <ac131313@redhat.com>
13801
13802         * config.gcc: Recognize powerpc-*-netbsd*.
13803
13804         * doc/install.texi (Host/target specific installation notes for
13805         GCC): Mention powerpc-*-netbsd*.
13806
13807         * config/rs6000/netbsd.h: New file.
13808         (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
13809         (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
13810         (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
13811         (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
13812         (TARGET_VERSION): Redefine.
13813
13814         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
13815         mcall-netbsd as a match for mcall-sysv.
13816         (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
13817         (ncrti.S, ncrtn.S): New targets.
13818         ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
13819
13820         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
13821         "netbsd' as a V4 ABI.
13822         (ASM_SPEC): Check for -mcall-netbsd.
13823         (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
13824         (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
13825         (LIB_SPEC, ENDFILE_SPEC): Ditto.
13826         (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
13827         (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
13828         (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
13829         (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
13830
13831         * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
13832         (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
13833
13834 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
13835
13836         * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
13837         only if NO_BASE_OF_ENCODED_VALUE isn't defined.
13838         * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
13839         including "unwind-pe.h".
13840
13841 Wed Aug  1 20:01:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
13842
13843         * rs6000.md (define_splits): Kill unused constraints.
13844
13845 Wed Aug  1 20:02:12 CEST 2001 Graham Stott  <grahams@redhat.com>
13846                               Jan Hubicka  <jh@suse.cz>
13847
13848         * function.c (thread_prologue_and_epilogue_insns): Kill code
13849         dealing with non-existent CFG.
13850
13851 2001-08-01  Kazu Hirata  <kazu@hxi.com>
13852
13853         * alias.c: Fix comment formatting.
13854         * bitmap.c: Likewise.
13855         * builtins.c: Likewise.
13856         * calls.c: Likewise.
13857         * c-common.c: Likewise.
13858         * c-decl.c: Likewise.
13859         * c-dump.c: Likewise.
13860         * c-lex.c: Likewise.
13861         * collect2.c: Likewise.
13862         * combine.c: Likewise.
13863         * conflict.c: Likewise.
13864         * cppfiles.c: Likewise.
13865         * cppinit.c: Likewise.
13866         * cpplex.c: Likewise.
13867         * cpplib.c: Likewise.
13868         * cppmacro.c: Likewise.
13869         * cppspec.c: Likewise.
13870         * c-pragma.c: Likewise.
13871         * crtstuff.c: Likewise.
13872         * cse.c: Likewise.
13873         * cselib.c: Likewise.
13874         * c-semantics.c: Likewise.
13875         * c-typeck.c: Likewise.
13876
13877 2001-08-01  H.J. Lu <hjl@gnu.org>
13878
13879         * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
13880
13881 2001-08-01  H.J. Lu <hjl@gnu.org>
13882
13883         * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
13884
13885 2001-08-01  Ziemowit Laski  <zlaski@apple.com>
13886
13887         * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
13888         contextualizing Objective-C class name lookup by the lexer.
13889         (typespec_reserved_nonattr): Disable ObjC class name lookup after
13890         seeing a TYPESPEC.
13891         (protocoldef): Add support for forward @protocol declarations.
13892         (yylexname): Suppress ObjC class name lookup in certain contexts;
13893         re-enable after lookup is complete.
13894         (_yylex): Re-enable ObjC class name lookup when certain
13895         punctuation marks are seen.
13896
13897         * objc/objc-act.c (check_protocol_recursively): New function used
13898         for finding circular dependencies in protocols.
13899         (objc_declare_protocols): New function for handling forward
13900         @protocol declarations.
13901         (receiver_is_class_object): Detect the case when 'self' is used
13902         inside of a class method.
13903         (build_message_expr): Issue a warning if class method is desired
13904         but instance method is found instead.
13905         (conforms_to_protocol): Streamline.
13906         (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
13907         protocol Foo, even if 'Bar foo' does not.
13908         (check_protocols): Streamline.
13909         (start_protocol): Add checks for circular and duplicate protocol
13910         definitions.
13911         (encode_aggregate_within): For typedefs of structs, encode the
13912         underlying struct.
13913         * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
13914         (objc_declare_protocols): New prototype.
13915
13916 2001-08-01  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
13917
13918         * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
13919         * cpplex.c (handle_newline): Update prototype.  Maintain logical
13920         line number.
13921         (skip_escaped_newlines, skip_block_comment, parse_string):
13922         Update accordingly.
13923         (_cpp_lex_token): Update, and store token position within the token.
13924         * cpplib.h (struct cpp_token): Add line and column entries.
13925         * cppmacro.c (replace_args): Position stringified tokens correctly.
13926
13927 2001-08-01  Andreas Jaeger  <aj@suse.de>
13928
13929         * basic-block.h: Add prototype for last_loop_beg_note.
13930
13931 2001-07-31  Alexandre Petit-Bianco  <apbianco@redhat.com>
13932
13933         * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
13934         RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
13935         comment.
13936         (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
13937         while handling WITH_CLEANUP_EXPR node. Use second operand calling
13938         expand_decl_cleanup.
13939         * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
13940         the first RTX.
13941         (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
13942         operand while calling simple_cst_equal.
13943         * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
13944         operand is the cleanup expression, the third is the RTL_EXPR.
13945         * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
13946
13947 2001-07-31  Jeff Sturm  <jsturm@one-point.com>
13948
13949         * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
13950
13951 2001-07-31  matthew green  <mrg@eterna.com.au>
13952
13953         * config.gcc (i386-*-netbsdelf): New description.
13954         * config/i386/netbsd-elf.h: New file.
13955
13956 2001-07-30  Geoffrey Keating  <geoffk@redhat.com>
13957
13958         * loop.c (check_dbra_loop): Use single_set to compute
13959         jump_label.
13960
13961 2001-07-31  Daniel Berlin  <dan@cgsoftware.com>
13962
13963         PowerPC reorg and support for powerpc64-*-linux*.
13964
13965         Also fixes emitting of constants on 32 bit and 64 bit
13966         platforms.
13967
13968         * config.gcc: powerpc64-*-linux* is a new target.
13969         Things that needed aix.h now also include xcoff.h
13970
13971         * config/rs6000/rs6000.h: Split XCOFF specific stuff into
13972         xcoff.h.
13973         Move AIX specific stuff into aix.h.
13974         (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
13975         with more than just XCOFF now.
13976         (SET_ASM_OP): Remove, now defined where needed.
13977         (FUNCTION_PROLOGUE): New macro definition.
13978         (FUNCTION_EPILOGUE): New macro definition.
13979         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
13980
13981         * config/rs6000/xcoff.h: New file.
13982
13983         * config/rs6000/linux64.h: New file.
13984
13985         * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
13986
13987 2001-07-31  Alan Modra  <amodra@bigpond.net.au>
13988
13989         * rs6000.c (print_operand_address): Handle ELF syntax.
13990         (output_toc): Simplify.  Use DOUBLE_INT_ASM_OP.
13991         * rs6000.md (load_toc_aix_di): Handle ELF syntax.
13992         * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
13993
13994 2001-07-31  David Edelsohn  <edelsohn@gnu.org>
13995
13996         * rs6000.c (rs6000_override_options): Only disable
13997         flag_function_sections for XCOFF.
13998         (exact_log2_cint_operand): New predicate.
13999         (reg_or_{add,sub}_cint64_operand): New predicates.
14000         (add_operand): Compare CONST_INT with fewer function calls.
14001         (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
14002         (print_operand, case 'p'): Ensure positive operand.
14003         (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
14004         * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
14005         (PREDICATE_CODES): Add new predicates.
14006         * rs6000.md (addsi3): Split 32-bit constants more correctly.
14007         (divsi3, modsi3): Ensure positive power-of-2.
14008         (adddi3): Use new predicate.  Split 32-bit constants more
14009         correctly.  Re-arrange splitter to handle any constant.
14010         (subdi3): Use new predicate.
14011         (divdi3, moddi3): Ensure positive power-of-2.
14012         (movdi): Use rs6000_emit_set_const.
14013         (load_toc_v4_pic_di): Delete.
14014
14015 2001-07-31  Graham Stott <grahams@redhat.com>
14016
14017         * function.c (pad_below): Revert 2001-07-26 patch.
14018
14019 Tue Jul 31 15:37:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
14020
14021         * reg-stack (convert_regs_1): Fix best edge condition.
14022
14023 Tue Jul 31 15:33:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
14024
14025         * jump.c (duplicate_loop_exit_test): Better test for jumps
14026         entering the loop; create loop pre_header.
14027
14028 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
14029
14030         * doc/install.texi: Add s390 and s390x as new targets.
14031         * doc/invoke.texi: Add documentation of S/390 and zSeries
14032         target options.
14033         * doc/md.texi: Add documentation of S/390 and zSeries constraints.
14034
14035 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
14036
14037         * config/m68k/m68k.md: Replace all general_operand with
14038         nonimmediate_operand for all destinations.
14039         * config/m68k/m68k.c (not_sp_operand): Likewise.
14040
14041 Mon Jul 30 23:20:34 EDT 2001  John Wehle  (john@feith.com)
14042
14043         * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
14044
14045 2001-07-30  Richard Henderson  <rth@redhat.com>
14046
14047         * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
14048         * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
14049
14050 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
14051
14052         * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
14053         Add missing doc strings
14054         * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
14055         * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
14056
14057 Mon Jul 30 22:16:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
14058
14059         * i386.c (ix86_output_main_function_alignment_hack): New function.
14060         (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
14061
14062         * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
14063         edges by EDGE_DFS_BACK flag.
14064         (dump_edge_info): Add dfs_back flag.
14065         * basic-block.h (EDGE_DFS_BACK): New constant.
14066         (mark_dfs_back_edges): Declare.
14067         * alias.c (loop_p): Remove.
14068         (mark_constant_function): Use mark_dfs_back_edges.
14069
14070         * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
14071         (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
14072         (compensate_edge): Break out from ...
14073         (convert_regs_1): ... here; do smart choosing of stack_out to copy.
14074         (convert_regs_2): Set block_done once block is really done;
14075         Do updating of the predecessors counts.
14076
14077         * toplev.c (rest_of_compilation): Recompute block_for_insn
14078         before post-reload cfg_cleanup.
14079         * function.c (thread_prologue_epilogue_insns):
14080         Call set_block_for_new_insns when emitting prologue directly.
14081
14082 2001-07-30  Andreas Jaeger  <aj@suse.de>
14083
14084         * jump.c: Add prototype for mark_modified_reg.
14085
14086         * cse.c (set_live_p): Add unused attribute.
14087
14088         * gcov.c (calculate_branch_probs): Use gcov_type to avoid
14089         overflow.
14090         (scan_for_source_files): Use long for count to avoid overflow.
14091         (output_data): Likewise.
14092         (output_data): Don't use string concatatenation to silence gcc
14093         -traditional.
14094
14095         * predict.c: Fix typos and grammar.
14096
14097         * gcse.c (insert_insn_end_bb): Remove unused variables.
14098
14099 Mon Jul 30 21:54:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
14100
14101         * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
14102         (attempt_auto_inc): LIkewise.
14103         (mark_used_reg): Likewise.
14104         (try_pre_increment_1): Likewise.
14105         * regclass.c (regclass): Likewise.
14106         * global.c (allocno_compare): Update comment; change scaling factor.
14107         * local-alloc.c (QTY_CMP_PRI): Likewise.
14108         * regs.h (REG_FREQ_FROM_BB): New.
14109         (REG_FREQ_MAX): Likewise.
14110
14111 2001-07-30  H.J. Lu <hjl@gnu.org>
14112
14113         * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
14114         -D_GNU_SOURCE.
14115
14116 2001-07-30  H.J. Lu  (hjl@gnu.org)
14117
14118         * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
14119         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
14120         (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
14121
14122 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
14123
14124         * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
14125         as -mthumb-interwork when -mcpu=arm7 is specified.
14126
14127 Mon Jul 30 17:44:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
14128
14129         * predict.def (noreturn, loop branch, loop exit): Mark as first
14130         match heuristics.
14131
14132 Mon Jul 30 12:52:11 CEST 2001  Jan Hubicka  <jh@suse.cz>
14133
14134         * combine.c (try_combine): Avoid barrier after noop jumps.
14135
14136 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
14137
14138         * cpphash.h (struct cpp_reader): Remove import_warning.
14139         * cpplib.c (skip_rest_of_line): Don't bother turning off
14140         macro expansion.
14141         (parse_include): Move include handling to...
14142         (do_include_common): ... here.  Move import warning from...
14143         (do_import): ... here.
14144         (do_pragma_poison): Don't do a callback for poison identifiers.
14145         * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
14146         * cppmain.c (setup_callbacks): Similarly.
14147
14148 Sun Jul 29 23:26:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
14149
14150         * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
14151         handle multiple sets.
14152         * except.c (sjlj_mark_call_sites): .... here.
14153         * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
14154
14155 Sun Jul 29 21:38:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
14156
14157         Suggested by Richard Henderson and Richard Kenner:
14158         * combine.c (recog_for_combine): Use the fake recog
14159         only if instruction does not match.
14160         * rtl.h (NOOP_MOVE_INSN_CODE): New.
14161         * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
14162
14163         * combine.c (try_combine): Discover noop jump as direct jump.
14164
14165 2001-07-29  Daniel Berlin  <dan@cgsoftware.com>
14166
14167         * df.c (df_rd_global_compute): Add successors to worklist, not
14168         current item.
14169         (df_ru_global_compute): Ditto.
14170
14171 2001-07-27  Daniel Berlin  <dan@cgsoftware.com>
14172
14173         * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
14174         increment REG_N_SETS.
14175
14176 2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
14177
14178         * sbitmap.h: New prototype for sbitmap_a_xor_b.
14179
14180         * sbitmap.c (sbitmap_a_xor_b): New function.
14181         ifdef the basic block stuff on IN_GCC.
14182
14183 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
14184
14185         * cppexp.c (parse_defined): Always record the macro name.
14186         (lex): Don't worry about identifiers, or special-case
14187         CPP_NOT here.
14188         (_cpp_parse_expr): Figure out at the end of the routine
14189         whether we saw a valid !defined() expression.
14190         * cppfiles.c (stack_include_file): Update for mi_valid.
14191         (_cpp_pop_file_buffer): Similarly.
14192         * cpplex.c (_cpp_lex_token): Similarly.
14193         * cpphash.h (enum mi_state, enum mi_ind, mi_state,
14194         mi_if_not_defined, mi_lexed): Remove.
14195         (mi_valid): New.
14196         * cpplib.c (do_if): Simplify.
14197         (do_endif, push_conditional, _cpp_handle_directive): Update
14198         for renaming of mi_state to mi_valid.
14199 doc:
14200         * cpp.texi: Add index entries for digraphs, and add comment
14201         that C++ refers to them as alternative tokens.
14202
14203 Sun Jul 29 18:59:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
14204
14205         * basic-block.h (CLEANUP_PRE_LOOP): New.
14206         * except.c (finish_eh_generation): Update call of cleanup_cfg.
14207         * sibcall.c (optimize_sibling_calls): Likewise.
14208         * toplev.c (rest_of_compilation): Likewise.
14209         * flow.c (try_forward_edges): Take argument MODE;
14210         do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
14211         (try_optimize_cfg): Update call of try_forward_edges.
14212
14213 Sun Jul 29 18:59:56 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
14214                                 Jan Hubicka  <jh@suse.cz>
14215
14216         * (validate_replace_rtx_1): Fix simplification of MINUS.
14217
14218 2001-07-29  Neil Booth  <neil@daikokuya.demon.co.uk>
14219
14220         PR preprocessor/3669
14221         * cppinit.c (init_dependency_output): Turn off dump requests
14222         if sending dependencies to stdout.
14223
14224 2001-07-28  Richard Henderson  <rth@redhat.com>
14225
14226         * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
14227         not optimizing.
14228
14229 2001-07-28  Golubev I. N.  <gin@mo.msk.ru>
14230
14231         * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
14232
14233 2001-07-28  Kazu Hirata  <kazu@hxi.com>
14234
14235         * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
14236         is VAR_DECL first to prevent an ICE.
14237
14238 2001-07-28  Richard Henderson  <rth@redhat.com>
14239
14240         * varasm.c (immed_real_const_1): Don't elide special cases for
14241         nested functions.
14242         (clear_const_double_mem): Clear const_tiny_rtx too.
14243
14244 2001-07-28  Richard Henderson  <rth@redhat.com>
14245
14246         * dwarf2out.c (dw_val_class_offset): New.
14247         (struct dw_ranges_struct, dw_ranges_ref): New.
14248         (ranges_table, ranges_table_allocated): New.
14249         (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
14250         (add_AT_offset, add_ranges, output_ranges): New.
14251         (print_die, output_die): Handle dw_val_class_offset.
14252         (attr_checksum, size_of_die, value_format): Likewise.
14253         (gen_lexical_block_die): Handle non-contiguous blocks.
14254         (gen_block_die): Likewise.
14255         (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
14256         if needed.  Dump the ranges table.
14257         * final.c (final_start_function): Remove unnecessary notes and
14258         rebuild the block tree before numbering the blocks.
14259         * function.c (reorder_blocks_0): Walk the existing block tree
14260         to unmark all blocks.
14261         (reorder_blocks_1): Create block fragments when duplicate block
14262         notes are seen.
14263         (reorder_fix_fragments): New.
14264         (reorder_blocks): Call it.
14265         * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
14266
14267 2001-07-28  Richard Henderson  <rth@redhat.com>
14268
14269         * emit-rtl.c (adjust_address): Make a copy of the memory address.
14270
14271 2001-07-28  Richard Henderson  <rth@redhat.com>
14272
14273         * flow.c (add_to_mem_set_list): New function.
14274         (init_propagate_block_info): Use it.
14275         (mark_set_1): Likewise.
14276         (insn_dead_p): Canonicalize memory address for dead store
14277         comparison.  Allow wider mode stores to kill narrower mode stores.
14278         (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
14279         (invalidate_mems_from_set): Don't handle MEMs.
14280
14281 2001-07-28  Kazu Hirata  <kazu@hxi.com>
14282
14283         * config/h8300/h8300.h: Fix formatting.
14284
14285 Sat Jul 28 23:35:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
14286
14287         * basic-block.h (EDGE_FREQUENCY): New macro.
14288         * bb-reorder (fixup_reorder_chain): Set counts and frequencies
14289         for new BB/edges.
14290         * flow.c (find_sub_basic_blocks): Likewise.
14291         (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
14292         (redirect_edge_and_branch): Use EDGE_FREQUENCY.
14293
14294         * predict.c (DEF_PREDICTOR): New argument FLAGS.
14295         (HITRATE): New macro.
14296         (PRED_FLAG_FIRST_MATCH): New constant.
14297         (predictor_info): New field flgags.
14298         (combine_predictions_for_insn): Use DS theory to combine
14299         probabilities; set the edge probabilities when finished.
14300         (estimate_probability): Avoid duplicated matches
14301         of LOOP_BRANCH heuristics for nested loops; update comment.
14302         * predict.def: Add flags for each prediction, set probabilities
14303         according to B&L paper.
14304         * predict.h (DEF_PREDICTOR): New argument FLAGS.
14305
14306         * profile.c (compute_branch_probabilities):  Cleanup way the edge
14307         probabilities are computed and REG_BR_PROB notes are dropped; if
14308         values does not match, emit error.
14309         (init_branch_prob): Do error instead of warning when profile driven
14310         feedback is missing or corrupt.
14311
14312 2001-07-27  DJ Delorie  <dj@redhat.com>
14313
14314         * ifcvt.c (noce_get_alt_condition): If the condition is a compare
14315         against a constant, try to adjust the compare to have the desired
14316         constant in it so that min/max optimizations happen more often.
14317
14318 Fri Jul 27 17:53:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
14319
14320         * flow.c (last_loop_beg_note): New function.
14321         (redirect_edge_and_branch): Use it.
14322         (split_edge): Likewise.
14323
14324         * alias.c (loop_p): Avoid uninitialized memory access.
14325
14326         * flow.c (try_forward_edges): Avoid accessing freed memory.
14327
14328         * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
14329         variable access.
14330
14331 2001-07-26  Andrew Haley  <aph@redhat.com>
14332         Joern Rennecke <amylaar@redhat.com>
14333
14334         * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
14335         (SUBTARGET_CPP_ENDIAN_SPEC): New.
14336         (SUBTARGET_CPP_SPEC): New.
14337         (CPP_SPEC): Remove.
14338         * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
14339         (SUBTARGET_CPP_PTR_SPEC): New.
14340         (CPP_DEFAULT_CPU_SPEC): New.
14341         (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
14342         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
14343         (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
14344         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
14345         (SUBTARGET_CPP_SPEC): Define as an empty string.
14346
14347 2001-07-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14348
14349         * doc/install.texi (Configuration): Properly link the host
14350         specific instructions also when generating HTML.
14351
14352 Fri Jul 27 00:33:35 EDT 2001  John Wehle  (john@feith.com)
14353
14354         * flow.c (redirect_edge_and_branch_force): Test
14355         target->global_live_at_start.
14356
14357 2001-07-26  Richard Henderson  <rth@redhat.com>
14358
14359         * simplify-rtx.c (avoid_constant_pool_reference): Export.
14360         * rtl.h (avoid_constant_pool_reference): Declare it.
14361         * dwarf2out.c (add_location_or_const_value_attribute): Use it.
14362         (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
14363
14364 Thu Jul 26 22:30:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
14365
14366         * rtl.h (cleanup_barriers): Declare.
14367         * jump.c (cleanup_barriers): New function.
14368         * toplev.c (rest_of_compilation): Call cleanup_barriers
14369         before loop optimizer and after bb_reorder.
14370
14371         * flow.c (back_edge_of_syntactic_loop_p): New.
14372         (split_edge): Use it.
14373
14374 2001-07-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14375
14376         * glimits.h (_MACH_MACHLIMITS_H_): Delete.
14377
14378 Thu Jul 26 22:22:21 2001  Denis Chertykov  <denisc@overta.ru>
14379
14380         * cse.c (cse_process_notes): Replace any registers if the address
14381         remains valid.
14382
14383 Thu Jul 26 14:04:03 EDT 2001  John Wehle  (john@feith.com)
14384
14385         * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
14386         (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
14387         (propagate_block): Update prototype.
14388         * flow.c (update_life_info): Simplify the CFG and
14389         recalculate the global regs which are alive when
14390         removing dead code during a global update.
14391         (propagate_block): Return non-zero if an INSN is
14392         deleted.
14393
14394 2001-07-26  Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14395
14396         * Makefile.in (LIBICONV): Define.
14397
14398 2001-07-26  Catherine Moore  <clm@redhat.com>
14399
14400         * config/v850/v850.h (ENCODE_SECTION_INFO):  Change order
14401         of conditional to avoid tree checking errors.
14402
14403 2001-07-26  Kazu Hirata  <kazu@hxi.com>
14404
14405         * regmove.c (regmove_optimize): Don't replace a reg with
14406         another reg of a different mode.
14407
14408 2001-07-26  Andrew MacLeod  <amacleod@redhat.com>
14409
14410         * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
14411         limit length of dependency flush list.
14412         * params.h (MAX_PENDING_LIST_LENGTH): Define.
14413         * sched-int.h  (struct deps): Add pending_flush_length field.
14414         * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
14415         has 1 element in it.
14416         (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
14417         (sched_analyze): After a jump, if the pending memory flush list is too
14418         large, flush the pending lists.
14419         (init_deps): Initialize pending_flush_length to 0.
14420         * doc/invoke.texi (max_pending_list_length): Document parameter.
14421
14422 2001-07-26  Neil Booth  <neil@daikokuya.demon.co.uk>
14423
14424         * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
14425         * dbxout.c (dbxout_global_decl): Move outside #ifdef.
14426         * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
14427
14428 2001-07-26  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
14429
14430         * cpphash.h (struct_lexer_state): Delete was_skipping.
14431         Move skipping here from struct cpp_reader.
14432         * cpplex.c (parse_identifier): Update.
14433         (_cpp_lex_token): Don't skip tokens in a directive.
14434         * cpplib.c (struct if_stack): Update.
14435         (start_directive, end_directive): Don't change skipping state.
14436         (_cpp_handle_directive): Update.
14437         (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
14438         (do_else, do_endif): Update; only check for excess tokens if not
14439         in a skipped conditional block.
14440         (push_conditional): Update for new struct if_stack.
14441
14442 2001-07-26  Graham Stott  <grahams@redhat.com>
14443
14444         * function.c (locate_and_pad_parm): Also pad initial offset
14445         so that the total argument size also includes the padding.
14446
14447 2001-07-26  Graham Stott <grahams@redhat.com>
14448
14449         * gensupport.c (alter_output_for_insn): Correct enable checking failure
14450         change XSTR to XTMPL.
14451
14452         (process_one_cond_exec): Likewise
14453
14454 2001-07-25  Richard Henderson  <rth@redhat.com>
14455
14456         * varasm.c (assemble_variable): Create DECL_RTL before setting
14457         TREE_ASM_WRITTEN.
14458
14459 Thu Jul 26 00:19:30 CEST 2001  Jan Hubicka  <jh@suse.cz>
14460
14461         * predict.c (estimate_probability): Avoid duplicated predictions.
14462
14463         * loop.c (find_and_verify_loops): Grok multiple barriers.
14464
14465 Wed Jul 25 18:00:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14466
14467         * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
14468
14469         * dbxout.c: Consistently use putc instead of fputc.
14470         (print_wide_int): New function; call instead of direct fprintf.
14471         (dbxout_type_index): Adjust calls of CHARS to be more accurate.
14472         (dbxout_type_fields, dbxout_type_method_1): Likewise.
14473         (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
14474         (print_int_cst_octal): Likewise.
14475         (print_octal): Show we wrote characters.
14476         (dbxout_type): Set have_used_extensions in more places.
14477
14478 2001-07-25  Catherine Moore  <clm@redhat.com>
14479
14480         * config/v850/v850.c (v850_va_arg):  Use addr
14481         instead of valist to build incr.
14482
14483 Wed Jul 25 22:48:59 CEST 2001  Jan Hubicka  <jh@suse.cz>
14484
14485         * flow.c (delete_dead_jumptables): New function.
14486         (life_analyzis): Call it.
14487         * bb-reorder.c (skip_insns_after_block): Handle contradictory
14488         sequences.
14489
14490 2001-07-25  Richard Henderson  <rth@redhat.com>
14491
14492         * except.c (reachable_handlers): Handle a region being removed
14493         out from under a RESX.
14494
14495 2001-07-25  Richard Henderson  <rth@redhat.com>
14496
14497         * config/alpha/alpha.c (alpha_emit_conditional_move): Always
14498         swap GE/GT if it is an fp comparison.
14499
14500 2001-07-25  Andrew Haley  <aph@cambridge.redhat.com>
14501
14502         * alias.c (rtx_equal_for_memref_p): Allow strings as types in
14503         operands.
14504
14505 Wed Jul 25 08:25:01 2001  Jeffrey A Law  (law@cygnus.com)
14506
14507         * ssa.c (rename_insn_1): Do not wrap an assignment to a
14508         paradoxical SUBREG inside a SEQUENCE.  Fix minor formatting
14509         glitch.
14510
14511         * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
14512         throw an exception.
14513         (visit_expression): When attempting to simplify an expression,
14514         retrieve any modes for arguments before they are simplified
14515         to constants.
14516
14517 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
14518             Janis Johnson  <janis@us.ibm.com>
14519
14520         * stmt.c (expand_goto): A nonlocal goto can be a call too.
14521         * builtins.c (expand_builtin_longjmp): Reverse label and static chain
14522         pointer parameters to match documented usage of nonlocal_goto.
14523         * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
14524         parameters to their correct order.
14525         * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
14526         parameters to their correct order.
14527
14528 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
14529
14530         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
14531
14532 2001-07-25  Jan Hubicka  <jh@suse.cz>
14533             Richard Henderson  <rth@redhat.com>
14534
14535         * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
14536         the sequence.
14537         (make_edges): New argument update_p; populate the edge cache if set.
14538         (find_basic_blocks): Update make_edges invocation.
14539
14540 2001-07-24  Joel Sherrill <joel@OARcorp.com>
14541
14542         * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
14543
14544 2001-07-24  Joel Sherrill <joel@OARcorp.com>
14545
14546         * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
14547         -Acpu and -Amachine.h.
14548         * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
14549         Corrected header to say ELF not a.out.
14550         * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
14551         when given -msoft-float.
14552
14553 2001-07-24  Joel Sherrill <joel@OARcorp.com>
14554
14555         * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
14556         extra multilib parts like arm-elf.
14557         (i960-*-coff*, i960-*-rtems): Should not use collect2.
14558         (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
14559         crtfini.o as extra multilib parts.
14560
14561 2001-07-24  Joel Sherrill <joel@OARcorp.com>
14562
14563         * configure.in: Add rtems as a supported thread model.
14564         * gthr-rtems.h: Add missing entry point __gthread_active_p.
14565         * configure: Rebuilt.
14566
14567 2001-07-24  Lars Brinkhoff  <lars@nocrew.org>
14568
14569         * stor-layout.c (get_mode_alignment): make it work when
14570         BITS_PER_UNIT is not a power of two.
14571         * builtins.c (get_pointer_alignment): Likewise.
14572
14573 2001-07-24  Richard Henderson  <rth@redhat.com>
14574
14575         * simplify-rtx.c (avoid_constant_pool_reference): Coerce
14576         the retrieved constant into the expected mode.
14577
14578 Wed Jul 25 01:41:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
14579
14580         * flow.c (try_simplify_condjump): Avoid duplicated edges.
14581         (verify_flow_info): Check for duplicated edges; clarify
14582         error reporting.
14583
14584         * flow.c (block_label): Update basic_block_for_insn.
14585         (commit_edge_insertions): Call compute_bb_for_insn.
14586
14587         * flow.c (purge_dead_edges): Handle conditional jumps and conditional
14588         returns too.
14589
14590         * flow.c (redirect_edge_and_branch,
14591         try_optimize_cfg): Use redirect_edge_succ_nodup
14592         (redirect_edge_succ_nodup): New.
14593         * basic_block.h (redirect_edge_succ_nodup): Declare.
14594
14595         * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
14596         after gcse.
14597
14598 Wed Jul 25 00:32:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
14599
14600         * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
14601         (try_crossjump_to_edge): Update commetns.
14602         (try_crossjump_bb): Likewise.
14603
14604 2001-07-24  Richard Henderson  <rth@redhat.com>
14605
14606         * combine.c (distribute_notes): Move set of need_refresh
14607         for noop_move_p down to catch all cases.
14608
14609 Tue Jul 24 20:32:44 CEST 2001  Jan Hubicka  <jh@suse.cz>
14610
14611         * recog.c (split_all_insns_noflow): New.
14612         * rtl.h (split_all_insns_noflow): Declare.
14613         * ia64.c (ia64_reorg): Use split_all_insns_noflow.
14614         * m68hc11.c (m68hc11_reorg): Likewise.
14615         * sh.c (machine_dependent_reorg): Likewise.
14616         * toplev.c (rest_of_compilation): Likewise for last split_all_insns
14617         call.
14618
14619 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
14620
14621         * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
14622         (ashlsi3_n splitter): Likewise.
14623         (lshrsi3_n splitter): Likewise.
14624
14625         (GOTaddr2picreg): Make const SImode.
14626         (sym_label2reg): Likewise.
14627         (symGOT2reg): Likewise.
14628         (symGOTOFF2reg) Likewise.
14629
14630         (casesi_worker_0): Make unspec SImode.
14631
14632 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
14633
14634         * config/sh/sh.c (barrier_align): Check that an operand really is
14635         an insn before extracting its INSN_CODE.
14636
14637 2001-07-24  Andrew Haley  <aph@cambridge.redhat.com>
14638
14639         * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
14640         dangling else.
14641
14642         * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
14643         for SImode to prevent overflow.
14644
14645 2001-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14646
14647         * config/mips/irix6-libc-compat.c: New file.
14648         * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
14649         * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
14650         passing workaround.
14651
14652 2001-07-24  lars brinkhoff  <lars@nocrew.org>
14653
14654         * rtl.texi (REG_POINTER): Document.
14655         (Machine Modes): Document BImode, OImode, PQImode, PHImode,
14656         QFmode, HFmode, TQFmode, QCmode, and HCmode.
14657
14658 Tue Jul 24 10:49:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
14659
14660         * flow.c (delete_noop_moves): Do not confuse libcall regions.
14661
14662 2001-07-23  Richard Henderson  <rth@redhat.com>
14663
14664         * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
14665
14666 2001-07-23  Kazu Hirata  <kazu@hxi.com>
14667
14668         * config/h8300/h8300-protos.h: Add a prototype for
14669         general_operand_dst_push.
14670         * config/h8300/h8300.c (general_operand_dst_push): New.
14671         * config/h8300/h8300.h (OK_FOR_T): New.
14672         (EXTRA_CONSTRAINT): Use it.
14673         * config/h8300/h8300.md (movqi_push): Remove and integrate into
14674         the existing movqi pattern.
14675         (movhi_push): Likewise.
14676
14677         * reload.c: Fix comment typos.
14678
14679 Mon Jul 23 23:34:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
14680
14681         * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
14682
14683 2001-07-23  H.J. Lu  (hjl@gnu.org)
14684
14685         * doc/extend.texi: Update __builtin_return_address and
14686         __builtin_frame_address.
14687
14688 2001-07-23  Richard Henderson  <rth@redhat.com>
14689
14690         * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
14691         before CSE.
14692         * config/i386/i386.md: New setcc+movzbl peephole2.
14693
14694 2001-07-23  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
14695
14696         * objc/Make-lang.in (objc-act.o): Depend on debug.h.
14697         * objc/objc-act.c: Include debug.h.
14698         (synth_module_prologue): Save and restore debug hooks too.
14699
14700 2001-07-23  lars brinkhoff  <lars@nocrew.org>
14701
14702         * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
14703         and C4X_FLOAT_FORMAT.
14704         (BOOL_TYPE_SIZE): Document.
14705
14706 Mon Jul 23 11:54:23 2001  Clinton Popetz  <cpopetz@cpopetz.com>
14707
14708         * unroll.c (loop_iterations): Fix miscalculation of initial
14709         giv offset.
14710
14711 2001-07-13  Andrew Haley  <aph@redhat.com>
14712
14713         * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
14714         * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
14715         * config/sh/sh.c (sh_can_redirect_branch): New function.
14716         * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
14717         * reorg.c (steal_delay_list_from_target): Use
14718         MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
14719
14720 Mon Jul 23 17:20:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
14721
14722         * flow.c (try_simplify_condjump): Unlink insn chain on
14723         fallthru edge; use can_fallthru.
14724
14725 Mon Jul 23 16:03:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
14726
14727         * basic-block.h (find_sub_basic_block): Declare.
14728         * flow.c (make_edges): New arguments MIN and MAX;
14729         (find_sub_basic_blocks): Revamp to use make_edges
14730         and purge_dead_edges.
14731         (find_basic_blocks): Update call of find_sub_basic_block.
14732
14733         * recog.c (split_all_insns): Always expect CFG to be consistent;
14734         call find_sub_basic_blocks in case something has changed.
14735         * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
14736         has been built.
14737
14738         * basic-block.h (delete_noop_moves): Declare.
14739         * combine.c (combine_instructions): Call it.
14740         (recog_for_combine): Tolerate noop moves
14741         (distribute_notes): Force refresh when register dies at noop move.
14742         * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
14743         too.
14744         (life_analysis): Update delete_noop_moves call.
14745         (set_noop_p): Move too ...
14746         * rtlanal.c (noop_move_p): ... here.
14747         * rtl.h (noop_move_p): Declare.
14748
14749         * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
14750         * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
14751         after combine.
14752         * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
14753         (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
14754
14755 2001-07-23  Hans-Peter Nilsson  <hp@bitrange.com>
14756
14757         * reload.c (push_reload): Fix typo in comment.
14758         (find_reloads_address): Ditto.
14759         (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
14760
14761 2001-07-22  Richard Henderson  <rth@redhat.com>
14762
14763         * flow.c: Grammar check and clarify a lot of comments.
14764         (try_simplify_condjump): Rename variables to be clearer.
14765         (try_forward_edges): Skip complex and fallthru edges.
14766         Rearrange tests to avoid duplicate checks.
14767         (flow_find_cross_jump): Likewise.
14768         (outgoing_edges_match): Allow match if neither branch has
14769         probability data.  Loosen probability match to 5%.
14770         (try_crossjump_to_edge): Hoist repeated indirection into
14771         local variables.
14772         (try_crossjump_bb): Don't check complex edges.  Eliminate
14773         redundant crossjump tests.
14774         (try_optimize_cfg): Fix use of bool.  Reorganize cheaper
14775         checks before more expensive checks.
14776
14777 2001-07-22  Richard Henderson  <rth@redhat.com>
14778
14779         * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
14780         INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
14781         arguments.
14782
14783 2001-07-22  Richard Henderson  <rth@redhat.com>
14784
14785         * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
14786         (const_sint32_operand): Likewise.
14787         * m68k.md (anon mulsi pattern): Use const_int_operand not
14788         const_sint32_operand.
14789         (umulsi3_highpart): Zero extend a constant input.
14790         (smulsi3_highpart): Don't bother checking SImode constant.
14791         (const_umulsi3_highpart): Give op3 DImode.
14792         (const_smulsi3_highpart): Likewise.
14793
14794 2001-07-22  Richard Henderson  <rth@redhat.com>
14795
14796         * flow.c (split_block): Make sure bb_note is included in the
14797         new block when splitting before a label.
14798
14799 Sun Jul 22 23:28:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
14800
14801         * basic-block.h (redirect_edge_and_branch_force,
14802         redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
14803         * flow.c (redirect_edge_and_branch_force,
14804         redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
14805         (redirect_edge_and_branch_force): Fix copying of lifeness information.
14806         (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
14807         * ifcvt.c (dead_or_predictable): Take BB as an new destination
14808         instead of label; update CFG after transformation.
14809         (find_if_case_1): Update call, use redirect_edge_and_branch_force
14810         for finishing the transformation; handle even case where ELSE
14811         does not follow THEN.
14812         (find_if_case_2): Update call of dead_or_predictable; simplify
14813         CFG update.
14814
14815         * emit-rtl.c (split_branch_probability): New global variable.
14816         (try_split): Take care to set split_branch_probability and
14817         create REG_BR_PROB note for new jump insns.
14818         * md.texi (define_split): Document new feature.
14819
14820         * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
14821
14822 2001-07-22  Neil Booth  <neil@daikokuya.demon.co.uk>
14823
14824         * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
14825         (asm_out_file): Remove redundant declaration.
14826         (assemble_asm): Remove old #if 0 block.
14827         (assemble_variable): Remove end of function; debug output is
14828         now handled with global_decl.  Remove old #if 0 block.  Update.
14829         Remove saved_in_section and associated no-op code.
14830         * Makefile.in (varasm.o): Correct dependencies.
14831
14832 Sun Jul 22 17:55:11 2001  Alexandre Oliva  <aoliva@redhat.com>
14833
14834         * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
14835         the definition in defaults.h.
14836
14837 Sun Jul 22 21:31:04 CEST 2001  Jan Hubicka  <jh@suse.cz>
14838
14839         * jump.c: Update comments.
14840         (delete_barrier_successors, delete_unreferenced_labels,
14841         delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
14842         delete_labelref_insn, redirect_tablejump, jump_optimize_1,
14843         jump_optimize, jump_optimize_minimal): Kill.
14844         (rebuild_jump_labels): Move code from jump_optimize_1.
14845         (purge_line_number_notes): Likewise.
14846         (copy_loop_headers): Likewise.
14847         * reg-stack.c: Update comment.
14848         * stmt.c: Likewise.
14849         * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
14850         JUMP_AFTER_REGSCAN): Kill.
14851         * toplev.c (rest_of_compilation): Use cleanup_cfg, call
14852         purge_line_number_notes and copy_loop_headers.
14853
14854 2001-07-22 Neil Booth  <neil@daikokuya.demon.co.uk>
14855            Richard Henderson  <rth@redhat.com>
14856
14857         * dbxout.c (dbxout_global_decl): New.
14858         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14859         * sdbout.c (sdbout_finish): New.
14860         (sdbout_debug_hooks): Use it, add comments.
14861         (sdbout_global_decl): Defer initialised public vars to
14862         sdbout_finish.
14863         * varasm.c (assemble_variable): Don't output debug information
14864         for file-scope variables.
14865
14866 2001-07-22  Richard Henderson  <rth@redhat.com>
14867
14868         * config/alpha/alpha.c (get_trap_mode_suffix): New.
14869         (get_round_mode_suffix): New.
14870         (print_operand): Use them for [/].  Remove support for [&'`()+].
14871         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
14872         * config/alpha/alpha.md (attr round_suffix): New.
14873         (attr trap_suffix): New.
14874         (all insns): Set them appropriately.  Use %/ instead of the
14875         myriad punctuators.
14876
14877 2001-07-22  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
14878
14879         * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
14880
14881 2001-07-22  Richard Henderson  <rth@redhat.com>
14882
14883         * regrename.c (regrename_optimize): Compute nregs for each
14884         potential target register.
14885
14886 2001-07-21 Neil Booth  <neil@daikokuya.demon.co.uk>
14887            Richard Henderson  <rth@redhat.com>
14888
14889         * dbxout.c (dbxout_global_decl): New.
14890         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14891         * sdbout.c (sdbout_finish): New.
14892         (sdbout_debug_hooks): Use it, add comments.
14893         (sdbout_global_decl): Defer initialised public vars to
14894         sdbout_finish.
14895         * varasm.c (assemble_variable): Don't output debug information
14896         for file-scope variables.
14897
14898 2001-07-21  H.J. Lu  (hjl@gnu.org)
14899
14900         * config/mips/mips.c (mips_cpu): Moved into ...
14901         (override_options): Here.
14902
14903         * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
14904         mips_tune.
14905         (mips_cpu): Removed.
14906
14907 2001-07-21  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14908
14909         * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
14910         ("iorqi3"): Likewise.
14911         ("xorqi3"): Likewise.
14912         ("*addhi3"): Fix constraint to avoid reloading in a soft register.
14913         ("*subhi3_sp): Likewise.
14914         ("*subhi3"): Likewise.
14915         ("extendhisi2"): Accept D, X and Y as source operand to avoid
14916         reload problems.
14917
14918 2001-07-21  Nathan Sidwell  <nathan@codesourcery.com>
14919
14920         * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
14921         * config/freebsd.h: Likewise.
14922         * config/linux.h: Likewise.
14923         * config/openbsd.h: Likewise.
14924         * config/alpha/linux-elf.h: Likewise.
14925         * config/arm/linux-elf.h: Likewise.
14926         * config/d30v/d30v.h: Likewise.
14927         * config/fr30/fr30.h: Likewise.
14928         * config/ia64/aix.h: Likewise.
14929         * config/ia64/ia64.h: Likewise.
14930         * config/mips/linux.h: Likewise.
14931         * config/pj/pj.h: Likewise.
14932         * config/rs6000/linux.h: Likewise.
14933         * config/sparc/linux.h: Likewise.
14934         * config/sparc/linux64.h: Likewise.
14935
14936 2001-07-20  Bruce Korb  <bkorb@gnu.org>
14937
14938         * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
14939         because getc() and char* may disagree on signedness.
14940
14941 2001-07-20  Richard Henderson  <rth@redhat.com>
14942
14943         * doc/rtl.texi (REG_DEAD): Update for current semantics.
14944
14945         * flow.c (try_redirect_by_replacing_jump): Correctly compute which
14946         insns to delete in the presence of cc0 in a jump insn.
14947
14948 Fri Jul 20 22:14:49 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
14949                                 Jan Hubicka  <jh@suse.cz>
14950
14951         * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
14952         of doing the change by hand.
14953
14954 Fri Jul 20 21:59:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
14955
14956         * rtlanal.c (set_noop_p): Return true for noop jumps.
14957
14958         * expr.c (emit_single_push_insn): Add call to push expander.
14959         * expr.h (optab_index): Add OTI_push
14960         (push_optab): New constant.
14961         * genopinit.c (optabs): Add push_optab.
14962         * optabs.c (init_optab): Init push optab.
14963         * md.texi (push??1): Document
14964
14965 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14966
14967         * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
14968         expand to emit the pattern; put a REG_INC note for push/pop
14969         instructions.
14970         ("movdf", "movdf_internal"): Likewise.
14971         ("movsi", "movsi_internal"): Likewise.
14972         ("movsf", "movsf_internal"): Likewise.
14973         ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
14974
14975 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14976
14977         * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
14978         gen_highpart.
14979
14980 2001-07-20  Daniel Berlin  <dan@cgsoftware.com>
14981
14982         * params.def: Change default max inline insns to 100.
14983
14984 2001-07-20  Diego Novillo  <dnovillo@redhat.com>
14985
14986         * combine.c (combine_simplify_rtx): Generate a new shift operation
14987         when simplifying the first operand of a (neg (ashift)) expression.
14988
14989 2001-07-20  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
14990
14991         * regclass.c (N_REG_INTS): Use only 32 bits per element.
14992
14993 2001-07-20  Kelley Cook  <kelley.cook@home.com>
14994
14995         * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
14996         information.   Move rest into ...
14997         (*-*-solaris): ... here.  Eliminate redundant information and
14998         reword necessary packages section.  Delete 4.x assembler bug info.
14999         (sparc-sun-*): Merge into ...
15000         (sparc-sun-sunos*): here.
15001
15002 2001-07-20  Catherine Moore  <clm@redhat.com>
15003
15004         * config/v850/v850.md (casesi): Generate LABEL_REF
15005         with Pmode.
15006
15007 Fri Jul 20 14:12:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
15008
15009         * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
15010         * i386.c (ix86_zero_extend_to_Pmode): Make global.
15011         * i386.md (strclrsi expander): Use it.
15012
15013 Fri Jul 20 13:24:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
15014
15015         * integrate.c (copy_insn_list): handle
15016         NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
15017         (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
15018         identically as to CODE_LABEL.
15019
15020         * fold-const (fold): Convert A/B/C to A/(B*C) and
15021         A/(B/C) to (A/B)*C
15022
15023         * except.c (connect_post_landing_pads): Delete the RESX insns.
15024
15025 2001-07-20  Aldy Hernandez  <aldyh@redhat.com>
15026
15027         * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
15028
15029         * config/mips/mips.md (nmadd/nmsub): Use macro.
15030
15031 2001-07-20  Nathan Sidwell  <nathan@codesourcery.com>
15032
15033         * cppinit.c (remove_dup_dir): Make static.
15034         (remove_dup_dirs): Make static. Only warn about preempting a
15035         system directory with a non-system directory.
15036
15037 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
15038
15039         * ifcvt.c (noce_try_store_flag_constants): Correct order
15040         of parameters to trunc_int_for_mode.
15041
15042 2001-07-19  Mark Mitchell  <mark@codesourcery.com>
15043
15044         * reorg.c (fill_simple_delay_slots): If an instruction might throw
15045         an exception that will be caught within this function, do not fill
15046         its delay slot with any subsequent instruction.
15047
15048 2001-07-19  Steve Ellcey <sje@cup.hp.com>
15049
15050         * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
15051         * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
15052         pointer extension instruction.
15053         * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
15054         * simplify-rtx.c (simplify_unary_operation) Likewise.
15055         * explow.c (convert_memory_address) Check value of
15056         POINTERS_EXTEND_UNSIGNED to avoid some conversions when
15057         less than zero.
15058         * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
15059         MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
15060         * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
15061         Add Multilib Support.
15062         (POINTERS_EXTEND_UNSIGNED)  Define for ILP32 support.
15063         * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
15064         Add Multilib Support.
15065         (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
15066         support.
15067         * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
15068         * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
15069         a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
15070
15071 2001-07-19  Alexandre Oliva  <aoliva@redhat.com>
15072
15073         * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
15074         old and new operands in `<', `3' and `b'.
15075
15076 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
15077
15078         * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
15079         (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
15080         (toplev.o): Don't depend on xcoffout.h.
15081         * c-decl.c: Include debug.h
15082         (duplicate_decls): Use debug hook.
15083         * dbxout.c (dbxout_source_file, dbxout_args): Make static.
15084         (dbx_debug_hooks, xcoff_debug_hooks): Update.
15085         (dbxout_types): Remove.
15086         * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
15087         * debug.c (do_nothing_debug_hooks): Update.
15088         (debug_true_tree, debug_nothing_rtx): New.
15089         * debug.h (struct rtx_def): New.
15090         (struct gcc_debug_hooks): New hooks ignore_block,
15091         outlining_inline_function and label.
15092         (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
15093         dwarf2out_frame_finish): New.
15094         * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
15095         Make static, update prototype.
15096         (dwarf2_debug_hooks): Update.
15097         * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
15098         dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
15099         * dwarfout.c (dwarf_debug_hooks): Update.
15100         * emit-rtl.c: Include debug.h.
15101         (remove_unnecessary_notes): Use debug hook.
15102         * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
15103         (final_scan_insn): Use debug hook.
15104         * integrate.c (output_inline_function): Use debug hook.
15105         * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
15106         (sdb_debug_hooks): Update.
15107         * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
15108         * toplev.c: Don't include xcoffout.h.
15109         (note_outlining_of_inline_function, debug_ignore_block): Remove.
15110         * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
15111         Remove.
15112         * tree.h (dwarf2out_do_frame): Remove.
15113
15114 2001-07-19  Catherine Moore  <clm@cygnus.com>
15115
15116         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
15117
15118 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
15119
15120         * reload1.c (eliminate_regs_in_insn): When updating a set
15121         to the frame pointer to the hardware frame pointer, perform
15122         the update always not just when REPLACE is set.
15123
15124         * reload1.c (choose_reload_regs): Don't inherit a reload
15125         that crosses multiple registers if registers past the first
15126         don't fit in the desired class.
15127
15128         * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
15129         when negating constants.
15130
15131 2001-07-19  Toon Moene  <toon@moene.indiv.nluug.nl>
15132
15133         * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
15134         * doc/tree.texi: Ditto.
15135
15136 2001-07-19  Mark Kettenis  <kettenis@wins.uva.nl>
15137             Jakub Jelinek  <jakub@redhat.com>
15138
15139         * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
15140         (extract_cie_info): Handle "eh" augmentation properly,
15141         remember eh_ptr.
15142         (struct frame_state, __frame_state_for): New.
15143
15144 2001-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15145
15146         * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
15147         HANDLE_SYSV_PRAGMA): Define.
15148         * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
15149         previous args.
15150         (copy_object): Caller changed.
15151
15152 2001-07-19  Andreas Schwab  <schwab@suse.de>
15153
15154         * configure.in (assembler dwarf2 debug_line support): Define nop
15155         insn for m68k.
15156         * configure: Regenerated.
15157
15158 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
15159
15160         * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
15161         dwarfout.h.
15162         * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
15163         to conditionally compiled block.
15164         (dbx_debug_hooks, xcoff_debug_hooks): Update.
15165         * dbxout.h (dbxout_function): Remove.
15166         * debug.c (do_nothing_debug_hooks): Update.
15167         * debug.h (struct gcc_debug_hooks): New hooks function_decl,
15168         global_decl, deferred_inline_function.
15169         * dwarf2out.c (dwarf2_debug_hooks): Update.
15170         (dwarf2out_global_decl): New.
15171         * dwarfout.c: Don't include dwarfout.h.
15172         (dwarfout_global_decl, dwarfout_function_decl,
15173         dwarfout_deferred_inline_function): New.
15174         (dwarf_debug_hooks): Update.
15175         * dwarfout.h: Remove.
15176         * final.c: Don't include dwarfout.h.
15177         * sdbout.c (sdbout_global_decl): New.
15178         (sdbout_debug_hooks): Update.
15179         * toplev.c: Don't include dwarfout.h.
15180         (check_global_declarations, rest_of_compilation): Use new debug hooks.
15181         (note_deferral_of_defined_inline_function): Remove.
15182         * toplev.h (note_deferral_of_defined_inline_function): Remove.
15183         * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
15184         * ch/lex.c: Don't include dwarfout.h.
15185         * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
15186         (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
15187         * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
15188         * cp/optimize.c: Include debug.h.
15189         (maybe_clone_body): Use debug hook.
15190         * cp/semantics.c: Include debug.h.
15191         (expand_body): Use debug hook.
15192         * po/POTFILES.in: Remove dwarfout.h.
15193
15194 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
15195
15196         * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
15197         * c-parse.in (yyerror, _yylex): Similarly.
15198         * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
15199         Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
15200         Update comments.
15201         * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
15202         * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
15203
15204 2001-07-18  Jeff Sturm  <jsturm@one-point.com>
15205
15206         * dwarf2out.c (dwarf2out_abstract_function): Don't emit
15207         in-class declaration at -g1.  Fixes c++/2814.
15208
15209 2001-07-18  Richard Henderson  <rth@redhat.com>
15210
15211         * doc/md.texi (reload_in/out): Document restrictions in predicates
15212         and constraints for these patterns.  Document empty string matching
15213         ALL_REGS.
15214
15215 2001-07-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15216
15217         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
15218
15219 Wed Jul 18 20:47:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
15220
15221         * cse.c: Undo my previous patch.
15222
15223 2001-07-18  Tom Tromey  <tromey@redhat.com>
15224
15225         For PR java/2812:
15226         * configure: Rebuilt.
15227         * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
15228         instead.
15229         * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
15230
15231 Wed Jul 18 18:46:30 CEST 2001  Richard Henderson <rth@cygnus.com>
15232                                 Jan Hubicka  <jh@suse.cz>
15233
15234         * flow.c (redirect_edge_and_branch): Bail out on complex edges.
15235         (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
15236         * jump.c (mark_jump_label): Do not forward branches.
15237
15238 Wed Jul 18 18:35:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
15239
15240         * cse.c (delete_trivially_dead_insns): Delete the libcall block
15241         when return value is unused.
15242
15243 Wed Jul 18 18:28:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
15244
15245         * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
15246
15247 Wed Jul 18 12:05:29 2001  Nicola Pero  <n.pero@mi.flashnet.it>
15248
15249         * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
15250         on error.  We can't blindly return the result of
15251         pthread_mutex_trylock because it returns a positive number on
15252         error, while we must return -1 on error.
15253         (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
15254         fixes.
15255         Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
15256
15257 2001-07-18  Andreas Jaeger  <aj@suse.de>
15258
15259         * integrate.c (output_inline_function): Correct type of debug_hooks.
15260
15261 2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>
15262
15263         * combine.c (combine_simplify_rtx): DIV can be treated
15264         associatively for floats if unsafe math optimisations are enabled.
15265
15266 2001-07-17  Richard Henderson  <rth@redhat.com>
15267
15268         * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
15269
15270 2001-07-17  Richard Henderson  <rth@redhat.com>
15271
15272         * calls.c (prepare_call_address): New parameter SIBCALLP.  If true,
15273         don't force the function address into a register.
15274         (expand_call, emit_library_call_value_1): Update callers.
15275         * builtins.c (expand_builtin_apply): Likewise.
15276         * expr.h (prepare_call_address): Update decl.
15277
15278 2001-07-17  Chandrakala Chavva  <cchavva@redhat.com>
15279
15280         * config.gcc: For *-*-chorusos triplet, get chorus.h file from
15281         config directory.
15282         * config/i386/chorus.h: Move up.
15283         * config/sparc/chorus.h: Likewise.
15284         * config/rs6000/chorus.h: Likewise.
15285         * config/chorus.h: Moved here.
15286
15287 2001-07-17  Andreas Schwab  <schwab@suse.de>
15288
15289         * configure.in  (assembler eh_frame optimization): Handle big
15290         endian.
15291         * configure: Regenerated.
15292
15293 Tue Jul 17 23:43:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
15294
15295         * expr.c (epxand_expr): Convert divisions into multiplications by
15296         reciprocals if -ffast-math.
15297
15298 2001-07-17  Neil Booth  <neil@daikokuya.demon.co.uk>
15299
15300         * dbxout.c (dbxout_really_begin_function): Rename to
15301         dbxout_begin_function.
15302         (dbx_debug_hooks, xcoff_debug_hooks): Update.
15303         (dbxout_begin_function): Remove.
15304         (dbxout_function): Update.
15305         (dbxout_source_line): Update prototype.
15306         * dbxout.h (dbxout_begin_function): Remove.
15307         * debug.c (do_nothing_debug_hooks): Update.
15308         (debug_nothing_tree): Update.
15309         (debug_nothing_charstar_rtx): Remove.
15310         * debug.h (union tree_node): Declare.
15311         (struct rtx_def): Remove.
15312         (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
15313         begin_function.  Change source_line prototype.
15314         (debug_nothing_tree): New.
15315         (debug_nothing_charstar_rtx): Delete.
15316         (dwarf2out_begin_prologue): Moved from ...
15317         * tree.h: ... here.
15318         * dwarf2out.c (dwarf2_debug_hooks): Update.
15319         (dwarf2out_begin_prologue): Update prototype.  If genuine dwarf2
15320         debug info, call dwarf2out_source_line.
15321         (dwarf2out_souce_line): Update prototype.
15322         * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
15323         Change prototype, make static.
15324         (dwarfout_source_line): Update prototype.
15325         (dwarf_debug_hooks): Update.
15326         * dwarfout.h (dwarfout_begin_function): Remove.
15327         * final.c (final_start_function, final_scan_insn): Use appropriate
15328         debug hooks, update to use notice_source_line.
15329         (output_source_line): Rename notice_source_line.  Don't call the
15330         source_line debug hook.
15331         * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
15332         make static, update prototype.
15333         (sdbout_mark_begin_function): Rename sdbout_begin_function, update
15334         prototype.
15335         (sdbout_end_prologue): New.
15336         (sdbout_source_line): Update prototype.
15337         (sdbout_debug_hooks): Update.
15338         (sdbout_symbol): Remove unused var.
15339         * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
15340         Delete.
15341         * varasm.c: Include debug.h.
15342         (assemble_start_function): Use begin_function debug_hook.
15343         * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
15344         update with prototype.
15345         (xcoffout_source_line): Update prototype.
15346         * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
15347         update prototype.
15348         (xcoffout_source_line): Update prototype.
15349
15350 2001-07-17  Richard Henderson  <rth@redhat.com>
15351
15352         * c-typeck.c (build_binary_op): Do not shorten unsigned
15353         right shift after sign extension.
15354
15355 Tue Jul 17 16:56:05 CEST 2001  Jan Hubicka  <jh@suse.cz>
15356
15357         * combine.c (combine_simplify_rtx): Attempt to simplify
15358         a*(b/c) as (a*b)/c for floats in unsafe_math mode.
15359
15360         * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
15361         (simplify_binary_operation, simplify_unary_operation,
15362          simplify_relational_operation): Use it.
15363
15364         * combine.c (combine_simplify_rtx): Don't do associative law
15365         on divisions; allow associative law on floats.
15366
15367 2001-07-17  H.J. Lu <hjl@gnu.org>
15368             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15369
15370         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
15371         ASM_OUTPUT_WEAK_ALIAS are defined.
15372         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
15373         * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
15374         Moved ...
15375         * config/mips/iris5.h: ... here.
15376         (HANDLE_SYSV_PRAGMA): Defined as 1.
15377         * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
15378         * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
15379         symbol.
15380
15381 2001-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
15382
15383         * c-parse.in (all_prefix_attributes): New variable.
15384         (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
15385         (maybe_resetattrs): New production.
15386         (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
15387         maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
15388         notype_initdcl, nested_function, notype_nested_function,
15389         component_decl, components, components_notype,
15390         component_declarator, component_notype_declarator,
15391         absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
15392         ivars, mydecl, myparm): Update.  Avoid prefix attributes just
15393         after a comma being applied to more than one declarator.
15394         * doc/extend.texi (Attribute Syntax): Update.  Remove
15395         documentation of bugs that are no longer present.
15396
15397 2001-07-13  Eric Christopher  <echristo@redhat.com>
15398
15399         * config/mips/mips.h: Change TUNE_MIPS* options to use
15400         mips_tune.
15401         (EXTRA_SPECS): Add cc1_cpu_spec.
15402         * config/mips/mips.md (muldf3): Fix typo.
15403
15404 2001-07-16  Richard Henderson  <rth@redhat.com>
15405
15406         * config/m68k/m68k.c: Include expr.h and reload.h.
15407         (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
15408         [general int]: Use HOST_WIDE_INT_PRINT_DEC.
15409
15410 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
15411             Richard Henderson  <rth@redhat.com>
15412
15413         * cse.c (set_live_p): Take INSN argument for cc0; update callers.
15414         (insn_live_p): Fix fall off end of function.
15415         (dead_libcall_p): Remove COUNTS argument; update callers.
15416         (delete_trivially_dead_insns): Remove unused variables.
15417
15418 2001-07-17  Andreas Jaeger  <aj@suse.de>
15419
15420         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
15421         x86-64 pic support.
15422
15423         * lcm.c (optimize_mode_switching): Avoid warning for unused
15424         variable if !NORMAL_MODE.
15425
15426         * flow.c (try_crossjump_to_edge): Remove unused variable.
15427
15428 2001-07-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15429
15430         * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
15431         atexit declaration in stdlib.h.
15432
15433 2001-07-16  Richard Begg  <Richard.Begg@colesmyer.com.au>
15434
15435         * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
15436
15437 Mon Jul 16 22:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
15438
15439         * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
15440         * except.c (finish_eh_generation): Update call of cleanup_cfg;
15441         do rebuild_jump_labels instead of jump_optimize
15442         * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
15443         * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
15444         * flow.c (try_optimize_cfg): Remove unneeded code_labels.
15445
15446         * flow.c: Include timevar.h
15447         (find_basic_block): Push/pop timevar;
15448         (cleanup_cfg): Likewise.
15449         * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
15450         * Makefile: Add dependencies on timevar.h
15451
15452         * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
15453         (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
15454
15455         * rtl.h (delete_trivially_dead_insns): Add new parameter.
15456         * toplev.c (rest_of_compilation): Update calls.
15457         * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
15458         (delete_trivially_dead_insns): ... here; accept new argument
15459         preserve_basic_blocks; preserve basic blocks if set.
15460
15461         * reg-stack.c (stack_regs_mentioned): Return 0 if
15462         stack_regs_mentioned_data is not initialized.
15463         (reg_to_stack): Make stack_regs_mentioned survive after the
15464         reg-stack is completted; do not call cleanup_cfg.
15465         * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
15466         make cleanup_cfg after bb-reorder to output to debug file.
15467
15468 2001-07-16  Richard Henderson  <rth@redhat.com>
15469
15470         * regclass.c (init_reg_sets): Use only 32 bits per initializer
15471         from int_reg_class_contents.
15472
15473 2001-07-16  Richard Henderson  <rth@redhat.com>
15474
15475         * hard-reg-set.h (regs_invalidated_by_call): Declare.
15476         * regclass.c (regs_invalidated_by_call): Move from cse.c.
15477         (init_reg_sets_1): Move initialization from cse_main.
15478         * cse.c (regs_invalidated_by_call): Move to regclass.c.
15479         (cse_main): Move its initialization also.
15480         * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
15481         * flow.c (propagate_one_insn): Likewise.
15482         * gcse.c (compute_hash_table): Likewise.
15483         (compute_kill_rd, compute_store_table): Likewise.
15484         * sched-deps.c (sched_analyze_1): Likewise.
15485
15486 Mon Jul 16 18:07:07 2001  J"orn Rennecke <amylaar@redhat.com>
15487
15488         * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
15489         gen_rtx_SET.
15490
15491 2001-07-16  Steve Ellcey <sje@cup.hp.com>
15492
15493         * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
15494         in if statement so we don't access undefined memory.
15495
15496 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
15497
15498         * gcse.c: Update comment at top.
15499         Update comment on mem handling.
15500         mem_last_set, mem_first_set, mem_set_in_block: gone.
15501         Declaration of reg_set_info: gone.
15502         (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
15503         pointless with load_killed_in_block_p (they are *more*
15504         conservative then it, not less, and less accurate).
15505         (oprs_not_set_p): Ditto.
15506         (alloc_gcse_mem): Don't allocate mem_set_in_block
15507         (free_gcse_mem): Don't free it, either.
15508         (record_last_mem_set_info): Update comment in front, remove
15509         mem_*set_* stuff. Note the reason we don't handle stores directly
15510         here.
15511         (compute_hash_table): Update comments to reflect reality. Remove
15512         mem_*set_* references.
15513         (reset_opr_set_tables): Remove mem_*set_* references.
15514         (mark_call): Ditto.
15515         (mark_set): Ditto.  Also remove double sets of bitmaps for REG's.
15516         (mark_clobber): Ditto (on both parts, we double set here too).
15517         (expr_killed_p): Remove mem_set_in_block test.
15518         (compute_transp): Remove mem_set_in_block test.
15519
15520         * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
15521         of edge, and removal of phi alternative to dump file.
15522         (ssa_ccp_substitute_constants): Add note about register now being
15523         constant, and which uses were replaced in what insns to dump file.
15524
15525 2001-07-16  Andreas Jaeger  <aj@suse.de>
15526
15527         * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
15528         variables of type HOST_WIDEST_INT.
15529
15530         * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
15531         (__bb_exit_func): Correct type of count_max to avoid overflow.
15532         (num_digits): Handle long long argument.
15533
15534         * combine.c (gen_lowpart_for_combine): Remove unused variable.
15535
15536 2001-07-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
15537
15538         * output.h (sdb_begin_function_line): Restore as an extern
15539         variable.
15540         * sdbout.c (sdb_begin_function_line): Make extern.
15541
15542 2001-07-15  Richard Henderson  <rth@redhat.com>
15543
15544         * machmode.def (Pmode): Redefine if GENERATOR_FILE.
15545         * genrecog.c (maybe_both_true_mode): New.
15546         (maybe_both_true_2): Use it.
15547         (write_switch): Don't put Pmode in a switch.
15548         * rtl.c (mode arrays): Don't explicitly size them.
15549
15550 Sun Jul 15 14:07:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
15551
15552         * toplev.c (rest_of_compilation): Fix register_life_up_to_date
15553         handling; move unconditional splitting before mode switching.
15554
15555         * i386.md (type): Add fistp type.
15556         (i387, length_attr, scheduling definitions): Handle this type.
15557         (fix_trunc?f?i2): Revamp to use mode switching.
15558         (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
15559         * i386.h (fp_cw_mode): New enum
15560         (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
15561         MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
15562
15563 Sun Jul 15 12:53:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15564
15565         * Makefile.in (integrate.o): Add debug.h.
15566         * integrate.c (debug.h): Add.
15567         (output_inline_function): Save, reset, and restore debug_hooks.
15568
15569 2001-07-15  Richard Henderson  <rth@redhat.com>
15570
15571         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
15572         instead of COMPARE for the EQUIV expression.
15573
15574 2001-07-15  Richard Henderson  <rth@redhat.com>
15575
15576         * flow.c (redirect_edge_and_branch_force): Initialize
15577         global_live_at_start and global_live_at_end.
15578         (allocate_bb_life_data): Export.
15579         * basic-block.h (allocate_bb_life_data): Declare.
15580         * toplev.c (rest_of_compilation): Call it.
15581
15582 2001-07-15  Richard Henderson  <rth@redhat.com>
15583
15584         * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
15585         (alpha_tablejump_best_label): New.
15586         * config/alpha/alpha-protos.h: Declare them.
15587         * config/alpha/alpha.md: Use braced strings for code blocks.
15588         (tablejump_osf): Break out add with r29.
15589         (tablejump_osf_internal): Remove.
15590         (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
15591         use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
15592
15593 Sun Jul 15 00:53:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
15594
15595         * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
15596         of the movable.
15597
15598         * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
15599
15600         * i386-protos.h (ix86_split_fp_branch): Update prototype.
15601         (ix86_fp_jump_nontrivial_p): New.
15602         * i386.md (fp_jcc_?): Update call of split_fp_branch;
15603         use ix86_fp_jump_nontrivial_p.
15604         * i386.c (ix86_fp_jump_nontrivial_p): New.
15605         (ix86_split_fp_branch): Accept code instead of rtx.
15606         (ix86_expand_compare): Expand comparison early in case
15607         doing so is resonably cheap.
15608
15609 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
15610
15611         * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
15612         not 'machine'.
15613         (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
15614         (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
15615
15616 2001-07-15  Neil Booth  <neil@daikokuya.demon.co.uk>
15617
15618         * dbxout.c (dbxout_source_line): Make static, update prototype.
15619         (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
15620         (dbxout_init, dbxout_finish, dbxout_source_line,
15621         dbxout_begin_block, dbxout_end_block): Update for new prototypes.
15622         * dbxout.h (dbxout_source_line): Delete.
15623         * debug.c (debug_nothing_file, debug_nothing_file_int,
15624         debug_nothing_file_charstar_rtx): New.
15625         (do_nothing_debug_hooks): Update.
15626         (debug_nothing_void, debug_nothing_charstar_rtx,
15627         dwarf2out_end_epilogue): New.
15628         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15629         * debug.h (struct rtx_def): Declare.
15630         (gcc_debug_hooks): New hooks source_line, end_epilogue
15631         and end_function.
15632         (debug_nothing_void, debug_nothing_charstar_rtx,
15633         dwarf2out_end_epilogue): New.
15634         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15635         * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
15636         (dwarf2_debug_hooks): Update.
15637         (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
15638         dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
15639         * dwarf2out.h (dwarf2out_source_line): Remove.
15640         * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
15641         Make static, update prototype.
15642         (dwarfout_init, dwarfout_finish, dwarfout_source_line,
15643         dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
15644         (dwarf_debug_hooks): Update.
15645         * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
15646         dwarfout_end_function): Remove.
15647         * final.c (profile_function): Use debug hooks for ending functions
15648         and epilogues.
15649         (output_source_line, final_end_function): Update prototype,
15650         use debug hooks.
15651         (final_start_function, final_scan_insn): Update.
15652         * output.h (sdb_begin_function_line): Remove.
15653         (final_end_function): Update prototype.
15654         * sdbout.c (sdb_begin_function_line): Make static.
15655         (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
15656         (sdbout_source_line): New.
15657         (sdbout_end_epilogue, sdbout_end_function): Make static, update
15658         prototypes.
15659         (sdb_debug_hooks): Update.
15660         (sdbout_init, sdbout_source_line,
15661         sdbout_begin_block, sdbout_end_block): Update for new prototypes.
15662         * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
15663         * toplev.c (compile_file, rest_of_compilation): Update.
15664         * tree.h (dwarf2out_end_epilogue): Move to debug.h.
15665         * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
15666         xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
15667         Update for prototype changes.
15668         * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
15669         xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
15670
15671 2001-07-15  Richard Henderson  <rth@redhat.com>
15672
15673         * config/alpha/alpha.h (TARGET_ABI_OSF): New.
15674         (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
15675         * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
15676         * config/alpha/alpha.c: Likewise.
15677         * config/alpha/alpha.md: Likewise.
15678         * config/alpha/alpha32.h: Likewise.
15679         * config/alpha/vms.h: Likewise.
15680         (OPEN_VMS): Remove.
15681
15682 2001-07-14  Richard Henderson  <rth@redhat.com>
15683
15684         * config/alpha/alpha.md: Use define_constants for unspec values.
15685         Substitute throughout.
15686
15687 2001-07-14  Tim Josling  <tej@melbpc.org.au>
15688
15689         * tree.def (EXPON_EXPR) remove. Never supported anyway.
15690
15691 2001-07-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15692
15693         * pa.md: Remove unused constraints from define_split's.
15694
15695 2001-04-14  Richard Henderson  <rth@redhat.com>
15696
15697         * ifcvt.c (find_cond_trap): Test for exit block.
15698
15699 Sun Jul 15 00:50:20 CEST 2001  Jan Hubicka  <jh@suse.cz>
15700
15701         Re-install recently reverted patch.
15702         * emit-rtl.c (try_split): Update mark_jump_label call.
15703         * flow.c (find_sub_basic_blocks): Likewise.
15704         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15705         jump_back_p): Kill.
15706         (mark_all_labels): Kill second parameter.
15707         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15708         (rebuild_jump_labels, jump_optimize_minimal): Update call
15709         of jump_optimize_1.
15710         (jump_optimize_1): Kill crossjumping code.
15711         (mark_jump_label): Kill cross_jump parameter.
15712         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15713         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15714         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15715          splitting.
15716         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15717         DFI_bpro.
15718         (dump_file_info): Likewise.
15719         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15720         reorganize passes to do reg-stack first, bb-reorder second.
15721         * invoke.texi (-d letters doc): Remove the jump2 pass.
15722
15723 2001-07-14  Richard Henderson  <rth@redhat.com>
15724
15725         * ifcvt.c (find_cond_trap): New.
15726         (find_if_header): Call it.
15727         (merge_if_block): Relax existing jump sanity check.
15728         * jump.c (jump_optimize_1): Remove conditional trap handling.
15729
15730 2001-07-14  Alan Modra  <amodra@bigpond.net.au>
15731
15732         * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
15733         millicode.
15734         (insn_refs_are_delayed): Correct comment.
15735         * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
15736         * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
15737         instead of r31.  Make associated insn !TARGET_64BIT, and
15738         provide an additional 64-bit insn that clobbers r2.
15739         (divsi3): Likewise.
15740         (udivsi3): Likewise.
15741         (modsi3): Likewise.
15742         (umodsi3): Likewise.
15743
15744 Sat Jul 14 02:58:38 CEST 2001  Jan Hubicka  <jh@suse.cz>
15745
15746         * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
15747
15748         * flow.c (redirect_edge_and_branch_force, split_edge,
15749         try_crossjump_to_edge): Use set_block_for_new_insns.
15750         * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
15751
15752 2001-07-13  H.J. Lu  (hjl@gnu.org)
15753
15754         * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
15755         the correct patch.
15756
15757 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
15758
15759         Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
15760
15761 2001-07-13  Joseph S. Myers  <jsm28@cam.ac.uk>
15762
15763         * c-common.c (decl_attributes): Take a pointer to the node to
15764         which attributes are to be attached, and a flags argument.
15765         * c-common.h (enum attribute_flags): New.
15766         (decl_attributes): Update prototype.
15767         * c-decl.c (start_decl, push_parm_decl, finish_struct,
15768         finish_enum, start_function): Update calls to decl_attributes.
15769         * c-parse.in (component_declarator, component_notype_declarator,
15770         label): Update calls to decl_attributes.
15771
15772 Fri Jul 13 23:04:00 2001  Denis Chertykov  <denisc@overta.ru>
15773
15774         * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
15775         * config/avr/avr.c (legitimate_address_p): Return value changed
15776         from letter to register classes. For better debugging.
15777
15778 2001-07-13  Kazu Hirata  <kazu@hxi.com>
15779
15780         * jump.c (reversed_comparison_code_parts): Fix comment typos.
15781
15782 2001-07-13  H.J. Lu  (hjl@gnu.org)
15783
15784         * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
15785
15786 2001-07-13  Marc Espie  <espie@cvs.openbsd.org>
15787
15788         * config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
15789         correctly for shared configurations.
15790         * config/t-libgcc-pic:  New.
15791         * config/{i386,m68k,sparc}/t-openbsd:  New.
15792         * config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
15793         Support -shared.  Support debugging libraries with -g.
15794         * config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
15795         frame information does not emit pointer diffs.
15796         * config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
15797         emit pointer diffs.
15798
15799 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
15800
15801         Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
15802
15803 2001-07-13  David Edelsohn  <edelsohn@gnu.org>
15804
15805         * combine.c (try_combine): Ensure const_int pow2 is positive.
15806
15807 2001-07-13  Hartmut Penner  <hpenner@de.ibm.com>
15808
15809         * config.gcc: Add configuration for s/390.
15810         * config/s390/s390.c: New. Subroutines for code generation.
15811         * config/s390/s390.h: New. Definitions for s/390.
15812         * config/s390/s390-protos.h: New. Prototypes.
15813         * config/s390/linux.h: New. Definitions for linux for s/390.
15814         * config/s390/linux64.h: New. Definitions for linux for zSeries.
15815         * config/s390/t-linux: New. Makefile fragment.
15816         * config/s390/s390.md: New. Machine description for s/390 and zSeries.
15817         * config/s390/fixdfdi.h: New. Fix L_fix*di.
15818
15819 Fri Jul 13 14:46:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
15820
15821         * emit-rtl.c (try_split): Update mark_jump_label call.
15822         * flow.c (find_sub_basic_blocks): Likewise.
15823         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15824         jump_back_p): Kill.
15825         (mark_all_labels): Kill second parameter.
15826         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15827         (rebuild_jump_labels, jump_optimize_minimal): Update call
15828         of jump_optimize_1.
15829         (jump_optimize_1): Kill crossjumping code.
15830         (mark_jump_label): Kill cross_jump parameter.
15831         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15832         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15833         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15834          splitting.
15835         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15836         DFI_bpro.
15837         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15838         reorganize passes to do reg-stack first, bb-reorder second.
15839         * invoke.texi (-d letters doc): Remove the jump2 pass.
15840
15841 2001-07-12  Steve Ellcey <sje@cup.hp.com>
15842
15843         * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
15844
15845 Thu Jul 12 17:57:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
15846
15847         * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
15848         basic blocks.
15849         (verify_flow_info): Make diagnostics prettier.
15850
15851 Thu Jul 12 16:48:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
15852
15853         * flow.c (find_basic_blocks_1): Do not emit NOP after call.
15854
15855         * flow.c (outgoing_edges_match): Return early if condition reversal
15856         failed.
15857
15858 2001-07-06  Richard Sandiford  <rsandifo@redhat.com>
15859
15860         * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
15861         (mips_move_2words): When splitting a move into two instructions,
15862         prefix the second address operand with '%D'.
15863
15864 2001-07-12  Neil Booth  <neil@daikokuya.demon.co.uk>
15865
15866         * Makefile.in (final.o): Depend on debug.h.
15867         * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
15868         (dbx_debug_hooks): Add new hooks.
15869         (xcoff_debug_hooks): New.
15870         * debug.c (debug_nothing_file_int_int): New.
15871         (do_nothing_debug_hooks): Update.
15872         * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
15873         (debug_nothing_file_int_int): New.
15874         * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
15875         static, update prototype.
15876         (dwarf2_debug_hooks): Update.
15877         * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
15878         * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
15879         static, update prototype.
15880         (dwarf_debug_hooks): Update.
15881         * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
15882         * final.c: Include debug.h.
15883         (final_scan_insn): Use debug hooks when beginning and ending blocks.
15884         * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
15885         static, update prototype.
15886         (sdb_debug_hooks): Update.
15887         * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
15888         * toplev.c: Distinguish between xcoff and dbx.
15889
15890         * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
15891         Call all debug hooks, not just dwarf ones.
15892
15893 2001-07-11  Timothy Wall  <twall@redhat.com>
15894
15895         * config.gcc: Add configuration for AIX5/IA64.
15896         * config/ia64/aix.h: New.  AIX5/IA64-specific configuration.
15897         * config/ia64/crt[in].asm: New.  Generic static ctor/dtor
15898         support prefix/suffix code.
15899         * config/ia64/t-aix: New.  Makefile fragment.
15900         * config/ia64/unwind-aix.c: New.  Unwind table entry lookup.
15901
15902 2001-07-11  Kazu Hirata  <kazu@hxi.com>
15903
15904         * recog.c (validate_change): Fix a comment typo.
15905
15906 2001-07-11  Neil Booth  <neil@daikokuya.demon.co.uk>
15907
15908         * Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
15909         * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
15910         hooks directly.
15911         * dbxout.c (dbx_debug_hooks): Add new hooks.
15912         (dbxout_start_new_source_file): Rename dbxout_start_source_file,
15913         make static.
15914         (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
15915         make static.
15916         * dbxout.h (dbxout_start_new_source_file,
15917         dbxout_resume_previous_source_file): Delete.
15918         * debug.c (do_nothing_debug_hooks): Add new hooks.
15919         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15920         (debug_nothing_int_charstar, debug_nothing_int): New.
15921         * debug.h (gcc_debug_hooks): New hooks define, undef,
15922         start_source_file and end_source_file.
15923         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15924         (debug_nothing_int_charstar, debug_nothing_int): New.
15925         * dwarf2out.c (dwarf2_debug_hooks): Add new hooks.  Move into
15926         the conditionally compiled section.
15927         (dwarf2out_start_source_file, dwarf2out_end_source_file,
15928         dwarf2out_define, dwarf2out_undef): Make static.
15929         * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
15930         dwarf2out_define, dwarf2out_undef): Remove.
15931         * dwarfout.c (dwarf_debug_hooks): Add new hooks.
15932         (dwarfout_start_source_file, dwarfout_end_source_file,
15933         dwarfout_define, dwarfout_undef): Make static.
15934         (dwarfout_start_source_file_check,
15935         dwarfout_end_source_file_check): New.
15936         (dwarfout_define, dwarfout_finish): Update.
15937         * dwarfout.h (dwarfout_start_new_source_file,
15938         dwarfout_resume_previous_source_file, dwarfout_define,
15939         dwarfout_undef): Remove.
15940         * sdbout.c (sdb_debug_hooks): Add new hooks.
15941         (sdbout_start_new_source_file): Rename sdbout_start_source_file,
15942         make static.
15943         (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
15944         make static, take an arg.
15945         * sdbout.h (sdbout_start_new_source_file,
15946         sdbout_resume_previous_source_file): Delete.
15947         * toplev.c (debug_start_source_file, debug_end_source_file,
15948         debug_define, debug_undef): Delete.
15949         * toplev.h (debug_start_source_file, debug_end_source_file,
15950         debug_define, debug_undef): Delete.
15951
15952         * java/jcf-parse.c: Include debug.h.
15953         (parse_class_file): Update to use debug hooks directly.
15954         * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
15955
15956 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15957
15958         * alias.c (set_mem_alias_set): New function.
15959         * rtl.h (set_mem_alias_set): Declare it.
15960         * builtins.c (expand_builtin_return_addr): Call it instead of
15961         using MEM_ALIAS_SET accessor.
15962         (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
15963         (get_memory_rtx, expand_builtin_va_arg): Likewise.
15964         (expand_builtin_va_copy):Likewise.
15965         * caller-save.c (setup_save_areas): Likewise.
15966         * calls.c (compute_argument_addresses): Likewise.
15967         * explow.c (set_mem_attributes): Likewise.
15968         * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
15969         (expand_assignment, store_constructor_field, store_field): Likewise.
15970         (expand_expr_unaligned): Likewise.
15971         * function.c (assign_stack_temp_for_type): Likewise.
15972         (put_reg_into_stack, gen_mem_addressof): Likewise.
15973         * ifcvt.c (noce_try_cmove_arith): Likewise.
15974         * reload1.c (reload, alter_reg): Likewise.
15975         * config/alpha/alpha.c (get_aligned_mem): Likewise.
15976         (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
15977         (alpha_expand_unaligned_store): Likewise
15978         (alpha_expand_unaligned_load_words): Likewise.
15979         (alpha_expand_unaligned_store_words): Likewise.
15980         (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
15981         (alpha_expand_epilogue): Likewise.
15982         * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
15983         * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
15984         * config/i386/i386.c (legitimize_pic_address): Likewise.
15985         * config/i960/i960.c (setup_incoming_varargs): Likewise.
15986         * config/ia64/ia64.c (spill_restore_mem): Likewise.
15987         * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
15988         * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
15989         * config/mips/mips.c (mips_va_arg): Likewise.
15990         * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
15991         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
15992         * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
15993         (setup_incoming_varargs, rs6000_va_arg): Likewise.
15994         (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
15995         (rs6000_emit_epilogue): Likewise.
15996         * config/sh/sh.c (sh_builtin_saveregs): Likewise.
15997         * config/sparc/sparc.c (sparc_va_arg): Likewise.
15998         * config/v850/v850.c (v850_va_arg): Likewise.
15999
16000 Wed Jul 11 21:27:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
16001
16002         * flow.c (merge_blocks_move_successor_nojumps): Do not crash
16003         when fallthru edge is present.
16004         (mege_blocks): Handle case where creation of jump insn
16005         is required.
16006
16007         * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
16008         CLEANUP_POST_REGSTACK): New constants.
16009         * except.c (finish_eh_generation): Update call of cleanup_cfg,
16010         * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
16011         * output.h (cleanup_cfg): Update prototype.
16012         * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
16013         * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
16014         cleanup_cfg call; kill missleading comment.
16015         * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
16016         * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
16017         parameter; control optimizations performed using it.
16018         (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
16019         try_crossjump_bb): New functions.
16020
16021 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16022
16023         * pa.c (pa_output_function_prologue): Delete prototype.  Make function
16024         extern.
16025         * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
16026         pa_output_function_prologue.
16027         * pa-protos.h (pa_output_function_prologue): New prototype.
16028
16029 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16030
16031         * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
16032         and low to get correct sign extension in low+high test.
16033
16034 2001-07-11  Janis Johnson <janis@us.ibm.com>
16035
16036         * gcov.c (arcdata): Use gcov_type to fix branch percentage
16037         for large hit count.
16038
16039         * profile.c (branch_prob): Fix .bbg info for computed gotos
16040         and C++ EH code.
16041
16042 2001-07-11  Mark Mitchell  <mark@codesourcery.com>
16043
16044         * stmt.c (parse_output_constraint): New function, split out
16045         from ...
16046         (expand_asm_operands): ... here.  Use parse_output_constraint.
16047         * tree.h (parse_output_constraint): Declare it.
16048
16049 2001-07-11  Richard Henderson  <rth@redhat.com>
16050
16051         * bitmap.c: Comment some functions; fiddle whitespace.
16052         (bitmap_free): Don't export.
16053         (bitmap_element_allocate): Use memset.
16054         * bitmap.h (bitmap_free): Don't declare.
16055
16056 2001-07-11  Daniel Berlin  <dan@cgsoftware.com>
16057
16058         * gcse.c, lcm.c, sched-deps.c:
16059         s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
16060
16061         * flow.c (flow_loops_find): Free dom if we found no loops, since
16062         we aren't going to save it.
16063
16064         * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
16065         done.
16066
16067 Wed Jul 11 09:00:48 2001  Jeffrey A Law  (law@cygnus.com)
16068
16069         * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
16070
16071 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16072
16073         * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
16074         #ifndef DWARF2_DEBUGGING_INFO.
16075
16076 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
16077
16078         * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
16079
16080 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
16081
16082         * config/mips/mips.c (gen_int_relational): Tell the caller not to
16083         reverse a branch if a NE comparison is implemented with GTU.
16084
16085 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
16086             H.J. Lu  <hjl@gnu.org>
16087
16088         * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
16089         constant addresses.
16090         (call_internal2): Likewise.
16091         (call_value_internal1): Likewise.
16092         (call_value_internal2): Likewise.
16093         (call_value_multiple_internal1): Likewise.
16094         (call_value_multiple_internal2): Likewise.
16095
16096 2001-07-10  Kazu Hirata  <kazu@hxi.com>
16097
16098         * calls.c (emit_library_call_value_1): Fix a comment typo.
16099         * dwarf2out.c (mem_loc_descriptor): Likewise.
16100         * config/i386/i386.c (ix86_expand_aligntest): Likewise.
16101
16102 2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>
16103
16104         * simplify-rtx.c (simplify_subreg): Fix typo in comment
16105
16106 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16107
16108         * recog.c (offsettable_address_p): Handle LO_SUM case.
16109         * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
16110         instead of plus_constant.
16111
16112 2001-07-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
16113
16114         * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
16115         fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
16116
16117 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16118
16119         * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
16120         adjust_address_nv instead of plus_constant.
16121
16122 2001-07-10  Neil Booth  <neil@daikokuya.demon.co.uk>
16123
16124         * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
16125         dwarf2out.o): Depend on debug.h, wrap long lines.
16126         * dbxout.c: Include debug.h.
16127         (dbx_debug_hooks): New.
16128         (dbxout_init): Make static, take just 2 args.
16129         (dbxout_finish): Make static.
16130         * dbxout.h (dbxout_init, dbxout_finish): Delete.
16131         * debug.c: New file.
16132         * debug.h: New file.
16133         * dwarf2out.c: Include debug.h.
16134         (dwarf2_debug_hooks): New.
16135         (dwarf2out_init): Make static.
16136         (dwarf2out_finish): Make static, take 2 args.
16137         * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
16138         * dwarfout.c: Include debug.h.
16139         (dwarf_debug_hooks): New.
16140         (dwarfout_init): Make static.
16141         (dwarfout_finish): Make static, take 2 args.
16142         * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
16143         * sdbout.c: Include debug.h.
16144         (sdb_debug_hooks): New.
16145         (sdbout_init): Make static, take 2 args.
16146         * sdbout.h (sdbout_init): Delete.
16147         * toplev.c: Include debug.h.
16148         (debug_hooks): New.
16149         (compile_file): Set deubg_hooks based on command line options.
16150         Use the hooks unconditionally rather than conditional compilation.
16151
16152 Tue Jul 10 09:04:45 2001  Jeffrey A Law  (law@cygnus.com)
16153
16154         * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
16155         first_insn_after_basic_block_note instead.
16156
16157         * df.c (df_bb_refs_unlink): #if 0 out for now.
16158
16159 2001-07-10  David Billinghurst <David.Billinghurst@riotinto.com
16160
16161         * ssa.h: Add prototype for ssa_const_prop
16162         * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
16163         (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
16164         (ssa_fast_dce): Remove unused variable
16165
16166 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
16167
16168         * diagnostic.c (finish_diagnostic): Rename to
16169         diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
16170         calls thourghout.
16171
16172 2001-07-10  Jason Merrill  <jason_merrill@redhat.com>
16173
16174         * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
16175         .loc support.
16176
16177         * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
16178         (dump_file): Only pad the demangled name with spaces if the
16179         mangled name was padded with spaces.
16180
16181 2001-07-10  Bernd Schmidt  <bernds@redhat.com>
16182
16183         * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
16184         edge detection.
16185
16186 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16187
16188         * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
16189         extraction if no direct load if either EXPAND_CONST_ADDRESS or
16190         EXPAND_INITIALIZER.
16191
16192         * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
16193         whether can put offset inside LO_SUM to check mode alignment, not size.
16194
16195 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
16196
16197         * doc/tm.texi (Misc): Fix thinko.
16198
16199 2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
16200
16201         * regmove.c (replace_in_call_usage): Fix warnings.
16202         * sched-deps.c (add_dependence): Fix warnings.
16203         * simplify-rtx.c (simplify_subreg): Likewise.
16204         Return NULL_RTX instead of NULL.
16205
16206         * reg-stack.c (emit_swap_insn): Eliminate warnings.
16207         (subst_asm_stack_regs): Likewise.
16208
16209         * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
16210         warnings.
16211
16212         * dwarf2out.c (output_call_frame_info): Declare i as int.
16213         (build_abbrev_table): Declare n_alloc as int.
16214         (dwarf2out_finish): Initialize die.
16215         * except.c: Declare sjlj_funcdef_number as unsigned.
16216         (connect_post_landing_pads): Declare j as unsigned.
16217         (convert_to_eh_region_ranges): Initialize call_site.
16218         (output_function_exception_table): Initialize tt_format_size.
16219         * expr.c (move_by_pieces_1): Initialize to1.
16220         (store_constructor): Initialize minelt and maxelt.
16221         * flow.c (mark_regs_live_at_end): Declare i as unsigned.
16222         * function.c (instantiate_decls): Avoid signed/unsigned warning.
16223
16224         * c-decl.c (combine_parm_decls): Unused, remove.
16225         * c-tree.h: Remove prototype for combine_parm_decls.
16226
16227         * reload.c (push_reload): Fix warning.
16228         (regno_clobbered_p): Likewise.
16229         * reload1.c (replace_pseudos_in_call_usage): Likewise.
16230         (reload_combine): Likewise.
16231
16232         * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
16233         * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
16234         warnings.
16235         * bitmap.c (bitmap_operation): Change user.
16236         * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
16237
16238 2001-07-10  Eric Christopher  <echristo@redhat.com>
16239
16240         * config/mips/mips.c (override_options): Fix typo.
16241
16242 2001-07-09  Stan Shebs  <shebs@apple.com>
16243
16244         * target.h (struct gcc_target): New fields init_builtins and
16245         expand_builtin.
16246         * target-def.h (TARGET_INIT_BUILTINS): New macro.
16247         (TARGET_EXPAND_BUILTIN): New macro.
16248         (TARGET_INITIALIZER): Add them.
16249         * builtins.c: Include target.h.
16250         (expand_builtin): Use targetm.expand_builtin.
16251         (default_init_builtins): New function.
16252         (default_expand_builtin): New function.
16253         * expr.h (default_init_builtins): Declare.
16254         (default_expand_builtin): Declare.
16255         * c-common.c (c_common_nodes_and_builtins): Use
16256         targetm.init_builtins.
16257         * defaults.h (MD_INIT_BUILTINS): Remove.
16258         * Makefile.in (builtins.o): Depend on target.h.
16259
16260         * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
16261         (TARGET_EXPAND_BUILTIN): Define.
16262         * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
16263         (MD_EXPAND_BUILTIN): Remove.
16264
16265         * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
16266         (TARGET_EXPAND_BUILTIN): Define.
16267         (c4x_init_builtins): Make endlink arg a local.
16268         (c4x_print_operand): Fix typos in adjust_address usages.
16269         * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
16270         * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
16271         (MD_EXPAND_BUILTIN): Remove.
16272
16273         * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
16274         (TARGET_EXPAND_BUILTIN): Define.
16275         (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
16276         (ix86_init_builtins): Call new function only if TARGET_MMX.
16277         * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
16278         * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
16279         (MD_EXPAND_BUILTIN): Remove.
16280
16281         * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
16282         (TARGET_EXPAND_BUILTIN): Define.
16283         * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
16284         (MD_EXPAND_BUILTIN): Remove.
16285
16286         * doc/tm.texi: Document these changes.
16287
16288 2001-07-09  Diego Novillo  <dnovillo@redhat.com>
16289
16290         * basic-block.h (tree_node): Forward declare if needed.
16291         (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
16292         (BLOCK_HEAD_TREE): Define.
16293         (BLOCK_END_TREE): Define.
16294         (struct loops): Rename field 'tree' to 'tree_root'.
16295         * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
16296         'end_tree'.
16297         (flow_loops_tree_build): Rename reference to field 'tree' to
16298         'tree_root'.
16299         (flow_loops_level_compute): Ditto.
16300         * predict.c (estimate_bb_frequencies): Ditto.
16301         * tree.h (struct tree_common): Add field 'aux'.
16302
16303 2001-07-09  Stan Shebs  <shebs@apple.com>
16304
16305         * config/darwin.c (darwin_encode_section_info): Don't mark any
16306         DECL_EXTERNAL node as defined.
16307
16308 2001-07-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16309
16310         * pa.c (pa_init_machine_status, pa_mark_machine_status,
16311         pa_free_machine_status, hppa_init_pic_save): Delete.
16312         (hppa_pic_save_rtx): New.  Use get_hard_reg_initial_val.
16313         (hppa_profile_hook): Use hppa_pic_save_rtx.
16314         * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
16315         hppa_init_pic_save): Delete.
16316         (hppa_pic_save_rtx): Declare.
16317         * pa.md (call, call_value, sibcall, sibcall_value,
16318         builtin_setjmp_receiver): Use hppa_pic_save_rtx.
16319
16320 2001-07-09  Kazu Hirata  <kazu@hxi.com>
16321
16322         * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
16323         * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
16324
16325 2001-07-09  Andreas Jaeger  <aj@suse.de>
16326
16327         * output.h: Add declaration of final_forward_branch_p.
16328
16329         * config/i386/i386.c (output_fix_trunc): Remove unused variable.
16330
16331         * varray.c: Include errors.h for internal_error and trim_filename
16332         declarations.
16333
16334         * Makefile.in (varray.o): Add errors.h.
16335
16336 2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
16337
16338         * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
16339         * optabs.c (have_add2_insn): Check whether the add insn chosen
16340         really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
16341         * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
16342
16343 Mon Jul  9 13:26:40 2001  Jeffrey A Law  (law@cygnus.com)
16344
16345         * Makefile.in (OBJS): Add ssa-ccp.o
16346         (ssa-ccp.o): Add dependencies.
16347         * toplev.c (DFI_ssa_ccp): New dump file enum.
16348         (dump_file): Add entry for dumping after SSA CCP.
16349         (flag_ssa_ccp): New flag variable.
16350         (f_options): Add -fssa-ccp.
16351         (rest_of_compilation): Run SSA CCP if requested.
16352         * timevar.def (TV_SSA_CCP): New timevar.
16353         * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
16354         * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
16355         Fix minor typo in SSA DCE documentation.
16356         * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
16357         Add documentation for new dump option.  Renumber dump files
16358         appropriately.
16359
16360 Mon Jul  9 21:36:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
16361
16362         * emit-rtl.c (gen_highpart_mode): New.
16363         * rtl.h (gen_highpart_mode): Declare.
16364         * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
16365         operand can be VOIDmode constant.
16366
16367 Mon Jul  9 17:23:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
16368
16369         * flow.c (redirect_edge_and_branch_force): New.
16370         (can_fallthru): Ensure that basic blocks are succeeding.
16371         (try_optimize_cfg): Do not delete basic block if it is the last one.
16372
16373         * flow.c (try_redirect_by_replacing_jump): Do not remove
16374         jumps with side effects, unlink chain on fallthru edge;
16375         set block for new jump instruction; avoid basic block to
16376         over by line number note.
16377
16378         * flow.c (try_simplify_condjump): Verify that the condjump
16379         is not always falling through.
16380
16381         Re-install patch:
16382         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16383
16384         * flow.c (forwarder_block_p): Fix for fallthru blocks.
16385         (try_redirect_by_replacing_jump): Update properly the count
16386         and frequency information.
16387
16388 Mon Jul  9 06:41:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16389
16390         * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
16391         address that is a LO_SUM specially.
16392         * explow.c (plus_constant_wide, case LO_SUM): Deleted.
16393
16394         * c-lang.c (start_cdtor): Remove extra parameter from start_function.
16395
16396         * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
16397         (operand_subword): Use them.
16398         (change_address_1): Renamed from change_address; new arg VALIDATE.
16399         * expr.h: Reflect above changes; change_address now macro.
16400         * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
16401         making MEM.
16402         * cselib.c (add_mem_for_addr): Likewise.
16403         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
16404         * regmove.c (try_apply_stack_adjustment): Likewise.
16405         * reload.c (push_reload, make_memloc): Likewise.
16406         * reload1.c (eliminate_regs): Likewise.
16407         * simplify-rtx.c (simplify_replace_rtx): Likewise.
16408         * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
16409         adjust_addess.
16410         * combine.c (make_extraction, simplify_shift_const): Likewise.
16411         (gen_lowpart_for_combine): Likewise.
16412         * cse.c (gen_lowpart_if_possible): Likewise.
16413         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
16414         * expr.c (expand_expr, case COMPONENT_REF): Likewise.
16415         * optabs.c (gen_move_insn): Likewise.
16416         * reload1.c (alter_reg): Likewise.
16417         * simplify-rtx.c (simplify_subreg): Likewise.
16418         * stmt.c (expand_anon_union_decl): Likewise.
16419         * recog.c (validate_replace_rtx_1): Likewise.
16420         (expr.h): Include.
16421         * Makefile.in (recog.o): Add $(EXPR_H).
16422         * explow.c (stabilize): Call replace_equiv_address.
16423         * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
16424         * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
16425
16426 2001-07-03  Andrew Haley  <aph@redhat.com>
16427
16428         * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
16429         the mode of the memory location.
16430
16431 2001-07-09  Bo Thorsen  <bo@suse.co.uk>
16432
16433         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
16434
16435 2001-07-09  Neil Booth  <neil@daikokuya.demon.co.uk>
16436
16437         * final.c (output_addr_const): Use target opening and
16438         closing parentheses.
16439         * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
16440         defaults, add to TARGET_ASM_OUT.
16441         * target.h (struct gcc_target): Add open_paren and close_paren.
16442         * doc/md.texi: Update.
16443         * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
16444         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
16445         TARGET_ASM_CLOSE_PAREN.
16446         * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
16447         Override.
16448         * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
16449         Override.
16450         * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
16451         * config/a29k/a29k.h: Similarly.
16452         * config/alpha/alpha.h: Similarly.
16453         * config/arc/arc.h: Similarly.
16454         * config/arm/aof.h: Similarly.
16455         * config/arm/aout.h: Similarly.
16456         * config/avr/avr.h: Similarly.
16457         * config/c4x/c4x.h: Similarly.
16458         * config/clipper/clipper.h: Similarly.
16459         * config/convex/convex.h: Similarly.
16460         * config/d30v/d30v.h: Similarly.
16461         * config/dsp16xx/dsp16xx.h: Similarly.
16462         * config/elxsi/elxsi.h: Similarly.
16463         * config/fr30/fr30.h: Similarly.
16464         * config/h8300/h8300.h: Similarly.
16465         * config/i370/i370.h: Similarly.
16466         * config/i386/i386.h: Similarly.
16467         * config/i860/i860.h: Similarly.
16468         * config/i960/i960.h: Similarly.
16469         * config/ia64/ia64.h: Similarly.
16470         * config/m32r/m32r.h: Similarly.
16471         * config/m68hc11/m68hc11.h: Similarly.
16472         * config/m68k/m68k.h: Similarly.
16473         * config/m88k/m88k.h: Similarly.
16474         * config/mcore/mcore.h: Similarly.
16475         * config/mips/mips.h: Similarly.
16476         * config/mn10200/mn10200.h: Similarly.
16477         * config/mn10300/mn10300.h: Similarly.
16478         * config/ns32k/ns32k.h: Similarly.
16479         * config/pa/pa.h: Similarly.
16480         * config/pdp11/pdp11.h: Similarly.
16481         * config/pj/pj.h: Similarly.
16482         * config/romp/romp.h: Similarly.
16483         * config/rs6000/rs6000.h: Similarly.
16484         * config/sh/sh.h: Similarly.
16485         * config/sparc/sparc.h: Similarly.
16486         * config/v850/v850.h: Similarly.
16487         * config/vax/vax.h: Similarly.
16488         * config/we32k/we32k.h: Similarly.
16489
16490 2001-07-09  Joseph S. Myers  <jsm28@cam.ac.uk>
16491
16492         * doc/c-tree.texi: Document representation of attributes.
16493
16494 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16495
16496         * doc/tm.texi: Update some places for the rename of target to
16497         targetm.  Fix typo.
16498
16499 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16500
16501         * target.h (struct gcc_target): Add insert_attributes.
16502         * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
16503         (TARGET_INITIALIZER): Update.
16504         * tree.c, tree.h (default_insert_attributes): New function.
16505         Update comments on other default functions to refer to targetm,
16506         not target.
16507         * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
16508         TARGET_INSERT_ATTRIBUTES.
16509         (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
16510         * c-common.c (decl_attributes): Use targetm.insert_attributes.
16511         Don't use PRAGMA_INSERT_ATTRIBUTES.
16512         * Makefile.in (c-common.o): Depend on $(TARGET_H).
16513         * c-decl.c (start_decl, start_function): Don't call
16514         SET_DEFAULT_DECL_ATTRIBUTES.
16515         * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16516         * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
16517         declare.
16518         * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
16519         (c4x_check_attribute): Avoid modifying attribute list itself.
16520         (c4x_set_default_attributes): Rename to c4x_insert_attributes.
16521         Make static.
16522         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
16523         * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
16524         declare.
16525         * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
16526         (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
16527         Make static.
16528         * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16529         * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
16530         declare.
16531         * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
16532         (v850_set_default_decl_attr): Rename to v850_insert_attributes.
16533         Adjust parameters.  Make static.
16534
16535 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16536
16537         * c-common.c (decl_attributes): Only take a single attributes
16538         parameter.
16539         * c-common.h (decl_attributes): Update prototype.
16540         * c-decl.c (start_decl, start_function): Only take a single
16541         attributes parameter.  Update calls to decl_attributes.
16542         (finish_struct, finish_enum): Update calls to decl_attributes.
16543         (push_parm_decl): Expect unified list of attributes.  Update call
16544         to decl_attributes.
16545         * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
16546         notype_nested_function, component_declarator,
16547         component_notype_declarator, label): Update calls to
16548         decl_attributes.
16549         (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
16550         lists that are passed to push_parm_decl.
16551         * c-tree.h (start_function, start_decl): Update prototypes.
16552         * config/sh/sh-protos.h, config/sh/sh.c
16553         (sh_pragma_insert_attributes): Only take a single attributes
16554         parameter.
16555         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
16556         * doc/tm.texi (INSERT_ATTRIBUTES): Update.
16557         * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
16558         build_module_descriptor, generate_static_references,
16559         generate_strings, build_selector_translation_table,
16560         generate_descriptor_table, generate_protocols,
16561         generate_ivars_list, generate_dispatch_table,
16562         generate_protocol_list, generate_category,
16563         generate_shared_structures, really_start_method, add_objc_decls,
16564         generate_classref_translation_entry): Update calls to start_decl
16565         and start_function.
16566         (build_tmp_function_decl, start_method_def): Unify attribute lists
16567         that are passed to push_parm_decl.
16568
16569 2001-07-08  Neil Booth  <neil@daikokuya.demon.co.uk>
16570
16571         * final.c (no_asm_to_stream): New.
16572         (final_scan_insn): Use target structures for prologue ends
16573         and epilogue starts.
16574         * output.h (no_asm_to_stream): New.
16575         * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
16576         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
16577         (TARGET_ASM_OUT): Update.
16578         * target.h (struct gcc_target): New members function_end_prologue
16579         and function_begin_epilogue.
16580         * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
16581         * config/alpha/alpha-protos.h (output_end_prologue): Delete.
16582         * config/alpha/alpha.c (output_end_prologue): Rename to
16583         alpha_output_function_end_prologue.  Use in target struct
16584         and make static.
16585         * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
16586         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
16587         * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
16588         ia64_output_function_end_prologue.  Use in target struct
16589         and make static.
16590         (ia64_function_prologue, ia64_funciton_epilogue): Rename
16591         mistyped prototypes.
16592         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
16593         * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
16594         Delete.
16595         * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
16596         an use in target struct, make static.
16597         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
16598         Delete.
16599
16600 2001-07-08  Richard Henderson  <rth@redhat.com>
16601
16602         * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
16603
16604 2001-07-08  Richard Henderson  <rth@redhat.com>
16605
16606         * config/i386/i386.md: Remove constraints strings from define_split
16607         and define_peephole2 patterns.
16608         (eh_return_si, eh_return_di): Split eh_return_1 for modes.
16609         (eh_return): Use them.
16610
16611 2001-07-08  Richard Henderson  <rth@redhat.com>
16612
16613         * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
16614         Document MD_FALLBACK_FRAME_STATE_FOR.
16615
16616 2001-07-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
16617
16618         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
16619         Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
16620         elimination.
16621         * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
16622
16623 2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>
16624
16625         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
16626         of the label inside NAME as opposed to just the end of NAME.
16627
16628 2001-07-07  Neil Booth  <neil@daikokuya.demon.co.uk>
16629
16630         * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
16631         * config/alpha/alpha.c (alpha_init_machine_status,
16632         alpha_mark_machine_status, alpha_free_machine_status): Delete.
16633         (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
16634         (vms_valid_decl_attribute_p): Make static, conditionally compile.
16635         * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
16636
16637 2001-07-06  Stan Shebs  <shebs@apple.com>
16638
16639         * target.h (targetm): Rename global from "target", so as not to
16640         conflict with local variables.
16641         * c-decl.c: Ditto.
16642         * c-typeck.c: Ditto.
16643         * final.c: Ditto.
16644         * tree.c: Ditto.
16645         * cp/decl.c: Ditto.
16646         * cp/decl2.c: Ditto.
16647         * cp/typeck.c: Ditto.
16648         * 1750a/1750a.c: Ditto.
16649         * a29k/a29k.c: Ditto.
16650         * arc/arc.c: Ditto.
16651         * arm/arm.c: Ditto.
16652         * avr/avr.c: Ditto.
16653         * clipper/clipper.c: Ditto.
16654         * convex/convex.c: Ditto.
16655         * d30v/d30v.c: Ditto.
16656         * dsp16xx/dsp16xx.c: Ditto.
16657         * elxsi/elxsi.c: Ditto.
16658         * fr30/fr30.c: Ditto.
16659         * h8300/h8300.c: Ditto.
16660         * i370/i370.c: Ditto.
16661         * i386/i386.c: Ditto.
16662         * i860/i860.c: Ditto.
16663         * i960/i960.c: Ditto.
16664         * ia64/ia64.c: Ditto.
16665         * m32r/m32r.c: Ditto.
16666         * m68hc11/m68hc11.c: Ditto.
16667         * m68k/m68k.c: Ditto.
16668         * m88k/m88k.c: Ditto.
16669         * mips/mips.c: Ditto.
16670         * ns32k/ns32k.c: Ditto.
16671         * pa/pa.c: Ditto.
16672         * pdp11/pdp11.c: Ditto.
16673         * romp/romp.c: Ditto.
16674         * rs6000/rs6000.c: Ditto.
16675         * sh/sh.c: Ditto.
16676         * sparc/sparc.c: Ditto.
16677         * vax/vax.c: Ditto.
16678         * we32k/we32k.c: Ditto.
16679         * doc/tm.texi: Update the manual to match.
16680
16681 2001-07-06  Richard Henderson  <rth@redhat.com>
16682
16683         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
16684         DWARF2_UNWIND_INFO not just whether it is defined.
16685
16686 2001-07-06  Diego Novillo  <dnovillo@redhat.com>
16687
16688         * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
16689         call to simplify_binary_operation returns a new pattern.
16690
16691 2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
16692
16693         * glimits.h (__SHRT_MAX__): New.
16694         (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
16695         (SHRT_MAX): Define in terms of __SHRT_MAX__.
16696
16697 2001-07-06  Jan van Male  <jan.vanmale@fenk.wau.nl>
16698
16699         * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
16700         avoid warnings.
16701
16702 2001-07-06  Richard Henderson  <rth@redhat.com>
16703
16704         * bitmap.c (bitmap_release_memory): Move adjacent to the
16705         allocation functions.
16706         (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
16707         the implementation.  Binary search for the set bit.
16708         (bitmap_union_of_diff): Allocate the temporary on the stack
16709         instead of using xmalloc.
16710
16711 2001-07-06  Richard Henderson  <rth@redhat.com>
16712
16713         * genrecog.c (validate_pattern): Warn for constraints in
16714         define_{expand,split,peephole2}.  Remove strict_low_part
16715         before looking up match_dup.
16716
16717 2001-07-06  DJ Delorie  <dj@redhat.com>
16718
16719         * doc/gcc.texi (Makefile): Rename to be a more general purpose
16720         chapter about various build hints and history.  Add section
16721         talking about the various types of native and cross builds.
16722
16723 2001-07-06  Neil Booth  <neil@daikokuya.demon.co.uk>
16724
16725         * Makefile.in (final.o): Depend on target.h.
16726         * final.c: Include target.h.
16727         (default_function_pro_epilogue): New.
16728         (final_start_function): Use target structure for function prologues.
16729         (final_end_function): Use target structure for function epilogues.
16730         * fold-const.c (real_hex_to_f): Constify s and p.
16731         * output.h (default_function_pro_epilogue): New.
16732         * real.h (real_hex_to_f): Update prototype.
16733         * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
16734         TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
16735         (TARGET_INITIALIZER): Update.
16736         * target.h (gcc_target): Add struct asm_out.
16737         * doc/tm.texi: Update.
16738
16739 config:
16740         Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
16741         TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
16742         in cpu/cpu.c, or rename old functions consistently.  Take
16743         a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
16744         redundant macros and prototypes.  Make new functions static.
16745
16746         * 1750a/1750a.c: Similarly.
16747         * 1750a/1750a.h: Similarly.
16748         * a29k/a29k-protos.h: Similarly.
16749         * a29k/a29k.c: Similarly.
16750         * a29k/a29k.h: Similarly.
16751         * arc/arc-protos.h: Similarly.
16752         * arc/arc.c: Similarly.
16753         * arc/arc.h: Similarly.
16754         * arm/arm-protos.h: Similarly.
16755         * arm/arm.c: Similarly.
16756         * arm/arm.h: Similarly.
16757         * avr/avr-protos.h: Similarly.
16758         * avr/avr.c: Similarly.
16759         * avr/avr.h: Similarly.
16760         * clipper/clipper-protos.h: Similarly.
16761         * clipper/clipper.c: Similarly.
16762         * clipper/clipper.h: Similarly.
16763         * convex/convex.c: Similarly.
16764         * convex/convex.h: Similarly.
16765         * d30v/d30v-protos.h: Similarly.
16766         * d30v/d30v.c: Similarly.
16767         * d30v/d30v.h: Similarly.
16768         * d30v/d30v.md: Similarly.
16769         * dsp16xx/dsp16xx-protos.h: Similarly.
16770         * dsp16xx/dsp16xx.c: Similarly.
16771         * dsp16xx/dsp16xx.h: Similarly.
16772         * elxsi/elxsi.c: Similarly.
16773         * elxsi/elxsi.h: Similarly.
16774         * fr30/fr30.c: Similarly.
16775         * fr30/fr30.md: Similarly.
16776         * h8300/h8300-protos.h: Similarly.
16777         * h8300/h8300.c: Similarly.
16778         * h8300/h8300.h: Similarly.
16779         * i370/i370-protos.h: Similarly.
16780         * i370/i370.c: Similarly.
16781         * i370/i370.h: Similarly.
16782         * i386/i386.c: Similarly.
16783         * i386/osf1elf.h: Similarly.
16784         * i386/osfrose.h: Similarly.
16785         * i860/i860-protos.h: Similarly.
16786         * i860/i860.c: Similarly.
16787         * i860/i860.h: Similarly.
16788         * i960/i960-protos.h: Similarly.
16789         * i960/i960.c: Similarly.
16790         * i960/i960.h: Similarly.
16791         * ia64/ia64-protos.h: Similarly.
16792         * ia64/ia64.c: Similarly.
16793         * ia64/ia64.h: Similarly.
16794         * m32r/m32r-protos.h: Similarly.
16795         * m32r/m32r.c: Similarly.
16796         * m32r/m32r.h: Similarly.
16797         * m68hc11/m68hc11-protos.h: Similarly.
16798         * m68hc11/m68hc11.c: Similarly.
16799         * m68hc11/m68hc11.h: Similarly.
16800         * m68k/crds.h: Similarly.
16801         * m68k/dpx2.h: Similarly.
16802         * m68k/m68k-protos.h: Similarly.
16803         * m68k/m68k.c: Similarly.
16804         * m68k/m68k.h: Similarly.
16805         * m68k/news.h: Similarly.
16806         * m88k/m88k-protos.h: Similarly.
16807         * m88k/m88k.c: Similarly.
16808         * m88k/m88k.h: Similarly.
16809         * mips/mips-protos.h: Similarly.
16810         * mips/mips.c: Similarly.
16811         * mips/mips.h: Similarly.
16812         * ns32k/merlin.h: Similarly.
16813         * ns32k/ns32k.c: Similarly.
16814         * ns32k/ns32k.h: Similarly.
16815         * ns32k/tek6000.h: Similarly.
16816         * pa/pa-protos.h: Similarly.
16817         * pa/pa.c: Similarly.
16818         * pa/pa.h: Similarly.
16819         * pdp11/2bsd.h: Similarly.
16820         * pdp11/pdp11-protos.h: Similarly.
16821         * pdp11/pdp11.c: Similarly.
16822         * pdp11/pdp11.h: Similarly.
16823         * romp/romp-protos.h: Similarly.
16824         * romp/romp.c: Similarly.
16825         * romp/romp.h: Similarly.
16826         * rs6000/rs6000-protos.h: Similarly.
16827         * rs6000/rs6000.c: Similarly.
16828         * rs6000/rs6000.h: Similarly.
16829         * rs6000/sysv4.h: Similarly.
16830         * sh/sh-protos.h: Similarly.
16831         * sh/sh.c: Similarly.
16832         * sh/sh.h: Similarly.
16833         * sparc/sparc-protos.h: Similarly.
16834         * sparc/sparc.c: Similarly.
16835         * sparc/sparc.h: Similarly.
16836         * vax/vax.c: Similarly.
16837         * vax/vax.h: Similarly.
16838         * vax/vms.h: Similarly.
16839         * we32k/we32k.c: Similarly.
16840         * we32k/we32k.h: Similarly.
16841
16842 Fri Jul  6 11:47:59 2001  Jeffrey A Law  (law@cygnus.com)
16843
16844         * basic-block.h (first_insn_after_basic_block_note): Declare.
16845         * flow.c (first_insn_after_basic_block_note): Define.  Moved
16846         from...
16847         * ssa.c (first_insn_after_basic_block_note): Remove.
16848         * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
16849         necessary.
16850         (ssa_eliminate_dead_code): Properly update the CFG and PHI
16851         nodes when we find a dead conditional branch.  Insert BARRIERs
16852         after any blocks with no successors, but which do not have
16853         any BARRIERs.
16854
16855 2001-07-06  Zack Weinberg  <zackw@stanford.edu>
16856
16857         * varray.c (varray_check_failed): Use internal_error.
16858
16859 2001-07-05  Andrew Haley  <aph@redhat.com>
16860
16861         * Makefile.in (LIB2_DIVMOD_FUNCS): New.
16862         (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
16863         * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
16864
16865 2001-07-02  Jason Merrill  <jason_merrill@redhat.com>
16866
16867         * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
16868         reference if the target constant is also a SYMBOL_REF.
16869
16870 2001-07-05  Eric Christopher  <echristo@redhat.com>
16871
16872         * config/mips/mips.h (MASK_MIPS3900): Remove.
16873         (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
16874         MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
16875         (TARGET_MIPS3900): Change to use mips_arch.
16876         (TARGET_MIPS4000): New.
16877         (TARGET_MIPS4100): New.
16878         (TARGET_MIPS4300): New.
16879         (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
16880         (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
16881         for -mipsX.
16882         (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
16883         (ISA_HAS_BRANCHLIKELY): To here.
16884         (CC1_CPU_SPEC):  New.
16885         (CC1_SPEC): Use here.  Remove 4650 and 3900 options.
16886         (mips_arch_string): Declare.
16887         (mips_arch): Declare.
16888         (TARGET_OPTIONS): Add -march and -mtune.
16889
16890         * config/mips/mips.c (mips_arch_string): New.
16891         (mips_arch): New.
16892         (override_options): Handle -march for codegen and -mtune
16893         for scheduling. Use mips_arch. Move tx39 target default here.
16894         (mips_parse_cpu): Move error message to override_options.
16895
16896         * config/mips/r3900.h (TARGET_DEFAULT): Remove.
16897
16898         * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
16899
16900         * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
16901         (MIPS Options): Ditto.  Change mcpu entry to historical text.
16902
16903 2001-07-05  H.J. Lu  (hjl@gnu.org)
16904
16905         * config/mips/mips.c (mips_parse_cpu): New function to parse
16906         -march=*/-mcpu=*.
16907
16908 2001-07-05  Jim Wilson  <wilson@redhat.com>
16909
16910         * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
16911         * config/ia64/t-ia64: Likewise.
16912         (LIB1ASMFUNCS): Update comment.
16913
16914 2001-07-05  David Edelsohn  <edelsohn@gnu.org>
16915
16916         * doc/install.texi (Install GCC: Binaries): Fix typo.
16917
16918 2001-07-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
16919
16920         * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
16921         reference using the stack pointer, adjust it since we push Y
16922         temporarily.
16923         ("*ashrsi3"): Likewise.
16924         ("*lshrsi3"): Likewise.
16925
16926 2001-07-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
16927
16928         * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
16929         when -fomit-frame-pointer is used.
16930
16931 2001-07-05  Jeffrey Oldham  <oldham@codesourcery.com>
16932
16933         * flow.c: Reverse Jan Hubicka's patch of 02July2001.
16934         (try_redirect_by_replacing_jump): Reverse updating properly the
16935         count and frequency information.  Reverse removing cc0 setter.
16936         (forwarder_block_p): Reverse fixing for fallthru blocks.
16937
16938 2001-07-05  DJ Delorie  <dj@redhat.com>
16939
16940         * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
16941         (translate_options): If the above is defined, use it to map
16942         given options to new options.
16943         * doc/tm.texi: Document it.
16944
16945 2001-07-05  Brad Lucier <lucier@math.purdue.edu>
16946             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16947
16948         * doc/invoke.texi (Optimize Options): Document that -fgcse may
16949         cause programs using computed gotos to run more slowly.
16950
16951 2001-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16952
16953         * doc/install.texi (Specific): Markup, spelling and typo fixes.
16954         Fixed sorting.
16955         Consistently require binutils 2.11.2, not prereleases.
16956         (Specific, decstation-*): Canonicalize as mips-dec-*.
16957         (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
16958         always necessary.
16959         (Specific, m68k-altos): Removed reference to README.altos, deleted.
16960         (Specific, mips-*): Reword MIPS C compiler requirements.
16961         (Specific, powerpc*-*-*): New, mention --with-cpu once.
16962         (Specific, sunv5): Removed, obsolete.
16963
16964 2001-07-05  Nathan Sidwell  <nathan@codesourcery.com>
16965
16966         * dwarf2out.c (output_loc_list): Use an all ones mask for
16967         .text asm output and don't rely on long long
16968         literals. Reformat some long lines.
16969
16970 2001-07-05  Andreas Jaeger  <aj@suse.de>
16971
16972         * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
16973         section.
16974
16975 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
16976
16977         * dwarf2out.c (dwarf2out_define): Update comment.
16978         (dwarf2out_undef): Ditto.
16979         (dwarf2out_start_source_file): Ditto.
16980         (dwarf2out_end_source_file): Ditto.
16981         (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
16982         since we never call the start/end debug hook for the primary file.
16983
16984 2001-07-04  Kazu Hirata  <kazu@hxi.com>
16985
16986         * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
16987         from shll.
16988
16989 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
16990
16991         * cppinit.c (remove_dup_dirs): Inform if a system include
16992         directory is being reordered.
16993         * doc/invoke.texi (Directory Options): GCC warns if you hide a
16994         system include.
16995         * doc/cpp.texi (Search Paths): Likewise.
16996         * doc/gcc.texi (Interoperation): Remove information about
16997         -I/usr/include.
16998
16999 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
17000
17001         * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
17002         (VARRAY_TOP_CHAR_PTR): Likewise.
17003
17004 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17005
17006         * gcc.c (process_command): Don't assign elements of a const char*.
17007
17008 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17009
17010         * emit-rtl.c (change_address): Don't abort if invalid address while
17011         reload is in progress.
17012
17013 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
17014
17015         * c-lex.c (cb_file_change): Pass line number to
17016         debug_start_source_file.
17017         (cb_undefine): Pass correct line number to debug_undef.
17018
17019         * toplev.c (debug_start_source_file): Add line number to
17020         parameters. Pass it along to dwarf2out_start_source_file.
17021         (decode_g_option): Stop resetting debug level back to normal when
17022         we change debug formats, unless the current level is
17023         none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
17024         3).
17025
17026         * toplev.h (debug_start_source_file): Add line number to
17027         parameters.
17028
17029         * dwarf2out.h (dwarf2out_start_source_file): Add line number to
17030         parameters.
17031
17032         * dwarf2out.c (dwarf2out_start_source_file): Add line number to
17033         parameters.
17034         Output debug_macinfo data for starting file if requested.
17035         (dwarf2out_end_source_file): Output debug_macinfo data for ending
17036         file if requested.
17037         (dwarf2out_define): Output debug_macinfo data for defining a macro
17038         if requested.
17039         (dwarf2out_undef): Output debug_macinfo data for undefining a
17040         macro if requested.
17041         (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
17042         (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
17043         (macinfo_section_label): New. DWARF2 macro info section label.
17044         (dwarf2out_init): If we want macro info, output the start label
17045         for the section.
17046         (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
17047         attribute to the compilation unit die pointing to the macro info.
17048
17049 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
17050
17051         * dwarf2out.c (new_loc_list): Move to inside #ifdef
17052         DWARF2_DEBUGGING_INFO.
17053         (add_loc_descr_to_loc_list): Ditto.
17054         (output_loc_list): Ditto.
17055         Also, fix thinko in curr not being initialized.
17056         (gen_internal_sym): Ditto.
17057
17058 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17059
17060         * emit-rtl.c (replace_equiv_address): New function.
17061         * expr.h (replace_equiv_address): New declaration.
17062         * explow.c (validize_mem): Call it instead of change_address and
17063         also call if -fforce-addr and address is constant.
17064         * expr.c: Replace more calls to change_address with adjust_address
17065         and/or replace_equiv_address or to validize_mem.
17066         * function.c, regmove.c, config/alpha/alpha.c: Likewise.
17067         * config/arm/arm.md, config/clipper/clipper.md: Likewise.
17068         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
17069         * config/i370/i370.md, config/i860/i860.md: Likewise.
17070         * config/i960/i960.md, config/mips/mips.c: Likewise.
17071         * config/mips/mips.md, config/pa/pa.md: Likewise.
17072         * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
17073         * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
17074
17075 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17076
17077         * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
17078
17079         * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
17080         function.
17081
17082 2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>
17083
17084         * doc/include: New directory.
17085         * doc/fdl.texi: Move to doc/include/fdl.texi.
17086         * doc/texinfo.tex: Move to doc/include/texinfo.tex.
17087         * doc/include/funding.texi, doc/include/gpl.texi: New files.
17088         * doc/gcc.texi: Use funding.texi and gpl.texi.
17089         * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
17090         $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
17091         Update dependencies and use -I $(docdir)/include.
17092
17093 2001-07-04  Anthony Green  <green@redhat.com>
17094
17095         * config/v850/t-v850 (v850-c.o): Add missing dependencies.
17096
17097 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17098
17099         * doc/install.texi (sparc64-*-*): Remove garbage.
17100
17101 Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>
17102
17103         * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
17104         Fix typo in last change to use adjust_address.
17105
17106 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17107
17108         * doc/install.texi (Specific): Update information for *-*-solaris*.
17109
17110 Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17111
17112         * explow.c (plus_constant_wide): Reinitialize Y for restart.
17113
17114 2001-07-03  Stan Shebs  <shebs@apple.com>
17115
17116         * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
17117         case for flag_no_mach_text_sections.
17118         (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
17119         * config/darwin.c (flag_no_mach_text_sections): Remove.
17120         * config/darwin-protos.h (darwin_init_pragma): Remove decl.
17121
17122 Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17123
17124         * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
17125         and avoid checking for constant as first operand.
17126         * recog.c (find_constant_term_loc): No longer static.
17127         (adj_offettable_operand): Delete.
17128         * rtl.h (adj_offsettable_operand): Delete declaration.
17129         (find_constant_term): Add declaration.
17130         * caller-save.c: Replace calls to adj_offsettable_operand with calls
17131         to adjust_address.
17132         * config/arm/arm.c, config/c4x/c4x.c: Likewise.
17133         * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
17134         * config/i386/i386.c, config/i386/i386.md: Likewise.
17135         * config/i860/i860.c, config/i960/i960.c: Likewise.
17136         * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
17137         * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
17138         * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
17139         * config/mips/mips.c, config/mips/mips.md: Likewise.
17140         * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
17141         * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
17142         * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
17143         * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
17144         * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
17145         * config/ns32k/ns32k.md: Likewise.
17146
17147 2001-07-03  Zack Weinberg  <zackw@stanford.edu>
17148
17149         * rtl.c (copy_rtx): Handle 'T' format letter.
17150         * gensupport.c (collect_insn_data): Likewise.
17151         * print-rtl.c (print_rtx): Print 'T' slots like 's'.
17152
17153 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
17154
17155         * doc/invoke.texi (Directory Options): Specifiy range for <N> in
17156         -B option.  Use 'dir' not 'foo' as example directory name.
17157
17158 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17159
17160         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
17161         Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
17162
17163 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
17164
17165         * doc/cppinternals.texi: Improve formatting and logical markup.
17166
17167 2001-07-03  Andreas Jaeger  <aj@suse.de>
17168
17169         * Makefile.in (insn-recog.o): Add dependency on reload.h.
17170
17171         * genrecog.c (write_header): Include reload.h for prototypes in
17172         insn-recog.c.
17173
17174 2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>
17175
17176 config:
17177         * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
17178         VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
17179         * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
17180         i386_pe_valid_type_attribute_p): Add.
17181         * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
17182         * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
17183
17184 Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17185
17186         * explow.c (plus_constant_wide, case LO_SUM): New case.
17187         (plus_constant_for_output_wide): Delete.
17188         * rtl.h (plus_constant_for_output): Delete.
17189         * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
17190         instead of plus_constant_for_output.
17191         * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
17192         * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
17193         * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
17194         * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
17195         * config/sparc/sparc.md: Likewise.
17196         Convert some change_address calls to adjust_address.
17197
17198 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
17199
17200         * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
17201         doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
17202         documentation of -std and -Wwrite-strings.
17203
17204 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
17205
17206         * cse.c (canon_hash): Don't register registers in very small
17207         register classes, as extending their lifetime might cause
17208         reload to fail.
17209
17210 Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
17211
17212         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
17213
17214         * flow.c (forwarder_block_p): Fix for fallthru blocks.
17215         (try_redirect_by_replacing_jump): Update properly the count
17216         and frequency information.
17217
17218 Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)
17219
17220         * toplev.c (dump_file_index): Move SSA dumps just after first
17221         jump dump.
17222         (dump_file): Corresponding changes.
17223         (rest_of_compilation): Move SSA path to just after the first
17224         jump pass.
17225         * doc/gcc.texi (Passes): Update due to movement of SSA path.
17226         * doc/invoke.texi: Update dump file #s as they were completely
17227         out of date with reality.
17228
17229 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
17230
17231         * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
17232
17233         * expr.c (emit_move_insn_1): Deal with non-default
17234         STACK_PUSH_CODE.
17235
17236         * expr.c (emit_single_push_insn): Fix warning.
17237
17238 2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
17239
17240         * expr.c (emit_move_insn_1): Avoid modifying
17241         cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
17242
17243 Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17244
17245         * emit-rtl.c (adjust_address): New function.
17246         * expr.h (adjust_address): Add declaration.
17247         * builtins.c: Replace some calls to change_address with calls to it
17248         or to validize_mem.
17249         * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
17250         * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
17251         * config/arm/arm.c, config/convex/convex.c: Likewise.
17252         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
17253         * config/i386/i386.c, config/i386/i386.md: Likewise.
17254         * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
17255         * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
17256         * config/m88k/m88k.c, config/mips/mips.md: Likewise.
17257         * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
17258         * config/sh/sh.c, config/sparc/sparc.md: Likewise.
17259
17260 2001-07-02  Jim Wilson  <wilson@redhat.com>
17261
17262         * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
17263
17264 2001-07-02  Steve Ellcey  <sje@cup.hp.com>
17265
17266         * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
17267         * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
17268
17269 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
17270
17271         * cppinit.c (lang_defaults): New table.
17272         (set_lang): Just read from lang_defaults into the live options
17273         structure.
17274
17275 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
17276
17277         * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
17278         * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
17279         * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
17280
17281 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17282
17283         * doc/install.texi: Various spelling and markup fixes.
17284         (Installing GCC): Component specific installation instructions are
17285         gone.
17286         Fix reference.
17287         Warn about removing old install dir in the presence of shared libs.
17288         (Configuration): Invoke with options target to match configure
17289         --help.
17290         Consistently refer to gas, gld pathnames.
17291         Invert --enable-multilib documentation.
17292         Remove references to old compiler versions.
17293
17294 Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17295
17296         * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
17297
17298 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17299
17300         * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
17301         section.
17302         (Specific, mips*-sgi-irix5): Note IDO download.
17303         Reworded MIPS C hints.
17304         Use GNU as instead of GAS.
17305         Markup fixes.
17306         Removed SGI Freeware reference, IRIX 6 only.
17307         (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
17308         Note N64 library requirement/workaround.
17309         Update O32 hints.
17310         Complete list of structure passing bug victims.
17311
17312 2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17313
17314         * doc/install.texi: Remove CVS Id.
17315
17316 2001-07-02  Andreas Jaeger  <aj@suse.de>
17317
17318         * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
17319         (find_inherently_necessary): Remove unused variable.
17320
17321 2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>
17322
17323         * c-common.h (TDI_inlined): New ast dump phase.
17324         (dump_flag_name): New function.
17325         * c-dump.c (dump_files): Add inlined phase.
17326         (dump_flag_name): Define.
17327         * doc/invoke.texi (-fdump-ast-inlined): Document.
17328
17329 Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17330
17331         * stor-layout.c (layout_decl): Revert change to handling of alignment
17332         in packed types.
17333
17334 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17335
17336         * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
17337         for FIELD_DECL.
17338
17339 2001-07-01  Geoffrey Keating  <geoffk@redhat.com>
17340
17341         * doc/tm.texi (FUNCTION_ARG): Document that the last call
17342         is special.
17343
17344 2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>
17345
17346         * tlink.c (recompile_files): Remove COMPILER_PATH and
17347         LIBRARY_PATH from the environment.
17348
17349 2001-07-01  Zack Weinberg  <zackw@stanford.edu>
17350
17351         * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
17352         RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
17353         enumerators.
17354         (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
17355
17356         * c-parse.in (OBJC_STRING): Kill.
17357         (objc_string): Decompose to [objc_string] '@' STRING.
17358         (reswords): Take the leading '@' off all the Objective C keywords.
17359         (objc_rid_sans_at): Kill.
17360         (init_reswords): Don't initialize it.
17361         (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
17362         (_yylex): Kill reconsider label.  Look ahead one token after
17363         an '@'; if we get an identifier, check whether it's an
17364         Objective C @-keyword.  If so, return the keyword.  Otherwise,
17365         put back the token and return the '@' as a terminal.
17366
17367         * cpplib.c (lex_macro_node): Remove unnecessary check for
17368         leading '@' on identifier.  Clarify control flow and commentary.
17369
17370 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17371
17372         * cse.c (new_label_ref): Variable deleted.
17373         (insert): Remove set of new_label_ref.
17374         (check_for_label_ref): New function.
17375         (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
17376
17377 See ChangeLog.5 for earlier changes.