OSDN Git Service

* tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2001-12-06  Alexandre Oliva  <aoliva@redhat.com>
2
3         * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
4         * tree-inline.c (expand_call_inline): ... here.
5
6 2001-12-06  H.J. Lu <hjl@gnu.org>
7
8         * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
9         (.po.pox): Likewise.
10         (o/$(PACKAGE).pot): Likewise.
11
12 2001-12-06  David O'Brien  <obrien@FreeBSD.org>
13
14         * config.gcc: Include dbxelf.h before elfos.h.
15         * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
16
17 2001-12-06  Zack Weinberg  <zack@codesourcery.com>
18
19         * cppfiles.c (open_file): If we've opened a directory by
20         mistake, close it.
21         (find_include_file): Avoid turning / into // or // into ///.
22
23 2001-12-06  Nick Clifton  <nickc@cambridge.redhat.com>
24
25         * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
26         (STRUCT_VALUE_REGNUM): Restore definition.
27
28 2001-12-06  Andrew MacLeod <amacleod@redhat.com>
29
30         * flow.c (find_regno_partial): Return register, not the expression
31         the register is in.
32
33 Thu Dec  6 09:24:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
34
35         * function.c (handle_epilogue_set): Check for FP setting case when
36         SP is set from FP in same insn.
37
38 2001-12-06  Nick Clifton  <nickc@cambridge.redhat.com>
39
40         * config/arm/arm.c (load_multiple_sequence): Pass pointer to
41         RTX when calling alter_subreg().
42         (store_multiple_sequence): Pass pointer to RTX when calling
43         alter_subreg().
44
45 Thu Dec  6 06:55:13 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
46
47         * function.c (assing_parms): Fix typo in last change.
48         * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
49         * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
50         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
51         * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
52
53 2001-12-06  Alan Modra  <amodra@bigpond.net.au>
54
55         * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
56         correct code selecting section.
57
58 Thu Dec  6 12:45:33 CET 2001  Jan Hubicka  <jh@suse.cz>
59
60         * final.c (count_basic_block, add_bb, add_bb_string):
61         Kill.
62         (end_final, final_start_function, final, final_scan_insn,
63         leaf_function_p): Kill BB profiler related code.
64         * flags.h (profile_block_flag): Kill.
65         * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
66         BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
67         __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
68         bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
69         reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
70         __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
71         __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
72         __bb_init_trace_func): Kill.
73         * toplev.c (profile_block_flag): Kill.
74         (indepdendent_decode_option, process_options): Kill -a related code.
75         * alpha.c (direct_call_operand): Likewise.
76         * arm.c (arm_expand_prologue, thumb_expand_prologue,
77         thumb_expand_epilogue): Likewise.
78         * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
79         * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
80         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
81         MACHINE_STATE_RESTORE): Kill.
82         * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
83         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
84         MACHINE_STATE_RESTORE): Kill.
85         * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
86         * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
87         ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
88         code.
89         (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
90         * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
91         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
92         MACHINE_STATE_RESTORE): Kill.
93         * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
94         * i960.c (i960_output_function_prologue): Kill BB profiler related
95         code.
96         * ia64.c (ia64_compute_frame_size): Likewise.
97         * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
98         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
99         MACHINE_STATE_RESTORE): Kill.
100         * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
101         * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
102         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
103         MACHINE_STATE_RESTORE): Kill.
104         * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
105         * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
106         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
107         MACHINE_STATE_RESTORE): Kill.
108         * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
109         Kill BB profiler related code.
110         * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
111         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
112         MACHINE_STATE_RESTORE): Kill.
113         * mips.c (mips_expand_prologue): Kill BB profiler related code.
114         * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
115         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
116         MACHINE_STATE_RESTORE): Kill.
117         * rs6000.c (rs6000_override_options): Kill BB profiler related code.
118         * s960.c (s390_function_prologue): Kill BB profiler related code.
119         * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
120         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
121         MACHINE_STATE_RESTORE): Kill.
122         * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
123         * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
124         * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
125         * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
126         * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
127         sparc_nonflat_function_epilogue): Kill BB profiler related code.
128         (sparc_function_block_profiler, sparc_block_profiler,
129         sparc_function_block_profiler_exit): Kill.
130         * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
131         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
132         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
133         MACHINE_STATE_RESTORE): Kill.
134         * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
135         * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
136         * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
137         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
138         MACHINE_STATE_RESTORE): Kill.
139         * doc/invoke.texi: Kill documentation of -a and -ax.
140         * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
141         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
142         MACHINE_STATE_RESTORE): Kill.
143
144 2001-10-26  Steve Christiansen  <smc@us.ibm.com>
145
146         * doc/rtl.texi: Use a table to display RTL format characters.
147
148 2001-12-06  Bo Thorsen  <bo@suse.co.uk>
149
150         * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
151
152 Wed Dec  5 19:18:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
153
154         * function.c (keep_stack_depressed): Check global_live_at_start
155         of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
156
157 2001-12-05  David O'Brien  <obrien@FreeBSD.org>
158
159         * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
160         as set by the generic FreeBSD configure framework.
161
162 2001-12-04  Jason Merrill  <jason@redhat.com>
163
164         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
165         start_inlining, end_inlining.
166         * tree-inline.c (expand_call_inline): Call them.
167         * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
168         (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
169         (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
170         * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
171         (lhd_tree_inlining_end_inlining): New fn.
172
173 2001-12-05  Neil Booth  <neil@daikokuya.demon.co.uk>
174
175         * c-common.c (shadow_warning): New function, moved from cp/decl.c.
176         * c-common.h (shadow_warning): New.
177         * c-decl.c: Include c-common.h.
178         (warn_if_shadowing): New, broken out of pushdecl.
179         (pushdecl): Use warn_if_shadowing.
180         (store_parm_decls): Prevent duplicate -Wshadow warnings.
181
182 Wed Dec  5 17:59:19 2001  Douglas B. Rupp  <rupp@gnat.com>
183
184         * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
185         (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
186         (LIB_SPEC): Remove.
187         
188 Wed Dec  5 16:03:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
189
190         * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
191         (QUAL_UNION_TYPE): New type.
192
193         * varasm.c (output_constant, case ERROR_MARK): New case.
194
195         * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
196         (c_com): Delete its reference.
197         * builtins.c: Delete memory checking code.
198         * calls.c, expr.c, function.c, stmt.c: Likewise.
199         * builtins.c (expand_builtin_arg_info): Remove reference to
200         EXPAND_MEMORY_USE_* modifiers.
201         * explow.c (expr_size): Likewise.
202         * expr.c (expand_expr, expand_increment): Likewise.
203         * expr.h (ARGS_SIZE_RTX): Likewise.
204         * function.c (assign_parms, expand_pending_sizeso): Likewise.
205         * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
206         * expr.c (in_check_memory_usage): Delete.
207         (get_push_address, get_memory_usage_from_modifier): Delete.
208         (expand_assigment): Use EXPAND_WRITE on destination.
209         (expand_expr): Delete ro_modifier.
210         * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
211         add EXPAND_WRITE.
212         (memory_use_mode): Delete.
213         * flags.h (flag_check_memory_usage): Deleted.
214         (flag_prefix_function_name): Likewise.
215         * function.c (expand_function_start): Don't set
216         current_function_check_memory_usage.
217         * function.h (check_memory_usage): Delete.
218         * libfuncs.h, optabs.c: Delete chkr_* stuff.
219         * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
220         EXPAND_WRITE.
221         * toplev.c (flag_check_memory_usage): Deleted.
222         (flag_prefix_function_name): Likewise.
223         (f_options, process_options): Delete references to above.
224         * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
225         * varasm.c (CHKR_PREFIX): Deleted.
226         (make_decl_rtl): Remove flag_prefix_function_name handling.
227         (assemble_name): Likewise.
228         * doc/extend.texi: Remove no_check_memory_usage attribute.
229         * doc/invoke.texi: Remove -fcheck-memory-usage
230         and -fprefix-function-name.
231
232 2001-12-05  Andreas Schwab  <schwab@suse.de>
233
234         * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
235         from autoconf.
236
237 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
238
239         * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
240
241 2001-12-05  William Cohen  <wcohen@redhat.com>
242
243         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
244         instruction.
245
246 2001-12-05  Daniel Berlin  <dan@cgsoftware.com>
247
248         * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
249         builtins. 
250
251         * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
252         better reflect reality (change from Apple's tree).
253         Add more of altivec instructions.
254         Add ftruncv4sf2 pattern.
255         Remove more unspecs (vector merge instructions, etc).
256
257         * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
258         builtins. 
259         (bdesc_1arg): New, for 1 argument altivec builtins.
260         (altivec_expand_builtin): Handle unary and ternary ops.
261         (altivec_init_builtins): Ditto.
262
263 Wed Dec  5 09:33:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
264
265         * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
266         * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
267
268 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
269
270         * gcse.c (store_killed_in_insn): Consider pure calls
271         as potential store killers in addition to normal calls.
272
273 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
274
275         * expr.c (expand_expr): When checking promoted value, use
276         DECL_MODE (exp) and not mode.
277
278 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
279
280         * c-typeck.c (output_init_element): Call digest_init
281         just once, not in each if branch and check its return value for
282         error_mark_node.
283
284 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
285
286         * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
287         type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
288         (finish_struct): Break the loop if n_incomplete went to 0.
289         For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
290
291 Wed Dec  5 07:41:13 2001  Douglas B. Rupp  <rupp@gnat.com>
292
293         * config/alpha/alpha.c (alpha_va_start): Update VMS case.
294
295 Wed Dec  5 07:27:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
296                           Douglas B. Rupp  <rupp@gnat.com>
297         
298         * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
299         * doc/invoke.texi: Add -gvms.
300         * doc/passes.texi: Add mention of vmsdbgout.c.
301         * doc/tm.texi: Document VMS debugging output.
302
303 Wed Dec  5 06:26:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
304
305         * function.h (tree, rtx): Remove no-longer-needed definitions.
306
307         * function.c (keep_stack_depressed): Refine check for register
308         clobbered over call.
309
310         * expr.c (store_expr): When copying string constant into array,
311         use functions that update memrefs instead of computations on
312         addresses to better track MEMs.  Also properly handle 32/64 pointers.
313         (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
314         (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
315
316         * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
317         underneath COMPONENT_REFs.
318         (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
319
320 2001-12-05  Neil Booth  <neil@daikokuya.demon.co.uk>
321
322         * toplev.c (display_target_options): Don't print twice.
323
324 Wed Dec  5 00:42:16 EST 2001  John Wehle  (john@feith.com)
325
326         * emit-rtl.c (set_unique_reg_note): Don't set
327         a REG_EQUAL or REG_EQUIV note if multiple sets
328         are present.
329
330 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
331
332         * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
333         CASE_DROPS_THROUGH.
334
335 2001-12-04  Andrew MacLeod  <amacleod@redhat.com>
336
337         * rtl.h (initialize_uninitialized_subregs): New prototype.
338         * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
339         when optimization is on.
340         * flow.c (find_regno_partial): Find subregs within an expression.
341         (initialize_uninitialized_subregs): Initialize live on entry registers
342         which are used in subreg expressions.
343
344 2001-12-04  Phil Edwards  <pme@gcc.gnu.org>
345
346         * Makefile.in:  Add INSTALL_SCRIPT using INSTALL definition.
347
348 2001-12-04  DJ Delorie  <dj@redhat.com>
349
350         * fixinc/fixincl.c (initialize): Avoid problemsome macro
351         parameter names (PR 3388).
352
353 2001-12-05  Alan Modra  <amodra@bigpond.net.au>
354
355         * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
356         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
357
358 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
359
360         * c-common.def (COMPOUND_LITERAL_EXPR): New.
361         * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
362         (c_staticp): New function.
363         * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
364         (c_staticp): Declare.
365         * c-typeck.c (default_function_array_conversion, build_unary_op):
366         Don't handle CONSTRUCTOR specially.
367         (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
368         * c-decl.c (build_compound_literal): New function.
369         * c-tree.h (build_compound_literal): Declare.
370         * c-parse.in (primary): Use build_compound_literal.
371         * c-lang.c (LANG_HOOKS_STATICP): Define.
372         * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
373         * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
374         * doc/extend.texi: Update documentation of compound literals.
375         Fixes PR c/4787.
376
377 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
378
379         * langhooks.h (struct lang_hooks): Add staticp.
380         * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
381         (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
382         * langhooks.c (lhd_staticp): New function.
383         * tree.c (staticp): Call lang_hooks.staticp for language-specific
384         tree codes.
385
386 2001-12-04  Neil Booth  <neil@daikokuya.demon.co.uk>
387
388         * cppspec.c (lang_specific_driver): Set is_cpp_driver.
389         * gcc.c (process_command): Ensure the cpp driver sees
390         --help and --target-help, and that the help is printed
391         exactly once.
392
393 2001-12-04  David Edelsohn  <edelsohn@gnu.org>
394
395         * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
396
397 2001-12-04  Hans-Peter Nilsson  <hp@axis.com>
398
399         * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
400         flag_strict_aliasing.  Use separate assignment statements.
401
402 2001-12-04  Zack Weinberg  <zack@codesourcery.com>
403
404         * build-make, cross-make: Delete file.
405         * configure.in: Set and substitute CROSS, ALL,
406         SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
407         HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
408         whether build == host and host == target.  Do not
409         AC_SUBST_FILE build_overrides or cross_overrides.  Do not
410         AC_SUBST cross_defines or extra_c_flags.
411         * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
412         (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
413         HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
414         partially or completely with autoconf-substituted @variable@
415         notation.
416         (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
417         @build_overrides@, @extra_c_flags@, all.build, install-build,
418         install-cross-rest, install-float-h-cross): Deleted.
419         (install-normal): Rename to install.  Delete old "install"
420         indirection rule.
421
422 2001-12-04  Andrew MacLeod  <amacleod@redhat.com>
423
424         * stmt.c (expand_return): Clear destination instead of clobbering it 
425         when setting a return value via bitsets.
426
427 2001-12-04  Alexandre Oliva  <aoliva@redhat.com>
428
429         * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
430         it has DECL_SAVED_TREE.
431         
432         * c-decl.c (duplicate_decls): Revert rth's patch.  If newdecl
433         is in a different binding level, get its abstract origin to be
434         olddecl.
435         * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
436         check earlier.
437         * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
438         DECL_INITIAL is NULL.
439
440 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
441
442         * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
443         Return correct value if one of the subexpressions was optimized to
444         0 resp. 1.  Optimize (x | A) | x and (x & A) | x.
445         (and_reg_cond): Similarly.
446
447 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
448
449         * function.c (assign_parms): Set last_named only for last named
450         argument.
451
452 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
453
454         * doc/install.texi: Use the GFDL.  Include years from old install
455         manual in copyright notice.  Include copyright and GFDL notice on
456         HTML index page.  Include usual footer on testing.html.
457         * doc/install.texi2html: Build gfdl.html.  Use -I
458         $SOURCEDIR/include.
459         * doc/include/fdl.texi: Adapt for use in the install manual.
460
461 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
462
463         * doc/install.texi: Document that installed native compiler for
464         building cross compilers should be GCC 2.95 or later.
465
466 2001-12-03  Eric Christopher  <echristo@redhat.com>
467
468         * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
469         * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
470         patterns.
471
472 2001-12-03  Janis Johnson  <janis187@us.ibm.com>
473
474         * rtl.def (PREFETCH): New rtx code.
475         * doc/rtl.texi (PREFETCH): Add documentation.
476         * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
477         * rtlanal.c (reg_referenced_p): Ditto.
478         * sched-vis.c (print_exp):  Ditto.
479         * ssa-dce.c (find_inherently_necessary):  Ditto.
480
481         * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
482           (PREFETCH_BLOCK): Define.
483         * config/ia64/ia64.md (itanium_class): Add lfetch.
484           (prefetch, prefetch_internal): New.
485
486         * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
487         * builtins.def (BUILT_IN_PREFETCH): New.
488         * builtins.c (expand_builtin_expect): New.
489           (expand_builtin): Call it.
490         * doc/extend.texi: Document __builtin_expect.
491
492         * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
493           conflicts with new generic prefetch functionality.
494         * config/i386/i386.c (ix86_expand_builtin): Use new name for
495           prefetch_sse.
496
497 2001-12-02  Ziemowit Laski  <zlaski@apple.com>
498
499         * objc/Make-lang.in: Update copyright.
500         (OBJC_OBJS): Add objc-lang.o.
501         (objc-lang.o): New rule.
502         * objc/config-lang.in: Fix file description and update
503         copyright.
504         * objc/objc-act.c: Do not include langhooks.h and
505         langhooks-def.h
506         (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
507         (objc_post_options): Move to objc-lang.c.
508         (objc_init_options): Move to objc-lang.c.
509         (objc_init): Make non-static.
510         (objc_decode_option): Make non-static.
511         (HASHFUNCTION): Remove macro.
512         (hash_func): New function.
513         (hash_enter): Replace HASHFUNCTION with hash_func.
514         (hash_lookup): Replace HASHFUNCTION with hash_func.
515         (maybe_objc_tree_codes): New function.
516         (init_objc): Move ObjC tree code initialization to
517         maybe_objc_tree_codes().
518         * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
519         (objc_init): New public prototype.
520         (objc_decode_option): New public prototype.
521         (maybe_add_objc_tree_codes): New public prototype.
522         * objc/objc-lang.c: New file.
523         (lang_hooks): Moved from objc-act.c.
524         (objc_post_options): Moved from objc-act.c.
525         (objc_init_options): Moved from objc-act.c.
526
527 2001-12-03  Geoff Keating  <geoffk@redhat.com>
528
529         * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
530         of array elements.
531
532 2001-12-03  Neil Booth  <neil@daikokuya.demon.co.uk>
533
534         PR c/4988
535         * gcc.c (process_command): Don't add a preprocessor option for
536         --help and --target-help; cc1 is enough.
537
538 2001-12-03  Neil Booth  <neil@daikokuya.demon.co.uk>
539
540         * c-decl.c (grokdeclarator): Use ISO word.
541         * cppinit.c: Remove leading capital from diagnostic messages, as
542         per GNU coding standards.
543         * emit-rtl.c: Similarly.
544         * final.c: Similarly.
545         * gcc.c: Similarly.
546         * tradcpp.c: Similarly.
547         * config/arm/arm.c: Similarly.
548         * config/arm/arm.h: Similarly.
549         * config/avr/avr.c: Similarly.
550         * config/avr/avr.h: Similarly.
551         * config/c4x/c4x.c: Similarly.
552         * config/cris/cris.c: Similarly.
553         * config/cris/cris.h: Similarly.
554         * config/d30v/d30v.c: Similarly.
555         * config/dsp16xx/dsp16xx.c: Similarly.
556         * config/dsp16xx/dsp16xx.h: Similarly.
557         * config/h8300/h8300.c: Similarly.
558         * config/i386/i386.c: Similarly.
559         * config/i386/xm-djgpp.h: Similarly.
560         * config/i960/i960.h: Similarly.
561         * config/m32r/m32r.c: Similarly.
562         * config/m68hc11/m68hc11.c: Similarly.
563         * config/m88k/m88k.c: Similarly.
564         * config/m88k/m88k.h: Similarly.
565         * config/mcore/mcore.c: Similarly.
566         * config/mcore/mcore.h: Similarly.
567         * config/mips/mips.c: Similarly.
568         * config/mmix/mmix.c: Similarly.
569         * config/pa/pa.c: Similarly.
570         * config/rs6000/rs6000.c: Similarly.
571         * config/rs6000/sysv4.h: Similarly.
572         * config/s390/s390.c: Similarly.
573         * config/sparc/sparc.c: Similarly.
574         * config/v850/v850-c.c: Similarly.
575         * config/v850/v850.c: Similarly.
576
577 2001-12-03  Zack Weinberg  <zack@codesourcery.com>
578
579         * rs6000.h (RETURN_IN_MEMORY): Cast result of
580         int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
581
582 Mon Dec  3 09:18:34 2001  Jeffrey A Law  (law@cygnus.com)
583
584         * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
585         bit twiddling constant.
586
587 Mon Dec  3 16:16:37 CET 2001  Jan Hubicka  <jh@suse.cz>
588
589         * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
590         call purge_dead_edges after removing.
591         (delete_null_pointer_checks): Do not handle delete_list.
592
593         * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
594         (count_basic_blocks): ... here.
595         (find_basic_blocks, find_bb_boundaries): Cleanup.
596
597         * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
598         overflow for types greater then 2 * HOST_WIDE_INT.
599
600         * reload.c (find_reloads): Update the duplicates after swapingg.
601
602 Mon Dec  3 13:52:19 CET 2001  Jan Hubicka  <jh@suse.cz>
603
604         * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
605
606 2001-12-02  Zack Weinberg  <zack@codesourcery.com>
607
608         * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
609         MASK_LONG_DOUBLE_128): Delete.
610         (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
611         TARGET_AIX_STRUCT_RET): New flags.
612         (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
613         -mlong-double-64.  Add entries for -m(no-)aix-struct-return
614         and -m(no-)svr4-struct-return.
615         (TARGET_OPTIONS): Add entry for -mlong-double-.
616         (rs6000_long_double_size_string, rs6000_long_double_type_size,
617         rs6000_altivec_abi): Declare.
618         (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
619         LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
620         (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
621         structures of size <= 8 bytes in registers.
622         (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
623
624         * config/rs6000/rs6000.c (rs6000_long_double_size_string,
625         rs6000_long_double_type_size, rs6000_altivec_abi): New
626         globals.
627         (rs6000_override_options): Set rs6000_long_double_type_size
628         from rs6000_long_double_size_string, if nonzero.  Set the
629         MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
630         not already set.
631         (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
632         target_flags bit.
633         (rs6000_init_builtins): This hook now takes no arguments.
634
635         * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
636         DRAFT_V4_STRUCT_RET to 1.
637
638 2001-12-03  Joseph S. Myers  <jsm28@cam.ac.uk>
639
640         * c-typeck.c (really_start_incremental_init, push_init_level):
641         Avoid constructor_max_index being other than an INTEGER_CST.
642
643 2001-12-02  David Edelsohn  <edelsohn@gnu.org>
644
645         * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
646         unsigned.
647         (ASM_GENERATE_INTERNAL_LABEL): Same.
648         (UNIQUE_SECTION): Fix typo.
649
650 2001-12-02  Richard Henderson  <rth@redhat.com>
651
652         * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
653
654 2001-12-02  Richard Henderson  <rth@redhat.com>
655
656         * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
657         (MEM_EXPR): Rename from MEM_DECL; adjust all users.
658         * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
659         * expr.h, final.c, reload1.c: Adjust users.
660
661         * alias.c (nonoverlapping_component_refs_p): New.
662         (decl_for_component_ref, adjust_offset_for_component_ref): New.
663         (nonoverlapping_memrefs_p): Use them.
664         * emit-rtl.c (component_ref_for_mem_expr): New.
665         (set_mem_attributes): Use it.
666         (set_mem_offset): New.
667         * expr.c (expand_assignment): Call set_mem_attributes for
668         inner references; adjust the memory offset as needed.
669         * print-rtl.c (print_mem_expr): New.
670         (print_rtx): Use it.
671
672 Sun Dec  2 09:22:25 2001  Douglas B. Rupp  <rupp@gnat.com>
673
674         * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
675
676         * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
677         (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
678         (ASM_SPEC): Don't redefine.
679         (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
680         * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
681         * config/alpha/vms-dwarf2.asm: New file.
682
683         * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
684         * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
685         * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
686         (vmsdbgout_after_prologue): New declaration.
687         * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
688         * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
689         * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
690         (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
691         (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
692         (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
693         * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
694         Test VMS_DEBUGGING_INFO.
695         (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
696         (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
697         * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
698         * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
699         VMS_AND_DWARF2_DEBUG.
700         (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
701         (decode_g_option): Add "vms" to debug_type_names.
702         (process_options): Set vmsdbg_debug_hooks if -gvms.
703         (lang_independent_init): Emit line number for VMS unless -g0.
704         * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
705         * vmsdbg.h, vmsdbgout.c: New files.
706
707 Sun Dec  2 09:03:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
708
709         * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
710
711 2001-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
712
713         * cfgrtl.c (purge_all_dead_edges): Initialize variable.
714         * dwarf2out.c (is_cxx): Prototype.
715         * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
716         warning.
717         * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
718
719 Sun Dec  2 07:12:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
720
721         * libgcc2.c (__bb_exit_func): Fix line wrap problems.
722
723 2001-12-02  Geoff Keating  <geoffk@redhat.com>
724
725         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
726         * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
727         rather than simplify_subreg.  Check for volatile-ness.  Check that
728         we're not splitting one slow operation into two slow operations.
729
730 2001-12-02  David Edelsohn  <edelsohn@gnu.org>
731
732         * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
733         before shifting.
734
735 2001-12-02  Neil Booth  <neil@daikokuya.demon.co.uk>
736
737         * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
738         capital from diagnostics.
739         * c-lex.c (cb_file_change): Similarly.
740         * c-parse.in : Similarly.
741         * cfgrtl.c (verify_flow_info): Similarly.
742         * collect2.c: Similarly.
743         * cppfiles.c (find_include_file): Similarly.
744         * cppinit.c (cpp_handle_option): Similarly.
745         * cpplex.c (cpp_spell_token): Similarly.
746         * cppmain.c (do_preprocessing): Similarly.
747         * gcc.c (translate_options, process_command, do_spec1,
748         main, pfatal_execute): Similarly.
749         * genattr.c (main): Similarly.
750         * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
751         write_test_expr, main): Similarly.
752         * gencodes.c (main): Similarly.
753         * genconfig.c (main): Similarly.
754         * genconstants.c (main): Similarly.
755         * genemit.c (main): Similarly.
756         * genextract.c (main): Similarly.
757         * genflags.c (main): Similarly.
758         * genopinit.c (main): Similarly.
759         * genoutput.c (process_template, main): Similarly.
760         * genpeep.c (main): Similarly.
761         * genrecog.c (main): Similarly.
762         * gensupport.c (is_predicable, identify_predicable_attribute,
763         alter_predicate_for_insn, init_md_reader_args, main): Similarly.
764         * ggc-page.c (alloc_anon): Similarly.
765         * mips-tfile.c (add_string, add_procedure, add_file, read_line,
766         parse_begin, parse_bend, parse_def, parse_end, parse_file,
767         parse_stabs_common, parse_stabs, write_varray, write_object,
768         read_seek, copy_object, main, error): Similarly.
769         * profile.c (compute_branch_probabilities): Similarly.
770         * reg-stack.c (check_asm_stack_operands): Similarly.
771         * reload.c (find_reloads): Similarly.
772         * reload1.c (spill_failure, failed_reload): Similarly.
773         * rtl-error.c (_fatal_insn_not_found): Similarly.
774         * toplev.c (read_integral_parameter, crash_signal,
775         decode_f_option, set_target_switch, parse_options_and_default_flags)
776         : Similarly.
777         * tradcif.y (parse_number, yylex): Similarly.
778         * tradcpp.c (main, fancy_abort): Similarly.
779         * tree.c (tree_check_failed): Similarly.
780         * varray.c (varray_check_failed): Similarly.
781         * xcoffout.c (xcoff_output_standard_types): Similarly.
782 objc:
783         * objc-act.c (get_object_ref, lookup_and_install_protocols,
784         build_objc_string_object, objc_declare_alias, build_ivar_chain,
785         finish_message_expr, build_protocol_expr, is_public,
786         start_class): Similarly.
787
788 2001-12-01  Neil Booth  <neil@daikokuya.demon.co.uk>
789
790         * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
791         trailing period from diagnostics.
792         * c-lex.c (cb_file_change): Similarly.
793         * cppmacro.c (check_trad_stringification): Similarly.
794         * gcc.c (do_spec_1): Similarly.
795         * genattr.c (main): Similarly.
796         * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
797         * gencodes.c (main): Similarly.
798         * genconfig.c (main): Similarly.
799         * genconstants.c (main): Similarly.
800         * genemit.c (main): Similarly.
801         * genextract.c (main): Similarly.
802         * genopinit.c (main): Similarly.
803         * genoutput.c (main): Similarly.
804         * genpeep.c (main): Similarly.
805         * genrecog.c (main): Similarly.
806         * mips-tfile.c (add_file, error): Similarly.
807         * profile.c (init_branch_prob): Similarly.
808         * reload1.c (spill_failure): Similarly.
809         * stmt.c (parse_output_constraint): Similarly.
810         * varasm.c (assemble_variable): Similarly.
811
812 2001-12-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
813
814         * m68k.c (init_FPA_table): Provide static prototype.
815         * mips/abi64.h (mips_function_value): Move prototype to ...
816         * mips-protos.h (mips_function_value): ... here.
817         * mips.c: Include halfpic.h.
818         * output.h (rdata_section): Prototype.
819
820         * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
821         * m88k.c (m88k_svr3_asm_out_constructor,
822         m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
823         !OBJECT_FORMAT_ELF.
824         * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
825         * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
826         * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
827
828 2001-12-01  Geoff Keating  <geoffk@redhat.com>
829
830         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
831         LO_SUM addresses less than word size are not legitimate,
832         because they lead to invalid SUBREGs.
833         * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
834
835 2001-12-01  Olivier Hainque <hainque@act-europe.fr>
836
837         * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
838         while scanning for multiple back edges.
839
840 2001-12-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
841
842         * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
843         * config/rs6000/tramp.asm: Use it.
844
845 2001-12-01  Zack Weinberg  <zack@codesourcery.com>
846
847         * gencheck.c, gengenrtl.c: Don't define xmalloc.
848         * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
849         xmalloc.
850
851 2001-11-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
852
853         * pa.c (output_ascii): Cast `p' to unsigned char.
854
855 2001-11-30  Daniel Berlin  <dan@cgsoftware.com>
856
857         * config/rs6000/rs6000.c (altivec_expand_builtin): add
858         ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
859         *_16qi,_8hi, rename existing V4SI ones to *_4si.
860         (altivec_init_builtins): Ditto.
861         (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
862
863         * config/rs6000/rs6000.md: Add attribute types vecsimple,
864         veccomplex, vecfloat, and vecperm, for altivec instructions.
865         Modify altivec patterns to use approriate attribute type.
866         Modify altivec patterns to match RTL operations where approriate
867         (IE no unspec where we can avoid it).
868         Add vector unit scheduling for ppc7450.
869         Rename patterns to what they are where approriate
870         (altivec_vaddfp->addv4sf3, etc)
871
872         * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
873         Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
874
875         * config/rs6000/sysv4.h: Add -mcpu=7450.
876
877         * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
878         _builtin_altivec_ld_interal function.
879
880 2001-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
881
882         * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
883         strchr, strrchr, isascii, gettimeofday.
884         * config.in, configure: Regenerate.
885
886 2001-11-30  Zoltan Hidvegi  <hzoli@hzoli.2y.net>
887
888         * unroll.c (unroll_loop): Correct special exit cases.
889
890 2001-11-30  Stephane Carrez  <Stephane.Carrez@sun.com>
891
892         * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
893         accept DFmode and DImode only.
894
895 2001-11-30  Aldy Hernandez  <aldyh@redhat.com>
896
897         * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
898         (STACK_DYNAMIC_OFFSET): Same.
899
900 2001-11-30  Richard Henderson  <rth@redhat.com>
901
902         * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
903
904 2001-11-30  Aldy Hernandez  <aldyh@redhat.com>
905
906         * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
907         (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
908         the values in call_used_registers.
909
910 Fri Nov 30 12:48:26 2001  Jeffrey A Law  (law@cygnus.com)
911
912         * gthr-dce.h: If _DCE_THREADS is not defined, then just include
913         gthr-single.
914
915 2001-11-30  Jason Merrill  <jason@redhat.com>
916
917         * dwarf2out.c (is_cxx): New fn.
918         (add_data_member_location_attribute): Check it.
919         * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
920
921 Fri Nov 30 08:26:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
922
923         * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
924
925 2001-11-30  Daniel Berlin  <dan@cgsoftware.com>
926
927         * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
928         MODE_VECTOR_FLOAT as allowed.
929
930 2001-11-29  Zack Weinberg  <zack@codesourcery.com>
931
932         Purge cruft now we have build libiberty.
933
934         * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
935         HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
936         USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
937         USE_HOST_STRSTR): Delete variables.
938         (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
939         hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
940         $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
941         $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
942         (LIBIBERTY, BUILD_LIBIBERTY): New variables.
943         (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
944         (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
945         (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
946         (HOST_LIBS): Ditto.
947         (HOST_RTL): Remove hashtab.o safe-ctype.o.
948         (OBJS): Remove splay-tree.o.
949         (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
950         (distclean): No need to delete splay-tree.c obstack.c
951         hashtab.c safe-ctype.c.
952         (mostlyclean): Delete build copies of print-rtl.c bitmap.c
953         errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
954         * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
955         Delete.
956         * configure.in: Don't use them.
957         Set and substitute @FORBUILD@.
958         * config.in, configure: Regenerate.
959         * doprint.c: Move to libiberty/_doprnt.c.
960         * doc/configterms.texi: Document that libiberty is now built
961         up to three times.  Fix typo.
962
963 2001-11-30  Jason Merrill  <jason@redhat.com>
964
965         * dwarf2out.c (add_data_member_location_attribute): Do the
966         right thing for virtual bases.
967         * dbxout.c (dbxout_type): For a virtual base, print the offset
968         within the vtable.
969
970 2001-11-29  Zoltan Hidvegi  <hzoli@hzoli.2y.net>
971
972         * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
973
974 2001-11-29  Aldy Hernandez  <aldyh@redhat.com>
975
976         * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
977         go in memory.
978         Remove unused attribute for named.
979
980 2001-11-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
981
982         * genattrtab.c (attr_rtx_1): New function containing the
983         majority of `attr_rtx'.  Move variable declarations into the
984         scope where they are used.  Eliminate unnecessary gotos.
985         (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
986         VA_FIXEDARG, and VA_CLOSE.
987
988 2001-11-30  Hans-Peter Nilsson  <hp@axis.com>
989
990         * config/cris/cris.c (cris_notice_update_cc): Check first
991         destination also against overlap with cc_status.value2 and second
992         destination against overlap with cc_status.value1.  For overlaps,
993         clear overlapped value, don't just CC_STATUS_INIT.
994
995         * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
996         Fix typo in comment.
997         (LINK_SPEC): Remove whitespace at end of line.
998
999 2001-11-29  Jakub Jelinek  <jakub@redhat.com>
1000
1001         * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
1002
1003 2001-11-29  Jakub Jelinek  <jakub@redhat.com>
1004
1005         * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
1006         macros for the supported debugging types.
1007
1008 2001-11-29  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1009
1010         PR other/4932
1011         * config/i386/i386.c (print_operand):  Verify that the
1012           argument to %c is a constant and not a conditional which
1013           needs to be reversed.
1014
1015 Thu Nov 29 11:12:59 2001  Geoffrey Keating (geoffk@redhat.com)
1016
1017         * emit-rtl.c (gen_lowpart_common): Fix conversion of
1018         REAL_VALUE_TYPEs to an array of target integers.  Fix extraction
1019         of low part of those arrays for 32bit and 64bit hosts.
1020
1021 2001-11-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1022
1023         * Makefile.in (insn-output.o): Depend on insn-codes.h.
1024
1025 2001-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
1026
1027         * configure.in (target_list): Add generated-manpages.
1028         * configure: Regenerate.
1029         * Makefile.in (generated-manpages): Depend on
1030         lang.generated-manpages.
1031         * objc/Make-lang.in (objc.generated-manpages): New dummy target.
1032
1033 2001-11-29  Nick Clifton  <nickc@cambridge.redhat.com>
1034
1035         * config/arm/crti.asm (_init): Add .thumb_func if compiled
1036         with -mthumb.
1037         (_fini): Add .thumb_func if compiled with -mthumb.
1038
1039 2001-11-28  Eric Christopher  <echristo@redhat.com>
1040
1041         * config/mips/mips.c (override_options): Fix thinko in mips_tune
1042         for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
1043
1044 Thu Nov 29 00:24:15 EST 2001  John Wehle  (john@feith.com)
1045
1046         * alpha.md (tablejump): Use pic_offset_table_rtx
1047         instead of gen_rtx_REG.
1048
1049 Wed Nov 28 15:36:13 2001  Jeffrey A Law  (law@cygnus.com)
1050
1051         * expr.c (store_expr): When copying a string constant into an
1052         array, reset the known alignment of the MEM for the section to
1053         be cleared to BITS_PER_UNIT.
1054
1055 2001-11-28  Hans-Peter Nilsson  <hp@axis.com>
1056
1057         * config/cris/cris.c: Remove whitespace at end of line.
1058
1059 Wed Nov 28 14:51:23 2001  Douglas B. Rupp  <rupp@gnat.com>
1060
1061         * config.gcc (i[34567]86-*-interix3*): New case.
1062         * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
1063         New files.
1064
1065 2001-11-28  Richard Henderson  <rth@redhat.com>
1066
1067         * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
1068         symbolic_operand as the predicate.
1069
1070 2001-11-28  Richard Henderson  <rth@redhat.com>
1071
1072         * doloop.c (doloop_modify_runtime): Properly select induction
1073         variable; skip late entry test if biv initializer created by loop.
1074
1075 Wed Nov 28 08:21:47 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1076
1077         * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
1078         EXPR_WITH_FILE_LOCATION, so change checks and documentation.
1079
1080         * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
1081
1082         * tree.h: Add missing checks on some macros; make formatting more
1083         consistent.
1084
1085         * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
1086         level; only add to pending_sizes if find it.
1087
1088         * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
1089
1090         * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
1091         Add casts to remove warnings.
1092
1093         * Makefile.in (OBJS): Sort alphabetically.
1094
1095         * print-rtl.c (print_rtx): If RTX code is bad, just say so.
1096         Also minor cleanups.
1097
1098 Wed Nov 28 06:52:27 2001  Arnaud Charlet  <charlet@ACT-Europe.FR>
1099
1100         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
1101         (FLAGS_TO_PASS): Add STAGE_PREFIX.
1102         (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
1103         to STAGE_PREFIX.
1104
1105 Wed Nov 28 10:42:19 CET 2001  Jan Hubicka  <jh@suse.cz>
1106
1107         * cse.c (true_dependence_in_rtx): New function.
1108         (invalidate): Use it.
1109
1110         * c-common.h (GOTO_FAKE_P): New macro.
1111         * tree-inline.c (GOTO_FAKE_P): Set.
1112         * c-tree.texi (GOTO_FAKE_P): Document.
1113
1114         * varasm.c (assemble_variable): Set reloc to 3 for error_mark
1115         containing pointers.
1116         (output_addressed_constants): Check for local/external relocations.
1117         * elfos.h (SELECT_SECTION): Classify data section.
1118         * tm.texi (SELECT_SECTION): Update documentation.
1119
1120         * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
1121         (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
1122
1123 2001-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1124
1125         * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1126         UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
1127         OBJECT_FORMAT_ROSE.
1128
1129 2001-11-28  Hans-Peter Nilsson  <hp@axis.com>
1130
1131         * config/cris/cris.c: Tweak spacing for prototypes.
1132         (LOSE_AND_RETURN): New macro.
1133         (cris_operand_lossage): New function.
1134         (cris_print_index, cris_print_base): Use cris_operand_lossage
1135         rather than fatal_insn.
1136         (cris_print_operand, cris_print_operand_address): Use
1137         LOSE_AND_RETURN rather than fatal_insn and internal_error.
1138         (cris_output_addr_const): Use LOSE_AND_RETURN and
1139         output_operand_lossage rather than fatal_insn and internal_error
1140         for valid but unexpected rtx expressions.
1141
1142         * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
1143         for a SUBREG in src or dest, abort instead.
1144
1145 2001-11-28  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1146
1147         * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
1148         doc.
1149
1150 2001-11-27  Jakub Jelinek  <jakub@redhat.com>
1151
1152         * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
1153         preprocessor define.  If only DBX_DEBUGGING_INFO or only
1154         DWARF2_DEBUGGING_INFO is supported for the target, provide
1155         appropriate definitions.
1156
1157 2001-11-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1158
1159         * Makefile.in: Update, and add c-objc-common.o dependencies.
1160         * c-lang.c: Remove unnecessary includes.
1161         (c_init): Move bulk of code to c_objc_common_init, and call it.
1162         (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
1163         inline_forbidden_p, c_cannot_inline_tree_fn): Move to
1164         c-objc-common.c.
1165         * c-objc-common.c: New.  Mostly pulled from c-lang.c.
1166         * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
1167         c_objc_common_init, c_missing_noreturn_ok_p): New.
1168         * toplev.c: Update comment.
1169         * doc/passes.texi: Update.
1170 objc:
1171         * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
1172         LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
1173         LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
1174         (objc_init): Update to use c_objc_common_init.
1175
1176 2001-11-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1177
1178         * cpphash.c (_cpp_init_hashtable): Update.
1179         * cpphash.h (struct spec_nodes): Remove n_L.
1180         * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
1181
1182 2001-11-17  Richard Henderson  <rth@redhat.com>
1183
1184         * unroll.c (loop_iterations): Move last change ...
1185         * doloop.c (doloop_modify_runtime): ... here.
1186
1187 2001-11-17  Corey Minyard  <minyard@acm.org>
1188             Richard Henderson  <rth@redhat.com>
1189
1190         * unroll.c (loop_iterations): Detect one situation in which we
1191         overestimate the number of iterations.
1192
1193 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1194
1195         * gcc.c (set_input): Export.
1196         Move declaration ...
1197         gcc.h (set_input): ... here.
1198
1199 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1200
1201         * gcc.c (set_collect_gcc_options): New function, split out from
1202         main.
1203         Ignore elided switches.
1204         (do_spec): Invoke before executing command.
1205         (do_spec_1): Likewise.
1206         Fixes PR other/3968.
1207
1208 2001-11-27  Hans-Peter Nilsson  <hp@axis.com>
1209
1210         * config/cris/cris.h (INT_ASM_OP): Remove.
1211
1212 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1213
1214         * config/i386/sol2.h (WINT_TYPE): Redefine.
1215         (WINT_TYPE_SIZE): Likewise.
1216
1217 2001-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1218
1219         * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
1220         (dup2): Make static and add prototype.
1221         * m68k/plexus.h: Don't define NO_DUP2.
1222         * configure.in (AC_CHECK_FUNCS): Add dup2.
1223         * config.in, configure: Regenerate.
1224
1225         * ia64/aix.h (REG_SIZE): Don't #undef.
1226         * sparc.h (REG_SIZE): Delete.
1227         * flow.c (mark_used_regs): Don't use REG_SIZE.
1228         * regs.h (REG_SIZE): Delete.
1229
1230 2001-11-27  Andreas Schwab  <schwab@suse.de>
1231
1232         * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
1233         PREFERRED_DEBUGGING_TYPE.
1234
1235 Tue Nov 27 08:21:47 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1236
1237         * Makefile.in (c-lang.o): Depends on langhooks-def.h.
1238         (expr.o, varasm.o): Depends on langhooks.h.
1239         * c-common.c (c_safe_from_p): Always declare.
1240         (c_expand_expr): Refine when declared.
1241         * c-lang.c (c-common.h): Now include.
1242         (LANG_HOOKS_SAFE_FROM_P): Define new hook.
1243         (c_init): Don't set lang_safe_from_expr.
1244         * expr.c (langhooks.h): Now include.
1245         (lang_safe_from_p): No longer define.
1246         (safe_from_p): Use lang hook.
1247         (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
1248         (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
1249         * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
1250         * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
1251         (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
1252         * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
1253         * langhooks.h (struct lang_hooks): New fields expand_constant
1254         and safe_from_p.
1255         * output.h (output_constant): Size arg is HOST_WIDE_INT.
1256         * stmt.c (expand_decl_init): No longer need to expand constant
1257         for CONST_DECL.
1258         * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
1259         * toplev.c (lang_expand_constant): Delete var.
1260         * tree.c (save_expr): Don't put another SAVE_EXPR around simple
1261         operations on SAVE_EXPR.
1262         * varasm.c (langhooks.h): Now include.
1263         (compare_constant_1): Use lang_hooks, not lang_expand_constant.
1264         (record_constant_1, output_addressed_constants): Likewise.
1265         (initializer_constant_valid_p, output_constant): Likewise.
1266         (output_constant_def): Process no-defer of string constant.
1267         (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
1268         (output_constant): Strip more conversions.
1269         Track our size and pad for the rest.
1270         (array_size_for_constructor): Remove code for non-byte STRING_CST.
1271         (output_constructor): SIZE now HOST_WIDE_INT.
1272
1273 2001-11-27  Richard Henderson  <rth@redhat.com>
1274
1275         * ifcvt.c (noce_try_store_flag_constants): Test for overflow
1276         in computing DIFF.
1277
1278 2001-11-27  Zack Weinberg  <zack@codesourcery.com>
1279
1280         * cppfiles.c (read_include_file): Add comment.
1281
1282 2001-11-26  Richard Henderson  <rth@redhat.com>
1283
1284         * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
1285
1286 2001-11-26  Richard Henderson  <rth@redhat.com>
1287
1288         * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
1289         * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
1290         commented out override.
1291
1292 2001-11-26  Neil Booth  <neil@daikokuya.demon.co.uk>
1293
1294         * cppfiles.c (stack_include_file): Don't optimize zero-length
1295         files.
1296         (read_include_file): NUL-terminate read files.
1297         * cpplex.c (handle_newline, skip_escaped_newlines,
1298         get_effective_char, skip_whitespace, parse_identifier,
1299         parse_identifier_slow, parse_number, parse_string,
1300         _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
1301         NUL-terminated.
1302         * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
1303         Be sure buffers are NUL terminated.
1304         * cppmacro.c (warn_of_redefinition): Kill compile warning.
1305
1306 2001-11-26  Neil Booth  <neil@daikokuya.demon.co.uk>
1307
1308         * c-common.c: Include tree-inline.h.
1309         (c_language): Move separate definitions here.
1310         (c_common_init_options, c_common_post_options): New.
1311         (c_common_lang_init): Rename c_common_init.
1312         * c-common.h (c_common_lang_init): Similarly.
1313         (c_common_init_options, c_common_post_options): New.
1314         * c-lang.c (c_post_options): Move body to c_common_post_options.
1315         (c_init_options): Use c_common_init_options.
1316         (c_init): Update.
1317         * langhooks.def: Rearrange.
1318         * langhooks.h: Rearrange, and improve comments.
1319         * toplev.c (do_compile): New function.
1320         (toplev_main): Use it.
1321         (lang_independent_f_options, parse_options_and_default_flags,
1322         process_options): Remove trailing periods.
1323         * Makefile.in: Update.
1324 objc:   * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
1325         functions.
1326         (ojbc_init): Update.
1327
1328 2001-11-26  Richard Henderson  <rth@redhat.com>
1329
1330         * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
1331
1332 2001-11-26  DJ Delorie  <dj@redhat.com>
1333
1334         * expr.c (store_constructor): Actually use the value computed
1335         if WORD_REGISTER_OPERATIONS.
1336
1337 2001-11-26  Richard Henderson  <rth@redhat.com>
1338
1339         * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
1340         for CONSTRUCTOR.
1341
1342 2001-11-26  David Edelsohn  <edelsohn@gnu.org>
1343
1344         * rs6000.c (output_mi_thunk): Handle minimal-toc and call
1345         correct function on AIX.
1346
1347 2001-11-26  Alexandre Oliva  <aoliva@redhat.com>
1348
1349         * toplev.c (process_options): Don't force
1350         flag_optimize_sibling_calls to zero just because exceptions are
1351         enabled.
1352
1353 Mon Nov 26 12:37:05 2001  Jeffrey A Law  (law@cygnus.com)
1354
1355         * df.h (transfer_function_sbitmap): Use PARAMS around argument
1356         list in function prototypes.
1357         (transfer_function_bitmap): Likewise.
1358
1359 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
1360
1361         * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
1362         * config/i386/netbsd-elf.h: Likewise.
1363
1364 2001-11-26  David Edelsohn  <edelsohn@gnu.org>
1365
1366         * doc/trouble.texi: Remove outdated RS/6000 comments.
1367
1368 Mon Nov 26 13:49:41 CET 2001  Jan Hubicka  <jh@suse.cz>
1369
1370         * final.c (walk_alter_subreg): Fix return value.
1371
1372 Mon Nov 26 11:36:20 CET 2001  Jan Hubicka  <jh@suse.cz>
1373
1374         * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
1375         alter_subreg.
1376         * sparc.md (post-reload splitters): Do not call alter_subreg.
1377         * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
1378
1379 2001-11-25  Aldy Hernandez  <aldyh@redhat.com>
1380
1381         * regclass.c (choose_hard_reg_mode): Handle vector arguments.
1382
1383 2001-11-26  Alan Modra  <amodra@bigpond.net.au>
1384
1385         * final.c: (insn_lengths): Make it an int *, so that large jump
1386         tables don't overflow.
1387
1388 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1389
1390         * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
1391         (format_types): Use it for scanf.
1392         (dollar_arguments_pointer_p): New.
1393         (init_dollar_format_checking): Store details of which arguments
1394         are pointers.
1395         (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
1396         (finish_dollar_format_checking): Take extra parameter
1397         pointer_gap_ok.  Treat unused arguments differently if
1398         pointer_gap_ok and the unused arguments are pointers.
1399         (check_format_info_main): Pass extra argument to
1400         finish_dollar_format_checking.
1401         * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
1402         unused arguments are present between used arguments with operand
1403         numbers.
1404
1405 2001-11-25  Daniel Berlin  <dan@cgsoftware.com>
1406
1407         * df.c: Add prototypes for hybrid_search_bitmap and
1408         hybrid_search_sbitmap.
1409         (hybrid_search_bitmap): New function.
1410         (hybrid_search_sbitmap): New function.
1411         (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
1412         (iterative_dataflow_bitmap): Ditto.
1413
1414 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1415
1416         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
1417         address computations.
1418
1419 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1420
1421         * config/m68hc11/m68hc11.c (d_register_operand): Must accept
1422         register b (low part of d).
1423
1424 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1425
1426         * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
1427         passed to mcount.
1428
1429 Sun Nov 25 06:22:09 2001  Douglas B. Rupp  <rupp@gnat.com>
1430
1431         * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
1432         * config/alpha/x-vms: New file, to compile the above.
1433         * config.gcc (alpha*-dec-vms*): Add x-vms.
1434
1435 2001-11-24  Hans-Peter Nilsson  <hp@axis.com>
1436
1437         * genextract.c (main): Set ro_loc for peepholes.
1438
1439 Sat Nov 24 17:04:10 2001  Douglas B. Rupp  <rupp@gnat.com>
1440
1441         * fix-header.c (main): Move inf_buffer termination and inf_limit
1442         calculation to after read.
1443
1444         * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
1445         (__UNIX_FOPEN): Define.
1446
1447 Sat Nov 24 16:11:00 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1448
1449         * function.c (assign_stack_temp_for_type): Clear alias set before
1450         setting new one.
1451
1452 2001-11-23  David Edelsohn  <edelsohn@gnu.org>
1453
1454         * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
1455         format.
1456         * rs6000.md (cmptf): Fix typo.
1457
1458 2001-11-23  Richard Sandiford  <rsandifo@redhat.com>
1459
1460         * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
1461         * varasm.c (output_constructor): Use assemble_integer rather
1462         than ASM_OUTPUT_BYTE.
1463
1464 2001-11-23  Andreas Jaeger  <aj@suse.de>
1465
1466         * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
1467         extension.
1468
1469 2001-11-23  Nick Clifton  <nickc@cambridge.redhat.com>
1470
1471         * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
1472         default definition.
1473         (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
1474         (MULTILIB_DEFAULTS): Remove previous definition.
1475
1476 2001-11-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1477
1478         * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
1479         * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
1480
1481 2001-11-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1482
1483         * cris.h: Revert thinko in last patch.
1484
1485 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1486
1487         * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
1488         FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
1489         cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
1490         dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
1491         explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
1492         sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
1493
1494         * predict.c, reg-stack.c: Fix spelling errors.
1495
1496 2001-10-09  Andrew Haley  <aph@redhat.com>
1497
1498         * calls.c (check_sibcall_argument_overlap): Use slot_offset for
1499         start of stack slot.
1500
1501 2001-11-22  Graham Stott  <grahams@redhat.com>
1502
1503         * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
1504         replacement jump after original jump.
1505
1506         (verify_flow_info): Remove redundent initialisation.
1507         Handle reaching end of insn list before finding a BARRIER.
1508         Only issue one missing barrier diagnostic.
1509
1510 2001-11-22  Graham Stott  <grahams@redhat.com>
1511
1512         * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
1513
1514 Thu Nov 22 06:49:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1515
1516         * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
1517         insn actually does.
1518
1519 2001-11-22  Nick Clifton  <nickc@cambridge.redhat.com>
1520
1521         * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
1522         Fix typo -mm32rx=> -m32rx.
1523
1524         * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
1525         targets.
1526
1527         * config.gcc (xscale-coff): Add necessary header files to
1528         tm_file variable.
1529
1530 2001-11-20  Zack Weinberg  <zack@codesourcery.com>
1531
1532         * rs6000.c (output_cbranch): Use $, not %$, in output template.
1533
1534 2001-11-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1535
1536         * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
1537         (lang_type_quals): Declare.
1538         (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
1539         retrieve language-specific qualifiers for a type node, instead of
1540         C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
1541         lang_dump_tree.
1542         * tree-dump.h: Rename from c-dump.h.
1543         * c-common.h (C_TYPE_QUALS): Removed.
1544         Move declarations for tree-dump.c interface to...
1545         * tree.h: ... here. Remove lang_dump_tree.
1546         * langhooks.h (struct lang_hooks_for_tree_dump): New.
1547         (struct lang_hooks): Add tree_dump hooks.
1548         * langhooks.c (lhd_tree_dump_dump_tree): New function.
1549         (lhd_tree_dump_type_quals): New function.
1550         * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
1551         Declare.
1552         (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
1553         * Makefile.in: Move tree-dump.o to language-independent back-end.
1554
1555 2001-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1556
1557         * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
1558         * alpha.h (DBX_REGISTER_NUMBER): Likewise.
1559         * arc.h (DBX_REGISTER_NUMBER): Likewise.
1560         * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
1561         * avr.h (DBX_REGISTER_NUMBER): Likewise.
1562         * c4x.h (DBX_REGISTER_NUMBER): Likewise.
1563         * clipper.h (DBX_REGISTER_NUMBER): Likewise.
1564         * convex.h (DBX_REGISTER_NUMBER): Likewise.
1565         * cris.h (DBX_REGISTER_NUMBER): Likewise.
1566         * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
1567         * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
1568         * fr30.h (DBX_REGISTER_NUMBER): Likewise.
1569         * h8300.h (DBX_REGISTER_NUMBER): Likewise.
1570         * i370.h (DBX_REGISTER_NUMBER): Likewise.
1571         * i860.h (DBX_REGISTER_NUMBER): Likewise.
1572         * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
1573         * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
1574         * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1575         * m32r.h (DBX_REGISTER_NUMBER): Likewise.
1576         * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
1577         * m88k.h (DBX_REGISTER_NUMBER): Likewise.
1578         * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
1579         * mcore.h (DBX_REGISTER_NUMBER): Likewise.
1580         * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
1581         * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
1582         * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
1583         * romp.h (DBX_REGISTER_NUMBER): Likewise.
1584         * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
1585         * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1586         * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
1587         * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
1588         * v850.h (DBX_REGISTER_NUMBER): Likewise.
1589         * vax.h (DBX_REGISTER_NUMBER): Likewise.
1590         * we32k.h (DBX_REGISTER_NUMBER): Likewise.
1591
1592         * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
1593         * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
1594
1595 2001-11-21  H.J. Lu <hjl@gnu.org>
1596
1597         * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
1598
1599 2001-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1600
1601         * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
1602         emit_cmp_and_jump_insns.
1603
1604         * stormy16.c (xstormy16_expand_builtin_va_arg,
1605         xstormy16_expand_casesi): Likewise.
1606
1607 Wed Nov 21 17:37:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1608
1609         * function.c (keep_stack_depressed): Major rework.
1610         (handle_epilogue_set, emit_equiv_load): New functions.
1611         (thread_prologue_and_epilogue_insns): keep_stack_depressed now
1612         has return value.
1613         * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
1614         * rtl.h (SET_IS_RETURN_P): New macro.
1615
1616         * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
1617         and also support TREE_ADDRESSABLE.
1618         * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
1619
1620 2001-11-21  David Edelsohn  <edelsohn@gnu.org>
1621
1622         * rs6000.md (cmptf_internal1): Replace %$ with $.
1623
1624 Wed Nov 21 16:44:01 2001  Douglas B. Rupp  <rupp@gnat.com>
1625
1626         * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
1627         (read_include_file): Use STAT_SIZE_TOO_BIG.
1628
1629         * cppinit.c (INO_T_COPY): Define.
1630         (INO_T_EQ): Uppercase parameters.
1631         (append_include_chain): Use INO_T_COPY.
1632
1633 2001-11-21  Richard Sandiford  <rsandifo@redhat.com>
1634
1635         * cfg.c: Fix typos and formatting in the introductory comment.
1636
1637 Wed Nov 21 12:38:37 CET 2001  Jan Hubicka
1638
1639         * profile.c (compute_branch_probabilites):  Compute probabilities
1640         for entry/exit edges; estimate probabilities for zero counts.
1641
1642 2001-11-21  Jakub Jelinek  <jakub@redhat.com>
1643
1644         * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
1645         to emit_library_call.
1646         * function.c (expand_main_function, expand_function_start,
1647         expand_function_end): Likewise.
1648         * profile.c (output_func_start_profiler): Likewise.
1649         * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
1650         second argument to emit_library_call.
1651         * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
1652         as second argument to emit_library_call.
1653         * calls.c (emit_library_call): Update fn_type description.
1654
1655 2001-11-21  Jakub Jelinek  <jakub@redhat.com>
1656
1657         * c-decl.c (c_expand_deferred_function): Only call c_expand_body
1658         if fndecl is still DECL_INLINE and has DECL_RESULT.
1659
1660 2001-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1661
1662         * clipper.c (clipper_movstr): Avoid uninitialized warning.
1663         * i960.c (is_mask, legitimize_address): Likewise.
1664         * m88k.c (m88k_expand_prologue): Likewise.
1665         * m88k.md: Likewise.
1666         * mcore.c (emit_new_cond_insn): Likewise.
1667         * stormy16.c (xstormy16_emit_cbranch): Likewise.
1668
1669 2001-11-20  Zack Weinberg  <zack@codesourcery.com>
1670
1671         * config.gcc: Delete powerpcle-*-solaris2* stanza.
1672         * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
1673         config/rs6000/rs6000.h, config/rs6000/rs6000.md,
1674         config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
1675         config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
1676         config/rs6000/t-ppcos: Expunge all references to Solaris.
1677
1678         * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
1679
1680         * config/rs6000/rs6000.md: Replace '%$' with '$' in all
1681         output templates.
1682         * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
1683         and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
1684
1685 2001-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1686
1687         * sh.md: Avoid uninitialized warnings.
1688         * vax.c (vax_rtx_cost): Likewise.
1689
1690 2001-11-15  Aldy Hernandez  <aldyh@redhat.com>
1691
1692         * rs6000.c (direct_return): Check if we are saving altivec
1693         registers.
1694         (first_altivec_reg_to_save): New.
1695         Updated stack frame layout comments.
1696         (rs6000_stack_info): Calculate altivec register save size.
1697         Save link register if we saved some altivec registers.
1698         (rs6000_stack_info): Align save size to 16 if altivec abi or
1699         abi_darwin.
1700         (rs6000_stack_info): Calculate altivec register offsets.
1701         (rs6000_stack_info): Add altivec info to save_size.
1702         (debug_stack_info): Add altivec debug info.
1703         (rs6000_emit_prologue): Save altivec registers and vrsave.
1704         (compute_vrsave_mask): New.
1705         (altivec_expand_builtin): Remove unused variables.
1706         (rs6000_parse_abi_options): Add static qualifier.
1707         (rs6000_expand_builtin): Remove unused parameters.
1708         (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
1709         (altivec_init_builtins): Same.
1710         (is_altivec_return_reg): New.
1711         (vrsave_operation): New.
1712         (ALTIVEC_REG_BIT): New.
1713         (generate_set_vrsave): New.
1714
1715         * rs6000.md (get_vrsave): New.
1716         (set_vrsave): New.
1717         (*set_vrsave_internal): New.
1718
1719         * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
1720         altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
1721         altivec_padding_size, vrsave_mask.
1722         (TOTAL_ALTIVEC_REGS): New.
1723         (EPILOGUE_USES): Add VRSAVE_REGNO.
1724
1725 2001-11-20  Jeff Law <law@redhat.com>
1726
1727         * unroll.c (copy_loop_body): Update LABEL_NUSES for the
1728         exit label as necessary.
1729
1730 2001-11-20  Brad Kaiser  <bkaiser@acelink.net>
1731
1732         * reload1.c (elimination_effects): Use function_invariant_p
1733         instead of CONSTANT_P when considering register equivalences.
1734
1735 2001-11-20  David O'Brien  <obrien@FreeBSD.org>
1736
1737         * config.gcc: Add FreeBSD/PowerPC target.
1738         (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
1739         powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
1740         powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
1741         powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
1742         powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
1743         powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
1744         freebsd-spec.h to tm_file.
1745         (rs6000-*-lynxos*): Add lynx.h to tm_file.
1746         * config/freebsd.h: Tidy up.
1747         (USING_CONFIG_FREEBSD): Define.
1748         (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
1749         FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
1750         FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
1751         (TARGET_HAS_F_SETLKW): Define.
1752         (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
1753         * config/freebsd-spec.h: New file.
1754         * config/rs6000/freebsd.h: New file.
1755         * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
1756         * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
1757         USING_SVR4_H to know when to turn on ELF support.
1758         * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
1759         define only if not already defined.
1760         Add FreeBSD support.
1761         * config/rs6000/aix.h (TARGET_VERSION): Define.
1762         * config/rs6000/beos.h: Likewise.
1763         * config/rs6000/darwin.h: Likewise.
1764         * config/rs6000/mach.h: Likewise.
1765         * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
1766         Don't include lynx.h directly.
1767
1768 2001-11-20  Graham Stott  <grahams@redhat.com>
1769
1770         * unwind-dw2-fde.c (__deregister_frame_info_bases):
1771         Fix lossage in last change return OB.
1772
1773 Tue Nov 20 11:56:12 2001  Douglas B. Rupp  <rupp@gnat.com>
1774
1775         * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
1776         Remove unneeded exit related macros.
1777
1778 2001-11-20  David Edelsohn  <edelsohn@gnu.org>
1779
1780         * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
1781
1782         * rs6000.c (rs6000_emit_move): Add TFmode case.
1783         * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
1784         LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
1785         LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
1786         * rs6000.h: ... to here.
1787         * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
1788         trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
1789         fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
1790
1791 Tue Nov 20 06:41:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1792
1793         * emit-rtl.c (get_mem_attrs): Fix typo.
1794
1795 2001-11-20  Jakub Jelinek  <jakub@redhat.com>
1796
1797         * c-lang.c (finish_file): Backout 2001-11-16
1798         changes, instead set DECL_DEFER_OUTPUT for static inline functions
1799         before calling c_expand_deferred_function.
1800
1801 2001-11-20  Jakub Jelinek  <jakub@redhat.com>
1802
1803         * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
1804         Don't register empty .eh_frame sections.
1805         (__deregister_frame_info_bases, __deregister_frame): Don't
1806         unregister them either.
1807
1808 2001-11-19  Geoffrey Keating  <geoffk@redhat.com>
1809
1810         * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
1811         (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
1812         * configure: Regenerate.
1813         * config.in: Add dummy definitions of new flags.
1814         * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
1815         * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
1816         * gcc.c (ASM_DEBUG_SPEC): New macro.
1817         (asm_debug): New static variable.
1818         (default_compilers): Add asm_debug when assembling from
1819         user input.
1820         (static_specs): Add asm_debug.
1821
1822 2001-11-20  Loren J. Rittle  <ljrittle@acm.org>
1823
1824         * config.gcc (*-*-freebsd*): Remove configuration block.
1825
1826 2001-11-19  Loren J. Rittle  <ljrittle@acm.org>
1827
1828         bootstrap/4422
1829         * configure.in: Setup ability to run ./stage[1234]/xgcc in
1830         fixinc *as if* it were a proper lang subdirectory.
1831         * configure: Rebuilt.
1832
1833 2001-11-19  Loren J. Rittle  <ljrittle@acm.org>
1834
1835         * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
1836
1837 2001-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1838
1839         * 1750a.md: Don't use hex format for a const_int.
1840
1841 2001-11-19  Geoffrey Keating  <geoffk@redhat.com>
1842
1843         * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
1844
1845 2001-11-19  Zack Weinberg  <zack@codesourcery.com>
1846
1847         * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
1848         defined (prevents link errors when gettext isn't in the system
1849         library).
1850
1851 2001-11-19  DJ Delorie  <dj@redhat.com>
1852
1853         * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
1854         (validate_const_int): New.
1855         (read_rtx): Validate constant integers.
1856         * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
1857
1858 2001-11-19  Jakub Jelinek  <jakub@redhat.com>
1859
1860         * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
1861
1862 Mon Nov 19 16:57:44 2001  Douglas B. Rupp  <rupp@gnat.com>
1863
1864         * toplev.c (DUMPFILE_FORMAT): Define default.
1865         (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
1866         (close_dump_file, compile_file): Likewise.
1867         * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
1868         * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
1869
1870 2001-11-19  Jeff Law <law@redhat.com>
1871
1872         * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
1873         a nop-jump.
1874
1875 2000-11-19  Neil Booth  <neil@daikokuya.demon.co.uk>
1876
1877         * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
1878         Don't fall off the base token run.
1879
1880 2001-11-19  Jason Wilkins <fenix@io.com>
1881
1882         * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
1883
1884 Mon Nov 19 15:13:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1885
1886         * tree.def (VIEW_CONVERT_EXPR): New tree code.
1887         * tree.h (handled_component_p): New declaration.
1888         * alias.c (handled_component_p): Move function from here ...
1889         * expr.c (handled_component_p): ... to here and non longer static.
1890         (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
1891         (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
1892         (get_inner_reference): Handle VIEW_CONVERT_EXPR.
1893         (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
1894         (expand_expr, case VIEW_CONVERT_EXPR): New case.
1895         (expand_expr, cse ADDR_EXPR): No need to copy if already
1896         BIGGEST_ALIGNMENT.
1897         * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
1898         * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
1899         (output_constant): Handle VIEW_CONVERT_EXPR.
1900         * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
1901         Add new case for VIEW_CONVERT_EXPR.
1902
1903 2001-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1904
1905         * a29k/unix.h (ASM_FILE_START): Const-ify.
1906         * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
1907         * i386/isc.h (ASM_FILE_START): Const-ify.
1908         * i386/sun386.h (ASM_FILE_START): Likewise.
1909         * m32r.md: Likewise.
1910         * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
1911         * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
1912         * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
1913         * mn10200.md: Initialize variable.
1914
1915 Mon Nov 19 18:06:21 CET 2001  Jan Hubicka  <jh@suse.cz>
1916
1917         * gcse.c (try_replace_reg): Copy RTX before creating note.
1918
1919         * df.h (df_ref_flags): New uenum.
1920         (DF_REF_FLAGS): New macro.
1921         (struct ref): Add field "flags".
1922         * df.c (HANDLE_SUBREG): Remove.
1923         (df_ref_create): Likewise; set flags field of ref.
1924         (df_def_record_1): Strip down read_write subreg; remove
1925         commented out code; set READ_WRITE flag.
1926         (read_modify_subreg_p): New static function.
1927         (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
1928         new argument "flags".
1929         (df_insn_refs_record): Update call of df_uses_record.
1930         (df_insn_modify): Avoid #if 0 around comment.
1931         (df_dump): Dump the read/write flag.
1932
1933         * predict.c (propagate_freq): Make cyclic_probability and frequency
1934         volatile
1935
1936         * i386.c (ix86_cc_mode): Accept USE.
1937
1938         * cfgrtl.c (purge_dead_edges):  Cleanup EDGE_ABNORMAL flag if computed
1939         jump is turned into simplejump.
1940
1941 2001-11-19  Joseph S. Myers  <jsm28@cam.ac.uk>
1942
1943         * doc/fragments.texi, doc/trouble.texi: Remove links to old
1944         installation chapter.
1945         * doc/gcc.texi: Don't claim that this manual documents
1946         installation.  Mark Installation menu entry as being out of date.
1947
1948 Mon Nov 19 07:21:35 2001  Douglas B. Rupp  <rupp@gnat.com>
1949
1950         * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
1951         (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
1952         * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
1953
1954 2001-11-19  Jason Merrill  <jason@redhat.com>
1955
1956         * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
1957         cur_token, not after.
1958
1959         * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
1960         Lose ASM_OUTPUT_CONSTRUCTOR.
1961         * system.h: Poison it and INT_ASM_OP.
1962         * c-lang.c (finish_file): Don't check for it.
1963         * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
1964
1965 2001-11-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1966
1967         * mmix.c (mmix_cc1_ignored_option): Const-ify.
1968         (mmix_init_machine_status): Make static to match declaration.
1969         (mmix_unique_section): Const-ify.
1970         (mmix_output_quoted_string): Avoid automatic aggregate
1971         initialization.
1972         (mmix_output_register_setting): Likewise.
1973         (mmix_output_shiftvalue_op_from_str): Likewise.
1974
1975         * mmix.h (mmix_cc1_ignored_option): Const-ify.
1976         (ASM_OUTPUT_BYTE): Fix format specifier warning.
1977         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
1978
1979 2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1980
1981         PR c/4448
1982         * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
1983         name __objc_thread_exit_status so that it matches the
1984         variable defined in objc/thr.h.
1985
1986 2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1987
1988         PR bootstrap/4020
1989         * mklibgcc.in: Add missing semi-colons.
1990         * Makefile.in: Same.
1991
1992 Sun Nov 18 16:47:00 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1993
1994         * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
1995         after re-laying out decl in incomplete case.
1996         (expand_expr, case ADDR_EXPR): Fix typo in copy case.
1997
1998 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
1999
2000         * doc/install-old.texi: Move some sections out to ...
2001         * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
2002         ... here.  New files.  Make into chapters rather than sections.
2003         * doc/gcc.texi: Include the new files and add menu entries for
2004         them.
2005         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2006
2007 Sun Nov 18 14:13:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2008
2009         * tree.h (TYPE_ALIGN_OK): New flag.
2010         * emit-rtl.c (set_mem_attributes): Handle it.
2011         * expr.c (emit_single_push_insn): Only set to alias set 0 if
2012         doing sibcall optimization.
2013         (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
2014         when make temporary.
2015         (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
2016         (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
2017
2018         * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
2019
2020 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2021
2022         * c-decl.c (c_decode_option): Give deprecation warning for
2023         -traditional.
2024         * doc/invoke.texi (-traditional): Note that this option is
2025         deprecated.
2026
2027 Sun Nov 18 07:40:07 2001  Douglas B. Rupp  <rupp@gnat.com>
2028
2029         * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
2030         arg to HOST_WIDE_INT, not long.
2031
2032         * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
2033         (HAS_INIT_SECTION): Define.
2034         (REAL_ARITHMETIC): Don't undefine.
2035
2036 2001-11-18  Egor Duda  <deo@logos-m.ru>
2037
2038         * config/i386/cygwin.h: Strip leading '*' from name, if any.
2039
2040 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2041
2042         * Makefile.in (c-parse.o, c-common.o): Update dependencies.
2043         * c-common.c: Include diagnostic.h.
2044         (c_common_finish): New.
2045         * c-common.h (c_common_finish): New.
2046         * c-lang.c (LANG_HOOKS_FINISH): Override.
2047         * c-parse.in: Don't include diagnostic.h.
2048         (finish_parse): Remove.
2049         * langhooks.h: Update comments.
2050         * toplev.c (lang_dependent_init): New prototype.
2051         (finalize): New.
2052         (compile_file): Split cleanup code out to finalize.
2053         (lang_dependent_init): Stop if lang_hooks.init fails.
2054         (toplev_main): Update.
2055         * tree.h (finish_parse): Remove.
2056 objc:
2057         * objc-act.c (LANG_HOOKS_FINISH): Override.
2058
2059 Sat Nov 17 23:30:44 2001  Douglas B. Rupp  <rupp@gnat.com>
2060
2061         * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
2062         * config/alpha/vms_tramp.asm: New file.
2063         * config/alpha/vms-tramp.asm: Removed.
2064
2065 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2066
2067         * c-common.c (struct disabled_builtin, disabled_builtins,
2068         disable_builtin_function, builtin_function_disabled_p): New.
2069         (builtin_function_2): Check for disabled built-in functions.
2070         * c-common.h (disable_builtin_function): Declare.
2071         * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
2072         * doc/invoke.texi: Document -fno-builtin-FUNCTION.
2073         * doc/extend.texi: Mention -fno-builtin-FUNCTION.
2074
2075 2001-11-17  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2076
2077         PR target/4606
2078         * config.gcc: Remove reference to va-clipper.h.
2079
2080 2001-11-17  Stan Shebs  <shebs@apple.com>
2081
2082         * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
2083         AltiVec-related bitfields.
2084
2085 Sat Nov 17 12:06:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2086
2087         * except.c (enum eh_region_type): Add ERT_UNKNOWN.
2088         (mark_eh_region, case ERT_UKNONW): New case.
2089
2090 2001-11-17  Christopher Faylor  <cgf@redhat.com>
2091             Corinna Vinschen  <vinschen@redhat.com>
2092
2093         * config/i386/cygwin.h: Search target specific include directory for
2094         w32api stuff, if appropriate.
2095
2096 Sat Nov 17 08:20:44 2001  Douglas Rupp  <rupp@gnat.com>
2097
2098         * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
2099
2100 2001-11-16  Aldy Hernandez  <aldyh@redhat.com>
2101
2102         * config/rs6000/rs6000.md: Change all ldvx to lvx.
2103
2104 2001-11-16  Alexandre Oliva  <aoliva@redhat.com>
2105
2106         * gensupport.c (process_rtx): Don't assume filename is the first
2107         argument of any rtl.
2108
2109 2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2110
2111         * vax-protos.h (reg_was_0_p): New prototype.
2112         * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
2113         * vax.c (follows_p, reg_was_0_p): New functions.
2114
2115 2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2116
2117         * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
2118         (casesi1): Likewise.  Define new pattern which arises by simplification
2119         when operand 1 is a constant int.  Correct pattern which arises by
2120         simplification when operand 1 is zero.
2121
2122 2001-11-16  David O'Brien  <obrien@FreeBSD.org>
2123
2124         * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
2125         arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
2126         arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
2127         arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
2128         arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
2129         arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
2130         xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
2131         * config/arm/aof.h: Don't include arm.h.
2132         * config/arm/aout.h: Likewise.
2133         * config/arm/coff.h: Don't include semi.h and aout.h.
2134         * config/arm/elf.h: Don't include aout.h.
2135         * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
2136         (TARGET_VERSION): Undef before defining.
2137         (ARM_OS_NAME): Likewise
2138         (TARGET_DEFAULT): Likewise
2139         (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
2140         * config/arm/pe.h: Don't include arm/coff.h.
2141         * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
2142         SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
2143         * config/arm/riscix1-1.h: Likewise.
2144         * config/arm/rix-gas.h: Don't include riscix.h.
2145         (DBX_CONTIN_LENGTH): Undef before defining.
2146         * config/arm/semi.h: Don't include aout.h.
2147         * config/arm/semiaof.h: Don't include aof.h.
2148         * config/arm/strongarm-coff.h: Don't include coff.h.
2149         * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
2150         * config/arm/vxarm.h: Don't include arm/coff.h.
2151         * config/arm/xscale-coff.h: Don't include coff.h.
2152
2153 Fri Nov 16 15:22:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2154
2155         * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
2156         emit_cmp_insn.
2157
2158 2001-11-16  Andreas Jaeger  <aj@suse.de>
2159
2160         * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
2161         to ....
2162         (fixup_fallthru_exit_predecessor): ... this.
2163         Change callers and prototype.
2164
2165 2001-11-16  Bernd Schmidt  <bernds@redhat.com>
2166
2167         * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
2168         hand; don't use gen_setcc_2.
2169         (ix86_expand_builtin): Fix pshufw.
2170         * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
2171         case UNORDERED to emit the right assembler instruction.
2172         (mmx_pshufw): Lose operand 2.
2173         (cvtsi2ss): Fix representation.
2174         From Graham Stott:
2175         (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
2176
2177 2001-11-16  Joseph S. Myers  <jsm28@cam.ac.uk>
2178
2179         * doc/include/linux-and-gnu.texi: Remove.
2180         * doc/gnu.texi: New.
2181         * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
2182         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2183
2184 2001-11-16  Kazu Hirata  <kazu@hxi.com>
2185
2186         * config/a29k/a29k.c: Fix comment formatting.
2187         * config/a29k/a29k.h: Likewise.
2188         * config/arc/arc.c: Likewise.
2189         * config/arc/arc.h: Likewise.
2190         * config/vax/vax.c: Likewise.
2191         * config/vax/vax.h: Likewise.
2192         * config/we32k/we32k.c: Likewise.
2193         * config/we32k/we32k.h: Likewise.
2194
2195 2001-11-16  Jeff Law  <law@redhat.com>
2196
2197         * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
2198         creating a new jump insn.
2199
2200 Fri Nov 13 09:06:25 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2201
2202         * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
2203         copy misaligned data.
2204         * varasm.c (assemble_variable): Set alignment into MEM when changed.
2205
2206 2001-11-16  Graham Stott  <grahams@redhat.com>
2207
2208         * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
2209         OPALIGN type.
2210
2211 2001-11-16  Olivier Hainque <hainque@act-europe.fr>
2212
2213         * except.c: Support for catching a list of types with a single handler
2214         (struct eh_region): Change type and filter to lists for catch regions.
2215         (mark_eh_region): Mark the filter list for GC also.
2216         (expand_start_catch): Always build a list if argument not NULL and
2217         register each type of the list through add_type_for_runtime.
2218         (duplicate_eh_region_1): Change type into type_list for catch regions.
2219         (assign_filter_values): Assign a filter to each type associated with a
2220         catch region. Assign filter for NULL types in a unique entry in the
2221         filter list.
2222         (build_post_landing_pads): Emit compare and jump for each filter of
2223         the list associated with a catch region.
2224         (reachable_next_level): When the type thrown is known, stop the search
2225         as soon as one type within a catch list matches. Also, a handler is
2226         potentially reachable only if at least one of the types it catches
2227         has not been previously caught.
2228         (collect_one_action_chain): Retrieve the filter for a NULL type list
2229         from the first filter list entry. For non NULL type lists, add an
2230         action record for every filter assigned.
2231         * except.h: Reflect changes in comment before expand_start_catch.
2232
2233 Fri Nov 16 07:12:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2234
2235         * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
2236         BLKmode.
2237
2238 Fri Nov 16 06:37:05 2001  Andreas Tobler  <a.tobler@schweiz.ch>
2239
2240         * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
2241
2242 2001-11-16  Jakub Jelinek  <jakub@redhat.com>
2243
2244         * c-lang.c (finish_file): Don't emit static inline functions if
2245         they weren't referenced.
2246
2247 2001-11-15  Stan Shebs  <shebs@apple.com>
2248
2249         * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
2250
2251 2001-11-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2252
2253         * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
2254         call.
2255         * config/i386/i386.md: Likewise.
2256
2257 Thu Nov 15 21:40:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2258
2259         * timevar.c (rtl.h): Include so get fancy abort.
2260
2261 2001-11-15  Dale Johannesen  <dalej@apple.com>
2262
2263         * config/darwin.h (SELECT_RTX_SECTION):  Force address
2264         initializers into 'const' section
2265         * config/rs6000/rs6000.c (rs6000_emit_cmove):  Fix mode of
2266         if_then_else to match result, not operands
2267
2268 Thu Nov 15 17:57:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2269
2270         * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
2271         * emit-rtl.c (change_address): Fix typo in default alignment.
2272         (adjust_address_1): Use mode of NEW, not MODE, when setting size.
2273         * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
2274         * rtl.h (REGNO_PTR_FRAME_P): New macro.
2275
2276         * expr.c (store_field): Pass tree instead of max size; callers changed.
2277         Change handling of alignment.
2278         Only copy to_rtx if is TARGET.
2279         (expand_expr_unaligned): Delete; callers now use expand_expr.
2280         (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
2281         (expand_assignment): Change handling of alignment.
2282         Only copy to_rtx if was original.
2283         (get_inner_reference): No longer return alginment; callers changed.
2284         (expand_expr, case COMPONENT_REF): Change handling of alignment.
2285         (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
2286         (compare_from_rtx): Delete ALIGN parm; all callers changed.
2287         (do_compare_rtx_and_jump): Likewise.
2288         * expr.h: Reflect above changes.
2289         * tree.h: Likewise.
2290         * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
2291         to get_inner_reference.
2292         * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
2293         * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
2294         * optabs.c: Likewise.
2295         (prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
2296         (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
2297         * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
2298         compare_rtx_and_jump, and emit_cmp_jump_insns.
2299         * fold-const.c: Remove PALIGN in calls to get_inner_reference.
2300         * function.c (assign_stack_temp_for_type): No longer static.
2301         * optabs.h (emit_cmp_insn): Remove ALIGN parm.
2302         (prepare_cmp_insn): Delete declaration.
2303         * rtl.h (assign_stack_temp_for_type): Add declaration.
2304         * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
2305         * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
2306         * config/i386/i386.c,config/mips/mips.c: Likewise.
2307         * config/i860/i860.c, config/ia64/ia64.c: Likewise.
2308         * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
2309
2310 2001-11-15  Stan Shebs  <shebs@apple.com>
2311
2312         * config/rs6000/rs6000.h: Fix a comment typo.
2313         (RTX_COSTS): Sort processor versions better.
2314
2315 2001-11-15  Kazu Hirata  <kazu@hxi.com>
2316
2317         * config/h8300/h8300.md: Fix insn length of bit insns.
2318
2319 2001-11-15  Jason Merrill  <jason@redhat.com>
2320
2321         * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
2322         DIEs if there were errors in the source.
2323
2324         * config/alpha/alpha-interix.h, config/alpha/elf.h,
2325         config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
2326         config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
2327         config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
2328         config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
2329         config/elfos.h, config/lynx.h, config/netware.h,
2330         config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
2331         config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
2332         uses to use ASM_LONG.
2333
2334 2001-11-15  Alan Matsuoka  <alanm@redhat.com>
2335
2336         * gensupport.c  process_include : Change call to alloca to
2337         xmalloc.
2338
2339 2001-11-15  Aldy Hernandez  <aldyh@redhat.com>
2340
2341         * config/rs6000/rs6000.md: Use spaces instead of tabs in output
2342         templates.
2343
2344 Thu Nov 15 08:36:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2345
2346         * final.c (alter_subreg): If simplify_subreg can't do anything,
2347         handle REG ourselves and abort for others.
2348
2349 2001-11-15  Richard Hodson  <hodsonr@dionecorp.com>
2350
2351         * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
2352         routines.
2353
2354 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
2355
2356         * fix-header.c (read_scan_file): Update.
2357
2358 Thu Nov 15 08:36:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2359
2360         * toplev.c (toplev_main): Don't start timing until after
2361         command-line options are parsed.
2362
2363 2001-11-15  Andreas Schwab  <schwab@suse.de>
2364
2365         * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
2366         makefile frag, not host makefile frag.
2367         (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
2368         (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
2369         used.
2370         (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
2371         * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
2372         * config/m88k/t-dgux (STMP_FIXPROTO): Define.
2373         * config/i386/t-cygwin (STMP_FIXPROTO): Define.
2374         * config/i386/t-dgux (STMP_FIXPROTO): Define.
2375         * config/x-interix: Don't define STMP_FIXPROTO and
2376         FIXPROTO_DEFINES.
2377         * config/t-interix: New file, define STMP_FIXPROTO.
2378         * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
2379         * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
2380         * config/t-svr4 (FIXPROTO_DEFINES): Define.
2381         * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
2382         * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
2383         * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
2384         * config/m68k/t-hp3200: Renamed from x-hp3200.
2385         * config/i370/t-oe: Renamed from x-oe.
2386         * config/mips/t-iris: Renamed from x-iris.
2387         * config/pa/t-bsd: Renamed from x-pa.
2388         * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
2389         * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
2390         config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
2391         config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
2392         config/rs6000/x-cygwin: Remove files.
2393
2394         * configure.in: Check for target objdump and use that in eh_frame
2395         optimization test.
2396         * configure: Regenerated.
2397
2398 2001-11-15  Jakub Jelinek  <jakub@redhat.com>
2399
2400         * jump.c (squeeze_notes): Return true if no real insns were found.
2401         * rtl.h (squeeze_notes): Adjust prototype.
2402         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
2403         squeeze_notes finds no real instructions, abort.
2404         (merge_blocks_move_successor_nojumps): Likewise.
2405         * loop.c (find_and_verify_loops): Likewise.
2406         * stmt.c (expand_end_case): Likewise.
2407         * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
2408         find any real instructions.
2409
2410         * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
2411
2412         * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
2413         conditional jump, request updating life into for the block
2414         containing it.  Fix a typo which prevented life info update.
2415         Clear blocks bitmap before using it.
2416
2417 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
2418
2419         * c-common.c: Include c-lex.h.
2420         (c_common_lang_init): Change prototype.  Call init_c_lex and
2421         init_pragma from here.
2422         * c-common.h (c_common_lang_init): Change prototype.
2423         * c-decl.c (init_decl_processing): Rename.  Call c_parse_init.
2424         * c-lang.c (c_init): Change prototype.  Update.
2425         (c_init_options): Update.
2426         * c-lex.c (cpp_filename): Remove.
2427         (init_c_lex): Update.  Read the main file, and get the original
2428         file name.
2429         (yyparse): Finish the command line options.
2430         * c-parse.in (c_parse_init): Call init_reswords here.
2431         (init_parse): Remove.
2432         * c-tree.h (c_init_decl_processing): New.
2433         * cpphash.c (_cpp_init_hashtable): After initializing the hash
2434         table, populate it.
2435         * cppinit.c (read_original_filename, cpp_finish_options): New.
2436         (cpp_create_reader): New prototype. Defer hash table initialization.
2437         (cpp_start_read): Rename cpp_read_main_file.  Initialize the
2438         hash table.  Get the original filename.
2439         * cpplib.h (cpp_create_reader): Update.
2440         (cpp_start_read): Remove.
2441         (cpp_read_main_file, cpp_finish_options): New.
2442         * cppmain.c (main, do_preprocessing): Update.
2443         * langhooks.h (struct langhooks): Update init prototype.
2444         * toplev.c (general_init, parse_options_and_default_flags,
2445         process_options, lang_indpendent_init, lang_dependent_init,
2446         init_asm_output): New; perform the bulk of initialization.
2447         (compile_file): Move most of initialization to above functions.
2448         (debug_hooks): Initialize statically.
2449         (set_Wunused): Relocate.
2450         (toplev_main): Move most of initialization to other init functions.
2451         Have a clear logic flow.
2452         * tree.h (init_parse, init_decl_processing): Remove.
2453 objc:
2454         * objc-act.c (objc_init): Update prototype, combine with old
2455         init_parse.
2456         (objc_init_options): Update.
2457
2458
2459 2001-11-15  Andreas Jaeger  <aj@suse.de>
2460
2461         * cfgrtl.c (purge_all_dead_edges): Use int as argument for
2462         portability.
2463         * basic-block.h: Adjust prototype.
2464
2465 2001-11-15  Kazu Hirata  <kazu@hxi.com>
2466
2467         * config/rs6000/aix31.h: Fix comment formatting.
2468         * config/rs6000/beos.h: Likewise.
2469         * config/rs6000/darwin.h: Likewise.
2470         * config/rs6000/eabi.asm: Likewise.
2471         * config/rs6000/linux.h: Likewise.
2472         * config/rs6000/linux64.h: Likewise.
2473         * config/rs6000/lynx.h: Likewise.
2474         * config/rs6000/netbsd.h: Likewise.
2475         * config/rs6000/rs6000.c: Likewise.
2476         * config/rs6000/rs6000.h: Likewise.
2477         * config/rs6000/rs6000.md: Likewise.
2478         * config/rs6000/sol2.h: Likewise.
2479         * config/rs6000/tramp.asm: Likewise.
2480         * config/rs6000/xcoff.h: Likewise.
2481         * config/rs6000/xm-beos.h: Likewise.
2482
2483 2001-11-14  Alan Matsuoka  <alanm@redhat.com>
2484
2485         * rtl.def (INCLUDE) : Define.
2486         * gensupport.c  (init_include_reader, process_include,
2487         save_string) :  New functions to implement an include facility
2488         in .md files.
2489         * gensupport.h : Add prototype for init_md_reader_args.
2490         * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
2491         genextract.c genflags.c genopinit.c genoutput.c
2492         genpeep.c genrecog.c: Change call to init_md_reader to
2493         init_md_reader_args.
2494         * md.texi: Document (include "path") and -I directives for RTL
2495         generation tools.
2496
2497 2001-11-14  DJ Delorie  <dj@redhat.com>
2498
2499         * integrate.c (get_hard_reg_initial_reg): New.
2500         * integrate.h (get_hard_reg_initial_reg): Prototype.
2501         * local-alloc.c (block_alloc): Don't tie pseudos that
2502         represent call-saved hard regs' initial values.
2503
2504 2001-11-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2505
2506         * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
2507         recursion.
2508
2509 2001-11-14  Roger Sayle <roger@eyesopen.com>
2510
2511         * fold-const.c (fold): Optimize strlen comparisons against zero.
2512
2513 2001-11-14  David O'Brien  <obrien@FreeBSD.org>
2514
2515         * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
2516         sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
2517         sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
2518         sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
2519         sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
2520         sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
2521         sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
2522         Include various CPU headers via tm_file.  a.out based platforms now
2523         properly include sparc/aout.h.  sol2.h usage now implies including
2524         elfos.h, svr4.h, and sparc/sysv4.h.
2525         * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
2526         Also define to '1'.
2527         * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
2528         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2529         DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
2530         Remove.  They are a.out specific and belong in sparc/aout.h.
2531         * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
2532         ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
2533         DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define.  Moved here from
2534         sparc/sparc.h.
2535         * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
2536         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
2537         Moved here from sparc/sparc.h.
2538         * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
2539         defining.
2540         * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
2541         * config/sparc/lynx.h:  Don't include lynx.h.
2542         (SELECT_SECTION): Do not undef.
2543         * config/sparc/openbsd.h: Don't include sparc/sparc.h.
2544         * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
2545         and sparc/sysv4.h.
2546         * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
2547         * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define.  Get from
2548         sparc/aout.h now.
2549         * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
2550         Don't undef, there is no need.
2551         * config/sparc/splet.h (CPP_PREDEFINES): Define.
2552         * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
2553         * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
2554         Don't include sparc/sparc.h.
2555         * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
2556         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2557         DATA_SECTION_ASM_OP): Don't undef, there is no need now.  Don't include
2558         elfos.h and svr4.h.
2559         (TARGET_VERSION): Define.
2560         * config/sparc/vxsim.h (TARGET_VERSION): Define.
2561
2562 Wed Nov 14 19:46:08 CET 2001  Jan Hubicka  <jh@suse.cz>
2563
2564         * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
2565         (cfg_layout_finalize): Use it.
2566         * bb-reorder.c (HAVE_epilogue): Remove.
2567         (make_reorder_chain): Do not care special placement of
2568         last basic block.
2569
2570         * predict.c (expected_value_to_br_prob): Delete the note
2571         once transformed.
2572
2573         * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
2574         measure integration time separately.
2575
2576 Wed Nov 14 12:30:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2577
2578         * function.c (struct temp_slot): ALIGN now unsigned.
2579
2580 2001-11-14  Kazu Hirata  <kazu@hxi.com>
2581
2582         * config/dsp16xx/dsp16xx.c: Fix comment formatting.
2583         * config/dsp16xx/dsp16xx.h: Likewise.
2584         * config/dsp16xx/dsp16xx.md: Likewise.
2585
2586 2001-11-14  Kazu Hirata  <kazu@hxi.com>
2587
2588         * config/h8300/h8300.c (get_shift_alg): Reorganize the code
2589         that deals with 7-bit shifts in HImode.
2590
2591 Wed Nov 14 14:17:05 CET 2001  Jan Hubicka  <jh@suse.cz>
2592
2593         * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
2594         * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
2595         (final_scan_insn): Update call of alter_subreg.
2596         (cleanup_subreg_operands): Likewise.
2597         (alter_subreg): Rewrite using simplify_subreg.
2598         (output_address, output_operand): Update call of alter_subreg.
2599         * output.h (alter_subreg): Update prototype.
2600         * sdbout.c (sdbout_symbol): Update call of alter_subreg.
2601         * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
2602         * Makefile.in (final.o): Add dependency on expr.h
2603
2604 Wed Nov 14 06:37:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2605
2606         * c-lang.c (finish_file): Make I unsigned to eliminate warning.
2607
2608 2001-11-13  Jeff Sturm  <jsturm@one-point.com>
2609
2610         * doc/install.texi (sparc-*-linux*): Mention requirements for
2611         binutils and glibc.
2612
2613 2001-11-14  Joseph S. Myers  <jsm28@cam.ac.uk>
2614
2615         * Makefile.in (POD2MAN): Don't include --section=1.
2616         (manext): Rename to man1ext.  All users changed.
2617         (man7ext): New.
2618         (man7dir): New.
2619         (generated-manpages): Also depend on $(docdir)/gfdl.7,
2620         $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
2621         ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
2622         --section=1 in calls to $(POD2MAN).
2623         ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
2624         (maintainer-clean, install, uninstall): Handle the new man pages.
2625         ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
2626         (installdirs): Create man7dir.
2627         * doc/cpp.texi: Include GFDL in this manual.  In the man page,
2628         refer to gfdl(7) for the GFDL.  Apply Front Cover and Back Cover
2629         texts to man page.  Include gpl(7), gfdl(7) and fsf-funding(7) in
2630         the SEE ALSO man page section.
2631         * doc/gcov.texi: Apply GFDL to man page.  Include gpl(7), gfdl(7)
2632         and fsf-funding(7) in the SEE ALSO man page section.
2633         * doc/invoke.texi: Apply GFDL to man page.  Include gpl(7),
2634         gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
2635         * doc/include/fdl.texi, doc/include/funding.texi,
2636         doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
2637         * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
2638
2639 2001-11-13  Richard Henderson  <rth@redhat.com>
2640
2641         * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
2642         as appropriate for the artificial decl.
2643
2644 2001-11-13  Richard Henderson  <rth@redhat.com>
2645
2646         * loop.c (combine_movables): Turn off combination until
2647         move_movables validation bugs are fixed.
2648
2649 2001-11-13  DJ Delorie  <dj@redhat.com>
2650
2651         * config.gcc (powerpc|rs6000): Set default cpp options based
2652         on --with-cpu settings.
2653         * config/rs6000/softfloat.h: New.
2654
2655 2001-11-13  Kazu Hirata  <kazu@hxi.com>
2656
2657         * config/h8300/h8300.c (shift_alg_si): Use special code for
2658         25-bit shifts on H8/S.
2659         (get_shift_alg): Generate special code for 25-bit shifts on
2660         H8/S.
2661
2662 2001-11-13  Jakub Jelinek  <jakub@redhat.com>
2663
2664         * emit-rtl.c (adjust_address_1): Add ADJUST argument.
2665         (adjust_automodify_address_1): New.
2666         * expr.h (adjust_address, adjust_address_nv): Adjust.
2667         (adjust_automodify_address, adjust_automodify_address_nv): Define.
2668         (adjust_address_1): Update prototype.
2669         (adjust_automodify_address_1): Add prototype.
2670         * expr.c (move_by_pieces_1): Use adjust_automodify_address.
2671         (store_by_pieces_2): Likewise.
2672
2673 Tue Nov 13 05:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2674
2675         * Makefile.in (explow.o): Now depends on ggc.h.
2676         * explow.c (ggc.h): Include.
2677         (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
2678
2679         * Makefile.in (expr.o): Depends on insn-attr.h.
2680         * expr.c (insn-attr.h): New include.
2681         (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
2682         of MEM.
2683         (highest_pow2_factor, case INTEGER_CST): Handle negative values.
2684         (expand_expr): Remove unneeded mark_temp_addr_taken calls and
2685         clean up related usage in ADDR_EXPR.
2686         (expand_expr_unaligned): Likewise.
2687
2688         * emit-rtl.c (change_address): Fix typo in alias setting.
2689
2690 2001-11-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2691
2692         * Makefile.in (cfgcleanup.o): Depend on insn-config.h
2693
2694 2001-11-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2695
2696         PR bootstrap/3451
2697         * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
2698         GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
2699
2700 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
2701
2702         * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
2703         sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
2704         sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
2705         sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
2706         sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
2707         sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
2708         sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
2709         sparc64-*-linux*):  Include various CPU headers via tm_file.
2710         * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
2711         (SELECT_SECTION): Likewise.
2712         (SELECT_RTX_SECTION): Likewise.
2713         * config/sparc/sparc_bi.h: New file.
2714         * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
2715         * config/sparc/linux-aout.h: Likewise.
2716         * config/sparc/linux.h: Don't include sparc/sysv4.h.
2717         * config/sparc/linux64.h: Likewise.
2718         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
2719         * config/sparc/lite.h:  Don't include sparc/sparc.h and gofast.h.
2720         * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
2721         and dbxcoff.h
2722         (ASM_OUTPUT_IDENT): Do not #undef.
2723         (SELECT_SECTION): Likewise.
2724         (SELECT_RTX_SECTION): Likewise.
2725         * config/sparc/liteelf.h: Don't include gofast.h.
2726         * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
2727         * config/sparc/lynx.h: Don't include sparc/sparc.h.
2728         * config/sparc/pbd.h: Likewise.
2729         * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
2730         * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
2731         * config/sparc/rtemself.h: Don't include rtems.h.
2732         * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
2733         * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
2734         sparc_bi.h instead.
2735         * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
2736         * config/sparc/sol2.h: Include sparc/sparc.h directly.
2737         * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
2738         * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
2739         * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
2740         * config/sparc/sp86x-elf.h: Don't include gofast.h.
2741         * config/sparc/splet.h: Don't include sparc/aout.h.
2742         * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
2743         * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
2744         * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
2745         * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
2746         * config/sparc/vxsparc64.h: Don't include gofast.h.
2747         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
2748
2749 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
2750
2751         * doc/standards.texi: Mention C99 TC1.
2752
2753 2001-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2754
2755         * mips-protos.h (mips_output_conditional_branch): Const-ify.
2756         * mips.c (mips_output_conditional_branch): Likewise.
2757
2758 2001-11-12  Kazu Hirata  <kazu@hxi.com>
2759
2760         * config/h8300/h8300.c (shift_alg_si): Use special code for
2761         15-bit logical shifts and 31-bit logical shifts.
2762         (get_shift_alg): Generate special code for 15-bit and 31-bit
2763         logical shifts.
2764
2765 2001-11-12  Kazu Hirata  <kazu@hxi.com>
2766
2767         * config/h8300/h8300.c (shift_alg_qi): Use rotations when
2768         doing 6-bit logical shifts on H8/S.
2769         (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
2770         (get_shift_alg): Generate special code for 21-bit shifts on
2771         H8/S.
2772
2773 2001-11-12  Kazu Hirata  <kazu@hxi.com>
2774
2775         * config/h8300/h8300.c (get_shift_alg): Remove a redundant
2776         label.
2777
2778 Mon Nov 12 11:58:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2779
2780         * alias.c (nonoverlapping_memrefs_p): Only update size from memref
2781         if both size and offset known.
2782
2783 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
2784
2785         * config/ia64/freebsd.h: Fix misspelling.
2786
2787 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
2788
2789         * doc/gcc.texi: Move several chapters out to ...
2790         * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
2791         doc/include/linux-and-gnu.texi, doc/interface.texi,
2792         doc/makefile.texi, doc/passes.texi, doc/portability.texi:
2793         ... here.  New files.
2794         * doc/gcc.texi, doc/contrib.texi: Move section headings into
2795         contrib.texi.
2796         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2797
2798 2001-11-12  Kazu Hirata  <kazu@hxi.com>
2799
2800         * config/alpha/alpha-interix.h: Fix comment formatting.
2801         * config/alpha/alpha.c: Likewise.
2802         * config/alpha/alpha.h: Likewise.
2803         * config/alpha/alpha32.h: Likewise.
2804         * config/alpha/freebsd.h: Likewise.
2805         * config/alpha/unicosmk.h: Likewise.
2806         * config/alpha/vms.h: Likewise.
2807
2808 2001-11-12  Kazu Hirata  <kazu@hxi.com>
2809
2810         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
2811
2812 2001-11-12  Jakub Jelinek  <jakub@redhat.com>
2813
2814         * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
2815         numbers.
2816
2817 Mon Nov 12 05:18:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2818
2819         * emit-rtl.c (set_mem_attributes): If making object, can set alignment
2820         from type.
2821         (replace_equiv_address): Call update_temp_slot_address.
2822
2823         * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
2824
2825         * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
2826
2827 2001-11-12  Kazu Hirata  <kazu@hxi.com>
2828
2829         * config/h8300/h8300.c (shift_alg_qi): New.
2830         (shift_alg_hi): Likewise.
2831         (shift_alg_si): Likewise.
2832         (get_shift_alg): Change the type of count to unsigned int.
2833         Use the tables.
2834
2835 2001-11-11  Alexandre Oliva  <aoliva@redhat.com>
2836
2837         * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
2838         * c-decl.c (c_expand_body): Take argument can_defer_p.  Use it
2839         to decide whether to defer a function.
2840         (finish_function): Adjust.
2841         (c_expand_deferred_function): New function.
2842         * c-lang.c (deferred_fns): New variable.
2843         (c_init): Initialize it, and mark it as a root.
2844         (defer_fn): New function.
2845         (finish_file): Expand all deferred functions.
2846         * c-tree.h (defer_fn): Declare.
2847         (c_expand_deferred_function): Likewise.
2848         * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
2849         * objc-act.c (deferred_fns): New variable.
2850         (objc_init): Initialize it, and mark it as a root.
2851         (defer_fn): New function.
2852         (finish_file): Expand all deferred functions.
2853
2854 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2855
2856         * alpha.c (unicosmk_special_name): Prototype.
2857         (unicosmk_ssib_name): Delete unused variable.
2858         * alpha/unicosmk.h (common_section, ssib_section): Prototype.
2859         * alpha/vms.h (PREFIX): Undef before defining.
2860         * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
2861         * i370/i370.c (mvs_hash_alias): Prototype.  Wrap with macro
2862         controlling usage.  Const-ify.
2863         (alias_number): Delete unused variable.
2864         * m32r/m32r.c (m32r_sched_init): Add missing argument.
2865         (m32r_expand_block_move): Fix uninitialized warnings.
2866         * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
2867         always true' warnings.
2868         * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
2869         * sh/sh.c: Include "integrate.h".
2870         (output_far_jump): Fix uninitialized warning.
2871         * final.c (shorten_branches): Avoid automatic aggregate
2872         initialization.
2873         * integrate.c (subst_constants): Likewise.
2874
2875 2001-11-11  Kazu Hirata  <kazu@hxi.com>
2876
2877         * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
2878         (get_shift_alg): Remove redundant code.
2879
2880 2001-11-11  Kazu Hirata  <kazu@hxi.com>
2881
2882         * config/pa/milli64.S: Fix comment formatting.
2883         * config/pa/pa-64.h: Likewise.
2884         * config/pa/pa-linux.h: Likewise.
2885         * config/pa/pa-protos.h: Likewise.
2886         * config/pa/pa.c: Likewise.
2887         * config/pa/pa.h: Likewise.
2888         * config/pa/pa32-linux.h: Likewise.
2889         * config/pa/pa32-regs.h: Likewise.
2890         * config/pa/pa64-hpux.h: Likewise.
2891         * config/pa/pa64-regs.h: Likewise.
2892         * config/pa/som.h: Likewise.
2893
2894 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
2895
2896         * doc/gcc.texi: Move several chapters out to ...
2897         * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
2898         doc/service.texi, doc/standards.texi, doc/trouble.texi,
2899         doc/vms.texi: ... here.  New files.
2900         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2901
2902 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
2903
2904         * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
2905         cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
2906         collect2.c, combine.c, config.in, configure, configure.in,
2907         conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
2908         genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
2909         reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
2910         spelling errors.
2911
2912 Sun Nov 11 05:56:01 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2913
2914         * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
2915         Adjust operand number in CONST_DOUBLE.
2916
2917         * expmed.c (extract_bit_field): No longer pass in alignment.
2918         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2919         (store_bit_field, store_fixed_bit_field, store_split_bit_field):
2920         Likewise.
2921         * expr.c (store_constructor, store_constructor_field): Likewise.
2922         (store_field, emit_group_load, emit_group_store): Likewise.
2923         * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
2924         (store_bit_field, extract_bit_field): Likewise.
2925         * calls.c, expr.c, function.c: Change calls to above functions.
2926         * ifcvt.c, stmt.c: Likewise.
2927
2928         * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
2929         constant and one is on frame.
2930         If know memref offset, adjust size from decl.
2931
2932 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2933
2934         * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
2935         format specifier warning.
2936         * convex.h (ASM_OUTPUT_BYTE): Likewise.
2937         * elfos.h (ALIGN_ASM_OP): Undef before defining.
2938         * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
2939         warning.
2940         * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2941         * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2942         * i386-interix.h (gen_stdcall_suffix): Prototype.
2943         * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
2944         * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2945         ASM_OUTPUT_LONG_DOUBLE): Likewise.
2946         * i386/interix.c (gen_stdcall_suffix): Const-ify.
2947         * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2948         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
2949         specifier warnings.
2950         * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2951         * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
2952         ASM_OUTPUT_LONG_DOUBLE): Likewise.
2953         * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2954         * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2955         * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2956         * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2957         * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
2958         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
2959         * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2960         * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
2961         Likewise.
2962         * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
2963         Likewise.
2964         * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
2965         * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2966         ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
2967         Likewise.
2968         * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
2969         Likewise.
2970         * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
2971         Likewise.
2972         * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
2973         * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
2974         * m68k/news.h (PRINT_OPERAND): Likewise.
2975         * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
2976         ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
2977         * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2978         * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
2979         definition.
2980         * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
2981         ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
2982         ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
2983         * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
2984         * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
2985         ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
2986         PRINT_OPERAND): Likewise.
2987         * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
2988         Likewise.
2989         * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
2990         * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
2991         * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
2992         * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
2993         * mips.c (mips_output_external_libcall): Mark parameter with
2994         ATTRIBUTE_UNUSED.
2995         (mips_asm_file_start): Move variable into the scope where it's
2996         used.
2997         * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
2998         * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
2999         * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
3000         * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3001         * ns32k.c (print_operand): Likewise.
3002         * pa.c (print_operand, output_div_insn): Likewise.
3003         * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
3004         ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
3005         * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
3006         * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3007         specifier warnings.
3008         * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3009         * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3010         (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
3011         * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3012         specifier warnings.
3013         * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3014
3015         * sdbout.c (sdbout_end_epilogue): Mark parameter with
3016         ATTRIBUTE_UNUSED.
3017         * varasm.c (assemble_global): Likewise.
3018
3019 2001-11-11  H.J. Lu <hjl@gnu.org>
3020
3021         * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
3022
3023 Sun Nov 11 01:26:00 CET 2001  Jan Hubicka  <jh@suse.cz>
3024
3025         * final.c (*_MAX_SKIP): Use *_max_skip variables.
3026         * flags.h (align_loops_max_skip, align_jumps_max_skip,
3027         align_labels_max_skip): New global variables.
3028         * toplev.c (align_loops_max_skip, align_jumps_max_skip,
3029         align_labels_max_skip): New global variables.
3030         (toplev_main): Set new variables.
3031         * i386.c (override_options): Set max_skip values.
3032
3033 2001-11-10  Geoffrey Keating  <geoffk@redhat.com>
3034
3035         * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
3036         * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
3037         * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
3038         don't print an @fptr for labels either.
3039         (xstormy16_output_addr_vec): Don't print @fptr here.
3040         * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
3041
3042 Sat Nov 10 08:50:50 2001  Jeffrey A Law  (law@cygnus.com)
3043
3044         * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
3045         an ANSI/ISO definitino.
3046         (ssa_const_prop): Likewise.
3047
3048 2001-11-10  Aldy Hernandez  <aldyh@redhat.com>
3049
3050         * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
3051         altivec registers.
3052
3053 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3054
3055         * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
3056         * cpplex.c (hex_digit_value): Use hex_p/hex_value.
3057         * cppmain.c (general_init): Call hex_init.
3058         * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
3059
3060         * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
3061
3062         * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
3063         of dgux.c:output_file_start().
3064
3065         * i386/dgux.c: Delete file.
3066
3067 2001-11-09  Richard Henderson  <rth@redhat.com>
3068
3069         * config/alpha/alpha.c (decl_in_text_section): New.
3070         (current_file_function_operand): Use it.
3071         (alpha_encode_section_info, alpha_end_function): Likewise.
3072
3073 2001-11-07  David O'Brien  <obrien@FreeBSD.org>
3074
3075         * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
3076         * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
3077         they are OS specific.  Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
3078         so OS specific files and use CPP_PREDEFINES for their needs.
3079         * config/i64/elf.h (TARGET_VERSION): Add.  Also, move inclusion of
3080         target headers to tm_file.
3081         * config/ia64/aix.h (TARGET_VERSION): Likewise.
3082         * config/ia64/hpux.h (TARGET_VERSION): Likewise.
3083         * config/ia64/linux.h (TARGET_VERSION): Likewise.
3084         (FUNCTION_PROFILER): Remove.
3085         * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
3086         version in config/ia64/linux.h.
3087         * config/ia64/freebsd.h: New file.
3088         * config/freebsd.h: Tidy up.
3089         (_USING_CONFIG_FREEBSD): Define.
3090         (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
3091         (FBSD_CPP_SPEC): Define generic FreeBSD spec.
3092         (FBSD_STARTFILE_SPEC): Likewise.
3093         (FBSD_ENDFILE_SPEC): Likewise.
3094         (FBSD_LIB_SPEC): Likewise.
3095         (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
3096         (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
3097         set an ELF-improper one.
3098
3099 2001-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3100
3101         * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
3102         constant can be loaded in a single instruction to a register.  When
3103         loading immediate constants, use PLUS instead of HIGH/LO_SUM.  Use
3104         depdi for insertion of most significant 32-bits on 64-bit hosts.
3105         * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
3106         with ldil/ldo/depdi instruction sequence on 64-bit hosts.
3107         * pa.md: New addmove pattern for adding constant_int to HImode
3108         register and moving result to HImode register.  Remove HImode HIGH
3109         and LO_SUM patterns.
3110
3111 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3112
3113         * Makefile.in: Update.
3114         * c-decl.c (print_lang_decl, print_lang_type): Remove.
3115         (print_lang_identifier): Rename c_print_identifier.
3116         * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3117         (print_lang_statistics, lang_print_xnode): Remove.
3118         * c-parse.in (set_yydebug): Rename c_set_yydebug.
3119         * c-tree.h (c_set_yydebug, c_print_identifier): New.
3120         * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
3121         LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
3122         LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
3123         LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3124         (LANG_HOOKS_INITIALIZER): Update.
3125         * langhooks.h (struct lang_hooks): New members.
3126         (lang_print_tree_hook): New.
3127         * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
3128         * print-tree.c: Include langhooks.h.
3129         (print_node): Update.
3130         * toplev.c (decode_d_option): Update.
3131         * tree.c: Include langhooks.h.
3132         (dump_tree_statistics): Update.
3133         * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
3134         print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
3135 objc:
3136         * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
3137         LANG_HOOKS_SET_YYDEBUG): Override.
3138         (lang_print_xnode, print_lang_statistics): Remove.
3139
3140 2001-11-09  Richard Henderson  <rth@redhat.com>
3141
3142         * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
3143         on the symbol string.
3144
3145 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3146
3147         * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
3148         ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
3149         * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
3150
3151         * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
3152
3153         * tlink.c (recompile_files): Copy strings passed to `putenv'.
3154
3155 2001-11-09  Geoffrey Keating  <geoffk@redhat.com>
3156
3157         * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
3158         (TYPE_READONLY): Likewise.
3159
3160         * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
3161
3162         * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
3163         don't pass --gdwarf2 to the assembler if the compiler will also
3164         provide debug info.
3165
3166         * config/stormy16/stormy16.c (xstormy16_expand_casesi):
3167         Don't change INDEX.
3168
3169 Fri Nov  9 17:51:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3170
3171         * alias.c (nonoverlapping_memrefs_p): New function.
3172         (true_dependence, canon_true_depenence, write_dependence_p): Call it.
3173
3174         * emit-rtl.c (set_mem_attributes): Get alignments for constants.
3175
3176 2001-11-09  Aldy Hernandez  <aldyh@redhat.com>
3177
3178         * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
3179         (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
3180         generating altivec code.
3181         (FIXED_REGISTERS): VRSAVE is fixed.
3182         (CALL_USED_REGISTERS): VRSAVE is call used.
3183
3184 2001-11-09  Jason Eckhardt  <jle@rice.edu>
3185
3186         * config/mips/mips.c (mips_output_conditional_branch): Do not hard
3187         code the branch target as ".+16/.+12", but rather use labels.
3188
3189 Fri Nov  9 11:27:42 2001  Jeffrey A Law  (law@cygnus.com)
3190
3191         * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
3192         to work around limitations of certain versions of GAS.
3193
3194         * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
3195         (muldi3): Update due to SUBREG_BYTE changes.
3196         (casesi): Similarly.
3197
3198 2001-11-09  Zack Weinberg  <zack@codesourcery.com>
3199
3200         * doc/invoke.texi: Remove comment referring to -xf77-version.
3201
3202 2001-11-09  Kazu Hirata  <kazu@hxi.com>
3203
3204         * config/convex/convex.c: Fix comment formatting.
3205         * config/convex/convex.h: Likewise.
3206
3207 2001-11-08  Zack Weinberg  <zack@codesourcery.com>
3208
3209         * Makefile.in (.po.pox): Look both in srcdir and builddir
3210         for $(PACKAGE).pot.
3211         (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
3212         to the source directory.
3213
3214 2001-11-09 Ben Elliston  <bje@redhat.com>
3215            Michael Meissner  <meissner@redhat.com>
3216            Andrew MacLeod  <amacleod@redhat.com>
3217            Richard Henderson  <rth@redhat.com>
3218            Nick Clifton  <nickc@redhat.com>
3219            Catherine Moore  <clm@redhat.com>
3220
3221         * m32r.c: Add support for m32rx processor.
3222         * m32r.h: Ditto.
3223         * m32r.md: Ditto.
3224         * t-m32r: Ditto.
3225         * m32r-protos.h: Add prototypes for m32rx functions.
3226         * doc/invoke.texi: Document -m32rx option.
3227
3228 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
3229
3230         * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
3231         or after reload.
3232
3233 2001-11-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3234
3235         * doc/install.texi2html: Use $MAKEINFO --no-split.
3236
3237 2001-11-09  Andreas Schwab  <schwab@suse.de>
3238
3239         * Makefile.in ($(HOST_PREFIX_1)rtl.o,
3240         $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
3241         $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3242         $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
3243         $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
3244
3245 2001-11-09  H.J. Lu <hjl@gnu.org>
3246
3247         * config/mips/mips.c (mips_output_function_prologues): Cast
3248         `tsize' to long for output.
3249
3250 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3251
3252         * c-lang.c (LANG_HOOKS_NAME): New.
3253         (lang_hooks): Constify.
3254         (c_init_options): Update.
3255         (lang_identify): Remove.
3256         * c-parse.in (language_string): Remove.
3257         * dbxout.c: Include langhooks.h.
3258         (dbxout_symbol_location): Update.
3259         * dwarf2out.c: Include langhooks.h.
3260         (gen_compile_unit_die): Update.
3261         * dwarfout.c: Include langhooks.h.
3262         (prototyped_attribute, output_compile_unit_die): Update.
3263         * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
3264         (LANG_HOOKS_INITIALIZER): Update.
3265         * langhooks.h (struct lang_hooks): New members.  Constify.
3266         * stringpool.c: Don't include toplev.h.
3267         (set_identifier_size): Remove.
3268         * toplev.c (toplev_main): Initialize identifier size.
3269         (print_version): Update.
3270         * tree.h (language_string, init_lex, lang_identify,
3271         set_identifier_size): Remove.
3272         * Makefile.in: Update dependencies.
3273         * config/darwin.c: Include langhooks.h.
3274         (func_name_maybe_scoped): Update.
3275         * config/darwin.h (ASM_END_FILE): Update.
3276         * config/nextstep.h (ASM_END_FILE): Update.
3277         * config/nextstep21.h (ASM_END_FILE): Update.
3278         * config/i386/sun386.h (ASM_END_FILE): Update.
3279         * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
3280         (rs6000_output_function_epilogue): Update.
3281 objc:
3282         * objc-act.c (LANG_HOOKS_NAME): Override.
3283         (struct lang_hooks): Constify.
3284         (objc_init_options): Update.
3285         (lang_identify): Remove.
3286
3287 Fri Nov  9 00:25:18 EST 2001  John Wehle  (john@feith.com)
3288
3289         * fold-const.c (lshift_double): Honor PREC.
3290         (rshift_double): Likewise.
3291
3292 2001-11-08  Kazu Hirata  <kazu@hxi.com>
3293
3294         * config/1750a/1750a.c: Fix comment formatting.
3295         * config/1750a/1750a.h: Likewise.
3296
3297 2001-11-08  Phil Edwards  <pedwards@disaster.jaj.com>
3298
3299         * configure.in (--enable-languages): Be more permissive about
3300         syntax.  Check for empty lists better.  Warn about $LANGUAGES.
3301         * configure: Regenerated.
3302
3303 2001-11-08  Richard Henderson  <rth@redhat.com>
3304
3305         * dwarf2asm.c (dw2_force_const_mem): Fix typo.
3306
3307 2001-11-08  Geoffrey Keating  <geoffk@redhat.com>
3308
3309         * config.gcc: Rename stormy16 to xstormy16.
3310         * config/stormy16/stormy-abi: Likewise.
3311         * config/stormy16/stormy16-protos.h: Likewise.
3312         * config/stormy16/stormy16.c: Likewise.
3313         * config/stormy16/stormy16.h: Likewise.
3314         * config/stormy16/stormy16.md: Likewise.
3315
3316 2001-11-06  Geoffrey Keating  <geoffk@redhat.com>
3317
3318         * tree.h (TYPE_VOLATILE): Add enable-checking code.
3319         (TYPE_READONLY): Likewise.
3320
3321 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3322
3323         * reload1.c (reload): Don't delete equiv insn if can throw.
3324
3325         * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
3326         (clear_storage): Likewise, for OBJECT.
3327
3328 Thu Nov  8 16:23:51 2001  Jeffrey A Law  (law@cygnus.com)
3329
3330         * pa.c (emit_move_sequence): Fix SUBREG expression to
3331         use proper byte offset when extending a constant from
3332         SImode to DImode.
3333
3334 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
3335
3336         * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
3337         which cannot throw.
3338
3339 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3340
3341         * explow.c (convert_memory_address, case SUBREG): Only return
3342         inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
3343
3344 2001-11-08  Richard Henderson  <rth@redhat.com>
3345
3346         * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
3347         (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
3348         (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
3349
3350 2001-11-08  Aldy Hernandez  <aldyh@redhat.com>
3351
3352         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
3353
3354 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
3355
3356         * dwarf2out.c (debug_str_hash): New.
3357         (struct indirect_string_node): New.
3358         (struct dw_val_struct): Change type of val_str to it.
3359         (DEBUG_STR_SECTION_FLAGS): Define.
3360         (add_AT_string): Push string into hashtable, increment reference
3361         counter.
3362         (AT_string): Return string from ht_identifier.
3363         (AT_string_form): New.
3364         (free_AT): For dw_val_class_str, just decrement reference counter.
3365         (size_of_string): Remove.
3366         (size_of_die): Use AT_string_form to decide what size the string
3367         occupies in DIE.
3368         (size_of_pubnames): Use strlen instead of size_of_string.
3369         (value_format): Use AT_string_form for dw_val_class_str.
3370         (output_die): Output DW_FORM_strp strings using
3371         dw2_asm_output_offset.
3372         (indirect_string_alloc, output_indirect_string): New.
3373         (dwarf2out_finish): Emit .debug_str strings if there are any.
3374
3375 2001-11-08  Andreas Franck  <afranck@gmx.de>
3376
3377         * configure.in: Add AC_ARG_PROGRAM to support program name
3378         transformation with --program-prefix, --program-suffix and
3379         --program-transform-name.
3380         * configure: Regenerated.
3381         * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
3382         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
3383         GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
3384         PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
3385         program_transform_name the way suggested by autoconf.
3386         (GCC_TARGET_INSTALL_NAME): Define.
3387         (install-driver): Use the transformed target alias name.
3388
3389 2001-11-08  Richard Henderson  <rth@redhat.com>
3390
3391         * config/mips/mips.c (save_restore_insns): Remove GP from the
3392         restore registers mask early instead of special casing it inside
3393         the loop.
3394
3395 2001-11-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3396
3397         * cp/decl.c (shadow_warning): New function.
3398         (pushdecl): Improve -Wshadow warnings.  Don't give both a warning
3399         and an error when a block scope decl shadows a parameter.
3400
3401 2001-11-08  Richard Henderson  <rth@redhat.com>
3402
3403         * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
3404         case as well.
3405
3406 2001-11-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3407
3408         * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
3409         to implement floating negation on processors prior to PA 2.0.
3410
3411 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
3412
3413         * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
3414         (USE_LINKONCE_INDIRECT): Define.
3415         (dw2_output_indirect_constant_1): Try to output indirect constants
3416         into linkonce sections if possible.
3417         (dw2_force_const_mem): Likewise.  Register indirect_pool with GGC.
3418         (dw2_output_indirect_constants): Likewise.
3419
3420 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3421
3422         * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
3423
3424 2001-11-07  Neil Booth  <neil@daikokuya.demon.co.uk>
3425
3426         * c-decl.c (pushdecl): Remove file and line.
3427         * c-typeck.c (pop_init_level): Remove size.
3428
3429 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3430
3431         * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
3432         for rs6000.
3433
3434         * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
3435         (TARGET_ALTIVEC): New.
3436         (TARGET_SWITCHES): Add altivec.
3437         (FIRST_PSEUDO_REGISTER): Change to 109.
3438         (CALL_USED_REGISTERS): Same.
3439         (FIRST_ALTIVEC_REGNO): New.
3440         (LAST_ALTIVEC_REGNO): New.
3441         (ALTIVEC_REGNO_P): New.
3442         (UNITS_PER_ALTIVEC_WORD): New.
3443         (ALTIVEC_VECTOR_MODE): New.
3444         (FIXED_REGISTERS): Add&nb