* objc/objc-act.c (build_constructor): Cast initializer values
[official-gcc.git] / gcc / ChangeLog
blobb5c02519b09d6830b2f5bba95d17880e28d8b591
1 2001-12-11  Richard Henderson  <rth@redhat.com>
3         * objc/objc-act.c (build_constructor): Cast initializer values
4         to the proper field types.
6 2001-12-11  Jakub Jelinek  <jakub@redhat.com>
8         * unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
10 2001-12-10  Roger Sayle <roger@eyesopen.com>
12         * builtins.c (expand_builtin): Use a switch statement to list
13         those functions not expanded without optimizations, instead of a
14         series of equality tests.
16 Tue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
18         * config/alpha/vms.h (LIB_SPEC): Define.
19         * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
21         * libgcc2.c (_bb): Remove ctime declaration.
23         * Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
24         that works if LN_S = cp.
26         * config/alpha/x-vms (version): Change "." to "_".
28         * configure.in: Hardcode that vfork works on VMS host.
29         * configure: Regenerated.
31 Mon Dec 10 18:37:31 2001  Douglas B. Rupp  <rupp@gnat.com>
33         * gcc.c (convert_filename): Add do_obj parameter. Don't convert
34         unless do_obj true.
35         (process_command): Modify calls to convert_filename.
37 2001-12-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
39         * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
41 Mon Dec 10 15:54:27 2001  Jeffrey A Law  (law@cygnus.com)
43         * combine.c (known_cond): Check mode of each operand to determine
44         if COND is comparing floating point values.
46 2001-12-10  David Edelsohn  <edelsohn@gnu.org>
48         * rs6000.h (processor_type): Add PPC405.
49         (RTX_COSTS): Add PPC405.  Correct rs64 and ppc630 multiply costs.
50         * rs6000.md: Add PPC405 information.  Utilize imul2 and imul3 for
51         rios1, rs64, and ppc630 processors.
52         * rs6000.c (processor_target_table): Add PPC405.
54 2001-12-10  Richard Henderson  <rth@redhat.com>
56         * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
57         instead of hardcoding subregs into the _be and _le patterns.
59 2001-12-10  Neil Booth  <neil@daikokuya.demon.co.uk>
61         * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
63 Mon Dec 10 09:19:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
65         * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
66         what insn does.
68 2001-12-10  Joseph S. Myers  <jsm28@cam.ac.uk>
70         * doc/cpp.texi: Don't condition menus on @ifinfo.  Condition the
71         copyright notice formerly conditioned on @ifinfo on @ifnottex
72         instead.
74 Mon Dec 10 06:15:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
76         * vmsdbgout.c (lookup_filename): Remove warning.
78 Mon Dec 10 06:09:57 2001  Douglas B. Rupp  <rupp@gnat.com>
80         * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
82         * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
83         (exeext, target_alias, prefix, local_prefix): Define.
84         * config/alpha/x-vms (USE_COLLECT2): Make empty.
85         * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
86         file specifications. Remove ".".
87         (GCC_INCLUDE_DIR): Remove redefinition (redundant).
88         * fixinc/mkfixinc.sh (alpha*-dec-vms*):  Change to alpha*-dec-*vms*
90 2001-12-09  Nathan Sidwell  <nathan@codesourcery.com>
92         * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
94 Sun Dec  9 21:57:24 2001  Douglas B. Rupp  <rupp@gnat.com>
96         * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
97         Add rules for building [vp]crt0.o
98         * config/alpha/vms.h (START_FILE_SPEC): Define.
99         * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
100         * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
101         * doc/invoke.texi: Document special Alpha/VMS options.
103 Sun Dec  9 20:25:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
105         * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
106         * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
107         not GNUC.
109 Sun Dec  9 20:19:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
110                           Douglas B. Rupp  <rupp@gnat.com>
112         * tree.c (append_random_char): Conditionalize INO for VMS.
114 2001-12-09  Richard Henderson  <rth@redhat.com>
116         * cfgcleanup.c (label_is_jump_target_p): New function.
117         (try_optimize_cfg): Use label_is_jump_target_p to check if label is
118         target of a JUMP_INSN from the preceding block.
120 Sun Dec  9 18:40:07 2001  Douglas B. Rupp  <rupp@gnat.com>
122         * vmsdbgout.c (lookup_filename): Assign null string instead
123         of null pointer to fnam.
125 2001-12-09  Richard Henderson  <rth@redhat.com>
127         * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
128         immediately after a call; insert nops before a call.
130 2001-12-09  Richard Henderson  <rth@redhat.com>
132         * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
133         not FUNCTION_BOUNDARY.
134         * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
135         * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
136         * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
138 2001-12-09  Hans-Peter Nilsson  <hp@bitrange.com>
140         * config/mmix/mmix.c (mmix_function_block_profiler,
141         mmix_block_profiler, mmix_function_block_profiler_exit): Delete
142         unused functions.
143         * config/mmix/mmix-protos.h (mmix_function_block_profiler,
144         mmix_block_profiler, mmix_function_block_profiler_exit): Delete
145         prototypes.
147         * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
148         Delete obsoleted macros.
150 2001-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
152         * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
153         doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
155         * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
156         cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
157         function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
158         config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
159         config/i370/i370.c, config/i386/i386.c,
160         config/i386/i386-interix.h, config/i386/i386.md,
161         config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
162         config/m32r/m32r-protos.h, config/mcore/mcore.h,
163         config/rs6000/rs6000.h, config/sparc/linux64.h,
164         config/sparc/sparc.c, config/v850/v850-protos.h,
165         config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
166         spelling errors.
168 2001-12-09  Daniel Berlin  <dan@cgsoftware.com>
170         * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
171         altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
173         * config/rs6000/rs6000.c: Ditto.
175         * config/rs6000/rs6000.md: Ditto.
177 2001-12-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
179         * 1750a.md: Add default case in switch.
180         * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
181         if-else statement.
182         * dsp16xx.c (print_operand_address): Likewise.
183         * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
184         * ia64.md: Add missing braces.
185         * rs6000-protos.h (s8bit_cint_operand): Prototype.
186         * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
187         if-else statement.
188         * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
189         * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
190         * dbxout.c (dbxout_source_file): Move a variable into the scope
191         where it is used.
192         * final.c (profile_function): Mark parameter with
193         ATTRIBUTE_UNUSED.
194         * genemit.c (gen_expand): Likewise for generated file.
195         * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
197         * vmsdbg.h: Delete spurious close-comment.
198         (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
199         * vmsdbgout.c (write_modbeg): Define return type.
201         * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
202         * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
203         * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
204         * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
205         * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
206         * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
207         * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
209 2001-12-08  Tom Rix  <trix@redhat.com>
211         * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
212         * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
213         * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
214         for powerpc64.
215         * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
216         movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
217         * config/rs6000/rs6000.c (expand_block_move): Do not use
218         gen_movstrsi_2reg and powerpc64.
220 2001-10-08  Aldy Hernandez  <aldyh@redhat.com>
222         * c-common.h (rid): Add RID_CHOOSE_EXPR and
223         RID_TYPES_COMPATIBLE_P.
225         * c-parse.in (reswords): Add __builtin_choose_expr.
226         Add __builtin_types_compatible_p.
227         Add CHOOSE_EXPR token.
228         Add TYPES_COMPATIBLE_P token.
229         Add production for CHOOSE_EXPR.
230         Add production for TYPES_COMPATIBLE_P.
232         * doc/extend.texi (__builtin_choose_expr): Add documentation.
233         (__builtin_types_compatible_p): Likewise.
235 2001-12-08  David Edelsohn  <edelsohn@gnu.org>
237         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
238         to unions.
240 2001-12-08  Neil Booth  <neil@daikokuya.demon.co.uk>
242         * c-parse.in: Take string literals in assembler constructs,
243         not expressions.
244         * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
245         check the strings are STRING_CSTs.
247 2001-12-08  Neil Booth  <neil@daikokuya.demon.co.uk>
249         * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
250         using combine_strings to do the concatenation.
251         * c-parse.in: Replace uses of the string non-terminal with STRING.
252         Don't attempt string concatenation.
253         (OBJC_STRING): New terminal.
254         (string): Remove non-terminal.
255         (_yylex): Call combine_strings on function names.  Generate
256         OBJC_STRING terminals; don't pass '@' on to yacc.
257         * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
258         (build_asm_stmt): Similarly.
260 2001-12-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
262         * rtlanal.c (get_jump_table_offset): Delete unused variable.
264 2001-12-08  Richard Earnshaw  <rearnsha@arm.com>
266         * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
267         (prefetch): Rewrite using PREFETCH RTL primitive.
268         * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
269         * arm.c (arm_init_builtins): Don't initialize a builtin for
270         __builtin_prefetch here.
271         (arm_expand_builtin): Don't expand __builtin_prefetch here.
273 2001-12-08  Richard Earnshaw  <rearnsha@arm.com>
275         * final.c (cleanup_subreg_operands):  Use recog_data.operand_loc
276         in test for a subreg.
278 2001-12-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
280         * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
281         strings.
283 2001-12-07  Richard Henderson  <rth@redhat.com>
285         * doc/extend.texi: Fix typo last change.
287         * c-decl.c (c_language): Remove duplicate.
289 2001-12-07  Dale Johannesen  <dalej@apple.com>
291         * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
292         * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
293         specific codegen, eliminate a register copy.
294         (print_operand_address): Add support for Darwin's lo16(constant)
295         syntax.
296         (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
297         generation of addresses within very large data objects.
298         (s8bit_cint_operand):  New.
299         * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
300         Move "mtjmpr" to correct functional unit for 750/7400/7450.
301         Add imul2 and imul3 insn types for multiplication by 16- and
302         8-bit constants.
303         Change tablejump patterns to strongly discourage using LR
304         rather than CTR.
305         Add %lo16 patterns for Darwin loads and stores.
307 2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
309         * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
311 2001-12-07  Stephane Carrez  <Stephane.Carrez@sun.com>
313         * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
314         with %sp because it can cause the delayed instruction to load
315         below the stack.
317 2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
319         * alpha.c (alpha_expand_unaligned_store,
320         alpha_expand_unaligned_store_words): Use constm1_rtx in place of
321         call to immed_double_const.
323 2001-12-07  Aldy Hernandez  <aldyh@redhat.com>
325         * doc/extend.texi (Variable Attributes): Document vector_size.
327         * attribs.c (c_common_attribute_table): Add vector_size.
328         (handle_vector_size_attribute): New.
329         (vector_size_helper): New.
330         (decl_attributes): Relayout the decl after calculating attribs.
332 2001-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
334         * doc/gcc.texi: Don't include install-old.texi.  Adjust menu
335         description for Trouble section.
336         * doc/install-old.texi: Adjust for inclusion as chapter of new
337         installation manual.
338         * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
339         Adjust to include old installation chapter as chapter of new
340         installation manual.
342 Fri Dec  7 11:07:35 EST 2001  John Wehle  (john@feith.com)
344         * rtl.h (get_jump_table_offset): Declare.
345         * rtlanal.c (get_jump_table_offset): Implement.
347 Fri Dec  7 07:06:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
349         * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
350         Deleted; were used only by BB profiler code.
351         (sbb_head, sbb_tail, sbb_label_num): Likewise.
352         (end_final): Delete now-unused vars I, PTR, and SPTR.
354         * expr.c (store_field): Remove warning.
355         (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
356         (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
357         (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
358         divisor constant power of 2.
359         (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
361 2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
363         * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
364         shifting.
366 2001-12-06  Aldy Hernandez  <aldyh@redhat.com>
368         * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
369         (DWARF_FRAME_REGISTERS): Delete.
371 2001-12-06  Janis Johnson  <janis187@us.ibm.com>
373         * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
374         * builtins.def (BUILT_IN_PREFETCH): Change arguments.
375         * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
376         with defaults for read prefetch with high degree of locality.
377         * doc/extend.texi (__builtin_prefetch): Update documentation.
378         * doc/md.texi (prefetch): Add documentation.
380 2001-12-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
382         * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
383         UNIX V5.1A stdio.h.
384         * fixinc/fixincl.x: Regenerate.
385         Fixes PR libf2c/4826.
387 2001-12-06  Aldy Hernandez  <aldyh@redhat.com>
388             Richard Henderson  <rth@redhat.com>
390         * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
391         (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
393         * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
394         to PRE_GCC3_DWARF_FRAME_REGISTERS.
395         (frame_state): Same.
396         (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
398 2001-12-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
400         * langhooks.c (lhd_staticp): Mark parameter with
401         ATTRIBUTE_UNUSED.
403 2001-12-06  H.J. Lu <hjl@gnu.org>
405         * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
406         reduce noise.
407         (.po.pox): Likewise.
408         (o/$(PACKAGE).pot): Likewise.
410 2001-12-06  Alexandre Oliva  <aoliva@redhat.com>
412         * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
413         * tree-inline.c (expand_call_inline): ... here.
415 2001-12-06  H.J. Lu <hjl@gnu.org>
417         * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
418         (.po.pox): Likewise.
419         (o/$(PACKAGE).pot): Likewise.
421 2001-12-06  David O'Brien  <obrien@FreeBSD.org>
423         * config.gcc: Include dbxelf.h before elfos.h.
424         * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
426 2001-12-06  Zack Weinberg  <zack@codesourcery.com>
428         * cppfiles.c (open_file): If we've opened a directory by
429         mistake, close it.
430         (find_include_file): Avoid turning / into // or // into ///.
432 2001-12-06  Nick Clifton  <nickc@cambridge.redhat.com>
434         * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
435         (STRUCT_VALUE_REGNUM): Restore definition.
437 2001-12-06  Andrew MacLeod <amacleod@redhat.com>
439         * flow.c (find_regno_partial): Return register, not the expression
440         the register is in.
442 Thu Dec  6 09:24:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
444         * function.c (handle_epilogue_set): Check for FP setting case when
445         SP is set from FP in same insn.
447 2001-12-06  Nick Clifton  <nickc@cambridge.redhat.com>
449         * config/arm/arm.c (load_multiple_sequence): Pass pointer to
450         RTX when calling alter_subreg().
451         (store_multiple_sequence): Pass pointer to RTX when calling
452         alter_subreg().
454 Thu Dec  6 06:55:13 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
456         * function.c (assing_parms): Fix typo in last change.
457         * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
458         * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
459         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
460         * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
462 2001-12-06  Alan Modra  <amodra@bigpond.net.au>
464         * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
465         correct code selecting section.
467 Thu Dec  6 12:45:33 CET 2001  Jan Hubicka  <jh@suse.cz>
469         * final.c (count_basic_block, add_bb, add_bb_string):
470         Kill.
471         (end_final, final_start_function, final, final_scan_insn,
472         leaf_function_p): Kill BB profiler related code.
473         * flags.h (profile_block_flag): Kill.
474         * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
475         BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
476         __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
477         bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
478         reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
479         __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
480         __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
481         __bb_init_trace_func): Kill.
482         * toplev.c (profile_block_flag): Kill.
483         (indepdendent_decode_option, process_options): Kill -a related code.
484         * alpha.c (direct_call_operand): Likewise.
485         * arm.c (arm_expand_prologue, thumb_expand_prologue,
486         thumb_expand_epilogue): Likewise.
487         * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
488         * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
489         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
490         MACHINE_STATE_RESTORE): Kill.
491         * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
492         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
493         MACHINE_STATE_RESTORE): Kill.
494         * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
495         * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
496         ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
497         code.
498         (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
499         * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
500         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
501         MACHINE_STATE_RESTORE): Kill.
502         * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
503         * i960.c (i960_output_function_prologue): Kill BB profiler related
504         code.
505         * ia64.c (ia64_compute_frame_size): Likewise.
506         * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
507         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
508         MACHINE_STATE_RESTORE): Kill.
509         * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
510         * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
511         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
512         MACHINE_STATE_RESTORE): Kill.
513         * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
514         * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
515         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
516         MACHINE_STATE_RESTORE): Kill.
517         * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
518         Kill BB profiler related code.
519         * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
520         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
521         MACHINE_STATE_RESTORE): Kill.
522         * mips.c (mips_expand_prologue): Kill BB profiler related code.
523         * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
524         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
525         MACHINE_STATE_RESTORE): Kill.
526         * rs6000.c (rs6000_override_options): Kill BB profiler related code.
527         * s960.c (s390_function_prologue): Kill BB profiler related code.
528         * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
529         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
530         MACHINE_STATE_RESTORE): Kill.
531         * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
532         * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
533         * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
534         * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
535         * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
536         sparc_nonflat_function_epilogue): Kill BB profiler related code.
537         (sparc_function_block_profiler, sparc_block_profiler,
538         sparc_function_block_profiler_exit): Kill.
539         * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
540         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
541         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
542         MACHINE_STATE_RESTORE): Kill.
543         * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
544         * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
545         * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
546         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
547         MACHINE_STATE_RESTORE): Kill.
548         * doc/invoke.texi: Kill documentation of -a and -ax.
549         * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
550         FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
551         MACHINE_STATE_RESTORE): Kill.
553 2001-10-26  Steve Christiansen  <smc@us.ibm.com>
555         * doc/rtl.texi: Use a table to display RTL format characters.
557 2001-12-06  Bo Thorsen  <bo@suse.co.uk>
559         * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
561 Wed Dec  5 19:18:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
563         * function.c (keep_stack_depressed): Check global_live_at_start
564         of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
566 2001-12-05  David O'Brien  <obrien@FreeBSD.org>
568         * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
569         as set by the generic FreeBSD configure framework.
571 2001-12-04  Jason Merrill  <jason@redhat.com>
573         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
574         start_inlining, end_inlining.
575         * tree-inline.c (expand_call_inline): Call them.
576         * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
577         (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
578         (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
579         * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
580         (lhd_tree_inlining_end_inlining): New fn.
582 2001-12-05  Neil Booth  <neil@daikokuya.demon.co.uk>
584         * c-common.c (shadow_warning): New function, moved from cp/decl.c.
585         * c-common.h (shadow_warning): New.
586         * c-decl.c: Include c-common.h.
587         (warn_if_shadowing): New, broken out of pushdecl.
588         (pushdecl): Use warn_if_shadowing.
589         (store_parm_decls): Prevent duplicate -Wshadow warnings.
591 Wed Dec  5 17:59:19 2001  Douglas B. Rupp  <rupp@gnat.com>
593         * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
594         (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
595         (LIB_SPEC): Remove.
597 Wed Dec  5 16:03:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
599         * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
600         (QUAL_UNION_TYPE): New type.
602         * varasm.c (output_constant, case ERROR_MARK): New case.
604         * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
605         (c_com): Delete its reference.
606         * builtins.c: Delete memory checking code.
607         * calls.c, expr.c, function.c, stmt.c: Likewise.
608         * builtins.c (expand_builtin_arg_info): Remove reference to
609         EXPAND_MEMORY_USE_* modifiers.
610         * explow.c (expr_size): Likewise.
611         * expr.c (expand_expr, expand_increment): Likewise.
612         * expr.h (ARGS_SIZE_RTX): Likewise.
613         * function.c (assign_parms, expand_pending_sizeso): Likewise.
614         * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
615         * expr.c (in_check_memory_usage): Delete.
616         (get_push_address, get_memory_usage_from_modifier): Delete.
617         (expand_assigment): Use EXPAND_WRITE on destination.
618         (expand_expr): Delete ro_modifier.
619         * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
620         add EXPAND_WRITE.
621         (memory_use_mode): Delete.
622         * flags.h (flag_check_memory_usage): Deleted.
623         (flag_prefix_function_name): Likewise.
624         * function.c (expand_function_start): Don't set
625         current_function_check_memory_usage.
626         * function.h (check_memory_usage): Delete.
627         * libfuncs.h, optabs.c: Delete chkr_* stuff.
628         * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
629         EXPAND_WRITE.
630         * toplev.c (flag_check_memory_usage): Deleted.
631         (flag_prefix_function_name): Likewise.
632         (f_options, process_options): Delete references to above.
633         * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
634         * varasm.c (CHKR_PREFIX): Deleted.
635         (make_decl_rtl): Remove flag_prefix_function_name handling.
636         (assemble_name): Likewise.
637         * doc/extend.texi: Remove no_check_memory_usage attribute.
638         * doc/invoke.texi: Remove -fcheck-memory-usage
639         and -fprefix-function-name.
641 2001-12-05  Andreas Schwab  <schwab@suse.de>
643         * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
644         from autoconf.
646 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
648         * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
650 2001-12-05  William Cohen  <wcohen@redhat.com>
652         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
653         instruction.
655 2001-12-05  Daniel Berlin  <dan@cgsoftware.com>
657         * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
658         builtins.
660         * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
661         better reflect reality (change from Apple's tree).
662         Add more of altivec instructions.
663         Add ftruncv4sf2 pattern.
664         Remove more unspecs (vector merge instructions, etc).
666         * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
667         builtins.
668         (bdesc_1arg): New, for 1 argument altivec builtins.
669         (altivec_expand_builtin): Handle unary and ternary ops.
670         (altivec_init_builtins): Ditto.
672 Wed Dec  5 09:33:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
674         * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
675         * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
677 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
679         * gcse.c (store_killed_in_insn): Consider pure calls
680         as potential store killers in addition to normal calls.
682 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
684         * expr.c (expand_expr): When checking promoted value, use
685         DECL_MODE (exp) and not mode.
687 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
689         * c-typeck.c (output_init_element): Call digest_init
690         just once, not in each if branch and check its return value for
691         error_mark_node.
693 2001-12-05  Jakub Jelinek  <jakub@redhat.com>
695         * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
696         type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
697         (finish_struct): Break the loop if n_incomplete went to 0.
698         For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
700 Wed Dec  5 07:41:13 2001  Douglas B. Rupp  <rupp@gnat.com>
702         * config/alpha/alpha.c (alpha_va_start): Update VMS case.
704 Wed Dec  5 07:27:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
705                           Douglas B. Rupp  <rupp@gnat.com>
707         * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
708         * doc/invoke.texi: Add -gvms.
709         * doc/passes.texi: Add mention of vmsdbgout.c.
710         * doc/tm.texi: Document VMS debugging output.
712 Wed Dec  5 06:26:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
714         * function.h (tree, rtx): Remove no-longer-needed definitions.
716         * function.c (keep_stack_depressed): Refine check for register
717         clobbered over call.
719         * expr.c (store_expr): When copying string constant into array,
720         use functions that update memrefs instead of computations on
721         addresses to better track MEMs.  Also properly handle 32/64 pointers.
722         (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
723         (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
725         * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
726         underneath COMPONENT_REFs.
727         (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
729 2001-12-05  Neil Booth  <neil@daikokuya.demon.co.uk>
731         * toplev.c (display_target_options): Don't print twice.
733 Wed Dec  5 00:42:16 EST 2001  John Wehle  (john@feith.com)
735         * emit-rtl.c (set_unique_reg_note): Don't set
736         a REG_EQUAL or REG_EQUIV note if multiple sets
737         are present.
739 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
741         * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
742         CASE_DROPS_THROUGH.
744 2001-12-04  Andrew MacLeod  <amacleod@redhat.com>
746         * rtl.h (initialize_uninitialized_subregs): New prototype.
747         * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
748         when optimization is on.
749         * flow.c (find_regno_partial): Find subregs within an expression.
750         (initialize_uninitialized_subregs): Initialize live on entry registers
751         which are used in subreg expressions.
753 2001-12-04  Phil Edwards  <pme@gcc.gnu.org>
755         * Makefile.in:  Add INSTALL_SCRIPT using INSTALL definition.
757 2001-12-04  DJ Delorie  <dj@redhat.com>
759         * fixinc/fixincl.c (initialize): Avoid problemsome macro
760         parameter names (PR 3388).
762 2001-12-05  Alan Modra  <amodra@bigpond.net.au>
764         * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
765         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
767 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
769         * c-common.def (COMPOUND_LITERAL_EXPR): New.
770         * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
771         (c_staticp): New function.
772         * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
773         (c_staticp): Declare.
774         * c-typeck.c (default_function_array_conversion, build_unary_op):
775         Don't handle CONSTRUCTOR specially.
776         (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
777         * c-decl.c (build_compound_literal): New function.
778         * c-tree.h (build_compound_literal): Declare.
779         * c-parse.in (primary): Use build_compound_literal.
780         * c-lang.c (LANG_HOOKS_STATICP): Define.
781         * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
782         * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
783         * doc/extend.texi: Update documentation of compound literals.
784         Fixes PR c/4787.
786 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
788         * langhooks.h (struct lang_hooks): Add staticp.
789         * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
790         (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
791         * langhooks.c (lhd_staticp): New function.
792         * tree.c (staticp): Call lang_hooks.staticp for language-specific
793         tree codes.
795 2001-12-04  Neil Booth  <neil@daikokuya.demon.co.uk>
797         * cppspec.c (lang_specific_driver): Set is_cpp_driver.
798         * gcc.c (process_command): Ensure the cpp driver sees
799         --help and --target-help, and that the help is printed
800         exactly once.
802 2001-12-04  David Edelsohn  <edelsohn@gnu.org>
804         * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
806 2001-12-04  Hans-Peter Nilsson  <hp@axis.com>
808         * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
809         flag_strict_aliasing.  Use separate assignment statements.
811 2001-12-04  Zack Weinberg  <zack@codesourcery.com>
813         * build-make, cross-make: Delete file.
814         * configure.in: Set and substitute CROSS, ALL,
815         SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
816         HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
817         whether build == host and host == target.  Do not
818         AC_SUBST_FILE build_overrides or cross_overrides.  Do not
819         AC_SUBST cross_defines or extra_c_flags.
820         * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
821         (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
822         HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
823         partially or completely with autoconf-substituted @variable@
824         notation.
825         (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
826         @build_overrides@, @extra_c_flags@, all.build, install-build,
827         install-cross-rest, install-float-h-cross): Deleted.
828         (install-normal): Rename to install.  Delete old "install"
829         indirection rule.
831 2001-12-04  Andrew MacLeod  <amacleod@redhat.com>
833         * stmt.c (expand_return): Clear destination instead of clobbering it
834         when setting a return value via bitsets.
836 2001-12-04  Alexandre Oliva  <aoliva@redhat.com>
838         * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
839         it has DECL_SAVED_TREE.
841         * c-decl.c (duplicate_decls): Revert rth's patch.  If newdecl
842         is in a different binding level, get its abstract origin to be
843         olddecl.
844         * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
845         check earlier.
846         * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
847         DECL_INITIAL is NULL.
849 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
851         * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
852         Return correct value if one of the subexpressions was optimized to
853         0 resp. 1.  Optimize (x | A) | x and (x & A) | x.
854         (and_reg_cond): Similarly.
856 2001-12-04  Jakub Jelinek  <jakub@redhat.com>
858         * function.c (assign_parms): Set last_named only for last named
859         argument.
861 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
863         * doc/install.texi: Use the GFDL.  Include years from old install
864         manual in copyright notice.  Include copyright and GFDL notice on
865         HTML index page.  Include usual footer on testing.html.
866         * doc/install.texi2html: Build gfdl.html.  Use -I
867         $SOURCEDIR/include.
868         * doc/include/fdl.texi: Adapt for use in the install manual.
870 2001-12-04  Joseph S. Myers  <jsm28@cam.ac.uk>
872         * doc/install.texi: Document that installed native compiler for
873         building cross compilers should be GCC 2.95 or later.
875 2001-12-03  Eric Christopher  <echristo@redhat.com>
877         * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
878         * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
879         patterns.
881 2001-12-03  Janis Johnson  <janis187@us.ibm.com>
883         * rtl.def (PREFETCH): New rtx code.
884         * doc/rtl.texi (PREFETCH): Add documentation.
885         * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
886         * rtlanal.c (reg_referenced_p): Ditto.
887         * sched-vis.c (print_exp):  Ditto.
888         * ssa-dce.c (find_inherently_necessary):  Ditto.
890         * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
891           (PREFETCH_BLOCK): Define.
892         * config/ia64/ia64.md (itanium_class): Add lfetch.
893           (prefetch, prefetch_internal): New.
895         * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
896         * builtins.def (BUILT_IN_PREFETCH): New.
897         * builtins.c (expand_builtin_expect): New.
898           (expand_builtin): Call it.
899         * doc/extend.texi: Document __builtin_prefetch.
901         * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
902           conflicts with new generic prefetch functionality.
903         * config/i386/i386.c (ix86_expand_builtin): Use new name for
904           prefetch_sse.
906 2001-12-02  Ziemowit Laski  <zlaski@apple.com>
908         * objc/Make-lang.in: Update copyright.
909         (OBJC_OBJS): Add objc-lang.o.
910         (objc-lang.o): New rule.
911         * objc/config-lang.in: Fix file description and update
912         copyright.
913         * objc/objc-act.c: Do not include langhooks.h and
914         langhooks-def.h
915         (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
916         (objc_post_options): Move to objc-lang.c.
917         (objc_init_options): Move to objc-lang.c.
918         (objc_init): Make non-static.
919         (objc_decode_option): Make non-static.
920         (HASHFUNCTION): Remove macro.
921         (hash_func): New function.
922         (hash_enter): Replace HASHFUNCTION with hash_func.
923         (hash_lookup): Replace HASHFUNCTION with hash_func.
924         (maybe_objc_tree_codes): New function.
925         (init_objc): Move ObjC tree code initialization to
926         maybe_objc_tree_codes().
927         * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
928         (objc_init): New public prototype.
929         (objc_decode_option): New public prototype.
930         (maybe_add_objc_tree_codes): New public prototype.
931         * objc/objc-lang.c: New file.
932         (lang_hooks): Moved from objc-act.c.
933         (objc_post_options): Moved from objc-act.c.
934         (objc_init_options): Moved from objc-act.c.
936 2001-12-03  Geoff Keating  <geoffk@redhat.com>
938         * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
939         of array elements.
941 2001-12-03  Neil Booth  <neil@daikokuya.demon.co.uk>
943         PR c/4988
944         * gcc.c (process_command): Don't add a preprocessor option for
945         --help and --target-help; cc1 is enough.
947 2001-12-03  Neil Booth  <neil@daikokuya.demon.co.uk>
949         * c-decl.c (grokdeclarator): Use ISO word.
950         * cppinit.c: Remove leading capital from diagnostic messages, as
951         per GNU coding standards.
952         * emit-rtl.c: Similarly.
953         * final.c: Similarly.
954         * gcc.c: Similarly.
955         * tradcpp.c: Similarly.
956         * config/arm/arm.c: Similarly.
957         * config/arm/arm.h: Similarly.
958         * config/avr/avr.c: Similarly.
959         * config/avr/avr.h: Similarly.
960         * config/c4x/c4x.c: Similarly.
961         * config/cris/cris.c: Similarly.
962         * config/cris/cris.h: Similarly.
963         * config/d30v/d30v.c: Similarly.
964         * config/dsp16xx/dsp16xx.c: Similarly.
965         * config/dsp16xx/dsp16xx.h: Similarly.
966         * config/h8300/h8300.c: Similarly.
967         * config/i386/i386.c: Similarly.
968         * config/i386/xm-djgpp.h: Similarly.
969         * config/i960/i960.h: Similarly.
970         * config/m32r/m32r.c: Similarly.
971         * config/m68hc11/m68hc11.c: Similarly.
972         * config/m88k/m88k.c: Similarly.
973         * config/m88k/m88k.h: Similarly.
974         * config/mcore/mcore.c: Similarly.
975         * config/mcore/mcore.h: Similarly.
976         * config/mips/mips.c: Similarly.
977         * config/mmix/mmix.c: Similarly.
978         * config/pa/pa.c: Similarly.
979         * config/rs6000/rs6000.c: Similarly.
980         * config/rs6000/sysv4.h: Similarly.
981         * config/s390/s390.c: Similarly.
982         * config/sparc/sparc.c: Similarly.
983         * config/v850/v850-c.c: Similarly.
984         * config/v850/v850.c: Similarly.
986 2001-12-03  Zack Weinberg  <zack@codesourcery.com>
988         * rs6000.h (RETURN_IN_MEMORY): Cast result of
989         int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
991 Mon Dec  3 09:18:34 2001  Jeffrey A Law  (law@cygnus.com)
993         * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
994         bit twiddling constant.
996 Mon Dec  3 16:16:37 CET 2001  Jan Hubicka  <jh@suse.cz>
998         * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
999         call purge_dead_edges after removing.
1000         (delete_null_pointer_checks): Do not handle delete_list.
1002         * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
1003         (count_basic_blocks): ... here.
1004         (find_basic_blocks, find_bb_boundaries): Cleanup.
1006         * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
1007         overflow for types greater then 2 * HOST_WIDE_INT.
1009         * reload.c (find_reloads): Update the duplicates after swapingg.
1011 Mon Dec  3 13:52:19 CET 2001  Jan Hubicka  <jh@suse.cz>
1013         * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
1015 2001-12-02  Zack Weinberg  <zack@codesourcery.com>
1017         * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
1018         MASK_LONG_DOUBLE_128): Delete.
1019         (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
1020         TARGET_AIX_STRUCT_RET): New flags.
1021         (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
1022         -mlong-double-64.  Add entries for -m(no-)aix-struct-return
1023         and -m(no-)svr4-struct-return.
1024         (TARGET_OPTIONS): Add entry for -mlong-double-.
1025         (rs6000_long_double_size_string, rs6000_long_double_type_size,
1026         rs6000_altivec_abi): Declare.
1027         (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
1028         LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
1029         (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
1030         structures of size <= 8 bytes in registers.
1031         (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
1033         * config/rs6000/rs6000.c (rs6000_long_double_size_string,
1034         rs6000_long_double_type_size, rs6000_altivec_abi): New
1035         globals.
1036         (rs6000_override_options): Set rs6000_long_double_type_size
1037         from rs6000_long_double_size_string, if nonzero.  Set the
1038         MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
1039         not already set.
1040         (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
1041         target_flags bit.
1042         (rs6000_init_builtins): This hook now takes no arguments.
1044         * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
1045         DRAFT_V4_STRUCT_RET to 1.
1047 2001-12-03  Joseph S. Myers  <jsm28@cam.ac.uk>
1049         * c-typeck.c (really_start_incremental_init, push_init_level):
1050         Avoid constructor_max_index being other than an INTEGER_CST.
1052 2001-12-02  David Edelsohn  <edelsohn@gnu.org>
1054         * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
1055         unsigned.
1056         (ASM_GENERATE_INTERNAL_LABEL): Same.
1057         (UNIQUE_SECTION): Fix typo.
1059 2001-12-02  Richard Henderson  <rth@redhat.com>
1061         * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
1063 2001-12-02  Richard Henderson  <rth@redhat.com>
1065         * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
1066         (MEM_EXPR): Rename from MEM_DECL; adjust all users.
1067         * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
1068         * expr.h, final.c, reload1.c: Adjust users.
1070         * alias.c (nonoverlapping_component_refs_p): New.
1071         (decl_for_component_ref, adjust_offset_for_component_ref): New.
1072         (nonoverlapping_memrefs_p): Use them.
1073         * emit-rtl.c (component_ref_for_mem_expr): New.
1074         (set_mem_attributes): Use it.
1075         (set_mem_offset): New.
1076         * expr.c (expand_assignment): Call set_mem_attributes for
1077         inner references; adjust the memory offset as needed.
1078         * print-rtl.c (print_mem_expr): New.
1079         (print_rtx): Use it.
1081 Sun Dec  2 09:22:25 2001  Douglas B. Rupp  <rupp@gnat.com>
1083         * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
1085         * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
1086         (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
1087         (ASM_SPEC): Don't redefine.
1088         (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
1089         * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
1090         * config/alpha/vms-dwarf2.asm: New file.
1092         * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
1093         * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
1094         * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
1095         (vmsdbgout_after_prologue): New declaration.
1096         * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
1097         * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
1098         * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
1099         (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
1100         (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
1101         (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
1102         * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
1103         Test VMS_DEBUGGING_INFO.
1104         (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
1105         (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
1106         * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
1107         * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
1108         VMS_AND_DWARF2_DEBUG.
1109         (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
1110         (decode_g_option): Add "vms" to debug_type_names.
1111         (process_options): Set vmsdbg_debug_hooks if -gvms.
1112         (lang_independent_init): Emit line number for VMS unless -g0.
1113         * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
1114         * vmsdbg.h, vmsdbgout.c: New files.
1116 Sun Dec  2 09:03:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1118         * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
1120 2001-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1122         * cfgrtl.c (purge_all_dead_edges): Initialize variable.
1123         * dwarf2out.c (is_cxx): Prototype.
1124         * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
1125         warning.
1126         * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
1128 Sun Dec  2 07:12:30 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1130         * libgcc2.c (__bb_exit_func): Fix line wrap problems.
1132 2001-12-02  Geoff Keating  <geoffk@redhat.com>
1134         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
1135         * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
1136         rather than simplify_subreg.  Check for volatile-ness.  Check that
1137         we're not splitting one slow operation into two slow operations.
1139 2001-12-02  David Edelsohn  <edelsohn@gnu.org>
1141         * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
1142         before shifting.
1144 2001-12-02  Neil Booth  <neil@daikokuya.demon.co.uk>
1146         * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
1147         capital from diagnostics.
1148         * c-lex.c (cb_file_change): Similarly.
1149         * c-parse.in : Similarly.
1150         * cfgrtl.c (verify_flow_info): Similarly.
1151         * collect2.c: Similarly.
1152         * cppfiles.c (find_include_file): Similarly.
1153         * cppinit.c (cpp_handle_option): Similarly.
1154         * cpplex.c (cpp_spell_token): Similarly.
1155         * cppmain.c (do_preprocessing): Similarly.
1156         * gcc.c (translate_options, process_command, do_spec1,
1157         main, pfatal_execute): Similarly.
1158         * genattr.c (main): Similarly.
1159         * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
1160         write_test_expr, main): Similarly.
1161         * gencodes.c (main): Similarly.
1162         * genconfig.c (main): Similarly.
1163         * genconstants.c (main): Similarly.
1164         * genemit.c (main): Similarly.
1165         * genextract.c (main): Similarly.
1166         * genflags.c (main): Similarly.
1167         * genopinit.c (main): Similarly.
1168         * genoutput.c (process_template, main): Similarly.
1169         * genpeep.c (main): Similarly.
1170         * genrecog.c (main): Similarly.
1171         * gensupport.c (is_predicable, identify_predicable_attribute,
1172         alter_predicate_for_insn, init_md_reader_args, main): Similarly.
1173         * ggc-page.c (alloc_anon): Similarly.
1174         * mips-tfile.c (add_string, add_procedure, add_file, read_line,
1175         parse_begin, parse_bend, parse_def, parse_end, parse_file,
1176         parse_stabs_common, parse_stabs, write_varray, write_object,
1177         read_seek, copy_object, main, error): Similarly.
1178         * profile.c (compute_branch_probabilities): Similarly.
1179         * reg-stack.c (check_asm_stack_operands): Similarly.
1180         * reload.c (find_reloads): Similarly.
1181         * reload1.c (spill_failure, failed_reload): Similarly.
1182         * rtl-error.c (_fatal_insn_not_found): Similarly.
1183         * toplev.c (read_integral_parameter, crash_signal,
1184         decode_f_option, set_target_switch, parse_options_and_default_flags)
1185         : Similarly.
1186         * tradcif.y (parse_number, yylex): Similarly.
1187         * tradcpp.c (main, fancy_abort): Similarly.
1188         * tree.c (tree_check_failed): Similarly.
1189         * varray.c (varray_check_failed): Similarly.
1190         * xcoffout.c (xcoff_output_standard_types): Similarly.
1191 objc:
1192         * objc-act.c (get_object_ref, lookup_and_install_protocols,
1193         build_objc_string_object, objc_declare_alias, build_ivar_chain,
1194         finish_message_expr, build_protocol_expr, is_public,
1195         start_class): Similarly.
1197 2001-12-01  Neil Booth  <neil@daikokuya.demon.co.uk>
1199         * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
1200         trailing period from diagnostics.
1201         * c-lex.c (cb_file_change): Similarly.
1202         * cppmacro.c (check_trad_stringification): Similarly.
1203         * gcc.c (do_spec_1): Similarly.
1204         * genattr.c (main): Similarly.
1205         * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
1206         * gencodes.c (main): Similarly.
1207         * genconfig.c (main): Similarly.
1208         * genconstants.c (main): Similarly.
1209         * genemit.c (main): Similarly.
1210         * genextract.c (main): Similarly.
1211         * genopinit.c (main): Similarly.
1212         * genoutput.c (main): Similarly.
1213         * genpeep.c (main): Similarly.
1214         * genrecog.c (main): Similarly.
1215         * mips-tfile.c (add_file, error): Similarly.
1216         * profile.c (init_branch_prob): Similarly.
1217         * reload1.c (spill_failure): Similarly.
1218         * stmt.c (parse_output_constraint): Similarly.
1219         * varasm.c (assemble_variable): Similarly.
1221 2001-12-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1223         * m68k.c (init_FPA_table): Provide static prototype.
1224         * mips/abi64.h (mips_function_value): Move prototype to ...
1225         * mips-protos.h (mips_function_value): ... here.
1226         * mips.c: Include halfpic.h.
1227         * output.h (rdata_section): Prototype.
1229         * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1230         * m88k.c (m88k_svr3_asm_out_constructor,
1231         m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
1232         !OBJECT_FORMAT_ELF.
1233         * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1234         * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1235         * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1237 2001-12-01  Geoff Keating  <geoffk@redhat.com>
1239         * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
1240         LO_SUM addresses less than word size are not legitimate,
1241         because they lead to invalid SUBREGs.
1242         * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
1244 2001-12-01  Olivier Hainque <hainque@act-europe.fr>
1246         * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
1247         while scanning for multiple back edges.
1249 2001-12-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1251         * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
1252         * config/rs6000/tramp.asm: Use it.
1254 2001-12-01  Zack Weinberg  <zack@codesourcery.com>
1256         * gencheck.c, gengenrtl.c: Don't define xmalloc.
1257         * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
1258         xmalloc.
1260 2001-11-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1262         * pa.c (output_ascii): Cast `p' to unsigned char.
1264 2001-11-30  Daniel Berlin  <dan@cgsoftware.com>
1266         * config/rs6000/rs6000.c (altivec_expand_builtin): add
1267         ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
1268         *_16qi,_8hi, rename existing V4SI ones to *_4si.
1269         (altivec_init_builtins): Ditto.
1270         (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
1272         * config/rs6000/rs6000.md: Add attribute types vecsimple,
1273         veccomplex, vecfloat, and vecperm, for altivec instructions.
1274         Modify altivec patterns to use appropriate attribute type.
1275         Modify altivec patterns to match RTL operations where appropriate
1276         (IE no unspec where we can avoid it).
1277         Add vector unit scheduling for ppc7450.
1278         Rename patterns to what they are where appropriate
1279         (altivec_vaddfp->addv4sf3, etc)
1281         * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
1282         Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
1284         * config/rs6000/sysv4.h: Add -mcpu=7450.
1286         * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
1287         _builtin_altivec_ld_interal function.
1289 2001-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1291         * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
1292         strchr, strrchr, isascii, gettimeofday.
1293         * config.in, configure: Regenerate.
1295 2001-11-30  Zoltan Hidvegi  <hzoli@hzoli.2y.net>
1297         * unroll.c (unroll_loop): Correct special exit cases.
1299 2001-11-30  Stephane Carrez  <Stephane.Carrez@sun.com>
1301         * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
1302         accept DFmode and DImode only.
1304 2001-11-30  Aldy Hernandez  <aldyh@redhat.com>
1306         * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
1307         (STACK_DYNAMIC_OFFSET): Same.
1309 2001-11-30  Richard Henderson  <rth@redhat.com>
1311         * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
1313 2001-11-30  Aldy Hernandez  <aldyh@redhat.com>
1315         * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
1316         (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
1317         the values in call_used_registers.
1319 Fri Nov 30 12:48:26 2001  Jeffrey A Law  (law@cygnus.com)
1321         * gthr-dce.h: If _DCE_THREADS is not defined, then just include
1322         gthr-single.
1324 2001-11-30  Jason Merrill  <jason@redhat.com>
1326         * dwarf2out.c (is_cxx): New fn.
1327         (add_data_member_location_attribute): Check it.
1328         * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
1330 Fri Nov 30 08:26:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1332         * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
1334 2001-11-30  Daniel Berlin  <dan@cgsoftware.com>
1336         * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
1337         MODE_VECTOR_FLOAT as allowed.
1339 2001-11-29  Zack Weinberg  <zack@codesourcery.com>
1341         Purge cruft now we have build libiberty.
1343         * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
1344         HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
1345         USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
1346         USE_HOST_STRSTR): Delete variables.
1347         (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
1348         hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
1349         $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
1350         $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
1351         (LIBIBERTY, BUILD_LIBIBERTY): New variables.
1352         (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
1353         (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
1354         (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
1355         (HOST_LIBS): Ditto.
1356         (HOST_RTL): Remove hashtab.o safe-ctype.o.
1357         (OBJS): Remove splay-tree.o.
1358         (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
1359         (distclean): No need to delete splay-tree.c obstack.c
1360         hashtab.c safe-ctype.c.
1361         (mostlyclean): Delete build copies of print-rtl.c bitmap.c
1362         errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
1363         * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
1364         Delete.
1365         * configure.in: Don't use them.
1366         Set and substitute @FORBUILD@.
1367         * config.in, configure: Regenerate.
1368         * doprint.c: Move to libiberty/_doprnt.c.
1369         * doc/configterms.texi: Document that libiberty is now built
1370         up to three times.  Fix typo.
1372 2001-11-30  Jason Merrill  <jason@redhat.com>
1374         * dwarf2out.c (add_data_member_location_attribute): Do the
1375         right thing for virtual bases.
1376         * dbxout.c (dbxout_type): For a virtual base, print the offset
1377         within the vtable.
1379 2001-11-29  Zoltan Hidvegi  <hzoli@hzoli.2y.net>
1381         * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
1383 2001-11-29  Aldy Hernandez  <aldyh@redhat.com>
1385         * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
1386         go in memory.
1387         Remove unused attribute for named.
1389 2001-11-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1391         * genattrtab.c (attr_rtx_1): New function containing the
1392         majority of `attr_rtx'.  Move variable declarations into the
1393         scope where they are used.  Eliminate unnecessary gotos.
1394         (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
1395         VA_FIXEDARG, and VA_CLOSE.
1397 2001-11-30  Hans-Peter Nilsson  <hp@axis.com>
1399         * config/cris/cris.c (cris_notice_update_cc): Check first
1400         destination also against overlap with cc_status.value2 and second
1401         destination against overlap with cc_status.value1.  For overlaps,
1402         clear overlapped value, don't just CC_STATUS_INIT.
1404         * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
1405         Fix typo in comment.
1406         (LINK_SPEC): Remove whitespace at end of line.
1408 2001-11-29  Jakub Jelinek  <jakub@redhat.com>
1410         * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
1412 2001-11-29  Jakub Jelinek  <jakub@redhat.com>
1414         * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
1415         macros for the supported debugging types.
1417 2001-11-29  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1419         PR other/4932
1420         * config/i386/i386.c (print_operand):  Verify that the
1421           argument to %c is a constant and not a conditional which
1422           needs to be reversed.
1424 Thu Nov 29 11:12:59 2001  Geoffrey Keating (geoffk@redhat.com)
1426         * emit-rtl.c (gen_lowpart_common): Fix conversion of
1427         REAL_VALUE_TYPEs to an array of target integers.  Fix extraction
1428         of low part of those arrays for 32bit and 64bit hosts.
1430 2001-11-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1432         * Makefile.in (insn-output.o): Depend on insn-codes.h.
1434 2001-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
1436         * configure.in (target_list): Add generated-manpages.
1437         * configure: Regenerate.
1438         * Makefile.in (generated-manpages): Depend on
1439         lang.generated-manpages.
1440         * objc/Make-lang.in (objc.generated-manpages): New dummy target.
1442 2001-11-29  Nick Clifton  <nickc@cambridge.redhat.com>
1444         * config/arm/crti.asm (_init): Add .thumb_func if compiled
1445         with -mthumb.
1446         (_fini): Add .thumb_func if compiled with -mthumb.
1448 2001-11-28  Eric Christopher  <echristo@redhat.com>
1450         * config/mips/mips.c (override_options): Fix thinko in mips_tune
1451         for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
1453 Thu Nov 29 00:24:15 EST 2001  John Wehle  (john@feith.com)
1455         * alpha.md (tablejump): Use pic_offset_table_rtx
1456         instead of gen_rtx_REG.
1458 Wed Nov 28 15:36:13 2001  Jeffrey A Law  (law@cygnus.com)
1460         * expr.c (store_expr): When copying a string constant into an
1461         array, reset the known alignment of the MEM for the section to
1462         be cleared to BITS_PER_UNIT.
1464 2001-11-28  Hans-Peter Nilsson  <hp@axis.com>
1466         * config/cris/cris.c: Remove whitespace at end of line.
1468 Wed Nov 28 14:51:23 2001  Douglas B. Rupp  <rupp@gnat.com>
1470         * config.gcc (i[34567]86-*-interix3*): New case.
1471         * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
1472         New files.
1474 2001-11-28  Richard Henderson  <rth@redhat.com>
1476         * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
1477         symbolic_operand as the predicate.
1479 2001-11-28  Richard Henderson  <rth@redhat.com>
1481         * doloop.c (doloop_modify_runtime): Properly select induction
1482         variable; skip late entry test if biv initializer created by loop.
1484 Wed Nov 28 08:21:47 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1486         * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
1487         EXPR_WITH_FILE_LOCATION, so change checks and documentation.
1489         * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
1491         * tree.h: Add missing checks on some macros; make formatting more
1492         consistent.
1494         * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
1495         level; only add to pending_sizes if find it.
1497         * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
1499         * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
1500         Add casts to remove warnings.
1502         * Makefile.in (OBJS): Sort alphabetically.
1504         * print-rtl.c (print_rtx): If RTX code is bad, just say so.
1505         Also minor cleanups.
1507 Wed Nov 28 06:52:27 2001  Arnaud Charlet  <charlet@ACT-Europe.FR>
1509         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
1510         (FLAGS_TO_PASS): Add STAGE_PREFIX.
1511         (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
1512         to STAGE_PREFIX.
1514 Wed Nov 28 10:42:19 CET 2001  Jan Hubicka  <jh@suse.cz>
1516         * cse.c (true_dependence_in_rtx): New function.
1517         (invalidate): Use it.
1519         * c-common.h (GOTO_FAKE_P): New macro.
1520         * tree-inline.c (GOTO_FAKE_P): Set.
1521         * c-tree.texi (GOTO_FAKE_P): Document.
1523         * varasm.c (assemble_variable): Set reloc to 3 for error_mark
1524         containing pointers.
1525         (output_addressed_constants): Check for local/external relocations.
1526         * elfos.h (SELECT_SECTION): Classify data section.
1527         * tm.texi (SELECT_SECTION): Update documentation.
1529         * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
1530         (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
1532 2001-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1534         * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
1535         UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
1536         OBJECT_FORMAT_ROSE.
1538 2001-11-28  Hans-Peter Nilsson  <hp@axis.com>
1540         * config/cris/cris.c: Tweak spacing for prototypes.
1541         (LOSE_AND_RETURN): New macro.
1542         (cris_operand_lossage): New function.
1543         (cris_print_index, cris_print_base): Use cris_operand_lossage
1544         rather than fatal_insn.
1545         (cris_print_operand, cris_print_operand_address): Use
1546         LOSE_AND_RETURN rather than fatal_insn and internal_error.
1547         (cris_output_addr_const): Use LOSE_AND_RETURN and
1548         output_operand_lossage rather than fatal_insn and internal_error
1549         for valid but unexpected rtx expressions.
1551         * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
1552         for a SUBREG in src or dest, abort instead.
1554 2001-11-28  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1556         * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
1557         doc.
1559 2001-11-27  Jakub Jelinek  <jakub@redhat.com>
1561         * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
1562         preprocessor define.  If only DBX_DEBUGGING_INFO or only
1563         DWARF2_DEBUGGING_INFO is supported for the target, provide
1564         appropriate definitions.
1566 2001-11-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1568         * Makefile.in: Update, and add c-objc-common.o dependencies.
1569         * c-lang.c: Remove unnecessary includes.
1570         (c_init): Move bulk of code to c_objc_common_init, and call it.
1571         (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
1572         inline_forbidden_p, c_cannot_inline_tree_fn): Move to
1573         c-objc-common.c.
1574         * c-objc-common.c: New.  Mostly pulled from c-lang.c.
1575         * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
1576         c_objc_common_init, c_missing_noreturn_ok_p): New.
1577         * toplev.c: Update comment.
1578         * doc/passes.texi: Update.
1579 objc:
1580         * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
1581         LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
1582         LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
1583         (objc_init): Update to use c_objc_common_init.
1585 2001-11-27  Neil Booth  <neil@daikokuya.demon.co.uk>
1587         * cpphash.c (_cpp_init_hashtable): Update.
1588         * cpphash.h (struct spec_nodes): Remove n_L.
1589         * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
1591 2001-11-17  Richard Henderson  <rth@redhat.com>
1593         * unroll.c (loop_iterations): Move last change ...
1594         * doloop.c (doloop_modify_runtime): ... here.
1596 2001-11-17  Corey Minyard  <minyard@acm.org>
1597             Richard Henderson  <rth@redhat.com>
1599         * unroll.c (loop_iterations): Detect one situation in which we
1600         overestimate the number of iterations.
1602 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1604         * gcc.c (set_input): Export.
1605         Move declaration ...
1606         gcc.h (set_input): ... here.
1608 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1610         * gcc.c (set_collect_gcc_options): New function, split out from
1611         main.
1612         Ignore elided switches.
1613         (do_spec): Invoke before executing command.
1614         (do_spec_1): Likewise.
1615         Fixes PR other/3968.
1617 2001-11-27  Hans-Peter Nilsson  <hp@axis.com>
1619         * config/cris/cris.h (INT_ASM_OP): Remove.
1621 2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1623         * config/i386/sol2.h (WINT_TYPE): Redefine.
1624         (WINT_TYPE_SIZE): Likewise.
1626 2001-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1628         * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
1629         (dup2): Make static and add prototype.
1630         * m68k/plexus.h: Don't define NO_DUP2.
1631         * configure.in (AC_CHECK_FUNCS): Add dup2.
1632         * config.in, configure: Regenerate.
1634         * ia64/aix.h (REG_SIZE): Don't #undef.
1635         * sparc.h (REG_SIZE): Delete.
1636         * flow.c (mark_used_regs): Don't use REG_SIZE.
1637         * regs.h (REG_SIZE): Delete.
1639 2001-11-27  Andreas Schwab  <schwab@suse.de>
1641         * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
1642         PREFERRED_DEBUGGING_TYPE.
1644 Tue Nov 27 08:21:47 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1646         * Makefile.in (c-lang.o): Depends on langhooks-def.h.
1647         (expr.o, varasm.o): Depends on langhooks.h.
1648         * c-common.c (c_safe_from_p): Always declare.
1649         (c_expand_expr): Refine when declared.
1650         * c-lang.c (c-common.h): Now include.
1651         (LANG_HOOKS_SAFE_FROM_P): Define new hook.
1652         (c_init): Don't set lang_safe_from_expr.
1653         * expr.c (langhooks.h): Now include.
1654         (lang_safe_from_p): No longer define.
1655         (safe_from_p): Use lang hook.
1656         (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
1657         (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
1658         * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
1659         * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
1660         (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
1661         * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
1662         * langhooks.h (struct lang_hooks): New fields expand_constant
1663         and safe_from_p.
1664         * output.h (output_constant): Size arg is HOST_WIDE_INT.
1665         * stmt.c (expand_decl_init): No longer need to expand constant
1666         for CONST_DECL.
1667         * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
1668         * toplev.c (lang_expand_constant): Delete var.
1669         * tree.c (save_expr): Don't put another SAVE_EXPR around simple
1670         operations on SAVE_EXPR.
1671         * varasm.c (langhooks.h): Now include.
1672         (compare_constant_1): Use lang_hooks, not lang_expand_constant.
1673         (record_constant_1, output_addressed_constants): Likewise.
1674         (initializer_constant_valid_p, output_constant): Likewise.
1675         (output_constant_def): Process no-defer of string constant.
1676         (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
1677         (output_constant): Strip more conversions.
1678         Track our size and pad for the rest.
1679         (array_size_for_constructor): Remove code for non-byte STRING_CST.
1680         (output_constructor): SIZE now HOST_WIDE_INT.
1682 2001-11-27  Richard Henderson  <rth@redhat.com>
1684         * ifcvt.c (noce_try_store_flag_constants): Test for overflow
1685         in computing DIFF.
1687 2001-11-27  Zack Weinberg  <zack@codesourcery.com>
1689         * cppfiles.c (read_include_file): Add comment.
1691 2001-11-26  Richard Henderson  <rth@redhat.com>
1693         * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
1695 2001-11-26  Richard Henderson  <rth@redhat.com>
1697         * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
1698         * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
1699         commented out override.
1701 2001-11-26  Neil Booth  <neil@daikokuya.demon.co.uk>
1703         * cppfiles.c (stack_include_file): Don't optimize zero-length
1704         files.
1705         (read_include_file): NUL-terminate read files.
1706         * cpplex.c (handle_newline, skip_escaped_newlines,
1707         get_effective_char, skip_whitespace, parse_identifier,
1708         parse_identifier_slow, parse_number, parse_string,
1709         _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
1710         NUL-terminated.
1711         * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
1712         Be sure buffers are NUL terminated.
1713         * cppmacro.c (warn_of_redefinition): Kill compile warning.
1715 2001-11-26  Neil Booth  <neil@daikokuya.demon.co.uk>
1717         * c-common.c: Include tree-inline.h.
1718         (c_language): Move separate definitions here.
1719         (c_common_init_options, c_common_post_options): New.
1720         (c_common_lang_init): Rename c_common_init.
1721         * c-common.h (c_common_lang_init): Similarly.
1722         (c_common_init_options, c_common_post_options): New.
1723         * c-lang.c (c_post_options): Move body to c_common_post_options.
1724         (c_init_options): Use c_common_init_options.
1725         (c_init): Update.
1726         * langhooks.def: Rearrange.
1727         * langhooks.h: Rearrange, and improve comments.
1728         * toplev.c (do_compile): New function.
1729         (toplev_main): Use it.
1730         (lang_independent_f_options, parse_options_and_default_flags,
1731         process_options): Remove trailing periods.
1732         * Makefile.in: Update.
1733 objc:   * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
1734         functions.
1735         (ojbc_init): Update.
1737 2001-11-26  Richard Henderson  <rth@redhat.com>
1739         * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
1741 2001-11-26  DJ Delorie  <dj@redhat.com>
1743         * expr.c (store_constructor): Actually use the value computed
1744         if WORD_REGISTER_OPERATIONS.
1746 2001-11-26  Richard Henderson  <rth@redhat.com>
1748         * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
1749         for CONSTRUCTOR.
1751 2001-11-26  David Edelsohn  <edelsohn@gnu.org>
1753         * rs6000.c (output_mi_thunk): Handle minimal-toc and call
1754         correct function on AIX.
1756 2001-11-26  Alexandre Oliva  <aoliva@redhat.com>
1758         * toplev.c (process_options): Don't force
1759         flag_optimize_sibling_calls to zero just because exceptions are
1760         enabled.
1762 Mon Nov 26 12:37:05 2001  Jeffrey A Law  (law@cygnus.com)
1764         * df.h (transfer_function_sbitmap): Use PARAMS around argument
1765         list in function prototypes.
1766         (transfer_function_bitmap): Likewise.
1768 2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
1770         * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
1771         * config/i386/netbsd-elf.h: Likewise.
1773 2001-11-26  David Edelsohn  <edelsohn@gnu.org>
1775         * doc/trouble.texi: Remove outdated RS/6000 comments.
1777 Mon Nov 26 13:49:41 CET 2001  Jan Hubicka  <jh@suse.cz>
1779         * final.c (walk_alter_subreg): Fix return value.
1781 Mon Nov 26 11:36:20 CET 2001  Jan Hubicka  <jh@suse.cz>
1783         * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
1784         alter_subreg.
1785         * sparc.md (post-reload splitters): Do not call alter_subreg.
1786         * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
1788 2001-11-25  Aldy Hernandez  <aldyh@redhat.com>
1790         * regclass.c (choose_hard_reg_mode): Handle vector arguments.
1792 2001-11-26  Alan Modra  <amodra@bigpond.net.au>
1794         * final.c: (insn_lengths): Make it an int *, so that large jump
1795         tables don't overflow.
1797 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1799         * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
1800         (format_types): Use it for scanf.
1801         (dollar_arguments_pointer_p): New.
1802         (init_dollar_format_checking): Store details of which arguments
1803         are pointers.
1804         (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
1805         (finish_dollar_format_checking): Take extra parameter
1806         pointer_gap_ok.  Treat unused arguments differently if
1807         pointer_gap_ok and the unused arguments are pointers.
1808         (check_format_info_main): Pass extra argument to
1809         finish_dollar_format_checking.
1810         * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
1811         unused arguments are present between used arguments with operand
1812         numbers.
1814 2001-11-25  Daniel Berlin  <dan@cgsoftware.com>
1816         * df.c: Add prototypes for hybrid_search_bitmap and
1817         hybrid_search_sbitmap.
1818         (hybrid_search_bitmap): New function.
1819         (hybrid_search_sbitmap): New function.
1820         (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
1821         (iterative_dataflow_bitmap): Ditto.
1823 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1825         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
1826         address computations.
1828 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1830         * config/m68hc11/m68hc11.c (d_register_operand): Must accept
1831         register b (low part of d).
1833 2001-11-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1835         * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
1836         passed to mcount.
1838 Sun Nov 25 06:22:09 2001  Douglas B. Rupp  <rupp@gnat.com>
1840         * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
1841         * config/alpha/x-vms: New file, to compile the above.
1842         * config.gcc (alpha*-dec-vms*): Add x-vms.
1844 2001-11-24  Hans-Peter Nilsson  <hp@axis.com>
1846         * genextract.c (main): Set ro_loc for peepholes.
1848 Sat Nov 24 17:04:10 2001  Douglas B. Rupp  <rupp@gnat.com>
1850         * fix-header.c (main): Move inf_buffer termination and inf_limit
1851         calculation to after read.
1853         * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
1854         (__UNIX_FOPEN): Define.
1856 Sat Nov 24 16:11:00 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1858         * function.c (assign_stack_temp_for_type): Clear alias set before
1859         setting new one.
1861 2001-11-23  David Edelsohn  <edelsohn@gnu.org>
1863         * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
1864         format.
1865         * rs6000.md (cmptf): Fix typo.
1867 2001-11-23  Richard Sandiford  <rsandifo@redhat.com>
1869         * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
1870         * varasm.c (output_constructor): Use assemble_integer rather
1871         than ASM_OUTPUT_BYTE.
1873 2001-11-23  Andreas Jaeger  <aj@suse.de>
1875         * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
1876         extension.
1878 2001-11-23  Nick Clifton  <nickc@cambridge.redhat.com>
1880         * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
1881         default definition.
1882         (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
1883         (MULTILIB_DEFAULTS): Remove previous definition.
1885 2001-11-23  Neil Booth  <neil@daikokuya.demon.co.uk>
1887         * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
1888         * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
1890 2001-11-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1892         * cris.h: Revert thinko in last patch.
1894 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1896         * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
1897         FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
1898         cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
1899         dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
1900         explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
1901         sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
1903         * predict.c, reg-stack.c: Fix spelling errors.
1905 2001-10-09  Andrew Haley  <aph@redhat.com>
1907         * calls.c (check_sibcall_argument_overlap): Use slot_offset for
1908         start of stack slot.
1910 2001-11-22  Graham Stott  <grahams@redhat.com>
1912         * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
1913         replacement jump after original jump.
1915         (verify_flow_info): Remove redundent initialisation.
1916         Handle reaching end of insn list before finding a BARRIER.
1917         Only issue one missing barrier diagnostic.
1919 2001-11-22  Graham Stott  <grahams@redhat.com>
1921         * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
1923 Thu Nov 22 06:49:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1925         * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
1926         insn actually does.
1928 2001-11-22  Nick Clifton  <nickc@cambridge.redhat.com>
1930         * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
1931         Fix typo -mm32rx=> -m32rx.
1933         * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
1934         targets.
1936         * config.gcc (xscale-coff): Add necessary header files to
1937         tm_file variable.
1939 2001-11-20  Zack Weinberg  <zack@codesourcery.com>
1941         * rs6000.c (output_cbranch): Use $, not %$, in output template.
1943 2001-11-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
1945         * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
1946         (lang_type_quals): Declare.
1947         (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
1948         retrieve language-specific qualifiers for a type node, instead of
1949         C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
1950         lang_dump_tree.
1951         * tree-dump.h: Rename from c-dump.h.
1952         * c-common.h (C_TYPE_QUALS): Removed.
1953         Move declarations for tree-dump.c interface to...
1954         * tree.h: ... here. Remove lang_dump_tree.
1955         * langhooks.h (struct lang_hooks_for_tree_dump): New.
1956         (struct lang_hooks): Add tree_dump hooks.
1957         * langhooks.c (lhd_tree_dump_dump_tree): New function.
1958         (lhd_tree_dump_type_quals): New function.
1959         * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
1960         Declare.
1961         (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
1962         * Makefile.in: Move tree-dump.o to language-independent back-end.
1964 2001-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1966         * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
1967         * alpha.h (DBX_REGISTER_NUMBER): Likewise.
1968         * arc.h (DBX_REGISTER_NUMBER): Likewise.
1969         * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
1970         * avr.h (DBX_REGISTER_NUMBER): Likewise.
1971         * c4x.h (DBX_REGISTER_NUMBER): Likewise.
1972         * clipper.h (DBX_REGISTER_NUMBER): Likewise.
1973         * convex.h (DBX_REGISTER_NUMBER): Likewise.
1974         * cris.h (DBX_REGISTER_NUMBER): Likewise.
1975         * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
1976         * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
1977         * fr30.h (DBX_REGISTER_NUMBER): Likewise.
1978         * h8300.h (DBX_REGISTER_NUMBER): Likewise.
1979         * i370.h (DBX_REGISTER_NUMBER): Likewise.
1980         * i860.h (DBX_REGISTER_NUMBER): Likewise.
1981         * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
1982         * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
1983         * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1984         * m32r.h (DBX_REGISTER_NUMBER): Likewise.
1985         * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
1986         * m88k.h (DBX_REGISTER_NUMBER): Likewise.
1987         * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
1988         * mcore.h (DBX_REGISTER_NUMBER): Likewise.
1989         * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
1990         * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
1991         * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
1992         * romp.h (DBX_REGISTER_NUMBER): Likewise.
1993         * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
1994         * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
1995         * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
1996         * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
1997         * v850.h (DBX_REGISTER_NUMBER): Likewise.
1998         * vax.h (DBX_REGISTER_NUMBER): Likewise.
1999         * we32k.h (DBX_REGISTER_NUMBER): Likewise.
2001         * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
2002         * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
2004 2001-11-21  H.J. Lu <hjl@gnu.org>
2006         * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
2008 2001-11-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2010         * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
2011         emit_cmp_and_jump_insns.
2013         * stormy16.c (xstormy16_expand_builtin_va_arg,
2014         xstormy16_expand_casesi): Likewise.
2016 Wed Nov 21 17:37:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2018         * function.c (keep_stack_depressed): Major rework.
2019         (handle_epilogue_set, emit_equiv_load): New functions.
2020         (thread_prologue_and_epilogue_insns): keep_stack_depressed now
2021         has return value.
2022         * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
2023         * rtl.h (SET_IS_RETURN_P): New macro.
2025         * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
2026         and also support TREE_ADDRESSABLE.
2027         * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
2029 2001-11-21  David Edelsohn  <edelsohn@gnu.org>
2031         * rs6000.md (cmptf_internal1): Replace %$ with $.
2033 Wed Nov 21 16:44:01 2001  Douglas B. Rupp  <rupp@gnat.com>
2035         * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
2036         (read_include_file): Use STAT_SIZE_TOO_BIG.
2038         * cppinit.c (INO_T_COPY): Define.
2039         (INO_T_EQ): Uppercase parameters.
2040         (append_include_chain): Use INO_T_COPY.
2042 2001-11-21  Richard Sandiford  <rsandifo@redhat.com>
2044         * cfg.c: Fix typos and formatting in the introductory comment.
2046 Wed Nov 21 12:38:37 CET 2001  Jan Hubicka
2048         * profile.c (compute_branch_probabilites):  Compute probabilities
2049         for entry/exit edges; estimate probabilities for zero counts.
2051 2001-11-21  Jakub Jelinek  <jakub@redhat.com>
2053         * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
2054         to emit_library_call.
2055         * function.c (expand_main_function, expand_function_start,
2056         expand_function_end): Likewise.
2057         * profile.c (output_func_start_profiler): Likewise.
2058         * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
2059         second argument to emit_library_call.
2060         * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
2061         as second argument to emit_library_call.
2062         * calls.c (emit_library_call): Update fn_type description.
2064 2001-11-21  Jakub Jelinek  <jakub@redhat.com>
2066         * c-decl.c (c_expand_deferred_function): Only call c_expand_body
2067         if fndecl is still DECL_INLINE and has DECL_RESULT.
2069 2001-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2071         * clipper.c (clipper_movstr): Avoid uninitialized warning.
2072         * i960.c (is_mask, legitimize_address): Likewise.
2073         * m88k.c (m88k_expand_prologue): Likewise.
2074         * m88k.md: Likewise.
2075         * mcore.c (emit_new_cond_insn): Likewise.
2076         * stormy16.c (xstormy16_emit_cbranch): Likewise.
2078 2001-11-20  Zack Weinberg  <zack@codesourcery.com>
2080         * config.gcc: Delete powerpcle-*-solaris2* stanza.
2081         * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
2082         config/rs6000/rs6000.h, config/rs6000/rs6000.md,
2083         config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
2084         config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
2085         config/rs6000/t-ppcos: Expunge all references to Solaris.
2087         * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
2089         * config/rs6000/rs6000.md: Replace '%$' with '$' in all
2090         output templates.
2091         * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
2092         and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
2094 2001-11-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2096         * sh.md: Avoid uninitialized warnings.
2097         * vax.c (vax_rtx_cost): Likewise.
2099 2001-11-15  Aldy Hernandez  <aldyh@redhat.com>
2101         * rs6000.c (direct_return): Check if we are saving altivec
2102         registers.
2103         (first_altivec_reg_to_save): New.
2104         Updated stack frame layout comments.
2105         (rs6000_stack_info): Calculate altivec register save size.
2106         Save link register if we saved some altivec registers.
2107         (rs6000_stack_info): Align save size to 16 if altivec abi or
2108         abi_darwin.
2109         (rs6000_stack_info): Calculate altivec register offsets.
2110         (rs6000_stack_info): Add altivec info to save_size.
2111         (debug_stack_info): Add altivec debug info.
2112         (rs6000_emit_prologue): Save altivec registers and vrsave.
2113         (compute_vrsave_mask): New.
2114         (altivec_expand_builtin): Remove unused variables.
2115         (rs6000_parse_abi_options): Add static qualifier.
2116         (rs6000_expand_builtin): Remove unused parameters.
2117         (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
2118         (altivec_init_builtins): Same.
2119         (is_altivec_return_reg): New.
2120         (vrsave_operation): New.
2121         (ALTIVEC_REG_BIT): New.
2122         (generate_set_vrsave): New.
2124         * rs6000.md (get_vrsave): New.
2125         (set_vrsave): New.
2126         (*set_vrsave_internal): New.
2128         * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
2129         altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
2130         altivec_padding_size, vrsave_mask.
2131         (TOTAL_ALTIVEC_REGS): New.
2132         (EPILOGUE_USES): Add VRSAVE_REGNO.
2134 2001-11-20  Jeff Law <law@redhat.com>
2136         * unroll.c (copy_loop_body): Update LABEL_NUSES for the
2137         exit label as necessary.
2139 2001-11-20  Brad Kaiser  <bkaiser@acelink.net>
2141         * reload1.c (elimination_effects): Use function_invariant_p
2142         instead of CONSTANT_P when considering register equivalences.
2144 2001-11-20  David O'Brien  <obrien@FreeBSD.org>
2146         * config.gcc: Add FreeBSD/PowerPC target.
2147         (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2148         powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2149         powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2150         powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2151         powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2152         powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
2153         freebsd-spec.h to tm_file.
2154         (rs6000-*-lynxos*): Add lynx.h to tm_file.
2155         * config/freebsd.h: Tidy up.
2156         (USING_CONFIG_FREEBSD): Define.
2157         (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
2158         FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
2159         FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
2160         (TARGET_HAS_F_SETLKW): Define.
2161         (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
2162         * config/freebsd-spec.h: New file.
2163         * config/rs6000/freebsd.h: New file.
2164         * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
2165         * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
2166         USING_SVR4_H to know when to turn on ELF support.
2167         * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
2168         define only if not already defined.
2169         Add FreeBSD support.
2170         * config/rs6000/aix.h (TARGET_VERSION): Define.
2171         * config/rs6000/beos.h: Likewise.
2172         * config/rs6000/darwin.h: Likewise.
2173         * config/rs6000/mach.h: Likewise.
2174         * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
2175         Don't include lynx.h directly.
2177 2001-11-20  Graham Stott  <grahams@redhat.com>
2179         * unwind-dw2-fde.c (__deregister_frame_info_bases):
2180         Fix lossage in last change return OB.
2182 Tue Nov 20 11:56:12 2001  Douglas B. Rupp  <rupp@gnat.com>
2184         * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
2185         Remove unneeded exit related macros.
2187 2001-11-20  David Edelsohn  <edelsohn@gnu.org>
2189         * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
2191         * rs6000.c (rs6000_emit_move): Add TFmode case.
2192         * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
2193         LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2194         LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
2195         * rs6000.h: ... to here.
2196         * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
2197         trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
2198         fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
2200 Tue Nov 20 06:41:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2202         * emit-rtl.c (get_mem_attrs): Fix typo.
2204 2001-11-20  Jakub Jelinek  <jakub@redhat.com>
2206         * c-lang.c (finish_file): Backout 2001-11-16
2207         changes, instead set DECL_DEFER_OUTPUT for static inline functions
2208         before calling c_expand_deferred_function.
2210 2001-11-20  Jakub Jelinek  <jakub@redhat.com>
2212         * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
2213         Don't register empty .eh_frame sections.
2214         (__deregister_frame_info_bases, __deregister_frame): Don't
2215         unregister them either.
2217 2001-11-19  Geoffrey Keating  <geoffk@redhat.com>
2219         * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
2220         (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
2221         * configure: Regenerate.
2222         * config.in: Add dummy definitions of new flags.
2223         * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
2224         * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
2225         * gcc.c (ASM_DEBUG_SPEC): New macro.
2226         (asm_debug): New static variable.
2227         (default_compilers): Add asm_debug when assembling from
2228         user input.
2229         (static_specs): Add asm_debug.
2231 2001-11-20  Loren J. Rittle  <ljrittle@acm.org>
2233         * config.gcc (*-*-freebsd*): Remove configuration block.
2235 2001-11-19  Loren J. Rittle  <ljrittle@acm.org>
2237         bootstrap/4422
2238         * configure.in: Setup ability to run ./stage[1234]/xgcc in
2239         fixinc *as if* it were a proper lang subdirectory.
2240         * configure: Rebuilt.
2242 2001-11-19  Loren J. Rittle  <ljrittle@acm.org>
2244         * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
2246 2001-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2248         * 1750a.md: Don't use hex format for a const_int.
2250 2001-11-19  Geoffrey Keating  <geoffk@redhat.com>
2252         * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
2254 2001-11-19  Zack Weinberg  <zack@codesourcery.com>
2256         * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
2257         defined (prevents link errors when gettext isn't in the system
2258         library).
2260 2001-11-19  DJ Delorie  <dj@redhat.com>
2262         * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
2263         (validate_const_int): New.
2264         (read_rtx): Validate constant integers.
2265         * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
2267 2001-11-19  Jakub Jelinek  <jakub@redhat.com>
2269         * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
2271 Mon Nov 19 16:57:44 2001  Douglas B. Rupp  <rupp@gnat.com>
2273         * toplev.c (DUMPFILE_FORMAT): Define default.
2274         (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
2275         (close_dump_file, compile_file): Likewise.
2276         * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
2277         * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
2279 2001-11-19  Jeff Law <law@redhat.com>
2281         * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
2282         a nop-jump.
2284 2000-11-19  Neil Booth  <neil@daikokuya.demon.co.uk>
2286         * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
2287         Don't fall off the base token run.
2289 2001-11-19  Jason Wilkins <fenix@io.com>
2291         * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
2293 Mon Nov 19 15:13:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2295         * tree.def (VIEW_CONVERT_EXPR): New tree code.
2296         * tree.h (handled_component_p): New declaration.
2297         * alias.c (handled_component_p): Move function from here ...
2298         * expr.c (handled_component_p): ... to here and non longer static.
2299         (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
2300         (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
2301         (get_inner_reference): Handle VIEW_CONVERT_EXPR.
2302         (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
2303         (expand_expr, case VIEW_CONVERT_EXPR): New case.
2304         (expand_expr, cse ADDR_EXPR): No need to copy if already
2305         BIGGEST_ALIGNMENT.
2306         * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
2307         * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
2308         (output_constant): Handle VIEW_CONVERT_EXPR.
2309         * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
2310         Add new case for VIEW_CONVERT_EXPR.
2312 2001-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2314         * a29k/unix.h (ASM_FILE_START): Const-ify.
2315         * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
2316         * i386/isc.h (ASM_FILE_START): Const-ify.
2317         * i386/sun386.h (ASM_FILE_START): Likewise.
2318         * m32r.md: Likewise.
2319         * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
2320         * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
2321         * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
2322         * mn10200.md: Initialize variable.
2324 Mon Nov 19 18:06:21 CET 2001  Jan Hubicka  <jh@suse.cz>
2326         * gcse.c (try_replace_reg): Copy RTX before creating note.
2328         * df.h (df_ref_flags): New uenum.
2329         (DF_REF_FLAGS): New macro.
2330         (struct ref): Add field "flags".
2331         * df.c (HANDLE_SUBREG): Remove.
2332         (df_ref_create): Likewise; set flags field of ref.
2333         (df_def_record_1): Strip down read_write subreg; remove
2334         commented out code; set READ_WRITE flag.
2335         (read_modify_subreg_p): New static function.
2336         (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
2337         new argument "flags".
2338         (df_insn_refs_record): Update call of df_uses_record.
2339         (df_insn_modify): Avoid #if 0 around comment.
2340         (df_dump): Dump the read/write flag.
2342         * predict.c (propagate_freq): Make cyclic_probability and frequency
2343         volatile
2345         * i386.c (ix86_cc_mode): Accept USE.
2347         * cfgrtl.c (purge_dead_edges):  Cleanup EDGE_ABNORMAL flag if computed
2348         jump is turned into simplejump.
2350 2001-11-19  Joseph S. Myers  <jsm28@cam.ac.uk>
2352         * doc/fragments.texi, doc/trouble.texi: Remove links to old
2353         installation chapter.
2354         * doc/gcc.texi: Don't claim that this manual documents
2355         installation.  Mark Installation menu entry as being out of date.
2357 Mon Nov 19 07:21:35 2001  Douglas B. Rupp  <rupp@gnat.com>
2359         * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
2360         (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
2361         * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
2363 2001-11-19  Jason Merrill  <jason@redhat.com>
2365         * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
2366         cur_token, not after.
2368         * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
2369         Lose ASM_OUTPUT_CONSTRUCTOR.
2370         * system.h: Poison it and INT_ASM_OP.
2371         * c-lang.c (finish_file): Don't check for it.
2372         * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
2374 2001-11-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2376         * mmix.c (mmix_cc1_ignored_option): Const-ify.
2377         (mmix_init_machine_status): Make static to match declaration.
2378         (mmix_unique_section): Const-ify.
2379         (mmix_output_quoted_string): Avoid automatic aggregate
2380         initialization.
2381         (mmix_output_register_setting): Likewise.
2382         (mmix_output_shiftvalue_op_from_str): Likewise.
2384         * mmix.h (mmix_cc1_ignored_option): Const-ify.
2385         (ASM_OUTPUT_BYTE): Fix format specifier warning.
2386         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
2388 2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2390         PR c/4448
2391         * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
2392         name __objc_thread_exit_status so that it matches the
2393         variable defined in objc/thr.h.
2395 2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2397         PR bootstrap/4020
2398         * mklibgcc.in: Add missing semi-colons.
2399         * Makefile.in: Same.
2401 Sun Nov 18 16:47:00 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2403         * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
2404         after re-laying out decl in incomplete case.
2405         (expand_expr, case ADDR_EXPR): Fix typo in copy case.
2407 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2409         * doc/install-old.texi: Move some sections out to ...
2410         * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
2411         ... here.  New files.  Make into chapters rather than sections.
2412         * doc/gcc.texi: Include the new files and add menu entries for
2413         them.
2414         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2416 Sun Nov 18 14:13:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2418         * tree.h (TYPE_ALIGN_OK): New flag.
2419         * emit-rtl.c (set_mem_attributes): Handle it.
2420         * expr.c (emit_single_push_insn): Only set to alias set 0 if
2421         doing sibcall optimization.
2422         (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
2423         when make temporary.
2424         (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
2425         (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
2427         * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
2429 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2431         * c-decl.c (c_decode_option): Give deprecation warning for
2432         -traditional.
2433         * doc/invoke.texi (-traditional): Note that this option is
2434         deprecated.
2436 Sun Nov 18 07:40:07 2001  Douglas B. Rupp  <rupp@gnat.com>
2438         * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
2439         arg to HOST_WIDE_INT, not long.
2441         * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
2442         (HAS_INIT_SECTION): Define.
2443         (REAL_ARITHMETIC): Don't undefine.
2445 2001-11-18  Egor Duda  <deo@logos-m.ru>
2447         * config/i386/cygwin.h: Strip leading '*' from name, if any.
2449 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2451         * Makefile.in (c-parse.o, c-common.o): Update dependencies.
2452         * c-common.c: Include diagnostic.h.
2453         (c_common_finish): New.
2454         * c-common.h (c_common_finish): New.
2455         * c-lang.c (LANG_HOOKS_FINISH): Override.
2456         * c-parse.in: Don't include diagnostic.h.
2457         (finish_parse): Remove.
2458         * langhooks.h: Update comments.
2459         * toplev.c (lang_dependent_init): New prototype.
2460         (finalize): New.
2461         (compile_file): Split cleanup code out to finalize.
2462         (lang_dependent_init): Stop if lang_hooks.init fails.
2463         (toplev_main): Update.
2464         * tree.h (finish_parse): Remove.
2465 objc:
2466         * objc-act.c (LANG_HOOKS_FINISH): Override.
2468 Sat Nov 17 23:30:44 2001  Douglas B. Rupp  <rupp@gnat.com>
2470         * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
2471         * config/alpha/vms_tramp.asm: New file.
2472         * config/alpha/vms-tramp.asm: Removed.
2474 2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
2476         * c-common.c (struct disabled_builtin, disabled_builtins,
2477         disable_builtin_function, builtin_function_disabled_p): New.
2478         (builtin_function_2): Check for disabled built-in functions.
2479         * c-common.h (disable_builtin_function): Declare.
2480         * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
2481         * doc/invoke.texi: Document -fno-builtin-FUNCTION.
2482         * doc/extend.texi: Mention -fno-builtin-FUNCTION.
2484 2001-11-17  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2486         PR target/4606
2487         * config.gcc: Remove reference to va-clipper.h.
2489 2001-11-17  Stan Shebs  <shebs@apple.com>
2491         * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
2492         AltiVec-related bitfields.
2494 Sat Nov 17 12:06:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2496         * except.c (enum eh_region_type): Add ERT_UNKNOWN.
2497         (mark_eh_region, case ERT_UKNONW): New case.
2499 2001-11-17  Christopher Faylor  <cgf@redhat.com>
2500             Corinna Vinschen  <vinschen@redhat.com>
2502         * config/i386/cygwin.h: Search target specific include directory for
2503         w32api stuff, if appropriate.
2505 Sat Nov 17 08:20:44 2001  Douglas Rupp  <rupp@gnat.com>
2507         * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
2509 2001-11-16  Aldy Hernandez  <aldyh@redhat.com>
2511         * config/rs6000/rs6000.md: Change all ldvx to lvx.
2513 2001-11-16  Alexandre Oliva  <aoliva@redhat.com>
2515         * gensupport.c (process_rtx): Don't assume filename is the first
2516         argument of any rtl.
2518 2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2520         * vax-protos.h (reg_was_0_p): New prototype.
2521         * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
2522         * vax.c (follows_p, reg_was_0_p): New functions.
2524 2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2526         * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
2527         (casesi1): Likewise.  Define new pattern which arises by simplification
2528         when operand 1 is a constant int.  Correct pattern which arises by
2529         simplification when operand 1 is zero.
2531 2001-11-16  David O'Brien  <obrien@FreeBSD.org>
2533         * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
2534         arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
2535         arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
2536         arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
2537         arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
2538         arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
2539         xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
2540         * config/arm/aof.h: Don't include arm.h.
2541         * config/arm/aout.h: Likewise.
2542         * config/arm/coff.h: Don't include semi.h and aout.h.
2543         * config/arm/elf.h: Don't include aout.h.
2544         * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
2545         (TARGET_VERSION): Undef before defining.
2546         (ARM_OS_NAME): Likewise
2547         (TARGET_DEFAULT): Likewise
2548         (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
2549         * config/arm/pe.h: Don't include arm/coff.h.
2550         * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
2551         SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
2552         * config/arm/riscix1-1.h: Likewise.
2553         * config/arm/rix-gas.h: Don't include riscix.h.
2554         (DBX_CONTIN_LENGTH): Undef before defining.
2555         * config/arm/semi.h: Don't include aout.h.
2556         * config/arm/semiaof.h: Don't include aof.h.
2557         * config/arm/strongarm-coff.h: Don't include coff.h.
2558         * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
2559         * config/arm/vxarm.h: Don't include arm/coff.h.
2560         * config/arm/xscale-coff.h: Don't include coff.h.
2562 Fri Nov 16 15:22:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2564         * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
2565         emit_cmp_insn.
2567 2001-11-16  Andreas Jaeger  <aj@suse.de>
2569         * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
2570         to ....
2571         (fixup_fallthru_exit_predecessor): ... this.
2572         Change callers and prototype.
2574 2001-11-16  Bernd Schmidt  <bernds@redhat.com>
2576         * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
2577         hand; don't use gen_setcc_2.
2578         (ix86_expand_builtin): Fix pshufw.
2579         * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
2580         case UNORDERED to emit the right assembler instruction.
2581         (mmx_pshufw): Lose operand 2.
2582         (cvtsi2ss): Fix representation.
2583         From Graham Stott:
2584         (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
2586 2001-11-16  Joseph S. Myers  <jsm28@cam.ac.uk>
2588         * doc/include/linux-and-gnu.texi: Remove.
2589         * doc/gnu.texi: New.
2590         * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
2591         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
2593 2001-11-16  Kazu Hirata  <kazu@hxi.com>
2595         * config/a29k/a29k.c: Fix comment formatting.
2596         * config/a29k/a29k.h: Likewise.
2597         * config/arc/arc.c: Likewise.
2598         * config/arc/arc.h: Likewise.
2599         * config/vax/vax.c: Likewise.
2600         * config/vax/vax.h: Likewise.
2601         * config/we32k/we32k.c: Likewise.
2602         * config/we32k/we32k.h: Likewise.
2604 2001-11-16  Jeff Law  <law@redhat.com>
2606         * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
2607         creating a new jump insn.
2609 Fri Nov 13 09:06:25 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2611         * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
2612         copy misaligned data.
2613         * varasm.c (assemble_variable): Set alignment into MEM when changed.
2615 2001-11-16  Graham Stott  <grahams@redhat.com>
2617         * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
2618         OPALIGN type.
2620 2001-11-16  Olivier Hainque <hainque@act-europe.fr>
2622         * except.c: Support for catching a list of types with a single handler
2623         (struct eh_region): Change type and filter to lists for catch regions.
2624         (mark_eh_region): Mark the filter list for GC also.
2625         (expand_start_catch): Always build a list if argument not NULL and
2626         register each type of the list through add_type_for_runtime.
2627         (duplicate_eh_region_1): Change type into type_list for catch regions.
2628         (assign_filter_values): Assign a filter to each type associated with a
2629         catch region. Assign filter for NULL types in a unique entry in the
2630         filter list.
2631         (build_post_landing_pads): Emit compare and jump for each filter of
2632         the list associated with a catch region.
2633         (reachable_next_level): When the type thrown is known, stop the search
2634         as soon as one type within a catch list matches. Also, a handler is
2635         potentially reachable only if at least one of the types it catches
2636         has not been previously caught.
2637         (collect_one_action_chain): Retrieve the filter for a NULL type list
2638         from the first filter list entry. For non NULL type lists, add an
2639         action record for every filter assigned.
2640         * except.h: Reflect changes in comment before expand_start_catch.
2642 Fri Nov 16 07:12:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2644         * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
2645         BLKmode.
2647 Fri Nov 16 06:37:05 2001  Andreas Tobler  <a.tobler@schweiz.ch>
2649         * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
2651 2001-11-16  Jakub Jelinek  <jakub@redhat.com>
2653         * c-lang.c (finish_file): Don't emit static inline functions if
2654         they weren't referenced.
2656 2001-11-15  Stan Shebs  <shebs@apple.com>
2658         * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
2660 2001-11-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2662         * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
2663         call.
2664         * config/i386/i386.md: Likewise.
2666 Thu Nov 15 21:40:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2668         * timevar.c (rtl.h): Include so get fancy abort.
2670 2001-11-15  Dale Johannesen  <dalej@apple.com>
2672         * config/darwin.h (SELECT_RTX_SECTION):  Force address
2673         initializers into 'const' section
2674         * config/rs6000/rs6000.c (rs6000_emit_cmove):  Fix mode of
2675         if_then_else to match result, not operands
2677 Thu Nov 15 17:57:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2679         * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
2680         * emit-rtl.c (change_address): Fix typo in default alignment.
2681         (adjust_address_1): Use mode of NEW, not MODE, when setting size.
2682         * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
2683         * rtl.h (REGNO_PTR_FRAME_P): New macro.
2685         * expr.c (store_field): Pass tree instead of max size; callers changed.
2686         Change handling of alignment.
2687         Only copy to_rtx if is TARGET.
2688         (expand_expr_unaligned): Delete; callers now use expand_expr.
2689         (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
2690         (expand_assignment): Change handling of alignment.
2691         Only copy to_rtx if was original.
2692         (get_inner_reference): No longer return alginment; callers changed.
2693         (expand_expr, case COMPONENT_REF): Change handling of alignment.
2694         (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
2695         (compare_from_rtx): Delete ALIGN parm; all callers changed.
2696         (do_compare_rtx_and_jump): Likewise.
2697         * expr.h: Reflect above changes.
2698         * tree.h: Likewise.
2699         * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
2700         to get_inner_reference.
2701         * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
2702         * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
2703         * optabs.c: Likewise.
2704         (prepare_cmp_insn): Now static; remove ALIGN parm.  Callers changed.
2705         (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
2706         * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
2707         compare_rtx_and_jump, and emit_cmp_jump_insns.
2708         * fold-const.c: Remove PALIGN in calls to get_inner_reference.
2709         * function.c (assign_stack_temp_for_type): No longer static.
2710         * optabs.h (emit_cmp_insn): Remove ALIGN parm.
2711         (prepare_cmp_insn): Delete declaration.
2712         * rtl.h (assign_stack_temp_for_type): Add declaration.
2713         * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
2714         * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
2715         * config/i386/i386.c,config/mips/mips.c: Likewise.
2716         * config/i860/i860.c, config/ia64/ia64.c: Likewise.
2717         * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
2719 2001-11-15  Stan Shebs  <shebs@apple.com>
2721         * config/rs6000/rs6000.h: Fix a comment typo.
2722         (RTX_COSTS): Sort processor versions better.
2724 2001-11-15  Kazu Hirata  <kazu@hxi.com>
2726         * config/h8300/h8300.md: Fix insn length of bit insns.
2728 2001-11-15  Jason Merrill  <jason@redhat.com>
2730         * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
2731         DIEs if there were errors in the source.
2733         * config/alpha/alpha-interix.h, config/alpha/elf.h,
2734         config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
2735         config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
2736         config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
2737         config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
2738         config/elfos.h, config/lynx.h, config/netware.h,
2739         config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
2740         config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
2741         uses to use ASM_LONG.
2743 2001-11-15  Alan Matsuoka  <alanm@redhat.com>
2745         * gensupport.c  process_include : Change call to alloca to
2746         xmalloc.
2748 2001-11-15  Aldy Hernandez  <aldyh@redhat.com>
2750         * config/rs6000/rs6000.md: Use spaces instead of tabs in output
2751         templates.
2753 Thu Nov 15 08:36:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2755         * final.c (alter_subreg): If simplify_subreg can't do anything,
2756         handle REG ourselves and abort for others.
2758 2001-11-15  Richard Hodson  <hodsonr@dionecorp.com>
2760         * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
2761         routines.
2763 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
2765         * fix-header.c (read_scan_file): Update.
2767 Thu Nov 15 08:36:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2769         * toplev.c (toplev_main): Don't start timing until after
2770         command-line options are parsed.
2772 2001-11-15  Andreas Schwab  <schwab@suse.de>
2774         * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
2775         makefile frag, not host makefile frag.
2776         (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
2777         (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
2778         used.
2779         (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
2780         * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
2781         * config/m88k/t-dgux (STMP_FIXPROTO): Define.
2782         * config/i386/t-cygwin (STMP_FIXPROTO): Define.
2783         * config/i386/t-dgux (STMP_FIXPROTO): Define.
2784         * config/x-interix: Don't define STMP_FIXPROTO and
2785         FIXPROTO_DEFINES.
2786         * config/t-interix: New file, define STMP_FIXPROTO.
2787         * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
2788         * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
2789         * config/t-svr4 (FIXPROTO_DEFINES): Define.
2790         * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
2791         * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
2792         * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
2793         * config/m68k/t-hp3200: Renamed from x-hp3200.
2794         * config/i370/t-oe: Renamed from x-oe.
2795         * config/mips/t-iris: Renamed from x-iris.
2796         * config/pa/t-bsd: Renamed from x-pa.
2797         * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
2798         * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
2799         config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
2800         config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
2801         config/rs6000/x-cygwin: Remove files.
2803         * configure.in: Check for target objdump and use that in eh_frame
2804         optimization test.
2805         * configure: Regenerated.
2807 2001-11-15  Jakub Jelinek  <jakub@redhat.com>
2809         * jump.c (squeeze_notes): Return true if no real insns were found.
2810         * rtl.h (squeeze_notes): Adjust prototype.
2811         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
2812         squeeze_notes finds no real instructions, abort.
2813         (merge_blocks_move_successor_nojumps): Likewise.
2814         * loop.c (find_and_verify_loops): Likewise.
2815         * stmt.c (expand_end_case): Likewise.
2816         * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
2817         find any real instructions.
2819         * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
2821         * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
2822         conditional jump, request updating life into for the block
2823         containing it.  Fix a typo which prevented life info update.
2824         Clear blocks bitmap before using it.
2826 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
2828         * c-common.c: Include c-lex.h.
2829         (c_common_lang_init): Change prototype.  Call init_c_lex and
2830         init_pragma from here.
2831         * c-common.h (c_common_lang_init): Change prototype.
2832         * c-decl.c (init_decl_processing): Rename.  Call c_parse_init.
2833         * c-lang.c (c_init): Change prototype.  Update.
2834         (c_init_options): Update.
2835         * c-lex.c (cpp_filename): Remove.
2836         (init_c_lex): Update.  Read the main file, and get the original
2837         file name.
2838         (yyparse): Finish the command line options.
2839         * c-parse.in (c_parse_init): Call init_reswords here.
2840         (init_parse): Remove.
2841         * c-tree.h (c_init_decl_processing): New.
2842         * cpphash.c (_cpp_init_hashtable): After initializing the hash
2843         table, populate it.
2844         * cppinit.c (read_original_filename, cpp_finish_options): New.
2845         (cpp_create_reader): New prototype. Defer hash table initialization.
2846         (cpp_start_read): Rename cpp_read_main_file.  Initialize the
2847         hash table.  Get the original filename.
2848         * cpplib.h (cpp_create_reader): Update.
2849         (cpp_start_read): Remove.
2850         (cpp_read_main_file, cpp_finish_options): New.
2851         * cppmain.c (main, do_preprocessing): Update.
2852         * langhooks.h (struct langhooks): Update init prototype.
2853         * toplev.c (general_init, parse_options_and_default_flags,
2854         process_options, lang_indpendent_init, lang_dependent_init,
2855         init_asm_output): New; perform the bulk of initialization.
2856         (compile_file): Move most of initialization to above functions.
2857         (debug_hooks): Initialize statically.
2858         (set_Wunused): Relocate.
2859         (toplev_main): Move most of initialization to other init functions.
2860         Have a clear logic flow.
2861         * tree.h (init_parse, init_decl_processing): Remove.
2862 objc:
2863         * objc-act.c (objc_init): Update prototype, combine with old
2864         init_parse.
2865         (objc_init_options): Update.
2868 2001-11-15  Andreas Jaeger  <aj@suse.de>
2870         * cfgrtl.c (purge_all_dead_edges): Use int as argument for
2871         portability.
2872         * basic-block.h: Adjust prototype.
2874 2001-11-15  Kazu Hirata  <kazu@hxi.com>
2876         * config/rs6000/aix31.h: Fix comment formatting.
2877         * config/rs6000/beos.h: Likewise.
2878         * config/rs6000/darwin.h: Likewise.
2879         * config/rs6000/eabi.asm: Likewise.
2880         * config/rs6000/linux.h: Likewise.
2881         * config/rs6000/linux64.h: Likewise.
2882         * config/rs6000/lynx.h: Likewise.
2883         * config/rs6000/netbsd.h: Likewise.
2884         * config/rs6000/rs6000.c: Likewise.
2885         * config/rs6000/rs6000.h: Likewise.
2886         * config/rs6000/rs6000.md: Likewise.
2887         * config/rs6000/sol2.h: Likewise.
2888         * config/rs6000/tramp.asm: Likewise.
2889         * config/rs6000/xcoff.h: Likewise.
2890         * config/rs6000/xm-beos.h: Likewise.
2892 2001-11-14  Alan Matsuoka  <alanm@redhat.com>
2894         * rtl.def (INCLUDE) : Define.
2895         * gensupport.c  (init_include_reader, process_include,
2896         save_string) :  New functions to implement an include facility
2897         in .md files.
2898         * gensupport.h : Add prototype for init_md_reader_args.
2899         * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
2900         genextract.c genflags.c genopinit.c genoutput.c
2901         genpeep.c genrecog.c: Change call to init_md_reader to
2902         init_md_reader_args.
2903         * md.texi: Document (include "path") and -I directives for RTL
2904         generation tools.
2906 2001-11-14  DJ Delorie  <dj@redhat.com>
2908         * integrate.c (get_hard_reg_initial_reg): New.
2909         * integrate.h (get_hard_reg_initial_reg): Prototype.
2910         * local-alloc.c (block_alloc): Don't tie pseudos that
2911         represent call-saved hard regs' initial values.
2913 2001-11-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2915         * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
2916         recursion.
2918 2001-11-14  Roger Sayle <roger@eyesopen.com>
2920         * fold-const.c (fold): Optimize strlen comparisons against zero.
2922 2001-11-14  David O'Brien  <obrien@FreeBSD.org>
2924         * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
2925         sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
2926         sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
2927         sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
2928         sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
2929         sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
2930         sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
2931         Include various CPU headers via tm_file.  a.out based platforms now
2932         properly include sparc/aout.h.  sol2.h usage now implies including
2933         elfos.h, svr4.h, and sparc/sysv4.h.
2934         * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
2935         Also define to '1'.
2936         * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
2937         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2938         DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
2939         Remove.  They are a.out specific and belong in sparc/aout.h.
2940         * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
2941         ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
2942         DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define.  Moved here from
2943         sparc/sparc.h.
2944         * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
2945         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
2946         Moved here from sparc/sparc.h.
2947         * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
2948         defining.
2949         * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
2950         * config/sparc/lynx.h:  Don't include lynx.h.
2951         (SELECT_SECTION): Do not undef.
2952         * config/sparc/openbsd.h: Don't include sparc/sparc.h.
2953         * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
2954         and sparc/sysv4.h.
2955         * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
2956         * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define.  Get from
2957         sparc/aout.h now.
2958         * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
2959         Don't undef, there is no need.
2960         * config/sparc/splet.h (CPP_PREDEFINES): Define.
2961         * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
2962         * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
2963         Don't include sparc/sparc.h.
2964         * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
2965         SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
2966         DATA_SECTION_ASM_OP): Don't undef, there is no need now.  Don't include
2967         elfos.h and svr4.h.
2968         (TARGET_VERSION): Define.
2969         * config/sparc/vxsim.h (TARGET_VERSION): Define.
2971 Wed Nov 14 19:46:08 CET 2001  Jan Hubicka  <jh@suse.cz>
2973         * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
2974         (cfg_layout_finalize): Use it.
2975         * bb-reorder.c (HAVE_epilogue): Remove.
2976         (make_reorder_chain): Do not care special placement of
2977         last basic block.
2979         * predict.c (expected_value_to_br_prob): Delete the note
2980         once transformed.
2982         * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
2983         measure integration time separately.
2985 Wed Nov 14 12:30:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2987         * function.c (struct temp_slot): ALIGN now unsigned.
2989 2001-11-14  Kazu Hirata  <kazu@hxi.com>
2991         * config/dsp16xx/dsp16xx.c: Fix comment formatting.
2992         * config/dsp16xx/dsp16xx.h: Likewise.
2993         * config/dsp16xx/dsp16xx.md: Likewise.
2995 2001-11-14  Kazu Hirata  <kazu@hxi.com>
2997         * config/h8300/h8300.c (get_shift_alg): Reorganize the code
2998         that deals with 7-bit shifts in HImode.
3000 Wed Nov 14 14:17:05 CET 2001  Jan Hubicka  <jh@suse.cz>
3002         * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
3003         * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
3004         (final_scan_insn): Update call of alter_subreg.
3005         (cleanup_subreg_operands): Likewise.
3006         (alter_subreg): Rewrite using simplify_subreg.
3007         (output_address, output_operand): Update call of alter_subreg.
3008         * output.h (alter_subreg): Update prototype.
3009         * sdbout.c (sdbout_symbol): Update call of alter_subreg.
3010         * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
3011         * Makefile.in (final.o): Add dependency on expr.h
3013 Wed Nov 14 06:37:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3015         * c-lang.c (finish_file): Make I unsigned to eliminate warning.
3017 2001-11-13  Jeff Sturm  <jsturm@one-point.com>
3019         * doc/install.texi (sparc-*-linux*): Mention requirements for
3020         binutils and glibc.
3022 2001-11-14  Joseph S. Myers  <jsm28@cam.ac.uk>
3024         * Makefile.in (POD2MAN): Don't include --section=1.
3025         (manext): Rename to man1ext.  All users changed.
3026         (man7ext): New.
3027         (man7dir): New.
3028         (generated-manpages): Also depend on $(docdir)/gfdl.7,
3029         $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
3030         ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
3031         --section=1 in calls to $(POD2MAN).
3032         ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
3033         (maintainer-clean, install, uninstall): Handle the new man pages.
3034         ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
3035         (installdirs): Create man7dir.
3036         * doc/cpp.texi: Include GFDL in this manual.  In the man page,
3037         refer to gfdl(7) for the GFDL.  Apply Front Cover and Back Cover
3038         texts to man page.  Include gpl(7), gfdl(7) and fsf-funding(7) in
3039         the SEE ALSO man page section.
3040         * doc/gcov.texi: Apply GFDL to man page.  Include gpl(7), gfdl(7)
3041         and fsf-funding(7) in the SEE ALSO man page section.
3042         * doc/invoke.texi: Apply GFDL to man page.  Include gpl(7),
3043         gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
3044         * doc/include/fdl.texi, doc/include/funding.texi,
3045         doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
3046         * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
3048 2001-11-13  Richard Henderson  <rth@redhat.com>
3050         * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
3051         as appropriate for the artificial decl.
3053 2001-11-13  Richard Henderson  <rth@redhat.com>
3055         * loop.c (combine_movables): Turn off combination until
3056         move_movables validation bugs are fixed.
3058 2001-11-13  DJ Delorie  <dj@redhat.com>
3060         * config.gcc (powerpc|rs6000): Set default cpp options based
3061         on --with-cpu settings.
3062         * config/rs6000/softfloat.h: New.
3064 2001-11-13  Kazu Hirata  <kazu@hxi.com>
3066         * config/h8300/h8300.c (shift_alg_si): Use special code for
3067         25-bit shifts on H8/S.
3068         (get_shift_alg): Generate special code for 25-bit shifts on
3069         H8/S.
3071 2001-11-13  Jakub Jelinek  <jakub@redhat.com>
3073         * emit-rtl.c (adjust_address_1): Add ADJUST argument.
3074         (adjust_automodify_address_1): New.
3075         * expr.h (adjust_address, adjust_address_nv): Adjust.
3076         (adjust_automodify_address, adjust_automodify_address_nv): Define.
3077         (adjust_address_1): Update prototype.
3078         (adjust_automodify_address_1): Add prototype.
3079         * expr.c (move_by_pieces_1): Use adjust_automodify_address.
3080         (store_by_pieces_2): Likewise.
3082 Tue Nov 13 05:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3084         * Makefile.in (explow.o): Now depends on ggc.h.
3085         * explow.c (ggc.h): Include.
3086         (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
3088         * Makefile.in (expr.o): Depends on insn-attr.h.
3089         * expr.c (insn-attr.h): New include.
3090         (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
3091         of MEM.
3092         (highest_pow2_factor, case INTEGER_CST): Handle negative values.
3093         (expand_expr): Remove unneeded mark_temp_addr_taken calls and
3094         clean up related usage in ADDR_EXPR.
3095         (expand_expr_unaligned): Likewise.
3097         * emit-rtl.c (change_address): Fix typo in alias setting.
3099 2001-11-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3101         * Makefile.in (cfgcleanup.o): Depend on insn-config.h
3103 2001-11-12  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3105         PR bootstrap/3451
3106         * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
3107         GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
3109 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
3111         * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
3112         sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
3113         sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
3114         sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
3115         sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
3116         sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
3117         sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
3118         sparc64-*-linux*):  Include various CPU headers via tm_file.
3119         * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
3120         (SELECT_SECTION): Likewise.
3121         (SELECT_RTX_SECTION): Likewise.
3122         * config/sparc/sparc_bi.h: New file.
3123         * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
3124         * config/sparc/linux-aout.h: Likewise.
3125         * config/sparc/linux.h: Don't include sparc/sysv4.h.
3126         * config/sparc/linux64.h: Likewise.
3127         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
3128         * config/sparc/lite.h:  Don't include sparc/sparc.h and gofast.h.
3129         * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
3130         and dbxcoff.h
3131         (ASM_OUTPUT_IDENT): Do not #undef.
3132         (SELECT_SECTION): Likewise.
3133         (SELECT_RTX_SECTION): Likewise.
3134         * config/sparc/liteelf.h: Don't include gofast.h.
3135         * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
3136         * config/sparc/lynx.h: Don't include sparc/sparc.h.
3137         * config/sparc/pbd.h: Likewise.
3138         * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
3139         * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
3140         * config/sparc/rtemself.h: Don't include rtems.h.
3141         * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
3142         * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
3143         sparc_bi.h instead.
3144         * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
3145         * config/sparc/sol2.h: Include sparc/sparc.h directly.
3146         * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
3147         * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
3148         * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
3149         * config/sparc/sp86x-elf.h: Don't include gofast.h.
3150         * config/sparc/splet.h: Don't include sparc/aout.h.
3151         * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
3152         * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
3153         * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
3154         * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
3155         * config/sparc/vxsparc64.h: Don't include gofast.h.
3156         (SPARC_BI_ARCH): Don't define.  sparc_bi.h will do it instead.
3158 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3160         * doc/standards.texi: Mention C99 TC1.
3162 2001-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3164         * mips-protos.h (mips_output_conditional_branch): Const-ify.
3165         * mips.c (mips_output_conditional_branch): Likewise.
3167 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3169         * config/h8300/h8300.c (shift_alg_si): Use special code for
3170         15-bit logical shifts and 31-bit logical shifts.
3171         (get_shift_alg): Generate special code for 15-bit and 31-bit
3172         logical shifts.
3174 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3176         * config/h8300/h8300.c (shift_alg_qi): Use rotations when
3177         doing 6-bit logical shifts on H8/S.
3178         (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
3179         (get_shift_alg): Generate special code for 21-bit shifts on
3180         H8/S.
3182 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3184         * config/h8300/h8300.c (get_shift_alg): Remove a redundant
3185         label.
3187 Mon Nov 12 11:58:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3189         * alias.c (nonoverlapping_memrefs_p): Only update size from memref
3190         if both size and offset known.
3192 2001-11-12  David O'Brien  <obrien@FreeBSD.org>
3194         * config/ia64/freebsd.h: Fix misspelling.
3196 2001-11-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3198         * doc/gcc.texi: Move several chapters out to ...
3199         * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
3200         doc/include/linux-and-gnu.texi, doc/interface.texi,
3201         doc/makefile.texi, doc/passes.texi, doc/portability.texi:
3202         ... here.  New files.
3203         * doc/gcc.texi, doc/contrib.texi: Move section headings into
3204         contrib.texi.
3205         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3207 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3209         * config/alpha/alpha-interix.h: Fix comment formatting.
3210         * config/alpha/alpha.c: Likewise.
3211         * config/alpha/alpha.h: Likewise.
3212         * config/alpha/alpha32.h: Likewise.
3213         * config/alpha/freebsd.h: Likewise.
3214         * config/alpha/unicosmk.h: Likewise.
3215         * config/alpha/vms.h: Likewise.
3217 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3219         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3221 2001-11-12  Jakub Jelinek  <jakub@redhat.com>
3223         * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
3224         numbers.
3226 Mon Nov 12 05:18:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3228         * emit-rtl.c (set_mem_attributes): If making object, can set alignment
3229         from type.
3230         (replace_equiv_address): Call update_temp_slot_address.
3232         * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
3234         * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
3236 2001-11-12  Kazu Hirata  <kazu@hxi.com>
3238         * config/h8300/h8300.c (shift_alg_qi): New.
3239         (shift_alg_hi): Likewise.
3240         (shift_alg_si): Likewise.
3241         (get_shift_alg): Change the type of count to unsigned int.
3242         Use the tables.
3244 2001-11-11  Alexandre Oliva  <aoliva@redhat.com>
3246         * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
3247         * c-decl.c (c_expand_body): Take argument can_defer_p.  Use it
3248         to decide whether to defer a function.
3249         (finish_function): Adjust.
3250         (c_expand_deferred_function): New function.
3251         * c-lang.c (deferred_fns): New variable.
3252         (c_init): Initialize it, and mark it as a root.
3253         (defer_fn): New function.
3254         (finish_file): Expand all deferred functions.
3255         * c-tree.h (defer_fn): Declare.
3256         (c_expand_deferred_function): Likewise.
3257         * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
3258         * objc-act.c (deferred_fns): New variable.
3259         (objc_init): Initialize it, and mark it as a root.
3260         (defer_fn): New function.
3261         (finish_file): Expand all deferred functions.
3263 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3265         * alpha.c (unicosmk_special_name): Prototype.
3266         (unicosmk_ssib_name): Delete unused variable.
3267         * alpha/unicosmk.h (common_section, ssib_section): Prototype.
3268         * alpha/vms.h (PREFIX): Undef before defining.
3269         * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
3270         * i370/i370.c (mvs_hash_alias): Prototype.  Wrap with macro
3271         controlling usage.  Const-ify.
3272         (alias_number): Delete unused variable.
3273         * m32r/m32r.c (m32r_sched_init): Add missing argument.
3274         (m32r_expand_block_move): Fix uninitialized warnings.
3275         * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
3276         always true' warnings.
3277         * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
3278         * sh/sh.c: Include "integrate.h".
3279         (output_far_jump): Fix uninitialized warning.
3280         * final.c (shorten_branches): Avoid automatic aggregate
3281         initialization.
3282         * integrate.c (subst_constants): Likewise.
3284 2001-11-11  Kazu Hirata  <kazu@hxi.com>
3286         * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
3287         (get_shift_alg): Remove redundant code.
3289 2001-11-11  Kazu Hirata  <kazu@hxi.com>
3291         * config/pa/milli64.S: Fix comment formatting.
3292         * config/pa/pa-64.h: Likewise.
3293         * config/pa/pa-linux.h: Likewise.
3294         * config/pa/pa-protos.h: Likewise.
3295         * config/pa/pa.c: Likewise.
3296         * config/pa/pa.h: Likewise.
3297         * config/pa/pa32-linux.h: Likewise.
3298         * config/pa/pa32-regs.h: Likewise.
3299         * config/pa/pa64-hpux.h: Likewise.
3300         * config/pa/pa64-regs.h: Likewise.
3301         * config/pa/som.h: Likewise.
3303 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
3305         * doc/gcc.texi: Move several chapters out to ...
3306         * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
3307         doc/service.texi, doc/standards.texi, doc/trouble.texi,
3308         doc/vms.texi: ... here.  New files.
3309         * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3311 2001-11-11  Joseph S. Myers  <jsm28@cam.ac.uk>
3313         * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
3314         cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
3315         collect2.c, combine.c, config.in, configure, configure.in,
3316         conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
3317         genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
3318         reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
3319         spelling errors.
3321 Sun Nov 11 05:56:01 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3323         * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
3324         Adjust operand number in CONST_DOUBLE.
3326         * expmed.c (extract_bit_field): No longer pass in alignment.
3327         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3328         (store_bit_field, store_fixed_bit_field, store_split_bit_field):
3329         Likewise.
3330         * expr.c (store_constructor, store_constructor_field): Likewise.
3331         (store_field, emit_group_load, emit_group_store): Likewise.
3332         * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
3333         (store_bit_field, extract_bit_field): Likewise.
3334         * calls.c, expr.c, function.c: Change calls to above functions.
3335         * ifcvt.c, stmt.c: Likewise.
3337         * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
3338         constant and one is on frame.
3339         If know memref offset, adjust size from decl.
3341 2001-11-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3343         * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
3344         format specifier warning.
3345         * convex.h (ASM_OUTPUT_BYTE): Likewise.
3346         * elfos.h (ALIGN_ASM_OP): Undef before defining.
3347         * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
3348         warning.
3349         * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3350         * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3351         * i386-interix.h (gen_stdcall_suffix): Prototype.
3352         * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3353         * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3354         ASM_OUTPUT_LONG_DOUBLE): Likewise.
3355         * i386/interix.c (gen_stdcall_suffix): Const-ify.
3356         * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3357         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
3358         specifier warnings.
3359         * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3360         * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
3361         ASM_OUTPUT_LONG_DOUBLE): Likewise.
3362         * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3363         * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3364         * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3365         * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3366         * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
3367         ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
3368         * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3369         * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3370         Likewise.
3371         * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
3372         Likewise.
3373         * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
3374         * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3375         ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
3376         Likewise.
3377         * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
3378         Likewise.
3379         * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3380         Likewise.
3381         * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
3382         * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
3383         * m68k/news.h (PRINT_OPERAND): Likewise.
3384         * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3385         ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3386         * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3387         * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
3388         definition.
3389         * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
3390         ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
3391         ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
3392         * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3393         * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
3394         ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
3395         PRINT_OPERAND): Likewise.
3396         * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
3397         Likewise.
3398         * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3399         * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
3400         * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
3401         * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3402         * mips.c (mips_output_external_libcall): Mark parameter with
3403         ATTRIBUTE_UNUSED.
3404         (mips_asm_file_start): Move variable into the scope where it's
3405         used.
3406         * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
3407         * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
3408         * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
3409         * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3410         * ns32k.c (print_operand): Likewise.
3411         * pa.c (print_operand, output_div_insn): Likewise.
3412         * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
3413         ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
3414         * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
3415         * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3416         specifier warnings.
3417         * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3418         * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3419         (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
3420         * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
3421         specifier warnings.
3422         * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3424         * sdbout.c (sdbout_end_epilogue): Mark parameter with
3425         ATTRIBUTE_UNUSED.
3426         * varasm.c (assemble_global): Likewise.
3428 2001-11-11  H.J. Lu <hjl@gnu.org>
3430         * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
3432 Sun Nov 11 01:26:00 CET 2001  Jan Hubicka  <jh@suse.cz>
3434         * final.c (*_MAX_SKIP): Use *_max_skip variables.
3435         * flags.h (align_loops_max_skip, align_jumps_max_skip,
3436         align_labels_max_skip): New global variables.
3437         * toplev.c (align_loops_max_skip, align_jumps_max_skip,
3438         align_labels_max_skip): New global variables.
3439         (toplev_main): Set new variables.
3440         * i386.c (override_options): Set max_skip values.
3442 2001-11-10  Geoffrey Keating  <geoffk@redhat.com>
3444         * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
3445         * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
3446         * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
3447         don't print an @fptr for labels either.
3448         (xstormy16_output_addr_vec): Don't print @fptr here.
3449         * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
3451 Sat Nov 10 08:50:50 2001  Jeffrey A Law  (law@cygnus.com)
3453         * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
3454         an ANSI/ISO definitino.
3455         (ssa_const_prop): Likewise.
3457 2001-11-10  Aldy Hernandez  <aldyh@redhat.com>
3459         * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
3460         altivec registers.
3462 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3464         * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
3465         * cpplex.c (hex_digit_value): Use hex_p/hex_value.
3466         * cppmain.c (general_init): Call hex_init.
3467         * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
3469         * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
3471         * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
3472         of dgux.c:output_file_start().
3474         * i386/dgux.c: Delete file.
3476 2001-11-09  Richard Henderson  <rth@redhat.com>
3478         * config/alpha/alpha.c (decl_in_text_section): New.
3479         (current_file_function_operand): Use it.
3480         (alpha_encode_section_info, alpha_end_function): Likewise.
3482 2001-11-07  David O'Brien  <obrien@FreeBSD.org>
3484         * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
3485         * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
3486         they are OS specific.  Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
3487         so OS specific files and use CPP_PREDEFINES for their needs.
3488         * config/i64/elf.h (TARGET_VERSION): Add.  Also, move inclusion of
3489         target headers to tm_file.
3490         * config/ia64/aix.h (TARGET_VERSION): Likewise.
3491         * config/ia64/hpux.h (TARGET_VERSION): Likewise.
3492         * config/ia64/linux.h (TARGET_VERSION): Likewise.
3493         (FUNCTION_PROFILER): Remove.
3494         * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
3495         version in config/ia64/linux.h.
3496         * config/ia64/freebsd.h: New file.
3497         * config/freebsd.h: Tidy up.
3498         (_USING_CONFIG_FREEBSD): Define.
3499         (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
3500         (FBSD_CPP_SPEC): Define generic FreeBSD spec.
3501         (FBSD_STARTFILE_SPEC): Likewise.
3502         (FBSD_ENDFILE_SPEC): Likewise.
3503         (FBSD_LIB_SPEC): Likewise.
3504         (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
3505         (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
3506         set an ELF-improper one.
3508 2001-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3510         * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
3511         constant can be loaded in a single instruction to a register.  When
3512         loading immediate constants, use PLUS instead of HIGH/LO_SUM.  Use
3513         depdi for insertion of most significant 32-bits on 64-bit hosts.
3514         * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
3515         with ldil/ldo/depdi instruction sequence on 64-bit hosts.
3516         * pa.md: New addmove pattern for adding constant_int to HImode
3517         register and moving result to HImode register.  Remove HImode HIGH
3518         and LO_SUM patterns.
3520 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3522         * Makefile.in: Update.
3523         * c-decl.c (print_lang_decl, print_lang_type): Remove.
3524         (print_lang_identifier): Rename c_print_identifier.
3525         * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3526         (print_lang_statistics, lang_print_xnode): Remove.
3527         * c-parse.in (set_yydebug): Rename c_set_yydebug.
3528         * c-tree.h (c_set_yydebug, c_print_identifier): New.
3529         * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
3530         LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
3531         LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
3532         LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
3533         (LANG_HOOKS_INITIALIZER): Update.
3534         * langhooks.h (struct lang_hooks): New members.
3535         (lang_print_tree_hook): New.
3536         * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
3537         * print-tree.c: Include langhooks.h.
3538         (print_node): Update.
3539         * toplev.c (decode_d_option): Update.
3540         * tree.c: Include langhooks.h.
3541         (dump_tree_statistics): Update.
3542         * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
3543         print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
3544 objc:
3545         * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
3546         LANG_HOOKS_SET_YYDEBUG): Override.
3547         (lang_print_xnode, print_lang_statistics): Remove.
3549 2001-11-09  Richard Henderson  <rth@redhat.com>
3551         * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
3552         on the symbol string.
3554 2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3556         * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
3557         ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
3558         * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
3560         * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
3562         * tlink.c (recompile_files): Copy strings passed to `putenv'.
3564 2001-11-09  Geoffrey Keating  <geoffk@redhat.com>
3566         * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
3567         (TYPE_READONLY): Likewise.
3569         * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
3571         * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
3572         don't pass --gdwarf2 to the assembler if the compiler will also
3573         provide debug info.
3575         * config/stormy16/stormy16.c (xstormy16_expand_casesi):
3576         Don't change INDEX.
3578 Fri Nov  9 17:51:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3580         * alias.c (nonoverlapping_memrefs_p): New function.
3581         (true_dependence, canon_true_depenence, write_dependence_p): Call it.
3583         * emit-rtl.c (set_mem_attributes): Get alignments for constants.
3585 2001-11-09  Aldy Hernandez  <aldyh@redhat.com>
3587         * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
3588         (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
3589         generating altivec code.
3590         (FIXED_REGISTERS): VRSAVE is fixed.
3591         (CALL_USED_REGISTERS): VRSAVE is call used.
3593 2001-11-09  Jason Eckhardt  <jle@rice.edu>
3595         * config/mips/mips.c (mips_output_conditional_branch): Do not hard
3596         code the branch target as ".+16/.+12", but rather use labels.
3598 Fri Nov  9 11:27:42 2001  Jeffrey A Law  (law@cygnus.com)
3600         * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
3601         to work around limitations of certain versions of GAS.
3603         * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
3604         (muldi3): Update due to SUBREG_BYTE changes.
3605         (casesi): Similarly.
3607 2001-11-09  Zack Weinberg  <zack@codesourcery.com>
3609         * doc/invoke.texi: Remove comment referring to -xf77-version.
3611 2001-11-09  Kazu Hirata  <kazu@hxi.com>
3613         * config/convex/convex.c: Fix comment formatting.
3614         * config/convex/convex.h: Likewise.
3616 2001-11-08  Zack Weinberg  <zack@codesourcery.com>
3618         * Makefile.in (.po.pox): Look both in srcdir and builddir
3619         for $(PACKAGE).pot.
3620         (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
3621         to the source directory.
3623 2001-11-09 Ben Elliston  <bje@redhat.com>
3624            Michael Meissner  <meissner@redhat.com>
3625            Andrew MacLeod  <amacleod@redhat.com>
3626            Richard Henderson  <rth@redhat.com>
3627            Nick Clifton  <nickc@redhat.com>
3628            Catherine Moore  <clm@redhat.com>
3630         * m32r.c: Add support for m32rx processor.
3631         * m32r.h: Ditto.
3632         * m32r.md: Ditto.
3633         * t-m32r: Ditto.
3634         * m32r-protos.h: Add prototypes for m32rx functions.
3635         * doc/invoke.texi: Document -m32rx option.
3637 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
3639         * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
3640         or after reload.
3642 2001-11-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3644         * doc/install.texi2html: Use $MAKEINFO --no-split.
3646 2001-11-09  Andreas Schwab  <schwab@suse.de>
3648         * Makefile.in ($(HOST_PREFIX_1)rtl.o,
3649         $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
3650         $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
3651         $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
3652         $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
3654 2001-11-09  H.J. Lu <hjl@gnu.org>
3656         * config/mips/mips.c (mips_output_function_prologues): Cast
3657         `tsize' to long for output.
3659 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3661         * c-lang.c (LANG_HOOKS_NAME): New.
3662         (lang_hooks): Constify.
3663         (c_init_options): Update.
3664         (lang_identify): Remove.
3665         * c-parse.in (language_string): Remove.
3666         * dbxout.c: Include langhooks.h.
3667         (dbxout_symbol_location): Update.
3668         * dwarf2out.c: Include langhooks.h.
3669         (gen_compile_unit_die): Update.
3670         * dwarfout.c: Include langhooks.h.
3671         (prototyped_attribute, output_compile_unit_die): Update.
3672         * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
3673         (LANG_HOOKS_INITIALIZER): Update.
3674         * langhooks.h (struct lang_hooks): New members.  Constify.
3675         * stringpool.c: Don't include toplev.h.
3676         (set_identifier_size): Remove.
3677         * toplev.c (toplev_main): Initialize identifier size.
3678         (print_version): Update.
3679         * tree.h (language_string, init_lex, lang_identify,
3680         set_identifier_size): Remove.
3681         * Makefile.in: Update dependencies.
3682         * config/darwin.c: Include langhooks.h.
3683         (func_name_maybe_scoped): Update.
3684         * config/darwin.h (ASM_END_FILE): Update.
3685         * config/nextstep.h (ASM_END_FILE): Update.
3686         * config/nextstep21.h (ASM_END_FILE): Update.
3687         * config/i386/sun386.h (ASM_END_FILE): Update.
3688         * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
3689         (rs6000_output_function_epilogue): Update.
3690 objc:
3691         * objc-act.c (LANG_HOOKS_NAME): Override.
3692         (struct lang_hooks): Constify.
3693         (objc_init_options): Update.
3694         (lang_identify): Remove.
3696 Fri Nov  9 00:25:18 EST 2001  John Wehle  (john@feith.com)
3698         * fold-const.c (lshift_double): Honor PREC.
3699         (rshift_double): Likewise.
3701 2001-11-08  Kazu Hirata  <kazu@hxi.com>
3703         * config/1750a/1750a.c: Fix comment formatting.
3704         * config/1750a/1750a.h: Likewise.
3706 2001-11-08  Phil Edwards  <pedwards@disaster.jaj.com>
3708         * configure.in (--enable-languages): Be more permissive about
3709         syntax.  Check for empty lists better.  Warn about $LANGUAGES.
3710         * configure: Regenerated.
3712 2001-11-08  Richard Henderson  <rth@redhat.com>
3714         * dwarf2asm.c (dw2_force_const_mem): Fix typo.
3716 2001-11-08  Geoffrey Keating  <geoffk@redhat.com>
3718         * config.gcc: Rename stormy16 to xstormy16.
3719         * config/stormy16/stormy-abi: Likewise.
3720         * config/stormy16/stormy16-protos.h: Likewise.
3721         * config/stormy16/stormy16.c: Likewise.
3722         * config/stormy16/stormy16.h: Likewise.
3723         * config/stormy16/stormy16.md: Likewise.
3725 2001-11-06  Geoffrey Keating  <geoffk@redhat.com>
3727         * tree.h (TYPE_VOLATILE): Add enable-checking code.
3728         (TYPE_READONLY): Likewise.
3730 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3732         * reload1.c (reload): Don't delete equiv insn if can throw.
3734         * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
3735         (clear_storage): Likewise, for OBJECT.
3737 Thu Nov  8 16:23:51 2001  Jeffrey A Law  (law@cygnus.com)
3739         * pa.c (emit_move_sequence): Fix SUBREG expression to
3740         use proper byte offset when extending a constant from
3741         SImode to DImode.
3743 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
3745         * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
3746         which cannot throw.
3748 Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3750         * explow.c (convert_memory_address, case SUBREG): Only return
3751         inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
3753 2001-11-08  Richard Henderson  <rth@redhat.com>
3755         * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
3756         (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
3757         (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
3759 2001-11-08  Aldy Hernandez  <aldyh@redhat.com>
3761         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
3763 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
3765         * dwarf2out.c (debug_str_hash): New.
3766         (struct indirect_string_node): New.
3767         (struct dw_val_struct): Change type of val_str to it.
3768         (DEBUG_STR_SECTION_FLAGS): Define.
3769         (add_AT_string): Push string into hashtable, increment reference
3770         counter.
3771         (AT_string): Return string from ht_identifier.
3772         (AT_string_form): New.
3773         (free_AT): For dw_val_class_str, just decrement reference counter.
3774         (size_of_string): Remove.
3775         (size_of_die): Use AT_string_form to decide what size the string
3776         occupies in DIE.
3777         (size_of_pubnames): Use strlen instead of size_of_string.
3778         (value_format): Use AT_string_form for dw_val_class_str.
3779         (output_die): Output DW_FORM_strp strings using
3780         dw2_asm_output_offset.
3781         (indirect_string_alloc, output_indirect_string): New.
3782         (dwarf2out_finish): Emit .debug_str strings if there are any.
3784 2001-11-08  Andreas Franck  <afranck@gmx.de>
3786         * configure.in: Add AC_ARG_PROGRAM to support program name
3787         transformation with --program-prefix, --program-suffix and
3788         --program-transform-name.
3789         * configure: Regenerated.
3790         * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
3791         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
3792         GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
3793         PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
3794         program_transform_name the way suggested by autoconf.
3795         (GCC_TARGET_INSTALL_NAME): Define.
3796         (install-driver): Use the transformed target alias name.
3798 2001-11-08  Richard Henderson  <rth@redhat.com>
3800         * config/mips/mips.c (save_restore_insns): Remove GP from the
3801         restore registers mask early instead of special casing it inside
3802         the loop.
3804 2001-11-08  Neil Booth  <neil@daikokuya.demon.co.uk>
3806         * cp/decl.c (shadow_warning): New function.
3807         (pushdecl): Improve -Wshadow warnings.  Don't give both a warning
3808         and an error when a block scope decl shadows a parameter.
3810 2001-11-08  Richard Henderson  <rth@redhat.com>
3812         * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
3813         case as well.
3815 2001-11-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3817         * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
3818         to implement floating negation on processors prior to PA 2.0.
3820 2001-11-08  Jakub Jelinek  <jakub@redhat.com>
3822         * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
3823         (USE_LINKONCE_INDIRECT): Define.
3824         (dw2_output_indirect_constant_1): Try to output indirect constants
3825         into linkonce sections if possible.
3826         (dw2_force_const_mem): Likewise.  Register indirect_pool with GGC.
3827         (dw2_output_indirect_constants): Likewise.
3829 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3831         * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
3833 2001-11-07  Neil Booth  <neil@daikokuya.demon.co.uk>
3835         * c-decl.c (pushdecl): Remove file and line.
3836         * c-typeck.c (pop_init_level): Remove size.
3838 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3840         * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
3841         for rs6000.
3843         * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
3844         (TARGET_ALTIVEC): New.
3845         (TARGET_SWITCHES): Add altivec.
3846         (FIRST_PSEUDO_REGISTER): Change to 109.
3847         (CALL_USED_REGISTERS): Same.
3848         (FIRST_ALTIVEC_REGNO): New.
3849         (LAST_ALTIVEC_REGNO): New.
3850         (ALTIVEC_REGNO_P): New.
3851         (UNITS_PER_ALTIVEC_WORD): New.
3852         (ALTIVEC_VECTOR_MODE): New.
3853         (FIXED_REGISTERS): Add altivec registers.
3854         (REG_ALLOC_ORDER): Same.
3855         (HARD_REGNO_NREGS): Adjust for altivec registers.
3856         (HARD_REGNO_MODE_OK): Same.
3857         (MODES_TIEABLE_P): Same.
3858         (REGISTER_MOVE_COST): Same.
3859         (REGNO_REG_CLASS): Same.
3860         (reg_class): Add ALTIVEC_REGS.
3861         (REG_CLASS_NAMES): Same.
3862         (REG_CLASS_CONTENTS): Same.
3863         (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
3864         (ALTIVEC_ARG_RETURN): New.
3865         (FUNCTION_VALUE): Handle VECTOR_TYPE.
3866         (LIBCALL_VALUE): Handle altivec vector modes.
3867         (VECTOR_MODE_SUPPORTED_P): New.
3868         (ALTIVEC_ARG_MIN_REG): New.
3869         (ALTIVEC_ARG_MAX_REG): New.
3870         (ALTIVEC_ARG_NUM_REG): New.
3871         (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
3872         (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
3873         (REGISTER_NAMES): Add altivec regs.
3874         (DEBUG_REGISTER_NAMES): Same.
3875         (ADDITIONAL_REGISTER_NAMES): Same.
3876         (rs6000_builtins): New.
3877         (MD_EXPAND_BUILTIN): New.
3878         (MD_INIT_BUILTINS): New.
3879         (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
3880         for AltiVec instructions.
3881         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
3882         (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
3883         registers.
3884         (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
3885         (TARGET_SWITCHES): Add no-altivec.
3886         (DATA_ALIGNMENT): Align vectors to 128 bits.
3887         (TARGET_OPTIONS): Add abi= option.
3888         Add rs6000_abi_string extern.
3889         (LOCAL_ALIGNMENT): New.
3890         (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
3891         (MASK_ALTIVEC_ABI): New.
3892         (TARGET_ALTIVEC_ABI): New.
3893         (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
3894         call-saved.
3895         (STACK_BOUNDARY): Adjust for altivec.
3896         (BIGGEST_ALIGNMENT): Same.
3897         (rs6000_args): Add vregno.
3898         (USE_ALTIVEC_FOR_ARG_P): New.
3899         (FIXED_REGISTERS): Add vrsave register.
3900         (CALL_USED_REGISTERS): Same.
3901         (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
3902         (VRSAVE_REGNO): New.
3903         (reg_class): Add VRSAVE_REGS.
3904         (REG_CLASS_NAMES): Same.
3905         (REG_CLASS_CONTENTS): Same.
3906         (REGNO_REG_CLASS): Same.
3908         * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
3909         (ABI_STACK_BOUNDARY): Same.
3910         (BIGGEST_ALIGNMENT): Same.
3911         (ADJUST_FIELD_ALIGN): Remove undef.  Define anew.
3912         (ROUND_TYPE_ALIGN): Same.
3914         * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3915         to 64.
3917         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3918         to 64.
3920         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
3921         to 64.
3923         * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
3924         (altivec_expand_builtin): New.
3925         (altivec_init_builtins): New.
3926         (TARGET_EXPAND_BUILTIN): New.
3927         (TARGET_INIT_BUILTINS): New.
3928         (rs6000_init_builtins): New.
3929         (struct builtin_description): New.
3930         (bdesc_2arg): New.
3931         (rs6000_reg_names): Add altivec registers.
3932         (alt_reg_names): Same.
3933         (secondary_reload_class): Altivec regs can hold altivec regs and
3934         memory.
3935         (rs6000_emit_move): Force constants into memory for AltiVec moves.
3936         (print_operand): Add 'y' case for printing altivec memory
3937         operands.
3938         (rs6000_legitimize_address): Legitimize vector addresses into
3939         [REG+REG] or [REG].
3940         (altivec_expand_binop_builtin): New.
3941         New string rs6000_current_abi.
3942         (rs6000_override_options): Call rs6000_parse_abi_options.
3943         (rs6000_parse_abi_options): New.
3944         (function_arg_boundary): Vector arguments must be 16
3945         byte aligned.
3946         (function_arg_advance): Handle vector arguments.
3947         (function_arg_partial_nregs): Same.
3948         (init_cumulative_args): Same.
3949         (function_arg): Same.
3951         * config/rs6000/rs6000.md (altivec_lvx): New.
3952         (type): Add altivec attribute.
3953         (movv4si): New.
3954         (*movv4si_internal): New.
3955         (movv16qi): New.
3956         (*movv16qi_internal): New.
3957         (movv8hi): New.
3958         (*movv8hi_internal1): New.
3959         (movv4sf): New.
3960         (*movv4sf_internal1): New.
3961         (altivec_stvx): New.
3962         (vaddubm): New.
3963         (vadduhm): New.
3964         (vadduwm): New.
3965         (vaddfp): New.
3966         (vaddcuw): New.
3967         (vaddubs): New.
3968         (vaddsbs): New.
3969         (vadduhs): New.
3970         (vaddshs): New.
3971         (vadduws): New.
3972         (vaddsws): New.
3973         (vand): New.
3974         (vandc): New.
3975         (vavgub): New.
3976         (vavgsb): New.
3977         (vavguh): New.
3978         (vavgsh): New.
3979         (vavguw): New.
3980         (vavgsw): New.
3981         (vcmpbfp): New.
3982         (vcmpequb): New.
3983         (vcmpequh): New.
3984         (vcmpequw): New.
3985         (vcmpeqfp): New.
3986         (vcmpgefp): New.
3987         (vcmpgtub): New.
3988         (vcmpgtsb): New.
3989         (vcmpgtuh): New.
3990         (vcmpgtsh): New.
3991         (vcmpgtuw): New.
3992         (vcmpgtsw): New.
3993         (vcmpgtfp): New.
3994         (vcmpgefp): New.
3995         (vcmpgtub): New.
3996         (vcmpgtsb): New.
3997         (vcmpgtuh): New.
3998         (vcmpgtsh): New.
3999         (vcmpgtuw): New.
4000         (vcmpgtsw): New.
4001         (vcmpgtfp): New.
4002         (vmaxub): New.
4003         (vmaxsb): New.
4004         (vmaxuh): New.
4005         (vmaxsh): New.
4006         (vmaxuw): New.
4007         (vmaxsw): New.
4008         (vmaxfp): New.
4009         (vmrghb): New.
4010         (vmrghh): New.
4011         (vmrghw): New.
4012         (vmrglb): New.
4013         (vmrglh): New.
4014         (vmrglw): New.
4015         (vminub): New.
4016         (vminsb): New.
4017         (vminuh): New.
4018         (vminsh): New.
4019         (vminuw): New.
4020         (vminsw): New.
4021         (vminfp): New.
4022         (vmuleub): New.
4023         (vmulesb): New.
4024         (vmuleuh): New.
4025         (vmulesh): New.
4026         (vmuloub): New.
4027         (vmulosb): New.
4028         (vmulouh): New.
4029         (vmulosh): New.
4030         (vnor): New.
4031         (vor): New.
4032         (vpkuhum): New.
4033         (vpkuwum): New.
4034         (vpkpx): New.
4035         (vpkuhss): New.
4036         (vpkshss): New.
4037         (vpkuwss): New.
4038         (vpkswss): New.
4039         (vpkuhus): New.
4040         (vpkshus): New.
4041         (vpkuwus): New.
4042         (vpkswus): New.
4043         (vrlb): New.
4044         (vrlh): New.
4045         (vrlw): New.
4046         (vslb): New.
4047         (vslh): New.
4048         (vslw): New.
4049         (vsl): New.
4050         (vslo): New.
4051         (vsrb): New.
4052         (vrsh): New.
4053         (vrsw): New.
4054         (vsrab): New.
4055         (vsrah): New.
4056         (vsraw): New.
4057         (vsr): New.
4058         (vsro): New.
4059         (vsububm): New.
4060         (vsubuhm): New.
4061         (vsubuwm): New.
4062         (vsubfp): New.
4063         (vsubcuw): New.
4064         (vsububs): New.
4065         (vsubsbs): New.
4066         (vsubuhs): New.
4067         (vsubshs): New.
4068         (vsubuws): New.
4069         (vsubsws): New.
4070         (vsum4ubs): New.
4071         (vsum4sbs): New.
4072         (vsum4shs): New.
4073         (vsum2sws): New.
4074         (vsumsws): New.
4075         (vxor): New.
4077 2001-11-07  Daniel Berlin  <dan@cgsoftware.com>
4079         * Makefile.in (df.o): Add fibheap.h to dependencies.
4081         * df.h: Add prototypes for transfer functions, iterative_dataflow
4082         functions.
4083         (enum df_flow_dir): New enum.
4084         (enum df_confluence_op): New enum.
4085         (struct df): Add inverse_rts_map.
4087         * df.c: Add sbitmap.h to the list of includes.
4088         (df_rd_global_compute): Removed.
4089         (df_ru_global_compute): Removed.
4090         (df_lr_global_compute): Removed.
4091         (df_rd_transfer_function): New function.
4092         (df_ru_transfer_function): New function.
4093         (df_lr_transfer_function): New function.
4094         (df_analyse_1): allocate/compute/free df->inverse_rts_map.
4095         Use iterative_dataflow_bitmap instead of df_*_global_compute.
4096         (iterative_dataflow_sbitmap): New function.
4097         (iterative_dataflow_bitmap): New function.
4099 2001-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
4101         * doc/gcc.texi: Move terminology and spelling conventions to
4102         htdocs/codingconventions.html.
4104 2001-11-07  Graham Stott  <grahams@redhat.com>
4106         * cse.c (cse_insn): Emit BARRIER after unconditional jump.
4108 Wed Nov  7 13:33:34 CET 2001  Jan Hubicka  <jh@suse.cz>
4110         * expmed.c (expand_mult): Force operand to register before computing
4111         cost.
4112         * i386.c (x86_decompose_lea): New global vairable.
4113         * i386.h (x86_decompose_lea): Declare.
4114         (TARGET_DECOMPOSE_LEA): New macro.
4115         (RTX_COST): Handle leas properly.
4117 2001-11-06  Richard Henderson  <rth@redhat.com>
4119         * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
4120         defined for a CONSTRUCTOR; don't check it.
4122 2001-11-06  Danny Smith  <dannysmith@users.sourceforge.net>
4124         * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
4125         test for absolute pathnames.
4127 2001-11-06  Olivier Hainque <hainque@act-europe.fr>
4129         * unwind-dw2.c (execute_cfa_program): Evaluate call frame
4130         instructions up to the target pc inclusive.
4132 2001-11-06  Steve Christiansen  <smc@us.ibm.com>
4134         * loop.c (loop_regs_scan):  Don't invalidate PIC register.
4136 2001-11-06  Eric Christopher  <echristo@redhat.com>
4138         * config/mips/mips.md(movdf_internal2): Add constraints for float
4139         to general register move.
4140         * config/mips/elf64.h: Add default ABI.
4142 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
4144         * alias.c:: Include langhooks.h.
4145         * emit-rtl.c: Similarly.
4146         * toplev.c: Similarly.
4147         * tree-inline.c: Similarly.
4148         * langhooks-def.h: New, the old langhooks.h.  Give the default
4149         hooks a common prefix.
4150         * langhooks.h: Contents extracted from toplev.h.
4151         * toplev.h: Move langhook stuff to langhooks.h.
4152         * langhooks.c: Give default hooks a common prefix.
4154         * c-lang.c: Include langhooks-def.h.
4155         * objc/objc-act.c: Similarly.
4156         * Makefile.in: Update.
4157         * objc/Make-lang.in: Update.
4159 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
4161         * doc/install.texi: Document that configure options not listed in
4162         this file are unsupported.  Document --with-system-zlib.
4164 Tue Nov  6 09:21:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4166         * rtl.h (mem_for_const_double): New declaration.
4167         * varasm.c (mem_for_const_double): New function.
4168         * config/convex/convex.md (movdf): Use it.
4169         * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
4170         * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
4171         * config/m68k/m68kv4.h: Likewise.
4173         * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
4174         of new GP reg classes.
4176         * expr.c (store_field): When making temp object for unaligned
4177         component, set it to alias set 0.
4179 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
4181         * c-common.c (c_expand_expr_stmt): Apply default conversions to
4182         non-lvalue arrays if C99.
4183         * c-typeck.c (default_conversion): Split out code handling
4184         array-to-pointer and function-to-pointer conversions into a
4185         separate default_function_array_conversion function.
4186         (default_function_array_conversion): New function.  Keep track of
4187         whether any NON_LVALUE_EXPRs were stripped.  Return non-lvalue
4188         arrays unchanged outside C99 mode instead of giving an error for
4189         them.
4190         (build_component_ref): Use pedantic_non_lvalue when handling
4191         COMPOUND_EXPR.  Don't handle COND_EXPR specially.
4192         (convert_arguments): Use default_function_array_conversion.
4193         (build_unary_op): For ADDR_EXPR, take a flag indicating whether
4194         non-lvalues are OK.
4195         (unary_complex_lvalue): Likewise.
4196         (internal_build_compound_expr): Use
4197         default_function_array_conversion.  Apply default conversions to
4198         function in compound expression.
4199         (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
4200         Use default_function_array_conversion.
4201         * doc/extend.texi: Update documentation of subscripting non-lvalue
4202         arrays.
4203         Fixes PR c/461.
4205 2001-11-05  Zack Weinberg  <zack@codesourcery.com>
4207         * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
4208         (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
4209         corresponding to the complete set of .po and .gmo files in
4210         the source directory's po subdir, modified by LINGUAS.  Don't
4211         look at ALL_LINGUAS.
4212         * configure.in: Don't set ALL_LINGUAS.
4213         * configure: Regenerate.
4215         * Makefile.in (.po.gmo): Don't move into source directory.
4216         (.po.pox): Clarify comments.
4217         (install-po): Look for .gmo files in both srcdir and objdir;
4218         don't fail if a file is totally missing.
4219         (distclean): rmdir ada subdirectory too.
4221 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
4223         * config/rs6000/rs6000.c (rs6000_select_section): Handle
4224         CONSTRUCTORs _correctly_.
4226 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
4228         * c-decl.c (delete_block): Remove.
4229         * c-tree.h (delete_block): Remove.
4231 2001-11-05  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
4233         * cppexp.c (lex, parse_defined): Update warning about defined.
4235 2001-11-05  Geoffrey Keating  <geoffk@redhat.com>
4237         * config/rs6000/rs6000.c (rs6000_select_section): Handle
4238         CONSTRUCTORs too.
4240 2001-11-05  Nick Clifton  <nickc@cambridge.redhat.com>
4242         * config/arm/arm.c (arm_return_in_memory): Cope with
4243         int_size_in_bytes returning -1.
4245         * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
4246         DECL being NULL.
4248 Mon Nov  5 16:15:25 CET 2001  Jan Hubicka  <jh@suse.cz>
4250         * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
4251         remove unneeded dependencies;
4252         (cfglayout.o): New.
4253         * cfglayout.c, cfglayout.h: New files; break out from ...
4254         * bb-reorder.c: ... here; Remove unneeded includes;
4256 2001-11-04  Alan Modra  <amodra@bigpond.net.au>
4258         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
4260 2001-11-04  David Edelsohn  <edelsohn@gnu.org>
4262         * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
4263         mode as well.  Do not explicitly create intermediate regs.
4265 2001-11-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4267         * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
4268         (common_section): Delete unused variable.
4269         (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
4270         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4271         * arm-protos.h (arm_poke_function_name, aof_add_import,
4272         aof_delete_import): Const-ify.
4273         * arm.c (legitimize_pic_address): Wrap variables in the macro
4274         controlling their usage.
4275         (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
4276         (arm_poke_function_name, pic_chain, import, aof_add_import,
4277         aof_delete_import): Const-ify.
4278         * i386.c (ix86_osf_output_function_prologue): Const-ify.
4279         * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4280         ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
4281         * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
4282         * i860/sysv3.h: Add missing comment closure.
4283         * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
4284         * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
4285         to symbolic_operand.
4287         * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
4288         (i960-*-*): Set tmake_file.
4289         (sparc86x-*-elf*): Fix typo in header name.
4291         * sched-rgn.c (schedule_insns): Delete unused variable.
4293 2001-11-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
4295         PR c/2820
4296         * c-typeck.c (lookup_field): Rework to return a chain down to
4297         the looked-up field.
4298         (build_component_ref): Use the new lookup_field to handle
4299         nested anonymous entities correctly.
4301 Sun Nov  4 11:53:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4303         * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
4304         Change parameters to gen_rtx_CONST_DOUBLE.
4305         (GEN_INT64, sparc_emit_set_const64): Likewise.
4306         * config/sparc/sparc.md (movdf split): Likewise.
4308 2001-11-03  Geoffrey Keating  <geoffk@redhat.com>
4310         * unroll.c (calculate_giv_inc): Use find_last_value rather
4311         than just hoping the last instruction is the right SET.
4312         [Fixes 990604-1.c on stormy16.]
4314         * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
4315         library at all if -T is used.
4317         * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
4318         some uses of uninitialized variables in error cases.
4320         * config/stormy16/stormy16.c (stormy16_output_shift): Don't
4321         look at 'temp' if we won't be using it.
4323         * config/stormy16/stormy16.h (CONST_COSTS): Define.
4324         (RTX_COSTS): Define.
4325         (ADDRESS_COST): Define.
4326         (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
4328         * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
4330         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
4331         stormy16_asm_output_mi_thunk.
4332         * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
4333         function.
4334         * config/stormy16/stormy16-protos.h
4335         (stormy16_asm_output_mi_thunk): New prototype.
4337 2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
4339         * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
4340         FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
4341         caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
4342         cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
4343         sched-int.h, toplev.c, config/alpha/alpha.c,
4344         config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
4345         config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
4346         config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
4347         config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
4348         config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
4349         config/ns32k/ns32k.md, config/rs6000/rs6000.c,
4350         config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
4352 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4354         * Makefile.in (dbxout.o): Depend on function.h.
4355         * collect2.c (is_in_list): Hide unused function.
4356         * dbxout.c: Include function.h.
4357         (source_label_number, dbxout_source_line, dbxout_source_file,
4358         dbxout_function_end, dbxout_begin_function): Wrap/move inside
4359         macros controlling usage.
4360         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
4361         * output.h (exports_section): Prototype.
4363         * convex.c (convex_output_function_prologue): Fix format specifier
4364         warning.
4365         (asm_declare_function_name): Fix signed/unsigned warning.
4366         (print_operand): Fix format specifier warning.
4367         * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
4368         * dsp16xx-protos.h (uns_comparison_operator,
4369         num_1600_core_shifts): Prototype.
4370         * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
4371         (frame_size, frame_pointer_offset): Delete.
4372         (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
4373         Make static.  Fix format specifier warnings.
4374         * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
4375         (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
4376         * dsp16xx.md: Add default case in switches.
4377         * fr30.h (IN_RANGE): Delete.
4378         * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
4379         * mcore-protos.h (mcore_output_cmov): Const-ify.
4380         * mcore.c (mcore_output_cmov): Likewise.
4381         * mcore.h (switch_to_section): Make static and prototype.
4382         * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
4383         unsigned>=0 warnings.
4384         * mn10300.h (REGNO_IN_RANGE_P): Likewise.
4385         * rs6000-protos.h (read_only_data_section,
4386         read_only_private_data_section): Prototype.
4387         * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4388         * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
4389         * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
4391 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4393         * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
4394         ATTRIBUTE_UNUSED.
4395         * final.c (final_scan_insn): Add brackets around body of if-stmt.
4396         * gcc.c (convert_filename): Add static prototype.  Const-ify.
4397         Wrap variable in macros controlling its use.
4398         * output.h (sdata_section): Add prototype.
4400         * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4401         (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
4402         * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
4403         (ASM_FILE_START): Const-ify.
4404         (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
4405         specifier warning.
4406         * c4x.md: Don't use the 'U' integer suffix.
4407         * clipper.md (clipper_movstr): Delete declaration.
4408         * d30v-protos.h (d30v_move_2words): Const-ify.
4409         (debug_stack_info): Add prototype.
4410         * d30v.c: Include "integrate.h".
4411         (d30v_function_arg_boundary, d30v_function_arg,
4412         d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
4413         signed/unsigned warnings.
4414         (d30v_print_operand_memory_reference, d30v_move_2words):
4415         Const-ify.
4416         * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
4417         * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
4418         * fr30.md: Const-ify.
4419         * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4420         * i370.c (i370_label_scan, mvs_get_label): Make definition static.
4421         (mvs_get_label_page): Hide unused static function.
4422         * i860.c (current_function_original_name): Const-ify.
4423         * i860/sysv3.h (current_function_original_name): Likewise.
4424         * i860/sysv4.h (current_function_original_name): Likewise.
4425         * i960.md: Add default case in switches.  Remove unused variable.
4426         * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
4427         * m32r.md: Const-ify.
4428         * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
4429         * m68hc11.c: Include "reload.h".
4430         (static_chain_reg, print_options, m68hc11_asm_file_start):
4431         Const-ify.
4432         * m68hc11.md: Delete unused variable.  Const-ify.  Add parens
4433         around & in comparison.
4434         * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
4435         * mn10200.c (shift_mode): Remove trailing comma.
4436         * mn10300-protos.h (output_tst): Const-ify.
4437         * mn10300.c (output_tst): Likewise.
4438         * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
4439         warnings.
4440         * pa-protos.h (output_ascii): Use regular char *, not unsigned.
4441         * pa.c (output_ascii): Likewise.
4442         * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
4443         * pdp11.md (expand_unop): Delete declarations.
4444         * pj-protos.h (pj_output_addsi3): Const-ify.
4445         * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
4446         pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
4447         unique_src_operand): Add prototypes.
4448         (pj_output_store_into_lval): Make definition static.
4449         (pj_function_incoming_arg): Don't use unary plus.
4450         (pj_output_addsi3): Const-ify.
4451         * romp.md (get_symref): Delete declarations.
4452         * v850-c.c (mark_current_function_as_interrupt): Don't return
4453         value from void function.
4454         * v850.c: Include "integrate.h".
4455         * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
4456         * vax-protos.h (const_section): Add prototype.
4458 2001-11-03  Aldy Hernandez  <aldyh@redhat.com>
4460         * machmode.def: Add documentation for the seventh argument in
4461         vector modes.
4463 2001-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
4465         * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
4466         consistently.
4467         <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
4468         <-melf>: Don't have markup for ELF acronym.
4470 2001-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
4472         * config.gcc (mmix-*-*): New target.
4473         * doc/invoke.texi: Document MMIX options.
4474         * doc/contrib.texi: Add note about MMIX port to my entry.
4475         * config/mmix/t-mmix: New file.
4476         * config/mmix/mmix.h: New file.
4477         * config/mmix/mmix-protos.h: New file.
4478         * config/mmix/mmix.c: New file.
4479         * config/mmix/mmix.md: New file.
4480         * config/mmix/crti.asm: New file.
4481         * config/mmix/crtn.asm: New file.
4483 2001-11-03  Kazu Hirata  <kazu@hxi.com>
4485         * config/sparc/linux-aout.h: Fix comment formatting.
4486         * config/sparc/linux.h: Likewise.
4487         * config/sparc/linux64.h: Likewise.
4488         * config/sparc/lynx.h: Likewise.
4489         * config/sparc/pbd.h: Likewise.
4490         * config/sparc/sol2-sld-64.h: Likewise.
4491         * config/sparc/sol2.h: Likewise.
4492         * config/sparc/sparc.c: Likewise.
4493         * config/sparc/sparc.h: Likewise.
4494         * config/sparc/sparc.md: Likewise.
4495         * config/sparc/sunos4.h: Likewise.
4496         * config/sparc/vxsim.h: Likewise.
4497         * config/sparc/vxsparc.h: Likewise.
4498         * config/sparc/vxsparc64.h: Likewise.
4500 Sat Nov  3 10:37:56 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4502         * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
4503         reference to CONST_DOUBLE_MEM in comment.
4504         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
4505         (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
4506         (init_emit_once): Don't clear CONST_DOUBLE_MEM.
4507         * function.c (pop_function_context_from): Don't call
4508         restore_varasm_status.
4509         * function.h (restore_varasm_status): Delete declaration.
4510         * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
4511         * rtl.c: Likewise.
4512         * rtl.def (CONST_DOUBLE): Update comment.
4513         * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
4514         (CONST_DOUBLE_CHAIN): Likewise.
4515         (CONST_DOUBLE_MEM): Delete.
4516         (gen_rtx_CONST_DOUBLE): Update parameters.
4517         * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
4518         Remove reference to CONST_DOUBLE_MEM.
4519         (const_alias_set): New variable.
4520         (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
4521         (immed_real_const_1): Adjust tests for 0, 1, and 2.
4522         Don't set CONST_DOUBLE_MEM.
4523         (clear_const_double_mem): Don't do anything with const_tiny_rtx.
4524         (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
4525         Put constant in const_alias_set.
4526         (struct pool_constant): ALIGN now unsigned.
4527         OFFSET now HOST_WIDE_INT.
4528         Delete LABEL.
4529         (restore_varasm_status): Deleted.
4530         (mark_pool_constant): Mark desc->rtl.
4531         (force_const_mem): Rework to store rtl in hash table,
4532         not CONST_DOUBLE_MEM.
4533         Put constant in const_alias_set.
4534         (find_pool_constant): Check desc->rtl.
4535         (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
4536         (init_varasm_once): Initialize const_alias_set.
4538         * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
4539         force_const_mem.
4541         * reload.c (combine_reloads): Don't combine an output reload if there
4542         are other reloads around for part of the output.
4544         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
4545         constant expression.
4546         (set_mem_decl): New function.
4547         * expr.h (set_mem_decl): New declaration.
4548         * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
4549         (output_asm_operand_names): Add tab.
4550         * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
4552         * builtins.c (get_memory_rtx): Properly set MEM alias set and
4553         attributes.
4555 2001-11-03  Joseph S. Myers  <jsm28@cam.ac.uk>
4557         * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
4558         Use "invalid" instead of "illegal".  Use @r in comments in
4559         examples.
4561 2001-11-02  Neil Booth  <neil@daikokuya.demon.co.uk>
4563         * c-decl.c (pushdecl): Move block inside if conditional to remove
4564         possibility of a segfault.  Lookup block-level extern
4565         variables in enclosing scopes correctly.
4567         * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
4569 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
4571         * expmed.c (store_bit_field): Use simplify_gen_subreg to make
4572         SUBREG so we avoid SUBREGing memory.
4574         * expmed.c (store_bit_field): Same.
4576 2001-11-02  DJ Delorie  <dj@redhat.com>
4578         * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
4579         using FP registers for DImode mem-mem moves is acceptable.
4581 2001-11-02  Aldy Hernandez  <aldyh@redhat.com>
4583         * builtins.c (apply_args_size): Handle vector arguments.
4584         (apply_result_size): Same.
4586         * machmode.def: Set WIDER mode field for all vector entries.
4588 2001-11-02  Graham Stott  <grahams@redhat.com>
4590         * recog.c (decode_asm_operands):  Check that the SRC is ASM_OPERANDS.
4592 2001-11-01  Eric Christopher  <echristo@redhat.com>
4594         * config.gcc: Revert part of earlier patch.
4595         * config/mips/linux.h: Ditto.
4596         * df.c: Include tm_p.h to avoid warnings.
4597         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
4598         #if/#endif.
4599         * config/mips/mips.c: Define mips_abi regardless.
4600         (mips_output_function_prologues): Add long casts for .frame
4601         output.
4602         (override_options): Allow use of ABI_32.
4604 2001-11-01  Kazu Hirata  <kazu@hxi.com>
4606         * config/m68hc11/m68hc11.c: Fix comment formatting.
4607         * config/m68hc11/m68hc11.h: Likewise.
4608         * config/m68hc11/m68hc11.md: Likewise.
4610 2001-11-01  Neil Booth  <neil@daikokuya.demon.co.uk>
4612         * c-typeck.c (default_conversion): Retain the original expression
4613         codes.
4614         * gcc.dg/Wparentheses.c: New tests.
4616 2001-11-01  David S. Miller  <davem@redhat.com>
4618         * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
4619         64-bit Sparc description more in line with reality.
4621 2001-11-01  Joseph S. Myers  <jsm28@cam.ac.uk>
4623         * Makefile.in (GCOV_OBJS): Add version.o.
4624         * gcov.c: Include "version.h" and <getopt.h>.
4625         (gcov_version_string): Remove.
4626         (print_usage): Take a parameter to determine whether this is a
4627         call from --help or an error message.  Give fuller output that
4628         follows the GNU Coding Standards for --help.
4629         (print_version): New function.
4630         (options): New.
4631         (process_args): Use getopt_long.  Support long options.  Follow
4632         GNU Coding Standards for --help and --version.
4633         * doc/gcov.texi: Document long options.
4634         Addresses part of PR other/704.
4636 2001-11-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4638         * pa.c (output_move_double): Fix typo in double load.
4640 2001-11-01  Kazu Hirata  <kazu@hxi.com>
4642         * config/h8300/h8300.c (h8300_encode_label): Compute a string
4643         before passing it to ggc_alloc_string.
4645 2001-11-01  Kazu Hirata  <kazu@hxi.com>
4647         * config/m68k/3b1.h: Fix comment formatting.
4648         * config/m68k/3b1g.h: Likewise.
4649         * config/m68k/a-ux.h: Likewise.
4650         * config/m68k/amix.h: Likewise.
4651         * config/m68k/apollo68.h: Likewise.
4652         * config/m68k/atari.h: Likewise.
4653         * config/m68k/aux-exit.c: Likewise.
4654         * config/m68k/ccur-GAS.h: Likewise.
4655         * config/m68k/crds.h: Likewise.
4656         * config/m68k/dpx2.h: Likewise.
4657         * config/m68k/dpx2g.h: Likewise.
4658         * config/m68k/hp310.h: Likewise.
4659         * config/m68k/hp320.h: Likewise.
4660         * config/m68k/isi.h: Likewise.
4661         * config/m68k/linux.h: Likewise.
4662         * config/m68k/lynx.h: Likewise.
4663         * config/m68k/m68k-psos.h: Likewise.
4664         * config/m68k/m68k.c: Likewise.
4665         * config/m68k/m68k.h: Likewise.
4666         * config/m68k/m68k.md: Likewise.
4667         * config/m68k/m68kelf.h: Likewise.
4668         * config/m68k/m68kv4.h: Likewise.
4669         * config/m68k/mot3300.h: Likewise.
4670         * config/m68k/news.h: Likewise.
4671         * config/m68k/next.h: Likewise.
4672         * config/m68k/pbb.h: Likewise.
4673         * config/m68k/plexus.h: Likewise.
4674         * config/m68k/sgs.h: Likewise.
4675         * config/m68k/sun3.h: Likewise.
4676         * config/m68k/tower.h: Likewise.
4677         * config/m68k/vxm68k.h: Likewise.
4679 2001-10-31  DJ Delorie  <dj@redhat.com>
4681         * config/mips/mips.h (mips_cache_flush_func): Prototype.
4682         (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
4683         (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
4684         * config/mips/mips.c (mips_cache_flush_func): New.
4685         * doc/invoke.texi: Document the new options.
4687 2001-10-31  Hans-Peter Nilsson  <hp@axis.com>
4689         * config.gcc (cris-*-linux*, tm_file): Rearrange order.
4690         * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
4692         * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
4694         * config/cris/cris.c: Include output.h after tree.h but before
4695         target.h.
4697 2001-10-31  Zack Weinberg  <zack@codesourcery.com>
4699         * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
4700         (INTL_SUBDIRS): Just intl.
4701         (.SUFFIXES): Add .gmo .po .pox.
4702         (native): Also depend on build-@POSUB@.
4703         (intl.all, intl.install): Depend on config.h and things it includes.
4704         (po-generated): New target; depend on c-parse.c and tradcif.c.
4705         (install-normal): Also depend on install-@POSUB@.
4706         (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
4707         (build-, install-, build-po, update-po, install-po,
4708         .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
4710         * aclocal.m4: Prefix each entry in CATALOGS with "po/"
4711         * configure.in: Don't munge XGETTEXT.  Don't generate
4712         po/Makefile.in.
4713         * configure: Regenerate.
4715         * exgettext: Delete.
4716         * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
4717         * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
4719 2001-10-31  Kazu Hirata  <kazu@hxi.com>
4721         * config/h8300/h8300.md (two anonymous patterns): New.
4723 2001-10-31  Aldy Hernandez  <aldyh@redhat.com>
4725         * tree.h (tree_index): Add support for V16QI and V8HI.
4726         (V8HI_type_node): New.
4727         (V16QI_type_node): New.
4729         * tree.c (build_common_tree_nodes_2): Same.
4731         * c-common.c (type_for_mode): Same.
4733 2001-10-31  Kazu Hirata  <kazu@hxi.com>
4735         * config/i386/att.h: Fix comment formatting.
4736         * config/i386/beos-elf.h: Likewise.
4737         * config/i386/bsd.h: Likewise.
4738         * config/i386/bsd386.h: Likewise.
4739         * config/i386/crtdll.h: Likewise.
4740         * config/i386/cygwin.asm: Likewise.
4741         * config/i386/cygwin.h: Likewise.
4742         * config/i386/djgpp.h: Likewise.
4743         * config/i386/freebsd-aout.h: Likewise.
4744         * config/i386/freebsd.h: Likewise.
4745         * config/i386/gas.h: Likewise.
4746         * config/i386/i386-interix.h: Likewise.
4747         * config/i386/i386-protos.h: Likewise.
4748         * config/i386/i386.c: Likewise.
4749         * config/i386/i386.h: Likewise.
4750         * config/i386/i386.md: Likewise.
4751         * config/i386/i386elf.h: Likewise.
4752         * config/i386/interix.c: Likewise.
4753         * config/i386/isc.h: Likewise.
4754         * config/i386/isccoff.h: Likewise.
4755         * config/i386/iscdbx.h: Likewise.
4756         * config/i386/linux.h: Likewise.
4757         * config/i386/lynx.h: Likewise.
4758         * config/i386/mingw32.h: Likewise.
4759         * config/i386/netbsd-elf.h: Likewise.
4760         * config/i386/next.h: Likewise.
4761         * config/i386/osf1elf.h: Likewise.
4762         * config/i386/osfrose.h: Likewise.
4763         * config/i386/sco5.h: Likewise.
4764         * config/i386/seq-gas.h: Likewise.
4765         * config/i386/seq-sysv3.h: Likewise.
4766         * config/i386/sequent.h: Likewise.
4767         * config/i386/sol2.h: Likewise.
4768         * config/i386/sun386.h: Likewise.
4769         * config/i386/uwin.asm: Likewise.
4770         * config/i386/uwin.h: Likewise.
4771         * config/i386/vxi386.h: Likewise.
4772         * config/i386/win32.h: Likewise.
4773         * config/i386/winnt.c: Likewise.
4774         * config/i386/xm-cygwin.h: Likewise.
4775         * config/i386/xm-mingw32.h: Likewise.
4777 2001-10-31  Kazu Hirata  <kazu@hxi.com>
4779         * builtins.def: Fix comment typos.
4780         * config/alpha.c: Likewise.
4781         * config/arm/arm.c: Likewise.
4782         * config/avr/avr.h: Likewise.
4783         * config/d30v/d30v.c: Likewise.
4784         * config/d30v/d30v.h: Likewise.
4785         * config/d30v/d30v.md: Likewise.
4786         * config/dsp16xx/dsp16xx.c: Likewise.
4787         * config/fr30/fr30.c: Likewise.
4788         * config/fr30/fr30.md: Likewise.
4789         * config/i386/i386.c: Likewise.
4790         * config/i860/i860.c: Likewise.
4791         * config/i960/i960.c: Likewise.
4792         * config/ia64/ia64.c: Likewise.
4793         * config/mips/mips.c: Likewise.
4794         * config/pa/pa.c: Likewise.
4795         * config/rs6000/rs6000.c: Likewise.
4796         * config/s390/s390.c: Likewise.
4797         * config/sparc/sparc.c: Likewise.
4799 2001-10-30  Kazu Hirata  <kazu@hxi.com>
4801         * config/mips/elf.h: Fix comment formatting.
4802         * config/mips/elf64.h: Likewise.
4803         * config/mips/iris5.h: Likewise.
4804         * config/mips/iris5gas.h: Likewise.
4805         * config/mips/iris6.h: Likewise.
4806         * config/mips/isa3264.h: Likewise.
4807         * config/mips/linux.h: Likewise.
4808         * config/mips/mips.c: Likewise.
4809         * config/mips/mips.h: Likewise.
4810         * config/mips/mips.md: Likewise.
4811         * config/mips/mips16.S: Likewise.
4812         * config/mips/netbsd.h: Likewise.
4813         * config/mips/osfrose.h: Likewise.
4814         * config/mips/r3900.h: Likewise.
4815         * config/mips/sni-svr4.h: Likewise.
4816         * config/mips/svr4-t.h: Likewise.
4817         * config/mips/ultrix.h: Likewise.
4819 2001-10-30  Daniel Berlin  <dan@cgsoftware.com>
4821         * bitmap.c (bitmap_element_free): Don't forget to update head->indx
4822         when we update head->current.
4824 2001-10-30  Neil Booth  <neil@daikokuya.demon.co.uk>
4826         * tree.c (id_string_size): Remove.
4827         (dump_tree_statistics): Update.
4828         * toplev.c (compile_file): If dumping stats, dump tree stats too.
4830 Tue Oct 30 19:00:43 CET 2001  Jan Hubicka  <jh@suse.cz>
4832         * sched-rgn.c (schedule_insns): Fix comment.
4834 2001-10-30  Zack Weinberg  <zack@codesourcery.com>
4836         * configure.in: Correct previous change: don't assume that
4837         gas's version number _isn't_ the last thing on the line, or
4838         isn't the only number on the line, either.
4839         * configure: Regenerate.
4841 2001-10-30  Kazu Hirata  <kazu@hxi.com>
4843         * cfgcleanup.c: Fix a comment typo.
4845 2001-10-30  Kazu Hirata  <kazu@hxi.com>
4847         * alias.c: Fix comment formatting.
4848         * recog.c: Likewise.
4849         * config/cris/cris.c: Likewise.
4850         * config/cris/cris.h: Likewise.
4851         * config/i960/i960.c: Likewise.
4852         * config/i960/i960.h: Likewise.
4854 2001-10-30  Kazu Hirata  <kazu@hxi.com>
4856         * config/arm/arm.c: Fix a comment typo.
4857         * config/arm/arm.h: Likewise.
4858         * config/ia64/ia64.c: Likewise.
4860 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
4862         * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
4863         REG_EQUIV notes for ASM_OPERANDS.  Return the new note (if any).
4864         * rtl.h (set_unique_reg_note): Change return value.
4865         * gcse.c (try_replace_reg): Use set_unique_reg_note.
4866         * cse.c (cse_insn): Likewise.
4867         * expr.c (emit_move_insn): Likewise.
4868         * explow.c (force_reg): Likewise.
4869         * local-alloc (update_equiv_regs): Likewise.
4870         * loop.c (move_moveables, load_mems): Likewise.
4871         * reload (find_reloads): Likewise.
4873 2001-10-30  Paolo Bonzini  <bonzini@gnu.org>
4875         Localization fixes.
4876         * c-decl.c (parmlist_tags_warning, start_struct,
4877         check_for_loop_decls): Separate messages for struct, union and
4878         enum cases to allow for languages in which they have different
4879         genders.
4880         * c-format.c (scanf_flag_specs): Separate short and long name of
4881         the assignment suppression feature.
4882         (check_format_types): Localize "pointer" and "different types"
4883         strings.
4884         * c-lex.c (lex_number): Localize "an unsigned long int" and
4885         related strings.
4886         (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
4887         warning message.
4888         * c-typeck.c (build_unary_up): Separate messages for increment and
4889         decrement cases to allow for languages in which they use different
4890         articles.  Localize the strings "increment" and "decrement" in one
4891         case.
4893 Tue Oct 30 11:08:11 CET 2001  Jan Hubicka  <jh@suse.cz>
4895         * lcm.c (optimize_mode_switching):  Do not rebuild liveness information
4896         when no changes has been made.
4898         * gcse.c (reg_set_bitmap): Turn into reg_set.
4899         (modify_mem_list_set, canon_modify_mem_list_set)
4900         (clear_modify_mem_tables, free_modify_mem_tables): New.
4901         (gcse_main); Use free_modify_mem_tables.
4902         (free_gcse_mem): Likewise; free the bitmaps.
4903         (alloc_gcse_main): Initialize the bitmaps.
4904         (canon_list_insert): Set canon_modify_mem_list_set.
4905         (record_last_mem_set_info): Likewise; set modify_mem_list_set.
4906         (compute_hash_table): Use clear_modify_mem_tables.
4907         (reset_opr_set_tables): Likewise.
4908         (oprs_not_set_p): reg_set_bitmap is regset.
4909         (mark_set, mark_clobber): Likewise.
4911         * df.h (DF_EQUIV_NOTES): New constant.
4912         (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
4913         when asked for.
4915         * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
4916         (init_regions, schedule_insns): Conditionalize the checking
4917         code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
4919 Tue Oct 30 11:02:31 CET 2001  Jan Hubicka  <jh@suse.cz>
4921         * i386.md (movti_rex64 splitter): Fix condition.
4923 2001-10-29  Zack Weinberg  <zack@codesourcery.com>
4925         * configure.in: Do not assume that gas's version number is the
4926         last thing on the first line of as --version output.
4927         * configure: Regenerate.
4929         * tradcpp.c: Include intl.h.  Rename WARNING, ERROR, FATAL to
4930         MT_WARNING, MT_ERROR, MT_FATAL.
4931         (main): Call gcc_init_libintl.
4932         (v_message): Call gettext on msgid and "warning: "
4933         * tradcif.y: Include intl.h.
4934         (yyerror): Make parameter definition consistent with
4935         prototype.  Call gettext on msgid argument.
4937 2001-10-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4939         * combine.c (num_sign_bit_copies): Avoid signed/unsigned
4940         warnings.
4942         * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
4944 Mon Oct 29 19:22:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4946         * reload1.c (eliminate_regs): Test for reg_renumber being allocated
4947         before referencing it.
4949 2001-10-26  DJ Delorie  <dj@redhat.com>
4951         * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
4952         override -G, and force -G0.
4954 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
4956         * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
4957         FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
4958         c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
4959         timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
4961         * loop.h (struct induction): Rename ext_dependant to
4962         ext_dependent.
4963         * loop.c: Change all uses.
4964         (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
4965         All callers changed.
4966         * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
4968 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
4970         * c-parse.in (expr_no_commas, primary), c-typeck.c
4971         (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
4973 2001-10-29  David Edelsohn  <edelsohn@gnu.org>
4975         Undo assemble_name change in earlier patch.
4977 Mon Oct 29 21:11:40 2001  Nicola Pero  <n.pero@mi.flashnet.it>
4979         * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
4980         determining the type of the receiver, do not check that TREE_CODE
4981         of receiver is CALL_EXPR before calling receiver_is_class_object().
4982         (receiver_is_class_object): For the GNU runtime: recognize
4983         the case that the receiver is self in a class method context.
4984         Check that TREE_CODE of receiver is CALL_EXPR when checking that
4985         the receiver is a call to objc_get_class.
4987 2001-10-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4989         * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
4991 Mon Oct 29 07:23:33 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4993         * Makefile.in (OBJS): Put all files in alphabetical order.
4995         * dwarf2out.c (add_const_value_attribute): Fix error in last
4996         change.
4998 Mon Oct 29 12:43:06 CET 2001  Jan Hubicka  <jh@suse.cz>
5000         * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
5001         * cfgcleanup.c (merge_blocks): Update the life flag after merging;
5002         fix warning.
5003         * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
5004         (life_analysis): call purge_all_dead_edges after deleting noops.
5005         (delete_noop_move): Do not purge CFG.
5006         * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
5008 2001-10-28  David Edelsohn  <edelsohn@gnu.org>
5010         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
5011         * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
5012         (ASM_GLOBALIZE_LABEL): Use assemble_name.
5013         (ASM_OUTPUT_COMMON): Likewise.
5014         * config/rs6000/rs6000.c (print_operand): Use assemble_name.
5015         (rs6000_output_function_epilogue): Likewise.
5016         (output_mi_thunk): Fix typo.
5017         (rs6000_output_symbol_ref): Use assemble_name.
5018         (output_toc): Likewise.
5019         * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
5020         * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
5021         assemble_name calls STRIP_NAME_ENCODING.
5022         (ASM_OUTPUT_LABEL): Use assemble_name.
5023         (ASM_GLOBALIZE_LABEL): Likewise.
5024         (ASM_DECLARE_FUNCTION_NAME): Likewise.
5025         (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op.  Use assemble_name.
5026         (ASM_OUTPUT_LOCAL): Likewise.
5028 Sun Oct 28 15:45:16 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5030         * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
5031         (expand_builtin_apply, expand_builtin_return): Likewise.
5032         (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
5034 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5036         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5037         ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
5038         c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
5039         configure, configure.in, except.c, except.h, flow.c, function.c,
5040         gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
5041         predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
5042         sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
5043         unroll.c: Fix spelling errors.
5045         * doc/extend.texi, doc/invoke.texi: Fix spelling.
5047         * doc/gcc.texi: Document use of "dependent" and American spelling.
5049 Sun Oct 28 17:05:36 CET 2001  Jan Hubicka  <jh@suse.cz>
5051         * expr.c (emit_group_load): Support CONCATs by storing them to memory
5052         and reloading.
5054 Sun Oct 28 09:59:54 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5056         * expr.c (store_constructor_field): Only call adjust_address on MEM.
5058 Sun Oct 28 16:48:09 CET 2001  Jan Hubicka  <jh@suse.cz>
5060         * genrecog.c (write_switch):  Output if before switch for
5061         DT_elt_zero_wide_safe.
5063 2001-10-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5065         * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
5066         * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
5067         (FUNCTION_PROFILER): Const-ify.
5068         * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
5069         (eliminate_constant_term, assemble_name, output_addr_const):
5070         Remove declarations.
5071         (ptr_half_pic_address_p, half_pic_hash): Prototype.
5072         (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
5073         half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
5074         * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
5075         (half_pic_declare, half_pic_external): Const-ify.
5076         * toplev.c: Include "halfpic.h".
5078 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5080         * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
5081         config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
5082         config/i386/i386.c, config/i386/i386-interix.h,
5083         config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
5084         config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
5085         config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
5086         config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
5087         config/sparc/sparc.c, config/m68hc11/m68hc11.c,
5088         config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
5089         config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
5090         spelling errors.
5092         * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5093         ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
5094         c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
5095         collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
5096         haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
5097         regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
5098         system.h, toplev.c: Fix spelling errors.
5100 Sat Oct 27 17:32:04 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5102         * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
5104         * dwarf2out.c (reg_number): Abort if pseudo.
5105         (reg_loc_descriptor): Return 0 if pseudo.
5106         (is_based_loc): Return 0 if pseudo.
5107         (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
5108         recursive calls.
5109         (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
5110         (loc_descriptor): Return 0 if can't find location and handle 0
5111         return from recursive calls.
5112         (loc_descriptor_from_tree): Likewise.
5113         Fix handling of indirect.
5114         Also return 0 for PLACEHOLDER_EXPR.
5115         Clean up COMPONENT_REF cases.
5116         (add_AT_location_descriptor): Simplify, but handle 0 return from
5117         loc_descriptor.
5118         (add_const_value_attribute): Avoid shift count warning.
5119         (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
5120         Set comp_unit_die as context if not in function.
5122         * config/mips/mips-protos.h: Break up long lines.
5123         Remove needless #ifdef/#endif blocks.
5124         Don't declare functions declared in file made by genpreds or recog.h.
5125         * config/mips/mips.c (mips_output_function_prologue): TSIZE
5126         is now HOST_WIDE_INT; delete unneeded casts.
5127         * config/mips/mips.h: Don't use #elif.
5129         * expr.c (stor_constructor_field): Always call adjust_address.
5130         Copy TARGET before changing its alias set.
5131         (store_field): Likewise, for TO_RTX.
5132         (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
5133         replacement.
5134         (safe_from_p, case ADDR_EXPR): Properly check for conflict.
5135         (find_placeholder): Return 0 if can't find object.
5136         (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
5137         returns 0.
5139 Sat Oct 27 16:31:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
5141         * ifcvt.c (if_convert): Call clear_aux_for_blocks.
5143 Sat Oct 27 12:12:09 CEST 2001  Jan Hubicka  <jh@suse.cz>
5145         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
5146         merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
5147         (merge_blocks): Properly udpate life after making edge nonfallthru.
5148         * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
5150 2001-10-26  Kazu Hirata  <kazu@hxi.com>
5152         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5154 2001-10-26  Neil Booth  <neil@daikokuya.demon.co.uk>
5156         * c-typeck.c (convert_arguments): When comparing for enumeral
5157         type equality, use TYPE_MAIN_VARIANT.
5158         * gcc.dg/Wconversion.c: New tests.
5160 2001-10-26  Kazu Hirata  <kazu@hxi.com>
5162         * s390/s390.c: Fix comment typos.
5163         * s390/s390.h: Likewise.
5164         * s390/s390.md: Likewise.
5166 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
5168         * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
5169         (walk_tree): Use it for tail calls where appropriate.
5171 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
5173         * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
5174         non-local label_refs.
5176 2001-10-26  Kazu Hirata  <kazu@hxi.com>
5178         * config/h8300/h8300.md (4 anonymous patterns): New.
5180 2001-10-26  Kazu Hirata  <kazu@hxi.com>
5182         * config/h8300/h8300.c (get_shift_alg): Clean up.  Return the
5183         algorithm through the shift_info structure.
5184         (emit_a_shift): Update the use of get_shift_alg.
5186 2001-10-27  Daniel Berlin  <dan@cgsoftware.com>
5188         * sched-rgn.c: Remove bitset typedef.
5189         Change bitset to sbitmap in prototypes / variable types.
5190         Remove bbset_size.
5191         Remove edgeset_bits.
5192         Remove edgeset_size.
5193         s/BITSET_ADD/SET_BIT/g
5194         s/BITSET_INVERT/sbitmap_ones/g
5195         s/BITSET_INTER/sbitmap_a_and_b/g
5196         s/BITSET_UNION/sbitmap_a_or_b/g
5197         s/BITSET_DIFFER/sbitmap_difference/g
5198         s/bitset_member/TEST_BIT/g
5199         (BITSET_*): Removed.
5200         (bitset_member): Removed.
5201         (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
5202         EXECUTE_IF_SET_IN_SBITMAP.
5203         (split_edges): Rewrite, use sbitmap functions instead of bitset
5204         operations.
5205         (schedule_region): Allocate/free sbitmaps, rather than bitsets.
5207 2001-10-26  Andreas Schwab  <schwab@suse.de>
5209         * reload1.c (emit_input_reload_insns): Fix parens in last
5210         (undocumented) change that was supposed to change only whitespace.
5212 Fri Oct 26 07:18:08 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5214         * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
5216         * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
5217         ASM_OPERANDS.
5219 2001-10-26  Andreas Jaeger  <aj@suse.de>
5221         * flow.c (clear_log_links): Remove unused variable.
5222         * cfgcleanup.c (cleanup_cfg): Likewise.
5224 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
5226         * tree-inline.c (remap_decl): Don't copy size and size_unit here.
5227         (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
5229 2001-10-26  Richard Henderson  <rth@redhat.com>
5231         * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
5232         rename PV_REG to R27_REG.
5233         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5234         (REG_CLASS_FROM_LETTER): Update.
5235         (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
5236         * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
5237         (udivsi3, modsi3, umodsi3): Likewise.
5238         (divdi3, udivdi3, moddi3, umoddi3): Likewise.
5240 2001-10-26  Richard Henderson  <rth@redhat.com>
5242         * cfg.c (clear_aux_for_blocks): Split out of ...
5243         (free_aux_for_blocks): here.
5244         (clear_aux_for_edges): Split from ...
5245         (free_aux_for_edges): here.
5246         * basic-block.h: Declare them.
5247         * lcm.c (compute_antinout_edge): Use them.
5248         (compute_laterin, compute_available, compute_nearerout): Likewise.
5249         (optimize_mode_switching): Likewise.
5251 2001-10-26  Richard Henderson  <rth@redhat.com>
5253         * Makefile.in (unstage*): Remove as, ld, collect-ld before
5254         moving everything back to the main build directory.
5256 2001-10-26  Christopher Faylor  <cgf@redhat.com>
5258         * config/i386/cygwin.h: Search target specific include directory, if
5259         appropriate.
5261 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5263         * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
5264         of macro guards. Fix #endif comment.
5266         * output.h (default_exception_section, default_eh_frame_section):
5267         Move prototypes outside of macro guard.
5269         * crtstuff.c: Fix #endif comment.
5271 Thu Oct 25 12:21:58 2001  Jeffrey A Law  (law@cygnus.com)
5273         * doc/md.texi (movMM): Clarify semantics of storing into a
5274         non-paradoxical SUBREG.
5276 2001-10-25  Zack Weinberg  <zack@codesourcery.com>
5278         * langhooks.c (lang_hook_default_clear_binding_stack): New.
5279         (lang_hook_default_get_alias_set): Move next to other alias
5280         hooks.
5281         * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
5282         (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
5283         (LANG_HOOKS_INITIALIZER): Add it.
5284         * toplev.h (struct lang_hooks): Add clear_binding_stack.
5285         * toplev.c (compile_file):  Call lang_hooks.clear_binding_stack
5286         instead of a loop calling poplevel.
5288 2001-10-25  Nick Clifton  <nickc@cambridge.redhat.com>
5290         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
5291         occurrences of #elif with #if...#endif.
5293 2001-10-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5295         * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
5297 Thu Oct 25 08:46:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5299         * alias.c (can_address_p): No longer static.
5300         * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
5301         Return 0 if all parameters are default values.
5302         (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
5303         (adjust_address_1): Try harder to compute a size.
5304         * expr.c (expand_assignment, store_constructor): If can't address,
5305         set MEM_KEEP_ALIAS_SET_P.
5306         (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
5307         (store_field): Likewise.
5308         (store_constructor): Simplify call to store_constructor_field.
5309         * expr.h (can_address_p): New declaration.
5310         * gensupport.c (gen_rtx_CONST_INT): New function.
5311         * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
5312         (MEM_SIZE): Get size from mode, if not set and not BLKmode.
5313         (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
5315         * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
5317 2001-10-24  Christopher Faylor  <cgf@redhat.com>
5319         * config/i386/cygwin.h: Use proper path for mingw crt files when
5320         -mno-cygwin.
5322 Wed Oct 24 18:43:42 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5324         * dwarf2out.c (file_info_cmp): Always return consistent results.
5326 2001-10-24  Roger Sayle <roger@eyesopen.com>
5328         * stmt.c (expand_end_case): Index jumptables from zero for
5329         suitably small values of minval.
5331 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
5333         * stor-layout.c (place_union_field): If any field was aligned with
5334         attribute aligned, set record type's TYPE_USER_ALIGN.
5335         (place_field): Likewise.
5336         (finalize_record_size): Don't clear TYPE_USER_ALIGN.
5337         (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
5339 2001-10-24  Zack Weinberg  <zack@codesourcery.com>
5341         * c-common.h (struct c_common_identifier): Remove rid_code field.
5342         (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
5344         * c-typeck.c (constructor_designated): New local flag.
5345         (struct constructor_stack): Add "designated" field to match.
5346         (start_init): Clear it.
5347         (really_start_incremental_init, push_init_level): Push and
5348         clear it.
5349         (pop_init_level): Pop it.
5350         (set_designator): Set it.
5352         (pop_init_level): Suppress "missing initializer" warnings if
5353         constructor_designated is true.
5354         (process_init_element): Suppress warning about union
5355         initialization under traditional C, if constructor_designated
5356         is true.
5358 Wed Oct 24 15:35:38 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5360         * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
5361         change.
5363 Wed Oct 24 13:26:12 2001  Jeffrey A Law  (law@cygnus.com)
5365         * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
5367 2001-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
5369         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
5370         the node was already a set to a constant.
5372 Wed Oct 24 12:41:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5374         * emit-rtl.c (set_mem_attributes): Fix typo in last change.
5375         * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
5377 2001-10-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5379         * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
5380         (ASM_OUTPUT_ASCII): Const-ify.  Fix signed/unsigned warning.
5381         (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
5382         * s390.c (s390_final_chunkify): Don't use string concatenation.
5383         (s390_function_prologue, s390_function_epilogue): Const-ify.
5384         * s390.h (FUNCTION_PROFILER): Remove unused variable.
5386 2001-10-24  Jakub Jelinek  <jakub@redhat.com>
5388         * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
5389         prototypes.
5391 2001-10-23  Stan Shebs  <shebs@apple.com>
5393         * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
5394         -traditional-cpp in first-stage compilation.
5396 Tue Oct 23 21:45:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5398         * gensupport.c (target_flags): Add.
5400 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.
5402         * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
5403         if needed.
5404         (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
5405         * except.c (expand_builtin_frob_return_addr): Likewise.
5406         (expand_builtin_eh_return): Likewise.
5407         * stmt.c (expand_computed_goto): Likewise.
5408         * explow.c (memory_address): Likewise.
5409         (allocate_dynamic_stack_space): Clean up predicate testing.
5410         (probe_stack_range): Convert SIZE to Pmode.
5411         * calls.c (rtx_for_function_call): Only call convert_memory_address
5412         if needed.
5413         Pass function call operand as ptr_mode, not Pmode.
5414         * expr.c (expand_assignment): Clean up calls to convert_memory
5415         address by only doing so when needed and making offsets Pmode.
5416         (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
5417         * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
5418         is in Pmode, not ptr_mode.
5420 2001-10-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5422         * darwin-protos.h (constructor_section, destructor_section,
5423         mod_init_section, mod_term_section): Prototype.
5424         * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
5425         Const-ify.
5426         * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
5427         Likewise.
5428         (SECTION_FUNCTION): Prototype `FUNCTION'.  Delete
5429         objc_section_init declaration.
5430         (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
5431         (objc_section_init, try_section_alias): Make static.
5432         (alias_section): Make static and hide unused function.
5433         (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
5435 Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5437         * alias.c (can_address_p): Compnonents are not addressable if
5438         the containing type has alias set 0.
5439         (get_alias_set): Rework to use STRIP_NOPS.
5440         Only call front-end routine on object, type, or object with
5441         NOPs stripped, not inner values.
5442         Use language hook to call front-end routine.
5443         * builtins.c (get_memory_rtx): Always call set_mem_attributes.
5444         (expand_builtin_apply): Call set_mem_align on MEMs we make.
5445         Don't pass alignment to emit_block_move.
5446         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5447         (expand_builtin_memset): Likewise, but for clear_storage.
5448         * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
5449         and remove C++ specific parts.
5450         * c-common.h (c_common_get_alias_set): Add declaration.
5451         * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
5452         * calls.c (emit_call_1): Fix typo in sibcall_pop case.
5453         (save_fixed_argument_area): Call set_mem_align.
5454         Remove alignment in call to emit_block_move.
5455         (emit_library_call_value_1, store_one_arg): Likewise.
5456         (target_for_arg): Remove; disabled long ago.
5457         * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
5458         once and similar cleanups.
5459         (offset_address): Use proper introductory comment.
5460         * expr.c (emit_block_move): Use alignment from that of MEM args, not
5461         from explicit operand; all callers changed.
5462         (clear_storage): Likewise.
5463         (expand_assignment): Don't call set_mem_alias_set on to_rtx.
5464         (store_field): Remove kludge on alias set used for to_rtx.
5465         (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
5466         (expand_expr_unaligned): Call set_mem_attributes instead of
5467         set_mem_alias_set.
5468         * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
5469         * function.c (assign_stack_temp_for_type): Set MEM alignment.
5470         (expand_function_end): Track MEM attributes of trampolines.
5471         * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
5472         * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
5473         attributes from original.
5474         * langhooks.c (lang_hook_default_get_alias_set): New function.
5475         (hook_get_alias_set_0): New function.
5476         * langhooks.h (hook_get_alias_set_0): New declaration.
5477         (lang_hook_default_get_alias_set): Likewise.
5478         (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
5479         * reload1.c (alter_reg): Use adjust_address_nv.
5480         * rtl.c (get_mode_alignment): Moved to here.
5481         * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
5482         change default if unknown from 1 to BITS_PER_UNIT.
5483         * stor-layout.c (get_mode_alignment): Remove from here.
5484         * toplev.h (struct lang_hoks): Add get_alias_set field.
5485         * tree.h (lang_get_alias_set): Delete declaration.
5486         * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
5487         * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
5488         (ix86_va_arg): Likewise.
5489         * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
5490         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
5491         * config/sparc/sparc.c (sparc_va_arg): Likewise.
5492         * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
5493         (expand_block_move_mem): Remove dead code.
5495 2001-10-22  Neil Booth  <neil@daikokuya.demon.co.uk>
5497         * c-common.c (warn_div_by_zero): New.
5498         * c-common.h (warn_div_by_zero): New.
5499         * c-decl.c (c_decode_option): Take it on the command line.
5500         * c-typeck.c (build_binary_op): Warn about division by zero.
5501         * doc/invoke.texi: Document the new command line option, fix
5502         documentation of -Wmultichar.
5503         * testsuite/gcc.dg/divbyzero.c: New tests.
5504         * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
5506 Tue Oct 23 15:30:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
5508         * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
5510         * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
5511         to avoid update_life_info call.
5512         * basic-block.h (CLEANUP_UPATE_LIFE): Define.
5513         * cfgcleanup.c (bb_flags): New enum.
5514         (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
5515         (notice_new_block, update_forwarder_flag): New functions.
5516         (try_simplify_condjump): Use FORWARDER_BLOCK_P.
5517         (try_forward_edges): Likewise; update flags.
5518         (merge_blocks): Likewise.
5519         (outgoing_edges_match): Likewise.
5520         (try_crossjump_to_edge): Likewise.
5521         (try_optimize_cfg): Likewise; initialize and clear the flags;
5522         recompute life info if needed.
5523         (cleanup_cfg): No need to clear aux pointers.
5525 2001-10-23  Alexandre Oliva  <aoliva@redhat.com>
5527         * config/i386/i386.c (override_options): Default to minimum
5528         stack alignment when optimizing for code size.
5529         * doc/invoke.texi (-mpreferred-stack-boundary): Document the
5530         change.
5532         * config/i386/i386.c (override_options): Set upper limit of
5533         -mpreferred-stack-boundary to 12.
5535 2001-10-22  Zack Weinberg  <zack@codesourcery.com>
5537         * recog.c (peephole2_optimize): Add default case to switch.
5539 2001-10-23  Joseph S. Myers  <jsm28@cam.ac.uk>
5541         * doc/gcc.texi (Sending Patches): Remove.
5543 2001-10-22  Hans-Peter Nilsson  <hp@bitrange.com>
5545         * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
5546         fields when comparing.
5548 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5550         * arm.h (HOST_INT, HOST_UINT): Delete.  Remove all uses.
5551         * arm.c (HOST_INT, HOST_UINT): Likewise.
5553 2001-10-22  Stan Shebs  <shebs@apple.com>
5555         * config/darwin-protos.h (darwin_exception_section): Declare.
5556         (darwin_eh_frame_section): Declare.
5558 Mon Oct 22 18:21:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
5560         * i386.md (movti_rex64): Fix mode.
5562 2001-10-22  Stan Shebs  <shebs@apple.com>
5564         * target.h (struct gcc_target): Add asm_out.exception_section,
5565         asm_out.eh_frame_section.
5566         * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
5567         (TARGET_ASM_EH_FRAME_SECTION): New.
5568         (TARGET_INITIALIZER): Update.
5569         * output.h (default_exception_section): Declare.
5570         (default_eh_frame_section): Declare.
5571         * dwarf2out.c: Include target.h.
5572         (output_call_frame_info): Call target hook for eh frames.
5573         (default_eh_frame_section): New function.
5574         * except.c: Include target.h.
5575         (output_function_exception_table): Call target hook for exception
5576         section.
5577         * varasm.c (default_exception_section): Rename from
5578         exception_section, remove EXCEPTION_SECTION macro.
5580         * config/darwin.h (darwin_eh_frame_section): New function.
5581         (EXCEPTION_SECTION): Remove.
5582         (TARGET_ASM_EXCEPTION_SECTION): Define.
5583         * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
5584         (nextstep_exception_section): New function.
5585         (nextstep_eh_frame_section): New function.
5586         (TARGET_ASM_EXCEPTION_SECTION): Define.
5587         (TARGET_ASM_EH_FRAME_SECTION): Define.
5589         * config/pa/som.h (EXCEPTION_SECTION): Remove.
5590         (TARGET_ASM_EXCEPTION_SECTION): Define.
5591         * config/rs6000/sysv4.h, config/rs6000/xcoff.h
5592         (EXCEPTION_SECTION): Remove.
5593         (TARGET_ASM_EXCEPTION_SECTION): Define.
5594         * config/stormy16/stormy16.h: Remove comments referencing
5595         EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
5597         * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
5598         TARGET_ASM_EH_FRAME_SECTION.
5600 2001-10-22  Nick Clifton  <nickc@cambridge.redhat.com>
5602         * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
5603         terms.
5605         * c-format.c: Fix spelling typo in comment.
5607         * sched-int.h: Fix typo in GCC preamble.
5609 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5611         PR debug/4252
5612         * doc/invoke.texi: Remove references to -fdump-translation-unit.
5614 2001-10-22  Richard Henderson  <rth@redhat.com>
5616         * config/i386/i386.c (ix86_expand_clear): New.
5617         * config/i386/i386-protos.h: Declare it.
5618         * config/i386/i386.md (setcc peep2s): Use it.
5619         (movsi_xor): Unexport.
5621 2001-10-22  Richard Henderson  <rth@redhat.com>
5623         * flow.c (clear_log_links): Use free_INSN_LIST_list, not
5624         free_EXPR_LIST_list for LOG_LINKS.
5626 2001-10-21  Robert Lipe  <robertlipe@usa.net>
5628         * config/i386/i386.c (sco_asm_named_section): Delete.
5629         (sco_asm_out_constructor): Delete.
5630         * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
5631         (ASM_OUTPUT_DOUBLE_INT): Likewise.
5632         (TARGET_ASM_CONSTRUCTOR): Delete.  Use default.
5633         (TARGET_ASM_NAMED_SECTION): Use default for ELF.
5634         (EXCEPTION_SECTION): Delete EH scn renaming hack.
5636 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5638         * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
5639         and/or fold extra calls into fewer ones.
5640         * collect2.c (dump_file): Likewise.
5641         * cppexp.c (parse_number): Likewise.
5642         * cpplex.c (_cpp_lex_direct): Likewise.
5643         * final.c (output_asm_insn, asm_fprintf): Likewise.
5644         * fix-header.c (inf_scan_ident, main): Likewise.
5645         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
5646         Likewise.
5647         * fold-const.c (real_hex_to_f): Likewise.
5648         * gen-protos.c (parse_fn_proto): Likewise.
5649         * genattrtab.c (check_attr_test, check_attr_value): Likewise.
5650         * genrecog.c (change_state, write_action): Likewise.
5651         * gensupport.c (shift_output_template): Likewise.
5652         * local-alloc.c (requires_inout): Likewise.
5653         * mips-tfile.c (IS_ASM_IDENT): Likewise.
5654         * protoize.c (is_id_char, main): Likewise.
5655         * real.c (asctoeg): Likewise.
5656         * recog.c (asm_operand_ok): Likewise.
5657         * reload.c (find_reloads): Likewise.
5658         * scan.c (scan_identget_token): Likewise.
5659         * sched-vis.c (print_value): Likewise.
5660         * stringpool.c (ggc_alloc_string): Likewise.
5661         * toplev.c (read_integral_parameter, decode_g_option): Likewise.
5662         * tradcif.y (parse_number, yylex, parse_escape): Likewise.
5663         * tradcpp.c (rescan): Likewise.
5664         * tree.c (clean_symbol_name): Likewise.
5665         * varasm.c (decode_reg_name): Likewise.
5667         * alpha.h (ASM_OUTPUT_ASCII): Likewise.
5668         * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
5669         * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
5670         * m88k.c (output_ascii): Likewise.
5671         * m88k.h (OVERRIDE_OPTIONS): Likewise.
5672         * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
5673         * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
5674         * sh.h (REG_CLASS_FROM_LETTER): Likewise.
5676 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
5678         * langhooks.c (lang_hook_default_do_nothing,
5679         lang_hook_default_decode_option): New defaults.
5680         * langhooks.h: Make hooks unconditional and non-NULL.
5681         * toplev.c (compile_file, toplev_main): Update.
5682         * toplev.h: Update comments.
5683         * objc/objc-act.c (lang_hooks): Update to new paradigm.
5685 2001-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5687         * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
5689         * system.h (IN_RANGE): New macro.
5691 2001-10-21  Zack Weinberg  <zack@codesourcery.com>
5693         * aclocal.m4 (AM_WITH_NLS): Also create and substitute
5694         INTLDEPS variable, which does not include $LIBICONV.
5695         * Makefile.in: Use INTLDEPS in LIBDEPS.
5696         * configure: Regenerate.
5698 2001-10-21  Neil Booth  <neil@daikokuya.demon.co.uk>
5700         * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
5701         * cpplex.c (lex_percent, lex_dot): Remove.
5702         (get_effective_char, skip_block_comment, skip_line_comment,
5703         parse_identifier_slow, parse_number, parse_string, save_comment,
5704         _cpp_lex_direct): Update to do lookback freely.
5705         (IF_NEXT_IS, BACKUP): New macros.
5706         * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
5707         * cppmacro.c (paste_tokens): Update.
5709 2001-10-20  Nick Clifton  <nickc@cambridge.redhat.com>
5711         * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
5713 2001-10-20  Hans-Peter Nilsson  <hp@axis.com>
5715         * reload1.c (reload): Check CONSTANT_P before calling
5716         LEGITIMATE_PIC_OPERAND_P.
5717         * config/cris/cris.c (cris_legitimate_pic_operand): Revert
5718         workaround of 2001-10-13.
5720 Sat Oct 20 15:16:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
5722         * i386.c (split_di): Handle splitting of DFmode.
5724 Sat Oct 20 07:27:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5726         * emit-rtl.c (set_mem_attributes): Alignment is in bits.
5727         (adjust_address_1, offset_address): Likewise.
5729         * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
5730         (output_asm_insn): Call it for each line output.
5731         Don't record an operand more than once.
5733         * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
5734         * main.c: Include config.h and system.h, but not ansidecl.h.
5735         * Makefile.in (main.o): Update accordingly.
5737 Sat Oct 20 12:05:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
5739         * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
5741 Sat Oct 20 12:01:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
5743         * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
5744         * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
5745         Break out from ...
5746         (find_sub_basic_blocks): ... here;
5747         (find_many_sub_basic_blocks): New.
5748         * recog.c (split_all_insns): Update find_sub_basic_blocks call.
5750         * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
5752         * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
5754         * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
5756         * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
5757         * flow.c (update_life_info): Measure time.
5758         * c-decl.c: Include timevar.h
5759         (c_expand_body): Measure time.
5760         * toplev.c (rest_of_compilation): Measure time of mode switching
5761         separately.
5762         * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
5764         * toplev.c (flag_asynchronous_unwind_tables): New global variable.
5765         (lang_independent_options): Add asynchronous-unwind-tables
5766         (toplev_main): flag_asynchronous_unwind_tables implies
5767         flag_unwind_tables.
5768         * flags.h (flag_asynchronous_unwind_tables): Declare.
5769         * dwarf2out.c (dwarf2out_stack_adjust): Take into account
5770         flag_asynchronous_unwind_tables.
5771         (output_call_frame_info): Likewise.
5772         * invoke.texi (-fasynchronous-unwind-tables): Document.
5773         * i386.c (optimization_options): Enable
5774         flag_asynchronous_unwind_tables.
5776         * i386.c (ix86_expand_setcc):  Always expect target to be QImode.
5777         * i386.md (s* expanders): Destination is QImode.
5779         * toplev.c (rest_of_compilation): Do not call clear_log_links.
5780         * rtl.h (clear_log_links): Kill.
5781         * flow.c (clear_log_links): Make static; accept blocks parameter;
5782         do no clear life info.
5783         (update_life_info): Call clear_log_links.
5785         * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
5787 2001-10-20  Neil Booth  <neil@daikokuya.demon.co.uk>
5789         * cpplex.c (handle_newline, skip_escaped_newlines,
5790         get_effective_char, skip_block_comment, skip_line_comment,
5791         parse_identifier_slow, parse_number, parse_string,
5792         _cpp_lex_direct): Update to do more stepping back.
5793         (trigraph_ok): Similarly.  Rename trigraph_p.
5794         (SAVE_STATE, RESTORE_STATE): Remove.
5795         (BUFF_SIZE_UPPER_BOUND): Tweak.  Add sanity check.
5797         * cpplib.c (destringize): Rename destringize_and_run, and
5798         call run_directive directly.
5799         (_cpp_do__Pragma): Simplify.
5801 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5803         * pe.c (arm_pe_unique_section): Const-ify.
5804         * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
5805         (switch_to_section): Add static prototype.
5807         * output.h (drectve_section): Prototype.
5809 2001-10-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5811         * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
5812         fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
5813         parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
5814         i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
5815         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5816         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
5817         i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
5818         i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
5819         i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
5820         i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
5821         i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
5822         i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
5823         ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
5824         mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
5825         powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
5826         powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
5827         powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
5828         powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
5829         powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
5830         powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
5831         rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
5832         sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
5833         v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
5834         cris-*-none, cris-*-linux*: Update ${tmfile} list.
5835         (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
5836         i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
5837         mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
5838         powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
5839         v850-*-*): Delete superflous ${cpu_type} setting.
5840         * config/linux.h: Delete svr4.h include.
5841         (SET_ASM_OP): Delete.
5842         * config/netware.h (INT_ASM_OP): Undef before define.
5843         * config/ptx4.h: Delete elfos.h include.
5844         (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
5845         * config/svr4.h: Delete elfos.h include. Update commentary.
5846         * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
5847         config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
5848         config/mn10200/mn10300.h, config/stormy16/stormy16.h,
5849         config/v850/v850.h: Delete svr4.h include.
5850         * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
5851         config/m68k/m68kv4.h, config/m88k/sysv4.h,
5852         config/sparc/sysv4.h: Update includes.
5853         * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
5854         config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
5855         config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
5856         config/m88k/dguxbcs.h: Delete includes.
5857         * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
5858         (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
5859         * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
5860         it.
5861         * config/m88k/dgux.h: Delete include.
5862         (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):  Undef before
5863         defining it.
5864         * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
5865         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
5866         * config/sh/elf.h: Update include.
5867         (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
5868         DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
5870 2001-10-19  Catherine Moore  <clm@redhat.com>
5872         * config/stormy16/stormy-abi:  Updates to varargs descriptions.
5873         * config/stormy16/stormy16.c (stormy16_build_va_list):  Reverse
5874         base and count fields.
5875         (stormy16_expand_builtin_va_start):  last_reg_count changed to
5876         size_of_reg_args.  Use count + size in first comparison.
5878 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5880         * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
5881         * toplev.h (struct lang_hooks): New field HONOR_READONLY.
5882         * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
5883         TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
5884         Set alignment from type if INDIRECT_REF.
5885         (adjust_address_1, offset_address): Simplify alignment compuitation.
5886         * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
5887         here; done by set_mem_attributes.
5889 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5891         * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
5892         * arm-protos.h (rdata_section, zero_init_section, common_section):
5893         Prototype.
5894         * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
5895         * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
5896         traditional mode stringification.
5897         * function.c (thread_prologue_and_epilogue_insns): Wrap variable
5898         in macros controling its use.
5899         * rtlanal.c: Include tm_p.h.
5900         * varasm.c (asm_output_aligned_bss): Mark parameter with
5901         ATTRIBUTE_UNUSED.
5902         (assemble_constant_align, assemble_start_function, assemble_align,
5903         assemble_variable, assemble_trampoline_template,
5904         output_constant_def_contents): Wrap potentially empty if-stmt body
5905         in brackets.
5907 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5909         * a29k-protos.h (literal_section): Prototype.
5910         * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
5911         * a29k.md: Ensure function pointers are prototyped.
5912         * genattrtab.c (write_eligible_delay): Mark parameter with
5913         ATTRIBUTE_UNUSED.
5915 2001-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5917         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5918         * 1750a.c (print_operand): Fix format specifier warning.
5919         * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
5920         * 1750a.md: Likewise.
5921         * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
5922         * genemit.c (output_add_clobbers): Mark parameter with
5923         ATTRIBUTE_UNUSED.
5924         * genrecog.c (write_subroutine): Likewise.
5925         * integrate.c (expand_inline_function): Delete unused variable.
5926         * varasm.c (remove_from_pending_weak_list): Wrap with
5927         ASM_WEAKEN_LABEL.
5929 2001-10-19  Jakub Jelinek  <jakub@redhat.com>
5931         * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
5932         field is different to previous argument's neg field.
5934         * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
5936 Fri Oct 19 15:24:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5938         * final.c (get_decl_from_op): New function.
5939         (output_asm_insn): Call it; write "*" when item with decl is address.
5941 2001-10-19  Janis Johnson  <janis187@us.ibm.com>
5943         * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
5944         about 64-bit support from the 3.0_branch version.
5946 2001-10-19  Zack Weinberg  <zack@codesourcery.com>
5948         * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
5949         USE_INCLUDED_LIBINTL when appropriate.
5950         * configure, config.in: Regenerate.
5951         * Makefile.in (datadir): Set to @datadir@.
5952         (intl.o): Also depend on $(CONFIG_H) and system.h.
5954         * intl.c: Factor out common gettext initialization sequence.
5955         (gcc_init_libintl):  New function.
5956         * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
5957         otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
5958         off NLS.  Add multiple include guard.  No need to #ifdef-guard
5959         an #undef.  Prototype gcc_init_libintl here.
5961         * collect2.c (main), cppmain.c (general_init), gcc.c (main),
5962         gcov.c (main), protoize.c (main), toplev.c (toplev_main):
5963         Use gcc_init_libintl.
5965 2001-10-19  Catherine Moore  <clm@redhat.com>
5967         * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
5969         * config/stormy16/stormy16.c (stormy16_split_move):  Make
5970         sure that REG_INC notes are present for auto_inc operands.
5972 2001-10-19  Andreas Jaeger  <aj@suse.de>
5974         * configure: Regenerated.
5975         * configure.in: Add x86_64 to switch statements.
5977 2001-10-18  Richard Henderson  <rth@redhat.com>
5979         * config/alpha/alpha.md (sibcall_osf_1): Load destination
5980         address into $27 explicitly.
5981         (sibcall_value_osf_1): Likewise.
5983 Thu Oct 18 16:07:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5985         * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
5986         (offset_address): New function.
5987         (free_emit_status): Free regno_decl.
5988         (init_emit): Pass proper number of elements to xcalloc.
5989         Allocate regno_decl.
5990         (mark_emit_status): Mark regno_decl values.
5991         * expr.c (highest_pow2_factor): New function.
5992         (expand_assigment): Use it and offset_address.
5993         Properly handle ptr_mode vs. Pmode in offset calculation.
5994         (store_constructor, expand_expr_unaligned): Likewise.
5995         (expand_expr, case COMPONENT_EXPR): Likewise.
5996         * expr.h (offset_address): New decl.
5997         * function.h (struct emit_status): Add regno_decl.
5998         (REGNO_DECL): New macro.
5999         * final.c (output_asm_name): Move in file and don't conditionalize
6000         on flag_print_asm_name.
6001         (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
6002         Output names of operands, if known.
6003         * function.c (assign_parms): Set REGNO_DECL.
6004         * integrate.c (integrate_decl_tree): Likewise.
6005         * stmt.c (expand_decl): Likewise.
6006         * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
6008 2001-10-18  Alexandre Oliva  <aoliva@redhat.com>
6010         * attribs.c (handle_noinline_attribute): New function.
6011         (handle_used_attribute): Likewise.
6012         (c_common_attribute_table): Added noinline and used.
6013         * doc/extend.texi (Function Attributes): Document them.
6014         * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
6015         Warn when merging inline with attribute noinline.
6016         (start_decl, start_function): Warn if inline and attribute
6017         noinline appear in the same declaration.
6019 2001-10-17  Neil Booth  <neil@daikokuya.demon.co.uk>
6021         * config.gcc: Update c4x and i370 for C front end-specific
6022         dependencies.
6023         * config/c4x/c4x-c.c: New.
6024         * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
6025         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6026         New declarations.
6027         * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
6028         (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6029         Make extern.
6030         (c4x_init_pragma): Remove.
6031         (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
6032         c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
6033         c4x_pr_ignored): Move to c4x-c.c.
6034         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
6035         * config/c4x/t-c4x: Update.
6036         * config/i370/i370-c.c: New.
6037         * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
6038         (i370_pr_map): Move to i370-c.c.
6039         * config/i370/t-i370: New.
6041         * doc/tm.texi: Update.
6043 2001-10-17  Stan Shebs  <shebs@apple.com>
6045         * config/rs6000/rs6000.c: Make assorted mechanical formatting and
6046         typo fixes throughout.
6047         (machopic_output_stub): Remove some dead code.
6049 2001-10-17  Richard Earnshaw <rearnsha@arm.com>
6051         * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
6052         leak.
6054 Wed Oct 17 05:26:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6056         * Makefile.in (print-rtl.o): Depend on TREE_H.
6057         * alias.c (get_alias_set): Make two passes over objects to first
6058         see if inner object is access via restricted pointer.
6059         Defer allocating alias set for restricted pointer until here.
6060         Call find_placeholder with second arg nonzero.
6061         Minor cleanups.
6062         * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
6063         set for restricted pointer types.
6064         * emit-rtl.c (set_mem_attributes): Set more attributes.
6065         (set_mem_align, change_address, adjust_address_1): New functions.
6066         (change_address_1): Now static.
6067         (adjust_address, adjust_address_nv): Deleted.
6068         (replace_equiv_address): Call change_address_1.
6069         * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
6070         (find_placeholder): Get starting point from PLIST arg.
6071         (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
6072         * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
6073         (adjust_address, adjust_address_nv): New macros.
6074         * print-rtl.c (tree.h): New include.
6075         (print_rtx, case MEM): Print all memory attributes.
6077 2001-10-17  Richard Henderson  <rth@redhat.com>
6079         * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
6081 2001-10-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
6083         * c-tree.texi: Eliminate duplicated word.
6084         * cpp.texi: Likewise.
6085         * install.texi: Likewise.
6086         * invoke.texi: Likewise.
6087         * tm.texi: Likewise.
6089 2001-10-17  Michael Collison  <collison@isisinc.net>
6091         * dsp16xx.c: Fix comment formatting to match GNU standards.
6092         (dsp16xx_output_function_prologue): Change type of 'size'
6093         parameter from 'int' to HOST_WIDE_INT.
6094         (dsp16xx_output_function_epilogue): Change type of 'size'
6095         parameter from 'int' to HOST_WIDE_INT.
6097 2001-10-16  Richard Henderson  <rth@redhat.com>
6099         * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
6100         * configure, config.in: Rebuild.
6102         * config/i386/i386.c (ix86_output_addr_vec_elt): New.
6103         (ix86_output_addr_diff_elt): New.
6104         * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
6105         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6106         (JUMP_TABLES_IN_TEXT_SECTION): New.
6107         * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
6108         * config/i386/i386-protos.h: Update.
6110         * config/i386/386bsd.h, config/i386/beos-elf.h,
6111         config/i386/freebsd-aout.h, config/i386/freebsd.h,
6112         config/i386/i386-interix.h, config/i386/i386elf.h,
6113         config/i386/linux.h, config/i386/netbsd-elf.h,
6114         config/i386/netbsd.h, config/i386/openbsd.h,
6115         config/i386/ptx4-i.h, config/i386/rtemself.h,
6116         config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
6117         (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
6119 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
6121         * stmt.c (expand_asm_operands): Update commentary.
6123 2001-10-16  Stan Shebs  <shebs@apple.com>
6125         * config/darwin.h (GCC_NAME): Remove, no longer used.
6126         (NO_MATH_LIBRARY): Ditto.
6127         (MATH_LIBRARY): Define to emptiness.
6128         (DWARF2_DEBUGGING_INFO): Define.
6129         (PREFERRED_DEBUGGING_TYPE): Define.
6130         (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
6131         (EXCEPTION_SECTION): Define.
6132         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6133         * config/darwin.c (darwin_encode_section_info): Handle case of
6134         DECL_INITIAL being error_mark_node.
6136 2001-10-16  Richard Henderson  <rth@redhat.com>
6138         * alpha.c (current_file_function_operand): Don't fail for profiling.
6139         (direct_call_operand): New.
6140         * alpha-protos.h: Declare it.
6141         * alpha.h (EXTRA_CONSTRAINT): Use it.
6142         (PREDICATE_CODES): Add it.
6143         (ASM_OUTPUT_MI_THUNK): Remove.
6144         * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
6145         * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
6147 2001-10-16  Krister Walfridsson  <cato@df.lth.se>
6149         * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
6150         (JUMP_TABLES_IN_TEXT_SECTION): Define.
6152 Wed Oct 17 00:21:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
6154         * cfg.c (free_edge): Break out from ....
6155         (remove_edge): ... here.
6156         (clear_edges): Use free_edge.
6158         * att.h (ASM_QUAD): Add comment.
6159         * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
6161 Wed Oct 17 00:01:02 CEST 2001  Jan Hubicka  <jh@suse.cz>
6163         * i386.c (split_ti): New function.
6164         (ix86_split_to_parts): Support TImodes.
6165         * i386.h (VALID_INT_MODE_P): Add TImode.
6166         * i386.md (movdi splitter): Fix.
6167         (movti): Support 64bit integer registers.
6168         (movti_rex64): New function and splitter.
6170         * i386.c (*_cost): Add movsx/movzx cost.
6171         * i386.h (struct processor_costs): Add movsx/movzx fields.
6172         (RTX_COSTS): Handle zero/sign extend + avoid believing that
6173         64bit operations require split on 64bit machine.
6174         (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
6176         * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
6177         (ix86_expand_move): Avoid pushes of memory if size does not match;
6178         move long constants to register.
6179         (x86_initialize_trampoline): Fix mode.
6180         * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
6181         Use ASM_QUAD on 64bit.
6182         * i386.md (test pattern): Disallow impossible constants.
6183         (tablejump PIC expander): Fix emitting of sum.
6184         (movdicc_rex64): Rename to movdicc.
6185         * linux64.h (LINK_SPEC): Add missing '%'.
6187 2001-10-16  Alexandre Oliva  <aoliva@redhat.com>
6189         * tree-inline.c (inlinable_function_p): Leave it up to the
6190         front-end to turn -finline-functions into DECL_INLINE set for all
6191         functions.
6193 2001-10-16  Stan Shebs  <shebs@apple.com>
6195         * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
6197 2001-10-16  Alan Modra  <amodra@bigpond.net.au>
6199         * recog.c: Formatting and comment typo fixes.
6201         * configure.in (gcc_cv_as_bfd_srcdir): New.  Use it to find gas
6202         version in single tree build.
6203         * configure: Regenerate.
6205 2001-10-15  David Edelsohn  <edelsohn@gnu.org>
6207         * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
6208         MODE arguments to gen_rtx and compare operand with const0_rtx.
6210 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
6212         * system.h: Poison old unused target macros.
6213         * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6214         * config/stormy16/stormy16.c: Update references to obsolete macros.
6215         * config/stormy16/stormy16.h: Similarly.
6216         * config/stormy16/stormy16.md: Similarly.
6217         * config/cris/cris.h: Similarly.
6219 2001-10-15  Neil Booth  <neil@daikokuya.demon.co.uk>
6221         * cpplib.c (struct pragma_entry): Store the name as a hashnode.
6222         (lookup_pragma_entry, insert_pragma_entry, do_pragma,
6223         cpp_register_pragma): Update accordingly.
6225 2001-10-14  Neil Booth  <neil@daikokuya.demon.co.uk>
6227         * c-pragma.h (cpp_register_pragma_space): Remove.
6228         * cpplib.h (cpp_register_pragma_space): Remove.
6229         * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
6230         (cpp_register_pragma_space): Remove.
6231         (cpp_register_pragma): Simplify using lookup_pragma_entry,
6232         add sanity checks.
6233         (do_pragma): Similarly.
6234         (_cpp_init_internal_pragmas): Don't register namespaces.
6236         * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
6237         Don't register namespaces.
6238         * cp/lex.c (init_cp_pragma): Similarly.
6239         * doc/tm.texi: Update.
6241 2001-10-10  Craig Rodrigues  <rodrigc@gcc.gnu.org>
6243         PR c/4157
6244         * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
6246 2001-10-13  Michael Collison  <collison@dhcp-12-114.townisp.com>
6248         * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
6249         add scheduling support.
6250         * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
6251         * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
6252         * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
6255 2001-10-13  Hans-Peter Nilsson  <hp@axis.com>
6257         * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
6258         missing CONSTANT_P test in core GCC.
6260 2001-10-12  Neil Booth  <neil@daikokuya.demon.co.uk>
6262         * cppmain.c (struct printer): New member source.
6263         (scan_translation_unit): Fix spacing at start of lines.
6264         (cb_line_change): Update.
6266         * gcc.dg/cpp/spacing2.c: New test.
6268 2001-10-12  Hans-Peter Nilsson  <hp@axis.com>
6270         * config/cris/arit.c: Use __builtin_labs, not abs.
6272         * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
6274         * config/cris/cris.c (cris_target_asm_function_epilogue): Move
6275         misplaced sprintf and fprintf argument.
6277 2001-10-12  Zack Weinberg  <zack@codesourcery.com>
6279         * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
6280         * configure.in, Makefile.in: Take out obsolete check-po logic.
6281         * configure, config.in: Regenerate.
6283 2001-10-12  Ziemowit Laski  <zlaski@apple.com>
6285         * objc/objc-act.c (finish_objc): Correct precondition for emitting
6286         symtab declarations.
6288 2001-10-12  Stan Shebs  <shebs@apple.com>
6290         * config/rs6000/rs6000.c: Remove uses of "register" specifier in
6291         declarations of arguments and local variables.
6293 2001-10-12  Christopher Faylor  <cgf@redhat.com>
6295         * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
6296         ENDFILE_SPEC definition.
6298 2001-10-12  Kazu Hirata  <kazu@hxi.com>
6300         * gthr-dce.h: Fix comment formatting.
6301         * gthr-posix.h: Likewise.
6302         * gthr-single.h: Likewise.
6303         * gthr-solaris.h: Likewise.
6304         * gthr-vxworks.h: Likewise.
6305         * gthr-win32.h: Likewise.
6307 2001-10-12  Jakub Jelinek  <jakub@redhat.com>
6309         * final.c (output_asm_insn): Make sure assembly dialects are
6310         terminated, not nested.  Output `|' and `}' characters if they
6311         don't appear inside assembly dialect selection.
6312         * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
6313         rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
6314         rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
6315         strsetsi_rex_1): Add {} braces.
6317 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
6319         * toplev.c (compile_file): Ignore return value from yyparse.
6320         Always pop any nested binding levels after yyparse returns.
6322 2001-10-11  Richard Henderson  <rth@redhat.com>
6324         * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
6326 2001-10-11  Richard Henderson  <rth@redhat.com>
6328         * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
6329         fall back to add_AT_long_long for large CONST_INT.
6331 2001-10-11  Richard Henderson  <rth@redhat.com>
6333         * config/i386/i386.md (setcc splitters): Add four splitters to
6334         simplify compound compares that simplify_comparison can't handle.
6336 2001-10-11  Zack Weinberg  <zack@codesourcery.com>
6338         * cpplex.c (digraph_spellings, token_spellings): Make static.
6340 2001-10-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6342         * unroll.c (loop_iterations): Fixup last patch.
6344 2001-10-11  Richard Henderson  <rth@redhat.com>
6346         * rtl.h (REG_VTABLE_REF): New.
6347         * rtl.c (reg_note_name): Add it.
6348         * combine.c (distribute_notes): Handle it.
6349         * final.c (final_scan_insn): Handle it.
6350         * tree.def (VTABLE_REF): New.
6351         * expr.c (expand_expr): Handle it.
6352         * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
6353         * output.h: Declare them.
6355 2001-10-11  Richard Henderson  <rth@redhat.com>
6357         * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
6358         for a DECL_INITIAL.
6360 2001-10-11  David Edelsohn  <edelsohn@gnu.org>
6362         * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
6363         available in 64-bit mode.
6365 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
6367         * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
6368         cris-*-linux* cases.
6369         * config/cris/cris-protos.h: New file.
6370         * config/cris/cris.c: New file.
6371         * config/cris/cris.h: New file.
6372         * config/cris/cris.md: New file.
6373         * config/cris/linux.h: New file.
6374         * config/cris/aout.h: New file.
6375         * config/cris/arit.c: New file.
6376         * config/cris/cris_abi_symbol.c: New file.
6377         * config/cris/mulsi3.asm: New file.
6378         * config/cris/t-aout: New file.
6379         * config/cris/t-cris: New file.
6380         * config/cris/t-elfmulti: New file.
6381         * config/cris/t-linux: New file.
6382         * doc/invoke.texi: Add CRIS options.
6383         * doc/install.texi (Specific): Add blurb for CRIS.
6385 2001-10-10  Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
6387         * config/float-i128.h: Make sure __STDC__VERSION__ is defined
6388         before using it.
6389         * config/float/i32.h: Likewise.
6390         * config/float-i386.h: Likewise.
6391         * config/float-i64.h: Likewise.
6392         * config/float-m68k.h: Likewise.
6393         * config/float-sh.h: Likewise.
6394         * config/float-sparc.h: Likewise.
6396 2001-10-11  Hans-Peter Nilsson  <hp@axis.com>
6398         * doc/contrib.texi: Add note about CRIS port to my entry.
6400 2001-10-11  Kazu Hirata  <kazu@hxi.com>
6402         * basic-block.h: Fix formatting.
6403         * bitmap.h: Likewise.
6404         * cpplib.h: Likewise.
6405         * c-tree.h: Likewise.
6406         * diagnostic.h: Likewise.
6407         * flags.h: Likewise.
6408         * ggc.h: Likewise.
6409         * longlong.h: Likewise.
6410         * real.h: Likewise.
6411         * reload.h: Likewise.
6412         * rtl.h: Likewise.
6413         * tree.h: Likewise.
6415 2001-10-10  Richard Henderson  <rth@redhat.com>
6417         * c-parse.in (asm_operand): Allow named operands.
6418         * genconfig.c (max_recog_operands): Set to 29.
6419         * local-alloc.c (requires_inout): Skip multiple digits.
6420         * recog.c (asm_operand_ok): Likewise.
6421         (preprocess_constraints): Use strtoul for matching constraints.
6422         (constrain_operands): Likewise.
6423         * regmove.c (find_matches): Likewise.
6424         * reload.c (find_reloads): Likewise.
6425         * stmt.c (parse_output_constraint): Don't reject in-out
6426         constraint on operands > 9.  Reject '[' in constraint.
6427         (expand_asm_operands): Handle named operands.  Use strtoul
6428         for matching constraints.
6429         (check_operand_nalternatives): Split out from expand_asm_operands.
6430         (check_unique_operand_names): New.
6431         (resolve_operand_names, resolve_operand_name_1): New.
6433         * doc/extend.texi (Extended Asm): Document named operands.
6434         * doc/md.texi (Simple Constraints): Document matching constraints
6435         on operands > 9.
6437 2001-10-10  Richard Henderson  <rth@redhat.com>
6439         * combine.c (try_combine): Handle a SEQUENCE of one insn.
6441         * i386.c (test splitter): Narrow tests vs paradoxical subregs.
6442         (jcc splitters): Add two splitters to simplify compound compares
6443         that simplify_comparison can't handle.
6445 2001-10-10  Richard Henderson  <rth@redhat.com>
6447         * langhooks.c: Include langhooks.h.
6448         * Makefile.in (langhooks.o): Depend on it.
6450 Wed Oct 10 23:49:06 EDT 2001  John Wehle  (john@feith.com)
6452         * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
6453         should not be considered as a no-op.
6454         * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
6456 2001-10-10  Stan Shebs  <shebs@apple.com>
6458         * alias.c: Remove uses of "register" specifier in declarations
6459         of arguments and local variables.
6460         * c-common.c: Ditto.
6461         * c-convert.c: Ditto.
6462         * c-decl.c: Ditto.
6463         * c-format.c: Ditto.
6464         * c-semantics.c: Ditto.
6465         * c-typeck.c: Ditto.
6466         * caller-save.c: Ditto.
6467         * calls.c: Ditto.
6468         * cfg.c: Ditto.
6469         * cfgbuild.c: Ditto.
6470         * cfgrtl.c: Ditto.
6471         * collect2.c: Ditto.
6472         * combine.c: Ditto.
6473         * convert.c: Ditto.
6474         * cppexp.c: Ditto.
6475         * cppfiles.c: Ditto.
6476         * cse.c: Ditto.
6477         * dbxout.c: Ditto.
6478         * defaults.h: Ditto.
6479         * df.c: Ditto.
6480         * dwarf2out.c: Ditto.
6481         * dwarfout.c: Ditto.
6482         * emit-rtl.c: Ditto.
6483         * explow.c: Ditto.
6484         * expmed.c: Ditto.
6485         * expr.c: Ditto.
6486         * final.c: Ditto.
6487         * fix-header.c: Ditto.
6488         * floatlib.c: Ditto.
6489         * flow.c: Ditto.
6490         * fold-const.c: Ditto.
6491         * function.c: Ditto.
6492         * gcc.c: Ditto.
6493         * gcse.c: Ditto.
6494         * gen-protos.c: Ditto.
6495         * genattrtab.c: Ditto.
6496         * gencheck.c: Ditto.
6497         * genconfig.c: Ditto.
6498         * genemit.c: Ditto.
6499         * genextract.c: Ditto.
6500         * genflags.c: Ditto.
6501         * gengenrtl.c: Ditto.
6502         * genoutput.c: Ditto.
6503         * genpeep.c: Ditto.
6504         * genrecog.c: Ditto.
6505         * gensupport.c: Ditto.
6506         * global.c: Ditto.
6507         * gmon.c: Ditto.
6508         * graph.c: Ditto.
6509         * haifa-sched.c: Ditto.
6510         * hard-reg-set.h: Ditto.
6511         * hash.c: Ditto.
6512         * integrate.c: Ditto.
6513         * jump.c: Ditto.
6514         * lists.c: Ditto.
6515         * local-alloc.c: Ditto.
6516         * loop.c: Ditto.
6517         * mips-tdump.c: Ditto.
6518         * mips-tfile.c: Ditto.
6519         * optabs.c: Ditto.
6520         * prefix.c: Ditto.
6521         * print-rtl.c: Ditto.
6522         * read-rtl.c: Ditto.
6523         * real.c: Ditto.
6524         * recog.c: Ditto.
6525         * reg-stack.c: Ditto.
6526         * regclass.c: Ditto.
6527         * regmove.c: Ditto.
6528         * reload.c: Ditto.
6529         * reload1.c: Ditto.
6530         * reorg.c: Ditto.
6531         * resource.c: Ditto.
6532         * rtl.c: Ditto.
6533         * rtlanal.c: Ditto.
6534         * scan.c: Ditto.
6535         * sched-deps.c: Ditto.
6536         * sched-rgn.c: Ditto.
6537         * sdbout.c: Ditto.
6538         * simplify-rtx.c: Ditto.
6539         * stmt.c: Ditto.
6540         * stor-layout.c: Ditto.
6541         * toplev.c: Ditto.
6542         * tradcif.y: Ditto.
6543         * tradcpp.c: Ditto.
6544         * tree.c: Ditto.
6545         * unroll.c: Ditto.
6546         * varasm.c: Ditto.
6547         * xcoffout.c: Ditto.
6549 2001-10-10  Richard Henderson  <rth@redhat.com>
6551         * rtl.h (can_reverse_comparison_p): Remove.
6553 2001-10-10  Christopher Faylor <cgf@redhat.com>
6555         * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
6556         used.
6558 2001-10-10  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
6560         * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
6561         (Thanks to Chris Faylor for suggesting macro name).
6562         (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
6563         WIN32 defines.
6564         (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
6565         (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
6566         (MATH_LIBRARY): Undef before definition.
6567         (OUTPUT_QUOTED_STRING): Likewise.
6568         * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
6570 2001-10-10  Richard Henderson  <rth@redhat.com>
6572         * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
6573         (fde_unencoded_compare): Likewise.  Don't use subtraction to get
6574         a tristate comparison value.
6575         (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
6577 2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6579         PR c++/4512
6580         * unroll.c (loop_iterations): Ignore insns generated by loop
6581         unrolling.
6583         * config.gcc (mips*-*-gnu*): Delete support.
6584         * config/mips/gnu.h: Remove.
6586 2001-10-10  Kazu Hirata  <kazu@hxi.com>
6588         * calls.c: Fix formatting.
6589         * c-decl.c: Likewise.
6590         * cfgcleanup.c: Likewise.
6591         * combine.c: Likewise.
6592         * cppfiles.c: Likewise.
6593         * cpplib.c: Likewise.
6594         * cppmacro.c: Likewise.
6595         * crtstuff.c: Likewise.
6596         * cse.c: Likewise.
6597         * dwarf2out.c: Likewise.
6598         * expmed.c: Likewise.
6599         * expr.c: Likewise.
6600         * fold-const.c: Likewise.
6601         * function.c: Likewise.
6602         * gcse.c: Likewise.
6603         * genattrtab.c: Likewise.
6604         * ggc-page.c: Likewise.
6605         * integrate.c: Likewise.
6606         * libgcc2.c: Likewise.
6607         * loop.c: Likewise.
6608         * optabs.c: Likewise.
6609         * profile.c: Likewise.
6610         * protoize.c: Likewise.
6611         * real.c: Likewise.
6612         * recog.c: Likewise.
6613         * reload1.c: Likewise.
6614         * reload.c: Likewise.
6615         * reorg.c: Likewise.
6616         * resource.c: Likewise.
6617         * sched-rgn.c: Likewise.
6618         * sdbout.c: Likewise.
6619         * stmt.c: Likewise.
6620         * toplev.c: Likewise.
6621         * varasm.c: Likewise.
6623 2001-10-10  Janis Johnson  <janis187@us.ibm.com>, Alexandre Oliva  <aoliva@redhat.com>
6625         * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
6626         * Makefile.in (langhooks.o): Add dependencies.
6628 Wed Oct 10 00:41:29 EDT 2001  John Wehle  (john@feith.com)
6630         * rs6000.c (rs6000_emit_load_toc_table): Don't
6631         strdup the toc label.
6632         (create_TOC_reference): Likewise.
6634 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
6636         * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
6637         version default.
6639 2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
6641         * config/i386/i386.c (ix86_attribute_table): Correct
6642         min_len, max_len fields for dllimport, dllexport and shared.
6644 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6646         * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
6647         doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
6648         Consistently use "nonzero" instead of "non-zero".
6650 2001-10-09  Kazu Hirata  <kazu@hxi.com>
6652         * acconfig.h: Fix comment formatting.
6653         * c-dump.h: Likewise.
6654         * c-tree.h: Likewise.
6655         * conditions.h: Likewise.
6656         * expr.h: Likewise.
6657         * function.h: Likewise.
6658         * gthr.h: Likewise.
6659         * hwint.h: Likewise.
6660         * integrate.h: Likewise.
6661         * intl.h: Likewise.
6662         * loop.h: Likewise.
6663         * optabs.h: Likewise.
6665 2001-10-09  Kazu Hirata  <kazu@hxi.com>
6667         * c-common.h: Fix comment formatting.
6668         * c-dump.c: Likewise.
6669         * cfg.c: Likewise.
6670         * diagnostic.h: Likewise.
6671         * except.c: Likewise.
6672         * gcc.h: Likewise.
6673         * gcov-io.h: Likewise.
6674         * genattrtab.c: Likewise.
6675         * output.h: Likewise.
6676         * predict.h: Likewise.
6677         * reload1.c: Likewise.
6678         * reload.h: Likewise.
6679         * resource.h: Likewise.
6680         * scan.h: Likewise.
6681         * system.h: Likewise.
6682         * tree.h: Likewise.
6683         * tree-inline.c: Likewise.
6684         * tsystem.h: Likewise.
6685         * varasm.c: Likewise.
6686         * xcoffout.h: Likewise.
6688 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
6690         * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
6692 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
6694         * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
6695         config/i386/i386elf.h, config/i386/netbsd-elf.h,
6696         config/i386/netware.h, config/mcore/gfloat.h,
6697         config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
6698         config/netware.h, gccbug.in: Update FSF address.
6700 2001-10-09  Kazu Hirata  <kazu@hxi.com>
6702         * c-common.c: Fix comment typos.
6703         * cfgrtl.c: Likewise.
6704         * collect2.c: Likewise.
6705         * cpplex.c: Likewise.
6706         * doloop.c: Likewise.
6707         * dwarf2out.c: Likewise.
6708         * dwarfout.c: Likewise.
6709         * expr.c: Likewise.
6710         * fold-const.c: Likewise.
6711         * gcc.c: Likewise.
6712         * gcov.c: Likewise.
6713         * gcse.c: Likewise.
6714         * global.c: Likewise.
6715         * ifcvt.c: Likewise.
6716         * loop.c: Likewise.
6717         * optabs.c: Likewise.
6718         * protoize.c: Likewise.
6719         * regclass.c: Likewise.
6720         * reorg.c: Likewise.
6721         * rtl.h: Likewise.
6722         * stmt.c: Likewise.
6723         * tree.h: Likewise.
6724         * doc/cpp.texi: Likewise.
6725         * doc/c-tree.texi: Likewise.
6726         * doc/extend.texi: Likewise.
6727         * doc/invoke.texi: Likewise.
6728         * doc/objc.texi: Likewise.
6729         * doc/tm.texi: Likewise.
6731 2001-10-08  Richard Henderson  <rth@redhat.com>
6733         * varasm.c (set_named_section_flags): Initialize "declared".
6735 2001-10-08  Robert Lipe  <robertlipe@usa.net>
6737         * varasm.c (struct in_named_entry): Add declared.
6738         (named_section_first_declaration): New function.
6739         (default_elf_asm_named_section): Use it.
6740         * output.h (named_section_first_declaration): New.
6742 2001-10-08  Richard Henderson  <rth@redhat.com>
6744         * i386.md (movsi_xor): Export.
6745         (setcc peep2): Use it when available; add an alternative to
6746         match zero_extendhisi2_and.
6748 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6750         * romp-protos.h (romp_initialize_trampoline): New function.
6751         * romp.c (romp_initialize_trampoline): Likewise.
6752         * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
6753         romp_initialize_trampoline.
6755 2001-10-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6757         * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
6758         * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6759         * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6760         * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
6762 2001-10-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6764         * unroll.c (loop_iterations): Extend check for multiple back edges.
6766 2001-10-08  Alexandre Oliva  <aoliva@redhat.com>
6768         * langhooks.h: New file.
6769         * Makefile.in (OBJS): Added langhooks.o.
6770         (c-lang.o): Depend on langhooks.h.
6771         (c-common.o): Don't depend on tree-inline.h.
6772         (tree-inline.o): Depend on toplev.h.
6773         (langhooks.o): New rule.
6774         * c-common.c: Don't include tree-inline.h.
6775         (c_mark_lang_decl): Mark argument c as unused.
6776         (c_common_lang_init): Don't initialize hooks here.
6777         * c-lang.c: Include langhooks.h, then override some macros.
6778         (lang_hooks): Initialize with macros in langhooks.h.
6779         (c_init): Don't initialize hooks here.
6780         * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
6781         (struct lang_hooks): Add tree_inlining.  Refer to langhooks.h.
6782         * tree-inline.c: Include toplev.h.  Don't define hook variables.
6783         * tree-inline.h: Don't define hook types nor declare hook
6784         variables.  Move macros to...
6785         * langhooks.c: ... new file, as functions.  Adjust all callers.
6787 2001-10-08  Jeffrey A Law  <law@cygnus.com>
6789         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
6790         purge_mem_unchanging_flag on all instructions, not just on those
6791         before NOTE_INSN_FUNCTION_BEG.
6793 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
6795         * cppmacro.c (_cpp_create_definition): Leave comments off.
6797         * doc/cpp.texi: Update.
6799 2001-10-08  DJ Delorie  <dj@redhat.com>
6801         * c-decl.c (grokfield): Make sure the only unnamed fields
6802         we're allowing are either structs or unions.
6803         * doc/extend.texi: Add documentation for the unnamed field
6804         extension.
6806 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
6808         * aclocal.m4 (gcc_AC_PROG_GNAT): New.
6809         * configure.in: Use it.
6810         * configure: Regenerated.
6811         * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
6812         config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
6814 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
6816         * cppfiles.c (open_file): Don't mark zero-length files
6817         never-reread here.  Don't output diagnostics here either.
6818         (stack_include_file): Mark them never-reread here.
6819         (_cpp_read_file): Update.
6821 2001-10-08  Richard Henderson  <rth@redhat.com>
6823         * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6825 2001-10-08  Richard Henderson  <rth@redhat.com>
6827         * expr.c (store_expr): When converting a CONST_INT for storage
6828         in a SUBREG, convert it to both SUBREG modes before stripping
6829         the SUBREG.
6831 2001-10-08  Richard Henderson  <rth@redhat.com>
6833         * varasm.c (restore_varasm_status): New.
6834         * function.h: Declare it.
6835         * function.c (pop_function_context_from): Call it.
6837 2001-10-08  Richard Henderson  <rth@redhat.com>
6839         * c-common.h (struct c_lang_decl): Add declared_inline.
6840         * c-tree.h (DECL_DECLARED_INLINE_P): New.
6841         * c-lang.c (c_disregard_inline_limits): Use it.
6842         * c-decl.c (duplicate_decls): Likewise.
6843         (pushdecl, redeclaration_error_message): Likewise.
6844         (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
6845         (grokdeclarator): Likewise.  Set DECL_DECLARED_INLINE_P.
6846         Set DECL_INLINE if -finline-functions.
6847         (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
6849 2001-10-08  Neil Booth  <neil@daikokuya.demon.co.uk>
6851         * cppmacro.c (funlike_invocation_p): Move some logic to caller
6852         in enter_macro_context.  Create a padding token in its own context
6853         if necessary when the search for '(' fails.
6854         (enter_macro_context): Update.
6856 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
6858         * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
6859         genmultilib, toplev.c: Fix spelling errors of "separate" as
6860         "seperate", and corresponding spelling errors of related words.
6862 2001-10-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6864         * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
6865         * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
6866         Likewise.
6867         * c-dump.c (dump_option_value_info): Likewise.
6868         * c-format.c (format_length_info, format_char_info,
6869         format_flag_spec, format_flag_pair, format_kind_info): Likewise.
6870         * collect2.c (names): Likewise.
6871         * cppdefault.h (default_include): Likewise.
6872         * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
6873         * flow.c (life_analysis): Likewise.
6874         * gcc.c (dir_separator_str, modify_target, option_map,
6875         target_option_translations, spec_list_1, extra_specs_1,
6876         init_spec): Likewise.
6877         * gcov.c (gcov_version_string): Likewise.
6878         * genattr.c (write_units): Likewise.
6879         * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
6880         * gengenrtl.c (rtx_definition, defs): Likewise.
6881         * genrecog.c (pred_table): Likewise.
6882         * global.c (global_alloc): Likewise.
6883         * lcm.c (optimize_mode_switching): Likewise.
6884         * local-alloc.c (find_free_reg): Likewise.
6885         * params.h (param_info): Likewise.
6886         * predict.c (predictor_info): Likewise.
6887         * protoize.c (unexpansion_struct): Likewise.
6888         * real.c (bmask): Likewise.
6889         * recog.h (insn_operand_data, insn_data): Likewise.
6890         * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
6891         * stmt.c (expand_nl_goto_receiver): Likewise.
6892         * toplev.c (da, debug_args, lang_opt, documented_lang_options,
6893         target_switches, target_options): Likewise.
6894         * tradcif.y (token, tokentab2, yylex): Likewise.
6895         * tree.h (attribute_spec): Likewise.
6897         * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
6898         Likewise.
6899         * arc.c (arc_output_function_epilogue): Likewise.
6900         * arm.c (processors, all_cores, all_architectures,
6901         arm_override_options, isr_attribute_arg, isr_attribute_args,
6902         arm_isr_value): Likewise.
6903         * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
6904         Likewise.
6905         * c4x.c (c4x_int_reglist): Likewise.
6906         * d30v.c (override_options): Likewise.
6907         * h8300.c (shift_insn): Likewise.
6908         * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
6909         pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
6910         ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
6911         builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
6912         ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
6913         * i386.h (processor_costs, ix86_cost): Likewise.
6914         * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
6915         * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
6916         * m68k.c (codes_68881, codes_FPA): Likewise.
6917         * m88k.c (mode_from_align, max_from_align, all_from_align,
6918         best_from_align, m_options): Likewise.
6919         * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
6920         * mcore.c (mode_from_align): Likewise.
6921         * mips/elf64.h (UNIQUE_SECTION): Likewise.
6922         * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
6923         * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
6924         * mips.h (mips_regno_to_class): Likewise.
6925         * ns32k.c (scales): Likewise.
6926         * pa.c (import_string, magic_milli): Likewise.
6927         * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
6928         * sparc.c (leaf_reg_remap, sparc_override_options,
6929         reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
6930         Likewise.
6931         * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
6933 2001-10-07  Dale Johannesen  <dalej@apple.com>
6935         * reload1.c (reload_reg_free_p): Teach register interference
6936         checking that multiple output reloads are emitted in
6937         reverse order.
6938         reload1.c (reload_reg_reaches_end_p):  Ditto.
6939         reload1.c (reloads_conflict):  Ditto.
6941 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
6943         * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
6944         NULL_TREE inside @code.
6946 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
6948         * doc/gcc.texi: Document consistent style of "32-bit",
6949         "Objective-C", and "@code{NULL}".
6951 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
6953         * cpplex.c (enum spell_type): Add SPELL_NUMBER.
6954         (cpp_token_len, cpp_spell_token, cpp_output_token,
6955         _cpp_equiv_tokens): Handle it.
6956         * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
6957         CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
6958         * cppexp.c (_cpp_parse_expr): Use the correct operator code in
6959         error messages.
6961 Sat Oct  6 07:42:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6963         * gcc.c (default_compilers): Remove .ada.
6965 2001-10-06  Neil Booth  <neil@daikokuya.demon.co.uk>
6967         * doc/cppinternals.texi: Update.
6969 2001-10-06  Zack Weinberg  <zack@codesourcery.com>
6971         * gcc.c (main): Set this_file_error if the appropriate
6972         compiler for a language has not been installed.
6974 2001-10-06  Ulrich Weigand  <uweigand@de.ibm.com>
6976         * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
6978 2001-10-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6980         * gccbug.in (CATEGORIES): Add ada.
6982 2001-10-05  Catherine Moore  <clm@redhat.com>
6984         * config/stormy16/stormy-abi:  Document abi changes.
6985         * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
6986         (ICALL_REGS): New register class.
6987         (NUM_ARGUMENT_REGISTERS): Now 6.
6988         (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
6989         in registers.
6990         (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
6991         * config/stormy16.md (call_internal, call_value_internal,
6992         indirect_jump): Use new 'z' constraint.
6994 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
6996         * doc/cppinternals.texi: Update.
6998 2001-10-05  Richard Henderson  <rth@redhat.com>
7000         * dwarf2out.c (FRAME_BEGIN_LABEL): New.
7001         (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
7002         the gas section-name-as-label feature.
7004 2001-10-05  Neil Booth  <neil@daikokuya.demon.co.uk>
7006         * doc/cppinternals.texi: Update.
7008 Fri Oct  5 08:17:46 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7010         * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
7011         to ensure valid SImode constants.
7013 2001-10-05  Alexandre Oliva  <aoliva@redhat.com>
7015         * Makefile.in (c-decl.o): Depend on tree-inline.h.
7016         (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
7017         * c-decl.c: Include tree-inline.h.
7018         (c_expand_body): Call optimize_inline_calls. Determine whether
7019         a function is inlinable upfront, and only clear
7020         DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
7021         * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
7022         (c_disregard_inline_limits): New function.
7023         (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
7024         (c_post_options): Enable tree inlining if inlining is enabled.
7025         Don't inline trees when instrumenting functions.
7026         (c_init): Initialize lang_disregard_inline_limits and
7027         lang_cannot_inline_tree_fn.
7028         * tree-inline.c (initialize_inlined_parameters): Handle calls
7029         with fewer arguments than declared parameters, and fewer
7030         parameters than passed arguments.  Don't assume value is a
7031         DECL.
7032         (declare_return_variable): Convert return value back to the
7033         original type, if it was promoted.
7034         (tree_inlinable_function_p): New function.
7035         (inlinable_function_p): Don't look at DECL_INLINE if we're
7036         inlining all functions.  Make it work with a NULL id.
7037         Re-check DECL_UNINLINABLE after language-specific checks.
7038         * tree-inline.h (tree_inlinable_function_p): Declare it.
7039         * integrate.c (save_for_inline): Don't bother to prepare argvec
7040         when not inlining.
7041         * cse.c (check_for_label_ref): Don't check deleted labels.
7043         * Makefile.in (tree-inline.o): Depend on newly-included headers.
7044         * tree-inline.c: Include headers needed for the functions moved in.
7045         (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
7046         (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
7047         (copy_body, initialize_inlined_parameters): Likewise.
7048         (declare_return_variable, inlinable_function_p): Likewise.
7049         (expand_call_inline, expand_calls_inline): Likewise.
7050         (optimize_inline_calls, clone_body): Likewise.
7051         (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
7052         (copy_tree_r, remap_save_expr): Likewise.
7054 2001-10-04  Alexandre Oliva  <aoliva@redhat.com>
7056         * Makefile.in (OBJS): Added tree-inline.o.
7057         (c-common.o): Depend on tree-inline.h.
7058         (tree-inline.o): New target.
7059         * c-common.c: Include tree-inline.h.
7060         (c_mark_lang_decl): Don't mark saved_tree.
7061         (c_common_lang_init): Set lang_anon_aggr_type_p.
7062         * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
7063         (struct c_lang_decl): Moved saved_tree to tree_decl.
7064         * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
7065         * integrate.h (function_attribute_inlinable_p): Declare it.
7066         * integrate.c (function_attribute_inlinable_p): Export it.
7067         * tree-inline.c: New file.  Define variables declared in...
7068         * tree-inline.h: New file.  Declare functions to be moved to
7069         tree-inline.c.  Define macros and declare types and hooks for
7070         language-specific tree inlining.
7071         (flag_inline_trees): Moved definition from cp/decl2.c.
7072         * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
7073         (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
7074         (struct tree_decl): Moved saved_tree from c_lang_decl and
7075         inlined_fns from C++'s lang_decl.
7077 2001-10-04  Loren J. Rittle  <ljrittle@acm.org>
7079         * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
7080         propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
7082 2001-10-04  Neil Booth  <neil@daikokuya.demon.co.uk>
7084         * doc/cppinternals.texi: Update.
7086 2001-10-04  Eric Christopher  <echristo@redhat.com>
7088         * config/mips/mips.c (init_cumulative_args): Remember to set
7089         cum->prototype.
7090         * config.gcc: Redo linux configuration. Add target_cpu_default
7091         of soft-float to all mipsisa32 combinations and tx39.
7092         * config/mips/linux.h: Remove include of mips.h.
7094 2001-10-03  Loren J. Rittle  <ljrittle@acm.org>
7096         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
7097         HOST_LDFLAGS and HOST_CPPFLAGS.
7099 2001-10-03  Ziemowit Laski  <zlaski@apple.com>
7101         * c-parse.in (objc_inherit_code, objc_pq_context,
7102         objc_public_flag): Make static.
7103         (objc_interface_context, objc_implementation_context,
7104         objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
7105         global tree array in objc/objc-act.[ch].
7106         (methoddef): Remove unnecessary code.
7108         * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
7109         Hoist struct definitions to objc-act.h.
7110         (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
7111         cat_count): Place declaration in objc-act.h.
7112         (objc_tree_index): Move enumeration to objc-act.h.
7113         (objc_global_trees): Place declaration and macro accessors in
7114         objc-act.h.
7115         (implementation_context): Remove duplicate; use
7116         objc_implementation_context instead:
7117         (method_context): Remove duplicate; use objc_method_context
7118         instead.
7119         (objc_ellipsis_node, objc_method_prototype_template,
7120         implemented_classes, function_type): Move global vars to
7121         objc_global_trees.
7122         (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
7123         (build_message_expr): Move actual construction of ObjC message
7124         send nodes to finish_message_expr.
7125         (finish_message_expr): New routine, contains code formerly in
7126         build_message_expr.
7127         * objc/objc-act.h (finish_message_expr): New prototype.
7128         (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
7129         declarations; these vars are now part of objc_global_trees.
7130         (objc_tree_index, objc_global_trees): Move definitions from
7131         objc-act.c.
7132         * objc/objc-tree.def: Update copyright info.
7134 Wed Oct  3 12:22:11 EDT 2001  John Wehle  (john@feith.com)
7136         * dwarf2asm.c (unaligned_integer_asm_op): Abort if
7137         op is NULL.
7138         * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
7139         only if TARGET_ARCH64.
7141 2001-10-02  Bernd Schmidt  <bernds@redhat.com>
7143         * doc/extend.texi: Fix some problems with previous checkin.
7144         * doc/invoke.texi: Likewise.
7146 2001-10-02  Neil Booth  <neil@daikokuya.demon.co.uk>
7148         * cpphash.h: Update comments.
7149         (cpp_context): Update.
7150         (spec_nodes): Remove n__Pragma.
7151         * cppinit.c (cpp_create_reader): Update.
7152         (builtin_array): Add _Pragma.
7153         * cpplib.h: Update comments.
7154         (NODE_DISABLED, BT_PRAGMA): New.
7155         (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
7156         * cppmacro.c (struct cpp_macro): Remove disabled.
7157         (builtin_macro): Return int, handle _Pragma, push the new token
7158         on the context stack.
7159         (funlike_invocation_p): Unconstify, update.
7160         (enter_macro_context): Handle builtins here.
7161         (replace_args, push_token_context, push_ptoken_context):
7162         Update for prototype changes.
7163         (_cpp_pop_context): Update.
7164         (cpp_get_token): Don't handle buitins, nor _Pragma here.
7165         (cpp_sys_macro_p): Update.
7166         (_cpp_free_definition): Clear disabled flag.
7167         (_cpp_create_definition): Upate.
7168         * cppmain.c: Update comments.
7170 Tue Oct  2 12:46:01 CEST 2001  Bo Thorsen     <bo@suse.co.uk>,
7171                                 Andreas Jaeger <aj@suse.de>,
7172                                 Jan Hubicka    <jh@suse.cz>
7174         * doc/invoke.texi (i386 Options): Document x86-64 options.
7175         (i386 and x86-64 Options): Rename i386 options section.
7177         * config/i386/i386.h (TARGET_UNWIND_INFO): New.
7178         (TARGET_SWITCHES): Add -munwind-info.
7179         (MASK_NO_UNWIND_INFO): New.
7180         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
7181         biarch compilation.
7182         (ASM_OUTPUT_DOUBLE_INT): New.
7184         * config/i386/linux64.h: New spec file for Linux x86-64 support.
7185         * config.gcc: Fix tm_file settings for x86-64.
7186         * config/i386/x86-64.h: New file with OS independent x86-64
7187         definitions.
7188         * config/i386/biarch64.h: New file used to configure compiler
7189         to biarch/64bit compilation.
7191         * config/i386/i386.c: (override_options): Set flags default
7192         for 64bit compilation.
7194 Tue Oct  2 12:46:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
7196         * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
7197         (ix86_expand_int_movcc): Optimize DImode conditional moves with
7198         constants on x86_64.
7199         (ix86_attr_length_immediate_default): Support MODE_DI.
7200         * i386.md (fixdi splitter): Add missing "&& 1" in splitter
7201         condition.
7202         (indirect_jump, tablejump): Turn into expander.
7204 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
7206         * c-common.c (c_format_attribute_table): Make format and
7207         format_arg attributes apply to function types rather than to
7208         decls.
7209         (is_valid_printf_arglist): Construct an attribute list and pass
7210         that to check_function_format rather than a name.
7211         * c-common.h (check_function_format): Adjust prototype.
7212         * c-decl.c (duplicate_decls): Preserve attributes from type of
7213         built-in decl when allowing for harmless conflict in types.
7214         * c-format.c (record_function_format,
7215         record_international_format, function_format_list,
7216         international_format_info, international_format_list): Remove.
7217         (function_format_info): Remove next, name and assembler_name.
7218         Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
7219         (decode_format_attr): New.
7220         (handle_format_attribute): Handle receiving a type rather than a
7221         decl.  Call decode_format_attr.  Store format information in a
7222         function_format_info.
7223         (handle_format_arg_attribute): Correct comment.  Handle receiving
7224         a type rather than a decl.  Use unsigned HOST_WIDE_INT for
7225         arg_num.
7226         (check_format_info_recurse, check_format_info_main): Take argument
7227         numbers as unsigned HOST_WIDE_INT.
7228         (check_function_format): Take a list of attributes from the
7229         function type rather than a name or assembler name.  Check for
7230         format attributes in that list and the attributes on the type of
7231         the current function rather than looking through
7232         function_format_list.
7233         (check_format_info): Use unsigned HOST_WIDE_INT for argument
7234         numbers.
7235         (check_format_info_recurse): Take format_arg attributes from the
7236         type of the function calls rather than using
7237         international_format_list.  Allow for multiple format_arg
7238         attributes.
7239         * c-typeck.c (build_function_call): Pass type attributes to
7240         check_function_format rather than name or assembler name.  Don't
7241         require there to be a name or assembler name to check formats.
7243 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
7245         * attribs.c (decl_attributes): Possibly call
7246         insert_default_attributes to insert default attributes on
7247         functions in a lazy manner.
7248         * builtin-attrs.def: New file; define the default format and
7249         format_arg attributes.
7250         * c-common.c (c_format_attribute_table): Move to earlier in the
7251         file.
7252         (c_common_nodes_and_builtins): Initialize format_attribute_table.
7253         (enum built_in_attribute, built_in_attributes,
7254         c_attrs_initialized, c_init_attributes,
7255         c_common_insert_default_attributes): New.
7256         (c_common_lang_init): Don't initialize format_attribute_table.  Do
7257         call c_init_attributes.
7258         * Makefile.in (c-common.o): Depend on builtin-attrs.def.
7259         * c-common.h (init_function_format_info): Don't declare.
7260         (c_common_insert_default_attributes): Declare.
7261         * c-decl.c (implicitly_declare, builtin_function): Call
7262         decl_attributes.
7263         (init_decl_processing): Don't call init_function_format_info.
7264         (insert_default_attributes): New.
7265         * c-format.c (handle_format_attribute,
7266         handle_format_arg_attribute): Be quiet about inappropriate
7267         declaration when applying default attributes.
7268         (init_function_format_info): Remove.
7269         * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
7270         (insert_default_attributes): Declare.
7272 2001-10-02  Joseph S. Myers  <jsm28@cam.ac.uk>
7274         * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
7276 2001-10-01  Jim Wilson  <wilson@redhat.com>
7278         * sched-deps.c (add_dependence): When elide conditional dependence,
7279         check that insn doesn't modify cond2.
7281 2001-10-01  Dale Johannesen  <dalej@apple.com>
7283         * config/rs6000/rs6000.h (enum processor_type): Add support
7284         for 7400 (G4) and 7450.
7285         (RTX_COSTS): Ditto.
7286         * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
7287         (rs6000_issue_rate): Ditto.
7288         (rs6000_adjust_cost): Fix cycle counts for compares.
7289         (debug_stack_info):  Fix an obvious typo.
7290         * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
7291         * doc/invoke.texi: Document.
7292         * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
7293         for Darwin.
7294         (PROCESSOR_DEFAULT): Ditto.
7296 2001-10-01  Loren J. Rittle  <ljrittle@acm.org>
7298         * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
7299         (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
7300         later recursive make invocation.
7302 2001-10-01  Hans Boehm  <boehm@acm.org>
7304         * optabs.c (emit_libcall_block): When using non-call exceptions,
7305         don't add REG_LIBCALL reg notes to trapping calls.
7307 2001-10-01  David Billinghurst <David.Billinghurst@riotinto.com>
7309         * flow.c (propagate_block_delete_libcall): Remove unused first arg
7310         (propagate_one_insn):  Update for above change
7312 2001-10-01  David Billinghurst <David.Billinghurst@riotinto.com>
7314         * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
7315         _Unwind_GetTextRelBase): Argument is unused.
7317 Mon Oct  1 19:20:57 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7319         * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
7320         Loop through NOPs, placeholders, and components.
7321         Don't go through NOPs if change mode.
7322         (record_alias_subset): Do nothing if SUBSET and SET are the same.
7323         * emit-rtl.c (set_mem_alias_set): Enable check.
7324         * expr.c (find_placeholder): New function.
7325         (expand_expr, case PLACEHOLDER_EXPR): Use it.
7326         (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
7327         to modify it and avoid unneeded copies.
7328         * expr.h (expand_expr): Always define.
7329         (find_placeholder): New declaration.
7331 2001-10-01  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7333         * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
7334         operand 2 is the stack pointer.
7335         ("addr-peephole"): Fix address computation peephole when operand 2
7336         is the stack pointer.
7338 Mon Oct  1 09:26:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7340         * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
7341         (ix86_setup_incoming_varargs): Likewise.
7343 2001-10-01  Jason Merrill  <jason_merrill@redhat.com>
7345         * stor-layout.c (layout_type): Don't complain about too-large
7346         array here.
7348 Mon Oct  1 06:43:41 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7350         * function.c (keep_stack_depressed): Don't use delete_insn.
7352         * expr.h (set_mem_alias_set): Move decl to here.
7353         * rtl.h (mem_attrs): New typedef and struct.
7354         (union rtunion_def): Add field for mem_attrs.
7355         (X0MEMATTR, MEM_ATTRS): New macros.
7356         (MEM_ALIAS_SET): Use MEM_ATTRS.
7357         (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
7358         (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
7359         (set_mem_alias_set): Delete decl from here.
7361         * alias.c (set_mem_alias_set): Delete from here.
7362         * emit-rtl.c (mem_attrs_htab): New variable.
7363         (rtx_htab_mark, rtx_htab_mark_1): Deleted.
7364         (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
7365         (mem_attrs_mark, get_mem_attrs): Likewise.
7366         (gen_rtx_MEM): Clear MEM_ATTRS.
7367         (set_mem_attributes): Move to here.
7368         (set_mem_alias_set): Likewise, and call get_mem_attrs.
7369         (init_emit_once): const_int_htab now deletable htab.
7370         Initialize mem_attrs_htab.
7371         * explow.c (set_mem_attributes): Delete from here.
7372         * function.c (put_var_into_stack): Clear MEM_ATTRS.
7373         (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
7374         * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
7375         * reload1.c (reload): Rework changing REG to MEM.
7377 2001-09-30  H.J. Lu <hjl@gnu.org>
7379         * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
7380         * config.in: Rebuild.
7382 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7384         * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
7385         ("tsthi_1"): Avoid allocation in register y.
7386         ("*movqi_68hc12"): Reorganize and fix constraints.
7387         ("zero_extendqisi2"): Prefer d over x and y for operand 1.
7388         ("addqi3"): Likewise.
7389         ("addhi3"): Fix constraints.
7390         ("*logicalhi3_zexthi"): Disparage soft registers.
7392 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7394         * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
7395         to tmp reg.
7397 2001-09-30  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
7399         * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
7400         that we use setjmp/longjmp exceptions.
7402 2001-09-30  Neil Booth  <neil@daikokuya.demon.co.uk>
7404         * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
7405         POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
7406         struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7407         _cpp_pool_alloc, _cpp_next_chunk): Remove.
7408         (_cpp_extend_buff, BUFF_ROOM): Update.
7409         (_cpp_append_extend_buff): New.
7410         (struct cpp_reader): Remove macro_pool, add a_buff.
7411         * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
7412         macro_pool.
7413         (cpp_destroy): Free a_buff instead of macro_pool.
7414         * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
7415         new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
7416         _cpp_pool_alloc, ): Remove.
7417         (parse_number, parse_string): Update use of _cpp_extend_buff.
7418         (_cpp_extend_buff): Update.
7419         (_cpp_append_extend_buff, cpp_aligned_alloc): New.
7420         * cpplib.c (glue_header_name, parse_answer):
7421         Update use of _cpp_extend_buff.
7422         (cpp_register_pragma, cpp_register_pragma_space): Use
7423         _cpp_aligned_alloc.
7424         (do_assert, do_unassert): Check for EOL, update.
7425         * cppmacro.c (stringify_arg, collect_args): Update to use
7426         _cpp_extend_buff and _cpp_append_extend_buff.
7427         (save_parameter, parse_params, alloc_expansion_token,
7428         _cpp_create_definition): Rework memory management.
7430 2001-09-29  Andris Pavenis  <pavenis@lanet.lv>
7432         * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
7433         update md_exec_prefix.
7434         (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
7435         to string constant.
7437 2001-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
7439         * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
7440         (SELECT_CC_MODE): Use s390_select_ccmode.
7441         * config/s390/s390-protos.h (s390_select_ccmode): Add.
7442         * config/s390/s390.c (s390_select_ccmode): New.
7443         (s390_match_ccmode): Add CCLmode.
7444         (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
7445         (output_branch_condition, output_inverse_branch_condition): Removed.
7446         (print_operand): Use s390_branch_condition_mnemonic.
7447         * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
7448         subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
7449         (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
7451         * config/s390/s390.c (check_and_change_labels): Preserve CC mode
7452         when converting conditional branches to far branches.
7453         * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
7454         cmpint_di): Use CCSmode instead of CCUmode.
7456         * config/s390/s390.c (legitimate_la_operand_p): New.
7457         * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
7458         * config/s390/s390.md (movsi): Convert load address patterns to
7459         arithmetic operations when necessary.
7460         (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
7461         (do_la): Renamed to *do_la and use legitimate_la_operand_p.
7462         (*do_la_reg_0): Don't use before reload.
7464         * config/s390/s390.c (legitimize_address): Make more efficient
7465         use of two-register addressing mode.
7467         * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
7468         with -mno-backchain in some corner cases.
7470         * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
7472 2001-09-29  Alexandre Oliva  <aoliva@redhat.com>
7474         * reload.c (find_reloads): Mark new USE insns with QImode.
7475         (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
7476         find_reloads_subreg_address): Likewise.
7477         * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
7478         encountered.
7479         * reload1.c (reload_combine_note_use): Likewise, inside USEs and
7480         CLOBBERs.
7481         (reload): Make sure there are no USEs with mode other than
7482         VOIDmode.  At the end, remove those marked with QImode.
7484 2001-09-29  Per Bothner  <per@bothner.com>
7486         * cppdefault.c (cpp_include_defaults):  Also search PREFIX_INCLUDE_DIR.
7487         * Makefile.in (includedir):  Rename to local_includedir.
7488         (includedir):  Define as $(prefix)/include.
7489         * config.in (PREFIX_INCLUDE_DIR):  New variable.
7490         * configure.in (PREFIX_INCLUDE_DIR):  Test for new variable.
7492 2001-09-29  Bernd Schmidt  <bernds@redhat.com>
7494         * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
7495         storehps builtins.
7496         * doc/extend.texi (Vector Extensions): New node.
7497         * doc/invoke.texi (Machine Dependent Options): Add documentation for
7498         i386 -mmmx, -msse, -m3dnow.
7500 Sat Sep 29 15:08:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
7502         * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
7504 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
7506         * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
7508         * doc/invoke.texi (Optimize Options): Delete spurious @table.
7510 2001-09-28  Richard Henderson  <rth@redhat.com>
7512         * varasm.c (assemble_integer): Bound alignment check by
7513         BIGGEST_ALIGNMENT.
7515         * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
7517 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7519         * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
7521 2001-09-25  Bernd Schmidt  <bernds@redhat.com>
7523         Mostly from Graham Stott  <grahams@redhat.com>
7524         * c-common.c (type_for_mode): Add support for V2SFmode.
7525         * tree.c (build_common_tree_nodes_2): Likewise.
7526         * tree.h (enum tree_index, global_trees): Likewise.
7527         * config/i386/i386.c (x86_3dnow_a): New variable.
7528         (override_options): Support 3Dnow extensions.
7529         (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
7530         Athlon's version of 3Dnow.
7531         (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
7532         (ix86_expand_builtin): Handle them.
7533         (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
7534         * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
7535         TARGET_3DNOW_A): New macros.
7536         (TARGET_SWITCHES): Add 3Dnow switches.
7537         (VALID_MMX_REG_MODE_3DNOW): New macro.
7538         (VECTOR_MODE_SUPPORTED_P): Use it.
7539         (enum ix86_builtins): Add entries for 3Dnow builtins.
7540         * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
7541         pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
7542         pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
7543         pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
7544         pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
7545         pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
7546         (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
7547         mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
7548         mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
7549         sfence_insn, prefetch): Make these available if TARGET_SSE or
7550         TARGET_3DNOW_A.
7552 Fri Sep 28 19:18:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
7554         * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
7555         ix86_va_start, ix86_build_va_list): Declare.
7556         * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
7557         ix86_va_start, ix86_build_va_list): New global functions.
7558         * i386.md (sse_prologue_save_insn): New insn.
7559         (sse_prologue_save): New expander.
7560         * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
7561         BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
7563 2001-09-28  Neil Booth  <neil@daikokuya.demon.co.uk>
7565         * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
7566         Use size_t everywhere, make definitions consistent with
7567         prototypes.
7569 Fri Sep 28 14:59:34 CEST 2001  Jan Hubicka  <jh@suse.cz>
7571         * gcse.c (replace_store_insn): Use delete_insn.
7572         * loop.c (move_movables): Likewise; avoid delete_insn
7573         from clobbering notes moved elsewhere.
7574         (check_dbra_loop): Use delete_insn.
7575         * ssa.c (convert_from_ssa): Likewise.
7576         * cse.c (cse_insn): Use delete_insn.
7578 2001-09-28  Neil Booth  <neil@daikokuya.demon.co.uk>
7580         * cpphash.h (struct cpp_buff): Make unsigned.
7581         (_cpp_get_buff): Take length of size_t.
7582         (_cpp_unaligned_alloc): New.
7583         (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
7584         (struct cpp_reader): Remove ident_pool.  Add u_buff.
7585         * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
7586         (cpp_destroy): Destroy u_buff, not ident_pool.
7587         * cpplex.c (parse_number, parse_string, save_comment,
7588         cpp_token_as_text): Update to use the unaligned buffer.
7589         (new_buff): Make unsigned.
7590         (_cpp_unaligned_alloc): New.
7591         * cpplib.c (glue_header_name): Update to use the unaligned buffer.
7592         * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
7593         Similarly.
7594         (collect_args): Make unsigned.
7596 2001-09-27  Zack Weinberg  <zack@codesourcery.com>
7598         * cpplex.c (cpp_output_token): Use a putc loop for
7599         SPELL_OPERATOR, and fwrite for SPELL_IDENT.
7601         * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
7602         * configure, config.in: Regenerate.
7603         * system.h: Replace fwrite and fprintf with their unlocked
7604         variants if available.
7606 2001-09-27  Richard Henderson  <rth@redhat.com>
7608         * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
7609         in favour of .eh_frame.
7611 2001-09-27  Aldy Hernandez  <aldyh@redhat.com>
7613         * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
7614         to macros.
7615         (LIBCALL_VALUE): Likewise.
7617 2001-09-27  Neil Booth  <neil@daikokuya.demon.co.uk>
7619         * cpphash.h: Update comment.
7620         * cpplex.c: Update comments.
7621         (_cpp_can_paste): Remove.
7622         * cpplib.h (_cpp_can_paste): Remove.
7623         * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
7624         lexer rather than _cpp_can_paste.
7626 2001-09-27  Neil Booth  <neil@daikokuya.demon.co.uk>
7628         * doc/cppinternals.texi: Update.
7630 2001-09-26  Neil Booth  <neil@daikokuya.demon.co.uk>
7632         * cpphash.h (struct cpp_pool): Remove locks and locked.
7633         (struct cpp_context): Add member buff.
7634         (struct cpp_reader): Remove member argument_pool.
7635         (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7636         * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
7637         * cpplex.c (chunk_suitable): Remove pool argument.
7638         (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
7639         (new_buff, _cpp_extend_buff): Update.
7640         (_cpp_get_buff): Fix silly pointer bug.  Be more selective about
7641         which buffer is returned.
7642         (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
7643         (_cpp_lock_pool, _cpp_unlock_pool): Remove.
7644         * cppmacro.c (lock_pools, unlock_pools): Remove.
7645         (push_ptoken_context): Take a _cpp_buff.
7646         (enter_macro_context): Pool locking removed.
7647         (replace_args): Use a _cpp_buff for the replacement list with
7648         arguments replaced.
7649         (push_token_context): Clear buff.
7650         (expand_arg): Use _cpp_pop_context.
7651         (_cpp_pop_context): Free a context's buffer, if any.
7653 2001-09-26  DJ Delorie  <dj@redhat.com>
7655         * c-typeck.c (digest_init): Check for sizeless arrays.
7657 2001-09-26  Richard Henderson  <rth@redhat.com>
7659         * optabs.c (init_one_libfunc): Create a dummy function type
7660         instead of using error_mark_node.
7662 2001-09-26  Neil Booth  <neil@daikokuya.demon.co.uk>
7664         * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
7665         _cpp_extend_buff, _cpp_free_buff): New.
7666         (struct cpp_reader): New member free_buffs.
7667         * cppinit.c (cpp_destroy): Free buffers.
7668         * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
7669         _cpp_extend_buff, _cpp_free_buff): New.
7670         * cpplib.h (struct cpp_options): Remove unused member.
7671         * cppmacro.c (collect_args): New.  Combines the old parse_arg
7672         and parse_args.  Use _cpp_buff for memory allocation.
7673         (funlike_invocation_p, replace_args): Update.
7675 Wed Sep 26 13:20:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
7677         * final.c (final_scan_insn): Use delete_insn instead of delete_note.
7679 2001-09-25  Andrew Haley  <aph@cambridge.redhat.com>
7681         * except.c (sjlj_mark_call_sites): Change address inside sequence.
7683 2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>
7685         * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
7686         glibc.
7688 2001-09-25  Janis Johnson  <janis187@us.ibm.com>
7689             Jim Wilson  <wilson@redhat.com>
7691         * doc/install.texi (Specific, ia64-*-linux): Document.
7693 Tue Sep 25 17:13:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
7695         * Makefile.in (cfgrtl.o): Add.
7696         * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7697         free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7698         free_aux_for_edge): Declare.
7699         * cfg.c
7700         (HAVE_return): Undefine.
7701         * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
7702         free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
7703         free_aux_for_edge): New global functions.
7704         (first_delete_block): New static variable.
7705         (init_flow): Clear first_delete_block.
7706         (basic_block_for_insn, label_value_list, tail_recursion_label_list,
7707          can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
7708          try_redirect_by_replacing_jump, last_loop_beg_note,
7709          back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
7710          delete_insn, delete_insn_chain, create_basic_block_structure,
7711          create_basic_block, flow_delete_block, compute_bb_for_insn,
7712          free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
7713          set_block_for_new_insns, split_block, merge_blocks_nomove,
7714          block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
7715          redirect_edge_and_branch, force_nonfallthru_and_redirect,
7716          force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
7717          tidy_fallthru_edges, split_edge, insert_insn_on_edge,
7718          commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
7719          debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
7720          purge_all_dead_edges): Move to ....
7721         * cfgrtl.c: New file; .... Here.
7723         * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
7724         (reroder_basic_block): Use alloc_aux_for_blocks.
7725         * predict.c (estimate_bb_frequencies): Likewise; use
7726         alloc_aux_for_edges.
7727         * profile.c (compute_branch_probabilities): Likewise.
7728         (branch_prob): Likewise.
7729         * reg-stack.c (reg_to_stack): Likewise.
7731         * emit-rtl.c (emit_insns_after): Never return NULL.
7733         * basic-block.h (set_block_for_new_insns): Delete.
7734         * cfgrtl.c (set_block_for_new_insns): Delete.
7736         * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
7737         calls when crossjumping.
7739         * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
7740         * unroll.c (copy_loop_body): Use delete_insn.
7742         * final.c (final, final_scan_insn): Use delete_insn/delete_note.
7743         * function.c (fixup_var_refs_insn, fixup_var_refs_1,
7744         keep_stack_depressed): Likewise.
7745         * gcse.c (cprop_cc0_jump): Likewise.
7746         * local-alloc.c (update_equiv_regs): Likewise.
7747         * loop.c (scan_loop, loop_delete_insns): Likewise.
7748         * regmove.c (try_auto_increment, fixup_match_1): Likewise.
7749         * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
7750         delete_output_reload, delete_address_reloads_1,
7751         reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
7752         Likewise.
7753         * sibcall.c (replace_call_placeholder): Likewise.
7754         * cse.c (cse_insn): Likewise.
7756 2001-09-25  Bernd Schmidt  <bernds@redhat.com>
7758         From Graham Stott  <grahams@redhat.com>
7759         (def_builtin): Only define builtins appropriate for target_flags.  All
7760         callers changed.
7761         (builtin_decsription): Add new field mask which is used to determine
7762         when to define the builtin via the macro def_builtin.
7764         (bdesc_comi): Initialise new mask fields.
7765         (bdesc_2srg): Likewise.
7766         (bdesc_1arg): Likewise.
7768         * config/i386/i386.c (ix86_init_builtins): Correct return type
7769         building v4hi_ftype_v4hi_int_int tree node.
7770         (ix86_expand_sse_comi): Fix typo swapping operands.
7771         Don't swap comparision condition, it is already swapped.
7772         (ix86_expand_sse_compare): Before swapping operands
7773         move operand 1 into new rtx and not the target rtx.
7774         Don't swap comparison condition, it is already swapped.
7775         Always check whether we need to create a new TARGET.
7777         * config/i386/i386.md: (sse_comi) Fix typos.
7778         (sse_ucomi): Likewise.
7779         (cvtss2si): Fix operand 0 contraint.
7780         (cvttss2si): Likewise.
7781         (sse_unpckhps): Fix mode for operand 2.
7782         (sse_unpcklps): Likewise.
7784 2001-09-25  Graham Stott  <grahams@redhat.com>
7786         * sibcall.c (skip_copy_to_return_value): Tighten return value
7787         copy check.
7789 2001-09-24  David Edelsohn  <edelsohn@gnu.org>
7791         * rs6000.c (lwa_operand): Address must be word aligned.
7793 Mon Sep 24 18:57:59 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7795         * tree.c (type_hash_marked_p): Consider as marked if debug symbol
7796         number has been set.
7797         (type_hash_mark): Mark type itself.
7799 2001-09-24  Neil Booth  <neil@daikokuya.demon.co.uk>
7801         * c-lex.c (cb_def_pragma): Update.
7802         (c_lex): Update, and skip padding.
7803         * cppexp.c (lex, parse_defined): Update, remove unused variable.
7804         * cpphash.h (struct toklist): Delete.
7805         (union utoken): New.
7806         (struct cpp_context): Update.
7807         (struct cpp_reader): New members eof, avoid_paste.
7808         (_cpp_temp_token): New.
7809         * cppinit.c (cpp_create_reader): Update.
7810         * cpplex.c (_cpp_temp_token): New.
7811         (_cpp_lex_direct): Add PREV_WHITE when parsing args.
7812         (cpp_output_token): Don't print leading whitespace.
7813         (cpp_output_line): Update.
7814         * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
7815         do_include_common, do_line, do_ident, do_pragma,
7816         do_pragma_dependency, _cpp_do__Pragma, parse_answer,
7817         parse_assertion): Update.
7818         (get_token_no_padding): New.
7819         * cpplib.h (CPP_PADDING): New.
7820         (AVOID_LPASTE): Delete.
7821         (struct cpp_token): New union member source.
7822         (cpp_get_token): Update.
7823         * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
7824         (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
7825         replace_args, quote_string, stringify_arg, parse_arg, next_context,
7826         enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
7827         _cpp_backup_tokens, _cpp_create_definition): Update.
7828         (push_arg_context): Delete.
7829         (padding_token, push_token_context, push_ptoken_context): New.
7830         (make_string_token, make_number_token): Update, rename.
7831         (cpp_get_token): Update to handle tokens as pointers to const,
7832         and insert padding appropriately.
7833         * cppmain.c (struct printer): New member prev.
7834         (check_multiline_token): Constify.
7835         (do_preprocessing, cb_line_change): Update.
7836         (scan_translation_unit): Update to handle spacing.
7837         * scan-decls.c (get_a_token): New.
7838         (skip_to_closing_brace, scan_decls): Update.
7839         * fix-header.c (read_scan_file): Update.
7841         * doc/cpp.texi: Update.
7843 2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7845         * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC.  Avoid
7846         leak by passing malloc'ed pointer to reconcat, not concat.
7848 2001-09-24  DJ Delorie  <dj@redhat.com>
7850         * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
7852 2001-09-24  Ulrich Weigand  <uweigand@de.ibm.com>:
7854         * flow.c (delete_dead_jumptables): Delete jumptable if the only
7855         reference is from the literal pool.
7857 2001-09-24  Janis Johnson  <janis187@us.ibm.com>
7859         * doc/install.texi (Final install): Request additional information
7860         in mail about successful builds.
7862 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7864         * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero.  Use
7865         initial value of return pointer register instead of value in frame-20.
7866         Revise comments.
7868 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7870         * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
7871         (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
7872         the libcall if there isn't a referenced identifier for the symbol.
7874 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7876         * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
7877         non 64-bit machines.  Use these as a plabel for the trampoline.
7878         (TRAMPOLINE_SIZE): Adjust size for new words.
7879         (INITIALIZE_TRAMPOLINE): Initialize new words.
7880         (TRAMPOLINE_ADJUST_ADDRESS): New.  Adjust address to make it a
7881         pointer to the plabel in the trampoline.
7883 2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
7885         * pa.c (function_arg): Pass floating arguments in both general and
7886         floating registers in indirect (dynamic) calls when generating code
7887         for the 32 bit ABI and the HP assembler.
7889 2001-09-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7891         * doc/install.texi: Markup fixes.
7892         Use Solaris 2, SunOS 4 as appropriate.
7893         (Specific, *-*-solaris2*): Explain this.
7894         Unconditionally warn against /usr/ucb tools.
7895         Remove Sun as warning, obsolete.
7896         Move X11 header bug workaround here, update patches.
7897         (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
7898         (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
7900 2001-09-23  Zack Weinberg  <zack@codesourcery.com>
7902         * errors.h (warning, error, fatal, internal_error): Don't mark
7903         with ATTRIBUTE_PRINTF_n.
7904         * toplev.h (internal_error, fatal_io_error, warning, error,
7905         pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
7906         error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
7907         Likewise.
7909 Sun Sep 23 18:19:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7911         * function.c (pop_function_context_from): var_refs_queue
7912         and temp slots now in GC memory.
7913         (mark_function_status, free_after_compilation): Likewise;
7914         also struct function now in GC memory.
7915         (assign_stack_temp_for_type): struct temp_slot now in GC memory.
7916         (combine_temp_slots): Likewise.
7917         (schedule_fixup_var_refs): var_refs_queue now in GC memory.
7918         (prepare_function_start): Use GC memory for struct function.
7919         (mark_temp_slot): Deleted.
7920         (gcc_mark_struct_function): struct function now in GC memory.
7922         * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
7923         code for division, not modulus.
7925         * rtl.def (MEM): Remove obsolete part of comment.
7927 2001-09-22  Joseph S. Myers  <jsm28@cam.ac.uk>
7929         * c-format.c (init_function_format_info): Check __builtin_printf
7930         and __builtin_fprintf even if -ffreestanding.  Check C99 functions
7931         in gnu89 mode.
7933 Sat Sep 22 09:09:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7935         * c-common.c (format_attribute_table): Remove decl.
7936         * tree.h (format_attribute_table, lang_attribute_table): New decls.
7937         (lang_attribute_common): Likewise.
7939         * function.c (fix_lexical_address): Use set_mem_alias_set.
7940         (expand_function_start): Likewise.
7941         * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
7943         * varasm.c (output_constant): Fix unused variable warning.
7945         * attribs.c: New file, from c-common.c.
7946         (attribute_tables): Now four elements.
7947         (format_attribute_table, lang_attribute_common): New variables.
7948         (init_attributes): Reflect above changes.
7949         (handle_mode_attribute): Delete check for wider than uintmax.
7950         * c-common.c: Delete parts moved to attribs.c.
7951         (enum attrs): Deleted; unused.
7952         (c_format_attribute_table): New variable.
7953         (c_common_lang_init): Initialize format_attribute_table with it.
7954         * c-common.h (decl_attributes): Remove decl.
7955         * tree.h (decl_attribute): Move it to here.
7956         * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
7957         (attribs.o): New rule.
7959 2001-09-22  Andreas Jaeger  <aj@suse.de>
7961         * builtins.c (c_getstr): Remove unused variable.
7963 2001-09-21  Richard Henderson  <rth@redhat.com>
7965         * reload1.c (reload): Use delete_insn instead of splatting
7966         NOTE_INSN_DELETED.
7968 2001-09-21  Richard Henderson  <rth@redhat.com>
7970         * reload.c (push_secondary_reload): Don't check for "=" in output
7971         constraint after ""->ALL_REGS check.
7973 2001-09-21  Richard Henderson  <rth@redhat.com>
7975         * predict.c (expected_value_to_br_prob): Use pc_set.
7977         * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
7978         ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
7980 2001-09-21  Richard Henderson  <rth@redhat.com>
7982         * rtl.h (LCT_RETURNS_TWICE): New.
7983         * calls.c (emit_call_1): Set current_function_calls_setjmp for
7984         ECF_RETURNS_TWICE.
7985         (emit_library_call_value_1): Map LCT_RETURNS_TWICE
7986         to ECF_RETURNS_TWICE.
7987         * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
7988         call to setjmp.
7990         * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
7992         * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
7993         (JMP_BUF_SIZE): New.
7995 2001-09-21  Richard Henderson  <rth@redhat.com>
7997         * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
7998         to R8_REGS.
8000 2001-09-21  Richard Henderson  <rth@redhat.com>
8002         * tree.def (FDESC_EXPR): New.
8003         * expr.c (expand_expr): Handle it.
8004         * varasm.c (initializer_constant_valid_p): Likewise.
8005         (output_constant): Likewise.
8006         * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
8007         * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
8008         (ASM_OUTPUT_FDESC): New.
8009         * doc/tm.texi: Document the new macros.
8011 21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
8013         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
8014         ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
8015         once merging is complete.
8017 Fri Sep 21 11:20:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8019         * integrate.c (allocate_initial_values): Eliminate unused arg warning.
8021 21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
8023         * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
8024         that would be invalid after a merge.
8026 Fri Sep 21 14:24:29 CEST 2001  Jan Hubicka  <jh@suse.cz>
8028         * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
8029         * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
8030         remove some labels.
8031         (flow_delete_insn): This one.
8032         (delete_insn_chain): Rename from ...; do not care labels.
8033         (flow_delete_insn_chain): ... this one.
8034         (flow_delete_block): Remove the insns one BB has been expunged.
8035         (merge_blocks_nomove): Likewise.
8036         (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
8037         updating BB boundaries.
8038         (tidy_fallthru_edge): Likewise.
8039         (commit_one_edge_insertion): Likewise.
8040         * cfgbuild.c (find_basic_block): Likewise.
8041         (find_basic_blocks_1): Likewise.
8042         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
8043         (try_crossjump_to_edge): Likewise.
8044         (try_optimize_cfg): Likewise.
8045         * cse.c (delete_trivially_dead_insns): Likewise.
8046         * df.c (df_insn_delete): Likewise.
8047         * doloop.c (doloop_modify): Use delete_related_insns.
8048         * emit-rtl.c (try_split): Likewise.
8049         (remove_insn): Update BB boundaries.
8050         * expect.c (connect_post_landing_pads): Use delete_related_insns.
8051         * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
8052         updating BB boundaries.
8053         (propagate_block_delete_insn): Likewise.
8054         (propagate_block_delete_libcall): Likewise.
8055         * function.c (delete_handlers): Use delete_related_insns.
8056         (thread_prologue_and_epilogue_insns): Likewise.
8057         * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
8058         * genpeep.c (gen_peephole): Use delete_related_insns.
8059         * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
8060         BB boundaries.
8061         (find_cond_trap): Likewise.
8062         * integrate.c (save_for_inline): Use delete_related_insns.
8063         (copy_insn_list): Likewise.
8064         * jump.c (pruge_linie_number_notes): Likewise.
8065         (duplicate_loop_exit_test): Likewise.
8066         (delete_computation): Likewise.
8067         (delete_related_insn): Rename from ...; use delete_insn
8068         (delete_insn): ... this one.
8069         (redirect_jump): Use delete_related_insns.
8070         * loop.c (scan_loop): Likewise.
8071         (move_movables): Likewise.
8072         (find_and_verify_loops): Likewise.
8073         (check_dbra_loop): Likewise.
8074         * recog.c (peephole2_optimize): Likewise.
8075         * reg-stack.c (delete_insn_for_stacker): Remove.
8076         (move_for_stack_reg): Use delete_insn.
8077         * regmove.c (combine_stack_adjustments_for_block): Likewise.
8078         * reload1.c (delete_address_reloads): Use delete_related_insns.
8079         (fixup_abnormal_edges): Use delete_insn.
8080         * recog.c (emit_delay_sequence): Use delete_related_insns.
8081         (delete_from-delay_slot): Likewise.
8082         (delete_scheduled_jump): likewise.
8083         (optimize_skip): Likewise.
8084         (try_merge_delay_insns): Likewise.
8085         (full_simple_delay_slots): Likewise.
8086         (fill_slots_from_thread): Likewise.
8087         (relax_delay_slots): Likewise.
8088         (make_return_insns): Likewise.
8089         (dbr_schedule): Likewise.
8090         * rtl.h (delete_insn): Rename to delete_related_insns.
8091         (delete_insn, delete_insn_chain): New prototypes.
8092         * ssa-ccp (sse_fast_dce):  Remove deleting of DEF, as it is done
8093         by df_insn_delete already.
8094         * ssa-dce.c (delete_insn_bb): Use delete_insn.
8095         * ssa.c (convert_from_ssa): Use delete_related_insns.
8096         * unroll.c (unroll_loop): Likewise.
8097         (calculate_giv_inc): Likewise.
8098         (copy_loop_body): Likewise.
8100         * i386-protos.h (ix86_libcall_value, ix86_function_value,
8101         ix86_function_arg_regno_p, ix86_function_arg_boundary,
8102         ix86_return_in_memory, ix86_function_value): Declare.
8103         * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
8104         new static valurables.
8105         (x86_64_reg_class): New enum
8106         (x86_64_reg_class_name): New array.
8107         (classify_argument, examine_argument, construct_container,
8108          merge_classes): New static functions.
8109         (optimization_options): Enable flag_omit_frame_pointer and disable
8110         flag_pcc_struct_return on 64bit.
8111         (ix86_libcall_value, ix86_function_value,
8112         ix86_function_arg_regno_p, ix86_function_arg_boundary,
8113         ix86_return_in_memory, ix86_function_value): New global functions.
8114         (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
8115         (function_arg_advance): Handle x86_64 passing conventions.
8116         (function_arg): Likewise.
8117         * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
8118         (RETURN_IN_MEMORY): Move offline.
8119         (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
8120         (FUNCTION_VALUE_REGNO_P): New macro.
8121         (FUNCTION_ARG_REGNO_P): Move offline.
8122         (struct ix86_args): Add maybe_vaarg.
8123         * next.h (FUNCTION_VALUE_REGNO_P): Delete.
8124         * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
8126 2001-09-21  Hartmut Penner  <hpenner@de.ibm.com>
8128         * s390.md: Changed attributes for scheduling.
8129         * s390.c: (s390_adjust_cost, s390_adjust_priority)
8130         Changed scheduling
8132 2001-09-21  Joseph S. Myers  <jsm28@cam.ac.uk>
8134         Table-driven attributes.
8135         * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
8136         config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
8137         config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
8138         config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
8139         config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
8140         config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
8141         doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
8142         tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
8143         * tree.h (struct tree_decl): Change machine_attributes to
8144         attributes.
8145         * doc/c-tree.texi: Document that all attributes are now attached
8146         to decls and types.
8147         * c-common.c (add_attribute, attrtab, attrtab_idx,
8148         default_valid_lang_attribute, valid_lang_attribute): Remove.
8149         (attribute_tables, attributes_initialized,
8150         c_common_attribute_table, default_lang_attribute_table): New
8151         variables.
8152         (handle_packed_attribute, handle_nocommon_attribute,
8153         handle_common_attribute, handle_noreturn_attribute,
8154         handle_unused_attribute, handle_const_attribute,
8155         handle_transparent_union_attribute, handle_constructor_attribute,
8156         handle_destructor_attribute, handle_mode_attribute,
8157         handle_section_attribute, handle_aligned_attribute,
8158         handle_weak_attribute, handle_alias_attribute,
8159         handle_no_instrument_function_attribute,
8160         handle_no_check_memory_usage_attribute, handle_malloc_attribute,
8161         handle_no_limit_stack_attribute, handle_pure_attribute): New
8162         functions.
8163         (init_attributes, decl_attributes): Rewrite to implement
8164         table-driven attributes.
8165         * c-common.h (enum attribute_flags): Move to tree.h.
8166         * c-format.c (decl_handle_format_attribute,
8167         decl_handle_format_arg_attribute): Rename to
8168         handle_format_attribute and handle_format_arg_attribute.  Update
8169         for table-driven attributes.
8170         * c-common.h (decl_handle_format_attribute,
8171         decl_handle_format_arg_attribute): Remove prototypes.
8172         (handle_format_attribute, handle_format_arg_attribute): Add
8173         prototypes.
8174         * c-decl.c (grokdeclarator): Handle attributes nested inside
8175         declarators.
8176         * c-parse.in (setattrs, maybe_setattrs): Remove.
8177         (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
8178         Update to handle nested attributes properly.
8179         (maybe_resetattrs, after_type_declarator,
8180         parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
8181         absdcl1_ea, direct_absdcl1): Update to handle nested attributes
8182         properly.
8183         (make_pointer_declarator): Update to handle nested attributes
8184         properly.
8185         * doc/extend.texi: Update documentation of limits of attributes
8186         syntax.  Warn about problems with attribute semantics in C++.
8187         * target.h (struct target): Remove valid_decl_attribute and
8188         valid_type_attribute.  Add attribute_table and
8189         function_attribute_inlinable_p.
8190         * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
8191         TARGET_VALID_TYPE_ATTRIBUTE): Remove.
8192         (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
8193         Add.
8194         (TARGET_INITIALIZER): Update.
8195         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
8196         definition.
8197         (function_attribute_inlinable_p): New function.  Check for the
8198         presence of any machine attributes before using
8199         targetm.function_attribute_inlinable_p.
8200         (function_cannot_inline_p): Update.
8201         * Makefile.in (integrate.o): Update dependencies.
8202         * doc/tm.texi: Update documentation of target attributes and
8203         example definition of TARGET_VALID_TYPE_ATTRIBUTE.
8204         * tree.c (default_valid_attribute_p, valid_machine_attribute):
8205         Remove.
8206         (default_target_attribute_table,
8207         default_function_attribute_inlinable_p): New.
8208         (lookup_attribute): Update comment to clarify handling of multiple
8209         attributes with the same name.
8210         (merge_attributes, attribute_list_contained): Allow multiple
8211         attributes with the same name but different arguments to appear in
8212         the same attribute list.
8213         * tree.h (default_valid_attribute_p): Remove prototype.
8214         (struct attribute_spec): New.
8215         (default_target_attribute_table): Declare.
8216         (enum attribute_flags): Move from c-common.h.  Add
8217         ATTR_FLAG_TYPE_IN_PLACE.
8218         (default_function_attribute_inlinable_p): Declare.
8219         * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
8220         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8221         (TARGET_ATTRIBUTE_TABLE): Define.
8222         (vms_attribute_table): New.
8223         * config/arc/arc.c (arc_valid_decl_attribute): Remove.
8224         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8225         (TARGET_ATTRIBUTE_TABLE): Define.
8226         (arc_attribute_table, arc_handle_interrupt_attribute): New.
8227         * config/arm/arm.c (arm_valid_type_attribute_p,
8228         arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
8229         Remove.
8230         (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8231         define.
8232         (TARGET_ATTRIBUTE_TABLE): Define.
8233         (arm_attribute_table, arm_handle_fndecl_attribute,
8234         arm_handle_isr_attribute): New.
8235         * config/avr/avr.c (avr_valid_type_attribute,
8236         avr_valid_decl_attribute): Remove.
8237         (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
8238         define.
8239         (TARGET_ATTRIBUTE_TABLE): Define.
8240         (avr_attribute_table, avr_handle_progmem_attribute,
8241         avr_handle_fndecl_attribute): New.
8242         * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
8243         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8244         (TARGET_ATTRIBUTE_TABLE): Define.
8245         (c4x_attribute_table, c4x_handle_fntype_attribute): New.
8246         * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
8247         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8248         (TARGET_ATTRIBUTE_TABLE): Define.
8249         (h8300_attribute_table, h8300_handle_fndecl_attribute,
8250         h8300_handle_eightbit_data_attribute,
8251         h8300_handle_tiny_data_attribute): New.
8252         * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
8253         i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
8254         Remove prototypes.
8255         (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
8256         declarations.
8257         * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
8258         (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8259         define.
8260         (TARGET_ATTRIBUTE_TABLE): Define.
8261         (ix86_attribute_table, ix86_handle_cdecl_attribute,
8262         ix86_handle_regparm_attribute): New.
8263         * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
8264         i386_pe_valid_type_attribute_p): Remove.
8265         (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
8266         * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
8267         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8268         (TARGET_ATTRIBUTE_TABLE): Define.
8269         (ia64_attribute_table): New.
8270         * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
8271         interrupt_ident2, model_ident1, model_ident2): Remove.
8272         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8273         (TARGET_ATTRIBUTE_TABLE): Define.
8274         (init_idents): Update.
8275         (m32r_attribute_table, m32r_handle_model_attribute): New.
8276         * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
8277         Remove.
8278         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8279         (TARGET_ATTRIBUTE_TABLE): Define.
8280         (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
8281         * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
8282         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8283         (TARGET_ATTRIBUTE_TABLE): Define.
8284         (mcore_attribute_table, mcore_handle_naked_attribute): New.
8285         * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
8286         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8287         (TARGET_ATTRIBUTE_TABLE): Define.
8288         (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
8289         * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
8290         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8291         (TARGET_ATTRIBUTE_TABLE): Define.
8292         (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
8293         * config/sh/sh.c (sh_valid_decl_attribute): Remove.
8294         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8295         (TARGET_ATTRIBUTE_TABLE): Define.
8296         (sh_attribute_table, sh_handle_interrupt_handler_attribute,
8297         sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
8298         New.
8299         * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
8300         Remove.
8301         (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
8302         (TARGET_ATTRIBUTE_TABLE): Define.
8303         (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
8304         New.
8305         * config/v850/v850.c (v850_valid_decl_attribute): Remove.
8306         (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8307         (TARGET_ATTRIBUTE_TABLE): Define.
8308         (v850_attribute_table, v850_handle_interrupt_attribute,
8309         v850_handle_data_area_attribute): New.
8310         * config/v850/v850-c.c (mark_current_function_as_interrupt):
8311         Return void.  Call decl_attributes instead of
8312         valid_machine_attribute.
8314 Fri Sep 21 01:49:41 2001  J"orn Rennecke <amylaar@redhat.com>
8316         * sh-protos.h (sh_pr_n_sets): Declare.
8317         * sh.c (calc_live_regs): If the initial value for PR has been copied,
8318         look at the copy to determine if PR needs to be saved.
8319         sh_pr_n_sets: New function.
8320         * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
8321         (ALLOCATE_INITIAL_VALUE): Define.
8323         * sh.c (initial_elimination_offset):
8324         Fix RETURN_ADDRESS_POINTER_REGNUM case.
8326 Fri Sep 21 01:13:56 2001  J"orn Rennecke <amylaar@redhat.com>
8328         * integrate.c (allocate_initial_values): New function.
8329         * integrate.h (allocate_initial_values): Declare.
8330         * local-alloc.c (local_alloc): Move call to allocate_reg_info from
8331         here...
8332         * reload1.c (reload): And initialization of reg_equiv_memory_loc
8333         from here...
8334         * toplev.c (rest_of_compilation): To here.
8335         Call allocate_initial_values.
8336         * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
8338 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8340         * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
8342 2001-09-20  DJ Delorie  <dj@redhat.com>
8344         * c-typeck.c (really_start_incremental_init): Discriminate
8345         between zero-length arrays and flexible arrays.
8346         (push_init_level): Detect zero-length arrays and handle them
8347         like fixed-sized arrays.
8348         * expr.c (store_constructor): Handle zero-length arrays and
8349         flexible arrays correctly.
8350         * doc/extend.texi: Update zero-length array notes.
8352 2001-09-20  Jim Wilson  <wilson@redhat.com>
8354         * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
8355         (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
8356         for issue port conflicts.
8357         (cycle_end_fill_slots): TYPE_L instructions take two slots.
8359 2001-09-20  Andrew MacLeod  <amacleod@redhat.com>
8361         * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
8362         on ia64.
8364 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8366         * fold-const.c (hashtab.h): Include.
8367         (int_const_binop): Remove FORSIZE arg and compute from type; all
8368         callers changed.
8369         Call size_int_type_wide for all single-word constants.
8370         (size_htab_hash, size_htab_eq): New functions.
8371         (size_int_type_wide): Rework to use hash table.
8372         * ggc-common.c (hashtab.h): Include.
8373         (struct d_htab_root): New struct.
8374         (d_htab_roots): New variable.
8375         (ggc_add_deletable_htab, ggc_htab_delete): New functions
8376         (ggc_mark_roots): Handle deletable htabs.
8377         * ggc-page.c (ggc_marked_p): New function.
8378         * ggc-simple.c (ggc_marked_p): Likewise.
8379         * ggc.h: Reformatting throughout.
8380         (ggc_marked_p, ggc_add_deletable_htab): New declarations.
8381         * tree.c (init_obstacks): Make type_hash_table a deletable root.
8382         (type_hash_add): Allocate struct type_hash from GC memory.
8383         (mark_hash_entry, mark_type_hash): Deleted.
8384         (type_hash_marked_p, type_hash_mark): New functions.
8385         * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
8387 Thu Sep 20 12:49:34 2001  J"orn Rennecke <amylaar@redhat.com>
8389         * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
8390         than SImode.
8392 Thu Sep 20 09:00:27 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8394         * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
8395         array-too-large test for signed sizetype.
8397 Thu Sep 20 12:19:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
8399         * i386.md (indirect_jump): Allow Pmode operand.
8400         (tablejump): LIkewise; perform expansion to 64bit mode.
8401         * i386.c (symbolic_operand): Allow 64bit PIC references.
8402         (pic_symbolic_operand): Likewise.
8403         (ix86_find_base_term): Strip the 64bit PIC references.
8404         (legitimate_pic_address_disp_p): Handle 64bit PIC.
8405         (legitimize_pic_address): Likewise.
8406         (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
8407         * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
8409 2001-09-19  Alexandre Petit-Bianco  <apbianco@redhat.com>
8411         * stringpool.c (get_identifier_with_length): New function.
8412         * tree.h (get_identifier_with_length): New prototype.
8414 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
8415             David Edelsohn  <edelsohn@gnu.org>
8417         Revert:
8418         * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
8419         already sign-extended.
8421         * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
8422         * config/rs6000/rs6000.c (logical_operand): Always compare op as
8423         HOST_WIDE_INT.
8424         (rs6000_emit_set_long_const): Avoid unnecessary shift.
8425         (output_profile_hook): Declare label_name const.
8426         * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
8427         to match constraints.
8429 2001-09-19  Stan Shebs  <shebs@apple.com>
8431         * alias.c: Fix typos in comments.
8432         * sched-rgn.c (init_ready_list): Ditto.
8433         * unwind-dw2.c (uw_frame_state_for): Ditto.
8434         * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
8435         * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
8436         * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
8438 2001-09-19  Richard Henderson  <rth@redhat.com>
8440         * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
8441         to the exit block.
8442         * Makefile.in (cfg.o): Depend on TM_P_H.
8444 2001-09-19  Richard Henderson  <rth@redhat.com>
8446         * config/alpha/alpha.c (local_symbol_p): Split out from ...
8447         (local_symbolic_operand): ... here.
8448         (small_symbolic_operand): Check mode.
8449         (global_symbolic_operand): New.
8450         (input_operand): Reject symbolics if explicit relocs.
8451         (call_operand): Tidy.
8452         (alpha_legitimize_address): Use movdi_er_high_g.
8453         (alpha_expand_mov): Likewise.
8454         * config/alpha/alpha-protos.h: Update.
8455         * config/alpha/alpha.h (PREDICATE_CODES): Update.
8456         * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
8457         (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
8458         (UNSPECV_LDGP2): Remove.
8459         (all call patterns): Use 's' not 'i' for symbolic constraint.
8460         (call_osf call_value_osf): Use call_operand.
8461         (all osf call patterns): Use $gp.  New peepholes for explicit relocs.
8462         (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
8463         (prologue_ldgp_1_er): Remove.
8464         (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
8465         (builtin_setjmp_receiver_er patterns): Use them.
8466         (exception_receiver_er): Likewise.
8468 2001-09-19  Richard Henderson  <rth@redhat.com>
8470         * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
8472         * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
8473         and NON_LOCAL_GOTO notes.
8474         * recog.c (peephole2_optimize): Likewise.  Handle EH_REGION;
8475         copy over CALL_INSN_FUNCTION_USAGE.
8477 2001-09-18  Catherine Moore  <clm@redhat.com>
8479         * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
8480         Define as 0.
8482 2001-09-18  Ulrich Weigand  <uweigand@de.ibm.com>:
8484         * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
8485         new-style tm_file specification.  Specify correct tm_p_file,
8486         md_file, and out_file for s390x.
8488         * config/s390/linux.h, linux64.h:  Don't include other target
8489         macro header files.  Now handled via tm_file.
8491         * config/s390/linux.h, s390.h:  (IEEE_FLOAT, TARGET_IEEE_FLOAT,
8492         TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
8493         are defined before use.
8495 Tue Sep 18 09:51:11 2001  Eric Christopher  <ecechristo@redhat.com>
8497         * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
8498         code generation only for Gnu assembler.
8500 2001-09-18  Catherine Moore  <clm@redhat.com>
8502         * config/stormy16 (LIB_SPEC): Remove -lnosys.
8504 2001-09-18  Richard Sandiford  <rsandifo@redhat.com>
8506         * config/mips/mips.c (mips_frame_set): New.
8507         (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
8508         a parallel frame-related expression with a set for each register.
8510 2001-09-18  Philip Blundell  <philb@gnu.org>
8512         * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
8513         header files.
8515 2001-09-17  Dale Johannesen  <dalej@apple.com>
8517         * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
8518         * config/rs6000/aix.h (FIXED_R2): Define.
8519         * config/rs6000/darwin.h (FIXED_R2): Define.
8520         * config/rs6000/sysv4.h (FIXED_R2): Define.
8522 2001-09-17  Jeff Sturm  <jsturm@one-point.com>
8524         * except.c (dw2_build_landing_pads): New local
8525         clobbers_hard_regs.  Emit an ASM_INPUT as a scheduling
8526         barrier after clobbers.  Fixes c++/4012.
8528 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8530         * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
8532 2001-09-17  Joseph S. Myers  <jsm28@cam.ac.uk>
8534         * dostage2, dostage3, listing, make-l2.com, makefile.vms,
8535         patch-apollo-includes, vmsconfig.com: Remove obsolete files.
8537 2001-09-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8539         * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
8540         alloca/strcpy.
8542 2001-09-17  Neil Booth  <neil@daikokuya.demon.co.uk>
8544         * cpphash.h (_cpp_lex_direct): New.
8545         * cpplex.c (_cpp_lex_token): Update.
8546         (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
8547         and increment that pointer.
8548         * cppmacro.c (alloc_expansion_token): New.
8549         (lex_expansion_token): Lex macro expansion directly into
8550         macro storage.
8552 2001-09-16  Brad Lucier  <lucier@math.purdue.edu>
8554         * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
8556 Sun Sep 16 21:59:46 CEST 2001  Jan hubicka  <jh@suse.cz>
8558         * basic-block.h (free_bb_for_insn): Declare.
8559         * bb-reorder.c (label_for_bb): Use block_label.
8560         (emit_jump_to_block_after): Remove.
8561         (insert_intra_1): Do not update block_for_insn.
8562         (insert_inter_bb_scope_notes): Likewise; update bb->end
8563         * cfg.c (free_bb_for_insn): New.
8564         (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
8565         (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
8566         (commit_one_edge_insertion): Likewise.
8567         (commit_one_edge_insertion): Do not update BB boundary.
8568         (commit_edge_insertions): Do not call compute_bb_for_insn.
8569         * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
8570         * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
8571         (merge_blocks_move_successor_nojumps): Likewise.
8572         (try_crossjump_to_edge): Do not update block_for_insn.
8573         * combine.c (combine_instructions): Remove compute_bb_for_insn call.
8574         * df.c (df_pattern_emit_later): Do not update BB boundary.
8575         (df_jump_pattern_emit_after): Likewise.
8576         (df_insn_move_before): Use emit_insn_before.
8577         * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
8578          properly.
8579         (add_insn_after, add_insn_before, emit_insns_after): Update BB
8580         boundaries and basic_block_for_insn.
8581         (reorder_insns_nobb): Rename from reorder_insns.
8582         (reorder_insns): New.
8583         (emit_block_insn_before, emit_block_insn_after): Kill.
8584         * flow.c (check_function_return_warnings): Do not call
8585         compute_bb_for_insn; Do not free basic_block_for_insn.
8586         (attempt_auto_inc): Do not update basic_block_for_insn.
8587         * function.c (emit_return_into_block): Likewise;
8588         do not update BB boundaries.
8589         * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
8590         (insert_insn_end_bb): Use emit_insn_before; Likewise.
8591         (pre_insert_copy_insn): Likewise.
8592         (update_ld_motion_notes): Likewise.
8593         (insert_insn_start_bb): Likewise.
8594         (replace_store_insn): Likewise.
8595         * ifcvt.c (noce_process_if_block): Likewise.
8596         (if_convert): Do not call compute_bb_for_insn.
8597         * lcm.c (optimize_mode_switching): Do not update BB boundaries.
8598         Use emit_insn_before and emit_insn_after.
8599         * recog.c (split_all_insns): Do not update BB boundaries;
8600         Do not call compute_bb_for_insn.
8601         (peephole2_optimize): Do not update BB boundaries.
8602         * reg-stack.c (emit_pop_insn): Use emit_insn_after and
8603         emit_insn_before.
8604         (emit_swap_insn): Likewise.
8605         (convert_regs_1): Likewise.
8606         * reload1.c (reload): Call compute_bb_for_insn.
8607         * rtl.h (reorder_insns_nobb): Declare.
8608         * ssa.c (rename_equivalent_regs): Use emit_insn_before.
8609         * toplev.c (rest_of_compilation): Call free_bb_for_insn
8610         at places CFG is invalidated; do not call compute_bb_for_insn.
8612         * cfg.c (expunge_block): Invalidate BB structure.
8614         * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
8615         array.
8617         * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
8619 2001-09-16  Neil Booth  <neil@daikokuya.demon.co.uk>
8621         * cpphash.h (_cpp_lex_token): Update prototype.
8622         * cpplex.c (_cpp_lex_token): New prototype.
8623         * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
8624         lex_macro_node, read_flag, do_pragma_poison): Update.
8625         * cppmacro.c (cpp_get_token, parse_params,
8626         lex_expansion_token): Update.
8628 2001-09-16  Neil Booth  <neil@daikokuya.demon.co.uk>
8630         * cppmain.c (scan_translation_unit): Don't worry about
8631         putting a space after hashes.
8632         * cpplib.c (directive_diagnostics): New.
8633         (_cpp_handle_directive): Update to use directive_diagnostics.
8634         (run_directive): Don't toggle prevent_expansion.
8635         (do_line): Backup in case of the line extension.
8636         * cpplib.h (cpp_lexer_pos): Remove.
8637         * cppmacro.c (_cpp_create_definition): Precede a leading #
8638         with whitespace.
8640 2001-09-15  Richard Henderson  <rth@redhat.com>
8642         * c-typeck.c (comptypes): Handle zero-length arrays properly.
8644 2001-09-15  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
8646         * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
8648 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
8650         PR preprocessor/3571
8651         * tradcpp.c (handle_directive): Skip non-vertical space.
8653 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
8655         * cppmain.c (setup_callbacks): Set line callback only
8656         if outputting preprocessed source.
8658 2001-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8660         * collect2.c (main): Const-ification.
8661         * gcc.c (translate_options, process_command): Use xstrdup in
8662         lieu of xmalloc/strcpy.
8663         (main): Use concat in lieu of xmalloc/strcpy/strcat.
8665 2001-09-14  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
8667         * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
8668         example.
8670 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
8672         * scan-decls.c (scan_decls): Fix typo.
8674 2001-09-15  Neil Booth  <neil@daikokuya.demon.co.uk>
8676         * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
8677         Split mlstring_pos into mls_line and mls_col.
8678         * cppinit.c (cpp_create_reader): Initialize line to 1.
8679         (cpp_destroy): Free tokenruns.
8680         (push_include): Don't update lexer_pos.
8681         * cpplex.c (unterminated, parse_string): Update.
8682         (lex_token): Don't update lexer_pos, update.
8683         * cpplib.c (if_stack): Save line instead of line + col.
8684         (start_directive, _cpp_do__Pragma, do_else, do_elif,
8685         push_conditional, _cpp_pop_buffer): Update.
8686         * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
8687         (_cpp_create_definition): Update.
8689 2001-09-15  Eric Christopher  <echristo@redhat.com>
8691         * config/mips/abi64.h: Add support for MEABI.
8693 2001-09-15  Eric Christopher  <echristo@redhat.com>
8695         * config/mips/mips.md: Add unspec #2.
8696         (reload_indi): Use.
8697         (reload_outdi): Ditto.
8698         (reload_outsi): Ditto.
8699         (HILO_delay): New.
8701 2001-09-15  Eric Christopher  <echristo@redhat.com>
8702             Jason Eckhardt  <jle@redhat.com>
8704         * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
8705         * config/mips/isa32-linux.h: New file.
8706         * config/mips/isa3264.h: Ditto.
8707         * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
8708         * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
8709         (output_block_mode): Support MEABI.
8710         (function_arg): Ditto. Fix floating point arg passing.
8711         (mips_va_start): Ditto.
8712         (override_options): Add isas 32 and 64, meabi, mips32 and mips64
8713         processors.
8714         (mips_asm_file_start): Add new section to pass abi to gdb.
8715         (function_arg_pass_by_reference): Support MEABI.
8716         (mips_parse_cpu): Support mips32 and mips64 processors.
8717         * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
8718         TARGET_MIPS5KC.  Support isa32 and isa64.
8719         (processor_type): Add r4kc, r5kc, r20kc.
8720         (GENERATE_MULT3_SI): New.
8721         (GENERATE_MULT3_DI): Ditto.
8722         (GENERATE_MULT3): Remove.
8723         (ISA_HAS_64BIT_REGS): Add isa == 64.
8724         (ISA_HAS_8CC): Add mips_isa = 32 and 64.
8725         (ISA_HAS_MADD_MSUB): New.
8726         (ISA_HAS_CLZ_CLO): Ditto.
8727         (ISA_HAS_DCLZ_DCLO): Ditto.
8728         (ABI_GAS_ASM_SPEC): New.
8729         (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
8730         (ASM_SPEC): Ditto.
8731         (LINK_SPEC): Ditto.
8732         (SUBTARGET_CC1_SPEC): Ditto.
8733         (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8734         (PAD_VARARGS_DOWN): Support MEABI.
8735         (HARD_REGNO_NREGS): Move to mips.c.
8736         (ASM_OUTPUT_IDENT): Add #undef.
8737         * config/mips/mips.md: Add r4kc, r5kc, r20kc.
8738         (mulsi3): Use GENERATE_MULT3_SI.
8739         (mulsi3_mult3): Ditto.  Support mips32, mips64.
8740         (mul_acc_si): Use ISA_HAS_MADD_MSUB.
8741         (mul_sub_si): New pattern.
8742         (unnamed splitters): New.
8743         (muldi3): Use GENERATE_MULT3_DI.
8744         (muldi3_internal2): Ditto.
8745         (movdicc): Support mips32.
8746         * config/mips/t-isa3264: New file.
8748 2001-09-15  Hans-Peter Nilsson  <hp@axis.com>
8750         * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
8751         || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
8752         || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
8754         * reorg.c (fill_slots_from_thread): After call to
8755         steal_delay_list_from_target, update own_thread as new_thread may
8756         have branched.
8758 2001-09-14  Neil Booth  <neil@daikokuya.demon.co.uk>
8760         * cpperror.c (print_location): Take line and column, for
8761         default positioning use the previously lexed token.
8762         (_cpp_begin_message): Take line and column.
8763         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
8764         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
8765         * cpphash.h (_cpp_begin_message): Update prototype.
8766         * cppinit.c (push_include): Don't set output line.
8767         * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
8768         * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
8769         (do_pragma): Kludge for front ends.  Don't expand macros at all.
8770         * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
8771         (struct cpp_token): Remove output_line.
8772         (struct cpp_callbacks): New member line_change.
8773         * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
8774         cpp_get_token): Preserve BOL flag.
8775         (cpp_get_line): Remove.
8776         (_cpp_backup_tokens): Remove useless abort().
8777         * cppmain.c (cb_line_change): New.
8778         (scan_translation_unit): Don't worry about starting new lines here.
8779         * scan-decls.c (scan_decls): Update.
8780         * c-lex.c (c_lex, init_c_lex): Update.
8781         (cb_line_change, src_lineno): New.
8783 Fri Sep 14 13:54:50 EDT 2001  John Wehle  (john@feith.com)
8785         * tree.c (append_random_chars): Generate the random
8786         characters in a reproducable fashion.
8788 2001-09-14  Richard Henderson  <rth@redhat.com>
8790         * config/i386/i386.c (internal_label_prefix): New.
8791         (internal_label_prefix_len): New.
8792         (override_options): Set them.
8793         (local_symbolic_operand): New.
8794         (legitimate_pic_address_disp_p): Use it.
8795         (legitimize_pic_address): Likewise.
8797 2001-09-14  Marc Espie <espie@openbsd.org>
8799         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK):  Generate reference to GOT
8800         correctly.
8802 2001-09-14  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
8804         * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
8805         * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
8807 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
8809         * rtlanal.c (subreg_regno_offset): Add semicolon to end of
8810         invocation of SUBREG_REGNO_OFFSET.
8812         * haifa-sched.c: Fix typo in FSF copyright statement.
8813         * sched-deps.c: Fix typo in FSF copyright statement.
8814         * sched-ebb.c: Fix typo in FSF copyright statement.
8815         * sched-rgn.c: Fix typo in FSF copyright statement.
8816         * sched-vis.c: Fix typo in FSF copyright statement.
8818         * config.gcc: Move inclusion of arm elf specific header files
8819         from the files themselves into the tm_file variable.  Make
8820         sure that elfos.h is included before target specific elf
8821         headers.
8822         * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
8823         already defined.
8824         (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
8825         * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
8826         ASM_OUTPUT_CASE_LABEL): Protect definition.
8827         (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
8828         not already defined.
8829         * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
8830         LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
8831         Remove duplicate definition.
8832         (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
8833         (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
8834         (RDATA_SECTION_FUNCTION): Remove redundant definition.
8835         (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
8836         Remove inclusion of arm/elf.h.
8837         * config/arm/unknown-elf.h: as for conix-elf.h.
8838         (STARTFILE_SPEC): Include crti.o and crtn.o.
8839         * config/arm/linux-elf.h: as for conix-elf.h.
8840         * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
8841         * config/arm/strongarm-elf.h: Remove inclusion of
8842         unknown-elf.h.
8843         * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
8844         * config/arm/unknown-elf-oabi.h: Remove inclusion of
8845         unknown-elf.h and elf.h.
8846         * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
8847         * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
8848         ASM_WEAKEN_LABEL): Remove redundant definition.
8849         * config/arm/elf.h: Test for inclusion of elfos.h
8850         (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
8851         ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
8852         SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
8853         EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
8854         redundant definition.
8855         (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
8856         ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
8857         ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
8858         * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
8859         Add rules to build crti.o and crtn.o
8860         * crti.asm: New file.
8861         * crtn.asm: New file.
8863 2001-09-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8865         * c-parse.in (_yylex): Use _cpp_backup_tokens.
8866         * cpphash.h (struct tokenrun): Add prev.
8867         (struct lexer_state): Remove bol.
8868         (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
8869         (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
8870         : Remove.
8871         * cppinit.c (cpp_create_reader): Don't set bol.
8872         (cpp_destroy): Don't free lookaheads.
8873         * cpplex.c (lex_directive): Remove.
8874         (next_tokenrun): Update.
8875         (_cpp_lex_token): Clean up logic.
8876         (lex_token): Update to return a pointer to lexed token, since it
8877         can move to the start of the buffer.  Simpify newline handling.
8878         * cpplib.c (SEEN_EOL): Update.
8879         (skip_rest_of_line): Remove lookahead stuff.
8880         (end_directive): Line numbers are already incremented.  Revert
8881         to start of lexed token buffer if we can.
8882         (_cpp_handle_directive, do_pragma, do_pragma_dependency,
8883         parse_answer): Use _cpp_backup_tokens.
8884         (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
8885         instead.  Don't check for EOL.
8886         (do_include_common, do_line, do_pragma_system_header): Use
8887         skip_rest_of_line.
8888         * cpplib.h (BOL, _cpp_backup_tokens): New.
8889         * cppmacro.c (save_lookahead_token, take_lookahead_token,
8890         alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
8891         cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
8892         (builtin_macro): Don't use cpp_get_line.
8893         (cpp_get_line): Short term kludge.
8894         (parse_arg): Handle directives in arguments here.  Back up when
8895         appropriate.  Store EOF at end of argument list.
8896         (funlike_invocation_p): Use _cpp_backup_tokens.
8897         (push_arg_context): Account for EOF at end of list.
8898         (cpp_get_token): Remove lookahead stuff.  Update.
8900 2001-09-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8902         * c-parse.in (yyerror): Const-ification and/or static-ization.
8903         * c-typeck.c (push_member_name): Likewise.
8904         * collect2.c (main): Likewise.
8905         * dbxout.c (dbxout_parms): Likewise.
8906         * diagnostic.c (format_with_decl): Likewise.
8907         * dwarf2out.c (output_ranges): Likewise.
8908         * dwarfout.c (fundamental_type_code): Likewise.
8909         * except.c (dw2_output_call_site_table): Likewise.
8910         * gcc.c (do_spec_1): Likewise.
8911         * genopinit.c (optabs): Likewise.
8912         * objc/objc-act.c (synth_id_with_class_suffix, start_class,
8913         gen_declaration_1, handle_impent): Likewise.
8914         * protoize.c (default_include, in_system_include_dir, abspath):
8915         Likewise.
8916         * sched-vis.c (visualize_stall_cycles): Likewise.
8917         * sdbout.c (plain_type_1, sdbout_end_function,
8918         sdbout_end_epilogue): Likewise.
8919         * varasm.c (decode_reg_name): Likewise.
8921         * 1750a.c (mod_regno_adjust): Likewise.
8922         * alpha.c (alpha_write_one_linkage,
8923         unicosmk_output_default_externs): Likewise.
8924         * arm.c (arm_condition_codes): Likewise.
8925         * arm.h (arm_condition_codes): Likewise.
8926         * avr.c (output_movsisf, encode_section_info): Likewise.
8927         * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
8928         Likewise.
8929         * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8930         * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
8931         * m88k.c (output_function_profiler): Likewise.
8932         * mips.c (mips_output_conditional_branch): Likewise.
8933         * ns32k.c (ns32k_out_reg_names): Likewise.
8934         * ns32k.h (ns32k_out_reg_names): Likewise.
8935         * pj.c (pj_output_rval): Likewise.
8936         * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
8937         * sparc.c (sparc_flat_function_prologue,
8938         sparc_flat_function_epilogue): Likewise.
8940 2001-09-13  Markus Werle <numerical.simulation@web.de>
8941             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8943         * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
8944         Aachen University of Technology".
8946 2001-09-13  Andreas Schwab  <schwab@suse.de>
8948         * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
8949         C99.
8951 2001-09-13  Richard Henderson  <rth@redhat.com>
8953         * config/alpha/alpha.c (small_symbolic_operand): New.
8954         (override_options): Set MASK_SMALL_DATA based on pic/PIC.
8955         (some_operand, input_operand): Don't handle HIGH.
8956         (alpha_legitimize_address): Use it.  Emit HIGH with PLUS gp.
8957         (alpha_expand_mov): Likewise.
8958         (print_operand) [H]: Just print HIGH symbol.
8959         (print_operand_address): Handle small data.
8960         * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
8961         (TARGET_SWITCHES): Add -msmall-data/large-data.
8962         (PIC_OFFSET_TABLE_REGNUM): New.
8963         (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
8964         (PREDICATE_COES): Update.
8965         * config/alpha/alpha.md (adddi_er_high): New.
8966         (adddi_er_low): Handle small data.
8967         * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
8968         prefer .sdata to .rodata.
8969         (SELECT_RTX_SECTION): Likewise.
8971 2001-09-12  Josh Martin  <josh.martin@abq.sc.philips.com>
8973         * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
8974         defining __size_t and leaving size_t undefined.
8976 2001-09-12  Diego Novillo  <dnovillo@redhat.com>
8978         * basic-block.h (expunge_block): Declare.
8979         * cfg.c (expunge_block): Remove static declaration.
8981 2001-09-12  Richard Henderson  <rth@redhat.com>
8983         * integrate.c (copy_insn_list): Copy label name from
8984         NOTE_INSN_DELETED_LABEL.
8986 2001-09-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8988         * c-common.c (c_tree_code_name): Const-ification.
8989         * c-decl.c (c_decode_option): Likewise.
8990         * c-typeck.c (warn_for_assignment): Likewise.
8991         * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
8992         Likewise.
8993         * cppinit.c (output_deps): Likewise.
8994         * dependence.c (dependence_string, direction_string): Likewise.
8995         * dwarf2out.c (output_ranges): Likewise.
8996         * fixinc/fixfixes.c (emit_gnu_type): Likewise.
8997         * fixinc/gnu-regex.c (re_error_msgid): Likewise.
8998         * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
8999         standard_startfile_prefix, standard_startfile_prefix_1,
9000         standard_startfile_prefix_2, tooldir_base_prefix,
9001         standard_bindir_prefix, find_a_file): Likewise.
9002         * genattrtab.c (make_length_attrs): Likewise.
9003         * gencheck.c (tree_codes): Likewise.
9004         * genemit.c (gen_split): Likewise.
9005         * genrecog.c (special_mode_pred_table): Likewise.
9006         * graph.c (graph_ext): Likewise.
9007         * protoize (default_include): Likewise.
9008         * reload.c (reload_when_needed_name): Likewise.
9009         * sched-vis.c (visualize_stall_cycles): Likewise.
9010         * tlink.c (recompile_files): Likewise.
9011         * toplev.c (decode_g_option): Likewise.
9012         * tradcpp.c (output_deps): Likewise.
9013         * varasm.c (decode_reg_name): Likewise.
9015         * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
9016         Const-ification.
9017         * arm.md: Likewise.
9018         * avr.c (avr_regnames, encode_section_info): Likewise.
9019         * c4x.c (float_reg_names): Likewise.
9020         * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
9021         * elfos.h (const_section): Likewise.
9022         * i386.c (ix86_comp_type_attributes): Likewise.
9023         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
9024         * ia64/aix.h (UNIQUE_SECTION): Likewise.
9025         * ia64.c (type_names): Likewise.
9026         * m68hc11.c (reg_class_names): Likewise.
9027         * m88k.c (m_options): Likewise.
9028         * mips.c (mips_output_conditional_branch, mips_unique_section):
9029         Likewise.
9030         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
9031         * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
9032         ultra_code_names): Likewise.
9033         * sparc.h (OVERRIDE_OPTIONS): Likewise.
9035 2001-09-12  Jakub Jelinek  <jakub@redhat.com>
9037         * configure.in (gcc_cv_as_shf_merge): Fix a typo.
9038         Use --fatal-warnings option for gas.
9039         * configure: Rebuilt.
9041 2001-09-12  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9043         * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
9045 2001-09-11  Jim Wilson  <wilson@redhat.com>
9047         * alias.c (clear_reg_alias_info): Only handle pseudo registers.
9049 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
9051         * builtins.c (c_strlen): Treat an offset too large for a
9052         HOST_WIDE_INT as out of range.
9054 Tue Sep 11 18:57:47 CEST 2001  Jan Hubicka  <jh@suse.cz>
9056         * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
9057         (EDGE_CRITICAL_P): New predicate.
9058         * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
9059         handling.
9060         (insert_insn_on_edge): Use EDGE_CRITICAL_P.
9061         (dump_edge_info): Remove "crit".
9062         * cfganal.c (mark_critical_edges): Kill.
9063         * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
9064         * cfgcleanup.c (cleanup_cfg): Likewise.
9065         * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
9066         (find_spanning_tree): Likewise.
9067         * reg-stack.c (convert_regs_1): Likewise.
9068         * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
9070         * basic-block.h (create_basic_block_structure): New.
9071         (create_basic_block): Update prototype.
9072         (force_nonfallthru): New.
9073         * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
9074         * cfg.c (create_basic_block_structure): Rename from create_basic_block;
9075         handle updating of block_for_insn, creating of empty BBs and BBs at
9076         the end of INSN chain.
9077         (create_basic_block): New function.
9078         (split_block): Use create_basic_block.
9079         (force_nonfallthru_and_redirect): Break out from ...; cleanup
9080         (redirect_edge_and_branch_force): ... here.
9081         (force_nonfallthru): New.
9082         (split_edge): Rewrite to use force_nonfallthru and create_block.
9083         * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
9084         (find_basic_blocks): Free basic_block_for_insn.
9085         * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
9087         * cfg.c: Fix formating.
9088         * cfgcleanup.c: Fix formating.
9089         (merge_blocks, tail_recursion_label_p): Return bool.
9090         (merge_blocks_move_predecessor_nojumps,
9091          merge_blocks_move_successor_nojumps): Return void.
9093 2001-09-11  Jakub Jelinek  <jakub@redhat.com>
9095         * configure.in: Check whether assembler supports section merging.
9096         * config.in: Rebuilt.
9097         * configure: Rebuilt.
9098         * varasm.c (variable_section, output_constant_pool): Pass alignment
9099         to SELECT_SECTION and SELECT_RTX_SECTION.
9100         (mergeable_string_section): New.
9101         (mergeable_constant_section): New.
9102         (default_elf_asm_named_section): Output SECTION_MERGE and
9103         SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9104         * output.h (mergeable_string_section): New.
9105         (mergeable_constant_section): New.
9106         (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
9107         * toplev.c (flag_merge_constants): New.
9108         (f_options): Add -fmerge-constants and -fmerge-all-constants
9109         options.
9110         (toplev_main): Default to -fno-merge-constants if not optimizing.
9111         * flags.h (flag_merge_constants): Add extern.
9112         * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
9113         * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
9114         argument.
9115         * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
9116         Define if assembler has working .subsection -1 support.
9117         (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
9118         Put constant into special SHF_MERGE sections if the linker should
9119         attempt to merge duplicates.
9120         * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
9121         macro argument.
9122         Put constant into special SHF_MERGE sections if the linker should
9123         attempt to merge duplicates.
9124         * config/alpha/elf.h: Likewise.
9125         (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
9126         has working .subsection -1 support.
9127         * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
9128         SELECT_SECTION.
9129         * config/svr3.h: Likewise.
9130         * config/darwin.h: Likewise.
9131         * config/arm/aof.h: Likewise.
9132         * config/arm/linux-elf.h: Likewise.
9133         * config/avr/avr.h: Likewise.
9134         * config/c4x/c4x.h: Likewise.
9135         * config/d30v/d30v.h: Likewise.
9136         * config/i386/dgux.h: Likewise.
9137         * config/i386/osfrose.h: Likewise.
9138         * config/i386/sco5.h: Likewise.
9139         * config/i386/svr3gas.h: Likewise.
9140         * config/ia64/aix.h: Likewise.
9141         * config/m32r/m32r.h: Likewise.
9142         * config/m68k/m68k.h: Likewise.
9143         * config/m88k/dgux.h: Likewise.
9144         * config/m88k/m88k.h: Likewise.
9145         * config/mcore/mcore-pe.h: Likewise.
9146         * config/mips/mips.h: Likewise.
9147         * config/pa/pa.h: Likewise.
9148         * config/pa/pa-linux.h: Likewise.
9149         * config/romp/romp.h: Likewise.
9150         * config/rs6000/sysv4.h: Likewise.
9151         * config/rs6000/xcoff.h: Likewise.
9152         * config/s390/linux.h: Likewise.
9153         * config/sparc/sparc.h: Likewise.
9154         * config/sparc/sysv4.h: Likewise.
9155         * config/stormy16/stormy16.h: Likewise.
9156         * config/v850/v850.h: Likewise.
9157         * config/vax/vms.h: Likewise.
9158         * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
9159         and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9160         * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
9161         default_elf_asm_named_section for SHF_MERGE sections.
9163 Tue Sep 11 17:55:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
9165         * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
9166         is OK.
9168 2001-09-11  Joseph S. Myers  <jsm28@cam.ac.uk>
9170         * c-common.c (split_specs_attrs): Allow for empty attributes with
9171         empty TREE_PURPOSE.  Fixes PR c/4294.
9173 Tue Sep 11 11:37:52 CEST 2001  Jan Hubicka  <jh@suse.cz>
9175         * basic-block.h (cached_make_edge, make_single_succ): New.
9176         (make_edge): Remove first parameter.
9177         * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
9178         * cfg.c (cached_make_edge): Rename from make_edge; return newly
9179         created edge; use obstack allocation.
9180         (make_edge, make_single_succ_edge): New.
9181         (first_removed_edge): New static variable.
9182         (init_flow): Initialize first_removed_edge and n_edges.
9183         (clear_edges): Use remove_edge.
9184         (flow_delete_block): Likewise.
9185         (remove_edge): Add removed edges to the removed edges list.
9186         (split_block, redirect_edge_and_branch_force, split_edge):
9187         Use make_edge.
9188         * cfganal.c (flow_call_edges_add): Updaet make_edge call.
9189         (add_noreturn_fake_exit_edges): Likewise.
9190         (connect_infinite_loops_to_exit): Liekwise.
9191         * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
9192         Use cached_make_edge.
9193         * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
9194         * profile.c (branch_prob): Update make_edge call.
9195         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
9197 2001-09-11  Richard Henderson  <rth@redhat.com>
9199         * config/alpha/alpha.c: Tidy formatting.
9200         (local_symbolic_operand): Verify mode.
9201         (alpha_sa_mask): Ignore unicos for eh_return.
9202         (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
9203         * config/alpha/alpha.md (umk divsi patterns): Remove.
9204         (extendsfdf2): Remove unicos check.
9205         (tablejump): Merge vms and unicos code; always use direct set
9206         plus label_ref use.
9208 2001-09-11  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9210         * config.gcc (alpha*-*-unicosmk*): New target.
9212         * config/alpha/alpha-protos.h (symbolic_operand,
9213         unicosmk_add_call_info_word, unicosmk_add_extern,
9214         unicosmk_defer_case_vector, unicosmk_unique_section,
9215         unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
9216         unicosmk_asm_file_start, unicosmk_asm_file_end,
9217         unicosmk_output_common): Declare.
9219         * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
9220         direct_return, function_arg, alpha_va_start, alpha_va_arg,
9221         alpha_does_function_need_gp, alpha_end_function): Support Cray
9222         Unicos/Mk.
9223         (alpha_init_machine_status, alpha_mark_machine_status,
9224         alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
9225         unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
9226         unicosmk_asm_named_section, unicosmk_insert_attributes,
9227         unicosmk_section_type_flags, symbolic_operand,
9228         unicosmk_output_module_name, unicosmk_output_default_externs,
9229         unicosmk_output_dex, unicosmk_output_externs,
9230         unicosmk_output_addr_vec, unicosmk_ssib_name,
9231         unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
9232         unicosmk_asm_file_end, unicosmk_output_common,
9233         unicosmk_section_type_flags, unicosmk_unique_section,
9234         unicosmk_add_call_info_word, unicosmk_text_section,
9235         unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
9236         unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
9237         unicosmk_dex_count, unicosmk_special_name): New.
9238         (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
9239         TARGET_ABI_UNICOSMK.
9240         (get_aligned_mem, alpha_expand_unaligned_load,
9241         alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
9242         alpha_expand_unaligned_store_words): Support big-endian mode.
9243         (print_operand): Likewise. New format specifier 't'. Use
9244         TARGET_AS_SLASH_BEFORE_SUFFIX.
9245         (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
9246         (alpha_pv_save_size): Update with above change.
9247         (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
9248         alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
9249         Unicos/Mk.
9251         * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
9252         (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
9253         (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
9254         (EXTRA_CONSTRAINT): New constraint 'U'.
9255         (PREDICATE_CODES): Add symbolic_operand.
9257         * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
9258         UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
9259         (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
9260         (integer division and modulus patterns): Split in default and
9261         Unicos/Mk versions.
9262         (*divmodsi_internal, *divmoddi_internal): Disable for
9263         TARGET_ABI_UNICOSMK.
9264         (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
9265         little-endian and big-endian versions.
9266         (ext, ins, msk): Likewise.
9267         (extv, extzv, insv): Support big-endian mode.
9268         (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
9269         (call_umk, call_value_umk, *call_umk, tablejump_umk,
9270         *tablejump_umk_internal, *call_value_umk): New.
9271         (*movdi_nofix): Add pattern for loading an address into a register on
9272         TARGET_ABI_UNICOSMK.
9273         (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
9274         (umk_mismatch_args, arg_home_umk): New.
9275         (various insns): Don't use mov, fmov, nop, fnop and unop.
9276         (realign): Support TARGET_ABI_UNICOSMK.
9278         * config/alpha/unicosmk.h: New file.
9279         * config/alpha/t-unicosmk: New file.
9281         * fixinc/inclhack.def (unicosmk_restrict): New.
9282         * fixinc/fixincl.x: Regenerate.
9284         * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
9285         (wchar_t): Check for and define __WCHAR_T__.
9287 2001-09-11  Richard Sandiford  <rsandifo@redhat.com>
9289         * combine.c (simplify_shift_const): Treat shifts by the mode
9290         size as undefined.
9292 2001-09-11  Neil Booth  <neil@daikokuya.demon.co.uk>
9294         * cpphash.h (struct tokenrun): New.
9295         (struct cpp_context): New member bol.
9296         (struct cpp_reader): New members.
9297         (_cpp_init_tokenrun): New.
9298         * cppinit.c (cpp_create_reader): Set up the token runs.
9299         * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
9300         (lex_token): New internalised version of _cpp_lex_token.  Don't
9301         handle directives or the multiple include optimization here any
9302         more.  Simply lex a token.
9303         * cpplib.c (run_directive): Clear bol.
9304         (_cpp_pop_buffer): Set bol.
9305         * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
9306         arguments.
9308 2001-09-11  Michael Meissner  <meissner@redhat.com>
9310         * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
9311         give an error if the user uses -mfp32.
9312         (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
9313         default options.
9314         (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
9315         floating point register size.
9316         (EXTRA_SPECS): Add CPP_FPR_SPEC.
9318         * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
9319         HOST_WIDE_INT_PRINT_DEC to properly print the result of
9320         int_size_in_bytes.
9321         * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9322         * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9324 2001-09-11  Hans-Peter Nilsson  <hp@axis.com>
9326         * dbxout.c (dbxout_parms): Fix typo in comment.
9327         * unroll.c (loop_find_equiv_value): Ditto.
9328         * toplev.c (rest_of_compilation): Ditto.
9329         * loop.c (scan_loop): Ditto.
9330         * dwarf2out.c (struct dw_fde_struct): Ditto.
9332 2001-09-10  Zack Weinberg  <zackw@panix.com>
9334         * cpplex.c (parse_identifier): Fast-path optimize.  Avoid
9335         copying identifier when we're just going to throw it away.
9336         (parse_identifier_slow): New routine to handle abnormal cases.
9337         (_cpp_lex_token): Update call site.
9339         * hashtable.c (ht_lookup): Don't assume that the string we've
9340         been given is NUL-terminated.
9341         * system.h: #define __builtin_expect(a, b) to (a) if not
9342         GCC >=3.0.
9344 2001-09-10  Michael Meissner  <meissner@redhat.com>
9346         * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
9347         binutils, gdb.
9349 2001-09-10  David Edelsohn  <edelsohn@gnu.org>
9351         * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
9353 Mon Sep 10 16:26:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9355         * builtins.c (c_getstr): Correct thinko in last change and further
9356         cleanup.
9358 2001-09-10  Tim Freeman <tim@fungibole.com>
9360         * dwarf2out.c (incomplete_types, decl_scope_table): Make them
9361         into varray's and register them as roots with the garbage
9362         collector so they are not collected too soon.
9364 Mon Sep 10 14:21:26 CEST 2001  Jan Hubicka  <jh@suse.cz>
9366         * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
9367         New.
9368         * basic-block.h (flow_obstack, label_value_list,
9369         tail_recursion_label_list): Declare
9370         (tidy_fallthru_edges): Declare.
9371         (expunge_block, last_loop_beg_note): Delete.
9372         (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
9373         * cfg.c: New file
9374         (basic_block_for_insn, label_value_list): Move from flow.c; make global.
9375         (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
9376         init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
9377         flow_delete_insn, flow_delete_insn_chain, create_basic_block,
9378         expunge_block, flow_delete_block, compute_bb_for_insn,
9379         update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
9380         make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
9381         redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
9382         try_redirect_by_replacing_jump, last_loop_beg_note,
9383         redirect_edge_and_branch, redirect_edge_and_branch_force,
9384         tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
9385         split_edge, insert_insn_on_edge, commit_one_edge_insertion,
9386         commit_edge_insertions, dump_flow_info, debug_flow_info,
9387         dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
9388         verify_flow_info, purge_dead_edges, purge_all_dead_edges):
9389         Move here from flow.c
9390         * cfganal.c: New file.
9391         (forwarder_block_p, can_fallthru, mark_critical_edges,
9392          mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
9393          find_unreachable_blocks, create_edge_list, free_edge_list,
9394          print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
9395          flow_edge_list_print, remove_fake_successors, remove_fake_edges,
9396          add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
9397          flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
9398          flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
9399          flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
9400         Move here from flow.c
9401         * cfgbuild.c: New file
9402         (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
9403          make_edges, find_basic_blocks_1, find_basic_blocks,
9404          find_sub_basic_blocks): Move here from flow.c
9405         * cfgcleanup.c: New file.
9406         (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
9407          merge_blocks_move_predecessor_nojumps,
9408          merge_blocks_move_successor_nojumps, merge_blocks,
9409          flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
9410          try_crossjump_bb, try_optimize_cfg): Move here from flow.c
9411         (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
9412         if succeeded.
9413         * cfgloop.c: New file
9414         (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
9415          flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
9416          flow_loop_exit_edges_find, flow_loop_nodes_find,
9417          flow_loop_pre_header_scan, flow_loop_pre_header_find,
9418          flow_loop_tree_node_add, flow_loops_tree_build,
9419          flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
9420          flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
9421         Move here from flow.c
9422         * flow.c: Remove everything moved elsewhere
9423         * output.h (cleanup_cfg): Return bool.
9425         * bb-reorder.c (reorder_block_def): Remove 'index'.
9426         (insert_intra_1): Add argument BB, set block for new note.
9427         (make_reorder_chain): Do not depdent on BB indexes.
9428         (make_reorder_chain_1): Do not use BB indexes.
9429         (label_for_bb): Likewise; set BB for new insn.
9430         (emit_jump_to_block_after): Likewise.
9431         (fixup_reorder_chain): Sanity check that all basic blocks
9432         are chained; verify newly created insn chain; remove
9433         undocnitional jump simplifying; Do not use BB indexes;
9434         properly initialize count and frequency information;
9435         dump reordered sequence.
9436         (insert_intra_bb_scope_notes): update call of insert_intra_1.
9437         (insert_inter_bb_scope_notes): Set block for new insn.
9438         (reorder_basic_blocks): Dump flow info before reoredering.
9440 Mon Sep 10 06:47:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9442         * alias.c (clear_reg_alias_info): Use K&R format definition.
9443         Avoid unsigned warning.
9444         * builtins.c: Use "unsigned int", not "unsigned".
9445         (target_char_cast): Use host_integerp and tree_low_cst.
9446         (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
9447         (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
9448         (c_getstr): Likewise.
9449         (std_expand_builtin_va_arg): Use int_size_in_bytes.
9450         (builtin_memcpy_read_str): Avoid unsigned warning.
9451         (expand_builtin_memcpy): Alignments are unsigned.
9452         (expand_builtin_strncpy, expand_builtin_memset): Likewise.
9453         (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
9454         * predict.c (expensive_function_p): LIMIT now unsigned.
9455         * resource.c (mark_target_live_regs): Make some vars unsigned.
9456         * sdbout.c: Use "unsigned int", not "unsigned".
9457         (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
9458         (sdbout_source_line): Likewise.
9459         (sdbout_record_type_name): Remove "const" for NAME declaration.
9460         * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
9462 2001-09-10  Richard Sandiford  <rsandifo@redhat.com>
9464         * calls.c (store_one_arg): Expand comment.
9466 2001-09-10  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9468         * calls.c (store_one_arg): Make sure that the entire argument is
9469         pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
9471 2001-09-09  Richard Henderson  <rth@redhat.com>
9473         * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
9475 Sun Sep  9 10:43:17 CEST 2001  Jan Hubicka  <jh@suse.cz>
9477         * loop.c (combine_givs): Fix computing of benefit once giv is combined.
9479 2001-09-09  Richard Henderson  <rth@redhat.com>
9481         * config/alpha/alpha.c (alpha_next_sequence_number): New.
9482         (alpha_this_literal_sequence_number): New.
9483         (alpha_this_gpdisp_sequence_number): New.
9484         (some_operand, input_operand): Add HIGH.
9485         (local_symbolic_operand): New.
9486         (alpha_encode_section_info): New.
9487         (alpha_legitimate_address_p): Allow LO_SUM.
9488         (alpha_legitimize_address): Generate HIGH+LO_SUM.
9489         (alpha_expand_mov): Likewise.
9490         (secondary_reload_class): Check memory_operand not general_operand
9491         for FP_REGS test.
9492         (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
9493         (alpha_expand_unaligned_store): Likewise.
9494         (alpha_expand_unaligned_load_words): Likewise.
9495         (alpha_expand_unaligned_store_words): Likewise.
9496         (alpha_expand_block_clear): Likewise.
9497         (print_operand): Handle %#, %*, %H.
9498         (print_operand_address): Handle LO_SUM.
9499         (find_lo_sum): New.
9500         (alpha_does_function_need_gp): Use it.
9501         (alpha_expand_block_move): Fix signed compare warnings.
9502         (alpha_sa_mask, alpha_align_insns): Likewise.
9503         * config/alpha/alpha-protos.h: Update.
9504         * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
9505         (MASK_EXPLICIT_RELOCS): New.
9506         (TARGET_SWITCHES): Add -mexplicit-relocs.
9507         (EXTRA_CONSTRAINT): Add 'T'.
9508         (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
9509         (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
9510         (ENCODE_SECTION_INFO): Out line.
9511         (REDO_SECTION_INFO_P): New.
9512         (STRIP_NAME_ENCODING): New.
9513         (ASM_OUTPUT_LABELREF): New.
9514         (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
9515         (PREDICATE_CODES): Update.
9516         * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
9517         call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
9518         movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
9519         builtin_setjmp_receiver_er, exception_receiver_1_er,
9520         call_value_osf_1_er): New patterns.
9521         (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
9522         (movqi, movhi, movsi): Add explicit $31 base register to lda.
9523         * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
9524         (FINAL_PRESCAN_INSN): New.
9526 Sat Sep  8 22:00:55 CEST 2001  Jan Hubicka  <jh@suse.cz>
9528         * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
9530 2001-09-08  Andreas Jaeger  <aj@suse.de>
9532         * i386.h (TARGET_SWITCHES): Fix description.
9534 2001-09-07  David Edelsohn  <edelsohn@gnu.org>
9536         * rs6000.c (num_insns_constant): Compute number of instructions
9537         more accurately.
9539         * doc/install.texi: Explain AIX exception handling work-around.
9540         Update URL for AIX fixes.
9542 2001-09-07  Jim Wilson  <wilson@redhat.com>
9544         * alias.c (clear_reg_alias_info): New.
9545         * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
9546         * rtl.h (clear_reg_alias_info): Declare.
9548 2001-09-07  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9550         * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
9551         available.
9552         (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
9553         (m16m,edivm,emulm): Change declaration to match definition.
9555 2001-09-07  Roman Lechtchinsky <rl@cs.tu-berlin.de>
9557         * reload.c (push_reload): Check for subreg_lowpart_p instead of
9558         SUBREG_BYTE being 0 when determining if the inner part of a subreg
9559         can be reloaded.
9561 2001-09-07  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
9563         * c-common.c (signed_or_unsigned_type): Handle machine mode types
9564         which have no corresponding C type.
9565         * fold_const.c (target_isinf,target_isnan,target_negative): Update
9566         the representation of 64-bit doubles to work with 64-bit ints.
9568 2001-09-07  Aldy Hernandez  <aldyh@redhat.com>
9570         * config/mips/mips.c (override_options): Do not override ISA when ABI
9571         specified if MIPS_CPU_STRING_DEFAULT was specified.
9573 2001-09-07  Richard Henderson  <rth@redhat.com>
9575         * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
9576         (express_from_1): Wrap lines.
9577         * rtlanal.c (commutative_operand_precedence): Rename from
9578         operand_preference; export.
9579         * rtl.h: Declare it.
9580         * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
9581         (simplify_binary_operation): Invoke simplify_plus_minus on
9582         (CONST (PLUS ...)) as well.
9583         (struct simplify_plus_minus_op_data): New.
9584         (simplify_plus_minus_op_data_cmp): New.
9585         (simplify_plus_minus): Use them.  Avoid infinite recursion with
9586         simplify_binary_operation wrt CONST.
9588 Fri Sep  7 11:52:30 2001   Kazu Hirata  <kazu@hxi.com>
9590         * h8300-protos.h (general_operand_dst_push): Remove.
9591         * h8300.c (general_operand_dst_push): Likewise.
9592         * h8300.h (OK_FOR_T): Likewise.
9593         (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
9594         * h8300.md (pushqi_h8300): New.
9595         (pushqi_h8300hs): Likewise.
9596         (pushqi): Likewise.
9597         (pushhi_h8300): Likewise.
9598         (pushhi_h8300hs): Likewise.
9599         (pushhi): Likewise.
9601 Fri Sep  7 12:56:26 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9603         * genattrtab.c (attr_printf): First arg is unsigned.
9604         Clean up formatting of callers.
9606 2001-09-06  Aldy Hernandez  <aldyh@redhat.com>
9608         * config/mips/mips.c (override_options): Allow abi32 with 64 bit
9609         registers.
9611 2001-09-07  Andreas Jaeger  <aj@suse.de>
9613         * i386.h (TARGET_SWITCHES): Fix descriptions.
9615 2001-09-07  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
9617         * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
9619 2001-09-06  Ira Ruben  <ira@apple.com>
9621         Remove OP_IDENTIFIER.
9622         * tree.def (OP_IDENTIFIER): Remove.
9623         * tree.c (tree_node_kind enum): Remove op_id_kind.
9624         (tree_node_kind_names): Remove "op_identifiers".
9625         (make_node): Remove OP_IDENTIFIER test.
9626         (build_op_identifier): Removed because it isn't being used.
9627         * print-tree.c (print_node): Remove OP_IDENTIFIER case.
9628         * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
9630 2001-09-06  Richard Henderson  <rth@redhat.com>
9632         * simplify-rtx.c (simplify_binary_operation): Revert last change.
9634 2001-09-06  Richard Henderson  <rth@redhat.com>
9636         * simplify-rtx.c (simplify_binary_operation): Simplify contents
9637         of CONST.
9639 2001-09-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9641         * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
9642         number used for CR register.
9644 Thu Sep  6 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
9645                           Joern Rennecke (amylaar@cygnus.com)
9647         * h8300-protos.h (h8300_return_addr_rtx): New prototype.
9648         * h8300.c (initial_offset): Handle offset between RP and FP.
9649         (h8300_return_addr_rtx): New function.
9650         * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
9651         return register.
9652         (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
9653         (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
9654         (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
9655         (CAN_ELIMINATE, REGISTER_NAMES):
9656         (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
9658 2001-09-06  Nathan Sidwell  <nathan@codesourcery.com>
9660         Remove TYPE_NONCOPIED_PARTS.
9661         * tree.h (TYPE_NONCOPIED_PARTS): Remove.
9662         (struct tree_type): Remove noncopied_parts.
9663         * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
9664         * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
9665         (fixed_type_p): Remove.
9666         (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
9667         (expand_expr, MODIFY_EXPR): Likewise.
9668         * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
9669         * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
9671 2001-09-06  Alan Modra  <amodra@bigpond.net.au>
9673         * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
9674         compiler warnings.
9675         (mask64_operand): Likewise.
9676         (includes_rldic_lshift_p): Likewise.
9677         (includes_rldicr_lshift_p): Likewise.
9679 2001-09-05  Ziemowit Laski  <zlaski@apple.com>
9681         * objc/objc-act.c (build_message_expr): If a class method cannot
9682         be found, do not issue a warning if a corresponding instance
9683         method exists in the root class.
9685 2001-09-05  Richard Henderson  <rth@redhat.com>
9687         * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
9689 2001-09-05  Zack Weinberg  <zack@codesourcery.com>
9691         * function.c (ggc_mark_struct_function): Mark f->outer.
9692         * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
9693         * integrate.c (output_inline_function): ... not here.
9695 Wed Sep  5 17:28:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
9697         * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
9699         * i386.c (size_cost): New static variable.
9700         (override_function): Use size_cost when -Os is specified.
9702         * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
9703         properly;  Use current_function_calls_eh_return.
9704         (ix86_expand_epilogue): Avoid dummy optimize_size tests;
9705         use leave to avoid dependency chain.
9707         * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
9708         get BB loop_depth instead of computing it from LOOP notes.
9710         * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
9712 2001-09-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9714         * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9715         * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9716         UNALIGNED_DOUBLE_INT_ASM_OP): Define
9718 2001-09-05  Jeffrey A Law  (law@cygnus.com)
9719             Jason Merrill (jason@redhat.com)
9721         * stor-layout.c (layout_type): Complain if an array's size can
9722         not be represented in a size_t.
9724         * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
9726 2001-09-05  David Billinghurst <David.Billinghurst@riotinto.com>
9728         * gcc.c: (process_command) Add parentheses around assignment
9729         used as truth value.
9731 2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
9733         * config/mips/mips.c (save_restore_insns): Don't mark any register
9734         save slots as unchanging if current_function_calls_eh_return.
9736 2001-09-05  Richard Henderson  <rth@redhat.com>
9738         * config/alpha/alpha.c (alpha_legitimate_address_p): New.
9739         * config/alpha/alpha-protos.h: Declare it.
9740         * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
9741         (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
9742         (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
9743         (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
9744         (REG_OK_FOR_BASE_P): Select one of the above.
9746 2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
9748         * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
9749         (crti.o): Prefix name of object file with $(T).
9750         (crtn.o): Likewise.
9752 2001-09-05  David S. Miller  <davem@redhat.com>
9754         * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
9755         * config/sparc/linux64.h: Likewise.
9757 2001-09-05  Andreas Jaeger  <aj@suse.de>
9759         * doc/invoke.texi (i386 Options): -mwide-multiply is not
9760         available anymore, remove the documentation.
9761         (i386 Options): Fix typo, cleanup index entries.
9763         * prefix.c (concat): Remove, we can use the version from liberty.
9765 2001-09-05  Richard Henderson  <rth@redhat.com>
9767         * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
9768         New functions split out of md file expanders.
9769         * config/alpha/alpha-protos.h: Declare them.
9770         * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
9772 2001-09-05  Neil Booth  <neil@daikokuya.demon.co.uk>
9774         * cppmacro.c (funlike_invocation_p): No need to restore context.
9776 2001-09-04  Richard Henderson  <rth@redhat.com>
9778         * reload.c (push_reload): Export.
9779         * reload.h (push_reload): Declare it.
9781         * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
9782         (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
9783         * config/alpha/alpha.c (alpha_legitimize_address): New.
9784         (alpha_legitimize_reload_address): Likewise.
9785         * config/alpha/alpha-protos.h: Declare them.
9787 2001-09-04  Stan Shebs  <shebs@apple.com>
9789         * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
9790         * config/darwin.c (machopic_stub_name): Account for internally
9791         generated lib calls such as memcpy.
9793 2001-09-04  Richard Henderson  <rth@redhat.com>
9795         * unwind.h (_UA_END_OF_STACK): New flag.
9796         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
9798 Tue Sep  4 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
9800         * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
9802 2001-09-04  Richard Sandiford  <rsandifo@redhat.com>
9804         * config/mips/mips.c (save_restore_insns): Change base_offset to
9805         fp_offset in second call to mips_emit_frame_related_store.
9807 2001-09-04  Hans-Peter Nilsson  <hp@axis.com>
9809         * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
9810         sometimes be represented as a NOTE of type
9811         NOTE_INSN_DELETED_LABEL.
9812         (Insns): Document NOTE_INSN_DELETED_LABEL.
9814 2001-09-04  Nathan Sidwell  <nathan@codesourcery.com>
9816         * c-common.h (tree_dump_index): Add more comments.
9817         * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
9818         (dump_option_value_info): New struct.
9819         (dump_options): New array.
9820         (dump_switch_p): Parse switch options symbolically.
9821         * doc/invoke.texi (-fdump-ast): Rename to ...
9822         (-fdump-tree): ... here. Document that options are symbolic, and
9823         not all are applicable.
9825 2001-09-04  David S. Miller  <davem@redhat.com>
9827         * config/sparc/sparc.md (define_splits): Kill constraints.
9829         Cleanup redundant and unused insn attributes.
9830         * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
9831         binary, and move.  Mark ialu as default.
9832         (commented out define_function_unit "alu"): Kill.
9833         (define_attr "use_clobbered"): Kill.
9834         (whole file): Kill address insn type references.  Replace
9835         all unary/binary/move references with ialu.
9836         * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
9837         references.  Replace TYPE_{UNARY,BINARY,MOVE} references with
9838         TYPE_IALU.
9840         Simplify length insn attribute and make more judicious use
9841         of insn attribute defaulting.
9842         * config/sparc/sparc.md (all insns with length > one): Mark as
9843         insn type multi if real instructions, else use default if
9844         it is a forced splitter.
9845         (all insns with length == one): Use default insn length.
9846         (all insns of type ialu): Use default insn type.
9848         Fix erroneous insn attribute settings.
9849         (addx): Set insn type to misc.
9850         (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
9851         const_umulsidi3_sp64): Set insn type to imul.
9853         Track SFmode vs DFmode insns according to UltraSPARC
9854         scheduling rules.
9855         * config/sparc/sparc.md ("fptype"): New attribute, default
9856         to "single".
9857         (all DFmode single insns): Mark as fptype "double".
9859 2001-09-03  Jakub Jelinek  <jakub@redhat.com>
9861         * loop.c (express_from_1): Fix CONSTANT_P(a) case.
9863 2001-09-03  Richard Henderson  <rth@redhat.com>
9865         * function.h (struct function): Add arg_pointer_save_area_init.
9866         * function.c (expand_function_end): Init arg_pointer_save_area.
9867         (get_arg_pointer_save_area): Do not init arg_pointer_save_area
9868         when called from a nested function.
9870 2001-09-02  Angela Marie Thomas <angela@cygnus.com>
9872         * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
9873         is enabled.
9875 Sun Sep  2 18:37:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
9877         * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
9879 2001-09-01  Geoffrey Keating  <geoffk@redhat.com>
9881         * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
9882         (emit_push_insn): Use specified padding direction when
9883         STACK_PUSH_CODE is POST_INC.
9885         * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
9887 2001-09-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9889         * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
9891 2001-09-01  Neil Booth  <neil@daikokuya.demon.co.uk>
9893         * cppinit.c (cpp_start_read): Free the imacros list as we
9894         traverse it.  Don't free the chains before returning.
9895         (_cpp_push_next_buffer): Only try pushing buffers if we've
9896         completed -imacros handling.
9898 2001-08-31  Eric Christopher  <echristo@redhat.com>
9900         * gcc.c (handle_braces): Add explaination for abort.
9902 2001-08-30  Roman Zippel  <zippel@linux-m68k.org>
9904         * expmed.c (store_bit_field): Update to patch from 2001-08-27:
9905         move adjustment of bitpos instead.
9907 2001-08-31  Zack Weinberg  <zack@codesourcery.com>
9909         * function.c: Remove all_functions.  Make outer_function_chain
9910         static.
9911         (init_function_start): Don't add new function structure to
9912         all_functions.
9913         (find_function_data, push_function_context_to,
9914         pop_function_context_from, put_var_into_stack,
9915         trampoline_address): Update for changed structure element names.
9916         (push_function_context_to): Disentangle.
9917         (free_after_compilation): Also free F.
9918         (expand_dummy_function_end): Don't free cfun here.
9919         (put_var_into_stack): Comment why we can't use find_function_data here.
9920         (fix_lexical_addr, trampoline_address, ): Use find_function_data.
9921         (mark_function_chain): Split into maybe_mark_struct_function and
9922         ggc_mark_struct_function.  Export the latter.
9923         (init_function_once): Mark from cfun and outer_function_chain;
9924         not all_functions.
9926         * function.h (struct function): Kill next_global.  Rename next
9927         to outer.  All users updated to match.
9928         (all_functions, outer_function_chain): Don't declare.
9930         * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
9931         * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
9932         don't touch f->inlinable, after calling rest_of_compilation.
9934         * tree.h: Forward-declare struct function.  Prototype
9935         ggc_mark_struct_function.
9937 2001-08-31  Kazu Hirata  <kazu@hxi.com>
9939         * config/h8300/h8300.md (*andorhi3): Fix typos.
9941 2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9943         * calls.c (emit_library_call_value): Don't use a fixed
9944         argument after VA_CLOSE, i.e. out of scope in traditional C.
9946         * emit-rtl.c (gen_rtvec): Likewise.
9948 2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9950         * Makefile.in (c-pragma.o): Depend on output.h.
9951         (reorg.o): Depend on except.h.
9953         * c-pragma.c: Include output.h.
9955         * reorg.c: Include except.h.
9957         * unwind-dw2.c: Call __builtin_alloca, not alloca.
9959 2001-08-31  Richard Henderson  <rth@redhat.com>
9961         * sched-deps.c (add_dependence): Don't elide dependency if the
9962         conditional used by insn is modified in elem.
9964 2001-08-31  Nick Clifton  <nickc@cambridge.redhat.com>
9966         * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
9968 2001-08-31  Diego Novillo  <dnovillo@redhat.com>
9970         * c-decl.c (c_decode_option): Skip '-f' prefix before calling
9971         dump_switch_p.
9973 2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
9975         * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
9976         function.
9977         (stormy16_asm_out_constructor): New function.
9978         (TARGET_ASM_CONSTRUCTOR): Define.
9979         (TARGET_ASM_DESTRUCTOR): Define.
9981 2001-08-31  Andreas Jaeger  <aj@suse.de>
9983         * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
9984         * loop.c (add_label_notes): Likewise.
9985         * reload.c (find_reloads): Likewise.
9986         * config/sh/sh.c (machine_dependent_reorg): Likewise.
9988 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
9990         * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
9991         code here.  Take _Unwind_{W,Sw}ord*.
9992         (read_encoded_value_with_base): Use them.
9993         * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
9994         words.
9995         (extract_cie_info): Simplify read_?leb128 handling.
9996         (execute_stack_op, execute_cfa_program): Likewise.
9997         * unwind-dw2-fde.c (get_cie_encoding): Likewise.
9999 2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
10001         * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
10002         the frame pointer to pop the stack if convenient.
10004         * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
10005         Don't use post-increment before combine.
10006         * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
10007         a call-saved register.
10009 2001-08-31  Andreas Jaeger  <aj@suse.de>
10011         * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
10012         code was correct.
10014 2001-08-30  Geoffrey Keating  <geoffk@redhat.com>
10016         * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
10017         not DIV/MOD, of course.
10019 2001-08-30  Vladimir Makarov  <vmakarov@redhat.com>
10021         * rtl.def: Undo my patch commited 2001-08-27.
10023         * genattrtab.c: Ditto.
10025         * rtl.h: Ditto.
10027         * sched-int.h: Ditto.
10029         * target-def.h: Ditto.
10031         * target.h: Ditto.
10033         * haifa-sched.c: Ditto.
10035         * sched-rgn.c: Ditto.
10037         * sched-vis.c: Ditto.
10039         * Makefile.in: Ditto.
10041         * doc/md.texi: Ditto.
10043         * doc/tm.texi: Ditto.
10045         * doc/contrib.texi: Ditto.
10047         * doc/gcc.texi: Ditto.
10049         * genattrtab.h: Remove it.
10051         * genautomata.c: Remove it.
10053         * genattr.c: Undo my patch and Richard Henderson's patch commited
10054         2001-08-27.
10056 Thu Aug 30 19:22:15 2001  J"orn Rennecke <amylaar@redhat.com>
10058         * config.gcc (h8300-*-elf*): New case.
10059         * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
10060         (SUBTARGET_CPP_SPEC): Define.
10061         (EXTRA_SPECS): Define.
10062         (SUBTARGET_EXTRA_SPECS): Define.
10063         * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
10064         * config/h8300/elf.h, config/h8300/t-elf: Likewise.
10066 Thu Aug 30 18:50:37 2001  J"orn Rennecke <amylaar@redhat.com>
10068         * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
10069         (LIB2FUNCS_EXTRA): Define.
10070         config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
10071         config/h8300/fixunssfsi.c: New file.
10073 2001-08-30  Kazu Hirata  <kazu@hxi.com>
10075         * config/h8300/h8300.md (zero_extendqihi2): Changes to
10076         define_expand to accommodate target-specific attributes.
10077         (anonymous zero_extendqihi2 patterns): New.
10079 Thu Aug 30 18:10:56 2001  J"orn Rennecke <amylaar@redhat.com>
10081         * h8300.md (*andorhi3): New pattern.
10083 Thu Aug 30 16:00:31 2001  J"orn Rennecke <amylaar@redhat.com>
10085         * h8300.c (dosize): Fix test for "sub".
10087 Thu Aug 30 10:21:43 2001  J"orn Rennecke <amylaar@redhat.com>
10089         * c-typeck.c (pointer_diff): Try to eliminate common term before
10090         doing conversions.
10092 2001-08-30  Nick Clifton  <nickc@cambridge.redhat.com>
10094         * config/arm/arm.c (arm_compute_initial_elimination_offset):
10095         Account for the saves of the FP registers.
10097         * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
10098         (TEXT_SECTION_ASM_OP): Define.
10099         (INIT_SECTION_ASM_OP): Define.
10100         (FINI_SECTION_ASM_OP): Define.
10101         (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
10102         (RDATA_SECTION_FUNCITON): Provide prototype.
10104 2001-08-29  Geoffrey Keating  <geoffk@redhat.com>
10106         * reload1.c (move2add_note_store): Correct typo checking for
10107         argument pushes.
10109 2001-08-29  Andrew MacLeod  <amacleod@redhat.com>
10111         * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
10112         note should not be considered outside the libcall block.
10114 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10116         * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
10118 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10120         * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
10122 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10124         * config/h8300/h8300-protos.h: Add a prototype for
10125         emit_logical_op.
10126         * config/h8300/h8300.c (emit_logical_op): New.
10127         * config/h8300/h8300.md (andhi3): Use emit_logical_op.
10128         (andsi3): Likewise.
10129         (iorhi3): Likewise.
10130         (iorsi3): Likewise.
10131         (xorhi3): Likewise.
10132         (xorsi3): Likewise.
10134 2001-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10136         * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
10137         comparison with rtx INTVAL.
10138         (pa_output_function_prologue): Don't mix signed and unsigned in `?'
10139         expression.
10140         * pa.h (FUNCTION_ARG_SIZE): Likewise.
10142 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10144         * config/h8300/lib1funcs.asm: Update the copyright.  Fix
10145         comment typos.
10147 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10149         * config/h8300/h8300.md (anonymous movhi pattern): Don't move
10150         (reg n) to (mem (pre_dec (reg n))
10151         (anonymous movsi pattern): Likewise.
10153 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10155         * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
10157 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10159         * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
10160         several special constants.
10162 2001-08-29  Kazu Hirata  <kazu@hxi.com>
10164         * config/h8300/lib1funcs.asm: Fix comment typos.
10166 2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10168         * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
10169         Fix format specifier warnings.
10171         * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
10172         inet_makeaddr, semctl): Prototype.
10174         * mips.c (compute_frame_size): Fix signed/unsigned warnings.
10175         (save_restore_insns): Use base_offset, not gp_offset.
10177         * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
10178         (ASM_OUTPUT_BYTE): Fix format specifier warning.
10180 2001-08-29  Richard Henderson  <rth@redhat.com>
10182         * bb-reorder.c (function_tail_eff_head): New.
10183         (record_effective_endpoints): Set it.
10184         (fixup_reorder_chain): Use it.
10186 2001-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10188         * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
10190 2001-08-28  Dale Johannesen  <dalej@apple.com>
10192         * config/darwin.c (machopic_function_base_name): Add const
10193         qualifier to a string.
10194         (darwin_encode_section_info): Ditto.
10196 2001-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10198         * tree.c (default_valid_attribute_p): Don't use PARAMS on a
10199         function definition.
10201 2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
10203         * df.h (struct df): Add rts_order variable.
10205         * df.c (df_visit_next_rts): New function.
10206         (df_visit_next): Renamed to df_visit_next_rc
10207         (df_analyse_1): Allocate/compute/free rts_order as well.
10208         (df_rd_global_compute): Use df_visit_next_rc instead of
10209         df_visit_next.
10210         (df_ru_global_compute): Use df_visit_next_rts instead of
10211         df_visit_next.
10213         * flow.c (flow_reverse_top_sort_order_compute): New function.
10215         * basic-block.h: Add prototype.
10217 2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
10219         * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
10220         blocks, the BB_REACHABLE is now set, rather than aux being
10221         non-NULL. Update the test to reflect this.
10223 2001-08-28  Eric Christopher  <echristo@redhat.com>
10225         * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10226         config/mips/crti.asm: Ditto.
10228 2001-08-28  Eric Christopher <echristo@redhat.com>
10229             Richard Henderson <rth@redhat.com>
10231         * c-pragma.h (add_weak): Move prototype from here...
10232         * output.h (add_weak): ... to here.
10233         * varasm.c (add_weak): Fix typo.
10234         * config/mips/crti.asm: New file.
10235         * config/mips/crtn.asm: Ditto.
10236         * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
10237         (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
10238         (INVOKE__main): Ditto.
10239         (INIT_SECTION_ASM_OP): New.
10240         (FINI_SECTION_ASM_OP): Ditto.
10241         (STARTFILE_SPEC): Add crti.
10242         (ENDFILE_SPEC): Add crtn.
10243         * config/mips/elf64.h: Same.
10244         * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
10245         Remove.
10246         * config/mips/vxworks.h: Ditto.
10247         * config/mips/t-elf: Support crti and crtn.
10249 2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
10251         * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
10252         INSN_LIST.
10254 2001-08-28  Richard Henderson  <rth@redhat.com>
10256         * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
10257         (one_cmplbi2 splitter): Remove redundant test.
10259 2001-08-28  Dale Johannesen  <dalej@apple.com>
10261         * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
10263 2001-08-28  Danny Smith  <dannysmith@users.sourceforge.net>
10265         * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
10267 2001-08-28  Stan Shebs  <shebs@apple.com>
10269         * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
10270         (UNALIGNED_SHORT_ASM_OP): Define.
10271         (UNALIGNED_INT_ASM_OP): Define.
10273 2001-08-28  Will Cohen  <wcohen@redhat.com>
10275         * config/rs6000/rs6000.md (store_multiple): Correct RTL
10276         generation for first set.
10278 2001-08-27  Roman Zippel  <zippel@linux-m68k.org>
10280         * flow.c (redirect_edge_succ_nodup): Return new edge.
10281         (try_simplify_condjump): Use new edge.
10282         * basic-block.h (redirect_edge_succ_nodup): Update prototype.
10284         * cse.c (cse_basic_block): Skip note instructions.
10286 2001-08-27  Richard Henderson  <rth@redhat.com>
10288         * combine.c (combine_simplify_rtx): Don't reverse condition
10289         if there is no reverse for the condition.
10290         (simplify_comparison): Don't simplify subregs from INT to FP.
10292         * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
10293         suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
10294         sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
10295         bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
10296         bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
10297         bunle_rev, bunlt_rev, bltgt_rev): New patterns.
10299 2001-08-27  Roman Zippel  <zippel@linux-m68k.org>
10301         * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
10302         bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
10303         (pushqi1): New.
10304         (adddi_dilshr32, adddi_dishl32): Only data register can be
10305         source for mem destination.
10307         * expmed.c (store_bit_field): Ignore adjustment to bitpos
10308         and use bitnum to decide about register move.
10310 2001-08-27  Richard Henderson  <rth@redhat.com>
10312         * genattr.c (main): Emit state_t even when not doing scheduling.
10314 2001-08-27  Roman Zippel <zippel@linux-m68k.org>
10315             Richard Henderson  <rth@redhat.com>
10317         * gcse.c (reg_first_set, reg_last_set): Replace with ...
10318         (reg_avail_info, current_bb): ... these.
10319         (oprs_unchanged_p, record_last_reg_set_info): Use them.
10320         (compute_hash_table): Likewise.
10322 2001-08-27  Roman Zippel <zippel@linux-m68k.org>
10324         * flow.c (verify_flow_info): Use checksums to verify edges.
10326 2001-08-27  Richard Henderson  <rth@redhat.com>
10328         * genautomata.c (expand_automata): Always create a description.
10330 2001-08-27  Geoffrey Keating  <geoffk@redhat.com>
10332         * optabs.c (expand_binop): Correctly handle the carry in multiword
10333         add/subtract operations.
10335 2001-08-27  Fred Fish  <fnf@be.com>
10337         * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
10338         __SIZE_TYPE__.
10340 2001-08-27  Geoffrey Keating  <geoffk@redhat.com>
10342         * reload.c (find_reloads_toplev): Back out this change:
10344         Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
10346         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
10347         mem if the address is a mode_dependent_address_p.
10349 2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
10351         * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10352         PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10353         AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10354         RTL constructions.
10356         * genattr.c (main): New variable num_insn_reservations.  Increase
10357         it if there is DEFINE_INSN_RESERVATION.  Output automaton based
10358         pipeline hazard recognizer interface.
10360         * genattrtab.h: New file.
10362         * genattrtab.c: Include genattrtab.h.
10363         (attr_printf, check_attr_test, make_internal_attr,
10364         make_numeric_value): Move protypes into genattrtab.h.  Define them
10365         as external.
10366         (num_dfa_decls): New global variable.
10367         (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10368         DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10369         DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10370         DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
10372         * genautomata.c: New file.
10374         * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10376         * sched-int.h: (curr_state): Add the external definition for
10377         automaton pipeline interface.
10378         (haifa_insn_data): Add comments for members blockage and units.
10380         * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10381         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10382         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10383         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10384         TARGET_SCHED_DFA_POST_CYCLE_INSN,
10385         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10386         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10387         macros.
10388         (TARGET_SCHED): Use the new macros.
10390         * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10391         dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10392         first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10393         dfa_bubble): New members in gcc_target.sched.
10395         * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10396         (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10397         (insn_queue): Redefine it as pointer to array.
10398         (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10399         INSN_QUEUE_SIZE.
10400         (max_insn_queue_index_macro_value): New variable.
10401         (curr_state, dfa_state_size, ready_try): New varaibles for
10402         automaton interface.
10403         (ready_element, ready_remove, max_issue): New function prototypes
10404         for automaton interface.
10405         (choose_ready): New function prototype.
10406         (insn_unit, blockage_range): Add comments.
10407         (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10408         FUNCTION_UNITS_SIZE == 0.
10409         (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10410         actual_hazard, potential_hazard): Add comments.
10411         (insn_cost): Use cost -1 as undefined value.  Remove
10412         LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
10413         pipeline interface.
10414         (ready_element, ready_remove): New functions for automaton
10415         interface.
10416         (schedule_insn): Add new code for automaton pipeline interface.
10417         (queue_to_ready): Add new code for automaton pipeline interface.
10418         Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10419         (debug_ready_list): Print newline when the queue is empty.
10420         (max_issue): New function for automaton pipeline interface.
10421         (choose_ready): New function.
10422         (schedule_block): Add new code for automaton pipeline interface.
10423         Print ready list before scheduling each insn.
10424         (sched_init): Add new code for automaton pipeline interface.
10425         Initiate insn cost by -1.
10426         (sched_finish): Free the current automaton state and finalize
10427         automaton pipeline interface.
10429         * sched-rgn.c: Include target.h.
10430         (init_ready_list, new_ready, debug_dependencies): Add new code for
10431         automaton pipeline interface.
10433         * sched-vis.c: Include target.h.
10434         (get_visual_tbl_length): Add code for automaton interface.
10435         (target_units, print_block_visualization):  Add comments.
10437         * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10438         USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
10439         (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
10440         (getruntime.o, genautomata.o): New entries.
10441         (genattrtab.o): Add new dependency file genattrtab.h.
10442         (genattrtab): Add new dependencies.  Link it with `libm.a'.
10443         (getruntime.o, hashtab.o): New entries for canadian cross.
10445         * doc/md.texi: Description of automaton based model.
10447         * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
10448         Add comments.
10449         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10450         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10451         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10452         TARGET_SCHED_DFA_POST_CYCLE_INSN,
10453         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10454         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10455         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
10456         hook descriptions.
10457         (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
10458         MAX_DFA_ISSUE_RATE): New macro descriptions.
10460         * doc/contrib.texi: Add dfa based scheduler contribution.
10462         * doc/gcc.texi: Add more information about genattrtab.
10464 2001-08-27  Diego Novillo  <dnovillo@redhat.com>
10466         * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
10467         an RTL basic block.
10469 2001-08-27  Richard Henderson  <rth@redhat.com>
10471         * function.c (expand_function_end): Don't init arg_pointer_save_area.
10472         (get_arg_pointer_save_area): New.  Create an init it here.
10473         (fix_lexical_addr): Use it.
10474         * function.h: Declare it.
10475         * builtins.c (expand_builtin_setjmp_receiver): Use it.
10476         * stmt.c (expand_nl_goto_receiver): Use it.
10478 2001-08-27  Richard Henderson  <rth@redhat.com>
10480         * final.c (final_scan_insn): Don't enter APP_ON mode for
10481         empty asm strings.
10483         * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
10484         alignment for assemble_integer for DW_EH_PE_aligned.
10485         * except.c (output_function_exception_table): Likewise.
10487 2001-08-26  Andreas Jaeger  <aj@suse.de>
10489         * c-tree.h: Add prototyp for c_sizeof_nowarn.
10491 2001-08-25 Dan Nicolaescu  <dann@ics.uci.edu>
10493         * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
10495 2001-08-27  Alan Modra  <amodra@bigpond.net.au>
10497         * config/rs6000/rs6000.c (mask_operand): Rewrite without
10498         bit-shifting loop.
10499         (mask64_operand): Likewise.
10500         (rldic_operand): Delete.
10501         (includes_lshift64_p): Delete.
10502         (includes_rldic_lshift_p): New function.
10503         (includes_rldicr_lshift_p): New function.
10504         (print_operand): Don't call rldic_operand in case 'W'.
10505         * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
10506         (includes_lshift64_p): Remove.
10507         (includes_rldic_lshift_p): Declare.
10508         (includes_rldicr_lshift_p): Declare.
10509         * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
10510         * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
10511         Replace match_operand rldic_operand predicate with
10512         const_int_operand.  Replace includes_lshift64_p condition with
10513         includes_rldic_lshift_p.
10514         <ashldi3_internal 64 bit rldicr patterns>: New.
10516 2001-08-27  Andreas Jaeger  <aj@suse.de>
10518         * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
10519         * errors.c: Likewise.
10520         * final.c: Likewise.
10521         * dwarf2asm.c: Likewise.
10522         * doprint.c (checkit): Likewise.
10523         * diagnostic.c: Likewise.
10524         * collect2.c: Likewise.
10525         * calls.c: Likewise.
10526         * c-semantics.c (build_stmt): Likewise.
10527         * c-format.c (status_warning): Likewise.
10528         * c-errors.c (pedwarn_c99): Likewise.
10529         * builtins.c (validate_arglist): Likewise.
10530         * config/pj/pj.c (pj_printf): Likewise.
10531         * fix-header.c: Likewise.
10532         * gcc.c: Likewise.
10533         * gcov.c (fnotice): Likewise.
10534         * gensupport.c (message_with_line): Likewise.
10535         * mips-tfile.c: Likewise.
10536         * protoize.c (notice): Likewise.
10537         * read-rtl.c (fatal_with_file_and_line): Likewise.
10538         * rtl-error.c: Likewise.
10539         * tradcpp.c: Likewise.
10540         * tree.c: Likewise.
10541         * cp/tree.c (build_min_nt): Likewise.
10542         (build_min): Likewise.
10543         * cp/lex.c: Likewise.
10544         * cp/errfn.c: Likewise.
10545         * cp/rtti.c (create_pseudo_type_info): Likewise.
10547 Sun Aug 26 20:25:44 2001  Denis Chertykov  <denisc@overta.ru>
10549         * df.c (df_uses_record): Return after recording all uses
10550         in ASM_OPERANDS.
10552 2001-08-26  Daniel Berlin  <dan@cgsoftware.com>
10554         * df.c (df_insn_modify): Realloc the INSN table here, if
10555         necessary, here, too.
10557 2001-08-26  Aldy Hernandez  <aldyh@redhat.com>
10559         * config/mips/mips.c (mips_function_value): Handle complex return
10560         values.
10562 2001-08-25  Hans-Peter Nilsson  <hp@bitrange.com>
10564         * reload1.c (reload): Make all entries in reg_equiv_memory_loc
10565         unshared.
10566         * reload.c (make_memloc): Copy result if it is still
10567         reg_equiv_memory_loc[regno] on return.
10568         (subst_reloads) [ENABLE_CHECKING]: Check that none of
10569         reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
10570         reg_equiv_mem are modified by the substitutions.
10572 Sat Aug 25 23:07:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
10574         * predict.c (expensive_function_p): New.
10575         * rtl.h (expensive_function_p): Declare.
10576         * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
10577         (use_fast_prologue_epilogue): New static variable.
10578         (expand_prologue): Set it; emit short prologues if unset.
10579         (expand_epilogue): Likewise.
10581 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
10583         * config.gcc: Add stormy16-*-elf case.
10584         * config/stormy16/stormy-abi: New file.
10585         * config/stormy16/stormy16-lib2.c: New file.
10586         * config/stormy16/stormy16-protos.h: New file.
10587         * config/stormy16/stormy16.c: New file.
10588         * config/stormy16/stormy16.h: New file.
10589         * config/stormy16/stormy16.md: New file.
10590         * config/stormy16/t-stormy16: New file.
10592 Sat Aug 25 15:46:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
10594         * i386.h (no-accumulate-outgoing-args): Use proper mask.
10596 2001-08-24  David Edelsohn  <edelsohn@gnu.org>
10598         * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
10599         descriptor members are pointer size, not constant 4.
10600         * config/rs6000/rs6000.md (define_splits): Remove more unused
10601         constraints.
10603 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10605         * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
10607 2001-08-24  Andreas Jaeger  <aj@suse.de>, rkl@connect.org.uk
10609         * cp/rtti.c (VPARAMS): Fix parameter.
10611 2001-08-24  Zack Weinberg  <zackw@panix.com>
10613         * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
10614         to zero.
10615         (mode_for_extraction): No need for #ifdefs.  Add default-case abort
10616         to switch.
10617         (store_bit_field): Eliminate insv_bitsize variable.  Put HAVE_insv
10618         in if controlling use of insv.
10619         (extract_bit_field): Likewise, for extv and extzv.
10621 Fri Aug 24 17:27:46 CEST 2001  Jan Hubicka  <jh@suse.cz>
10623         * i386.md (movcc peep2): Fix load of 0.
10625 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10627         * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
10628         *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
10630 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
10632         * c-pragma.h: Move weak_syms and weak_decls...
10633         * varasm.c: ...here.  Now static.
10634         (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
10635         depend on HANDLE_PRAGMA_WEAK.
10637         * c-common.c (c_alignof, c_alignof_expr): Move here...
10638         * c-typeck.c: ...from here.
10639         * c-tree.h, c-common.h: Adjust.
10641 2001-08-23  Bernd Schmidt  <bernds@redhat.com>
10643         * config/ia64/ia64.c (rws_update): If !pred, set write_count
10644         instead of incrementing it.
10646         * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
10647         asm ready, don't try to move them all into the same array element.
10649 Thu Aug 23 17:21:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
10651         * function.c (thread_prologue_and_epilogue_insns): Avoid
10652         fallthru flag on edge to exit.
10654         * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
10656         * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
10657         dead edges.
10659 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
10661         * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
10662         * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
10663         * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
10664         Remove prototype.
10666 2001-08-23  Lars Brinkhoff  <lars@nocrew.org>
10668         * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
10669         replace "GNU CC" with "GCC".
10671 2001-08-23  Richard Henderson  <rth@redhat.com>
10673         * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
10674         Reorganize.  Handle ADDL like GR, add GR_AND_BR.  Handle TFmode.
10675         (ia64_secondary_reload_class): Need GR between AR/BR and anything.
10676         Need GR between FR and not GR_AND_FR.
10677         * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
10678         * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
10679         AR regs before GR regs.
10680         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
10681         (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
10682         (REGISTER_MOVE_COST): Update.
10683         (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
10685 2001-08-23  Richard Henderson  <rth@redhat.com>
10687         * regclass.c (init_reg_sets_1): Don't assume cost 2 within
10688         a register class.
10690 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
10692         * reload1.c (emit_reload_insns): Don't look for notes
10693         on a NULL store_insn.
10695 2001-08-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10697         * sparc.c (uns_small_int): Don't reference a constant >32-bit.
10698         (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
10699         (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
10700         format specifier warnings.
10701         (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
10703 2001-08-22  David Billinghurst <David.Billinghurst@riotinto.com>
10705         * config/i386/i386-protos.h: Correct declaration of
10706         i386_pe_asm_named_section.
10708 2001-08-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10710         * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
10711         variable i.
10712         * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
10714 2001-08-22  Neil Booth  <neil@daikokuya.demon.co.uk>
10716         * cpperror.c (print_location): Don't show _Pragma.
10717         * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
10718         and file change callback generation here.
10719         (stack_include_file): Update use of cpp_push_buffer.
10720         * cpphash.h (_cpp_pop_file_buffer): Update prototype.
10721         (struct cpp_buffer): Remove type, pfile members.
10722         * cppinit.c (cpp_handle_option): Use free_chain.
10723         * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
10724         (skip_escaped_newlines, get_effective_char, lex_percent): Take
10725         a cpp_reader rather than a cpp_buffer.
10726         (skip_escaped_newlines, get_effective_char, skip_block_comment,
10727         skip_line_comment, parse_string, lex_percent, lex_dot,
10728         _cpp_lex_token): Update accordingly.
10729         * cpplib.c (_cpp_pop_buffer): Don't do file change callback
10730         generation here.
10731         (cpp_push_buffer): Update prototype.
10732         (run_directive): Update use of cpp_push_buffer.
10733         (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
10734         handle_assertion): Update use of run_directive.
10735         * cpplib.h (enum cpp_buffer_type): Remove.
10736         (cpp_push_buffer): Update prototype.
10737         * fix-header.c (read_scan_file): Update.
10739 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
10741         * gcc.c (struct prefix_list): Change prefix to const char *.
10743 2001-08-22  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
10745         * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
10747 2001-08-22  Jason Merrill  <jason_merrill@redhat.com>
10749         * explow.c (set_mem_attributes): Avoid returning a bogus alias set
10750         from a new MEM.
10752         * jump.c (squeeze_notes): Take parms by reference.  Handle END being
10753         a squeezable note.
10754         * rtl.h: Adjust.
10755         * ifcvt.c (dead_or_predicable): Adjust.
10756         * loop.c (find_and_verify_loops): Adjust.
10757         * stmt.c (expand_end_case): Adjust.
10758         * flow.c (merge_blocks_move_successor_nojumps): Adjust.  Modify the
10759         head and end insn pointers in the basic block, not just local copies.
10760         (merge_blocks_move_predecessor_nojumps): Likewise.
10762 2001-08-22  Lars Brinkhoff  <lars@nocrew.org>
10764         * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
10765         bitmap.h, builtin-types.def, builtins.c, builtins.def,
10766         c-aux-info.c, c-common.c, c-common.def, c-common.h,
10767         c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
10768         c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
10769         c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
10770         caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
10771         conditions.h, config.gcc, configure.frag, configure.in,
10772         conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
10773         cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
10774         dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
10775         doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
10776         dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
10777         emit-rtl.c, errors.c, errors.h, except.c, except.h,
10778         exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
10779         fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
10780         function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
10781         gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
10782         gencheck.c, gencodes.c, genconfig.c, genemit.c,
10783         genextract.c, genflags.c, gengenrtl.c, genmultilib,
10784         genopinit.c, genoutput.c, genpeep.c, genrecog.c,
10785         gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
10786         ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
10787         graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
10788         gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
10789         gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
10790         hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
10791         integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
10792         libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
10793         machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
10794         mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
10795         mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
10796         params.h, predict.c, predict.def, predict.h, prefix.c,
10797         prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
10798         read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
10799         regclass.c, regmove.c, regrename.c, regs.h, reload.c,
10800         reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
10801         rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
10802         sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
10803         sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
10804         ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
10805         stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
10806         tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
10807         tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
10808         unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
10809         unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
10810         xcoffout.h: replace "GNU CC" with "GCC".
10812 2001-08-21  Richard Henderson  <rth@redhat.com>
10814         * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
10815         (final_scan_insn): Consider jump tables data even if we have no
10816         independent text section if !JUMP_TABLES_IN_TEXT_SECTION.  Use
10817         ADDR_VEC_ALIGN.
10818         * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
10819         (ASM_OUTPUT_CASE_END): Remove.
10820         (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
10821         * config/ia64/ia64.md (tablejump): Decode pc-relative references.
10822         * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
10824 2001-08-21  Richard Henderson  <rth@redhat.com>
10826         * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
10827         at barrier insns.  Emit stop bits before barriers.
10829         * flow.c (flow_find_cross_jump): Don't consider unconditional
10830         return insns for commoning.
10832         * final.c (compute_alignments): Fix typo.
10834         * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
10835         (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
10836         (store_bit_field): Use mode_for_extraction more places.
10837         (extract_bit_field): Likewise.
10839 2001-08-21  Zack Weinberg  <zackw@panix.com>
10841         * caller-save.c: Don't include insn-codes.h.
10842         (reg_save_code, reg_restore_code): Make arrays of int.
10843         All uses updated to match.
10844         (insert_save, insert_restore): No need to initialize "code"
10845         variable upon declaration.
10846         * Makefile.in: update dependencies; fix typo in clean rule.
10848 2001-08-21  Richard Henderson  <rth@redhat.com>
10850         * ifcvt.c (find_if_block): Allow join_bb as EXIT.
10851         (merge_if_block): Handle fallout from same.
10853 2001-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10855         * builtins.c (type_to_class): Fix typo in last change.
10857 2001-08-21  Richard Henderson  <rth@redhat.com>
10859         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
10860         ia64_asm_output_label.
10862         * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
10863         copy of gp while the real gp register contains garbage.
10865 2001-08-21  Zack Weinberg  <zackw@panix.com>
10867         * expmed.c (mode_for_extraction): New function.
10868         (store_bit_field, extract_bit_field): Use it.
10869         * expr.h: Prototype it and provide an enum for its first argument.
10871         * combine.c, function.c, recog.c: Don't include insn-codes.h.
10872         Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
10873         and digging through the insn_data tables.
10874         * Makefile.in: Update dependencies.
10876 2001-08-22  Neil Booth  <neil@daikokuya.demon.co.uk>
10878         * cppfiles.c (stack_include_file): line-map.c now handles include
10879         depth.
10880         (handle_missing_handler): Similarly.
10881         (_cpp_execute_include): Similarly.
10882         (_cpp_pop_file_buffer): Similarly.
10883         * cpphash.h (struct cpp_reader): Remove system_include_depth,
10884         buffer_stack_depth and include_depth.
10885         * cpplib.c (do_include_common): line-map.c now handles include depth.
10886         (cpp_push_buffer): Similarly.
10887         (_cpp_pop_buffer): Similarly.
10888         * cppmacro.c (builtin_macro): Update.
10889         * line-map.c (init_line_maps): Set depth.
10890         (add_line_map): Increment "used" earlier.  Update and use the
10891         include depth.
10892         (trace_include): Use the include depth.
10893         * line-map.h (struct line_maps): New member depth.
10895 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
10897         * cppfiles.c (stack_include_file): Don't handle -H here.
10898         * cppinit.c (cpp_start_read): Set include tracing after
10899         cpp_post_options and after stacking the main file.
10900         * line-map.c (trace_include): New.
10901         (init_line_maps, add_line_map): Update.
10902         * line-map.h (struct line_maps): New member trace_includes.
10904 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
10906         * cppfiles.c (stack_include_file): Harmonize system headerness tests.
10907         * cppfiles.c (stack_include_file): Only stack a file if there
10908         is something to do.  Return a boolean indicating whether a
10909         buffer was stacked or not.
10910         (_cpp_execute_include): Similarly.
10911         (_cpp_read_file): Similarly.
10912         * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
10914 2001-08-21  Sam Steingold  <sds@gnu.org>
10916         * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
10917         (RECACHE): keep obufp_before_macroname up to date
10919 2001-08-21  Zack Weinberg  <zackw@panix.com>
10921         * stmt.c: Don't include insn-codes.h.
10922         (expand_end_case): Machine specific logic moved to expr.c.
10923         No need to worry about __builtin_classify_type.
10924         (check_for_full_enumeration_handling, emit_case_nodes):
10925         Kill #if 0 blocks.
10927         * builtins.o (expand_builtin_classify_type): Split up so code
10928         can be shared with fold_builtin_classify_type.
10929         (type_to_class, fold_builtin_classify_type): New functions.
10930         (fold_builtins): Handle __builtin_classify_type.
10932         * expr.c (do_tablejump): Now static.
10933         (case_values_threshold, try_casesi, try_tablejump): New;
10934         code mostly from stmt.c (expand_end_case).
10935         (expr.h): Update prototypes.
10937         * Makefile.in (stmt.o): Update dependencies.
10939 2001-08-21  Will Cohen  <wcohen@redhat.com>
10941         * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
10942         declaration of variable i.
10943         * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
10944         declaration of variable i.
10946 2001-08-21  Richard Henderson  <rth@redhat.com>
10948         * crtstuff.c: Fix thinko last change.  Move list tails to start
10949         of CRT_END section.  Tidy ifdefs.
10950         (__EH_FRAME_BEGIN__): Always static for ELF.
10951         (__do_global_ctors_1): Rename from __frame_dummy.
10952         * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
10953         name change; don't hide __EH_FRAME_BEGIN__.
10955 2001-08-21  Richard Henderson  <rth@redhat.com>
10957         * gdbinit.in: Move break on exit after break on fancy_abort.
10959         * config/ia64/ia64.c (ia64_return_in_memory): True for variable
10960         sized types.
10962 2001-08-21  Neil Booth  <neil@daikokuya.demon.co.uk>
10964         * cpphash.h (_cpp_push_next_buffer): New.
10965         * cppinit.c (do_includes): Remove.
10966         (push_include, free_chain, _cpp_push_next_buffer): New.
10967         (cpp_start_read): Use them to rework command line option handling.
10968         (cpp_handle_option): Combine handling of -include and -imacros.
10969         * cpplex.c (_cpp_lex_token): Push a new -include buffer if
10970         appropriate.  Always insert missing \n at EOF.
10971         * cpplib.c (start_directive): Get the directive position right.
10972         * cppmain.c (cb_file_change): Always print the first line, unless
10973         preprocessed.
10975 2001-08-20  Andreas Jaeger  <aj@suse.de>
10977         * profile.c (compute_branch_probabilities): Remove extra new-line
10978         in error message.
10979         * flow.c (verify_flow_info): Likewise.
10981 2001-08-20  Diego Novillo  <dnovillo@redhat.com>
10983         * basic-block.h (basic_block): Add new field 'flags'.
10984         (BB_REACHABLE): Define.
10985         (expunge_block): Declare.
10986         * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
10987         (EXIT_BLOCK_PTR): Ditto.
10988         (expunge_block): Remove static declaration.
10989         (cleanup_cfg): Clear bb->aux on every basic block.
10990         (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
10991         computing reachability.
10992         (delete_unreachable_blocks): Delete block b if b->flags has
10993         BB_REACHABLE unset.
10995 2001-08-20  Diego Novillo  <dnovillo@redhat.com>
10997         * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
10999 2001-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11001         * sparc.c (sparc_variable_issue): Fix typo in last change.
11003 2001-08-20  Richard Henderson  <rth@redhat.com>
11005         * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
11007 2001-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11009         * pa.h (RETURN_IN_MEMORY): Improve comment.
11011 2001-08-20  Janis Johnson  <janis187@us.ibm.com>
11013         * doc/invoke.texi (Profiling options): Clarify the interactions
11014         between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
11016 2001-08-20  Jeffrey Oldham  <oldham@codesourcery.com>
11018         * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
11019         command.
11021 2001-08-20  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
11023         * gcc.c (make_relative_prefix): Allocate a sufficiently large
11024         buffer.
11026 2001-08-20  Richard Henderson  <rth@redhat.com>
11028         * final.c (end_final): Fix typo last change.
11030 2001-08-20  Neil Booth  <neil@daikokuya.demon.co.uk>
11032         * cppinit.c (init_standard_includes): The returned buffer
11033         is already malloc-ed.
11034         * gcc.c (add_prefix): Similarly.
11035         * prefix.c (translate_name): Update to support clear buffer
11036         ownership rules.
11037         (update_path): Similarly.  Be sure to free any newly allocated
11038         key.  UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
11039         (tr): New function.
11040         * prefix.h (update_path): Update prototype and document.
11041         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
11042         up and update to new buffer ownership rules.
11043         * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
11045 Mon Aug 20 01:44:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
11047         * final.c (compute_alignments): New function.
11048         (init_insn_lengths): Do not care label_align.
11049         (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
11050         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
11051         (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
11052         (shorted_branches): Realloc label_align array; do
11053         not call init_insn_lengths; Do not care about loop alignments.
11054         * output.h (compute_alignments): Declare.
11055         * toplev.c (rest_of_compilation): Call compute_alignments.
11056         * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
11058         * predict.c (block_info_def): Add npredecesors, remove nvisited;
11059         change visited to tovisit.
11060         (propagate_freq): Use faster traversing algorithm.
11061         (estimate_loops_at_level, estimate_bb_frequencies): Change visited
11062         to tovisit; reverse meaning.
11064         * predict.c (struct block_info_def): Remove nvisited.
11065         (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11066         (estimate_bb_frequencies): Call mark_dfs_back_edges.
11068 2001-08-19  Geoffrey Keating  <geoffk@redhat.com>
11070         * doc/invoke.texi (MIPS Options): Document -mfused-madd.
11071         * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
11072         (TARGET_FUSED_MADD): New.
11073         (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
11074         * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
11075         the multiply-add instructions.
11077 2001-08-19  Richard Henderson  <rth@redhat.com>
11079         * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
11080         is aligned to pointer size.
11082 2001-08-19  Richard Henderson  <rth@redhat.com>
11084         * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
11085         display markers during final schedule.
11087 2001-08-19  Richard Henderson  <rth@redhat.com>
11089         * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
11091 2001-08-19  Richard Henderson  <rth@redhat.com>
11093         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
11094         in the same string.
11095         (ASM_NAME_TO_STRING): Remove.
11096         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
11097         in the same string.  Remove support for expressions.
11099 2001-08-19  Richard Henderson  <rth@redhat.com>
11101         * config/i386/i386.md (tablejump): Make an expander; handle
11102         pic relative addressing here.
11103         (tablejump_1): Rename from tablejump_pic.
11104         (casesi): Remove.
11106 2001-08-19  Richard Henderson  <rth@redhat.com>
11108         * regclass.c (fix_register): Fix typo.
11110 2001-08-18  Richard Henderson  <rth@redhat.com>
11112         * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
11113         (struct _Unwind_Context): Expand br_loc to hold it.
11114         (uw_frame_state_for): Handle leaf functions better.
11115         (uw_update_reg_address): Update for br_loc change.
11117 2001-08-18  Richard Henderson  <rth@redhat.com>
11119         * crtstuff.c: Move list heads before code that uses them.
11120         (__JCR_LIST__): Remove initial null.
11121         (frame_dummy, __frame_dummy): Do java registration here ...
11122         (__do_global_ctors_aux): ... not here.
11124         * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
11125         (__do_global_dtors_aux): Update to match.
11126         (__JCR_LIST__, __do_jv_register_classes): New.
11127         (.init): Call it.
11128         * config/ia64/crtend.asm (__JCR_END__): New.
11129         (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
11130         instead of an indirect LTOFF22 reloc.
11132 2001-08-18  Richard Henderson  <rth@redhat.com>
11134         * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
11135         * regclass.c (init_reg_sets_1): Fix typo.
11136         * config/ia64/ia64.c (ar_pfs_reg_operand): New.
11137         (ia64_expand_call): Pass ar.pfs to sibcall expanders.
11138         (ia64_compute_frame_size): Make ar.unat live when in use.
11139         (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
11140         for ar.pfs; remove ar.unat handling.
11141         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
11142         call-saved.
11143         (PREDICATE_CODES): Add ar_pfs_reg_operand.
11144         * config/ia64/ia64-protos.h: Update decls.
11145         * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
11146         (sibcall_pic): Likewise.
11148 2001-08-18  Richard Henderson  <rth@redhat.com>
11150         * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
11151         pred_rel_mutex when searching for insn_group_barrier.
11152         * config/ia64/ia64.md (cycle_display): Combine the expander
11153         and insn patterns.
11155         * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
11156         bit before asm as needed.
11158 2001-08-18  Richard Henderson  <rth@redhat.com>
11160         * timevar.def (TV_MACH_DEP): New.
11161         * toplev.c (rest_of_compilation): Use it.
11162         * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
11164 2001-08-18  Zack Weinberg  <zackw@panix.com>
11166         * unwind-dw2.c (execute_stack_op): Add default aborts to
11167         the inner switches to prevent warnings.
11169 2001-08-18  Richard Henderson  <rth@redhat.com>
11171         * timevar.h (struct timevar_time_def): Change element type to float.
11172         (ticks_to_msec, clocks_to_msec): Likewise.
11173         (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
11174         (get_time): Likewise.
11175         (timevar_print): Adjust zero check and printing to match.
11177 2001-08-18  Zack Weinberg  <zackw@panix.com>
11179         * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
11180         doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
11181         Eliminate overfull or underfull hboxes.
11183 2001-08-18  Zack Weinberg  <zackw@panix.com>
11185         * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
11187 2001-08-18  Zack Weinberg  <zackw@panix.com>
11189         * haifa-sched.c: Convert to target hooks.  Macros replaced
11190         are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
11191         MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
11192         MD_SCHED_FINISH, and HAVE_cycle_display.
11193         * target-def.h (TARGET_SCHED_ADJUST_COST,
11194         TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
11195         TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
11196         TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
11197         TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
11198         New hook #defines to be overridden.
11199         (TARGET_SCHED): Bring them all together.
11200         (TARGET_INITIALIZER): Update.
11201         * target.h: Don't forward declare struct rtx_def.  Use 'rtx'
11202         instead of 'struct rtx_def *' throughout.
11203         (struct sched): New set of hooks for the scheduler.
11204         * Makefile.in (haifa-sched.o): Depend on target.h.
11205         * doc/tm.texi: Document the new scheduler hooks, together in
11206         their own section, instead of scattered around.
11207         Fix a bunch of underfull/overfull hboxes.
11209         * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
11210         ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
11211         sparc.h: Don't define any of the old scheduler macros.
11213         * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
11214         ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
11215         sparc.c: Create hook functions from code extracted from
11216         corresponding target header, or make existing hooks static, as
11217         appropriate.  Set the appropriate entries in targetm.
11219         * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
11220         i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
11221         rs6000-protos.h, s390-protos.h, sparc-protos.h:
11222         Remove prototypes for functions which are now static.
11224         * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
11225         related gunk; the Haifa scheduler is now the only choice.
11227 2001-08-18  Zack Weinberg  <zackw@panix.com>
11229         * optabs.h (OTI_flodiv, flodiv_optab): Kill.
11230         * genopinit.c: Put floating point divide insns in sdiv_optab.
11231         * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
11232         * config/gofast.h, config/c4x/c4x.h,
11233         config/ia64/hpux_longdouble.h, config/mips/mips.h,
11234         config/pa/long_double.h, config/rs6000/sysv4.h,
11235         config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
11236         * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
11237         (init_optabs): Use init_optabv for overflow-trapping optabs.
11238         Don't init flodiv_optab.  Give mov_optab, movstrict_optab, and
11239         cmp_optab RTX codes so have_insn_for can find them.
11241         * optabs.c (expand_simple_binop, expand_simple_unop,
11242         have_insn_for, gen_sub3_insn): New interfaces.
11243         * expr.h: Prototype new functions.
11244         (enum optab_methods): Move here from optabs.h.
11246         * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
11247         loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
11248         Use new functions instead of working directly with optabs.
11249         * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
11250         unroll.c: Don't include optabs.h.
11251         * caller-save.c, combine.c, function.c, stmt.c: Just include
11252         insn-codes.h, not optabs.h.
11253         * Makefile.in: Update dependencies.
11255         * combine.c (make_compound_operation, simplify_comparison):
11256         Fix typos testing for this or that instruction.
11258 2001-08-18  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
11260         * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
11261         generating libgcc.a.
11263 2001-08-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11265         * except.c (TYPE_HASH): Delete.
11267         * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
11268         HOST_WIDE_INT.
11270         * tree.c (TYPE_HASH): Delete.
11272         * tree.h (TYPE_HASH): Define.
11274 2001-08-18  Graham Stott  <grahams@redhat.com>
11276         * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
11277         define_split.
11278         (adddi3_internal_2+2): Likewise.
11279         (eh_set_lr_di+1): Likewise.
11281 2001-08-17  Richard Henderson  <rth@redhat.com>
11283         * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11284         UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
11285         * dwarf2asm.c: ... here.
11286         * dwarfout.c: Remove them.
11288         * varasm.c (assemble_integer): Add align parameter.
11289         (assemble_real, output_constant, output_constructor): Likewise.
11290         * output.h: Update decls.
11291         * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
11292         config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
11293         config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
11294         config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
11295         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
11296         Update all callers.
11298         * final.c (end_final): Abort profile block generation if we
11299         haven't layed it out properly.
11300         * output.h (assemble_eh_integer): Remove stale decl.
11301         * varasm.c (assemble_zeros): Tidy; use assemble_integer.
11302         (min_align): New.
11303         (assemble_integer): Handle unaligned data.
11304         (assemble_real): Abort on unaligned data.
11305         (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
11306         anything useful.
11307         (default_dtor_section_asm_out_destructor): Use assemble_align.
11308         (default_named_section_asm_out_constructor): Likewise.
11309         (default_ctor_section_asm_out_constructor): Likewise.
11310         * config/darwin.c (machopic_asm_out_constructor): Likewise.
11311         (machopic_asm_out_destructor): Likewise.
11312         * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
11313         (nextstep_asm_out_destructor): Likewise.
11314         * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
11315         (vms_asm_out_destructor): Likewise.
11317 2001-08-17  Richard Henderson  <rth@redhat.com>
11319         * config/mips/iris6.h (TARGET_IRIX6): New.
11320         (current_section_name, current_section_flags): New.
11321         (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
11322         (MAX_OFILE_ALIGNMENT): New.
11323         (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
11324         * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
11325         (copy_file_data): Split out from
11326         (mips_asm_file_end): ... here.
11327         (mips_asm_file_start): Remove extra .section directive.  Use
11328         tmpfile instead of mips_make_temp_file.
11329         (mips_unique_section): Use const char * as needed for warnings.
11330         (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
11331         re-add align parameter.
11332         (iris6_asm_named_section): New.
11333         (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
11334         (iris6_asm_output_align, iris6_section_align_1): New.
11335         (iris6_asm_file_start, iris6_asm_file_end): New.
11336         * config/mips/mips-protos.h: Update decls.
11338 2001-08-17  Janis Johnson  <janis187@us.ibm.com>
11340         * doc/install.texi (Install GCC): Add links to build status pages.
11341         (Specific): Ditto.
11342         (Final install): Ditto; request updates for specific info
11344 2001-08-17  Neil Booth  <neil@daikokuya.demon.co.uk>
11346         * cpperror.c (print_location):  Don't take a file name; use the
11347         line map instead.
11348         (_cpp_begin_message): Similarly.
11349         (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
11350         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
11351         (cpp_pedwarn_with_file_and_line): Remove.
11352         * cppfiles.c (stack_include_file): Update; set filename to stdin
11353         here when appropriate.
11354         * cpphash.h (struct cpp_buffer): Remove nominal_fname.
11355         (_cpp_begin_message): Don't take a file name.
11356         * cppinit.c: Add comment.
11357         * cpplex.c: Fix end-of-directive indicator.
11358         * cpplib.c: Don't include intl.h.
11359         (run_directive, do_diagnostic): Update.
11360         (do_line): Update to not use nominal_fname.
11361         (cpp_push_buffer): Don't take a filename.
11362         * cpplib.h (struct ht): Remove.
11363         (cpp_push_buffer): Don't take a filename.
11364         (cpp_pedwarn_with_file_and_line): Remove.
11365         * cppmacro.c (struct cpp_macro): Remove file.
11366         (builtin_macro): Update.
11367         (_cpp_create_definition): Update.
11368         * cppmain.c: Correct comment.
11369         * fix-header.c (read_scan_file): Update.
11371 2001-08-17  Kazu Hirata  <kazu@hxi.com>
11373         * sbitmap.c: Fix comment formatting.
11374         * sched-deps.c: Likewise.
11375         * sibcall.c: Likewise.
11376         * simplify-rtx.c: Likewise.
11377         * ssa.c: Likewise.
11378         * ssa-ccp.c: Likewise.
11379         * stor-layout.c: Likewise.
11380         * timevar.c: Likewise.
11381         * toplev.c: Likewise.
11382         * unwind-dw2.c: Likewise.
11383         * unwind-dw2-fde.c: Likewise.
11384         * varasm.c: Likewise.
11386 2001-08-17  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11388         * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
11389         or larger than an integer in memory.
11391 2001-08-17  Zack Weinberg  <zackw@panix.com>
11393         * system.h: Forward-declare struct rtx_def, struct rtvec_def,
11394         and union tree_node.  Typedef rtx, rtvec, and tree.  Fix comment.
11395         * rtl.h: Don't forward-declare union tree_node here.  Don't
11396         typedef rtx or rtvec here.  Change all uses of struct rtx_def *,
11397         struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11398         and tree respectively.
11399         * tree.h: Don't forward-declare struct rtx_def here.  Don't
11400         typedef tree here.  Change all uses of struct rtx_def *,
11401         struct rtvec_def *, or union tree_node * to use rtx, rtvec,
11402         and tree respectively.
11404 2001-08-17  Richard Henderson  <rth@redhat.com>
11406         * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
11407         config/mips/openbsd.h: Fix typos last change.
11409 2001-08-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11411         * doc/invoke.texi (Optimize Options): The default for
11412         -finline-limit is 600.
11414 2001-08-17  Richard Henderson  <rth@redhat.com>
11416         * varasm.c (text_section): Allow TEXT_SECTION to override the
11417         printing of TEXT_SECTION_ASM_OP.
11418         * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
11419         (DATA_SECTION, BSS_SECTION): Remove.
11420         * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
11421         RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
11422         Rename from s/_NAME//.
11423         * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
11424         (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
11425         (TEXT_SECTION): ... here.  New.
11426         * config/mips/elf.h (TEXT_SECTION): New; no file switching.
11427         * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
11428         * config/mips/openbsd.h: Likewise.
11429         * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
11430         (mips_asm_file_end): Likewise test.
11431         (mips_output_function_epilogue): Likewise.  Switch back to data
11432         section after emitting the function.
11434         * doc/tm.texi (Sections): Document TEXT_SECTION.
11436 2001-08-17  Richard Henderson  <rth@redhat.com>
11438         * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
11439         (dwarf2out_finish): Do it here.  Emit .debug_loc before .debug_info.
11441 2001-08-17  Richard Henderson  <rth@redhat.com>
11443         * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
11444         * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
11445         __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
11446         Add aligned attribute.
11448 2001-08-17  Andrew Haley  <aph@cambridge.redhat.com>
11450         * config/sh/sh.md: Add modes to unspecs in first insn to match
11451         those in the second.
11453         * Makefile.in: Fix collect2 copy for Cygwin.
11455 Fri Aug 17 15:48:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
11457         Install the proper patch.
11458         * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11459         (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11460         (expand_function_start): Likewise.
11461         * stmt.c (expand_decl): Likewise.
11462         * varasm.c (make_decl_rtx): Likewise.
11464 Fri Aug 17 15:41:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
11466         * final.c: Undo my previous accidental checkin.
11467         * output.h: Likewise.
11468         * tm.texi: Likewise.
11470 2001-08-16  Richard Henderson  <rth@redhat.com>
11472         * varasm.c (named_section_flags): Remove align parameter.
11473         * varasm.c, dwarf2out.c: Update all callers.
11474         * output.h: Update prototypes.
11476         * target.h (target.asm_out.named_section): Remove align parameter.
11477         * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
11478         config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
11479         config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
11480         config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
11481         config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
11483         * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
11484         (get_named_section_flags, set_named_section_flags): New.
11485         (named_section_flags): Use them.
11486         (named_section): Do decl vs section flags check here...
11487         (default_section_type_flags): ... not here.
11488         (init_varasm_once): Create in_named_htab.
11489         (resolve_unique_section): Mark reloc unused.
11491 2001-08-16  Richard Henderson  <rth@redhat.com>
11493         * varasm.c (force_const_mem): Keep pool alignment in bits.
11494         (output_constant_pool): Use assemble_align.
11496 2001-08-16  Zack Weinberg  <zackw@panix.com>
11498         * doc/tm.texi: Remove extra @table command.
11500 2001-08-16  Zack Weinberg  <zackw@panix.com>
11502         * final.c (shorten_branches): Clear the end of the label_align
11503         array only if we made it larger.  Break up messy expressions
11504         for clarity.
11506         * diagnostic.c (internal_error): Check for error recursion
11507         before doing ICE suppression.
11509         * timevar.c: Timing variables now count in milliseconds.
11510         (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
11511         (get_time): Not here.
11512         (timevar_print): Don't print any timer whose user, cpu, and
11513         wall times are all zero as displayed.
11514         * timevar.h: Update comment aboout units.  Make timevar
11515         counters unsigned.
11517 Thu Aug 16 17:39:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
11519         * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
11520         (assign_params): Avoid setting DECL_RTL to unfinished RTX.
11521         (expand_function_start): Likewise.
11522         * stmt.c (expand_decl): Likewise.
11523         * varasm.c (make_decl_rtx): Likewise.
11525 2001-08-16  Jason Merrill  <jason_merrill@redhat.com>
11527         * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
11528         (finalize_record_size): Don't set TYPE_USER_ALIGN.
11530 2001-08-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
11532         * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
11533         variables.
11535 2001-08-16  Andreas Jaeger  <aj@suse.de>
11537         * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
11538         prototype.
11540 Wed Aug 15 15:22:52 EDT 2001  John Wehle  (john@feith.com)
11542         * rtl.h (only_sets_cc0_p): New prototype.
11543         * jump.c (sets_cc0_p): Handle INSN.
11544         (only_sets_cc0_p): New function.
11545         * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
11546         (tidy_fallthru_edge): Likewise.
11547         * integrate.c (copy_insn_list): Likewise.
11548         * unroll.c (unroll_loop): Likewise.
11549         (copy_loop_body): Likewise.
11551 2001-08-15  Jason Eckhardt  <jle@redhat.com>
11553         * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
11555 Wed Aug 15 14:24:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
11557         * predict.c (struct block_info_def): Remove nvisited.
11558         (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11559         (estimate_bb_frequencies): Call mark_dfs_back_edges.
11561         * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
11562         (ix86_adjust_cost): Teach scheduler that latency to load operand can
11563         be masked.
11565 Wed Aug 15 12:41:32 CEST 2001  Jan Hubicka  <jh@suse.cz>
11567         * predict.def: Update hitrates.
11569 2001-08-15  Richard Henderson  <rth@redhat.com>
11571         * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
11573 Tue Aug 14 17:30:59 2001  Jeffrey A Law  (law@cygnus.com)
11575         * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
11576         note from its associated jump.
11578 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
11580         * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
11581         also on 64-bit s390x targets.
11583 2001-08-14  Nick Clifton  <nickc@cambridge.redhat.com>
11585         * config/arm/arm.c (arm_compute_initial_elimination_offset): New
11586         function.
11587         (arm_expand_prologue): Handled nested functions which take a
11588         variable argument list.
11589         * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
11590         macro with an invocation of
11591         arm_compute_initial_elimination_offset.
11592         * config/arm/arm-protos.h: Prototype
11593         arm_compute_initial_elimination_offset.
11595 2001-08-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11597         * doc/install.texi (Specific, avr): Fix markup.
11598         (Specific, c4x): Ditto.
11600 2001-08-14  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
11602         * predict.c (dump_prediction): Change `bool' parameter to `int'.
11604 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
11606         * Makefile.in (OBJS): Add rtl-error.o
11607         (rtl-error.o): New rule.
11608         (diagnostic.o): Adjust dependency.
11609         diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
11610         error_for_asm, _fatal_insn, _fatal_insn_not_found,
11611         warning_for_asm): Move to...
11612         rtl-error.c: ...here.  New file.
11614 2001-08-14  Richard Henderson  <rth@redhat.com>
11616         * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
11617         if USING_SJLJ_EXCEPTIONS.
11619 2001-08-14  Steve Ellcey <sje@cup.hp.com>
11621         * tlink.c (scan_linker_output): Check string for unsatisfied in
11622         addition to undefined and unresolved.
11624 2001-08-14  Graham Stott  <grahams@redhat.com>
11626         * libgcc2.c (*): Replace EH_FRAME_SECTION with
11627         EH_FRAME_SECTION_NAME.
11629 Tue Aug 14 14:57:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
11631         * genattrtab.c (simplify_test_exp_in_temp): New function.
11632         (simplify_test_exp): Avoid explicit use of temporary obstack.
11633         (simplify_cond, insert_right_side, evaluate_eq_attr,
11634         simplify_and_tree, simplify_or_tree, eliminate_known_true):
11635         Use simplify_test_exp_in_temp.
11636         (optimize_attrs): Iterate until expression stabilizes.
11638 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>:
11640         * glimits.h: Remove the __LONG_MAX__ special case for s390x.
11641         * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
11643 2001-08-13  Richard Henderson  <rth@redhat.com>
11645         * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
11646         (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
11647         * config/arm/conix-elf.h: Likewise.
11649 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
11651         * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
11652         in gcc.c.
11653         * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
11655         * gcse.c (hash_scan_set): Expressions that are set as part of
11656         jump instructions are not available.
11658 2001-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
11660         * config/s390/s390.c (print_operand, s390_function_prologue,
11661         s390_va_start): Fixed HOST_WIDE_INT type mismatch.
11663 2001-08-13  Richard Henderson  <rth@redhat.com>
11665         * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
11666         * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
11667         * doc/tm.texi (Exception Region Output): Document it.
11669 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
11671         * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
11672         DWARF2 instead of stabs by default.
11674 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
11676         * config/rs6000/rs6000.c: Include optabs.h.
11678 2001-08-13  David Edelsohn  <edelsohn@gnu.org>
11680         * config/rs6000/eabi.asm: Define 64-bit versions of FPR
11681         save/restore routines.
11682         * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
11684 2001-08-13  Andreas Jaeger  <aj@suse.de>
11686         * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
11687         the english is correct.
11689 2001-08-13  Zack Weinberg  <zackw@panix.com>
11691         * expr.h: Split out optab- and libfunc-related code to...
11692         * optabs.h, libfuncs.h: ... these new headers.
11694         * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
11695         (OPTABS_H): New.
11696         (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
11697         dependencies.
11698         * mkconfig.sh: Don't include insn-codes.h from config.h.
11700         * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
11701         enum insn_code is available.  Move reload_in_optab and
11702         reload_out_optab array declarations to optabs.h.
11703         * regmove.c (gen_add3_insn): Move to optabs.c, export from
11704         there, prototype in expr.h.
11705         * gencodes.c: Cleanup: zap global variables, don't use
11706         printf where puts will do, don't bother defining MAX_INSN_CODE
11707         which nothing uses, let CODE_FOR_nothing get its value implicitly.
11709         * genemit.c, genopinit.c: Include optabs.h in generated file.
11710         * genoutput.c: Include insn-codes.h in generated file.
11711         * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
11712         expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
11713         reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
11714         config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
11715         config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
11716         config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
11717         Include optabs.h.
11718         * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
11719         optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
11720         config/m88k/m88k.c, config/sparc/sparc.c:
11721         Include libfuncs.h.
11722         * reload.c: Include expr.h and optabs.h before reload.h.
11723         * config/alpha/alpha.c: Include tree.h before reload.h.
11724         * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
11725         and reload.h in that order.
11726         * config/sparc/sparc.c: Include debug.h.
11727         * recog.c: Include insn-codes.h.
11729 2001-08-13  Andreas Jaeger  <aj@suse.de>
11731         * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
11732         s390*linux.
11734 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
11736         * dwarf2out.c (output_cfa_loc): Fix typo in comment.
11737         * gcc.c (init_spec): Fix typo in comment.
11738         * varasm.c (data_section): Fix typo in comment.
11740 Mon Aug 13 02:27:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
11742         * predict.c (dump_prediction): New argument "USED".
11743         (combine_predictions_for_insn): Determine the used heuristics,
11744         output the case no heuristic applied.
11745         * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
11747 2001-08-13  Andreas Jaeger  <aj@suse.de>
11749         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
11750         register %rip.
11752 2001-08-13  Kazu Hirata  <kazu@hxi.com>
11754         * jump.c: Fix formatting.
11756 2001-08-13  Kazu Hirata  <kazu@hxi.com>
11758         * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
11759         length.
11761 2001-08-12  Geoffrey Keating  <geoffk@redhat.com>
11763         * loop.c (check_dbra_loop): Use condjump_label to compute
11764         jump_label.
11766         * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
11767         to better document the files they're in.
11769 2001-08-12  Zack Weinberg  <zackw@panix.com>
11771         * recog.h (struct insn_operand_data): Shrink 'mode' field
11772         to 16 bits.
11774 2001-08-12  Kazu Hirata  <kazu@hxi.com>
11776         * gcc.c: Fix comment formatting.
11777         * gccspec.c: Likewise.
11778         * gcov.c: Likewise.
11779         * gcse.c: Likewise.
11780         * genemit.c: Likewise.
11781         * gengenrtl.c: Likewise.
11782         * genrecog.c: Likewise.
11783         * gensupport.c: Likewise.
11784         * ggc-page.c: Likewise.
11785         * global.c: Likewise.
11786         * graph.c: Likewise.
11787         * ifcvt.c: Likewise.
11788         * integrate.c: Likewise.
11789         * lcm.c: Likewise.
11790         * libgcc2.c: Likewise.
11791         * loop.c: Likewise.
11792         * mbchar.c: Likewise.
11793         * optabs.c: Likewise.
11794         * predict.c: Likewise.
11795         * prefix.c: Likewise.
11796         * profile.c: Likewise.
11797         * protoize.c: Likewise.
11798         * real.c: Likewise.
11799         * recog.c: Likewise.
11800         * regclass.c: Likewise.
11801         * regmove.c: Likewise.
11802         * reg-stack.c: Likewise.
11803         * reload1.c: Likewise.
11804         * resource.c: Likewise.
11805         * rtlanal.c: Likewise.
11806         * rtl.c: Likewise.
11808 2001-08-12  Kazu Hirata  <kazu@hxi.com>
11810         * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
11811         a tree representing a constant is passed to the macro.
11813 2001-08-12  Richard Henderson  <rth@redhat.com>
11815         * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
11816         (rs6000_elf_asm_out_destructor): New.
11817         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
11818         (DTORS_SECTION_ASM_OP): Remove.
11819         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
11820         (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
11822 2001-08-12  David Edelsohn  <edelsohn@gnu.org>
11824         Revert:
11825         2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11826         * gcc.c (set_collect_gcc_options): New function, split out from
11827         main.
11828         Ignore elided switches.
11829         (do_spec_1): Invoke before executing command.
11830         (set_input): Export.
11831         Move declaration ...
11832         * gcc.h (set_input): ... here.
11833         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
11834         file.
11836 2001-08-12  Richard Henderson  <rth@redhat.com>
11838         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
11839         thinko wrt TARGET_RELOCATABLE.
11841 2001-08-12  Neil Booth  <neil@daikokuya.demon.co.uk>
11843         * fix-header.c (cb_file_change): Update prototype.
11845 2001-08-11  Zack Weinberg  <zackw@panix.com>
11847         * toplev.c (set_float_handler): Make static.
11848         * toplev.h: Don't prototype set_float_handler.
11850         * simplify-rtx.c: Don't include setjmp.h.
11851         (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
11852         New functions.
11853         (simplify_unary_operation, simplify_binary_operation): Use them,
11854         via do_float_handler.
11856         * fold-const.c: Don't include setjmp.h.
11857         (exact_real_inverse_1): New function.
11858         (exact_real_inverse): Use it, via do_float_handler.
11860         * varasm.c: Don't include setjmp.h.
11861         (assemble_real_1): New function.
11862         (assemble_real): Use it, via do_float_handler.
11863         Call internal_error if we get a trap here.
11865         * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
11866         config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
11868 2001-08-11  Zack Weinberg  <zackw@panix.com>
11870         * defaults.h: Define PREFERRED_STACK_BOUNDARY to
11871         STACK_BOUNDARY if not already defined.
11873         * calls.c, function.c, reload1.c, explow.c: Don't default
11874         PREFERRED_STACK_BOUNDARY.  Remove all #if/#ifdef on
11875         PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
11877         * explow.c (allocate_dynamic_stack_space): Change unsafe #if
11878         to run-time test.
11880         * doc/tm.texi: Document that STACK_BOUNDARY is required;
11881         clarify difference between it and PREFERRED_STACK_BOUNDARY.
11883 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
11885         * cppmacro.c (enter_macro_context): Push macro expansions even
11886         if empty.
11888 2001-08-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11890         * config/rs6000/rs6000.c: Include integrate.h to silence warning.
11891         (rs6000_elf_section_type_flags): Actually return a value.
11893 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
11895         * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
11896         Clean up code: add missing comments and prototypes, fix warnings,
11897         remove obsolete code, fix spacing to conform to coding style.
11899 2001-08-11  Ulrich Weigand  <uweigand@de.ibm.com>
11901         * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
11902         and TARGET_ASM_CLOSE_PAREN.
11903         (regclass_map): CC register belongs to class NO_REGS.
11904         (legitimize_pic_address): Don't generate unnecessary moves
11905         (to avoid confusing loop optimization).
11906         (check_and_change_labels): Replace jump_long by indirect_jump.
11907         (s390_final_chunkify): Don't start a new literal pool on section
11908         switch in 64-bit code.
11909         (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
11911         * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
11912         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
11913         (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
11914         modes correctly.
11915         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
11916         (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
11917         (CONST_COSTS): Fixed incorrect costs.
11919         * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
11920         Use emit_jump instead of emit_jump_insn (gen_jump).
11921         (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
11922         (to avoid confusing flow analysis).
11923         (tablejump, tablejump1, tablejump2): Removed.  Replaced by casesi.
11924         (casesi, casesi_jump): New.
11925         (jump_long): Removed.  Functionality merged into indirect_jump.
11926         (indirect_jump): Accept address_operand, not just register_operand.
11927         (cjump_long, icjump_long): Use same logic as indirect_jump.
11928         (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
11929         Fixed broken setjmp/longjmp handling.
11930         (do_builtin_setjmp_setup): Removed.
11932         * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
11933         broken GNU as versions that don't accept .quad with large
11934         negative values.  Use hexadecimal output instead.
11935         (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
11936         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
11937         FUNCTION_EPILOGUE): Removed.  Now in targetm.
11939         * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
11941         * config/s390/fixdfdi.h: Add missing copyright statement.
11942         Fix type conflicts on 64-bit.  Add missing SFmode routines.
11944         * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
11945         email address.
11947 2001-08-11  Richard Henderson  <rth@redhat.com>
11949         * rtl.h (REG_EH_RETHROW): Remove.
11950         * rtl.c (reg_note_name): Update.
11951         * combine.c (distribute_notes): Don't check for it.
11953 2001-08-11  Richard Henderson  <rth@redhat.com>
11955         * combine.c (distribute_notes): Place REG_SETJMP.
11957 2001-08-11  Richard Henderson  <rth@redhat.com>
11959         * doc/extend.texi (Arrays and pointers implementation): Discourage
11960         relying on sign-extension of pointers.
11962 2001-08-11  H.J. Lu <hjl@gnu.org>
11964         * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
11965         in_dtors.
11966         (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
11967         RDATA_SECTION_ASM_OP.
11969 2001-08-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11971         * doc/install.texi (Specific, c4x): Fix cross-reference to the
11972         main manual to work both for info and HTML versions.
11974 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
11975             Matt Kraai <kraai@alumni.carnegiemellon.edu>
11977         * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
11978         * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
11979         (struct cpp_pool): New member first.
11980         * cppinit.c (append_include_chain): Plug memory leaks.
11981         * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
11982         Allocate pragma structures from the (aligned) macro pool to
11983         avoid leaking memory.
11984         * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
11985         so we don't leak memory.
11986         * hashtable.c (ht_destroy): New.
11987         * hashtable.h (ht_destroy): New.
11989 2001-08-11  Neil Booth  <neil@daikokuya.demon.co.uk>
11990             Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11992         * c-lex.c (map): Make const.
11993         (cb_file_change): Update for callback passing a line map.
11994         Don't assume we have a previous map.  Remove sanity check
11995         about popping too many files.
11996         * cpperror.c (print_location): Make map const.
11997         * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
11998         (cpp_make_system_header): Similarly.
11999         (search_from): Similarly.
12000         (_cpp_execute_include): Don't remember where we came from.
12001         * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
12002         (struct cpp_reader): Make map const.
12003         (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
12004         * cpplib.c (do_line): Update; line maps now hold sysp.
12005         (cpp_push_buffer): Similarly.
12006         (_cpp_do_file_change): Similarly; callback with map instead.
12007         (cpp_get_line_maps): Constify return value.
12008         (_cpp_pop_buffer): Update.
12009         * cpplib.h (struct cpp_file_change): Remove.
12010         (struct cpp_callbacks): Update.
12011         (cpp_get_line_maps): Constify return value.
12012         * cppmacro.c (_cpp_create_definition): Update.
12013         * cppmain.c (struct printer): Constify map.
12014         (maybe_print_line): Similarly.
12015         (print_line): Similarly.  Deduce flags 1 and 2 here.
12016         (cb_file_change): Update.
12017         * line-map.c (free_line_maps): Warn regardless.
12018         (add_line_map): Return pointer to const.  When passed NULL to_file
12019         with LC_LEAVE, use the obvious values for the return point so the
12020         caller doesn't have to figure them out.
12021         (lookup_line): Return pointer to const.
12022         (print_containing_files): Take pointer to const.
12023         * line-map.h (struct line_map): New members reason, sysp.
12024         (add_line_map): Return pointer to const.
12025         (lookup_line): Similarly.
12026         (print_containing_files): Take pointer to const.
12028 2001-08-10  Roman Zippel  <zippel@linux-m68k.org>
12029             Richard Henderson  <rth@redhat.com>
12031         * regmove.c (regmove_optimize): Avoid setting a register twice in
12032         a parallel set.
12034 2001-08-10  Richard Henderson  <rth@redhat.com>
12036         * doc/extend.texi (Arrays and pointers implementation): Document
12037         behavior of pointer/integer conversion.
12039 2001-08-10  Ulrich Weigand  <uweigand@de.ibm.com>
12041         * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
12043 2001-08-10  Richard Henderson  <rth@redhat.com>
12045         * doc/extend.texi (C Implementation): New chapter.
12046         * doc/gcc.texi (Top): Link it in.
12048 2001-08-10  Andrew Cagney  <ac131313@redhat.com>
12050         * doc/install.texi (Specific): Fix CVS merge botch.
12052 2001-08-10  Richard Henderson  <rth@redhat.com>
12054         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
12055         ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
12057 2001-08-10  Zack Weinberg  <zackw@stanford.edu>
12059         * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
12060         if not already defined.  Remove all #ifdefs on STACK_BOUNDARY;
12061         this macro is now required.
12063         * cselib.c (cselib_process_insn), flow.c (propagate_block),
12064         loop.c (find_and_verify_loops), reload.c (reload): Check
12065         for rtx code of CALL_INSN, not CALL, when deciding if we
12066         need to check for REG_SETJMP note.
12068         * gcse.c (compute_hash_table, compute_store_table): Update
12069         the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
12070         logic.
12072         * config/avr/avr.c: Fix typo.
12073         * config/convex/convex.c (expand_movstr): Use adjust_address.
12074         * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
12075         variable.
12076         * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
12077         * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
12078         Fix typo.
12079         * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
12080         Do define STACK_BOUNDARY.
12081         * config/i370/i370.c: Include expr.h.
12082         * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
12083         config/pa/som.h, config/v850/v850.h: Take in_ctors and
12084         in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
12085         and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
12086         * config/m88k/m88k.c: Include c-tree.h after expr.h.
12087         * config/pdp11/pdp11.c: Include expr.h and toplev.h.
12088         * config/romp/romp.c: Include expr.h after tree.h.
12089         Include toplev.h.
12090         (output_fpop): Use xmalloc, not oballoc.
12091         * config/we32k/we32k.c: Include expr.h.
12093 2001-08-10  Kazu Hirata  <kazu@hxi.com>
12095         * config/h8300/h8300.h: Fix formatting.
12097 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
12099         * c-common.h (RETURN_NULLIFIED_P): Lose.
12100         * c-semantics.c (genrtl_return_stmt): Don't check it.
12102 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
12104         * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
12105         (mips_annotate_frame_insn): New function.
12106         (mips_emit_frame_related_store): New function.
12107         (save_restore_insns): Don't mark instructions that set up the base
12108         registers as frame-related.  Add REG_FRAME_RELATED_EXPR notes to
12109         the store instructions instead.
12110         (mips_expand_prologue): If the stack size is moved into a temporary
12111         register, do not mark that move as frame-related.  Add a
12112         REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
12114 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
12116         * config/mips/mips.c (save_restore_insns): Don't mark the RA's
12117         stack slot as unchanging if current_function_calls_eh_return.
12119 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
12121         * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
12122         access the second half of the TFmode scratch operand.
12124 2001-08-10  Anthony Green  <green@redhat.com>
12126         * java/class.c (emit_register_classes): Conditionalize code on
12127         JCR_SECTION_NAME.
12129 2001-08-10  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12131         * doc/install.texi (Specific, avr): Fix cross-reference to the
12132         main manual to work both for info and HTML versions.
12134 2001-08-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12136         * stmt.c (expand_null_return_1): Remove code to generate simple returns
12137         and "use_goto" argument.
12138         (expand_null_return, expand_value_return): Update all callers.
12139         * function.c (expand_function_end): Remove code to generate simple
12140         return.
12141         * config/vax/vax.md (epilogue): New expander for function return.
12142         * doc/md.texi (epilogue): Remove "if defined".
12144 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
12146         * Makefile.in: Partially revert my previous change:
12147         put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
12148         of the hashtab.o and safe-ctype.o rules.
12150 2001-08-09  Richard Henderson  <rth@redhat.com>
12152         * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
12153         (USE_COLLECT2): Remove duplicate definition.
12154         * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
12155         (use_collect2): Remove dead code.
12156         * configure.in (use_collect2): Remove will_use_collect2 and
12157         maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
12158         * configure: Rebuild.
12160         * target.h (targetm.asm_out.constructor): New.
12161         (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
12162         * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
12163         (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
12164         * varasm.c (in_ctors, in_dtors): New.
12165         (assemble_constructor, assemble_destructor): Remove.
12166         (default_stabs_asm_out_destructor): New.
12167         (default_named_section_asm_out_destructor): New.
12168         (dtors_section, default_dtor_section_asm_out_destructor): New.
12169         (default_stabs_asm_out_constructor): New.
12170         (default_named_section_asm_out_constructor): New.
12171         (ctors_section, default_ctor_section_asm_out_constructor): New.
12172         * output.h: Update declarations.
12173         * c-decl.c (c_expand_body): Use target hooks instead of
12174         assemble_constructor and assemble_destructor.
12175         * profile.c (output_func_start_profiler): Likewise.
12176         * objc/objc-act.c (finish_objc): Likewise.
12177         (build_module_descriptor): Tidy.  Set TREE_PUBLIC properly
12178         for the constructor.
12179         * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
12181         * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
12182         (DTORS_SECTION_ASM_OP): Likewise.
12183         (__CTOR_LIST__): Use attribute section when possible.
12184         (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
12186         * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
12187         ASM_OUTPUT_CONSTRUCTOR.
12189         * config/darwin.c (machopic_asm_out_constructor): New.
12190         (machopic_asm_out_destructor): New.
12191         * config/darwin-protos.h: Update declarations.
12192         * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12193         (ASM_OUTPUT_DESTRUCTOR): Remove.
12194         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12195         * config/nextstep.c (nextstep_asm_out_constructor): New.
12196         (nextstep_asm_out_destructor): New.
12197         * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12198         (ASM_OUTPUT_DESTRUCTOR): Remove.
12199         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12200         * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
12201         ASM_OUTPUT_*STRUCTOR.
12202         * config/i386/aix386ng.h: Likewise.
12204         * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
12205         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
12206         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12207         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12208         * config/lynx.h: Likewise.
12209         * config/netware.h: Likewise.
12210         * config/psos.h: Likewise.
12211         * config/alpha/alpha-interix.h: Likewise.
12212         * config/alpha/elf.h: Likewise.
12213         * config/arc/arc.h: Likewise.
12214         * config/arm/aof.h: Likewise.
12215         * config/arm/coff.h: Likewise.
12216         * config/arm/elf.h: Likewise.
12217         * config/c4x/c4x.h: Likewise.
12218         * config/h8300/h8300.h: Likewise.
12219         * config/i386/cygwin.h: Likewise.
12220         * config/i386/djgpp.h: Likewise.
12221         * config/i386/i386-coff.h: Likewise.
12222         * config/i386/i386-interix.h: Likewise.
12223         * config/i386/sco5.h: Likewise.
12224         * config/i386/vsta.h: Likewise.
12225         * config/i386/win32.h: Likewise.
12226         * config/i960/i960-coff.h: Likewise.
12227         * config/ia64/sysv4.h: Likewise.
12228         * config/m68hc11/m68hc11.h: Likewise.
12229         * config/m68k/coff.h: Likewise.
12230         * config/m68k/mot3300.h: Likewise.
12231         * config/m88k/m88k.h: Likewise.
12232         * config/mcore/mcore-pe.h: Likewise.
12233         * config/mcore/mcore.h: Likewise.
12234         * config/mips/elf.h: Likewise.
12235         * config/mips/elf64.h: Likewise.
12236         * config/mips/iris6.h: Likewise.
12237         * config/pa/pa64-hpux.h: Likewise.
12238         * config/rs6000/sysv4.h: Likewise.
12239         * config/sh/sh.h: Likewise.
12240         * config/sparc/litecoff.h: Likewise.
12242         * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
12243         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12244         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12245         * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12246         (ASM_OUTPUT_DESTRUCTOR): Remove.
12247         * config/a29k/a29k.c: Move include of tree.h.
12248         * config/a29k/udi.h: Delete file.
12249         * config/alpha/alpha.c (vms_asm_out_constructor): New.
12250         (vms_asm_out_destructor): New.
12251         * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
12252         (EXTRA_SECTION_FUNCTIONS): Likewise.
12253         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12254         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12255         * config/c4x/c4x.c: Move include of tree.h.
12256         * config/clipper/clipper.c (clix_asm_out_constructor): New.
12257         (clix_asm_out_destructor): New.
12258         * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12259         (ASM_OUTPUT_DESTRUCTOR): Remove.
12260         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12261         * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12262         (TARGET_ASM_CONSTRUCTOR): New.
12263         * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
12264         (sco_asm_out_constructor): New.
12265         * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
12266         * config/i386/svr3gas.h: Remove stack grows up code.
12267         Remove code duplicated from i386/sysv3.h.
12268         (TARGET_ASM_CONSTRUCTOR): New.
12269         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12270         (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
12271         * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12272         (TARGET_ASM_CONSTRUCTOR): New.
12273         * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
12274         (m68hc11_asm_out_destructor): New.
12275         * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
12276         (TARGET_ASM_DESTRUCTOR): New.
12277         * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
12278         * config/m68k/dpx2.h: Properly undef all the bits inherited from
12279         config/svr3.h pertaining to section manipulation.
12280         * config/m68k/dpx2g.h: Remove #if 0 code.
12281         * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
12282         * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
12283         (ASM_OUTPUT_CONSTRUCTOR): Remove.
12284         (TARGET_ASM_CONSTRUCTOR): New.
12285         * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
12286         (m88k_svr3_asm_out_constructor): New.
12287         (m88k_svr3_asm_out_destructor): New.
12288         * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12289         (ASM_OUTPUT_DESTRUCTOR): Remove.
12290         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12291         * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
12292         * config/rs6000/aix.h: Likewise.
12293         * config/mips/rtems64.h: Don't undef removed constructor related bits.
12294         * config/mips/vxworks.h: Likewise.
12295         * config/rs6000/lynx.h: Likewise.
12296         * config/sh/elf.h: Likewise.
12297         * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
12298         (DTORS_SECTION_ASM_OP): New.
12299         * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12300         (ASM_OUTPUT_DESTRUCTOR): Remove.
12301         * config/sparc/sol2-sld-64.h: Likewise.
12302         * config/vax/vax.c (vms_asm_out_constructor): New.
12303         (vms_asm_out_destructor): New.
12304         * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12305         (ASM_OUTPUT_DESTRUCTOR): Remove.
12306         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12308         * doc/tm.texi (@node Initialization): Update.
12310 2001-08-09  Richard Henderson  <rth@redhat.com>
12312         * config/alpha/crtbegin.asm (__JCR_LIST__): New.
12313         (__do_global_dtors_aux): Use gp-relative static data to avoid
12314         one dynamic relocation.
12315         (__do_frame_setup): Register Java classes.
12316         * config/alpha/crtend.asm (__JCR_END__): New.
12318 2001-08-09  Zack Weinberg  <zackw@stanford.edu>
12320         * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
12321         (CONFIG_H, TCONFIG_H, TM_P_H): Update.
12322         (GEN, STAGESTUFF): Add new files.
12323         (insn-constants.h, s-constants, tm-preds.h, s-preds,
12324         genconstants, genpreds, genconstants.o, genpreds.o): New rules.
12325         (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
12326         * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
12327         as well as insn-codes.h and insn-flags.h in config.h; and no
12328         extra headers in tconfig.h and hconfig.h.
12330         * gencodes.c: Eliminate code to generate predicate declarations
12331         or #defines for md-file constants.
12332         * genconstants.c, genpreds.c: New files.
12334         * i386.md: Re-order guard expressions such that TARGET_64BIT
12335         comes first, when this permits better optimization.  Add
12336         TARGET_64BIT to more x86-64 patterns.  Add comment explaining
12337         why this is desirable.
12339 2001-08-09  Jakub Jelinek  <jakub@redhat.com>
12341         * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
12342         (find_fde_for_dso): Remove.
12343         (_Unwind_IteratePhdrCallback): New.
12344         (_Unwind_FindTableEntry): Use dl_iterate_phdr.
12345         * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
12347 Thu Aug  9 11:30:20 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12349         * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
12350         (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
12352 2001-08-09  Graham Stott  <grahams@redhat.com>
12354         * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
12355         (vis_no_unit): Use it.
12356         (visualize_no_unit): Add the insn only if room exists.
12358 2001-08-09  Graham Stott  <grahams@redhat.com>
12360         * predict.c (estimate_probability): Replace magic numbers with
12361         appropriate enumeration.
12363 2001-08-09  Graham Stott  <grahams@redhat.com>
12365         * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
12366         parameter.
12367         (EXTRACT_FLAGS): Likewise.
12369 2001-08-09  Aldy Hernandez  <aldyh@redhat.com>
12371         * config/mips/mips.c    (mips_legitimate_address_p): Check for
12372         CONST_INT in last patch.
12374 2001-08-08  Anthony Green  <green@redhat.com>
12376         * java/class.c (emit_register_classes): Use assemble_jcr if
12377         possible.  Keep the original mechanism as a fallback.
12378         * defaults.h (JCR_SECTION_NAME): Define if we have named section
12379         and weak symbol support.
12380         * crtstuff.c (__JCR_LIST__): Define.
12381         (__JCR_END__): Define.
12382         (_Jv_RegiserClasses): Define weak symbol if possible.
12383         (__do_global_ctors_aux): Register classes for ELF targets with
12384         weak symbol support.
12386 2001-08-08  Kazu Hirata  <kazu@hxi.com>
12388         * dbxout.c: Fix comment formatting.
12389         * dependence.c: Likewise.
12390         * df.c: Likewise.
12391         * diagnostic.c: Likewise.
12392         * dominance.c: Likewise.
12393         * doprint.c: Likewise.
12394         * dwarf2out.c: Likewise.
12395         * dwarfout.c: Likewise.
12396         * emit-rtl.c: Likewise.
12397         * except.c: Likewise.
12398         * explow.c: Likewise.
12399         * expmed.c: Likewise.
12400         * expr.c: Likewise.
12401         * flow.c: Likewise.
12402         * fold-const.c: Likewise.
12403         * function.c: Likewise.
12405 2001-08-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12407         * global.c (retry_global_alloc): Avoid shadowing allocno.
12409 2001-08-08  Mark Mitchell  <mark@codesourcery.com>
12411         * except.c (remove_fixup_regions): Fix typo.
12413 2001-08-08  Jan van Male <jan.vanmale@fenk.wau.nl>
12415         * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
12416         unsigned HOST_WIDE_INT to avoid warning.
12417         * final.c (final): Cast INSN_UID to unsigned to avoid warning.
12418         * flow.c (set_block_for_new_insns): Likewise.
12420 Wed Aug  8 21:08:14 CEST 2001  Jan Hubicka  <jh@suse.cz>
12422         * sibcall.c (return_value_pseudo): New static variable.
12423         (skip_copy_to_return_value): Handle return_value_pseudo.
12424         (call_ends_block_p): Ensure that return_value_pseudo is set.
12425         (optimize_sibling_and_tail_recursive_call): Discover the
12426         load of pseudo return value in alternate exit block.
12428 Wed Aug  8 21:06:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
12430         * calls.c (ECF_ALWAYS_RETURN): New constant.
12431         (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
12432         (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
12433         (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
12434         * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
12435         * rtl.c (reg_note_name): New name.
12436         * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
12438 2001-08-07  Aldy Hernandez  <aldyh@redhat.com>
12440         * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
12442 2001-08-08  Jason Merrill  <jason_merrill@redhat.com>
12444         * alias.c (get_alias_set): Return a previously calculated
12445         alias set for a VAR_DECL.
12446         * function.c (gen_mem_addressof): Calculate the alias set before
12447         touching the RTL.
12449 Wed Aug  8 18:44:37 CEST 2001  Jan Hubicka  <jh@suse.cz>
12451         * predict.def: Set hitrates according our experimental run.
12453 Wed Aug  8 18:01:58 CEST 2001  Jan Hubicka  <jh@suse.cz>
12455         * i386.h (HARD_REGNO_RENAME_OK): New macro.
12457 2001-08-08  H.J. Lu <hjl@gnu.org>
12459         * config/mips/mips.c (mips_unique_section): New. Copied from
12460         config/mips/elf.h.
12462         * config/mips/mips-protos.h (mips_unique_section): New
12463         prototype.
12465         * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
12467         * config/mips/little.h: New. Generic little endian mips
12468         targets. Only mips*-*-linux* is converted to use it so far.
12470         * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
12471         (WCHAR_TYPE): Defined
12472         (WCHAR_TYPE_SIZE): Likewise.
12473         (INIT_SUBTARGET_OPTABS): Likewise.
12474         (BSS_SECTION_ASM_OP): Likewise.
12475         (SBSS_SECTION_ASM_OP): Likewise.
12476         (ASM_OUTPUT_ALIGNED_BSS): Likewise.
12477         (ASM_DECLARE_OBJECT_NAME): Likewise.
12478         (UNIQUE_SECTION): Likewise.
12479         (EXTRA_SECTIONS): Likewise.
12480         (ASM_OUTPUT_CONSTRUCTOR): Likewise.
12481         (ASM_OUTPUT_DESTRUCTOR): Likewise.
12482         (ASM_OUTPUT_DEF): Likewise.
12483         (HANDLE_SYSV_PRAGMA): Removed.
12484         (NO_IMPLICIT_EXTERN_C): Likewise.
12485         (TARGET_MEM_FUNCTIONS): Likewise.
12486         (STARTFILE_SPEC): Likewise.
12487         (ENDFILE_SPEC): Likewise.
12488         (LIB_SPEC): Likewise.
12489         (INVOKE__main): Likewise.
12490         (CTOR_LIST_BEGIN): Likewise.
12491         (CTOR_LIST_END): Likewise.
12492         (DTOR_LIST_BEGIN): Likewise.
12493         (DTOR_LIST_END): Likewise.
12494         (SET_ASM_OP): Likewise.
12495         (ASM_OUTPUT_SOURCE_LINE): Likewise.
12496         (ASM_OUTPUT_DEF): Likewise.
12497         (ASM_OUTPUT_IDENT): Likewise.
12499         * config/mips/mips.h (ASM_SPEC): Undefine before define.
12500         (CPLUSPLUS_CPP_SPEC): Likewise.
12501         (ASM_APP_ON) Redefine only if not defined.
12502         (ASM_APP_OFF): Likewise.
12503         (ASM_OUTPUT_SOURCE_LINE): Likewise.
12504         (ASM_OUTPUT_IDENT): Likewise.
12506         * config.gcc: Update tm_file for Linux/mips.
12508 2001-08-08  Bernd Schmidt  <bernds@redhat.com>
12510         * cselib.c (cselib_record_sets): If insn is predicated, turn
12511         sources into IF_THEN_ELSEs.
12513         * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
12514         Turn into define_insn_and_split.
12516         * sched-deps.c: Include "cselib.h".
12517         (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
12518         Use cselib to turn memory addresses into VALUEs.
12519         (sched_analyze): Call cselib_init/cselib_finish if necessary.
12520         * sched-int.h (struct sched_info): New member USE_CSELIB.
12521         * sched-ebb.c (ebb_sched_info): Initialize it.
12522         * sched-rgn.c (rgn_sched_info): Likewise.
12523         * Makefile.in (sched-deps.o): Update dependencies.
12525         * cselib.h (cselib_subst_to_values): Declare.
12526         * cselib.c (cselib_subst_to_values): No longer static.  Allow MEMs
12527         that have no value and autoincs to be handled by generating a new
12528         dummy value.
12530 2001-08-08  Graham Stott  <grahams@redhat.com>
12532         * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
12533         within fixed length SEQUENCE.
12535 2001-08-08  Graham Stott  <grahams@redhat.com>
12537         * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
12538         (diagnostic_prefixing_rule): Likewise.
12539         (diagnostic_line_cutoff): Likewise.
12540         (diagnostic_kind_count): Likewise.
12542 2001-08-08  Graham Stott  <grahams@redhat.com>
12544         * alias.c (find_base_decl): Delete redundent assignment.
12546 2001-08-08  Graham Stott  <grahams@redhat.com>
12548         * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
12549         (abs): Uppercase and paranthesize macro parameter.
12550         (MEM_DEPENDENCY): Add whitespace.
12552 2001-08-08  Graham Stott  <grahams@redhat.com>
12554         * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
12555         failure check for CONST_INT
12557 2001-08-08  Graham Stott  <grahams@redhat.com>
12559         * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
12560         (libcall_dead_p): Likewise.
12562         (mark_used_regs): Constify fmt.
12563         (find_use_as_address): Likewise.
12565 2001-08-08  Graham Stott  <grahams@redhat.com>
12567         * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
12568          parameter.
12570 2001-08-08  Graham Stott  <grahams@redhat.com>
12572         * combine.c (combine_simplify_rtx): Update comment and
12573         remove erroneous test.
12575 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
12577         * cppinit.c (cpp_finish): Pop the final buffer without comment.
12578         * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
12579         take care to avoid multiple no-newline at EOF warnings in that
12580         case.
12582 Tue Aug  7 22:18:06 CEST 2001  Jan Hubicka  <jh@suse.cz>
12584         * calls.c (expand_call): Do not emit INSN_SETJMP note.
12585         (emit_library_call_value_1): Likewise.
12586         (emit_call_1): Emit REG_SETJMP note.
12587         * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
12588         of INSN_SETJMP
12589         * cselib.c (cselib_process_insn): Likewise.
12590         * flow.c (propagate_block): Likewise.
12591         * loop.c (find_and_verify_loops): Likewise.
12592         * reload.c (find_equiv_regs): Likewise.
12593         * reload1.c (reload): Likewise.
12594         * resource.c (mark_referenced_resources,
12595         mark_set_resources): Likewise.
12596         * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
12597         * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
12598         * haifa-sched.c (unlink_other_notes): Likewise.
12599         (reemit_notes): Likewise.
12600         * sched-ebb.c (sched_ebb): Likewise.
12601         * sched-rgc.c (sched_region): Likewise.
12602         * rtl.c (note_insn_name): Likewise.
12603         (reg_note_name): Add REG_SETJMP
12604         * rtl.h (reg_note): Add REG_SETJMP.
12605         (insn_note): Remove NOTE_INSN_SETJMP.
12607         * profile.c (branch_prob): Add fake edges for setjmp.
12609 2001-08-07  Daniel Jacobowitz  <drow@mvista.com>
12611         * config.gcc: Quote target_cpu_default2 correctly for
12612         powerpc*-*-* targets.
12614 2001-08-07  Neil Booth  <neil@daikokuya.demon.co.uk>
12616         * cpplib.h, line-map.h: Update comments.
12617         * cppmain.c (printer_init): Move inline.
12618         (maybe_print_line, print_line): Take a map pointer.
12619         (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
12620         (cb_file_change): Don't use prior value of print.map.
12622 2001-08-07  David Edelsohn  <edelsohn@gnu.org>
12624         * doc/install.texi: Document fine-grained multilib configuration.
12626 Tue Aug  7 16:52:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
12628         * rtlanal.c (find_first_parameter_load): Call note_stores
12629         only on the instructions.
12631 Tue Aug  7 14:56:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
12633         * alias.c (nonlocal_mentioned_p):
12634         Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
12635         * calls.c (emit_call_1): Likewise.
12636         * cse.c (cse_insn, invalidate_skipped_block): Likewise.
12637         * cselib.c (cselib_process_insn): Likewise.
12638         * df.c (df_insns_modify): Likewise.
12639         * flow.c (need_fake_edge_p): Likewise.
12640         (propagate_one_insn): Likewise.
12641         * haifa-sched.c (reemit_notes): Likewise.
12642         * integrate.c (copy_insn_list): Likewise.
12643         * jump.c (delete_prior_computation): Likewise.
12644         * local-alloc.c (validate_equiv_mem): Likewise.
12645         * loop.c (scan_loop): Likewise.
12646         * predict.c (estimate_probability): Likewise.
12647         * reload.c (reload): Likewise.
12648         * sched-deps (sched_analyze): Likewise.
12649         * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
12650         * gcse.c (compute_hash_table): Likewise.
12651         (mark_call): Likewise.
12652         (store_killed_in_insn): Likewise.
12654 2001-08-07  Jason Merrill  <jason_merrill@redhat.com>
12656         * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
12658 2001-08-06  Richard Henderson  <rth@redhat.com>
12660         * varasm.c (assemble_gc_entry): Remove.
12661         * output.h: Likewise.
12663 2001-08-06  Richard Henderson  <rth@redhat.com>
12665         * varasm.c (assemble_constructor): Take a symbol_ref and a
12666         priority instead of a bare string.  Move priority handling
12667         here from cp/decl2.c.
12668         * output.h: Update decls.
12670         * c-decl.c (c_expand_body): Update calls to assemble_constructor
12671         and assemble_destructor.
12672         * profile.c (output_func_start_profiler): Likewise.
12673         * objc/objc-act.c (finish_objc): Likewise.
12674         (build_module_descriptor): Return the symbol not the symbol name.
12676 2001-08-06  David Edelsohn  <edelsohn@gnu.org>
12678         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
12679         * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
12680         ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
12681         * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
12682         * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
12683         * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
12685 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
12687         * cpperror.c (print_containing_files): Moved to line-map.c.
12688         (print_location): line-map.c handles re-listing or otherwise.
12689         * cpphash.h (struct lexer_state): Remove next_bol.
12690         (struct cpp_buffer): Remove include_stack_listed.
12691         * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
12692         Remove faked buffer handling.
12693         (_cpp_do_file_change): Tweak.
12694         * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
12695         * cppmain.c (struct printer): Remove filename.
12696         (print_line, cb_file_change): Update accordingly.
12697         * line-map.c: Include intl.h.
12698         (init_line_maps): Initialize last_listed.
12699         (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
12700         (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
12701         (print_containing_files): New.
12702         * line-map.h (struct line_maps): New member last_listed.
12703         (print_containing_files, INCLUDED_FROM): New.
12704         * Makefile.in: Update.
12705         * po/POTFILES.in: Add line-map.c.
12707 2001-08-06  Richard Henderson  <rth@redhat.com>
12709         * except.c (convert_from_eh_region_ranges_1): Never mark
12710         USE or CLOBBER insns as throwing.
12712         * expr.c (store_constructor): Don't clobber memory targets.
12714 2001-08-06  Andreas Jaeger  <aj@suse.de>
12716         * profile.c (branch_prob): Remove unused variable insn.
12718         * Makefile.in (local-alloc.o): Add dependency on except.h.
12720         * local-alloc.c: Include except.h for can_throw_internal prototype.
12722 2001-08-06  Richard Henderson  <rth@redhat.com>
12724         * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
12725         * function.c (expand_main_function): Implement it.
12726         * doc/tm.texi: Document it.
12728 2001-08-06  Stan Shebs  <shebs@apple.com>
12730         * doc/install.texi: Document powerpc-*-darwin* details.
12732 2001-08-06  Daniel Berlin  <dan@cgsoftware.com>
12734         * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
12735         (ASM_CPU_SPEC): Move back to rs6000.h
12736         #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
12738         * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
12740         * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
12741         readded.
12743         * config/rs6000/linux64.h: Ditto.
12745         * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12746         to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
12747         nothing.
12749         Remove accidently readded definitions of FUNCTION_PROLOGUE,
12750         FUNCTION_EPILOGUE,  ASM_OPEN_PAREN, ASM_CLOSE_PAREN
12752         * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
12753         to rs6000.h
12755 2001-08-05  Richard Henderson  <rth@redhat.com>
12757         * local-alloc.c (update_equiv_regs): Do not move insns that
12758         can throw.
12760 2001-08-05  Jan Hubicka  <jh@suse.cz>
12762         * Makefile.in (reload1.o): Add dedendancy on except.h
12763         * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
12764         prototypes.
12765         * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
12766         indicating wehther edges has been cleaned up.
12767         * reload1.c: Inlucde except.h
12768         (fixup_abnormal_edges): Accept deleted insns.
12769         * toplev.c (rest_of_compilation): Purge dead edges unconditionally
12770         after combine.
12772 2001-08-06  Neil Booth  <neil@daikokuya.demon.co.uk>
12774         * cpplib.c (do_line): Correct line number after pop_buffer.
12776 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
12778         PR preprocessor/3824
12779         * line-map.c: Update comments.
12780         * line-map.h: Update comments.
12781         * tradcif.y: Don't consider large numbers unsigned.
12783 2001-08-05  Neil Booth  <neil@daikokuya.demon.co.uk>
12785         PR preprocessor/3081
12786         * c-lex.c (map): New.
12787         (cb_file_change): Update map and use it.
12788         (cb_def_pragma, cb_define, cb_undef): Use map and line.
12789         (c_lex): Update to use map.
12790         * cpperror.c (print_location): Move to using logical line numbers.
12791         * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
12792         (cpp_make_system_header): Similarly.
12793         (_cpp_execute_include): Stop line numbering hacks.  Store the
12794         line we will return to.
12795         * cpphash.h (CPP_BUF_LINE): Remove.
12796         (struct cpp_buffer): Remove lineno and pseudo_newlines.
12797         Add map and return_to_line.
12798         (_cpp_do_file_change): Update.
12799         * cppinit.c (cpp_start_read): Update line kludge.
12800         * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
12801         (trigraph_ok): Use logical line numbers for diagnostics.
12802         (skip_block_comment): Likewise.
12803         (skip_whitespace): Likewise.
12804         (skip_line_comment): Use pfile->line instead.
12805         (_cpp_lex_token): Update to use logical line numbering exclusively.
12806         Handle BOL locally.  Accept new lines in directives, but keep
12807         pfile->line decremented.  Diagnostics use logical lines.  Update
12808         directive handling.
12809         * cpplib.c (SEEN_EOL): New.
12810         (skip_rest_of_line, check_eol): Use it.
12811         (end_directive): Increase line number when accepting the newline
12812         at the end of a directive.
12813         (run_directive): Simplify.
12814         (do_line): Bad LC_LEAVEs become LC_RENAMEs.  Update.
12815         (_cpp_do_file_change): Update to take buffer line number as an
12816         argument, and store the current map in the cpp_reader.  Remove
12817         line number kludges.
12818         (_cpp_do__Pragma): Restore output position after a _Pragma.
12819         (cpp_push_buffer): Don't set output line or lineno.
12820         (_cpp_pop_buffer): Transfer more info from a faked buffer.
12821         Remove line kludge.  Set output_line.
12822         * cppmacro.c (builtin_macro): Update handling of __LINE__.
12823         (parse_arg): Use logical lines.
12824         (save_lookahead_token): Save EOFs too now.
12825         * cppmain.c (struct printer): Fix comments.
12826         (printer_init): Simplify, let caller do errors.
12827         (scan_translation_unit, check_multiline_token, dump_macro): Update.
12828         (maybe_print_line): Simplify.
12829         (print_line): Don't print a linemarker if -P.
12830         (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
12831         (cb_file_change): Simplify.
12832         * line-map.h (LAST_SOURCE_LINE): Fix.
12833         (CURRENT_LINE_MAP): New.
12835 2001-08-05  Bernd Schmidt  <bernds@redhat.com>
12837         * doloop.c (doloop_modify_runtime): Properly compute number of
12838         iterations if loop was unrolled.
12840         * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
12841         if their CSELIB_VAL_PTRs are.
12843         * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
12844         (setup_spill_pointers): Initialize it.
12845         (spill_restore_mem): Set it.
12846         (do_spill, do_restore): Use it to add REG_INC note.
12847         * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
12849         * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
12850         asms if other insns are available.
12852         * config/ia64/ia64.c (condop_operator): New predicate.
12853         * config/ia64/ia64.h (PREDICATE_CODES): Add it.
12854         * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
12855         patterns.
12857         * expr.c (expand_expr, case COND_EXPR): Prefer working with a
12858         temporary register than directly using a MEM.
12860 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
12862         * config/sh/sh.c (sh_asm_named_section): Fix typo in align
12863         parameter in last change.
12865 2001-08-04  Zack Weinberg  <zackw@panix.com>
12867         * sparc.md: Don't use #if inside C test expression.
12869 2001-08-04  Richard Henderson  <rth@redhat.com>
12871         * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
12873 2001-08-04  Neil Booth  <neil@daikokuya.demon.co.uk>
12875         * cpphash.h (struct cpp_reader): New member directive_line.
12876         * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
12877         * cpplib.c (do_define, do_undef, do_ident, do_include_common,
12878         do_pragma): Pass line to callbacks.
12879         (start_directive): Record line of directive.
12880         * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
12881         cb_include): Similarly.
12882         * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
12883         Similarly.
12885 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
12887         * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
12888         comment.
12890 Sat Aug  4 13:51:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
12892         * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
12894         * reload1.c (fixup_abnormal_edges): New static function.
12895         (reload): Use it.
12897         * flow.c (need_fake_edge_p): New function.
12898         (flow_call_edges_add): Fix handling of noreturn and sibling calls;
12899         avoid call insn to be very last insn in the insn stream.
12901         * profile.c (branch_prob): Call flow_call_edges_add instead of
12902         doing that by hand; cleanup cfg to re-merge basic blocks once
12903         we are done.
12905 2001-08-04  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
12907         * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
12908         are also on line-map.h.
12909         * cppfiles.c (stack_include_file): Update.
12910         * cpphash.h (struct cpp_buffer): New member return_at_eof.
12911         (_cpp_pop_buffer): New.
12912         * cppinit.c (cpp_destroy, cpp_finish): Update.
12913         (do_includes): Mark each buffer to return at EOF.
12914         * cpplex.c (_cpp_lex_token): Pop buffers at EOF.  Continue or
12915         return as requested.
12916         * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
12917         (cpp_pop_buffer): Rename _cpp_pop_buffer.  Stop skipping.
12918         * cpplib.h (cpp_pop_buffer): Remove.
12919         (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
12920         * cppmacro.c (cpp_scan_buffer_nooutput): Similarly.  No need to pop
12921         buffers.
12922         * cppmain.c (scan_buffer): Rename scan_translation_unit.  No need
12923         to pop buffers.
12924         (do_preprocessing): Update.
12925         * fix-header.c (read_scan_file): Update.  No need to pop buffers.
12926         * c-parse.in (_yylex): Similarly.
12927         * scan-decls.c (scan_decls): Similarly.
12928         * line-map.h: Update comments.
12930         * objc/Make-lang.in (objc-act.o): Update dependencies.
12932 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
12934         * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
12935         and soft register for operand 0.
12936         ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
12938 2001-08-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
12940         * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
12941         register for operand 0.
12942         ("bitcmpqi_z_used"): Allow memory for operand 0.
12943         (split "bitcmpqi"): New split to handle address reg as operand 1.
12945 2001-08-04  Andreas Jaeger  <aj@suse.de>
12947         * gcse.c: Revert Daniel's last patch.
12949 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
12951         * sparc-protos.h: Add prototypes for fp_zero_operand and
12952         reg_or_0_operand.
12953         * sh-protos.h: Add prototype for fpul_operand.
12955 2001-08-04  Hans-Peter Nilsson  <hp@bitrange.com>
12957         * doc/extend.texi (Other Builtins): Fix typo in last change.
12959 2001-08-03  Richard Henderson  <rth@redhat.com>
12961         * target.h (gcc_target): Add asm_out.named_section,
12962         section_type_flags, have_named_sections.
12963         * target-def.h (TARGET_ASM_NAMED_SECTION): New.
12964         (TARGET_HAVE_NAMED_SECTIONS): New.
12965         (TARGET_SECTION_TYPE_FLAGS): New.
12967         * Makefile.in (toplev.o): Depend on TARGET_H.
12968         (varasm.o, dbxout.o): Likewise.
12969         * c-common.c (decl_attributes): Check targetm.have_named_sections
12970         instead of ifdef ASM_OUTPUT_SECTION_NAME.
12971         * dbxout.c (dbxout_function_decl): Likewise.
12972         (dbxout_function_end): Likewise.
12973         * toplev.c (compile_file): Likewise.
12974         * varasm.c (exception_section): Likewise.
12975         * cp/decl2.c (finish_objects): Likewise.
12977         * defaults.h (EH_FRAME_SECTION): Remove.
12978         (EH_FRAME_SECTION_ASM_OP): Remove.
12979         (EH_FRAME_SECTION_NAME): New.
12980         (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
12981         (UNIQUE_SECTION_P): Remove.
12982         * dwarf2out.c (SECTION_FORMAT): Remove.
12983         (ASM_OUTPUT_SECTION): Remove.
12984         (output_call_frame_info): Use named_section_flags.
12985         (output_comp_unit, dwarf2out_start_source_file): Likewise.
12986         (dwarf2out_end_source_file, dwarf2out_define): Likewise.
12987         (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
12988         * varasm.c (in_eh_frame, eh_frame_section): Remove.
12989         (named_section_flags): New.
12990         (named_section): Use it and targetm.section_type_flags.
12991         (resolve_unique_section): New.
12992         (assemble_start_function): Use it.
12993         (asm_emit_uninitialised, assemble_variable): Likewise.
12994         (default_section_type_flags): New.
12995         (default_no_named_section, default_elf_asm_named_section): New.
12996         (default_coff_asm_named_section, default_pe_asm_named_section): New.
12997         * output.h: Update varasm.c decls.
12998         (SECTION_*): New flags.
13000         * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
13001         (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
13003         * config/elfos.h (UNIQUE_SECTION_P): Remove.
13004         * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
13005         * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
13006         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13007         * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
13008         * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
13009         * config/mips/elf.h, config/mips/elf64.h: Likewise.
13010         * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
13011         * config/pa/pa64-hpux.h,
13013         * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
13014         (TARGET_ASM_NAMED_SECTION): New.
13015         * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
13016         * config/alpha/vms.h, config/arm/coff.h: Likewise.
13017         * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
13018         * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
13019         * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
13020         * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
13021         * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13022         * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
13023         * config/i386/sco5.h, config/i386/win32.h: Likewise.
13024         * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
13025         * config/mcore/mcore.h, config/mips/elf.h: Likewise.
13026         * config/mips/elf64.h, config/mips/iris6.h: Likewise.
13027         * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
13028         * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
13029         * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
13030         * config/sparc/sysv4.h: Likewise.
13032         * config/nextstep.h: Error until named sections implemented.
13034         * config/a29k/a29k.c (a29k_asm_named_section): New.
13035         * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
13036         (vms_section_type_flags, vms_asm_named_section): New.
13037         * config/arm/arm.c (arm_elf_asm_named_section): New.
13038         * config/avr/avr.c (asm_output_section_name): Remove.
13039         * config/avr/avr-protos.h: Update.
13040         * config/c4x/c4x.c (c4x_asm_named_section): New.
13041         * config/h8300/h8300.c (h8300_asm_named_section): New.
13042         * config/i386/i386.c (sco_asm_named_section): New.
13043         * config/i386/winnt.c (SECTION_PE_SHARED): New.
13044         (i386_pe_section_type_flags): New.
13045         (i386_pe_asm_named_section): New.
13046         * config/i386/i386-protos.h: Update.
13047         * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
13048         * config/mcore/mcore.c (mcore_asm_named_section): New.
13049         * config/mips/mips.c (iris6_asm_named_section): New.
13050         * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
13051         instead of UNIQUE_SECTION_P.
13052         * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
13053         (xcoff_asm_named_section): New.
13054         * config/sh/sh.c (sh_asm_named_section): New.
13055         * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
13057         * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
13058         * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
13059         (EH_FRAME_SECTION_NAME): New.
13060         (EXCEPTION_SECTION): New.
13061         * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
13062         (DEBUG_*_SECTION): Remove.
13063         * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
13064         * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
13065         (EH_FRAME_SECTION_ASM_OP): Remove.
13067         * doc/tm.texi (UNIQUE_SECTION_P): Remove.
13068         (ASM_OUTPUT_SECTION_NAME): Remove.
13069         (TARGET_ASM_NAMED_SECTION): New.
13070         (TARGET_HAVE_NAMED_SECTIONS): New.
13071         (TARGET_SECTION_TYPE_FLAGS): New.
13072         (EH_FRAME_SECTION_ASM_OP): Remove.
13073         (EH_FRAME_SECTION_NAME): New.
13075 2001-08-03  Zack Weinberg  <zackw@stanford.edu>
13077         * builtins.c (fold_builtin_constant_p): Return integer_zero_node
13078         for complex expressions when cfun == 0.
13079         * doc/extend.texi: Document that __builtin_constant_p can be
13080         used in data initializers as well as functions.
13082 2001-08-03  Alexandre Oliva  <aoliva@redhat.com>
13084         * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
13085         variable I locally, instead of expecting a declaration in the
13086         calling context.
13088 2001-08-03  Richard Henderson  <rth@redhat.com>
13090         * except.c (collect_one_action_chain): Add an explicit cleanup
13091         action if regions surrounding a catch were encoded entirely
13092         within the call-site entry.
13094 2001-08-03  Richard Henderson  <rth@redhat.com>
13096         * dbxout.c (dbxout_symbol_location): Flatten subregs first;
13097         don't take REGNO of a non-register.
13099 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13101         * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
13102         __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
13103         (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
13104         (__gthread_mutex_init_function): New function for mutex initialization.
13106 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
13108         * Makefile.in: Revert screwed up commit.
13110 2001-08-03  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
13112         * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
13113         * config/m68hc11/larith.asm (_exit): Split in several sub-sections
13114         merged by linker script to get a final _exit().
13115         (__do_global_dtors): New for destructor handling in specific exit
13116         section.
13117         (__do_global_ctors): New for constructors in specific install section.
13118         (__map_data_section): Map data sections before running constructors.
13119         * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
13120         (CTORS_SECTION_ASM_OP): Define to put in readonly section.
13121         (DTORS_SECTION_ASM_OP): Likewise.
13122         (CTORS_SECTION_FUNCTION): Define to force a reference to
13123         __do_global_ctors.
13124         (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
13126 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
13128         * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
13130         * Makefile.in: Add df.h to gcse.c dependencies.
13132 2001-08-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13134         * varasm.c (output_constant_def_contents): Use for the length of a
13135         string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
13136         depending on which is larger.
13138 2001-08-03  Daniel Berlin  <dan@cgsoftware.com>
13140         * gcse.c: Include df.h for use as a dataflow analyzer.
13141         Remove regvec.
13142         Declaration of reg_set_info: gone.
13143         New df_analyzer variable used by store motion.
13144         (reg_set_info): Deleted.
13145         (mark_mem_regs): New function, analyze regs used by a mem.
13146         (store_ops_ok): Use dataflow analyzer results to determine if
13147         necessary regs are changed in the block.
13148         (find_moveable_store): Remove check for symbol ref, we can handle
13149         much more complex expressions now.
13150         (compute_store_table): Remove most of the code, it's unnecessary
13151         now that the dataflow analyzer records the info for us.
13152         (store_killed_after): Add parameter to say whether to do the
13153         store_ops_okay test, used to speed up testing when we already know
13154         the answer, and just want to know if the store itself was killed.
13155         (build_store_vector): Largely rewritten to calculate the various
13156         vectors properly, and somewhat optimized.
13157         (store_motion): Init the df_analyzer, get REG_DEF chains.
13158         Also handle trapping expressions (since mems almost always trap)
13159         (simple_mem): Redefine what a simple mem is.
13161 2001-08-03  DJ Delorie  <dj@redhat.com>
13163         * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
13164         set from a constant part of the condition.
13166 2001-08-01  Andrew Cagney  <ac131313@redhat.com>
13168         * mkdeps.c (deps_add_default_target): Make local variable
13169         ``start'' a const char pointer.
13170         * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
13172 2001-08-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13174         * doc/install.texi (Configuration): Fix markup.
13175         (Specific, i?86-*-udk): Likewise.
13176         (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
13177         --with-gnu-ld.
13178         Document --enable-threads and --enable-libgcj status.
13179         (Specific, mips-sgi-irix*): Canonicalize triples.
13180         (Specific, mips-sgi-irix5): Warn about problems with this config.
13181         Mention required GNU as patch.
13182         Native assembler problems are fixed.
13183         (Specific, mips-sgi-irix6): Update O32 ABI support status.
13184         Document --enable-threads and --enable-libgcj status.
13186 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
13188         * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
13189         of mkinstalldirs.
13191 2001-08-03  Richard Henderson  <rth@redhat.com>
13193         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
13194         constant data.
13196 2001-08-03  Richard Henderson  <rth@redhat.com>
13198         * rtlanal.c (find_first_parameter_load): Stop if we
13199         reach a CODE_LABEL at BOUNDARY.
13201 2001-08-03  Richard Henderson  <rth@redhat.com>
13203         * config/alpha/alpha.md (force_movdi): New insn.
13204         * config/alpha/alpha.c (alpha_expand_prologue): Use it.
13205         Tweek FRP marking of VMS prologue insns.
13206         * config/alpha/vms.h (EPILOGUE_USES): New.
13208 2001-08-02  Richard Henderson  <rth@redhat.com>
13210         * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
13212 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
13214         * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
13215         simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
13216         config/convex/convex.h, config/d30v/d30v.c,
13217         config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13218         config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
13219         config/mips/mips.h, config/mn10200/mn10200.h,
13220         config/mn10300/mn10300.h, config/pdp11/pdp11.md,
13221         config/v850/v850.h, config/vax/openbsd.h,
13222         config/vax/openbsd1.h, config/vax/ultrix.h,
13223         config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
13224         config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
13225         cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
13226         doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
13227         doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
13228         in comments and documentation.
13230 2001-08-03  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
13232         * line-map.c: New.
13233         * line-map.h: New.
13234         * Makefile.in (line-map.o): New.
13235         (LIBCPP_OBJS, LIBCPP_DEPS): Update.
13236         * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
13237         * cpperror.c (print_containing_files): Similarly.
13238         (print_location): Update.  Don't output a space before _Pragma.
13239         * cppfiles.c (stack_include_file): Set to line 1 immediately.
13240         (stack_include_filee, cpp_make_system_header): Update.
13241         (_cpp_execute_include): Get logical line number right for calling
13242         as-yet-unterminated #include.
13243         * cpphash.h (struct cpp_reader): Add line_maps.
13244         (_cpp_do_file_change): Update.
13245         * cppinit.c (cpp_create_reader): Initialize line maps.
13246         (cpp_destroy): Destroy line maps.
13247         (cpp_start_read): Get logical line number right.
13248         * cpplex.c (parse_string): Only warn once for multi-line strings.
13249         Use boolean variable for null warning.
13250         * cpplib.c (_cpp_handle_directive): End the directive if it isn't
13251         already.
13252         (do_include_common): End the directive early.
13253         (do_line): Don't warn about out-of-range lines in preprocessed
13254         source.  Update.  Remove unused variables.
13255         (_cpp_do_file_change): Update for new line mapping.
13256         (pragma_cb): New typedef.
13257         (cpp_register_pragma): Stop looking ahead before calling the
13258         handler.  Clean up.
13259         (do_pragma_system_header): End directive early.
13260         (cpp_get_line_maps): New.
13261         (cpp_pop_buffer): Fudge logical line.  Update.
13262         * cpplib.h: Include line-map.h
13263         (enum cpp_fc_reason): Remove.
13264         (struct cpp_file_change): Update.
13265         (cpp_get_line_maps): New.
13266         * cppmain.c (struct_printer): New member map.
13267         (cb_file_change): Update for new mappings.
13268         * fix-header.c (cb_file_change): Similarly.
13270 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
13272         * Makefile.in (libgcc.mk): Define mkinstalldirs.
13273         * mklibgcc.in: Use mkinstalldirs instead of mkdir.
13275 2001-08-02  Lars Brinkhoff  <lars@nocrew.org>
13277         * config/vax/vax.c: include expr.h.
13279 2001-08-02  Nick Clifton  <nickc@cambridge.redhat.com>
13281         * Makefile.in ($(srcdir)/configure): Only rebuild in
13282         maintainer mode.
13283         ($(srcdir)/config.in): Only define in maintainer mode.
13284         ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
13286 2001-08-02  David Edelsohn  <edelsohn@gnu.org>
13288         * doc/install.texi (Install GCC: Binaries): Update Bull info.
13290 2001-08-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13292         * gcc.c (set_collect_gcc_options): New function, split out from
13293         main.
13294         Ignore elided switches.
13295         (do_spec_1): Invoke before executing command.
13296         (set_input): Export.
13297         Move declaration ...
13298         * gcc.h (set_input): ... here.
13299         * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13300         file.
13302 2001-08-02  Nathan Sidwell  <nathan@codesourcery.com>
13304         Kill -fhonor-std.
13305         * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
13306         interaction.
13307         * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
13309 2001-08-02  Richard Sandiford  <rsandifo@redhat.com>
13311         * mips.md (movdicc): Make conditional on TARGET_64BIT.  Likewise
13312         for the unnamed instructions it expands to.
13314 2001-08-02  Richard Henderson  <rth@redhat.com>
13316         * regclass.c (call_really_used_regs): Conditionally define.
13317         (init_reg_sets_1): Don't use it if not defined.
13318         (fix_register): Similarly, don't set it.
13320 2001-08-01  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13322         * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
13323         Correct comment that had been missed in the previous change.
13325 2001-08-01  Stan Shebs  <shebs@apple.com>
13327         * config/darwin.c (machopic_stub_name): Try matching by name.
13328         (update_stubs): New function.
13329         (darwin_encode_section_info):  Call it and update_non_lazy_ptrs
13330         unconditionally.
13332 2001-08-01  Richard Henderson  <rth@redhat.com>
13334         * except.c (output_function_exception_table): Use assemble_align.
13335         * varasm.c (assemble_eh_label): Remove.
13336         (assemble_eh_align, assemble_eh_integer): Remove.
13338 2001-08-01  Robert Lipe  <robertl@caldera.com>
13340         * dwarfout.c: Remove reference to README.DWARF.
13342 2001-08-01  Andrew MacLeod  <amacleod@redhat.com>
13344         * regclass.c (call_really_used_regs): New array for registers which
13345         are actually used by a call.
13346         (init_reg_sets_1): Initialize regs_invalidated_by_call with the
13347         new array.
13348         (fix_register): Set call_really_used too.
13349         * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
13350         * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
13352 2001-08-01  Richard Henderson  <rth@redhat.com>
13354         * read-rtl.c (read_name): Consider \r whitespace.
13356 2001-07-11  Andrew Cagney  <ac131313@redhat.com>
13358         * config.gcc: Recognize powerpc-*-netbsd*.
13360         * doc/install.texi (Host/target specific installation notes for
13361         GCC): Mention powerpc-*-netbsd*.
13363         * config/rs6000/netbsd.h: New file.
13364         (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
13365         (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
13366         (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
13367         (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
13368         (TARGET_VERSION): Redefine.
13370         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
13371         mcall-netbsd as a match for mcall-sysv.
13372         (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
13373         (ncrti.S, ncrtn.S): New targets.
13374         ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
13376         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
13377         "netbsd' as a V4 ABI.
13378         (ASM_SPEC): Check for -mcall-netbsd.
13379         (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
13380         (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
13381         (LIB_SPEC, ENDFILE_SPEC): Ditto.
13382         (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
13383         (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
13384         (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
13385         (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
13387         * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
13388         (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
13390 2001-08-01  Mark Kettenis  <kettenis@gnu.org>
13392         * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
13393         only if NO_BASE_OF_ENCODED_VALUE isn't defined.
13394         * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
13395         including "unwind-pe.h".
13397 Wed Aug  1 20:01:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
13399         * rs6000.md (define_splits): Kill unused constraints.
13401 Wed Aug  1 20:02:12 CEST 2001 Graham Stott  <grahams@redhat.com>
13402                               Jan Hubicka  <jh@suse.cz>
13404         * function.c (thread_prologue_and_epilogue_insns): Kill code
13405         dealing with non-existent CFG.
13407 2001-08-01  Kazu Hirata  <kazu@hxi.com>
13409         * alias.c: Fix comment formatting.
13410         * bitmap.c: Likewise.
13411         * builtins.c: Likewise.
13412         * calls.c: Likewise.
13413         * c-common.c: Likewise.
13414         * c-decl.c: Likewise.
13415         * c-dump.c: Likewise.
13416         * c-lex.c: Likewise.
13417         * collect2.c: Likewise.
13418         * combine.c: Likewise.
13419         * conflict.c: Likewise.
13420         * cppfiles.c: Likewise.
13421         * cppinit.c: Likewise.
13422         * cpplex.c: Likewise.
13423         * cpplib.c: Likewise.
13424         * cppmacro.c: Likewise.
13425         * cppspec.c: Likewise.
13426         * c-pragma.c: Likewise.
13427         * crtstuff.c: Likewise.
13428         * cse.c: Likewise.
13429         * cselib.c: Likewise.
13430         * c-semantics.c: Likewise.
13431         * c-typeck.c: Likewise.
13433 2001-08-01  H.J. Lu <hjl@gnu.org>
13435         * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
13437 2001-08-01  H.J. Lu <hjl@gnu.org>
13439         * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
13441 2001-08-01  Ziemowit Laski  <zlaski@apple.com>
13443         * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
13444         contextualizing Objective-C class name lookup by the lexer.
13445         (typespec_reserved_nonattr): Disable ObjC class name lookup after
13446         seeing a TYPESPEC.
13447         (protocoldef): Add support for forward @protocol declarations.
13448         (yylexname): Suppress ObjC class name lookup in certain contexts;
13449         re-enable after lookup is complete.
13450         (_yylex): Re-enable ObjC class name lookup when certain
13451         punctuation marks are seen.
13453         * objc/objc-act.c (check_protocol_recursively): New function used
13454         for finding circular dependencies in protocols.
13455         (objc_declare_protocols): New function for handling forward
13456         @protocol declarations.
13457         (receiver_is_class_object): Detect the case when 'self' is used
13458         inside of a class method.
13459         (build_message_expr): Issue a warning if class method is desired
13460         but instance method is found instead.
13461         (conforms_to_protocol): Streamline.
13462         (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
13463         protocol Foo, even if 'Bar foo' does not.
13464         (check_protocols): Streamline.
13465         (start_protocol): Add checks for circular and duplicate protocol
13466         definitions.
13467         (encode_aggregate_within): For typedefs of structs, encode the
13468         underlying struct.
13469         * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
13470         (objc_declare_protocols): New prototype.
13472 2001-08-01  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
13474         * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
13475         * cpplex.c (handle_newline): Update prototype.  Maintain logical
13476         line number.
13477         (skip_escaped_newlines, skip_block_comment, parse_string):
13478         Update accordingly.
13479         (_cpp_lex_token): Update, and store token position within the token.
13480         * cpplib.h (struct cpp_token): Add line and column entries.
13481         * cppmacro.c (replace_args): Position stringified tokens correctly.
13483 2001-08-01  Andreas Jaeger  <aj@suse.de>
13485         * basic-block.h: Add prototype for last_loop_beg_note.
13487 2001-07-31  Alexandre Petit-Bianco  <apbianco@redhat.com>
13489         * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
13490         RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
13491         comment.
13492         (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
13493         while handling WITH_CLEANUP_EXPR node. Use second operand calling
13494         expand_decl_cleanup.
13495         * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
13496         the first RTX.
13497         (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
13498         operand while calling simple_cst_equal.
13499         * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
13500         operand is the cleanup expression, the third is the RTL_EXPR.
13501         * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
13503 2001-07-31  Jeff Sturm  <jsturm@one-point.com>
13505         * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
13507 2001-07-31  matthew green  <mrg@eterna.com.au>
13509         * config.gcc (i386-*-netbsdelf): New description.
13510         * config/i386/netbsd-elf.h: New file.
13512 2001-07-30  Geoffrey Keating  <geoffk@redhat.com>
13514         * loop.c (check_dbra_loop): Use single_set to compute
13515         jump_label.
13517 2001-07-31  Daniel Berlin  <dan@cgsoftware.com>
13519         PowerPC reorg and support for powerpc64-*-linux*.
13521         Also fixes emitting of constants on 32 bit and 64 bit
13522         platforms.
13524         * config.gcc: powerpc64-*-linux* is a new target.
13525         Things that needed aix.h now also include xcoff.h
13527         * config/rs6000/rs6000.h: Split XCOFF specific stuff into
13528         xcoff.h.
13529         Move AIX specific stuff into aix.h.
13530         (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
13531         with more than just XCOFF now.
13532         (SET_ASM_OP): Remove, now defined where needed.
13533         (FUNCTION_PROLOGUE): New macro definition.
13534         (FUNCTION_EPILOGUE): New macro definition.
13535         (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
13537         * config/rs6000/xcoff.h: New file.
13539         * config/rs6000/linux64.h: New file.
13541         * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
13543 2001-07-31  Alan Modra  <amodra@bigpond.net.au>
13545         * rs6000.c (print_operand_address): Handle ELF syntax.
13546         (output_toc): Simplify.  Use DOUBLE_INT_ASM_OP.
13547         * rs6000.md (load_toc_aix_di): Handle ELF syntax.
13548         * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
13550 2001-07-31  David Edelsohn  <edelsohn@gnu.org>
13552         * rs6000.c (rs6000_override_options): Only disable
13553         flag_function_sections for XCOFF.
13554         (exact_log2_cint_operand): New predicate.
13555         (reg_or_{add,sub}_cint64_operand): New predicates.
13556         (add_operand): Compare CONST_INT with fewer function calls.
13557         (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
13558         (print_operand, case 'p'): Ensure positive operand.
13559         (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
13560         * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
13561         (PREDICATE_CODES): Add new predicates.
13562         * rs6000.md (addsi3): Split 32-bit constants more correctly.
13563         (divsi3, modsi3): Ensure positive power-of-2.
13564         (adddi3): Use new predicate.  Split 32-bit constants more
13565         correctly.  Re-arrange splitter to handle any constant.
13566         (subdi3): Use new predicate.
13567         (divdi3, moddi3): Ensure positive power-of-2.
13568         (movdi): Use rs6000_emit_set_const.
13569         (load_toc_v4_pic_di): Delete.
13571 2001-07-31  Graham Stott <grahams@redhat.com>
13573         * function.c (pad_below): Revert 2001-07-26 patch.
13575 Tue Jul 31 15:37:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
13577         * reg-stack (convert_regs_1): Fix best edge condition.
13579 Tue Jul 31 15:33:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
13581         * jump.c (duplicate_loop_exit_test): Better test for jumps
13582         entering the loop; create loop pre_header.
13584 2001-07-31 Hartmut Penner <hpenner@de.ibm.com>
13586         * doc/install.texi: Add s390 and s390x as new targets.
13587         * doc/invoke.texi: Add documentation of S/390 and zSeries
13588         target options.
13589         * doc/md.texi: Add documentation of S/390 and zSeries constraints.
13591 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
13593         * config/m68k/m68k.md: Replace all general_operand with
13594         nonimmediate_operand for all destinations.
13595         * config/m68k/m68k.c (not_sp_operand): Likewise.
13597 Mon Jul 30 23:20:34 EDT 2001  John Wehle  (john@feith.com)
13599         * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
13601 2001-07-30  Richard Henderson  <rth@redhat.com>
13603         * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
13604         * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
13606 2001-07-30  Roman Zippel  <zippel@linux-m68k.org>
13608         * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
13609         Add missing doc strings
13610         * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
13611         * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
13613 Mon Jul 30 22:16:08 CEST 2001  Jan Hubicka  <jh@suse.cz>
13615         * i386.c (ix86_output_main_function_alignment_hack): New function.
13616         (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
13618         * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
13619         edges by EDGE_DFS_BACK flag.
13620         (dump_edge_info): Add dfs_back flag.
13621         * basic-block.h (EDGE_DFS_BACK): New constant.
13622         (mark_dfs_back_edges): Declare.
13623         * alias.c (loop_p): Remove.
13624         (mark_constant_function): Use mark_dfs_back_edges.
13626         * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
13627         (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
13628         (compensate_edge): Break out from ...
13629         (convert_regs_1): ... here; do smart choosing of stack_out to copy.
13630         (convert_regs_2): Set block_done once block is really done;
13631         Do updating of the predecessors counts.
13633         * toplev.c (rest_of_compilation): Recompute block_for_insn
13634         before post-reload cfg_cleanup.
13635         * function.c (thread_prologue_epilogue_insns):
13636         Call set_block_for_new_insns when emitting prologue directly.
13638 2001-07-30  Andreas Jaeger  <aj@suse.de>
13640         * jump.c: Add prototype for mark_modified_reg.
13642         * cse.c (set_live_p): Add unused attribute.
13644         * gcov.c (calculate_branch_probs): Use gcov_type to avoid
13645         overflow.
13646         (scan_for_source_files): Use long for count to avoid overflow.
13647         (output_data): Likewise.
13648         (output_data): Don't use string concatatenation to silence gcc
13649         -traditional.
13651         * predict.c: Fix typos and grammar.
13653         * gcse.c (insert_insn_end_bb): Remove unused variables.
13655 Mon Jul 30 21:54:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
13657         * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
13658         (attempt_auto_inc): LIkewise.
13659         (mark_used_reg): Likewise.
13660         (try_pre_increment_1): Likewise.
13661         * regclass.c (regclass): Likewise.
13662         * global.c (allocno_compare): Update comment; change scaling factor.
13663         * local-alloc.c (QTY_CMP_PRI): Likewise.
13664         * regs.h (REG_FREQ_FROM_BB): New.
13665         (REG_FREQ_MAX): Likewise.
13667 2001-07-30  H.J. Lu <hjl@gnu.org>
13669         * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
13670         -D_GNU_SOURCE.
13672 2001-07-30  H.J. Lu  (hjl@gnu.org)
13674         * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
13675         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13676         (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
13678 2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
13680         * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
13681         as -mthumb-interwork when -mcpu=arm7 is specified.
13683 Mon Jul 30 17:44:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
13685         * predict.def (noreturn, loop branch, loop exit): Mark as first
13686         match heuristics.
13688 Mon Jul 30 12:52:11 CEST 2001  Jan Hubicka  <jh@suse.cz>
13690         * combine.c (try_combine): Avoid barrier after noop jumps.
13692 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
13694         * cpphash.h (struct cpp_reader): Remove import_warning.
13695         * cpplib.c (skip_rest_of_line): Don't bother turning off
13696         macro expansion.
13697         (parse_include): Move include handling to...
13698         (do_include_common): ... here.  Move import warning from...
13699         (do_import): ... here.
13700         (do_pragma_poison): Don't do a callback for poison identifiers.
13701         * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
13702         * cppmain.c (setup_callbacks): Similarly.
13704 Sun Jul 29 23:26:50 CEST 2001  Jan Hubicka  <jh@suse.cz>
13706         * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
13707         handle multiple sets.
13708         * except.c (sjlj_mark_call_sites): .... here.
13709         * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
13711 Sun Jul 29 21:38:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
13713         Suggested by Richard Henderson and Richard Kenner:
13714         * combine.c (recog_for_combine): Use the fake recog
13715         only if instruction does not match.
13716         * rtl.h (NOOP_MOVE_INSN_CODE): New.
13717         * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
13719         * combine.c (try_combine): Discover noop jump as direct jump.
13721 2001-07-29  Daniel Berlin  <dan@cgsoftware.com>
13723         * df.c (df_rd_global_compute): Add successors to worklist, not
13724         current item.
13725         (df_ru_global_compute): Ditto.
13727 2001-07-27  Daniel Berlin  <dan@cgsoftware.com>
13729         * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
13730         increment REG_N_SETS.
13732 2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
13734         * sbitmap.h: New prototype for sbitmap_a_xor_b.
13736         * sbitmap.c (sbitmap_a_xor_b): New function.
13737         ifdef the basic block stuff on IN_GCC.
13739 2001-07-29  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
13741         * cppexp.c (parse_defined): Always record the macro name.
13742         (lex): Don't worry about identifiers, or special-case
13743         CPP_NOT here.
13744         (_cpp_parse_expr): Figure out at the end of the routine
13745         whether we saw a valid !defined() expression.
13746         * cppfiles.c (stack_include_file): Update for mi_valid.
13747         (_cpp_pop_file_buffer): Similarly.
13748         * cpplex.c (_cpp_lex_token): Similarly.
13749         * cpphash.h (enum mi_state, enum mi_ind, mi_state,
13750         mi_if_not_defined, mi_lexed): Remove.
13751         (mi_valid): New.
13752         * cpplib.c (do_if): Simplify.
13753         (do_endif, push_conditional, _cpp_handle_directive): Update
13754         for renaming of mi_state to mi_valid.
13755 doc:
13756         * cpp.texi: Add index entries for digraphs, and add comment
13757         that C++ refers to them as alternative tokens.
13759 Sun Jul 29 18:59:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
13761         * basic-block.h (CLEANUP_PRE_LOOP): New.
13762         * except.c (finish_eh_generation): Update call of cleanup_cfg.
13763         * sibcall.c (optimize_sibling_calls): Likewise.
13764         * toplev.c (rest_of_compilation): Likewise.
13765         * flow.c (try_forward_edges): Take argument MODE;
13766         do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
13767         (try_optimize_cfg): Update call of try_forward_edges.
13769 Sun Jul 29 18:59:56 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
13770                                 Jan Hubicka  <jh@suse.cz>
13772         * (validate_replace_rtx_1): Fix simplification of MINUS.
13774 2001-07-29  Neil Booth  <neil@daikokuya.demon.co.uk>
13776         PR preprocessor/3669
13777         * cppinit.c (init_dependency_output): Turn off dump requests
13778         if sending dependencies to stdout.
13780 2001-07-28  Richard Henderson  <rth@redhat.com>
13782         * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
13783         not optimizing.
13785 2001-07-28  Golubev I. N.  <gin@mo.msk.ru>
13787         * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
13789 2001-07-28  Kazu Hirata  <kazu@hxi.com>
13791         * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
13792         is VAR_DECL first to prevent an ICE.
13794 2001-07-28  Richard Henderson  <rth@redhat.com>
13796         * varasm.c (immed_real_const_1): Don't elide special cases for
13797         nested functions.
13798         (clear_const_double_mem): Clear const_tiny_rtx too.
13800 2001-07-28  Richard Henderson  <rth@redhat.com>
13802         * dwarf2out.c (dw_val_class_offset): New.
13803         (struct dw_ranges_struct, dw_ranges_ref): New.
13804         (ranges_table, ranges_table_allocated): New.
13805         (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
13806         (add_AT_offset, add_ranges, output_ranges): New.
13807         (print_die, output_die): Handle dw_val_class_offset.
13808         (attr_checksum, size_of_die, value_format): Likewise.
13809         (gen_lexical_block_die): Handle non-contiguous blocks.
13810         (gen_block_die): Likewise.
13811         (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
13812         if needed.  Dump the ranges table.
13813         * final.c (final_start_function): Remove unnecessary notes and
13814         rebuild the block tree before numbering the blocks.
13815         * function.c (reorder_blocks_0): Walk the existing block tree
13816         to unmark all blocks.
13817         (reorder_blocks_1): Create block fragments when duplicate block
13818         notes are seen.
13819         (reorder_fix_fragments): New.
13820         (reorder_blocks): Call it.
13821         * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
13823 2001-07-28  Richard Henderson  <rth@redhat.com>
13825         * emit-rtl.c (adjust_address): Make a copy of the memory address.
13827 2001-07-28  Richard Henderson  <rth@redhat.com>
13829         * flow.c (add_to_mem_set_list): New function.
13830         (init_propagate_block_info): Use it.
13831         (mark_set_1): Likewise.
13832         (insn_dead_p): Canonicalize memory address for dead store
13833         comparison.  Allow wider mode stores to kill narrower mode stores.
13834         (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
13835         (invalidate_mems_from_set): Don't handle MEMs.
13837 2001-07-28  Kazu Hirata  <kazu@hxi.com>
13839         * config/h8300/h8300.h: Fix formatting.
13841 Sat Jul 28 23:35:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
13843         * basic-block.h (EDGE_FREQUENCY): New macro.
13844         * bb-reorder (fixup_reorder_chain): Set counts and frequencies
13845         for new BB/edges.
13846         * flow.c (find_sub_basic_blocks): Likewise.
13847         (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
13848         (redirect_edge_and_branch): Use EDGE_FREQUENCY.
13850         * predict.c (DEF_PREDICTOR): New argument FLAGS.
13851         (HITRATE): New macro.
13852         (PRED_FLAG_FIRST_MATCH): New constant.
13853         (predictor_info): New field flgags.
13854         (combine_predictions_for_insn): Use DS theory to combine
13855         probabilities; set the edge probabilities when finished.
13856         (estimate_probability): Avoid duplicated matches
13857         of LOOP_BRANCH heuristics for nested loops; update comment.
13858         * predict.def: Add flags for each prediction, set probabilities
13859         according to B&L paper.
13860         * predict.h (DEF_PREDICTOR): New argument FLAGS.
13862         * profile.c (compute_branch_probabilities):  Cleanup way the edge
13863         probabilities are computed and REG_BR_PROB notes are dropped; if
13864         values does not match, emit error.
13865         (init_branch_prob): Do error instead of warning when profile driven
13866         feedback is missing or corrupt.
13868 2001-07-27  DJ Delorie  <dj@redhat.com>
13870         * ifcvt.c (noce_get_alt_condition): If the condition is a compare
13871         against a constant, try to adjust the compare to have the desired
13872         constant in it so that min/max optimizations happen more often.
13874 Fri Jul 27 17:53:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
13876         * flow.c (last_loop_beg_note): New function.
13877         (redirect_edge_and_branch): Use it.
13878         (split_edge): Likewise.
13880         * alias.c (loop_p): Avoid uninitialized memory access.
13882         * flow.c (try_forward_edges): Avoid accessing freed memory.
13884         * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
13885         variable access.
13887 2001-07-26  Andrew Haley  <aph@redhat.com>
13888         Joern Rennecke <amylaar@redhat.com>
13890         * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
13891         (SUBTARGET_CPP_ENDIAN_SPEC): New.
13892         (SUBTARGET_CPP_SPEC): New.
13893         (CPP_SPEC): Remove.
13894         * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
13895         (SUBTARGET_CPP_PTR_SPEC): New.
13896         (CPP_DEFAULT_CPU_SPEC): New.
13897         (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
13898         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13899         (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
13900         SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
13901         (SUBTARGET_CPP_SPEC): Define as an empty string.
13903 2001-07-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13905         * doc/install.texi (Configuration): Properly link the host
13906         specific instructions also when generating HTML.
13908 Fri Jul 27 00:33:35 EDT 2001  John Wehle  (john@feith.com)
13910         * flow.c (redirect_edge_and_branch_force): Test
13911         target->global_live_at_start.
13913 2001-07-26  Richard Henderson  <rth@redhat.com>
13915         * simplify-rtx.c (avoid_constant_pool_reference): Export.
13916         * rtl.h (avoid_constant_pool_reference): Declare it.
13917         * dwarf2out.c (add_location_or_const_value_attribute): Use it.
13918         (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
13920 Thu Jul 26 22:30:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
13922         * rtl.h (cleanup_barriers): Declare.
13923         * jump.c (cleanup_barriers): New function.
13924         * toplev.c (rest_of_compilation): Call cleanup_barriers
13925         before loop optimizer and after bb_reorder.
13927         * flow.c (back_edge_of_syntactic_loop_p): New.
13928         (split_edge): Use it.
13930 2001-07-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13932         * glimits.h (_MACH_MACHLIMITS_H_): Delete.
13934 Thu Jul 26 22:22:21 2001  Denis Chertykov  <denisc@overta.ru>
13936         * cse.c (cse_process_notes): Replace any registers if the address
13937         remains valid.
13939 Thu Jul 26 14:04:03 EDT 2001  John Wehle  (john@feith.com)
13941         * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
13942         (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
13943         (propagate_block): Update prototype.
13944         * flow.c (update_life_info): Simplify the CFG and
13945         recalculate the global regs which are alive when
13946         removing dead code during a global update.
13947         (propagate_block): Return non-zero if an INSN is
13948         deleted.
13950 2001-07-26  Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13952         * Makefile.in (LIBICONV): Define.
13954 2001-07-26  Catherine Moore  <clm@redhat.com>
13956         * config/v850/v850.h (ENCODE_SECTION_INFO):  Change order
13957         of conditional to avoid tree checking errors.
13959 2001-07-26  Kazu Hirata  <kazu@hxi.com>
13961         * regmove.c (regmove_optimize): Don't replace a reg with
13962         another reg of a different mode.
13964 2001-07-26  Andrew MacLeod  <amacleod@redhat.com>
13966         * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
13967         limit length of dependency flush list.
13968         * params.h (MAX_PENDING_LIST_LENGTH): Define.
13969         * sched-int.h  (struct deps): Add pending_flush_length field.
13970         * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
13971         has 1 element in it.
13972         (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
13973         (sched_analyze): After a jump, if the pending memory flush list is too
13974         large, flush the pending lists.
13975         (init_deps): Initialize pending_flush_length to 0.
13976         * doc/invoke.texi (max_pending_list_length): Document parameter.
13978 2001-07-26  Neil Booth  <neil@daikokuya.demon.co.uk>
13980         * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
13981         * dbxout.c (dbxout_global_decl): Move outside #ifdef.
13982         * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
13984 2001-07-26  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
13986         * cpphash.h (struct_lexer_state): Delete was_skipping.
13987         Move skipping here from struct cpp_reader.
13988         * cpplex.c (parse_identifier): Update.
13989         (_cpp_lex_token): Don't skip tokens in a directive.
13990         * cpplib.c (struct if_stack): Update.
13991         (start_directive, end_directive): Don't change skipping state.
13992         (_cpp_handle_directive): Update.
13993         (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
13994         (do_else, do_endif): Update; only check for excess tokens if not
13995         in a skipped conditional block.
13996         (push_conditional): Update for new struct if_stack.
13998 2001-07-26  Graham Stott  <grahams@redhat.com>
14000         * function.c (locate_and_pad_parm): Also pad initial offset
14001         so that the total argument size also includes the padding.
14003 2001-07-26  Graham Stott <grahams@redhat.com>
14005         * gensupport.c (alter_output_for_insn): Correct enable checking failure
14006         change XSTR to XTMPL.
14008         (process_one_cond_exec): Likewise
14010 2001-07-25  Richard Henderson  <rth@redhat.com>
14012         * varasm.c (assemble_variable): Create DECL_RTL before setting
14013         TREE_ASM_WRITTEN.
14015 Thu Jul 26 00:19:30 CEST 2001  Jan Hubicka  <jh@suse.cz>
14017         * predict.c (estimate_probability): Avoid duplicated predictions.
14019         * loop.c (find_and_verify_loops): Grok multiple barriers.
14021 Wed Jul 25 18:00:05 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14023         * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
14025         * dbxout.c: Consistently use putc instead of fputc.
14026         (print_wide_int): New function; call instead of direct fprintf.
14027         (dbxout_type_index): Adjust calls of CHARS to be more accurate.
14028         (dbxout_type_fields, dbxout_type_method_1): Likewise.
14029         (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
14030         (print_int_cst_octal): Likewise.
14031         (print_octal): Show we wrote characters.
14032         (dbxout_type): Set have_used_extensions in more places.
14034 2001-07-25  Catherine Moore  <clm@redhat.com>
14036         * config/v850/v850.c (v850_va_arg):  Use addr
14037         instead of valist to build incr.
14039 Wed Jul 25 22:48:59 CEST 2001  Jan Hubicka  <jh@suse.cz>
14041         * flow.c (delete_dead_jumptables): New function.
14042         (life_analyzis): Call it.
14043         * bb-reorder.c (skip_insns_after_block): Handle contradictory
14044         sequences.
14046 2001-07-25  Richard Henderson  <rth@redhat.com>
14048         * except.c (reachable_handlers): Handle a region being removed
14049         out from under a RESX.
14051 2001-07-25  Richard Henderson  <rth@redhat.com>
14053         * config/alpha/alpha.c (alpha_emit_conditional_move): Always
14054         swap GE/GT if it is an fp comparison.
14056 2001-07-25  Andrew Haley  <aph@cambridge.redhat.com>
14058         * alias.c (rtx_equal_for_memref_p): Allow strings as types in
14059         operands.
14061 Wed Jul 25 08:25:01 2001  Jeffrey A Law  (law@cygnus.com)
14063         * ssa.c (rename_insn_1): Do not wrap an assignment to a
14064         paradoxical SUBREG inside a SEQUENCE.  Fix minor formatting
14065         glitch.
14067         * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
14068         throw an exception.
14069         (visit_expression): When attempting to simplify an expression,
14070         retrieve any modes for arguments before they are simplified
14071         to constants.
14073 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
14074             Janis Johnson  <janis@us.ibm.com>
14076         * stmt.c (expand_goto): A nonlocal goto can be a call too.
14077         * builtins.c (expand_builtin_longjmp): Reverse label and static chain
14078         pointer parameters to match documented usage of nonlocal_goto.
14079         * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
14080         parameters to their correct order.
14081         * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
14082         parameters to their correct order.
14084 2001-07-25  Andrew MacLeod  <amacleod@redhat.com>
14086         * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
14088 2001-07-25  Jan Hubicka  <jh@suse.cz>
14089             Richard Henderson  <rth@redhat.com>
14091         * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
14092         the sequence.
14093         (make_edges): New argument update_p; populate the edge cache if set.
14094         (find_basic_blocks): Update make_edges invocation.
14096 2001-07-24  Joel Sherrill <joel@OARcorp.com>
14098         * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
14100 2001-07-24  Joel Sherrill <joel@OARcorp.com>
14102         * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
14103         -Acpu and -Amachine.h.
14104         * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
14105         Corrected header to say ELF not a.out.
14106         * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
14107         when given -msoft-float.
14109 2001-07-24  Joel Sherrill <joel@OARcorp.com>
14111         * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
14112         extra multilib parts like arm-elf.
14113         (i960-*-coff*, i960-*-rtems): Should not use collect2.
14114         (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
14115         crtfini.o as extra multilib parts.
14117 2001-07-24  Joel Sherrill <joel@OARcorp.com>
14119         * configure.in: Add rtems as a supported thread model.
14120         * gthr-rtems.h: Add missing entry point __gthread_active_p.
14121         * configure: Rebuilt.
14123 2001-07-24  Lars Brinkhoff  <lars@nocrew.org>
14125         * stor-layout.c (get_mode_alignment): make it work when
14126         BITS_PER_UNIT is not a power of two.
14127         * builtins.c (get_pointer_alignment): Likewise.
14129 2001-07-24  Richard Henderson  <rth@redhat.com>
14131         * simplify-rtx.c (avoid_constant_pool_reference): Coerce
14132         the retrieved constant into the expected mode.
14134 Wed Jul 25 01:41:27 CEST 2001  Jan Hubicka  <jh@suse.cz>
14136         * flow.c (try_simplify_condjump): Avoid duplicated edges.
14137         (verify_flow_info): Check for duplicated edges; clarify
14138         error reporting.
14140         * flow.c (block_label): Update basic_block_for_insn.
14141         (commit_edge_insertions): Call compute_bb_for_insn.
14143         * flow.c (purge_dead_edges): Handle conditional jumps and conditional
14144         returns too.
14146         * flow.c (redirect_edge_and_branch,
14147         try_optimize_cfg): Use redirect_edge_succ_nodup
14148         (redirect_edge_succ_nodup): New.
14149         * basic_block.h (redirect_edge_succ_nodup): Declare.
14151         * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
14152         after gcse.
14154 Wed Jul 25 00:32:49 CEST 2001  Jan Hubicka  <jh@suse.cz>
14156         * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
14157         (try_crossjump_to_edge): Update commetns.
14158         (try_crossjump_bb): Likewise.
14160 2001-07-24  Richard Henderson  <rth@redhat.com>
14162         * combine.c (distribute_notes): Move set of need_refresh
14163         for noop_move_p down to catch all cases.
14165 Tue Jul 24 20:32:44 CEST 2001  Jan Hubicka  <jh@suse.cz>
14167         * recog.c (split_all_insns_noflow): New.
14168         * rtl.h (split_all_insns_noflow): Declare.
14169         * ia64.c (ia64_reorg): Use split_all_insns_noflow.
14170         * m68hc11.c (m68hc11_reorg): Likewise.
14171         * sh.c (machine_dependent_reorg): Likewise.
14172         * toplev.c (rest_of_compilation): Likewise for last split_all_insns
14173         call.
14175 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
14177         * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
14178         (ashlsi3_n splitter): Likewise.
14179         (lshrsi3_n splitter): Likewise.
14181         (GOTaddr2picreg): Make const SImode.
14182         (sym_label2reg): Likewise.
14183         (symGOT2reg): Likewise.
14184         (symGOTOFF2reg) Likewise.
14186         (casesi_worker_0): Make unspec SImode.
14188 2001-07-18  Andrew Haley  <aph@cambridge.redhat.com>
14190         * config/sh/sh.c (barrier_align): Check that an operand really is
14191         an insn before extracting its INSN_CODE.
14193 2001-07-24  Andrew Haley  <aph@cambridge.redhat.com>
14195         * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
14196         dangling else.
14198         * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
14199         for SImode to prevent overflow.
14201 2001-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14203         * config/mips/irix6-libc-compat.c: New file.
14204         * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
14205         * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
14206         passing workaround.
14208 2001-07-24  lars brinkhoff  <lars@nocrew.org>
14210         * rtl.texi (REG_POINTER): Document.
14211         (Machine Modes): Document BImode, OImode, PQImode, PHImode,
14212         QFmode, HFmode, TQFmode, QCmode, and HCmode.
14214 Tue Jul 24 10:49:40 CEST 2001  Jan Hubicka  <jh@suse.cz>
14216         * flow.c (delete_noop_moves): Do not confuse libcall regions.
14218 2001-07-23  Richard Henderson  <rth@redhat.com>
14220         * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
14222 2001-07-23  Kazu Hirata  <kazu@hxi.com>
14224         * config/h8300/h8300-protos.h: Add a prototype for
14225         general_operand_dst_push.
14226         * config/h8300/h8300.c (general_operand_dst_push): New.
14227         * config/h8300/h8300.h (OK_FOR_T): New.
14228         (EXTRA_CONSTRAINT): Use it.
14229         * config/h8300/h8300.md (movqi_push): Remove and integrate into
14230         the existing movqi pattern.
14231         (movhi_push): Likewise.
14233         * reload.c: Fix comment typos.
14235 Mon Jul 23 23:34:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
14237         * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
14239 2001-07-23  H.J. Lu  (hjl@gnu.org)
14241         * doc/extend.texi: Update __builtin_return_address and
14242         __builtin_frame_address.
14244 2001-07-23  Richard Henderson  <rth@redhat.com>
14246         * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
14247         before CSE.
14248         * config/i386/i386.md: New setcc+movzbl peephole2.
14250 2001-07-23  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
14252         * objc/Make-lang.in (objc-act.o): Depend on debug.h.
14253         * objc/objc-act.c: Include debug.h.
14254         (synth_module_prologue): Save and restore debug hooks too.
14256 2001-07-23  lars brinkhoff  <lars@nocrew.org>
14258         * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
14259         and C4X_FLOAT_FORMAT.
14260         (BOOL_TYPE_SIZE): Document.
14262 Mon Jul 23 11:54:23 2001  Clinton Popetz  <cpopetz@cpopetz.com>
14264         * unroll.c (loop_iterations): Fix miscalculation of initial
14265         giv offset.
14267 2001-07-13  Andrew Haley  <aph@redhat.com>
14269         * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
14270         * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
14271         * config/sh/sh.c (sh_can_redirect_branch): New function.
14272         * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
14273         * reorg.c (steal_delay_list_from_target): Use
14274         MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
14276 Mon Jul 23 17:20:18 CEST 2001  Jan Hubicka  <jh@suse.cz>
14278         * flow.c (try_simplify_condjump): Unlink insn chain on
14279         fallthru edge; use can_fallthru.
14281 Mon Jul 23 16:03:19 CEST 2001  Jan Hubicka  <jh@suse.cz>
14283         * basic-block.h (find_sub_basic_block): Declare.
14284         * flow.c (make_edges): New arguments MIN and MAX;
14285         (find_sub_basic_blocks): Revamp to use make_edges
14286         and purge_dead_edges.
14287         (find_basic_blocks): Update call of find_sub_basic_block.
14289         * recog.c (split_all_insns): Always expect CFG to be consistent;
14290         call find_sub_basic_blocks in case something has changed.
14291         * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
14292         has been built.
14294         * basic-block.h (delete_noop_moves): Declare.
14295         * combine.c (combine_instructions): Call it.
14296         (recog_for_combine): Tolerate noop moves
14297         (distribute_notes): Force refresh when register dies at noop move.
14298         * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
14299         too.
14300         (life_analysis): Update delete_noop_moves call.
14301         (set_noop_p): Move too ...
14302         * rtlanal.c (noop_move_p): ... here.
14303         * rtl.h (noop_move_p): Declare.
14305         * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
14306         * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
14307         after combine.
14308         * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
14309         (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
14311 2001-07-23  Hans-Peter Nilsson  <hp@bitrange.com>
14313         * reload.c (push_reload): Fix typo in comment.
14314         (find_reloads_address): Ditto.
14315         (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
14317 2001-07-22  Richard Henderson  <rth@redhat.com>
14319         * flow.c: Grammar check and clarify a lot of comments.
14320         (try_simplify_condjump): Rename variables to be clearer.
14321         (try_forward_edges): Skip complex and fallthru edges.
14322         Rearrange tests to avoid duplicate checks.
14323         (flow_find_cross_jump): Likewise.
14324         (outgoing_edges_match): Allow match if neither branch has
14325         probability data.  Loosen probability match to 5%.
14326         (try_crossjump_to_edge): Hoist repeated indirection into
14327         local variables.
14328         (try_crossjump_bb): Don't check complex edges.  Eliminate
14329         redundant crossjump tests.
14330         (try_optimize_cfg): Fix use of bool.  Reorganize cheaper
14331         checks before more expensive checks.
14333 2001-07-22  Richard Henderson  <rth@redhat.com>
14335         * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
14336         INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
14337         arguments.
14339 2001-07-22  Richard Henderson  <rth@redhat.com>
14341         * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
14342         (const_sint32_operand): Likewise.
14343         * m68k.md (anon mulsi pattern): Use const_int_operand not
14344         const_sint32_operand.
14345         (umulsi3_highpart): Zero extend a constant input.
14346         (smulsi3_highpart): Don't bother checking SImode constant.
14347         (const_umulsi3_highpart): Give op3 DImode.
14348         (const_smulsi3_highpart): Likewise.
14350 2001-07-22  Richard Henderson  <rth@redhat.com>
14352         * flow.c (split_block): Make sure bb_note is included in the
14353         new block when splitting before a label.
14355 Sun Jul 22 23:28:56 CEST 2001  Jan Hubicka  <jh@suse.cz>
14357         * basic-block.h (redirect_edge_and_branch_force,
14358         redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
14359         * flow.c (redirect_edge_and_branch_force,
14360         redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
14361         (redirect_edge_and_branch_force): Fix copying of lifeness information.
14362         (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
14363         * ifcvt.c (dead_or_predictable): Take BB as an new destination
14364         instead of label; update CFG after transformation.
14365         (find_if_case_1): Update call, use redirect_edge_and_branch_force
14366         for finishing the transformation; handle even case where ELSE
14367         does not follow THEN.
14368         (find_if_case_2): Update call of dead_or_predictable; simplify
14369         CFG update.
14371         * emit-rtl.c (split_branch_probability): New global variable.
14372         (try_split): Take care to set split_branch_probability and
14373         create REG_BR_PROB note for new jump insns.
14374         * md.texi (define_split): Document new feature.
14376         * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
14378 2001-07-22  Neil Booth  <neil@daikokuya.demon.co.uk>
14380         * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
14381         (asm_out_file): Remove redundant declaration.
14382         (assemble_asm): Remove old #if 0 block.
14383         (assemble_variable): Remove end of function; debug output is
14384         now handled with global_decl.  Remove old #if 0 block.  Update.
14385         Remove saved_in_section and associated no-op code.
14386         * Makefile.in (varasm.o): Correct dependencies.
14388 Sun Jul 22 17:55:11 2001  Alexandre Oliva  <aoliva@redhat.com>
14390         * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
14391         the definition in defaults.h.
14393 Sun Jul 22 21:31:04 CEST 2001  Jan Hubicka  <jh@suse.cz>
14395         * jump.c: Update comments.
14396         (delete_barrier_successors, delete_unreferenced_labels,
14397         delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
14398         delete_labelref_insn, redirect_tablejump, jump_optimize_1,
14399         jump_optimize, jump_optimize_minimal): Kill.
14400         (rebuild_jump_labels): Move code from jump_optimize_1.
14401         (purge_line_number_notes): Likewise.
14402         (copy_loop_headers): Likewise.
14403         * reg-stack.c: Update comment.
14404         * stmt.c: Likewise.
14405         * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
14406         JUMP_AFTER_REGSCAN): Kill.
14407         * toplev.c (rest_of_compilation): Use cleanup_cfg, call
14408         purge_line_number_notes and copy_loop_headers.
14410 2001-07-22 Neil Booth  <neil@daikokuya.demon.co.uk>
14411            Richard Henderson  <rth@redhat.com>
14413         * dbxout.c (dbxout_global_decl): New.
14414         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14415         * sdbout.c (sdbout_finish): New.
14416         (sdbout_debug_hooks): Use it, add comments.
14417         (sdbout_global_decl): Defer initialised public vars to
14418         sdbout_finish.
14419         * varasm.c (assemble_variable): Don't output debug information
14420         for file-scope variables.
14422 2001-07-22  Richard Henderson  <rth@redhat.com>
14424         * config/alpha/alpha.c (get_trap_mode_suffix): New.
14425         (get_round_mode_suffix): New.
14426         (print_operand): Use them for [/].  Remove support for [&'`()+].
14427         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
14428         * config/alpha/alpha.md (attr round_suffix): New.
14429         (attr trap_suffix): New.
14430         (all insns): Set them appropriately.  Use %/ instead of the
14431         myriad punctuators.
14433 2001-07-22  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
14435         * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
14437 2001-07-22  Richard Henderson  <rth@redhat.com>
14439         * regrename.c (regrename_optimize): Compute nregs for each
14440         potential target register.
14442 2001-07-21 Neil Booth  <neil@daikokuya.demon.co.uk>
14443            Richard Henderson  <rth@redhat.com>
14445         * dbxout.c (dbxout_global_decl): New.
14446         (xcoff_debug_hooks, dbx_debug_hooks): Use it.
14447         * sdbout.c (sdbout_finish): New.
14448         (sdbout_debug_hooks): Use it, add comments.
14449         (sdbout_global_decl): Defer initialised public vars to
14450         sdbout_finish.
14451         * varasm.c (assemble_variable): Don't output debug information
14452         for file-scope variables.
14454 2001-07-21  H.J. Lu  (hjl@gnu.org)
14456         * config/mips/mips.c (mips_cpu): Moved into ...
14457         (override_options): Here.
14459         * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
14460         mips_tune.
14461         (mips_cpu): Removed.
14463 2001-07-21  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14465         * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
14466         ("iorqi3"): Likewise.
14467         ("xorqi3"): Likewise.
14468         ("*addhi3"): Fix constraint to avoid reloading in a soft register.
14469         ("*subhi3_sp): Likewise.
14470         ("*subhi3"): Likewise.
14471         ("extendhisi2"): Accept D, X and Y as source operand to avoid
14472         reload problems.
14474 2001-07-21  Nathan Sidwell  <nathan@codesourcery.com>
14476         * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
14477         * config/freebsd.h: Likewise.
14478         * config/linux.h: Likewise.
14479         * config/openbsd.h: Likewise.
14480         * config/alpha/linux-elf.h: Likewise.
14481         * config/arm/linux-elf.h: Likewise.
14482         * config/d30v/d30v.h: Likewise.
14483         * config/fr30/fr30.h: Likewise.
14484         * config/ia64/aix.h: Likewise.
14485         * config/ia64/ia64.h: Likewise.
14486         * config/mips/linux.h: Likewise.
14487         * config/pj/pj.h: Likewise.
14488         * config/rs6000/linux.h: Likewise.
14489         * config/sparc/linux.h: Likewise.
14490         * config/sparc/linux64.h: Likewise.
14492 2001-07-20  Bruce Korb  <bkorb@gnu.org>
14494         * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
14495         because getc() and char* may disagree on signedness.
14497 2001-07-20  Richard Henderson  <rth@redhat.com>
14499         * doc/rtl.texi (REG_DEAD): Update for current semantics.
14501         * flow.c (try_redirect_by_replacing_jump): Correctly compute which
14502         insns to delete in the presence of cc0 in a jump insn.
14504 Fri Jul 20 22:14:49 CEST 2001  Roman Zippel  <zippel@linux-m68k.org>
14505                                 Jan Hubicka  <jh@suse.cz>
14507         * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
14508         of doing the change by hand.
14510 Fri Jul 20 21:59:42 CEST 2001  Jan Hubicka  <jh@suse.cz>
14512         * rtlanal.c (set_noop_p): Return true for noop jumps.
14514         * expr.c (emit_single_push_insn): Add call to push expander.
14515         * expr.h (optab_index): Add OTI_push
14516         (push_optab): New constant.
14517         * genopinit.c (optabs): Add push_optab.
14518         * optabs.c (init_optab): Init push optab.
14519         * md.texi (push??1): Document
14521 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14523         * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
14524         expand to emit the pattern; put a REG_INC note for push/pop
14525         instructions.
14526         ("movdf", "movdf_internal"): Likewise.
14527         ("movsi", "movsi_internal"): Likewise.
14528         ("movsf", "movsf_internal"): Likewise.
14529         ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
14531 2001-07-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14533         * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
14534         gen_highpart.
14536 2001-07-20  Daniel Berlin  <dan@cgsoftware.com>
14538         * params.def: Change default max inline insns to 100.
14540 2001-07-20  Diego Novillo  <dnovillo@redhat.com>
14542         * combine.c (combine_simplify_rtx): Generate a new shift operation
14543         when simplifying the first operand of a (neg (ashift)) expression.
14545 2001-07-20  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
14547         * regclass.c (N_REG_INTS): Use only 32 bits per element.
14549 2001-07-20  Kelley Cook  <kelley.cook@home.com>
14551         * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
14552         information.   Move rest into ...
14553         (*-*-solaris): ... here.  Eliminate redundant information and
14554         reword necessary packages section.  Delete 4.x assembler bug info.
14555         (sparc-sun-*): Merge into ...
14556         (sparc-sun-sunos*): here.
14558 2001-07-20  Catherine Moore  <clm@redhat.com>
14560         * config/v850/v850.md (casesi): Generate LABEL_REF
14561         with Pmode.
14563 Fri Jul 20 14:12:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
14565         * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
14566         * i386.c (ix86_zero_extend_to_Pmode): Make global.
14567         * i386.md (strclrsi expander): Use it.
14569 Fri Jul 20 13:24:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
14571         * integrate.c (copy_insn_list): handle
14572         NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
14573         (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
14574         identically as to CODE_LABEL.
14576         * fold-const (fold): Convert A/B/C to A/(B*C) and
14577         A/(B/C) to (A/B)*C
14579         * except.c (connect_post_landing_pads): Delete the RESX insns.
14581 2001-07-20  Aldy Hernandez  <aldyh@redhat.com>
14583         * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
14585         * config/mips/mips.md (nmadd/nmsub): Use macro.
14587 2001-07-20  Nathan Sidwell  <nathan@codesourcery.com>
14589         * cppinit.c (remove_dup_dir): Make static.
14590         (remove_dup_dirs): Make static. Only warn about preempting a
14591         system directory with a non-system directory.
14593 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
14595         * ifcvt.c (noce_try_store_flag_constants): Correct order
14596         of parameters to trunc_int_for_mode.
14598 2001-07-19  Mark Mitchell  <mark@codesourcery.com>
14600         * reorg.c (fill_simple_delay_slots): If an instruction might throw
14601         an exception that will be caught within this function, do not fill
14602         its delay slot with any subsequent instruction.
14604 2001-07-19  Steve Ellcey <sje@cup.hp.com>
14606         * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
14607         * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
14608         pointer extension instruction.
14609         * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
14610         * simplify-rtx.c (simplify_unary_operation) Likewise.
14611         * explow.c (convert_memory_address) Check value of
14612         POINTERS_EXTEND_UNSIGNED to avoid some conversions when
14613         less than zero.
14614         * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
14615         MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
14616         * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
14617         Add Multilib Support.
14618         (POINTERS_EXTEND_UNSIGNED)  Define for ILP32 support.
14619         * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
14620         Add Multilib Support.
14621         (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
14622         support.
14623         * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
14624         * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
14625         a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
14627 2001-07-19  Alexandre Oliva  <aoliva@redhat.com>
14629         * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
14630         old and new operands in `<', `3' and `b'.
14632 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
14634         * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
14635         (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
14636         (toplev.o): Don't depend on xcoffout.h.
14637         * c-decl.c: Include debug.h
14638         (duplicate_decls): Use debug hook.
14639         * dbxout.c (dbxout_source_file, dbxout_args): Make static.
14640         (dbx_debug_hooks, xcoff_debug_hooks): Update.
14641         (dbxout_types): Remove.
14642         * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
14643         * debug.c (do_nothing_debug_hooks): Update.
14644         (debug_true_tree, debug_nothing_rtx): New.
14645         * debug.h (struct rtx_def): New.
14646         (struct gcc_debug_hooks): New hooks ignore_block,
14647         outlining_inline_function and label.
14648         (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
14649         dwarf2out_frame_finish): New.
14650         * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
14651         Make static, update prototype.
14652         (dwarf2_debug_hooks): Update.
14653         * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
14654         dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
14655         * dwarfout.c (dwarf_debug_hooks): Update.
14656         * emit-rtl.c: Include debug.h.
14657         (remove_unnecessary_notes): Use debug hook.
14658         * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
14659         (final_scan_insn): Use debug hook.
14660         * integrate.c (output_inline_function): Use debug hook.
14661         * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
14662         (sdb_debug_hooks): Update.
14663         * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
14664         * toplev.c: Don't include xcoffout.h.
14665         (note_outlining_of_inline_function, debug_ignore_block): Remove.
14666         * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
14667         Remove.
14668         * tree.h (dwarf2out_do_frame): Remove.
14670 2001-07-19  Catherine Moore  <clm@cygnus.com>
14672         * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
14674 2001-07-19  Geoffrey Keating  <geoffk@redhat.com>
14676         * reload1.c (eliminate_regs_in_insn): When updating a set
14677         to the frame pointer to the hardware frame pointer, perform
14678         the update always not just when REPLACE is set.
14680         * reload1.c (choose_reload_regs): Don't inherit a reload
14681         that crosses multiple registers if registers past the first
14682         don't fit in the desired class.
14684         * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
14685         when negating constants.
14687 2001-07-19  Toon Moene  <toon@moene.indiv.nluug.nl>
14689         * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
14690         * doc/tree.texi: Ditto.
14692 2001-07-19  Mark Kettenis  <kettenis@wins.uva.nl>
14693             Jakub Jelinek  <jakub@redhat.com>
14695         * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
14696         (extract_cie_info): Handle "eh" augmentation properly,
14697         remember eh_ptr.
14698         (struct frame_state, __frame_state_for): New.
14700 2001-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14702         * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
14703         HANDLE_SYSV_PRAGMA): Define.
14704         * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
14705         previous args.
14706         (copy_object): Caller changed.
14708 2001-07-19  Andreas Schwab  <schwab@suse.de>
14710         * configure.in (assembler dwarf2 debug_line support): Define nop
14711         insn for m68k.
14712         * configure: Regenerated.
14714 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
14716         * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
14717         dwarfout.h.
14718         * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
14719         to conditionally compiled block.
14720         (dbx_debug_hooks, xcoff_debug_hooks): Update.
14721         * dbxout.h (dbxout_function): Remove.
14722         * debug.c (do_nothing_debug_hooks): Update.
14723         * debug.h (struct gcc_debug_hooks): New hooks function_decl,
14724         global_decl, deferred_inline_function.
14725         * dwarf2out.c (dwarf2_debug_hooks): Update.
14726         (dwarf2out_global_decl): New.
14727         * dwarfout.c: Don't include dwarfout.h.
14728         (dwarfout_global_decl, dwarfout_function_decl,
14729         dwarfout_deferred_inline_function): New.
14730         (dwarf_debug_hooks): Update.
14731         * dwarfout.h: Remove.
14732         * final.c: Don't include dwarfout.h.
14733         * sdbout.c (sdbout_global_decl): New.
14734         (sdbout_debug_hooks): Update.
14735         * toplev.c: Don't include dwarfout.h.
14736         (check_global_declarations, rest_of_compilation): Use new debug hooks.
14737         (note_deferral_of_defined_inline_function): Remove.
14738         * toplev.h (note_deferral_of_defined_inline_function): Remove.
14739         * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
14740         * ch/lex.c: Don't include dwarfout.h.
14741         * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
14742         (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
14743         * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
14744         * cp/optimize.c: Include debug.h.
14745         (maybe_clone_body): Use debug hook.
14746         * cp/semantics.c: Include debug.h.
14747         (expand_body): Use debug hook.
14748         * po/POTFILES.in: Remove dwarfout.h.
14750 2001-07-19  Neil Booth  <neil@daikokuya.demon.co.uk>
14752         * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
14753         * c-parse.in (yyerror, _yylex): Similarly.
14754         * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
14755         Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
14756         Update comments.
14757         * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
14758         * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
14760 2001-07-18  Jeff Sturm  <jsturm@one-point.com>
14762         * dwarf2out.c (dwarf2out_abstract_function): Don't emit
14763         in-class declaration at -g1.  Fixes c++/2814.
14765 2001-07-18  Richard Henderson  <rth@redhat.com>
14767         * doc/md.texi (reload_in/out): Document restrictions in predicates
14768         and constraints for these patterns.  Document empty string matching
14769         ALL_REGS.
14771 2001-07-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14773         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
14775 Wed Jul 18 20:47:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
14777         * cse.c: Undo my previous patch.
14779 2001-07-18  Tom Tromey  <tromey@redhat.com>
14781         For PR java/2812:
14782         * configure: Rebuilt.
14783         * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
14784         instead.
14785         * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
14787 Wed Jul 18 18:46:30 CEST 2001  Richard Henderson <rth@cygnus.com>
14788                                 Jan Hubicka  <jh@suse.cz>
14790         * flow.c (redirect_edge_and_branch): Bail out on complex edges.
14791         (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
14792         * jump.c (mark_jump_label): Do not forward branches.
14794 Wed Jul 18 18:35:01 CEST 2001  Jan Hubicka  <jh@suse.cz>
14796         * cse.c (delete_trivially_dead_insns): Delete the libcall block
14797         when return value is unused.
14799 Wed Jul 18 18:28:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
14801         * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
14803 Wed Jul 18 12:05:29 2001  Nicola Pero  <n.pero@mi.flashnet.it>
14805         * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
14806         on error.  We can't blindly return the result of
14807         pthread_mutex_trylock because it returns a positive number on
14808         error, while we must return -1 on error.
14809         (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
14810         fixes.
14811         Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
14813 2001-07-18  Andreas Jaeger  <aj@suse.de>
14815         * integrate.c (output_inline_function): Correct type of debug_hooks.
14817 2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>
14819         * combine.c (combine_simplify_rtx): DIV can be treated
14820         associatively for floats if unsafe math optimisations are enabled.
14822 2001-07-17  Richard Henderson  <rth@redhat.com>
14824         * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
14826 2001-07-17  Richard Henderson  <rth@redhat.com>
14828         * calls.c (prepare_call_address): New parameter SIBCALLP.  If true,
14829         don't force the function address into a register.
14830         (expand_call, emit_library_call_value_1): Update callers.
14831         * builtins.c (expand_builtin_apply): Likewise.
14832         * expr.h (prepare_call_address): Update decl.
14834 2001-07-17  Chandrakala Chavva  <cchavva@redhat.com>
14836         * config.gcc: For *-*-chorusos triplet, get chorus.h file from
14837         config directory.
14838         * config/i386/chorus.h: Move up.
14839         * config/sparc/chorus.h: Likewise.
14840         * config/rs6000/chorus.h: Likewise.
14841         * config/chorus.h: Moved here.
14843 2001-07-17  Andreas Schwab  <schwab@suse.de>
14845         * configure.in  (assembler eh_frame optimization): Handle big
14846         endian.
14847         * configure: Regenerated.
14849 Tue Jul 17 23:43:31 CEST 2001  Jan Hubicka  <jh@suse.cz>
14851         * expr.c (epxand_expr): Convert divisions into multiplications by
14852         reciprocals if -ffast-math.
14854 2001-07-17  Neil Booth  <neil@daikokuya.demon.co.uk>
14856         * dbxout.c (dbxout_really_begin_function): Rename to
14857         dbxout_begin_function.
14858         (dbx_debug_hooks, xcoff_debug_hooks): Update.
14859         (dbxout_begin_function): Remove.
14860         (dbxout_function): Update.
14861         (dbxout_source_line): Update prototype.
14862         * dbxout.h (dbxout_begin_function): Remove.
14863         * debug.c (do_nothing_debug_hooks): Update.
14864         (debug_nothing_tree): Update.
14865         (debug_nothing_charstar_rtx): Remove.
14866         * debug.h (union tree_node): Declare.
14867         (struct rtx_def): Remove.
14868         (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
14869         begin_function.  Change source_line prototype.
14870         (debug_nothing_tree): New.
14871         (debug_nothing_charstar_rtx): Delete.
14872         (dwarf2out_begin_prologue): Moved from ...
14873         * tree.h: ... here.
14874         * dwarf2out.c (dwarf2_debug_hooks): Update.
14875         (dwarf2out_begin_prologue): Update prototype.  If genuine dwarf2
14876         debug info, call dwarf2out_source_line.
14877         (dwarf2out_souce_line): Update prototype.
14878         * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
14879         Change prototype, make static.
14880         (dwarfout_source_line): Update prototype.
14881         (dwarf_debug_hooks): Update.
14882         * dwarfout.h (dwarfout_begin_function): Remove.
14883         * final.c (final_start_function, final_scan_insn): Use appropriate
14884         debug hooks, update to use notice_source_line.
14885         (output_source_line): Rename notice_source_line.  Don't call the
14886         source_line debug hook.
14887         * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
14888         make static, update prototype.
14889         (sdbout_mark_begin_function): Rename sdbout_begin_function, update
14890         prototype.
14891         (sdbout_end_prologue): New.
14892         (sdbout_source_line): Update prototype.
14893         (sdbout_debug_hooks): Update.
14894         (sdbout_symbol): Remove unused var.
14895         * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
14896         Delete.
14897         * varasm.c: Include debug.h.
14898         (assemble_start_function): Use begin_function debug_hook.
14899         * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14900         update with prototype.
14901         (xcoffout_source_line): Update prototype.
14902         * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
14903         update prototype.
14904         (xcoffout_source_line): Update prototype.
14906 2001-07-17  Richard Henderson  <rth@redhat.com>
14908         * c-typeck.c (build_binary_op): Do not shorten unsigned
14909         right shift after sign extension.
14911 Tue Jul 17 16:56:05 CEST 2001  Jan Hubicka  <jh@suse.cz>
14913         * combine.c (combine_simplify_rtx): Attempt to simplify
14914         a*(b/c) as (a*b)/c for floats in unsafe_math mode.
14916         * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
14917         (simplify_binary_operation, simplify_unary_operation,
14918          simplify_relational_operation): Use it.
14920         * combine.c (combine_simplify_rtx): Don't do associative law
14921         on divisions; allow associative law on floats.
14923 2001-07-17  H.J. Lu <hjl@gnu.org>
14924             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14926         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
14927         ASM_OUTPUT_WEAK_ALIAS are defined.
14928         * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
14929         * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
14930         Moved ...
14931         * config/mips/iris5.h: ... here.
14932         (HANDLE_SYSV_PRAGMA): Defined as 1.
14933         * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
14934         * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
14935         symbol.
14937 2001-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
14939         * c-parse.in (all_prefix_attributes): New variable.
14940         (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
14941         (maybe_resetattrs): New production.
14942         (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
14943         maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
14944         notype_initdcl, nested_function, notype_nested_function,
14945         component_decl, components, components_notype,
14946         component_declarator, component_notype_declarator,
14947         absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
14948         ivars, mydecl, myparm): Update.  Avoid prefix attributes just
14949         after a comma being applied to more than one declarator.
14950         * doc/extend.texi (Attribute Syntax): Update.  Remove
14951         documentation of bugs that are no longer present.
14953 2001-07-13  Eric Christopher  <echristo@redhat.com>
14955         * config/mips/mips.h: Change TUNE_MIPS* options to use
14956         mips_tune.
14957         (EXTRA_SPECS): Add cc1_cpu_spec.
14958         * config/mips/mips.md (muldf3): Fix typo.
14960 2001-07-16  Richard Henderson  <rth@redhat.com>
14962         * config/m68k/m68k.c: Include expr.h and reload.h.
14963         (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
14964         [general int]: Use HOST_WIDE_INT_PRINT_DEC.
14966 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
14967             Richard Henderson  <rth@redhat.com>
14969         * cse.c (set_live_p): Take INSN argument for cc0; update callers.
14970         (insn_live_p): Fix fall off end of function.
14971         (dead_libcall_p): Remove COUNTS argument; update callers.
14972         (delete_trivially_dead_insns): Remove unused variables.
14974 2001-07-17  Andreas Jaeger  <aj@suse.de>
14976         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
14977         x86-64 pic support.
14979         * lcm.c (optimize_mode_switching): Avoid warning for unused
14980         variable if !NORMAL_MODE.
14982         * flow.c (try_crossjump_to_edge): Remove unused variable.
14984 2001-07-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14986         * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
14987         atexit declaration in stdlib.h.
14989 2001-07-16  Richard Begg  <Richard.Begg@colesmyer.com.au>
14991         * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
14993 Mon Jul 16 22:48:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
14995         * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
14996         * except.c (finish_eh_generation): Update call of cleanup_cfg;
14997         do rebuild_jump_labels instead of jump_optimize
14998         * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
14999         * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
15000         * flow.c (try_optimize_cfg): Remove unneeded code_labels.
15002         * flow.c: Include timevar.h
15003         (find_basic_block): Push/pop timevar;
15004         (cleanup_cfg): Likewise.
15005         * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
15006         * Makefile: Add dependencies on timevar.h
15008         * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
15009         (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
15011         * rtl.h (delete_trivially_dead_insns): Add new parameter.
15012         * toplev.c (rest_of_compilation): Update calls.
15013         * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
15014         (delete_trivially_dead_insns): ... here; accept new argument
15015         preserve_basic_blocks; preserve basic blocks if set.
15017         * reg-stack.c (stack_regs_mentioned): Return 0 if
15018         stack_regs_mentioned_data is not initialized.
15019         (reg_to_stack): Make stack_regs_mentioned survive after the
15020         reg-stack is completted; do not call cleanup_cfg.
15021         * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
15022         make cleanup_cfg after bb-reorder to output to debug file.
15024 2001-07-16  Richard Henderson  <rth@redhat.com>
15026         * regclass.c (init_reg_sets): Use only 32 bits per initializer
15027         from int_reg_class_contents.
15029 2001-07-16  Richard Henderson  <rth@redhat.com>
15031         * hard-reg-set.h (regs_invalidated_by_call): Declare.
15032         * regclass.c (regs_invalidated_by_call): Move from cse.c.
15033         (init_reg_sets_1): Move initialization from cse_main.
15034         * cse.c (regs_invalidated_by_call): Move to regclass.c.
15035         (cse_main): Move its initialization also.
15036         * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
15037         * flow.c (propagate_one_insn): Likewise.
15038         * gcse.c (compute_hash_table): Likewise.
15039         (compute_kill_rd, compute_store_table): Likewise.
15040         * sched-deps.c (sched_analyze_1): Likewise.
15042 Mon Jul 16 18:07:07 2001  J"orn Rennecke <amylaar@redhat.com>
15044         * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
15045         gen_rtx_SET.
15047 2001-07-16  Steve Ellcey <sje@cup.hp.com>
15049         * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
15050         in if statement so we don't access undefined memory.
15052 2001-07-16  Daniel Berlin  <dan@cgsoftware.com>
15054         * gcse.c: Update comment at top.
15055         Update comment on mem handling.
15056         mem_last_set, mem_first_set, mem_set_in_block: gone.
15057         Declaration of reg_set_info: gone.
15058         (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
15059         pointless with load_killed_in_block_p (they are *more*
15060         conservative then it, not less, and less accurate).
15061         (oprs_not_set_p): Ditto.
15062         (alloc_gcse_mem): Don't allocate mem_set_in_block
15063         (free_gcse_mem): Don't free it, either.
15064         (record_last_mem_set_info): Update comment in front, remove
15065         mem_*set_* stuff. Note the reason we don't handle stores directly
15066         here.
15067         (compute_hash_table): Update comments to reflect reality. Remove
15068         mem_*set_* references.
15069         (reset_opr_set_tables): Remove mem_*set_* references.
15070         (mark_call): Ditto.
15071         (mark_set): Ditto.  Also remove double sets of bitmaps for REG's.
15072         (mark_clobber): Ditto (on both parts, we double set here too).
15073         (expr_killed_p): Remove mem_set_in_block test.
15074         (compute_transp): Remove mem_set_in_block test.
15076         * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
15077         of edge, and removal of phi alternative to dump file.
15078         (ssa_ccp_substitute_constants): Add note about register now being
15079         constant, and which uses were replaced in what insns to dump file.
15081 2001-07-16  Andreas Jaeger  <aj@suse.de>
15083         * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
15084         variables of type HOST_WIDEST_INT.
15086         * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
15087         (__bb_exit_func): Correct type of count_max to avoid overflow.
15088         (num_digits): Handle long long argument.
15090         * combine.c (gen_lowpart_for_combine): Remove unused variable.
15092 2001-07-16  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
15094         * output.h (sdb_begin_function_line): Restore as an extern
15095         variable.
15096         * sdbout.c (sdb_begin_function_line): Make extern.
15098 2001-07-15  Richard Henderson  <rth@redhat.com>
15100         * machmode.def (Pmode): Redefine if GENERATOR_FILE.
15101         * genrecog.c (maybe_both_true_mode): New.
15102         (maybe_both_true_2): Use it.
15103         (write_switch): Don't put Pmode in a switch.
15104         * rtl.c (mode arrays): Don't explicitly size them.
15106 Sun Jul 15 14:07:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
15108         * toplev.c (rest_of_compilation): Fix register_life_up_to_date
15109         handling; move unconditional splitting before mode switching.
15111         * i386.md (type): Add fistp type.
15112         (i387, length_attr, scheduling definitions): Handle this type.
15113         (fix_trunc?f?i2): Revamp to use mode switching.
15114         (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
15115         * i386.h (fp_cw_mode): New enum
15116         (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
15117         MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
15119 Sun Jul 15 12:53:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15121         * Makefile.in (integrate.o): Add debug.h.
15122         * integrate.c (debug.h): Add.
15123         (output_inline_function): Save, reset, and restore debug_hooks.
15125 2001-07-15  Richard Henderson  <rth@redhat.com>
15127         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
15128         instead of COMPARE for the EQUIV expression.
15130 2001-07-15  Richard Henderson  <rth@redhat.com>
15132         * flow.c (redirect_edge_and_branch_force): Initialize
15133         global_live_at_start and global_live_at_end.
15134         (allocate_bb_life_data): Export.
15135         * basic-block.h (allocate_bb_life_data): Declare.
15136         * toplev.c (rest_of_compilation): Call it.
15138 2001-07-15  Richard Henderson  <rth@redhat.com>
15140         * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
15141         (alpha_tablejump_best_label): New.
15142         * config/alpha/alpha-protos.h: Declare them.
15143         * config/alpha/alpha.md: Use braced strings for code blocks.
15144         (tablejump_osf): Break out add with r29.
15145         (tablejump_osf_internal): Remove.
15146         (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
15147         use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
15149 Sun Jul 15 00:53:35 CEST 2001  Jan Hubicka  <jh@suse.cz>
15151         * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
15152         of the movable.
15154         * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
15156         * i386-protos.h (ix86_split_fp_branch): Update prototype.
15157         (ix86_fp_jump_nontrivial_p): New.
15158         * i386.md (fp_jcc_?): Update call of split_fp_branch;
15159         use ix86_fp_jump_nontrivial_p.
15160         * i386.c (ix86_fp_jump_nontrivial_p): New.
15161         (ix86_split_fp_branch): Accept code instead of rtx.
15162         (ix86_expand_compare): Expand comparison early in case
15163         doing so is resonably cheap.
15165 2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
15167         * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
15168         not 'machine'.
15169         (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
15170         (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
15172 2001-07-15  Neil Booth  <neil@daikokuya.demon.co.uk>
15174         * dbxout.c (dbxout_source_line): Make static, update prototype.
15175         (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
15176         (dbxout_init, dbxout_finish, dbxout_source_line,
15177         dbxout_begin_block, dbxout_end_block): Update for new prototypes.
15178         * dbxout.h (dbxout_source_line): Delete.
15179         * debug.c (debug_nothing_file, debug_nothing_file_int,
15180         debug_nothing_file_charstar_rtx): New.
15181         (do_nothing_debug_hooks): Update.
15182         (debug_nothing_void, debug_nothing_charstar_rtx,
15183         dwarf2out_end_epilogue): New.
15184         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15185         * debug.h (struct rtx_def): Declare.
15186         (gcc_debug_hooks): New hooks source_line, end_epilogue
15187         and end_function.
15188         (debug_nothing_void, debug_nothing_charstar_rtx,
15189         dwarf2out_end_epilogue): New.
15190         (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15191         * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
15192         (dwarf2_debug_hooks): Update.
15193         (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
15194         dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
15195         * dwarf2out.h (dwarf2out_source_line): Remove.
15196         * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
15197         Make static, update prototype.
15198         (dwarfout_init, dwarfout_finish, dwarfout_source_line,
15199         dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
15200         (dwarf_debug_hooks): Update.
15201         * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
15202         dwarfout_end_function): Remove.
15203         * final.c (profile_function): Use debug hooks for ending functions
15204         and epilogues.
15205         (output_source_line, final_end_function): Update prototype,
15206         use debug hooks.
15207         (final_start_function, final_scan_insn): Update.
15208         * output.h (sdb_begin_function_line): Remove.
15209         (final_end_function): Update prototype.
15210         * sdbout.c (sdb_begin_function_line): Make static.
15211         (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
15212         (sdbout_source_line): New.
15213         (sdbout_end_epilogue, sdbout_end_function): Make static, update
15214         prototypes.
15215         (sdb_debug_hooks): Update.
15216         (sdbout_init, sdbout_source_line,
15217         sdbout_begin_block, sdbout_end_block): Update for new prototypes.
15218         * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
15219         * toplev.c (compile_file, rest_of_compilation): Update.
15220         * tree.h (dwarf2out_end_epilogue): Move to debug.h.
15221         * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
15222         xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
15223         Update for prototype changes.
15224         * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
15225         xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
15227 2001-07-15  Richard Henderson  <rth@redhat.com>
15229         * config/alpha/alpha.h (TARGET_ABI_OSF): New.
15230         (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
15231         * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
15232         * config/alpha/alpha.c: Likewise.
15233         * config/alpha/alpha.md: Likewise.
15234         * config/alpha/alpha32.h: Likewise.
15235         * config/alpha/vms.h: Likewise.
15236         (OPEN_VMS): Remove.
15238 2001-07-14  Richard Henderson  <rth@redhat.com>
15240         * config/alpha/alpha.md: Use define_constants for unspec values.
15241         Substitute throughout.
15243 2001-07-14  Tim Josling  <tej@melbpc.org.au>
15245         * tree.def (EXPON_EXPR) remove. Never supported anyway.
15247 2001-07-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15249         * pa.md: Remove unused constraints from define_split's.
15251 2001-04-14  Richard Henderson  <rth@redhat.com>
15253         * ifcvt.c (find_cond_trap): Test for exit block.
15255 Sun Jul 15 00:50:20 CEST 2001  Jan Hubicka  <jh@suse.cz>
15257         Re-install recently reverted patch.
15258         * emit-rtl.c (try_split): Update mark_jump_label call.
15259         * flow.c (find_sub_basic_blocks): Likewise.
15260         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15261         jump_back_p): Kill.
15262         (mark_all_labels): Kill second parameter.
15263         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15264         (rebuild_jump_labels, jump_optimize_minimal): Update call
15265         of jump_optimize_1.
15266         (jump_optimize_1): Kill crossjumping code.
15267         (mark_jump_label): Kill cross_jump parameter.
15268         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15269         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15270         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15271          splitting.
15272         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15273         DFI_bpro.
15274         (dump_file_info): Likewise.
15275         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15276         reorganize passes to do reg-stack first, bb-reorder second.
15277         * invoke.texi (-d letters doc): Remove the jump2 pass.
15279 2001-07-14  Richard Henderson  <rth@redhat.com>
15281         * ifcvt.c (find_cond_trap): New.
15282         (find_if_header): Call it.
15283         (merge_if_block): Relax existing jump sanity check.
15284         * jump.c (jump_optimize_1): Remove conditional trap handling.
15286 2001-07-14  Alan Modra  <amodra@bigpond.net.au>
15288         * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
15289         millicode.
15290         (insn_refs_are_delayed): Correct comment.
15291         * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
15292         * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
15293         instead of r31.  Make associated insn !TARGET_64BIT, and
15294         provide an additional 64-bit insn that clobbers r2.
15295         (divsi3): Likewise.
15296         (udivsi3): Likewise.
15297         (modsi3): Likewise.
15298         (umodsi3): Likewise.
15300 Sat Jul 14 02:58:38 CEST 2001  Jan Hubicka  <jh@suse.cz>
15302         * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
15304         * flow.c (redirect_edge_and_branch_force, split_edge,
15305         try_crossjump_to_edge): Use set_block_for_new_insns.
15306         * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
15308 2001-07-13  H.J. Lu  (hjl@gnu.org)
15310         * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
15311         the correct patch.
15313 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
15315         Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
15317 2001-07-13  Joseph S. Myers  <jsm28@cam.ac.uk>
15319         * c-common.c (decl_attributes): Take a pointer to the node to
15320         which attributes are to be attached, and a flags argument.
15321         * c-common.h (enum attribute_flags): New.
15322         (decl_attributes): Update prototype.
15323         * c-decl.c (start_decl, push_parm_decl, finish_struct,
15324         finish_enum, start_function): Update calls to decl_attributes.
15325         * c-parse.in (component_declarator, component_notype_declarator,
15326         label): Update calls to decl_attributes.
15328 Fri Jul 13 23:04:00 2001  Denis Chertykov  <denisc@overta.ru>
15330         * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
15331         * config/avr/avr.c (legitimate_address_p): Return value changed
15332         from letter to register classes. For better debugging.
15334 2001-07-13  Kazu Hirata  <kazu@hxi.com>
15336         * jump.c (reversed_comparison_code_parts): Fix comment typos.
15338 2001-07-13  H.J. Lu  (hjl@gnu.org)
15340         * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
15342 2001-07-13  Marc Espie  <espie@cvs.openbsd.org>
15344         * config.gcc (*-*-openbsd*):  Add fragment to compile libgcc
15345         correctly for shared configurations.
15346         * config/t-libgcc-pic:  New.
15347         * config/{i386,m68k,sparc}/t-openbsd:  New.
15348         * config/openbsd.h:  Include cpu_spec in cpp_spec where needed.
15349         Support -shared.  Support debugging libraries with -g.
15350         * config/i386/openbsd.h:  Correct ASM_COMMENT_START.  Ensure dwarf2
15351         frame information does not emit pointer diffs.
15352         * config/sparc/openbsd.h:  Ensure dwarf2 frame information does not
15353         emit pointer diffs.
15355 2001-07-13  Geoffrey Keating  <geoffk@redhat.com>
15357         Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
15359 2001-07-13  David Edelsohn  <edelsohn@gnu.org>
15361         * combine.c (try_combine): Ensure const_int pow2 is positive.
15363 2001-07-13  Hartmut Penner  <hpenner@de.ibm.com>
15365         * config.gcc: Add configuration for s/390.
15366         * config/s390/s390.c: New. Subroutines for code generation.
15367         * config/s390/s390.h: New. Definitions for s/390.
15368         * config/s390/s390-protos.h: New. Prototypes.
15369         * config/s390/linux.h: New. Definitions for linux for s/390.
15370         * config/s390/linux64.h: New. Definitions for linux for zSeries.
15371         * config/s390/t-linux: New. Makefile fragment.
15372         * config/s390/s390.md: New. Machine description for s/390 and zSeries.
15373         * config/s390/fixdfdi.h: New. Fix L_fix*di.
15375 Fri Jul 13 14:46:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
15377         * emit-rtl.c (try_split): Update mark_jump_label call.
15378         * flow.c (find_sub_basic_blocks): Likewise.
15379         * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15380         jump_back_p): Kill.
15381         (mark_all_labels): Kill second parameter.
15382         (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15383         (rebuild_jump_labels, jump_optimize_minimal): Update call
15384         of jump_optimize_1.
15385         (jump_optimize_1): Kill crossjumping code.
15386         (mark_jump_label): Kill cross_jump parameter.
15387         * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15388         (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15389         * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15390          splitting.
15391         * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15392         DFI_bpro.
15393         (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15394         reorganize passes to do reg-stack first, bb-reorder second.
15395         * invoke.texi (-d letters doc): Remove the jump2 pass.
15397 2001-07-12  Steve Ellcey <sje@cup.hp.com>
15399         * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
15401 Thu Jul 12 17:57:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
15403         * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
15404         basic blocks.
15405         (verify_flow_info): Make diagnostics prettier.
15407 Thu Jul 12 16:48:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
15409         * flow.c (find_basic_blocks_1): Do not emit NOP after call.
15411         * flow.c (outgoing_edges_match): Return early if condition reversal
15412         failed.
15414 2001-07-06  Richard Sandiford  <rsandifo@redhat.com>
15416         * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
15417         (mips_move_2words): When splitting a move into two instructions,
15418         prefix the second address operand with '%D'.
15420 2001-07-12  Neil Booth  <neil@daikokuya.demon.co.uk>
15422         * Makefile.in (final.o): Depend on debug.h.
15423         * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
15424         (dbx_debug_hooks): Add new hooks.
15425         (xcoff_debug_hooks): New.
15426         * debug.c (debug_nothing_file_int_int): New.
15427         (do_nothing_debug_hooks): Update.
15428         * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
15429         (debug_nothing_file_int_int): New.
15430         * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
15431         static, update prototype.
15432         (dwarf2_debug_hooks): Update.
15433         * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
15434         * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
15435         static, update prototype.
15436         (dwarf_debug_hooks): Update.
15437         * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
15438         * final.c: Include debug.h.
15439         (final_scan_insn): Use debug hooks when beginning and ending blocks.
15440         * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
15441         static, update prototype.
15442         (sdb_debug_hooks): Update.
15443         * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
15444         * toplev.c: Distinguish between xcoff and dbx.
15446         * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
15447         Call all debug hooks, not just dwarf ones.
15449 2001-07-11  Timothy Wall  <twall@redhat.com>
15451         * config.gcc: Add configuration for AIX5/IA64.
15452         * config/ia64/aix.h: New.  AIX5/IA64-specific configuration.
15453         * config/ia64/crt[in].asm: New.  Generic static ctor/dtor
15454         support prefix/suffix code.
15455         * config/ia64/t-aix: New.  Makefile fragment.
15456         * config/ia64/unwind-aix.c: New.  Unwind table entry lookup.
15458 2001-07-11  Kazu Hirata  <kazu@hxi.com>
15460         * recog.c (validate_change): Fix a comment typo.
15462 2001-07-11  Neil Booth  <neil@daikokuya.demon.co.uk>
15464         * Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
15465         * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
15466         hooks directly.
15467         * dbxout.c (dbx_debug_hooks): Add new hooks.
15468         (dbxout_start_new_source_file): Rename dbxout_start_source_file,
15469         make static.
15470         (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
15471         make static.
15472         * dbxout.h (dbxout_start_new_source_file,
15473         dbxout_resume_previous_source_file): Delete.
15474         * debug.c (do_nothing_debug_hooks): Add new hooks.
15475         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15476         (debug_nothing_int_charstar, debug_nothing_int): New.
15477         * debug.h (gcc_debug_hooks): New hooks define, undef,
15478         start_source_file and end_source_file.
15479         (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
15480         (debug_nothing_int_charstar, debug_nothing_int): New.
15481         * dwarf2out.c (dwarf2_debug_hooks): Add new hooks.  Move into
15482         the conditionally compiled section.
15483         (dwarf2out_start_source_file, dwarf2out_end_source_file,
15484         dwarf2out_define, dwarf2out_undef): Make static.
15485         * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
15486         dwarf2out_define, dwarf2out_undef): Remove.
15487         * dwarfout.c (dwarf_debug_hooks): Add new hooks.
15488         (dwarfout_start_source_file, dwarfout_end_source_file,
15489         dwarfout_define, dwarfout_undef): Make static.
15490         (dwarfout_start_source_file_check,
15491         dwarfout_end_source_file_check): New.
15492         (dwarfout_define, dwarfout_finish): Update.
15493         * dwarfout.h (dwarfout_start_new_source_file,
15494         dwarfout_resume_previous_source_file, dwarfout_define,
15495         dwarfout_undef): Remove.
15496         * sdbout.c (sdb_debug_hooks): Add new hooks.
15497         (sdbout_start_new_source_file): Rename sdbout_start_source_file,
15498         make static.
15499         (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
15500         make static, take an arg.
15501         * sdbout.h (sdbout_start_new_source_file,
15502         sdbout_resume_previous_source_file): Delete.
15503         * toplev.c (debug_start_source_file, debug_end_source_file,
15504         debug_define, debug_undef): Delete.
15505         * toplev.h (debug_start_source_file, debug_end_source_file,
15506         debug_define, debug_undef): Delete.
15508         * java/jcf-parse.c: Include debug.h.
15509         (parse_class_file): Update to use debug hooks directly.
15510         * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
15512 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15514         * alias.c (set_mem_alias_set): New function.
15515         * rtl.h (set_mem_alias_set): Declare it.
15516         * builtins.c (expand_builtin_return_addr): Call it instead of
15517         using MEM_ALIAS_SET accessor.
15518         (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
15519         (get_memory_rtx, expand_builtin_va_arg): Likewise.
15520         (expand_builtin_va_copy):Likewise.
15521         * caller-save.c (setup_save_areas): Likewise.
15522         * calls.c (compute_argument_addresses): Likewise.
15523         * explow.c (set_mem_attributes): Likewise.
15524         * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
15525         (expand_assignment, store_constructor_field, store_field): Likewise.
15526         (expand_expr_unaligned): Likewise.
15527         * function.c (assign_stack_temp_for_type): Likewise.
15528         (put_reg_into_stack, gen_mem_addressof): Likewise.
15529         * ifcvt.c (noce_try_cmove_arith): Likewise.
15530         * reload1.c (reload, alter_reg): Likewise.
15531         * config/alpha/alpha.c (get_aligned_mem): Likewise.
15532         (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
15533         (alpha_expand_unaligned_store): Likewise
15534         (alpha_expand_unaligned_load_words): Likewise.
15535         (alpha_expand_unaligned_store_words): Likewise.
15536         (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
15537         (alpha_expand_epilogue): Likewise.
15538         * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
15539         * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
15540         * config/i386/i386.c (legitimize_pic_address): Likewise.
15541         * config/i960/i960.c (setup_incoming_varargs): Likewise.
15542         * config/ia64/ia64.c (spill_restore_mem): Likewise.
15543         * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
15544         * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
15545         * config/mips/mips.c (mips_va_arg): Likewise.
15546         * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
15547         * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
15548         * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
15549         (setup_incoming_varargs, rs6000_va_arg): Likewise.
15550         (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
15551         (rs6000_emit_epilogue): Likewise.
15552         * config/sh/sh.c (sh_builtin_saveregs): Likewise.
15553         * config/sparc/sparc.c (sparc_va_arg): Likewise.
15554         * config/v850/v850.c (v850_va_arg): Likewise.
15556 Wed Jul 11 21:27:25 CEST 2001  Jan Hubicka  <jh@suse.cz>
15558         * flow.c (merge_blocks_move_successor_nojumps): Do not crash
15559         when fallthru edge is present.
15560         (mege_blocks): Handle case where creation of jump insn
15561         is required.
15563         * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
15564         CLEANUP_POST_REGSTACK): New constants.
15565         * except.c (finish_eh_generation): Update call of cleanup_cfg,
15566         * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
15567         * output.h (cleanup_cfg): Update prototype.
15568         * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
15569         * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
15570         cleanup_cfg call; kill missleading comment.
15571         * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
15572         * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
15573         parameter; control optimizations performed using it.
15574         (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
15575         try_crossjump_bb): New functions.
15577 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15579         * pa.c (pa_output_function_prologue): Delete prototype.  Make function
15580         extern.
15581         * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
15582         pa_output_function_prologue.
15583         * pa-protos.h (pa_output_function_prologue): New prototype.
15585 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15587         * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
15588         and low to get correct sign extension in low+high test.
15590 2001-07-11  Janis Johnson <janis@us.ibm.com>
15592         * gcov.c (arcdata): Use gcov_type to fix branch percentage
15593         for large hit count.
15595         * profile.c (branch_prob): Fix .bbg info for computed gotos
15596         and C++ EH code.
15598 2001-07-11  Mark Mitchell  <mark@codesourcery.com>
15600         * stmt.c (parse_output_constraint): New function, split out
15601         from ...
15602         (expand_asm_operands): ... here.  Use parse_output_constraint.
15603         * tree.h (parse_output_constraint): Declare it.
15605 2001-07-11  Richard Henderson  <rth@redhat.com>
15607         * bitmap.c: Comment some functions; fiddle whitespace.
15608         (bitmap_free): Don't export.
15609         (bitmap_element_allocate): Use memset.
15610         * bitmap.h (bitmap_free): Don't declare.
15612 2001-07-11  Daniel Berlin  <dan@cgsoftware.com>
15614         * gcse.c, lcm.c, sched-deps.c:
15615         s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
15617         * flow.c (flow_loops_find): Free dom if we found no loops, since
15618         we aren't going to save it.
15620         * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
15621         done.
15623 Wed Jul 11 09:00:48 2001  Jeffrey A Law  (law@cygnus.com)
15625         * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
15627 Wed Jul 11 10:07:18 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15629         * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
15630         #ifndef DWARF2_DEBUGGING_INFO.
15632 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
15634         * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
15636 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
15638         * config/mips/mips.c (gen_int_relational): Tell the caller not to
15639         reverse a branch if a NE comparison is implemented with GTU.
15641 2001-07-11  Richard Sandiford  <rsandifo@redhat.com>
15642             H.J. Lu  <hjl@gnu.org>
15644         * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
15645         constant addresses.
15646         (call_internal2): Likewise.
15647         (call_value_internal1): Likewise.
15648         (call_value_internal2): Likewise.
15649         (call_value_multiple_internal1): Likewise.
15650         (call_value_multiple_internal2): Likewise.
15652 2001-07-10  Kazu Hirata  <kazu@hxi.com>
15654         * calls.c (emit_library_call_value_1): Fix a comment typo.
15655         * dwarf2out.c (mem_loc_descriptor): Likewise.
15656         * config/i386/i386.c (ix86_expand_aligntest): Likewise.
15658 2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>
15660         * simplify-rtx.c (simplify_subreg): Fix typo in comment
15662 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15664         * recog.c (offsettable_address_p): Handle LO_SUM case.
15665         * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
15666         instead of plus_constant.
15668 2001-07-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15670         * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
15671         fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
15673 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15675         * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
15676         adjust_address_nv instead of plus_constant.
15678 2001-07-10  Neil Booth  <neil@daikokuya.demon.co.uk>
15680         * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
15681         dwarf2out.o): Depend on debug.h, wrap long lines.
15682         * dbxout.c: Include debug.h.
15683         (dbx_debug_hooks): New.
15684         (dbxout_init): Make static, take just 2 args.
15685         (dbxout_finish): Make static.
15686         * dbxout.h (dbxout_init, dbxout_finish): Delete.
15687         * debug.c: New file.
15688         * debug.h: New file.
15689         * dwarf2out.c: Include debug.h.
15690         (dwarf2_debug_hooks): New.
15691         (dwarf2out_init): Make static.
15692         (dwarf2out_finish): Make static, take 2 args.
15693         * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
15694         * dwarfout.c: Include debug.h.
15695         (dwarf_debug_hooks): New.
15696         (dwarfout_init): Make static.
15697         (dwarfout_finish): Make static, take 2 args.
15698         * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
15699         * sdbout.c: Include debug.h.
15700         (sdb_debug_hooks): New.
15701         (sdbout_init): Make static, take 2 args.
15702         * sdbout.h (sdbout_init): Delete.
15703         * toplev.c: Include debug.h.
15704         (debug_hooks): New.
15705         (compile_file): Set deubg_hooks based on command line options.
15706         Use the hooks unconditionally rather than conditional compilation.
15708 Tue Jul 10 09:04:45 2001  Jeffrey A Law  (law@cygnus.com)
15710         * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
15711         first_insn_after_basic_block_note instead.
15713         * df.c (df_bb_refs_unlink): #if 0 out for now.
15715 2001-07-10  David Billinghurst <David.Billinghurst@riotinto.com
15717         * ssa.h: Add prototype for ssa_const_prop
15718         * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
15719         (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
15720         (ssa_fast_dce): Remove unused variable
15722 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
15724         * diagnostic.c (finish_diagnostic): Rename to
15725         diagnostic_finish. Make it take an 'output_buffer *'.  Adjust
15726         calls thourghout.
15728 2001-07-10  Jason Merrill  <jason_merrill@redhat.com>
15730         * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
15731         .loc support.
15733         * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
15734         (dump_file): Only pad the demangled name with spaces if the
15735         mangled name was padded with spaces.
15737 2001-07-10  Bernd Schmidt  <bernds@redhat.com>
15739         * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
15740         edge detection.
15742 Tue Jul 10 07:27:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15744         * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
15745         extraction if no direct load if either EXPAND_CONST_ADDRESS or
15746         EXPAND_INITIALIZER.
15748         * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
15749         whether can put offset inside LO_SUM to check mode alignment, not size.
15751 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
15753         * doc/tm.texi (Misc): Fix thinko.
15755 2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
15757         * regmove.c (replace_in_call_usage): Fix warnings.
15758         * sched-deps.c (add_dependence): Fix warnings.
15759         * simplify-rtx.c (simplify_subreg): Likewise.
15760         Return NULL_RTX instead of NULL.
15762         * reg-stack.c (emit_swap_insn): Eliminate warnings.
15763         (subst_asm_stack_regs): Likewise.
15765         * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
15766         warnings.
15768         * dwarf2out.c (output_call_frame_info): Declare i as int.
15769         (build_abbrev_table): Declare n_alloc as int.
15770         (dwarf2out_finish): Initialize die.
15771         * except.c: Declare sjlj_funcdef_number as unsigned.
15772         (connect_post_landing_pads): Declare j as unsigned.
15773         (convert_to_eh_region_ranges): Initialize call_site.
15774         (output_function_exception_table): Initialize tt_format_size.
15775         * expr.c (move_by_pieces_1): Initialize to1.
15776         (store_constructor): Initialize minelt and maxelt.
15777         * flow.c (mark_regs_live_at_end): Declare i as unsigned.
15778         * function.c (instantiate_decls): Avoid signed/unsigned warning.
15780         * c-decl.c (combine_parm_decls): Unused, remove.
15781         * c-tree.h: Remove prototype for combine_parm_decls.
15783         * reload.c (push_reload): Fix warning.
15784         (regno_clobbered_p): Likewise.
15785         * reload1.c (replace_pseudos_in_call_usage): Likewise.
15786         (reload_combine): Likewise.
15788         * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
15789         * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
15790         warnings.
15791         * bitmap.c (bitmap_operation): Change user.
15792         * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
15794 2001-07-10  Eric Christopher  <echristo@redhat.com>
15796         * config/mips/mips.c (override_options): Fix typo.
15798 2001-07-09  Stan Shebs  <shebs@apple.com>
15800         * target.h (struct gcc_target): New fields init_builtins and
15801         expand_builtin.
15802         * target-def.h (TARGET_INIT_BUILTINS): New macro.
15803         (TARGET_EXPAND_BUILTIN): New macro.
15804         (TARGET_INITIALIZER): Add them.
15805         * builtins.c: Include target.h.
15806         (expand_builtin): Use targetm.expand_builtin.
15807         (default_init_builtins): New function.
15808         (default_expand_builtin): New function.
15809         * expr.h (default_init_builtins): Declare.
15810         (default_expand_builtin): Declare.
15811         * c-common.c (c_common_nodes_and_builtins): Use
15812         targetm.init_builtins.
15813         * defaults.h (MD_INIT_BUILTINS): Remove.
15814         * Makefile.in (builtins.o): Depend on target.h.
15816         * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
15817         (TARGET_EXPAND_BUILTIN): Define.
15818         * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
15819         (MD_EXPAND_BUILTIN): Remove.
15821         * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
15822         (TARGET_EXPAND_BUILTIN): Define.
15823         (c4x_init_builtins): Make endlink arg a local.
15824         (c4x_print_operand): Fix typos in adjust_address usages.
15825         * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
15826         * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
15827         (MD_EXPAND_BUILTIN): Remove.
15829         * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
15830         (TARGET_EXPAND_BUILTIN): Define.
15831         (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
15832         (ix86_init_builtins): Call new function only if TARGET_MMX.
15833         * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
15834         * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
15835         (MD_EXPAND_BUILTIN): Remove.
15837         * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
15838         (TARGET_EXPAND_BUILTIN): Define.
15839         * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
15840         (MD_EXPAND_BUILTIN): Remove.
15842         * doc/tm.texi: Document these changes.
15844 2001-07-09  Diego Novillo  <dnovillo@redhat.com>
15846         * basic-block.h (tree_node): Forward declare if needed.
15847         (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
15848         (BLOCK_HEAD_TREE): Define.
15849         (BLOCK_END_TREE): Define.
15850         (struct loops): Rename field 'tree' to 'tree_root'.
15851         * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
15852         'end_tree'.
15853         (flow_loops_tree_build): Rename reference to field 'tree' to
15854         'tree_root'.
15855         (flow_loops_level_compute): Ditto.
15856         * predict.c (estimate_bb_frequencies): Ditto.
15857         * tree.h (struct tree_common): Add field 'aux'.
15859 2001-07-09  Stan Shebs  <shebs@apple.com>
15861         * config/darwin.c (darwin_encode_section_info): Don't mark any
15862         DECL_EXTERNAL node as defined.
15864 2001-07-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15866         * pa.c (pa_init_machine_status, pa_mark_machine_status,
15867         pa_free_machine_status, hppa_init_pic_save): Delete.
15868         (hppa_pic_save_rtx): New.  Use get_hard_reg_initial_val.
15869         (hppa_profile_hook): Use hppa_pic_save_rtx.
15870         * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
15871         hppa_init_pic_save): Delete.
15872         (hppa_pic_save_rtx): Declare.
15873         * pa.md (call, call_value, sibcall, sibcall_value,
15874         builtin_setjmp_receiver): Use hppa_pic_save_rtx.
15876 2001-07-09  Kazu Hirata  <kazu@hxi.com>
15878         * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
15879         * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
15881 2001-07-09  Andreas Jaeger  <aj@suse.de>
15883         * output.h: Add declaration of final_forward_branch_p.
15885         * config/i386/i386.c (output_fix_trunc): Remove unused variable.
15887         * varray.c: Include errors.h for internal_error and trim_filename
15888         declarations.
15890         * Makefile.in (varray.o): Add errors.h.
15892 2001-07-09  Toon Moene  <toon@moene.indiv.nluug.nl>
15894         * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
15895         * optabs.c (have_add2_insn): Check whether the add insn chosen
15896         really accepts the operands.  (have_sub2_insn): Ditto for sub insn.
15897         * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
15899 Mon Jul  9 13:26:40 2001  Jeffrey A Law  (law@cygnus.com)
15901         * Makefile.in (OBJS): Add ssa-ccp.o
15902         (ssa-ccp.o): Add dependencies.
15903         * toplev.c (DFI_ssa_ccp): New dump file enum.
15904         (dump_file): Add entry for dumping after SSA CCP.
15905         (flag_ssa_ccp): New flag variable.
15906         (f_options): Add -fssa-ccp.
15907         (rest_of_compilation): Run SSA CCP if requested.
15908         * timevar.def (TV_SSA_CCP): New timevar.
15909         * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
15910         * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
15911         Fix minor typo in SSA DCE documentation.
15912         * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
15913         Add documentation for new dump option.  Renumber dump files
15914         appropriately.
15916 Mon Jul  9 21:36:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
15918         * emit-rtl.c (gen_highpart_mode): New.
15919         * rtl.h (gen_highpart_mode): Declare.
15920         * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
15921         operand can be VOIDmode constant.
15923 Mon Jul  9 17:23:10 CEST 2001  Jan Hubicka  <jh@suse.cz>
15925         * flow.c (redirect_edge_and_branch_force): New.
15926         (can_fallthru): Ensure that basic blocks are succeeding.
15927         (try_optimize_cfg): Do not delete basic block if it is the last one.
15929         * flow.c (try_redirect_by_replacing_jump): Do not remove
15930         jumps with side effects, unlink chain on fallthru edge;
15931         set block for new jump instruction; avoid basic block to
15932         over by line number note.
15934         * flow.c (try_simplify_condjump): Verify that the condjump
15935         is not always falling through.
15937         Re-install patch:
15938         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
15940         * flow.c (forwarder_block_p): Fix for fallthru blocks.
15941         (try_redirect_by_replacing_jump): Update properly the count
15942         and frequency information.
15944 Mon Jul  9 06:41:07 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15946         * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
15947         address that is a LO_SUM specially.
15948         * explow.c (plus_constant_wide, case LO_SUM): Deleted.
15950         * c-lang.c (start_cdtor): Remove extra parameter from start_function.
15952         * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
15953         (operand_subword): Use them.
15954         (change_address_1): Renamed from change_address; new arg VALIDATE.
15955         * expr.h: Reflect above changes; change_address now macro.
15956         * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
15957         making MEM.
15958         * cselib.c (add_mem_for_addr): Likewise.
15959         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
15960         * regmove.c (try_apply_stack_adjustment): Likewise.
15961         * reload.c (push_reload, make_memloc): Likewise.
15962         * reload1.c (eliminate_regs): Likewise.
15963         * simplify-rtx.c (simplify_replace_rtx): Likewise.
15964         * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
15965         adjust_addess.
15966         * combine.c (make_extraction, simplify_shift_const): Likewise.
15967         (gen_lowpart_for_combine): Likewise.
15968         * cse.c (gen_lowpart_if_possible): Likewise.
15969         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
15970         * expr.c (expand_expr, case COMPONENT_REF): Likewise.
15971         * optabs.c (gen_move_insn): Likewise.
15972         * reload1.c (alter_reg): Likewise.
15973         * simplify-rtx.c (simplify_subreg): Likewise.
15974         * stmt.c (expand_anon_union_decl): Likewise.
15975         * recog.c (validate_replace_rtx_1): Likewise.
15976         (expr.h): Include.
15977         * Makefile.in (recog.o): Add $(EXPR_H).
15978         * explow.c (stabilize): Call replace_equiv_address.
15979         * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
15980         * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
15982 2001-07-03  Andrew Haley  <aph@redhat.com>
15984         * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
15985         the mode of the memory location.
15987 2001-07-09  Bo Thorsen  <bo@suse.co.uk>
15989         * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
15991 2001-07-09  Neil Booth  <neil@daikokuya.demon.co.uk>
15993         * final.c (output_addr_const): Use target opening and
15994         closing parentheses.
15995         * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
15996         defaults, add to TARGET_ASM_OUT.
15997         * target.h (struct gcc_target): Add open_paren and close_paren.
15998         * doc/md.texi: Update.
15999         * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
16000         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
16001         TARGET_ASM_CLOSE_PAREN.
16002         * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
16003         Override.
16004         * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
16005         Override.
16006         * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
16007         * config/a29k/a29k.h: Similarly.
16008         * config/alpha/alpha.h: Similarly.
16009         * config/arc/arc.h: Similarly.
16010         * config/arm/aof.h: Similarly.
16011         * config/arm/aout.h: Similarly.
16012         * config/avr/avr.h: Similarly.
16013         * config/c4x/c4x.h: Similarly.
16014         * config/clipper/clipper.h: Similarly.
16015         * config/convex/convex.h: Similarly.
16016         * config/d30v/d30v.h: Similarly.
16017         * config/dsp16xx/dsp16xx.h: Similarly.
16018         * config/elxsi/elxsi.h: Similarly.
16019         * config/fr30/fr30.h: Similarly.
16020         * config/h8300/h8300.h: Similarly.
16021         * config/i370/i370.h: Similarly.
16022         * config/i386/i386.h: Similarly.
16023         * config/i860/i860.h: Similarly.
16024         * config/i960/i960.h: Similarly.
16025         * config/ia64/ia64.h: Similarly.
16026         * config/m32r/m32r.h: Similarly.
16027         * config/m68hc11/m68hc11.h: Similarly.
16028         * config/m68k/m68k.h: Similarly.
16029         * config/m88k/m88k.h: Similarly.
16030         * config/mcore/mcore.h: Similarly.
16031         * config/mips/mips.h: Similarly.
16032         * config/mn10200/mn10200.h: Similarly.
16033         * config/mn10300/mn10300.h: Similarly.
16034         * config/ns32k/ns32k.h: Similarly.
16035         * config/pa/pa.h: Similarly.
16036         * config/pdp11/pdp11.h: Similarly.
16037         * config/pj/pj.h: Similarly.
16038         * config/romp/romp.h: Similarly.
16039         * config/rs6000/rs6000.h: Similarly.
16040         * config/sh/sh.h: Similarly.
16041         * config/sparc/sparc.h: Similarly.
16042         * config/v850/v850.h: Similarly.
16043         * config/vax/vax.h: Similarly.
16044         * config/we32k/we32k.h: Similarly.
16046 2001-07-09  Joseph S. Myers  <jsm28@cam.ac.uk>
16048         * doc/c-tree.texi: Document representation of attributes.
16050 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16052         * doc/tm.texi: Update some places for the rename of target to
16053         targetm.  Fix typo.
16055 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16057         * target.h (struct gcc_target): Add insert_attributes.
16058         * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
16059         (TARGET_INITIALIZER): Update.
16060         * tree.c, tree.h (default_insert_attributes): New function.
16061         Update comments on other default functions to refer to targetm,
16062         not target.
16063         * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
16064         TARGET_INSERT_ATTRIBUTES.
16065         (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
16066         * c-common.c (decl_attributes): Use targetm.insert_attributes.
16067         Don't use PRAGMA_INSERT_ATTRIBUTES.
16068         * Makefile.in (c-common.o): Depend on $(TARGET_H).
16069         * c-decl.c (start_decl, start_function): Don't call
16070         SET_DEFAULT_DECL_ATTRIBUTES.
16071         * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16072         * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
16073         declare.
16074         * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
16075         (c4x_check_attribute): Avoid modifying attribute list itself.
16076         (c4x_set_default_attributes): Rename to c4x_insert_attributes.
16077         Make static.
16078         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
16079         * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
16080         declare.
16081         * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
16082         (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
16083         Make static.
16084         * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16085         * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
16086         declare.
16087         * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
16088         (v850_set_default_decl_attr): Rename to v850_insert_attributes.
16089         Adjust parameters.  Make static.
16091 2001-07-08  Joseph S. Myers  <jsm28@cam.ac.uk>
16093         * c-common.c (decl_attributes): Only take a single attributes
16094         parameter.
16095         * c-common.h (decl_attributes): Update prototype.
16096         * c-decl.c (start_decl, start_function): Only take a single
16097         attributes parameter.  Update calls to decl_attributes.
16098         (finish_struct, finish_enum): Update calls to decl_attributes.
16099         (push_parm_decl): Expect unified list of attributes.  Update call
16100         to decl_attributes.
16101         * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
16102         notype_nested_function, component_declarator,
16103         component_notype_declarator, label): Update calls to
16104         decl_attributes.
16105         (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
16106         lists that are passed to push_parm_decl.
16107         * c-tree.h (start_function, start_decl): Update prototypes.
16108         * config/sh/sh-protos.h, config/sh/sh.c
16109         (sh_pragma_insert_attributes): Only take a single attributes
16110         parameter.
16111         * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
16112         * doc/tm.texi (INSERT_ATTRIBUTES): Update.
16113         * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
16114         build_module_descriptor, generate_static_references,
16115         generate_strings, build_selector_translation_table,
16116         generate_descriptor_table, generate_protocols,
16117         generate_ivars_list, generate_dispatch_table,
16118         generate_protocol_list, generate_category,
16119         generate_shared_structures, really_start_method, add_objc_decls,
16120         generate_classref_translation_entry): Update calls to start_decl
16121         and start_function.
16122         (build_tmp_function_decl, start_method_def): Unify attribute lists
16123         that are passed to push_parm_decl.
16125 2001-07-08  Neil Booth  <neil@daikokuya.demon.co.uk>
16127         * final.c (no_asm_to_stream): New.
16128         (final_scan_insn): Use target structures for prologue ends
16129         and epilogue starts.
16130         * output.h (no_asm_to_stream): New.
16131         * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
16132         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
16133         (TARGET_ASM_OUT): Update.
16134         * target.h (struct gcc_target): New members function_end_prologue
16135         and function_begin_epilogue.
16136         * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
16137         * config/alpha/alpha-protos.h (output_end_prologue): Delete.
16138         * config/alpha/alpha.c (output_end_prologue): Rename to
16139         alpha_output_function_end_prologue.  Use in target struct
16140         and make static.
16141         * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
16142         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
16143         * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
16144         ia64_output_function_end_prologue.  Use in target struct
16145         and make static.
16146         (ia64_function_prologue, ia64_funciton_epilogue): Rename
16147         mistyped prototypes.
16148         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
16149         * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
16150         Delete.
16151         * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
16152         an use in target struct, make static.
16153         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
16154         Delete.
16156 2001-07-08  Richard Henderson  <rth@redhat.com>
16158         * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
16160 2001-07-08  Richard Henderson  <rth@redhat.com>
16162         * config/i386/i386.md: Remove constraints strings from define_split
16163         and define_peephole2 patterns.
16164         (eh_return_si, eh_return_di): Split eh_return_1 for modes.
16165         (eh_return): Use them.
16167 2001-07-08  Richard Henderson  <rth@redhat.com>
16169         * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
16170         Document MD_FALLBACK_FRAME_STATE_FOR.
16172 2001-07-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
16174         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
16175         Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
16176         elimination.
16177         * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
16179 2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>
16181         * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
16182         of the label inside NAME as opposed to just the end of NAME.
16184 2001-07-07  Neil Booth  <neil@daikokuya.demon.co.uk>
16186         * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
16187         * config/alpha/alpha.c (alpha_init_machine_status,
16188         alpha_mark_machine_status, alpha_free_machine_status): Delete.
16189         (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
16190         (vms_valid_decl_attribute_p): Make static, conditionally compile.
16191         * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
16193 2001-07-06  Stan Shebs  <shebs@apple.com>
16195         * target.h (targetm): Rename global from "target", so as not to
16196         conflict with local variables.
16197         * c-decl.c: Ditto.
16198         * c-typeck.c: Ditto.
16199         * final.c: Ditto.
16200         * tree.c: Ditto.
16201         * cp/decl.c: Ditto.
16202         * cp/decl2.c: Ditto.
16203         * cp/typeck.c: Ditto.
16204         * 1750a/1750a.c: Ditto.
16205         * a29k/a29k.c: Ditto.
16206         * arc/arc.c: Ditto.
16207         * arm/arm.c: Ditto.
16208         * avr/avr.c: Ditto.
16209         * clipper/clipper.c: Ditto.
16210         * convex/convex.c: Ditto.
16211         * d30v/d30v.c: Ditto.
16212         * dsp16xx/dsp16xx.c: Ditto.
16213         * elxsi/elxsi.c: Ditto.
16214         * fr30/fr30.c: Ditto.
16215         * h8300/h8300.c: Ditto.
16216         * i370/i370.c: Ditto.
16217         * i386/i386.c: Ditto.
16218         * i860/i860.c: Ditto.
16219         * i960/i960.c: Ditto.
16220         * ia64/ia64.c: Ditto.
16221         * m32r/m32r.c: Ditto.
16222         * m68hc11/m68hc11.c: Ditto.
16223         * m68k/m68k.c: Ditto.
16224         * m88k/m88k.c: Ditto.
16225         * mips/mips.c: Ditto.
16226         * ns32k/ns32k.c: Ditto.
16227         * pa/pa.c: Ditto.
16228         * pdp11/pdp11.c: Ditto.
16229         * romp/romp.c: Ditto.
16230         * rs6000/rs6000.c: Ditto.
16231         * sh/sh.c: Ditto.
16232         * sparc/sparc.c: Ditto.
16233         * vax/vax.c: Ditto.
16234         * we32k/we32k.c: Ditto.
16235         * doc/tm.texi: Update the manual to match.
16237 2001-07-06  Richard Henderson  <rth@redhat.com>
16239         * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
16240         DWARF2_UNWIND_INFO not just whether it is defined.
16242 2001-07-06  Diego Novillo  <dnovillo@redhat.com>
16244         * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
16245         call to simplify_binary_operation returns a new pattern.
16247 2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
16249         * glimits.h (__SHRT_MAX__): New.
16250         (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
16251         (SHRT_MAX): Define in terms of __SHRT_MAX__.
16253 2001-07-06  Jan van Male  <jan.vanmale@fenk.wau.nl>
16255         * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
16256         avoid warnings.
16258 2001-07-06  Richard Henderson  <rth@redhat.com>
16260         * bitmap.c (bitmap_release_memory): Move adjacent to the
16261         allocation functions.
16262         (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
16263         the implementation.  Binary search for the set bit.
16264         (bitmap_union_of_diff): Allocate the temporary on the stack
16265         instead of using xmalloc.
16267 2001-07-06  Richard Henderson  <rth@redhat.com>
16269         * genrecog.c (validate_pattern): Warn for constraints in
16270         define_{expand,split,peephole2}.  Remove strict_low_part
16271         before looking up match_dup.
16273 2001-07-06  DJ Delorie  <dj@redhat.com>
16275         * doc/gcc.texi (Makefile): Rename to be a more general purpose
16276         chapter about various build hints and history.  Add section
16277         talking about the various types of native and cross builds.
16279 2001-07-06  Neil Booth  <neil@daikokuya.demon.co.uk>
16281         * Makefile.in (final.o): Depend on target.h.
16282         * final.c: Include target.h.
16283         (default_function_pro_epilogue): New.
16284         (final_start_function): Use target structure for function prologues.
16285         (final_end_function): Use target structure for function epilogues.
16286         * fold-const.c (real_hex_to_f): Constify s and p.
16287         * output.h (default_function_pro_epilogue): New.
16288         * real.h (real_hex_to_f): Update prototype.
16289         * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
16290         TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
16291         (TARGET_INITIALIZER): Update.
16292         * target.h (gcc_target): Add struct asm_out.
16293         * doc/tm.texi: Update.
16295 config:
16296         Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
16297         TARGET_ASM_FUNCTION_EPILOGUE.  Move macro code to functions
16298         in cpu/cpu.c, or rename old functions consistently.  Take
16299         a HOST_WIDE INT not an int as the SIZE parameter.  Remove now
16300         redundant macros and prototypes.  Make new functions static.
16302         * 1750a/1750a.c: Similarly.
16303         * 1750a/1750a.h: Similarly.
16304         * a29k/a29k-protos.h: Similarly.
16305         * a29k/a29k.c: Similarly.
16306         * a29k/a29k.h: Similarly.
16307         * arc/arc-protos.h: Similarly.
16308         * arc/arc.c: Similarly.
16309         * arc/arc.h: Similarly.
16310         * arm/arm-protos.h: Similarly.
16311         * arm/arm.c: Similarly.
16312         * arm/arm.h: Similarly.
16313         * avr/avr-protos.h: Similarly.
16314         * avr/avr.c: Similarly.
16315         * avr/avr.h: Similarly.
16316         * clipper/clipper-protos.h: Similarly.
16317         * clipper/clipper.c: Similarly.
16318         * clipper/clipper.h: Similarly.
16319         * convex/convex.c: Similarly.
16320         * convex/convex.h: Similarly.
16321         * d30v/d30v-protos.h: Similarly.
16322         * d30v/d30v.c: Similarly.
16323         * d30v/d30v.h: Similarly.
16324         * d30v/d30v.md: Similarly.
16325         * dsp16xx/dsp16xx-protos.h: Similarly.
16326         * dsp16xx/dsp16xx.c: Similarly.
16327         * dsp16xx/dsp16xx.h: Similarly.
16328         * elxsi/elxsi.c: Similarly.
16329         * elxsi/elxsi.h: Similarly.
16330         * fr30/fr30.c: Similarly.
16331         * fr30/fr30.md: Similarly.
16332         * h8300/h8300-protos.h: Similarly.
16333         * h8300/h8300.c: Similarly.
16334         * h8300/h8300.h: Similarly.
16335         * i370/i370-protos.h: Similarly.
16336         * i370/i370.c: Similarly.
16337         * i370/i370.h: Similarly.
16338         * i386/i386.c: Similarly.
16339         * i386/osf1elf.h: Similarly.
16340         * i386/osfrose.h: Similarly.
16341         * i860/i860-protos.h: Similarly.
16342         * i860/i860.c: Similarly.
16343         * i860/i860.h: Similarly.
16344         * i960/i960-protos.h: Similarly.
16345         * i960/i960.c: Similarly.
16346         * i960/i960.h: Similarly.
16347         * ia64/ia64-protos.h: Similarly.
16348         * ia64/ia64.c: Similarly.
16349         * ia64/ia64.h: Similarly.
16350         * m32r/m32r-protos.h: Similarly.
16351         * m32r/m32r.c: Similarly.
16352         * m32r/m32r.h: Similarly.
16353         * m68hc11/m68hc11-protos.h: Similarly.
16354         * m68hc11/m68hc11.c: Similarly.
16355         * m68hc11/m68hc11.h: Similarly.
16356         * m68k/crds.h: Similarly.
16357         * m68k/dpx2.h: Similarly.
16358         * m68k/m68k-protos.h: Similarly.
16359         * m68k/m68k.c: Similarly.
16360         * m68k/m68k.h: Similarly.
16361         * m68k/news.h: Similarly.
16362         * m88k/m88k-protos.h: Similarly.
16363         * m88k/m88k.c: Similarly.
16364         * m88k/m88k.h: Similarly.
16365         * mips/mips-protos.h: Similarly.
16366         * mips/mips.c: Similarly.
16367         * mips/mips.h: Similarly.
16368         * ns32k/merlin.h: Similarly.
16369         * ns32k/ns32k.c: Similarly.
16370         * ns32k/ns32k.h: Similarly.
16371         * ns32k/tek6000.h: Similarly.
16372         * pa/pa-protos.h: Similarly.
16373         * pa/pa.c: Similarly.
16374         * pa/pa.h: Similarly.
16375         * pdp11/2bsd.h: Similarly.
16376         * pdp11/pdp11-protos.h: Similarly.
16377         * pdp11/pdp11.c: Similarly.
16378         * pdp11/pdp11.h: Similarly.
16379         * romp/romp-protos.h: Similarly.
16380         * romp/romp.c: Similarly.
16381         * romp/romp.h: Similarly.
16382         * rs6000/rs6000-protos.h: Similarly.
16383         * rs6000/rs6000.c: Similarly.
16384         * rs6000/rs6000.h: Similarly.
16385         * rs6000/sysv4.h: Similarly.
16386         * sh/sh-protos.h: Similarly.
16387         * sh/sh.c: Similarly.
16388         * sh/sh.h: Similarly.
16389         * sparc/sparc-protos.h: Similarly.
16390         * sparc/sparc.c: Similarly.
16391         * sparc/sparc.h: Similarly.
16392         * vax/vax.c: Similarly.
16393         * vax/vax.h: Similarly.
16394         * vax/vms.h: Similarly.
16395         * we32k/we32k.c: Similarly.
16396         * we32k/we32k.h: Similarly.
16398 Fri Jul  6 11:47:59 2001  Jeffrey A Law  (law@cygnus.com)
16400         * basic-block.h (first_insn_after_basic_block_note): Declare.
16401         * flow.c (first_insn_after_basic_block_note): Define.  Moved
16402         from...
16403         * ssa.c (first_insn_after_basic_block_note): Remove.
16404         * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
16405         necessary.
16406         (ssa_eliminate_dead_code): Properly update the CFG and PHI
16407         nodes when we find a dead conditional branch.  Insert BARRIERs
16408         after any blocks with no successors, but which do not have
16409         any BARRIERs.
16411 2001-07-06  Zack Weinberg  <zackw@stanford.edu>
16413         * varray.c (varray_check_failed): Use internal_error.
16415 2001-07-05  Andrew Haley  <aph@redhat.com>
16417         * Makefile.in (LIB2_DIVMOD_FUNCS): New.
16418         (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
16419         * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
16421 2001-07-02  Jason Merrill  <jason_merrill@redhat.com>
16423         * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
16424         reference if the target constant is also a SYMBOL_REF.
16426 2001-07-05  Eric Christopher  <echristo@redhat.com>
16428         * config/mips/mips.h (MASK_MIPS3900): Remove.
16429         (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
16430         MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
16431         (TARGET_MIPS3900): Change to use mips_arch.
16432         (TARGET_MIPS4000): New.
16433         (TARGET_MIPS4100): New.
16434         (TARGET_MIPS4300): New.
16435         (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
16436         (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
16437         for -mipsX.
16438         (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
16439         (ISA_HAS_BRANCHLIKELY): To here.
16440         (CC1_CPU_SPEC):  New.
16441         (CC1_SPEC): Use here.  Remove 4650 and 3900 options.
16442         (mips_arch_string): Declare.
16443         (mips_arch): Declare.
16444         (TARGET_OPTIONS): Add -march and -mtune.
16446         * config/mips/mips.c (mips_arch_string): New.
16447         (mips_arch): New.
16448         (override_options): Handle -march for codegen and -mtune
16449         for scheduling. Use mips_arch. Move tx39 target default here.
16450         (mips_parse_cpu): Move error message to override_options.
16452         * config/mips/r3900.h (TARGET_DEFAULT): Remove.
16454         * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
16456         * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
16457         (MIPS Options): Ditto.  Change mcpu entry to historical text.
16459 2001-07-05  H.J. Lu  (hjl@gnu.org)
16461         * config/mips/mips.c (mips_parse_cpu): New function to parse
16462         -march=*/-mcpu=*.
16464 2001-07-05  Jim Wilson  <wilson@redhat.com>
16466         * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
16467         * config/ia64/t-ia64: Likewise.
16468         (LIB1ASMFUNCS): Update comment.
16470 2001-07-05  David Edelsohn  <edelsohn@gnu.org>
16472         * doc/install.texi (Install GCC: Binaries): Fix typo.
16474 2001-07-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
16476         * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
16477         reference using the stack pointer, adjust it since we push Y
16478         temporarily.
16479         ("*ashrsi3"): Likewise.
16480         ("*lshrsi3"): Likewise.
16482 2001-07-05  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
16484         * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
16485         when -fomit-frame-pointer is used.
16487 2001-07-05  Jeffrey Oldham  <oldham@codesourcery.com>
16489         * flow.c: Reverse Jan Hubicka's patch of 02July2001.
16490         (try_redirect_by_replacing_jump): Reverse updating properly the
16491         count and frequency information.  Reverse removing cc0 setter.
16492         (forwarder_block_p): Reverse fixing for fallthru blocks.
16494 2001-07-05  DJ Delorie  <dj@redhat.com>
16496         * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
16497         (translate_options): If the above is defined, use it to map
16498         given options to new options.
16499         * doc/tm.texi: Document it.
16501 2001-07-05  Brad Lucier <lucier@math.purdue.edu>
16502             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16504         * doc/invoke.texi (Optimize Options): Document that -fgcse may
16505         cause programs using computed gotos to run more slowly.
16507 2001-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16509         * doc/install.texi (Specific): Markup, spelling and typo fixes.
16510         Fixed sorting.
16511         Consistently require binutils 2.11.2, not prereleases.
16512         (Specific, decstation-*): Canonicalize as mips-dec-*.
16513         (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
16514         always necessary.
16515         (Specific, m68k-altos): Removed reference to README.altos, deleted.
16516         (Specific, mips-*): Reword MIPS C compiler requirements.
16517         (Specific, powerpc*-*-*): New, mention --with-cpu once.
16518         (Specific, sunv5): Removed, obsolete.
16520 2001-07-05  Nathan Sidwell  <nathan@codesourcery.com>
16522         * dwarf2out.c (output_loc_list): Use an all ones mask for
16523         .text asm output and don't rely on long long
16524         literals. Reformat some long lines.
16526 2001-07-05  Andreas Jaeger  <aj@suse.de>
16528         * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
16529         section.
16531 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
16533         * dwarf2out.c (dwarf2out_define): Update comment.
16534         (dwarf2out_undef): Ditto.
16535         (dwarf2out_start_source_file): Ditto.
16536         (dwarf2out_end_source_file): Ditto.
16537         (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
16538         since we never call the start/end debug hook for the primary file.
16540 2001-07-04  Kazu Hirata  <kazu@hxi.com>
16542         * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
16543         from shll.
16545 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
16547         * cppinit.c (remove_dup_dirs): Inform if a system include
16548         directory is being reordered.
16549         * doc/invoke.texi (Directory Options): GCC warns if you hide a
16550         system include.
16551         * doc/cpp.texi (Search Paths): Likewise.
16552         * doc/gcc.texi (Interoperation): Remove information about
16553         -I/usr/include.
16555 2001-07-04  Nathan Sidwell  <nathan@codesourcery.com>
16557         * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
16558         (VARRAY_TOP_CHAR_PTR): Likewise.
16560 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16562         * gcc.c (process_command): Don't assign elements of a const char*.
16564 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16566         * emit-rtl.c (change_address): Don't abort if invalid address while
16567         reload is in progress.
16569 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
16571         * c-lex.c (cb_file_change): Pass line number to
16572         debug_start_source_file.
16573         (cb_undefine): Pass correct line number to debug_undef.
16575         * toplev.c (debug_start_source_file): Add line number to
16576         parameters. Pass it along to dwarf2out_start_source_file.
16577         (decode_g_option): Stop resetting debug level back to normal when
16578         we change debug formats, unless the current level is
16579         none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
16580         3).
16582         * toplev.h (debug_start_source_file): Add line number to
16583         parameters.
16585         * dwarf2out.h (dwarf2out_start_source_file): Add line number to
16586         parameters.
16588         * dwarf2out.c (dwarf2out_start_source_file): Add line number to
16589         parameters.
16590         Output debug_macinfo data for starting file if requested.
16591         (dwarf2out_end_source_file): Output debug_macinfo data for ending
16592         file if requested.
16593         (dwarf2out_define): Output debug_macinfo data for defining a macro
16594         if requested.
16595         (dwarf2out_undef): Output debug_macinfo data for undefining a
16596         macro if requested.
16597         (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
16598         (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
16599         (macinfo_section_label): New. DWARF2 macro info section label.
16600         (dwarf2out_init): If we want macro info, output the start label
16601         for the section.
16602         (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
16603         attribute to the compilation unit die pointing to the macro info.
16605 2001-07-04  Daniel Berlin  <dan@cgsoftware.com>
16607         * dwarf2out.c (new_loc_list): Move to inside #ifdef
16608         DWARF2_DEBUGGING_INFO.
16609         (add_loc_descr_to_loc_list): Ditto.
16610         (output_loc_list): Ditto.
16611         Also, fix thinko in curr not being initialized.
16612         (gen_internal_sym): Ditto.
16614 Wed Jul  4 13:40:02 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16616         * emit-rtl.c (replace_equiv_address): New function.
16617         * expr.h (replace_equiv_address): New declaration.
16618         * explow.c (validize_mem): Call it instead of change_address and
16619         also call if -fforce-addr and address is constant.
16620         * expr.c: Replace more calls to change_address with adjust_address
16621         and/or replace_equiv_address or to validize_mem.
16622         * function.c, regmove.c, config/alpha/alpha.c: Likewise.
16623         * config/arm/arm.md, config/clipper/clipper.md: Likewise.
16624         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16625         * config/i370/i370.md, config/i860/i860.md: Likewise.
16626         * config/i960/i960.md, config/mips/mips.c: Likewise.
16627         * config/mips/mips.md, config/pa/pa.md: Likewise.
16628         * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
16629         * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
16631 2001-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16633         * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
16635         * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
16636         function.
16638 2001-07-04  Joseph S. Myers  <jsm28@cam.ac.uk>
16640         * doc/include: New directory.
16641         * doc/fdl.texi: Move to doc/include/fdl.texi.
16642         * doc/texinfo.tex: Move to doc/include/texinfo.tex.
16643         * doc/include/funding.texi, doc/include/gpl.texi: New files.
16644         * doc/gcc.texi: Use funding.texi and gpl.texi.
16645         * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
16646         $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
16647         Update dependencies and use -I $(docdir)/include.
16649 2001-07-04  Anthony Green  <green@redhat.com>
16651         * config/v850/t-v850 (v850-c.o): Add missing dependencies.
16653 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16655         * doc/install.texi (sparc64-*-*): Remove garbage.
16657 Wed Jul  4 09:07:44 2001  Jan van Male  <jan.vanmale@fenk.wau.nl>
16659         * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
16660         Fix typo in last change to use adjust_address.
16662 2001-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16664         * doc/install.texi (Specific): Update information for *-*-solaris*.
16666 Tue Jul  3 22:33:15 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16668         * explow.c (plus_constant_wide): Reinitialize Y for restart.
16670 2001-07-03  Stan Shebs  <shebs@apple.com>
16672         * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
16673         case for flag_no_mach_text_sections.
16674         (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
16675         * config/darwin.c (flag_no_mach_text_sections): Remove.
16676         * config/darwin-protos.h (darwin_init_pragma): Remove decl.
16678 Tue Jul  3 15:35:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16680         * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
16681         and avoid checking for constant as first operand.
16682         * recog.c (find_constant_term_loc): No longer static.
16683         (adj_offettable_operand): Delete.
16684         * rtl.h (adj_offsettable_operand): Delete declaration.
16685         (find_constant_term): Add declaration.
16686         * caller-save.c: Replace calls to adj_offsettable_operand with calls
16687         to adjust_address.
16688         * config/arm/arm.c, config/c4x/c4x.c: Likewise.
16689         * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
16690         * config/i386/i386.c, config/i386/i386.md: Likewise.
16691         * config/i860/i860.c, config/i960/i960.c: Likewise.
16692         * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
16693         * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
16694         * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
16695         * config/mips/mips.c, config/mips/mips.md: Likewise.
16696         * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
16697         * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
16698         * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
16699         * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
16700         * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
16701         * config/ns32k/ns32k.md: Likewise.
16703 2001-07-03  Zack Weinberg  <zackw@stanford.edu>
16705         * rtl.c (copy_rtx): Handle 'T' format letter.
16706         * gensupport.c (collect_insn_data): Likewise.
16707         * print-rtl.c (print_rtx): Print 'T' slots like 's'.
16709 2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
16711         * doc/invoke.texi (Directory Options): Specifiy range for <N> in
16712         -B option.  Use 'dir' not 'foo' as example directory name.
16714 2001-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16716         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
16717         Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
16719 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
16721         * doc/cppinternals.texi: Improve formatting and logical markup.
16723 2001-07-03  Andreas Jaeger  <aj@suse.de>
16725         * Makefile.in (insn-recog.o): Add dependency on reload.h.
16727         * genrecog.c (write_header): Include reload.h for prototypes in
16728         insn-recog.c.
16730 2001-07-03  Neil Booth  <neil@daikokuya.demon.co.uk>
16732 config:
16733         * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
16734         VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
16735         * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
16736         i386_pe_valid_type_attribute_p): Add.
16737         * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
16738         * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
16740 Mon Jul  2 21:52:19 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16742         * explow.c (plus_constant_wide, case LO_SUM): New case.
16743         (plus_constant_for_output_wide): Delete.
16744         * rtl.h (plus_constant_for_output): Delete.
16745         * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
16746         instead of plus_constant_for_output.
16747         * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
16748         * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
16749         * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
16750         * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
16751         * config/sparc/sparc.md: Likewise.
16752         Convert some change_address calls to adjust_address.
16754 2001-07-03  Joseph S. Myers  <jsm28@cam.ac.uk>
16756         * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
16757         doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
16758         documentation of -std and -Wwrite-strings.
16760 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
16762         * cse.c (canon_hash): Don't register registers in very small
16763         register classes, as extending their lifetime might cause
16764         reload to fail.
16766 Mon Jul  2 23:14:00 CEST 2001  Jan Hubicka  <jh@suse.cz>
16768         * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16770         * flow.c (forwarder_block_p): Fix for fallthru blocks.
16771         (try_redirect_by_replacing_jump): Update properly the count
16772         and frequency information.
16774 Mon Jul  2 14:20:13 2001  Jeffrey A Law  (law@cygnus.com)
16776         * toplev.c (dump_file_index): Move SSA dumps just after first
16777         jump dump.
16778         (dump_file): Corresponding changes.
16779         (rest_of_compilation): Move SSA path to just after the first
16780         jump pass.
16781         * doc/gcc.texi (Passes): Update due to movement of SSA path.
16782         * doc/invoke.texi: Update dump file #s as they were completely
16783         out of date with reality.
16785 2001-07-02  Geoffrey Keating  <geoffk@redhat.com>
16787         * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
16789         * expr.c (emit_move_insn_1): Deal with non-default
16790         STACK_PUSH_CODE.
16792         * expr.c (emit_single_push_insn): Fix warning.
16794 2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
16796         * expr.c (emit_move_insn_1): Avoid modifying
16797         cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
16799 Mon Jul  2 15:33:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16801         * emit-rtl.c (adjust_address): New function.
16802         * expr.h (adjust_address): Add declaration.
16803         * builtins.c: Replace some calls to change_address with calls to it
16804         or to validize_mem.
16805         * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
16806         * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
16807         * config/arm/arm.c, config/convex/convex.c: Likewise.
16808         * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
16809         * config/i386/i386.c, config/i386/i386.md: Likewise.
16810         * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
16811         * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
16812         * config/m88k/m88k.c, config/mips/mips.md: Likewise.
16813         * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
16814         * config/sh/sh.c, config/sparc/sparc.md: Likewise.
16816 2001-07-02  Jim Wilson  <wilson@redhat.com>
16818         * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
16820 2001-07-02  Steve Ellcey  <sje@cup.hp.com>
16822         * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
16823         * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
16825 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
16827         * cppinit.c (lang_defaults): New table.
16828         (set_lang): Just read from lang_defaults into the live options
16829         structure.
16831 2001-07-02  Zack Weinberg  <zackw@stanford.edu>
16833         * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
16834         * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
16835         * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
16837 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16839         * doc/install.texi: Various spelling and markup fixes.
16840         (Installing GCC): Component specific installation instructions are
16841         gone.
16842         Fix reference.
16843         Warn about removing old install dir in the presence of shared libs.
16844         (Configuration): Invoke with options target to match configure
16845         --help.
16846         Consistently refer to gas, gld pathnames.
16847         Invert --enable-multilib documentation.
16848         Remove references to old compiler versions.
16850 Mon Jul  2 12:50:51 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16852         * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
16854 2001-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16856         * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
16857         section.
16858         (Specific, mips*-sgi-irix5): Note IDO download.
16859         Reworded MIPS C hints.
16860         Use GNU as instead of GAS.
16861         Markup fixes.
16862         Removed SGI Freeware reference, IRIX 6 only.
16863         (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
16864         Note N64 library requirement/workaround.
16865         Update O32 hints.
16866         Complete list of structure passing bug victims.
16868 2001-07-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16870         * doc/install.texi: Remove CVS Id.
16872 2001-07-02  Andreas Jaeger  <aj@suse.de>
16874         * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
16875         (find_inherently_necessary): Remove unused variable.
16877 2001-07-02  Nathan Sidwell  <nathan@codesourcery.com>
16879         * c-common.h (TDI_inlined): New ast dump phase.
16880         (dump_flag_name): New function.
16881         * c-dump.c (dump_files): Add inlined phase.
16882         (dump_flag_name): Define.
16883         * doc/invoke.texi (-fdump-ast-inlined): Document.
16885 Mon Jul  2 06:29:36 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16887         * stor-layout.c (layout_decl): Revert change to handling of alignment
16888         in packed types.
16890 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16892         * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
16893         for FIELD_DECL.
16895 2001-07-01  Geoffrey Keating  <geoffk@redhat.com>
16897         * doc/tm.texi (FUNCTION_ARG): Document that the last call
16898         is special.
16900 2001-07-01  Nathan Sidwell  <nathan@codesourcery.com>
16902         * tlink.c (recompile_files): Remove COMPILER_PATH and
16903         LIBRARY_PATH from the environment.
16905 2001-07-01  Zack Weinberg  <zackw@stanford.edu>
16907         * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
16908         RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
16909         enumerators.
16910         (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
16912         * c-parse.in (OBJC_STRING): Kill.
16913         (objc_string): Decompose to [objc_string] '@' STRING.
16914         (reswords): Take the leading '@' off all the Objective C keywords.
16915         (objc_rid_sans_at): Kill.
16916         (init_reswords): Don't initialize it.
16917         (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
16918         (_yylex): Kill reconsider label.  Look ahead one token after
16919         an '@'; if we get an identifier, check whether it's an
16920         Objective C @-keyword.  If so, return the keyword.  Otherwise,
16921         put back the token and return the '@' as a terminal.
16923         * cpplib.c (lex_macro_node): Remove unnecessary check for
16924         leading '@' on identifier.  Clarify control flow and commentary.
16926 Sun Jul  1 11:53:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16928         * cse.c (new_label_ref): Variable deleted.
16929         (insert): Remove set of new_label_ref.
16930         (check_for_label_ref): New function.
16931         (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
16933 See ChangeLog.5 for earlier changes.