Daily bump.
[official-gcc.git] / gcc / ChangeLog
blob24e5c1eaab08440ec3d08de009478c794c44f482
1 2002-07-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3         * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
5 2002-07-15  Zack Weinberg  <zack@codesourcery.com>
7         * ginclude/varargs.h: Replace with stub which issues #error.
8         * ginclude/stdarg.h: __builtin_stdarg_start is renamed
9         __builtin_va_start.
11         * builtins.def (BUILT_IN_VARARGS_START): Delete.
12         (BUILT_IN_VA_START): New.
13         * builtins.c (expand_builtin_va_start): Eliminate first
14         argument and code to implement pre-ISO varargs.
15         (std_expand_builtin_va_start): Ignore first argument; it is
16         always 1.
17         (expand_builtin): Handle BUILT_IN_VA_START and
18         BUILT_IN_STDARG_START identically.  Delete
19         BUILT_IN_VARARGS_START case.
21         * function.c (assign_parms): Delete hide_last_arg and all
22         its uses.
23         (mark_varargs): Delete function.
24         * function.h (struct function): Delete 'varargs' bit.
25         (current_function_varargs): Delete macro.
26         * tree.h: Don't declare mark_varargs.
28         * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
29         (c_expand_body): Don't call mark_varargs.
30         * c-objc-common.c: Handle BUILT_IN_VA_START and
31         BUILT_IN_STDARG_START identically.  Delete
32         BUILT_IN_VARARGS_START case.
33         * c-tree.h: Don't declare c_mark_varargs.
34         * c-parse.in: Remove grammar rules for '&...' (which has been
35         commented out since before 2.7.2) and for '...' in K+R
36         argument declarations.
38         * builtins.c, function.c, integrate.c, sibcall.c,
39         config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
40         config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
41         config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
42         config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
43         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
44         config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
45         config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
46         config/stormy16/stormy16.c: Delete all references to
47         current_function_varargs, and code predicated on that flag.
49         * config/alpha/alpha.c (alpha_va_start),
50         config/arc/arc.c (arc_va_start),
51         config/i386/i386.c (ix86_va_start),
52         config/mips/mips.c (mips_va_start),
53         config/mn10300/mn10300.c (mn10300_va_start),
54         config/rs6000/rs6000.c (rs6000_va_start),
55         config/s390/s390.c (s390_va_start),
56         config/sh/sh.c (sh_va_start),
57         Ignore first argument; it is always 1.
59         * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
60         * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
61         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
62         Delete m68hc11_va_start.
63         * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
64         No need to define EXPAND_BUILTIN_VA_START.
66         * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
67         doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
69 2002-07-15  Eric Botcazou  <ebotcazou@multimania.com>
71         PR optimization/7153
72         * regmove.c (optimize_reg_copy_3): Don't optimize if the register
73         dies in more than one insn.
75 2002-07-15  Jason Thorpe  <thorpej@wasabisystems.com>
77         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
79 2002-07-15  Michael Matz  <matz@suse.de>,
80             Daniel Berlin  <dberlin@dberlin.org>,
81             Denis Chertykov  <denisc@overta.ru>
83         Add a new register allocator.
85         * ra.c: New file.
86         * ra.h: New file.
87         * ra-build.c: New file.
88         * ra-colorize.c: New file.
89         * ra-debug.c: New file.
90         * ra-rewrite.c: New file.
92         * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
93         (ra-rewrite.o): New .o files for libbackend.a.
94         (GTFILES): Add basic-block.h.
96         * toplev.c (flag_new_regalloc): New.
97         (f_options): New option "new-ra".
98         (rest_of_compilation): Call initialize_uninitialized_subregs()
99         only for the old allocator.  If flag_new_regalloc is set, call
100         new allocator, instead of local_alloc(), global_alloc() and
101         friends.
103         * doc/invoke.texi: Document -fnew-ra.
104         * basic-block.h (FOR_ALL_BB): New.
105         * config/rs6000/rs6000.c (print_operand): Write small constants
106         as @l+80.
108         * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
109         (df_reg_table_realloc): Make size at least as large as max_reg_num().
110         (df_insn_table_realloc): Size argument now is absolute, not relative.
111         Changed all callers.
113         * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
114         * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
116         2002-06-20  Michael Matz  <matz@suse.de>
118         * df.h (struct ref.id): Make unsigned.
119         * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
121         2002-06-13  Michael Matz  <matz@suse.de>
123         * df.h (DF_REF_MODE_CHANGE): New flag.
124         * df.c (df_def_record_1, df_uses_record): Set this flag for refs
125         involving subregs with invalid mode changes, when
126         CLASS_CANNOT_CHANGE_MODE is defined.
128         2002-05-07  Michael Matz  <matz@suse.de>
130         * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
132         2002-05-03  Michael Matz  <matz@suse.de>
134         * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
136         Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
138         * regclass.c (regclass): Work with all regs which have sets or
139         refs.
140         (reg_scan_mark_refs): Count regs inside (clobber ...).
142         2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
144         * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
145         (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
146         add new refs.
147         (df_bb_refs_update): Don't clear insns_modified here, ...
148         (df_analyse): ... but here.
150         * sbitmap.c (dump_sbitmap_file): New.
151         (debug_sbitmap): Use it.
153         * sbitmap.h (dump_sbitmap_file): Add prototype.
155         2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
157         * df.c (df_insn_modify): Grow the UID table if necessary, rather
158         than assume all emits go through df_insns_modify.
160         2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
162         * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
163         increase REG_N_REFS (like flow does), so that regclass doesn't
164         think a reg is useless, and thus, not calculate a class, when it
165         really should have.
167         2001-01-28  Daniel Berlin  <dberlin@redhat.com>
169         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
170         dataflow analysis.
172 2002-07-15  Jakub Jelinek  <jakub@redhat.com>
174         PR middle-end/7245
175         * config/i386/i386.c (const_int_1_31_operand): New.
176         * config/i386/i386.h (PREDICATE_CODES): Add it.
177         * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
178         ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
179         lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
181 2002-07-14  Alan Modra  <amodra@bigpond.net.au>
183         PR target/7282
184         * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
185         (floatunssidf2): Likewise.
186         (floatsidf_ppc64): New insn_and_split.
187         (floatunssidf_ppc64): Likewise.
189 2002-07-14  Andreas Jaeger  <aj@suse.de>
191         * config.gcc (sh64): Remove unused
192         target_requires_64bit_host_wide_int.
194 2002-07-12  Roger Sayle  <roger@eyesopen.com>
196         * expr.c [CLEAR_RATIO]: New macro defining the maximum number
197         of move instructions to use when clearing memory, c.f. MOVE_RATIO.
198         [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
199         whether clear_by_pieces should be used to clear storage.
200         (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
202         * doc/tm.texi: Document these two new target macros.
204 2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
206         * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
207         the scratch register.
208         ("*movhi2_push"): Accept Z_REG because a split pattern can make use
209         of it, forbid reload to use it.
211 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
213         * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
214         usage on 64-bit hosts, return value was truncated to 32 bits.
216 Fri Jul 12 00:49:36 2002  J"orn Rennecke <joern.rennecke@superh.com>
218         * simplify-rtx.c (simplify_subreg): Handle floating point
219         CONST_DOUBLEs.  When an integer subreg of a smaller mode than
220         the element mode is requested, compute a subreg with an
221         integer mode of the same size as the element mode first.
223 Thu Jul 11 22:02:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
225         * combine.c (try_combine): When converting a paradoxical subreg
226         to an extension, take LOAD_EXTEND_OP into account.
228 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
230         * config.gcc (mips-sgi-irix6*o32): New configuration.
232         * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
233         configurations.
234         * configure: Regenerate.
236         * config/mips/iris6-o32-as.h: New file.
237         * config/mips/iris6-o32.h: New file.
239         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
240         (NM_FLAGS): Define.
241         (HAVE_AS_SHF_MERGE): Undefine.
243         * config/mips/t-iris5-as: New file.
244         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
246         * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
247         SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
248         SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
249         dp-bit.c, fp-bit.c): Move ...
250         * config/mips/t-iris5-6: ... here.
251         New file, shared by IRIX 5 and IRIX 6.
252         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
253         mips-sgi-irix5*): Use it.
255         * config/mips/iris6.h: Remove duplicate comment.
257         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
258         !TARGET_IRIX6]: Define.
259         (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
261         * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
263 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
265         * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
266         and delete code to force constant to register.
267         * pa-protos.h (adddi3_operand): Add prototype.
268         * pa.c (adddi3_operand): New function.
270 2002-07-11  Roger Sayle  <roger@eyesopen.com>
272         * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
273         non-ANSI builtin functions.
275 Thu Jul 11 11:31:12 2002  J"orn Rennecke <joern.rennecke@superh.com>
277         * rtl.h (gen_rtx_CONST_VECTOR): Declare.
278         * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
279         * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
280         (gen_const_vector_0): Use it.
282 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
284         * pa.md (adddi3): For 32-bit targets, force constants to a register
285         if they don't fit in an 11-bit immediate.  Change insn predicate to
286         arith11_operand.  Remove comment.
287         * pa.c (cint_ok_for_move): Fix comment.
288         (emit_move_sequence):  Don't directly split DImode constants on 32-bit
289         targets.
291 2002-07-11  Tim Josling  <tej@melbpc.org.au>
293         Remove front end hard coding from gengtype.c.
295         * Makefile.in
296         (STAGESTUFF): add gtyp-gen.h
297         (GTFILES): Remove front end specific files.
298         (GTFILES_FILES_LANGS): New, from configure..
299         (GTFILES_FILES_FILES): Likewise.
300         (GTFILES_LANG_DIR_NAMES): Likewise.
301         (GTFILES_SRCDIR): Likewise.
302         (gtyp-gen.h): Build from configure information.
303         (s-gtype): Remove command line parameters from gengtype.
304         (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
305         (mostlyclean): Delete files generated by and for gengtype.
307         * c-config-lang.in: New file.
309         * configure.in (all_gtfiles_files_langs): New. Accumulate files
310         for each language.
311         (all_gtfiles_files_files): New. Accumulate language for each file
312         accumulated.
313         (gtfiles): Pick up value for C.
314         (srcdir): AC-SUBST this variable.
315         (all_gtfiles_files_langs): AC-SUBST this variable.
316         (all_gtfiles_files_files): AC-SUBST this variable.
318         * configure: Regenerate.
320         * gengtype-lex.l (parse_file): Make parameter const.
322         * gengtype.c (toplevel): include gtyp-gen.h.
323         (BASE_FILE_<language> unnamed enum): Delete.
324         (lang_names): Delete (replaced by gtyp-gen.h)
325         (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
326         all references.
327         (NUM_GT_FILES): New.
328         (NUM_LANG_FILES): New.
329         (srcdir_len): New.
330         (NUM_BASE_FILES): Change calculation.
331         (open_base_files): Change prototype to avoid warning.
332         (startswith): Delete.
333         (get_file_basename): Iterate through generated language list not
334         hard coded list.
335         (get_base_file_bitmap): Use generated list of files and languages.
336         (close_output_files): Add prototype to rmove warning.
337         (main): Iterate through list of generated files from gtyp-gen.h
338         rather than command line paramaters.  Ignore duplicated file
339         names.
341         * gengtype.h (parse_file): Amend prototype for const parameter.
343         * doc/sourcebuild.texi: Document gtfiles variable.
345         * doc/gty.texi: Document changes to gtfiles variable for front
346         ends.
348         * objc/config-lang.in (gtfiles): Add files needed for objc front
349         end.
351 2002-07-10  Roger Sayle  <roger@eyesopen.com>
353         PR c/2454
354         * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
355         to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.
357 2002-07-10  Roger Sayle  <roger@eyesopen.com>
358             Zack Weinberg <zack@codesourcery.com>
360         * builtins.def: Make the argument types of abort and exit
361         independent of the front-end.
363 2002-07-11  Alan Modra  <amodra@bigpond.net.au>
365         * config/rs6000/linux64.h (ASM_SPEC): Define.
367 2002-07-10  Aldy Hernandez  <aldyh@redhat.com>
369         * config/rs6000/rs6000.c (emit_frame_save): New.
370         (rs6000_frame_related): Replace reg2 before reg.
371         (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
372         and eh_return registers.
374 2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
376         Revert all patches for optimization of Complex .op. Real.
377         * complex_part_zero_p: Remove
378         * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
379         with x.
380         * expand_cmplxdiv_wide: Ditto.
381         * expand_binop: Ditto.
383 2002-07-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
385         * config/avr/avr.md: Fix two 0x80000000 constants to make them
386         negative also on 64-bit hosts.
388         Default to -fno-reorder-blocks when optimizing for size.
389         * config/avr/avr-protos.h (avr_optimization_options): Declare.
390         * config/avr/avr.c (avr_optimization_options): New function.
391         * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
393         Optimize returning from simple functions.
394         * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
395         * config/avr/avr.c (avr_simple_epilogue): New function.
396         * config/avr/avr.md (return): New insn.
398 2002-07-10  Douglas B Rupp  <rupp@gnat.com>
400         * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
401         HAS_INIT_SECTION to protection.
403 2002-07-10  Mark Mitchell  <mark@codesourcery.com>
405         * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
406         deprecated.
408 Wed Jul 10 19:50:03 2002  J"orn Rennecke <joern.rennecke@superh.com>
410         * combine.c (gen_lowpart_for_combine): Handle vector modes.
411         Supply non-VOID mode to simplify_gen_subreg.
413 Wed Jul 10 18:48:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
415         * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
417 2002-07-10  Jeffrey A Law  <law@redhat.com>
419         * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
420         as appropriate.
422         * mn10200.c (expand_epilogue): Fix test to determine which scratch
423         register to use.
425 Wed Jul 10 16:06:00 2002  J"orn Rennecke <joern.rennecke@superh.com>
427         * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
428         Get mode from dest.
429         If simplify_gen_subreg fails, try next equivalent.
431 2002-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
433         * diagnostic.h: #include location.h
434         (location_t): Move definition to..
435         * location.h: ... here.  New file.
436         * tree.h: #include location.h
437         (DECL_SOURCE_LOCATION): New macro.
438         (DECL_SOURCE_FILE): Use.
439         (DECL_SOURCE_LINE): Likewise.
440         (struct tree_decl): REplace filename and linenum with locus.
441         * Makefile.in (TREE_H): add location.h
442         (diagnostic.o): Depends on gt-location.h
443         (gt-location.h): Depends on s-gtype
445 2002-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
447         * config/rs6000/aix.h: Convert CPP_PREDEFINES to
448         TARGET_OS_CPP_BUILTINS.
449         * config/rs6000/aix31.h: Likewise.
450         * config/rs6000/aix41.h: Likewise.
451         * config/rs6000/aix43.h: Likewise.
452         * config/rs6000/aix51.h: Likewise.
453         * config/rs6000/beos.h: Likewise.
454         * config/rs6000/darwin.h: Likewise.
455         * config/rs6000/eabi.h: Likewise.
456         * config/rs6000/eabisim.h: Likewise.
457         * config/rs6000/linux.h: Likewise.
458         * config/rs6000/linux64.h: Likewise.
459         * config/rs6000/lynx.h: Likewise.
460         * config/rs6000/mach.h: Likewise.
461         * config/rs6000/rtems.h: Likewise.
462         * config/rs6000/sysv4.h: Likewise.
463         * config/rs6000/vxppc.h: Likewise.
465 2002-07-09 Devang Patel <dpatel@apple.com>
466         * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
467         Do not allow ObjC objects as a parameter type for Objective-C methods.
468         My previous patch restricted  'struct' also.
470 2002-07-09  Neil Booth  <neil@daikokuya.co.uk>
472         * cpperror.c (cpp_error): Default to directive_line within
473         directives here.
474         * cppexp.c (cpp_interpret_integer): Only use traditional
475         number semantics in directives.
476         * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
477         (do_include_common): Similarly.
478         * cpptrad.c (scan_out_logical_line): Implement accurate
479         quoting of <> in #include.
480         * doc/cpp.texi: Update.
482 Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
483                           J"orn Rennecke <joern.rennecke@superh.com>
485         * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
486         * sh.md (attribute issues): Replace with:
487         (attribute pipe_model).  All users changed.
488         (attribute type): Change pt / ptabs to pt_media / ptabs_media.
489         All users changed.
490         (function units sh5issue, sh5fds): New.
491         (attribute is_mac_media): New.
492         (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
493         (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
494         (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
495         (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
496         (call_media, call_value_media, sibcall_media): Likewise.
497         (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
498         (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
499         (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
500         (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
501         (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
502         (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
503         (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
504         (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
505         (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
506         (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
507         (truncdfsf2_media): Likewise.
508         (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
509         (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
511 Tue Jul  9 21:39:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
513         * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
514         * sh.c (general_extend_operand, inqhi_operand): New functions.
515         * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
516         alternatives using 'N' modifier.  Add type.
517         (adddi3z_media): Likewise.  Enable generator function generation.
518         (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
519         exact predicates / constraints.  Add type.
520         (subsi3): Allow 0 for SHMEDIA.
521         (udivsi3_i4_media): Use match_operand for input values
522         rather than hard registers.
523         (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
524         unnecessarily through hard registers.  Keep copies of pseudo
525         registers outside of the libcall sequence.
526         (mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
527         (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
528         (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
529         (extendhidi2, extendqidi2): Likewise.
530         (andsi3_compact): Name.
531         (andcdi3): Enable generator function generation.
532         (zero_extendhisi2, zero_extendqisi2): Rename to
533         (zero_extendhisi2_compact, zero_extendqisi2_compact).
534         (extendhisi2, extendqisi2): Rename to
535         (extendhisi2_compact, extendqisi2_compact).
536         (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
537         (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
538         (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
539         (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
540         (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
541         (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
542         (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
543         (shmedia32_initialize_trampoline_big): Likewise.
544         (shmedia32_initialize_trampoline_little): Likewise.
545         (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
546         (negdi2): Remove spurious T clobber.
547         (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
548         (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
549         (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
550         (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
551         (ic_invalidate_line_media): Write back data cache before invalidating
552         instruction cache.  Add type.
553         (movsf_media): Sign-extend when the destination is a general
554         purpose register.  Add type.
555         (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
556         (casesi_worker_0+1): Only increment ref count for proper label.
557         (casesi_worker_0+2): Likewise.
559 2002-07-09  Mark Mitchell  <mark@codesourcery.com>
561         * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
563 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
565         * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
566         from Pmode to ptr_mode.
567         (get_exception_pointer): Ditto.
568         (connect_post_landing_pads): Ditto.
569         (dw2_build_landing_pads): Ditto.
571 2002-07-08  Steve Ellcey  <sje@cup.hp.com>
572         * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
573         * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
574         (handle_pragma_redefine_extname): Change to use new function.
576 2002-07-08  Roger Sayle  <roger@eyesopen.com>
578         * combine.c (combine_simplify_rtx): Add an explicit cast
579         to avoid signed/unsigned comparison warning.
580         (simplify_if_then_else): Likewise.
581         (extended_count): Likewise.
582         (simplify_shift_const): Likewise.
583         (simplify_comparison): Likewise.
585 2002-07-08  Richard Sandiford  <rsandifo@redhat.com>
587         * config/mips/mips.md: Add imadd type.  Update scheduler description
588         to use imadd as well as imul.
589         (*mul_acc_si, *madsi): Change imul alternatives to imadd.
590         (*mul_acc_di, *mul_acc_64bit_di): Likewise.
591         (*mul_sub_si): Likewise for first alternative.  Change second
592         alternative from imul to multi.
594 2002-07-07  Neil Booth  <neil@daikokuya.co.uk>
596         * c-common.c (c_common_post_options): Update prototype;
597         don't init backends if preprocessing only.
598         * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
599         * langhooks.h (struct lang_hooks): Update post_options to
600         return a boolean.
601         * toplev.c (parse_options_and_default_flags, do_compile,
602         lang_independent_init): Update prototypes.  Allow the
603         front end to specify that there is no need to initialize
604         the back end.
605         (general_init): Move call to hex_init here...
606         (toplev_main): ...from here.  Pass flag for back end init
607         suppression.
609 Sun Jul  7 20:38:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
611         * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
612         (PREDICATE_CODES): Add entries for equality_comparison_operator,
613         greater_comparison_operator and less_comparison_operator.
614         * sh.c (print_operand): Add '\'' code.  Make 'o' handle
615         more operators.
616         (equality_comparison_operator): New function.
617         (greater_comparison_operator, less_comparison_operator): Likewise.
618         * sh.md (beq_media_i): Disable generator function generation.
619         Use match_operator to handle a whole class of comparisons.  Add
620         modifier in output template to provide branch prediction.  Add type.
621         (bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
622         (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
623         (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
624         (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
626 2002-07-07  Hans-Peter Nilsson  <hp@bitrange.com>
628         Emit MMIX function prologue and epilogue as rtl.
629         * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
630         not unprototyped get_hard_reg_initial_val.
631         ("call_value", "nonlocal_goto_receiver"): Ditto.
632         ("return"): Make define_expand.  Move real insn to...
633         ("*expanded_return"): New pattern.
634         ("prologue", "epilogue"): New define_expands.
635         * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
636         (struct machine_function): New member in_prologue.
637         (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
638         (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
639         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
640         (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
641         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
642         (LOCAL_REGNO): Define.  Adjust comment.
643         * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
644         Consider regs_ever_live[MMIX_rJ_REGNUM], not just
645         leaf_function_p.
646         (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
647         the prologue.
648         (mmix_target_asm_function_prologue): Make static.  Just mark that
649         the prologue is being emitted.  Move guts to...
650         (mmix_expand_prologue): New function.  Adjust for emitting
651         prologue as rtl.  For sizes, use HOST_WIDE_INT only.
652         (mmix_target_asm_function_epilogue): Make static.  Simply emit a
653         \n.  Move guts to...
654         (mmix_expand_epilogue): New function.  Adjust for emitting
655         epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
656         (mmix_target_asm_function_end_prologue): Mark that the prologue
657         has ended.
658         (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
659         (mmix_conditional_register_usage): Improve comments.
660         (mmix_local_regno): New function.
661         (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
662         * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
663         (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
664         (mmix_get_hard_reg_initial_val): Ditto.
666 2002-07-06  Andreas Jaeger  <aj@suse.de>
668         * toplev.c (set_fast_math_flags): Don't use ISO C style function
669         definitions.
670         * gengtype.c (open_base_files): Likewise.
671         (close_output_files): Likewise.
672         * tracer.c (find_best_predecessor): Likewise.
673         (find_best_successor): Likewise.
674         (ignore_bb_p): Likewise.
676 2002-07-05  Roger Sayle  <roger@eyesopen.com>
678         PR c++/7099
679         * builtin-attrs.def: Define new attribute lists for use in
680         builtins.def.
681         * builtins.def [DEF_BUILTIN]: Modify to take an additional
682         ATTRS argument, an enumerated value defined in builtin-attrs.def
683         that represents the attribute list for the builtins.  Modify
684         all builtin functions to pass an appropriate attribute list.
685         Specify "abort", "exit", "_exit" and "_Exit" builtins here with
686         their required noreturn attributes.
687         * tree.h (enum_builtin_function): Ignore the additional parameter
688         to DEF_BUILTIN.
689         * builtins.c (built_in_names): Likewise.
690         * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
691         argument with a tree representing the functions attribute list.
692         Pass this "attrs" argument to builtin_function.  No longer handle
693         the noreturn_p processing manually.
694         (built_in_attributes): Move the definitions from builtin-attrs.def
695         before c_common_nodes_and_builtins.
696         (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
697         DEF_BUILTIN, passing it to both builtin_function and the changed
698         builtin_function_2.
700         * doc/extend.texi: Document __builtin_abort, __builtin_exit,
701         __builtin__exit and __builtin__Exit.
703 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
705         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
706         QI mode registers in soft registers.
707         ("zero_extendqihi2"): Do not take into account soft registers
708         for register allocation (use '*' constraint).
710 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
712         * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
713         it is dead.
714         ("*ashrsi3"): Likewise.
715         ("*lshrsi3"): Likewise.
717 2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>
719         * genautomata.c (output_max_insn_queue_index_def): Take latencies
720         into account.
722 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
724         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
725         address computation and memory moves.
727 2002-07-03  Mark Mitchell  <mark@codesourcery.com>
729         PR c++/6706
730         * dwarfout.c (output_reg_number): Fix warning message.
731         (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
732         before using it.
734 2002-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
736         * gcc/gcc.c (asm_debug): Move initialization ...
737         (init_spec): ... here.
739 2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>
741         * c-parse.in (extdef): Append ';'.
742         (old_style_parm_decls): Append ';'.
744 2002-07-04  Daniel Jacobowitz  <drow@mvista.com>
746         * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
747         gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
748         to gcc_cv_as_gstabs_flag.
749         * configure: Rebuilt.
751 2002-07-04  Geoffrey Keating  <geoffk@redhat.com>
753         * ggc.h (ggc_add_root): Document as obsolete.
755 Thu Jul  4 07:58:01 2002  J"orn Rennecke <joern.rennecke@superh.com>
757         * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
758         (mshflo_w): Likewise.
760 Thu Jul  4 07:36:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
762         * simplify-rtx.c (simplify_subreg): Reduce problem of finding
763         vector mode subregs of constants to finding integer mode
764         subregs of constants.
765         * cse.c (cse_insn): Use simplify_gen_subreg.
766         * convert.c (convert_to_integer): Don't strip a NOP_EXPR
767         From a vector mode expression of different size than the
768         target mode.
770 2002-07-03  Eric Christopher  <echristo@redhat.com>
772         * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
773         * config/mips/mips.h: Remove deprecated -m<processor> options
774         and cc1_cpu_spec associated.
775         (CONSTANT_ADDRESS_P): Fix last patch.
776         (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
777         * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
778         sunge_sf): Remove.
780 2002-07-03  Stan Shebs  <shebs@apple.com>
782         * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
783         (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
784         (CPP_SPEC): Remove insertion of APPLE_CC definition.
786 2002-07-03  Roger Sayle  <roger@eyesopen.com>
788         * combine.c (struct_undo): Change types of recorded substitutions
789         to be either "int" or "rtx", instead of "unsigned int" and "rtx".
790         (do_SUBST_INT): Change types of the substitution from unsigned int
791         to int, to avoid compilation warning from SUBST_INT's only caller.
793         (make_extraction): Add cast to avoid compilation warning.
794         (force_to_mode): Remove cast to avoid compilation warning.
796 2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
797             Jeff Law  <law@redhat.com>
799         * i386.md (length_immediate attribute): Fix typo.
800         (length_address attribute): Likewise.
801         (modrm attribute): Set it to 0 for immediate call instructions.
802         (jcc_1 pattern): Set modrm attribute to 0.
803         (jcc_2 pattern ): Likewise.
804         (jump pattern): Likewise.
805         (doloop_end_internal pattern): Explicitly set length.
806         (leave pattern): Fix typo.
807         (leave_rex64 pattern): Likewise.
809 2002-07-03  David Edelsohn  <edelsohn@gnu.org>
811         * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
812         in FPR as preference.
813         (fctiwz): Same.
814         (floatdidf2, fix_truncdfdi2): Same.
815         (floatdisf2, floatditf2, fix_trunctfdi2): Same.
816         (floatditf2): Same.
817         (floatsitf2, fix_trunctfsi2): SImode in GPR.
818         (ctrdi): Remove FPR alternative and splitter.
820 2002-07-03  Will Cohen  <wcohen@redhat.com>
822         * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
824 Wed Jul  3 10:24:16 2002  J"orn Rennecke <joern.rennecke@superh.com>
826         * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
827         than UNITS_PER_WORD, unless this is little endian and the first unit
828         in this word.  Let extract_bit_field decide how to load an element.
829         Force arguments to matching mode.
830         (expand_vector_unop): Likewise.
832         * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
833         consist of word_mode elements.
834         * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
835         BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
836         (build_unary_op): Allow vector types for BIT_NOT_EPR.
837         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
838         CONST_VECTOR.
839         * optabs.c (expand_vector_binop): Try to perform operation in
840         smaller vector modes with same inner size.  Add handling of AND, IOR
841         and XOR.  Reject expansion to inner-mode sized scalars when using
842         OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
843         (expand_vector_unop): Try to perform operation in smaller vector
844         modes with same inner size.  Add handling of one's complement.
845         When there is no vector negate operation, try a vector subtract
846         operation.  Use simplify_gen_subreg on constants.
847         * simplify-rtx.c (simplify_subreg): Add capability to convert vector
848         constants into smaller vectors with same inner mode, and to
849         integer CONST_DOUBLEs.
851 2002-07-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
853         * c-parse.in (parsing_iso_function_signature): New variable.
854         (extdef_1): New, copied from...
855         (extdef): ... here.  Reset parsing_iso_function_signature.
856         (old_style_parm_decls):  Reset parsing_iso_function_signature.
857         (old_style_parm_decls_1): New, copied from old_style_parm_decls.
858         Warn about ISO C style function definitions.
859         (nested_function, notype_nested_function): Reset
860         parsing_iso_function_signature.
861         (parmlist_2): Set parsing_iso_function_signature.
863         * doc/invoke.texi (-Wtraditional): Document new behavior.
865 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
867         * config.gcc (mips*el-*-*): Use tm_defines to set
868         TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
869         * config/mips/little.h: Remove.
871 2002-07-02 Devang Patel <dpatel@apple.com>
873         * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
874         object as parameter. Prevent something like 'NSObject' to be
875         used as the type for a method argument.
877 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
879         * cpptrad.c: Update comment.
881 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
883         * doc/cpp.texi: Update for traditional preprocessing changes.
884         * goc/cppopts.texi: Similarly.
886 2002-07-02  Ziemowit Laski  <zlaski@apple.com>
888         * c-parse.in (designator): Enable designated initializers if ObjC.
889         (objcmessageexpr): Remove references to objc_receiver_context.
890         * objc/objc-act.h (objc_receiver_context): Remove decl.
891         * objc/objc-act.c (objc_receiver_context): Remove.
892         (lookup_objc_ivar): Test objc_method_context instead of
893         objc_receiver_context.
895 Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
897         * sh.c (print_operand, case 'N'): Allow zero vector.
898         (arith_reg_or_0_operand): Likewise.
899         (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
900         * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
901         IOR, XOR, PLUS and SET and take their respective constant
902         ranges into account.
903         (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
904         * sh.md (subdi3, subdi3_media): Allow zero operand.
905         (movv8qi_i+3): Only vector that is not split is the zero vector.
906         Fix operand 3 to simplify_subreg.
907         (movv2si_i): Split alternative 1.
908         (mshfhi_l_di_rev+1): New splitter.
910 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
912         PR preprocessor/7029
913         * cppinit.c (cpp_handle_option):  Suppress warnings with an
914         implicit "-w" for "-M" and "-MM".
915         * doc/cppopts.texi: Update.
917 2002-07-01  Roger Sayle  <roger@eyesopen.com>
919         * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
920         identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
921         builtin_function.
923 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
925         * README.Portability: Fix typos.
927 2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
929         PR target/7177
930         * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
931         of indirections for register inside sign-extended mem part.
933 2002-07-01  Roger Sayle  <roger@eyesopen.com>
935         * tree.h:  Modify builtin_function interface to take an extra
936         argument ATTRS, which is a tree representing an attribute list.
938         * c-decl.c (builtin_function): Accept additional parameter.
939         * objc/objc-act.c (builtin_function): Likewise.
940         * f/com.c (builtin_function): Likewise.
941         * java/decl.c (builtin_function): Likewise.
942         * ada/utils.c (builtin_function): Likewise.
943         * cp/decl.c (builtin_function): Likewise.
944         (builtin_function_1): Likewise.
946         * c-common.c (c_common_nodes_and_builtins): Pass an additional
947         NULL_TREE argument to builtin_function.  (builtin_function_2):
948         Likewise.
949         * cp/call.c (build_java_interface_fn_ref): Likewise.
950         * objc/objc-act.c (synth_module_prologue): Likewise.
951         * java/decl.c (java_init_decl_processing): Likewise.
952         * f/com.c (ffe_com_init_0): Likewise.
954         * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
955         NULL_TREE argument to builtin_function.
956         * config/arm/arm.c (def_builtin): Likewise.
957         * config/c4x/c4x.c (c4x_init_builtins): Likewise.
958         * config/i386/i386.c (def_builtin): Likewise.
959         * config/ia64/ia64.c (def_builtin): Likewise.
960         * config/rs6000/rs6000.c (def_builtin): Likewise.
962 2002-07-01  Zack Weinberg  <zack@codesourcery.com>
964         * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
965         * config/mips/t-isa3264: Likewise.
966         * config/mmix/t-mmix: Likewise.
968 2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
970         * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
972 2002-07-01  Roger Sayle  <roger@eyesopen.com>
974         PR opt/4046
975         * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
976         A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
977         B are truth values.
979 2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
981         * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
983 2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
985         * README.Portability (Function prototypes): Give an example of
986         declaring and defining a function with no arguments.
988         * README.Portability (Function prototypes): Document new
989         variable-argument function macros.
991 Mon Jul  1 19:55:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
993         * sh.c (langhooks.h): Include.
994         (sh_init_builtins, sh_media_init_builtins): New functions.
995         (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
996         (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
997         (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
998         (builtin_description): New struct tag.
999         (signature_args, bdesc): New arrays.
1000         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
1001         (print_operand): Add 'N' modifier.
1002         * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
1003         (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
1004         (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
1005         (CONST_COSTS): Add special case for SHmedia AND.
1006         (PREDICATE_CODES): Add and_operand, arith_reg_dest,
1007         extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
1008         sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
1009         target_operand can also be const or unspec.
1010         * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
1011         (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
1012         (attribute type): Add new types.
1013         (anddi3): Add splitter.
1014         (movdi_const_16bit+1): Add code to handle vector constants and
1015         bitmasks efficiently.
1016         (shori_media): Have generator function made.
1017         (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
1018         (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
1019         (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
1020         (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
1021         (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
1022         (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
1023         (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
1024         (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
1025         (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
1026         (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
1027         (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
1028         (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
1029         (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
1030         (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
1031         (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
1032         (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
1033         (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
1034         (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
1035         (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
1036         (ftrv): Likewise.
1038         (fpu_switch+1, fpu_switch+2): Remove constraint.
1040 2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
1042         * tree.c (build_function_type_list): Update function comment.
1043         Rename first argument to return_type.
1045 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
1047         * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
1048         tradcif.y and related files.
1050 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
1052         * cpptrad.c (skip_whitespace): Pass pointer to prior char.
1054 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1056         * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
1058 2002-06-30  Devang Patel  <dpatel@apple.com>
1060         * objc/objc-act.c (finish_file): Avoid finish_objc() if
1061         -fsyntax-only.
1063 Fri Jun 28 17:22:37 2002  Denis Chertykov  <denisc@overta.ru>
1064                           Frank Ch. Eigler  <fche@redhat.com>
1065                           Matthew Green  <mrg@redhat.com>
1066                           Richard Henderson <rtl@redhat.com>
1067                           Dave Hudson  <dave.hudson@ubicom.com>
1068                           Jeff Johnston  <jjohnstn@redhat.com>
1069                           Alan Lehotsky <apl@alum.mit.edu>
1070                           Bernd Schmidt  <bernds@redhat.com>
1071                           Graham Stott  <grahams@redhat.com>
1073         * doc/extend.texi: Add ip2k port to description of attribute
1074         naked.
1075         * doc/install.texi (Specific): Add ip2k description.
1076         * doc/install-old.texi (Configurations): Add ip2k to possible
1077         cpu types.
1078         * doc/md.texi: Document ip2k constraints.
1079         * config/ip2k/crt0.S: New file.
1080         * config/ip2k/ip2k-protos.h: New file.
1081         * config/ip2k/ip2k.c: New file.
1082         * config/ip2k/ip2k.h: New file.
1083         * config/ip2k/ip2k.md: New file.
1084         * config/ip2k/libgcc.S: New file.
1085         * config/ip2k/t-ip2k: New file.
1087 2002-06-30  Hans-Peter Nilsson  <hp@bitrange.com>
1089         * config/mmix/mmix.md ("return"): New pattern.
1090         * config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN)
1091         (TARGET_USE_RETURN_INSN): New macros.
1092         (TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN.
1093         (TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit.
1094         * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing.
1095         (MMIX_POP_ARGUMENT): New macro.
1096         (mmix_target_asm_function_prologue): When no epilogue is executed,
1097         just emit a blank line.  Use MMIX_POP_ARGUMENT with final POP insn.
1098         (mmix_print_operand) <case '.'>: New case.
1099         (mmix_print_operand_punct_valid_p): Match '.'.
1100         (mmix_use_simple_return): New function.
1101         * config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype.
1102         * doc/invoke.texi (Option Summary) <MMIX Summary>: Add
1103         -msingle-exit, -mno-single-exit.
1104         (MMIX Options): Ditto.
1106 2002-06-30  Aldy Hernandez  <aldyh@redhat.com>
1108         * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix typos.
1110 2002-06-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1112         * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.
1114 2002-06-30  Alan Modra  <amodra@bigpond.net.au>
1116         * unroll.c (loop_iterations): Handle EQ loops.
1118 2002-06-29  David Edelsohn  <edelsohn@gnu.org>
1120         * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
1121         constraint in define_expand, not splitter.
1122         Formatting.
1124 2002-06-29  Aldy Hernandez  <aldyh@redhat.com>
1126         * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use
1127         build_function_type_list instead of build_function_type.
1129         * config/ia64/ia64.c (ia64_init_builtins): Same.
1131         * config/alpha/alpha.c (alpha_init_builtins): Same.
1133         * config/rs6000/rs6000.c (altivec_init_builtins): Same.
1135         * config/arm/arm.c (arm_init_builtins): Same.
1137         * tree.h: Add build_function_type_list prototype.
1139         * tree.c (build_function_type_list): New.
1141 2002-06-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1143         * collect2.c (scan_prog_file): Fix typo in message.
1145 2002-06-28  Aaron Lehmann  <aaronl@vitelus.com>
1147         * fold-cont.c: Remove unused CHARMASK.
1149 2002-06-29  Neil Booth  <neil@daikokuya.co.uk>
1151         PR preprocessor/7150
1152         * cppmain.c (scan_translation_unit_trad): Simplify.
1153         * cppmacro.c (cpp_scan_nooutput): Handle traditional case.
1155 2002-06-29  Neil Booth  <neil@daikokuya.demon.co.uk>
1157         * config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
1158         Don't use CPP_PREDEFINES.
1159         * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New.
1160         Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES.
1161         * config/i386/djgpp.h, config/i386/i386-coff.h,
1162         config/i386/i386-interix.h, config/i386/i386-interix3.h,
1163         config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
1164         config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h,
1165         config/i386/uwin.h: Similarly.
1167 2002-06-29  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1169         * c4x.h: (TARGET_CPU_CPP_BUILTINS): Check flag_inline_functions and
1170         flag_inline_trees to enable inlining.
1172 2002-06-28  Phil Edwards  <pme@gcc.gnu.org>
1174         * configure.in (gcc_gxx_include_dir):  Change to match versioned
1175         C++ headers if --enable-version-specific-runtime-libs is used.
1176         * configure:  Regenerate.
1178 2002-06-28  Jan Hubicka  <jh@suse.cz>
1180         * gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.
1182 2002-06-28  Stephen Clarke  <stephen.clarke@superh.com>
1184         * combine.c (combine_simplify_rtx): Pass the mode of the
1185         shift count, not the shift operation when trying to simplify
1186         a shift on a SHIFT_COUNT_TRUNCATED target.
1188 2002-06-28  Stephane Carrez  <stcarrez@nerim.fr>
1190         * config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
1191         avoid the auto increment addressing modes.
1192         ("*subsi3"): Likewise.
1193         (split for add/sub on address): For 68HC12 push the value on
1194         the stack and do the operation with a pop.
1196 2002-06-28  Neil Booth  <neil@daikokuya.co.uk>
1198         * cpplib.c (_cpp_handle_directive): Move #define-specific
1199         code to the #define handler...
1200         (do_define): ...here.
1201         (lex_macro_node): No longer a need to check for comments here.
1203 2002-06-28  Stephane Carrez  <stcarrez@nerim.fr>
1205         * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
1206         * config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
1207         Declare.
1208         * config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
1209         do not reorder basic blocks at the end when optimizing for size.
1211 2002-06-28  Stephane Carrez  <stcarrez@nerim.fr>
1213         * config/m68hc11/m68hc11.c (autoinc_mode): New function.
1214         (m68hc11_make_autoinc_notes): New function.
1215         (m68hc11_split_move): Be very cautious when spliting a move with
1216         auto increment/decrement modes because this may result in incompatible
1217         directions; add REG_INC notes to the resulting insn for CSE reg.
1219 2002-06-28  Stephane Carrez  <Stephane.Carrez@nerim.fr>
1221         * config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
1222         can be a valid address.
1224 2002-06-28  Aldy Hernandez  <aldyh@redhat.com>
1226         * config/rs6000/rs6000.c: Remove unusued variables from last
1227         patch.
1229 2002-06-27  Aldy Hernandez  <aldyh@redhat.com>
1231         Revert:
1232         * config/rs6000/rs6000.c (rs6000_override_options): Move
1233         *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
1235 2002-06-27  Aldy Hernandez  <aldyh@redhat.com>
1237         * config/rs6000/rs6000.c (altivec_expand_builtin): Move
1238         lvx/stv/dst builtins...
1239         (altivec_expand_ld_builtin): ...to here.
1240         (altivec_expand_st_builtin): ...here.
1241         (altivec_expand_dst_builtin): ...and here (respectively).
1243 2002-06-28  Bob Wilson  <bob.wilson@acm.org>
1245         * config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
1247 2001-06-08  Bernd Schmidt  <bernds@redhat.com>
1249         * emit-rtl.c (gen_lowpart_common): Don't create paradoxical FLOAT_MODE
1250         subregs.
1251         * recog.c (general_operand, register_operand): Disallow them.
1253 2002-06-28  Neil Booth  <neil@daikokuya.co.uk>
1255         PR preprocessor/7138
1256         * cpplib.c (_cpp_handle_directive): Do traditional
1257         preparation after setting state.angled_headers.
1258         * cpptrad.c (scan_out_logical_line): Fix potential
1259         quote bug.
1261 2002-06-27  Aldy Hernandez  <aldyh@redhat.com>
1263         * config/rs6000/rs6000.c (rs6000_override_options): Move
1264         *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
1266 2002-06-27  Bob Wilson  <bob.wilson@acm.org>
1268         * config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's.
1269         (*lsiu, *ssiu, movstrsi_internal, zero_cost_loop_start,
1270         zero_cost_loop_end): Remove unnecessary "parallel" from insns.
1272 2002-06-27  Roger Sayle  <roger@eyesopen.com>
1274         * config/d30v/d30v.h: Remove commented out STACK_REGS #defines.
1275         * config/stormy16/stormy16.h: Likewise.
1277         * config/stormy16/stormy16.h (CUMULATIVE_ARGS): Replace typedef
1278         with #define.
1280 2002-06-26  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1282         * doc/install.texi (Binaries): Add Sinix/Reliant Unix.  Move
1283         Hitachi entry.  Make punctuation more consistent.
1285 2002-06-27  Matt Kraai  <kraai@alumni.cmu.edu>
1287         * doc/install.texi: Change ` bit' to `-bit'.
1288         * doc/md.texi: Change `-bits' to `-bit'.
1289         * doc/tm.texi: Change `-bits' to ` bits'.
1291 2002-06-27  Daniel Berlin  <dberlin@dberlin.org>
1293         * gcse.c (hoist_code): Rewrite to only get list of dominated
1294         blocks once per BB. Also fix reversed test (by removing need for
1295         the test at all).
1297 2002-06-27  Neil Booth  <neil@daikokuya.co.uk>
1299         * cpphash.h (_cpp_set_trad_context): Remove.
1300         * cpplib.c (prepare_directive_trad): Do nothing for #define.
1301         (cpp_push_buffer, _cpp_pop_buffer): Don't call _cpp_set_trad_context.
1302         * cpptrad.c: Update comments.
1303         (_cpp_read_logical_line_trad): Let scan_logical_line handle
1304         updating the current context.
1305         (scan_logical_line): Update the current context.
1306         (_cpp_create_trad_definition): Similarly.
1307         (_cpp_set_trad_context): Remove.
1309 2002-06-27  Neil Booth  <neil@daikokuya.co.uk>
1311         PR preprocessor/7070
1312         * c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
1314 2002-06-26  Bob Wilson  <bob.wilson@acm.org>
1316         * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
1317         config/xtensa/xtensa.c (xtensa_return_addr): New function.
1318         config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr.
1319         config/xtensa/xtensa.md (fix_return_addr): New pattern.
1321 2002-06-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1323         * mips.c (coprocessor_operand, coprocessor2_operand,
1324         symbolic_operand): Move prototypes from here...
1325         * mips-protos.h (coprocessor_operand, coprocessor2_operand,
1326         symbolic_operand): ...to here.
1328 Wed Jun 26 16:32:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
1330         * config/sh/crt1.asm: remove _stack label definition
1331         and sentinel value.
1333 2002-06-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1335         * varasm.c: Include real.h before output.h.
1337 2002-06-26  Aldy Hernandez  <aldyh@redhat.com>
1339         * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Revert change to
1340         check for TARGET_ALTIVEC.
1342 2002-06-26  Nathanael Nerode  <neroden@gcc.gnu.org>
1344         * config.gcc (vax-*-vms*): Make obselete.
1346 2002-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1348         * gcc.c (warn_std): Delete.
1350 2002-06-25  Loren J. Rittle  <ljrittle@acm.org>
1352         * doc/extend.texi: Fix formatting of last checkin.
1354 2002-06-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1356         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Remove leading
1357         underscore from __IEEE_FP and __IEEE_FP_INEXACT.
1359 2002-06-25  Aldy Hernandez  <aldyh@redhat.com>
1361         * doc/extend.texi (PowerPC AltiVec Built-in Functions): Document
1362         discrepancies from motorola's documentation.
1364 Tue Jun 25 21:51:13 2002  J"orn Rennecke <joern.rennecke@superh.com>
1366         * optabs.c (expand_vector_binop, expand_vector_unop): Don't assume
1367         GET_MODE_UNIT_SIZE (mode) == UNITS_PER_WORD.
1369         * config/sh/lib1funcs.asm (udivdi3): Make first divide step
1370         produce a 32 bit result before normalization, then normalize with a
1371         left shift.  Compute approximative error of 2nd reciprocal
1372         approximation in 2's complement.  Fix mask generation from upper
1373         longword of second divide stage result.
1374         For large divisor, fix shift count used to truncate first stage
1375         divide result; make decision if to adjust upwards based on comparison
1376         of higher parts of normalized values.
1377         (udivdi): Likewise.  Undo normalization of result for large divisor
1378         case.
1380 2002-06-25  David S. Miller  <davem@redhat.com>
1382         * config/sparc/sparc.md: Change \\{t,n} to \{t,n}.
1384 2002-06-25  Neil Booth  <neil@daikokuya.co.uk>
1386         * cpplib.c (do_include_common): Revert to correct line number
1387         if -traditional.
1388         * cpptrad.c (scan_out_logical_line): Treat null directive as
1389         white space.  Invlidate MI optimization for non-whitespace
1390         text outside a directive.
1392 2002-06-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1394         * Makefile.in (SHELL): Set to @SHELL@.
1395         * fixinc/Makefile.in (SHELL): Likewise.
1397         * mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2,
1398         fixuns_truncsfsi2, fixuns_truncsfdi2): Avoid automatic aggregate
1399         initialization.
1401 2002-06-24  Jeff Law <law@redhat.com>
1403         * flow.c (propagate_one_insn): When removing an insn
1404         with a REG_LIBCALL note but not the entire libcall sequence,
1405         delete the associated REG_RETVAL note.
1407 Mon Jun 24 21:05:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
1409         * lib1funcs.asm (sdivsi3): Add optimized SH64 implementations.
1410         (udivsi3): Likewise.  Rewrite SH1 implementation.
1411         (udivdi3, divdi3, umoddi3, moddi3): New SHmedia functions.
1412         * sh.md (R20_REG, R21_REG, R22_REG, R23_REG, FR23_REG): New constants.
1413         (udivsi3_i1_media, divsi3_i1_media): Fix clobber list.
1414         * config/sh/t-sh64 (LIB1ASMFUNCS): (_udivdi3, _divdi3, _umoddi3): Add.
1415         (_moddi3): Likewise.
1417         * lib1funcs.asm (ic_invalidate): Add data cache line writeback.
1419         * sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK
1420         arguments into account for stack_regs.
1422 2002-06-24  Matt Kraai  <kraai@alumni.cmu.edu>
1424         * doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */'
1425         in examples.
1427 2002-06-24  Art Haas  <ahaas@neosoft.com>
1429         * doc/extend.texi (Other Builtins): Change `...' to `@dots{}'.
1430         * doc/tm.texi (Frame Layout): Likewise.
1432 2002-06-20  Steve Ellcey  <sje@cup.hp.com>
1434         * gcc/config.gcc (ia64*-*-hpux*): Set use_collect2 to no.
1435         Set float_format to i128.
1437 2002-06-24  David S. Miller  <davem@redhat.com>
1439         * config/sparc/sparc.c (INIT_TARGET_OPTABS): If ARCH64, set the
1440         32-bit ABI libfuncs to NULL.
1442         * config/sparc/sparc.md: Use define_insn_and_split.  Use braced
1443         strings instead of quoted strings for code blocks.
1445         * expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
1446         optabs if op1 is const0_rtx.
1448         * Makefile.in (GTFILES): Add basic-block.h
1449         * basic-block.h (label_value_list, tail_recursion_label_list):
1450         Mark with GTY.
1452 2002-06-24  Neil Booth  <neil@daikokuya.co.uk>
1454         * cpptrad.c (scan_out_logical_line): Check recursing only when
1455         we know we have a macro invocation in the function-like case.
1456         Only call _cpp_handle_directive if we know we have a good
1457         directive, or we want to reject a bad directive.
1459 2002-06-24  Alan Modra  <amodra@bigpond.net.au>
1461         * doloop.c (doloop_valid_p): Correct comment.
1462         (doloop_modify_runtime <abs_inc != 1>): Simplify.
1463         (doloop_modify_runtime <do-while>): Don't emit code when NE.
1465 Thu Jun 20 00:26:53 2002  Denis Chertykov  <denisc@overta.ru>
1467         * config.gcc: Add support for ip2k.
1469 2002-06-23  Jan Hubicka  <jh@suse.cz>
1470             Jeff Law <law@redhat.com>
1472         * function.h (struct emit_status): Clarify potential contents
1473         of regno_reg_rtx array.
1474         * integrate.c (copy_rtx_and_substitute): Update comments.  Make
1475         sure entry in regno_reg_rtx is a REG before checking REG_POINTER.
1477         * reg-stack.c (convert_regs_exit): Push the registers to stack in
1478         proper order.
1480 2002-06-22  Ulrich Weigand  <uweigand@de.ibm.com>
1482         PR middle-end/6963
1483         * function.c (assign_stack_temp_for_type): Do not return
1484         the same MEM rtx for multiple uses of a stack slot.
1486 2002-06-22  David S. Miller  <davem@redhat.com>
1488         PR target/6841 target/6770 target/6719
1489         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
1490         NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or
1491         GENERAL_OR_EXTRA_FP_REGS.
1493 2002-06-22  Neil Booth  <neil@daikokuya.co.uk>
1495         * cpptrad.c (struct fun_macro): Add line number.
1496         (scan_out_logical_line): Set it, and use it to report unterminated
1497         macro invocations.
1499 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1501         * genautomata.c (copy_node, VLA_PTR_CREATE, VLA_PTR_EXPAND,
1502         VLA_PTR_ADD, VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD,
1503         DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, DECL_PRESENCE,
1504         DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, REGEXP_UNIT,
1505         REGEXP_RESERV, REGEXP_SEQUENCE, REGEXP_REPEAT, REGEXP_ALLOF,
1506         REGEXP_ONEOF, check_name): Const-ify.
1508 2002-06-21  Matt Thomas  <matt@3am-software.com>
1510         * config/vax/vax.c (vax_output_function_prologue): Use
1511         REGISTER_PREFIX.  Fix some indentation.
1512         * config/vax/vax.h (FUNCTION_PROFILER): Use reg_names[].
1513         (VAX_ISTREAM_SYNC): Define.
1514         (INITIALIZE_TRAMPOLINE): Use VAX_ISTREAM_SYNC.  Move the
1515         i-stream sync to the end.
1516         (REGISTER_PREFIX): Define as "".
1517         (ASM_OUTPUT_MI_THUNK): Use REGISTER_PREFIX.
1519 2002-06-21  Jason Thorpe  <thorpej@wasabisystems.com>
1521         * config.gcc (ns32k-*-netbsd*): Remove from list of obsolete
1522         configurations.
1524 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1526         * tree.c (tree_node_kind, tree_node_counts, tree_node_sizes,
1527         tree_node_kind_names): Wrap in GATHER_STATISTICS macro.
1529 2002-06-21  Matt Thomas  <matt@3am-software.com>
1531         * config/vax/netbsd.h: Adjust a comment.
1532         (TARGET_DEFAULT): Redefine as 0.
1534 2002-06-21  Richard Henderson  <rth@redhat.com>
1536         * bb-reorder.c (make_reorder_chain_1): Search harder for the
1537         vax casesi fallthru edge.
1538         * cfglayout.c (cleanup_unconditional_jumps): Use
1539         redirect_edge_succ_nodup.  Do not delete ADDR_VEC insns as dead.
1540         * cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
1541         block after ADDR_VEC.
1543 2002-06-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1545         * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
1547 2002-06-21  Neil Booth  <neil@daikokuya.co.uk>
1549         * cpperror.c (cpp_error): For traditional CPP, default to
1550         diagnostics on pfile->line.
1551         * cpplib.c (prepare_directive_trad): Set line number for
1552         diagnostics for #define too.
1553         * cpptrad.c (skip_whitespace): Skip comments properly.
1554         (_cpp_expansions_different_trad): Initialize quote2.
1556 2002-06-21  Hans-Peter Nilsson  <hp@bitrange.com>
1558         * config/mmix/mmix.md: Change GNU CC to GCC in file header comment.
1559         * config/mmix/mmix.h: Ditto.
1560         * config/mmix/mmix-protos.h: Ditto.
1561         * config/mmix/mmix.c: Ditto.  Fix typo in comment.
1562         * config/mmix/mmix-modes.def: Change GNU CC to GCC in file header
1563         comment.  Comment extra CC modes.
1565 2002-06-20 Jan Hubicka  <jh@suse.cz>
1567         * cfglayout.c (scope_to_insns_initialize): Call set_block_levels.
1568         (scope_to_insns_finalize): Do not call set_block_levels; handle
1569         sequences.
1570         (choose_inner_scope): New.
1571         * rtl.h (choose_inner_scope): Declare.
1573 2002-06-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1575         * pa-protos.h (pa_asm_output_mi_thunk): Change third argument to
1576         HOST_WIDE_INT.
1577         * pa.c (pa_asm_output_mi_thunk): Likewise.
1578         (n_deferred_plabels): Change type to size_t.
1579         (output_deferred_plabels, output_call): Use size_t instead of int.
1581 2002-06-20  Richard Henderson  <rth@redhat.com>
1583         PR target/4041
1584         * config/m68k/m68k.md (zero_extendsidi2): Create expander; duplicate
1585         pattern and adjust constraints for coldfire.
1587 2002-06-20  Richard Henderson  <rth@redhat.com>
1589         * explow.c (probe_stack_range): Use gen_rtx_fmt_ee.
1591 2002-06-20  Chris Demetriou  <cgd@broadcom.com>
1593         * config.gcc (mipsisa64-*-elf*, mipsisa64el-*-elf*): New targets.
1595 2002-06-20  Chris Demetriou  <cgd@broadcom.com>
1597         * config/mips/mips.h (ISA_HAS_FP4): Fix comment to reflect use.
1599 2002-06-20  Stan Shebs  <shebs@apple.com>
1601         * dominance.c: Include errors.h instead of error.h.
1603 2002-06-20  Neil Booth  <neil@daikokuya.co.uk>
1605         * cppexp.c (cpp_interpret_integer): Don't force traditional
1606         numbers to be unsigned.
1607         * cpplib.c (prepare_directive_trad): Set line number for
1608         diagnostics.
1609         * cpptrad.c (scan_out_logical_line): Continue scanning out
1610         at start of buffer.
1611         * gcc.c (trad_capable_cpp): Use cc1 always.
1613 2002-06-20  Jeffrey Law  <law@redhat.com>
1615         * i386.h (TARGET_DEFAULT): Do not turn on frame pointer
1616         elimination in leaf functions by default yet.
1618 2002-06-20  Richard Sandiford  <rsandifo@redhat.com>
1620         * combine.c (make_extraction): Reapply to the argument of an ASHIFT.
1622 2002-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1624         * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
1625         multilibs.
1626         * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
1627         Fixes PR other/6836.
1629 Thu Jun 20 19:42:21 CEST 2002  Jan Hubicka  <jh@suse.cz>
1630                                Pavel Nejedly  <bim@atrey.karlin.mff.cuni.cz>
1632         Mon Jun 10 20:42:34 CEST 2002  Jan Hubicka  <jh@suse.cz>
1634         * basic-block.h: Do not include et-forest.h
1635         (dominance_info): Declare as struct dominance-info.
1636         * cfglayout.c (cleanup_unconditional_jumps): Remove the edge before
1637         deleting block.
1638         * dominance.c (struct dominance_info): Define.
1639         (BB_NODE, SET_BB_NODE): New macros.
1640         (bb_hash_func, bb_eq_func): Kill.
1641         (calculate_dominace_info, free_dominacne_info, set_immediate_dominator,
1642         nearest_common_dominator, dominated_by_p, recount_dominator,
1643         add_to_dominance_info, delete_from_dominance_info): update for new
1644         representation.
1645         (get_dominated_by, redirect_immediate_dominators): Rewrite using
1646         enumerate_sons.
1647         * ifcvt.c (process_double_test_block, merge_if_block, find_cond_trap,
1648         find_if_case_1, find_if_case_2): Remove killed blocks from dominance
1649         structure.
1651         * et-forest.h: Update copyright; revamp all function to operate on
1652         nodes
1653         (et_forest_value): Kill.
1654         (et_forest_enumerate_sons, et_forest_node_value): New.
1655         * et-forest.c: Update copyright.
1656         * et-forest.h: Update copyright; revamp all function to operate on
1657         nodes
1658         (et_forest_value): Kill.
1659         (et_forest_enumerate_sons, et_forest_node_value): New.
1661         Thu Jun  6 22:43:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
1663         * basic-block.h: Inlude et-forest.h
1664         (basic_block_def): Kill dominator.
1665         (dominance_info): New type.
1666         (loops): Use dominace_info.
1667         (dominace handling functions): Take dominace_info as argument
1668         instead of bitmaps.
1669         (create_preheader): Likewise.
1670         * cfg.c (entry_exit_blocks): Kill dominator.
1671         (dump_flow_info): Do not dump dominators.
1672         * cfglayout.c (cleanup_unconditonal_jumps): Delete deleted block from
1673         dominators.
1674         * cfgloop.c (flow_pre_header_find): Use dominacne_info.
1675         (flow_loops_pre_header_scan, make_forwarder_block,
1676         canonicale_loop_headers, flow_loops_find): Likewise.
1677         * dominance.c: Include error.h
1678         (idoms_to_doms): Kill.
1679         (bb_hash_func, bb_eq_func): New static functions.
1680         (debug_dominace_info): New global function.
1681         (calculate_dominance_info): Use new et forest structure.
1682         (free_dominace_info, get_immediate_dominator, set_immediate_dominator,
1683         get_dominated_by, redirect_immediate_dominators,
1684         nearest_common_dominator, dominated_by_p, verify_dominators,
1685         recount_dominator, iterate_fix_dominators, add_to_dominace_info,
1686         delete_from_dominance_info): New global functions.
1687         * gcse.c (domnators): CHange to dominance_info.
1688         (alloc_hoist_mem): Do not alloc dominators
1689         (free_code_hoist_mem): Use free_dominance_info.
1690         (compute_code_hoist_data): Use dominance_info.
1691         (hoist_code): Likewise.
1692         * ifcvt.c (post_dominators): Likewise.
1693         (find_if_case_2, if_convert): Likewise.
1694         * predict.c (process_note_predictions, process_note_prediction,
1695         estimate-probability): Likewise.
1696         * sched-rgn.c (find_rgns, init_regions): Likewise.
1697         * ssa-dce.c (find_all_control_dependences, fint_control_depemndence,
1698         find_pdom, delete_insn_bb, ssa_eliminate_dead_code): Likewise.
1699         * ssa.c (compute_dominance_frontiers_1, rename_block, rename_registers,
1700         find_evaluations, convert_to_ssa): Likewise.
1701         * ssa.h (compute_dominance_frontiers): Likewise.
1703         Thu Jun  6 22:57:34 CEST 2002  Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
1705         * Makefile.in (et-forest.c): Add.
1706         * et-forest.c: New file.
1707         * at-forest.h: New file.
1709 2002-06-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1711         * c-decl.c (c_decode_option): Use ARRAY_SIZE in lieu of explicit
1712         array size calculation.
1713         * gengtype.c (NUM_BASE_FILES, create_file, write_gc_root):
1714         Likewise.
1716         * diagnostic.c (diagnostic_kind_text): Const-ify.
1717         * gengtype.c (lang_names): Likewise.
1719 Thu Jun 20 17:25:29 CEST 2002  JAn HUbicka  <jh@suse.cz>
1721         * combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.
1723 2002-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1725         * config/sol2.h: New file.
1726         * config.gcc (i?86-*-solaris2*): Include it before i386/sol2.h.
1727         (sparc64-wrs-vxworks*): Include it before sparc/sol2.h.
1728         (sparc-*-chorusos*): Likewise.
1729         (sparc-*-elf*): Likewise.
1730         (sparc-*-rtems*, sparc-*-rtemself*): Likewise.
1731         (sparc64-*-solaris2*, sparcv9-*-solaris2*): Likewise.
1732         (sparc-hal-solaris2*): Likewise.
1733         (sparc-*-solaris2*): Likewise.
1734         (sparclite-*-elf*): Likewise.
1735         (sparc86x-*-elf*): Likewise.
1736         (sparc64-*-elf*): Likewise.
1738         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Moved to
1739         config/sol2.h.
1740         (ASM_SPEC): Override config/sol2.h version for now.
1741         Removed obsolete GAS_REJECTS_MINUS_S variant.
1742         (WINT_TYPE, WINT_TYPE_SIZE): Moved to config/sol2.h.
1743         (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
1744         (TARGET_OS_CPP_BUILTINS): Likewise.
1745         Assert system=unix.
1746         (CPP_SPEC): Simplified using new CPP_SUBTARGET_SPEC.
1747         (LIB_SPEC, ENDFILE_SPEC, STARTFILE_SPEC, LINK_SPEC): Moved to
1748         config/sol2.h.
1749         (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
1750         (ASM_CPU_SPEC): Define.
1751         (SUBTARGET_EXTRA_SPECS): Define.
1753         * config/sparc/sol2-bi.h (LONG_DOUBLE_TYPE_SIZE): Removed, already
1754         in config/sparc/sol2.h.
1755         (ASM_SPEC): Moved to config/sol2.h.
1756         (CPP_CPU_SPEC): Simplified.
1757         (STARTFILE_SPEC32): Likewise, renamed to STARTFILE_ARCH32_SPEC for
1758         consistency.
1759         (STARTFILE_SPEC64): Renamed to STARTFILE_ARCH64_SPEC.
1760         (STARTFILE_ARCH_SPEC): Use new names STARTFILE_ARCH32_SPEC,
1761         STARTFILE_ARCH64_SPEC.
1762         (STARTFILE_SPEC): Moved to config/sol2.h
1763         (SUBTARGET_EXTRA_SPECS): Add startfile_arch.
1764         (LINK_ARCH32_SPEC): Moved to config/sol2.h.
1765         (LINK_ARCH64_SPEC): Simplified.
1766         (LINK_ARCH_SPEC): Redefined config/sol2.h version for 64-bit support.
1767         (LINK_SPEC): Moved to config/sol2.h
1769         * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Moved to
1770         config/sol2.h.
1771         Use BITS_PER_WORD for size.
1772         (WINT_TYPE, WINT_TYPE_SIZE): Likewise.
1773         (HANDLE_PRAGMA_REDEFINE_EXTNAME): Likewise.
1774         (CPP_PREDEFINES): Removed OS-specific part handled by
1775         TARGET_OS_CPP_BUILTINS.
1776         (CPP_SUBTARGET_SPEC): Moved to config/sol2.h.
1777         (CPLUSPLUS_CPP_SPEC): Removed, handled by TARGET_OS_CPP_BUILTINS.
1778         (ASM_SPEC): Moved to config/sol2.h.
1779         (PREFERRED_DEBUGGING_TYPE): Likewise.
1780         (STARTFILE_SPEC, LIB_SPEC, LINK_SPEC): Likewise.
1781         (SWITCH_TAKES_ARG, STDC_0_IN_SYSTEM_HEADERS): Likewise.
1782         (TARGET_DEFAULT): Reordered to match config/sparc/sol2-bi.h version.
1783         (TRANSFER_FROM_TRAMPOLINE): Moved to config/sol2.h
1785         * config.gcc (i?86-*-solaris2*): Removed obsolete gas support.
1786         * config/i386/sol2gas.h: Removed.
1788 Thu Jun 20 12:14:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
1790         * i386.md (xorqi_1_slp, xorqi_2_slp): New patterns.
1792 2002-06-16  Aldy Hernandez  <aldyh@redhat.com>
1794         * gcc.c-torture/execute/simd-1.c: New.
1796         * gcc.dg/simd-1.c: New.
1798         * doc/extend.texi (Vector Extensions): Document that we can
1799         specify simd types not specifically supported by the hardware.
1800         Document that simd types can be used as function arguments.
1801         Document that signness does make a difference in SIMD types.
1802         Misc cleanups and revisions to the vector extensions section.
1804         * simplify-rtx.c (simplify_subreg): Simplify subregs of vector
1805         constants.
1807         * expr.c (vector_mode_valid_p): New.
1809         * expr.h: Add vector_mode_valid_p.
1811         * defaults.h (VECTOR_MODE_SUPPORTED_P): Set default.
1813         * c-common.c (type_for_mode): Always build vector nodes regardless
1814         of VECTOR_MODE_SUPPORTED_P.
1815         (handle_mode_attribute): Error if we can't emulate a nonexisting
1816         vector mode.
1817         (handle_vector_size_attribute): Same.
1819         * optabs.c (expand_binop): Open-code vector operations.
1820         (expand_unop): Open-code vector unops.
1821         (expand_vector_binop): New.
1822         (expand_vector_unop): New.
1824         * c-typeck.c (build_binary_op): Allow vectors in binops.
1825         Allow vectors in conditional operatiors.
1826         (build_unary_op): Allow vectors in unary minus.
1828         * config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on
1829         TARGET_ALTIVEC.
1831 2002-05-20  Richard Henderson  <rth@redhat.com>
1833         * c-common.c (c_common_get_alias_set): Correctly handle characters.
1834         Rearrange order of expressions; don't handle vectors here.
1835         * alias.c (get_alias_set): Let vectors match their components.
1837 2002-06-19  Chris Demetriou  <cgd@broadcom.com>
1839         * config/mips/mips.c (mips_emit_prefetch): Use hints which
1840         match desired locality.
1842 2002-06-19  Dhananjay R. Deshpande  <dhananjayd@kpit.com>
1844         * config/h8300/h8300.c (TARGET_INSERT_ATTRIBUTES): Define.
1845         (h8300_insert_attributes): New.
1847 2002-06-19  Akim Demaille  <akim@epita.fr>
1849         * c-parse.in (initelt: identifier ':' initval): Add an empty
1850         action to fix a type clash.
1851         (aliasdecl, classdef): Add the missing closing `;'.
1852         Whitespace changes.
1853         * gengtype-yacc.y (typedef_struct): Add an empty action to preevnt
1854         $$ = $1 type clashes.
1856 2002-06-19  Eric Christopher  <echristo@redhat.com>
1858         * config/mips/mips.c (symbol_operand): New function.
1859         (mips_emit_prefetch): Ditto.
1860         * config/mips/mips-protos.h: Define.
1861         * config/mips/mips.h (ISA_HAS_PREFETCH): Define.
1862         (CONSTANT_ADDRESS_P): Adjust, use TARGET_GAS.
1863         (LEGITIMIZE_ADDRESS): Ditto.
1864         * config/mips/mips.md (prefetch, prefetch_si_address,
1865         prefetch_si, prefetch_di_address, prefetch_di): New patterns.
1867 2002-06-19  Eric Christopher  <echristo@redhat.com>
1869         * config/fp-bit.h: Add unordered defines for gofast.
1871 2002-06-19  Vladimir Makarov  <vmakarov@redhat.com>
1873         * genautomata.c (DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON,
1874         DECL_EXCL, DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV,
1875         DECL_INSN_RESERV, REGEXP_UNIT, REGEXP_RESERV, REGEXP_SEQUENCE,
1876         REGEXP_REPEAT, REGEXP_ALLOF, REGEXP_ONEOF): New macros with
1877         checking and without it.
1878         (decl_name, decl_mode_check_failed, regexp_name,
1879         regexp_mode_check_failed): New functions.
1880         (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
1881         gen_presence_set, gen_absence_set, gen_automaton,
1882         gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof,
1883         gen_regexp_sequence, gen_reserv, gen_insn_reserv,
1884         automaton_decl_hash, automaton_decl_eq_p): Use the macros.
1885         (find_automaton_decl): Ditto.  Set up mode of work_automaton_decl.
1886         (insn_decl_hash, insn_decl_hash, insn_decl_eq_p): Use the macros.
1887         (find_insn_decl): Ditto.  Set up mode of work_insn_decl.
1888         (decl_hash, decl_eq_p): Use the macros.
1889         (find_decl): Ditto.  Set up mode of work_decl.
1890         (process_excls, process_presence_absence, process_decls,
1891         check_automaton_usage, process_regexp, process_regexp_decls,
1892         check_usage, loop_in_regexp, check_loops_in_regexps,
1893         process_regexp_cycles, add_advance_cycle_insn_decl,
1894         initiate_states, initiate_excl_sets,
1895         initiate_presence_absence_sets, copy_insn_regexp, transform_1,
1896         transform_2): Use the macros.
1897         (transform_3): Ditto.  Check mode before making transformations of
1898         ALLOF.
1899         (regexp_transform_func, transform_insn_regexps,
1900         process_unit_to_form_the_same_automaton_unit_lists,
1901         form_the_same_automaton_unit_lists_from_regexp,
1902         form_the_same_automaton_unit_lists,
1903         process_seq_for_forming_states, process_alts_for_forming_states,
1904         create_alt_states, form_ainsn_with_same_reservs, make_automaton,
1905         form_arcs_marked_by_insn, NDFA_to_DFA, set_new_cycle_flags,
1906         estimate_one_automaton_bound, compare_max_occ_cycle_nums,
1907         units_to_automata_heuristic_distr, create_ainsns,
1908         units_to_automata_distr, create_automata): Use the macros.
1909         (form_regexp): Ditto.  Fix typo in access to fields of ALLOF.
1910         (longest_path_length, min_issue_delay_pass_states,
1911         output_dead_lock_vect, output_tables, output_insn_code_cases,
1912         output_internal_insn_latency_func, output_print_reservation_func,
1913         output_description, output_automaton_units, generate): Use the
1914         macros.
1915         (make_insn_alts_attr): Ditto.  Check case when there are not
1916         alternatives in the reservation.
1917         (make_internal_dfa_insn_code_attr, make_default_insn_latency_attr,
1918         make_bypass_attr, form_important_insn_automata_lists,
1919         expand_automata): Use the macros.
1921 2002-06-20  Tim Josling  <tej@melbpc.org.au>
1923         * Makefile.in: Clean up code to check for misspecified languages
1924         in enable-languages.
1926 2002-06-19  Andrew Pinski <pinskia@physics.uc.edu>
1928         * cpptrad.c (_cpp_replacement_text_len): initialize len.
1930 2002-06-19  Jason Merrill  <jason@redhat.com>
1932         * Makefile.in (unstrap, restrap): New targets.
1933         (bootstrap): Mention restrap.
1935 2002-06-19  Matt Kraai  <kraai@alumni.cmu.edu>
1937         * except.c (ehl_free): Remove.
1939         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Correct misnamings of
1940         builtin_define and builtin_define_std.
1942 2002-06-19  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
1944         * config/ns32k/ns32k.md: Give "*xxx" names to all unnamed insn's.
1945         (sCOND): Restrict operand class so that gcc knows how to reload them.
1946         (bitfield_set): Merge two unnamed insn's using alternatives.
1947         (call_value): Remove constraint on unused uperand.
1948         (udivmodhi4, udivmodsi4, udivmoddihi4_internal): Remove.
1949         (udivmoddiqi4_internal, udivmoddihi4, udivmoddiqi4): Remove.
1951         * longlong.h (count_trailing_zeros): Escape newline and beautify.
1953 2002-06-19  Mark Mitchell  <mark@codesourcery.com>
1955         * Makefile.in (QMTEST_DIR): Simplify definition.
1957 2002-06-19  Nick Clifton  <nickc@cambridge.redhat.com>
1959         * config/d30v/d30v.h (CUMULATIVE_ARGS): Replace typedef with
1960         #define.
1962 2002-06-19  Neil Booth  <neil@daikokuya.co.uk>
1964         * cpphash.h (struct cpp_reader): Make date and time strings.
1965         (_cpp_builtin_macro_text, _cpp_copy_replacement_text,
1966         _cpp_replacement_text_len): New.
1967         * cppinit.c (cpp_create_reader): Update.
1968         (init_builtins): Register appropriate builtins for -traditional-cpp.
1969         * cppmacro.c (new_number_token): Remove.
1970         (_cpp_builtin_macro_text): New.
1971         (builtin_macro): Use it.
1972         (cpp_macro_definition): Update to handle traditional macros.
1973         * cppmain.c (cb_line_change): Don't do column positioning for
1974         traditional output.
1975         * cpptrad.c (enum ls): Rename ls_fun_macro to ls_fun_open.  New
1976         state ls_fun_close.
1977         (skip_whitespace): Fix.
1978         (maybe_start_funlike): Don't set state.parsing_args.
1979         (scan_out_logical_line): Remove duplicate error.  Use lex_state
1980         rather than state.parsing_args.
1981         (push_replacement_text): Handle builtins.
1982         (_cpp_replacement_text_len, _cpp_copy_replacement_text): New.
1984 2002-06-18  Hans-Peter Nilsson  <hp@axis.com>
1985             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1987         * config/fp-bit.c (_fpmul_parts, _fpdiv_parts): Mark with
1988         attribute __always_inline__.
1990 2002-06-18  Bob Wilson  <bob.wilson@acm.org>
1992         * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
1993         when generating the call to _mcount.
1994         (NO_PROFILE_COUNTERS): Define.
1996 2002-06-18  Richard Henderson  <rth@redhat.com>
1998         * print-rtl.c (print_rtx): Adjust NOTE argument numbers for
1999         2002-06-02 change.
2001 Tue Jun 18 20:53:32 2002  J"orn Rennecke <joern.rennecke@superh.com>
2003         * t-sh (MULTILIB_EXCEPTIONS): Set to ml.
2004         config/sh/t-linux (MULTILIB_EXCEPTIONS): Clear.
2005         * config/sh/t-netbsd (MULTILIB_EXCEPTIONS): Likewise.
2006         * config/sh/t-sh64 (MULTILIB_EXCEPTIONS): Likewise.
2008         * sh-protos.h (sh_pr_interrupt): Declare.
2009         * sh.c (sh_pr_interrupt): New function.
2010         (print_operand, calc_live_regs, sh_expand_prologue): Use it.
2011         (sh_hard_regno_rename_ok): Likewise.
2012         * sh.h (NORMAL_MODE): FP_MODE_NONE for interupt handlers.
2014 2002-06-18  Vladimir Makarov  <vmakarov@redhat.com>
2016         * rtl.def (DEFINE_AUTOMATON): Add description of new options
2017         `time' and `v'.  Fix incorrect description of option `w'.
2019         * doc/md.texi: Ditto.
2021         * genautomata.c (TIME_OPTION, V_OPTION): New macros.
2022         (gen_automata_option): Process the new options.
2023         (transform_2, transform_3): Initialize some variables.
2024         (initiate_automaton_gen): Use the new macros.
2026 2002-06-18  Richard Sandiford  <rsandifo@redhat.com>
2028         * config/mips/mips-protos.h (mips_initial_elimination_offset): Declare.
2029         (mips_set_return_address, mips_restore_gp): Declare.
2030         * config/mips/mips.h (struct mips_frame_info): Move to mips.c
2031         (current_frame_info): Remove.
2032         (INITIAL_ELIMINATION_OFFSET): Use mips_initial_elimination_offset.
2033         * config/mips/mips.c: Remove uses of current_frame_info.
2034         (struct mips_frame_info): Moved from mips.h.  Remove 'insns_len'.
2035         (struct machine_function): Add 'frame' and 'insns_len'.
2036         (current_frame_info, zero_frame_info): Remove.
2037         (mips_restore_gp, mips_set_return_address): New.
2038         (mips_initial_elimination_offset): New.
2039         * config/mips/mips.md (exception_receiver): Use mips_restore_gp.
2040         (eh_return define_split): Use mips_set_return_address.
2042 2002-06-18  Neil Booth  <neil@daikokuya.demon.co.uk>
2044         * cpplib.c (dtable): Update.
2045         (end_directive): Decrement expansion prevention count.
2046         Clear state.in_expression.
2047         (prepare_directive_trad): Set state.in_expression.
2048         Increment expansion prevention count.
2049         * cpptrad.c (enum ls): New.
2050         (_cpp_overlay_buffer): Set overlaid_buffer.
2051         (_cpp_remove_overlay): Use overlaid_buffer.
2052         (_cpp_read_logcial_line_trad): Update buffer when it might
2053         have changed.
2054         (scan_out_logical_line): Handle state transitions for assertions
2055         and defined() in #if, and for funlike invocations including the
2056         directive case.  Handle '<' and '>' as a quote mechanism in
2057         #include.  Warn about unterminated macro invocations.
2058         * cpphash.h (struct lexer_state): New member in_expression.
2059         (struct cpp_reader): New member overlaid buffer.
2061 2002-06-18  Hans-Peter Nilsson  <hp@axis.com>
2063         * config/cris/arit.c (do_31div, __Udiv, __Umod): Mark prototype
2064         __always_inline__.
2066 2002-06-18  Alan Modra  <amodra@bigpond.net.au>
2068         * config/ia64/ia64.md (doloop_end_internal): Correct rtl.
2070         * doloop.c (doloop_optimize): Extract pattern from insn.
2072 2002-06-17  Matt Kraai  <kraai@alumni.cmu.edu>
2074         * doc/extend.texi (Function Attributes): Remove `,...' from @var.
2076 2002-06-17  Jeff Law <law@redhat.com>
2078         * libgcc2.c: Do not include symcat.h or machmode.h.
2080 2002-06-17  Richard Henderson  <rth@redhat.com>
2082         PR target/6922
2083         * expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
2085 2002-06-17  Tom Tromey  <tromey@redhat.com>
2087         * dwarfout.c: Include function.h.
2089 2002-06-17  Andreas Schwab  <schwab@suse.de>
2091         * print-rtl.c (print_rtx): Print space before vector, not after.
2092         (debug_rtx): Clear sawclose before printing.
2093         (debug_rtx_list): Print newline after each list element.
2094         (debug_rtx_range): Likewise.
2096 2002-06-17  Richard Henderson  <rth@redhat.com>
2098         * function.h (struct function) [funcdef_no]: Rename profile_label_no.
2099         (current_function_funcdef_no): Similarly.
2100         * function.c (funcdef_no): Similarly.
2101         (prepare_function_start): Set current_function_funcdef_no.
2102         (expand_function_start): Don't set current_function_profile_label_no.
2103         * dwarf2out.h (current_funcdef_number): Remove.
2104         * dwarf2out.c (current_funcdef_number): Remove.  Replace with
2105         current_function_funcdef_no throughout.
2106         * dwarfout.c, vmsdbgout.c: Similarly.
2107         * except.c (sjlj_funcdef_number): Remove.
2108         (sjlj_emit_function_enter): Use current_function_funcdef_no instead.
2109         (output_function_exception_table): Likewise.
2110         * final.c (profile_function): Use current_function_funcdef_no
2111         instead of current_function_profile_label_no.
2113 2002-06-17  Vladimir Makarov  <vmakarov@redhat.com>
2115         * sched-ebb.c (init_ready_list): Check INSN_P first.
2117 Mon Jun 17 17:26:15 2002  J"orn Rennecke <joern.rennecke@superh.com>
2119         * sh.md (divsi3): Update way how to find insns in a sequence.
2121         * reload1.c (merge_assigned_reloads): Don't change reloads
2122         other than RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
2123         to RELOAD_OTHER when there are conflicting input reloads.
2125 2002-06-17  Richard Earnshaw  (rearnsha@arm.com)
2127         * function.c (epilogue_done): Correctly build a sequence of insns for
2128         a sibcall epilogue.
2130 2002-06-17  Nick Clifton  <nickc@cambridge.redhat.com>
2132         * config/fr30/fr30.h (CUMULATIVE_ARGS): Replace typedef with
2133         #define.
2135         * config/m32r/m32r.md: Replace gen_sequence with get_insns.
2137 2002-06-16  Richard Henderson  <rth@redhat.com>
2139         * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
2140         of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
2142 2002-06-16  Richard Henderson  <rth@redhat.com>
2144         PR opt/6722
2145         * regclass.c (globalize_reg): Update regs_invalidated_by_call.
2147 2002-06-16  Neil Booth  <neil@daikokuya.demon.co.uk>
2149         * config.gcc: Add i386/sysv4-cpp.h; remove i386-aout.h from vxworks.
2150         * config/i386/i386-aout.h, config/i386/i386elf.h,
2151         config/i386/sysv4.h: Remove CPP_PREDEFINES.
2152         * config/i386/linux64.h, config/i386/i386elf.h, config/i386/mach.h,
2153         config/i386/netware.h, config/i386/rtemself.h, config/i386/sco5.h,
2154         config/i386/sol2.h, config/i386/vsta.h, config/i386/vxi386.h,
2155         config/i386/win32.h: Use TARGET_OS_CPP_BUILTINS rather than
2156         CPP_PREDEFINES and part of CPP_SPEC.
2157         * config/i386/sysv4-cpp.h: New.
2159 2002-06-16  Richard Henderson  <rth@redhat.com>
2161         PR c/7030
2162         * dwarf2out.c (modified_type_die): Don't assign the qualified die
2163         to the unqualified type.
2165 Sun Jun 16 22:16:10 CEST 2002  Jan Hubicka  <jh@suse.cz>
2167         * i386-protos.h (x86_field_alignment): Declare.
2168         * i386.c (x86_field_alignment): Define.
2169         * i386.h (ADJUST_FIELD_ALIGNMENT): New.
2170         (BIGGEST_FIELD_ALIGNMENT): Kill.
2172 2002-06-16  Richard Henderson  <rth@redhat.com>
2174         * vax.md (casesi): Use emit_jump_insn.  Tidy expander pattern.
2176 2002-06-16  Richard Henderson  <rth@redhat.com>
2178         * c-common.c (flag_ms_extensions): Move from c++ front end.
2179         * c-common.h (flag_ms_extensions): Declare.
2180         * c-decl.c (c_decode_option): Add -fms-extensions.
2181         (grokfield): Don't accept anonymous structures in ISO C mode;
2182         accept only unnamed anonymous structures in GNU C mode; accept
2183         Plan 9 extensions in MS mode.
2184         * c-parse.in (SAVE_EXT_FLAGS, RESTORE_EXT_FLAGS): Rename from
2185         SAVE/RESTORE_WARN_FLAGS; add flag_iso frobbing; update all callers.
2186         (extension): Clear flag_iso.
2187         * doc/invoke.texi (C Dialect Options): Add -fms-extensions.
2189 2002-06-16  Hans-Peter Nilsson  <hp@axis.com>
2191         PR target/7042
2192         * reorg.c (make_return_insns) [DELAY_SLOTS_FOR_EPILOGUE]: Exit
2193         early if current_function_epilogue_delay_list is non-empty.
2194         * config/cris/cris.md ("return"): Add sanity check asserting that
2195         current_function_epilogue_delay_list is empty.
2197 2002-06-16  Jeff Law <law@redhat.com>
2199         * emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic
2200         sharing of hard registers.
2202         * toplev.c (rest_of_compilation): Remove redundant conditional.
2204         * toplev.c (rest_of_compilation): Perform a simpler, less costly
2205         cleanup of the CFG when not optimizing.
2207 2002-06-16  Alan Modra  <amodra@bigpond.net.au>
2209         * gcc.c (main): Correct startfile_prefix_spec check.
2211 2002-06-12  Geoffrey Keating  <geoffk@redhat.com>
2213         * config.gcc: Revert rth's patch of 2002-05-18.  Instead,
2214         include both darwin.o and rs6000-c.o.
2216 2002-06-15  Roger Sayle  <roger@eyesopen.com>
2218         * expr.c (compare_from_rtx): Call simplify_relational_operation
2219         on all comparisons, not just those between integer constants,
2220         with the correct (possibly unsigned) comparison code.
2221         (do_compare_rtx_and_jump): Likewise.
2223 2002-06-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2225         * Makefile.in (tm_defines): New configuration variable.
2226         (cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES.
2227         Pass tm_defines in TM_DEFINES.
2228         (cs-tm_p.h): Rename DEFINES to XM_DEFINES.  Pass TM_DEFINES.
2229         * config.gcc (tm_defines): New configuration variable.
2230         (hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and
2231         pa-7100.h headers.  Change hppa1* scheduling default to 7100LC.
2232         * configure.in: Substitute tm_defines.
2233         * configure: Rebuilt.
2234         * mkconfig.sh: Rename DEFINES to XM_DEFINES.  Output TM_DEFINES.
2235         * doc/install.texi: Update.
2236         * pa/pa-700.h: Delete file.
2237         * pa/pa-7100.h: Delete file.
2239 2002-06-15  Roger Sayle  <roger@eyesopen.com>
2241         * fold-const.c (comparison_to_compcode): New function to convert
2242         an comparison TREE CODE into a bit-based representation.
2243         (compcode_to_comparison): New function to convert from this bit
2244         based representation back to a comparison TREE CODE.
2245         (fold_truthop): Simplify (x<y) && (x==y) and related composite
2246         comparisons.
2248 2002-06-15  Aldy Hernandez  <aldyh@redhat.com>
2250         * tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.
2252         * stor-layout.c (compute_record_mode): Remove check for
2253         FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for
2254         MEMBER_TYPE_FORCES_BLK.  Pass new mode field to
2255         MEMBER_TYPE_FORCES_BLK.
2257         * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same.
2259         * config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same.
2261 2002-06-14  Jeff Sturm  <jsturm@one-point.com>
2263         * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
2265 2002-06-14  Steve Ellcey  <sje@cup.hp.com>
2267         * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set
2268         USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set.
2269         * configure, config.in: Regenerate.
2271 2002-06-14  Eric Botcazou  <ebotcazou@multimania.com>
2273         * loop.c (check_final_value): Use v->always_executed
2274         instead of v->always_computable.
2275         * unroll.c (final_giv_value): Don't calculate the final
2276         value as a function of the biv if the giv is not computed
2277         for every loop iteration.
2279 2002-06-14  Eric Botcazou  <ebotcazou@multimania.com>
2281         * loop.c (for_each_insn_in_loop): Fix formatting and comments.
2283 2002-06-14  Eric Botcazou  <ebotcazou@multimania.com>
2285         PR c/6677
2286         * convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
2287         the truncation down when the target type is signed.
2288         [trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
2289         * fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
2290         the conversion if the target type is a smaller type.
2292 2002-06-14  Richard Henderson  <rth@redhat.com>
2294         * fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation
2295         earlier.  Re-factor comparisons vs extrema.
2297 2002-06-14  Richard Henderson  <rth@redhat.com>
2299         * config/alpha/alpha.md (builtin_zapnot): Fix op2 mode.
2301 2002-06-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2303         * rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
2304         * sched-deps.c (add_dependence): Likewise.
2305         (group_leader): Likewise.
2306         * sched-rgn.c (init_ready_list): Likewise.
2307         * doc/rtl.texi: Adjust accordingly.
2309 2002-06-13  Jeffrey Law  <law@redhat.com>
2311         * gcse.c (delete_null_pointer_checks_1): Inform caller if any
2312         null pointer checks were eliminated.  Update prototype.
2313         (delete_null_pointer_checks): Similarly.
2314         * rtl.h (delete_null_pointer_checks): Update prototype.
2315         * toplev.c (rest_of_compilation): Only run cleanup_cfg if
2316         delete_null_pointer_checks deletes one or more null
2317         pointer checks.  Do not run cleanup_cfg before gcse, the
2318         CFG is accurate and optimized at that point..
2320         * rs6000.c (rs6000_frame_related): Avoid unwanted sharing
2321         of hard registers.
2323 2002-06-14  Ulrich Weigand  <uweigand@de.ibm.com>
2325         * Makefile.in (libgcc.mk): Depend on specs.
2327 Fri Jun 14 12:15:11 2002  J"orn Rennecke <joern.rennecke@superh.com>
2329         * sh.md (mulsi3): Update way how to find insns in a sequence.
2331 Fri Jun 14 12:04:02 2002  Dhananjay R. Deshpande <dhananjayd@kpit.com>
2333         * sh.h: Define HARD_REGNO_RENAME_OK
2334         * sh.c: sh_hard_regno_rename_ok: New. If current function has
2335         interrupt_handler attribute, only registers saved on stack are OK.
2336         * sh-protos.h: Declare sh_hard_regno_rename_ok.
2338 2002-06-14  Kaz Kojima  <kkojima@gcc.gnu.org>
2340         * config/sh/sh.md (jump): Emit jump insn.
2341         (call_pcrel): Get pattern of the result of gen_call_site.
2342         (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise.
2344 2002-06-14  Neil Booth  <neil@daikokuya.demon.co.uk>
2346         * cpphash.h (struct cpp_buffer): Remove saved_line_base.
2347         * cpptrad.c: Update comments.
2348         (skip_whitespace, copy_comment): Take a new parameter.
2349         (skip_escaped_newlines): Don't duplicate escaped newline test.
2350         (copy_comment): Different location for CUR, decide here how
2351         to copy / replace the comment.
2352         (skip_whitespace): Copy whitespace.
2353         (_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base.
2354         (scan_out_logical_line): Let copy comment handle keeping or
2355         replacing comments.
2356         (scan_parameters, _cpp_create_trad_definition): Update.
2358 2002-06-13  Alan Lehotsky  <apl@alum.mit.edu>
2360         * reload.c (get_secondary_mem,find_reloads_address,
2361         find_reloads_address_1): Pass reference to MEM to find_reloads_address
2362         so that LEGITIMIZE_RELOAD_ADDRESS will be called.
2364 2002-06-13  Jessica Han  <jessica@cup.hp.com>
2366         * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
2367         (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
2368         * doc/tm.texi: Document them.
2369         * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New.
2370         (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
2371         (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode.
2372         (ASM_OUTPUT_FDESC): Likewise.
2374 2002-06-13  Eric Christopher  <echristo@redhat.com>
2376         * diagnostic.c (output_format): Fix thinko.
2378 Thu Jun 13 22:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
2380         * config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define.
2381         (DWARF2_UNWIND_INFO): Define to 0.
2383         * config/sh/sh.c (calc_live_regs): Don't use initial_value
2384         optimization for PR_MEDIA_REG.
2386 2002-06-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2388         * cpphash.h (_cpp_lex_identifier_trad): Remove.
2389         * cpplib.c (end_directive): Don't skip, always remove overlay
2390         apart from #define.
2391         (prepare_directive_trad): Handle NULL pfile->directive.
2392         (_cpp_handle_directive): Always call prepare_directive_trad
2393         if traditional.
2394         * cppmain.c (check_multiline_token): Rename account_for_newlines,
2395         generalize inputs.
2396         (scan_translation_unit_trad): Use it.
2397         * cpptrad.c (skip_comment): Rename copy_comment, copy comment to
2398         output, get escaped newline in comment close correct.
2399         (check_output_buffer, skip_whitespace): Update.
2400         (_cpp_lex_identifier_trad): Remove.
2401         (scan_out_logical_line): Handle -C and comments in directives
2402         properly.
2404 Thu Jun 13 20:18:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
2406         * config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
2407         * config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
2408         * sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
2409         (SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
2410         (SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
2411         (SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
2412         (SELECT_SH5_COMPACT_NOFPU): Likewise.
2413         (TARGET_SWITCHES): Use them.
2414         (TARGET_CPU_DEFAULT): Define if not already defined.
2415         (TARGET_DEFAULT): Use it.
2416         (LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
2417         * config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
2418         * config/sh/t-monolib: New file.
2420 2002-06-13  Roger Sayle  <roger@eyesopen.com>
2422         * toplev.c (rest_of_compilation): Simplify (and correct) the
2423         logic of the first delete-null-pointer-checks pass.
2425 Thu Jun 13 18:24:17 CEST 2002  Jan Hubicka  <jh@suse.cz>
2427         * i386.c (ix86_expand_movstr):  Fix pasto.
2429 Thu Jun 13 18:18:17 CEST 2002  Jan Hubicka  <jh@suse.cz>
2431         * reload.c (find_valid_class):  Fix thinko in my previous patch.
2433 2002-06-13  Ulrich Weigand  <uweigand@de.ibm.com>
2435         * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro.
2436         * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): New macro.
2437         (CPP_PREDEFINES, CPP_SPEC, CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): Remove.
2438         (EXTRA_SPECS): Remove cpp_arch31 and cpp_arch64.
2440 2002-06-13  Gabriel Dos Reis  <gdr@codesourcery.com>
2442         * tree-inline.c (expand_call_inline): Don' mess with _DECL
2443         fields.
2445 2002-06-13  Gabriel Dos Reis  <gdr@codesourcery.com>
2447         * diagnostic.c (output_format): Recognize "%H" as a format
2448         specifier for a location_t.
2449         (text_specifies_location): New function.
2450         (diagnostic_set_info): Use it.
2452 2002-06-13  Jeffrey Law  <law@redhat.com>
2454         * emit-rtl.c (static_regno_reg_rtx): Define.
2455         (init_emit_once): Initialize static_regno_reg_rtx.
2456         (init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead
2457         of building new hard reg objects once per function.
2458         (gen_rtx_REG): Try to share hard regs.
2459         * regclass.c (init_fake_stack_mems): New function broken out from
2460         init_regs.
2461         * rtl.h (init_fake_stack_mems): Declare.
2462         * toplev.c (lang_independent_init): Call init_regs before
2463         init_emit_once.  Call init_fake_stack_mems after init_emit_once.
2465         * i386.md (extenddfxf2, extenddftf2): Fix typo/thinko.
2467         * alias.c (argument_registers): Remove.
2468         (init_alias_once): Initialize static_reg_base_value here.  Remove
2469         initialization of argument_registers.
2470         (init_alias_once_per_function): Remove.
2471         (init_alias_analysis): Copy all the entries from static_reg_base_value
2472         into new_reg_base_value all at once.
2473         * rtl.h (init_alias_once_per_function): Remove declaration.
2474         * function.c (prepare_function_start): Do not call
2475         init_alias_once_per_function.
2477         * caller-save.c (init_caller_save): Use gen_rtx_INSN instead of
2478         starting a sequence and emitting an INSN.
2480 2002-06-13  Richard Sandiford  <rsandifo@redhat.com>
2482         * config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case.
2484 2002-06-13  David S. Miller  <davem@redhat.com>
2486         * expmed.c (init_expmed): Remove duplicate init of 'reg'.
2488 2002-06-13  Neil Booth  <neil@daikokuya.demon.co.uk>
2490         * cpplib.c (end_directive): Handle line skipping.  Only remove
2491         the rest of the line if the directive was valid.
2492         * cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when
2493         expanding a traditional macro.
2494         * cpptrad.c (recursive_macro): New.
2495         (read_logical_line_trad): Handle skipping.
2496         (scan_out_logical_line): Continue after a successful directive.
2497         Don't expand macros whilst skipping, or if recursing.
2498         (_cpp_create_trad_definition): scan_out_logical_line now sets
2499         the output current position.
2501 2002-06-12  Eric Christopher  <echristo@redhat.com>
2503         From Chris Demetriou  <cgd@broadcom.com>
2504         * config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix
2505         comment.
2506         (ISA_HAS_MADD_MSUB): Ditto.
2507         (ISA_HAS_NMADD_NMSUB): Ditto.
2509 2002-06-12  Eric Christopher  <echristo@redhat.com>
2511         * config.gcc: Consolidate little endian handling and
2512         little/big endian targets.
2513         * config/mips/elfl.h: Remove file.
2514         * config/mips/elfl64.h: Ditto.
2515         * config/mips/ecoffl.h: Ditto.
2516         * config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove.
2518 2002-06-12  Geoffrey Keating  <geoffk@redhat.com>
2520         * gengtype.h (xvasprintf): New prototype.
2521         (xasprintf): New prototype.
2522         (struct outf): New.
2523         (get_output_file): Return an outf_p.
2524         (header_file): Is now an outf_p.
2525         (base_files): Now are outf_p.
2526         (oprintf): New.
2527         * gengtype.c: Replace all output FILE * with outf_p; use oprintf
2528         rather than stdio operations.  Use xasprintf in a few places,
2529         when appropriate.
2530         (xvasprintf): New.
2531         (xasprintf): New.
2532         (struct filemap): Delete.
2533         (files): Delete.
2534         (output_files): New.
2535         (oprintf): New.
2536         (create_file): Create an outf_p.  Add parameter to indicate output
2537         file name, change all callers.
2538         (open_base_files): Create gtype-desc.c here.
2539         (get_output_file_with_visibility): Rewrite.
2540         (get_output_file_name): Just look at 'name' field in struct outf.
2541         (close_output_files): Rewrite.
2543 2002-06-12  Jason Thorpe  <thorpej@wasabisystems.com>
2545         * config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
2546         (MASK_G_FLOAT): Define.
2547         (TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them.
2548         (TARGET_SWITCHES): Likewise.
2549         (TARGET_DEFAULT): Likewise.
2551 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
2553         * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
2554         * config/mips/mips.c (mips_output_filename): Don't print a
2555         ".file" directive if we are using DWARF-2.
2556         (mips_output_function_prologue): Do not emit source file
2557         name for TARGET_GAS.
2559 Wed Jun 12 16:45:13 CEST 2002  Jan Hubicka  <jh@suse.cz>
2561         * i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to
2562         decide whether emit the short opcode.
2563         * i386.h (x86_shift1): Declare.
2564         (TARGET_SHIFT1): New macro.
2565         * i386.c (x86_shift1): New global variable.
2567         * toplev.c (rest_of_compilation): Call find_basic_block pre-loop
2568         unconditionally; make loop to rebuild CFG; kill unnecesary
2569         find_basic_block calls; kill compute_bb_for_insn call.
2570         * cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call.
2571         * haifa-sched.c (sched_init): Likewise.
2572         * ssa-ccp.c (ssa_const_prop): Likewise.
2573         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
2575 2002-06-11  David S. Miller  <davem@redhat.com>
2577         * emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if
2578         active_insn_p.
2580 2002-06-11  Richard Henderson  <rth@redhat.com>
2582         * c-common.c (builtin_define_type_max): New.
2583         (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__,
2584         __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__.
2586         From Joseph S. Myers:
2587         * glimits.h: Rewrite to expect the double underscore definitions
2588         from the compiler.
2590         * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h,
2591         config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h,
2592         config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h,
2593         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
2594         config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h,
2595         config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h,
2596         config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__,
2597         __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__.
2599 2002-06-11  Richard Henderson  <rth@redhat.com>
2601         * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.
2602         (ALPHA_BUILTIN_SET_THREAD_POINTER): New.
2603         (code_for_builtns): Update.
2604         (alpha_init_builtins): Add __builtin_thread_pointer and
2605         __builtin_set_thread_pointer.
2606         (alpha_expand_builtin): Handle void builtins.
2607         * doc/extend.texi (Alpha Built-in Functions): Update.
2609 2002-06-11  Hans-Peter Nilsson  <hp@axis.com>
2611         PR target/6997
2612         * config/cris/cris.md ("sleu"): Set attribute "cc" to "none".
2614 2002-06-11  Zack Weinberg  <zack@codesourcery.com>
2616         * config.gcc: Make the name of the extra-modes file adjustable
2617         by target stanzas.
2618         (s390x, strongarm, xscale stanzas): Use this facility.
2619         * configure.in: Update to match.
2620         * configure: Regenerate.
2622 2002-06-11  Aldy Hernandez  <aldyh@redhat.com>
2624         * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned
2625         max/mins as unsigned GE compares.
2627 2002-06-11  Jason Thorpe  <thorpej@wasabisystems.com>
2629         * config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
2630         * config/vax/bsd.h: New file.
2631         * config/vax/netbsd.h: Add missing notice.
2632         (CPP_PREDEFINES): Remove.
2633         (TARGET_OS_CPP_BUILTINS): Define.
2634         (CPP_SPEC): Use NETBSD_CPP_SPEC.
2635         * config/vax/openbsd.h: Update copyright years.
2636         (CPP_PREDEFINES): Remove.
2637         (TARGET_OS_CPP_BUILTINS): Define.
2638         * config/vax/ultrix.h: Likewise.
2639         * config/vax/vaxv.h: Likewise.
2640         * config/vax/vms.h: Likewise.
2641         * config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define.
2642         (CPP_PREDEFINES, CPP_SPEC): Remove.
2644 Wed Jun 12 01:50:28 CEST 2002  Jan Hubicka  <jh@suse.cz>
2646         * i386.md (addqi_1_slp, subqi_1_slp
2647         (andqi_ext0, testqi_ext0): Remove unnecesary check.
2648         (addhi*, addqi*): Simplify "dec" condition.
2649         (testsi to testqi splitters): Remove TARGET_PROMOTE_QImode check.
2650         (and, or, xor to QImode splitters): New.
2651         (iorqi_ext*): New.
2652         (xorqi_ext_0): New.
2653         (xorqi_ext_1): Rename to xorqi_ext_2; bring to sync with and versions.
2654         (andqi_ext_1_rex64): New.
2655         (ashrqi*_slp): New.
2656         (ashlqi*_slp): New.
2657         (lshlqi*_slp): New.
2658         (rotrqi3*_slp): New.
2659         (rotlqi3*_slp): New.
2661 2002-06-11  Geoffrey Keating  <geoffk@redhat.com>
2663         * config.gcc (powerpc*-*-*, rs6000-*-*-*): Don't bother including
2664         softfloat.h.
2665         * config/rs6000/vxppc.h (CPP_ENDIAN_BIG_SPEC): Delete.
2666         (CPP_ENDIAN_LITTLE_SPEC): Delete.
2667         * config/rs6000/sysv4le.h (CPP_ENDIAN_DEFAULT_SPEC): Delete.
2668         * config/rs6000/sysv4.h (CPP_SYSV_SPEC): Delete _SOFT_FLOAT setting,
2669         __LONG_DOUBLE_128__ setting, _CALL_* setting.
2670         (CPP_DEFAULT_SPEC): Delete.
2671         (CPP_FLOAT_DEFAULT_SPEC): Delete.
2672         (CPP_LONGDOUBLE_DEFAULT_SPEC): Delete.
2673         (CPP_SYSV_DEFAULT_SPEC): Delete.
2674         (CPP_ENDIAN_BIG_SPEC): Delete.
2675         (CPP_ENDIAN_LITTLE_SPEC): Delete.
2676         (CPP_ENDIAN_SPEC): Delete.
2677         (CPP_SPEC): Don't include cpp_endian, cpp_cpu.
2678         (SUBTARGET_EXTRA_SPECS): Delete cpp_sysv_default, cpp_endian_default,
2679         cpp_endian, cpp_endian_big, cpp_endian_little, cpp_float_default,
2680         cpp_longdouble_default.
2681         * config/rs6000/softfloat.h: Delete.
2682         * config/rs6000/rs6000.h (CPP_CPU_SPEC): Delete.
2683         (EXTRA_SPECS): Delete cpp_cpu.
2684         (TARGET_CPU_CPP_BUILTINS): New.
2685         * config/rs6000/rs6000-protos.h (rs6000_cpu_cpp_builtins): New
2686         prototype.
2687         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): New.
2688         * config/rs6000/linux64.h (CPP_PREDEFINES): Remove endianness defines.
2689         (CPP_DEFAULT_SPEC): Delete.
2690         * config/rs6000/eabiaix.h (CPP_SYSV_DEFAULT_SPEC): Delete.
2691         * config/rs6000/darwin.h (CPP_PREDEFINES): Don't define __BIG_ENDIAN__.
2692         * config/rs6000/beos.h (CPP_SPEC): Remove cpp_cpu.
2693         (CPP_DEFAULT_SPEC): Delete.
2694         * config/rs6000/aix51.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
2695         (CPLUSPLUS_CPP_SPEC): Likewise.
2696         (CPP_CPU_SPEC): Delete.
2697         (CPP_DEFAULT_SPEC): Delete.
2698         * config/rs6000/aix43.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
2699         (CPLUSPLUS_CPP_SPEC): Likewise.
2700         (CPP_CPU_SPEC): Delete.
2701         (CPP_DEFAULT_SPEC): Delete.
2702         * config/rs6000/aix41.h (CPP_SPEC): Remove cpp_cpu.
2703         (CPP_DEFAULT_SPEC): Delete.
2704         * config/rs6000/aix.h (CPP_SPEC): Remove cpp_cpu.
2705         (CPP_DEFAULT_SPEC): Delete.
2707         * doc/gty.texi: Small updates.
2709 2002-06-12  Gabriel Dos Reis  <gdr@codesourcery.com>
2711         * objc/objc-act.c (warn_with_ivar): Adjust calls to
2712         diagnostic_count_error.
2713         (warn_with_method): Likewise.
2715         * diagnostic.h (warnings_are_errors_message): New field of
2716         diagnostic_context.
2717         (diagnostic_count_error): Rename to diagnostic_count_diagnostic to
2718         match semantics.
2719         * diagnostic.c: Adjust calls to diagnostic_count_error through out.
2720         (diagnostic_count_diagnostic): Make aware of other kinds of
2721         diagnostics.
2722         (diagnostic_initialize): Initialize warnings_are_errors_message field.
2724 2002-06-11  Tom Tromey  <tromey@redhat.com>
2726         For PR java/6520:
2727         * fold-const.c (fold_convert): Don't modify existing tree's type.
2729 2002-06-11  Geoffrey Keating  <geoffk@redhat.com>
2731         * config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.
2733 2002-06-11  Richard Henderson  <rth@redhat.com>
2735         * caller-save.c (init_caller_save): Clear INSN_CODE each iteration.
2737 2002-06-11  Richard Henderson  <rth@redhat.com>
2739         * defaults.h (EH_FRAME_SECTION_NAME): Don't define if
2740         DWARF2_UNWIND_INFO is false.
2742 2002-06-11  Bob Wilson  <bob.wilson@acm.org>
2744         * config/xtensa/t-xtensa (LIBGCC1_TEST, CROSS_LIBGCC1): Delete.
2746         * config/s390/s390.c (emit_prologue): gen_store_multiple
2747         returns an insn now, not a pattern.
2749 2002-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2751         * Makefile.in (gccinstall.dvi): Pass absolute pathnames to
2752         $(TEXI2DVI) -o.
2754 Tue Jun 11 21:53:37 CEST 2002  Jan Hubicka  <jh@suse.cz>
2756         * i386.c (x86_promote_QImode): Set for Athlon
2757         (x86_fast_prefix): New global variable.
2758         (x86_arch_always_fancy_math_387): Fix formating.
2759         * i386.h (x86_fast_prefix): Declare
2760         (TARGET_FAST_PREFIX): define.
2761         * i386.md (and to strict_low_part, HI to SI
2762         promoting splitter): Use new macro.
2764         * i386.h (RTX_COSTS): float_extend is not for free for SSE.
2766 2002-06-11  Zack Weinberg  <zack@codesourcery.com>
2768         * Makefile.in (distclean): Delete junk left in testsuite
2769         directory, too.
2771 2002-06-11  Jeffrey Law <law@redhat.com>
2773         * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the
2774         last insn created by the splitter.
2776         * caller-save.c (init_caller_save): Move creation of SAVEINSN
2777         and RESTINSN into into the scope of the sequence.
2779         * mips.c (mips_expand_prologue): Use emit_jump_insn for trivial
2780         RETURN insns.
2782         * loop.c (loop_regs_scan): Avoid useless generation of REG objects.
2784         * mips.c (function_arg_advance): gen_ashldi3 returns an INSN now,
2785         not the pattern.  So extract the pattern from the insn.
2787         * mips.c (embedded_pic_fnaddr_reg): Fix typo.
2789 2002-06-11  Ulrich Weigand  <uweigand@de.ibm.com>
2791         * config/s390/s390.md (movsi): Only use floating point
2792         register alternatives when operands are already fprs.
2793         (movdi_31, movdi_64): Likewise.
2795 2002-06-11  David S. Miller  <davem@redhat.com>
2797         * emit-rtl.c (try_split): Do not abort on non-INSN_P.
2798         Only run RTX equality checks on INSN_P rtl.
2800 2002-06-11  Ulrich Weigand  <uweigand@de.ibm.com>
2802         * config/s390/s390.md (reload_base, ltorg): Remove.
2803         * s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool,
2804         s390_asm_output_pool_prologue, s390_pool_start_insn): Remove.
2805         * s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool,
2806         s390_asm_output_pool_prologue): Likewise.
2807         * s390.h (s390_pool_start_insn): Likewise.
2809         * s390.c (s390_output_symbolic_const): Remove support for
2810         old-style pool chunks.
2811         (s390_function_epilogue): Likewise.
2812         (s390_output_constant_pool): Likewise.  Also, fix incorrect
2813         alignment for 64-bit literal pools.
2814         (print_operand_address): Remove 'y' and 'Y' format flags.
2815         * s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for
2816         old-style pool chunks.
2817         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
2818         (ASM_OUTPUT_POOL_EPILOGUE): Remove.
2819         (S390_CHUNK_MAX, S390_CHUNK_OV, S390_POOL_MAX): Remove.
2821         * s390.c (consttable_operand): New function.
2822         * s390-protos.h (consttable_operand): Declare it.
2823         * s390.h (PREDICATE_CODES): Add consttable_operand.
2824         * s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di,
2825         consttable_sf, consttable_df, pool_start_31, pool_end_31,
2826         pool_start_64, pool_end_64, reload_base, reload_base2): New insns.
2827         * s390.c (struct constant, struct constant_pool): New data types.
2828         (constant_modes, gen_consttable): New variables.
2829         (s390_start_pool, s390_end_pool, s390_add_pool,
2830         s390_dump_pool, s390_free_pool): New functions.
2831         (s390_chunkify_pool): Completely reimplement literal pool
2832         overflow handling.
2834         * s390.c (s390_pool_overflow): New variable.
2835         * s390.h (s390_pool_overflow): Declare it.
2836         * s390.md (cjump, icjump): Use it to adapt length for out-of-range
2837         jumps in literal pool overflow situations.
2839         * s390.c (s390_decompose_address): Accept new-style pool chunk offsets.
2840         (s390_frame_info): Account for possible use of RETURN_REGNUM
2841         by new literal pool overflow code.
2842         (s390_emit_prologue): Likewise.
2844 2002-06-05  David S. Miller  <davem@redhat.com>
2846         Delete SEQUENCE rtl usage outside of reorg and ssa passes.
2847         * rtl.h (gen_sequence, emit_insns, emit_insns_before,
2848         emit_insns_before_scope, emit_insns_after,
2849         emit_insns_after_scope): Delete declaration.
2850         * ada/misc.c (insert_code_for): Use emit_insn* instead of
2851         emit_insns_foo.
2852         * config/alpha/alpha.c (alpha_set_memflags_1): Abort on SEQUENCE.
2853         (alpha_set_memflags): Fix comment.
2854         (set_frame_related_p): Use get_insns instead of gen_sequence.
2855         * config/alpha/alpha.md (setjmp receiver splitter): Avoid
2856         emitting no insns.
2857         * config/arm/arm.c (arm_finalize_pic): Use get_insns instead of
2858         gen_sequence.
2859         (arm_gen_load_multiple, arm_gen_store_multiple): Likewise.
2860         * config/fr30/fr30.c (fr30_move_double): Likewise.
2861         * config/i386/i386.c (ix86_expand_int_movcc, ix86_expand_movstr):
2862         Likewise.
2863         * config/ia64/ia64.c (spill_restore_mem): Likewise.
2864         * config/ia64/ia64.md (conditional move spliiter): Avoid emitting
2865         no insns.
2866         * config/m32r/m32r.c (gen_split_move_double): Use get_insns
2867         instead of gen_sequence.
2868         * config/mips/mips.c (embedded_pic_fnaddr_reg): Likewise.
2869         (mips_expand_prologue, mips16_gp_pseudo_reg): Likewise.
2870         * config/sh/sh.c (sh_need_epilogue): Likewise.
2871         * config/sparc/sparc.md (current_function_calls_alloca, flat): New
2872         attributes.
2873         (setjmp pattern and split): Use them to avoid splitter which emits
2874         no RTL.
2875         * genattrtab.c (main): Emit include of function.h
2876         * config/stormy16/stormy16.c (xstormy16_split_cbranch): Use
2877         get_insns instead of gen_sequence.
2878         * config/cris/cris.c (cris_split_movdx): Likewise.
2879         * emit-rtl.c (emit_insns*): Kill.
2880         (try_split): Expect insn list instead of SEQUENCE.
2881         (make_jump_insn_raw, make_call_insn_raw): Fix comments.
2882         (emit_*insn*): Reimplement to work with INSN lists and PATTERNs.
2883         Make them abort if a SEQUENCE is given and RTL checking is
2884         enabled.
2885         (emit_*_scope): Don't forget to set scope on final insn.
2886         (gen_sequence): Move from here...
2887         * ssa.c (gen_sequence): To here as private function.
2888         * builtins.c (expand_builtin_apply_args): Use emit_insn_foo, fix
2889         comments.
2890         (expand_builtin_return, expand_builtin_mathfn): Likewise.
2891         (expand_builtin_strlen): Use get_insns instead of gen_sequence.
2892         (expand_builtin_saveregs): Use emit_insn_foo, fix comments.
2893         (expand_builtin_expect_jump): Use get_insns and fix comments.
2894         * calls.c (try_to_integrate): Use emit_insn_foo.
2895         (expand_call, emit_library_call_value_1): Likewise.
2896         * expr.c (emit_queue): Handle insn lists instead of SEQUENCE.
2897         (emit_move_insn_1): Use get_insns instead of gen_sequence.
2898         (expand_expr): Use emit_insn_foo.
2899         * cfgrtl.c (commit_one_edge_insertion): Use emit_insn_foo.
2900         * except.c (build_post_landing_pads): Likewise.
2901         * flow.c (attempt_auto_inc): Likewise.
2902         * stmt.c (expand_fixup, fixup_gotos, expand_nl_handler_label,
2903         expand_nl_goto_receivers, expand_decl_cleanup): Likewise.
2904         * function.c (fixup_var_refs_insn): Use get_insns instead of
2905         gen_sequence.
2906         (fixup_var_refs_1): Likewise and expect insn list from gen_foo.
2907         (fixup_memory_subreg): Use get_insns instead of gen_sequence.
2908         (fixup_stack_1, purge_addressof_1, expand_main_function,
2909         get_arg_pointer_save_area): Likewise.
2910         (optimize_bit_field, instantiate_virtual_regs_1, assign_parms,
2911         expand_function_end): Use emit_insn_foo.
2912         (record_insns, keep_stack_depressed): Work with insn list instead
2913         of SEQUENCE, fix comments.
2914         * ifcvt.c (noce_emit_store_flag, noce_try_store_flag,
2915         noce_try_store_flag_constants, noce_try_store_flag_inc,
2916         noce_try_store_flag_mask, noce_emit_cmove, noce_try_cmove_arith,
2917         noce_try_minmax, noce_try_abs): Use emit_insn_foo.
2918         (noce_process_if_block): Use get_insns instead of gen_sequence.
2919         * optabs.c (add_equal_note): Work with insn list, fix comments.
2920         (expand_binop): Expect insn list from GEN_FCN(), use emit_insn_foo.
2921         (expand_unop, expand_complex_abs, expand_unop_insn,
2922         expand_no_conflict_block): Likewise.
2923         (gen_move_insn): Use get_insns instead of gen_sequence.
2924         (gen_cond_trap): Likewise.
2925         * integrate.c (copy_rtx_and_substitute): Likewise.
2926         (emit_initial_value_sets): Use emit_insn_foo.
2927         * reload1.c (emit_output_reload_insns, emit_reload_insns): Likewise.
2928         (fixup_abnormal_edges): Avoid losing REG_NOTES more intelligently
2929         now that RTL generators give insn lists.
2930         * sibcall.c (replace_call_placeholder): Use emit_insn_foo.
2931         * doloop.c (doloop_modify, doloop_modify_runtime): Use get_insns
2932         instead of gen_sequence.
2933         (doloop_optimize): Work with insn lists instead of SEQUENCE rtl.
2934         * explow.c (emit_stack_save, emit_stack_restore): Use get_insns
2935         instead of gen_sequence.
2936         * loop.c (move_movables, emit_prefetch_instructions,
2937         gen_add_mult, check_dbra_loop, gen_load_of_final_value):
2938         Likewise.
2939         (loop_regs_update): Work with insn list instead of SEQUENCE rtl.
2940         (product_cheap_p): Likewise, and add commentary about RTL wastage
2941         here.
2942         * lcm.c (optimize_mode_switching): Use get_insns instead of
2943         gen_sequence.
2944         * profile.c (gen_edge_profiler): Likewise.
2945         * regmove.c (copy_src_to_dest): Likewise.
2946         * reg-stack.c (compensate_edge): Likewise and fix comment.
2947         * gcse.c (process_insert_insn): Likewise.
2948         (insert_insn_end_bb): Work with insn list instead of SEQUENCE rtl.
2949         * jump.c (delete_prior_computation): Update comment.
2950         * genemit.c (gen_expand, gen_split, main): Use get_insns instead
2951         of gen_sequence, update comments to match.
2952         * recog.c (peephole2_optimize): Work with insn lists instead of
2953         SEQUENCE rtl.
2954         * sched-vis.c (print_pattern): Abort on SEQUENCE.
2955         * unroll.c (unroll_loop, find_splittable_givs, final_giv_value):
2956         Use get_insns instead of gen_sequence.
2957         (copy_loop_body): Likewise and don't emit dummy NOTE.
2958         * genrecog.c: Don't mention SEQUENCE rtl in comments.
2959         * combine.c (try_combine): Expect insn lists from split generator.
2960         * reorg.c (relax_delay_slots): Emit SEQUENCE into insn list by
2961         hand.
2963 2002-06-11  Roger Sayle  <roger@eyesopen.com>
2964             Andreas Jaeger <aj@suse.de>
2966         * cfgbuild.c: Update copyright years.
2968 2002-06-11  Andreas Schwab  <schwab@suse.de>
2970         * config/m68k/m68k.h (PREDICATE_CODES): Define.
2972 2002-06-11  Eric Christopher  <echristo@redhat.com>
2974         * doc/tm.texi (Run-time Target): Add comment about flag_iso
2975         and strict ANSI.
2976         * config/mips/ecoff.h (CPP_PREDEFINES): Remove.
2977         * config/mips/ecoffl.h: Ditto.
2978         * config/mips/elf64.h (SUBTARGET_CPP_SPEC): Remove.
2979         (CPP_PREDEFINES): Ditto.
2980         * config/mips/elfl64.h: Ditto.
2981         * config/mips/elfl.h: Ditto.
2982         * config/mips/iris3.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): #if 0
2983         out until irix header consolidation.
2984         * config/mips/iris5.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): Replace
2985         with SUBTARGET_OS_CPP_BUILTINS.
2986         * config/mips/iris6.h: Ditto.
2987         (CPLUSPLUS_CPP_SPEC): Remove.
2988         * config/mips/linux.h: Ditto.
2989         * config/mips/netbsd.h: Ditto.
2990         * config/mips/openbsd.h: Ditto.
2991         * config/mips/rtems.h: Ditto.
2992         * config/mips/rtems64.h: Ditto.
2993         * config/mips/sni-svr4.h: Ditto.
2994         * config/mips/mips.h (ISA_MIPS1, ISA_MIPS2, ISA_MIPS3, ISA_MIPS4,
2995         ISA_MIPS32, ISA_MIPS64): New defines.
2996         (GENERATE_MULT3_SI, HAVE_SQRT_P, ISA_HAS_64BIT_REGS,
2997         ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4,
2998         ISA_HAS_COND_TRAP, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
2999         ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Use.
3000         (TARGET_CPU_CPP_BUILTINS): Define.
3001         (CPP_PREDEFINES, LONG_MAX_SPEC, CPP_FPR_SPEC, CPP_SPEC): Remove.
3002         * config/mips/mips.md (mulsi3_mult3): Use ISA_MIPS32/64.
3003         (movdicc): Remove check for ISA_MIPS32.
3004          (bunordered, bordered, bungt, bunlt, buneq, bunge, bunle,
3005         sunordered_df, sunordered_sf, sordered_df, sordered_sf,
3006         sunlt_df, sunlt_sf, sungt_df, sungt_sf, suneq_df, suneq_sf, sunge_df,
3007         sunge_sf, sunle_df, sunle_sf): New patterns.
3009 2002-06-11  Neil Booth  <neil@daikokuya.demon.co.uk>
3011         * Makefile.in: Update cppmain.o.
3012         * cpphash.h (struct cpp_reader): Move some members to a
3013         nested structure.
3014         (trad_line): Rename saved_line.
3015         (_cpp_read_logical_line_trad): Update.
3016         (_cpp_remove_overlay): New.
3017         * cppinit.c (cpp_create_reader): No need to set saved_line.
3018         (cpp_destroy): Update.
3019         (cpp_read_main_file): Only overlay if compiling.
3020         * cpplex.c (continue_after_nul): Return false if in directive.
3021         * cpplib.c (EXPAND): New.
3022         (directive_table, SEEN_EOL): Update.
3023         (end_directive): Remove overlay if traditional; don't skip
3024         line in traditional #define.
3025         (prepare_directive_trad): New.
3026         (_cpp_handle_directive, run_directive): Update for traditional
3027         directives.
3028         (lex_macro_node): Simplify, don't use lex_identifier_trad.
3029         * cpplib.h (struct options): Add preprocess_only.
3030         * cppmain.c: Don't include intl.h.
3031         (cpp_preprocess_file): Set options->preprocess_only.
3032         (scan_translation_unit_trad): Fix, and print line numbers.
3033         * cpptrad.c (check_output_buffer, lex_identifier, scan_parameters,
3034         maybe_start_funlike, scan_out_logical_line, replace_args_and_push,
3035         save_replacement_text, _cpp_create_trad_definition): Update for
3036         variable renaming.
3037         (_cpp_overlay_buffer): Save line number.
3038         (_cpp_remove_overlay): Rename from restore_buff, restore line.
3039         (_cpp_read_logical_line_trad): Don't handle overlays here.
3040         (scan_out_logical_line): Process directives.
3042 2002-06-11  Danny Smith  <dannysmith@users.sourforge.net>
3044         * gthr-win32.h: Wrap functions in extern "C".
3045         (__gthread_key_t): Typedef as unsigned long,
3046         not win32 DWORD.
3047         (__GTHREAD_ONCE_INIT): Use 0, not win32 FALSE.
3048         (__gthread_mutex_t): Typedef as void*, not win32 HANDLE.
3049         (__gthr_win32_once, __gthr_win32_key_create,
3050         __gthr_win32_key_delete, __gthr_win32_getspecific,
3051         __gthr_win32_setspecific, __gthr_win32_mutex_init_function,
3052         __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock,
3053         __gthr_win32_mutex_unlock): Declare.
3054         (__gthread_once,__gthread_key_create,
3055         __gthread_key_delete, __gthread_getspecific,
3056         __gthread_setspecific, __gthread_mutex_init_function,
3057         __gthread_mutex_lock,__gthread_mutex_trylock,
3058         __gthread_mutex_unlock): Call corresponding
3059         __gthr_win32_* extern implementations if #defined
3060         __GTHREAD_HIDE_WIN32API.
3061         * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Set to
3062         $(srcdir)/config/i386/gthr-win32.c
3063         * config/i386/gthr-win32.c: New implementation file.
3064         (__gthr_win32_once, __gthr_win32_key_create,
3065         __gthr_win32_key_delete, __gthr_win32_getspecific,
3066         __gthr_win32_setspecific, __gthr_win32_mutex_init_function,
3067         __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock,
3068         __gthr_win32_mutex_unlock): New functions, based on
3069         static inlines in gthr-win32.h.
3071 2002-06-10  Bob Wilson  <bob.wilson@acm.org>
3073         * config/xtensa/xtensa.c (override_options): Don't warn about
3074         using -fpic or -fPIC when PIC is enabled by default.
3076 2002-06-10  Roger Sayle  <roger@eyesopen.com>
3078         * toplev.c (rest_of_compilation): Revert flag_if_conversion change.
3080 2002-06-10  Zack Weinberg  <zack@codesourcery.com>
3082         * Makefile.in (MACHMODE_H): Add @extra_modes_file@.
3083         * configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def
3084         exists, substitute its pathname as @extra_modes_file@, define
3085         EXTRA_MODES_FILE to be an appropriate string to #include it
3086         with, and define EXTRA_CC_MODES to 1.
3088         * machmode.def: Update comments.  Include EXTRA_MODES_FILE if
3089         it's defined.  Get rid of redundancy in calling sequence for
3090         CC; don't use it to define CCmode, to avoid a warning.
3091         * libgcc2.c: Include symcat.h for the sake of machmode.def.
3093         * arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def,
3094         i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def,
3095         pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def:
3096         New files.
3097         * arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h,
3098         pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES.
3100         * doc/sourcebuild.texi, doc/tm.texi: Document new scheme for
3101         defining extra CC modes.
3103 2002-06-10  Roger Sayle  <roger@eyesopen.com>
3104             Andreas Jaeger <aj@suse.de>
3106         * cfgrtl.c (create_basic_block_structure):  Remove index argument
3107         and use last_basic_block++ instead.  (create_basic_block): Update.
3108         * cfgbuild.c (find_basic_blocks_1): Likewise.
3110         * cfgrtl.c (compute_bb_for_insn): Remove unused "max" argument.
3111         * haifa-sched.c (sched_init): Update compute_bb_for_insn caller.
3112         * sched-ebb.c (schedule_ebbs): Likewise.
3113         * sched-rgn.c (schedule_insns): Likewise.
3114         * ssa-ccp.c (ssa_const_prop): Likewise.
3115         * ssa-dcs.c (ssa_eliminate_dead_code): Likewise.
3116         * toplev.c (rest_of_compilation): Likewise.
3117         * config/ia64/ia64.c (ia64_reorg): Likewise.
3119 2002-06-10  Roger Sayle  <roger@eyesopen.com>
3121         * simplify-rtx.c (simplify_replace_rtx): Allow replacement
3122         of matching registers.
3124 2002-06-10  Roger Sayle  <roger@eyesopen.com>
3126         * toplev.c (rest_of_compilation): Disable early if-conversion pass.
3127         * gcse.c (bypass_conditional_jumps): Fix typo in setcc test.
3129 2002-06-10  Hans-Peter Nilsson  <hp@bitrange.com>
3131         * config/mmix/mmix.h: Improve comments.
3132         (CPP_SPEC, CPP_PREDEFINES): Don't define.
3133         (TARGET_CPU_CPP_BUILTINS): Define.
3134         (CANONICALIZE_COMPARISON): Don't define, replace with comment.
3135         (PREDICATE_CODES) <"mmix_reg_or_8bit_or_256_operand">: Remove
3136         unused predicate.
3137         * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Add cast to avoid
3138         compiler warning.
3139         (mmix_constant_address_p): Remove another
3140         redundant test before case.
3141         (mmix_canonicalize_comparison): Remove unused function.
3142         (mmix_print_operand_address): Don't test and adjust for operand in
3143         non-canonical format.
3144         (mmix_reg_or_8bit_or_256_operand): Remove unused predicate.
3145         (mmix_gen_compare_reg): Don't use CANONICALIZE_COMPARISON.
3147 2002-06-10  Zack Weinberg  <zack@codesourcery.com>
3149         * config/m32r/m32r.h: Don't define SELECT_CC_MODE.
3150         * config/m32r/m32r-protos.h: Don't prototype m32r_select_cc_mode.
3151         * config/m32r/m32r.c: Don't define m32r_select_cc_mode.
3152         (gen_compare): Use CCmode unconditionally.
3154 2002-06-10  Jakub Jelinek  <jakub@redhat.com>
3156         PR optimization/6759
3157         * cse.c (cse_insn): Fold src_eqv just once, store it folded back into
3158         the REQ_EQUAL note.
3160 2002-06-10  Jakub Jelinek  <jakub@redhat.com>
3162         PR c/6660
3163         * c-decl.c (grokfield): Allow user defined types if they declare
3164         structs or unions for unnamed fields.
3166 2002-06-10  Jakub Jelinek  <jakub@redhat.com>
3168         PR c/6809
3169         * print-rtl.c (print_mem_expr): Don't crash on unnamed fields.
3171 2002-06-10  Jakub Jelinek  <jakub@redhat.com>
3173         PR optimization/6842
3174         * combine.c (combine_simplify_rtx) [SUBREG]: Don't ICE if VOIDmode
3175         operand subreg cannot be simplified.
3177 2002-06-10  Jakub Jelinek  <jakub@redhat.com>
3179         * varasm.c (const_hash): Handle FDESC_EXPR like ADDR_EXPR.
3180         (compare_constant): Likewise.
3181         (output_addressed_constants): Likewise.
3183 2002-06-10  Jakub Jelinek  <jakub@redhat.com>
3185         * cfgcleanup.c (try_optimize_cfg): Make sure merge_blocks doesn't
3186         merge bb with itself.
3188 2002-06-10  Richard Henderson  <rth@redhat.com>
3190         * config/alpha/alpha.md (builtin_zap): Fix thinkos expanding mask.
3191         (builtin_zapnot): Likewise.
3193         * config/alpha/ev5.md: Don't combine shift and mvi insns in one
3194         reservation.
3196 2002-06-10  Eric Christopher  <echristo@redhat.com>
3198         * config/i386/i386.c (ix86_osf_output_function_prologue): Remove
3199         prototype and function.
3200         (TARGET_ASM_FUNCTION_PROLOGUE): Remove OSF version.
3201         (call_insn_operand): Remove half pic references.
3202         (legitimate_address_p): Ditto.
3203         * config/i386/i386.h: Remove half pic defines.
3205 2002-06-10  Eric Christopher  <echristo@redhat.com>
3207         * doc/extend.texi (Return Address): Add note explaining the side-
3208         effects of inlining on __builtin_return_address.
3210 2002-06-10  Tom Tromey  <tromey@redhat.com>
3212         * Makefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h.
3213         (c-common.o): Depend on langhooks.h.
3215 2002-06-10  Neil Booth  <neil@daikokuya.demon.co.uk>
3217         * cpphash.h (_cpp_read_logical_line_trad,
3218         _cpp_expansions_different_trad): Update prototypes.
3219         * cpplex.c (continue_after_nul): New.
3220         * cppmain.c: Include cpphash.h.
3221         (scan_translation_unit_trad): New.
3222         (cpp_preprocess_file): Call it.
3223         * cpptrad.c (_cpp_read_logical_line_trad): Take new parameter
3224         overlay.
3225         (_cpp_expansions_different_trad): Update prototype.
3227 Mon Jun 10 18:02:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
3229         Fix cfi generation for SH[1-4]:
3231         * sh.c (frame_insn): New function.
3232         (output_stack_adjust): Add parameter emit_fn.  All callers changed.
3233         (push): Now returns rtx.  Use frame_insn.
3234         (sh_expand_prologue): Clear RTX_FRAME_RELATED_P for second push
3235         of a DF register.
3236         * sh.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN): Define.
3238 2002-06-10  Zack Weinberg  <zack@codesourcery.com>
3240         * Makefile.in (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h,
3241         and gtype-desc.c.
3242         (mostlyclean): Delete specs.h, options.h, gencheck.h here...
3243         (distclean): ... not here.  But do delete all testsuite/*.log,
3244         testsuite/*.sum files here.  Delete mkheaders.  Delete
3245         po/*.gmo and the testsuite directory in a split tree build.
3247 2002-06-10  Jeffrey Law  <law@redhat.com>
3249         * alias.c (static_reg_base_value): New to hold RTL for
3250         items allocated once per function for the aliasing code.
3251         (init_alias_once_per_function): Initialize static_reg_base_value.
3252         (init_alias_analysis): Avoid throw-away allocations of RTL by
3253         using pre-computed values in static_reg_base_value.
3254         * function.c (prepare_function_start): Call
3255         init_alias_once_per_function appropriately.
3256         * rtl.h (init_alias_once_per_function): Declare.
3257         * caller-save (init_caller_save): Restructure slightly to
3258         avoid lots of silly RTL generation.
3259         * expr.c (init_expr_once): Likewise.
3260         * reload1.c (reload_cse_regs_1): Allocate throw-away register
3261         RTL object here.  Pass it into children.
3262         (reload_cse_simplify_operands): Use passed-in register RTL
3263         object.
3264         (reload_cse_simplify): Pass through throw-away register
3265         RTL object.
3267 2002-06-10  Daniel Berlin  <dberlin@dberlin.org>
3269         * Makefile.in (ssa.o): Add dependency on $(RTL_H), which was missing.
3271 2002-06-10  Richard Sandiford  <rsandifo@redhat.com>
3273         * gcc.c (process_command): Avoid assignment to read-only location.
3274         Fix sizeof calculation.
3276 2002-06-10  Neil Booth  <neil@daikokuya.demon.co.uk>
3278         * cpphash.h (struct cpp_macro): Put comments on their own lines.
3279         (_cpp_expansions_different_trad): New.
3280         * cppmacro.c (warn_of_redefinition): Fix for traditional case.
3281         * cpptrad.c (canonicalize_text): New.
3282         (scan_out_logical_line): Handle no arguments correctly.
3283         (save_replacement_text): Commit memory when finished.
3284         (_cpp_expansions_different_trad): New.
3286 2002-06-10  Tim Josling  <tej@melbpc.org.au>
3288         * gengtype.c (unnamed enum containing BASE_FILE_*): Add languages
3289         TREELANG and COBOL.
3290         (lang_names): Add treelang and cobol.
3291         (get_file_basename): Add code to support treelang and cobol as
3292         4th and 5th users of c-common.c.
3294 2002-06-09  Geoffrey Keating  <geoffk@redhat.com>
3296         * Makefile.in (install-driver): Install driver as
3297         $(target_alias)-gcc-$(version).
3298         * gcc.c (spec_version): Make const.
3299         (process_command): Handle -V and -b by using exec.
3300         * doc/invoke.texi (Target Options): Restore -V option,
3301         update docs for -b option.
3303 2002-06-10  Tim Josling  <tej@melbpc.org.au>
3305         * configure.in (remaining_languages_check):
3306         Added check that all languages specified were found.
3307         Exit if not found. Previous behaviour was silent failure.
3308         * configure: Regenerated.
3310 2002-06-10  Tim Josling  <tej@melbpc.org.au>
3312          First steps to making treelang documentation compliant, based on
3313          instructions in sourcebuild.texi. Also add to gcc.c list of
3314          default languages.
3316         * doc/contrib.texi: Add self as contributor of treelang.
3318         * doc/frontends.texi: Add mention of treelang.
3320         * doc/invoke.texi (Overall Options): Add mention of treelang.
3322         * doc/standards.texi:  Add mention of treelang.
3324 2002-06-09  Hans-Peter Nilsson  <hp@axis.com>
3326         * config/cris/cris.c: Include ggc.h
3328 2002-06-09  Neil Booth  <neil@daikokuya.demon.co.uk>
3330         * cpphash.h (_cpp_push_text_context): Update.
3331         (_cpp_arguments_ok): New.
3332         * cppmacro.c (_cpp_arguments_ok): New, split out from...
3333         (collect_args): ...here.
3334         (_cpp_push_text_context): Change inputs.
3335         * cpptrad.c (struct fun_macro, maybe_start_funlike, save_argument,
3336         replace_args_and_push): New.
3337         (lex_identifier, _cpp_lex_identifier_trad, scan_parameters):
3338         Don't use IS macros directly.
3339         (scan_out_logical_line): Handle function-like macro argument
3340         collection.
3341         (push_replacement_text): Update.
3342         (replacement_length): Remove.
3343         (_cpp_create_trad_definition): Don't skip whitespace before
3344         checking for '('.
3346 2002-06-09  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3348         * config/avr/avr.c (avr_mcu_types): Update for new devices.
3349         * config/avr/avr.h (TARGET_SWITCHES, AVR_MEGA): Add -mshort-calls.
3350         (LINK_SPEC, CRT_BINUTILS_SPECS): Update for new devices.
3351         * config/avr/avr.md ("type" and "length" attributes): New type
3352         "xcall", length 1 or 2 if AVR_MEGA.  Use in all patterns that
3353         output a single "call" or "rcall" insn depending on device size.
3354         * config/avr/t-avr (MULTILIB_MATCHES): Update for new devices.
3356 2002-06-09  David Edelsohn  <edelsohn@gnu.org>
3358         * config/rs6000/{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3
3359         synonym for 630.  Add power4.  Remove embedded processors.  Use -m604
3360         assembler option.
3361         (CPP_CPU_SPEC): Add power3 and power4.
3362         (PROCESSOR_DEFAULT): Change to 604e.
3363         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Similar additions.
3364         (CPP_CPU_SPEC): Similar additions.
3365         (enum process_type): Add POWER4.
3366         (RTX_COSTS): Add POWER4.
3367         (CPP_CPU_SPEC): Similar additions.
3368         * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Define.
3369         (PROCESSOR_DEFAULT64): Define.
3370         * config/rs6000/rs6000.c (rs6000_override_options): Add power4.
3371         (rs6000_adjust_cost): Add 603, 604, 604e, 620, 630, Power4 to
3372         branch adjustment.
3373         (rs6000_issue_rate): Add Power4.
3374         * config/rs6000/rs6000.md (cpu attr): Add power4.
3375         (iu compare): Remove 604, 604e, 620, 630.
3376         Add basic Power4 scheduling information.
3377         (mfcr/mtcrf): Change type attribute to cr_logical.
3379 2002-06-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3381         * gengtype.h (error_at_line): Use PARAMS, not VPARAMS.  Add
3382         ATTRIBUTE_PRINTF_2.
3383         * gengtype-lex.l: Fix format specifier warning.
3385         * genautomata.c: Don't include ctype.h or limits.h.  Use ISSPACE,
3386         not isspace.
3387         * gengtype-lex.l: Don't include ctype.h and use ISSPACE/ISIDNUM in
3388         lieu of isspace/IDchar.
3389         * gengtype.c: Likewise for ctype.h and ISALNUM vs isalnum.
3390         * read-rtl.c: Likewise for ctype.h.  Don't define ISDIGIT or
3391         ISSPACE.
3393 2002-06-08  Zack Weinberg  <zack@codesourcery.com>
3395         * Makefile.in (LIBCPP_OBJS): Take out version.o.
3396         * cpphash.h (cpp_reader): Take out print_version member.
3397         * cppinit.c: (cpp_handle_option): Don't do anything with
3398         -version.  Just set help_only for --version, --target-help.
3399         Just set verbose option for -v.
3400         (cpp_post_options): Don't print a version string.
3402 2002-06-08  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3404         * config/avr/avr.c (TARGET_SECTION_TYPE_FLAGS): New.
3405         (avr_section_type_flags): New, handle .noinit* sections.
3407 2002-06-08  Jason Thorpe  <thorpej@wasabisystems.com>
3409         * config/sh/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): Define
3410         and include netbsd_entry_point.
3411         (SUBTARGET_LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
3412         (NETBSD_ENTRY_POINT): Define.
3414 2002-06-08  Jason Thorpe  <thorpej@wasabisystems.com>
3416         * config/sh/sh.h (SUBTARGET_EXTRA_SPECS): Define empty
3417         if not already defined.
3418         (EXTRA_SPECS): Add SUBTARGET_EXTRA_SPECS.
3420 2002-06-08  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3422         * config/avr/avr.c (avr_regs_to_save): No need to save any registers
3423         in a noreturn function.
3424         (avr_output_function_prologue, avr_output_function_epilogue):
3425         Correct function size calculation.  Do not crash on empty function.
3426         (avr_output_function_epilogue): No need for epilogue after a BARRIER.
3428 2002-06-08  Jason Thorpe  <thorpej@wasabisystems.com>
3430         * config/mips/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
3431         netbsd_link_spec and netbsd_entry_point.
3432         (LINK_SPEC): Use %(netbsd_link_spec).
3433         (NETBSD_ENTRY_POINT): Define.
3435 2002-06-08  Jason Thorpe  <thorpej@wasabisystems.com>
3437         * config/sparc/netbsd-elf.h (LINK_ARCH32_SPEC): Only specify
3438         linker emulation.
3439         (LINK_ARCH64_SPEC): Likewise.
3440         (LINK_SPEC, NETBSD_ENTRY_POINT): Define.
3441         (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point.
3443 2002-06-08  Marc Espie  <espie@openbsd.org>
3445         * lists.c (free_list):  Fix typo in comment.
3447 2002-06-08  Andreas Jaeger  <aj@suse.de>
3449         * lcm.c (optimize_mode_switching): Add unused attribute for
3450         variable.
3452         * sched-deps.c (sched_analyze): Remove unused variable.
3454 2002-06-08  Gabriel Dos Reis  <gdr@codesourcery.com>
3456         * diagnostic.def: Don't capitalize diagnostict descriptors.
3458 2002-06-08  Jason Thorpe  <thorpej@wasabisystems.com>
3460         * config/m68k/netbsd-elf.h (EXTRA_SPECS): Add netbsd_entry_point.
3461         (LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
3462         (NETBSD_ENTRY_POINT): Define.
3464 2002-06-08  Jason Thorpe  <thorpej@wasabisystems.com>
3466         * config/i386/netbsd-elf.h (LINK_SPEC): Define as
3467         NETBSD_LINK_SPEC_ELF.
3468         (SUBTARGET_EXTRA_SPECS): Add netbsd_entry_point.
3469         (NETBSD_ENTRY_POINT): Define.
3470         * config/i386/netbsd64.h (LINK_SPEC): Use %(netbsd_link_spec).
3471         (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and
3472         netbsd_entry_point.
3473         (NETBSD_ENTRY_POINT): Define.
3475 2002-06-08  Jason Thorpe  <thorpej@wasabisystems.com>
3477         * config/alpha/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
3478         netbsd_link_spec and netbsd_entry_point.
3479         (LINK_SPEC): Use %(netbsd_link_spec).
3480         (NETBSD_ENTRY_POINT): Define.
3482 2002-06-08  Jason Thorpe  <thorpej@wasabisystems.com>
3484         * config/netbsd-elf.h (LINK_SPEC): Rename to...
3485         (NETBSD_LINK_SPEC_ELF): ...this.  Use %(netbsd_entry_point)
3486         to specify program entry point.
3488 2002-06-07  Jeff Law <law@redhat.com
3490         * emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.
3491         * combine.c (move_deaths): Use regno_reg_rtx for hard regs rather
3492         than creating a new register.
3493         (distribute_notes): Likewise.
3494         * df.c (df_reg_use_gen): Likewise.
3495         (df_reg_clobber_gen): Likewise.
3496         (df_ref_record): Likewise.
3497         * expr.c (use_regs): Likewise.
3498         * flow.c (propagate_one_insn): Likewise.
3499         (mark_set_1): Likewise.
3500         (mark_used_reg): Likewise.
3501         * reload.c (emit_reload_insns): Likewise.
3503 2002-06-07  Roger Sayle  <roger@eyesopen.com>
3505         * simplify-rtx.c (simplify_gen_relational): Simplify RTL of the form
3506         (ne (comp x y) 0) into (comp x y) where comp is a comparison code.
3507         Simplify (eq (comp x y) 0) into (revcomp x y) if the sense of the
3508         comparison code comp can be reversed.
3510 2002-06-07  Roger Sayle  <roger@eyesopen.com>
3512         * fold-const.c (fold) [EQ_EXPR]:  Place both integer and real
3513         constants last in comparisons.  Optimize (x+1.0)>0.0 into the
3514         equivalent x > -1.0 when -ffast-math.
3516 2002-06-07  Jason Thorpe  <thorpej@wasabisystems.com>
3518         * config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
3519         * config/mips/t-netbsd: New file.
3521 2002-06-07  Zack Weinberg  <zack@codesourcery.com>
3523         * cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W
3524         options their own entries.
3525         (parse_option): Clarify comment.
3526         (cpp_handle_option): Remove 'ignore' parameter and OPT_W
3527         special case.  Replace if/strcmp chain for -W options with
3528         use of new OPT_* entries for them.
3529         (cpp_handle_options): Update to match.
3530         * cpplib.h: Remove last parameter to cpp_handle_option from prototype.
3531         * c-decl.c: Update call to cpp_handle_option.
3533 2002-06-07  Akim Demaille  <akim@epita.fr>
3535         * gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
3536         Whitespace changes.
3538 2002-06-07  Jeffrey Law  <law@redhat.com>
3540         * sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list
3541         on empty lists.
3543 2002-06-07  H.J. Lu  (hjl@gnu.org)
3545         * configure.in: Add --enable-__cxa_atexit.
3546         * configure: Regenerated.
3547         * config.in: Likewise.
3549         * defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if
3550         not defined.
3552 2002-06-07  Gabriel Dos Reis  <gdr@merlin.nerim.net>
3554         * diagnostic.c (diagnostic_build_prefix): Fix initialization.
3556 2002-06-07  Jason Thorpe  <thorpej@wasabisystems.com>
3558         * config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
3560 2002-06-07  Jason Merrill  <jason@redhat.com>
3562         * cppexp.c (num_equality_op): Use a temporary variable to work
3563         around gcc 3.0.4 bug.
3565 2002-06-07  Gabriel Dos Reis  <gdr@codesourcery.com>
3567         * diagnostic.c (diagnostic_build_prefix): Tidy.
3569 2002-06-07  Neil Booth  <neil@daikokuya.demon.co.uk>
3571         * cpptrad.c (struct block, BLOCK_HEADER_LEN, BLOCK_LEN,
3572         scan_parameters, save_replacement_text, replacement_length): New.
3573         (scan_out_logical_line): Take a macro and save parameters if
3574         non-NULL.
3575         (_cpp_logical_line_trad): Update.
3576         (_cpp_create_trad_definition): Update to handle function-like
3577         macros.
3578         * cpplex.c (new_buff): Update.
3579         (struct dummy, DEFAULT_ALIGNMENT, CPP_ALIGN): Move...
3580         * cpphash.h: ...here.
3581         (CPP_ALIGN2, _cpp_save_parameter): New.
3582         * cppmacro.c (save_parameter): Rename, export.
3583         (parse_params): Update.
3585 2002-06-07  Andreas Jaeger  <aj@suse.de>
3587         * config/mmix/mmix.c: Remove extra broken prototype for
3588         mmix_init_machine_status.
3590 2002-06-06  Geoffrey Keating  <geoffk@redhat.com>
3592         * gengtype.c: Add comments before all the routines.
3594 2002-06-07  Jason Thorpe  <thorpej@wasabisystems.com>
3596         * config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32
3597         from and add t-sh64 to ${tmake_file}.
3598         (sh64*-*-netbsd*): Add t-sh64 to ${tmake_file}.
3599         * config/sh/t-netbsd-sh5 (LIB1ASMFUNCS): Remove.
3600         * config/sh/t-netbsd-sh5-32: Remove.
3601         * config/sh/t-netbsd-sh5-64 (MULTILIB_OPTIONS): Use
3602         MULTILIB_ENDIAN.
3603         (MULTILIB_DIRNAMES): Define.
3605 Thu Jun  6 23:14:46 CEST 2002  Jan Hubicka  <jh@suse.cz>
3607         * i386.md (and promoting splitters): Disable QI to SImode promoting
3608         when doing so changes immediate to be 32bit.
3610         * rtl.h (emit_*_scope): Declare.
3611         * emit-rtl.c (emit_*_scope): New global functions.
3612         (try_split): Copy scope.
3613         * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
3614         noce_try_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
3615         noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
3616         noce_process_if_block, find_cond_trap): Copy scopes.
3617         * recog.c (peephole2_optimize): likewise.
3619 2002-06-06  Jeffrey Law  <law@redhat.com>
3621         * h8300.h (OK_FOR_U): Fix thinko exposed by flag checking.
3623 Thu Jun  6 21:06:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
3625         * gengtype-lex.l (INITIAL): New rule for "'"("\\".|[^\\])"'".
3627 2002-06-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3629         * Makefile.in (TEXI_GCCINSTALL_FILES): Define.
3630         ($(docdir)/gccinstall.info): New target.
3631         (info): Depend on it.
3632         (gccinstall.dvi): New target.
3633         (dvi): Depend on it.
3634         * doc/.cvsignore: Ignore new info files.
3635         * doc/install.texi (@setfilename): Reflect new info filename.
3637 Thu Jun  6 15:57:23 2002  J"orn Rennecke <joern.rennecke@superh.com>
3639         * sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P
3640         on an UNSPEC.
3642 Thu Jun  6 07:17:43 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3644         PR objc/6834
3645         * objc/objc-lang.c (LANG_HOOKS_GET_ALIAS_SET): Define to be
3646         c_common_get_alias_set.
3647         (LANG_HOOKS_SAFE_FROM_P): Define to be c_safe_from_p.
3649 2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3651         * emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): New
3652         functions.
3653         * rtl.h (get_first_nonnote_insn, get_last_nonnote_insn): Declare.
3654         * avr/avr.c (avr_output_function_epilogue): Use above to determine
3655         function size.
3656         * pa/pa.c (pa_output_function_prologue): Likewise.
3658 2002-06-05  David S. Miller  <davem@redhat.com>
3660         * integrate.c (subst_constants): Handle 'B' RTL format.
3662 2002-06-05  Eric Christopher  <echristo@redhat.com>
3664         * varasm.c (make_decl_rtl): Fix comment for removed
3665         halfpic.c.
3667 2002-06-05  Eric Christopher  <echristo@redhat.com>
3669         * Makefile.in: Remove missed halfpic bits.
3671 2002-06-05  Eric Christopher  <echristo@redhat.com>
3673         * toplev.c: Remove half-pic.
3674         * config/mips/mips.c: Ditto.
3675         * config/mips/mips.h: Ditto. Remove unused defines.
3676         * config/mips/openbsd.h: Update comment to reflect above.
3677         * config/mips/mips.md: Remove half-pic constraints.
3678         * halfpic.h: Delete.
3679         * halfpic.c: Ditto.
3681 2002-06-05  Jeffrey Law  <law@redhat.com>
3683         * pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
3684         rejects (mem (lo_sum (reg) (unspec))), but will allow
3685         (mem (lo_sum (reg) (symbol_ref)) for PA2.0.
3687 2002-06-05  Neil Booth  <neil@daikokuya.demon.co.uk>
3689         * cpphash.h (_cpp_create_definition): Update prototype.
3690         (_cpp_push_text_context, _cpp_create_trad_definition): New.
3691         ( cpp_lex_identifier_trad): New.
3692         (_cpp_set_trad_context): New.
3693         * cppinit.c (cpp_finish_options): Don't conditionalize builtins.
3694         * cpplib.c (SEEN_EOL): Update.
3695         (lex_macro_node): Update for -traditional.
3696         (cpp_push_buffer, _cpp_pop_buffer): Similarly.
3697         * cppmacro.c (_cpp_create_definition): Split into
3698         create_iso_definition() and _cpp_create_trad_definition().
3699         (warn_of_redefinition): Update prototype; handle traditional
3700         macros.
3701         (_cpp_push_text_context): New.
3702         * cpptrad.c (skip_whitespace, push_replacement_text): New.
3703         (lex_identifier): Call ht_lookup with correct start.
3704         (_cpp_lex_identifier_tradm _cpp_create_trad_definition,
3705         _cpp_set_trad_context): New.
3706         (scan_out_logical_line): Update to handle changing contexts.
3708 Wed Jun  5 20:42:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
3710         * config.gcc (sh-*-elf*,  sh64*-*-elf*): Unify.
3711         (shl*-*-elf*): Add.
3712         * config/sh/t-be (MULTILIB_ENDIAN): Set.
3713         * config/sh/t-le (MULTILIB_ENDIAN): Likewise.
3714         * t-sh (MULTILIB_ENDIAN): Set.
3715         (MULTILIB_OPTIONS): Use it.
3716         * t-sh64 (MULTILIB_OPTIONS): Likewise.
3717         (MULTILIB_DIRNAMES): Likewise.
3719 2002-06-05  Gabriel Dos Reis  <gdr@codesourcery.com>
3721         * toplev.h (report_error_function): Remove.
3723         * diagnostic.h (location_t): New datatype.
3724         (text_info): Likewise.
3725         (diagnostic_info): Likewise.
3726         (output_prefix): New macro.
3727         (diagnostic_last_function_changed): Likewise.
3728         (diagnostic_set_last_function): Likewise.
3729         (diagnostic_last_module_changed): Likewise.
3730         (diagnostic_set_last_module): Likewise.
3731         (report_diagnostic): Now macro.
3732         (diagnostic_set_info): Declare.
3734         * diagnostic.c (report_problematic_module): Rename to
3735         diagnostic_repor_current_module.
3736         (set_diagnostic_context): Remove.
3737         (count_error): Rename to diagnostic_error_count.
3738         (error_function_changed): Remove.
3739         (record_last_error_function): Likewise.
3740         (error_module_changed): Likewise.
3741         (record_last_error_module): Likewise.
3742         (context_as_prefix): Rename to diagnostic_build_prefix.
3743         (flush_diagnostic_buffer): Rename to diagnostic_flush_buffer.
3744         (diagnostic_set_info): New function.
3746         * objc/objc-act.c: #include diagnostic.h
3747         (error_with_ivar): Adjust call to count_error.
3748         (warn_with_method): Likewise.
3749         * objc/Make-lang.in (objc-act.o): Depend on diagnostic.h
3751 2002-06-05  Bob Wilson  <bob.wilson@acm.org>
3753         * config/xtensa/xtensa.c (xtensa_build_va_list): Use
3754         lang_hooks.types.make_type instead of make_node; set up
3755         __va_list_tag type decl.
3756         (xtensa_builtin_saveregs): Remove broken use of
3757         RTX_UNCHANGING_P and unnecessary use of MEM_IN_STRUCT_P
3758         for saved registers; add varargs alias set.
3760 2002-06-05  Neil Booth  <neil@daikokuya.demon.co.uk>
3762 config:
3763         * alpha/gnu.h: Undef TARGET_OS_CPP_BUILTINS.
3764         * i386/beos-elf.h: Use TARGET_OS_CPP_BUILTINS rather than
3765         CPP_PREDEFINES and part of CPP_SPEC.
3766         i386/freebsd-aout.h, i386/gas.h, i386/gnu.h, i386/linux-aout.h,
3767         i386/linux.h, i386/moss.h, i386/xm-vsta.h: Similarly.
3769 Wed Jun  5 15:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
3771         * reg-stack.c (reg_to_stack): Do not call find_basic_blocks.
3773 2002-06-05  Alan Modra  <amodra@bigpond.net.au>
3775         * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
3777 2002-06-04  Zack Weinberg  <zack@codesourcery.com>
3779         * gengtype-yacc.y: Make sure all rules end with a semicolon.
3781 2002-06-04  Bob Wilson  <bob.wilson@acm.org>
3783         * config/xtensa/xtensa.c (xtensa_init_machine_status): Fix
3784         typo in function prototype and include "ggc.h" header.
3786 2002-06-04  Richard Henderson  <rth@redhat.com>
3788         * config/alpha/alpha.c (mode_mask_operand): Simplify without ifdefs.
3789         (print_operand) ['U']: Likewise.
3790         (alpha_expand_unaligned_store): Correct constants for 32-bit cross.
3791         (alpha_expand_unaligned_store_words): Likewise.
3792         (alpha_expand_builtin_vector_binop): Fix typo.
3793         (enum alpha_builtin, code_for_builtin): Add remaining ext, ins, msk,
3794         umulh, and cix insns.
3795         (one_arg_builtins): Add cix builtins.
3796         (two_arg_builtins): Add ext, ins, msk, umulh builtins.
3797         (alpha_expand_builtin): Fix typo in arity.
3798         * config/alpha/alpha.md (UNSPEC_CTLZ, UNSPEC_CTPOP): New.
3799         (builtin_extbl, builtin_extwl, builtin_extll, builtin_extwh,
3800         builtin_extlh, builtin_insbl, builtin_inswl, builtin_insll,
3801         builtin_insql, builtin_inswh, builtin_inslh, builtin_insqh,
3802         builtin_mskbl, builtin_mskwl, builtin_mskll, builtin_mskql,
3803         builtin_mskwh, builtin_msklh, builtin_mskqh, builtin_cttz,
3804         builtin_ctlz, builtin_ctpop): New.
3805         * doc/extend.texi (Alpha Built-in Functions): Update.
3807 2002-06-04  Geoffrey Keating  <geoffk@redhat.com>
3809         * gengtype.c (write_gc_root): Don't unnecessarily prevent
3810         global variable-length arrays being roots.
3812         * config.gcc (powerpc-*-darwin*): Set config_gtfiles.
3813         * configure.in (config_gtfiles): New variable.
3814         (all_gtfiles): Initialise from config_gtfiles.
3815         * configure: Regenerate.
3817 2002-06-04  Neil Booth  <neil@daikokuya.demon.co.uk>
3819 config/i386:
3820         * beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h,
3821         i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h,
3822         mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h,
3823         sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h,
3824         win32.h (CPP_SPEC): Remove cpp_cpu.
3825         * i386.h (TARGET_CPU_CPP_BUILTINS): Use.
3826         (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die!
3828 2002-06-04  Janis Johnson  <janis187@us.ibm.com>
3830         * config/ia64/ia64.c (gen_thread_pointer): Fix variable name.
3832 2002-06-04  Jeff Law <law@redhat.com.
3833             David Edelsohn <edelsohn@gnu.org>
3834             Michael Matz <matz@kde.org>
3836         * sched-int.h (struct deps): New field libcall_block_tail_insn.
3837         * sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
3838         * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
3839         is set, then mark the current insn as being part of a libcall
3840         scheduling group.
3841         (sched_analyze): Set and clear libcall_block_tail_insn appropriately.
3843         * haifa-sched.c (schedule_block): Do not count USE or CLOBBER
3844         insns against the issue rate.
3846 Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>
3848         * cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes.
3849         * final.c (final_scan_insn): Likewise.
3850         * ggc-common.c (ggc_mark_rtx_children_1): Likewise; use
3851         NOTE_EXPECTED_VALUE instead of NOTE_RANGE.
3852         * haifa-sched.c (unlink_other_notes): Likeewise.
3853         (reemit_notes): Likewise.
3854         * print-rtl.c (print_rtx): Likewise.
3855         * sched-deps (sched-analyze): Likewise.
3856         * rtl.c (note_insn_name): Likewise.
3857         * rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill.
3858         (enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE.
3859         (RANGE_*): Kill.
3861 2002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
3863         * varasm.c (mark_constants): Handle RTX format 'B'.
3865 2002-06-04  Neil Booth  <neil@daikokuya.demon.co.uk>
3867         * cpphash.h (FIRST, LAST, CUR, RLIMIT): New.
3868         (struct cpp_context): Add traditional fields.
3869         * cppmacro.c (paste_all_tokens, push_ptoken_context,
3870         push_token_context, cpp_get_token, _cpp_backup_tokens): Update.
3871         * cpptrad.c (skip_comment, lex_identifier,
3872         _cpp_read_logical_line_trad, scan_out_logical_line): Update.
3874 2002-06-04  Kazu Hirata  <kazu@cs.umass.edu>
3876         * gbl-ctors.h: Fix formatting.
3877         * gcc.c: Likewise.
3878         * gccspec.c: Likewise.
3879         * gcov.c: Likewise.
3880         * gcov-io.h: Likewise.
3881         * gcse.c: Likewise.
3882         * ggc-common.c: Likewise.
3883         * ggc.h: Likewise.
3884         * ggc-page.c: Likewise.
3885         * ggc-simple.c: Likewise.
3886         * global.c: Likewise.
3887         * graph.h: Likewise.
3888         * gthr-dce.h: Likewise.
3889         * gthr.h: Likewise.
3890         * gthr-posix.h: Likewise.
3891         * gthr-rtems.h: Likewise.
3892         * gthr-solaris.h: Likewise.
3893         * gthr-win32.h: Likewise.
3895 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
3897         Merge from pch-branch:
3899         * gengtype.h (UNION_OR_STRUCT_P): New macro.
3900         * gengtype.c (write_gc_structure_fields): Use it.
3901         (write_gc_root): Use it here too.
3903         * gengtype.c (write_gc_structure_fields): Assume that lengths
3904         of typenames fit into an 'int'; don't pass a size_t to "%d" in
3905         printf.
3906         (write_gc_marker_routine_for_structure): Likewise.
3907         (write_gc_types): Likewise.
3908         (write_gc_root): Likewise.
3910         * varray.h (VARRAY_CLEAR): New.
3911         (varray_clear): Prototype.
3912         * varray.c (varray_clear): New.
3913         * cselib.c (reg_values_old): New.
3914         (used_regs_old): New.
3915         (cselib_init): Use cached varrays if available to avoid
3916         generating large amounts of garbage.
3917         (cselib_finish): Don't throw away old varrays.
3919         * final.c (insn_addresses_): Move out of ifdef.
3921         * varray.c (uses_ggc): Make more varray kinds GCable.
3922         * varray.h (union varray_data_tag): Let gengtype see
3923         fields 'generic' and 'te'.
3924         * reg-stack.c: Include gt-reg-stack.h, ggc.h.
3925         (stack_regs_mentioned_data): Move out of ifdef; mark with gengtype.
3926         (reg_to_stack): Don't call VARRAY_FREE.
3927         * insn-addr.h (INSN_ADDRESSES_FREE): Don't use VARRAY_FREE.
3928         (insn_addresses_): Use gengtype to mark.
3929         * gengtype.c (write_gc_structure_fields): Handle arrays of generic
3930         pointers; handle generic pointers in unused union fields.
3931         (get_output_file_with_visibility): Include cselib.h,
3932         insn-addr.h in gtype-desc.c.
3933         * function.c (prologue): Use gengtype to mark.
3934         (epilogue): Likewise.
3935         (sibcall_epilogue): Likewise.
3936         * dependence.c: Include gt-dependence.h, ggc.h.
3937         (struct def_use): Use gengtype to mark.
3938         (struct loop): Likewise.
3939         (struct induction): Likewise.
3940         (struct dependence): Likewise.
3941         (def_use_chain): Likewise.
3942         (dep_chain): Likewise.
3943         (loop_chain): Likewise.
3944         (induction_chain): Likewise.
3945         (init_dependence_analysis): Don't free anything, just clear pointers.
3946         (build_def_use): Use GGC to allocate def_use.
3947         (add_loop): Use GGC to allocate loop.
3948         (find_induction_variable): Use GGC to allocate induction.
3949         (check_node_dependence): Use GGC to allocate induction, dependence.
3950         (dump_node_dependence): Don't free varrays.
3951         (end_dependence_analysis): Likewise.
3952         * cselib.h (struct cselib_val_struct): Use gengtype to mark.
3953         (struct elt_loc_list): Likewise.
3954         (struct elt_list): Likewise.
3955         * cselib.c: Don't include obstack.h.
3956         (hash_table): Use gengtype to mark.
3957         (reg_values): Use gengtype to mark.
3958         (used_regs): Use gengtype to mark.
3959         (cselib_obstack): Delete.
3960         (cselib_startobj): Delete.
3961         (empty_vals): Mark as deletable.
3962         (empty_elt_lists): Mark as deletable.
3963         (empty_elt_loc_lists): Mark as deletable.
3964         (new_elt_list): Use GGC to allocate struct elt_list.
3965         (new_elt_loc_list): Use GGC to allocate struct elt_loc_list.
3966         (clear_table): Don't delete obstack; don't unnecessarily clear
3967         deletable variables.
3968         (new_cselib_val): Use GGC to allocate struct cselib_val.
3969         (cselib_init): Don't set up obstacks.  Use GGC to allocate
3970         hash table.
3971         (cselib_finish): Just clear variables, don't free anything.
3972         * Makefile.in (cselib.o): Remove dependency on $(OBSTACK_H).
3973         (reg-stack.o): Add dependency on gt-reg-stack.h, $(GGC_H).
3974         (dependence.o): Add dependency on gt-dependence.h, $(GGC_H).
3975         (GTFILES): Add insn-addr.h, cselib.h, dependence.c, reg-stack.c.
3976         (gt-reg-stack.h): New rule.
3977         (gt-dependence.h): New rule.
3978         (gtype-desc.o): Add cselib.h, insn-addr.h.
3980         * varray.c: Use only necessary headers.
3981         (element_size): New.
3982         (uses_ggc): New.
3983         (varray_init): Take type, not size.  Use GGC if appropriate.
3984         (varray_grow): Update for change to struct varray_head_tag.
3985         Use GGC if appropriate.
3986         * varray.h (struct const_equiv_data): Use gengtype.
3987         (enum varray_data_enum): New.
3988         (union varray_data_tag): Use gengtype.
3989         (struct varray_head_tag): Use gengtype.  Replace size field with
3990         enum varray_data_enum.
3991         (varray_init): Update prototype.
3992         (VARRAY_SCHED_INIT): Delete.
3993         (VARRAY_*_INIT): Update for change to varray_init.
3994         (VARRAY_SCHED): Delete.
3995         (VARRAY_PUSH_SCHED): Delete.
3996         (VARRAY_TOP_SCHED): Delete.
3997         * tree.h: Update for change to length specifier.
3998         * tree-inline.c (optimize_inline_calls): Don't use VARRAY_FREE.
3999         (clone_body): Likewise.
4000         * ssa.h (ssa_definition): Use gengtype to mark.
4001         * ssa.c (convert_from_ssa): Don't use VARRAY_FREE.
4002         * ssa-dce.c (ssa_eliminate_dead_code): Don't use VARRAY_FREE.
4003         * rtl.h (struct rtvec_def): Update for change to length specifier.
4004         * integrate.c (expand_inline_function): Don't use VARRAY_FREE.
4005         (struct initial_value_struct): Update for change to length specifier.
4006         * ggc.h (ggc_add_rtx_varray_root): Delete prototype.
4007         (ggc_add_tree_varray_root): Delete prototype.
4008         (ggc_mark_rtx_varray): Delete prototype.
4009         (ggc_mark_tree_varray): Delete prototype.
4010         * ggc-common.c (ggc_add_rtx_varray_root): Delete.
4011         (ggc_add_tree_varray_root): Delete.
4012         (ggc_mark_rtx_varray): Delete.
4013         (ggc_mark_tree_varray): Delete.
4014         (ggc_mark_rtx_varray_ptr): Delete.
4015         (ggc_mark_tree_varray_ptr): Delete.
4016         * gengtype.h (enum typekind): Remove TYPE_VARRAY.
4017         (create_varray): Delete prototype.
4018         * gengtype.c (varrays): Delete.
4019         (create_varray): Delete.
4020         (adjust_field_type): Detect array of string pointers.
4021         (process_gc_options): Remove code to handle varray_type option.
4022         (set_gc_used_type): Remove TYPE_VARRAY case.
4023         (output_escaped_param): New.
4024         (write_gc_structure_fields): Use output_escaped_param on all
4025         parameters.  Handle 'skip' with 'use_param' option.  Handle
4026         arrays of strings.  Remove TYPE_VARRAY handling.
4027         (write_gc_roots): Use boolean to detect 'length' option.
4028         * gengtype-yacc.y (VARRAY_TYPE): Delete token.
4029         (struct_fields): Call adjust_field_type on array fields.
4030         (type): Remove VARRAY_TYPE case.
4031         (type_option): Likewise.
4032         * gengtype-lex.l: Don't consider varray_type a keyword.
4033         * function.h: Update for change to length specifier.
4034         (free_eh_status): Delete prototype.
4035         * function.c (free_after_compilation): Don't call free_eh_status.
4036         (reorder_blocks): Don't use VARRAY_FREE.
4037         * except.c (struct eh_status): Update for change to length specifier.
4038         remove varray_type specifier.
4039         (free_eh_status): Delete.
4040         * dwarf2out.c: Include gt-dwarf2out.h.
4041         (used_rtx_varray): Use gengtype to mark, move
4042         outside ifdefs.
4043         (incomplete_types): Likewise.
4044         (decl_scope_table): Likewise.
4045         (dwarf2out_init): Don't call ggc_add_tree_varray_root.
4046         * cfglayout.c (scope_to_insns_finalize): Don't use VARRAY_FREE.
4047         * c-tree.h (struct lang_type): Update for change to length specifier.
4048         * c-parse.in (yylexstring): Don't use VARRAY_FREE.
4049         * c-objc-common.c: Include gt-c-objc-common.h.
4050         (deferred_fns): Mark for gengtype.
4051         (c_objc_common_init): Don't call ggc_add_tree_varray_root.
4052         (expand_deferred_fns): Just set deferred_fns to 0 to free it.
4053         * Makefile.in (c-objc-common.o): Add gt-c-objc-common.h.
4054         (gtype-desc.o): Update dependencies.
4055         (dwarf2out.o): Add gt-dwarf2out.h.
4056         (varray.o): Update dependencies.
4057         (GTFILES): Add varray.h, ssa.h, dwarf2out.c, c-objc-common.c.
4058         (gt-c-objc-common.h): New rule.
4059         (gt-dwarf2out.h): New rule.
4060         * objc/objc-act.c (build_objc_string_object): Don't use VARRAY_FREE.
4062         * doc/gty.texi (GTY Options): Correct spelling.
4063         (GGC Roots): Likewise.
4064         * Makefile.in (TEXI_CPP_FILES): New.
4065         (TEXI_GCC_FILES): New.
4066         (TEXI_GCCINT_FILES): New.
4067         (TEXI_CPPINT_FILES): New.
4068         ($(docdir)/cpp.info): Use new macros.
4069         ($(docdir)/gcc.info): Likewise.
4070         ($(docdir)/gccint.info): Likewise.
4071         ($(docdir)/cppinternals.info): Likewise.
4072         (cpp.dvi): Likewise.
4073         (gcc.dvi): Likewise.
4074         (gccint.dvi): Likewise.
4075         (cppinternals.dvi): Likewise.
4077         * Makefile.in ($(docdir)/gccint.info): Depend on gty.texi.
4078         * doc/gccint.texi (Top): Include gty.texi.
4079         * doc/gty.texi: New file.
4081         * bitmap.c: Include ggc.h, gt-bitmap.h.
4082         (bitmap_ggc_free): New.
4083         (bitmap_elem_to_freelist): New.
4084         (bitmap_element_free): Use bitmap_elem_to_freelist.
4085         (bitmap_element_allocate): Allow use of GGC.
4086         (bitmap_clear): Use bitmap_elem_to_freelist.
4087         (bitmap_copy): Update for change to bitmap_element_allocate.
4088         (bitmap_set_bit): Likewise.
4089         (bitmap_operation): Update for changes elsewhere.
4090         (bitmap_initialize): Allow to create bitmaps that will use GGC.
4091         * bitmap.h (struct bitmap_element_def): Use gengtype.
4092         (struct bitmap_head_def): Likewise.  Also add 'using_obstack' field.
4093         (bitmap_initialize): Add extra parameter.
4094         (BITMAP_OBSTACK_ALLOC): Update for change to bitmap_initialize.
4095         (BITMAP_ALLOCA): Delete.
4096         (BITMAP_XMALLOC): Update for change to bitmap_initialize.
4097         (BITMAP_GGC_ALLOC): New.
4098         * Makefile.in (gtype-desc.o): Add bitmap.h.
4099         (bitmap.o): Add gt-bitmap.h, $(GGC_H).
4100         (GTFILES): Add bitmap.c.
4101         (gt-bitmap.h): New rule.
4102         ($(HOST_PREFIX_1)bitmap.o): Add gt-bitmap.h.
4103         * basic-block.h: Update for changes to bitmap_initialize.
4104         * except.c (exception_handler_label_map): Move into...
4105         (struct eh_status): Here.
4106         (struct eh_region): Make 'aka' GCable.
4107         (free_eh_status): Don't need to specially handle
4108         exception_handler_label_map.
4109         (add_ehl_entry): Update for changes to exception_handler_label_map.
4110         (find_exception_handler_labels): Likewise.
4111         (remove_exception_handler_label): Likewise.
4112         (maybe_remove_eh_handler): Likewise.
4113         (for_each_eh_label): Likewise.
4114         (remove_eh_handler): Allocate 'aka' using GGC.
4115         * gengtype.c (get_output_file_with_visibility): Add bitmap.h
4116         to list of includes.
4118         * gengtype.c (write_gc_marker_routine_for_structure): Name
4119         the routines 'gt_ggc_mx_*' instead of 'gt_ggc_m_*'.
4120         (write_gc_types): Arrange for the tests with NULL to be inlined.
4121         (write_gc_roots): Update uses of procedure pointers.
4122         * ggc-common.c (gt_ggc_mx_rtx_def): Rename from gt_ggc_m_rtx_def.
4124         * Makefile.in (explow.o): Add dependency on gt-explow.h.
4125         (sdbout.o): Add dependency on gt-sdbout.h.
4127         * emit-rtl.c (const_int_htab): Use gengtype to clear unused entries.
4128         (mem_attrs_htab): Likewise.
4129         (init_emit_once): Don't call ggc_add_deletable_htab.
4130         * fold-const.c (size_htab): Use gengtype to clear unused entries.
4131         (size_int_type_wide): Don't call ggc_add_deletable_htab.
4132         * gengtype.c (finish_root_table): Add LASTNAME and TNAME
4133         parameters, use them, change callers.
4134         (write_gc_root): Add IF_MARKED parameter, use it, change callers.
4135         (write_gc_roots): Handle 'if_marked' option.
4136         (main): Don't need to call set_gc_used_type any more.
4137         * ggc.h (ggc_htab_marked_p): Delete.
4138         (ggc_htab_mark): Delete.
4139         (struct ggc_cache_tab): New.
4140         (gt_ggc_cache_rtab): New declaration.
4141         * ggc-common.c (struct d_htab_root): Delete.
4142         (d_htab_roots): Delete.
4143         (ggc_add_deletable_htab): Delete.
4144         (ggc_htab_delete): Handle new htab-deleting mechanism.
4145         (ggc_mark_roots): Use new htab-deleting mechanism.
4146         * tree.c (type_hash_table): Use gengtype to clear unused entries.
4147         Make static.
4148         (init_obstacks): Don't call ggc_add_deletable_htab.
4150         * objc/objc-act.h (struct hashed_attribute): Use gengtype.
4151         (struct hashed_entry): Likewise.
4152         (nst_method_hash_list): Likewise.
4153         (cls_method_hash_list): Likewise.
4154         (HASH_ALLOC_LIST_SIZE): Delete.
4155         (ATTR_ALLOC_LIST_SIZE): Delete.
4156         * objc/objc-act.c (hash_init): Use ggc to allocate
4157         nst_method_hash_list, cls_method_hash_list.
4158         (hash_enter): Use ggc to allocate; allocate one entry at a time.
4159         (hash_add_attr): Likewise.
4160         (ggc_mark_hash_table): Delete.
4161         (objc_act_parse_init): Delete.
4162         (objc_init): Delete reference to objc_act_parse_init.
4163         * tlink.c: Replace hash.h with hashtab.h.  Explicitly include
4164         obstack.h.  Replace references to 'struct hash_table' with htab_t.
4165         (struct symbol_hash_entry): Replace hash header with key field.
4166         (struct file_hash_entry): Replace hash header with key field.
4167         (struct demangled_hash_entry): Replace hash header with key field.
4168         (hash_string_eq): New.
4169         (hash_string_hash): New.
4170         (symbol_hash_newfunc): Delete.
4171         (symbol_hash_lookup): Modify to use htab_t.
4172         (file_hash_newfunc): Delete.
4173         (file_hash_lookup): Modify to use htab_t.
4174         (demangled_hash_newfunc): Delete.
4175         (demangled_hash_lookup): Modify to use htab_t.
4176         (tlink_init): Modify to use htab_t.
4177         * hash.h: Delete.
4178         * hash.c: Delete.
4179         * ggc.h: Delete forward structure declarations.
4180         Delete prototypes for deleted functions.
4181         * ggc-common.c: Don't include hash.h.
4182         (ggc_add_tree_hash_table_root): Delete.
4183         (ggc_mark_tree_hash_table_entry): Delete.
4184         (ggc_mark_tree_hash_table): Delete.
4185         (ggc_mark_tree_hash_table_ptr): Delete.
4186         * gengtype.c (write_gc_structure_fields): Allow param_is option.
4187         (write_gc_marker_routine_for_structure): Use visibility of
4188         the parameter if there is one.
4189         * function.c: Replace hash.h with hashtab.h.  Replace references
4190         to 'struct hash_table *' with htab_t.
4191         (struct insns_for_mem_entry): Include a plain key.
4192         (fixup_var_refs_insns_with_hash): Update to use htab_t.
4193         (insns_for_mem_newfunc): Delete.
4194         (insns_for_mem_hash): Update to use htab_t.
4195         (insns_for_mem_comp): Likewise.
4196         (insns_for_mem_walk): Likewise.
4197         * c-lang.c: Include ggc.h.
4198         * Makefile.in (OBJS): Remove hash.o.
4199         (c-lang.o): Add GGC_H.
4200         (COLLECT2_OBJS): Remove hash.o.
4201         (tlink.o): Remove hash.h, add HASHTAB_H and OBSTACK_H.
4202         (ggc-common.o): Remove hash.h.
4203         (function.o): Remove hash.h, add HASHTAB_H.
4204         (genautomata.o): Remove hash.h, add HASHTAB_H.
4206         * varasm.c (mark_const_str_htab_1): Delete.
4207         (mark_const_str_htab): Delete.
4208         (const_str_htab_del): Delete.
4209         (const_str_htab): Use gengtype to mark.
4210         (init_varasm_once): Use gengtype to mark hashtables.  Use GC to
4211         allocate them.
4212         * tree.c (mark_tree_hashtable_entry): Delete.
4213         (mark_tree_hashtable): Delete.
4214         * tree.h (mark_tree_hashtable): Delete prototype.
4215         * ggc.h (ggc_test_and_set_mark): Treat (void *)1 like NULL.
4216         (ggc_mark): Likewise.
4217         (ggc_calloc): New.
4218         (htab_create_ggc): New.
4219         * ggc-common.c (ggc_calloc): New.
4220         * gengtype.h (enum typekind): Add TYPE_PARAM_STRUCT.
4221         (struct type): Add param_struct structure.
4222         * gengtype.c (param_structs): New.
4223         (adjust_field_type): Handle param_is option.
4224         (set_gc_used_type): Handle TYPE_PARAM_STRUCT.
4225         (get_output_file_with_visibility): Include hashtab.h in gtype-desc.c.
4226         (write_gc_structure_fields): Add new PARAM parameter.  Update
4227         callers.  Handle use_param option.  Handle TYPE_PARAM_STRUCT.
4228         (write_gc_marker_routine_for_structure): Add new PARAM parameter.
4229         Use it to generate function name.  Update callers.
4230         (write_gc_types): Add new PARAM_STRUCTS parameter.  Update callers.
4231         Process them.
4232         (write_gc_roots): Handle TYPE_PARAM_STRUCT.  Allow param_is
4233         option.
4234         (main): Define PTR as pointer-to-scalar.  Don't specially
4235         mark deferred_string or ehl_map_entry.
4236         * gengtype-yacc.y (PARAM_IS): Add new token.
4237         (externstatic): Use adjust_field_type.
4238         (type_option): Add PARAM_IS.
4239         * gengtype-lex.l: Add rule for typedef of function pointers.
4240         Add rule for PARAM_IS.
4241         (IWORD): Add size_t.
4242         * except.c (exception_handler_label_map): Use gengtype to mark.
4243         (type_to_runtime_map): Likewise.
4244         (mark_ehl_map_entry): Delete.
4245         (mark_ehl_map): Delete.
4246         (init_eh): Use gengtype for roots; use GC to allocate hash tables.
4247         (t2r_mark_1): Delete.
4248         (t2r_mark): Delete.
4249         * Makefile.in (gtype-desc.o): Correct dependencies.
4250         (GTFILES): Add hashtab.h.
4251         (genautomata.o): Actually uses hashtab.h.
4253         * Makefile.in (stringpool.o): Add $(GGC_H).
4254         (dwarf2asm.o): Likewise.
4255         (GTFILES): Add hashtable.h.
4256         * c-common.h (struct c_common_identifier): Use gengtype.
4257         * c-decl.h (c_mark_tree): Delete.
4258         * c-lang.c (LANG_HOOKS_MARK_TREE): Delete.
4259         * c-tree.h (struct lang_identifier): Use gengtype.
4260         (union lang_tree_node): New.
4261         (c_mark_tree): Delete prototype.
4262         * dwarf2out.c [!DWARF2_DEBUGGING_INFO]: Define dummy
4263         dwarf2_debug_hooks.
4264         * gengtype-lex.l (IWORD): Allow 'bool'.
4265         (ptr_alias): Match.
4266         * gengtype-yacc.y (ALIAS): New token.
4267         (type_option): New rule.
4268         (option): Use type_option.
4269         * gengtype.c (process_gc_options): New.
4270         (set_gc_used_type): Use it.
4271         (write_gc_structure_fields): Add 'bitmap' parameter, change callers.
4272         Add new variable 't' to hold the type of the field being processed.
4273         Add more error checking.  Use UNION_P when looking at 'desc' option.
4274         Handle language-specific structures containing other
4275         language-specific structures.
4276         (write_gc_types): Handle 'ptr_alias' option.
4277         (main): Don't need to specially output lang_type, lang_decl, lang_id2.
4278         * ggc-common.c (ggc_pending_trees): Delete.
4279         (ggc_mark_roots): Don't manipulate ggc_pending_trees.
4280         (ggc_mark_trees): Delete.
4281         (gt_ggc_m_tree_node): Delete.
4282         * ggc.h (ggc_pending_trees): Delete.
4283         (ggc_mark_tree): Make alias of gt_ggc_m_tree_node.
4284         * hashtable.h (ht_identifier): Use gengtype.
4285         * langhooks-def.h (LANG_HOOKS_MARK_TREE): Delete.
4286         * langhooks.h (struct lang_hooks): Delete mark_tree.
4287         * sdbout.c [! SDB_DEBUGGING_INFO]: Define dummy sdb_debug_hooks
4288         anyway.
4289         * system.h: Poison LANG_HOOKS_MARK_TREE.
4290         * tree.c (tree_node_structure): New.
4291         * tree.h (struct tree_common): Use gengtype.
4292         (struct tree_int_cst): Likewise.
4293         (struct tree_real_cst): Likewise.
4294         (struct tree_string): Likewise.
4295         (struct tree_complex): Likewise.
4296         (struct tree_vector): Likewise.
4297         (struct tree_identifier): Likewise.
4298         (struct tree_list): Likewise.
4299         (struct tree_vec): Likewise.
4300         (struct tree_exp): Likewise.
4301         (struct tree_block): Likewise.
4302         (struct tree_type): Likewise.
4303         (struct tree_decl): Likewise.
4304         (enum tree_structure_enum): New.
4305         (union tree_node): Use gengtype, with an alias.
4306         (tree_node_structure): Prototype.
4307         * objc/objc-lang.c (LANG_HOOKS_MARK_TREE): Delete.
4309         Merge to tag pch-merge-20020430.  The LANG_HOOKS_FUNCTION_MARK
4310         macro was deleted.  The LANG_HOOKS_FUNCTION_FREE macro was renamed
4311         to LANG_HOOKS_FUNCTION_FINAL.
4312         * Makefile.in (GTFILES): Add bitmap.h.
4313         * except.c (struct eh_region): Mark field 'aka' to be skipped.
4315         * config/alpha/alpha.c [TARGET_ABI_UNICOSMK]
4316         (alpha_init_machine_status): Give proper type.
4317         * Makefile.in (c-lang.o): Depend on gtype-c.h.
4318         (optabs.o): Depend on gt-optabs.h.
4319         (GTFILES): Add optabs.o.
4320         (gt-optabs.h): Add rule.
4321         * optabs.c: Include gt-optabs.h.
4323         * gengtype.c (set_gc_used_type): Correct some errors in last change.
4324         (write_gc_structure_fields): If a field which should be NULL is
4325         not, abort.
4326         * c-pragma.c: Move struct align_stack and variable alignment_stack
4327         out from the ifdef.
4329         * config/xtensa/t-xtensa: Add dependencies for gt-xtensa.h.
4330         * config/xtensa/xtensa.c: Include gt-cris.h.
4331         (struct machine_function): Use gengtype to mark.
4332         * config/mmix/mmix.h (struct machine_function): Use gengtype
4333         to mark.
4334         * config/cris/t-cris: Add dependencies for gt-cris.h.
4335         * config/cris/cris.c: Include gt-cris.h.
4336         (struct machine_function): Use gengtype to mark.
4337         * config/rs6000/rs6000.h (struct machine_function): Use gengtype
4338         to mark.
4339         * doc/tm.texi (Per-Function Data): Delete references to
4340         mark_machine_status.
4341         * config/ia64/ia64.c (ia64_override_options): Don't set
4342         mark_machine_status.
4343         * config/i386/i386.c (override_options): Likewise.
4344         * config/d30v/d30v.c (d30v_init_expanders): Likewise.
4345         * config/arm/arm.c (arm_init_expanders): Likewise.
4346         * config/alpha/alpha.c (override_options): Likewise.
4347         * gengtype.h (enum gc_used_enum): Add GC_MAYBE_POINTED_TO.
4348         * gengtype.c (set_gc_used_type): Handle 'maybe_null' option.
4349         (write_gc_structure_fields): Don't handle 'really' option.
4350         Handle 'maybe_null' option.
4351         (write_gc_types): Handle 'maybe_null' option.
4352         * function.h (struct function): Don't use "really".
4353         (mark_machine_status): Delete declaration.
4354         (mark_lang_status): Delete declaration.
4355         (gt_ggc_mr_machine_function): Delete prototype.
4356         (gt_ggc_mr_language_function): Delete prototype.
4357         * function.c (mark_machine_status): Delete.
4358         (mark_lang_status): Delete.
4359         (gt_ggc_mr_machine_function): Delete.
4360         (gt_ggc_mr_language_function): Delete.
4361         * c-tree.h (mark_c_function_context): Delete prototype.
4362         * c-objc-common.c (c_objc_common_init): Don't set mark_lang_status.
4363         * c-decl.c (struct language_function): Rename from struct
4364         c_language_function.  Update uses.  Use gengtype to mark.
4365         (mark_c_function_context): Delete.
4366         * c-common.h (struct c_language_function): Rename from struct
4367         language_function.
4368         (mark_stmt_tree): Delete prototype.
4369         (c_mark_lang_decl): Delete prototype.
4370         (mark_c_language_function): Delete prototype.
4371         * c-common.c (mark_stmt_tree): Delete.
4372         (c_mark_lang_decl): Delete.
4373         (mark_c_language_function): Delete.
4375         * gengtype.h (enum typekind): Add TYPE_LANG_STRUCT.
4376         (lang_bitmap): New typedef.  Use where appropriate.
4377         (struct type): Add gc_used field, lang_struct field.
4378         (UNION_P): New macro.
4379         (new_structure): New prototype.
4380         (find_structure): Remove 'pos' parameter.  Change all callers.
4381         * gengtype-lex.l: Update for changes to find_structure.
4382         * gengtype-yacc.y (typedef_struct): Use new_structure.
4383         (yacc_ids): Suppress warning.
4384         (type): Use new_structure.
4385         * gengtype.c (string_type): Update for changes to struct type.
4386         (find_structure): Just find a structure, don't worry about
4387         creating one.
4388         (new_structure): New.
4389         (note_yacc_type): Use new_structure.
4390         (set_gc_used_type): New.
4391         (set_gc_used): New.
4392         (write_gc_structure_fields): Allow for pointers to TYPE_LANG_STRUCT.
4393         (write_gc_types): Handle TYPE_LANG_STRUCT.
4394         (write_gc_marker_routine_for_structure): New.
4395         (main): Call set_gc_used.  Add some calls to set_gc_used_type
4396         for places where GCC doesn't use gengtype properly yet.
4397         * ggc.h (gt_ggc_m_rtx_def): Don't prototype.
4398         (gt_ggc_m_tree_node): Likewise.
4400         * varasm.c (copy_constant): Call expand_constant if we hit
4401         something we can't recognise.
4403         * ggc-common.c (ggc_mark_rtvec_children): Delete.
4404         (ggc_mark_rtx_children): Use generic name for ggc_mark_rtvec.
4405         (lang_mark_false_label_stack): Delete.
4406         * rtl.h (struct rtvec_def): Use gengtype to mark.
4407         * ggc.h (ggc_mark_rtvec): Delete.
4408         (gt_ggc_m_rtvec_def): Delete.
4409         (ggc_mark_nonnull_tree): Delete.
4410         (ggc_mark_rtvec_children): Delete prototype.
4411         (lang_mark_false_label_stack): Delete declaration.
4413         * gengtype.h (note_yacc_type): Add prototype.
4414         * gengtype.c (note_yacc_type): New function.
4415         * gengtype-lex.l: Add lexer support for yacc files.
4416         * gengtype-yacc.y (start): Extract union from yacc files.
4417         (yacc_union): New rule.
4418         (yacc_typematch): New rule.
4419         (yacc_ids): New rule.
4420         (enum_items): Tweak for efficiency.
4421         (optionseq): Likewise.
4423         * c-common.h (struct language_function): Use gengtype.
4424         (struct c_lang_decl): Likewise.
4425         * c-tree.h (struct lang_decl): Likewise.
4426         (struct lang_type): Likewise.
4427         * c-decl.c (lang_mark_tree): Use generated marker routines to mark
4428         tree language substructures.
4430         * stringpool.c (mark_ident): Replace ggc_mark_nonnull_tree with
4431         ggc_mark_tree.
4432         * dwarf2asm.c (mark_indirect_pool_entry): Likewise.
4434         * varasm.c (struct rtx_const): Remove 'skip' tags for scalar arrays.
4436         * stmt.c (struct nesting): Add discriminator.  Use gengtype to
4437         mark. Remove 'data.block.cleanup_ptr' field.
4438         (struct stmt_status): Use usual technique to mark struct nesting.
4439         (gt_ggc_mr_nesting_cond): Delete.
4440         (gt_ggc_mr_nesting_loop): Delete.
4441         (gt_ggc_mr_nesting_block): Delete.
4442         (gt_ggc_mr_nesting_case_stmt): Delete.
4443         (expand_start_cond): Set discriminator.
4444         (expand_start_loop): Likewise.
4445         (expand_start_null_loop): Likewise.
4446         (expand_start_bindings_and_block): Set discriminator.  Don't set
4447         deleted fields.
4448         (expand_decl_cleanup): Replace 'cleanup_ptr' with
4449         &thisblock->data.block.cleanups.
4450         (expand_start_case): Set discriminator.
4451         (expand_start_case_dummy): Set discriminator.
4453         * ggc-callbacks.c: Remove.
4455         * gengtype.h (struct type): Add 'u.s.bitmap' field.
4456         (find_structure): Add 'pos' parameter.
4457         * gengtype-lex.l: Update callers to find_structure.
4458         * gengtype-yacc.y: Likewise.
4459         * gengtype.c (find_structure): Allow for structures to be defined
4460         in multiple language backends.
4461         (get_output_file_with_visibility): Include debug.h in gtype-desc.c.
4462         (counter): Rename to gc_counter.
4463         (write_gc_structure_fields): Fail when writing out fields for
4464         an incomplete structure.  Ignore arrays of scalars.  Handle
4465         'tree_vec' special.
4466         (write_gc_types): Reset counter for each procedure written.
4468         * stmt.c (add_case_node): Use GGC to allocate struct case_node.
4469         (free_case_nodes): Delete.
4470         (expand_end_case_type): Delete call to free_case_nodes.
4472         * Makefile.in (cselib.o): Include gt-<filename>.h.
4473         (gcse.o): Likewise.
4474         (profile.o): Likewise.
4475         (alias.o): Likewise.
4476         (GTFILES): Add alias.c, cselib.c, gcse.c, profile.c, and
4477         alphabetize backend files.
4478         (gt-alias.h, gt-cselib.h, gt-gcse.h, gt-profile.h): New rules.
4479         * alias.c: Use gengtype for roots.
4480         * c-common.h (struct stmt_tree_s): Use gengtype.
4481         * c-decl.c: Use gengtype for roots.
4482         * cselib.c: Use gengtype for roots.
4483         * expr.c: Use gengtype for roots.
4484         * fold-const.c: Use gengtype for roots.
4485         * gcse.c: Use gengtype for roots.
4486         * gengtype-lex.l: Handle typedefs of function types.
4487         Allow for empty array bounds.
4488         Allow processing to stop on initialisers.
4489         * gengtype-yacc.y (externstatic): Stop processing on initialisers.
4490         (semiequal): New rule.
4491         * gengtype.c (create_file): Tidy output files.
4492         (get_output_file_with_visibility): Fix paren warning.  Fix bug
4493         involving multiple input files mapping to one output file.
4494         (write_gc_structure_fields): Skip arrays of scalars.
4495         (write_gc_types): Tidy output files.
4496         (write_gc_root): New function.
4497         (write_gc_roots): Fix bugs, add support for roots that are
4498         structures.
4499         * ggc-common.c (ggc_mark_rtx_ptr): Delete.
4500         (ggc_mark_tree_ptr): Delete.
4501         (ggc_add_rtx_root): Delete.
4502         (ggc_add_tree_root): Delete.
4503         (ggc_del_root): Delete.
4504         * integrate.c (get_func_hard_reg_initial_val): Use ggc_alloc to
4505         allocate struct initial_value_struct.
4506         * profile.c: Use gengtype for roots.
4507         * sdbout.c: Use gengtype for roots.
4508         * varasm.c (mark_weak_decls): Delete unused prototype.
4509         (mark_const_hash_entry): Delete unused function.
4510         * config/darwin-protos.h: Use gengtype for roots.
4511         (machopic_add_gc_roots): Delete.
4512         * config/arm/arm.c: Use gengtype for roots.
4513         * config/arm/arm.h: Use gengtype for roots.
4514         * config/c4x/c4x-protos.h: Use gengtype for roots.
4515         * config/c4x/c4x.c (c4x_add_gc_roots): Delete.
4516         * config/d30v/d30v-protos.h: Use gengtype for roots.
4517         * config/d30v/d30v.c (d30v_add_gc_roots): Delete.
4518         * config/dsp16xx/dsp16xx.c (override_options): Use gengtype for roots.
4519         * config/dsp16xx/dsp16xx.h: Use gengtype for roots.
4520         * config/ia64/ia64-protos.h: Use gengtype for roots.
4521         * config/ia64/ia64.c (ia64_add_gc_roots): Delete.
4522         * config/m68hc11/m68hc11-protos.h: Use gengtype for roots.
4523         * config/m68hc11/m68hc11.c (z_reg): Make global.
4524         (z_reg_qi): Make global.
4525         (m68hc11_add_gc_roots): Delete.
4526         * config/mcore/mcore-protos.h: Use gengtype for roots.
4527         * config/mcore/mcore.c (mcore_add_gc_roots): Delete.
4528         * config/mips/mips.c (mips_add_gc_roots): Delete.
4529         * config/mips/mips.h: Use gengtype for roots.
4530         * config/mmix/mmix.c (override_options): Use gengtype for roots.
4531         * config/mmix/mmix.h: Use gengtype for roots.
4532         * config/mn10200/mn10200.c (asm_file_start): Use gengtype for roots.
4533         * config/mn10200/mn10200.h: Use gengtype for roots.
4534         * config/pa/pa.c: Use gengtype for roots, marking.
4535         (struct deferred_plabel): Use GGC, gengtype.
4536         (pa_add_gc_roots): Delete.
4537         (mark_deferred_plabels): Delete.
4538         * config/pj/pj-protos.h: Use gengtype for roots.
4539         * config/pj/pj.h (OVERRIDE_OPTIONS): Don't define.
4540         * config/rs6000/rs6000.c: Use gengtype for roots.  Don't call
4541         machopic_add_gc_roots.
4542         * config/rs6000/rs6000.h: Use gengtype for roots.
4543         * config/rs6000/t-darwin (darwin.o): Add dependency on gt-darwin.h.
4544         (gt-darwin.h): Add rule.
4545         * config/sh/sh.c: Use gengtype for roots.
4546         * config/sh/t-sh ($(out_object_file)): Add dependency on gt-sh.h.
4547         (gt-sh.h): Add rule.
4548         * config/sparc/sparc.c: Use gengtype for roots.
4549         (sparc_add_gc_roots): Delete.
4550         (struct ultrasparc_pipeline_state): Use GGC, gengtype.
4551         (mark_ultrasparc_pipeline_state): Delete.
4552         * config/sparc/sparc.h: Use gengtype for roots.
4554         * Makefile.in (c-parse.o): Update dependencies.
4555         (c-common.o): Likewise.
4556         (GTFILES): Add c-common.h, c-tree.h, c-common.c, c-parse.in.
4557         Add dependencies for the files they generate.
4558         * c-common.c: Replace ggc_add_* uses with GTY annotations.
4559         * c-common.h: Likewise.
4560         * c-decl.c: Likewise.
4561         (gt_ggc_mp_binding_level): Delete.
4562         * c-lang.c: Include gtype-c.h.
4563         * c-parse.in: Replace ggc_add_* uses with GTY annotations.  Include
4564         gt-c-parse.h.
4565         * c-pragma.h: Replace ggc_add_* uses with GTY annotations.
4566         (gt_ggc_mp_align_stack): Delete.
4567         * c-tree.h: Replace ggc_add_* uses with GTY annotations.
4568         * function.c: Replace ggc_add_* uses with GTY annotations.
4569         (gt_ggc_mp_function): Delete.
4570         * function.h: Replace ggc_add_* uses with GTY annotations.
4571         * gengtype.c (lang_names): New.
4572         (NUM_BASE_FILES): New.
4573         (open_base_files): Create language base files.
4574         (startswith): New.
4575         (get_file_basename): New.
4576         (get_base_file_bitmap): New.
4577         (get_output_file_with_visibility): Rename from get_output_file.
4578         Add more mappings for various C/Objc filenames.
4579         (finish_root_table): New.
4580         (write_gc_roots): Handle dependencies and scoping properly.
4581         * gengtype.h: Add prototypes for new functions.
4582         * ggc-common.c (struct deletable_root): Delete.
4583         (deletables): Delete.
4584         (ggc_add_deletable_root): Delete.
4585         (ggc_mark_roots): No need to deal with deleted functionality.
4586         * ggc.h (ggc_add_deletable_root): Delete prototype.
4587         * objc/Make-lang.in (objc-act.o): Add gtype-objc.h dependency.
4588         (gtype-objc.h): Add rule to create.
4589         * objc/config-lang.in (gtfiles): New.
4590         * objc/objc-act.c: Allocate imp_list using GGC.  Replace uses of
4591         ggc_add_* with GTY markers.  Include gtype-objc.h.
4592         (ggc_mark_imp_list): Delete.
4593         * objc/objc-act.h: Replace uses of ggc_add_* with GTY markers.
4594         * objc/objc-lang.c: Random Whitespace Change.
4596         * except.h (exception_handler_labels): Delete.
4597         (get_exception_handler_labels): New.
4598         * except.c (exception_handler_labels): Delete.
4599         (struct eh_status): Add exception_handler_labels field.
4600         (doing_eh): Don't add exception_handler_labels as root.
4601         (free_eh_status): Don't need to free exception_handler_labels.
4602         (get_exception_handler_labels): New.
4603         (find_exception_handler_labels): Update for move of
4604         exception_handler_labels.
4605         (remove_exception_handler_label): Likewise.
4606         * cfgrtl.c (can_delete_label_p): Use get_exception_handler_labels.
4607         * jump.c (rebuild_jump_labels): Likewise.
4608         * loop.c (find_and_verify_loops): Likewise.
4609         * sched-rgn.c (is_cfg_nonregular): Likewise.
4611         * gengtype.c (write_gc_structure_fields): Handle variable-length
4612         TYPE_ARRAYs.
4614         * varasm.c (struct weak_syms): Use GGC, gengtype.
4615         (mark_weak_decls): Delete.
4616         (weak_decls): Likewise.
4617         (add_weak): Likewise.
4618         (remove_from_pending_weak_list): Likewise.
4619         (init_varasm_once): Likewise.
4621         * Makefile.in (gtype-desc.o): Add libfuncs.h dependency.
4622         (GTFILES): Add tree.h, libfuncs.h, emit-rtl.c, explow.c,
4623         stor-layout.c, regclass.c, and lists.c.
4624         Add dependencies of gt-emit-rtl.h gt-explow.h gt-stor-layout.h
4625         gt-regclass.h and gt-lists.h on s-gtype.
4626         * emit-rtl.c: Use gengtype for roots.  Include gt-emit-rtl.h.
4627         * except.c: Use gengtype for roots.
4628         * explow.c: Use gengtype for roots.  Include gt-explow.h.
4629         * expr.h (init_stor_layout_once): Delete prototype.
4630         * function.c: Use gengtype for roots.
4631         * gengtype-lex.l: Add ENT_EXTERNSTATIC lexing.
4632         * gengtype-yacc.y (start): Can also be an externstatic.
4633         (externstatic): New production.
4634         (struct_fields): Correct array bounds inversion for 2-d arrays.
4635         * gengtype.c (variables): New variable.
4636         (note_variable): New function.
4637         (get_output_file): Include libfuncs.h into gtype-desc.c.
4638         (get_output_file_name): New function.
4639         (write_gc_structure_fields): Suppress warnings.
4640         (write_gc_types): Make static.
4641         (put_mangled_filename): New function.
4642         (write_gc_roots): New function.
4643         (main): Call write_gc_roots.
4644         * gengtype.h (note_variable): Prototype.
4645         (get_output_file_name): Prototype.
4646         (write_gc_types): Delete prototype.
4647         * ggc.h: Clean up unnecessary structure predefinitions.
4648         (struct ggc_root_tab): Define.
4649         (gt_ggc_m_rtx_def): Make function, not macro.
4650         (gt_ggc_m_tree_node): Likewise.
4651         * libfuncs.h: Use gengtype for roots.
4652         * lists.c: Use gengtype for roots.  Include gt-lists.h.
4653         (init_EXPR_INSN_LIST_cache): Delete.
4654         * optabs.c: Use gengtype for roots.
4655         (gt_ggc_mp_optab): Delete.
4656         * optabs.h: Use gengtype for roots.
4657         * regclass.c: Use gengtype for roots.  Include gt-regclass.h.
4658         * rtl.h: Use gengtype for roots.
4659         (init_EXPR_INSN_LIST_cache): Delete prototype.
4660         * stor-layout.c: Use gengtype for roots.
4661         Include gt-stor-layout.h.
4662         (init_stor_layout_once): Delete.
4663         * toplev.c: Use gengtype for roots.  Delete calls to deleted
4664         routines.
4665         * tree.c: Use gengtype for roots.
4666         * tree.h: Use gengtype for roots.
4667         * varasm.c: Use gengtype for roots.
4669         * Makefile.in (GTFILES): Add @all_gtfiles@.
4670         * configure: Regenerate.
4671         * configure.in: Construct all_gtfiles from the gtfiles definitions
4672         in config-lang.in.
4673         * gengtype-yacc.y (type): Warn about duplicate structure names.
4674         * gengtype.c (get_output_file): Handle .c files in language
4675         subdirectories.
4677         * Makefile.in (GTFILES): Run gengtype on all the config files
4678         and on the target .c file.
4679         * except.c (mark_eh_region): Delete.
4680         (init_eh_for_function): Use GGC on struct eh_status.
4681         (mark_eh_status): Delete.
4682         (free_eh_status): Use GGC.
4683         (expand_eh_region_start): Use GGC to
4684         (collect_eh_region_array): Allocate last_region_number using GGC.
4685         (duplicate_eh_region_1): Use GGC to allocate struct eh_region.
4686         (remove_eh_handler): Let GGC free struct eh_region.
4687         (add_call_site): Use GGC to reallocate call_site_record array.
4688         * function.c (init_machine_status): Update calling sequence.
4689         (mark_machine_status): Likewise.
4690         (mark_lang_status): Likewise.
4691         (prepare_function_start): Update init_machine_status call.
4692         (mark_function_status): Delete.
4693         (maybe_mark_struct_function): Delete.
4694         (ggc_mark_struct_function): Delete.
4695         (gt_ggc_mp_function): New.
4696         (gt_ggc_mr_machine_function): New.
4697         (gt_ggc_mr_language_function): New.
4698         (init_function_once): Use canonical names.
4699         * function.h (struct function): Use gengtype.
4700         (init_machine_status): Return the structure.
4701         (mark_machine_status): Take a 'void *'.
4702         (mark_lang_status): Likewise.
4703         * ggc-common.c (ggc_mark_trees): Use canonical name for
4704         ggc_mark_struct_function.
4705         * tree.h (ggc_mark_struct_function): Delete prototype.
4706         * config/alpha/alpha.c (alpha_mark_machine_status): Delete.
4707         (alpha_init_machine_status): Likewise.
4708         (override_options): Use canonical name for alpha_mark_machine_status.
4709         * config/alpha/unicosmk.h (struct machine_function): Use gengtype.
4710         * config/arm/arm.h (struct machine_function): Use gengtype.
4711         * config/arm/arm.c (arm_mark_machine_status): Delete.
4712         (arm_init_machine_status): Update calling sequence.
4713         (arm_init_expanders): Use canonical name for arm_mark_machine_status.
4714         * config/cris/cris.c (cris_init_machine_status): Update
4715         calling sequence.
4716         * config/d30v/d30v.h (struct machine_function): Use gengtype.
4717         * config/d30v/d30v.c (d30v_init_machine_status): Update
4718         calling sequence.
4719         (d30v_mark_machine_status): Delete.
4720         * config/i386/i386.c: Include gt-i386.h.
4721         (struct machine_function): Use gengtype.
4722         (ix86_init_machine_status): Update calling sequence.
4723         (ix86_mark_machine_status): Delete.
4724         (override_options): Use canonical namke for ix86_mark_machine_status.
4725         * config/ia64/ia64.h (struct machine_function): Use gengtype.
4726         * config/ia64/ia64.c (ia64_init_machine_status): Update calling
4727         sequence.
4728         (ia64_mark_machine_status): Delete.
4729         (ia64_override_options): Use canonical name for
4730         ia64_mark_machine_status.
4731         * config/mmix/mmix.c (mmix_init_machine_status): Update calling
4732         sequence.
4733         * config/rs6000/rs6000.c (rs6000_init_machine_status): Likewise.
4734         * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
4735         * gengtype.c (get_output_file): Fix warning.
4736         (main): Add prototype to suppress warning.
4737         * tree.c: Remove tree_hash_mark prototype.
4739         * tree.h (init_stmt): Delete prototype.
4740         * toplev.c (lang_independent_init): Don't call init_stmt.
4741         * stmt.c (ALLOC_NESTING): Use GGC for 'struct nesting'.
4742         (stmt_obstack): Delete.
4743         (POPSTACK): No need to free 'struct nesting'.
4744         (gt_ggc_mr_nesting_cond): Use canonical names.
4745         (gt_ggc_mr_nesting_loop): Use canonical names.
4746         (gt_ggc_mr_nesting_block): Use canonical names.
4747         (gt_ggc_mr_nesting_case_stmt): Use canonical names.
4748         (mark_stmt_status): Delete.
4749         (init_stmt): Delete.
4750         (clear_last_expr): Clear both last_expr_type and last_expr_value.
4751         Use it everywhere that last_expr_type was cleared.
4752         * lists.c (init_EXPR_INSN_LIST_cache): Use ggc_add_deletable_root.
4753         (zap_lists): Delete.
4754         * ggc.h (ggc_add_deletable_root): Prototype.
4755         (mark_stmt_status): Remove prototype.
4756         * ggc-common.c (ggc_add_deletable_root): New.
4757         (ggc_mark_roots): Handle deletable roots.
4758         * function.c (ggc_mark_struct_function): Use canonical name
4759         for mark_stmt_status.
4760         * emit-rtl.c (free_sequence_stack): New.
4761         (start_sequence): Use a freelist for sequences.
4762         (end_sequence): Likewise.
4763         (init_emit_once): Add free_sequence_stack as a deleteable root.
4764         * c-pragma.c Include gt-c-pragma.h.
4765         (struct align_stack): Use gengtype.
4766         (push_alignment): Use GGC for struct align_stack.
4767         (mark_align_stack): Delete.
4768         (gt_ggc_mp_align_stack): New.
4769         (init_pragma): Use canonical name for mark_align_stack.
4770         * c-decl.c: Include gt-c-decl.h.
4771         (struct binding_level): Use gengtype.
4772         (make_binding_level): Use GGC; handle the freelist here.
4773         (pop_binding_level): New.
4774         (pushlevel): Move code into make_binding_level.
4775         (push_label_level): Likewise.
4776         (poplevel): Move code into pop_binding_level.
4777         (pop_label_level): Likewise.
4778         (mark_binding_level): Delete.
4779         (gt_ggc_mp_binding_level): New.
4780         (c_init_decl_processing): Use canonical name for mark_binding_level.
4781         Add free_binding_level as deletable root.
4782         (mark_c_function_context): Use canonical name for mark_binding_level.
4783         * Makefile.in (c-decl.o): Add gt-c-decl.h.
4784         (c-pragma.o): Add gt-c-pragma.h.
4785         (GTFILES): Add c-decl.c and c-pragma.c.
4786         (gt-c-decl.h, gt-c-pragma.h): Create using gengtype.
4788         * tree.c (struct type_hash): Use gengtype.
4789         (init_obstacks): Use canonical name for type_hash_mark.
4790         (type_hash_mark): Delete.
4791         Include gt-tree.h.
4792         * rtl.h (struct mem_attrs): Use gengtype.
4793         * optabs.h (struct optab): Use gengtype.
4794         * optabs.c (expand_binop): Squish signed/unsigned warning.
4795         (mark_optab): Make local, use canonical name, use autogenerated
4796         marker procedure.
4797         (init_optabs): Use canonical name for mark_optab.
4798         (new_optab): Use GGC to allocate optabs.
4799         * ggc.h: Delete mark_optab prototype.
4800         * ggc-common.c (ggc_mark_rtx_children): Use canonical name for
4801         mem_attrs marker procedure.
4802         * gengtype.c (get_output_file): Include headers in gtype-desc.c
4803         explicitly rather than deducing them from file names.
4804         (write_gc_structure_fields): Handle arrays of structures.
4805         (main): Return non-zero exit code if errors occur during output.
4806         * emit-rtl.c (mem_attrs_mark): Delete.
4807         (init_emit_once): Use canonical name for mem_attrs marker procedure.
4808         * Makefile.in (gtype-desc.o): Explicitly name dependencies.
4809         (tree.o): Depend on gt-tree.h.
4810         (GTFILES): Add rtl.h, optabs.h, tree.c.
4811         (gt-tree.h): Add it to s-gtype rule.
4813         * .cvsignore: Ignore gengtype flex/bison generated files.
4814         * Makefile.in (GGC_H): Add gtype-desc.h.
4815         (OBJS): Add gtype-desc.o.
4816         (GEN): Add gengtype.
4817         (STAGESTUFF): Add gengtype.
4818         (varasm.o): Add gt-varasm.h.
4819         (stmt.o): Add gt-stmt.h.
4820         (except.o): Add gt-except.h.
4821         (integrate.o): Add gt-integrate.h.
4822         (GTFILES): New.
4823         Add new rules for new files.
4824         * configure: Regenerate.
4825         * configure.in: Correct defaults.h paths.
4826         * emit-rtl.c (mark_sequence_stack): Delete.
4827         (mark_emit_status): Delete.
4828         (start_sequence): Allocate sequence structures using GGC.
4829         (end_sequence): Allocate sequence structures using GGC.
4830         * except.c: Use gengtype for various structures.  Include
4831         gt-except.h.
4832         * expr.c (mark_expr_status): Delete.
4833         * function.c: Use gengtype for various structures.  Include
4834         gt-function.h.
4835         (mark_function_status): Use standard gt_ggc names for marker functions.
4836         (ggc_mark_struct_function): Likewise.
4837         * function.h: Use gengtype for various structures.
4838         * gengtype-lex.l: New file.
4839         * gengtype-yacc.y: New file.
4840         * gengtype.c: New file.
4841         * gengtype.h: New file.
4842         * ggc.h: Include gtype-desc.h.  Alias some marker procedures to
4843         the standard names.  Remove some now-unnecessary prototypes.
4844         * integrate.c: Use gengtype for various structures.  Include
4845         gt-integrate.h.
4846         (mark_hard_reg_initial_vals): Delete.
4847         * integrate.h (mark_hard_reg_initial_vals): Delete.
4848         * stmt.c: Use gengtype for various structures.  Include
4849         gt-stmt.h.
4850         (mark_case_node): Delete.
4851         (mark_goto_fixup): Delete.
4852         (mark_stmt_status): Use standard gt_ggc names for marker functions.
4853         * system.h: Define GTY to empty.   In flex/bison files,
4854         don't poison malloc or realloc, instead just define them to
4855         xmalloc and xrealloc.
4856         * varasm.c: Use gengtype for various structures.  Include
4857         gt-varasm.h.  Use standard gt_ggc names for marker functions.
4858         (mark_pool_constant): Delete.
4859         (mark_varasm_status): Delete.
4860         (decode_rtx_const): #if 0 out non-typesafe hack.
4862         * function.h (free_lang_status): Mark as obsolete.
4863         * function.c (free_lang_status): Mark as obsolete.
4864         * c-decl.c (push_c_function_context): Use GC to allocate and free
4865         struct language_function.
4866         (pop_c_function_context): Likewise.
4867         * c-common.c (mark_c_language_function): Mark struct
4868         language_function.
4870         * doc/tm.texi (Per-Function Data): Don't document free_machine_status.
4871         Document that the machine_function structures must be allocated
4872         using GC.  Update mark_machine_status documentation.
4873         * function.h: Don't declare free_machine_status.
4874         * function.c (free_machine_status): Don't define.
4875         (free_after_compilation): Don't call free_machine_status.
4876         (ggc_mark_struct_function): Mark f->machine.  Call
4877         mark_machine_status only on non-NULL pointers.
4878         * system.h: Poison free_machine_status.
4879         * config/xtensa/xtensa.c (xtensa_init_machine_status): Use GC on
4880         struct machine_function.
4881         (xtensa_free_machine_status): Delete.
4882         (override_options): Don't set free_machine_status.
4883         * config/rs6000/rs6000.c (rs6000_override_options): Don't set
4884         free_machine_status.
4885         (rs6000_init_machine_status): Use GC on struct machine_function.
4886         (rs6000_free_machine_status): Delete.
4887         * config/ia64/ia64.c (ia64_init_machine_status): Use GC on struct
4888         machine_function.
4889         (ia64_mark_machine_status): Likewise.
4890         (ia64_free_machine_status): Delete.
4891         (ia64_override_options): Don't set free_machine_status.
4892         * config/i386/i386.c (override_options): Don't set
4893         free_machine_status.
4894         (ix86_init_machine_status): Use GC on struct machine_function.
4895         (ix86_mark_machine_status): Likewise.
4896         (ix86_free_machine_status): Delete.
4897         * config/d30v/d30v.c: (d30v_init_machine_status): Use GC on struct
4898         machine_function.
4899         (d30v_mark_machine_status): Likewise.
4900         (d30v_free_machine_status): Delete.
4901         (d30v_init_expanders): Don't set free_machine_status.
4902         * config/arm/arm.c (arm_mark_machine_status): Use GC on struct
4903         machine_function.
4904         (arm_init_machine_status): Likewise.
4905         (arm_free_machine_status): Delete.
4906         (arm_init_expanders): Don't set free_machine_status.
4907         * config/alpha/alpha.c (override_options): Don't set
4908         free_machine_status.
4909         (alpha_init_machine_status): Use GC on struct machine_function.
4910         (alpha_mark_machine_status): Likewise.
4911         (alpha_free_machine_status): Delete.
4913         * varasm.c (compare_constant): Fix typo.
4915         * varasm.c: Don't include obstack.h.
4916         (struct varasm_status): x_const_rtx_hash_table is a hash of rtxes.
4917         (struct rtx_const): Give substructures names, improve formatting.
4918         (struct constant_descriptor): Delete.
4919         (struct constant_descriptor_tree): New, based on constant_descriptor.
4920         (const_hash_table): Is a hash table of trees.
4921         (mark_const_hash_entry): Is used for hashes of trees.  Mark
4922         constant_descriptor_tree structure.
4923         (mark_const_str_htab_1): Mark deferred_string structure.
4924         (compare_constant): Rewrite to compare trees.
4925         (compare_constant_1): Delete.
4926         (record_constant): Delete.
4927         (record_constant_1): Delete.
4928         (output_constant_def): Use struct constant_descriptor_tree.
4929         Don't duplicate trees twice.
4930         (struct constant_descriptor_rtx): New.
4931         (struct pool_constant): Used for rtx constants.
4932         (init_varasm_status): Update for change to struct varasm_status.
4933         (mark_varasm_status): Likewise.
4934         (free_varasm_status): Delete.
4935         (compare_constant_rtx): Rewrite to handle constant_descriptor_rtx.
4936         (record_constant_rtx): Likewise.
4937         (mem_for_const_double): Update to use struct constant_descriptor_rtx.
4938         (force_const_mem): Likewise.
4939         * Makefile.in (varasm.o): Doesn't depend on obstack.h.
4940         * function.c (free_after_compilation): Don't use free_varasm_status.
4941         * function.h: Don't prototype free_varasm_status.
4943         * ggc-common.c (ggc_realloc): Handle X being NULL.
4945         * ggc-common.c (ggc_realloc): New function.
4946         * ggc.h: Prototype it.
4947         * emit-rtl.c (free_emit_status): Delete.
4948         (init_emit): Allocate emit subarrays using GC.
4949         (gen_reg_rtx): Reallocate subarrays using GC.
4950         (init_emit): Use GC to allocate 'struct emit_status' and its
4951         subarrays.
4952         (mark_emit_status): Mark structure and its subarrays.
4953         * stmt.c (free_stmt_status): Delete.
4954         * expr.c (free_expr_status): Delete.
4955         * function.h: Remove prototypes for deleted functions.
4956         * function.c (free_after_compilation): Don't use deleted functions.
4957         Don't call free() on x_parm_reg_stack_loc.
4958         (free_after_parsing): Don't use free_stmt_status.
4959         (assign_parms): Use GC to allocate and resize x_parm_reg_stack_loc.
4960         (mark_function_status): Mark x_parm_reg_stack_loc.
4962         * varasm.c (init_varasm_status): Use GC to allocate
4963         'struct varasm_status' and its fields x_const_rtx_hash_table
4964         and x_const_rtx_sym_hash_table.
4965         (mark_varasm_status): Mark them.
4966         (free_varasm_status): Use GC to free them.
4967         * expr.c (init_expr): Use GC to allocate 'struct expr_status'.
4968         (mark_expr_status): Mark the structure itself.
4969         (free_expr_status): Use GC to free the structure.
4970         * stmt.c (free_stmt_status): Use GC to free 'struct stmt_status'.
4971         (mark_stmt_status): Mark the 'struct stmt_status' itself.
4972         (init_stmt_for_function): Allocate the structure for GC.
4974         * dwarf2out.c (lookup_type_die): Use TYPE_SYMTAB_DIE.
4975         (equate_type_number_to_die): Likewise.
4976         * tree.h (TYPE_SYMTAB_DIE): New macro.
4977         (struct die_struct): Predeclare.
4978         (struct tree_type): Add field symtab.die.   Add a tag
4979         to the union type of field symtab.
4981         * varray.h (VARRAY_RTVEC_INIT): A varray of rtvec contains
4982         'struct rtvec_def *', not 'struct rtvec_def'.
4984         * function.h (original_arg_vector): Make a real rtvec.
4985         * function.c (ggc_mark_struct_function): Adjust.
4986         * integrate.c (expand_inline_function): Adjust.
4988 2002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
4990         * config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
4991         (sh64-*-netbsd*, sh64l*-*-netbsd*): New targets.
4992         * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN)
4993         (TARGET_VERSION_CPU): Define according to the
4994         default target.
4995         (TARGET_VERSION): Use TARGET_VERSION_ENDIAN and
4996         TARGET_VERSION_CPU.
4997         (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64
4998         if TARGET_SHMEDIA64.
4999         (LINK_DEFAULT_CPU_EMUL): Define according to the
5000         default target.
5001         (SUBTARGET_LINK_EMUL_SUFFIX): Define.
5002         (SUBTARGET_LINK_SPEC): Define.
5003         (LINK_SPEC): Use SH_LINK_SPEC.
5004         (ASM_SPEC): Remove.
5005         (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
5006         (FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32
5007         and TARGET_SHMEDIA64 which abort, for now.
5008         * config/sh/t-netbsd-sh5: New file.
5009         * config/sh/t-netbsd-sh5-32: New file.
5010         * config/sh/t-netbsd-sh5-64: New file.
5012 2002-06-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
5013             Richard Henderson  <rth@redhat.com>
5015         * config/alpha/alpha.c (reg_or_const_int_operand): New.
5016         (some_operand, input_operand): Accept CONST_VECTOR.
5017         (alpha_extra_constraint): Add 'W'.
5018         (alpha_expand_zap_mask): New.
5019         (alpha_expand_builtin_vector_binop): New.
5020         (enum alpha_builtin): New.
5021         (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New.
5022         (alpha_init_builtins, alpha_expand_builtin): New.
5023         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New.
5024         * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New.
5025         (PREDICATE_CODES): Update.
5026         * config/alpha/alpha-protos.h: Update.
5027         * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP,
5028         UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New.
5029         (movv8qi, movv8qi_fix, movv8qi_nofix): New.
5030         (movv4hi, movv4hi_fix, movv4hi_nofix): New.
5031         (movv2si, movv2si_fix, movv2si_nofix): New.
5032         (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New.
5033         (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New.
5034         (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap,
5035         builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask,
5036         builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8,
5037         builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8,
5038         builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb,
5039         pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl,
5040         builtin_unpkbw, unpkbw): New.
5041         * doc/extend.texi (Alpha Built-in Functions): New.
5043 2002-06-03  Richard Henderson  <rth@redhat.com>
5045         * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
5046         USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.
5048 2002-06-03  Richard Henderson  <rth@redhat.com>
5050         * config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.
5052         * config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX.
5053         (const0_operand): New.
5054         (reg_or_fp0_operand, fp0_operand): Remove.
5055         * config/alpha/alpha.h (PREDICATE_CODES): Update.
5056         * config/alpha/alpha-protos.h: Update.
5057         * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand
5058         and fp0_operand with reg_or_0_operand and const0_operand.
5060 2002-06-03  Dan Nicolaescu  <dann@godzilla.ics.uci.edu>
5062         * alias.c (nonoverlapping_memrefs_p): Fix off by one error.
5064 2002-06-03  Roger Sayle  <roger@eyesopen.com>
5066         * gcse.c (cprop_jump): Use single_set to get the pattern
5067         from the setcc argument.
5069 2002-06-03  Gabriel Dos Reis  <gdr@codesourcery.com>
5071         * diagnostic.h (diagnostic_count): Move from output_buffer to
5072         diagnostic_context.
5073         (diagnostic_kind_count): Adjust definition.
5075 Mon Jun  3 19:11:53 CEST 2002  Jan Hubicka  <jh@suse.cz>
5077         * except.c (except.c): Do not rebuild CFG.
5078         * toplev.c (rest_of_compilation): Recompute CFG after sibcall
5079         optimization.
5081 Mon Jun  3 11:53:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
5083         * integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
5084         * toplev.c: Include cfglahout.h
5085         * Makefile.in (toplev.c): Add dependnecy.
5087 2002-06-03  Neil Booth  <neil@daikokuya.demon.co.uk>
5089         * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New.
5090         (CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill.
5091         (CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC.
5093 2002-06-03  Jason Thorpe  <thorpej@wasabisystems.com>
5095         * config/ns32k/netbsd.h: Update copyright years.
5096         (TARGET_OS_CPP_BUILTINS): Define.
5097         (CPP_PREDEFINES): Remove.
5098         * config/ns32k/ns32k.h (CPP_PREDEFINES): Remove.
5099         (TARGET_CPU_CPP_BUILTINS): Define.
5101 2002-06-02  Kazu Hirata  <kazu@cs.umass.edu>
5103         * emit-rtl.c: Fix formatting.
5104         * errors.h: Likewise.
5105         * except.c: Likewise.
5106         * explow.c: Likewise.
5107         * expmed.c: Likewise.
5108         * expr.c: Likewise.
5109         * expr.h: Likewise.
5111 2002-06-02  Kazu Hirata  <kazu@cs.umass.edu>
5113         * config/h8300/elf.h: Fix formatting.
5114         * config/h8300/rtems.h: Likewise.
5116 2002-06-03  Jason Thorpe  <thorpej@wasabisystems.com>
5118         * config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
5120 2002-06-02  Tom Tromey  <tromey@redhat.com>
5122         * fixinc/fixincl.x: Rebuilt.
5123         * fixinc/inclhack.def (thread_keyword): Match `*__thread'.
5125 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5127 config/i370:
5128         * i370.h (TARGET_CPU_CPP_BUILTINS): Use.
5129         * linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES.
5130         * mvs.h: Similarly.
5131         * oe.h: Similarly.
5133 Mon Jun  3 00:18:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
5135         * final.c (final):  Allow notes to not have computed addresses;
5136         kill no longer needed STACK_REGS ifdef.
5138 2002-06-02  Richard Henderson  <rth@redhat.com>
5140         * gcse.c (bypass_conditional_jumps): Fix typo last change.
5142 Sun Jun  2 23:02:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
5144         * loop.c (emit_prefetch_instructions): Properly place the address
5145         computation.
5147 Sun Jun  2 22:56:48 CEST 2002  Jan Hubicka  <jh@suse.cz>
5149         * basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill.
5150         (set_block_for_insn): Turn into macro.
5151         * cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn.
5152         * cfglayout.c (insn_scopes): Kill.
5153         (scope_to_insns_initialize): Do not use insn_scopes.
5154         (scope_to_insns_finalize): Likewise.
5155         (duplicate_insn_chain): Likewise.
5156         (cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes.
5157         * cfgrtl.c (basic_block_for_insn): Kill.
5158         (delete_insn_and_edges, delete_insn_chain_and_edges): Simplify.
5159         (create_basic_block_structure): Use reorder_insns.
5160         (compute_bb_for_insn): Do not use basic_block_for_insn.
5161         (merge_blocks_nomove): Likewise.
5162         (update_bb_for_insn): Likewise.
5163         (verify_flow_info): Likewise.
5164         (set_block_for_insn): Kill.
5165         * combine.c (try_combine): Update gen_rtx_INSN call.
5166         * emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call.
5167         (mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear
5168         scopes and BBs.
5169         (add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify.
5170         (emit_note_before, emit_note_after, emit_line_note_after, emit_note):
5171         Clear BB.
5172         (emit_insns_after): Simplify.
5173         (emit_copy_of_insn_after): Copy scope.
5174         * final.c (final_start_function): Lower scopes.
5175         * flow.c (check_function_return_warnings): Do not rely on deleted insn.
5176         * integrate.c (copy_insn_list): Cope scopes.
5177         * jump.c (duplicate_loop_exit_test): LIkewise; simplify.
5178         * loop.c (loop_optimize): Do not care block notes.
5179         * print-rtl.c (print_rtx): Print BB.
5180         * recog.c (apply_change_group): Simplify.
5181         * rtl.c (copy_rtx): Handle 'B'.
5182         * rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields.
5183         * rtl.h (Field accessors): Update indexes.
5184         * sched-ebb.c (schedule_ebbs): Do not lower notes.
5185         * sched-rgn.c (schedule_insns): Likewise.
5186         * toplev.c (rest_of_compilation): Lower notes.
5187         * unroll.c (unroll_loop): Do not care scoping notes.
5188         (copy_loop_body): Copy scopes.
5190 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5192 config/h8300:
5193         * elf.h: Use TARGET_OS_CPP_BUILTINS rather than
5194         SUBTARGET_SPEC.
5195         * rtems.h: Similarly.
5196         * h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC,
5197         EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
5198         (TARGET_CPU_CPP_BUILTINS): Use.
5200 2002-06-02  Richard Henderson  <rth@redhat.com>
5202         * alias.c: Include target.h.
5203         (mark_constant_function): Use targetm.binds_local_p instead
5204         of checking TREE_PUBLIC ourselves.
5205         * Makefile.in (alias.o): Add TARGET_H.
5207 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5209         * c-lex.c: Update copyright and file description.
5211 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5213         * config/fr30/fr30.h: Update to new CPP macros.
5215 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5217         * config/dsp16xx/dsp16xx.h: Update to new CPP macros.
5219 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5220             Zack Weinberg <zack@codesourcery.com>
5222         * c-common.c (c_common_init): Override cpplib's default
5223         warn_long_long setting.
5224         * c-lex.c (lex_number): Replace with interpret_integer,
5225         interpret_float, narrowest_unsigned_type and
5226         narrowest_signed_type, taking advantage of the new
5227         cpplib functionality.
5228         * cpperror.c (_cpp_begin_message): If a warning is turned
5229         into an error, avoid printing "warning:".
5230         * cppexp.c (cpp_num_sign_extend): New.
5231         * cppinit.c: Update comment.
5232         * cpplib.h (cpp_num_sign_extend): New.
5233         * tree.h: Update comment.
5235 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
5237         * diagnostic.h (struct diagnostic_context):  Add new member
5238         internal_error.
5239         (internal_error_function): Remove declaration.
5240         * diagnostic.c (internal_error_function): Remove definition..
5241         (internal_error): Adjust use.
5243 2002-06-02  Richard Henderson  <rth@redhat.com>
5245         * rtl.h (CC0_P): New.
5246         * gcse.c (cprop_jump): Use it with single_set.  Tweak dump text.
5247         (cprop_insn): Allow any mode register; use CC0_P.  CSE out single_set.
5248         (bypass_block): Save old dest block for dump text.
5249         (bypass_conditional_jumps): Allow any mode register; use CC0_P.
5250         Allow only true SET insns, not single_set.
5252 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
5254         * diagnostic.c (diagnostic_finish): Rename to output_flush.
5255         (clear_disgnostic_info): Rename to output_clear_data.  Use false
5256         instead of 0 for boolean value.
5257         Adjust function call throughout.
5259 Sun Jun  2 19:15:27 CEST 2002  Jan Hubicka  <jh@suse.cz>
5261         * cfgrtl.c (commit_one_edge_insertion): Fix warning.
5262         * gcse.c (bypass_conditional_jumps): CSE out single_set call.
5264 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5266         * d30v.h (CPP_PREDEFINES): Replace with
5267         (TARGET_CPU_CPP_BUILTINS): New.
5269 2002-06-02  Roger Sayle  <roger@eyesopen.com>
5271         * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
5273 Sun Jun  2 12:11:52 CEST 2002  Jan Hubicka  <jh@suse.cz>
5275         * gcse.c (bypass_conditional_jumps): Use single set to obtain set.
5277 2002-06-02  Richard Henderson  <rth@redhat.com>
5279         * rtlanal.c (volatile_refs_p): Not automatically true for CALL.
5281 2002-06-02  Marek Michalkiewicz  <marekm@amelek.gda.pl>
5283         Support for C++ constructors/destructors.
5284         * config/avr/avr.c (avr_output_function_epilogue): Jump to exit()
5285         instead of looping if main() returns.
5286         (asm_file_start): Output global symbols that cause .data and .bss
5287         initialization code to be linked in, unconditionally for now.
5288         (avr_asm_out_ctor, avr_asm_out_dtor): New functions.
5289         * config/avr/avr.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): New.
5290         (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
5291         (LIBSTDCXX): New.
5292         * config/avr/libgcc.S (_exit): Split in .fini9 and .fini0 sections.
5293         (__tablejump__): New.
5294         (__do_copy_data, __do_clear_bss): New.
5295         (__do_global_ctors, __do_global_dtors): New.
5296         * config/avr/t-avr (LIB1ASMFUNCS): Add _copy_data, _clear_bss,
5297         _ctors, _dtors.
5299 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
5301         * c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): New.
5302         (CPP_SPEC, CPP_PREDEFINES): Kill.
5303         * c4x/rtems.h (CPP_PREDEFINES): Kill.
5304         (TARGET_OS_CPP_BUILTINS): New.
5306 Sat Jun  1 23:29:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
5308         * Makefile.in (tracer.o): New.
5309         * params.def (TRACER_*): New options.
5310         * rtl.h (tracer): Declare.
5311         * timevar.def (TV_TRACER): New.
5312         * toplev.c (dump_file_index): Add DFI_tracer.
5313         (dump_file_info): Add tracer.
5314         (flag_tracer): New.
5315         (lang_indepdenent_options): Add tracer.
5316         (rest_of_compilation): Call tracer.
5317         * tracer.c: New file.
5318         * invoke.texi (-ftracer): Document.
5319         (--param tracer-*): Document.
5321 2002-06-01  Daniel Berlin  <dberlin@dberlin.org>
5323         * tree-inline.c (expand_call_inline): Make the statement
5324         expression we generate have a COMPOUND_STMT.
5326 2002-06-01  Roger Sayle  <roger@eyesopen.com>
5328         * gcse.c (cprop_cc0_jump): Function deleted.
5329         (cprop_jump): Take an additional argument which is the possibly
5330         NULL cc setting insn immediately before the conditional jump.
5331         When a MODE_CC set is present, substitute it into the JUMP_INSN
5332         before attempting the constant propagation.
5333         (cprop_insn):  Recognize cc setters followed by conditional jumps
5334         as a special case.   Use cprop_jump instead of cprop_cc0_jump.
5335         (cprop_one_pass):  Call bypass_conditional_jumps if altering jumps.
5336         (find_bypass_set): New function based upon find_avail_set used by
5337         cprop, but finds constant expressions available at the end of
5338         basic blocks.
5339         (bypass_block): New function.  Given a basic block that begins
5340         with a conditional jump and multiple incoming edges, perform
5341         the jump bypass optimization.
5342         (bypass_conditional_jumps): New function.  Call bypass_block with
5343         each suitable basic block in the CFG using a simple single pass.
5345 2002-06-01  Roger Sayle  <roger@eyesopen.com>
5347         * tree.c (real_minus_onep): New function to test for -1.0.
5348         * fold-const.c (fold) [MULT_EXPR]:  Optimize -1.0*x into -x.
5350 2002-06-01  Roger Sayle  <roger@eyesopen.com>
5352         * fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
5353         and "!p && !q" into "(p|q) == 0" under suitable conditions.
5355 2002-06-01  Andreas Jaeger  <aj@suse.de>
5357         * cppexp.c (cpp_classify_number): Cast precission to int for
5358         correct printf format.
5360 2002-06-01  Marek Michalkiewicz  <marekm@amelek.gda.pl>
5362         * config/avr/avr.c (avr_mcu_types): Remove devices that were once
5363         expected, but don't really exist: atmega83, atmega85, attiny10.
5364         * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
5365         emulations for all devices.
5366         (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
5367         * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.
5369 2002-06-01  Kazu Hirata  <kazu@cs.umass.edu>
5371         * config/h8300/h8300-protos.h: Add a prototype for
5372         h8300_shift_needs_scratch_p.
5373         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): New.
5374         * config/h8300/h8300.h (OK_FOR_R): New.
5375         (OK_FOR_S): Likewise.
5376         (OK_FOR_T): Likewise.
5377         (EXTRA_CONSTRAINT): Call OK_FOR_R, OK_FOR_S, and OK_FOR_T.
5378         * config/h8300/h8300.md (anonymous shift patterns): Use
5379         constraints R, S, and T.
5381 Sat Jun  1 11:23:22 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5383         * basic-block.h (struct basic_block_def): New field loop_father.
5384         (BB_VISITED): New flag.
5385         (struct loop): New field pred, removed field shared.
5386         (struct loops): New field parray.
5387         (LOOP_EXITS_DOMS): Removed.
5388         (flow_loop_tree_node_add, flow_loop_tree_node_remove,
5389         flow_loop_nested_p, flow_bb_inside_loop_p, get_loop_body,
5390         dfs_enumerate_from, loop_preheader_edge, loop_latch_edge,
5391         add_bb_to_loop, remove_bb_from_loops, find_common_loop,
5392         verify_loop_structure): Declare.
5393         * cfg.c (entry_exit_blocks): Initialize loop_father field.
5394         * cfganal.c (dfs_enumerate_from): New function.
5395         * cfgloop.c (HEAVY_EDGE_RATIO): New constant.
5396         (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
5397         flow_loop_nodes_find, flow_loop_level_compute, flow_loop_nested_p,
5398         flow_loop_dump, flow_loops_dump, flow_loops_free,
5399         flow_loop_tree_node_add, flow_loop_level_compute,
5400         flow_loops_level_compute, flow_loop_scan, flow_loops_update,
5401         flow_loop_outside_edge_p): Modified for new infrastructure.
5402         (make_forwarder_block, canonicalize_loop_headers, glb_enum_p,
5403         redirect_edge_with_latch_update, flow_loop_free): New static functions.
5404         (flow_loop_tree_node_remove, flow_bb_inside_loop_p,
5405         get_loop_body, add_bb_to_loop, remove_bb_from_loops,
5406         find_common_loop, verify_loop_structure, loop_latch_edge,
5407         loop_preheader_edge): New functions.
5408         (flow_loops_cfg_dump): Do not show dominators, as this information
5409         does not remain up to date long.
5410         (flow_loops_find): Store results in new format.
5411         * predict.c (propagate_freq, estimate_probability,
5412         estimate_loops_at_level, estimate_bb_frequencies): Use new loop
5413         infrastructure.
5415 2002-06-01  Alan Lehotsky  <apl@alum.mit.edu>
5417         * except.c (nothrow_function_p): Walk epilogue delay list
5418         checking the insn, not the chain for potential throws.
5420 2002-05-31  Zack Weinberg  <zack@codesourcery.com>
5422         * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
5423         (install): Refer to install-cpp directly.
5424         (uninstall-cpp): Folded into uninstall rule.
5425         * configure.in: Delete all code relating to --disable-cpp.
5426         * configure: Regenerate.
5427         * config/t-install-cpp: Delete.
5429 2002-05-31  Richard Henderson  <rth@redhat.com>
5431         * configure.in (HAVE_AS_TLS): Add alpha tests.
5432         * configure: Rebuild.
5433         * config/alpha/alpha.c (TARGET_AS_TLS): New.
5434         (alpha_tls_size, alpha_tls_size_string): New.
5435         (overide_options): Set it.  Always install machine_status hooks.
5436         (input_operand): Accept got tls predicates.
5437         (local_symbol_p): Merge into ...
5438         (local_symbolic_operand): ... here.  Reject tls symbols.
5439         (global_symbolic_operand): Likewise.
5440         (tls_symbolic_operand_1, dtp16_symbolic_operand): New.
5441         (dtp32_symbolic_operand, gotdtp_symbolic_operand): New.
5442         (tp16_symbolic_operand, tp32_symbolic_operand): New.
5443         (gottp_symbolic_operand, tls_symbolic_operand_type): New.
5444         (alpha_encode_section_info): Handle TLS symbols.
5445         (alpha_strip_name_encoding): Likewise.
5446         (alpha_legitimate_address_p): Likewise.
5447         (alpha_legitimize_address): Likewise.
5448         (alpha_expand_mov): Early exit to avoid nop moves.
5449         (struct machine_function): Move from unicosmk.h.  Add some_ld_name.
5450         (alpha_init_machine_status, alpha_mark_machine_status,
5451         alpha_free_machine_status): Always define.
5452         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
5453         (print_operand, print_operand_address): Add TLS relocs.
5454         * config/alpha/alpha.h (HAVE_AS_TLS): Default 0.
5455         (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New.
5456         (TARGET_SWITCHES): Add -mtls-kernel.
5457         (alpha_tls_size, alpha_tls_size_string): New.
5458         (TARGET_OPTIONS): Add -mtls-size=.
5459         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
5460         REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG.
5461         (ASM_OUTPUT_LABELREF): Skip %.
5462         (PRINT_OPERAND_PUNCT_VALID_P): Add &.
5463         (PREDICATE_CODES): Update.
5464         * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL,
5465         UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL,
5466         UNSPEC_TP, UNSPECV_SET_TP): New.
5467         (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp,
5468         adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp,
5469         set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp,
5470         movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New.
5471         (call_value_osf_2_er): Accept anything as op4.
5472         * config/alpha/alpha-protos.h: Update.
5473         * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c.
5475 2002-05-31  Zack Weinberg  <zack@codesourcery.com>
5477         * cppinit.c (append_include_chain): Always pay attention to
5478         cxx_aware when setting new->sysp.  Remove ATTRIBUTE_UNUSED
5479         marker on argument.
5481 2002-05-31  Kazu Hirata  <kazu@cs.umass.edu>
5483         * target.h: Fix formatting.
5484         * timevar.h: Likewise.
5485         * tlink.c: Likewise.
5486         * toplev.c: Likewise.
5487         * toplev.h: Likewise.
5488         * tree.c: Likewise.
5489         * tree-dump.h: Likewise.
5490         * tree.h: Likewise.
5491         * tree-inline.h: Likewise.
5492         * unroll.c: Likewise.
5493         * unwind-dw2.c: Likewise.
5494         * unwind-dw2-fde.c: Likewise.
5495         * unwind-dw2-fde-glibc.c: Likewise.
5496         * unwind-dw2-fde.h: Likewise.
5497         * unwind.h: Likewise.
5498         * unwind-sjlj.c: Likewise.
5499         * varasm.c: Likewise.
5500         * varray.h: Likewise.
5501         * vmsdbg.h: Likewise.
5502         * vmsdbgout.c: Likewise.
5503         * xcoffout.h: Likewise.
5505 2002-05-31  Igor Shevlyakov <igor@microunity.com>
5507         * expr.c (compare_from_rtx): Generate comparison between op0 and op1
5508         rather than cc0 and 0 in a case when HAVE_cc0 is not defined.
5510 2002-05-31  Matthew Woodcraft  <mattheww@chiark.greenend.org.uk>
5512         * gcc.c (cpp_unique_options): Remove "-d" options.
5513         (cpp_debug_options): New spec string.
5514         (default_compilers): Use it.
5515         * objc/lang-specs.h: Likewise.
5517 2002-05-31  Nathanael Nerode  <neroden@twcny.rr.com>
5519         * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with
5520         BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature.
5521         * gcc/mklibgcc.in: Likewise.
5522         * gcc/config/arc/t-arc: Likewise.
5523         * gcc/configure.in: Likewise.
5524         * gcc/configure: Regenerate.
5526 2002-05-31  Stan Shebs  <shebs@apple.com>
5527             Turly O'Connor  <turly@apple.com>
5529         * c-decl.c (struct binding_level): Change int field n_incomplete
5530         to tree list incomplete_list.
5531         (clear_binding_level): Init field with NULL.
5532         (pushdecl): Add incomplete type to list.
5533         (mark_binding_level): Mark the incomplete list.
5534         (finish_struct): Scan the incomplete list for types instead
5535         of all decls in the current binding level.
5537 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5539         * pa.c (output_millicode_call): Add missing '%' characters.
5540         (output_call): Likewise.
5542 2002-05-31  David Edelsohn  <edelsohn@gnu.org>
5544         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Define.
5545         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
5547 2002-05-31  Alan Lehotsky <apl@alum.mit.edu>
5549         * varasm.c (mark_constant_pool): Walk epilogue delay list
5550         checking the insn, not the chain for potential constants.
5552 Fri May 31 12:38:43 2002  J"orn Rennecke <joern.rennecke@superh.com>
5554         * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
5556 Fri May 31 13:50:19 CEST 2002  Jan Hubicka  <jh@suse.cz>
5558         * i386.c (classify_argument): Properly handle base types.
5560         * dwarf2out.c (expand_builin_init_dwarf_reg_sizes):
5561         Store first DWARF_FRAME_REGISTERS dwarf registers, not pseudo
5562         registers.
5564 Fri May 31 13:37:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
5566         * gcse.c (gcse_emit_move_after): New.
5567         (pre_delete, hoist_store): Use it.
5569         * reload1.c (emit_input_reload_insns): Use constrain_operands
5570         instead of constraint_accepts_reg_p to verify optimization.
5571         (constraint_accepts_reg_p): Kill
5573         * reload1.c (reload_cse_delete_noop_set): Kill.
5574         (reload_cse_simplify): use delte_insn_and_edges.
5576 2002-05-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5578         * cfgloop.c (flow_loops_find): Initialize first and last fields
5579         correctly.
5581 2002-05-31  Neil Booth  <neil@daikokuya.demon.co.uk>
5583         * c-common.c (builtin_define_std): Correct logic.
5585 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5587         * pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
5588         (output_call): Likewise.
5590 2002-05-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5592         * pa.c: Move output.h include after tree.h include.
5593         (pa_asm_output_mi_thunk): Constify identifier lab.
5595 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
5597         * config/ns32k/ns32k.h: Define named constants for the
5598         bits in target_flags and use them.
5599         * config/ns32k/netbsd.h (TARGET_DEFAULT): Use named constants.
5601 2002-05-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5603         * config.gcc (tm_file): Prefix pa/pa-700.h to tm_file list for PA1.0
5604         architecture and pa/pa-7100.h for PA1.1 architecture, respectively.
5605         * pa/pa.c (override_options): Use TARGET_SCHED_DEFAULT to select
5606         default scheduling model.
5607         * pa/pa.h (TARGET_SCHED_DEFAULT): Define if not defined to "8000".
5608         * pa/pa-700.h (TARGET_SCHED_DEFAULT): New file for "700" scheduling.
5609         * pa/pa-7100.h (TARGET_SCHED_DEFAULT): New file for "7100" scheduling.
5610         * doc/install.texi (hppa*-*-*): Document default scheduling.
5612 2002-05-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5614         * pa.c (following_call): Check TARGET_JUMP_IN_DELAY.
5616 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
5618         * config.gcc (ns32k-*-netbsd*): Set tm_file to
5619         "${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
5620         * config/ns32k/netbsd.h: Don't include ns32k/ns32k.h,
5621         netbsd.h, or netbsd-aout.h.
5623 2002-05-31  Jason Thorpe  <thorpej@wasabisystems.com>
5625         * longlong.h (count_trailing_zeros): Add missing \, and clean up
5626         whitespace in __ns32000__ case.
5628 2002-05-31  Aldy Hernandez  <aldyh@redhat.com>
5630         * expr.c (expand_expr): Output partially zeroed out vectors with
5631         output_constant_def.
5633 2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>
5635         * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
5636         (sh-*-netbsdelf*)
5637         (shl*-*-netbsdelf*): New targets.
5638         * config/sh/netbsd-elf.h: New file.
5639         * config/sh/t-netbsd: New file.
5641 2002-05-30  Richard Henderson  <rth@redhat.com>
5642             Eric Botcazou  <ebotcazou@multimania.com>
5644         PR optimization/6822
5645         * config/i386/i386.c (ix86_expand_int_movcc): Don't cast INTVAL
5646         to unsigned int for op1 comparisons.  Use gen_int_mode.
5648 2002-05-30  Eric Botcazou  <ebotcazou@multimania.com>
5650         * expmed.c (const_mult_add_overflow_p): New.
5651         * expr.h: Declare it.
5652         * loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
5653         Don't eliminate the biv if the giv has a constant multiplier and
5654         the rhs argument of the comparison does satisfy the predicate.
5655         Use expand_mult_add to compute the replacement constant.
5657 2002-05-30  Osku Salerma  <osku@iki.fi>
5659         * c-common.c (c_common_attribute_table): Add "may_alias" entry.
5660         (c_common_get_alias_set): Handle it.
5661         * doc/extend.texi: Document it.
5663 2002-05-30  Richard Henderson  <rth@redhat.com>
5665         * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
5666         * toplev.c (process_options): Don't check it.
5667         * doc/tm.texi: Don't document it.
5668         * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New.
5669         (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
5670         * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf
5671         frame pointer optimization if current_function_profile.
5673 2002-05-30  Kazu Hirata  <kazu@cs.umass.edu>
5675         * langhooks.c: Fix formatting.
5676         * langhooks.h: Likewise.
5677         * lcm.c: Likewise.
5678         * libgcc2.c: Likewise.
5679         * lists.c: Likewise.
5680         * local-alloc.c: Likewise.
5681         * loop.c: Likewise.
5682         * loop.h: Likewise.
5684 2002-05-30  Marc Espie <espie@openbsd.org>
5686         * config.gcc (sparc64-*-openbsd*): New.
5687         * config/sparc/openbsd1-64.h: New.
5688         * config/sparc/openbsd64.h: New.
5690 2002-05-30  Jeff Law <law@redhat.com>
5692         * flow.c (propagate_one_insn): Revise yesterday's patch.  Delete
5693         a dead insn with a REG_RETVAL note when the entire libcall is not
5694         dead and remove the associated REG_LIBCALL note at the same time.
5696 Thu May 30 19:54:30 2002  J"orn Rennecke <joern.rennecke@superh.com>
5698         * lcm.c (output.h): #include.
5699         (compute_earliest): Remove hack to treat renumbered EXIT_BLOCK
5700         as an ordinary block.
5701         (optimize_mode_switching): Don't pretend that the exit block is
5702         an ordinary block, or handle sucessors of entry block specially.
5703         Instead, split edges from entry block and to exit block, and
5704         put a computing definition on the thus gained post-entry-block,
5705         and a need on the pre-exit-block.
5707 Thu May 30 20:28:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
5709         * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'.
5710         * rtl.texi: Document 'B'
5712 2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>
5714         * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute
5715         at run-time.
5716         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 96 if not __mc68010__.
5718 2002-05-30  Aldy Hernandez  <aldyh@redhat.com>
5720         * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return
5721         const0_rtx instead of NULL_RTX when in error.
5722         (altivec_expand_abs_builtin): Same.
5723         (rs6000_expand_binop_builtin): Same.
5724         (altivec_expand_predicate_builtin): Same.
5725         (altivec_expand_stv_builtin): Same.
5726         (rs6000_expand_ternop_builtin): Same.
5727         (altivec_expand_builtin): Same.
5729 2002-05-29  David S. Miller  <davem@redhat.com>
5731         * rtl.h (clear_emit_caches): Delete.
5732         * integrate.c (output_inline_function): Don't call it.
5733         * emit-rtl.c (restore_emit_status, init_emit): Likewise.
5734         (clear_emit_caches): Delete definition.
5735         (SEQUENCE_RESULT_SIZE, sequence_result, free_insn): Likewise.
5737 2002-05-30  Hans-Peter Nilsson  <hp@bitrange.com>
5739         * config/mmix/mmix.c: Include real.h.
5740         (mmix_constant_address_p): Remove redundant test before switch.
5742 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
5744         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
5745         only if not already defined.
5747 2002-05-29  Kazu Hirata  <kazu@cs.umass.edu>
5749         * config/h8300/h8300-protos.h: Remove prototypes for
5750         ok_for_bclr and small_power_of_two.
5751         * config/h8300/h8300.c (small_power_of_two): Remove.
5752         (ok_for_blcr): Likewise.
5753         (fix_bit_operand): Make WHAT deal with an integer instead of a
5754         constraint character.
5755         * config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
5756         (CONST_OK_FOR_P): Likewise.
5757         (CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
5758         CONST_OK_FOR_P any more.
5759         * config/h8300/h8300.md (andqi3): Adjust to the new prototype
5760         of fix_bit_operand.
5761         (iorqi3): Likewise.
5762         (xorqi3): Likewise.
5764 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
5766         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
5767         (CPP_PREDEFINES): Make sure this is undefined.
5768         (CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
5769         since it is no longer in CPP_PREDEFINES.  Don't -U__MIPSEL__
5770         or -U__MIPSEB__ before defining one or the other.  Instead,
5771         use %(subtarget_endian_default) if neither -EB nor -EL are
5772         specified.
5773         (SUBTARGET_EXTRA_SPECS): Define.
5774         (SUBTARGET_CPP_SPEC): Remove __LONG64 handling.  Use
5775         %(netbsd_cpp_spec).
5777 2002-05-29  Hans-Peter Nilsson  <hp@axis.com>
5779         * doc/md.texi (Patterns): Note pattern condition pitfall
5780         for unnamed insn.
5782 2002-05-29  Aldy Hernandez  <aldyh@redhat.com>
5784         * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
5785         when TARGET_ALTIVEC.  Move handling of generic unary, binary, and
5786         ternary operations from here...
5787         (rs6000_expand_builtin): ...to here.
5788         New argument expandedp.
5789         Change all instances of altivec_expand_binop_builtin to
5790         rs6000_expand_binop_builtin.
5791         (altivec_expand_unop_builtin): Rename to
5792         rs6000_expand_unop_builtin.
5793         (altivec_expand_binop_builtin): Rename to
5794         rs6000_expand_binop_builtin.
5795         (altivec_expand_ternop_builtin): Rename to
5796         rs6000_expand_ternop_builtin.
5798 2002-05-29  Richard Henderson  <rth@redhat.com>
5800         * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
5801         (TARGET_BI_ARCH): Likewise.
5802         * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
5803         (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
5804         (TARGET_64BIT_DEFAULT): Default to 0.
5805         (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
5807 2002-05-29  Richard Henderson  <rth@redhat.com>
5809         * config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
5810         (get_pc_thunk_name): New.
5811         (output_set_got): Use it.
5812         (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
5813         into linkonce sections.
5815 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
5817         * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
5818         (CPP_PREDEFINES): Make sure this is undefined.
5819         (CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
5820         (CPP_SUBTARGET_SPEC): Don't provide different versions for
5821         default-32 and default-64.  Just always use %(netbsd_cpp_spec).
5822         (SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
5823         cpp_subtarget_spec64.  Add netbsd_cpp_spec.
5824         * config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
5825         (CPP_PREDEFINES): Make sure this is undefined.
5826         (SUBTARGET_EXTRA_SPECS): Define.
5827         (CPP_SPEC): Use %(netbsd_cpp_spec).
5829 2002-05-29  Jeff Law <law@redhat.com>
5831         * pa.h (ASM_OUTPUT_MI_THUNK): Remove unwanted semi-colon.
5833         * flow.c (propagate_one_insn): Do not remove a dead insn if it
5834         contains a REG_RETVAL note.
5836         * haifa-sched (sched_analyze): Remove another useless clearing
5837         of SCHED_GROUP_P I missed yesterday.
5839         * pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
5840         * pa.c (pa_asm_output_mi_thunk): New function.
5841         * pa-protos.h (pa_asm_output_mi_thunk): Declare.
5843 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
5844             Marek Michalkiewicz  <marekm@amelek.gda.pl>
5846         * config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
5847         (avr_asm_only_p): Make non-static.
5848         (enum avr_arch): Remove.
5849         (avr_arch_types): New.
5850         (avr_mcu_types): Update.
5851         (avr_override_options): Use avr_arch_types table instead of switch.
5852         * avr.h (CPP_PREDEFINES): Die.
5853         (avr_base_arch_macro, avr_extra_arch_macro): New.
5854         (TARGET_CPU_CPP_BUILTINS): New.
5855         (CPP_SPEC, EXTRA_SPECS): Simplify.
5856         (CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
5857         CPP_AVR5_SPEC): Die.
5859 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
5861         * config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
5862         NETBSD_OS_CPP_BUILTINS_AOUT.
5863         (SUBTARGET_EXTRA_SPECS): Define.
5864         (CPP_SPEC): Use %(netbsd_cpp_spec).
5866 2002-05-29  Richard Henderson  <rth@redhat.com>
5868         * config/i386/i386.c (ix86_output_function_epilogue): New.
5869         (TARGET_ASM_FUNCTION_EPILOGUE): New.
5870         (pic_label_name): Remove.
5871         (pic_labels_used): New.
5872         (ix86_asm_file_end): Emit one pc load stub for each register used.
5873         (output_set_got): Generate deep pc load to any register.
5874         (ix86_select_alt_pic_regnum): New.
5875         (ix86_save_reg): Don't save pic register if we can find a valid
5876         call-clobbered replacement.
5877         (ix86_expand_prologue): If we found a valid replacement, renumber
5878         pic_offset_table_rtx.
5879         * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
5880         pic_offset_table_rtx after reload.
5881         (REAL_PIC_OFFSET_TABLE_REGNUM): New.
5882         * config/i386/i386.md (set_got): Make insn, not expander.
5883         (set_got_nopic, set_got_deep, set_got_nodeep): Remove.
5885 2002-05-29  Richard Henderson  <rth@redhat.com>
5887         * config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
5888         alignment for alloca.
5890 2002-05-29  Richard Henderson  <rth@redhat.com>
5892         * config/i386/i386.c (output_pic_addr_const): Lowercase rip.
5893         (print_operand_address): Only add rip for symbolic addresses
5894         for which we do not have another relocation type.
5896 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
5898         * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
5899         (EXTRA_SPECS): Add netbsd_cpp_spec.
5900         (CPP_SPEC): Use %(netbsd_cpp_spec).
5901         (CPP_PREDEFINES): Remove.
5902         * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
5903         (EXTRA_SPECS): Define.
5904         (CPP_SPEC): Use %(netbsd_cpp_spec).
5905         (CPP_PREDEFINES): Remove.
5907 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
5909         PR preprocessor/6844
5910         * cppmacro.c (cpp_macro_definition): Reserve space for terminating
5911         NUL.
5913 2002-05-29  Eric Christopher  <echristo@redhat.com>
5915         * config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
5916         mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
5918 2002-05-29  Nick Clifton  <nickc@cambridge.redhat.com>
5920         * config/fr30/fr30.md: Remove previous restriction on splits.
5921         Enforce conformance through gen_lowpart and cont_int_operand.
5922         * config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
5923         as the assembler does not support ".bss".
5925 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
5927         * config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
5928         (CPP_PREDEFINES): Remove.
5929         (SUBTARGET_EXTRA_SPECS): Define.
5930         (CPP_SPEC): Use %(netbsd_cpp_spec).
5931         * config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
5932         (CPP_PREDEFINES): Remove.
5933         (SUBTARGET_EXTRA_SPECS): Define.
5934         (CPP_SPEC): Use %(netbsd_cpp_spec).
5935         * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
5936         (CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
5937         (SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
5938         Add netbsd_cpp_spec.
5939         (CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).
5941 2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
5942             Zack Weinberg <zack@codesourcery.com>
5944         * cppexp.c (cpp_num): Move to cpplib.h.
5945         (CPP_ERROR): Remove.
5946         (interpret_float_suffix, interpret_int_suffix): New.
5947         (struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
5948         (cpp_classify_number, cpp_interpret_integer): New.
5949         (interpret_number): Remove.
5950         (eval_token): Update to use new routines.
5951         * cpphash.h (cpp_num_part): Move to cpplib.h.
5952         * cppinit.c (cpp_post_options): Set warn_long_long.
5953         * cpplib.h (struct cpp_options): Add warn_long_long.
5954         (cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
5955         CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
5956         CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
5957         CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
5958         cpp_interpret_integer): New.
5960 2002-05-29  Joel Sherrill <joel@OARcorp.com>
5962         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
5964 2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
5966         * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
5967         NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
5968         (CPP_SUBTARGET_SPEC): Define.
5969         (SUBTARGET_EXTRA_SPECS): Define.
5970         (CPP_SPEC): Remove.
5972 2002-05-29  Chris Lattner  <sabre@nondot.org>
5974         * ssa.c (rename_insn_1): Rename uses of undefined registers to
5975         prevent confusion if/when the register is defined.
5977 2002-05-29  Hans-Peter Nilsson  <hp@axis.com>
5979         PR target/6838
5980         * config/cris/cris.md: Fix typos and thinkos in comments.
5981         ("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
5982         second alternative.
5983         ("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
5984         ("*mov_sideqi_mem"): Similar, but for operand 3.
5985         ("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
5986         (splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
5987         Remove spurious mode specifier on operand 2.
5989 2002-05-29  Kazu Hirata  <kazu@cs.umass.edu>
5991         * config/h8300/h8300-protos.h: Remove the prototype for
5992         o_operand.
5993         Add prototypes for single_one_operand and single_zero_operand.
5994         * config/h8300/h8300.c (o_operand): Remove.
5995         (single_one_operand): New.
5996         (single_zero_operand): Likewise.
5997         (print_operand): For 'V' operand, and the operand with 0xff.
5998         For 'V' and 'W' operands, do not and the bit position with 7.
5999         * config/h8300/h8300.md (various anonymous patterns): Replace
6000         use of exact_log2 with single_one_operand/single_zero_operand.
6002 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
6004         * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
6006 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
6008         * config/s390/s390.c (legitimate_pic_operand_p): Do not
6009         accept symbolic LARL operands.
6010         (s390_emit_epilogue): Do not set FRAME_RELATED_P on
6011         epilogue insns.
6013 2002-05-29  Hartmut Penner  <hpenner@de.ibm.com>
6015         * config/s390/s390.md (cmpstr_64/31): Mark whole
6016         input registers as used.
6018 2002-05-28  Richard Henderson  <rth@redhat.com>
6020         * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
6021         not current_function_uses_pic_offset_table and
6022         current_function_uses_const_pool; examine current_function_profile.
6023         (ix86_expand_prologue): Likewise.  Add pic_offset_table_rtx as
6024         input to blockage if needed.
6025         (ix86_expand_call): Do not set current_function_uses_pic_offset_table.
6026         (legitimize_pic_address): Likewise.  Set regs_ever_live for
6027         pic_offset_table_rtx when invoked during reload.
6028         * config/i386/i386.h (FINALIZE_PIC): Remove.
6029         * config/i386/i386.md (tablejump): Reformat.  Do not set
6030         current_function_uses_pic_offset_table.
6031         (tls_global_dynamic, tls_local_dynamic_base): Likewise.
6032         (blockage): Accept anything as operand 0.
6034 2002-05-28  Jason Thorpe  <thorpej@wasabisystems.com>
6036         * config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
6037         common CPP built-ins for all NetBSD a.out targets.
6038         * config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
6039         common CPP built-ins for all NetBSD ELF targets.
6040         * config/netbsd.h: Add missing notice.
6041         (NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
6042         for all NetBSD targets.
6043         (NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
6044         for all NetBSD targets using an LP64 code model.
6045         (NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
6046         NetBSD targets.
6048 2002-05-28  Richard Henderson  <rth@redhat.com>
6050         * flow.c (update_life_info_in_dirty_blocks): Only do a partial
6051         update if UPDATE_LIFE_LOCAL.
6053 2002-05-28  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6055         * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
6057 Tue May 28 21:16:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
6058                           Jason R. Thorpe <thorpej@wasabisystems.com>
6060         config/sh reorganization to factor out endianness and coff:
6062         * config/sh/little.h: New file.
6063         * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
6064         defined, define to 0 to select big-endian.
6065         (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
6066         (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
6067         * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
6068         * config/sh/t-be: New file.
6069         * config/sh/t-le: New file.
6071         * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
6072         (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
6073         (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
6074         (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
6075         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6076         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
6077         (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
6078         (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
6079         (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
6080         (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
6081         CPP_DEFAULT_CPU_SPEC.  Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
6082         SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
6083         (LINK_SPEC): Define to SH_LINK_SPEC.
6084         (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
6085         (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
6086         (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
6087         (CPP_SPEC): Reduce to %(subtarget_cpp_spec).
6088         (TARGET_ENDIAN_DEFAULT): Define if not already defined.
6089         * config/sh/coff.h: New file.
6090         (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
6091         (TARGET_OBJFMT_CPP_BUILTINS): Define.
6092         * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
6093         (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
6094         (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
6095         (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
6096         (PTRDIFF_TYPE): Likewise.
6097         ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
6098         (CPP_PREDEFINES): Don't define.
6099         (TARGET_OBJFMT_CPP_BUILTINS): Define.
6100         (LINK_SPEC): Define to SH_LINK_SPEC.
6101         (LINK_EMUL_PREFIX): Redefine.
6102         * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
6103         (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
6104         (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
6105         (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
6106         (TARGET_OS_CPP_BUILTINS): Define.
6107         (TARGET_DEFAULT): Redefine.
6108         (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
6109         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
6110         (LINK_SPEC): Don't redefine.
6111         (LINK_DEFAULT_CPU_EMUL): Redefine.
6112         (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
6113         * sh.c (sh_asm_named_section): Don't declare / define.
6114         * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
6115         * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
6116         (sh64-*-elf* tm_file): Likewise.
6117         (sh-*-rtemself* tm_file): Likewise.
6118         (sh-*-linux* tm_file): Likewise.  Add sh/little.h.
6119         (sh-*-linux* tmake_file): Add sh/t-le.
6120         (sh-*-rtems* tm_file): Add sh/coff.h
6121         (sh-*-* tm_file): Likewise.
6123 Tue May 28 21:16:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
6125         * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
6126         CONSTANT_POOL_ADDRESS_P.
6128         * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.
6130 2002-05-28  David Edelsohn  <edelsohn@gnu.org>
6131             Jeff Law <law@redhat.com>
6133         * optabs.c (expand_binop): Fix nwords sign warnings.
6134         generate pseudo for add_optab.
6136         * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
6137         * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.
6139 2002-05-28      Marc Espie <espie@openbsd.org>
6141         * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove,
6142         inherited from gas.h.
6143         (ASM_QUAD):  Undef.  OpenBSD does not support it.
6145 2002-05-28  Danny Smith  <dannysmith@users.sourceforge.net>
6147         * doc/install.texi (binaries): Change mingw binaries
6148         link to www.mingw.org.
6150 2002-05-28  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
6152         * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
6154 2002-05-28  Richard Henderson  <rth@redhat.com>
6156         * config/i386/i386.c (ix86_compute_frame_layout): Do not add
6157         bottom alignment for leaf functions.
6159 2002-05-28  Zack Weinberg  <zack@codesourcery.com>
6161         * config/pa/milli32.S, config/pa/lib1funcs.asm,
6162         config/sparc/sol2-g1.asm: Delete unused files.
6164 2002-05-28  Richard Henderson  <rth@redhat.com>
6166         * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
6168         * flow.c (calculate_global_regs_live): Rename call_used to
6169         invalidated_by_call.  Initialize from regs_invalidated_by_call
6170         instead of call_used_regs.
6172         * varasm.c (default_binds_local_p): Check TREE_PUBLIC before
6173         DECL_EXTERNAL.
6175 2002-05-28  Zack Weinberg  <zack@codesourcery.com>
6177         * tree.h: Don't include real.h.
6178         Forward-declare struct realvaluetype.
6179         (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
6180         contain it.
6181         (TREE_REAL_CST_PTR): New accessor.
6182         (TREE_REAL_CST): Update.
6183         * real.h: Include machmode.h.
6184         (realvaluetype): Make it struct realvaluetype, not a typedef.
6185         (build_real): Prototype here.
6187         * tree.c: Include real.h.
6188         (build_real): Allocate the REAL_VALUE_TYPE as a separate
6189         object in GC memory, set TREE_REAL_CST_PTR to point to it.
6190         (build_real_from_int_cst): Use build_real.
6191         * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
6192         REAL_CST.
6194         * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
6195         fold-const.c, print-tree.c, real.c: Include real.h.
6196         * Makefile.in: Update dependency lists.
6198 2002-05-28  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
6200         * basic-block.h (last_basic_block): Declare.
6201         (expunge_block_nocompact): Declaration removed.
6202         (compact_blocks): Declare.
6203         * cfg.c (last_basic_block): New variable.
6204         (expunge_block_nocompact): Removed.
6205         (expunge_block): Do not compact basic blocks.
6206         (compact_blocks): New.
6207         * cfganal.c (flow_call_edges_add): Use the fact that bb indices no
6208         longer change.
6209         * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set
6210         last_basic_block.
6211         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change
6212         real positions of blocks.
6213         (delete_unreachable_blocks): Simplified -- quadratic behavior now
6214         cannot occur.
6215         (cleanup_cfg): Compact blocks.
6216         * cfgrtl.c (create_basic_block): Insert basic blocks to the end of
6217         basic_block_info varray.
6218         (flow_delete_block): Comment update.
6219         (back_edge_of_syntactic_loop_p): Modify position check code.
6220         (verify_flow_info): Update checking.
6221         * flow.c (calculate_global_regs_live): Use FOR_EACH_BB.
6222         * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
6223         (find_if_case_1, find_if_case_2, if_convert): Use the fact that bb
6224         indices no longer change.
6225         * lcm.c (optimize_mode_switching): Replace n_basic_blocks with
6226         last_basic_block.
6227         * predict.c (estimate_bb_frequencies): Remove unneccessary code.
6228         * profile.c (branch_prob): Compact blocks.
6229         * sched-rgn.c (find_rgns): Replace n_basic_blocks with
6230         last_basic_block.
6232 2002-05-28  Kazu Hirata  <kazu@cs.umass.edu>
6234         * config/h8300/h8300.md (two anonymous patterns): New.
6236 2002-05-28  David S. Miller  <davem@redhat.com>
6238         * config/sparc/sparc.md (cpu): Tidy.
6239         (type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and
6240         'trap'.
6241         (in_call_delay): Delete reference to 'return' type.
6242         (eligible_for_return_delay, in_return_delay, define_delay
6243         referencing those): Delete.
6244         (rest of file): Use new type attributes as appropriate.
6245         * config/sparc/sparc-protos.h (eligible_for_return_delay): Delete.
6246         * config/sparc/sparc.c (eligible_for_return_delay): Likewise.
6247         * config/sparc/ultra1_2.md (us1_single): New reservation.
6248         (us1_ialuX): Likewise.
6249         * config/sparc/ultra3.md (us3_single): Likewise.
6250         (us3_ialuX): Likewise.
6251         (us3_imul, us3_idiv): Tweak.
6253 2002-05-28  Richard Henderson  <rth@redhat.com>
6255         * config/alpha/alpha.c (alpha_in_small_data_p): Return false for
6256         STRING_CST.
6258 2002-05-28  Richard Henderson  <rth@redhat.com>
6260         * config.gcc: Obsolete mn10200.
6262 2002-05-28  Neil Booth  <neil@daikokuya.demon.co.uk>
6264         * cppexp.c (interpret_number): Optimize for single-digit
6265         and less-than-half-precision cases.
6266         (num_trim, num_positive, num_div_op): Cast constants.
6268 2002-05-27  Bo Thorsen  <bo@suse.de>
6270         * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the
6271         3.1 branch. The file was made by Jakub Jelinek.
6272         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
6273         support so multilib doesn't break. And don't define this at all
6274         when -Dinhibit_libc is used.
6275         (MULTILIB_DEFAULTS): Always set default to 64 bit compilation.
6276         * config/i386/t-linux64: Implement full multilib support. Patch
6277         originally done by Andreas Jaeger and Jakub Jelinek.
6279 2002-05-27  Roger Sayle  <roger@eyesopen.com>
6281         * c-common.c: Add support for __attribute__((nothrow)) to specify
6282         that a function cannot throw an exception (using TREE_NOTHROW).
6283         (handle_nothrow_attribute): New function to process this attribute.
6285         * doc/extend.texi: Document the new nothrow function attribute.
6287 2002-05-27  H.J. Lu  (hjl@gnu.org)
6289         * cppexp.c (num_trim): Use 1UL instead of 1 for long int.
6290         (num_positive): Likewise.
6291         (num_div_op): Likewise.
6293 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
6295         * c-common.c (c_common_init): Always use intmax_t.
6297 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
6299         * c-common.c (c_common_init): Use intmax_t for now.
6301 2002-05-24  Andrew Haley  <aph@redhat.com>
6303         * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c
6304         if T is a boolean type.
6306 2002-05-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
6308         * basic-block.h (last_basic_block): Defined as synonym for
6309         n_basic_blocks.
6310         * cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute,
6311         flow_depth_first_order_compute, flow_preorder_transversal_compute,
6312         flow_dfs_compute_reverse_init): Replaced relevant occurences of
6313         n_basic_blocks with last_basic_block.
6314         * cfgbuild.c (make_edges): Likewise.
6315         * cfgloop.c (flow_loop_scan, flow_loops_find): Likewise.
6316         * cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise.
6317         * combine.c (combine_instructions): Likewise.
6318         * df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap,
6319         iterative_dataflow_bitmap): Likewise.
6320         * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
6321         calc_idoms, idoms_to_doms): Likewise.
6322         * flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars):
6323         Likewise.
6324         * gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties,
6325         compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass,
6326         one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p,
6327         one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1,
6328         delete_null_pointer_checks, compute_code_hoist_vbeinout,
6329         hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
6330         compute_store_table, build_store_vectors): Likewise.
6331         * haifa-sched.c (sched_init): Likewise.
6332         * ifcvt.c (if_convert): Likewise.
6333         * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
6334         pre_edge_lcm, compute_available, compute_nearerout,
6335         compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching):
6336         Likewise.
6337         * predict.c (estimate_probability, process_note_prediction,
6338         note_prediction_to_br_prob): Likewise.
6339         * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise.
6340         * recog.c (split_all_insns, peephole2_optimize): Likewise.
6341         * regrename.c (copyprop_hardreg_forward): Likewise.
6342         * resource.c (init_resource_info): Likewise.
6343         * sched-rgn.c (build_control_flow, find_rgns, compute_trg_info,
6344         init_regions, schedule_insns): Likewise.
6345         * ssa-ccp.c (ssa_const_prop): Likewise.
6346         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
6347         * ssa.c (compute_dominance_frontiers,
6348         compute_iterated_dominance_frontiers, convert_to_ssa): Likewise.
6350         * df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code)
6351         * gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector
6352         sizes consistently.
6354 Mon May 27 14:28:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
6356         * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge):
6357         new.
6358         * rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store,
6359         hoist_insn_after, hoist_insn_to_edge): New.
6361 Mon May 27 12:14:02 CEST 2002  Jan Hubicka  <jh@suse.cz>
6363         * basic-block.h (PEOP_SCAN_DEAD_STORES): New.
6364         (PROP_FINAL): Include.
6365         * flow.c (life_analysis, update_life_info,
6366         init_propagate_block_info, mark_set_1, mark_used_rgs):
6367         Support SCAN_DEAD_STORE.
6369 2002-05-27  Neil Booth  <neil@daikokuya.demon.co.uk>
6371         * c-common.c (c_common_init): Set CPP arithmetic precision.
6372         * cppexp.c (cpp_num_part): Move typedef ...
6373         * cpphash.h: ...here; make unsigned HOST_WIDE_INT.
6374         * cppinit.c (cpp_create_reader): Default to host long arithmetic.
6375         (sanity_checks): Update.
6377 2002-05-26  Geoffrey Keating  <geoffk@redhat.com>
6379         * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
6380         (mkheaders): New rule.
6381         (install-mkheaders): New rule.
6382         * configure.in (all_outputs): Add mkheaders.
6383         * configure: Regenerate.
6384         * mkheaders.in: New file.
6386 2002-05-26  Jakub Jelinek  <jakub@redhat.com>
6388         * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
6390 2002-05-26  Andreas Jaeger  <aj@suse.de>
6392         * cfg.c (dump_flow_info): Remove extra argument to fprintf.
6394 2002-05-26  Neil Booth  <neil@daikokuya.demon.co.uk>
6396         * cppexp.c (possible_sum_sign, integer_overflow, left_shift,
6397         right_shift): Remove.
6398         (cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART,
6399         HIGH_PART): New.
6400         (struct op): Use cpp_num.
6401         (num_zerop, num_eq, num_positive, num_greater_freq, num_trim,
6402         num_part_mul, num_unary_op, num_binary_op, num_negate,
6403         num_bitwise_op, num_inequality_op, num_equality_op, num_mul,
6404         num_div_op, num_lshift, num_rshift, append_digit): New.
6405         (interpret_number, parse_defined, eval_token, reduce): Update
6406         for two-integer arithmetic.
6407         (binary_handler): New typedef.
6408         (optab): Update.
6409         (COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete.
6410         (_cpp_parse_expr, reduce): Update to handle two-integers.
6411         * cpplib.c (_cpp_test_assertion): Back up on CPP_EOF.
6413 2002-05-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
6415         * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare.
6416         * config/avr/avr.c (jump_over_one_insn_p): Take length of the
6417         branch insn into account, do not assume 1.
6418         (avr_out_sbxx_branch): New function.  Optimize cases of skipping
6419         over single word insn.  Handle upper half of I/O space too.
6420         * config/avr/avr.md (*sbrx_branch): Use it.
6421         (*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise.
6422         (*sbix_branch, *sbix_branch_bit7): Likewise.
6423         (*sbix_branch_tmp, *sbix_branch_tmp_bit7): New.
6424         Use RTL peepholes to optimize register operand sign tests.
6426 2002-05-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
6428         * config/avr/avr.c (avr_asm_only_p): New variable.
6429         (avr_override_options): Set it here if AVR1.
6430         (asm_file_start): Test it here, report an error if set.
6432 2002-05-26  Kazu Hirata  <kazu@cs.umass.edu>
6434         * alias.c: Fix formatting.
6435         * attribs.c: Likewise.
6436         * bb-reorder.c: Likewise.
6437         * bitmap.c: Likewise.
6438         * bitmap.h: Likewise.
6439         * builtins.c: Likewise.
6441 Sun May 26 14:00:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
6443         * reload.c (find_valid_class): Accept new argument DEST,
6444         choose class accordingly.
6445         (push_reload): Update callers.
6447 2002-05-26  Andreas Jaeger  <aj@suse.de>
6449         * combine.c (combine_instructions): Do not indent #if for
6450         traditional C.
6452 2002-05-25  Richard Henderson  <rth@redhat.com>
6454         * c-pragma.c (apply_pragma_weak): Convert value identifier to
6455         string for decl_attributes.
6456         (handle_pragma_weak): Call assemble_alias if we're modifying
6457         an existing decl.
6459 2002-05-25  Richard Henderson  <rth@redhat.com>
6461         PR target/6788
6462         * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
6463         using rtl instead of fprintf.
6464         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
6465         * config/sparc/sparc-protos.h: Update.
6467 2002-05-25  Neil Booth  <neil@daikokuya.demon.co.uk>
6469         * Makefile.in (C_COMMON_H): Fix.
6470         Update other targets.
6471         * c-common.c: Don't include c-lex.h.
6472         (builtin_define_with_value): Make static and prototype.
6473         (builtin_define_std): Move from c-lex.h.
6474         * c-common.h (init_c_lex): Move from c-lex.h.
6475         * c-decl.c: Don't include c-lex.h.
6476         (make_pointer_declarator): Move from c-parse.in.
6477         * c-lex.c: Don't include c-lex.h.
6478         * c-lex.h: Remove.
6479         * c-parse.in: Don't include c-lex.h; include c-pragma.h.
6480         (make_pointer_declarator): Move to c-decl.c.
6481         * c-pragma.c: Don't include c-lex.h.
6482         * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h.
6483         * c-tree.h (make_pointer_declarator): New.
6484 doc:
6485         * passes.texi, tm.texi: Update.
6486 objc:
6487         * Make-lang.in: Update and correct.
6488         * objc-act.c: Don't include c-lex.h or cpplib.h.
6489 treelang:
6490         * treetree.c: Don't include c-lex.h.
6491 config:
6492         * darwin-c.c: Don't include c-lex.h.
6493         * c4x/c4x-c.c: Don't include c-lex.h.
6494         * c4x/t-c4x: Update.
6495         * i370/i370-c.c: Don't include c-lex.h.
6496         * i370/t-i370: Update.
6497         * i960/i960-c.c: Don't include c-lex.h.
6498         * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h.
6499         * i960/t-960bare: Update.
6500         * i960/t-vxworks: Update.
6501         * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h.
6502         * rs6000/t-darwin: Update.
6503         * rs6000/t-rs6000-c-rule: Update.
6504         * v850/v850-c.c: Don't include c-lex.h.
6505         * v850/v850.c: Don't include c-lex.h or cpplib.h.
6508 2002-05-25  Kazu Hirata  <kazu@cs.umass.edu>
6510         * tree.def: Fix typos.
6511         * doc/install.texi: Likewise.
6513 2002-05-25  Richard Henderson  <rth@redhat.com>
6515         * configure.in (HAVE_AS_TLS): Add ia64 test.
6516         * configure: Rebuild.
6517         * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New.
6518         (override_options): Set it.
6519         (TARGET_HAVE_TLS): New.
6520         (sdata_symbolic_operand): Look for 's'.
6521         (tls_symbolic_operand): New.
6522         (ia64_expand_load_address): Abort for tls symbols.
6523         (gen_tls_get_addr): New.
6524         (gen_thread_pointer): New.
6525         (ia64_expand_move): Split out from movdi.  Handle tls symbols.
6526         (rtx_needs_barrier): Add new unspecs.
6527         (ia64_encode_section_info): Handle tls symbols.
6528         (ia64_strip_name_encoding): Strip two encoding chars.
6529         * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New.
6530         (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New.
6531         (TARGET_OPTIONS): Add tls-size.
6532         (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR.
6533         * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL,
6534         UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New.
6535         (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move.
6536         (movsf, movdf): Likewise.
6537         (movdi_symbolic): Use match_scratch.  Don't split if we won't
6538         have a scratch availiable.
6539         (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22,
6540         add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel,
6541         load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New.
6542         * config/ia64/ia64-protos.h: Update.
6543         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use
6544         sdata_symbolic_operand.
6545         (ASM_OUTPUT_LABELREF): Strip two characters.
6547 2002-05-25  Kazu Hirata  <kazu@cs.umass.edu>
6549         * combine.c (simplify_set): Remove an unnecessary subreg.
6551 2002-05-25  Marek Michalkiewicz  <marekm@amelek.gda.pl>
6553         * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
6555         * config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New.
6557 2002-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
6559         * toplev.c (output_clean_symbol_name): Fix another thinko.  Gosh.
6561 2002-05-25  Roger Sayle  <roger@eyesopen.com>
6563         * simplify-rtx.c (simplify_gen_relational): Simplify the RTX
6564         (cond (compare x y) 0) into the equivalent (cond x y).
6566 2002-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
6568         * toplev.c (output_clean_symbol_name): Use xstrdup.  Fix thinko.
6570 2002-05-24  Zack Weinberg  <zack@codesourcery.com>
6572         * config.gcc: Remove all stanzas for previously obsoleted
6573         systems.  Where necessary, add explicit error stanzas to
6574         prevent removed systems from being misidentified as something
6575         else.  Begin a fresh obsoletions list, with the systems that
6576         were reprieved last round.
6577         * doc/install.texi: Remove all mention of dead targets.
6578         * fixinc/mkfixinc.sh: Likewise.
6580         * config/arm/arm.h: Bit 31 of target_flags is no longer
6581         reserved.
6583         * config/1750a/1750a-protos.h, config/1750a/1750a.c,
6584         config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
6585         config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
6586         config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
6587         config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
6588         config/alpha/osf12.h, config/alpha/osf2or3.h,
6589         config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
6590         config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
6591         config/clipper/clipper-protos.h, config/clipper/clipper.c,
6592         config/clipper/clipper.h, config/clipper/clipper.md,
6593         config/clipper/clix.h, config/convex/convex-protos.h,
6594         config/convex/convex.c, config/convex/convex.h,
6595         config/convex/convex.md, config/convex/fixinc.convex,
6596         config/convex/proto.h, config/elxsi/elxsi-protos.h,
6597         config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
6598         config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
6599         config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
6600         config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
6601         config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
6602         config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
6603         config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
6604         config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
6605         config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
6606         config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
6607         config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
6608         config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
6609         config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
6610         config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
6611         config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
6612         config/m68k/altos3068.h, config/m68k/apollo68.h,
6613         config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
6614         config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
6615         config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
6616         config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
6617         config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
6618         config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
6619         config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
6620         config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
6621         config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
6622         config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
6623         config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
6624         config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
6625         config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
6626         config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
6627         config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
6628         config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
6629         config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
6630         config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
6631         config/mips/dec-osf1.h, config/mips/elflorion.h,
6632         config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
6633         config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
6634         config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
6635         config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
6636         config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
6637         config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
6638         config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
6639         config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
6640         config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
6641         config/ns32k/pc532-min.h, config/ns32k/pc532.h,
6642         config/ns32k/sequent.h, config/ns32k/tek6000.h,
6643         config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
6644         config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
6645         config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
6646         config/sparc/rtems.h, config/we32k/we32k-protos.h,
6647         config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
6648         Delete file.
6650 2002-05-24  Richard Henderson  <rth@redhat.com>
6652         * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
6653         * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC.
6654         * config/i386/i386.c (tls_model_chars): Add leading space.
6655         (tls_symbolic_operand): Don't bias by 1.
6656         (legitimize_address): Don't unbias by 1.
6658 2002-05-24  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6660         * lcm.c (optimize_mode_switching): Change bb used as indices
6661         to bb->index.
6663 2002-05-24  Richard Henderson  <rth@redhat.com>
6665         * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
6666         of update_life_info_in_dirty_blocks.
6668 2002-05-24  Jakub Jelinek  <jakub@redhat.com>
6670         PR other/6782
6671         * final.c (get_mem_expr_from_op): Return 0 if op is NULL.
6673 2002-05-24  Neil Booth  <neil@daikokuya.demon.co.uk>
6675         PR preprocessor/6780
6676         * cppmacro.c (enter_macro_context): Clear state.angled_headers.
6678 2002-05-24  Jim Blandy  <jimb@redhat.com>
6680         * dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
6681         entry with a type code of zero, marking the end of the compilation
6682         unit's macro info.
6684 2002-05-24  Richard Henderson  <rth@redhat.com>
6686         * varasm.c (asm_output_bss): Always output one byte.
6687         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
6689 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6691         * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
6692         namespace.
6694 2002-05-24  Andreas Jaeger  <aj@suse.de>
6696         * ggc-page.c (alloc_page): Cast variables of type size_t to
6697         unsigned long, adjust printf format string.
6698         (ggc_alloc): Likewise.
6699         (ggc_print_statistics): Likewise.
6700         (ggc_print_statistics): Correct printf format string for SCALE to
6701         use unsigned long.
6703 2002-05-24  Danny Smith  <dannysmith@users.sourceforge.net>
6705         * config/i386/mingw32.h (CPP_SPEC): Remove -remap.
6707 2002-05-23  Gabriel Dos Reis  <gdr@codesourcery.com>
6708             Zack Weinberg     <zack@codesourcery.com>
6710         * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output
6711         quoted strings.
6712         * dwarf2out.c (lookup_filename): Properly quote filename in .file
6713         directive in assembly file.
6714         * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
6715         * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise.
6716         * config/pj/pj.h (ASM_FILE_START): Likewise.
6717         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
6718         * config/avr/avr.c (asm_file_end): Likewise.
6719         * toplev.c (output_quoted_string): Handle possibly signed plain
6720         char.
6721         * toplev.h (output_clean_symbol_name): Declare
6722         * toplev.c (output_clean_symbol_name): Define.
6723         * config/alpha/alpha.c (unicosmk_output_module_name): Use it.
6724         * config/1750a/1750a.h (ASM_FILE_START): Likewise.
6726 2002-05-24  Alan Modra  <amodra@bigpond.net.au>
6728         * config/rs6000/rs6000.c (output_toc): Mask longs to 32 bits.
6730 2002-05-23  Vladimir Makarov  <vmakarov@redhat.com>
6732         * genautomata.c (reserv_sets_hash_value): Use shift equal to 3/4
6733         of size of unsigned.
6735 2002-05-23  Richard Henderson  <rth@redhat.com>
6737         * configure.in (HAVE_AS_TLS): New test.
6738         * config.in, configure: Rebuild.
6739         * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS.
6740         (ix86_tls_dialect_string, ix86_tls_dialect): New.
6741         (override_options): Set it.
6742         (tls_model_chars, tls_symbolic_operand): New.
6743         (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New.
6744         (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New.
6745         (local_exec_symbolic_operand): New.
6746         (get_pic_label_name): Merge into output_set_got.
6747         (ix86_asm_file_end): Emit pic_label_name if defined.
6748         (legitimate_constant_p, constant_address_p): New.
6749         (legitimate_pic_operand_p): New.
6750         (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF.
6751         (legitimate_address_p): Likewise.
6752         (ix86_encode_section_info): Rename from i386_; handle tls decls.
6753         (ix86_strip_name_encoding): New.
6754         (get_thread_pointer): New.
6755         (legitimize_address): Handle tls symbols.
6756         (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF.
6757         Remove UNSPEC_PLT.
6758         (struct machine_function): Add some_ld_name.
6759         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it.
6760         (print_operand) [&]: Use it.  Handle UNSPEC_TP.
6761         (output_addr_const_extra): New.
6762         (maybe_get_pool_constant): New.
6763         (ix86_split_to_parts): Use it.
6764         (ix86_expand_move): Handle tls symbols.
6765         (ix86_tls_get_addr): New.
6766         * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New.
6767         (TARGET_OPTIONS): Add tls-dialect.
6768         (CONSTANT_ADDRESS_P): Use new out-of-line function.
6769         (LEGITIMATE_CONSTANT_P): Likewise.
6770         (LEGITIMATE_PIC_OPERAND_P): Likewise.
6771         (TARGET_STRIP_NAME_ENCODING): New.
6772         (ASM_OUTPUT_LABELREF): New.
6773         (PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
6774         (OUTPUT_ADDR_CONST_EXTRA): New.
6775         (PREDICATE_CODES): Update.
6776         (ix86_tls_dialect, ix86_tls_dialect_string): New.
6777         * config/i386/i386.md: Regroup and renumber unspec constants.
6778         (tls_global_dynamic_gnu, tls_global_dynamic_sun): New.
6779         (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New.
6780         (tls_global_dynamic, tls_local_dynamic_base): New.
6781         (tls_local_dynamic_once): New.
6782         * config/i386/i386-protos.h: Update.
6784 2002-05-23  Richard Henderson  <rth@redhat.com>
6786         * genemit.c (gen_insn): Print file:lineno comment before function.
6787         (main): likewise.
6788         * gensupport.c (struct queue_elem): Add filename member.
6789         (queue_pattern): Initialize it; update all callers.
6790         (process_include): Don't free filename.
6791         (read_md_rtx): Set read_rtx_filename.
6793 2002-05-23  Hans Boehm  <Hans_Boehm@hp.com>
6795         * config/ia64/linux.h (IA64_GATE_AREA_END): Adjust for 64K pages.
6797 2002-05-23  Richard Henderson  <rth@redhat.com>
6799         * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
6801 2002-05-23  Richard Henderson  <rth@redhat.com>
6803         * doc/extend.texi (C++98 Thread-Local Edits): Update with
6804         commentary from Mark.
6806 2002-05-23  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
6808         * bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
6809         Use FOR_EACH_BB macros to iterate over basic block chain.
6810         * cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
6811         alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
6812         Likewise.
6813         * cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
6814         find_unreachable_blocks, create_edge_list, verify_edge_list,
6815         remove_fake_edges, add_noreturn_fake_exit_edges,
6816         flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
6817         Likewise.
6818         * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
6819         find_sub_basic_blocks): Likewise.
6820         * cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
6821         Likewise.
6822         * cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
6823         Likewise.
6824         * cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
6825         Likewise.
6826         * cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
6827         commit_edge_insertions, commit_edge_insertions_watch_calls,
6828         print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
6829         * combine.c (combine_instructions, reg_dead_at_p): Likewise.
6830         * conflict.c (conflict_graph_compute): Likewise.
6831         * df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
6832         df_modified_p, df_refs_unlink, df_dump): Likewise.
6833         * dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
6834         * final.c (compute_alignments): Likewise.
6835         * flow.c (update_life_info, update_life_info_in_dirty_blocks,
6836         delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
6837         count_or_remove_death_notes): Likewise.
6838         * gcse.c (oprs_unchanged_p, record_last_reg_set_info,
6839         compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
6840         classic_gcse, compute_transp, cprop, compute_pre_data,
6841         compute_transpout, invalidate_nonnull_info,
6842         delete_null_pointer_checks_1, delete_null_pointer_checks,
6843         compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
6844         compute_store_table, build_store_vectors, store_motion): Likewise.
6845         * global.c (global_conflicts, mark_elimination): Likewise.
6846         * graph.c (print_rtl_graph_with_bb): Likewise.
6847         * haifa-sched.c (sched_init): Likewise.
6848         * ifcvt.c (if_convert): Likewise.
6849         * lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
6850         compute_available, compute_nearerout, compute_rev_insert_delete,
6851         optimize_mode_switching): Likewise.
6852         * local-alloc.c (local_alloc, update_equiv_regs): Likewise.
6853         * predict.c (estimate_probability, note_prediction_to_br_prob,
6854         propagate_freq, counts_to_freqs, expensive_function_p,
6855         estimate_bb_frequencies): Likewise.
6856         * profile.c (instrument_edges, get_exec_counts,
6857         compute_branch_probabilities, compute_checksum, branch_prob,
6858         find_spanning_tree): Likewise.
6859         * recog.c (split_all_insns, peephole2_optimize): Likewise.
6860         * reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
6861         Likewise.
6862         * regclass.c (scan_one_insn, regclass): Likewise.
6863         * regmove.c (mark_flags_life_zones, regmove_optimize,
6864         record_stack_memrefs): Likewise.
6865         * regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
6866         * reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
6867         * resource.c (find_basic_block): Likewise.
6868         * sched-ebb.c (schedule_ebbs): Likewise.
6869         * sched-rgn.c (is_cfg_nonregular, build_control_flow,
6870         find_single_block_region, find_rgns, schedule_insns)
6871         * sibcall.c (optimize_sibling_and_tail_recursive_call)
6872         * ssa-ccp.c (optimize_unexecutable_edges,
6873         ssa_ccp_df_delete_unreachable_insns): Likewise.
6874         * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
6875         * ssa.c (find_evaluations, compute_dominance_frontiers_1,
6876         rename_block, convert_to_ssa, compute_conservative_reg_partition,
6877         compute_coalesced_reg_partition, rename_equivalent_regs,
6878         convert_from_ssa): Likewise.
6879         * config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
6880         process_for_unwind_directive): Likewise.
6882         * df.c (FOR_ALL_BBS): Removed.
6883         * gcse.c (struct null_pointer_info): Type of current_block field
6884         changed.
6885         (struct reg_avail_info): Type of last_bb field changed.
6886         * config/ia64/ia64.c (block_num): Removed.
6887         (need_copy_state): Type changed.
6888         (last_block): New.
6890 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
6892         * cppinit.c (mark_named_operators): Split out from init_builtins.
6893         (cpp_finish_options): Call it from here instead.
6895 2002-05-23  Jason Thorpe  <thorpej@wasabisystems.com>
6897         * builtin-attrs.def: Update copyright years.
6898         (ATTR_NONNULL): New attribute identifier.
6899         (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
6900         attribute tree lists.
6901         (DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
6902         format operand.
6903         (ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
6904         (DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
6905         attribute lists.  Chain the appropriate nonnull attribute.
6906         * c-format.c (check_format_arg): Remove null format string
6907         warning.
6908         * testsuite/gcc.dg/format/null-1.c: New test.
6910 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6912         * Makefile.in (ADAC): Define.
6913         (SYSLIBS): Define.
6914         (.SUFFIXES): Move before language makefile fragments.
6915         (STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.
6917 2002-05-23  Mark Mitchell  <mark@codesourcery.com>
6919         * varasm.c (make_decl_rtl): Don't allow weak variables to be
6920         placed in common.
6922 Thu May 23 19:43:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
6924         * cfg.c (dump_flow_info): Print results of
6925         maybe_hot/probably_never_executed predicates.
6926         * toplev.c (open_dump_file): Print function frequency.
6928 2002-05-23  David S. Miller  <davem@redhat.com>
6930         * cse.c (approx_reg_cost_1, approx_reg_cost): Recode to not use
6931         regsets.
6933 2002-05-23  Jason Thorpe  <thorpej@wasabisystems.com>
6935         * c-common.c (warn_nonnull): Declare.
6936         (c_common_attribute_table): Add "nonnull" attribute.
6937         (handle_nonnull_attribute, check_function_nonnull, nonnull_check_p,
6938         check_nonnull_arg, get_nonnull_operand, check_function_arguments,
6939         check_function_arguments_recurse): New functions.
6940         * c-common.h (warn_nonnull): Declare extern.
6941         (check_function_arguments, check_function_arguments_recurse): New
6942         prototypes.
6943         * c-decl.c (c_decode_option): Add -Wnonnull option.
6944         * c-format.c (set_Wformat): Set warn_nonnull if enabling
6945         format checking.
6946         (format_check_context): New structure.
6947         (check_format_info_recurse): Remove recursion and rename to...
6948         (check_format_arg): ...this.  Update comment.
6949         (check_format_info): Use check_function_arguments_recurse.
6950         * c-typeck.c (build_function_call): Call check_function_arguments
6951         instead of check_function_format.
6952         * doc/extend.texi: Document "nonnull" attribute.
6953         * doc/invoke.texi: Docuemnt -Wnonnull option.
6954         * testsuite/gcc.dg/nonnull-1.c: New test.
6955         * testsuite/gcc.dg/nonnull-2.c: New test.
6957 2002-05-23  David S. Miller  <davem@redhat.com>
6959         * basic-block.h (CLEANUP_NO_INSN_DEL): Define it.
6960         * cfgcleanup.c (cleanup_cfg): If it is set do not
6961         attempt to delete trivially dead insns.
6962         * except.c (finish_eh_generation): Pass it to cleanup_cfg.
6963         * toplev.c (rest_of_compilation): Document non-trivial aspect
6964         the RTL before optimize_save_area_alloca is run.
6966 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
6968         * c-lex.c (indent_level): Remove.
6969         (cb_file_change, c_lex): Remove indent level handling.
6970         * c-lex.h (indent_level): Remove.
6971         * input.h (struct file_stack): Remove indent_level.
6972         * toplev.c (push_srcloc): Remove indent_level handling.
6974 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
6976         PR target/6753
6977         * config/i386/i386.md (sse_movdfcc, sse_movdfcc_eq): Use Y instead
6978         of x in constraints for clarity.
6979         (sse_mov?fcc split): abort if op2 == op3.
6980         (sse_movsfcc_const0_1, sse_movsfcc_const0_2, sse_movsfcc_const0_3,
6981         sse_movsfcc_const0_4): Add earlyclobber.
6982         (sse_movdfcc_const0_1, sse_movdfcc_const0_2, sse_movdfcc_const0_3,
6983         sse_movdfcc_const0_4): Likewise.  Use DFmode, not SFmode.
6984         Use Y instead of x in constraints.
6986 2002-05-23  Richard Henderson  <rth@redhat.com>
6988         * doc/extend.texi (C99 Thread-Local Edits): New subsection.
6989         (C++98 Thread-Local Edits): New subsection.
6991         * config/i386/i386.c, config/i386/i386.h: Tidy comments and whitespace.
6992         (ix86_arch): Set type to enum processor_type.
6994         * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
6995         LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
6997 2002-05-23  Jakub Jelinek  <jakub@redhat.com>
6999         * configure.in: Fix as version test for binutils 2.12.1 releases
7000         (without dates).
7001         * configure: Rebuilt.
7003 2002-05-23  Richard Henderson  <rth@redhat.com>
7005         * config/i386/i386.c (get_pic_label_name): New.
7006         (load_pic_register): Remove.
7007         (output_set_got): New.
7008         (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
7009         * config/i386/i386.md (UNSPEC_SET_GOT): New.
7010         (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
7011         (prologue_set_got, prologue_get_pc): Remove.
7012         (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
7013         (builtin_setjmp_receiver): Use gen_set_got.
7014         * config/i386/i386-protos.h: Update.
7016 Thu May 23 09:22:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
7018         * gcse.c (hash_expr): Do not use alias set for hashing.
7020 2002-05-22  Kevin Buettner  <kevinb@redhat.com>
7022         * dbxout.c (dbxout_class_name_qualifiers): New function.
7023         (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.
7025 2002-05-23  Neil Booth  <neil@daikokuya.demon.co.uk>
7027         * cpperror.c (_cpp_begin_message): No special casing
7028         of CPP_FATAL_LIMIT.
7029         * cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
7030         (output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
7031         * cpplib.c (do_include_common): Use DL_ERROR.
7032         * cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
7033         (DL_ICE): Renumber.
7034         * fix-header.c (read_scan_file): Update.
7036 2002-05-22  Richard Henderson  <rth@redhat.com>
7038         * config/i386/i386.c (ix86_expand_call): New function, extracted
7039         from md call patterns.  Add pic_offset_table_rtx to
7040         CALL_INSN_FUNCTION_USAGE when needed.
7041         * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
7042         (call_value_pop, call_value, untyped_call): Likewise.
7043         (call_exp, call_value_exp): Remove.
7044         * config/i386/i386-protos.h: Update.
7046 2002-05-22  Richard Henderson  <rth@redhat.com>
7048         * varasm.c (default_section_type_flags): Check for VAR_DECL
7049         before using DECL_THREAD_LOCAL.
7051 2002-05-22  David Edelsohn  <edelsohn@gnu.org>
7053         * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
7054         (STARTFILE_SPEC): Delete PE crt0.o.
7055         * config/rs6000/aix51.h: Same.
7056         * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
7057         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
7058         function descriptor symbol.  Use RS6000_OUTPUT_BASENAME.
7059         (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
7060         * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.
7062 2002-05-22  Richard Henderson  <rth@redhat.com>
7064         * varasm.c (default_section_type_flags): Handle tls data and
7065         default sections.
7066         (default_unique_section): Handle tls sections.
7068 2002-05-23  Alan Modra  <amodra@bigpond.net.au>
7070         * configure.in (CROSS): Define NATIVE_CROSS.
7071         * configure: Regenerate.
7072         * gcc.c (STARTFILE_PREFIX_SPEC): Define.
7073         (startfile_prefix_spec): New var.
7074         (static_specs): Add startfile_prefix_spec.
7075         (do_spec_2): Split out from..
7076         (do_spec): ..here.
7077         (main): Process startfile_prefix_spec.
7078         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
7079         dynamic linker.
7080         (STARTFILE_PREFIX_SPEC): Define.
7081         (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
7082         absolute paths.
7084 2002-05-22  Kazu Hirata  <kazu@cs.umass.edu>
7086         * cpperror.c: Fix formatting.
7087         * cppexp.c: Likewise.
7088         * cppfiles.c: Likewise.
7089         * cpphash.c: Likewise.
7090         * cpphash.h: Likewise.
7091         * cppinit.c: Likewise.
7092         * cpplex.c: Likewise.
7093         * cpplib.c: Likewise.
7094         * cppmacro.c: Likewise.
7095         * cppmain.c: Likewise.
7096         * cppspec.c: Likewise.
7098 2002-05-22  Jakub Jelinek  <jakub@redhat.com>
7100         * combine.c (force_to_mode): Use gen_int_mode.
7101         Don't clear CONST_INT bits outside of mode.
7103 2002-05-22  Richard Henderson  <rth@redhat.com>
7105         * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
7106         * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
7108 2002-05-22  Jakub Jelinek  <jakub@redhat.com>
7110         PR c/6643
7111         * emit-rtl.c (widen_memory_access): Only call compare_tree_int
7112         if DECL_SIZE_UNIT is INTEGER_CST.
7114 2002-05-22  Richard Henderson  <rth@redhat.com>
7116         * flow.c (life_analysis): Delete broken reg_label check.
7118 2002-05-22  Richard Henderson  <rth@redhat.com>
7120         * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
7121         * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
7123 Wed May 22 18:39:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
7125         * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
7126         (embed-bb.c): New rule.
7127         * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
7128         * config/sh/embed_bb.c: Delete.
7130 Wed May 22 18:25:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
7132         * c-common.c (cb_register_builtins): Don't indent '#' of #define.
7134 2002-05-22  Kazu Hirata  <kazu@cs.umass.edu>
7136         * config/h8300/h8300.md (*andorqi3): New.
7138 2002-05-22  Neil Booth  <neil@daikokuya.demon.co.uk>
7140         PR preprocessor/6517
7141         * Makefile.in: Update.
7142         * c-common.c (c_common_post_options): Add preprocessor
7143         errors to the error count.
7144         * c-lang.c (c_post_options): Kill.
7145         (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
7146         * hooks.h: Add header guards.
7147         * langhooks-def.h: Include hooks.h.
7148         (LANG_HOOKS_POST_OPTIONS): Update.
7149         * langhooks.h (struct lang_hooks): Update post_options.
7150         * toplev.c (parse_options_and_default_flags): Update.
7151 objc:
7152         * objc-lang.c (objc_post_options): Kill.
7153         (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
7155 2002-05-21  Bruce Korb  <bkorb@gnu.org>
7157         * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
7158         * fixinc/inclhack.def(thread_keyword): use c_fix = format.
7159         * fixinc/fixincl.x: regen.
7161 2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>
7163         * cfgbuild.c: Fix formatting.
7164         * cfg.c: Likewise.
7165         * cfgcleanup.c: Likewise.
7166         * cfglayout.c: Likewise.
7167         * cfgloop.c: Likewise.
7168         * cfgrtl.c: Likewise.
7170 2002-05-21  Richard Henderson  <rth@redhat.com>
7172         * c-common.h (enum rid): Add RID_THREAD.
7173         * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
7174         (grokdeclarator): Grok __thread.
7175         * c-parse.in (reswords): Add __thread.
7176         (rid_to_yy): Add RID_THREAD.
7178         * tree.h (DECL_THREAD_LOCAL): New.
7179         (struct tree_decl): Add thread_local_flag.
7180         * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
7181         * tree.c (staticp): TLS variables are not static.
7183         * target-def.h (TARGET_HAVE_TLS): New.
7184         * target.h (have_tls): New.
7185         * output.h (SECTION_TLS): New.
7186         * varasm.c (assemble_variable): TLS variables can't be common for now.
7187         (default_section_type_flags): Handle .tdata and .tbss.
7188         (default_elf_asm_named_section): Handle SECTION_TLS.
7189         (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
7191         * flags.h (flag_tls_default): Declare.
7192         * toplev.c (flag_tls_default): Define.
7193         (display_help): Display help for it.
7194         (decode_f_option): Set it.
7196         * doc/extend.texi (Thread-Local): New node describing language-level
7197         thread-local storage.
7198         * doc/invoke.texi (-ftls-model): Document.
7200         * fixinc/inclhack.def (thread_keyword): New.
7201         * fixinc/fixincl.x: Rebuild.
7203 2002-05-21  Jeffrey A Law  <law@redhat.com>
7205         * optabs.c (expand_binop): For double-word integer multiplies,
7206         do not compute intermediate results into something that is
7207         not a register (such as a SUBREG or MEM).
7209         * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
7210         (ix86_sched_reorder): Make sure to initialize scheduling
7211         data even when there's only one insn in the ready queue.
7213 2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>
7215         * genautomata.c (reserv_sets_hash_value): Fix a typo.
7217 2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>
7219         * genautomata.c (reserv_sets_hash_value): Define hash_value as
7220         set_el_t.  Transform the hash value into unsigned.
7221         (output_cycle_reservs): Fix bug with output of repeated `nothing'.
7222         (transform_3): Add code to process `(A,B)+(D,E)'.
7224 2002-05-21  NIIBE Yutaka  <gniibe@m17n.org>
7226         * reload1.c (do_output_reload): Run delete_output_reload
7227         only if optimizing.
7229 2002-05-21  Roger Sayle  <roger@eyesopen.com>
7231         PR middle-end/6600
7232         * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
7233         larger than INTEGER_CST.  (store_by_pieces_1): Use it here...
7234         (can_store_by_pieces): ... and here to limit the largest mode used.
7235         Add a comment to document this function.
7237 2002-05-21  Richard Henderson  <rth@redhat.com>
7239         * flow.c (life_analysis): Fix test for deleted label.
7241 2002-05-21  Neil Booth  <neil@daikokuya.demon.co.uk>
7243         * doc/tm.texi: Fix typo.
7245 2002-05-21  Zack Weinberg  <zack@codesourcery.com>
7247         * c-common.c (c_common_init): Set options->unsigned_char from
7248         flag_signed_char.
7249         (cb_register_builtins): Define __STRICT_ANSI__ and
7250         __CHAR_UNSIGNED__ here...
7251         * cppinit.c (init_builtins): Not here.
7252         (cpp_create_reader): unsigned_char option defaults to 0, not
7253         !DEFAULT_SIGNED_CHAR.
7254         (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
7255         and -funsigned-char.
7257         * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
7258         * cpphash.c (_cpp_init_hashtable): Don't set it.
7259         * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
7260         directly.  Clarify comment.
7262 2002-05-21  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7264         * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to
7265         neighbouring basic blocks.  Use ENTRY_BLOCK_PTR->next_bb instead of
7266         BASIC_BLOCK (0).  Use EXIT_BLOCK_PTR->prev_bb instead of
7267         BASIC_BLOCK (n_basic_blocks - 1).
7268         * cfganal.c (can_fallthru, flow_call_edges_add,
7269         flow_preorder_transversal_compute): Too.
7270         * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
7271         find_sub_basic_blocks): Too.
7272         * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too.
7273         * cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
7274         fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too.
7275         * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too.
7276         * combine.c (this_basic_block): Type changed to basic_block.
7277         (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
7278         nonzero_bits, num_sign_bit_copies, get_last_value_validate,
7279         get_last_value, distribute_notes, distribute_links): Too.
7280         * final.c (compute_alignments): Too.
7281         * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too.
7282         * function.c (thread_prologue_and_epilogue_insns): Too.
7283         * gcse.c (compute_code_hoist_vbeinout): Too.
7284         * global.c (build_insn_chain): Too.
7285         * ifcvt.c (find_if_block, find_cond_trap): Too.
7286         * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too.
7287         * regmove.c (regmove_optimize): Too.
7288         * resource.c (find_basic_block): Too.
7289         * sched-ebb.c (schedule_ebbs): Too.
7290         * ssa-dce.c (find_control_dependence, find_pdom): Too.
7292 2002-05-21  Andreas Jaeger  <aj@suse.de>
7294         * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
7296 2002-05-21  Richard Henderson  <rth@redhat.com>
7298         * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
7299         unspec names, not numbers.
7301 2002-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
7303         * doc/sourcebuild.texi: Mention snapshot-README and
7304         snapshot-index.html as needing updating for new front ends.
7306 2002-05-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7308         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
7309         disabling checking, and avoid multiple evaluation of RTX.
7311 2002-05-21  Richard Earnshaw  <rearnsha@arm.com>
7313         * bitmap.c (bitmap_find_bit): Return early if we have the correct
7314         element cached.
7316 Tue May 21 10:51:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
7318         * profile.c (gen_edge_profiler):  Set alias set before the memory is
7319         used.
7321 2002-05-20  David S. Miller  <davem@redhat.com>
7323         * cselib.c (max_value_regs): New.
7324         (cselib_lookup, cselib_invalidate_regno): Initialize it when
7325         adding new entries to the REG_VALUES table and we are dealing with
7326         a hard register.
7327         (clear_table): Initialize it.
7328         (cselib_invalidate_regno): Use it to determine which hard
7329         registers to scan when mode is not VOIDmode.
7331 2002-05-20  Duraid Madina   <duraid@fl.net.au>
7333         * tradcpp.c (fixup_newlines): Use old-style function header.
7335 2002-05-20  Krister Walfridsson  <cato@df.lth.se>
7337         * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
7339 2002-05-20  H.J. Lu  (hjl@gnu.org)
7341         Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
7343         * config/mips/mips.h (DFMODE_NAN): Defined.
7344         (SFMODE_NAN): Likewise.
7346 2002-05-20  Dale Johannesen  <dalej@apple.com>
7348         * combine.c (cant_combine_insn_p):  Back out my
7349         previous patch.
7351 2002-05-20  Kazu Hirata  <kazu@cs.umass.edu>
7353         * params.c: Fix formatting.
7354         * params.h: Likewise.
7355         * predict.c: Likewise.
7356         * prefix.c: Likewise.
7357         * print-rtl.c: Likewise.
7358         * print-tree.c: Likewise.
7359         * profile.c: Likewise.
7361 2002-05-20  H.J. Lu  (hjl@gnu.org)
7363         * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
7365 2002-05-20  Nick Clifton  <nickc@cambridge.redhat.com>
7367         * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
7368         switches straight on to the assembler, do not abbreviate them.
7369         * config/arm/elf.h (ASM_SPEC): As above.
7370         * config/arm/semi.h (ASM_SPEC): As above.
7371         * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
7372         * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
7373         -mcpu=xscale on to the assembler by default.
7374         * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
7376 2002-05-20  Richard Henderson  <rth@redhat.com>
7378         * cse.c (canon_hash): Reorder do_not_record test.  Always
7379         allow pic_offset_table_rtx.
7381 2002-05-19  Toon Moene  <toon@moene.indiv.nluug.nl>
7383         * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
7384         (expand_binop): Ditto (3 times).
7386 2002-05-19  Mark Mitchell  <mitchell@doubledemon.codesourcery.com>
7388         * Makefile.in (distclean): Remove QMTest stuff.
7389         (QMTEST_PATH): New variable.
7390         (QMTESTFLAGS): Likewise.
7391         (QMTESTRUNFLAGS): Likewise.
7392         (QMTEST): Likewise.
7393         (QMTEST_GPP_TESTS): Likewise.
7394         (QMTEST_DIR): Likewise.
7395         (QMTEST_DIR/context): New target.
7396         (qmtest-g++): Likeise.
7397         (qmtest-gui): Likewise.
7398         (QMTEST_DIR/gpp-expected.qmr): Likewise.
7400 2002-05-19  Aldy Hernandez  <aldyh@redhat.com>
7402         * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
7403         an altivec register if TARGET_ALTIVEC.
7405         * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
7406         to ALTIVEC_VECTOR_MODE.
7407         (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
7408         (rs6000_va_arg): Vectors may go in registers if they are not
7409         altivec vectors.
7411 2002-05-19  Kazu Hirata  <kazu@cs.umass.edu>
7413         * protoize.c: Fix formatting.
7415 2002-05-19  Richard Henderson  <rth@redhat.com>
7417         * gensupport.c (init_include_reader): Merge into ...
7418         (process_include): ... here.  Simplify composite path creation.
7419         Plug memory leaks.  Fix file/line number tracking.  Do not
7420         process_define_cond_exec.  Return void.
7421         (process_rtx): Don't check process_include return value.
7423 2002-05-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7425         * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
7426         fields.
7427         (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
7428         traversing basic block chain.
7429         (create_basic_block_structure, create_basic_block): Declaration changed.
7430         (link_block, unlink_block): Declare.
7431         * cfg.c (entry_exit_blocks): Initialize new fields.
7432         (link_block, unlink_block): New.
7433         (expunge_block_nocompact): Unlink basic block.
7434         (dump_flow_info): Print prev_bb/next_bb fields.
7435         * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
7436         * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
7437         * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
7438         * cfgrtl.c (create_basic_block_structure, create_basic_block,
7439         split_block, force_nonfallthru_and_redirect, split_edge): Modified.
7440         (verify_flow_info): Check that list agrees with numbering.
7442 2002-05-19  Neil Booth  <neil@daikokuya.demon.co.uk>
7444         * c-common.c (preprocessing_asm): New macro.
7445         * c-lex.h (builtin_define, builtin_assert): Use pfile.
7446 doc:
7447         * tm.texi: Update.
7448 config/alpha:
7449         * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
7450         (CPP_SPEC): Simplify.
7451         (TARGET_CPU_CPP_BUILTINS): Update.
7452         * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
7453         (CPP_SPEC): Simplify.
7454         * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
7455         (TARGET_OS_CPP_BUILTINS): Update.
7456         * osf.h (CPP_XFLOAT_SPEC): Kill.
7457         (TARGET_OS_CPP_BUILTINS): Update.
7458         (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
7459         * osf5.h (CPP_XFLOAT_SPEC): Kill.
7460         * vms.h (CPP_SUBTARGET_SPEC): Kill.
7461         (TARGET_OS_CPP_BUILTINS): Update.
7463 2002-05-19  Richard Henderson  <rth@redhat.com>
7465         * varasm.c (default_binds_local_p): Fix typo.
7467 2002-05-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7469         * config/avr/avr.c (machine_dependent_reorg): Sign extend the
7470         CONST_INT operand to the correct mode after adding 1 to it.
7472 2002-05-19  Mark Mitchell  <mark@codesourcery.com>
7474         * config.gcc (powerpc-wrs-windiss*): New target.
7476 2002-05-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7478         * config/rs6000/rs6000.md (ashrdi3_no_power): New.
7479         (ashrdi3): Use it.
7481 2002-05-18  Mark Mitchell  <mark@codesourcery.com>
7483         * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
7484         alphasort.
7485         * config.in: Regenerated.
7486         * configure: Regenerated.
7488 2002-05-19  Richard Henderson  <rth@redhat.com>
7490         * target-def.h (TARGET_BINDS_LOCAL_P): New.
7491         * target.h (struct gcc_target): Move boolean fields to the end.
7492         Add binds_local_p.
7493         * varasm.c (default_binds_local_p): New.
7494         * output.h: Declare it.
7496         * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
7497         * config/cris/cris.c (cris_encode_section_info): Likewise.
7498         * config/i386/i386.c (i386_encode_section_info): Likewise.
7499         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
7500         * config/sh/sh.c (sh_encode_section_info): Likewise.
7502         * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
7503         (TARGET_BINDS_LOCAL_P): New.
7505 2002-05-19  Richard Henderson  <rth@redhat.com>
7507         * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
7508         FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
7509         MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
7511         * toplev.c (display_help): Kill -a -ax help.
7513         * config/1750a/1750a.h, config/alpha/alpha.h,
7514         config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
7515         config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
7516         config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
7517         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
7519         * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
7520         * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
7522         * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
7523         (ix86_output_function_block_profiler): Kill.
7524         * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
7525         (m68hc11_function_block_profiler): Kill.
7526         * config/m68hc11/m68hc11-protos.h: Update.
7527         * config/m88k/m88k.c (output_block_profiler): Kill.
7528         (output_function_block_profiler): Kill.
7529         * config/m88k/m88k-protos.h: Update.
7531 2002-05-19  Richard Henderson  <rth@redhat.com>
7533         * system.h (STRIP_NAME_ENCODING): Poison it.
7534         * output.h (STRIP_NAME_ENCODING): Remove.
7535         (default_strip_name_encoding): Declare.
7536         * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
7537         * target.h (strip_name_encoding): New.
7538         * varasm.c (default_strip_name_encoding): New.
7540         * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
7541         config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
7542         config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
7543         config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
7544         config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
7545         config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
7546         config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
7547         config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
7548         config/v850/v850.h: Use the hook, not the macro.
7550         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
7551         config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
7552         config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
7553         config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
7554         config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
7555         config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
7556         config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
7557         config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
7558         config/v850/v850.c, config/v850/v850.h:
7559         Move STRIP_NAME_ENCODING to out-of-line function and add
7560         TARGET_STRIP_NAME_ENCODING.
7562         * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
7563         config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
7564         with TARGET_STRIP_NAME_ENCODING referencing existing function;
7565         make function static.
7567         * xcoffout.c: Include target.h
7568         * Makefile.in (xcoffout.o): Update.
7570         * config/avr/avr.c (avr_encode_section_info): Correct prototype.
7571         * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
7572         * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
7573         reloc argument unused.
7574         * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
7576         * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
7577         STRIP_NAME_ENCODING docs.
7579 2002-05-19  Andreas Jaeger  <aj@suse.de>
7581         * gengenrtl.c: Add prototype for excluded_rtx.
7583         * real.h: Add prototype for exact_real_truncate.
7585 2002-05-18  Richard Henderson  <rth@redhat.com>
7587         * system.h (ENCODE_SECTION_INFO): Poison it.
7588         * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
7589         * target.h (encode_section_info): New.
7590         * varasm.c (make_decl_rtl, output_constant_def): Use it.
7591         * hooks.c (hook_tree_int_void): New.
7592         * hooks.h: Declare it.
7594         * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
7595         config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
7596         config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
7597         config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
7598         config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
7599         config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
7600         config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
7601         config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
7602         config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
7603         config/mcore/mcore-protos.h, config/mcore/mcore.c,
7604         config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
7605         config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
7606         config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
7607         config/stormy16/stormy16.c, config/stormy16/stormy16.h:
7608         Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
7609         referencing existing function.  Make function static.
7611         * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
7612         config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
7613         config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
7614         config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
7615         config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
7616         config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
7617         config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
7618         config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
7619         config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
7620         config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
7621         config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
7622         config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
7623         config/xtensa/xtensa.c, config/xtensa/xtensa.h:
7624         Move ENCODE_SECTION_INFO to out-of-line function and add
7625         TARGET_ENCODE_SECTION_INFO.
7627         * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
7628         (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
7630         * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
7631         from SUBTARGET_*
7632         (switch_to_section): Replace in_rdata case with in_readonly_data.
7634         * config/h8300/h8300.c (h8300_encode_label): Make static.
7635         * config/h8300/h8300-protos.h: Update.
7637         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
7638         from rs6000_encode_section_info; make static.
7639         (rs6000_xcoff_encode_section_info): New.
7641         * config/v850/v850.c (v850_encode_data_area): Make static.
7642         * config/v850/v850-protos.h: Update.
7644         * config/vax/vax.c: Include flags.h.
7645         (vms_select_section): Fix typo.
7647         * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
7648         ENCODE_SECTION_INFO docs.
7650 2002-05-18  Richard Henderson  <rth@redhat.com>
7652         * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
7653         REGISTER_TARGET_PRAGMAS.
7654         * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
7656         * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
7658 2002-05-18  Richard Henderson  <rth@redhat.com>
7660         * system.h (SELECT_RTX_SECTION): Poison.
7661         * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
7662         * target.h (select_rtx_section): New.
7663         * varasm.c (output_constant_pool): Use it.
7664         (default_select_rtx_section, default_elf_select_rtx_section): New.
7665         * output.h: Declare them.
7667         * config/darwin.h (SELECT_RTX_SECTION): Move ...
7668         * config/darwin.c (machopic_select_rtx_section): ... here.
7669         * config/darwin-protos.h: Update.
7671         * config/nextstep.h (SELECT_RTX_SECTION): Move ...
7672         * config/nextstep.c (machopic_select_rtx_section): ... here.
7673         (nextstep_select_section): Rename variable to avoid macro clash.
7674         * config/nextstep-protos.h: Update.
7676         * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
7677         config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
7678         config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
7679         config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
7680         config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
7681         config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
7682         config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
7683         config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
7684         config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
7685         (SELECT_RTX_SECTION): Remove.
7687         * config/darwin.h, config/elfos.h, config/nextstep.h,
7688         config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
7689         config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
7690         config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
7691         config/sparc/lynx.h, config/xtensa/xtensa.c
7692         (TARGET_ASM_SELECT_RTX_SECTION): New.
7694         * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
7695         * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
7696         * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
7697         * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
7698         (ia64_aix_select_rtx_section): New.
7699         * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
7700         redefining.
7701         * config/mips/mips.c (mips_select_rtx_section): Make static.
7702         Support ELF SHF_MERGE features.
7703         * config/mips/mips-protos.h: Update.
7704         * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
7705         * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
7706         (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
7707         make static, fall back to default_elf_select_rtx_section.
7708         * config/rs6000/rs6000-protos.h: Update.
7709         * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
7710         * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
7711         * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
7712         * config/romp/romp.c (romp_select_rtx_section): New.
7713         * config/s390/s390.c (s390_select_rtx_section): New.
7714         * config/xtensa/xtensa.c: Include output.h.  Shuffle local function
7715         declarations before target macro definition.
7716         (xtensa_emit_call): Use static buffer.
7717         (xtensa_select_rtx_section): New.
7718         * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
7719         (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
7720         (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
7722         * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
7723         SELECT_RTX_SECTION docs.
7725 Sun May 19 00:24:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
7727         * i386.md (movsi/movdi): Fix template.
7728         (sse2 patterns): Set attributes consistently.
7730         * i386.md (pushqi2, ashrqi_*): Fix constraint.
7732 2002-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>
7734         * optabs.c (complex_part_zero_p): New.
7735         * (expand_cmplxdiv_straight): Use it.
7736         * (expand_cmplxdiv_wide): Ditto.
7737         * (expand_binop): Ditto.
7739 2002-05-18  Richard Henderson  <rth@redhat.com>
7741         * final.c (HAVE_READONLY_DATA_SECTION): New.
7742         (shorten_branches): Use it instead of ifdefs.
7743         * varasm.c (enum in_section): Add in_readonly_data.
7744         (text_section, data_section): Tidy.
7745         (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
7747         * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
7748         config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
7749         (READONLY_DATA_SECTION): Don't undef.
7751         * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
7752         config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
7753         config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
7755         * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
7756         config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
7757         config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
7758         config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
7760         * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
7761         config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
7762         config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
7763         config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
7764         config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
7765         config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
7766         config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
7767         config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
7768         CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
7770         * config/elfos.h, config/netware.h, config/1750a/1750a.h,
7771         config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
7772         config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
7773         config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
7774         config/pa/pa64-hpux.h, config/sparc/litecoff.h
7775         (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
7777         * config/elfos.h, config/netware.h, config/svr3.h,
7778         config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
7779         config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
7780         config/h8300/h8300.h, config/i386/i386-interix.h,
7781         config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
7782         config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
7784         * config/elfos.h, config/netware.h, config/svr3.h,
7785         config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
7786         config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
7787         config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
7788         config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
7790         * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
7791         config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
7792         config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
7793         config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
7794         config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
7795         config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
7796         config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
7797         config/rs6000/sysv4.h, config/v850/v850.h
7798         (EXTRA_SECTIONS): Remove in_const/in_rdata.
7799         (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
7801         * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
7802         config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
7803         config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
7804         config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
7805         * config/alpha/alpha.c (alpha_start_function): Likewise.
7806         (alpha_write_linkage): Likewise.
7807         * config/m32r/m32r.c (m32r_select_section): Likewise.
7808         * config/m88k/m88k.c (m88k_select_section): Likewise.
7809         * config/mips/mips.c (mips_select_rtx_section): Likewise.
7810         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
7811         (rs6000_elf_select_section): Likewise.
7812         * config/v850/v850.c (v850_select_section): Likewise.
7814         * config/1750a/1750a.h, config/i860/sysv3.h
7815         (READONLY_DATA_SECTION_ASM_OP): New.
7816         READONLY_DATA_SECTION_ASM_OP.
7817         * config/i386/interix.c, config/i386/winnt.c
7818         (i386_pe_unique_section): Always use .rdata prefix.
7819         * config/pa/som.h (readonly_data): Always switch to read-only section.
7820         (READONLY_DATA_SECTION): Predicate on flag_pic.
7821         * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
7822         * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
7823         (READONLY_DATA_SECTION): Update.
7825 2002-05-18  Jason Thorpe  <thorpej@wasabisystems.com>
7827         * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
7828         is used without -Wformat.
7829         * c-common.h (warn_format_zero_length): Declare extern.
7830         * c-decl.c (warn_options): Add "format-zero-length".
7831         * c-format.c (warn_format_zero_length): Declare.
7832         (set_Wformat): Set warn_format_zero_length for -Wformat.
7833         (check_format_info): Only warn about zero-length formats if
7834         warn_format_zero_length is true.  Include the format type
7835         name in the warning message.
7836         * doc/invoke.texi: Document -Wformat-zero-length.
7837         * testsuite/gcc.dg/format/zero-length-1.c: New test.
7839 2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
7841         * timevar.c: Fix formatting.
7842         * tlink.c: Likewise.
7843         * toplev.c: Likewise.
7844         * tree-dump.c: Likewise.
7845         * tree-inline.c: Likewise.
7847 2002-05-18  Neil Booth  <neil@daikokuya.demon.co.uk>
7849         * cppinit.c (cpp_post_options): If preprocessed, turn off
7850         traditional.  If traditional, turn off column numbers.
7851         * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
7852         * cpptrad.c (handle_newline): Update line_base.
7853         (skip_comment): Handle -Wcomment.
7855 2002-05-17  Zack Weinberg  <zack@codesourcery.com>
7857         * cppinit.c (struct builtin): Remove unused fields.
7858         (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
7859         (operator_array): New - was second half of builtin_array.
7860         (init_builtins): Simplify loop over builtin_array/operator_array.
7862 2002-05-18  Neil Booth  <neil@daikokuya.demon.co.uk>
7864         * defaults.h (UNIQUE_SECTION): Remove.
7865         * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
7867 2002-05-17  Richard Henderson  <rth@redhat.com>
7869         * expr.c (init_expr_once): Don't use start/end_sequence.
7870         Use rtx_alloc instead of emit_insn.
7871         * toplev.c (lang_dependent_init): Run init_expr_once here ...
7872         (lang_independent_init): ... not here.
7874 2002-05-17  Jason Thorpe  <thorpej@wasabisystems.com>
7876         * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
7878 2002-05-17  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7880         * config/avr/avr.c (avr_regs_to_save): New function.  Also check
7881         for fixed registers, possibly used for global register variables.
7882         (initial_elimination_offset, avr_output_function_prologue,
7883         avr_output_function_epilogue):  Move common code to avr_regs_to_save.
7885 2002-05-17  Neil Booth  <neil@daikokuya.demon.co.uk>
7887         * Makefile.in: Update for cpptrad.c.
7888         * cpphash.h (struct cpp_buffer): New members for buffer
7889         overlays.
7890         (struct cpp_reader): New members for traditional output.
7891         (_cpp_read_logical_line, _cpp_overlay_buffer): New.
7892         * cppinit.c (cpp_create_reader): Set trad_line.
7893         (cpp_destroy): Free trad_out_base if used.
7894         (cpp_read_main_file): Overlay an empty buffer if traditional.
7895         (cpp_finish_options): Don't do builtins.
7896         (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
7897         (cpp_handle_option): Handle it.
7898         * cpplex.c (continue_after_nul): New.
7899         (_cpp_lex_direct): Use handle_nul.
7900         * cpplib.h (struct cpp_options): New traditional option.
7901         * cpptrad.c: New file.
7903 2002-05-17  Neil Booth  <neil@daikokuya.demon.co.uk>
7905         * c-common.c (c_common_init_options): Use C89 for Objective-C,
7906         and set the options flag.
7907         * cppinit.c (lang_flags): Remove objc.
7908         (lang_defaults): Remove OBJC and OBJCXX.
7909         (set_lang): Update.
7910         (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
7911         (cpp_handle_option): Remove -+ and -lang-objc++.
7912         For ObjC, just set a flag.
7913         (print_help): Update.
7914         * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
7916 2002-05-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7918         * doc/install.texi (Specific, mips-sgi-irix6): Document need to
7919         bootstrap with -mips3.
7921 2002-05-17  Kazu Hirata  <kazu@cs.umass.edu>
7923         * final.c: Fix formatting.
7924         * fix-header.c: Likewise.
7925         * flow.c: Likewise.
7926         * fold-const.c: Likewise.
7927         * function.c: Likewise.
7929 2002-05-17  David S. Miller  <davem@redhat.com>
7931         PR c/6689, PR optimization/6615
7932         * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
7933         and make it a pointer to rtx.  Update comments.
7934         (update_equiv_regs): When scanning for equivalences, record
7935         address of SET_SRC (set) in reg_equiv[].src_p.  Dereference
7936         it while making the equiv replacements.
7938 2002-05-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7940         * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
7942 2002-05-17  kaz Kojima  <kkojima@rr.iij4u.or.jp>
7944         * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
7945         when encoding visibility into SYMBOL_REF_FLAG.
7947 2002-05-17  Richard Sandiford  <rsandifo@redhat.com>
7949         * expr.c (force_operand): Fix reversed move.
7951 2002-05-17  Kurt Wall <kwall@kurtwerks.com>
7953         * doc/install.texi (Testing): Mention two common DejaGnu warnings
7954         that can be ignored.
7956 2002-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7958         * doc/install.texi (Final install): Recommend to install into a
7959         "clean" target directory.
7961 2002-05-17  Richard Henderson  <rth@redhat.com>
7963         * config/ia64/ia64.md: Use braced strings instead of quoted strings
7964         for code blocks.  Tidy whitespace.
7966 2002-05-17  Richard Henderson  <rth@redhat.com>
7968         * hooks.c (hook_tree_bool_false): New.
7969         * hooks.h: Declare it.
7970         * target-def.h (TARGET_ASM_SELECT_SECTION): New.
7971         (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
7972         * target.h (select_section, unique_section): New.
7973         (in_small_data_p): New.
7974         * varasm.c (resolve_unique_section): Use hooks instead of macros.
7975         (variable_section, output_constant_def_contents): Likewise.
7976         (default_select_section, default_unique_section): New.
7977         (categorize_decl_for_section, default_elf_select_section): New.
7978         * output.h: Declare them.
7980         * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
7981         (TARGET_ASM_SELECT_SECTION): New.
7982         (SELECT_SECTION): Move ...
7983         * config/darwin.c (machopic_select_section): ... here.
7984         * config/darwin-protos.h: Update.
7986         * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
7987         (SELECT_SECTION): Move ...
7988         * config/nextstep.c (nextstep_select_section): ... here.
7989         * config/nextstep-protos.h: Update.
7991         * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
7992         (TARGET_ASM_SELECT_SECTION): New.
7993         * config/svr3.h (SELECT_SECTION): Remove.
7995         * config/alpha/alpha.c (unicosmk_unique_section): Make static.
7996         (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
7997         (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
7998         (alpha_encode_section_info): Use it.
7999         * config/alpha/alpha-protos.h: Update.
8000         * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
8001         (SELECT_SECTION, UNIQUE_SECTION): Remove.
8002         (TARGET_ASM_SELECT_SECTION): New.
8003         * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
8005         * config/arm/pe.h (UNIQUE_SECTION): Remove.
8006         (TARGET_ASM_UNIQUE_SECTION): New.
8008         * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
8009         (avr_unique_section): Rename from unique_section; make static.
8010         * config/avr/avr-protos.h: Update.
8011         * config/avr/avr.h (UNIQUE_SECTION): Remove.
8013         * config/c4x/c4x.h (SELECT_SECTION): Remove.
8015         * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
8016         (TARGET_ASM_UNIQUE_SECTION): New.
8017         * config/i386/i386-interix.h: Likewise.
8018         * config/i386/win32.h: Likewise.
8019         * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
8020         * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
8021         * config/i386/sco5.h (SELECT_SECTION): Remove.
8022         (TARGET_ASM_SELECT_SECTION): New.
8023         * config/i386/svr3gas.h (SELECT_SECTION): Remove.
8025         * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
8026         instead of SELECT_SECTION.
8027         * config/m68k/dpx2.h: Likewise.
8028         * config/rs6000/lynx.h: Likewise.
8030         * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
8031         (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
8032         * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
8033         (ia64_in_small_data_p): New.
8034         (ia64_encode_section_info): Use it.  Reorganize overlarge conditional.
8035         (ia64_aix_select_section, ia64_aix_unique_section): New.
8036         * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
8037         (SELECT_SECTION, UNIQUE_SECTION): Remove.
8039         * config/m32r/m32r.h (SELECT_SECTION): Remove.
8040         (TARGET_ASM_SELECT_SECTION): New.
8041         * config/m32r/m32r.c (m32r_select_section): Take align argument.
8042         * config/m32r/m32r-protos.h: Update.
8044         * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
8045         (SELECT_SECTION): Move ...
8046         * config/m88k/m88k.c (m88k_select_section): ... here.
8048         * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
8049         * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
8050         * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
8051         (mcore_unique_section): Make static.
8052         * config/mcore/mcore-protos.h: Update.
8054         * config/mips/elf.h (UNIQUE_SECTION): Remove.
8055         (TARGET_ASM_UNIQUE_SECTION): New.
8056         * config/mips/elf64.h: Likewise.
8057         * config/mips/iris6gld.h: Likewise.
8058         * config/mips/linux.h: Likewise.
8059         * config/mips/mips-protos.h: Update.
8060         * config/mips/mips.c (mips_select_section): Add align argument.
8061         * config/mips/mips.h (SELECT_SECTION): Remove.
8062         (TARGET_ASM_SELECT_SECTION): New.
8064         * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
8065         * config/mmix/mmix.c (mmix_select_section): Remove.
8066         (mmix_unique_section): Remove.
8067         * config/mmix/mmix-protos.h: Update.
8069         * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
8070         (SELECT_SECTION): Move ...
8071         * config/pa/pa.c (pa_select_section): ... here.
8072         * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
8074         * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
8075         from rs6000_select_section and make static.
8076         (rs6000_elf_unique_section): Similarly.
8077         (rs6000_xcoff_select_section): From xcoff.h.
8078         (rs6000_xcoff_unique_section): Likewise.
8079         * config/rs6000/rs6000-protos.h: Update.
8080         * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
8081         (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
8082         * config/rs6000/xcoff.h: Likewise.
8084         * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
8085         (SELECT_SECTION): Move ...
8086         * config/sparc/sparc.c (sparc_aout_select_section): ... here.
8088         * config/v850/v850.h (SELECT_SECTION): Move ...
8089         * config/v850/v850.c (v850_select_section): ... here.
8090         (TARGET_ASM_SELECT_SECTION): New.
8092         * config/vax/vms.h (SELECT_SECTION): Move ...
8093         * config/vax/vax.c (vms_select_section): ... here.
8094         (TARGET_ASM_SELECT_SECTION): New.
8096         * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
8097         for the target hooks.
8099 2002-05-17  Nick Clifton  <nickc@cambridge.redhat.com>
8101         * config/arm/arm.c (emit_multi_reg_push): Do not set
8102         RTX_FRAME_RELATED_P on the SEQUENCE.
8104 2002-05-16  Richard Henderson  <rth@redhat.com>
8106         * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
8107         splitting.  Use split_all_insns; update_life_info_in_dirty_blocks.
8109 2002-05-16  Richard Henderson  <rth@redhat.com>
8111         * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
8113         * config/ia64/ia64.c (saveable_obstack): Do not declare.
8115 2002-05-16  Richard Henderson  <rth@redhat.com>
8117         * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
8118         cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
8119         conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
8120         gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
8121         local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
8122         recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
8123         reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
8124         sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
8125         Revert "Basic block renumbering removal", and two followup patches.
8127 2002-05-16  Jason Thorpe  <thorpej@wasabisystems.com>
8129         * lcm.c (optimize_mode_switching): Revert previous change.
8131 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8133         * sched-rgn.c (schedule_insns): Initialize large_region_blocks
8134         with only extant block numbers.
8136 2002-05-16  Jason Thorpe  <thorpej@wasabisystems.com>
8138         * lcm.c (optimize_mode_switching): Fix typo.
8140 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8142         * flow.c (calculate_global_regs_live): Queue blocks in program order.
8144 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8146         * doc/install.texi (Configuration): Document PWDCMD.
8148 2002-05-16  Dale Johannesen  <dalej@apple.com>
8150         * combine.c (cant_combine_insn_p):  Reenable combinations
8151         involving hard regs unless CLASS_LIKELY_SPILLED_P.
8153 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
8155         * c-common.c (cb_register_builtins): Handle more built-ins
8156         here rather than in gcc.c specs.
8157         * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
8158         (cpp_options): Pass -O flags even when only preprocessing.
8159         * toplev.c (set_fast_math_flags): New prototype.
8160         (fast_math_flags_set_p): New.
8161         (set_no_fast_math_flags): Remove.
8162         (decode_f_option): Update.
8163         * toplev.h (set_fast_math_flags): Update.
8164         (fast_math_flags_set_p): New.
8165         (set_no_fast_math_flags): Remove.
8166 config:
8167         * c4x/c4x.c (c4x_override_options): Update.
8169 2002-05-16  Zack Weinberg  <zack@codesourcery.com>
8171         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
8172         Default-define here.
8173         (builtin_define_with_value): Can now wrap the expansion in
8174         quotation marks if such is wanted.
8175         (cb_register_builtins): Update calls to builtin_define_with_value.
8176         Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
8177         here.
8178         (c_common_init): Set options->stdc_0_in_system_headers.
8179         * c-lex.h: Update prototype of builtin_define_with_value.
8180         * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
8181         and REGISTER_PREFIX.
8183         * cppinit.c (VERS, ULP, C, X): Kill.
8184         (builtin_array): Remove entries for __VERSION__,
8185         __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
8186         __HAVE_BUILTIN_SETJMP__.  Make __STDC__ always a builtin, not
8187         a constant.
8188         (init_builtins): Kill off a bunch of now-dead code.
8189         (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
8190         -fno-leading-underscore.
8191         (cpp_handle_option): Remove code to set user_label_prefix.
8192         (cpp_post_options): Likewise.
8194         * cpplib.h (struct cpp_options): Remove user_label_prefix.
8195         (stdc_0_in_system_headers): New.
8196         * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
8197         stdc_0_in_system_headers) too to decide the value of __STDC__.
8199         * tradcpp.c (user_label_prefix): Kill.
8200         (main): Remove code handling -f(no-)leading-underscore.
8201         (initialize_builtins): Don't define __REGISTER_PREFIX__
8202         or __USER_LABEL_PREFIX__.
8203         (install_value): Wrap compound statement in dummy loop so the
8204         macro works properly in an if statement.
8207 2002-05-16  Janis Johnson  <janis187@us.ibm.com>
8209         * loop.h (struct loop_info): Add member has_prefetch.
8210         * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
8211         (prescan_loop): Initialize has_prefetch.
8212         (struct prefetch_info): Change prefetch_in_loop and
8213         prefetch_before_loop from bit fields to ints.
8214         (emit_prefetch_instructions): Several small fixes.
8215         (check_dbra_loop): Don't reverse loop that uses prefetch.
8217 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8219         * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
8220         * configure.in: Likewise.
8221         * fixinc/check.tpl: Likewise.
8222         * fixinc/fixinc.dgux: Likewise.
8223         * fixinc/fixinc.svr4: Likewise.
8224         * fixinc/fixinc.winnt: Likewise.
8225         * fixinc/fixincl.sh: Likewise.
8226         * fixproto: Likewise.
8227         * configure: Regenerate.
8229 2002-05-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8231         Basic block renumbering removal:
8232         * basic_block.h (struct basic_block_def): Renamed index to sindex,
8233         added prev_bb and next_bb fields.
8234         (n_basic_blocks): Renamed to num_basic_blocks.
8235         (last_basic_block): New, index of last basic block.
8236         (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
8237         traversing basic block chain.
8238         (BLOCK_NUM): index -> sindex.
8239         (create_basic_block_structure, create_basic_block): Declaration changed.
8240         (debug_num2bb): Declare.
8241         (expunge_block_nocompact): Declaration removed.
8242         (link_block, unlink_block, compact_blocks): Declare.
8243         * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
8244         * cfg.c (entry_exit_blocks): Initialize new fields.
8245         (clear_edges, alloc_block, expunge_block, cached_make_edge,
8246         redirect_edge_pred, dump_flow_info, dump_edge_info,
8247         alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
8248         free_aux_for_edges): Modified.
8249         (link_block, unlink_block, compact_blocks, debug_num2bb): New.
8250         (expunge_block_nocompact): Removed.
8251         * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
8252         find_unreachable_blocks, create_edge_list, print_edge_list,
8253         verify_edge_list, flow_edge_list_print, remove_fake_successors,
8254         remove_fake_edges, flow_reverse_top_sort_order_compute,
8255         flow_depth_first_order_compute, flow_preorder_transversal_compute,
8256         flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
8257         flow_dfs_compute_reverse_execute): Modified.
8258         * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
8259         find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
8260         Modified.
8261         * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
8262         merge_blocks_move_predecessor_nojumps,
8263         merge_blocks_move_successor_nojumps, merge_blocks,
8264         outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
8265         try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
8266         * cfglayout.c (skip_insns_after_block, label_for_bb,
8267         record_effective_endpoints, scope_to_insns_finalize,
8268         fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
8269         fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
8270         cfg_layout_duplicate_bb): Modified.
8271         * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
8272         flow_loop_entry_edges_find, flow_loop_exit_edges_find,
8273         flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
8274         flow_loops_find, flow_loop_outside_edge_p): Modified.
8275         * cfgrtl.c (create_basic_block_structure, create_basic_block,
8276         flow_delete_block, compute_bb_for_insn, split_block,
8277         try_redirect_by_replacing_jump, redirect_edge_and_branch,
8278         force_nonfallthru_and_redirect, tidy_fallthru_edge,
8279         back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
8280         commit_edge_insertions, commit_edge_insertions_watch_calls,
8281         dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
8282         purge_all_dead_edges): Modified.
8283         * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
8284         try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
8285         get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
8286         Modified.
8287         * conflict.c (conflict_graph_compute): Modified.
8288         * df.c (FOR_ALL_BBS): Removed.
8289         (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
8290         df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
8291         df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
8292         * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
8293         * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
8294         calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
8295         * final.c (compute_alignments, final_scan_insn): Modified.
8296         * flow.c (verify_local_live_at_start, update_life_info,
8297         update_life_info_in_dirty_blocks, free_basic_block_vars,
8298         delete_noop_moves, calculate_global_regs_live,
8299         initialize_uninitialized_subregs, allocate_bb_life_data,
8300         regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
8301         mark_used_reg, count_or_remove_death_notes): Modified.
8302         * function.c (thread_prologue_and_epilogue_insns): Modified.
8303         * gcse.c (struct null_pointer_info): Change typo of current_block
8304         to basic_block.
8305         (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
8306         oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
8307         compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
8308         alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
8309         expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
8310         classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
8311         one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
8312         pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
8313         pre_delete, one_pre_gcse_pass, compute_transpout,
8314         invalidate_nonnull_info, delete_null_pointer_checks_1,
8315         free_code_hoist_mem, compute_code_hoist_vbeinout,
8316         hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
8317         compute_ld_motion_mems, store_ops_ok, find_moveable_store,
8318         compute_store_table, build_store_vectors, insert_insn_start_bb,
8319         insert_store, replace_store_insn, free_store_memory, store_motion):
8320         Modified.
8321         * global.c (global_alloc, global_conflicts, mark_elimination,
8322         build_insn_chain): Modified.
8323         * graph.c (print_rtl_graph_with_bb): Modified.
8324         * haifa-sched.c (sched_init): Modified.
8325         * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
8326         (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
8327         if_convert): Modified.
8328         * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
8329         compute_insert_delete, pre_edge_lcm, compute_available,
8330         compute_farthest, compute_nearerout, compute_rev_insert_delete,
8331         pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
8332         Modified.
8333         * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
8334         * loop.c (loop_dump_aux): Modified.
8335         * predict.c (combine_predictions_for_insn, estimate_probability,
8336         last_basic_block_p, process_note_prediction, process_note_predictions,
8337         note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
8338         expensive_function_p, estimate_bb_frequencies,
8339         compute_function_frequency): Modified.
8340         * print-rtl.c (print_rtx): Modified.
8341         * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
8342         get_exec_counts, compute_branch_probabilities, compute_checksum,
8343         branch_prob, find_spanning_tree): Modified.
8344         * recog.c (split_all_insns, peephole2_optimize): Modified.
8345         * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
8346         convert_regs_1, convert_regs_2, convert_regs): Modified.
8347         * regclass.c (scan_one_insn, regclass): Modified.
8348         * regmove.c (mark_flags_life_zones, regmove_optimize,
8349         combine_stack_adjustments): Modified.
8350         * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
8351         * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
8352         * reorg.c (dbr_schedule): Modified.
8353         * resource.c (find_basic_block, init_resource_info): Modified.
8354         * sbitmap.c (sbitmap_intersection_of_succs,
8355         sbitmap_intersection_of_preds, sbitmap_union_of_succs,
8356         sbitmap_union_of_preds): Modified.
8357         * sched-deps.c (init_dependency_caches): Modified.
8358         * sched-ebb.c (schedule_ebbs): Modified.
8359         * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
8360         find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
8361         * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
8362         * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
8363         ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
8364         ssa_const_prop): Modified.
8365         * ssa-dce.c (set_control_dependent_block_to_edge_map_,
8366         find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
8367         * ssa.c (remove_phi_alternative, find_evaluations,
8368         compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
8369         insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
8370         make_regs_equivalent_over_bad_edges,
8371         make_equivalent_phi_alternatives_equival,
8372         compute_conservative_reg_partition,
8373         coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
8374         rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
8375         Modified.
8377 2002-05-16  Mark Mitchell  <mark@codesourcery.com>
8379         * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
8381 2002-05-16  Nick Clifton  <nickc@cambridge.redhat.com>
8383         * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
8384         SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
8385         (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
8386         calling CONSTANT_POOL_ADDRESS_P.
8387         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
8388         to decide whether to define __arm__ or __thumb.
8389         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
8390         SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
8392 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
8394         * config/arc/arc.h (CPP_PREDEFINES): Remove.
8395         (CPP_SPEC): Update.
8396         (TARGET_CPU_CPP_BUILTINS): New.
8398 2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
8400         * cpphash.h (cpp_macro): Move here, and make expansion a union.
8401         * cppmacro.c (cpp_macro): Remove.
8402         (enter_macro_context, replace_args, warn_of_redefinition,
8403         _cpp_create_definition, cpp_macro_definition): Update.
8405 2002-05-16  Jason Merrill  <jason@redhat.com>
8407         * config/mips/mips.c (mips_output_external): Don't do sdata
8408         optimization for a variable with DECL_COMDAT set.
8410 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
8412         * config/rs6000/altivec.h: Cleanups for tighter typechecking.
8413         Cleanups for accepting modifiers on pointers.
8414         Fix predicate typos.
8415         Allow long pointers as well as int pointers.
8417 2002-05-15  Richard Henderson  <rth@redhat.com>
8419         * varasm.c (merge_weak): Remove special case for extern and common.
8421 2002-05-15  Matt Hiller  <hiller@redhat.com>
8423         * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
8424         XFAILing.
8425         * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
8426         * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
8427         * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
8428         * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
8429         * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
8430         * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
8432 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
8434         * reload1.c (forget_old_reloads_1): Do not use subreg offset.
8436 2002-05-15  Aldy Hernandez  <aldyh@redhat.com>
8438         * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
8439         ("altivec_mfvscr"): Read from VSCR.
8441         Add vscr sets for the following insns: altivec_vctuxs,
8442         altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
8443         altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
8444         altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
8445         altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
8446         altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
8447         altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
8448         altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
8449         altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
8450         altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
8451         altivec_vsum2sws, altivec_vsumsws.
8453         * config/rs6000/rs6000.h: Add VSCR fixed register.
8454         (CALL_REALLY_USED_REGISTERS): Add vscr.
8455         (CALL_USED_REGISTERS): Same.
8456         (FIXED_REGISTERS): Same.
8457         (REG_ALLOC_ORDER): Same.
8458         (reg_class): Add VSCR_REGS.
8459         (REG_CLASS_NAMES): Same.
8460         (REG_CLASS_CONTENTS): Same.
8461         (VSCR_REGNO): New.
8462         (REGISTER_NAMES): Add vscr.
8463         (DEBUG_REGISTER_NAMES): Same.
8464         (ADDITIONAL_REGISTER_NAMES): Same.
8465         (FIRST_PSEUDO_REGISTER): Increment.
8466         (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
8468 2002-05-15  Jakub Jelinek  <jakub@redhat.com>
8470         * fold-const.c (fold): Fix a typo.
8472 2002-05-15  Eric Botcazou  <ebotcazou@multimania.com>
8474         * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
8475         comparison against the highest or lowest integer value before
8476         the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
8477         transformation and that of an unsigned comparison against 0
8478         right after.
8480 2002-05-15  Richard Henderson  <rth@redhat.com>
8482         * varasm.c (merge_weak): Error for any weakening after definition.
8483         Adjust weakening after use warning to catch more cases.
8484         (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
8485         * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
8487 Wed May 15 10:38:27 CEST 2002  Jan Hubicka  <jh@suse.cz>
8489         * invoke.texi (-malign-double): Re-add lost warning.
8491         * i386-protos.h (x86_output_mi_thunk): Declare.
8492         * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
8493         * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
8495         * dwarf2out.c (output_call_frame_info): Do not skip unwind info
8496         when flag_asynchronous_unwind_tables is set.
8498         * flags.h (flag_reorder_functions): Declare.
8499         * function.c (prepare_function_start): Initialize frequnecy.
8500         * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
8501         * Makefile.in (predict.o): Add dependency on target.h and params.h
8502         * defaults.h (HOT_TEXT_SECTION_NAME,
8503         UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
8504         * predict.c (choose_function_section): New function.
8505         (estimate_bb_frequencies): Use it.
8506         * toplev.c (flag_reorder_functions): New global variable.
8507         (lang_independent_options): New.
8508         (parse_options_and_default_flags): Set.
8509         * varasm.c (assemble_start_function): Bypass functdion alignment
8510         for never executed functions.
8511         * invoke.texi (-freorder-blocks, -freorder-functions): Document.
8512         (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
8513         * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
8514         Document.
8516         Thu Jan  3 21:52:09 CET 2002  Jan Hubicka  <jh@suse.cz>
8518         * predict.c: Inlude profile.h
8519         (MIN_COUNT): Rename to MIN_COUNT_FRACTION
8520         (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
8521         Use the information about maximal counter in the program.
8523         Thu Dec 20 22:14:00 CET 2001  Jan Hubicka  <jh@suse.cz>
8525         * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
8526         probably_never_executed_bb_p): New functions.
8527         * cfgcleanup.c (outgoing_edges_match): Use them.
8528         * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
8529         (maybe_hot_bb_p, probably_cold_bb_p,
8530         probably_never_executed_bb_p): New functions.
8532         * function.h (function): Add new field function_frequency.
8533         * predict.c (compute_function_frequency): New function.
8534         (estimate_probability): Call it.
8536 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
8538         PR optimization/5172, optimization/5200
8539         * gcse.c (gcse_main): Disable store_motion.
8541 2002-05-14  Zack Weinberg  <zack@codesourcery.com>
8543         * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
8544         (c_common_nodes_and_builtins): Use it.
8545         (builtin_define_with_value): New function.
8546         (cb_register_builtins): Define __SIZE_TYPE__,
8547         __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
8548         using builtin_define_with_value.  Use consistent notation when
8549         defining __GXX_WEAK__.
8550         (WCHAR_TYPE_SIZE): Don't redefine.
8551         (combine_strings): Don't use WCHAR_TYPE_SIZE.
8553         * cppdefault.h: Don't provide defaults for SIZE_TYPE,
8554         PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
8555         * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
8556         * tradcpp.c (initialize_builtins): Likewise.
8557         * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
8559         * c-lex.h (builtin_define_with_value): Prototype.
8560         * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
8561         NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
8562         * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
8564         * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
8565         config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
8566         config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
8567         config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
8568         config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
8569         config/sparc/linux64.h, config/sparc/netbsd-elf.h,
8570         config/sparc/sol2-bi.h, config/sparc/sparc.h:
8571         Do not define NO_BUILTIN_SIZE_TYPE etc.  Remove all references
8572         to __SIZE_TYPE__ etc from all spec strings. When this makes
8573         extra specs empty, delete them.
8575 2002-05-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8577         * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
8578         for PA8000 or generating dwarf2 call frame information.
8579         (output_call): Remove DO_FRAME_NOTES check from return pointer
8580         optimization.
8581         (following_call): Return 0 when scheduling for PA8000 or generating
8582         dwarf2 call frame information.  Revise comment.
8584 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
8586 config/alpha:
8587         * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
8588         and __IEEE_FP_INEXACT as appropriate.
8589         (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
8590         (CPP_SPEC): Remove ieee defines.
8591         * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
8593 2002-05-14  Richard Henderson  <rth@redhat.com>
8595         * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
8596         (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
8598 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
8600         * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
8601         (CPP_SPEC): Update.
8602         (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
8603         CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
8604         CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
8605         CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
8606         (EXTRA_SPECS): Update.
8607         * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
8608         arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
8609         arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
8610         define TARGET_OS_CPP_BUILTINS if necessary.
8612 2002-05-14  Neil Booth  <neil@daikokuya.demon.co.uk>
8614         * gcc.c (cpp_options): Must pass -m* and -f* options
8615         to the front end even when only preprocessing.
8616         (cc1_options): Remove redundant -lang-c.
8617         * tradcpp.c (main): Ignore -m options.
8618 objc:
8619         * lang-specs.h: Similarly.
8621 2002-05-14  Vladimir Makarov  <vmakarov@redhat.com>
8623         * genautomata.c (transform_3): Add code for transformation
8624         `(A,B,...)+C -> A+C,B,...'.
8626 Tue May 14 12:48:22 CEST 2002  Jan Hubicka  <jh@suse.cz>
8628         * final.c (end_final): Do not output profile_arcs constructor, when
8629         no functions are instrumented.
8631 Tue May 14 12:38:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
8633         * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
8635 2002-05-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8637         * doc/install.texi: Remove special markup originally required for
8638         HTML generation with texi2html.
8640 2002-05-14  Andreas Schwab  <schwab@suse.de>
8642         * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
8643         SELECT_SECTION.
8644         (UNIQUE_SECTION): Define to get small data correctly.
8646         * varasm.c (resolve_unique_section): Add third parameter
8647         flag_function_or_data_sections and use it instead of
8648         flag_function_sections.
8649         (assemble_start_function): Pass flag_function_sections.
8650         (asm_emit_uninitialised): Pass flag_data_sections.
8651         (assemble_variable): Likewise.
8653 2002-05-14  Richard Henderson  <rth@redhat.com>
8655         * config/i386/i386.md: Use define_constants for unspec numbers.
8656         * config/i386/i386.c: Likewise.
8658 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8660         * doc/contrib.texi: Update my entry.
8662 2002-05-13  Mark Mitchell  <mark@codesourcery.com>
8664         * fixinc/inclhack.def (winidss_valist): Limit applicability.
8665         * fixinc/fixincl.x: Regenerated.
8666         * fixinc/tests/base/math.h: Update.
8667         * fixinc/tests/base/testing.h: Likewise.
8669 2002-05-13  Zack Weinberg  <zack@codesourcery.com>
8671         * genattr.c (gen_attr): Don't emit a comma after the last
8672         enumerator.
8674 2002-05-13  Richard Henderson  <rth@redhat.com>
8676         * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
8677         by non-local gotos.
8678         * recog.c (peephole2_optimize): Likewise.
8680 2002-05-13  Andris Pavenis  <pavenis@lanet.lv>
8682         * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
8683         input to O_BINARY.
8685 2002-05-13  Jeffrey A Law  (law@redhat.com)
8687         * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
8688         Update prototype and callers.
8689         (propagate_one_insn): Stack pointer adjustments kill MEMs on
8690         the mem_set_list which reference the stack pointer, as do
8691         calls to constant functions as they may clobber outgoing
8692         argument space.
8694         * i386.c (ia32_multipass_dfa_lookahead): Prototype.
8696         * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
8697         (ia32_multipass_dfa_lookahead): New function.
8699 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8701         * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
8702         (translate_options): Remove 'V'.
8703         (process_command): Similarly.
8704 doc:
8705         * invoke.texi: Remove documentation of 'V'.
8707 2002-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
8709         * config/s390/linux.h: Revert 2002-04-22 changes.
8711 2002-05-13  Scott Marks <SMarks@mobile-mind.com>
8713         * config/fr30/fr30.md: Only allow splits of immediate loads
8714         if the destination is a register.
8716 2002-05-13  Neil Booth  <neil@daikokuya.demon.co.uk>
8718         * Makefile.in (c-common.o, cppinit.o): Update.
8719         * c-common.c: Include except.h.
8720         (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
8721         Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
8722         * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
8723         * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
8724         CPP_PREDEFINES): Handle here.
8725 config:
8726         * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
8727         alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
8728         alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
8729         TARGET_OS_CPP_BUILTINS.
8730         * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
8731         (CPP_SPEC, EXTRA_SPECS): Update.
8732         (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
8733         CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
8734         CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
8735         CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
8736         CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
8737 doc:
8738         * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
8739         (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
8741 2002-05-12  Zack Weinberg  <zack@codesourcery.com>
8743         * emit-rtl.c (global_rtl): Update comment.
8744         (const_double_htab, const_double_htab_hash,
8745         const_double_htab_hash, lookup_const_double): New.
8746         (const_int_htab_hash, const_int_htab_eq): Remove const
8747         qualifiers, which cause tons of warnings with RTL checking on.
8748         (gen_rtx_CONST_DOUBLE): Deleted.
8749         (const_double_from_real_value): New function - bears some
8750         resemblance to the former immed_real_const_1.
8751         (immed_double_const): Moved here from varasm.c and
8752         simplified.
8753         (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
8754         (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
8755         (gen_rtx): Use immed_double_const.
8756         (init_emit_once): Initialize the const_double_htab.  Use
8757         REAL_VALUE_FROM_INT where possible.  Can now use
8758         CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
8759         * varasm.c (struct varasm_status): Remove x_const_double_chain.
8760         (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
8761         (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
8762         (init_varasm_status, mark_varasm_status): Don't touch
8763         x_const_double_chain.
8765         * output.h: Delete prototype for clear_const_double_mem.
8766         * real.h: Make REAL_VALUE_TYPE a macro again.  Remove leading
8767         '0' slot from all CONST_DOUBLE_FORMAT definitions.  Prototype
8768         const_double_from_real_value, not immed_real_const_1, and use
8769         it to define CONST_DOUBLE_FROM_REAL_VALUE.  Define new macro
8770         CONST_DOUBLE_ATOF.
8771         * rtl.h (CONST_DOUBLE_CHAIN): Kill.
8772         (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
8773         (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
8774         (gen_rtx_REG): Second arg is unsigned.
8776         * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
8777         (excluded_rtx): New, return true for CONST_DOUBLE.
8778         (genmacro): Write nothing for excluded codes.
8779         * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
8780         * expr.c (expand_expr): Likewise.
8781         * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
8782         CONST_DOUBLE_CHAIN.
8783         * toplev.c (rest_of_compilation): Don't call
8784         clear_const_double_mem.
8786         * config/rs6000/rs6000.c (rs6000_float_const): Delete.
8787         (rs6000_hash_constant): Remove CONST_DOUBLE special case.
8788         (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
8789         * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
8790         * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
8791         * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
8792         config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
8793         * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
8795 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8797         * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
8799 2002-05-12  Tom Tromey  <tromey@redhat.com>
8801         * tree.h (copy_node): Don't mention TREE_PERMANENT.
8803 2002-05-12  Zack Weinberg  <zack@codesourcery.com>
8805         * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
8806         (scan_comma_elt): New function.  Accepts whitespace in comma lists.
8807         * gensupport.h: Prototype new routines.
8808         * genattr.c (gen_attr): Use scan_comma_elt.  Avoid unnecessary
8809         use of printf.
8810         * genattrtab.c (n_comma_elts): Moved to gensupport.c.
8811         (next_comma_elt): Use scan_comma_elt.
8813         * config/i386/i386.md: Use new attribute notation to break up
8814         long lines in define_attr forms.
8816 2002-05-12  Richard Henderson  <rth@redhat.com>
8818         * expr.c (compress_float_constant): New.
8819         (emit_move_insn): Use it.
8820         (float_extend_from_mem): New.
8821         (init_expr_once): Initialize it.
8822         * real.c (exact_real_truncate): New.
8824         * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
8825         dropped into memory; penalize for size.
8826         (RTX_COSTS): FLOAT_EXTEND is free.
8827         * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
8828         extenddfxf2, extenddftf2): Accept constants and drop them to memory.
8830 2002-05-12  Richard Henderson  <rth@redhat.com>
8832         * profile.h (profile_info): Add missing extern to declaration.
8833         * profile.c (profile_info): Define it.
8835 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8837         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
8838         used for DImode and TImode.
8840 2002-05-11  Neil Booth  <neil@daikokuya.demon.co.uk>
8842         * cpplex.c (_cpp_lex_direct): When in a directive at EOF
8843         fake a newline.
8845 2002-05-11  Zack Weinberg  <zack@codesourcery.com>
8847         * config/rs6000/rs6000.c (rs6000_default_long_calls,
8848         rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
8849         (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
8850         (rs6000_override_options): Handle -m(no-)longcall.
8851         (init_cumulative_args, output_mi_thunk): Check for both
8852         longcall and shortcall attributes on the function.
8853         (rs6000_attribute_table): Add "shortcall".
8854         (rs6000_handle_longcall_attribute): Update comment.
8855         (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
8856         altivec_expand_ternop_builtin): Add default clauses to switches
8857         to silence warnings.
8859         * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
8860         rs6000_default_long_calls.  Define REGISTER_TARGET_PRAGMAS.
8861         (TARGET_OPTIONS): Add longcall and no-longcall.
8863         * config/rs6000/rs6000.md (call_nonlocal_sysv,
8864         call_value_nonlocal_sysv): Split by alternatives.  One pair
8865         accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
8866         the call cookie.  The other pair accepts only LR/CTR and has
8867         no restriction.
8869         * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
8870         Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
8871         tmake_file.
8872         * config/rs6000/rs6000-c.c: New file.
8873         * config/rs6000/t-rs6000-c-rule: New file.
8874         * config/rs6000/rs6000-protos.c: Add multiple-include guard.
8875         Prototype rs6000_pragma_longcall.
8877         * doc/extend.texi: Document shortcall attribute.
8878         * doc/invoke.texi: Document -mlongcall, -mno-longcall.
8880 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8882         * reorg.c (dbr_schedule): Remove unnecessary test.
8884 Sat May 11 14:34:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
8886         * i386.md (testsi to testqi spliters): New.
8888         2002-01-14  Josef Zlomek  <zlomek@matfyz.cz>
8890         cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
8892         Wed Jan  9 2002  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
8894         * basic-block.h: New flag EDGE_CAN_FALLTHRU
8895         * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
8896         that can be made fallthru.
8898         Mon Nov 12 16:25:53 CET 2001  Jan Hubicka  <jh@suse.cz>
8900         * cfglayout.c (cleanup_unconditional_jumps): New static function.
8901         (cfg_layout_initialize): Use it.
8903 2002-05-11  Marek Michalkiewicz  <marekm@amelek.gda.pl>
8905         * config/avr/avr.c (avr_mcu_types): Update supported devices.
8906         * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
8907         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
8909 2002-05-11  Kazu Hirata  <kazu@cs.umass.edu>
8911         * dbxout.c: Fix formatting.
8912         * dependence.c: Likewise.
8913         * df.c: Likewise.
8914         * diagnostic.c: Likewise.
8915         * doloop.c: Likewise.
8916         * dominance.c: Likewise.
8917         * doschk.c: Likewise.
8918         * dwarf2asm.c: Likewise.
8919         * dwarf2out.c: Likewise.
8920         * dwarfout.c: Likewise.
8922 2002-05-10  Richard Henderson  <rth@redhat.com>
8924         * final.c (end_final): Tidy whitespace.  Don't honor flag_pack_struct.
8925         Convert integers constants as needed.  Replace "nwords" field with
8926         "sizeof_bb".
8927         (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
8928         * function.h: Fix typo in comment.
8929         * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
8931 2002-05-10  Roger Sayle  <roger@eyesopen.com>
8933         * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
8934         into the equivalent (signed char)c > 0.
8936 2002-05-10  Janis Johnson  <janis187@us.ibm.com>
8938         * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
8939         (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
8940         (struct prefetch_info): Fix spelling of member bytes_accessed.
8941         (emit_prefetch_instructions): Make dump messages more regular;
8942         restructure code to add more dump messages; use new macros for
8943         heuristics. (There are no code generation changes in any of this).
8945 2002-05-10  David S. Miller  <davem@redhat.com>
8947         * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
8948         (struct rtx_def): Update unchanging flag comment.
8949         * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
8950         * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
8951         to be handled to INSN too.
8952         (dbr_schedule): Likewise.
8953         * resource.c (next_insn_no_annul): Likewise.
8955         * cse.c (rtx_cost): Remove multiplication by power of 2 special
8956         casing.
8958 2002-05-14  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8960         * doc/install.texi (Specific, *-*-solaris2*): Update passus on
8961         setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
8962         (possibly) work around broken /bin/sh.
8964 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8966         * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
8967         . as N64/N32 libgcc_s.so subdirs.
8969 2002-05-10  David S. Miller  <davem@redhat.com>
8971         * config/sparc/sparc.md: Use define_constants for unspec numbers.
8973         * rtl.h (struct rtx_def): Document unchanging and in_struct flags
8974         more accurately.
8975         (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
8976         comment.
8977         (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
8978         * doc/rtl.texi: Document these macros more accurately.
8979         * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
8980         JUMP_INSNs and CALL_INSNs.
8981         * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
8982         or INSN_FROM_TARGET_P if the code is appropriate.
8984 2002-05-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
8986         * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
8987         before using SYMBOL_REF_FLAG (addr).
8989         * config/avr/avr-protos.h (avr_io_address_p): Declare.
8990         * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
8991         Make non-static.  Update all callers.
8992         * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
8993         New insns to clear/set/test a single bit in I/O address space.
8995 2002-05-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8997         * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
8999 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
9001         * Makefile.in: Update.
9002         * c-common.c (flag_iso, flag_undef, cb_register_builtins,
9003         builtin_define_std): New.
9004         (c_common_init): Register CPP builtins callback.
9005         * c-common.h (flag_iso, flag_undef): New.
9006         * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
9007         * c-lex.c: Don't include target.h.
9008         (cb_register_builtins): Move to c-common.c.
9009         (init_c_lex): Don't register hook here.
9010         * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
9011         (cpp_define, cpp_assert): Remove.
9012         * gcc.c (cc1_options): Pass -undef to front end.
9013         * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
9014         (TARGET_INITIALIZER): Update.
9015         * target.h (struct cpp_reader): Don't predeclare.
9016         (struct gcc_target): Remove cpp builtin hook.
9017         * tree.c (default_register_cpp_builtins): Remove.
9018 doc:
9019         * tm.texi: Update.
9021 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
9023         * cppexp.c (_cpp_expand_op_stack): Set op_limit.
9025 2002-05-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9027         * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
9028         (SHLIB_LINK, SHLIB_INSTALL): Adjust.
9030 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9032         * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
9033         * config/sparc/libgcc-sparc-glibc.ver: New file.
9034         * config/cris/t-linux (SHLIB_MAPFILES): Remove.
9035         * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
9037 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9039         PR target/6429
9040         * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
9041         * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
9042         shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
9043         base multilibs.
9044         * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
9045         * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
9046         * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
9047         * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
9049 2002-05-09  Richard Henderson  <rth@redhat.com>
9051         * config/ia64/ia64.md: Use define_constants for unspec numbers.
9052         * config/ia64/ia64.c: Likewise.
9054 2002-05-09  Richard Sandiford  <rsandifo@redhat.com>
9056         * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
9057         (save_restore_insns): Likewise.
9058         (mips_expand_prologue, mips_expand_epilogue): Update callers.
9059         (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
9061 Thu May  9 11:50:09 2002  Jeffrey A Law  (law@redhat.com)
9063         * athlon.md, k6.md, pentium.md, ppro.md): New files.
9064         * i386.md: Move scheduling information into new files.
9066         * i386.md (type attribute): Add "rotate" for rotate insns.
9067         (rotate insns): Set type to "rotate".
9068         (various attributes and function units): Treat rotate like shift.
9069         (pent_pair attribute): Only rotates by one bit position are
9070         pairable.
9071         (sbb insns): Explicitly set pent_pair attribute on a couple
9072         that were missing it.
9074 Thu May  9 18:29:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
9076         * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
9077         make sure that buffer starts on odd word address.
9078         (sh_va_arg): Skip odd fp registers when reading a double precision
9079         value.
9081 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
9083         * tree.h (preserve_data, object_permanent_p, type_precision):
9084         Remove.
9086 2002-05-09  Neil Booth  <neil@daikokuya.demon.co.uk>
9088         * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
9089         * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
9090 doc:
9091         * cpp.texi: Update for removal of obsolete features.
9093 Thu May  9 07:46:18 2002  Jan Hubicka <jh@suse.cz>
9094                           Jeffrey A Law  (law@redhat.com)
9096         * i386.c (ia32_use_dfa_pipeline_interface): New function.  Use
9097         the DFA interface for Pentium processors.
9098         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
9099         (attr_pent_pair, ix86_pent_find_pair): Remove.
9100         (ix86_sched_reorder_pentium): Remove.
9101         (ix86_sched_reorder): Remove reordering for Pentium.
9102         * i386.md (Pentium scheduling): Rewrite using DFA description.
9104 Thu May  9 14:55:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
9106         * cfganal.c (can_fallthru): Fix fast path.
9107         * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
9108         with edges to the next block.
9110 Thu May  9 14:52:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
9111                                Pavel Nejedly  <bim@atrey.karlin.mff.cuni.cz>
9113         * final.c (end_final): Use C trees to output data structures for profiling.
9115         * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
9116         (profile.o): New dependency profile.h
9117         (final.o): New dependency profile.h
9118         * profile.h: New file. New global structure profile_info.
9119         * final.h (count_edges_instrumented_now): Declare.
9120         (current_function_cfg_checksum): Declare.
9121         (function_list): New structure.
9122         (functions_head, functions_tail): New static variables.
9123         (end_final): Emits more data, removed some -ax stuff.
9124         (final): Stores function names and chcksums.
9125         * gcov-io.h (__write_gcov_string): New function.
9126         (__read_gcov_string): New function.
9127         * gcov.c (read_profile): New function.
9128         (create_program_flow_graph): Uses read_profile instead of reading
9129         da_file.
9130         (read_files): Removed da_file checking, it's done by read_profile now.
9131         * libgcc2.c (bb_function_info): New structure.
9132         (bb): New field in structure, removed some -ax stuff.
9133         (__bb_exit_func): Changed structure of da_file.
9134         * profile.c (count_edges_instrumented_now): New global variable.
9135         (current_function_cfg_checksum): New global variable.
9136         (max_counter_in_program): New global variable.
9137         (get_exec_counts): New function.
9138         (compute_checksum): New function.
9139         (instrument_edges): Sets count_edges_instrumented_now.
9140         (compute_branch_probabilities): Uses get_exec_counts instead of
9141         reading da_file.
9142         (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
9143         (init_branch_prob): Removed da_file checking, done in get_exec_counts
9144         now.
9145         (end_branch_prob): Removed da_file checking, done in get_exec_counts
9146         now.
9147         * gcov.texi: Updated information about gcov file format.
9149 2002-05-09  Kazu Hirata  <kazu@cs.umass.edu>
9151         * sbitmap.c: Fix formatting.
9152         * scan.c: Likewise.
9153         * scan-decls.c: Likewise.
9154         * sched-deps.c: Likewise.
9155         * sched-ebb.c: Likewise.
9156         * sched-rgn.c: Likewise.
9157         * sched-vis.c: Likewise.
9158         * sdbout.c: Likewise.
9159         * sibcall.c: Likewise.
9160         * simplify-rtx.c: Likewise.
9161         * ssa.c: Likewise.
9162         * ssa-ccp.c: Likewise.
9163         * ssa-dce.c: Likewise.
9164         * stmt.c: Likewise.
9165         * stor-layout.c: Likewise.
9166         * stringpool.c: Likewise.
9168 2002-05-09  David S. Miller  <davem@redhat.com>
9170         * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
9172 2002-05-07  David S. Miller  <davem@redhat.com>
9174         * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
9175         * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
9176         * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
9177         library implementation clobbers the output before the inputs
9178         are fully consumed, use stack temporary for the output.
9180 2002-05-09  Jason Thorpe  <thorpej@wasabisystems.com>
9182         * config/netbsd.h (CPP_SPEC): Remove.
9183         * config/i386/netbsd-elf.h (CPP_SPEC): Define.
9184         * config/i386/netbsd.h (CPP_SPEC): Define.
9185         * config/ns32k/netbsd.h (CPP_SPEC): Define.
9186         * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
9187         * config/sparc/netbsd.h (CPP_SPEC): Define.
9188         * config/vax/netbsd.h (CPP_SPEC): Define.
9190 2002-05-08  Kazu Hirata  <kazu@cs.umass.edu>
9192         * read-rtl.c: Fix formatting.
9193         * real.c: Likewise.
9194         * recog.c: Likewise.
9195         * regclass.c: Likewise.
9196         * regmove.c: Likewise.
9197         * reg-stack.c: Likewise.
9198         * reload1.c: Likewise.
9199         * reload.c: Likewise.
9200         * resource.c: Likewise.
9201         * rtlanal.c: Likewise.
9202         * rtl.c: Likewise.
9203         * rtl-error.c: Likewise.
9205 2002-05-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9207         * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
9208         * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
9210 2002-05-08  Bernd Schmidt  <bernds@redhat.com>
9212         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
9213         use __SSE2__ macro instead.
9214         * config/i386/xmmintrin.h: Likewise.
9216 2002-05-08  Janis Johnson  <janis187@us.ibm.com>
9218         * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
9219         and use it in all invocations of these macros.  Clean up comments.
9220         * rtl.c (rtl_check_failed_flag): Add an argument for the name
9221         of the flag access macro whose check failed.
9222         * doc/rtl.texi (Flags): Document additional flag uses.
9224 2002-05-08  Robert Spier <rspier@pobox.com>
9225             Neil Booth  <neil@daikokuya.demon.co.uk>
9227         PR preprocessor/6521
9228         * cppfiles.c (handle_missing_header): Don't do anything
9229         different for <> includes.
9230 doc:
9231         * cppopts.texi: Update documentation for -MG.
9233 2002-05-08  Neil Booth  <neil@daikokuya.demon.co.uk>
9235         * cpplex.c (cpp_interpret_charconst): Truncate as well as
9236         sign-extend.
9237 doc:
9238         * cpp.texi: Clarify multichar charconst valuation.
9240 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9242         * doc/invoke.texi: Document -mwindiss option.
9244 2002-05-08  Jason Merrill  <jason@redhat.com>
9246         * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
9248         * dwarf2out.c (gen_type_die): Abort on broken recursion.
9250         PR c++/6381
9251         * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
9252         REAL_CST.
9254 2002-05-08  Nick Clifton  <nickc@cambridge.redhat.com>
9256         * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
9257         little-endian multilibs to override arm/thumb multilibs.
9258         Do not build hardware floating point multilibs, nor apcs-26
9259         multilibs for the Thumb.
9261 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9263         PR c/6569.
9264         * varasm.c (mark_weak): New function.
9265         (merge_weak): Use it.  Do not call declare_weak.
9266         (declare_weak): Use merge_weak.
9268 Wed May  8 13:12:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
9270         * cse.c (dead_libcall_p): Update counts.
9271         (delete_trivially_dead_insns): Update call of dead_libcall_p.
9273 Wed May  8 11:08:50 CEST 2002  Jan Hubicka  <jh@suse.cz>
9275         * cfglayout.c (function_tail_eff_head): Rename to ...
9276         (function_footer): ... this one.
9277         (unlink_insn_chain): New functions.
9278         (label_for_bb): Only call block_label and emit debug message.
9279         (record_effective_endpoints): Actually unlink the headers and footers.
9280         (fixup_reorder_cahin): Re-insert the unlinked sequences.
9281         (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
9282         * cfglayout.h (struct reorder_block_def): New fields footer/header;
9283         remove eff_head/eff_end.
9284         * rtl.h (set_first_insn): Declare.
9285         * emit-rtl.c (set_first_insn): New function.
9287         * cfglayout.c (fixup_reorder_chain): Dump duplicated
9288         (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
9289         cfg_layout_duplicate_bb): New global function.
9290         (duplicate_insn_chain): New static function.
9291         * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
9292         cfg_layout_duplicate_bb): Declare.
9293         (struct reorder_block_def): Add "original" field.
9294         * emit-rtl.c (emit_copy_of_insn_after): New function.
9295         * rtl.h (emit_copy_of_insn_after): Declare.
9297         * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
9298         (fixup_reorder_chain): properly handle edges to exit block.
9300 Wed May  8 11:10:31 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
9301                                Jan Hubicka  <jh@suse.cz>
9303         * basic-block.h (note_prediction_to_br_prob): declare.
9304         * c-semantics.c: Inlucde predit.h
9305         (expand_stmt): predict GOTO_STMT as not taken.
9306         * cfgcleanup.c: (delete_unreachable_blocks): Make global.
9307         (cleanup_cfg): Do not free tail_recursion_list.
9308         * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
9309         (flow_delete_block): Kill predictions past end of basic block.
9310         * output.h (delete_unreachable_blocks): Declare.
9311         * predict.c (predicted_by_p, process_note_predictions,
9312         process_note_prediction, last_block_p): New function.
9313         (estimate_probability): Bypass loop on PRED_CONTINUE;
9314         do not handle noreturn heuristics; kill PRED_RETURN; add
9315         PRED_EARLY_RETURN.
9316         * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
9317         PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
9318         * predict.h (IS_TAKEN): New constant.
9319         * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
9320         * rtl.c (NOTE_INSN_PREDICTION): New.
9321         * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
9322         New macro.
9323         (insn_note): add NOTE_INSN_PREDICTION.
9324         * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
9325         CFG; free tail_recursion_label_list.
9326         * stmt.c: Include predict.h;
9327         (return_prediction): New.
9328         (expand_value_return): Use it.
9329         * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
9331 2002-05-08  Richard Sandiford  <rsandifo@redhat.com>
9333         * config/mips/mips.md: Name the unspecs with define_constant.
9334         (*HILO_delay): Rename to 'hilo_delay' (no star).
9335         (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
9336         (reload_outdi, reload_outsi): Likewise.
9338 2002-05-07  Kazu Hirata  <kazu@cs.umass.edu>
9340         * toplev.c: Fix formatting.
9342 2002-05-07  Janis Johnson  <janis187@us.ibm.com>
9344         * config.in (ENABLE_RTL_FLAG_CHECKING): New.
9345         * configure.in (ac_rtlflag_checking): New.
9346         * doc/install.texi (--enable-checking): Document RTL flag checking.
9348 2002-05-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9350         * c-common.c (c_common_init): Set options->unsigned_wchar.
9351         * cppinit.c (cpp_create_reader): Default unsigned_wchar,
9352         group target dependencies.
9353         (init_builtins, cpp_handle_option): Update.
9354         * cpplex.c (cpp_interpret_charconst): Update.
9355         * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
9356         signed_char to unsigned_char, group target dependencies.
9357         * defaults.h (WCHAR_UNSIGNED): Remove.
9358         * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
9359 config:
9360         * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
9361         i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
9362         i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
9363         i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
9364         sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
9365 doc:
9366         * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
9368 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
9370         * fixinc/inclhack.def (windiss_math1): New fix.
9371         (windiss_math2): Likewise.
9372         (windiss_valist): Likewise.
9373         * fixinc/fixincl.x: Regenerated.
9375 2002-05-07  Andreas Jaeger  <aj@suse.de>
9377         * genautomata.c (output_internal_min_issue_delay_func): Add
9378         ATTRIBUTE_UNUSED to avoid warning with empty dfa.
9379         (output_internal_trans_func): Likewise.
9381 Tue May  7 10:06:22 2002  Jeffrey A Law  (law@redhat.com)
9383         * pa.c (hppa_profile_hook): Use force_reg to get the address
9384         of the profile hook into an appropriate pseudo register.
9386 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
9388         * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
9389         (LINK_START_SPEC): Handle it.
9390         (LINK_OS_SPEC): Likewise.
9391         (CPP_SPEC): Likewise.
9392         (STARTFILE_SPEC): Likewise.
9393         (LIB_SPEC): Likewise.
9394         (ENDFILE_SPEC): Likewise.  Do not assume crtsavres.o is used on
9395         all platforms.
9396         (CRTSAVRES_DEFAULT_SPEC): New macro.
9397         (LIB_WINDISS_SPEC): New macro.
9398         (CPP_OS_WINDISS_SPEC): Likewise.
9399         (STARTFILE_WINDISS_SPEC): Likewise.
9400         (ENDFILE_WINDISS_SPEC): Likewise.
9401         (LINK_START_WINDISS_SPEC): Likewise.
9402         (LINK_OS_WINDISS_SPEC): Likewise.
9403         * config/rs6000/windiss.h: New file.
9405 2002-05-07  Aldy Hernandez  <aldyh@redhat.com>
9407         * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
9409 2002-05-06  David S. Miller  <davem@redhat.com>
9411         * config/sparc/sparc.md (shift insns): Do not mask off
9412         second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
9413         take care of it.
9415 2002-05-06  Richard Henderson  <rth@redhat.com>
9417         PR c++/6212
9418         * expr.c (highest_pow2_factor_for_type): New.
9419         (expand_assignment): Use it.
9421 2002-05-06  Aldy Hernandez  <aldyh@redhat.com>
9423         * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
9424         unspec_volatile.
9425         ("altivec_mfvscr"): Same.
9427 2002-05-06  Janis Johnson  <janis187@us.ibm.com>
9429         * rtl.h (struct rtx_def): Update comments.
9430         (RTL_FLAG_CHECK[12345678]): New.  (rtl_check_failed_flag): Declare.
9431         (RTL_FLAG): New.  (CLEAR_RTX_FLAGS): New.  (flag access macros): Use
9432         RTL_FLAG_CHECK macros with list of expected RTL codes.
9433         * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
9434         (rtl_check_failed_flag): New.
9435         * reload1.c (reload): Use REG macro before changing rtx to MEM.
9436         (reload_cse_noop_set_p): Check rtx code before using access macro.
9437         * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
9438         before using access macro.
9440 2002-05-06  Janis Johnson  <janis187@us.ibm.com>
9442         * doc/rtl.texi (Flags): Update to reflect current usage.
9444 2002-05-06  Roger Sayle  <roger@eyesopen.com>
9446         PR opt/3995
9447         * fold-const.c (sign_bit_p): New function.
9448         (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
9449         (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
9450         Reapply fold when converting (A & C) == C into (A & C) != 0.
9451         (fold_binary_op_with_conditional_arg): Fix typo in comment.
9453 2002-05-07  Neil Booth  <neil@daikokuya.demon.co.uk>
9455         * c-common.c (warn_multichar): New.
9456         (c_common_init): Set CPP's warn_multichar.
9457         * c-common.h (warn_multichar): New.
9458         * c-decl.c (warn_multichar): Remove.
9459         * c-lex.c (lex_charconst): Update.
9460         * c-tree.h (warn_multichar): Remove.
9461         * cppexp.c (eval_token): Sign-extend charconst value.
9462         * cppinit.c (cpp_create_reader): Set warn_multichar.
9463         * cpplex.c (cpp_interpret_charconst): Don't sign-extend
9464         each character.  Update prototype.  Sign-extend the result.
9465         * cpplib.h: Fix conditions.
9466         (struct cpp_options): Add new warning flag.
9467         (cpp_interpret_charconst): Update prototype.
9468 doc:
9469         * cpp.texi: Update documentation.
9471 2002-05-06  Vladimir Makarov  <vmakarov@redhat.com>
9473         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
9474         Fix typo in usage of allof instead of unit.
9476 2002-05-06  Richard Henderson  <rth@redhat.com>
9478         * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
9479         and any jump or call for IN.
9481 2002-05-06  Bernd Schmidt  <bernds@redhat.com>
9483         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
9484         -msse2.
9485         * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
9487 2002-05-06  Roger Sayle  <roger@eyesopen.com>
9489         * fold-const.c (lshift-double): Cast the high word to an unsigned
9490         HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
9491         (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
9492         avoid compiler warning.  (fold): Remove redundant code from
9493         BIT_AND_EXPR as integer operands are canonicalized to be arg1.
9495 2002-05-06  Jeff Law  <law@redhat.com>
9497         * pa-protos.h (hppa_fpstore_bypass_p): Declare.
9498         * pa.c (pa_adjust_cost): Remove all true dependency cost
9499         adjustments.  Also remove support for non-DFA scheduling.
9500         * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
9501         to adjust true dependency costs.  Update various comments.
9502         (7100lc, 7200, 7300 scheduling): Simplify by combining the
9503         FP ALU & MPY units into a single unit.
9505 2002-05-06  Catherine Moore  <clm@redhat.com>
9507         * config/v850/v850.c (compute_register_save_size): Make sure
9508         to count all of the registers that will be saved.
9510 Mon May  6 18:03:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
9512         * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
9514 2002-05-06  David S. Miller  <davem@redhat.com>
9516         * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
9517         allow result to overlap input operands in memory.
9519 2002-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
9521 doc:
9522         * cpp.texi: Update multichar charconst docs.
9524 2002-05-06  Neil Booth  <neil@daikokuya.demon.co.uk>
9526         * cpplex.c (cpp_interpret_charconst): Sign-extend each
9527         character.  Don't ignore excess characters.  Treat
9528         multicharacter character constants as signed.
9529         (cpp_parse_escape): Clarify diagnostic.
9531 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
9533         * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
9534         use add instead of shift.
9535         (ashldi3_sp64): Likewise.
9536         (ashlsi3_const1, ashldi3_const1): Remove.
9537         * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
9538         * config/sparc/sparc.c (const1_operand): New.
9540 2002-05-05  Jason Thorpe  <thorpej@wasabisystems.com>
9542         * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
9544 2002-05-05  Jakub Jelinek  <jakub@redhat.com>
9546         PR target/6561
9547         * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
9549 2002-05-05  Richard Henderson  <rth@redhat.com>
9551         * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
9552         memory latency adjustments.
9553         (alpha_variable_issue): Remove.
9554         (alpha_use_dfa_pipeline_interface): New.
9555         (alpha_multipass_dfa_lookahead): New.
9556         * config/alpha/alpha.md: Remove define_function_unit scheduling;
9557         include new dfa scheduling.
9558         (attr type): Add none.
9559         (blockage): Use it.
9560         * config/alpha/ev4.md: New.
9561         * config/alpha/ev5.md: New.
9562         * config/alpha/ev6.md: New.
9564 2002-05-05  David S. Miller  <davem@redhat.com>
9566         * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
9568 2002-05-05  Kazu Hirata  <kazu@cs.umass.edu>
9570         * cse.c: Fix formatting.
9571         * emit-rtl.c: Likewise.
9573 2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>
9575         * genautomata.c (initiate_states): Add additional guard to
9576         initialize `units_array'.
9578 2002-05-05  Vladimir Makarov  <vmakarov@redhat.com>
9580         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
9581         process_unit_to_form_the_same_automaton_unit_lists,
9582         form_the_same_automaton_unit_lists
9583         check_unit_distributions_to_automata): New prototypes and
9584         functions.
9585         (check_automata): Rename it into `check_automata_insn_issues'.
9586         (unit_decl): New fields `the_same_automaton_unit' and
9587         `the_same_automaton_message_reported_p'.
9588         (unit_decl_t): New typedef.
9589         (the_same_automaton_lists): New gloval variable.
9590         (unit_regexp, unit_set_el, units_array, units_cmp,
9591         output_get_cpu_unit_code_func): Use the typedef.
9592         (evaluate_max_reserv_cycles): Increment
9593         `description->max_insn_reserv_cycles'.
9594         (initiate_states): Don't increment `max_cycles_num'.
9595         (transform_insn_regexps): Move code around transformation of
9596         regexps from `generate'.
9597         (generate): Remove call of `transform_insn_regexps'.
9598         (expand_automata): Call `transform_insn_regexps' and
9599         `check_unit_distributions_to_automata'.  Check errors before
9600         `generate'.
9602         * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
9603         automaton `ultrasparc3_1'.
9605 2002-05-05  Neil Booth  <neil@daikokuya.demon.co.uk>
9607         * c-common.c (c_common_init): Set up CPP arithmetic.
9608         * cppinit.c (cpp_create_reader): Default CPP arithmetic to
9609         something reasonable for the host.
9610         (sanity_checks): Add checks.
9611         (cpp_read_main_file): Call sanity_checks() from here...
9612         (cpp_post_options): ... not here.
9613         * cpplex.c (cpp_interpret_charconst): Get max_chars right.
9614         * cpplib.h (struct cpp_options): New member int_precision.
9616 2002-05-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9618         * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
9620 2002-05-04  David S. Miller  <davem@redhat.com>
9622         * config/sparc/linux.h, config/sparc/linux64.h
9623         (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
9625         * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
9626         more RTX codes.
9627         * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
9629         * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
9630         of SETs.
9632 2002-05-05  Tim Josling  <tej@melbpc.org.au>
9634         * treelang; New directory for new sample language treelang.
9636 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
9638         * Makefile.in (c-lex.o): Update.
9639         * c-lex.c: Include target.h.
9640         (cb_register_builtins): New.
9641         (init_c_lex): Set builtins callback.
9642         * c-lex.h (cpp_define, cpp_assert): New prototypes.
9643         * cppinit.c (init_builtins): Use callback, including for
9644         GXX_WEAK.
9645         * cpplib.h (struct cpp_callbacks): New member.
9646         * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
9647         (TARGET_INITIALIZER): Update.
9648         * target.h (struct gcc_target): New hook.
9649         * tree.c (default_register_cpp_builtins): New.
9650         * tree.h (default_register_cpp_builtins): New.
9651 doc:
9652         * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
9654 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
9656         * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
9657         (cpp_post_options): Move sanity checks to...
9658         (sanity_checks): New.
9659         * cpplex.c (maybe_read_ucs): Fix prototype.
9660         (parse_string, cpp_parse_escape): Cast for %c format specifier.
9661         * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
9662         if necessary.
9664 2002-05-04  Bernd Schmidt  <bernds@redhat.com>
9666         * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
9667         builtins.  Use V2DI patterns instead of TI for logical operations.
9668         (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
9669         Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
9670         (ix86_expand_builtins): Change the pattern used for movntdq.
9671         * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
9672         sse2_nandv2di3): New patterns.
9673         (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
9674         on operands.
9675         (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
9676         (cvtdq2pd): Correct mode on operand 1.
9677         (sse2_umulsidi3): Describe without unspec.
9678         (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
9679         machine modes.
9680         (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
9681         (ashlv2di3): Likewise, from sse2_ashlv2di3.
9682         (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
9683         ashlv4si3, ashlv2di3): Use SImode for shift count.
9684         (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
9685         lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
9686         New patterns.
9687         * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
9688         New typedefs.
9689         (__m128i, __m128d): New macros.
9690         (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
9691         _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
9692         _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
9693         _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
9694         _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
9695         _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
9696         _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
9697         _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
9698         _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
9699         _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
9700         _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
9701         _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
9702         _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
9703         _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
9704         _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
9705         _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
9706         _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
9707         _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
9708         _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
9709         _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
9710         _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
9711         _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
9712         _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
9713         _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
9714         _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
9715         _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
9716         _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
9717         _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
9718         _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
9719         _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
9720         _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
9721         _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
9722         _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
9723         _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
9724         _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
9725         _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
9726         _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
9727         functions.
9728         (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
9729         _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
9731 2002-05-04  Kazu Hirata  <kazu@cs.umass.edu>
9733         * dwarf2out.c: Fix formatting.
9734         * varasm.c: Likewise.
9736 2002-05-04  David Edelsohn  <edelsohn@gnu.org>
9738         PR c/6543
9739         * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
9740         clobber and use result as temporary value.
9742 Sat May  4 13:20:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
9744         * expr.c (force_operand): Use expand_simple_* to handle more
9745         cases.
9747 2002-05-04  Neil Booth  <neil@daikokuya.demon.co.uk>
9749         * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
9750         and sign-extension.
9751         (lex_charconst): Update for change in prototype of
9752         cpp_interpret_charconst.  Extend from cppchar_t to HOST_WIDE_INT
9753         appropriately.
9754         * cpphash.h (BITS_PER_CPPCHAR_T): New.
9755         * cppinit.c (cpp_create_reader): Initialize them for no
9756         change in semantics.
9757         (cpp_post_options): Add sanity checks.
9758         * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
9759         and truncation issues.  Calculate in type cppchar_t.
9760         (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
9761         (cpp_interpret_charconst): Calculate in type cppchar_t.  Handle
9762         run-time dependent precision correctly.  Return whether the
9763         result is signed or not.
9764         * cpplib.c (dequote_string): Use cppchar_t; update.
9765         * cpplib.h (cppchar_signed_t): New.
9766         struct cpp_options): New precision members.
9767         (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
9768         * cppexp.c (eval_token): Update.
9770 2002-05-03  David S. Miller  <davem@redhat.com>
9772         * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
9773         * config/sparc/sparc.c (sparc_rtx_costs): New function
9774         implementing RTX_COSTS and CONST_COSTS.
9775         * config/sparc/sparc.h (CONST_COSTS): Delete.
9776         (RTX_COSTS_CASES): Define.
9777         (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
9778         the work.
9780         * config/sparc/sparc.md (DFA schedulers): Split out...
9781         * config/sparc/cypress.md, config/sparc/hypersparc.md,
9782         config/sparc/sparclet.md, config/sparc/supersparc.md,
9783         config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
9785         * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
9786         checks on it, always defined for Sparc.
9788         * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
9789         Tweak, and add more detailed comments.
9791 2002-05-03  Zack Weinberg  <zack@codesourcery.com>
9793         * Re-apply patch accidentally reverted with
9794         DFA scheduler merge: remove all rules and variables to slurp
9795         source files out of libiberty and rebuild them with HOST_CC.
9796         ($(HOST_PREFIX_1)varray.o): New rule.
9797         (genattrtab rule): Word wrap.
9799 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
9801         * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
9802         (CPP_SUBTARGET_SPEC): Define.
9803         (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
9804         cpp_subtarget specs.
9805         (CPP_SPEC): Redefine to include %(cpp_subtarget).
9807 2002-05-03  David S. Miller  <davem@redhat.com>
9809         * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
9810         * target.h (struct gcc_target): Delete cycle_display member.
9812         * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
9813         (rtx_needs_barrier): Delete reference to cycle_display unspec.
9814         (ia64_sched_reorder2): Mention need for cycle display handling
9815         once such notes exist.
9817 2002-05-03  Richard Henderson  <rth@redhat.com>
9819         * real.c (etoasc): Strip most trailing zeros for clarity.
9820         * sched-vis.c: Include real.h.
9821         (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
9822         * Makefile.in (sched-vis.o): Add real.h.
9824 2002-05-03  David S. Miller  <davem@redhat.com>
9826         * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
9827         no longer needed.
9829 2002-05-03  Aldy Hernandez  <aldyh@redhat.com>
9831         * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
9832         when we get an out of range literal.
9833         (altivec_expand_ternop_builtin): Same.
9834         (altivec_expand_unop_builtin): Same.
9835         (altivec_expand_builtin): Same, for dss.
9836         (altivec_expand_builtin): Use trees instead of rtl when
9837         determining literal argument validity.
9839 2002-05-03  David S. Miller  <davem@redhat.com>
9841         Delete cycle display scheduling hook.
9842         * config/ia64/ia64.c (ia64_cycle_display,
9843         TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
9844         (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
9845         and use emit_insn_before instead of ia64_emit_insn_before.
9846         * config/ia64/ia64.md (unspec usage): Delete cycle display.
9847         (cycle_display): Delete insn pattern.
9848         * config/sparc/sparc.md (unspec usage): Delete cycle display.
9849         (cycle_display): Delete insn pattern.
9850         * config/sparc/sparc.c (sparc_cycle_display,
9851         TARGET_SCHED_CYCLE_DISPLAY): Delete.
9852         * doc/md.texi (cycle_display): Don't mention.
9853         * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
9855 2002-05-03  Richard Henderson  <rth@redhat.com>
9857         * recog.c (store_data_bypass_p, if_test_bypass_p): New.
9858         * recog.h: Declare them.
9860         * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
9861         * config/sparc/sparc.md: Use store_data_bypass_p instead.
9862         * config/sparc/sparc-protos.h: Update.
9864 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
9866         * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
9867         -D__arch64__.  Add -D_LP64.
9868         (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
9869         from sparc.h.
9870         (CPP_ARCH64_SPEC): Likewise.
9871         (NO_BUILTIN_PTRDIFF_TYPE): Undef.
9872         (NO_BUILTIN_SIZE_TYPE): Undef.
9874 2002-05-03  Vladimir Makarov  <vmakarov@redhat.com>
9876         * genautomata.c (min_issue_delay_pass_states): Change return type
9877         in the prototype.
9878         (min_issue_delay_pass_states): Change the algorithm.
9879         (min_issue_delay): Set up min_insn_issue_delay for the state.
9880         (output_min_issue_delay_table): Interchange the nested loops and
9881         and initiate min_insn_issue_delay for states.
9883 Fri May  3 22:59:15 CEST 2002  Jan Hubicka  <jh@suse.cz>
9885         * cfgcleanup.c (try_optimize_cfg):  Call merge_block only when
9886         jump is simplejump.
9888 Fri May  3 22:53:37 CEST 2002  Jan Hubicka  <jh@suse.cz>
9890         * i386.c  (expand_movstr, expand_clrstr): Fix inline-all-stringops
9891         sequence.
9893 2002-05-03  Richard Henderson  <rth@redhat.com>
9895         PR opt/6534
9896         * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
9897         noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
9898         noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
9899         code before JUMP, not EARLIEST.
9901 2002-05-03  Joseph S. Myers  <jsm28@cam.ac.uk>
9903         * c-format.c (check_format_info_main): Don't check for presence of
9904         parameter for * width until after operand number has been read,
9905         and only check for it if format parameters are available.
9906         Fixes PR c/6547.
9908 2002-05-03  Jason Thorpe  <thorpej@wasabisystems.com>
9910         * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
9911         (LINK_SPEC): Undef before defining.
9913 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
9915         PR preprocessor/6489
9916         * tradcpp.c (fixup_newlines): New.
9917         (main, finclude): Use it.
9919 2002-05-03  Richard Sandiford  <rsandifo@redhat.com>
9921         * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
9922         * config/mips/mips.c (mips_unique_section): Strip encoding from
9923         decl name.
9925 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
9927         * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
9928         mode.
9930 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9932         * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
9933         (Specific): Removed buildstats references.
9934         (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
9935         (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
9936         Accomodate Solaris versions beyond 8.
9937         (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
9938         (Specific, *-*-solaris2.8): Removed, obsolete.
9940 2002-05-03  Jakub Jelinek  <jakub@redhat.com>
9942         PR target/6542
9943         * config/sparc/sparc.h (leaf_reg_remap): Remove const.
9944         (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
9945         fill leaf_reg_remap with identity.
9946         * config/sparc/sparc.c (leaf_reg_remap): Remove const.
9948 2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
9950         * config/h8300/crti.asm: Remove trailing spaces.
9951         * config/h8300/h8300.c: Likewise.
9952         * config/h8300/lib1funcs.asm: Likewise.
9954 2002-05-02  Jason Merrill  <jason@redhat.com>
9956         * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
9957         * c-decl.c (c_init_decl_processing): Use it.
9958         * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
9959         * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
9960         * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
9962 2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
9964         * regrename.c: Fix formatting.
9965         * tree.c: Likewise.
9967 Fri May  3 13:34:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
9969         * i386.md (attribute memory): Handle compares properly.
9971 Fri May  3 10:51:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
9973         * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
9974         to none.
9976 2002-05-02  Kazu Hirata  <kazu@cs.umass.edu>
9978         * function.c: Fix formatting.
9980 2002-05-02  Jan Hubicka  <jh@suse.cz>
9982         * haifa-sched.c (schedule_insn): Print table of instructions and
9983         reservations.
9984         (sched_block): Do not print ready list at verbosity level 1.
9985         * sched-vis.c (print_insn): Make global.
9986         * sched-ebb.c (ebb_print_insn): Rename from...
9987         (print_insn): ... this one.
9988         * sched-int.h (print_insn): Declare
9990 2002-05-02  Richard Henderson  <rth@redhat.com>
9992         * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
9993         emitted by cycle_display.
9995 2002-05-02  Loren J. Rittle  <ljrittle@acm.org>
9997         * doc/install.texi (*-*-freebsd*): Update to latest status.
9999 2002-05-02  Jakub Jelinek  <jakub@redhat.com>
10001         PR target/6540
10002         * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
10003         * config/float-sparc.h: Assume 128-bit long double if
10004         __LONG_DOUBLE_128__ is defined.
10006 2002-05-02  Vladimir Makarov  <vmakarov@redhat.com>
10008         * genattrtab.c (write_function_unit_info): Add a dummy element
10009         when num_units == 0.
10011 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10013         * predict.c: (propagate_freq, estimate_bb_frequencies): Use
10014         TYPE_MODE (double_type_node) instead of DFmode.
10016 Thu May  2 19:50:04 CEST 2002  Jan Hubicka  <jh@suse.cz>
10018         * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
10019         jumps post reload.
10020         * toplev.c (rest_of_compilation): Revert Richard's patch.
10022 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10024         * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
10026 2002-05-02  Catherine Moore  <clm@redhat.com>
10028         * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
10030 2002-05-02  Kazu Hirata  <kazu@hxi.com>
10032         * combine.c: Fix comment typos.
10033         * expr.c: Likewise.
10034         * genautomata.c: Likewise.
10035         * stmt.c: Likewise.
10036         * tree.h: Likewise.
10038 2002-05-02  Joseph S. Myers  <jsm28@cam.ac.uk>
10040         * doc/install.texi: State GNAT version requirements.
10042 2002-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
10044         * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
10045         of the frame pointer or arg pointer register which strict register
10046         checking is not enabled.
10048 2002-05-02  Aldy Hernandez  <aldyh@redhat.com>
10050         * gcc.dg/altivec-8.c: New.
10052         * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
10053         PRE_INC and PRE_DEC for altivec modes.
10055 2002-05-01  Bruce Korb  <bkorb@gnu.org>
10057         * fixinc/check.tpl(set-writable): make sure the function exists first
10058         * fixinc/inclhack.def(alpha_assert): fix test_text
10059         * fixinc/tests/base/assert.h: add in missing result
10061 2002-05-01  Jeff Law  <law@redhat.com>
10063         * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
10064         'T' constraint.
10066 2002-05-01  Joel Brobecker  <brobecker@gnat.com>
10068         * dbxout.c (dbxout_type): Emit size information for range types,
10069         as well, but only when using GDB extensions.
10071 2002-05-01  Richard Henderson  <rth@redhat.com>
10073         * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
10074         target-independent gnu binutils date test.
10076 2002-05-01  Richard Henderson  <rth@redhat.com>
10078         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
10079         info before expunging the block.
10081 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
10083         * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
10084         (cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
10085         -M -or -MM is in effect.
10087 2002-05-01  Zack Weinberg  <zack@codesourcery.com>
10089         * config.gcc: Correct test of --enable-obsolete.  Obsolete all
10090         A29k configurations.
10091         * doc/install.texi: Update to match.
10093 2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10095         PR bootstrap/6514
10096         * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
10097         for duplicates. Always loop over whole list.
10099 Wed May  1 10:32:37 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10101         * reload.c (find_reloads, case 'p'): Set BADOP to 0.
10103 2002-05-01      Joel Sherrill <joel@OARcorp.com>
10105         * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
10106         support routines.
10108 2002-05-01      Joel Sherrill <joel@OARcorp.com>
10110         * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
10112 2002-05-01  David Edelsohn  <edelsohn@gnu.org>
10114         * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
10115         (nabs_nopower): Same.
10116         (floatdisf2): New pattern.
10117         (absdi2): Convert to define_insn_and_split.
10118         (nabsdi2): Same.
10119         (trunctfsf2): Same.
10120         (floatditf2): Same.
10121         (floatsitf2): Same.
10122         (fix_trunctfdi2): Same.
10123         (fix_trunctfsi2): Same.
10125 2002-05-01  Joseph S. Myers  <jsm28@cam.ac.uk>
10127         * doc/install.texi: Update Texinfo version requirement
10128         documentation.
10130 2002-05-01  Jakub Jelinek  <jakub@redhat.com>
10132         PR target/6512, PR target/5628
10133         * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
10134         when memory is not aligned.
10135         (movdf_insn_v9only_vis): Likewise.
10136         * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
10137         temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
10138         (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
10140 2002-05-01  Aldy Hernandez  <aldyh@redhat.com>
10142         * gcc.dg/altivec-7.c: New.
10144         * config/rs6000/altivec.h: Cleanup.
10146 2002-04-30  Aldy Hernandez  <aldyh@redhat.com>
10148         * doc/invoke.texi (Option Summary): Add -mvrsave=.
10149         (RS/6000 and PowerPC Options): Document -mvrsave=.
10151         * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
10152         (rs6000_altivec_vrsave_string): Same.
10153         (rs6000_override_options): Call rs6000_parse_vrsave_option.
10154         (rs6000_parse_vrsave_option): New.
10155         (rs6000_stack_info): Only generate vrsave instructions when
10156         TARGET_ALTIVEC_VRSAVE.
10158         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
10159         (rs6000_altivec_vrsave_string): Define extern.
10160         (rs6000_altivec_vrsave): Same.
10161         (TARGET_ALTIVEC_VRSAVE): New.
10163 2002-04-30  Richard Henderson  <rth@redhat.com>
10165         PR opt/6516
10166         * toplev.c (rest_of_compilation): Don't run cross-jump before
10167         bb-reorder.
10169 2002-04-30  Tom Rix  <trix@redhat.com>
10171         * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
10172         check which_alternative.
10174 2002-04-30  Kazu Hirata  <kazu@hxi.com>
10176         * cpplex.c: Fix comment formatting.
10177         * function.c: Likewise.
10178         * integrate.c: Likewise.
10179         * regrename.c: Likewise.
10180         * sibcall.c: Likewise.
10181         * simplify-rtx.c: Likewise.
10182         * tree-inline.c: Likewise.
10184 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10186         * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
10187         hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
10188         hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
10189         hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
10190         * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
10191         * pa/x-ada: New file.  Define ADA_CFLAGS.
10193 2002-04-30  Hans-Peter Nilsson  <hp@bitrange.com>
10195         * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
10196         from MMIX_LAST_REGISTER_FILE_REGNUM.
10197         (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
10198         (struct machine_function): New member highest_saved_stack_register
10199         previously static variable in mmix.c.
10200         (MACHINE_DEPENDENT_REORG): Define.
10201         * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
10202         (MMIX_OUTPUT_REGNO): New.
10203         (mmix_target_asm_function_prologue): Move calculation of last used
10204         saved-stack-register into...
10205         (mmix_machine_dependent_reorg): New function.  Update to also handle
10206         !TARGET_ABI_GNU.
10207         (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
10208         register names, simplify somewhat by new variable regno.
10209         <case 'p'>: Remove fixed FIXME.  Always emit highest used saved
10210         register.
10211         (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
10212         emitting register names.
10213         (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
10214         (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
10215         Remove fixed FIXME.
10216         * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
10217         Declare.
10219         * config/mmix/mmix.md ("divmoddi4"): Update head comment.
10221 2002-04-30  Richard Henderson  <rth@redhat.com>
10223         * config/sparc/sparc.c (emit_soft_tfmode_libcall,
10224         emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
10225         emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
10226         emit_tfmode_cvt): New.
10227         * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
10228         trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
10229         fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
10230         addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
10231         * config/sparc/sparc-protos.h: Update.
10233 2002-04-30  Janis Johnson  <janis187@us.ibm.com>
10235         * install.texi (Final install): Add to the list of info to include
10236         in a report of a successful bootstrap, and add link to 3.1 list.
10238 Tue Apr 30 19:15:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
10240         * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
10241         (mode): Add vector modes
10242         (i387): Kill attribute.
10243         (unit): New attribute.
10244         (length_immediate): Grok new types.
10245         (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
10246         (modrm): Use "unit".
10247         (memory): Handle MMX/SSE properly.
10248         (scheduling descriptions): Kill uses of fop1.
10249         (sse, mmx, fp patterns): Set type and mode properly.
10251 Tue Apr 30 09:31:59 2002  Jeffrey A Law  (law@redhat.com)
10253         * pa.c (override_options): Default to PA8000 scheduling.
10254         * doc/invoke.texi (HP-PA options): Mention newly added 7300
10255         scheduling parameter.
10257         * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
10258         handling of double precision multiplies.
10260         * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
10261         fpdiv and fpsqrt instructions.
10262         (7200 & 7300 scheduling): Fix typo in handling of
10263         store-load and store-store penalties.
10265 2002-04-30  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10267         * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
10268         mips.  Add two missing commas.
10270 2002-04-30  Paolo Carlini  <pcarlini@unitus.it>
10272         * doc/contrib.texi (Contributors): Update Paolo Carlini's
10273         and Benjamin Kosnik's entries.
10275 2002-04-29  David S. Miller  <davem@redhat.com>
10277         * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
10278         SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
10279         * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
10280         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
10282 2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10284         * combine.c (find_split_point): Use gen_int_mode.
10286 2002-04-29  Vladimir Makarov  <vmakarov@redhat.com>
10288         Merging code from dfa-branch:
10290         2002-04-24  Vladimir Makarov  <vmakarov@redhat.com>
10292         * genautomata.c (output_reserv_sets): Fix typo.
10294         2002-04-23  Vladimir Makarov  <vmakarov@redhat.com>
10296         * genautomata.c (output_reserv_sets): Remove
10297         next_cycle_output_flag.
10299         Thu Apr 18 08:57:06 2002  Jeffrey A Law  (law@redhat.com)
10301         * sched-rgn.c (init_ready_list): Make the DFA code handle
10302         USE/CLOBBER insns in the same way as the traditional
10303         scheduler.
10304         (new_ready): Similarly..
10306         2002-04-17  Vladimir Makarov  <vmakarov@redhat.com>
10308         * haifa-sched.c (schedule_block): Change the DFA state only after
10309         issuing insn.
10311         Wed Apr 17 15:38:36 2002  Jeffrey A Law  (law@redhat.com)
10313         * pa.c (hppa_use_dfa_pipeline_interface): New function.
10314         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
10315         (override_options): Add PA7300 scheduling support.
10316         (pa_adjust_cost): Update various comments.  Properly
10317         handle anti and output dependencies when using the
10318         DFA scheduler.
10319         (pa_issue_rate): Add PA7300 scheduling support.
10320         (pa_can_combine_p): Call extract_insn before calling
10321         constrain_operands (taken from mainline tree).
10322         * pa.h (enum processor_type): Add PROCESSOR_PA7300.
10323         * pa.md (cpu attr): Add 7300.  Rewrite pipeline
10324         descriptions using DFA descriptions.  Add PA7300
10325         scheduling support.
10327         2002-03-30  David S. Miller  <davem@redhat.com>
10329         Add UltraSPARC-III DFA scheduling support.
10330         * config/sparc/sparc.md (define_attr type): Add fpcrmove.
10331         Update FP conditional move on register insn patterns to use it, as
10332         appropriate.
10333         (define_attr cpu): Add ultrasparc3.
10334         (define_attr us3load_type): New, update integer load patterns to
10335         set it, as appropriate.
10336         (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
10337         (rest): Add UltraSPARC3 scheduling description.
10338         * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
10339         (PROCESSOR_ULTRASPARC3): New.
10340         ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
10341         ({ASM,CPP}_CPU_SPEC): Likewise.
10342         (REGISTER_MOVE_COST): Likewise.
10343         (RTX_COSTS): Likewise.
10344         * config/sparc/sparc.c (sparc_override_options,
10345         sparc_initialize_trampoline, sparc64_initialize_trampoline,
10346         sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
10347         sparc_issue_rate): Likewise.
10348         * config/sparc/sol2.h: Likewise.
10349         * config/sparc/sol2-sld-64.h: Likewise.
10350         * config/sparc/linux64.h: Likewise.
10352         2002-03-22  Vladimir Makarov  <vmakarov@redhat.com>
10354         * doc/md.texi: Add comments about usage the latency time for the
10355         different dependencies and about case when two or more conditions
10356         in different define_insn_reservations returns TRUE for an insn.
10358         * doc/md.texi: Add reference for automaton based pipeline
10359         description.
10361         2002-03-04  Vladimir Makarov  <vmakarov@redhat.com>
10363         * doc/passes.texi: Add missed information about genattrtab.
10365         2002-03-01  Vladimir Makarov  <vmakarov@redhat.com>
10367         * genautomata.c (output_automata_list_transition_code): Check
10368         automata_list on NULL.
10370         2002-02-28  Vladimir Makarov  <vmakarov@redhat.com>
10372         * genautomata.c (output_insn_code_cases,
10373         output_automata_list_min_issue_delay_code,
10374         output_automata_list_transition_code,
10375         output_automata_list_state_alts_code): Comment the functions.
10377         2002-02-22  Vladimir Makarov  <vmakarov@redhat.com>
10379         * genautomata.c (automata_list_el_t): New typedef.
10380         (get_free_automata_list_el,free_automata_list_el,
10381         free_automata_list, automata_list_hash, automata_list_eq_p,
10382         initiate_automata_lists, automata_list_start, automata_list_add,
10383         automata_list_finish, finish_automata_lists,
10384         output_insn_code_cases, output_automata_list_min_issue_delay_code,
10385         output_automata_list_transition_code,
10386         output_automata_list_state_alts_code, add_automaton_state,
10387         form_important_insn_automata_lists): New functions and prototypes.
10388         (insn_reserv_decl): Add members important_automata_list and
10389         processed_p.
10390         (ainsn): Add members important_p.
10391         (automata_list_el): New structure.
10392         (first_free_automata_list_el, current_automata_list,
10393         automata_list_table): New global variables.
10394         (create_ainsns): Initiate member important_p.
10395         (output_internal_min_issue_delay_func): Generate the switch and
10396         call output_insn_code_cases.
10397         (output_internal_trans_func, output_internal_state_alts_func):
10398         Ditto.
10399         (generate): Call initiate_automata_lists.
10400         (automaton_states): New global variable.
10401         (expand_automata): Call form_important_insn_automata_lists.
10402         (write_automata): Call finish_automata_lists.
10404         2002-02-21  Vladimir Makarov  <vmakarov@redhat.com>
10406         * genautomata.c (add_excls, add_presence_absence): Check that
10407         cpu units in the sets belong the same automaton.
10409         * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
10410         about that cpu units in the sets belong the same automaton.
10412         * doc/md.texi: Ditto.
10414         2001-12-20  Naveen Sharma  <naveens@noida.hcltech.com>
10415                     Nitin Gupta  <niting@noida.hcltech.com>
10417         * config/sh/sh.c (sh_use_dfa_interface): New function.
10419         (sh_issue_rate): New Function.
10420         TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
10421         TARGET_SCHED_ISSUE_RATE: define.
10423         * config/sh/sh.md: Add DFA based pipeline description for SH4.
10425         (define_attr insn_class): New attribute used for DFA
10426          scheduling.
10427         (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
10428         (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
10429          cmpeqdi_t): Likewise.
10431         (add,addc1,addsi3,subc,subc1,*subsi3_internal,
10432          negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
10433          ex_group.
10434         (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
10436         2001-10-03  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
10438         * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
10439         break.
10441         2001-10-03  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
10443         * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
10444         (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
10445         necessary.
10446         (output_dfa_start_func): Initiate new variable insn_codes_length,
10447         (write_automata): Output definition of the new variable.
10449         2001-10-02  David S. Miller  <davem@redhat.com>
10451         * haifa-sched.c (advance_one_cycle): New function.
10452         (schedule_block): Use it.
10453         (queue_to_ready): Use it, and also make sure to advance the DFA
10454         state on all stall cycles, not just those where insn_queue links
10455         are found.
10457         2001-10-02  Richard Sandiford  <rsandifo@redhat.com>
10459         * haifa-sched.c (max_issue): Remove last_p argument.  Only return
10460         non-zero if the highest-priority instruction could be scheduled.
10461         (choose_ready): Remove last argument from max_issue call.
10463         2001-09-28  David S. Miller  <davem@redhat.com>
10465         * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
10466         ultrasparc and 3 for other multi-issue sparcs.
10468         2001-09-27  David S. Miller  <davem@redhat.com>
10470         * config/sparc/sparc.md (cycle_display): New pattern.
10471         * config/sparc/sparc.c (sparc_cycle_display): New.
10472         (TARGET_SCHED_CYCLE_DISPLAY): Set it.
10474         2001-09-25  David S. Miller  <davem@redhat.com>
10476         Convert all of Sparc scheduling to DFA
10477         * config/sparc/sparc.md: Kill all define_function_unit
10478         directives and replace with DFA equivalent.
10479         * config/sparc/sparc.c (ultrasparc_adjust_cost,
10480         mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
10481         ultra_fpmode_conflict_exists, ultra_find_type,
10482         ultra_build_types_avail, ultra_flush_pipeline,
10483         ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
10484         ultrasparc_variable_issue, ultrasparc_sched_init,
10485         sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
10486         ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
10487         ultra_cur_hist, ultra_cycles_elapsed): Kill.
10488         (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
10489         ultrasparc_store_bypass_p): New.
10490         * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
10491         Declare.
10493         2001-09-24  David S. Miller  <davem@redhat.com>
10495         * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
10496         ready->vec[foo] not ready[foo].
10498         2001-09-07  Vladimir Makarov  <vmakarov@redhat.com>
10500         * doc/md.texi: Correct examples for define_insn_reservations
10501         `mult' and `div'.
10503         2001-09-07  Vladimir Makarov  <vmakarov@redhat.com>
10505         * genautomata.c (create_automata): Print message about creation of
10506         each automaton.
10507         (generate): Remove printing meease about creation of
10508         automata.
10510         2001-09-05  David S. Miller  <davem@redhat.com>
10512         * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
10513         * config/sparc/linux64.h: Likewise.
10515         2001-08-31  Vladimir Makarov  <vmakarov@redhat.com>
10517         * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
10518         schedule_block, sched_init, sched_finish): Add missed calls of
10519         use_dfa_pipeline_interface.
10521         * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
10522         Ditto.
10524         * sched-vis.c (get_visual_tbl_length): Ditto.
10526         2001-08-27  Richard Henderson  <rth@redhat.com>
10528         * genattr.c (main): Emit state_t even when not doing scheduling.
10530         2001-08-27  Richard Henderson  <rth@redhat.com>
10532         * genautomata.c (expand_automata): Always create a description.
10534         2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
10536         * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
10537         PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
10538         AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
10539         RTL constructions.
10541         * genattr.c (main): New variable num_insn_reservations.  Increase
10542         it if there is DEFINE_INSN_RESERVATION.  Output automaton based
10543         pipeline hazard recognizer interface.
10545         * genattrtab.h: New file.
10547         * genattrtab.c: Include genattrtab.h.
10548         (attr_printf, check_attr_test, make_internal_attr,
10549         make_numeric_value): Move protypes into genattrtab.h.  Define them
10550         as external.
10551         (num_dfa_decls): New global variable.
10552         (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
10553         DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
10554         DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
10555         DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
10557         * genautomata.c: New file.
10559         * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
10561         * sched-int.h: (curr_state): Add the external definition for
10562         automaton pipeline interface.
10563         (haifa_insn_data): Add comments for members blockage and units.
10565         * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10566         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10567         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10568         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10569         TARGET_SCHED_DFA_POST_CYCLE_INSN,
10570         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10571         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
10572         macros.
10573         (TARGET_SCHED): Use the new macros.
10575         * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
10576         dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
10577         first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
10578         dfa_bubble): New members in gcc_target.sched.
10580         * haifa-sched.c (insert_schedule_bubbles_p): New variable.
10581         (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
10582         (insn_queue): Redefine it as pointer to array.
10583         (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
10584         INSN_QUEUE_SIZE.
10585         (max_insn_queue_index_macro_value): New variable.
10586         (curr_state, dfa_state_size, ready_try): New varaibles for
10587         automaton interface.
10588         (ready_element, ready_remove, max_issue): New function prototypes
10589         for automaton interface.
10590         (choose_ready): New function prototype.
10591         (insn_unit, blockage_range): Add comments.
10592         (unit_last_insn, unit_tick, unit_n_insns): Define them for case
10593         FUNCTION_UNITS_SIZE == 0.
10594         (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
10595         actual_hazard, potential_hazard): Add comments.
10596         (insn_cost): Use cost -1 as undefined value.  Remove
10597         LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
10598         pipeline interface.
10599         (ready_element, ready_remove): New functions for automaton
10600         interface.
10601         (schedule_insn): Add new code for automaton pipeline interface.
10602         (queue_to_ready): Add new code for automaton pipeline interface.
10603         Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
10604         (debug_ready_list): Print newline when the queue is empty.
10605         (max_issue): New function for automaton pipeline interface.
10606         (choose_ready): New function.
10607         (schedule_block): Add new code for automaton pipeline interface.
10608         Print ready list before scheduling each insn.
10609         (sched_init): Add new code for automaton pipeline interface.
10610         Initiate insn cost by -1.
10611         (sched_finish): Free the current automaton state and finalize
10612         automaton pipeline interface.
10614         * sched-rgn.c: Include target.h.
10615         (init_ready_list, new_ready, debug_dependencies): Add new code for
10616         automaton pipeline interface.
10618         * sched-vis.c: Include target.h.
10619         (get_visual_tbl_length): Add code for automaton interface.
10620         (target_units, print_block_visualization):  Add comments.
10622         * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
10623         USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
10624         (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
10625         (getruntime.o, genautomata.o): New entries.
10626         (genattrtab.o): Add new dependency file genattrtab.h.
10627         (genattrtab): Add new dependencies.  Link it with `libm.a'.
10628         (getruntime.o, hashtab.o): New entries for canadian cross.
10630         * doc/md.texi: Description of automaton based model.
10632         * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
10633         Add comments.
10634         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
10635         TARGET_SCHED_DFA_PRE_CYCLE_INSN,
10636         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
10637         TARGET_SCHED_DFA_POST_CYCLE_INSN,
10638         TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
10639         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
10640         TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
10641         hook descriptions.
10642         (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
10643         MAX_DFA_ISSUE_RATE): New macro descriptions.
10645         * doc/contrib.texi: Add dfa based scheduler contribution.
10647         * doc/gcc.texi: Add more information about genattrtab.
10649 Mon Apr 29 17:19:10 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10651         * reload1.c (eliminate_regs, case SUBREG): Fix typo in
10652         adjust_address_nv call.
10654 2002-04-29  Janis Johnson  <janis187@us.ibm.com>
10656         * doc/install.texi (Testing): Provide additional information, and
10657         a stronger encouragement, for running the testsuites.
10659 2002-04-29  DJ Delorie  <dj@redhat.com>
10661         * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
10662         given in upper case.
10664 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10666         * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
10667         Solaris 2 <widec.h> if missing.
10668         * fixinc/fixincl.x: Regenerate.
10669         * fixinc/tests/base/widec.h: New file.
10671 2002-04-29  Nick Clifton  <nickc@cambridge.redhat.com>
10673         * toplev.c (f_options): Add "profile" switch so that
10674         -fno-profile can be used to disable -p.
10676 2002-04-29  Bernd Schmidt  <bernds@redhat.com>
10678         * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
10679         UV2DImode.
10680         * tree.c (build_common_tree_nodes_2): Likewise.
10681         * tree.h (enum tree_index): Likewise.
10682         (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
10684         * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
10685         entries.
10686         (init_mmx_sse_builtins): Initialize SSE2 builtins.
10687         (ix86_expand_builtin): Add support for SSE2 builtins.
10688         * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
10689         (VALID_SSE_REG_MODE): Use it.
10690         (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
10691         (enum ix86_builtins): Add SSE2 builtins.
10692         * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
10693         movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
10694         addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
10695         divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
10696         sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
10697         vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
10698         vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
10699         sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
10700         cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
10701         cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
10702         cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
10703         ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
10704         subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
10705         mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
10706         sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
10707         sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
10708         sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
10709         gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
10710         ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
10711         ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
10712         sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
10713         sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
10714         sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
10715         sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
10716         sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
10717         sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
10718         lfence_insn): New patterns.
10719         (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
10720         sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
10722 Mon Apr 29 17:03:24 CEST 2002  Jan Hubicka  <jh@suse.cz>
10724         * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
10726 2002-04-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10728         * doc/contrib.texi (Contributors): Add Paolo Carlini and
10729         Janis Johnson.
10730         Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
10731         Refer to Objective-C instead of ObjC, SPARC instead of sparc,
10732         and CPU instead of cpu.
10734 Mon Apr 29 13:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
10736         * toplev.c (flag_if_conversion, flag_if_conversion2): New static
10737         variables.
10738         (lang_independent_options): Add -fif-conversion, -fif-conversion2
10739         (rest_of_compilation): Do if conversion only when asked for.
10740         (parse_options_and_default_flags): Set new variables to 1 for -O1
10741         * invoke.texi (-fif-conversion, -fif-conversion2): Document.
10743 Mon Apr 29 13:02:50 CEST 2002  Jan Hubicka  <jh@suse.cz>
10745         * i386.c (dbx64_register_map): Fix typo.
10747 Mon Apr 29 12:18:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
10749         * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
10750         real_one_half, real_bb_freq_max): New static variables.
10751         (debug_profile_bbauxs): Kill.
10752         (process_note_predictions): Kill unused variable.
10753         (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
10754         volatile double.
10755         (propagate_freq): Use REAL_ARITHMETICS.
10756         (estimate_bb_frequencies): Likevise; init new static variables.
10757         * Makefile.in (predict.o): Add dependency on real.h
10759 2002-04-28  David S. Miller  <davem@redhat.com>
10761         PR target/6500
10762         * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
10763         64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
10764         several {reads,writes} instead.
10765         * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
10766         Define.
10768 2002-04-27  David S. Miller  <davem@redhat.com>
10770         PR target/6494
10771         * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
10772         of the stack bias.
10774         * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
10775         including signal.h and sys/ucontext.h, not needed.
10777 2002-04-29  Hans-Peter Nilsson  <hp@bitrange.com>
10779         * varasm.c (output_constant_def): Correct test for not calling
10780         ENCODE_SECTION_INFO for INTEGER_CST.
10782 2002-04-29  Neil Booth  <neil@daikokuya.demon.co.uk>
10784         * cppexp.c (lex): Move some code to _cpp_parse_expr, but
10785         keep most cases as function eval_token.
10786         (eval_token): New function.
10787         (_cpp_parse_expr): Read token here for improved diagnostics.
10788         Don't use op_as_text.  Detect bad ':' here.
10789         (reduce): Don't detect bad ':' here.
10790         (op_as_text): Remove.
10791         * cpphash.h (_cpp_test_assertion): Change prototype.
10792         * cpplib.c (_cpp_test_assertion): Change prototype.
10794 2002-04-28  Richard Henderson  <rth@redhat.com>
10796         PR c/5154
10797         * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
10798         (ggc_mark_rtx_children): New.
10800 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
10802         PR target/6496
10803         * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
10804         after call peepholes for UltraSPARC.
10805         (call + jump 64-bit peepholes): Remove.
10807 2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10809         PR c/6497
10810         * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
10811         result as temporary value.
10813 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
10815         PR c++/6396
10816         * toplev.c (rest_of_compilation): Only run regrename and copy
10817         propagation if optimizing.
10819 2002-04-28  Jakub Jelinek  <jakub@redhat.com>
10821         PR optimization/6475
10822         * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
10823         register of REGNO_DECL (i).
10824         * Makefile.in (reload1.o): Add $(TREE_H).
10826 2002-04-28  Neil Booth  <neil@daikokuya.demon.co.uk>
10828         * cppexp.c (lex): Update to use state.skip_eval.
10829         (struct op): Remove prio and flags members.
10830         (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
10831         SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
10832         (LEFT_ASSOC): New macro.
10833         (optab): New table of operator priorities and flags.
10834         (SHIFT): Update.
10835         (_cpp_parse_expr): Clean up logic.  Return bool.  Use a
10836         malloc-ed parser stack.
10837         (reduce): New; reduce the operator stack.
10838         (_cpp_expand_op_stack): Expand the operator stack as necessary.
10839         * cpphash.h (struct op): Predeclare.
10840         (struct cpp_reader): New members op_stack, op_limit.
10841         (struct lexer_state): New member skip_eval.
10842         (_cpp_parse_expr): Update.
10843         (_cpp_expand_op_stack): New.
10844         * cpplib.c (do_if): Update.
10845         * cppinit.c (cpp_create_reader): Create op stack.
10846         (cpp_destroy): And destroy it.
10847         * cpplib.h (CPP_LAST_CPP_OP): Correct.
10848         (TTYPE_TABLE): Correct.
10850 2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10852         PR c/6343
10853         * c-decl.c (duplicate_decls): Call merge_weak.
10854         * c-pragma.c (apply_pragma_weak): Warn about misuse.
10855         * output.h (merge_weak): Prototype merge_weak.
10856         * varasm.c (merge_weak): New function.
10857         (declare_weak): Make sure we don't give an error on VAR_DECLs.
10858         Mark RTL with SYMBOL_REF_WEAK.
10860 2002-04-27  Kurt Garloff <garloff@suse.de>
10862         * tree-inline.c (inlinable_function_p): Improve heuristics
10863         by using a smoother function to cut down allowable inlinable size.
10864         * param.def: Add parameters max-inline-insns-single,
10865         max-inline-slope, min-inline-insns that determine the exact
10866         shape of the above function.
10867         * param.h: Likewise.
10869 2002-04-26  Richard Henderson  <rth@redhat.com>
10871         * c-parse.in (malloced_yyss, malloced_yyvs): New.
10872         (yyoverflow): Re-add.  Set them.
10873         (free_parser_stacks): New.
10874         * c-common.h: Declare it.
10875         * c-lex.c (c_common_parse_file): Call it.
10877 2002-04-26  Richard Henderson  <rth@redhat.com>
10879         * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
10880         for fallthru search.
10882 2002-04-26  Eric Christopher  <echristo@redhat.com>
10884         PR optimization/3700
10885         * config/mips/mips.c (mips_issue_rate): Define.  New function.
10886         (TARGET_SCHED_ISSUE_RATE): Use.
10888 2002-04-25  David S. Miller  <davem@redhat.com>
10890         PR target/6422
10891         * reorg.c (optimize_skip): Do not allow exception causing
10892         instructions to be considered for delay slots.
10893         (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
10894         (relax_delay_slots): Do not try to consider exception causing
10895         instructions as redundant.
10897 2002-04-26  Richard Henderson  <rth@redhat.com>
10899         PR c/5225
10900         * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
10902 2002-04-26  Mark Mitchell  <mark@codesourcery.com>
10904         PR bootstrap/6445
10905         * config/i386/i386.md (untyped_call): Return the value in a float
10906         register if TARGET_FLOAT_RETURNS_IN_80387, not just if
10907         TARGET_80387.
10909 2002-04-26  Alexandre Oliva  <aoliva@redhat.com>
10911         * tree.c (tree_int_cst_lt): Compare constants whose types differ
10912         in unsigned-ness correctly.
10914 2002-04-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10916         * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
10917         portable runtime model.
10919 2002-04-26  Richard Henderson  <rth@redhat.com>
10921         * c-parse.in (yyoverflow): Revert.
10923 2002-04-26  David Edelsohn  <edelsohn@gnu.org>
10924             Richard Henderson  <rth@redhat.com>
10926         * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
10927         result as temporary value.
10929 2002-04-26  Richard Henderson  <rth@redhat.com>
10931         PR c/3581
10932         * c-common.c (fix_string_type): Split out of ...
10933         (combine_strings): ... here.  Take a varray, not a tree list.
10934         (c_expand_builtin_printf): Use fix_string_type.
10935         * c-common.h: Update decls.
10936         * c-parse.in (string): Remove.  Update all uses to use STRING
10937         instead, and not call combine_strings.
10938         (yylexstring): New.
10939         (_yylex): Use it.
10940         * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
10941         (build_asm_stmt): Likewise.
10942         * objc/objc-act.c (my_build_string): Use fix_string_type.
10943         (build_objc_string_object): Build varray for combine_strings.
10945 2002-04-26  Bo Thorsen  <bo@suse.co.uk>
10947         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
10948         x86-64.
10950 2002-04-26  Neil Booth  <neil@daikokuya.demon.co.uk>
10952         * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
10953         (HAVE_NO_R_OPERAND): Remove.
10954         (HAVE_VALUE): Remove.
10955         (op_to_prio): Update.
10956         (UNARY): Don't alter flags.
10957         (_cpp_parse_expr): want_value used to indicate whether
10958         a number or unary operator is expected next.  Distinguish
10959         unary and binary +/-.
10960         (op_as_text): Update for unary operators.
10962 2002-04-25  Richard Henderson  <rth@redhat.com>
10964         PR c/2161
10965         * c-parse.in (yyoverflow): New.
10967 2002-04-25  Richard Henderson  <rth@redhat.com>
10969         PR c/2098
10970         * c-common.c (shorten_compare): Simplfy conditions leading to
10971         the generation of a warning.
10973 2002-04-25  Richard Henderson  <rth@redhat.com>
10975         PR c/2035
10976         * expmed.c (extract_bit_field): Fall through to generic code rather
10977         than aborting on subreg special case.
10979 2002-04-25  David S. Miller  <davem@redhat.com>
10981         * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
10982         for DECL being NULL.
10984 2002-04-25  Steve Christiansen  <smc@us.ibm.com>
10986         * doc/md.texi (Machine Constraints): Add IA-64 constraints.
10988 2002-04-25  Eric Botcazou  <ebotcazou@multimania.com>
10990         * c-decl.c (grokdeclarator): Remove outdated ??? note
10991         on invalid declaration of flexible array members.
10993 2002-04-25  Richard Henderson  <rth@redhat.com>
10995         * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
10997 2002-04-25  Ulrich Weigand  <uweigand@de.ibm.com>
10999         * config/s390/s390.c (s390_emit_epilogue): Always restore registers
11000         needed by the compiler, even if they are used as global regs.
11002 2002-04-25  Matt Hiller  <hiller@redhat.com>
11004         * mips.c (mips_class_max_nregs, mips_register_move_cost): New
11005         functions.
11006         * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
11007         of the corresponding functions.
11008         * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
11009         New prototypes.
11011 2002-04-25  Matt Hiller  <hiller@redhat.com>
11013         * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
11015         (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
11016         (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
11017         registers, adjust comment accordingly.
11018         (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
11019         reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
11020         DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
11021         for coprocessor registers.
11022         (ADDITIONAL_REGISTER_NAMES): Include
11023         ALL_COP_ADDITIONAL_REGISTER_NAMES.
11025         (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
11026         COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
11027         COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
11028         COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
11029         COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
11031         (mips_char_to_class): Adjust comment to include coprocessor
11032         constraint letters.
11034         * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
11035         New functions.
11036         (mips_reg_names, mips_regno_to_class): Include coprocessor
11037         information.
11038         (mips_sw_reg_names): Ditto, make non-static.
11039         (mips_move_1word): Handle moves to and from coprocessor registers.
11040         (mips_move_2words): Handle moves to and from coprocessor
11041         registers.
11042         (mips_class_max_nregs, mips_register_move_cost): Handle
11043         coprocessor register classes.
11044         (override_options): Initialize mips_char_to_class and
11045         mips_hard_regno_mode_ok properly for coprocessor registers.
11047         * config/mips/mips.md (movdi_internal, movdi_internal2,
11048         movsi_internal1, movsi_internal2): Add constraint-sets for
11049         coprocessor registers.
11050         * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
11051         * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
11052         isn't mips.
11053         * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
11054         * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
11055         isn't mips.
11056         * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
11057         * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
11058         isn't mips.
11059         * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
11060         * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
11061         isn't mips.
11063         * doc/tm.texi: Document feature.
11065 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
11067         * integrate.c (function_attribute_inlinable_p): Simplify.
11068         Check the table pointer is not NULL.
11070 2002-04-25  Steven Bosscher  <S.Bosscher@student.tudelft.nl>
11072         * doc/c-tree.texi: Fix typo in introduction.
11074 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
11076         * c-common.h (c_common_parse_file): Update.
11077         * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
11078         * c-lex.c (YYDEBUG): Get from c-lex.h.
11079         (c_common_parse_file): Update.
11080         * c-lex.h (YYDEBUG, yydebug): New.
11081         * c-parse.in (YYDEBUG): Get from c-lex.h.
11082         (c_set_yydebug): Remove.
11083         * c-tree.h (c_set_yydebug): Remove.
11084         * langhooks-def.h (lhd_do_nothing_i): New.
11085         (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
11086         (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
11087         * langhooks.c  (lhd_do_nothing_i): New.
11088         (lhd_set_yydebug): Remove.
11089         * langhooks.h (struct lang_hooks): Update.
11090         * toplev.c (set_yydebug): New.
11091         (compile_file): Update call to parse_file hook.
11092         (decode_d_option): Update.
11093 objc:
11094         * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
11096 Wed Apr 24 23:45:37 2002  J"orn Rennecke <joern.rennecke@superh.com>
11098         * loop.c (load_mems): Don't change the interface of called functions.
11100         * calls.c (expand_call): Take current_function_pretend_args_size
11101         into account when setting argblock for sibcalls.
11103 2002-04-24  Matt Hiller  <hiller@redhat.com>
11105         * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
11106         * c-lex.c: Ditto.
11108         * cpplex.c (skip_line_comment): Process comment one multibyte
11109         character at a time rather than one char at a time, if
11110         appropriate.
11111         (parse_string): Process string one multibyte character at a time
11112         rather than one char at a time, if appropriate.
11113         * c-lex.c (lex_string): Lex and copy multibyte strings
11114         appropriately.
11115         * cpplib.h (cppchar_t): Change to unsigned.
11117 2002-04-24  Richard Henderson  <rth@redhat.com>
11119         PR c/3467
11120         * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
11121         for c99.
11123 Wed Apr 24 21:51:54 2002  J"orn Rennecke <joern.rennecke@superh.com>
11125         * sh.c (sh_va_arg): If argument was passed by reference,
11126         dereference the pointer.
11128         * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
11130         * sh.md (divsi3_i4_media): Use match_operand for input values
11131         rather than hard registers.
11132         (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
11133         unnecessarily through hard registers.  Keep copies of pseudo
11134         registers outside of the libcall sequence.
11136         * sh.md (casesi_shift_media): Add modes.
11138         * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
11139         values in memory.
11141 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
11143         * attribs.c (c_common_attribute_table): Move table and handlers
11144         to c-common.c.
11145         (format_attribute_table, lang_attribute_table,
11146         lang_attribute_common): Remove.
11147         (init_attributes): Replace NULL pointers with pointers to the
11148         empty table.
11149         (handle_packed_attribute, handle_nocommon_attribute,
11150         handle_common_attribute, handle_noreturn_attribute,
11151         handle_noinline_attribute, handle_always_inline_attribute,
11152         handle_used_attribute, handle_unused_attribute,
11153         handle_const_attribute, handle_transparent_union_attribute,
11154         handle_constructor_attribute, handle_destructor_attribute,
11155         handle_mode_attribute, handle_section_attribute,
11156         handle_aligned_attribute, handle_weak_attribute,
11157         handle_alias_attribute, handle_visibility_attribute,
11158         handle_no_instrument_function_attribute, handle_malloc_attribute,
11159         handle_no_limit_stack_attribute, handle_pure_attribute,
11160         handle_deprecated_attribute, handle_vector_size_attribute,
11161         vector_size_helper): Move to c-common.c.
11162         * c-common.c (c_common_attribute_table,
11163         handle_packed_attribute, handle_nocommon_attribute,
11164         handle_common_attribute, handle_noreturn_attribute,
11165         handle_noinline_attribute, handle_always_inline_attribute,
11166         handle_used_attribute, handle_unused_attribute,
11167         handle_const_attribute, handle_transparent_union_attribute,
11168         handle_constructor_attribute, handle_destructor_attribute,
11169         handle_mode_attribute, handle_section_attribute,
11170         handle_aligned_attribute, handle_weak_attribute,
11171         handle_alias_attribute, handle_visibility_attribute,
11172         handle_no_instrument_function_attribute, handle_malloc_attribute,
11173         handle_no_limit_stack_attribute, handle_pure_attribute,
11174         handle_deprecated_attribute, handle_vector_size_attribute,
11175         vector_size_helper): Move from attribs.c.
11176         * c-common.h (c_common_attribute_table,
11177         c_common_format_attribute_table): New.
11178         * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
11179         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
11180         * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
11181         LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
11182         (LANG_HOOKS_INITIALIZER): Update.
11183         * langhooks.h (struct lang_hooks): 3 new attribute hooks.
11184         * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
11185         * target.h: Update comment.
11186         * tree.c (default_target_attribute_table): Remove.
11187         * tree.h (default_target_attribute_table, format_attribute_table,
11188         lang_attribute_table, lang_attribute_common): Remove.
11189 objc:
11190         * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
11191         LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
11193 2002-04-24  Jason Merrill  <jason@redhat.com>
11195         * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
11196         * dwarf2out.c (dwarf_attr_name): Support it.
11197         (gen_array_type_die): Emit it.
11198         (lookup_type_die): No special handling for VECTOR_TYPE.
11199         (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
11201 2002-04-24  Richard Henderson  <rth@redhat.com>
11203         * config/mips/mips.md (movdi_usd): Renumber.
11205 2002-04-24  David S. Miller  <davem@redhat.com>
11207         PR target/6420
11208         * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
11209         32-bit Sparc and current_function_returns_struct is true.
11211 Wed Apr 24 13:48:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
11213         * loop.c (canonicalize_condition): Use gen_int_mode.
11215 2002-04-24  Aldy Hernandez  <aldyh@redhat.com>
11217         * config/rs6000/altivec.h: Cleanup file.  Add non individual
11218         variants.
11219         (vec_vaddubm): New.
11220         (vec_vadduhm): New.
11221         (vec_vadduwm): New.
11222         (vec_vaddfp): New.
11223         (vec_vaddcuw): New.
11224         (vec_vaddubs): New.
11225         (vec_vaddsbs): New.
11226         (vec_vadduhs): New.
11227         (vec_vadduws): New.
11228         (vec_vaddsws): New.
11229         (vec_vand): New.
11230         (vec_vandc): New.
11231         (vec_vavgub): New.
11232         (vec_vavgsb): New.
11233         (vec_vavguh): New.
11234         (vec_vavgsh): New.
11235         (vec_vavguw): New.
11236         (vec_vavgsw): New.
11237         (vec_vrfip): New.
11238         (vec_vcmpbfp): New.
11239         (vec_vcmpequb): New.
11240         (vec_vcmpequh): New.
11241         (vec_vcmpequw): New.
11242         (vec_vcmpeqfp): New.
11243         (vec_vcmpgefp): New.
11244         (vec_vcmpgtub): New.
11245         (vec_vcmpgtsb): New.
11246         (vec_vcmpgtuh): New.
11247         (vec_vcmpgtsh): New.
11248         (vec_vcmpgtuw): New.
11249         (vec_vcmpgtsw): New.
11250         (vec_vcmpgtfp): New.
11251         (vec_vcmpgefp): New.
11252         (vec_vcfux): New.
11253         (vec_vcfsx): New.
11254         (vec_vctsxs): New.
11255         (vec_vctuxs): New.
11256         (vec_vexptefp): New.
11257         (vec_vrfim): New.
11258         (vec_lvx): New.
11259         (vec_lvebx): New.
11260         (vec_lvehx): New.
11261         (vec_lde): Add vector float variant.
11262         (vec_lvewx): New.
11263         (vec_lvxl): New.
11264         (vec_vlogefp): New.
11265         (vec_vmaddfp): New.
11266         (vec_vmhaddshs): New.
11267         (vec_vmaxub): New.
11268         (vec_vmaxsb): New.
11269         (vec_vmaxuh): New.
11270         (vec_vmaxsh): New.
11271         (vec_vmaxuw): New.
11272         (vec_vmaxsw): New.
11273         (vec_vmaxsw): New.
11274         (vec_vmaxfp): New.
11275         (vec_vmrghb): New.
11276         (vec_vmrghh): New.
11277         (vec_vmrghw): New.
11278         (vec_vmrglb): New.
11279         (vec_vmrglh): New.
11280         (vec_vmrglw): New.
11281         (vec_vminub): New.
11282         (vec_vminsb): New.
11283         (vec_vminuh): New.
11284         (vec_vminsh): New.
11285         (vec_vminuw): New.
11286         (vec_vminsw): New.
11287         (vec_vminfp): New.
11288         (vec_vmladduhm): New.
11289         (vec_vmhraddshs): New.
11290         (vec_msumubm): New.
11291         (vec_vmsummbm): New.
11292         (vec_vmsumuhm): New.
11293         (vec_vmsumshm): New.
11294         (vec_vmsumuhs): New.
11295         (vec_vmsumshs): New.
11296         (vec_vmuleub): New.
11297         (vec_vmulesb): New.
11298         (vec_vmuleuh): New.
11299         (vec_vmulesh): New.
11300         (vec_vmuloub): New.
11301         (vec_mulosb): New.
11302         (vec_vmulouh): New.
11303         (vec_vmulosh): New.
11304         (vec_vnmsubfp): New.
11305         (vec_vnor): New.
11306         (vec_vor): New.
11307         (vec_vpkuhum): New.
11308         (vec_vpkuwum): New.
11309         (vec_vpkpx): New.
11310         (vec_vpkuhus): New.
11311         (vec_vpkshss): New.
11312         (vec_vpkuwus): New.
11313         (vec_vpkswss): New.
11314         (vec_vpkshus): New.
11315         (vec_vpkswus): New.
11316         (vec_vperm): New.
11317         (vec_vrefp): New.
11318         (vec_vrlb): New.
11319         (vec_vrlh): New.
11320         (vec_vrlw): New.
11321         (vec_vrfin): New.
11322         (vec_vrsqrtefp): New.
11323         (vec_vsel): New.
11324         (vec_vslb): New.
11325         (vec_vslh): New.
11326         (vec_vslw): New.
11327         (vec_vsldoi): New.
11328         (vec_vsl): New.
11329         (vec_vslo): New.
11330         (vec_vspltb): New.
11331         (vec_vsplth): New.
11332         (vec_vspltw): New.
11333         (vec_vspltisb): New.
11334         (vec_vspltish): New.
11335         (vec_vspltisw): New.
11336         (vec_vsrb): New.
11337         (vec_vsrh): New.
11338         (vec_vsrw): New.
11339         (vec_vsrab): New.
11340         (vec_vsrah): New.
11341         (vec_vsraw): New.
11342         (vec_vsr): New.
11343         (vec_vsro): New.
11344         (vec_stvx): New.
11345         (vec_stvebx): New.
11346         (vec_stvehx): New.
11347         (vec_stvewx): New.
11348         (vec_stvxl): New.
11349         (vec_vsububm): New.
11350         (vec_vsubuhm): New.
11351         (vec_vsubuwm): New.
11352         (vec_vsubfp): New.
11353         (vec_vsubcuw): New.
11354         (vec_vsububs): New.
11355         (vec_vsubsbs): New.
11356         (vec_vsubuhs): New.
11357         (vec_vsubshs): New.
11358         (vec_vsubuws): New.
11359         (vec_vsubsws): New.
11360         (vec_vsum4ubs): New.
11361         (vec_vsum4sbs): New.
11362         (vec_vsum4shs): New.
11363         (vec_vsum2sws): New.
11364         (vec_vsumsws): New.
11365         (vec_vrfiz): New.
11366         (vec_vupkhsb): New.
11367         (vec_vupkhpx): New.
11368         (vec_vupkhsh): New.
11369         (vec_vupklsb): New.
11370         (vec_vupklpx): New.
11371         (vec_vupklsh): New.
11372         (vec_vxor): New.
11374 2002-04-23  Eric Botcazou  <ebotcazou@multimania.com>
11376         PR c/5430
11377         * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
11378         added literals from substracted literals.
11379         (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
11380         (fold) [associate]: Preserve MINUS_EXPR if needed.
11382 2002-04-23  Zack Weinberg  <zack@codesourcery.com>
11384         * doc/install.texi: Clarify which versions of alpha*-dec-osf*
11385         are obsoleted.
11387 2002-04-23  Tom Tromey  <tromey@redhat.com>
11389         * gcc.c: Added --resource.  For PR java/6314.
11391 2002-04-23  David O'Brien  <obrien@FreeBSD.org>
11393         * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
11394         * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
11395         these libraries.
11397 2002-04-23  David O'Brien  <obrien@FreeBSD.org>
11399         * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
11401 Tue Apr 23 14:24:25 CEST 2002  Jan Hubicka  <jh@suse.cz>
11403         * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
11404         workaround.
11405         (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
11406         (ix86_expand_clrstr): Fix typo.
11407         * loop.c (gen_load_of_final_value): New.
11408         (loop_givs_rescan, strength_reduce, check_dbra_loop):
11409         Use it.
11411 2002-04-23  Roger Sayle  <roger@eyesopen.com>
11413         * builtins.c (builtin_memset_gen_str): New function.
11414         (expand_builtin_memset): Optimize the case of constant length, but
11415         unknown value.
11417 2002-04-23  Aldy Hernandez  <aldyh@redhat.com>
11419         * config/rs6000/altivec.h (vec_step): Remove extraneous
11420         parentheses.
11421         (vec_ctu): Cast return.
11423 2002-04-23  Alan Modra  <amodra@bigpond.net.au>
11425         PR target/6413
11426         * function.h: (struct function): Add profile_label_no field.
11427         (current_function_profile_label_no): Define.
11428         * function.c: (profile_label_no): New static var.
11429         (expand_function_start): Increment it, and copy to
11430         current_function_profile_label_no.
11431         * output.h (profile_label_no): Delete.
11432         * final.c (profile_label_no): Delete.
11433         (profile_function): Use current_function_profile_label_no.
11434         (final_end_function): Don't increment profile_label_no here.
11435         * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
11436         profile_label_no with current_function_profile_label_no.
11437         * config/pa/pa.c (current_function_number): Delete.
11438         (pa_output_function_prologue): Don't output profile label here.
11439         (hppa_profile_hook): Use label_no param rather than
11440         current_function_number.
11441         (FUNC_BEGIN_PROLOG_LABEL): Move to ..
11442         * config/pa/pa.h: .. here.
11443         (FUNCTION_PROFILER): Output profile label here.
11445 2002-04-22  Eric Christopher  <echristo@redhat.com>
11447         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
11448         patch of 2002-04-09 due to binutils issues.
11449         (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
11451 2002-04-22  Aldy Hernandez  <aldyh@redhat.com>
11453         * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
11454         constraint to 'o' for m=r and r=m alternatives.
11455         ("*movv8hi_internal1"): Same.
11456         ("*movv16qi_internal1"): Same.
11457         ("*movv4sf_internal1"): Same.
11459 2002-04-22  Janis Johnson  <janis187@us.ibm.com>
11461         * rtl.h (RTX_FLAG): New macro.
11462         * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
11463         * final.c (alter_subreg): Use macro to access rtx flag.
11464         * integrate.c (copy_rtx_and_substitute): Use new access macro.
11465         * print-rtl.c (print_rtx): Use new access macro.
11467         * cse.c (insert): Check rtx code before accessing flag.
11469         * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
11470         ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
11471         (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
11472         convert_const_symbol_ref, make_canonical, make_alternative_compare,
11473         evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
11474         simplify_test_exp, optimize_attrs, simplify_by_exploding,
11475         find_and_mark_used_attributes, unmark_used_attributes,
11476         add_values_to_cover, simplify_with_current_value,
11477         simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
11478         copy_rtx_unchanging, main): Use new access macros.
11480 2002-04-22  Tom Rix  <trix@redhat.com>
11482         * expmed.c (init_expmed): Generate shifted constant once.
11484 2002-04-22  Zack Weinberg  <zack@codesourcery.com>
11486         * c-lex.c (lex_charconst): Call convert to get constant in
11487         proper type; don't just smash the type field.
11488         Fixes PR c/6300.
11490         * config.gcc: Add list of obsolete configurations.  Disallow
11491         building these without --enable-obsolete.
11492         * doc/install.texi: Document --enable-obsolete and obsoletion
11493         policy.  Mention obsoletion of individual targets in
11494         appropriate places.
11496 2002-04-22  Richard Henderson  <rth@redhat.com>
11498         * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
11500 2002-04-22  Mark Mitchell  <mark@codesourcery.com>
11502         PR f/6138.
11503         * function.c (fixup_memory_subreg): Add promoted_mode parameter.
11504         (walk_fixup_memory_subreg): Likewise.
11505         (fixup_var_refs_insn): Adjust accordingly.
11506         (fixup_var_refs_1): Likewise.
11508 2002-04-22  Ulrich Weigand  <uweigand@de.ibm.com>
11510         * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
11511         LIBPATH_ARCH64_SPEC): Define.
11512         (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
11513         (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
11514         (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
11515         (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
11517 2002-04-22      Joel Sherrill <joel@OARcorp.com>
11519         * gthr-rtems.h: Correct prototypes to remove warnings.
11521 2002-04-22  Richard Henderson  <rth@redhat.com>
11523         PR c/6344
11524         * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
11526         * gcse.c (free_insn_expr_list_list): New.
11527         (clear_modify_mem_tables): Use it.  Fix bit set usage.
11528         (canon_list_insert): Use EXPR_LISTs for expressions.
11529         (record_last_mem_set_info): Factor BLOCK_NUM (insn).
11531 2002-04-22  Neil Booth  <neil@daikokuya.demon.co.uk>
11533         * cppfiles.c (_cpp_pop_file_buffer): Return void.  Move
11534         file change and include code to _cpp_pop_buffer.
11535         * cpphash.h (struct pending_option): Predeclare.
11536         (struct cpp_reader): New member next_include_file.
11537         (_cpp_pop_file_buffer): Update.
11538         (_cpp_push_next_buffer): Update, rename.
11539         * cppinit.c (cpp_destroy): Free include chain and pending here.
11540         (cpp_finish_options): Simplify.
11541         (_cpp_push_next_buffer): Rename and clean up.
11542         * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
11543         Clarify.
11544         * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
11546 2002-04-22  Aldy Hernandez  <aldyh@redhat.com>
11548         * config/rs6000/altivec.h (vec_xor): Add variant for both args
11549         being vector signed int.
11550         (vec_andc): Same.
11551         (vec_xor): Add variant for both args being vector signed char.
11552         Remove redundant variant.
11553         (vec_andc): Same.
11555 2002-04-21  David S. Miller  <davem@redhat.com>
11557         * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
11558         compare mode in output RTL.
11560 2002-04-22  David Edelsohn  <edelsohn@gnu.org>
11562         * config/rs6000/rs6000.c (rs6000_override_options): Correct
11563         style and formatting of previous patch.
11565 2002-04-22  Alan Modra  <amodra@bigpond.net.au>
11567         * config/rs6000/rs6000.c (rs6000_override_options): Always clear
11568         flag_pic for ABI_AIX.
11570 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
11572         * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
11573         * cppfiles.c (read_include_file): Similarly.
11574         * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
11575         uxstrdup ustrchr, ufputs): Similarly.
11576         * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
11577         * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
11578         cpp_ideq, parse_identifier, parse_number): Similarly.
11579         * cpplib.c (struct directive, dequote_string, D, run_directive,
11580         cpp_push_buffer): Similarly.
11581         * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
11582         _cpp_create_definition, check_trad_stringification,
11583         cpp_macro_definition): Similarly.
11585 2002-04-21  Neil Booth  <neil@daikokuya.demon.co.uk>
11587         * cppmacro.c (funlike_invocation_p): Don't step back
11588         over CPP_EOF.
11590 2002-04-21  David Edelsohn  <edelsohn@gnu.org>
11592         * config/rs6000/rs6000.c (output_profile_hook): Do not increment
11593         labelno.
11595 2002-04-20  Joseph S. Myers  <jsm28@cam.ac.uk>
11597         * doc/invoke.texi: Remove Chill references.
11598         * doc/gcc.texi: Update last modified date.
11600 2002-04-20  Kazu Hirata  <kazu@hxi.com>
11602         * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
11603         push and pop.  Replace add.l with add.w.
11605 2002-04-20  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
11607         * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
11608         multiply instructions for H8/300H case.
11610 2002-04-20  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
11612         * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
11613         Bum three instructions from each routine.
11615 2002-04-20  Neil Booth  <neil@daikokuya.demon.co.uk>
11617         * Makefile.in: Update.
11618         * decl.c (push_c_function_context, pop_c_function_context,
11619         mark_c_function_context): Rename for consistency.
11620         * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
11621         * c-tree.h (push_c_function_context, pop_c_function_context,
11622         mark_c_function_context): Rename for consistency.
11623         * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
11624         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
11625         * function.c (init_lang_status, save_lang_status,
11626         restore_lang_status, mark_lang_status, free_lang_status):
11627         Move to langhooks.h.
11628         (push_function_context_to, pop_function_context_from,
11629         free_after_parsing, prepare_function_start, ggc_mark_struct_function):
11630         Update.
11631         * function.h (init_lang_status, save_lang_status,
11632         restore_lang_status, mark_lang_status, free_lang_status):
11633         Move to langhooks.h.
11634         * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
11635         LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
11636         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
11637         LANG_HOOKS_FUNCTION_INITIALIZER): New.
11638         (LANG_HOOKS_INITIALIZER): Update.
11639         (lhd_do_nothing_f): New.
11640         * langhooks.h (struct lang_hooks_for_functions): New.
11641         (struct lang_hooks): New hooks.
11642         * langhooks.c (lhd_do_nothing_f): New.
11643 objc:
11644         * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
11645         LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
11647 2002-04-19  David S. Miller  <davem@redhat.com>
11649         * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
11650         * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
11652 2002-04-19  Jakub Jelinek  <jakub@redhat.com>
11654         PR optimization/3756
11655         * config/i386/i386.c (ix86_expand_int_movcc): Optimize
11656         x = ((int) y < 0) ? cst1 : cst2.
11658 2002-04-19  Jakub Jelinek  <jakub@redhat.com>
11660         PR c/6358
11661         * function.c: Reapply patch for c/6358.
11662         (expand_function_end): Copy decl_rtl's mode, not
11663         current_function_return_rtx mode.
11665 2002-04-19  Joel Sherrill  <joel@OARcorp.com>
11667         * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
11668         targets.
11670 2002-04-19  Tom Tromey  <tromey@redhat.com>
11672         * doc/install.texi (Specific): Update status of Solaris 2.8.
11673         For PR libgcj/6158.
11675 2002-04-19  Andreas Schwab  <schwab@suse.de>
11677         * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
11678         (PUT_REAL): Restore old definition.
11680 2002-04-19  Dan Nicolaescu  <dann@godzilla.ics.uci.edu>
11681             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11683         * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
11684         binutils 2.11.2 and higher generate smaller binaries than Sun's
11685         native tools.
11687 2002-04-19  Mark Mitchell  <mark@codesourcery.com>
11689         PR c++/6352
11690         * toplev.c (rest_of_compilation): Do not defer functions for which
11691         TREE_SYMBOL_REFERENCED has already been set.
11693 Fri Apr 19 15:53:03 CEST 2002  Jan Hubicka  <jh@suse.cz>
11695         * i386.md (movsi_1, movhi_1): Force reload to use more flexible
11696         alternative.
11698 2002-04-19  Neil Booth  <neil@daikokuya.demon.co.uk>
11700         * builtins.c: Include langhooks.h.
11701         (lang_type_promotes_to): Remove.
11702         (expand_builtin_va_arg): Use new hook.
11703         * c-common.c (c_common_nodes_and_builtins): Don't set hook.
11704         (simple_type_promotes_to): Move to c-typeck.c.
11705         * c-common.h (simple_type_promotes_to): Remove.
11706         * c-decl.c (duplicate_decls, grokdeclarator): Update.
11707         * c-format.c: Include langhooks.h.
11708         (check_format_types): Update.
11709         * c-tree.h (c_type_promotes_to): New.
11710         * c-typeck.c (c_type_promotes_to): Move from c-common.c.
11711         (type_lists_compatible_p): Update.
11712         * langhooks-def.h (lhd_type_promotes_to): New.
11713         (LANG_HOOKS_TYPE_PROMOTES_TO): New.
11714         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
11715         * langhooks.c (lhd_type_promotes_to): New.
11716         * langhooks.h (struct lang_hooks_for_types): New hook.
11717         * tree.h (lang_type_promotes_to): Remove.
11718 objc:
11719         * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
11721 2002-04-18  Richard Henderson  <rth@redhat.com>
11723         * function.c: Revert patch for c/6358.
11725 2002-04-18  Richard Henderson  <rth@redhat.com>
11727         * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
11728         blocks.  Handle multiple references to the TRAP block.  Handle
11729         non-adjacent THEN and OTHER blocks.
11731 2002-04-18  Richard Henderson  <rth@redhat.com>
11733         * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
11734         crash with no type for by-mode libcalls.
11736         * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
11738 2002-04-18  Bob Wilson  <bob.wilson@acm.org>
11740         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
11741         __xtensa_nonlocal_goto): Use a syscall instructions to flush
11742         the register windows.
11744 2002-04-18  Zack Weinberg  <zack@codesourcery.com>
11746         * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
11747         appropriate.  Document need for extended precision even when
11748         MAX_LONG_DOUBLE_TYPE_SIZE is smaller.  Define REAL_WIDTH here,
11749         based on REAL_VALUE_TYPE_SIZE.  Use REAL_WIDTH to size
11750         REAL_VALUE_TYPE.  Define CONST_DOUBLE_FORMAT here.  Use #error
11751         instead of relying on later syntax error when REAL_WIDTH > 5.
11752         * real.c: Define NE based only on whether or not we have a
11753         full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
11754         Require sizeof(REAL_VALUE_TYPE) == 2*NE.  Unconditionally
11755         define GET_REAL and PUT_REAL as simple memcpy operations; no
11756         need to byteswap or round.
11757         Use #error instead of #ifdef-ing out the entire file, for
11758         prompt error detection.
11760         * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
11762 2002-04-18  David S. Miller  <davem@redhat.com>
11764         * config/sparc/sparc.h (BRANCH_COST): Define.
11766         * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
11767         does it.
11769 2002-04-18  Hans-Peter Nilsson  <hp@bitrange.com>
11771         * flow.c (update_life_info): Ignore return value of cleanup_cfg.
11772         Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
11773         propagate_block calls after relaxation loop using new variable
11774         stabilized_prop_flags.
11776 2002-04-18  Richard Henderson  <rth@redhat.com>
11778         * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
11779         (ia64_va_arg): Expect variable sized types by reference.
11780         * config/ia64/ia64-protos.h: Update.
11781         * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
11782         ia64_function_arg_pass_by_reference.
11784 2002-04-18  Richard Henderson  <rth@redhat.com>
11786         * ifcvt.c: Include except.h.
11787         (block_has_only_trap): Break out from find_cond_trap.
11788         (find_cond_trap): Use it.  Always delete the trap block.
11789         (merge_if_block): Allow then block null.  Be less simplistic about
11790         what insns can end a block.
11791         * Makefile.in (ifcvt.o): Depend on except.h.
11793         * config/ia64/ia64.md (trap, conditional_trap): New.
11795 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
11797         PR c/6358
11798         * function.c (assign_parms): Assign hard current_function_return_rtx
11799         register here...
11800         (expand_function_end): ...not here.
11802 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
11804         * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
11805         * c-tree.h (c_incomplete_type_error): New.
11806         * c-typeck.c (require_complete_type, build_component_ref): Update.
11807         (incomplete_type_error): Rename.
11808         * langhooks-def.h (lhd_incomplete_type_error): New.
11809         (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
11810         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
11811         * langhooks.c (lhd_incomplete_type_error): New.
11812         * langhooks.h (struct lang_hooks_for_types): New hook.
11813         * tree.c (size_in_bytes): Use new hook.
11814         * tree.h (incomplete_type_error): Remove.
11815 objc:
11816         * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
11818 2002-04-18  Zack Weinberg  <zack@codesourcery.com>
11820         * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
11821         TARGET_FLOAT_FORMAT blocks.
11823 2002-04-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11825         * doc/install.texi (Downloading the source): Do not mention Chill
11826         any longer, but mention Ada.
11827         (Configuration): Do not mention Chill any longer.
11829 2002-04-18  Hans-Peter Nilsson  <hp@axis.com>
11831         * config/cris/cris.h (TARGET_VERSION): Remove local version number.
11833 Thu Apr 18 17:14:08 CEST 2002  Jan Hubicka  <jh@suse.cz>
11835         * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
11836         in last patch.
11838 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
11840         * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
11841         instead of unsigned_type.
11843 Thu Apr 18 15:49:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
11845         * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
11846         * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
11847         later.
11849 2002-04-18  Bernd Schmidt  <bernds@redhat.com>
11851         * attribs.c (vector_type_node_list): New static variable.
11852         (handle_vector_size_attribute): Use it to avoid generating a
11853         new type node each time we are called.
11855         * combine.c (subst): Avoid trying to make a vector mode subreg of
11856         an integer constant.
11857         (gen_lowpart_for_combine): Likewise.
11859 2002-04-18  Roger Sayle  <roger@eyesopen.com>
11860             Jakub Jelinek  <jakub@redhat.com>
11862         * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
11863         for integer constant c (if x has unsigned type or sign bit is not
11864         set in c).  This folds the zero/sign extension into the bit-wise and
11865         operation.
11867 2002-04-18  Jakub Jelinek  <jakub@redhat.com>
11869         PR middle-end/6205
11870         * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
11871         otherwise xorps.
11873 2002-04-17  NIIBE Yutaka  <gniibe@m17n.org>
11875         * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
11877 2002-04-17  Nick Clifton  <nickc@cambridge.redhat.com>
11879         * gcc.c (read_specs): Detect and fail if an attempt is made to
11880         rename a spec string to an already existing string.
11882 2002-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
11884         * config/s390/s390.c (legitimize_pic_address): Do not generate
11885         illegal address constant without CONST.
11887 2002-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11889         * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
11890         * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
11892 2002-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
11894         PR optimization/6305
11895         * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
11896         to make sure previous reloads are taken into account.  Generate
11897         better code if one operand is an in-range immediate constant.
11899 2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>
11901         * doc/install.texi (Building): libgcj requires GNU make.
11903 2002-04-17  Jakub Jelinek  <jakub@redhat.com>
11905         PR bootstrap/6315
11906         * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
11907         even if hard quad and register is not floating.
11908         (movtf reg<-mem split): Disallow splitting if hard quad and
11909         register is floating.
11910         (movtf mem<-reg split): Likewise.
11911         * config/sparc/sparc.c (fp_register_operand): New predicate.
11912         * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
11914 2002-04-17  Zack Weinberg  <zack@codesourcery.com>
11916         * Makefile.in (PROTO_OBJS): Add cppdefault.o.
11917         (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
11918         (unprotoize.o): Ditto.  Build from protoize.c.  Define
11919         UNPROTOIZE on command line.
11920         * protoize.c: Include cppdefault.h.  Delete include_defaults.
11921         (in_system_include_dir): Use cpp_include_defaults (defined in
11922         cppdefault.o).
11923         * unprotoize.c: Delete file.
11925 2002-04-17  Aldy Hernandez  <aldyh@redhat.com>
11927         * config/rs6000/altivec.h (vec_ld): Add array variants.
11928         (vec_lde): Same.
11929         (vec_ldl): Same.
11931 2002-04-17  Alan Matsuoka  <alanm@redhat.com>
11932             Aldy Hernandez <aldyh@redhat.com>
11934         * config/rs6000/altivec.h: Define __ALTIVEC__.
11935         (bool): New.
11936         (__pixel): New.
11937         (pixel): New.
11938         (vec_cfux): New.
11939         (vec_vmaddfp): New.
11940         (vec_vsldoi): New.
11941         Add parentheses to all macro arguments.
11943 2002-04-16  Richard Henderson  <rth@redhat.com>
11945         PR c++/6320
11946         * except.c (remove_eh_handler): Insert inner regions at beginning
11947         of sibling chain.  Refactor expressions.
11949 2002-04-16  Richard Henderson  <rth@redhat.com>
11951         * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
11952         * config/sparc/sol2-gas-bi.h: New file.
11953         * config.gcc (sparc*-solaris): Add it as needed.
11954         * configure.in (AS_SPARC64_FLAG): Remove check.
11955         * config.in, configure: Regenerate.
11957         * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
11959 2002-04-16  Richard Henderson  <rth@redhat.com>
11961         * config/mips/mips.c (override_options): Don't override N32 for
11962         a 64-bit ISA.
11964         PR 6202
11965         * config/mips/mips.md (can_delay): Split out of existing define_delays.
11966         (HILO_delay): Set can_delay false.
11968 2002-04-16  Dale Johannesen <dalej@apple.com>
11970         * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
11971         instruction addresses.
11972         (rs6000_output_function_epilogue): Likewise.
11974 2002-04-16  Paolo Carlini  <pcarlini@unitus.it>
11976         * c-parse.in (poplevel, compstmt_start,
11977         compstmt_primary_start): Add ending ';', in accordance
11978         with POSIX.
11980 2002-04-16  Richard Henderson  <rth@redhat.com>
11982         * config.gcc (sparcv9-solaris): Configure for 64-bit default.
11983         Adjust tm_file order to get TARGET_DEFAULT set properly.
11984         (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
11985         * doc/install.texi (sparc-solaris): Update.
11987 2002-04-16  Dale Johannesen <dalej@apple.com>
11989         * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
11990         comparison operands do not match each other or if modes of
11991         conditions do not match result.
11993 2002-04-16  Hartmut Penner <hpenner@de.ibm.com>
11995         PR target/6305
11996         * config/s390/s390.md (mulsidi3): Set both subregs of the
11997         multiword register.
11999 2002-04-16  Aldy Hernandez  <aldyh@redhat.com>
12001         * config/rs6000/altivec.h (vec_addc): Type check.
12003 2002-04-16  Jakub Jelinek  <jakub@redhat.com>
12005         PR middle-end/6279
12006         * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
12008         * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
12010 2002-04-15  Richard Henderson  <rth@redhat.com>
12012         * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
12013         call_really_used_regs too.
12015 2002-04-15  Richard Henderson  <rth@redhat.com>
12017         * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
12019 2002-04-15  David S. Miller  <davem@redhat.com>
12021         * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
12022         as being CLOBBERed.
12024 2002-04-16  Jakub Jelinek  <jakub@redhat.com>
12026         PR c/6290
12027         * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
12028         CONST_VECTOR is { 0, ... 0 }.
12030 2002-04-15  Loren J. Rittle  <ljrittle@acm.org>
12032         * doc/install.texi (Installing GCC: Configuration): Clarify
12033         the only supported ways to configure gcc.
12035 2002-04-15  Roland McGrath  <roland@frob.com>
12037         * config.gcc (alpha*-*-gnu*): New target configuration.
12038         * config/alpha/gnu.h: New file for it.
12039         * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
12041 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
12043         * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
12044         * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
12045         * tree.h (expand_start_stmt_expr): Update prototype.
12046         * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
12047         * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
12048         on the STMT_EXPR created for the inline function.
12050 2002-04-15  Richard Henderson  <rth@redhat.com>
12052         * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
12053         config/i386/linux-aout.h, config/i386/linux-oldld.h,
12054         config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
12055         config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
12056         config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
12057         config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
12058         config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
12059         Define __gnu_linux__, not gnu_linux.
12060         * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
12062 2002-04-15  Mark Mitchell  <mark@codesourcery.com>
12064         Remove Chill front end.
12065         * gcc.c (default_compilers): Remove Chill entries.
12066         * ch: Remove directory.
12067         * doc/frontends.texi: Remove information about Chill.
12068         * doc/sourcebuild.texi: Likewise.
12069         * doc/standards.texi: Likewise.
12071 2002-04-15  Douglas B Rupp  <rupp@gnat.com>
12073         * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
12074         (LONGLONG_STANDALONE): Define.
12076 2002-04-15  David S. Miller  <davem@redhat.com>
12078         * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
12079         Call emit_library_call with LCT_NORMAL.
12080         (sparc_initialize_trampoline): Use LCT_foo instead of
12081         magic constant in emit_library_call invocations.
12082         (sparc64_initialize_trampoline): Likewise.
12083         (sparc_profile_hook): Likewise.
12084         * config/sparc/sparc.md: Likewise.
12086         * config/sparc/sparc.c (sparc_extra_constraint_check):
12087         Fix type of argument 'c'.
12088         * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
12089         Likewise.
12091 2002-04-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
12093         * diagnostic.h (output_buffer_state): Redefine.
12094         (output_format_decoder): New macro.
12095         (output_prefixing_rule): Likewise.
12096         (output_line_cutoff): Likewise.
12097         (diagnostic_format_decoder): Adjust.
12098         (diagnostic_prefixing_rule): Likewise.
12099         (diagnostic_line_cutoff): Likewise.
12100         (diagnostic_state): Likewise.
12101         (diagnostic_kind_count): Likewise.
12102         (diagnostic_buffer): Now a macro.
12104         * diagnostic.c (diagnostic_buffer): Remove definition.
12105         (output_is_line_wrapping): Adjust.
12106         (set_real_maximum_length): Likewise.
12107         (output_set_maximum_length): Likewise.
12108         (init_output_buffer): Likewise.
12109         (lhd_print_error_function): Likewise.
12110         (output_do_verbatim): Likewise.
12112 2002-04-14  Neil Booth  <neil@daikokuya.demon.co.uk>
12114         * cpperror.c (print_location): Don't print include chain
12115         if line == 0.
12116         (cpp_begin_message): Update to use DL_ macros.
12117         (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
12118         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
12119         cpp_notice, cpp_notice_from_errno): Remove.
12120         (cpp_error, cpp_error_with_line): Update to take a diagnostic
12121         level.
12122         (cpp_errno): New.
12123         * cppexp.c (CPP_ICE): Remove.
12124         (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
12125         lex, integer_overflow, _cpp_parse_expr): Update.
12126         * cppfiles.c (read_include_file, find_include_file,
12127         handle_missing_header, _cpp_read_file, remap_filename): Update.
12128         * cpphash.h (enum error_type): Remove.
12129         (_cpp_begin_message): Update.
12130         * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
12131         cpp_handle_option, cpp_post_options): Update.
12132         * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
12133         skip_whitespace, parse_identifier, parse_slow, parse_string,
12134         _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
12135         cpp_interpret_charconst): Update.
12136         * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
12137         lex_macro_node, do_undef, glue_header_name, parse_include,
12138         do_include_common, read_flag, do_line, do_linemarker, do_ident,
12139         cpp_register_pragma, do_pragma_once, do_pragma_system_header,
12140         do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
12141         do_elif, do_endif, parse_answer, parse_assertion, do_assert,
12142         _cpp_pop_buffer, do_diagnostic): Update.
12143         * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
12144         DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
12145         (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
12146         cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
12147         cpp_notice, cpp_notice_from_errno): Remove.
12148         (cpp_error, cpp_error_with_line): Update to take a diagnostic
12149         level.
12150         (cpp_errno): New.
12151         * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
12152         collect_args, enter_macro_context, save_parameter, parse_params,
12153         _cpp_create_definition, check_trad_stringification,
12154         cpp_macro_definition): Update.
12155         * cppmain.c (cpp_preprocess_file): Update.
12156         * fix-header.c (read_scan_file): Update.
12158 2002-04-14  Andreas Schwab  <schwab@suse.de>
12160         * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
12162 2002-04-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
12164         * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
12166 2002-04-13  Mark Mitchell  <mark@codesourcery.com>
12168         * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
12169         not gnu_hurd.
12171 2002-04-13  Hans-Peter Nilsson  <hp@axis.com>
12173         * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
12175 2002-04-13      Joel Sherrill <joel@OARcorp.com>
12177         * config/sparc/t-elf: Enable v8 multilibs.  Impacts
12178         sparc-elf and sparc-rtems targets.
12180 2002-04-13  Mark Mitchell  <mark@codesourcery.com>
12182         * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
12183         defined, and __gnu_hurd__ wherever __GNU__ is defined.
12184         * arm/linux-elf.h: Likewise.
12185         * cris/aout.h: Likewise.
12186         * cris/linux.h: Likewise.
12187         * i370/linux.h: Likewise.
12188         * i386/gnu.h: Likewise.
12189         * i386/linux-aout.h: Likewise.
12190         * i386/linux-oldld.h: Likewise.
12191         * i386/linux.h: Likewise.
12192         * i386/linux64.h: Likewise.
12193         * ia64/linux.h: Likewise.
12194         * m68k/linux-aout.h: Likewise.
12195         * m68k/linux.h: Likewise.
12196         * mips/linux.h: Likewise.
12197         * pa/pa-linux.h: Likewise.
12198         * pj/linux.h: Likewise.
12199         * rs6000/sysv4.h: Likewise.
12200         * s390/linux.h: Likewise.
12201         * sh/linux.h: Likewise.
12202         * sparc/linux-aout.h: Likewise.
12203         * sparc/linux.h: Likewise.
12204         * sparc/linux64.h: Likewise.
12205         * xtensa/linux.h: Likewise.
12207 2002-04-13  Richard Sandiford  <rsandifo@redhat.com>
12209         * stmt.c (check_unique_operand_names): Expect operand names to
12210         be strings rather than identifiers.  Use simple_cst_equal to
12211         compare them.
12212         (resolve_operand_name_1): Make same identifier to string change here.
12213         * c-parse.in (asm_operand): Convert a named operand into a string.
12214         * cp/parse.y (asm_operand): Likewise.
12216 2002-04-13  Andreas Schwab  <schwab@suse.de>
12218         * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
12220 2002-04-12  Mark Mitchell  <mark@codesourcery.com>
12222         Revert these changes:
12224         2002-04-06  Mark Mitchell  <mark@codesourcery.com>
12226         PR c++/5571
12227         * stor-layout.c (layout_decl): Reset the RTL for the decl.
12229 2002-04-12  Richard Henderson  <rth@redhat.com>
12231         * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
12232         (sparc*-*-solaris): Clean up header files.
12233         * configure.in (AS_SPARC64_FLAG): Error out if can't find it
12234         and plan on generating 64-bit code.
12235         * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
12236         * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
12237         * config/sparc/sol2-sld-64.h: Rename ...
12238         * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
12239         for AS_SPARC64_FLAG not defined.
12240         * config/sparc/sol2-gld-bi.h: New.
12241         * config/sparc/sol2-sld.h: Remove.
12242         * config/sparc/sol26-sld.h: New.
12243         * config/sparc/sol2.h: Tidy comments.
12244         * doc/install.texi: Document sparc-solaris configury changes.
12246 2002-04-12  Richard Henderson  <rth@redhat.com>
12248         * recog.c (offsettable_address_p): Match the logic in adjust_address.
12250         * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
12251         in 64-bit mode only.  Use only for 32-bit or MEDLOW.
12253 2002-04-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12255         * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
12257 Fri Apr 12 15:42:59 2002  Jeffrey A Law  (law@redhat.com)
12259         * pa.c (pa_can_combine_p): Call extract_insn before calling
12260         constrain_operands.
12262 2002-04-12  Douglas B Rupp  <rupp@gnat.com>
12264         * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
12265         (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
12266         (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
12267         (CPP_PREDEFINES): Handle __declspec.
12268         * config/i386/t-interix (USER_H): Remove.
12270 2002-04-12  DJ Delorie  <dj@redhat.com>
12272         * integrate.c (compare_blocks): Make comparisons safe for when
12273         sizeof(int) < sizeof(char *).
12274         (find_block): Likewise.
12276 2002-04-12  Jan Hubicka  <jh@suse.cz>
12277             David Edelsohn  <edelsohn@gnu.org>
12279         * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
12280         registers.
12281         (symbol_ref_operand): New.
12282         * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
12283         * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
12285 2002-04-12  Andreas Schwab  <schwab@suse.de>
12287         * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
12288         * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
12289         overrides the definition in config/svr4.h.
12291 2002-04-12      Eric Norum <eric.norum@usask.ca>
12293         * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
12294         config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
12295         config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
12296         config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
12297         config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
12298         config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
12299         config/v850/rtems.h (*-rtems*): Cleanup pass to move common
12300         definitions to config/rtems.h and make the targets more similar.
12302 Fri Apr 12 08:06:54 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12304         * expr.c (expand_assigment): Remove duplicate conversions #ifdef
12305         POINTERS_EXTEND_UNSIGNED.
12306         (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
12307         (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
12309         * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
12310         not specified.
12312 Fri Apr 12 12:11:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
12314         * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
12315         depends on TARGET_SHMEDIA, not TARGET_SH5.
12317 2002-04-12  Hans-Peter Nilsson  <hp@bitrange.com>
12319         * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
12320         For paradoxical (subreg VAR), replace VAR, don't try the subreg.
12322 Fri Apr 12 10:51:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
12324         * sh.c (broken_move): Constant 0. / 1. load is OK if there is
12325         no r0 clobber.
12327 2002-04-12  Andreas Schwab  <schwab@suse.de>
12329         * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
12331 2002-04-12  Richard Henderson  <rth@redhat.com>
12333         PR bootstrap/4191
12334         * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
12336         * flow.c (mark_used_reg): Manage reg_cond_dead properly for
12337         modes spanning multiple hard regs.
12339         * recog.c (peephole2_optimize): Rebuild jump labels as needed.
12341 2002-04-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12343         * pa.c (pa_output_function_prologue): Don't accumulate the total
12344         number of code bytes when using TARGET_64BIT, or gas, SOM and not
12345         the portable runtime.
12346         (output_deferred_plabels): Handle 64bit plabels.
12347         (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
12348         generating pic code using the GAS assembler for object formats that
12349         are not SOM (ie., ELF32 and ELF64).
12350         (output_millicode_call): Check attribute type if attribute length is 28.
12351         Likewise use $PIC_pcrel$0.  Only call get_attr_length and
12352         dbr_sequence_length once.
12353         (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
12354         dbr_sequence_length once.
12355         * pa.h (TARGET_SOM): Define if not defined.
12356         * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
12357         with GAS and not SOM.
12358         (jump, call_internal_reg, call_value_internal_reg): Likewise.
12359         * som.h (OBJ_SOM): Rename to TARGET_SOM.  Undefine before defining.
12361 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
12363         * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
12364         (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
12365         (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
12366         DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
12367         elfos.h and dbxelf.h values are fine now.
12368         * config/i386/freebsd.h, config/alpha/freebsd.h
12369         (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
12371 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
12373         * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
12374         or set Acpu or Amachine.  Reformat.
12375         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
12376         define.
12377         (LINK_SPEC): Do not need to undef.
12378         * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
12379         * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
12380         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
12381         define.
12382         * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
12383         (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
12384         (LINK_SPEC): Do not need to undef.
12385         (DONT_USE_BUILTIN_SETJMP): Do not define.
12386         * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
12387         (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine.  Remove -Dia64.
12388         (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
12389         Remove trailing spaces.
12390         * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
12391         __ELF__, or set Acpu or Amachine.  Reformat.
12392         (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
12393         define.
12395 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
12397         * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
12398         all other *-*-freebsd* targets.
12400 2002-04-11  Richard Henderson  <rth@redhat.com>
12402         * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
12404 2002-04-11  David O'Brien  <obrien@FreeBSD.org>
12406         * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
12407         Include {cpu}/{cpu}.h thru tm_file.
12408         (alpha*-*-linux*ecoff): Remove target.
12409         * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
12410         (LINK_SPEC): Remove, is not OS independent.
12411         * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
12412         (LINK_SPEC): Do not need to #undef any longer.
12413         * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
12414         any longer.
12415         * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
12416         __ELF__.
12417         (LINK_SPEC): Moved here from alpha/elf.h.
12418         * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
12419         SUB_CPP_PREDEFINES.
12420         * config/alpha/linux-ecoff.h: Remove.
12421         * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
12422         (CPP_SPEC): Define _POSIX_SOURCE as needed.
12423         (CPP_SUBTARGET_SPEC): Do not define.
12424         (LINK_SPEC): Do not need to #undef any longer.
12425         * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
12426         * config/alpha/vms.h: Likewise.
12428 2002-04-11  Richard Sandiford  <rsandifo@redhat.com>
12430         * doc/extend.texi: Remove old claim that typedefs cannot have
12431         an alignment attribute.
12433 2002-04-11  Jakub Jelinek  <jakub@redhat.com>
12435         PR optimization/6177
12436         * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
12437         bitpos is 0 and bitsize CONCAT size.
12439 2002-04-11  Jakub Jelinek  <jakub@redhat.com>
12441         PR c/6223
12442         * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
12444 2002-04-10  David O'Brien  <obrien@FreeBSD.org>
12446         * config/alpha/freebsd.h: Minor reformatting.
12447         (CPP_SPEC): Define ELF and add cpp_subtarget.
12448         (ASM_SPEC): No longer needed.
12450 2002-04-11  Richard Henderson  <rth@redhat.com>
12452         * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
12453         (movdi_insn_sp32_v9): Likewise.  Only allow stx with aligned memory.
12454         (dimode mem/zero splitter): New.
12456 2002-04-11  Hans-Peter Nilsson  <hp@axis.com>
12458         * config/cris/cris.c (cris_override_options): Tweak error message
12459         for PIC not implemented.
12461         * config/cris/cris.h: Tweak comments related to parameter-passing.
12463         * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
12465 2002-04-10  Richard Henderson  <rth@redhat.com>
12467         * except.c (add_ehl_entry): Allow duplicates after landing pad
12468         creation.
12470 2002-04-10  David Edelsohn  <edelsohn@gnu.org>
12472         * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
12474 2002-04-10  Toon Moene  <toon@moene.indiv.nluug.nl>
12476         * c-decl.c (c_init_decl_processing): Move generation of
12477         decls for g77_integer_type_node and friends from here ...
12478         * c-common.c (c_common_nodes_and_builtins): ... to here.
12480 2002-04-10  Ulrich Weigand  <uweigand@de.ibm.com>
12482         * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
12483         is only used as frame pointer when frame_pointer_needed is true.
12485 2002-04-10  Richard Earnshaw  <rearnsha@arm.com>
12487         PR target/817
12488         * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
12489         for the fact that the pool entry uses two words.
12490         (movdf_hard_insn): Similarly.  Also, ADR instruction can span
12491         1k bytes.
12492         (movdf_soft_insn): Similarly.
12493         (movxf_hard_insn): Adjust neg_pool_range attribute to allow
12494         for the fact that the pool entry uses three words.
12496 2002-04-10  Richard Sandiford  <rsandifo@redhat.com>
12498         * config/mips/mips.c (mips_va_arg): When using the struct version
12499         of the EABI va_list, allow arguments in the register save area to
12500         take up less room than a stack argument.
12502 2002-04-10  Richard Henderson  <rth@redhat.com>
12504         * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
12505         if EXPAND_INITIALIZER.
12507 2002-04-09  Richard Henderson  <rth@redhat.com>
12509         * config/alpha/alpha.md (movdi_er_maybe_g): New.
12510         * config/alpha/alpha.c (alpha_expand_mov): Use it.
12512 2002-04-10  Alan Modra  <amodra@bigpond.net.au>
12514         PR optimization/6233
12515         * rtlanal.c (pure_call_p): New function.
12516         * rtl.h (pure_call_p): Declare.
12517         * loop.c (prescan_loop): Use it to set has_nonconst_call.
12518         * gcse.c (store_killed_in_insn): Use pure_call_p here too.
12520 2002-04-09  Eric Christopher  <echristo@redhat.com>
12522         * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
12523         information to .comm directive.
12525 2002-04-09  Richard Henderson  <rth@redhat.com>
12527         PR c/5078
12528         * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
12530 2002-04-09  Richard Henderson  <rth@redhat.com>
12532         * basic-block.h (flow_delete_block_noexpunge): Declare.
12533         (expunge_block_nocompact): Declare.
12534         * cfg.c (expunge_block_nocompact): Split out from ...
12535         (expunge_block): ... here.
12536         * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
12537         (flow_delete_block_noexpunge): Split out from ...
12538         (flow_delete_block): ... here.
12539         * cfgcleanup.c (delete_unreachable_blocks): Compact while
12540         removing dead blocks.
12541         * except.c (exception_handler_labels): Remove.
12542         (exception_handler_label_map): New.
12543         (struct eh_region): Add aka member.
12544         (mark_ehl_map_entry, mark_ehl_map, free_region): New.
12545         (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
12546         (for_each_eh_label, for_each_eh_label_1): New.
12547         (init_eh): Register exception_handler_label_map.
12548         (free_eh_status): Use free_region.
12549         (find_exception_handler_labels): Use the map, not the list.
12550         (remove_exception_handler_label): Likewise.
12551         (maybe_remove_eh_handler): Likewise.
12552         (remove_eh_handler): Use the region aka bitmap.
12553         * except.h (exception_handler_labels): Remove.
12554         (for_each_eh_label): Declare.
12555         * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
12556         * loop.c (invalidate_loops_containing_label): New.
12557         (find_and_verify_loops): Use it.  Use for_each_eh_label.
12558         * sched-rgn.c (is_cfg_nonregular): Use
12559         current_function_has_exception_handlers.
12561 2002-04-09  Richard Henderson  <rth@redhat.com>
12563         * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
12564         sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
12565         Do not return changed status.
12566         (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
12567         sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
12568         New functions that do return changed status.
12569         * sbitmap.h: Update decls.
12570         * gcse.c, lcm.c: Use _cg functions as needed.
12572 Tue Apr  9 19:15:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
12574         * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
12575         (sh64-*-elf*, sh-*-rtemself*): Likewise.
12576         * config/sh/embed_bb.c: New file.
12577         * config/sh/embed-elf.h: New file.
12578         * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
12579         if -m[12345]* option is given.  Don't use subtarget_cpp_ptr_spec.
12580         (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
12581         __PTRDIFF_TYPE__ .
12582         (SUBTARGET_CPP_PTR_SPEC): Don't define.
12583         (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
12584         Add subtarget_asm_endian_spec.
12585         (ASM_SPEC): Use subtarget_asm_endian_spec.
12586         (SUBTARGET_ASM_ENDIAN_SPEC): Define.
12587         (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
12588         (WCHAR_UNSIGNED): Define.
12589         (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
12590         (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
12591         (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
12592         Fix value.
12593         * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
12594         (sh_adjust_cost): Likewise.
12595         sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
12596         __PTRDIFF_TYPE__ .
12597         (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
12598         (WCHAR_TYPE_SIZE): Likewise.
12599         (ASM_SPEC): Use subtarget_asm_endian_spec.
12600         (SH_ELF_WCHAR_TYPE): #undef/ #define.
12601         (MAX_WCHAR_TYPE_SIZE): Don't #undef.
12602         * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
12603         (MAX_WCHAR_TYPE_SIZE): Don't #define .
12604         (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
12605         (USER_LABEL_PREFIX): Don't #undef /#define .
12606         (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
12607         * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
12608         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
12609         (ASM_SPEC): Likewise.
12610         (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
12611         (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
12612         * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
12613         (LIB2FUNCS_EXTRA): Define.
12614         * t-sh64 (LIB2FUNCS_EXTRA): Define.
12615         * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
12616         (LIB1ASMFUNCS_CACHE): Define.
12617         (LIB2FUNCS_EXTRA): Redefine empty.
12619 2002-04-08  Richard Henderson  <rth@redhat.com>
12621         * reorg.c (get_branch_condition): Use reversed_comparison_code.
12623 2002-04-09  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
12625         * config/m68hc11/larith.asm (__map_data_section): Fix condition
12626         and optimize for size.
12627         (__do_global_ctors): Fix pointer comparison.
12628         (__do_global_dtors): Likewise.
12630 2002-04-09  David S. Miller  <davem@redhat.com>
12632         * config/sparc/sparc.c (sparc_extra_constraint_check): New
12633         function, implementing EXTRA_CONSTRAINTS.  For memory constraints,
12634         allow reloading pseudos.
12635         * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
12636         * config/sparc/sparc-protos.h: Declare it.
12638         * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
12639         unsigned comparison warning.
12640         (output_restore_regs): Mark leaf_function as unused.
12642 Tue Apr  9 09:35:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12644         * expr.c (is_aligning_offset): New function.
12645         (expand_expr, case COMPONENT_EXPR): Call it.
12647 2002-04-08  David S. Miller  <davem@redhat.com>
12649         PR target/6082
12650         * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
12652         Make init_priority work on Sparc when using GNU ld.
12653         * config/sparc/linux.h, config/sparc/linux64.h,
12654         config/sparc/netbsd-elf.h, config/sparc/freebsd.h
12655         (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
12656         * config/sparc/sol2-gld.h: New file to do the same.
12657         * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
12658         sparc/sol2-gld.h to tm_file.
12660         PR optimization/4328
12661         * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
12662         * doc/md.texi: Document it.
12663         * config/sparc/sparc.md (movdi_insn_sp64_novis,
12664         movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
12665         movdf_insn_v9only_vis, movdf_insn_sp64_novis,
12666         movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
12667         * config/sparc/sparc.c (mem_min_alignment): Fix comment.
12669 2002-04-08  Andreas Jaeger  <aj@suse.de>
12671         * stmt.c (expand_asm_operands): Revert last patch from Richard
12672         Henderson.
12674 2002-04-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12676         * doc/contrib.texi (Contributors): Add John David Anglin and Loren
12677         J. Rittle (the latter also to Testers).  Update David O'Brien's entry.
12679 2002-04-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12681         * doc/contrib.texi (Contributors): Add David O'Brien.
12683 2002-04-08  Alan Modra  <amodra@bigpond.net.au>
12685         * configure.in (auto-build.h): Use target_alias and build_alias
12686         when running configure.
12687         (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
12688         (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
12689         * configure: Regenerate.
12691 2002-04-07  David S. Miller  <davem@redhat.com>
12693         * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
12695 2002-04-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12697         PR 5933
12698         * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
12699         generating 32-bit pic code.
12701 2002-04-06  Jason Thorpe  <thorpej@wasabisystems.com>
12703         * cppinit.c (cpp_create_reader): Initialize
12704         discard_comments_in_macro_exp.
12705         (COMMAND_LINE_OPTIONS): Add "-CC" option.
12706         (cpp_handle_option): Handle "-CC" option.
12707         * cpplex.c (save_comment): If saving a C++ comment in
12708         a directive, convert it to a C comment.
12709         (_cpp_lex_direct): Pass second comment start character to
12710         save_comment to indicate comment type.
12711         * cpplib.c (_cpp_handle_directive): If processing
12712         a "#define" directive and discard_comments_in_macro_exp
12713         is false,  re-enable saving of comments.
12714         (lex_macro_node): If discard_comments_in_macro_exp is false,
12715         discard any comments before the macro identifier.
12716         * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
12717         member.
12718         * cppmacro.c (cpp_get_token): If expanding a macro while
12719         processing a directive, discard any comments we might encounter.
12720         (parse_params): If discard_comments_in_macro_exp is false,
12721         ignore comments in the macro parameter list.
12722         * gcc.c (cpp_unique_options): Add "-CC" option.
12723         (option_map): Map "--comments-in-macros" to "-CC".
12724         * doc/cppopts.texi: Document "-CC" option.
12725         * f/lang-specs.h: Add "-CC" option.
12726         * testsuite/gcc.dg/cpp/maccom1.c: New test.
12727         * testsuite/gcc.dg/cpp/maccom2.c: New test.
12728         * testsuite/gcc.dg/cpp/maccom3.c: New test.
12729         * testsuite/gcc.dg/cpp/maccom4.c: New test.
12730         * testsuite/gcc.dg/cpp/maccom5.c: New test.
12731         * testsuite/gcc.dg/cpp/maccom6.c: New test.
12733 2002-04-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12735         PR middle-end/6180
12736         * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
12738 2002-04-06  Mark Mitchell  <mark@codesourcery.com>
12740         PR c++/5571
12741         * stor-layout.c (layout_decl): Reset the RTL for the decl.
12743         PR opt/5120
12744         * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
12745         RTX_UNCHANGING_P for the functions arguments when a tail call
12746         is made.
12748 2002-04-06  Jason Merrill  <jason@redhat.com>
12750         * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
12751         (parse_options_and_default_flags): Set them appropriately.
12752         * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
12754 2002-04-06  Hans-Peter Nilsson  <hp@bitrange.com>
12756         * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
12757         here.
12759         * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
12760         semicolon.
12762         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
12763         types come in by-reference.  Fix typo in comment.
12765 2002-04-05  David S. Miller  <davem@redhat.com>
12767         * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
12768         * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
12769         sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
12770         {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
12772 2002-04-05  David S. Miller  <davem@redhat.com>
12774         * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
12775         are not going to emit return instructions, emit at least a nop
12776         for the sake of sane backtraces.
12778 2002-04-05  Richard Henderson  <rth@redhat.com>
12780         * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
12782 2002-04-05  Jakub Jeilnek  <jakub@redhat.com>
12784         * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
12786 2002-04-05  Alexandre Oliva  <aoliva@redhat.com>
12788         * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
12789         ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
12790         ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
12792 2002-04-05  Andreas Schwab  <schwab@suse.de>
12794         * c-convert.c: Include c-common.h.
12795         * Makefile.in (c-convert.o): Updated.
12797 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
12799         * mklibgcc.in: Use separate libgcc.map for each multilib.
12800         * Makefile.in (distclean): Don't remove libgcc.map here.
12802 2002-04-05  Jakub Jelinek  <jakub@redhat.com>
12804         * Makefile.in (s-mlib): Handle --disable-multilib by separate
12805         genmultilib invocation.
12807 2002-04-04  Richard Sandiford  <rsandifo@redhat.com>
12809         * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
12810         to avoid clash with Irix header file sys/ucontext.h.  Rename gp_regs
12811         to num_gprs for symmetry.
12812         * config/mips/mips.c: Adjust accordingly.
12814 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
12816         * c-common.c (truthvalue_conversion): Rename, update.
12817         * c-common.h (c_common_truthvalue_conversion): New.
12818         * c-convert.c (convert): Update.
12819         * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
12820         * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
12821         * c-typeck.c (build_binary_op, build_unary_op,
12822         build_conditional_expr): Update.
12823         * fold-const.c (constant_boolean_node, fold): Use langhook.
12824         * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
12825         * langhooks.h (struct lang_hooks): New hook.
12826         * stmt.c (expand_decl_cleanup): Use langhook.
12827         * tree.h (truthvalue_conversion): Remove.
12828 objc:
12829         * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
12831 2002-04-05  Alan Modra  <amodra@bigpond.net.au>
12833         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
12834         Add rules to make null object file.
12836 2002-04-04  Jim Blandy  <jimb@redhat.com>
12838         * cppmacro.c (cpp_macro_definition): Do not emit spaces after
12839         macro formal parameter names.
12841 2002-04-04  David S. Miller  <davem@redhat.com>
12843         * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
12845 2002-04-04  Richard Henderson  <rth@redhat.com>
12847         PR middle-end/5099
12848         * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
12849         Support copies into and out of memory.  Don't accept allows_reg
12850         and allows_mem as gospel.
12852 2002-04-04  Richard Henderson  <rth@redhat.com>
12854         PR opt/6165
12855         * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
12856         (write_dependence_p): Likewise.
12858 2002-04-04  Richard Henderson  <rth@redhat.com>
12860         * predict.c (estimate_bb_frequencies): Do frequency calculation
12861         with a volatile temporary.
12863 2002-04-04  Ulrich Weigand  <uweigand@de.ibm.com>
12865         * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
12867 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
12869         PR c++/6119
12870         * final.c (final_start_function): Don't bump profile_label_no here...
12871         (final_end_function): ...but here.
12873 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
12875         * config/sparc/sparc.md (pic): New attribute.
12876         (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
12877         into stack slots.
12878         (split after do_builtin_setjmp_setup): New.
12880 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
12882         PR fortran/6106
12883         * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
12884         change.
12886 2002-04-04  Jakub Jelinek  <jakub@redhat.com>
12888         * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
12889         UNITS_PER_WORD for zero sized aggregates.
12891 2002-04-03  David S. Miller  <davem@redhat.com>
12893         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
12894         one-character spec for this, just use %(link_gcc_c_sequence).
12896 2002-04-03  David S. Miller  <davem@redhat.com>
12898         * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
12899         handling.
12901 2002-04-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12903         * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
12904         (DWARF_FRAME_RETURN_COLUMN): Move.
12905         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
12906         (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
12907         * pa.c (except.h, predict.h): Include.
12908         (FRP): Delete.
12909         (store_reg_modify, set_reg_plus_d): Revise prototypes.
12910         (output_ascii): Add cast.
12911         (store_reg_modify): Revise to add frame notes.
12912         (set_reg_plus_d): Likewise.
12913         (compute_frame_size): Include space for eh data registers in frame if
12914         the current function calls eh_return.
12915         (hppa_expand_prologue):  Ensure register %r2 is saved if the current
12916         function calls eh_return.  Save eh data registers if the current
12917         function calls eh_return.  Fix code to add frame notes.  Emit
12918         blockage to prevent insns with frame notes being scheduled in the
12919         delay slot of calls.
12920         (hppa_expand_epilogue): Restore eh data registers and do final stack
12921         adjustment if the current function calls eh_return.  Don't add frame
12922         notes.
12923         (output_call): Revise for change in length of call insn.  Don't do
12924         return pointer adjustment for an unconditional jump in the delay slot
12925         of a call when using frame notes.
12926         * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
12927         (EH_RETURN_HANDLER_RTX): Use saved value on stack.
12928         (ARG_POINTER_CFA_OFFSET): Define.
12929         * pa.md (return_external_pic): New pattern.
12930         (prologue): Correct formatting.  Use return_external_pic if current
12931         function calls eh_return.
12932         (call_internal_symref, call_value_internal_symref,
12933         sibcall_internal_symref, sibcall_value_internal_symref): Change default
12934         lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
12935         respectively.
12936         (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
12938         * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
12939         list of targets to check using "nop" insn.
12940         * configure: Rebuilt.
12942 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
12944         * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
12946 2002-04-03  David S. Miller  <davem@redhat.com>
12948         * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
12949         library sequence passed to the linker.
12950         (LINK_COMMAND_SPEC): Use it.
12951         * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
12952         a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
12953         * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
12955 2002-04-03  Jason Merrill  <jason@redhat.com>
12957         * except.c (struct eh_status): Remove protect_list.
12958         (begin_protect_partials, end_protect_partials): Remove.
12959         (add_partial_entry): Remove.
12960         * except.h: Remove prototypes.
12962         * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
12963         expand_decl_cleanup_eh.
12965         PR c++/5636
12966         * tree.h (CLEANUP_EH_ONLY): New macro.
12967         * stmt.c (expand_decl_cleanup_eh): New fn.
12968         (expand_cleanups): Check CLEANUP_EH_ONLY.
12969         * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
12970         Use expand_decl_cleanup_eh.
12971         (expand_stmt): Adjust.
12972         * c-common.h: Adjust prototype.
12974 2002-04-04  Hans-Peter Nilsson  <hp@axis.com>
12976         * config/cris/cris.c (cris_target_asm_function_prologue): Cast
12977         uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
12978         (cris_target_asm_function_epilogue): Ditto.
12979         (cris_initial_frame_pointer_offset): Ditto.
12980         (cris_simple_epilogue): Ditto.
12981         (cris_expand_builtin_va_arg): Variable-size types come in
12982         by-reference.
12984 2002-04-03  David S. Miller  <davem@redhat.com>
12986         * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
12987         little-endian.
12988         (set_fast_math): Correct 'fsr' type.
12990 2002-04-03  Richard Henderson  <rth@redhat.com>
12992         PR opt/3569
12993         * langhooks.h (lang_hooks.decls.warn_unused_global): New.
12994         * toplev.c (check_global_declarations): Use it.
12995         * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
12996         (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
12997         (LANG_HOOKS_DECLS): Add it.
12998         * langhooks.c (lhd_warn_unused_global_decl): New.
12999         * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
13000         * c-objc-common.c (c_warn_unused_global_decl): New.
13001         * c-tree.h (c_warn_unused_global_decl): Declare.
13002         * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
13004 2002-04-03  Neil Booth  <neil@daikokuya.demon.co.uk>
13006         * langhooks-def.h (lhd_set_decl_assembler_name,
13007         LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
13008         (LANG_HOOKS_INITIALIZER): Update.
13009         * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
13010         * langhooks.h (struct lang_hooks): New hook.
13011         * tree.c (set_decl_assembler_name): Move to langhooks.c.
13012         (lang_set_decl_assembler_name): Remove.
13013         (init_obstacks): Don't set hook.
13014         (decl_assembler_name): New function.
13015         * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
13016         (decl_assembler_name): New.
13017         (lang_set_decl_assembler_name): Remove.
13019 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
13021         * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
13022         works properly with .hidden symbols.
13023         * configure: Rebuilt.
13024         * config.in: Rebuilt.
13025         * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
13026         DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
13027         properly with .hidden symbols.
13029 2002-04-03  Jakub Jelinek  <jakub@redhat.com>
13031         PR middle-end/6102
13032         * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
13033         USE argument.
13035 2002-04-03  Richard Henderson  <rth@redhat.com>
13037         PR opt/4120
13038         * sched-rgn.c (sets_likely_spilled): New.
13039         (sets_likely_spilled_1): New.
13040         (add_branch_dependences): Use it.
13042 2002-04-02  Richard Henderson  <rth@redhat.com>
13044         PR opt/4311
13045         * loop.h (LOOP_FIRST_PASS): New.
13046         * loop.c (strength_reduce): Mind it when deciding to unroll.
13047         * toplev.c (rest_of_compilation): Set it.
13049 2002-04-02  David S. Miller  <davem@redhat.com>
13051         * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
13052         mems_ok_for_ldd_peep when the order of the loads being examined
13053         is reversed.
13054         * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
13055         existing comment to increase comprehension of this situation.
13057 2002-04-02  Zack Weinberg  <zack@codesourcery.com>
13059         * config/sh/sh.md: Don't use union real_extract.
13061 2002-04-02  Richard Henderson  <rth@redhat.com>
13063         * libgcc2.c (__bb_exit_func): Revert 03-31 change.
13065 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
13067         * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
13068         i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
13069         i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
13070         i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
13071         i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
13072         i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
13073         i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
13074         i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
13075         i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
13076         i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
13077         i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
13078         i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
13079         i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
13080         i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
13081         Include as many configury headers via tm_file as possible.  This
13082         includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
13083         * config/openbsd-oldgas.h: New file.
13084         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
13085         config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
13086         config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
13087         config/i386/i386-coff.h, config/i386/i386-interix.h,
13088         config/i386/iscdbx.h, config/i386/linux-aout.h,
13089         config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
13090         config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
13091         config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
13092         config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
13093         config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
13094         config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
13095         config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
13096         config/i386/vxi386.h: Do not directly include configury headers.
13097         * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
13098         Directly include configury headers that are no longer automatically
13099         included by the above headers.
13100         * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
13101         * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
13102         config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
13103         config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
13104         config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
13105         config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
13106         config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
13107         (TARGET_VERSION): Define.
13108         * config/i386/beos-elf.h, config/i386/freebsd.h,
13109         config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
13110         config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
13111         config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
13112         config/i386/sco5.h, config/i386/sysv4.h
13113         (TARGET_VERSION): Do not need to protect.
13114         * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
13115         * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
13116         config/i386/freebsd-aout.h, config/i386/i386-aout.h,
13117         config/i386/i386-interix.h, config/i386/linux-aout.h,
13118         config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
13119         config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
13120         (YES_UNDERSCORES): Do not define - not needed.
13121         * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
13122         ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
13123         USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
13124         * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
13125         (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
13126         USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
13127         * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
13128         * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
13130 2002-04-02  Eric Botcazou  <ebotcazou@multimania.com>
13131             Richard Henderson  <rth@redhat.com>
13133         PR c/5484
13134         * function.c (assign_temp): Accept either type or decl argument.
13135         Detect variables whose size is too large to fit into an integer.
13136         * stmt.c (expand_decl): Pass the decl, not the type.
13138 2002-04-02  David O'Brien  <obrien@FreeBSD.org>
13140         * protoize.c: Match include directory usage with cppdefault.c.
13142 2002-04-03  Jeffrey A Law  (law@redhat.com)
13143             Hans-Peter Nilsson  <hp@bitrange.com>
13145         * combine.c (simplify_comparison): Avoid narrowing a comparison
13146         with a paradoxical subreg when doing so would drop signficant bits.
13148 2002-04-02  Steve Ellcey  <sje@cup.hp.com>
13150         * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
13151         if POINTERS_EXTEND_UNSIGNED is defined.
13153 2002-04-02  Richard Henderson  <rth@redhat.com>
13155         PR opt/3967
13156         * local-alloc.c (contains_replace_regs): LO_SUM may contain
13157         replace regs.
13159 2002-04-02  Richard Henderson  <rth@redhat.com>
13161         * doc/standards.texi: Document required freestanding libc entry points.
13163 2002-04-02  Alan Modra  <amodra@bigpond.net.au>
13165         * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
13166         associated splitter.  Remove MQ constraint.
13167         (ctrdi_internal4): Correct CCmode clobber.
13169 2002-04-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13171         * milli64.S ($$dyncall): New function.
13172         * t-linux (LIB1ASMFUNCS): Revise module list.
13173         (LIB1ASMSRC): Use pa/milli64.S.
13175 2002-04-02  Richard Henderson  <rth@redhat.com>
13177         * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
13178         rename solaris_sys_varargs_h.
13180 Tue Apr  2 06:47:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13182         * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
13183         the same mode as its component.
13185 2002-04-02  Richard Henderson  <rth@redhat.com>
13187         PR opt/190
13188         * final.c (this_is_asm_operands): Export.
13189         * output.h (this_is_asm_operands): Declare.
13190         * config/i386/i386.c (print_operand): Error odd asm operands.
13192 2002-04-02  Richard Henderson  <rth@redhat.com>
13194         PR opt/420
13195         * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
13197 2002-04-01  Richard Henderson  <rth@redhat.com>
13199         PR target/1538
13200         * fixinc/inclhack.def (solaris_sys_varargs_h): New.
13201         * fixinc/fixincl.x: Rebuild.
13203 2002-04-01  Richard Henderson  <rth@redhat.com>
13205         * config/ia64/unwind-ia64.c: Include ia64intrin.h.
13206         (atomic_alloc, atomic_free): New.
13207         (SIZE, MASK_FOR, PTR_IN): New.
13208         (emergency_reg_state, emergency_reg_state_free): New.
13209         (emergency_labeled_state, emergency_labeled_state_free): New.
13210         (reg_state_alloced, labeled_state_alloced): New.
13211         (alloc_reg_state, free_reg_state): New.
13212         (alloc_label_state, free_label_state, free_label_states): New.
13213         (push, pop, dup_state_stack, free_state_stack): Use them.
13214         (desc_label_state): Likewise.
13215         (uw_frame_state_for): Free label states and state stack.
13216         (uw_update_reg_address): Eliminate warnings.
13218 2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>
13220         * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
13221         ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
13223 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
13225         * c-decl.c (grokdeclarator): Update.
13226         * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
13227         * c-tree.h (c_mark_addressable): New.
13228         * c-typeck.c (default_function_array_conversion, build_unary_op,
13229         build_array_ref, convert_for_assignment): Update.
13230         (mark_addressable): Rename.
13231         * calls.c (try_to_integrate, expand_call): Use langhook.
13232         * expr.c (expand_expr): Use langhook.
13233         * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
13234         * langhooks.h (struct lang_hooks): New hook.
13235         * stmt.c (expand_asm_operands): Use langhook.
13236         * tree.h (mark_addressable): Remove.
13237 objc:
13238         * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
13240 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
13242         * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
13243         in previous change.
13245 2002-04-01  Bob Wilson  <bob.wilson@acm.org>
13247         * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
13248         for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
13250 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
13252         * c-common.c (unsigned_conversion_warning, convert_and_check,
13253         unsigned_type, signed_type, shorten_compare,
13254         c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
13255         (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
13256         * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
13257         New.
13258         * c-decl.c (grokdeclarator): Update.
13259         * c-format.c (check_format_types): Update.
13260         * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
13261         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
13262         * c-typeck.c (build_binary_op, convert_for_assignment): Update.
13263         * convert.c (convert_to_integer): Use new hooks.
13264         * expmed.c (make_tree): Use new hooks.
13265         * expr.c (store_expr): Use new hooks.
13266         * fold-const.c (operand_equal_for_comparison_p, build_range_check,
13267         all_ones_mask_p, unextend, fold): Use new hooks.
13268         * langhooks.h (struct lang_hooks_for_types): New hooks.
13269         * tree.h (signed_or_unsigned_type, signed_type,
13270         unsigned_type): Remove.
13271 objc:
13272         * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
13273         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
13275 2002-03-31  Richard Henderson  <rth@redhat.com>
13277         * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
13278         (desc_frgr_mem): Fix reference to f16-f31.
13280 2002-03-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13282         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
13283         RTVEC_ELT): Const-ify.
13284         * varray.h (VARRAY_CHECK): Const-ify.
13285         * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
13286         ggc_mark_rtvec, ggc_mark): Const-ify.
13288 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
13290         * diagnostic.c: Include langhooks-def.h.
13291         * Makefile.in (diagnostic.o): Update.
13293 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
13295         * c-common.c (c_unsafe_for_reeval): Rename.
13296         * c-common.h (c_unsafe_for_reeval): Rename.
13297         * c-decl.c (finish_incomplete_decl): Rename.
13298         (c_init_decl_processing): Don't set langhook.
13299         * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
13300         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
13301         * c-objc-common.c (c_objc_common_init): Don't set langhook.
13302         * c-tree.h (finish_incomplete_decl): Rename.
13303         * langhooks-def.h (lhd_unsafe_for_reeval): New.
13304         (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
13305         (LANG_HOOKS_INITIALIZER): Update.
13306         * langhooks.c (lhd_unsafe_For_reeval): New.
13307         * langhooks.h (struct langhooks): New hooks.
13308         * toplev.c (incomplete_decl_finalize_hook): Remove.
13309         (wrapup_global_declarations): Update.
13310         * tree.c (lang_unsafe_for_reeval): Remove.
13311         (unsafe_for_reeval): Update.
13312         * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
13313         Remove.
13314 objc:
13315         * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
13316         LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
13318 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
13320         * diagnostic.c (print_error_function): Remove.
13321         (default_print_error_function): Rename.
13322         (report_error_function): Update.
13323         * diagnostic.h (print_error_function): Remove.
13324         (default_print_error_function): Remove.
13325         * langhooks-def.h (struct diagnostic_context): Predeclare.
13326         (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
13327         (LANG_HOOKS_INITIALIZER): Update.
13328         * langhooks.h (struct diagnostic context): Predeclare.
13329         (struct lang_hooks): New hook.
13331 2002-03-31  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13333         * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
13334         (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
13335         !flag_pic.
13336         (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
13337         * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
13338         of PIC_OFFSET_TABLE_REGNUM thruout.
13339         * config/rs6000/rs6000.md: Likewise.
13340         * config/rs6000/darwin.h: Likewise.
13342 Sun Mar 31 14:43:24 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13344         * emit-rtl.c (adjust_address_1, offset_address): Cast value to
13345         unsigned HOST_WIDE_INT, not unsigned int.
13347 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
13349         PR middle-end/6096, middle-end/6098, middle-end/6099
13350         * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
13351         CODE_LABELs.
13352         (fill_slots_from_thread): Likewise.
13354 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
13356         * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
13357         floating fields in float regs.
13358         (function_arg_record_value_2): Likewise.
13360 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
13362         * config/mmix/mmix.md (define_constants): Remove misleading
13363         FIXME.  Add MMIX_fp_rO_OFFSET.
13364         ("nonlocal_goto_receiver"): Don't have stack-frame address of
13365         saved rO as part of the pattern.  Remove FIXME.
13366         ("*nonlocal_goto_receiver_expanded"): Similar.  Generate address
13367         here, at output-time.
13369 2002-03-31  Jakub Jelinek  <jakub@redhat.com>
13371         PR middle-end/6100
13372         * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
13373         REG_BR_PRED.
13374         (output_v9branch): Likewise.
13376 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
13378         * gcc.c: Revert previous patch for now.
13379         * config/i386/djgpp.h: Likewise.
13381 2002-03-31  Hans-Peter Nilsson  <hp@bitrange.com>
13383         * config/mmix/crti.asm (_init): Register _fini with atexit.
13384         * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
13386 2002-03-31  Richard Henderson  <rth@redhat.com>
13388         PR target/3997
13389         * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
13390         (ASM_OUTPUT_DEF_FROM_DECLS): New.
13392 2002-03-31  Richard Henderson  <rth@redhat.com>
13394         * libgcc2.c (__bb_exit_func): Make static.
13396         * config/alpha/alpha.md (trap): New.
13398 2002-03-31  Richard Henderson  <rth@redhat.com>
13400         * builtins.c (expand_builtin_va_arg): Give warnings not errors for
13401         promoted argument types; build trap.
13402         (expand_builtin_trap): New.
13403         (expand_builtin): Use it.
13404         * stmt.c (expand_nl_goto_receivers): Likewise.
13405         * expr.h (expand_builtin_trap): Declare.
13406         * libfuncs.h (LTI_abort, abort_libfunc): New.
13407         * optabs.c (init_optabs): Init abort_libfunc.
13409 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
13411         * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
13412         (LINK_COMMAND_SPEC): ... from here.
13413         (init_gcc_specs): Duplicate it here too, omitting
13414         shared_name in the second copy.
13415         (init_spec): Test for duplicate
13416         * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
13418 2002-03-30  David S. Miller  <davem@redhat.com>
13420         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13421         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
13423 2002-03-30  Roger Sayle <roger@eyesopen.com>
13424             Richard Henderson  <rth@redhat.com>
13426         * regmove.c (combine_stack_adjustments_for_block): Avoid
13427         emitting a stack adjustment of zero bytes.  Let delete_insn
13428         update bb->head.
13430 2002-03-30  Richard Henderson  <rth@redhat.com>
13432         * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
13433         (sparc_emitting_epilogue): New.
13434         (leaf_label, output_return, sparc_return_peephole_ok): Remove.
13435         * config/sparc/sparc-protos.h: Update.
13436         * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
13437         (TARGET_SWITCHES): Update.
13438         * config/sparc/sparc.md (return): Remove.
13439         (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
13440         * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
13441         config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
13442         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
13443         config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
13444         config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
13445         config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
13446         Remove MASK_EPILOGUE.
13447         * doc/invoke.texi: Update.
13449 2002-03-30  Daniel Berlin  <dan@dberlin.org>
13451         * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
13452         CPP will start the file for us.
13454 2002-03-30  Richard Henderson  <rth@redhat.com>
13456         PR target/5446
13457         * config/ia64/ia64.c (group_barrier_needed_p): Special case
13458         prologue_allocate_stack.
13459         (ia64_single_set): Use insn codes for recognition of special
13460         cases, not rtl matching.
13461         * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
13463 Sat Mar 30 23:48:41 CET 2002  Jan Hubicka  <jh@suse.cz>
13465         * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
13467 2002-03-30  Richard Henderson  <rth@redhat.com>
13469         PR target/6032
13470         * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
13471         or -fomit-frame-pointer with profiling.
13472         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
13473         (FUNCTION_PROFILER): Do nothing.
13474         (PROFILE_HOOK): New.
13475         * config/sparc/sparc.c (sparc_override_options): Don't check
13476         code models for profiling.
13477         (sparc_function_profiler): Remove.
13478         (sparc_profile_hook): New.
13479         * config/sparc/sparc-protos.h: Update.
13481 2002-03-30  Jakub Jelinek  <jakub@redhat.com>
13483         PR optimization/6086
13484         * combine.c (combine_simplify_rtx): If simplify_rtx failed because
13485         of SUBREG of volatile MEM or because the MEM was mode dependent,
13486         return CLOBBER instead of unmodified SUBREG.
13488 Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
13490         * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
13491         when not optimizing.
13493         * toplev.c (rest_of_compilation): Cann mark_constant_function
13494         only when optimizing.
13496         * flow.c (calculate_global_regs_live): Ensure that all AUX fields
13497         are NULL.
13499         * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
13500         (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
13501         (try_optimize_cfg): clear all AUX fields.
13503         * i386.c (aligned_operand): Be prepared for SUBREGed registers.
13504         (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
13505         (ix86_address_cost): Be prepared for SUBREGed registers.
13506         (legitimate_address_p): Accept SUBREGed registers.
13508 2002-03-29  Richard Henderson  <rth@redhat.com>
13510         PR target/5672
13511         * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
13513 2002-03-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13515         * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
13516         for aggregate and TFmode types.
13518 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
13520         * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
13522 2002-03-29  Richard Henderson  <rth@redhat.com>
13524         PR target/5886
13525         * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
13526         * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
13528 2002-03-29  Richard Henderson  <rth@redhat.com>
13530         PR target/6041
13531         * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
13532         (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
13533         * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
13534         * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
13535         conditional.
13536         * docs/invoke.texi: Update -mno-fancy-math-387 docs.
13538 2002-03-29  Dale Johannesen <dalej@apple.com>
13540         * loop.c (combine_movables): Do allow combination of pseudos.
13542 2002-03-29  Loren J. Rittle  <ljrittle@acm.org>
13544         * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
13545         * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
13546         No functional change except ...
13547         * config/t-slibgcc-nolc-override (SHLIB_LC): Override it.  New file.
13548         * doc/install.texi (*-*-freebsd*): Document port configuration.
13550 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
13552         * Makefile.in (convert.o, calls.o, expmed.o): Update.
13553         * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
13554         Use new hooks.
13555         * builtin-types.def (BT_PTRMODE): Update.
13556         * c-common.c (type_for_size): Rename c_common_type_for_size.
13557         (type_for_mode): Similarly.
13558         (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
13559         Use new hook.
13560         * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
13561         * c-decl.c (finish_enum, build_enumerator): Use new hooks.
13562         * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
13563         Redefine.
13564         * c-typeck.c (common_type, comptypes, default_conversion):
13565         Use new hooks.
13566         * calls.c: Include langhooks.h.
13567         (emit_library_call_value_1): Use new hooks.  Avoid redundant
13568         calls.
13569         * convert.c: Include langhooks.h
13570         (convert_to_pointer, convert_to_integer): Use new hooks.
13571         * except.c (init_eh): Similarly.
13572         * expmed.c: Include langhooks.h.
13573         (expand_mult_add): Use new hooks.
13574         * expr.c (store_expr, store_constructor, expand_expr, do_jump,
13575         try_casesi): Similarly.
13576         * fold-const.c (optimize_bit_field_compare, make_range,
13577         decode_field_reference, fold_truthop, fold): Similarly.
13578         * function.c (assign_stack_local_1, assign_stack_temp_for_type,
13579         put_var_into_stack): Similarly.
13580         * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
13581         LANG_HOOKS_TYPE_FOR_SIZE): New.
13582         (LANG_HOOKS_TYPES_INITIALIZER): Update.
13583         * langhooks.h (lang_hooks_for_types): New hooks.
13584         * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
13585         * tree.c (get_unwidened, get_narrower): Similarly.
13586         * tree.h (type_for_mode, type_for_size): Remove.
13587         * varasm.c (force_const_mem): Use new hooks.
13588         * utils2.c (nonbinary_modular_operation): Update.
13589 objc:
13590         * objc-act.c (handle_impent): Update.
13591         * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
13592         Redefine.
13594 2002-03-29  Steve Ellcey  <sje@cup.hp.com>
13596         * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
13597         * config/ia64/ia64.c (basereg_operand): New.
13598         * config/ia64/ia64-protos.h (basereg_operand): Declare.
13599         * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
13601 2002-03-29  Hans-Peter Nilsson  <hp@bitrange.com>
13603         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
13604         unwind information when frame_pointer_needed.
13605         (mmix_assemble_integer): Tweak wording in comment.
13607 2002-03-29  Neil Booth  <neil@daikokuya.demon.co.uk>
13609         * Makefile.in (except.o): Update.
13610         * except.c: Include langhooks.h.
13611         (init_eh): Use langhook.
13612         * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
13613         LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
13614         (LANG_HOOKS_INITIALIZER): Update.
13615         * langhooks.h (lang_hooks_for_types): New.
13616         (struct lang_hooks): Add it.
13617         * tree.c (make_lang_type_fn, make_lang_type): Remove.
13618         * tree.h (make_lang_type_fn, make_lang_type): Remove.
13619 config:
13620         * alpha/alpha.c: Include langhooks.h.
13621         (alpha_build_va_list): Use langhook.
13622         * d30v/d30v.c: Include langhooks.h.
13623         (d30v_build_va_list): Use langhook.
13624         * i386/i386.c: Include langhooks.h.
13625         (ix86_build_va_list): Use langhook.
13626         * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
13627         * s390/s390.c: Include langhooks.h.
13628         (s390_build_va_list): Use langhook.
13629         * stormy16/stormy16.c: Include langhooks.h.
13630         (stormy16_build_va_list): Use langhook.
13632 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
13634         PR c++/5964
13635         * config/sparc/sparc.md (empty_delay_slot, branch_type): New
13636         attributes.
13637         (length): Compute variable length for branches/calls/jumps here.
13638         (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
13639         normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
13640         define branch_type attribute.
13641         (divsi3_sp32): Maximum length is 6 not 7.
13642         (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
13643         call_address_untyped_struct_value_sp32,
13644         call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
13645         * config/sparc/sparc.c (empty_delay_slot): New function.
13646         * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
13647         * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
13649 2002-03-29  Jakub Jelinek  <jakub@redhat.com>
13651         * combine.c (set_nonzero_bits_and_sign_copies): Don't call
13652         nonzero_bits if not needed.
13653         (nonzero_bits) [XOR]: Likewise.
13654         (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
13655         reg_last_set_mode and mode are both MODE_INT, but not equal.
13656         (record_value_for_reg): Compute reg_last_set_nonzero_bits
13657         in nonzero_bits_mode for MODE_INT modes.
13659 2002-03-28  Richard Henderson  <rth@redhat.com>
13661         PR target/5715
13662         * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
13663         to GAS.  Correct drift between alternatives.
13665 2002-03-28  Richard Henderson  <rth@redhat.com>
13667         PR target/6087
13668         * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
13670 2002-03-28  Alexandre Oliva  <aoliva@redhat.com>
13672         * config/i386/freebsd.h (LINK_SPEC): Don't pass default
13673         emulation to the linker.
13675 2002-03-28  Loren J. Rittle  <ljrittle@acm.org>
13677         * config/alpha/freebsd.h (LINK_SPEC): Likewise.
13678         * config/sparc/freebsd.h (LINK_SPEC): Likewise.
13680 Thu Mar 28 16:35:31 2002  Jeffrey A Law  (law@redhat.com)
13682         * combine.c (simplify_and_const_int): Make sure to apply mask
13683         when force_to_mode returns a constant integer.  PR3311.
13685 2002-03-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13687         * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
13689 2002-03-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13691         * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
13692         and Objective-C Dialect Options.
13694 2002-03-28  Richard Henderson  <rth@redhat.com>
13696         * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
13697         comparison should be done vs !=0 not >0 return code.  Tidy cases.
13699 2002-03-28  Richard Henderson  <rth@redhat.com>
13701         * c-decl.c (finish_function): New arg can_defer_p.  Pass it
13702         on to c_expand_body.
13703         * c-tree.h (finish_function): Update decl.
13704         * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
13706 Thu Mar 28 19:13:36 CET 2002  Jan Hubicka  <jh@suse.cz>
13708         * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
13710 Thu Mar 28 13:21:53 CET 2002  Jan Hubicka  <jh@suse.cz>
13712         * rtlanal.c: Include flags.h
13713         (may_trap_p): Do not mark FP operations if trapping
13714         if !flag_trapping_math
13715         * Makefile.in (rtlanal.o): Add dependency on flag.h
13716         * ifcvt.c (noce_operand_ok): Avoid the lameness.
13718 2002-03-27  Zack Weinberg  <zack@codesourcery.com>
13720         * mips.md: Use dconst1, not 1.0, as first argument of
13721         REAL_VALUE_LDEXP.  Don't use union real_extract.
13723 2002-03-28  Alan Modra  <amodra@bigpond.net.au>
13725         * configure.in (gcc_cv_as): Use $target_alias in directory searchs
13726         rather than $target.  Heed program_prefix and
13727         program_transform_name.  Search for gas in cross-compiler case too.
13728         "test -x" rather than "test -f".
13729         (gcc_cv_ld): Likewise.
13730         (gcc_cv_nm): Heed program_prefix and program_transform_name.
13731         (gcc_cv_objdump): Likewise.
13732         * configure: Regenerate.
13734 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
13736         * Makefile.in (attribs.o): Update.
13737         * attribs.c: Include langhooks.h.
13738         (decl_attributes): Use langhook.
13739         * c-decl.c (insert_default_attributes): Rename.
13740         * c-tree.h (c_insert_default_attributes): New.
13741         * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
13742         (LANG_HOOKS_INITIALIZER): Update.
13743         * langhooks.h (struct lang_hooks): New hook.
13744         * tree.h (insert_default_attributes): Remove.
13745 objc:
13746         * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
13748 2002-03-27  Andreas Schwab  <schwab@suse.de>
13750         * config/i386/i386.c (classify_argument): Also check for
13751         QUAL_UNION_TYPE.
13753 2002-03-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13755         * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
13756         any more.
13758 Wed Mar 27 23:19:30 CET 2002  Jan Hubicka  <jh@suse.cz>
13760         * i960.md (ret): Set PC.
13761         (nonlocal_goto): Fix expander.
13762         * builtins.c (epxand_builin_longjmp): Check that we've emitted
13763         some jump or call.
13765 Wed Mar 27 23:11:35 CET 2002  Jan Hubicka  <jh@suse.cz>
13767         * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
13768         of libcall regions.
13770 Wed Mar 27 22:54:14 CET 2002  Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
13772         * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
13773         assigning to BLOCK_FOR_INSN directly.
13775 Wed Mar 27 22:33:05 CET 2002  Jan Hubicka  <jh@suse.cz>
13777         * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
13779 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
13781         * c-common.c (c_expand_expr): Fix prototype.
13782         * c-common.h (c_expand_expr): Always declare, update.
13783         * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
13784         * c-objc-common.c (c_objc_common_init): No global hook.
13785         * expr.c (expand_expr): Use langhook.
13786         * expr.h (enum expand_modifier): Conditionally declare.
13787         * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
13788         (LANG_HOOKS_INITIALIZER): Update.
13789         * langhooks.c (lhd_expand_expr): New.
13790         * langhooks.h (struct lang_hooks): New hook.
13791         * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
13792         (lang_independent_init): Don't default hook.
13793 objc:
13794         * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
13796 2002-03-27  Richard Henderson  <rth@redhat.com>
13798         PR target/6054
13799         * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
13800         TARGET_CONST_GP.  Simplify conditions.
13802 2002-03-27  Richard Henderson  <rth@redhat.com>
13804         * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
13805         config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
13806         config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
13808 2002-03-27  Danny Smith  <dannysmith@users.sourceforge.net>
13810         * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
13811         TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
13812         (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
13813         Remove unnecessary masks.
13814         (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
13815         (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
13816         -mwindows, -mdll switches and their negations.
13818 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
13820         * gcc-common.c (lang_mark_false_label_stack): Remove.
13821         * ggc.h (lang_mark_false_label_stack): Similarly.
13823 2002-03-26  Vladimir Makarov  <vmakarov@redhat.com>
13825         * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
13827         * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
13828         or __rtems_ is defined.
13830 2002-03-26  Richard Henderson  <rth@redhat.com>
13832         * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
13833         if a non-trivial load was emitted.
13834         (alpha_emit_set_const_1): Remove obsolete extension.  Fix thinko
13835         in high+extra+low case.
13837 2002-03-26  Richard Henderson  <rth@redhat.com>
13839         * config.gcc (sparc*-solaris): Use float_format=sparc.
13841 2002-03-26  Richard Henderson  <rth@redhat.com>
13843         * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
13844         * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
13845         * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
13846         * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
13847         (WINT_TYPE_SIZE): Fix at 32.
13849 2002-03-26  Richard Henderson  <rth@redhat.com>
13851         * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
13852         until after eh landing pad generation.
13853         * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
13854         * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
13856 2002-03-26  Richard Henderson  <rth@redhat.com>
13858         * expr.h (ADD_PARM_SIZE): One more convert for INC.
13860 2002-03-26  Phil Edwards  <pme@gcc.gnu.org>
13862         * gcc.c (cpp_options):  Preserve relative ordering of -pedantic
13863         and warning switches.
13864         (cc1_options):  Likewise.
13866 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
13868         * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
13869         Restore more of the signal context.  Set no_reg_stack_frame.
13870         * config/ia64/unwind-ia64.c (unw_state_record):
13871         Add no_reg_stack_frame, comments.
13872         (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
13873         (uw_update_context): Adjust bsp when unwinding from leaf,
13874         but not signal frame.
13876 2002-03-26  David Edelsohn  <edelsohn@gnu.org>
13878         * config/rs6000/aix51.h (WCHAR_TYPE): Define.
13880 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
13882         * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
13884 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
13886         PR target/5621
13887         * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
13888         "Add a pool_range attribute", which was lost during the ARM/Thumb
13889         merge.
13891 2002-03-26  Bob Wilson  <bob.wilson@acm.org>
13893         * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
13894         a register into the MAC16 accumulator.
13896 2002-03-26  Andrew Cagney  <ac131313@redhat.com>
13898         * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
13899         (Warning Options): Document -Wswitch-enum.
13900         * toplev.c (W_options): Add -Wswitch-enum.  Update comment on
13901         -Wswitch.
13902         (warn_switch_enum): Define variables.
13903         * flags.h (warn_switch_enum): Declare variables.
13904         * stmt.c (expand_end_case_type): When warn_switch_enum /
13905         -Wswitch-enum, perform switch checks.
13906         Fix PR c/5044.
13908 2002-03-26  Richard Earnshaw  <rearnsha@arm.com>
13910         * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
13911         (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
13912         (reload_muladdsi_compare0_scratch): Delete.
13914 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
13916         * doc/install.texi (*-*-freebsd*): Update.
13918 2002-03-26  Richard Henderson  <rth@redhat.com>
13920         * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
13921         (SUB_PARM_SIZE): Cast DEC to ssizetype.
13923         * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
13924         types from the normal argument frame.
13926         * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
13927         variable sized objects by reference.
13928         (sparc_va_arg): Receive them by reference too.
13930 2002-03-26  Hartmut Penner  <hpenner@de.ibm.com>
13932         * config/s390/s390.c (s390_emit_epilogue): Change epilogue
13933         code to not restoring global registers.
13935 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
13937         * Makefile.in (ggc-common.o): Update.
13938         * c-decl.c (lang_mark_tree): Rename c_mark_tree.
13939         * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
13940         * c-tree.h (c_mark_tree): New.
13941         * ggc-common.c: Include langhooks.h.
13942         (gcc_mark_trees): Use new langhook.
13943         * ggc-callbacks.c: Delete file.
13944         * ggc.h (lang_mark_tree): Remove.
13945         * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
13946         (LANG_HOOKS_INITIALIZER): Update.
13947         * langhooks.h (struct lang_hooks): New hook.
13948 objc:
13949         * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
13951 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
13953         * doc/cpp.texi: Exclude entire Top node from printed manual.
13954         Move option index after directive index.  Insert page breaks
13955         before GFDL and concept index.  Index environment variables
13956         with command line options.
13957         * doc/cppenv.texi: Use @vtable for environment variable list.
13958         Add paragraph explaining semantics of empty elements in path
13959         variables.  Exclude a cross-reference to Fishkill from the
13960         manpage.  Remove an unnecessary cross-reference of the entry
13961         right above the referer.  Don't use @anchor in text that goes
13962         into manpage.
13963         * doc/cppopts.texi: Cross-reference the environment variables
13964         section, not the specific environment variable, for consistency.
13966 2002-03-25  Richard Henderson  <rth@redhat.com>
13968         * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
13969         anywhere in the block.  Don't refer to insns that have been
13970         removed from the chain.  Iterate backward through the new insns.
13971         Don't refer to edges that have been removed.
13973 2002-03-26  Alan Modra  <amodra@bigpond.net.au>
13975         * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
13976         test for overflow of constant.
13978 2002-03-25  Richard Earnshaw  <rearnsha@arm.com>
13980         PR target/2623
13981         * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
13982         (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
13983         these patterns on arm_archv4.
13985 2002-03-25  Danny Smith  <dannysmith@sourceforge.users.net>
13987         * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
13988         int".
13990 2002-03-25  Zack Weinberg  <zack@codesourcery.com>
13992         * toplev.c: Don't include setjmp.h.  Kill float_handler_set,
13993         float_handled, float_handler, float_signal, set_float_handler,
13994         and do_float_handler.  Set handler for SIGFPE to crash_signal.
13995         * toplev.h: Don't prototype do_float_handler.
13997         * c-lex.c: Fold parse_float into lex_number.  Make warning
13998         about portability of hex float constants more informative, and
13999         don't issue it on top of a syntax error.
14000         * fold-const.c: Fold const_binop_1 and fold_convert_1 into
14001         their callers.
14002         * real.h: Define REAL_VALUE_ABS here...
14003         * simplify-rtx.c: ... not here.  Fold check_fold_consts,
14004         simplify_unary_real, simplify_binary_real, and
14005         simplify_binary_is2orm1 into their callers.
14006         * tree.c: Fold build_real_from_int_cst_1 into caller.
14008         * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
14010         * tsystem.h: Include float.h here...
14011         * libgcc2.c: ... not here.
14013 2002-03-25  Nick Clifton  <nickc@cambridge.redhat.com>
14015         Fixes for: PR bootstrap/3591, target/5676
14016         * config/mcore/mcore.h (CC1_SPEC): Define only if not already
14017         defined.  Do not disable exceptions or rtti.
14018         * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
14019         mcore.h.  Disable exceptions and rtti, since they are not
14020         supported by EPOC.
14022 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
14024         * c-decl.c (maybe_build_cleanup): Remove.
14025         * expr.c (expand_expr): Use langhook.
14026         * langhooks-def.h (lhd_return_null_tree,
14027         LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
14028         (LANGHOOKS_INITIALIZER): Update.
14029         * langhooks.c (lhd_return_null_tree): New.
14030         * langhooks.h (struct lang_hooks): New hook.
14031         * tree-inline.c (initialize_inlined_parameters): Use langhook.
14032         * tree.h (maybe_build_cleanup): Remove.
14034 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
14036         * regrename.c (build_def_use): Move recog_memoized
14037         before extract_insn.
14039 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
14041         PR target/6043
14042         * expr.c (emit_group_store): Handle storing into CONCAT.
14044 2002-03-25  Jakub Jelinek  <jakub@redhat.com>
14046         * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
14047         corresponding MATCH_DUP.
14049 2002-03-24  Richard Henderson  <rth@redhat.com>
14051         * unroll.c (unroll_loop): Zero label_map.
14053         * gcse.c: Include except.h.
14054         * Makefile.in (gcse.o): Update.
14056 2002-03-24  Richard Henderson  <rth@redhat.com>
14058         * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
14059         Do resolve_unique_section before shared data clause.
14061 2002-03-24  Richard Henderson  <rth@redhat.com>
14063         * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
14065 2002-03-24  Richard Henderson  <rth@redhat.com>
14067         * recog.c (peephole2_optimize): Split blocks when EH insns are
14068         generated in the middle of a block.  Do global life update if
14069         zapped EH edges.
14071 2002-03-24  Richard Henderson  <rth@redhat.com>
14073         * mips.c (mips_function_value): Only promote_mode for non-libcalls.
14075 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
14077         preprocessor/3951
14078         * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
14079         * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
14080         (init_dependency_output): Don't make no_output decision here.
14082 2002-03-24  Andrew Cagney  <ac131313@redhat.com>
14084         * stmt.c (check_for_full_enumeration_handling): Remove tests of
14085         warn_switch.  Update description.
14086         (expand_end_case_type): Call check_for_full_enumeration_handling
14087         when warn_switch.
14089 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14091         * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
14092         (m68hc11_split_move): Call it to see if the source and destination
14093         operands use the same direction auto inc/dec mode, otherwise make the
14094         source an offsetable memory operand and generate an add.
14096 2002-03-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14098         * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
14099         register for operand 2.
14100         ("*subsi3_zero_extendqi"): Likewise.
14101         ("*iorhi3_gen"): Do the operation on the upper bits and then lower
14102         bits so that it is compatible with a pop.
14103         ("*andhi3_gen"): Likewise.
14104         ("xorhi3"): Likewise.
14106 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
14108         * cppinit.c (cpp_handle_option): Set warn_endif_labels if
14109         -pedantic here...
14110         (cpp_post_options): ... not here.
14112 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
14113             Aldy Hernandez  <aldyh@redhat.com>
14115         Removal of separate preprocessor cpp0.
14117         * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
14118         cpp0, install-common): Update.
14119         * c-common.c (flag_preprocess_only): New.
14120         (c_common_init): Preprocess for -E.
14121         * c-common.h (flag_preprocess_only): New.
14122         * c-decl.c (c_decode_option): Handle -E and -std=c++98.
14123         * c-objc-common.c (c_init_decl_processing): Exit quickly
14124         for NULL return from c_common_init.
14125         * cpplib.h (cpp_preprocess_file): New.
14126         * cppmain.c (main, general_init, pfile, progname): Remove.
14127         (do_preprocessing): Rename cpp_preprocess_file, don't call
14128         cpp_finish.  Don't close stdout here.
14129         (setup_callbacks): Update prototype.
14130         * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
14131         Update.
14132         * tradcpp.c (main): Ignore -quiet.
14133 objc:
14134         * lang-specs.h (default_compilers): Preprocess with cc1obj.
14136 2002-03-24  Richard Henderson  <rth@redhat.com>
14138         PR optimization/5742
14139         * machmode.def: Add inner mode field to complex modes.
14140         * config/mips/mips.c (mips_function_value): Always define.  Add
14141         new argument to handle libcalls.
14142         * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
14143         (FUNCTION_VALUE): Likewise.
14144         * config/mips/abi64.h (FUNCTION_VALUE): Remove.
14145         * config/mips/mips-protos.h: Update.
14147 2002-03-23  Richard Henderson  <rth@redhat.com>
14149         * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
14150         * config/sparc/sparc-protos.h: Update.
14151         * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
14153 2002-03-23  Richard Henderson  <rth@redhat.com>
14155         * config/sparc/gmon-sol2.c (internal_mcount): Assume either
14156         _start or _init begins the text segment.
14158 2002-03-23  David Edelsohn  <edelsohn@gnu.org>
14160         * config/rs6000/rs6000.h (RETURN_IN_MEMORY):  Cast to HOST_WIDE_INT
14161         not HOST_WIDEST_INT.
14162         (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
14164 2002-03-23  Richard Earnshaw  <rearnsha@arm.com>
14166         PR java/5489
14167         * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
14168         operand argument to output_return_instruction.
14169         * arm.c (arm_print_operand, case 'd'): If the operand is
14170         const_true_rtx then just return.
14171         (arm_print_operand, case 'D'): If the operand is const_true_rtx
14172         then abort.
14174 2002-03-23  Andrew Cagney  <ac131313@redhat.com>
14176         * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
14177         (Warning Options): Document -Wswitch-default.
14178         * toplev.c (W_options): Add -Wswitch-default.  Update comment on
14179         -Wswitch.
14180         (warn_switch_default): Define variable.
14181         (warn_switch): Update comment.
14182         * flags.h (warn_switch_default): Declare variable.
14183         (warn_switch): Update comment.
14184         * stmt.c (expand_end_case): Check for and, when
14185         warn_switch_no_default, warn of a missing default case.
14187 2002-03-23  Alan Modra  <amodra@bigpond.net.au>
14189         * real.h (N): Special case 128 bit doubles.
14191         * combine.c (simplify_comparison): When widening modes, ignore
14192         sign extension on CONST_INTs.
14194 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
14196         * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
14197         passed to adjust_address.  Fix comment formatting.
14200 2002-03-22  Zack Weinberg  <zack@codesourcery.com>
14202         * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
14203         Always make REAL_VALUE_TYPE a struct containing an array of
14204         HOST_WIDE_INT, not a double.  Tidy up the code deciding how
14205         big it is.  Don't declare or use union real_extract.
14207         * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
14208         decode_rtx_const, output_constant_pool), config/a29k/a29k.c
14209         (print_operand), config/arm/arm.c (output_move_double),
14210         config/arm/arm.md (consttable_4, consttable_8),
14211         config/romp/romp.c (output_fpops), config/s390/s390.h
14212         (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
14213         (xtensa_output_literal): Don't use union real_extract.
14215         * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
14216         (sfmode_constant_to_ulong), config/ns32k/merlin.h
14217         (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
14218         config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
14219         (PRINT_OPERAND): Don't use local version of union
14220         real_extract.
14222         * config/convex/convex.c (check_float_value), config/vax/vax.c
14223         (vax_float_literal), config/m88k/m88k.md (divdf3),
14224         config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
14225         config/pdp11/pdp11.c (output_move_quad): Don't do host
14226         arithmetic on target floating point quantities.
14228         * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
14229         (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
14231         * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
14232         Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
14234         * real.c (earith): Test INFINITY rather than REAL_INFINITY;
14235         NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
14236         INFINITY.
14237         * print-rtl.c (print_rtx): Disable code which needs
14238         floating-point emulator.
14239         * libgcc2.c: Include float.h and use DBL_MANT_DIG,
14240         FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
14241         depending on HOST_FLOAT_FORMAT to be defined properly.
14243         * config/1750a/1750a.c (get_double, float_label): Delete.
14244         (print_operand): Delete huge commented-out chunk.  Use
14245         REAL_VALUE_TO_DECIMAL.
14246         * config/1750a/1750a-protos.h: Delete prototypes of deleted
14247         functions.
14248         * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
14249         IEEE_FLOAT_FORMAT.
14250         * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
14251         Use REAL_VALUE_TO_DECIMAL as ELF version does.
14252         * config/m88k/m88k.c (real_power_of_2_operand,
14253         legitimize_operand): Take the REAL_VALUE_TYPE and/or union
14254         real_extract out of the union; run the input through
14255         REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
14256         from that into the union.
14257         * config/pdp11/pdp11.c (output_move_double): Rearrange
14258         parentheses to make automatic indenter happy.
14260         * doc/tm.texi (Cross-compilation): Rename node to "Floating
14261         Point" and rewrite to describe current situation.  Also adjust
14262         documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
14263         match code.
14264         * doc/rtl.texi: Adjust cross reference.
14266 2002-03-22  Bob Wilson  <bob.wilson@acm.org>
14268         * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
14269         (xtensa_valid_move, xtensa_preferred_reload_class): Define.
14270         * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
14271         (xtensa_valid_move, xtensa_preferred_reload_class): Define to
14272         prevent use of sp as a reload register.
14273         (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
14274         non_acc_reg_operand.
14275         * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
14276         (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
14277         * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
14278         movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
14280 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
14282         * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
14283         * cpplex.c (unterminated): Delete.
14284         (parse_string): No string literal may extend over multiple
14285         lines.  Suppress the error when preprocessing assembly.
14286         * cppmain.c (scan_translation_unit): Strings are single-line.
14288         * doc/cpp.texi: Update to match.
14290 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
14292         PR optimization/5854
14293         * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
14294         Shut up warnings.
14295         (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
14296         (EXTRA_CONSTRAINT): Use S for non-push memory operand.
14297         * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
14298         const0 if scratch register was not allocated.
14299         (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
14300         m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
14301         with GEN_INT (...).
14302         (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
14303         * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
14304         with GEN_INT (...) everywhere.  Remove constraints in define_split
14305         patterns.
14306         (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
14307         require scratch register for setting 0 into regs/non-pushable memory.
14309 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
14311         * config/mips/mips.h (MASK_RETURN_ADDR): Define.
14312         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
14314 2002-03-22  Phil Edwards  <pme@gcc.gnu.org>
14316         * cpplib.h (struct cpp_options):  New member, warn_endif_labels.
14317         * cppinit.c (cpp_create_reader):  On by default.
14318         (cpp_handle_option):  Handle -W[no-]endif-labels.
14319         (cpp_post_options):  Also enable if -pedantic.
14320         * cpplib.c (do_else):  Use it.
14321         (do_endif):  Likewise.
14322         * doc/cppopts.texi:  Document new option.
14323         * doc/invoke.texi:  Document new option.
14325 2002-03-22  Lars Brinkhoff  <lars@nocrew.org>
14327         * config/i386/i386.c, config/i386/i386.md: Change all occurences
14328         of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
14330 2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
14332         * flow.c (calculate_global_regs_live): Clear aux fields of
14333         ENTRY and EXIT.
14335 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
14337         * config/v850/v850.c (v850_reorg): Only call alter_subreg on
14338         REG or MEM subregs, pass rtx * instead of rtx to it.
14339         * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
14340         rtx * instead of rtx to alter_subreg.
14341         * config/m32r/m32r.c (gen_split_move_double): Likewise.
14342         * config/pj/pj.c (pj_output_rval): Likewise.
14344 2002-03-22  Richard Henderson  <rth@redhat.com>
14346         PR target/3177
14347         * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
14348         (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
14349         * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
14350         (ia64_expand_prologue): Look at int_regs, not words, for number
14351         of incomming int regs.
14353 2002-03-22  Andrew MacLeod  <amacleod@redhat.com>
14355         * expr.c (expand_expr): A RESULT_DECL is part of a call.
14357 Fri Mar 22 16:30:42 CET 2002  Jan Hubicka  <jh@suse.cz>
14359         * toplev.c (flag_loop_optimize, flag_crossjumping):
14360         New static variables.
14361         (rest_of_compilation): Conditionalize crossjumping and
14362         loop optimizer.
14363         (parse_options_and_default_flags): Default loop_optimize and
14364         crossjumping.
14365         (lang_independent_options): Add -fcrossjumping and -floop-optimize
14366         * invoke.texi (crossjumping, loop-optimize): Document.
14368 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
14370         * real.c (eiisneg): Move outside #ifdef NANS.
14372 Fri Mar 22 12:08:36 CET 2002  Jan Hubicka  <jh@suse.cz>
14374         * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
14375         frequencies match; avoid match on different loop depths.
14376         (try_crossjump_to_bb): Kill tests that no longer brings time
14377         savings.
14378         * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
14379         updating code.
14380         (split_edge): Likewise.
14382         * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
14383         variable.
14385         * Makefile.in (cfgrtl): Add insn-config.h depenendency.
14386         * cfgrtl.c: Include insn-config.h
14387         (split_block) Dirtify block in presence of conditional execution
14389 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
14391         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
14392         * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
14393         (function_arg): Constify CUMULATIVE_ARGS.
14394         (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
14395         * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
14396         (UNITS_PER_DOUBLE): New macro.
14397         (SETUP_INCOMING_VARARGS): Define.  Use mips_setup_incoming_varargs.
14398         (CUMULATIVE_ARGS): Reformat.  Remove num_adjusts workaround and
14399         last_arg_fp field.  Replace arg_words and fp_arg_words with gp_regs,
14400         fp_regs and stack_words.
14401         (EABI_FLOAT_VARARGS_P): New macro.
14402         * config/mips/mips.c (struct mips_arg_info): New.
14403         (mips_arg_info): New function.
14404         (function_arg_advance): Use it.  Add adjustment instructions here
14405         rather than in function_arg.
14406         (function_arg): Constify CUMULATIVE_ARGS.  Use mips_arg_info.  Check
14407         for VOIDmode at the beginning of the function.
14408         (function_partial_nregs): Constify CUMULATIVE_ARGS.  Use mips_arg_info.
14409         (function_arg_pass_by_reference): Likewise.
14410         (mips_setup_incoming_varags): New, largely based on old abi64.h code.
14411         (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
14412         (mips_va_start): Likewise.  Use the new stack_words field of
14413         CUMULATIVE_ARGS to set up overflow area.  Reformat.
14414         (mips_va_arg): Test EABI_FLOAT_VARARGS_P.  Unify EABI handling of
14415         doubles and other types, aligning the overflow pointer for non-doubles
14416         too.  Remove some code duplication.  Replace hard-coded constants.
14418 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
14420         * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
14421         (CLASS_UNITS): Undefine.
14422         (CLASS_MAX_NREGS): Use FP_INC.
14423         * config/mips/mips.c (compute_frame_size): Likewise.
14424         (override_options): Use FP_INC and UNITS_PER_FPVALUE.
14426 2002-03-22  Neil Booth  <neil@daikokuya.demon.co.uk>
14428         * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
14429         prototype, and handle lexing numbers and identifiers.
14430         (parse_identifier): Update to new form of parse_slow.
14431         (parse_number): Fast path only, use parse_slow otherwise.
14432         (_cpp_lex_direct): Update calls to parse_number.
14434 2002-03-21  DJ Delorie  <dj@redhat.com>
14436         * bb-reorder.c (make_reorder_chain_1): Protect against
14437         when redundant edges are omitted.
14438         * predict.c (dump_prediction): Likewise.
14440 2002-03-21  Richard Henderson  <rth@redhat.com>
14442         PR target/5996
14443         * fixinc/inclhack.def (solaris_stdio_tag): New.
14444         * fixinc/fixincl.x: Regenerate.
14446 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
14448         PR c/5597
14449         * c-typeck.c (process_init_element): Flag non-static
14450         initialization of a flexible array member as illegal.
14452 2002-03-22  Alan Modra  <amodra@bigpond.net.au>
14454         * config/rs6000/t-linux64: New.
14455         * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
14456         t-ppccomm.  Use t-rs6000 and t-linux64.
14457         (powerpc64-*-gnu* <tmake_file>): Likewise.
14458         * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
14459         * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
14460         * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
14462 2002-03-21  Aldy Hernandez  <aldyh@redhat.com>
14464         * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
14465         flag_really_no_inline instead of optimize == 0.
14467         * c-objc-common.c (c_cannot_inline_tree_fn): Same.
14469         * cp/tree.c (cp_cannot_inline_tree_fn): Same.
14471         * flags.h (flag_really_no_inline): New.
14473         * c-common.c (c_common_post_options): Initialize
14474         flag_really_no_inline.
14476         * toplev.c (flag_really_no_inline): New.
14478 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
14480         * config/avr/avr.md (length): Fix length computation for
14481         conditional branches.
14483 2002-03-21  Neil Booth  <neil@daikokuya.demon.co.uk>
14485         * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
14486         sdbout.o, profile.o): Update.
14487         * c-common.c (c_common_nodes_and_builtins): Use pushdecl
14488         langhook.
14489         * c-common.h (gettags): Move here from tree.h.
14490         * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
14491         insert_block, getdecls, kept_level_p, global_bindings_p): New.
14492         * dbxout.c (dbxout_init): Use getdecls langhook.
14493         * expr.c (expand_expr): Use insert_block langhook.
14494         * fold-const.c: Include langhooks.h.
14495         (fold_range_test, fold_binary_op_with_conditional_arg,
14496         fold): Use global_bindings_p langhook.
14497         * integrate.c (expand_inline_function): Use insert_block langhook.
14498         * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
14499         LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
14500         LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
14501         LANG_HOOKS_GETDECLS): New.
14502         (LANG_HOOKS_INITIALIZER): Update.
14503         * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
14504         langhook.
14505         * langhooks.h (struct lang_hooks_for_decls): New.
14506         (struct lang_hooks): Update.
14507         * profile.c: Include langhooks.h.
14508         (output_func_start_profiler): Use new langhooks.
14509         * sdbout.c: Include langhooks.h.
14510         (sdbout_init, sdbout_finish): Use getdecls langhook.
14511         * stmt.c: Include langhooks.h.
14512         (expand_fixup, fixup_gotos): Use new langhooks.
14513         * stor-layout.c: Include langhooks.h.
14514         (variable_size): Use global_bindings_p langhook.
14515         * toplev.c (compile_file): Use getdecls langhook.
14516         * tree-inline.c (remap_block): Use insert_block langhook.
14517         * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
14518         insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
14520 2002-03-21  Richard Henderson  <rth@redhat.com>
14522         * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
14523         constants in .data when -fpic.
14525 2002-03-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14527         * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
14528         where appropriate.
14530 2002-03-21  Tom Tromey  <tromey@redhat.com>
14532         * config/i386/sol2.h (ASM_QUAD): Undef.  Fixes PR bootstrap/5948.
14534 Thu Mar 21 09:50:48 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14536         * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
14538         * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
14540 2002-03-21  Eric Botcazou <ebotcazou@multimania.com>
14541             Richard Henderson  <rth@redhat.com>
14543         PR c/5354
14544         * c-common.c (c_expand_expr): Preserve result of a statement
14545         expression if needed.
14547 2002-03-21  Jakub Jelinek  <jakub@redhat.com>
14549         PR bootstrap/4195
14550         * genrecog.c (maybe_both_true_mode): Remove.
14551         (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
14552         * machmode.def (Pmode): Likewise.
14554 Thu Mar 21 01:55:06 EST 2002  John Wehle  (john@feith.com)
14556         * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
14557         (nonlocal_mentioned_p_1): New function.
14558         (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
14559         (nonlocal_set_p, nonlocal_set_p_1): Likewise.
14560         (mark_constant_function): Recognize pure functions.
14561         * rtl.h (global_reg_mentioned_p): New prototype.
14562         * rtlanal.c (global_reg_mentioned_p,
14563         global_reg_mentioned_p_1): New function.
14565 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14567         * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
14568         UNIX assert.h.
14569         * fixinc/fixincl.x: Regenerate.
14571 2002-03-20  Jason Merrill  <jason@redhat.com>
14573         * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
14575 2002-03-20  Michael Meissner  <meissner@redhat.com>
14577         * doc/invoke.texi (Optimize Options): Document that -O2 sets
14578         -fstrict-aliasing.
14580 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
14582         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
14583         ".literal_position" directive before the constant pool.
14585 2002-03-20  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14587         * doc/contrib.texi (Contributors): Update Geoffrey Keating.
14588         Add Craig Rodrigues.
14589         Add Brad Lucier to testers.
14591 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
14593         PR target/4792
14594         * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
14595         to if_then_else.
14596         (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
14597         * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
14598         instead of insn_extract.
14600 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
14602         PR bootstrap/4192
14603         * config/fr30/fr30.md (jump): Remove clobber of fixed register.
14605         * genemit.c (output_added_clobbers_hard_reg_p): Only output return
14606         stmt if some case has been output.
14608 2002-03-20  Jakub Jelinek  <jakub@redhat.com>
14610         PR c/5972
14611         * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
14612         movsfcc_1, movdfcc_1): Add %O2.
14613         * config/i386/i386.c (print_operand): Handle %ON.
14614         Print . before float condition codes in Sun as cmov syntax.
14615         * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
14616         * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
14617         no longer true.
14619 2002-03-20  Philip Blundell  <pb@nexus.co.uk>
14621         * config/arm/arm.c (arm_output_epilogue): Don't generate separate
14622         return instruction if PC was popped.
14624 2002-03-20  Bob Wilson  <bob.wilson@acm.org>
14626         * config/xtensa/xtensa.md: Remove unused type attributes.
14627         (adddi_carry, subddi_carry): Change type attribute to "multi".
14629 2002-03-19  Dale Johannesen  <dalej@apple.com>
14631         PR optimization/5999, middle-end/5731
14632         * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
14633         multiplications by reciprocals.
14635 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
14637         * Makefile.in: Update.
14638         * c-common.c: Include langhooks.h.
14639         (inline_forbidden_p): Use new hook.
14640         * diagnostic.c: Include langhooks.h.
14641         (format_with_decl, announce_function,
14642         default_print_error_function): Use new hook.
14643         * dwarf2out.c (dwarf2_name): Use new hook.
14644         * function.c: Include langhooks.h.
14645         (init_function_start): Use new hook.
14646         * langhooks-def.h (lhd_decl_printable_name): New.
14647         (LANGHOOKS_DECL_PRINTABLE_NAME): New.
14648         (LANGHOOKS_INITIALIZER): Update.
14649         * langhooks.c (lhd_decl_printable_name): New.
14650         * langhooks.h (struct lang_hooks): New hook.
14651         * toplev.c (decl_name, decl_printable_name): Remove.
14652         (open_dump_file): Use new hook.
14653         (process_options): Remove old hook.
14654         * tree.h (decl_printable_name): Remove.
14655 objc:
14656         * objc-act.c (objc_init): Remove old hook.
14657         (objc_printable_name): Export.
14658         * objc-act.h (objc_printable_name): New.
14659         * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
14661 2002-03-19  Jim Blandy  <jimb@redhat.com>
14663         * c-lex.c (cb_file_change): Pass the #inclusion's line number to
14664         the start_source_file debug hook, not the current line number.
14666 2002-03-19  Richard Henderson  <rth@redhat.com>
14668         * flow.c (EH_USES): Provide default.
14669         (calculate_global_regs_live): Use it for EH edges and noreturn calls.
14670         * doc/tm.texi (EH_USES): New.
14672         * config/ia64/ia64.c (ia64_eh_uses): New.
14673         * config/ia64/ia64-protos.h: Update.
14674         * config/ia64/ia64.h (EH_USES): New.
14676 2002-03-19  Richard Henderson  <rth@redhat.com>
14678         * varasm.c (output_constant_def): Fix stupid typo.
14680 2002-03-19  Richard Henderson  <rth@redhat.com>
14682         PR 5879
14683         * except.c (current_function_has_exception_handlers): New.
14684         * except.h: Declare it.
14685         * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
14686         Combine tests that disable all sibcalls for the function.
14688 2002-03-19  Olivier Hainque  <hainque@act-europe.fr>
14690         * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
14691         for INTEGER_CST.
14693 2002-03-19  Richard Henderson  <rth@redhat.com>
14695         PR 5977, 5991
14696         * config/ia64/ia64.c: Revert 2002-03-01 patch.
14697         * config/ia64/ia64.h (INIT_EXPANDERS): New.
14699 2002-03-19  Jim Blandy  <jimb@redhat.com>
14701         * cppmacro.c (cpp_macro_definition): Emit a space after the macro
14702         name, even if the replacement list contains no tokens, as required
14703         by Dwarf.
14705 2002-03-19  Jason Merrill  <jason@redhat.com>
14707         * varasm.c (globalize_decl): Get the name from the RTL, not
14708         DECL_ASSEMBLER_NAME.
14710         * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
14712 2002-03-19  Bob Wilson  <bob.wilson@acm.org>
14714         * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
14715         subdi_carry): Define.
14717 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
14719         * config/rs6000/rs6000.c (rs6000_override_options): Only warn
14720         about -fpic/-fPIC if extra_warnings set.
14722 2002-03-19  David Edelsohn  <edelsohn@gnu.org>
14724         * expr.c (expand_expr): Sign-extend CONST_INT generated from
14725         TREE_STRING_POINTER.
14726         * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
14728 Tue Mar 19 14:12:32 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14730         * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
14731         in favor of SP if FRAME_POINTER_REQUIRED is false.
14733 2002-03-19  Lars Brinkhoff  <lars@nocrew.org>
14735         * emit-rtl.c (gen_int_mode): New function.
14736         * rtl.h: Prototype for it.
14737         * combine.c (make_extraction, simplify_comparison), expmed.c
14738         (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
14739         (convert_modes, store_field), optabs.c (expand_fix),
14740         simplify-rtx.c (neg_const_int, simplify_unary_real),
14742         * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
14743         Use it instead of GEN_INT (trunc_int_for_mode (...)).
14745 2002-03-19  Jakub Jelinek  <jakub@redhat.com>
14747         PR c/5656
14748         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
14749         convert_parm_for_inlining.
14750         * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
14751         Define.
14752         * langhooks-def.h: Likewise.
14753         * objc/objc-lang.c: Likewise.
14754         * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
14755         function.
14756         * tree-inline.c (initialize_inlined_parameters):
14757         Call convert_parm_for_inlining lang hook if needed.
14758         * c-typeck.c (c_convert_parm_for_inlining): New function.
14759         * c-tree.h (c_convert_parm_for_inlining): Add prototype.
14761 2002-03-18  Mark Mitchell  <mark@codesourcery.com>
14763         * calls.c (precompute_arguments): Do not assume that temporaries
14764         can be destroyed after expanding the argument.
14765         (expand_call): Likewise.
14767 2002-03-15  Eric Christopher  <echristo@redhat.com>
14769         * config/mips/mips.md (movdf_internal2): Add two new move constraints.
14770         Fix register preference on last change.
14771         * config/mips/mips.c (mips_return_in_memory): New function.
14772         * config/mips/mips.h (RETURN_IN_MEMORY): Use.
14773         * config/mips/mips-protos.h: Declare.
14774         * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
14775         * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
14777 2002-03-18  Alexandre Oliva  <aoliva@redhat.com>
14779         * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
14780         a register too.
14781         (anddi3, iorsi3): Likewise.
14783         * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
14784         use %gprel for symbols that are going to be placed in linkonce
14785         sections.
14787         * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
14788         RETURN_ADDRESS_POINTER_REGNUM to $ra.
14789         (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
14790         not needed.  Disregard leaf_function_p().
14791         (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
14792         mips16 frame pointer.
14793         * config/mips/mips.md (store ra): Only to small SP offsets.
14794         2001-08-22  Graham Stott  <grahams@redhat.com>
14795         * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
14796         return a REG rtx for the return address register.
14798 2002-03-18  Bob Wilson  <bob.wilson@acm.org>
14800         * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
14801         constant-pool addresses as "mode-dependent".
14802         (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
14804 2002-03-18  Jakub Jelinek  <jakub@redhat.com>
14806         PR target/5740
14807         * expr.c (emit_group_load): Use extract_bit_field if
14808         needed for CONCAT arguments.
14810 2002-03-18  Richard Earnshaw  <rearnsha@arm.com>
14812         PR target/4863
14813         * arm.md (tablejump): Make this a define_expand.  For PIC add the
14814         offset to the base of the table.
14815         (thumb_tablejump): Matcher for Thumb tablejump insn.
14816         * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
14817         as the difference of two labels.
14818         * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
14819         * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
14820         tables in the code.
14821         * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
14822         * arm.c (get_jump_table_size): If the table is not in the text
14823         section, return zero.
14825 2002-03-18  Bernd Schmidt  <bernds@redhat.com>
14827         * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
14828         of gen_rtx_SUBREG.
14829         (arm_reload_out_hi): Use gen_lowpart instead of
14830         gen_rtx_SUBREG to access QImode components.
14831         * config/arm/arm.md: Disable zero_extend split for QImode
14832         subregs in BIG_ENDIAN mode.
14833         (storehi_bigend): Match use of least significant byte.
14834         (storeinthi): Remove extraneous SUBREG.
14835         Add missing construction of operands[2].
14836         (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
14837         (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
14838         Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
14840 2002-03-18  Aldy Hernandez  <aldyh@redhat.com>
14842         * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
14843         any_operand.
14845 2002-03-17  Richard Henderson  <rth@redhat.com>
14847         * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
14848         explicitly.
14850 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
14852         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
14853         (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
14855 2002-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14857         * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
14859         * predict.c (estimate_bb_frequencies): Delete unused variables.
14861 2002-03-17  Richard Henderson  <rth@redhat.com>
14863         * config/ia64/ia64.c (ia64_attribute_table): Move before
14864         targetm definition.  Make static.
14866 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
14868         * c-common.h (yyparse, c_common_parse_file): New.
14869         * c-lang.c: Include c-common.h.
14870         (LANG_HOOKS_PARSE_FILE): Redefine.
14871         * c-lex.c: Include c-common.h.
14872         (yyparse): Rename c_common_parse_file.  Call yyparse.
14873         * c-parse.in (yyparse): Remove macro.
14874         * c-tree.h (yyparse_1): Remove.
14875         * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
14876         (LANG_HOOKS_INITIALIZER): Update.
14877         * langhooks.h (struct lang_hoooks): New hook parse_file.
14878         * toplev.c (compile_file): Use parse_file hook.
14879         * tree.h (yyparse): Remove.
14880         * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
14882 2002-03-17  Hans-Peter Nilsson  <hp@bitrange.com>
14884         * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
14885         float_truncate, not fix.
14886         ("*truncdfsf2_real"): Ditto.
14887         ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
14889         * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
14891 2002-03-16  Alexandre Oliva  <aoliva@redhat.com>
14893         * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
14894         (s8), but rather HARD_FRAME_POINTER_REGNUM.  Add parentheses
14895         where appropriate.  Make the second reference to
14896         leaf_function_p a function call, as intended.  Reindented.
14898         * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
14899         * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
14901         * config/mips/mips.md (addsi3, adddi3): Use scratch register to
14902         add register to non-constant into sp.
14904         * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
14905         * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
14906         (mips16_gp_pseudo_rtx): Lose.
14907         (INIT_EXPANDERS): Deleted.
14908         * config/mips/mips.c (mips_init_machine_status): New.
14909         (mips_free_machine_status): New.
14910         (mips_mark_machine_status): New.
14911         (override_options): Set them.
14912         (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
14913         (struct machine_function): ... new.  Replaced all references.
14914         (mips_add_gc_roots): Don't mark them.
14915         (embedded_pic_fnaddr_reg): New, extracted from...
14916         (embedded_pic_offset): ... here.
14917         * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
14918         (movsi): Likewise.
14920 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
14922         * cppinit.c: Revert -MD removal.
14924 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14926         * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
14927         soft registers by default for 68HC12.
14928         (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
14929         when compiling with -fomit-frame-pointer.
14930         (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
14931         (expand_epilogue): Likewise.
14932         (m68hc11_gen_rotate): Use exg when rotating by 8.
14934 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14936         * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
14937         * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
14938         (splits): Remove unused add splits.
14939         ("*addhi3_68hc12"): Tune constraints.
14940         ("addhi_sp"): Try to use X instead of Y in all cases and if the
14941         constant fits in 8-bits and D is dead use abx/aby instructions.
14942         ("*addhi3"): Remove extern declaration of ix_reg.
14943         ("*subsi3"): Optimize and provide new split.
14944         ("subhi3"): Cleanup.
14945         ("*subhi3_sp"): Avoid saving X if we know it is dead.
14946         (arith splits): For 68hc12 save the address register on the stack
14947         and do the arithmetic operation with a pop.
14949 2002-03-16  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14951         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
14952         allocating QImode in address registers.
14953         ("*movqi_m68hc11"): Likewise.
14955 Sat Mar 16 12:57:28 CET 2002  Jan HUbicka  <jh@suse.cz>
14957         * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
14959 2002-03-16  Neil Booth  <neil@daikokuya.demon.co.uk>
14961         * cppinit.c (print_help): Display -MD and -MMD.
14962         Don't display usage string.  Update assertion syntax and
14963         typo.
14964         (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
14965         (cpp_handle_option): Update.
14967 2002-03-15  Chris Demetriou  <cgd@broadcom.com>
14969         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
14970         MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
14971         and define it so that regardless of target CPU size,
14972         __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
14973         of "int" rather than "long."
14975 2002-03-15  Richard Henderson  <rth@redhat.com>
14977         * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
14978         size as a tree.
14980 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14982         * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
14983         ("tstqi" split): Avoid using memory for tstqi on address register.
14984         (splits): Remove constraints.
14985         ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
14986         ("cmpdf", "cmpsf"): Remove since not used.
14987         ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
14988         (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
14990 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14992         * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
14993         ("neghi2"): Tighten constraints.
14994         ("one_cmplsi2"): Optimize and simplify split.
14995         * config/m68hc11/larith.asm (__negsi2): Likewise for library.
14997 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
14999         * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
15000         and split of AND operation to clear the upper bits.
15001         ("*logicalsi3_zextqi"): Likewise.
15002         ("*logicallhi3_zexthi_ashift8"): Likewise.
15003         ("*logicalsi3_silshr16"): Likewise.
15004         ("logicalsi3_silshl16"): Likewise.
15005         ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
15007 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15009         * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
15010         (m68hc11_indirect_p): New function.
15011         (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
15012         (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
15013         TARGET_M6812.
15014         (asm_print_register): Likewise.
15015         * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
15016         (m68hc11_indirect_p): Declare.
15017         * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
15018         (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
15019         (TARGET_SWITCHES): New option -mrelax.
15020         * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
15021         destination.
15022         ("iorsi3", "xorsi3"): Likewise.
15023         ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
15024         ("*andhi3_mem"): New to handle destination in memory with bclr
15025         and a scratch register.
15026         ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
15027         ("*andhi3_const"): New when operand2 is constant.
15028         ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
15029         ("*andhi3_gen"): Cleanup of the old "andhi3".
15030         ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
15031         ("xorqi3"): Update constraints.
15033 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15035         * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
15036         for reg_equiv_memory_loc when the operand is a register that does
15037         not get a hard register (stack location).
15038         (tst_operand): After reload, accept all memory operand.
15039         (symbolic_memory_operand): Fix detection of symbolic references.
15040         * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
15041         accept symbols and any constant.
15043 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15045         * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
15046         note on the insn that sets the soft frame register.
15047         (must_parenthesize): ix and iy are also reserved names.
15048         (print_operand_address): One more place where parenthesis are required
15049         to avoid confusion with register names.
15050         (m68hc11_gen_movhi): Allow push of stack pointer.
15051         (m68hc11_check_z_replacement): Fix handling of parallel with a
15052         clobber.
15053         (m68hc11_z_replacement): Must update the REG_INC notes to tell what
15054         the replacement register is.
15055         * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
15056         and D8_REGS classes.
15057         (MODES_TIEABLE_P): All modes are tieable except QImode.
15059 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15061         * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
15062         (___subdi3): Likewise.
15063         (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
15064         (__map_data_section): Optimize 68hc11 case.
15066 2002-03-15  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
15068         * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
15069         than a shift to avoid adding a register with itself.
15070         (m68hc11_memory_move_cost): Take into account NO_REGS.
15071         (m68hc11_register_move_cost): Update and use memory move cost
15072         for soft registers.
15073         (m68hc11_address_cost): Make cost of valid offset not 0 so that
15074         it gives more opportunities to cse to optimize.
15075         * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
15076         * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
15078 2002-03-15  Mark Mitchell  <mark@codesourcery.com>
15080         * c-common.c (statement_code_p): Handle CLEANUP_STMT.
15081         * c-common.def (CLEANUP_STMT): New tree node.
15082         * c-common.h (CLEANUP_DECL): New macro.
15083         (CLEANUP_EXPR): Likewise.
15084         * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
15085         * expr.c (expand_expr): Tidy.
15086         * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
15087         * tree-inline.c (initialize_inlined_parameters): Clean up
15088         new local variables.
15090 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
15092         PR bootstrap/4128
15093         * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
15094         before movrXX only, use reg_overlap_mentioned_p.
15095         Only special case NE if just one insn can be generated.
15097 2002-03-15  Jason Merrill  <jason@redhat.com>
15099         * varasm.c (assemble_variable): Call resolve_unique_section before
15100         checking DECL_SECTION_NAME.  Use zeros for a decl with DECL_INITIAL
15101         of error_mark_node.
15103 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
15105         PR target/5170
15106         * arm.md (split pattern for thumb shiftable immediates): Add comment
15107         explaining non-obvious test.
15109 2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
15111         PR target/5712
15112         * arm.md (movaddr, movaddr_insn): Delete.
15114 2002-03-15  Jason Merrill  <jason@redhat.com>
15116         * toplev.c (wrapup_global_declarations): Clarify variable handling.
15117         -fkeep-static-consts doesn't apply to comdats.
15119 2002-03-14  Richard Henderson  <rth@redhat.com>
15121         * c-decl.c: Include c-pragma.h.
15122         (start_decl, start_function): Invoke maybe_apply_pragma_weak.
15123         (finish_function): Tidy.
15124         * c-pragma.c: Include c-common.h.
15125         (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
15126         (handle_pragma_weak): Use them.
15127         (init_pragma): Register pending_weaks.
15128         * c-pragma.h (maybe_apply_pragma_weak): Declare.
15129         * print-tree.c (print_node): Print DECL_WEAK.
15130         * varasm.c (mark_weak_decls): Remove.
15131         (remove_from_pending_weak_list): Remove.
15132         (add_weak): Remove.
15133         (asm_emit_uninitialised): Call globalize_decl for weak commons.
15134         (weak_decls): Make a tree_list.
15135         (declare_weak): Cons weak_decls directly.
15136         (globalize_decl): Remove weak_decls elements directly.
15137         (weak_finish): Simplify weak_decls walk.  Don't weaken unused
15138         symbols.  Don't pretend to handle aliases.
15139         (init_varasm_once): Update weak_decls registry.
15140         * Makefile.in: Update dependencies.
15142 2002-03-14  Richard Henderson  <rth@redhat.com>
15144         PR target/5312
15145         * config/ia64/ia64.c: Include tm_p.h last.
15146         (gen_nop_type): Remove duplicate definition.
15147         (cycle_end_fill_slots): Set sched_data for second L slot.
15148         (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
15149         (nop_cycles_until): Fix typos.
15151 2002-03-15  Jakub Jelinek  <jakub@redhat.com>
15153         PR optimization/5891
15154         * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
15156 2002-03-14  David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
15158         * config/ia64/unwind-ia64.c: Handle copy_state and label_state
15159           descriptors correctly.
15161 2002-03-14  Michael Meissner  <meissner@redhat.com>
15163         * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
15164         100, allowing MAX_UNROLLED_INSNS to be overridden.
15166         * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
15167         --param.
15169         * unroll.c (params.h): Include.
15170         (MAX_UNROLLED_INSNS): Delete, now in params.h.
15172         * doc/invoke.texi (--param max-unroll-insns): Document.
15174         * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
15176 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
15178         * arm.md: Fix warnings about constraints in peepholes and splits.
15180 2002-03-14  Zack Weinberg  <zack@codesourcery.com>
15182         * cpphash.h (struct lexer_state): Remove line_extension member.
15183         * cpplib.c (dequote_string, do_linemarker): New functions.
15184         (linemarker_dir): New data object.
15185         (DIRECTIVE_TABLE): No longer need to interpret #line in
15186         preprocessed source.  Delete obsolete comment about return
15187         values of handlers.
15188         (end_directive, directive_diagnostics, _cpp_handle_directive):
15189         Don't muck with line_extension.
15190         (directive_diagnostics): No need to issue warnings for
15191         linemarkers here.
15192         (_cpp_handle_directive): Issue warnings for linemarkers here,
15193         when appropriate.  Dispatch linemarkers to do_linemarker, not
15194         do_line.
15195         (do_line): Code to handle linemarkers split out to do_linemarker.
15196         Convert escape sequences in filename argument, both places.
15198         * cppmacro.c (quote_string): Rename cpp_quote_string and
15199         export.  All callers changed.
15200         * cpplib.h (cpp_quote_string): Prototype.
15201         * cppmain.c (print_line): Call cpp_quote_string on to_file
15202         before printing it.
15204         * doc/cpp.texi: Document that escapes are now interpreted in
15205         #line and in linemarkers, and that non-printing characters are
15206         converted to octal escapes when linemarkers are generated.
15208 Thu Mar 14 19:04:29 CET 2002  Jan Hubicka  <jh@suse.cz>
15210         * emit-rtl.c (try_split): Use delete_insns.
15211         * recog.c (split_all_insns): Fix terminating condition.
15213 2002-03-14  Richard Earnshaw  <rearnsha@arm.com>
15214             Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
15216         PR target/5828
15217         * arm.c (arm_output_epilogue): Fix floating-point register save
15218         adjustment when using a frame pointer.
15220 2002-03-14  Richard Sandiford  <rsandifo@redhat.com>
15222         * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
15223         * config/mips/mips.c (compute_frame_size): Retrofit them here.
15224         (save_restore_insns, mips_expand_epilogue): And here.
15225         (build_mips16_call_stub): And here.
15226         (mips_function_value): Use the new macros to decide whether a single
15227         or complex float can be returned in floating-point registers.  Return
15228         a parallel rtx in the complex case.
15230 Thu Mar 14 11:03:12 CET 2002  Jan Hubicka  <jh@suse.cz>
15232         * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
15233         call after liveness analysis.
15235         * recog.c (split_insn): Use delete_insn_and_edges.
15237         * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
15238         instructions to have branch prediction notes.
15239         * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
15241 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
15243         * configure.in: Don't pass -Wno-long-long to a ADA compiler
15244         that doesn't support it.
15245         * configure: Regenerate.
15247 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
15249         PR target/5626
15250         * config/sparc/sparc.md (normal_branch, inverted_branch,
15251         normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
15252         inverted_fp_branch): Adjust calls to output_cbranch.
15253         Set length attribute.
15254         (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
15255         output_v9branch.  Set length attribute.
15256         * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
15257         predicates.
15258         (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
15259         (output_cbranch): Likewise.  Handle far branches.
15260         (output_v9branch): Handle far branches.
15261         * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
15262         Adjust prototypes.
15263         * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
15264         noov_compare64_op predicates.
15266 2002-03-13  Jason Merrill  <jason@redhat.com>
15268         * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
15269         into the function and constify it.
15270         * gthr-dce.h, gthr-solaris.h: Likewise.
15272 2002-03-13  David Edelsohn  <edelsohn@gnu.org>
15274         * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
15275         * config/rs6000/rs6000.c (rs6000_va_arg): Use
15276         std_expand_builtin_va_arg if not ABI_V4.
15278 2002-03-13  Jason Merrill  <jason@redhat.com>
15280         * varasm.c (globalize_decl): New fn.
15281         (assemble_start_function): Use it.
15282         (asm_emit_uninitialized): Use it.
15283         (assemble_alias): Use it.
15284         (assemble_variable): Use it.
15286 2002-03-13  Hans-Peter Nilsson  <hp@axis.com>
15288         * config/cris/cris.c (cris_target_asm_function_prologue): Revert
15289         2002-03-12 internal visibility change.
15290         (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
15291         visibility into SYMBOL_REF_FLAG.
15293 2002-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
15295         * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
15296         VOIDmode operand.  Add compile-time optimization for constant results.
15298 2002-03-12  Jason Merrill  <jason@redhat.com>
15300         * c-typeck.c (convert_for_assignment): Don't allow conversions
15301         between pointers and references.  Only allow lvalues to convert to
15302         reference.
15304 2002-03-13  Hartmut Penner  <hpenner@de.ibm.com>
15306         * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
15307         before prologue, to avoid scheduling problems.
15309 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
15311         * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
15312         (ELIMINABLE_REGS): Add sfp->sp.
15313         (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
15315 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
15317         PR optimization/5892
15318         * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
15320 2002-03-13  Jakub Jelinek  <jakub@redhat.com>
15322         * loop.c (basic_induction_var): Don't call convert_modes if mode
15323         classes are different.
15325 2002-03-12  Richard Henderson  <rth@redhat.com>
15327         PR optimization/5901
15328         * function.c (reposition_prologue_and_epilogue_notes): Position
15329         the markers after/before the last/first insn not deleted.
15331 2002-03-12  Richard Henderson  <rth@redhat.com>
15333         PR optimization/5878
15334         * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
15335         config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
15336         (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
15338         * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
15339         config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
15340         PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
15342         * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
15343         * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
15344         (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
15345         also.  Don't set it if not flag_pic.
15346         * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
15347         to be INVALID_REGNUM when not used.
15349 2002-03-13  Aldy Hernandez  <aldyh@redhat.com>
15351         * expmed.c (store_bit_field): Reset alias set for memory.
15352         (extract_bit_field): Same.
15354 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15356         * c-common.c (c_tree_code_type, c_tree_code_length,
15357         c_tree_code_name, add_c_tree_codes): Delete.
15358         * c-common.h (add_c_tree_codes): Delete.
15359         * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
15360         Define.
15361         * c-objc-common.c (c_objc_common_init): Don't call
15362         add_c_tree_codes, instead set lang_unsafe_for_reeval.
15363         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
15364         objc_tree_code_name, add_objc_tree_codes): Delete.
15365         (objc_init): Don't call add_objc_tree_codes.
15366         * objc/objc-lang.c (tree_code_type, tree_code_length,
15367         tree_code_name): Define.
15368         * toplev.c (lang_independent_init): Don't set
15369         tree_code_length[IDENTIFIER_NODE].
15370         * tree.c (tree_code_type, tree_code_length, tree_code_name):
15371         Delete definitions, moved to language front-ends.
15372         * tree.def (IDENTIFIER_NODE): Hardwire the length.
15373         * tree.h (tree_code_type, tree_code_length, tree_code_name):
15374         Const-ify.
15375         (tree_code_length): Change type to unsigned char.
15377 2002-03-12  Richard Henderson  <rth@redhat.com>
15379         * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
15380         internal visibility change.
15382 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
15384         * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
15385         validize_mem() instead of change_address to avoid clobbering
15386         memory attributes.
15388 2002-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
15390         * c-lex.h (position_after_whitespace): Remove.
15392 2002-03-12  Jakub Jelinek  <jakub@redhat.com>
15394         * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
15395         (lex_string): Use unsigned char pointers.
15397 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
15399         * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
15400         is not a valid memory_operand.
15402 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
15404         * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
15405         * config/xtensa/lib1funcs.asm: Fix copyright to include
15406         special case for libgcc files.
15407         (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
15408         (__divsi3): Likewise.
15409         (__umodsi3): Likewise.
15410         (__modsi3): Likewise.
15411         * config/xtensa/lib2funcs.S: Fix copyright to include
15412         special case for libgcc files.
15414 2002-03-12  Tom Rix  <trix@redhat.com>
15416         * collect2.c (resolve_lib_name): Move outside of
15417         OBJECT_FORMAT_COFF ifdef.
15418         (ignore_library): Same.
15420 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
15422         * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
15424 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
15426         * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
15427         to function_section before writing out the constant pool.
15429 2002-03-12  David Edelsohn  <edelsohn@gnu.org>
15431         * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
15432         zero_constant.
15433         * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
15435 2002-03-12  Alan Modra  <amodra@bigpond.net.au>
15437         * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
15438         (adddi3): Likewise.
15439         (movdf): Likewise.
15440         (movdi): Likewise.
15441         (cmpsi splitter): Likewise.
15442         (modsi3): Fail if <= 0.
15443         * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
15444         redundant test when HOST_BITS_PER_WIDE_INT != 32.
15445         (reg_or_sub_cint64_operand): Likewise.
15446         (num_insns_constant_wide): Optimize sign extension.
15447         (rs6000_legitimize_address): Likewise.
15449 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
15451         * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15452         * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15454 2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
15456         * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
15457         address calculation.
15459 2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
15461         * config/s390/s390.md (reload_insi, reload_indi): Change mode of
15462         scratch register to DImode / TImode.
15463         config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
15464         register used does not overlap the target.
15466 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15468         * Makefile.in (debug.o): Depend on debug.h.
15469         * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
15470         * debug.c (do_nothing_debug_hooks): Likewise.
15471         * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
15472         sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
15473         dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
15474         * dwarf2out.c (dwarf2_debug_hooks): Likewise.
15475         * dwarfout.c (dwarf_debug_hooks): Likewise.
15476         * integrate.c (output_inline_function): Likewise.
15477         * objc/objc-act.c (synth_module_prologue): Likewise.
15478         * sdbout.c (sdb_debug_hooks): Likewise.
15479         * toplev.c (debug_hooks): Likewise.
15480         * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
15482 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15484         * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
15485         dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
15486         m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
15487         ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
15488         v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
15489         * defaults.h (POINTER_SIZE): Define.
15490         * doc/tm.texi (POINTER_SIZE): Document default.
15492 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15494         * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
15496 2002-03-11  Richard Henderson  <rth@redhat.com>
15498         * toplev.c (rest_of_compilation): Call purge_all_dead_edges
15499         if rebuild_label_notes_after_reload.
15501 2002-03-12  Hans-Peter Nilsson  <hp@axis.com>
15503         * config/cris/cris.c (cris_target_asm_function_prologue):  Do not
15504         emit pic register load if "internal" visibility.
15505         (cris_print_operand): Avoid traditional-warning for 0xffffffff.
15506         (cris_expand_builtin_va_arg): Do all computations on trees.
15508 2002-03-11  Richard Henderson  <rth@redhat.com>
15510         * rtlanal.c: Include recog.h.
15511         (keep_with_call_p): Fix thinko.
15512         * Makefile.in (rtlanal.o): Update dependencies.
15514 2002-03-11  Chris Meyer  <cmeyer@gatan.com>
15516         * genflags.c (gen_insn): Use IS_VSPACE.
15517         * genoutput.c (output_insn_data): Likewise.
15518         (process_template): Likewise.
15520 2002-03-11  Richard Henderson  <rth@redhat.com>
15522         * toplev.c (rest_of_compilation): Don't compile if we've had errors.
15524 2002-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
15526         * Makefile.in: Update.
15527         * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
15528         Update documentation.
15529         * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
15530         * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
15532 2002-03-11  Zack Weinberg  <zack@codesourcery.com>
15534         * Makefile.in: Give texi2pod its input file as a command line
15535         argument, not on stdin.
15537 2002-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
15538             Daniel Berlin  <dan@dberlin.org>
15540         C++ alias analysis improvement.
15541         * alias.c (record_component_aliases): Record aliases for base
15542         classes too.
15544 2002-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
15546         * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
15548 2002-03-11  Douglas B Rupp  <rupp@gnat.com>
15550         * toplev.c (vms_fopen): Remove, not needed.
15552         * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
15554         * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
15556         * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
15557         for FP, already done later.
15559         * toplev.c (debug_args): Add entry for VMS_DEBUG.
15560         * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
15562 2002-03-11  Richard Sandiford  <rsandifo@redhat.com>
15564         * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
15565         (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
15566         LARGEST_EXPONENT_IS_NORMAL for the given mode.
15567         (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
15568         * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
15569         (ediv, emul, eldexp, esqrt): Likewise.
15570         (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
15571         (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
15572         (saturate): New function.
15573         (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
15574         (make_nan): Use a saturation value instead of a NaN if
15575         LARGEST_EXPONENT_IS_NORMAL.  Warn when this happens.
15576         * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
15577         inputs if LARGEST_EXPONENT_IS_NORMAL.  Represent subnormals as
15578         zero if NO_DENORMALS.  Only round to nearest if !ROUND_TOWARDS_ZERO.
15579         (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
15580         (_fpmul_parts, _fpdiv_parts): Only round to nearest if
15581         !ROUND_TOWARDS_ZERO.
15582         * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
15583         (ROUND_TOWARDS_ZERO): Document.
15585 2002-03-11  Andreas Jaeger  <aj@suse.de>
15587         * cfg.c (dump_flow_info): Remove unused variable.
15589 2002-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
15591         * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
15592         computations on trees.
15594 2002-03-10  Richard Henderson  <rth@redhat.com>
15596         PR 5693:
15597         * reload.c (copy_replacements_1): New.
15598         (copy_replacements): Use it to recurse through the rtx.
15600 2002-03-10  Richard Henderson  <rth@redhat.com>
15602         * loop.c (strength_reduce): Compute number of iterations as
15603         unsigned HOST_WIDE_INT.
15605 2002-03-10  Richard Henderson  <rth@redhat.com>
15607         * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
15608         to move away from the end of the block.
15610 2002-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
15612         PR preprocessor/5899
15613         * cppinit.c (init_dependency_output): Don't ignore -dM etc.
15615 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15617         * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
15619         * attribs.c (decl_attributes): Fix signed/unsigned warning.
15621 2002-03-10  Hans-Peter Nilsson  <hp@bitrange.com>
15623         * config/mmix/mmix.c: Improve comments.
15624         (mmix_target_asm_function_prologue): Drop variable
15625         empty_stack_frame.  Don't allocate unused slot above fp.
15626         (mmix_target_asm_function_epilogue): Mirror prologue changes.
15627         * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
15628         brace in first column.
15629         (enum reg_class): Ditto.
15630         (FIRST_PARM_OFFSET): Now 0.
15631         (USER_LABEL_PREFIX): Remove #if 0:d definition.
15633 2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15635         * combine.c (make_extraction): Fix error in last change.
15637 2002-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15639         * c4x.c (c4x_fp_reglist): Const-ify.
15640         * cris.c (cris_print_operand): Likewise.
15641         * i386.c (ix86_va_arg): Likewise.
15642         * ia64/unwind-ia64.c (unw_decode_table): Likewise.
15643         * m32r.c (m32r_hard_regno_mode_ok): Likewise.
15644         * m32r.h (m32r_hard_regno_mode_ok): Likewise.
15645         * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
15646         * mcore.h (regno_reg_class): Likewise.
15647         * mips.c (gen_int_relational): Likewise.
15648         * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
15649         * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
15650         * pdp11.c (move_costs): Likewise.
15651         * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
15652         * s390.c (s390_branch_condition_mnemonic, regclass_map):
15653         Likewise.
15654         * s390.h (regclass_map): Likewise.
15655         * sh.c (shift_amounts): Likewise.
15656         * sh.md (rotlsi3): Likewise.
15658 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
15660         * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
15661         (ne0+5): Use new clobber to generate proper shift pattern.
15662         Patch by Michael Matz <matz@kde.org>.
15664 2002-03-09  Andreas Schwab  <schwab@suse.de>
15666         * gcc.c (validate_all_switches): Also handle `%W{...}'.
15668 2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
15670         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
15672 2002-03-09  Jakub Jelinek  <jakub@redhat.com>
15674         PR middle-end/5877
15675         * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
15676         even for non-representable constants.
15678 Sat Mar  9 07:20:01 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15680         * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
15681         * function.c (fixup_var_refs): Add MAY_SHARE parameter.
15682         (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
15683         (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
15684         (pop_function_context): Compute MAY_SHARE parameter for
15685         fixup_var_refs.
15686         (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
15687         (gen_mem_addressof): Call fixup_var_refs with new parm.
15689         * combine.c (make_extraction): Don't make extension of CONST_INT.
15691 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
15693         * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
15694         in o32 and o64 ABIs.
15695         * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
15696         but getting fixed-size structs passed in registers regardless of
15697         padding in o32 and o64 ABIs.
15699         * config/mips/mips.c (mips_va_arg): Apply big-endianness address
15700         offset before loading address of argument passed by transparent
15701         reference.
15703 2002-03-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15705         * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
15707 2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
15709         * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
15710         marker such that registers after it are saved.
15712 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15714         * sparc.c (arith_4096_operand): Fix error in last change.
15716 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
15718         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
15719         defaults for MEABI.
15721 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
15723         * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
15724         vectors.
15726 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
15728         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
15730 Fri Mar  8 21:27:49 CET 2002  Jan Hubicka  <jh@suse.cz>
15732         * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
15733         removed; fix return value.
15734         * combine.c (combine_instructions): Dirtify blocks where we failed to
15735         update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
15736         * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
15738 2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15740         * gcse.c (insert_insn_end_bb): Fix typo in last change.
15742 Fri Mar  8 21:08:52 CET 2002  Jan Hubicka  <jh@suse.cz>
15744         * recog.c (peephole2_optimize): Re-distribute EH edges.
15746 2002-03-08  Neil Booth  <neil@daikokuya.demon.co.uk>
15748         * expr.c (expand_expr): Use unsave lang hook.
15749         * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
15750         (LANG_HOOKS_INITIALIZER): Update.
15751         * langhooks.h (struct lang_hooks): New hook unsave.
15752         * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
15753         (unsave_expr_1): Remove unused lang_unsave_expr_now.
15754         (unsave_expr_now_r): Rename lhd_unsave.  Update. Return input.
15755         (unsave_expr_now): Remove.
15756         * tree.h (unsave_expr_now, lang_unsave,
15757         lang_unsave_expr_now): Remove.
15758         (lhd_unsave): New.
15760 2002-03-08  Andreas Jaeger  <aj@suse.de>
15762         * flow.c (propagate_block_delete_insn): Remove unused variable.
15764 2002-03-08  Kazu Hirata  <kazu@hxi.com>
15766         * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
15767         insn length for memory load/store.
15769 2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>
15771         * doc/install.texi (--with-libiconv-prefix): Document.
15773 2002-03-08  Michael Y. Brukman  <myb2@cornell.edu>
15775         * doc/sourcebuild.texi: Fix typo.
15777 2002-03-08  Jakub Jelinek  <jakub@redhat.com>
15779         PR c/3711
15780         * builtins.c (std_expand_builtin_va_arg): Do all computations on
15781         trees.
15783 Fri Mar  8 06:48:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15785         * rtl.c (copy_most_rtx): Move from here ...
15786         * emit-rtl.c (copy_most_rtx): ... to here.
15788 2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
15790         * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
15791         SUBTARGET_CPP_SIZE_SPEC.
15792         * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
15794         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
15796 2002-03-07  Matt Hiller  <hiller@redhat.com>
15798         * gensupport.c (first_dir_md_include): Renamed from include;
15799         change all references.
15800         (last_dir_md_include): Renamed from last_include; change all
15801         references.
15802         (init_md_reader): Unconditionally initialize base_dir whether or
15803         not filename is a relative path.
15805 2002-03-07  Alexandre Oliva  <aoliva@redhat.com>
15807         * config/fp-bit.c (_unord_f2): Compile it in even if
15808         US_SOFTWARE_GOFAST is enabled.
15810         * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
15811         NULL_RTX.  Set all HFmode operations as NULL_RTX.
15812         * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
15813         NULL_RTX, try reversing the comparison and the operands.
15815 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
15817         * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
15818         genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
15819         and MATCH_OP_DUP.
15821 Thu Mar  7 16:54:10 CET 2002  Jan Hubicka  <jh@suse.cz>
15823         * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
15825 Thu Mar  7 16:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
15827         * basic-block.h (fixup_abnormal_edges): Declare.
15828         * reload1.c (fixup_abnormal_edges): New function.
15829         * reg-stack.c (convert_regs): Use it.
15831         * gcse.c (insert_insn_end_bb): Handle trapping insns.
15833         * gcse.c (hash_scan_set): Refuse instructions with EH edges.
15835 2002-03-07  Richard Sandiford  <rsandifo@redhat.com>
15837         * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
15838         (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
15839         * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
15840         (HONOR_SIGN_DEPENDENT_ROUNDING): New.
15841         * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
15842         * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
15843         unless x and y could be infinite.
15844         (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
15845         Check that the common type of both arguments is a real, even for
15846         targets without unordered comparisons.  Allow an integer argument
15847         to be compared against a real.
15848         (expand_tree_builtin): Use expand_unordered_cmp.
15849         * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
15850         * cse.c (fold_rtx): Likewise.  Fix indentation.
15851         * fold-const.c (fold_real_zero_addition_p): New.
15852         (fold): Use it, and the new HONOR_... macros.
15853         * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
15854         * jump.c (reversed_comparison_code_parts): After searching for
15855         the true comparison mode, use HONOR_NANS to decide whether it
15856         can be safely reversed.
15857         (reverse_condition_maybe_unordered): Remove IEEE check.
15858         * simplify-rtx.c (simplify_binary_operation): Use the new macros
15859         to decide which simplifications are valid.  Allow the following
15860         simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
15861         and (a - -b) to (a + b).
15862         (simplify_relational_operation): Use HONOR_NANS.
15863         * doc/tm.texi: Document the MODE_HAS_... macros.
15865 2002-03-07  Richard Earnshaw  <rearnsha@arm.com>
15867         * combine.c (simplify_comparison): If simplifying a logical shift
15868         right and compare with constant, force the comparison to unsigned.
15870 2002-03-07  Aldy Hernandez  <aldyh@redhat.com>
15872         * doc/invoke.texi: Add documentation for -mabi=no-altivec.
15874         * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
15875         -mabi=no-altivec
15876         (alt_reg_names): Remove % for vrsave.
15878 2002-03-06  Richard Henderson  <rth@redhat.com>
15880         PR optimization/5844
15881         * genemit.c (gen_exp): New argument used.  Invoke copy_rtx
15882         if used indicates we've already emitted one copy of an operand.
15883         (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
15884         (gen_split): Supply a non-null used.
15886 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
15888         * reload1.c (reload): Unshare all rtl after reload is done.
15890         * simplify-rtx.c (simplify_plus_minus): Do not abort,
15891         but simply fail if the expression is too complex to simplify.
15892         (simplify_gen_binary): Handle simplify_plus_minus failures.
15894 Wed Mar  6 20:32:09 CET 2002  Jan Hubicka  <jh@suse.cz>
15896         * toplev.c (rest_of_compilation): Do jump threading before SSA path;
15897         consistently call delete_trivially_dead_insns after CSE and GCSE;
15898         fix DFI_life dumping; do jump threading after liveness; do crossjumping
15899         after liveness2; update comment in last crossjumping.
15900         * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
15902 Wed Mar  6 12:27:10 2002  Jeffrey A Law  (law@redhat.com)
15904         * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
15905         after completing fast dead code elimination.
15907         * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
15908         COMPARE operator.
15910 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
15912         * version.c:  Fix misplaced leading blanks on first line.
15914 Wed Mar  6 19:08:03 CET 2002  Jan Hubicka  <jh@suse.cz>
15916         * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
15918 Wed Mar  6 18:14:43 CET 2002  Jan Hubicka  <jh@suse.cz>
15920         * cfgcleanup.c (mentions_nonequal_regs): New function.
15921         (thread_jump): Use it.
15922         * toplev.c (rest_of_compilation): Run jump threading after
15923         liveness.
15925 2002-03-06  Jakub Jelinek  <jakub@redhat.com>
15927         * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
15928         patch.
15930 Wed Mar  6 11:28:19 CET 2002  Jan Hubicka  <jh@suse.cz>
15932         * predict.c (estimate_bb_frequencies): Do not reload the
15933         frequencies from notes.
15935 Wed Mar  6 10:59:39 CET 2002  Jan Hubicka  <jh@suse.cz>
15937         * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
15938         * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
15940         * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
15941         delete_noop_moves): Return indeger.
15942         * flow.c (ndead): New variable.
15943         (propagate_block_delete_insn): Use delete_insn_and_edges; remove
15944         BB argument; update callers.
15945         (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
15946         (life_analysis): Do not call purge_all_dead_edges.
15947         (update_life_info): Return number of deleted insns; print statistics.
15948         (update_life_info_in_dirty_blocks): likewise.
15949         (delete_noop_moves): Use delete_insn_and_edges; print statistics;
15950         return number of insns deleted.
15952         * cse.c: Include timevar.h
15953         (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
15954         iterate until stabilizes; print statistics; return number of killed
15955         insns.
15956         * Makefile.in: (cse.o): Add timevar.h dependency
15957         * rtl.h (delete_trivially_dead_insns): New.
15958         * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
15959         * toplev.c (rest_of_compilation): Update callers.
15961         * cfgcleanup.c (try_optimize_cfg): Kill blocks.
15962         (try_optimize_cfg): Do not update liveness.
15963         (cleanup-cfg): Loop until try_optimize_cfg and dead code
15964         removal stabilizes; use delete_trivially_dead_insns.
15966         * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
15968 2002-03-05  Zack Weinberg  <zack@codesourcery.com>
15970         * cppmain.c (setup_callbacks): Disable #pragma and #ident
15971         callbacks when processing assembly language.
15973 2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15975         * pa.h (ASM_FILE_END): Define.
15976         * som.h (ASM_FILE_END): Delete.
15978         * pa.c (function_arg): Don't pass floats in general registers in
15979         indirect calls if TARGET_ELF32.
15981 2002-03-05  Richard Henderson  <rth@redhat.com>
15983         * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
15985 2002-03-05  Danny Smith  <dannysmith@users.sourceforge.net>
15987         * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
15989 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
15991         * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
15992         -r command line.  Don't hide any symbols if not building
15993         shared libgcc.
15995 Tue Mar  5 18:31:27 CET 2002  Jan Hubicka  <jh@suse.cz>
15997         * cfg.c (dump_flow_info): Warn about profile mismatches.
15998         * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
15999         (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
16001 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
16003         * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
16004         wide volatile memory by parts.
16006 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
16008         * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
16009         is NULL.
16011 2002-03-05  Richard Henderson  <rth@redhat.com>
16013         * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
16015 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
16017         * toplev.c (documented_lang_options): Document more
16018         language-specific options.
16019         * doc/invoke.texi (Warning Options): Correct documentation for
16020         -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
16021         * c-decl.c (c_decode_option): Use a table to handle warning options.
16023 2002-03-05  Hans-Peter Nilsson  <hp@bitrange.com>
16025         * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
16026         parameter to mmix_encode_section_info.
16027         (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
16028         relocatably.  Always produce ELF, not mmo if linking relocatably.
16029         * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
16030         first is non-zero, don't add symbol prefix.
16031         * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
16032         prototype accordingly.
16034 2002-03-04  Krister Walfridsson  <cato@df.lth.se>
16036         * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
16038 2002-03-05  Joseph S. Myers  <jsm28@cam.ac.uk>
16040         * configure.in: Increase required makeinfo version to 4.1.
16041         * configure: Regenerate.
16043 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
16045         * .cvsignore: Remove *.info* and genrtl*; these files are generated
16046         elsewhere now.
16048 2002-03-04  Joseph S. Myers  <jsm28@cam.ac.uk>
16050         * doc/include/texinfo.tex: Update to version 2002-03-01.06.
16051         * doc/invoke.texi: Fix @math uses.
16053 Mon Mar  4 15:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
16055         * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
16056         removal
16058 2002-03-03  Aldy Hernandez  <aldyh@redhat.com>
16060         * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
16061         (powerpc-*-eabisimaltivec*): Same.
16063         * config/rs6000/t-ppcendian: New.
16065 2002-03-04  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16067         * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
16068         nonimmediate_src_operand and nonimmediate_lsrc_operand to
16069         disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
16071 2002-03-03  Richard Henderson  <rth@redhat.com>
16073         * toplev.c (rest_of_decl_compilation): Revert last two changes.
16075 2002-03-03  Zack Weinberg  <zack@codesourcery.com>
16077         * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
16078         print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
16079         tree.c, config/m68k/m68k.c:
16080         Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
16081         REAL_ARITHMETIC blocks unconditional.  Delete some further
16082         #ifdef blocks predicated on REAL_ARITHMETIC.
16083         * flags.h, toplev.c: Delete remaining references to
16084         flag_pretend_float.
16086         * doc/invoke.texi: Remove documentation of -fpretend-float.
16087         * doc/tm.texi: Describe the various REAL_* macros as provided by
16088         real.h, not by the target configuration files.
16090         * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
16091         config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
16092         config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
16093         config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
16094         config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
16095         config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
16096         config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
16097         config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
16098         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
16099         config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
16100         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
16101         config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
16102         config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
16103         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
16104         config/xtensa/xtensa.h:
16105         Do not define, undefine, or mention in comments any of
16106         REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
16107         REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
16108         REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
16109         REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
16110         REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
16111         REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
16112         REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
16113         REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
16114         REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
16116 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16118         * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
16119         convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
16120         i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
16121         m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
16122         pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
16123         stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
16124         Delete.
16125         * defaults.h (BITS_PER_WORD): Define.
16126         * doc/tm.texi (BITS_PER_WORD): Document default value.
16128         * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
16129         m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
16130         stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
16132 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16134         * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
16135         lieu of explicit sizeof/sizeof.
16136         * i386.c (override_options, ix86_init_mmx_sse_builtins,
16137         ix86_expand_builtin): Likewise.
16138         * mips.c (mips_add_gc_roots): Likewise.
16139         * mmix.c (mmix_output_condition): Likewise.
16140         * rs6000.c (rs6000_override_options, altivec_expand_builtin,
16141         altivec_init_builtins): Likewise.
16142         * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
16143         * cppexp.c (Nsuff, parse_number): Likewise.
16144         * cppinit.c (builtin_array_end): Likewise.
16145         * gcc.c (n_default_compilers, process_command): Likewise.
16146         * genpreds.c (output_predicate_decls): Likewise.
16147         * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
16148         * lcm.c (N_ENTITIES): Likewise.
16149         * stor-layout.c (set_sizetype): Likewise.
16151 2002-03-03  Richard Henderson  <rth@redhat.com>
16153         * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
16154         for types or labels.
16156 2002-03-03  Richard Henderson  <rth@redhat.com>
16158         * c-decl.c (start_decl): Initialized variables are not common.
16160 2002-03-02  Per Bothner  <per@bothner.com>
16162         * gcc.c (option_map):  Suport new --bootclasspath option.
16163         --CLASSPATH is now just an alias for --classpath.
16165 2002-03-02  Richard Henderson  <rth@redhat.com>
16167         * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
16168         load if "internal" visibility.
16169         * doc/extend.texi: Document visibility meanings.
16171 2002-03-02  Richard Henderson  <rth@redhat.com>
16173         * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
16174         to functions as well.
16176 2002-03-02  Richard Henderson  <rth@redhat.com>
16178         * attribs.c (handle_alias_attribute): Don't call assemble_alias.
16179         (handle_visibility_attribute): Don't call assemble_visibility.
16180         * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
16181         without asmspec.  Invoke assemble_alias when needed.
16182         * varasm.c (maybe_assemble_visibility): New.
16183         (assemble_start_function, assemble_variable, assemble_alias): Use it.
16185 2002-03-02  Richard Henderson  <rth@redhat.com>
16187         * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
16188         invoke ENCODE_SECTION_INFO with first call flag.
16190         * config/darwin-protos.h, config/darwin.c, config/darwin.h,
16191         config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
16192         config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
16193         config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
16194         config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
16195         config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
16196         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
16197         config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
16198         config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
16199         config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
16200         config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
16201         config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
16202         config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
16203         config/m68hc11/m68hc11.h, config/m88k/m88k.h,
16204         config/mcore/mcore-protos.h, config/mcore/mcore.c,
16205         config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
16206         config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
16207         config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
16208         config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
16209         config/sh/sh.h, config/sparc/sparc.h,
16210         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
16211         config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
16212         config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
16213         FIRST argument.  As needed, examine it and do nothing.
16215         * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
16216         config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
16217         config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
16219         * config/arm/t-pe (pe.o): Add dependencies.
16221 2002-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16223         * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
16224         cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
16225         i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
16226         mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
16227         pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
16228         vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
16229         * defaults.h (BITS_PER_UNIT): Define.
16230         * doc/tm.texi (BITS_PER_UNIT): Document default value.
16232 2002-03-02  Kazu Hirata  <kazu@hxi.com>
16234         * config/h8300/h8300-protos.h: Add a prototype for
16235         compute_a_shift_length.
16236         * config/h8300/h8300.c (h8300_asm_insn_count): New.
16237         (compute_a_shift_length): Likewise.
16238         (h8300_adjust_insn_length): Do not adjust insn length of shift
16239         insns.
16240         * config/h8300/h8300.md (anonymous shift patterns): Use
16241         compute_a_shift_length.
16243 Sat Mar  2 06:30:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16245         * config/sparc/sparc.c (sparc_initialize_trampoline): Use
16246         trunc_int_for_mode.
16248         * emit-rtl.c (offset_address): Call update_temp_slot_address.
16250 2002-03-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16252         * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
16253         * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
16254         * flags.h (flag_zero_initialized_in_bss): Declare.
16255         * toplev.c (flag_zero_initialized_in_bss): New flag.
16256         (lang_independent_options): Add flag_zero_initialized_in_bss.
16257         * tree.c (initializer_zerop): New function.
16258         * tree.h (initializer_zerop): Declare.
16259         * varasm.c (assemble_variable): If we can emit bss, put zero
16260         initializers in the bss section.
16262 2002-03-02  Alan Modra  <amodra@bigpond.net.au>
16264         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
16265         like more than one symbol per .weak directive.
16267 2002-03-01  Richard Henderson  <rth@redhat.com>
16269         * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
16270         adjust argument_pointer by pretend_args_size.
16271         (ia64_va_start): Adjust va_start address by -pretend_args_size.
16273 2002-03-01  Kazu Hirata  <kazu@hxi.com>
16275         * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
16277 Fri Mar  1 20:59:14 CET 2002  Jan Hubicka  <jh@suse.cz>
16279         * toplev.c (rest_of_compilation): Delete dead jumptables before
16280         loop.
16281         * flow.c (delete_dead_jumptables): Make global.
16282         * rtl.h (delete_dead_jumptables): Declare.
16284 2002-03-01  David Edelsohn  <edelsohn@gnu.org>
16286         * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
16287         * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
16288         * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
16290 2002-03-01  Kazu Hirata  <kazu@hxi.com>
16292         * config/h8300/h8300-protos.h: Fix formatting.
16293         * config/h8300/h8300.c: Likewise.
16294         * config/h8300/h8300.h: Likewise.
16296 2002-03-01  Kazu Hirata  <kazu@hxi.com>
16298         * config/h8300/h8300.c (print_operand): Support 16-bit
16299         constant addresses.
16300         * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
16302 2002-02-28  Richard Henderson  <rth@redhat.com>
16304         * expmed.c (store_bit_field): Prevent generation of CONCATs;
16305         pun complex values as integers; use gen_lowpart instead of
16306         gen_rtx_SUBREG.
16307         (extract_bit_field): Likewise.
16309 2002-03-01  Alan Modra  <amodra@bigpond.net.au>
16310             David Edelsohn  <edelsohn@gnu.org>
16312         * doc/tm.texi (ASM_WEAKEN_DECL): Document.
16313         (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
16314         (SUPPORTS_WEAK): Likewise.
16315         * output.h (add_weak): Add tree param.
16316         * varasm.c (add_weak): Likewise.  Save decl.
16317         (struct weak_syms): Add decl field.
16318         (mark_weak_decls): New function.
16319         (init_varasm_once): ggc_add_root mark_weak_decls.
16320         (assemble_start_function): Use ASM_WEAKEN_DECL.
16321         (assemble_variable): Likewise.
16322         (assemble_alias): Likewise.
16323         (declare_weak): Pass decl to add_weak.
16324         (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
16325         (remove_from_pending_weak_list): Declare and define for
16326         ASM_WEAKEN_DECL.
16327         * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
16328         * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
16329         * defaults.h (SUPPORTS_WEAK): Likewise.
16330         * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
16331         .weak for code sym.  Do emit .size for descriptor sym.
16332         (ASM_DECLARE_FUNCTION_SIZE): Define.
16333         * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
16334         (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
16335         .lglobl unless TARGET_XCOFF.  Formatting fixes.
16336         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
16337         .weak for code sym.
16338         (HANDLE_PRAGMA_WEAK): Remove.
16339         (ASM_WEAKEN_LABEL): Remove.
16340         * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
16342 2002-03-01  Jason Merrill  <jason@redhat.com>
16344         * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
16345         (TARGET_EXPR_CLEANUP): New macro.
16347 2002-02-28  Steve Ellcey  <sje@cup.hp.com>
16349         * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
16350         to take ptr_extend into account as third type of extension.
16351         (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
16352         fields used by SUBREG_PROMOTED_UNSIGNED_P.
16353         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
16354         (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
16355         * calls.c (precompute_arguments): Use new macro.
16356         (expand_call): Ditto.
16357         * combine.c (nonzero_bits): Ditto.
16358         (record_promoted_value): Ditto.
16359         * expr.c (store_expr): Ditto.
16360         (expand_expr): Ditto.
16361         * function.c (assign_parms): Ditto.
16363 2002-02-28  Alexandre Oliva  <aoliva@redhat.com>
16365         * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
16366         override -shared and -shared-libgcc.
16368 2002-02-28  David O'Brien  <obrien@FreeBSD.org>
16370         * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
16371         of "ultrasparc".
16372         * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
16373         to be broken.
16375 2002-02-28  Richard Henderson  <rth@redhat.com>
16377         * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
16378         4 cycle latency from MM producers.
16379         (ia64_internal_sched_reorder): Likewise with pipeline flush.
16381 2002-02-28  Jakub Jelinek  <jakub@redhat.com>
16383         * mklibgcc.in: Don't use GNU make extension.
16385 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
16387         * c-parse.in (STATIC): New terminal.
16388         (scspec): New non-terminal.  Update productions accordingly.
16389         (program): Remove bogus ifc / end ifc.
16390         (array_declarator): Simplify production using STATIC.
16392 2002-02-28  Jim Meyering  <meyering@lucent.com>
16394         * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
16395         \a still means TARGET_BELL.
16397 2002-02-28  Richard Henderson  <rth@redhat.com>
16399         * haifa-sched.c (sched_emit_insn): New.
16400         (schedule_block): Use last_scheduled_insn to track last insn.
16401         * sched-int.h (sched_emit_insn): Prototype.
16402         * config/ia64/ia64.c (last_issued): Remove.
16403         (ia64_variable_issue): Don't set it.
16404         (nop_cycles_until): Use sched_emit_insn.
16406 2002-02-28  Andrew MacLeod  <amacleod@redhat.com>
16408         * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
16409         extended constants.
16411 2002-02-28  Kazu Hirata  <kazu@hxi.com>
16413         * config/h8300/h8300.c: Fix formatting.
16414         * config/h8300/h8300.h: Likewise.
16416 2002-02-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>
16418         * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
16419         which may overwrite the high byte of the frame pointer.
16421 2002-02-28  Bo Thorsen  <bo@suse.de>
16423         * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
16424         (STARTFILE_SPEC): Add 64 bit files.
16425         (ENDFILE_SPEC): Likewise.
16427 2002-02-28  Jason Merrill  <jason@redhat.com>
16429         * c-decl.c (finish_function): Only warn about missing return
16430         statement with -Wreturn-type.
16432 Don Feb 28 11:24:30 CET 2002  Jan Hubicka  <jh@suse.cz>
16434         * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
16436         * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
16437         PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
16439 Don Feb 28 11:07:36 CET 2002  Jan Hubicka  <jh@suse.cz>
16441         * basic-block.h (BB_REACHABLE): Renumber.
16442         (BB_DIRTY, BB_NEW): New flags.
16443         (clear_bb_flags): Declare.
16444         (update_life_info_in_dirty_blocks): Declare.
16445         * cfg.c (clear_bb_flags): New function.
16446         * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
16447         * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
16448         reorder_insns, emit_insn_after): Mark block as dirty.
16449         * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
16450         (update_life_info_in_dirty_blocks): New function.
16451         * recog.c (apply_change_group): Dirtify block.
16453         * cse.c (cse_insn): Reorder emitting of jump insn to keep
16454         cfg consistent.
16455         * gcse.c (delete_null_pointer_checks): Likewise.
16457         * toplev.c (dump_file_index): Move cse2 after bp,
16458         add DFI_null
16459         (dump_file_info): Similary.
16460         (rest_of_compilation): Avoid most of CFG rebuilds;
16461         do first if converision after null pointer checks, do cse2
16462         after branch prediction; avoid full liveness rebuild after
16463         initializing subregs.
16464         * invoke.texi (-d options): Document -du, renumber.
16466         * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
16467         (notice_new_block): Do not set BB_UPDATE_LIFE.
16468         (try_forward_edges, merge_blocks_move_predecessor_nojumps,
16469          merge_blocks_move_successor_nojumps, merge_blocks,
16470          try_crossjump_to_edge): Likewise.
16471         (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
16472         * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
16473         * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
16474         (merge_of_block): Do not use life_data_ok.
16475         (find_if_case_1): Do not use SET_UPDATE_LIFE.
16476         (if_convert): Use BB_DIRTY mechanizm to update life.
16477         * lcm.c (optimize_mode_switching): Update
16478         update_life_info_in_dirty_blocks
16480 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
16482         * Makefile.in (integrate.o): Update.
16483         * c-decl.c (copy_lang_decl): Rename.
16484         * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
16485         * integrate.c: Include langhooks.h.
16486         (copy_decl_for_inlining): Update to use langhook.
16487         * langhooks-def.h (lhd_do_nothing_t,
16488         LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
16489         (LANG_HOOKS_INITIALIZER): Update.
16490         * langhooks.c (lhd_do_nothing_t): New.
16491         * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
16492         * tree.h (copy_lang_decl): Remove.
16493 objc:
16494         * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
16496 2002-02-27  Andrew MacLeod  <amacleod@redhat.com>
16498         * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
16499         POST_DEC, and POST_MODIFY.
16501 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
16503         * c-typeck.c (digest_init): Remove unused parameter; all
16504         callers changed.
16506 2002-02-27  Geoffrey Keating  <geoffk@redhat.com>
16508         * expmed.c (expand_shift): Correctly test for low part of a
16509         subreg.
16511 2002-02-27  Ulrich Weigand  <uweigand@de.ibm.com>
16513         * config/s390/s390.c (s390_chunkify_pool): Do not confuse
16514         insn UIDs with insn addresses.
16516 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
16518         * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
16519         c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
16520         cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
16521         builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
16522         gcc.c, toplev.c: Delete code implementing -traditional mode.
16524         * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
16525         doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
16526         Document removal of -traditional mode for compilation, and
16527         remove documentation only relevant to that mode.
16529         * config/nextstep.h, config/ptx4.h, config/svr4.h,
16530         config/convex/convex.h, config/d30v/d30v.h,
16531         config/i386/dgux.h, config/i386/osf1elf.h,
16532         config/i386/osfelf.h, config/i386/osfrose.h,
16533         config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
16534         config/m68k/hp310.h, config/m88k/dgux.h,
16535         config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
16536         config/m88k/m88k.h, config/m88k/openbsd.h,
16537         config/mips/abi64.h, config/mips/osfrose.h,
16538         config/mips/svr4-5.h, config/mips/svr4-t.h,
16539         config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
16540         config/stormy16/stormy16.h: Remove all references to
16541         -traditional from target specs.  Delete all mention of the
16542         no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
16543         delete a couple of commented-out definitions of
16544         DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
16545         to -traditional.
16547         * system.h: Poison TRADITIONAL_RETURN_FLOAT.
16548         * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
16550 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
16552         * mklibgcc.in: Don't use \n in a line subject to
16553         interpretation by echo.
16555 2002-02-27  Graham Stott  <grahams@redhat.com>
16557         * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
16558         Constify NAME.
16560         * loop.c (prescan_loop): Handle PARALLEL.
16562         * unroll.c (loop_iterations): Return 0 if the add_val for
16563         a BIV is REG.
16565         * final.c (output_operand_lossage): Constify PFX_STR.
16567         * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
16569 Wed Feb 27 10:45:19 CET 2002  Jan Hubicka  <jh@suse.cz>
16571         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
16572         * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
16574 Wed Feb 27 10:39:20 CET 2002  Jan Hubicka  <jh@suse.cz>
16576         * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
16578 2002-02-27  Neil Booth  <neil@daikokuya.demon.co.uk>
16580         * cpplex.c (_cpp_lex_token): Handle directives in macro
16581         arguments.
16582         * cpplib.c (_cpp_handle_directive): Save and restore state
16583         if parsing macro args when entering a directive.
16584         * cppmacro.c (collect_args): No need to handle directives
16585         in macro arguments.
16586         (enter_macro_context, replace_args): Use the original macro
16587         definition in case it was redefined whilst collecting arguments.
16588 doc:
16589         * cpp.texi: Update.
16591 2002-02-26  David Edelsohn  <edelsohn@gnu.org>
16593         * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
16594         * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
16595         * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
16596         method on AIX.
16597         * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
16598         (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
16599         (load_toc_v4_PIC_2): Same.
16601 2002-02-26  Alan Modra  <amodra@bigpond.net.au>
16603         * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
16605 2002-02-26  Richard Henderson  <rth@redhat.com>
16607         * config/alpha/alpha.md (ashldi_se): Re-enable.
16609 2002-02-26  Richard Henderson  <rth@redhat.com>
16611         * config/alpha/alpha.c (alpha_encode_section_info): Examine
16612         MODULE_LOCAL_P; improve commentary.
16614 2002-02-26  Zack Weinberg  <zack@codesourcery.com>
16616         * doc/cpp.texi: Clarify documentation of relationship between
16617         #line and #include.
16619 2002-02-26  Kazu Hirata  <kazu@hxi.com>
16621         * config/h8300/h8300-protos.h: Update the prototype for
16622         compute_logical_op_length.  Add the prototype for
16623         compute_logical_op_cc.
16624         * config/h8300/h8300.c (compute_logical_op_length): Figure out
16625         code from operands.
16626         (compute_logical_op_cc): New.
16627         * config/h8300/h8300.md: Combine all the logical op patterns
16628         in HImode and SImode.  Use compute_logical_op_cc.
16630 2002-02-26  Kelley Cook  <kelleycook@comcast.net>
16632         * config/i386/i386.c (print_operand): Don't append ATT-style
16633         length suffixs to x87 opcodes when in Intel mode.
16635 2002-02-26  Ryan T. Sammartino <ryants@shaw.ca>
16637         * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
16638         (init_emit_once): Update calls.
16639         * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
16640         (init_syntax_once): Prototype.
16642 2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16644         * pa-linux.h (LIB_SPEC): Update definition.
16645         * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
16647 2002-02-26  Richard Henderson  <rth@redhat.com>
16649         * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
16650         if we emitted a stop bit.
16652 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
16654         * configure.in (libgcc_visibility): Substitute.
16655         * configure: Rebuilt.
16656         * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
16657         defined symbols .hidden.
16659 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
16661         * attribs.c (c_common_attribute_table): Add visibility.
16662         (handle_visibility_attribute): New function.
16663         * varasm.c (assemble_visibility): New function.
16664         * output.h (assemble_visibility): Add prototype.
16665         * tree.h (MODULE_LOCAL_P): Define.
16666         * crtstuff.c (__dso_handle): Use visibility attribute.
16667         * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
16668         for MODULE_LOCAL_P symbols too.
16669         * config/ia64/ia64.c (ia64_encode_section_info): Handle
16670         MODULE_LOCAL_P symbols the same way as local symbols.
16671         Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
16672         into .sdata/.sbss by the user.
16673         * doc/extend.texi (Function Attributes): Document visibility
16674         attribute.
16676 2002-02-26  Jakub Jelinek  <jakub@redhat.com>
16678         PR debug/5770
16679         * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
16680         STRING_CST initializer spanning the whole variable without
16681         embedded zeros.
16682         If expand_expr returned MEM, don't use it.
16684 2002-02-26  Alexandre Oliva  <aoliva@redhat.com>
16686         * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
16687         generate a die for the lexical block.
16689 2002-02-26  Kazu Hirata  <kazu@hxi.com>
16691         * config/h8300/h8300-protos.h: Add a prototype for
16692         compute_logical_op_length.
16693         * config/h8300/h8300.c (compute_logical_op_length): New.
16694         * config/h8300/h8300.md (anonymous logical patterns): Use
16695         compute_logical_op_length for length.
16697 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
16699         * dwarf2out.c (modified_type_die): Do not call type_main_variant
16700         for vectors.
16701         (gen_type_die): Same.
16703         * attribs.c (handle_vector_size_attribute): Set debug information.
16705 2002-02-26  Daniel Egger  <degger@fhm.edu>
16707         * config/rs6000/rs6000.md: Swap define_insn attributes to
16708         fix incorrect generation of merge high instructions instead
16709         of merge low.
16711 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
16713         * c-typeck.c (really_start_incremental_init): Use
16714         bitsize_zero_node for vectors.
16716 2002-02-26  Aldy Hernandez  <aldyh@redhat.com>
16718         * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
16719         ("*set_vrsave_internal"): Same.
16721 2002-02-25  Richard Henderson  <rth@redhat.com>
16723         * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
16724         in EXPAND_SUM case.  Use host_integerp/tree_low_cst.
16726 2002-02-25  Jakub Jelinek  <jakub@redhat.com>
16728         PR target/5755
16729         * config/i386/i386.c (ix86_return_pops_args): Only pop
16730         fake structure return argument if it was passed on the stack.
16732 2002-02-25  Jason Merrill  <jason@redhat.com>
16734         * attribs.c (decl_attributes): Also re-layout PARM_DECL and
16735         RESULT_DECL.
16737 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
16739         * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
16740         link with shared_name only.
16741         * doc/invoke.texi (Link Options): Document new behavior.
16743 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
16745         * c-typeck.c (push_init_level): Handle vectors.
16747 2002-02-25  Alexandre Oliva  <aoliva@redhat.com>
16749         * config/sparc/sparc.c (const64_high_operand): Zero-extend
16750         operands of SPARC_SETHI_P.
16751         (input_operand): Likewise.
16752         (sparc_emit_set_const32): Likewise.
16753         * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
16754         (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
16755         (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
16756         * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
16757         (movdi_insn_sp64_vis): Likewise.
16758         (movdi split, movdf split): Use SETHI32.
16759         * doc/md.texi: Document SPARC constraints L, M and N.
16761 2002-02-25  Aldy Hernandez  <aldyh@redhat.com>
16763         * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
16764         ("*set_vrsave_internal"): use mfspr for Darwin.
16766         * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
16767         gen_get_vrsave_internal.
16769 Sun Feb 24 16:38:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16771         * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
16773 2002-02-24  Neil Booth  <neil@daikokuya.demon.co.uk>
16775         * cpplex.c (cpp_interpret_charconst): Get signedness or
16776         otherwise of wide character constants correct.
16777         * cppexp.c (lex): Get signedness of wide charconsts correct.
16779 Sun Feb 24 07:41:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16781         * optabs.c (widen_operand): Only call convert_modes for
16782         promoted SUBREG if signedness matches.
16783         * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
16785 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
16787         * cpplib.c (glue_header_name): Use local buffer to build up
16788         header name.
16790 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
16792         * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
16794 2002-02-23  Kazu Hirata  <kazu@hxi.com>
16796         * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
16797         H8/300[HS] separately.
16798         * config/h8300/h8300.md: Remove the early clobber constraint
16799         from bit field patterns.
16801 2002-02-23  Kazu Hirata  <kazu@hxi.com>
16803         * config/h8300/h8300.md (mulqihi3): Tighten predicates to
16804         register_operand.
16805         (mulhisi3): Likewise.
16806         (umulqisi3): Likewise.
16807         (umulhisi3): Likewise.
16809 2002-02-23  Neil Booth  <neil@daikokuya.demon.co.uk>
16811         * cppinit.c (output_deps): Correct test for stdout output.
16812         (init_dependency_output): Cure warning.
16814 Sat Feb 23 08:42:47 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
16816         * expr.c (store_expr): When converting expression to promoted
16817         equivalent type, allow using SUBREG_REG of TARGET as the target
16818         of the expansion of EXP.
16819         * loop.c (basic_induction_var, case SUBREG): Always look inside.
16820         * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
16821         (alpha_emit_set_const): Handle SImode when can't make new pseudos.
16822         (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
16823         * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
16825 2002-02-23  Joseph S. Myers  <jsm28@cam.ac.uk>
16827         * doc/contribute.texi, doc/extend.texi, doc/install.texi,
16828         doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
16829         doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
16831 2002-02-23  Jakub Jelinek  <jakub@redhat.com>
16833         PR optimization/5747
16834         * loop.c (scan_loop): Update reg info if move_movables created new
16835         pseudos.
16837 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
16839         * gcc.c (init_gcc_spec): Revert last change.
16841 2002-02-23  David Edelsohn  <edelsohn@gnu.org>
16843         * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
16844         gpc_reg_operand constraint.
16846 2002-02-23  Alan Modra  <amodra@bigpond.net.au>
16848         * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
16849         Simplify comparison of `low'.
16850         (add_operand): Fix formatting.
16851         (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
16852         (mask_operand): Disallow mask to wrap in 64-bit mode.
16853         (rs6000_stack_info): Remove redundant test setting push_p.
16854         (output_toc): Fix formatting.
16855         * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
16856         cc_reg_not_cr0_operand constraint.
16857         (booldi3, boolcdi3 splitters): Same.
16859 2002-02-23  Aldy Hernandez  <aldyh@redhat.com>
16861         * config/rs6000/altivec.h: Add extra level of parentheses on casts.
16863 2002-02-22  David Edelsohn  <edelsohn@gnu.org>
16865         * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
16866         gcc invoked with -shared-libgcc.
16868 2002-02-22  Jakub Jelinek  <jakub@redhat.com>
16870         PR c++/5748
16871         * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
16872         decl if any of elements was TREE_USED.
16874 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16876         * config/sparc/sol2.h: Don't include sys/mman.h.
16877         * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
16878         (arith_4096_operand): Don't throw high bits away.
16879         (const64_operand): Take sign extension of CONST_INTs into account.
16880         (const64_high_operand, sparc_emit_set_const32): Likewise.
16881         (GEN_HIGHINT64): Likewise.
16882         (sparc_emit_set_const64_quick1): Likewise.
16883         (const64_is_2insns): Likewise.
16884         (print_operand): Use trunc_int_for_mode for sign extension.
16885         * config/sparc/sparc.h (SMALL_INT32): Likewise.
16886         * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
16887         chars.  Assume CONST_INT is already properly sign-extended.
16888         (movdi split): Sign-extend each SImode part.
16889         (andsi3 split): Don't mask high bits off, so that result
16890         remains properly sign-extend.
16891         (iorsi3 split): Likewise.
16892         (xorsi3 split): Likewise.
16894 2002-02-22  Richard Sandiford  <rsandifo@redhat.com>
16896         * fold-const.c (fold): Fix typo in comments.
16898 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
16900         * Makefile.in (langhooks.o): Update dependencies.
16902 2002-02-21  Diego Novillo  <dnovillo@redhat.com>
16904         * langhooks.c: Include flags.h.
16906 2002-02-21  Aldy Hernandez  <aldyh@redhat.com>
16908         * testsuite/gcc.dg/attr-alwaysinline.c: New.
16910         * c-common.c (c_common_post_options): Set inline trees by
16911         default.
16913         * doc/extend.texi (Function Attributes): Document always_inline
16914         attribute.
16915         Update documentation about inlining when not optimizing.
16917         * cp/decl.c (duplicate_decls): Merge always_inline attribute.
16919         * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
16920         unless DECL_ALWAYS_INLINE.
16922         * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
16923         unless DECL_ALWAYS_INLINE.
16924         (c_disregard_inline_limits): Disregard if always_inline set.
16926         * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
16927         Disregard if always_inline set.
16928         (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
16929         unless DECL_ALWAYS_INLINE.
16931         * attribs.c (handle_always_inline_attribute): New.
16932         (c_common_attribute_table): Add always_inline.
16934         * config/rs6000/altivec.h: Add prototypes for builtins
16935         requiring the always_inline attribute.
16937 2002-02-21  Eric Christopher  <echristo@redhat.com>
16939         * expmed.c (store_bit_field): Try to simplify the subreg
16940         before generating a new one when when the mode size of
16941         value is less than maxmode.
16943 2002-02-21  Richard Henderson  <rth@redhat.com>
16945         * emit-rtl.c (offset_address): Use simplify_gen_binary rather
16946         than gen_rtx_PLUS to form the sum.
16947         * explow.c (force_reg): Rearrange to not allocate new pseudo
16948         when force_operand returns a register.
16949         * expr.c (expand_assignment): Allow offset_rtx expansion to
16950         return a sum.  Do not force addresses into registers.
16951         (expand_expr): Likewise.
16952         * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
16953         to canonicalize arithmetic that didn't simpify.
16954         (simplify_plus_minus): New argument force; update
16955         all callers.  Don't split CONST unless we can do something with it,
16956         and wouldn't lose the constness of the operands.
16958         * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
16959         that we generated earlier.
16961 2002-02-21  Tom Tromey  <tromey@redhat.com>
16963         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
16964         (output_line_info): Use constant `1', with a long explanatory
16965         comment.
16966         * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
16968 Thu Feb 21 22:43:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
16970         * jump.c (redirect_jump): If old label has no UID, don't try to
16971         delete it.
16973 Thu Feb 21 21:17:21 2002  J"orn Rennecke <joern.rennecke@superh.com>
16975         * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
16976         If input is constant, do shifts at compile time.
16978 2002-02-21  Joseph S. Myers  <jsm28@cam.ac.uk>
16980         * doc/extend.texi: Fix some more overfull hboxes.
16982 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
16984         PR optimization/4994
16985         * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
16986         register moves.
16988 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
16990         PR c++/4574
16991         * expr.h (expand_and): Add mode argument.
16992         * expmed.c (expand_and): Add mode argument.
16993         (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
16994         * expr.c (store_field, expand_expr, do_store_flag): Likewise.
16995         * except.c (expand_builtin_extract_return_addr): Likewise.
16996         * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
16997         * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
16998         * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
16999         Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
17000         * config/c4x/c4x.md: Use GEN_INT (x) instead of
17001         gen_rtx (CONST_INT, VOIDmode, x).
17003 2002-02-21  Jakub Jelinek  <jakub@redhat.com>
17005         PR c/4697:
17006         * stmt.c (warn_if_unused_value): Move side effects test once more.
17008 2002-02-20  Torbjorn Granlund  <tege@swox.com>
17010         * config/avr/avr.md: Add more patterns for mized-mode add and subtract
17011         (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
17013 Thu Feb 21 16:20:46 2002  Alexandre Oliva  <aoliva@redhat.com>
17015         * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
17016         SUBREG or ZERO_EXTEND.
17018 Thu Feb 21 15:35:46 2002  J"orn Rennecke <joern.rennecke@superh.com>
17020         * sh.h (current_function_anonymous_args): Remove.
17021         (SETUP_INCOMING_VARARGS): Don't set it - just check that one
17022         of current_function_varargs and current_function_stdarg is set.
17023         * sh.c (sh_expand_prologue): Check current_function_varargs /
17024         current_function_stdarg / TARGET_SH5 instead of
17025         current_function_anonymous_args.
17027         * sh64.h (TARGET_VERSION): Define.
17029 2002-02-20  David Edelsohn  <edelsohn@gnu.org>
17031         * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
17032         VRSAVE_REGNO on TARGET_ALTIVEC.
17034 2002-02-20  Alan Modra  <amodra@bigpond.net.au>
17036         * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
17037         bits of SImode const_int.
17038         (includes_rshift_p): Likewise.
17039         (print_operand): Call mask_operand and mask64_operand with correct
17040         mode.
17041         (rs6000_output_function_epilogue): Pad traceback table to word.
17042         * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
17043         (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
17044         mask64_operand with correct mode.
17045         (FUNCTION_ARG_REGNO_P): Correct parentheses.
17047 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
17049         PR debug/4461
17050         * varasm.c (get_pool_constant_mark): New.
17051         * rtl.h (get_pool_constant_mark): Add prototype.
17052         * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
17053         be represented if it has not been output.
17055 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
17057         * combine.c (do_SUBST): Sanity check substitutions of
17058         CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
17059         (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
17060         CONST_INT into its operand.
17061         (known_cond): Likewise, for ZERO_EXTEND.
17062         * simplify-rtx.c (simplify_unary_operation): Fix condition to
17063         allow for simplification of wide modes.  Reject CONST_INTs in
17064         ZERO_EXTEND when their actual mode is not given.
17066 2002-02-20  Alexandre Oliva  <aoliva@redhat.com>
17068         * c-decl.c (pushdecl): If no global declaration is found for an
17069         extern declaration in block scope, try a limbo one.
17071 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
17073         PR c++/4401
17074         * c-common.c (pointer_int_sum): Moved from...
17075         * c-typeck.c (pointer_int_sum): ...here.
17076         * c-common.h (pointer_int_sum): Add prototype.
17078 2002-02-20  Jakub Jelinek  <jakub@redhat.com>
17080         PR c++/5713
17081         * c-decl.c (duplicate_decls): Return 0 if issued error about
17082         redeclaration.
17084 2002-02-20  Roger Sayle  <roger@eyesopen.com>
17085             Jakub Jelinek  <jakub@redhat.com>
17087         PR c/4389
17088         * tree.c (host_integerp): Ensure that the constant integer is
17089         representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
17090         when pos is zero or non-zero respectively.  Clarify comment.
17091         * c-format.c (check_format_info_recurse): Fix host_integerp
17092         usage; the pos argument should be zero when assigning to a
17093         signed HOST_WIDE_INT.
17095 2002-02-20  Richard Henderson  <rth@redhat.com>
17097         * config/i386/i386.c (ix86_expand_vector_move): Use the mode
17098         of the operand, rather than assuming TImode.
17099         (ix86_expand_binop_builtin): Cope with commutative patterns
17100         using nonimmediate_operand for both operands.
17101         (ix86_expand_timode_binop_builtin): Likewise.
17102         (ix86_expand_store_builtin): Validate operand 1.
17103         (ix86_expand_unop1_builtin): Likewise.
17105 2002-02-20  Philip Blundell  <philb@gnu.org>
17107         PR 5705
17108         * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
17110 2002-02-20  Richard Henderson  <rth@redhat.com>
17112         PR c/5615
17113         * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
17115 2002-02-20  Tom Tromey  <tromey@redhat.com>
17117         * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17118         * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17119         * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17120         * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
17121         * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
17122         unconditionally.
17124 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
17126         * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
17127           for (const_int 0) in X not just INTVAL.
17129 2002-02-20  Joseph S. Myers  <jsm28@cam.ac.uk>
17131         * doc/extend.texi: Avoid or reduce overfull hboxes.
17133 2002-02-20  Diego Novillo  <dnovillo@redhat.com>
17135         * expmed.c (store_bit_field): Do not store bit fields using SUBREG
17136         operations if the field does not start at a mode boundary.
17138 2001-02-20      Joel Sherrill <joel@OARcorp.com>
17140         * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
17141         config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
17142         Also done for -Acpu and -Amachine.
17144 2002-02-20  Neil Booth  <neil@daikokuya.demon.co.uk>
17146         * cppinit.c (init_dependency_output): Take deps output file
17147         from -o if none given with -MF.  Suppress normal output.
17148         * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
17149         * doc/cpp.texi, doc/invoke.texi: Update.
17151 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
17153         * toplev.c (output_quoted_string): Write unprintable
17154         characters with octal escapes.
17156 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
17158         * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
17159         really_call_used[VRSAVE_REGNO] if not Altivec.
17161 2002-02-19  Alan Modra  <amodra@bigpond.net.au>
17163         * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
17164         MODE_MASK.
17165         (constant_pool_expr_1): Fix formatting.
17166         (rs6000_legitimize_reload_address): Likewise.
17168 Tue Feb 19 20:13:57 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17170         * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
17171         now that we have one.
17173 2002-02-19  Zack Weinberg  <zack@codesourcery.com>
17175         * tree.h (struct tree_common): Remove aux.  Add unused_0 at
17176         end of first block of bitfields (which was only seven bits);
17177         rename dummy to unused_1; remove comment which is no longer true.
17179 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
17181         * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
17183 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
17185         PR 5399
17186         * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
17187         if generating PIC.
17189         PR 5054
17190         * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
17191         arm_is_longcall_p rather than inspecting call-type cookie
17192         directly.
17193         (call_value_insn) [TARGET_THUMB]: Likewise.
17195 2002-02-19  Graham Stott  <grahams@redhat.com>
17197         * config/i386/i386.c (ix86_expand_builtin): Fix typo.
17199 2002-02-19  David Edelsohn  <edelsohn@gnu.org>
17201         * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
17202         ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
17203         (FP_SAVE_INLINE): Delete.
17205         * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
17206         * config/rs6000/eabi.asm: Remove ABI save restore routines.
17207         * config/rs6000/t-ppccomm: Build crtsavres.o.
17208         * config/rs6000/crtsavres.asm: New file.
17210 2002-02-19  Philip Blundell  <philb@gnu.org>
17212         * config/arm/arm.c (use_return_insn): Don't reject interrupt
17213         functions.
17214         (arm_compute_save_reg_mask): Save LR for interrupt functions too.
17215         (output_return_instruction): Allow interrupt functions to return with
17216         ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
17217         (arm_expand_prologue): Subtract 4 before stacking LR in an
17218         interrupt function.
17220 2002-02-19  Philip Blundell  <pb@nexus.co.uk>
17222         * config/arm/arm.c (arm_encode_call_attribute): Operate on any
17223         decl, not just FUNCTION_DECL.
17224         (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
17225         (arm_assemble_integer): Likewise.
17226         * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
17227         marked local.
17229 2002-02-19  matthew green  <mrg@eterna.com.au>
17231         * config.gcc (sparc-*-netbsdelf*): Enable target.
17232         (sparc64-*-netbsd*): New target.
17233         * config/sparc/netbsd-elf.h: New file.
17234         * config/sparc/t-netbsd64: New file.
17236 2002-02-19  Gaute B Strokkenes <gs234@cam.ac.uk>
17238         * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
17240 2002-02-19  Ryan T. Sammartino <ryants@shaw.ca>
17242         * doc/invoke.texi: explicitly list the style guidelines that
17243         -Weffc++ checks for.
17245 Tue Feb 19 12:37:23 CET 2002  Jan Hubicka  <jh@suse.cz>
17247         * regmove.c (regmove_optimize): Avoid increasing of register pressure.
17249 2002-02-19  Neil Booth  <neil@daikokuya.demon.co.uk>
17251         PR other/5718
17252         * gcc.c (cpp_unique_options): Treat -o as indicating object file
17253         only if not -E.  If -E, pass -o through to the preprocessor.
17255 2002-02-19  Kazu Hirata  <kazu@hxi.com>
17257         * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
17258         register number with an appropriate macro.
17260 2002-02-19  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17262         * doc/rtl.texi (Constants): Close @code tag.
17264 2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
17266         * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
17267         ("mmx_uavgv4hi3"): Same.
17268         ("pmulhrwv4hi3"): Same.
17270         * tree-inline.c (walk_tree): Handle vectors.
17272         * c-common.c (constant_expression_warning): Handle vectors.
17273         (overflow_warning): Same.
17275         * sched-deps.c (sched_analyze_2): Handle vectors.
17277         * rtlanal.c (rtx_unstable_p): Handle vectors.
17278         (rtx_varies_p): Same.
17279         (count_occurrences): Same.
17280         (regs_set_between_p): Same.
17281         (modified_between_p): Same.
17282         (modified_in_p): Same.
17283         (volatile_insn_p): Same.
17284         (volatile_refs_p): Same.
17285         (side_effects_p): Same.
17286         (may_trap_p): Same.
17287         (inequality_comparisons_p): Same.
17288         (replace_regs): Same.
17289         (computed_jump_p_1): Same.
17291         * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
17292         argument.
17293         (inner_mode_array): New.
17294         (copy_rtx): Handle vectors.
17295         (copy_most_rtx): Same.
17296         (rtx_equal_p): Same.
17297         (get_mode_alignment): Adjust for vectors.
17299         * resource.c (mark_referenced_resources): Handle vectors.
17300         (mark_set_resources): Same.
17302         * reload1.c (eliminate_regs): Handle vectors.
17303         (elimination_effects): Same.
17304         (scan_paradoxical_subregs): Same.
17306         * reload.c (subst_reg_equivs): Handle vectors.
17308         * regrename.c (scan_rtx): Handle vectors.
17310         * regclass.c (reg_scan_mark_refs): Handle vectors.
17312         * recog.c (find_single_use_1): Handle vectors.
17314         * local-alloc.c (equiv_init_varies_p): Handle vectors.
17315         (contains_replace_regs): Same.
17316         (memref_referenced_p): Same.
17318         * integrate.c (copy_rtx_and_substitute): Handle vectors.
17319         (subst_constants): Same.
17321         * genattrtab.c (attr_copy_rtx): Handle vectors.
17322         (encode_units_mask): Same.
17323         (clear_struct_flag): Same.
17324         (count_sub_rtxs): Same.
17326         * gcse.c (want_to_gcse_p): Handle vectors.
17327         (oprs_unchanged_p): Same.
17328         (hash_expr_1): Same.
17329         (oprs_not_set_p): Same.
17330         (expr_killed_p): Same.
17331         (compute_transp): Same.
17332         (store_ops_ok): Same.
17334         * function.c (purge_addressof_1): Do not allow paradoxical subregs
17335         of vectors.
17336         (fixup_var_refs_1): Same.
17337         (instantiate_virtual_regs_1): Same.
17339         * fold-const.c (operand_equal_p): Handle vectors.
17340         (fold): Same.
17341         (rtl_expr_nonnegative_p): Same.
17343         * flow.c (mark_used_regs): Handle vectors.
17345         * df.c (df_uses_record): Handle vectors.
17347         * cselib.c (cselib_subst_to_values): Handle vectors.
17348         (cselib_mem_conflict_p): Same.
17349         (hash_rtx): Same.
17351         * cse.c (canon_reg): Handle vectors.
17352         (fold_rt): Same.
17353         (cse_process_notes): Same.
17354         (count_reg_usage): Same.
17355         (canon_hash): Same.
17357         * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
17359         * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
17361         * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
17362         (gen_rtx): Handle CONST_VECTOR.
17363         (gen_const_vector_0): New.
17364         (copy_rtx_if_shared): CONST_VECTORs can be shared.
17365         (reset_used_flags): Same.
17366         (copy_insn_1): Same.
17367         (initializer_constant_valid_p): Handle VECTOR_CST.
17369         * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
17371         * doc/rtl.texi (Constants): Document const_vector.
17372         (CONST0_RTX): Update for vectors.
17373         (RTL sharing): Same.
17375         * print-tree.c (print_node): Add case for VECTOR_CST.
17377         * tree.h (TREE_VECTOR_CST_ELTS): New.
17378         (struct tree_vector): New.
17379         (union tree_node): Add vector node.
17380         (build_vector): Add prototype.
17382         * tree.def (VECTOR_CST): New.
17384         * tree.c (build_vector): New.
17386         * expmed.c (make_tree): Handle CONST_VECTOR.
17388         * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
17389         (CONST_VECTOR_ELT): New.
17390         (CONST_VECTOR_NUNITS): New.
17392         * machmode.h (GET_MODE_INNER): New.
17393         (DEF_MACHMODE): Accept 8th arg.
17395         * machmode.def: Add 8th argument for vector inner mode.
17396         Add inner vector modes for vectors.
17398         * rtl.def (VEC_CONST): Remove.
17399         (CONST_VECTOR): New.
17401         * expr.c (clear_storage): Allow vectors.
17402         (is_zeros_p): Handle VECTOR_CST.
17404         * varasm.c (output_constant_pool): Handle vectors.
17405         (rtx_const): Add veclo and vechi fields.
17406         (kind): Add RTX_VECTOR.
17407         (decode_rtx_const): Add case for vector.
17409         * config/rs6000/rs6000-protos.h: Add zero_constant.
17411         * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
17412         constants.  Force easy vector constants into memory.
17413         (easy_vector_constant): New.
17414         (emit_easy_vector_constant): New.
17415         (rs6000_legitimize_reload_address): Do not generate bad reloads on
17416         darwin.
17418         * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
17419         instruction does.
17420         ("altivec_lvxl"): Same.
17421         (altivec_lvebx): Same.
17422         (altivec_lvehx): Same.
17423         (altivec_lvewx): Same.
17424         ("*movv4si_const0"): New.
17425         ("*movv4sf_const0"): New.
17426         ("*movv8hi_const0"): New.
17427         ("*movv16qi_const0"): New.
17429 2002-02-18  Kazu Hirata  <kazu@hxi.com>
17431         * config/h8300/h8300.c (notice_update_cc): Use
17432         cc_status.value2.
17434 2002-02-18  Kazu Hirata  <kazu@hxi.com>
17436         * config/h8300/h8300.md (divmod patterns): Change the
17437         constraints for operands[1] to register_operand.
17439 2002-02-18  Kazu Hirata  <kazu@hxi.com>
17441         * config/h8300/h8300-protos.h: Remove the prototype for
17442         p_operand.
17443         * config/h8300/h8300.c (p_operand): Remove.
17444         * config/h8300/h8300.md: Replace p_operand with
17445         const_int_operand.
17447 2002-02-18 Philip Blundell <pb@nexus.co.uk>
17449         * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
17450         comment.
17451         (output_return_instruction): Allow use of LDR to unstack
17452         return addresss even for interrupt handlers or when
17453         interworking.  If compiling for ARMv5, use interworking-safe
17454         return instructions by default.  Remove duplicated code and
17455         lengthy "strcat" sequences.
17457 2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17459         * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
17460         (LINK_EH_SPEC): Define.
17461         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
17463 2002-02-18  Ulrich Weigand  <uweigand@de.ibm.com>
17465         * config/s390/s390.c (s390_emit_prologue): Do not set the
17466         frame_related flag for call-clobbered registers.
17468 Mon Feb 18 15:07:35 CET 2002  Jan Hubicka  <jh@suse.cz>
17470         * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
17471         (construct_container): Fix handling of SSE operands.
17472         (ix86_expand_builtin): Fix handling of 64bit pointers.
17473         (mmx_maskmovq_rex): New pattern.
17475 Mon Feb 18 11:55:55 CET 2002  Jan Hubicka  <jh@suse.cz>
17477         * regrename.c (kill_set_value): Handle subregs properly.
17479 2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>
17481         * objc/objc-act.c (handle_impent): Remove leading '*'
17482         from objc_class_name.
17484 2002-02-17  Richard Henderson  <rth@redhat.com>
17486         * config/alpha/alpha.c (some_small_symbolic_operand,
17487         some_small_symbolic_operand_1, split_small_symbolic_operand,
17488         split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
17489         Handle small SYMBOL_REFs anywhere, not just inside memories.
17490         * config/alpha/alpha-protos.h: Update.
17491         * config/alpha/alpha.h (PREDICATE_CODES): Update.
17492         * config/alpha/alpha.md (small symbolic operand splitter): Update.
17494 2002-02-17  Roland McGrath  <roland@frob.com>
17496         * config.gcc (powerpc-*-gnu-gnualtivec*,
17497         powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
17498         * config/rs6000/gnu.h: New file.
17499         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
17500         Grok "gnu" in rs6000_abi_name.
17501         (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
17502         CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
17503         Grok -mcall-gnu analogous to -mcall-linux et al.
17504         (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
17505         LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
17506         (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
17508 2002-02-17  Jakub Jelinek  <jakub@redhat.com>
17510         PR c/3444:
17511         * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
17512         shortening.
17514 2002-02-17  Philipp Thomas  <pthomas@suse.de>
17516         * config/cris/cris.h: Undefine STARTFILE_SPEC and
17517         ENDFILE_SPEC before (re)defining them.
17519 2002-02-17  Kazu Hirata  <kazu@hxi.com>
17521         * config/h8300/h8300.c: Fix formatting.
17522         * config/h8300/h8300.h: Likewise.
17524 2002-02-17  Philipp Thomas  <pthomas@suse.de>
17526         * doc/tm.texi: Explain why empty strings should not be
17527         marked for translation.
17529 2002-02-17  Philipp Thomas  <pthomas@suse.de>
17531         * final.c (output_operand_lossage): Changed to accept
17532         printf style arguments. Change calls where necessary.
17533         * output.h (output_operand_lossage): Change declaration
17534         accordingly. Update copyright.
17535         * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
17536         config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
17537         Update copyright date where necessary.
17539         * config/i386/i386.c (print_operand): Likewise. Remove use of
17540         sprintf.
17542         * config/cris/cris.c (cris_operand_lossage): Likewise.
17543         Rename parameter so that exgettext recognizes it as
17544         translatable message.
17545         (LOSE_AND_RETURN): Rename parameter to msgid.
17547 2002-02-17  Kazu Hirata  <kazu@hxi.com>
17549         * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
17550         hard coded register number with an appropriate macro.
17551         (HARD_REGNO_MODE_OK): Likewise.
17552         (ARG_POINTER_REGNUM): Likewise.
17553         (STATIC_CHAIN_REGNUM): Likewise.
17554         (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
17555         * config/h8300/h8300.md (define_constants): Define more
17556         register numbers.
17558 2002-02-17  Philipp Thomas  <pthomas@suse.de>
17560         * config/i386/i386.h: Don't mark empty strings for translation.
17562 2002-02-16  H.J. Lu <hjl@gnu.org>
17564         * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
17566 2002-02-16  Zack Weinberg  <zack@codesourcery.com>
17568         * cppinit.c (merge_include_chains): Check for brack being
17569         NULL before attempting to merge it with qtail.
17571 2002-02-16  Andrew Cagney  <ac131313@redhat.com>
17573         * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
17574         DBX_DEBUG.
17576 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17578         * pa/t-pa, pa/t-pro, som.h: Revert last patch.
17580 2002-02-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17582         * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
17583         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
17584         * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
17586 Sat Feb 16 13:48:50 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17588         * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
17589         now only if !TARGET_FIX.
17590         (*movsi_nt_vms_fix): New pattern.
17592 2002-02-16  Douglas B Rupp  <rupp@gnat.com>
17594         * config/alpha/alpha.c: Implement null frame procedure types on VMS.
17595         (alpha_procedure_type): Replaces alpha_is_stack_procedure.
17596         (alpha_sa_mask, alpha_sa_size): Reflect above change.
17597         (alpha_pv_save_size, alpha_expand_prologue): Likewise.
17598         (alpha_start_function, alpha_expand_epilogue): Likewise.
17599         (unicosmk_gen_dsib): Likewise.
17601 Sat Feb 16 13:39:09 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17603         * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
17605 2002-02-16  Ulrich Weigand  <uweigand@de.ibm.com>
17607         * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
17608         check_and_change_labels, s390_final_chunkify): Delete.
17609         (s390_split_branches, s390_chunkify_pool): New functions.
17610         (s390_function_prologue): Call them.
17612         * config/s390/s390.h (S390_REL_MAX): Delete.
17613         (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
17615         * config/s390/s390.md (cjump, icjump, jump): Fix length
17616         attribute calculation.
17619 2002-02-15  David Edelsohn  <edelsohn@gnu.org>
17621         * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
17622         * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
17624 2002-02-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17626         * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
17627         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
17628         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
17630 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
17632         * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
17634 2002-02-15  Richard Sandiford  <rsandifo@redhat.com>
17636         * reload.c (find_dummy_reload): Check that an output register
17637         is valid for its mode.
17639 2002-02-14  Alexandre Oliva  <aoliva@redhat.com>
17641         * combine.c (known_cond): After replacing the REG of a SUBREG, try
17642         to simplify it.
17644         * function.c (assign_parms): Demote promoted argument passed by
17645         transparent reference.
17647 2001-02-14      Joel Sherrill <joel@OARcorp.com>
17649         * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
17650         -Acpu() and -Amachine() to eliminate warnings.
17652 2002-02-14  Ulrich Weigand  <uweigand@de.ibm.com>
17654         * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
17656 2002-02-14  Kazu Hirata  <kazu@hxi.com>
17658         * config/h8300/h8300-protos.h: Update the prototype for
17659         const_costs.
17660         * config/h8300/h8300.c (const_costs): Treat SET as a little
17661         more expensive operation.
17662         * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
17663         reference to const_costs.
17665 2002-02-14  Hans-Peter Nilsson  <hp@axis.com>
17667         * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
17669 2002-02-14  Jakub Jelinek  <jakub@redhat.com>
17671         PR c/5503:
17672         * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
17673         use arguments from newtype.
17675 2002-02-13  Eric Christopher  <echristo@redhat.com>
17677         * config/mips/mips.c (override_options): Add check for march/mipsX
17678         on the same command line. Fix error message in cpu processing.
17679         Remove architecture and ISA checks.
17681 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
17683         * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
17685         * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
17687 2002-02-14  Aldy Hernandez  <aldyh@redhat.com>
17689         * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
17690         alternatives.
17691         ("*movv8hi_internal1"): Same.
17692         ("*movv16qi_internal1"): Same.
17693         ("*movv4sf_internal1"): Same.
17695         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
17696         not push_reload for altivec modes.
17698 2002-02-13  Joel Sherrill  <joel@OARcorp.com>
17700         * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
17701         all RTEMS targets including removal of #includes from config/*/rtems*.h
17702         file and adding them to tm_file setting. Added xm_defines=POSIX to
17703         many targets.
17704         * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
17705         * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
17706         * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
17707         * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
17708         * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
17709         config/m68k/rtemself.h: Ditto.
17710         * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
17711         config/mips/rtems64.h: Ditto.
17712         * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
17713         * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
17714         Ditto.
17715         * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
17716         config/sparc/rtemself.h: Ditto.
17717         * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
17718         * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
17719         arm-rtems stanza closer to other arm-elf targets and made arm-rtems
17720         more like arm-elf.
17721         * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
17722         config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
17723         target made more similar to i386-elf.
17724         * config/i386/t-rtems-i386: Added soft float support and multilibs.
17725         * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
17726         be similar to config/m68k/t-m68kelf.
17727         * gthr-rtems.h: Encapsulate with extern "C" for C++.
17729 Wed Feb 13 23:41:15 CET 2002  Jan Hubicka  <jh@suse.cz>
17731         * regmove.c (kill_value): Handle subregs.
17733 Wed Feb 13 23:34:30 CET 2002  Jan Hubicka  <jh@suse.cz>
17735         * i386.md (mul patterns): Allow memory operand to be first;
17736         add expanders where needed; fix constraints.
17737         (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
17738         Allow memory operand to be the first.
17740         * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
17741         operands.
17743 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
17745         PR c/5681:
17746         * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
17747         GET_MODE (x).
17749 2002-02-13  Jakub Jelinek  <jakub@redhat.com>
17751         PR optimization/5547:
17752         * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
17753         all valid IA-32 address modes involving non-scaled %ebx and
17754         GOT/GOTOFF as displacement.
17756 2002-02-13  Ulrich Weigand  <uweigand@de.ibm.com>
17758         * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
17759         after emitting ltorg insns.
17761         * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
17762         *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
17763         *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
17764         *abssf2): Fix "op_type" attribute.
17766 2002-02-13  Douglas B Rupp  <rupp@gnat.com>
17768         * mkconfig.sh: Avoid using a subshell redirect.
17769         ($output.T): Change to $(output)T.
17770         (ENABLE_NLS): Remove unneeded undef.
17772         * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
17773         * config/alpha/x-vms (libsubdir): Define.
17775         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
17776         register frame procedures. Optimize retrieving context.
17778         * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
17779         (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
17780         * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
17782 Wed Feb 13 09:45:08 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17784         * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
17785         Make same change as for find_base_value.
17787 2002-02-13  Kazu Hirata  <kazu@hxi.com>
17789         * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
17790         of QImode and SImode.
17792 2002-02-13  Kazu Hirata  <kazu@hxi.com>
17794         * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
17795         length computation of movsi.
17796         * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
17798 2002-02-13  Kazu Hirata  <kazu@hxi.com>
17800         * config/h8300/h8300.md (subqi3): Tighten the predicate for
17801         operands[2] to register_operand.
17803 Wed Feb 13 10:35:56 CET 2002  Jan Hubicka  <jh@suse.cz>
17805         * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
17807 2002-02-12  Aldy Hernandez  <aldyh@redhat.com>
17809         * config/rs6000/rs6000.md: Use predicate altivec_register_operand
17810         for altivec_lvx* and altivec_stvx*.
17811         ("*movv4si_internal"): Add constraint for loading from GPRs.
17812         ("*movv8hi_internal1"): Same.
17813         ("*movv16qi_internal1"): Same.
17814         ("*movv4sf_internal1"): Same.
17816         * config/rs6000/rs6000.c (altivec_register_operand): New.
17818         * config/rs6000/rs6000.h (PREDICATE_CODES): Add
17819         altivec_register_operand.
17821 2002-02-13  Hans-Peter Nilsson  <hp@bitrange.com>
17823         * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
17824         handle SYMBOL_REF.
17826 2002-02-13  Stan Shebs  <shebs@apple.com>
17828         * c-typeck.c (digest_init): Handle vectors.
17829         (really_start_incremental_init): Same.
17830         (pop_init_level): Same.
17831         (process_init_element): Same.
17833         * varasm.c (output_constant): Same.
17835         * expr.c (clear_storage): Same.
17836         (store_constructor): Same.
17838 2002-02-12  Eric Christopher  <echristo@redhat.com>
17840         * explow.c (hard_function_value): Add comment explaining
17841         signed/unsigned comparison.
17843 2002-02-12  Jakub Jelinek  <jakub@redhat.com>
17845         * jump.c (never_reached_warning): Add finish argument.
17846         If finish is NULL, stop on CODE_LABEL, otherwise stop before first
17847         real insn after end.
17848         * rtl.h (never_reached_warning): Adjust prototype.
17849         * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
17850         * cfgrtl.c (flow_delete_block): Pass b->end as finish to
17851         never_reached_warning.
17853 2002-02-12  Graham Stott  <grahams@redhat.com>
17855         * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
17857 2002-02-12  Kazu Hirata  <kazu@hxi.com>
17859         * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
17860         logical shifts on H8/300.
17861         (shift_alg_si): Improve several shifts on H8/300.
17862         (get_shift_alg): Likewise.
17864 2002-02-12  Graham Stott  <grahams@redhat.com>
17866         * config/pa/pa.c (compute_movstrsi_length): Fix typos.
17868 Tue Feb 12 10:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
17870         * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
17871         Handle #ifdef POINTERS_EXTEND_UNSIGNED.
17873 2002-02-11  Hans-Peter Nilsson  <hp@bitrange.com>
17875         * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
17876         non-CONST_INT through default_assemble_integer.
17877         <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
17878         <case 8>: Abort for CONST_DOUBLE.
17880 2002-02-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17882         * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
17883         is specified.
17884         * config/pa/pa-linux.h (LIB_SPEC): Delete.
17885         * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
17887 2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>
17889         * config/stormy16/stormy16.md (zero_extendqihi2): New.
17891 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
17893         * regrename.c (regrename_optimize): Don't accept a
17894         part-clobbered register if the replaced register is not part
17895         clobbered.
17897         * calls.c (store_one_arg): In the non-BLKmode non-partial case,
17898         take padding into account when computing the argument value.
17900         * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
17902         * combine.c (try_combine): Apply substitutions in
17903         CALL_INSN_FUNCTION_USAGE too.
17905 2002-02-11  Aldy Hernandez  <aldyh@redhat.com>
17907         * config/rs6000/rs6000.c (altivec_init_builtins): Handle
17908         __builtin_altivec_abs*.
17909         (bdesc_abs): New.
17911         * config/rs6000/rs6000.h (rs6000_builtins): Add
17912         ALTIVEC_BUILTIN_ABS*.
17914         * config/rs6000/altivec.h: Use const char for builtins expecting
17915         literals.
17916         (vec_abs): New versions for C and C++.
17917         (vec_abss): Same.
17919 2002-02-10  Kazu Hirata  <kazu@hxi.com>
17921         * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
17922         using Pmode.
17924 2002-02-10  Kazu Hirata  <kazu@hxi.com>
17926         * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
17927         constant definition from h8300.md.
17928         (FRAME_POINTER_REGNUM): Likewise.
17929         * config/h8300/h8300.md (define_constants): Add FP_REG.
17931 2002-02-10  Kazu Hirata  <kazu@hxi.com>
17933         * config/h8300/h8300.c (print_operand): Remove redundant code.
17935 2002-02-10  Kazu Hirata  <kazu@hxi.com>
17937         * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
17938         * config/h8300/h8300.c (byte_reg): Make it static.
17940 2002-02-10  Richard Henderson  <rth@redhat.com>
17942         PR c/5623
17943         * c-typeck.c (incomplete_type_error): Handle flexible array members.
17945 2002-02-10  Richard Henderson  <rth@redhat.com>
17947         PR c++/5624
17948         * tree.c (append_random_chars): Don't abort if main_input_filename
17949         does not exist.
17951 2002-02-10  Hans-Peter Nilsson  <hp@bitrange.com>
17953         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
17955 2002-02-10  Kazu Hirata  <kazu@hxi.com>
17957         * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
17958         (pushhi1): Likewise.
17960 2002-02-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17962         * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
17963         * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
17965 2002-02-09  David O'Brien  <obrien@FreeBSD.org>
17967         * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
17968         remove MASK_VIS.
17969         (ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.
17971 2002-02-09  Kazu Hirata  <kazu@hxi.com>
17973         * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
17974         a half of an SImode register on H8/300.
17976 Sat Feb  9 18:28:02 CET 2002  Jan Hubicka  <jh@suse.cz>
17978         * i386.md (movdi_2): Add missing '!'.
17980 2002-02-09  Kazu Hirata  <kazu@hxi.com>
17982         * config/h8300/h8300.h: Fix formatting.  Remove commented-out
17983         definitions.
17985 2002-02-09  Kazu Hirata  <kazu@hxi.com>
17987         * config/h8300/h8300.md (length): Correct the distance valid
17988         for the short branch.
17990 2002-02-09  Kazu Hirata  <kazu@hxi.com>
17992         * config/h8300/h8300.md (iorhi3): Tighten the predicates.
17994 2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
17996         * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
17997         registers in SImode.
17998         (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
17999         part-clobbered.
18001         * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
18002         patch.
18004         Contribute sh64-elf.
18005         2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
18006         * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
18007         (sh_cannot_modify_jumps_p): New function.
18008         2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
18009         * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
18010         (sh_ms_bitfield_layout_p): New function.
18011         2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
18012                     Zack Weinberg  <zack@codesourcery.com>
18013         * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
18014         expand_simple_binop instead of expand_binop.
18015         2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
18016         * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
18017         use of .quad and .uaquad.
18018         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
18019         TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
18020         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
18021         * config/sh/sh.md (movdi_const, movdi_const_32bit,
18022         movdi_const_16bit): Make sure all CONSTs have modes.
18023         (sym2PIC): Ditto, but by adjusting all callers.
18024         * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
18025         if the prologue calls the SHmedia argument decoder or register
18026         saver.
18027         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
18028         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
18029         (TARGET_ASM_ALIGNED_DI_OP): Likewise.
18030         (sh_expand_epilogue): Don't emit USE of return target register.
18031         (prepare_move_operands): Legitimize DImode PIC addresses.
18032         (sh_media_register_for_return): Skip tr0, used to initialize the
18033         PIC register.
18034         (sh_expand_prologue): Remove explicit USE of return register.
18035         (nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
18036         CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
18037         * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
18038         (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
18039         (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
18040         EXTRA_CONSTRAINT_T.
18041         (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
18042         (MOVI_SHORI_BASE_OPERAND_P): New.
18043         (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
18044         (EXTRA_CONSTRAINT_T): Define in terms of them.
18045         (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
18046         * config/sh/sh.md (movsi_media, movsi_media_nofpu,
18047         movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
18048         alternatives supporting TARGET_REGS.
18049         (UNSPEC_GOTPLT): New constant.
18050         (movdi split): Move incrementing of LABEL_NUSES...
18051         (movdi_const, movdi_const_32bit): Here.  Use
18052         MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
18053         (movdi_const_16bit): New.
18054         (call, call_value) [flag_pic]: Use GOTPLT.
18055         (call_pop, call_value_pop): New expands.
18056         (call_pop_compact, call_pop_rettramp): New insns.
18057         (call_value_pop_compact, call_value_pop_rettramp): New insns.
18058         (sibcall) [flag_pic]: Use GOT.
18059         (builtint_setjmp_receiver): Remove bogus, unused expand.
18060         (GOTaddr2picreg): Implement for SHcompact and SHmedia.
18061         (*pt, *ptb, ptrel): New insns.
18062         (sym2GOT): Handle DImode GOT.
18063         (sym2GOTPLT, symGOTPLT2reg): New expands.
18064         (sym2PIC): New expand.
18065         (shcompact_return_tramp): Use GOTPLT to return trampoline.
18066         (shcompact_return_tramp_i): Use return register explicitly.
18067         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
18068         disable flag_reorder_blocks.
18069         2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
18070         * config/sh/sh.md (sibcall_compact): Reorder return, uses and
18071         clobbers, for clarity.
18072         (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
18073         restoring of r0 in macl as MAYBE_DEAD.
18074         2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
18075         * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
18076         * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
18077         alter_subreg all over.
18078         (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
18079         reload, instead of emitting instructions that would require
18080         reloading.
18081         (casesi_load_media): Add missing modes.
18082         2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
18083         * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
18084         as used if the argument decoder is called.
18085         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
18086         * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
18087         Pmode, then extend it to DImode if necessary.
18088         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
18089         * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
18090         constants in FPU-enabled SHmedia, let them be loaded from memory.
18091         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
18092         * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
18093         Adjust whitespace in assembly output templates.
18094         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
18095         * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
18096         mode of if_then_else.
18097         2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
18098         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
18099         sh.h.
18100         2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
18101                     Joern Rennecke <amylaar@redhat.com>
18102         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
18103         (SUBTARGET_CPP_PTR_SPEC): New.
18104         (SUBTARGET_CPP_SPEC): Remove.
18105         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
18106         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
18107         Fix typo in previous checkin.
18108         2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
18109         * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
18110         2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
18111                     Alexandre Oliva  <aoliva@redhat.com>
18112         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
18113         what single FP register can hold for SHmedia target.
18114         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
18115                     Alexandre Oliva  <aoliva@redhat.com>
18116         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
18117         Do not split into SUBREG.
18118         2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
18119         * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
18120         and added new functions as specified in SH5 ABI r9.
18121         2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
18122         * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
18123         8-byte boundary.
18124         2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
18125         * config/sh/sh.c (dump_table): Add const0_rtx in calls of
18126         gen_consttable_4 and gen_consttable_8.  Emit multiple labels
18127         and consttable_window_ends.
18128         2001-06-03  Graham Stott  <grahams@redhat,com>
18129         * config/sh/sh.md (movdi split): Remove unused variable last_insn.
18130         2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
18131         * config/sh/sh.c (print_operand): Handle floating-point pair,
18132         vector and matrix registers.
18133         * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
18134         vector modes into account.
18135         * config/sh/sh.md (movv2sf): Split move between registers into
18136         movdf.
18137         (movv4sf, movv16sf): Introduce insns that get split only after
18138         reload.
18139         * config/sh/shmedia.h: Fix Copyright dates.
18140         * config/sh/ushmedia.h: Likewise.  Move loop counter
18141         declarations into conditionals that uses them.
18142         (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
18143         loop boundary.
18144         * config/sh/sshmedia.h: Fix Copyright dates.
18145         (sh_media_PUTCFG): Fix constraints.
18146         2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
18147         * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
18148         ptrmemfunc_vbit_in_delta for SH5.
18149         2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
18150         * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
18151         * invoke.texi: Likewise.
18152         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
18153         * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
18154         GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
18155         GCC_pop_shmedia_regs_nofpu): New global symbols.
18156         * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
18157         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
18158         * config/sh/sh.c (calc_live_regs): Account for PR's saving in
18159         compact function with nonlocal labels.
18160         (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
18161         (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
18162         (initial_elimination_offset): Account for their stack space.
18163         * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
18164         * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
18165         movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
18166         movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
18167         least one of the operands to be a register.
18168         (movv2sf): Likewise.  Renamed to movv2sf_i.
18169         (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
18170         prepare_move_operands() before emitting SHmedia insns.
18171         2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
18172         * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
18173         Don't save nor initialize r12.  Don't mis-align the stack.
18174         Pad the code with a nop.
18175         * config/sh/crti.asm: Don't restore r12.  Don't mis-align the
18176         stack.
18177         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
18178         * gcc/longlong.h (__umulsidi3, count_leading_zeros)
18179         [__SHMEDIA__]: Implement.
18180         2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
18181         * config/sh/sh.md: Set latency of `pt' closer to reality.
18182         (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
18183         movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
18184         Set move, load and store type attributes.
18185         * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
18186         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
18187         profiling.
18188         * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
18189         * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
18190         * config/sh/sh.c (sh_media_register_for_return): New function.
18191         (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
18192         branch-target register.
18193         (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
18194         * config/sh/sh.md (return_media_i): Use any call-clobbered
18195         branch-target register.
18196         (return_media): If r18 wasn't copied in the prologue, copy it
18197         here.
18198         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
18199         Clear class FP0_REGS.
18200         * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
18201         from elf.h.
18202         2001-03-08  DJ Delorie  <dj@redhat.com>
18203         * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
18204         2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
18205         * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
18206         2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
18207         * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
18208         2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
18209         * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
18210         return value correctly for call_cookie.
18211         2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
18212         * config/sh/crt1.asm (start): Modified so as to call
18213         ___setup_argv_and_call_main.
18214         2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
18215         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
18216         SHmedia mode.
18217         2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
18218         * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
18219         (STRIP_NAME_ENCODING): Use it.
18220         (ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
18221         2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
18222         * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
18223         prepare_scc_operands().
18224         * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
18225         (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
18226         2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
18227         * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
18228         2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
18229         * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
18230         * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
18231         used in shcompact_incoming_args.
18232         * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
18233         change.
18234         * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
18235         mode.
18236         * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
18237         Adjust accordingly.
18238         * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
18239         Simplify.  Adjust.  Add sanity check.
18240         * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
18241         FPU_SINGLE_BIT.
18242         * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
18243         TARGET_SHCOMPACT.
18244         (udivsi3, divsi3): Use them.
18245         (force_mode_for_call): New insn.
18246         (call, call_value, sibcall_value): Emit it before SHcompact
18247         calls.
18248         2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
18249         * config/sh/sh.md (call, call_value, sibcall): Make sure the
18250         call cookie is non-NULL before taking its value.
18251         2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
18252         * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
18253         2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
18254         * config/sh/sh.md (shcompact_incoming_args): Set argument memory
18255         block.
18256         * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
18257         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
18258         temporary for stack adjusts.  Use MACL and MACH to pass
18259         arguments to shcompact_incoming_args.
18260         * config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
18261         clobber r1.
18262         * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
18263         (nested_trampoline): Load static chain address into r1.
18264         * config/sh/sh.md (movdi_media splits): Fix sign-extension.
18265         2001-01-07  Alexandre Oliva  <aoliva@redhat.com
18266         * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
18267         fp_arith_reg_operand().
18268         2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
18269         * config/sh/sh.md (casesi): Sign-extend the first two operands,
18270         and use signed compares for them.
18271         * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
18272         4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
18273         ones properly aligned.
18274         (find_barrier): Account for extra alignment needed for 8-byte wide
18275         constants.
18276         (machine_dependent_reorg): Require a label for the second 4-byte
18277         constant after an 8-byte one.
18278         * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
18279         change.
18280         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
18281         * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
18282         last_float when switching float modes.
18283         * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
18284         auto-increment for general-purpose registers.
18285         * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
18286         result.
18287         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
18288         for stack adjust.
18289         * config/sh/sh.c (sh_builtin_saveregs): Support using all
18290         registers for varargs.
18291         2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
18292         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
18293         * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
18294         CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
18295         (CALL_COOKIE_INT_REG_SHIFT): Adjust.
18296         (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
18297         call_cookie accordingly.
18298         (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
18299         (SHCOMPACT_BYREF): Likewise.
18300         (SHCOMPACT_FORCE_ON_STACK): New macro.
18301         * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
18302         (sh_builtin_saveregs): Likewise.
18303         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
18304         shcompact_incoming_args): Use new shift values.  Support
18305         sequences of consecutive and non-consecutive pushes/pops.
18306         * config/sh/sh.md (return): Don't explicitly use PR_REG.
18307         2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
18308         * config/sh/sh.h (TEXT_SECTION): Define.
18309         * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
18310         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
18311         * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
18312         * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
18313         return values on FPU-enabled SHmedia.
18314         (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
18315         FPU-enabled SHmedia.
18316         (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
18317         value is returned in a non-FP reg and is not returned by
18318         reference.
18319         * config/sh/sh.md (shcompact_return_tramp_i): Change type to
18320         jump_ind.
18321         2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
18322         * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
18323         (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
18324         quad-aligned to be passed by callee-copy reference.
18325         2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
18326         * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
18327         * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
18328         2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
18329         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
18330         copying low-numbered FP regs to r7 and r8.
18331         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
18332         FP regs to general-purpose regs only if the copy was passed on the
18333         stack.
18334         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
18335         copying FP reg to r9.
18336         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
18337         copy FP regs to general-purpose regs only in outgoing calls.
18338         * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
18339         change from     2000-10-30.  Adjust for 64-bit (or 32-bit)
18340         HOST_WIDE_INT.
18341         * config/sh/sh.h (struct sh_args): Document all fields.
18342         (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
18343         passed partially on the stack should not consider making
18344         sibcalls.
18345         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
18346         stack_regs only for incoming calls.  When passing FP args,
18347         make sure there are FP regs available before modifying
18348         call_cookie.
18349         (SHCOMPACT_BYREF): Pass double args in general-purpose
18350         registers by reference.
18351         2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
18352         * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
18353         attempt to generate sibcalls if the caller got any arguments
18354         by reference.
18355         * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
18356         * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
18357         to 8-byte boundaries.
18358         * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
18359         * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
18360         * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
18361         stored in the stack.
18362         * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
18363         for the offsets to have the ISA bit set.
18364         (shcompact_call_trampoline): Document.  Swap r0 and r1, to match
18365         invocation.  Use beq instead of bgt to mark end of sequence of
18366         loads.
18367         (shcompact_incoming_args): Fix store of r2.  Use beq instead of
18368         bgt to mark end of sequence of stores.
18369         * config/sh/sh.c (arith_operand): Don't check whether
18370         CONST_OK_FOR_J for now.
18371         * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
18372         instead of long for conversion.
18373         2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
18374         * config/sh/sh.c (print_operand_address): Convert INTVAL to int
18375         before passing it to fprintf.
18376         2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
18377         * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
18378         Call set_fpscr before reading/writing SR.
18379         * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
18380         Call set_fpscr.
18381         * config/sh/lib1funcs.asm: Add `.align 2' directives before
18382         SHmedia code.
18383         (FMOVD_WORKS): Define on SH5 with FPU.
18384         (set_fpscr): Define on SH5.  Remove separate _fpscr_values
18385         setting.
18386         * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
18387         _fpscr_values.
18388         2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
18389         * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
18390         address.
18391         (ia_main_table): Ditto.
18392         2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
18393         * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
18394         * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
18395         the definitions from sh.h.
18396         * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
18397         TARGET_SH5.
18398         (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
18399         * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
18400         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
18401         2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
18402         * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
18403         Increment LABEL_NUSES.
18405         * config/sh/sh.h (SIZE_TYPE): Define as conditional on
18406         TARGET_SH5.
18407         (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
18408         defined.
18409         * config/sh/elf.h (SIZE_TYPE): Likewise.
18410         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
18411         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
18412         shcompact_incoming_args): Load switch table addresses using
18413         datalabel.
18414         * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
18415         (NO_BUILTIN_SIZE_TYPE): Define.
18416         (SIZE_TYPE): Don't define.
18417         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
18418         * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
18419         definition of __SH5__=32 for -m5-compact-nofpu.
18420         * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
18421         ADDR_DIFF_VEC.
18422         2000-12-24  Alexandre Oliva  <aoliva@redhat.com>
18423         * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
18424         2000-12-23  Alexandre Oliva  <aoliva@redhat.com>
18425         * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
18426         (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
18427         (INSN_LENGTH_ALIGNMENT): Likewise.
18428         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
18429         * config/sh/sh.md (call, call_value, sibcall): Simplify
18430         copying of non-branch-target register.
18431         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
18432         * glimits.h (__LONG_MAX__): Revert      2000-12-13's patch.
18433         * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
18434         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
18435         * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
18436         floating-point values as structs.
18437         (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
18438         (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
18439         general-purpose register.
18440         (SH5_PROTOTYPED_FLOAT_ARG): New macro.
18441         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
18442         * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
18443         * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
18444         * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
18445         (ENCODE_SECTION_INFO): Enclose variables and constants in
18446         DATALABEL unspecs.
18447         (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
18448         (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
18449         (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
18450         * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
18451         only for LABEL_REFs.  For SYMBOL_REFs, prepend
18452         SH_DATALABEL_ENCODING to the symbol name.
18453         * config/sh/sh.md (indirect_jump): Use SUBREG instead of
18454         convert_mode().
18455         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
18456         * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
18457         UNSPEC_DATALABEL.
18458         * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
18459         * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
18460         (DATALABEL_REF_P): Don't require CONST.
18461         (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
18462         REL label.
18463         2000-12-19  Alexandre Oliva  <aoliva@redhat.com>
18464         * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
18465         right.
18466         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
18467         * config/sh/sh.md (movsi_media, call, call_value, sibcall):
18468         Use shallow_copy_rtx and PUT_MODE to change the mode of
18469         SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
18470         * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
18471         on SHmedia using GENERAL_REGs.
18472         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
18473         bltu_media_i): Fix reversion of conditions.
18474         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
18475         * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
18476         * config/sh/sh.c (output_far_jump): Save r13 in macl.
18477         2000-12-17  Alexandre Oliva  <aoliva@redhat.com>
18478         * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
18479         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
18480         * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
18481         (GCC_nested_trampoline): Likewise.
18482         * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
18483         * config/sh/sh.c (gen_datalabel_ref): Define.
18484         * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
18485         (INITIALIZE_TRAMPOLINE): Likewise.
18486         (TRAMPOLINE_ADJUST_ADDRESS): Define.
18487         (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
18488         (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
18489         (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
18490         * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
18491         (ic_invalidate): Adjust for SH5.
18492         (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
18493         * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
18494         _nested_trampoline.
18495         2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
18496         * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
18497         (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
18498         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
18499         * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
18500         * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
18501         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
18502         * config/sh/sh.c (target_reg_operand): Match only target-branch
18503         registers and pseudos that aren't virtual registers.
18504         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
18505         Copy operands that don't match target_reg_operand to pseudos.
18506         (call_media, call_value_media, sibcall_media): Use
18507         target_reg_operand instead of target_operand.
18508         2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
18509         * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
18510         * config/sh/sh.c (target_reg_operand): Match hardware registers
18511         other than branch-target registers.
18512         * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
18513         * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
18514         (fpscr_values) [SH5 == 32]: Define.
18515         * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
18516         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
18517         Handle function addresses coming in SUBREGs.
18518         2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
18519         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
18520         shcompact_return_trampoline): Use datalabel where appropriate.
18521         2000-12-09  Alexandre Oliva  <aoliva@redhat.com>
18522         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
18523         general-purpose register to copy one branch-target register to
18524         another.
18525         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
18526         * config/sh/sh.c (target_operand): Accept LABEL_REFs and
18527         SYMBOL_REFs with VOIDmode.
18528         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
18529         bltu_media_i): New insns.
18530         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
18531         * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
18532         (INIT_CUMULATIVE_ARGS): Likewise.
18533         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
18534         * machmode.def (V16SFmode): New mode.
18535         * c-common.c (type_for_mode): Support V2SF and V16SF.
18536         * tree.c (build_common_tree_nodes_2): Likewise.
18537         * tree.h (tree_index): Likewise.
18538         * calls.c (emit_call_1): Take args_so_far.  Adjust all
18539         callers.  Introduce CALL_POPS_ARGS.
18540         * tm.texi (CALL_POPS_ARGS): Document.
18541         * config/sh/crt1.asm: Implement in SHmedia mode.
18542         * config/sh/crti.asm, config/sh/crtn.asm: Likewise
18543         * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
18544         (DBX_REGISTER_NUMBER): Renumber registers for SH5.
18545         * config/sh/lib1funcs.asm: Disable functions unused in SH5.
18546         Implement divsi and udivsi in SHmedia mode.  Introduce
18547         SHcompact trampolines.
18548         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
18549         only in SHmedia64.
18550         (regno_reg_class): Rewrite.
18551         (fp_reg_names): Remove.
18552         (sh_register_names, sh_additional_register_names): New.
18553         (print_operand): Added `u'.  Support SUBREGs in addresses.
18554         Add parentheses around shifted CONSTs.
18555         (output_file_start): Output .mode and .abi directives.
18556         (shiftcosts, addsubcosts, multcosts): Adjust.
18557         (output_stack_adjust): Compute alignment.  Sanity-check SIZE.
18558         (push_regs): Take array of HOST_WIDE_INTs.  Adjust callers.
18559         (calc_live_regs): Output to array of HOST_WIDE_INTs.  Count
18560         bytes, not registers.  Take into account the need for the
18561         SHcompact incoming args trampoline.  Adjust all callers.
18562         (sh_expand_prologue): Take stack_regs into account.  Call
18563         incoming args trampoline.  Keep stack aligned as per SH5 ABI.
18564         (sh_expand_epilogue): Take stack_regs into accoutn.  Keep
18565         stack aligned as per SH5 ABI.
18566         (sh_builtin_saveregs): Support SH5 ABI.
18567         (sh_build_va_list, sh_va_start): Likewise.
18568         (initial_elimination_offset): Take alignment into account.
18569         Compute location of PR according to the SH5 stack frame.
18570         (arith_reg_operand): Reject branch-target registers.
18571         (shmedia_6bit_operand): New.
18572         (logical_operand): Use CONST_OK_FOR_P on SHmedia.
18573         (target_reg_operand): Match DImode only.  Accept SUBREGs.
18574         (target_operand): New.
18575         * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
18576         (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI.  Initialize
18577         SIBCALL_REGS for SHmedia.
18578         (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
18579         (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
18580         (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
18581         (TARGET_SWITCHES): New SH5 flags.
18582         (OVERRIDE_OPTIONS): Set SH5-specific options.  Use
18583         VALID_REGISTER_P to disable unsupported registers.
18584         (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
18585         (POINTER_SIZE, PARM_BOUNDARY): Adjust.
18586         (FUNCTION_ARG_PADDING): Define.
18587         (FASTEST_ALIGNMENT): Adjust.
18588         (SH_REGISTER_NAMES_INITIALIZER): New.
18589         (sh_register_names): Declare.
18590         (DEBUG_REGISTER_NAMES): Define.
18591         (REGISTER_NAMES): Define based on sh_register_names.
18592         (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
18593         (sh_additional_register_names): Declare.
18594         (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
18595         (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
18596         (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
18597         (REGISTER_NATURAL_MODE): Define.
18598         (FIRST_PSEUDO_REGISTER): Adjust.
18599         (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
18600         (HARD_REGNO_CALL_PART_CLOBBERED): Define.
18601         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
18602         (VECTOR_MODE_SUPPORTED_P): Define.
18603         (REG_CLASS_CONTENTS): Adjust.
18604         (SMALL_REGISTER_CLASSES): Adjust.
18605         (REG_ALLOC_ORDER): Adjust.
18606         (INDEX_REG_CLASS): Adjust.
18607         (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
18608         (CONST_OK_FOR_LETTER_P): Adjust.
18609         (PREFERRED_RELOAD_CLASS): Adjust.
18610         (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
18611         (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
18612         (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
18613         (FIRST_FP_PARM_REG): Adjust.
18614         (CALL_POPS_ARGS): Define.
18615         (FUNCTION_ARG_REGNO_P): Adjust.
18616         (struct sh_args): New fields.
18617         (GET_SH_ARG_CLASS): Adjust.
18618         (INIT_CUMULATIVE_ARGS): Adjust.
18619         (INIT_CUMULATIVE_INCOMING_ARGS): Define.
18620         (FUNCTION_ARG_ADVANCE): Adjust.
18621         (FUNCTION_ARG): Adjust.
18622         (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
18623         (FUNCTION_ARG_CALLEE_COPIES): Define.
18624         (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
18625         (STRICT_ARGUMENT_NAMING): Define.
18626         (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
18627         (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
18628         (SH5_WOULD_BE_PARTIAL_NREGS): Define.
18629         (SETUP_INCOMING_VARARGS): Adjust.
18630         (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
18631         (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
18632         (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
18633         (SUBREG_OK_FOR_INDEX_P): Adjust.
18634         (EXTRA_CONSTRAINT_S): Update.
18635         (EXTRA_CONSTRAINT_T): New.
18636         (EXTRA_CONSTRAINT): Adjust.
18637         (GO_IF_LEGITIMATE_INDEX): Adjust.
18638         (GO_IF_LEGITIMATE_ADDRESS): Adjust.
18639         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
18640         (MOVE_MAX): Adjust.
18641         (MAX_MOVE_MAX): Define.
18642         (Pmode): Adjust.
18643         (CONST_COSTS): Adjust.
18644         (REGISTER_MOVE_COST): Adjust.
18645         (BRANCH_COST): Adjust.
18646         (TEXT_SECTION_ASM_OP): Adjust.
18647         (DBX_REGISTER_NUMBER): Adjust.
18648         (ASM_OUTPUT_DOUBLE_INT): New.
18649         (UNALIGNED_DOUBLE_INT_ASM_OP): New.
18650         (PREDICATE_CODES): Adjust.
18651         (PROMOTE_MODE): Adjust.
18652         (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
18653         * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
18654         (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
18655         (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
18656         (DR0_REG, DR2_REG, DR4_REG): Renumber.
18657         (TR0_REG, TR1_REG, TR2_REG): New.
18658         (XD0_REG): Renumber.
18659         (UNSPEC_COMPACT_ARGS): New.
18660         (type): Added pt and ptabs.
18661         (length): Default to 4 on SHmedia.  Default pt length to 12
18662         and     20 on SHmedia32 and SHmedia64, respectively.
18663         (pt): New function unit.
18664         (movdi, movsi): Add types pt and ptabs.  Don't increment LABEL_NUSES.
18665         Add whitespace between operands of SHmedia instructions.
18666         (movdicc): Fix.
18667         (adddi3_media, addsi3_media): Adjust constraints.
18668         (subsi3) [SHmedia]: Force operand 1 into a register.
18669         (udivsi3_i1_media, udivsi3_i4_media): New.
18670         (udivsi3): Support SHmedia.
18671         (divsi3_i1_media, divsi3_i4_media): New.
18672         (divsi3): Support SHmedia.
18673         (anddi3, iordi3, xordi3): Adjust constraints.
18674         (zero_extendhidi2, zero_extendqidi2): New.
18675         (extendsidi2, extendhidi2, extendqidi2): New.
18676         (push, pop, push_e, push_fpul, push_4): Disable on SH5.
18677         (pop_e, pop_fpul, pop_4): Likewise.
18678         (movsi_media): Support FP and BT registers.
18679         (movsi_media_nofpu): New.  Adjust splits to DImode.
18680         (lduw, ldub): Renamed to zero_extend* above.
18681         (movqi_media): Fix typo.
18682         (movdi_media): Support FP and BT registers.
18683         (movdi_media_nofpu): New.  Adjust splits for SHmedia32.
18684         (movdi_const_32bit): New.
18685         (shori_media): Require immediate operand.  Use `u' for output.
18686         (movdf_media, movsf_media): Simplified.
18687         (movdf_media_nofpu, movsf_media_nofpu): New.
18688         (movdf, movsf): Adjust
18689         (movv2sf, movv2sf, movv16sf): New.
18690         (beq_media, beq_media_i): Adjust constraints.  Don't use
18691         scratch BT register.
18692         (bne_media, bne_media_i): Likewise.
18693         (bgt_media, bgt_media_i): Likewise.
18694         (bge_media, bge_media_i): Likewise.
18695         (bgtu_media, bgtu_media_i): Likewise.
18696         (bgeu_media, bgeu_media_i): Likewise.
18697         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
18698         bunordered): Emit jump insn.  Force operands to registers when
18699         needed.
18700         (jump_media, jump): Simplify.
18701         (call_compact, call_compact_rettramp): New.
18702         (call_value_compact, call_value_compact_rettramp): New.
18703         (call_media, call_value_media): Simplify.
18704         (sibcall_compact, sibcall_media): New.
18705         (call, call_value): Adjust for SHmedia and SHcompact.
18706         (sibcall, sibcall_value, untyped_call): Likewise.
18707         (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
18708         (indirect_jump): Adjust for SHmedia.
18709         (casesi_jump_media): New.
18710         (nop): Re-enable for SHmedia.
18711         (call_site): Restrict to SH1.
18712         (casesi): Adjust for SHmedia.
18713         (casesi_shift_media, casesi_load_media): New.
18714         (return): Explicitly use PR register.  Call return trampoline
18715         on SHcompact.
18716         (return_i): Explicitly use PR register.
18717         (shcompact_return_tramp, shcompact_return_tramp_i): New.
18718         (return_media): Adjust.
18719         (shcompact_incoming_args): New.
18720         (epilogue): Adjust.
18721         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
18722         (movstrsi): Disable on SH5.
18723         (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
18724         (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
18725         (subsf3, subsf3_media): Likewise.
18726         (mulsf3, mulsf3_media, mac_media): Likewise.
18727         (divsf3, divsf3_media): Likewise.
18728         (floatdisf2, floatsisf2_media): Likewise.  Adjust constraints.
18729         (floatsisf2, fux_truncsfsi2): Likewise.
18730         (fix_truncsfdi2, fix_truncsfsi2_media): Likewise.  Adjust
18731         constraints.
18732         (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
18733         (cmpunsf_media, cmpsf): Likewise.
18734         (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
18735         (abssf2, abssf2_media): Likewise.
18736         (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
18737         (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
18738         (floatdidf2, floatsidf2_media): Likewise.  Adjust constraints.
18739         (floatsidf2, fix_truncdfsi2): Likewise.
18740         (fix_truncdfdi2, fix_truncdfsi2_media): Likewise.  Adjust
18741         constraints.
18742         (cmpeqdf_media, cmpgtdf_media): Likewise.
18743         (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
18744         (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
18745         (absdf2, absdf2_media): Likewise.
18746         (extendsfdf2, extendsfdf2_media): Likewise.
18747         (truncsfdf2, truncsfdf2_media): Likewise.
18748         * config/sh/sh64.h: New file.
18749         * config/sh/t-sh64: New file.
18750         * config/sh/shmedia.h: New file.
18751         * config/sh/ushmedia.h: New file.
18752         * config/sh/sshmedia.h: New file.
18753         * configure.in: Added sh64-*-elf.
18754         * configure: Rebuilt.
18755         2000-10-10  Alexandre Oliva  <aoliva@redhat.com>
18756         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
18757         (reg_class_from_letter): Use `b' for TARGET_REGS.
18758         (print_operand): Support `%M', `%m', `AND' and
18759         `ASHIFTRT'.  Do not precede constants with `#' on SHmedia.
18760         (andcosts): Adjust for SHmedia.
18761         (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
18762         Likewise.
18763         (target_reg_operand): New function.
18764         * config/sh/sh-protos.h (target_reg_operand): Declare.
18765         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
18766         FP registers on SH5.
18767         (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
18768         on SH4.
18769         (TARGET_REGISTER_P): New macro.
18770         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
18771         (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
18772         (EXTRA_CONSTRAINT_S): New macro.
18773         (EXTRA_CONSTRAINT): Adjust.
18774         (FLOAT_TYPE_SIZE): Define to 32.
18775         (Pmode): DImode on SHmedia.
18776         (CONST_COSTS): Adjust for SHmedia literals.
18777         (PREDICATE_CODES): Added target_reg_operand.
18778         (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
18779         * config/sh/sh.md: Remove all attrs from SHmedia insns.
18780         (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
18781         (cmpdi): Accept SHmedia.
18782         (movdicc_false, movdicc_true): New insns.
18783         (movdicc): New expand.
18784         (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
18785         no_new_pseudos.
18786         (addsi3_media): Match `S' constraint.
18787         (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
18788         (negdi2): Expand for SHmedia.
18789         (one_cmpldi2): New expand.
18790         (zero_extendsidi2): Change from expand to insn.
18791         (extendsidi2): Add constraints.
18792         (movdi_media, movsi_media): Change `%x' to `%M'.  Use `%m' for
18793         LD/ST address.  Fix SI immediate loading split.
18794         (movhi_media, movqi_media, lduw, ldub): New insns.
18795         (movhi, movqi): Accept SHmedia.
18796         (shori_media, movdi_media): Relax input constraints.  Split
18797         symbolic constants.
18798         (movdf_media, movsf_media): New insn.  New split to movdi.
18799         (movdf, movsf): Match on SHmedia.
18800         (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
18801         bgeu_media): New insns and splits.  New insns with `_i' suffix.
18802         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
18803         (bunordered): New expand.
18804         (jump_compact): Renamed from `jump'.
18805         (jump_media): New insn.
18806         (jump): New expand.
18807         (call_media, call_value_media): New insns.
18808         (call, call_value): Adjust.
18809         (indirect_jump_compact): Renamed from `indirect_jump'.
18810         (indirect_jump_media): New insn.
18811         (indirect_jump): New expand.
18812         (untyped_call, return): Accept SHmedia.
18813         (return_media): New insn.
18814         (prologue, epilogue, blockage): Accept SHmedia.
18815         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
18816         (sunordered): New expand.
18817         (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
18818         cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
18819         (addsf3_media, subsf3_media, mulsf3_media, mac_media,
18820         divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
18821         fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
18822         cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
18823         abssf2_media): New insns.
18824         (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
18825         cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
18826         (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
18827         floatdidf2, floatsidf2_media, fix_truncdfdi2,
18828         fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
18829         cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
18830         absdf2_media): New insns.
18831         (extendsfdf2, truncdfsf2): Adjust for SHmedia.
18832         (extendsfdf2_media, truncdfsf2_media): New insns.
18833         2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
18834         * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
18835         * config/sh/sh.h (CONST_OK_FOR_J): Document.
18836         (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
18837         * config/sh/sh.md (adddi3): New expand.
18838         (adddi3_media, adddi3z_media): New insns.
18839         (adddi3_compact): Renamed from adddi3.
18840         (addsi3_media): Use add.l r63 to add constant zero.
18841         (subdi3): New expand.
18842         (subdi3_media): New insn.
18843         (subdi3_compact): Renamed from subdi3.
18844         (mulsidi3): New expand.
18845         (mulsidi3_media): New insn.
18846         (mulsidi3_compact): Renamed from mulsidi3.
18847         (umulsidi3): New expand.
18848         (umulsidi3_media): New insn.
18849         (umulsidi3_compact): Renamed from umulsidi3.
18850         (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
18851         (ashlsi3, ashrsi3, lshrsi3): Use them.
18852         (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
18853         (ashldi3, ashrdi3, lshrdi3): Use them.
18854         (zero_extendsidi2): New expand.
18855         (extendsidi2): New insn.
18856         (movsi_media): New insn.  Split to movdi to load constants.
18857         (movsi): Enable for shmedia.
18858         (movdi_media): New insn.  Use shori_media to load wide constants.
18859         (short_media): New insn.
18860         (movdi): Enable for shmedia.
18861         2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
18862         * config/sh/sh.h (CPP_SPEC): Added `m5'.
18863         (SUBTARGET_CPP_SPEC): Added `!m5'.
18864         (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
18865         (TARGET_SWITCHES): Added `5' and `5-compact'.  Added SH1_BIT
18866         to all other SH variants.
18867         (TARGET_DEFAULT): Set to SH1_BIT.
18868         (OVERRIDE_OPTIONS): Recognize sh5 CPU.
18869         (BITS_PER_WORD): Raise to 64 on shmedia.
18870         (MAX_BITS_PER_WORD): Change to 64.
18871         (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
18872         (INT_TYPE_SIZE): Keep as 32.
18873         (UNITS_PER_WORD): Raise to 8 on shmedia.
18874         (MIN_UNITS_PER_WORD): Keep as 4.
18875         (POINTER_SIZE): Raise to 64 on shmedia.
18876         (CONST_OK_FOR_J): New macro.
18877         (CONST_OK_FOR_LETTER_P): Use it.
18878         (processor_type): Add PROCESSOR_SH5.
18879         * config/sh/sh.md: Conditionalize all expands, insns and
18880         splits to TARGET_SH1.
18881         (cpu): Added sh5.
18882         (addsi3_compact): Renamed from...
18883         (addsi3): Now an expand.
18884         (addsi3_media, subsi3_media): New insns.
18885         (subsi3): Don't negate constants with SHmedia.
18887         * hooks.c: New file.
18888         * hooks.h: New file.
18889         * Makefile.in (HOOKS_H): New.
18890         (TARGET_DEF_H): Added $(HOOKS_H).
18891         (OBJS): Added hooks.o.
18892         (cfgcleanup.o, bb-reorder.o): Added target.h.
18893         (hooks.o): Added dependencies.
18894         * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
18895         (TARGET_INITIALIZER): this.
18896         * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
18897         * target.h (struct gcc_target): Added cannot_modify_jumps_p.
18898         * bb-reorder.c: Include target.h.
18899         (reorder_basic_blocks): Skip if cannot modify jumps.
18900         * cfgcleanup.c: Include target.h.
18901         (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
18903 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
18905         * config/mips/mips.md (casesi_internal, casesi_internal_di):
18906         Protect jump delay slot instructions with .set noreorder and
18907         .set nomacro.
18909 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
18911         * config/mips/mips.md (casesi_internal_di): Calculate
18912         the index into the target offset table correctly.
18914 2002-02-08  Richard Henderson  <rth@redhat.com>
18916         * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
18917         * final.c (output_addr_const): Accept and discard SUBREG.
18918         * varasm.c (decode_addr_const): Don't abort on unknown expressions --
18919         mark them unknown instead.
18920         (simplify_subtraction): Handle RTX_UNKNOWN.
18921         (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
18923 2002-02-08  David Edelsohn  <edelsohn@gnu.org>
18925         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
18927 2002-02-08  Richard Henderson  <rth@redhat.com>
18929         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
18931 2002-02-08  Andreas Jaeger  <aj@suse.de>
18933         * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
18934         * config/i386/t-linux64: New file.
18936 2002-02-08  Jakub Jelinek  <jakub@redhat.com>
18938         * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
18939         * c-parse.in (compstmt): Clear last_expr_type.
18941 2002-02-07  Richard Henderson  <rth@redhat.com>
18943         * loop.c (strength_reduce): Sink final_value when not
18944         eliminating a biv.
18946 2002-02-07  David O'Brien  <obrien@FreeBSD.org>
18948         * config/sparc/freebsd.h: Fix mismatched spec {.
18950 2002-02-07  Richard Henderson  <rth@redhat.com>
18952         * cfgrtl.c: Include recog.h and insn-config.h.
18953         (keep_with_call_p): Fix general_operand invocation.
18954         * Makefile.in (cfgrtl.o): Update dependencies.
18956 2002-02-07  Kazu Hirata  <kazu@hxi.com>
18958         * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
18959         comment.  Accept HImode only if TARGET_H8300.
18961 2002-02-07  Eric Christopher  <echristo@redhat.com>
18963         * config/mips/crtn.asm: Cleanup #ifdefs.
18965 2002-02-07  Eric Christopher  <echristo@redhat.com>
18967         * config/mips/crti.asm: Add changes for mips16. mips16 uses
18968         register 7 as RA instead of $31.
18969         * config/mips/crtn.asm: Ditto.
18970         * config/mips/mips.c (mips_move_2words): Add case for
18971         TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
18972         (compute_frame_size): Fix typo.
18973         (save_restore_insns): Ditto.  Make documentation about using
18974         register $7 as return register more precise.
18975         (mips_expand_epilogue): Fix comment. Add code to work around not
18976         being able to add to the stack pointer directly.
18977         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
18978         to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
18979         epilogue.
18981 2002-02-07  Tom Rix  <trix@redhat.com>
18983         * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
18984         immediates in ldu and stdu DS opcode field.
18985         * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
18986         * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
18987         * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
18989 2002-02-07  Jeff Sturm  <jsturm@one-point.com>
18991         * config/sparc/sparc.c (compute_frame_size): Don't correct frame
18992         offset for stack bias.
18994 2002-02-07  H.J. Lu <hjl@gnu.org>
18996         * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
18998 2002-02-07  Ulrich Weigand  <uweigand@de.ibm.com>
19000         * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
19002 Thu Feb  7 12:14:17 CET 2002  Jan Hubicka  <jh@suse.cz>
19004         * i386-protos.h (x86_order_regs_for_local_alloc): Declare
19005         * i386.c (x86_order_regs_for_local_alloc): New global function.
19006         * i386.h (REG_ALLOC_ORDER): CLeanup.
19007         (ORDER_REGS_FOR_LOCAL_ALLOC): New.
19009 2002-02-07  Richard Henderson  <rth@redhat.com>
19011         PR optimization/2463
19012         * alias.c (find_base_value): Recall base values for fixed hard regs.
19013         * loop.c (loop_regs_update): Don't use single_set on non-insns.
19015 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
19017         * config/mips/mips.md (define_delay) [mips16]: Adjust required
19018         length.
19020 2002-02-06  Richard Henderson  <rth@redhat.com>
19022         PR c/5609
19023         * stmt.c (resolve_operand_name_1): Take more care with mixed
19024         named and unnamed operands.
19026 2002-02-06  Janis Johnson  <janis187@us.ibm.com>
19027             Jan Hubicka  <jh@suse.cz>
19029         * loop.c (remove_constant_addition): Avoid clobbering a shared
19030         CONST expression.
19032 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
19034         * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
19035         * config/s390/t-linux64: New file.
19036         * config/s390/libgcc-glibc.ver: New file.
19038 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
19040         * config/s390/linux64.h: Delete file.
19041         * config/s390/s390x.h: New file.
19042         * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
19043         as target header file.
19044         * config/s390/linux.h (TARGET_VERSION): Define depending on
19045         DEFAULT_TARGET_64BIT.
19046         (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
19047         (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
19048         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
19049         (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
19050         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
19051         (EXTRA_SPEC): New define.
19052         * config/s390/s390.h (TARGET_VERSION): Define depending on
19053         DEFAULT_TARGET_64BIT.
19054         (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
19056 2002-02-06  Jason Merrill  <jason@redhat.com>
19058         * c-decl.c (finish_function): Warn about a non-void function with
19059         no return statement and no abnormal exit.
19060         (current_function_returns_abnormally): New variable.
19061         (start_function): Clear it.
19062         (struct c_language_function): Add returns_abnormally.
19063         (push_c_function_context): Save it.
19064         (pop_c_function_context): Restore it.
19065         (builtin_function): Set TREE_THIS_VOLATILE on return fns.
19066         (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
19067         an explicit return type.
19068         * c-tree.h: Declare current_function_returns_abnormally.
19069         (C_FUNCTION_IMPLICIT_INT): New macro.
19070         * c-typeck.c (build_function_call): Set it.
19071         (c_expand_return): Set current_function_returns_value even if the
19072         value is erroneous.
19074 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
19076         PR c/5420:
19077         * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
19078         unsafe for reevaluation.
19080 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
19082         PR c/5482:
19083         * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
19084         EXPR_STMT, but COMPOUND_STMT, recurse into it.
19086 2002-02-06  Richard Henderson  <rth@redhat.com>
19088         * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
19089         be a general_operand.  Dest for function value must be a pseudo.
19091 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
19093         * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
19094         as SYMBOL_REFs from the constant pool.
19096 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
19098         * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
19099         passed by invisible reference.
19101 2002-02-05  Richard Henderson  <rth@redhat.com>
19103         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
19105 2002-02-06  Hans-Peter Nilsson  <hp@bitrange.com>
19107         Implement using "base addresses" in insn operands as default.
19108         * config/mmix/mmix.c (mmix_conditional_register_usage): if
19109         -mabi=gnu, modify fixed_regs to fit the GNU ABI.
19110         (mmix_extra_constraint): Use 'R' to indicate that GETA should be
19111         used to read the rtx value.
19112         (mmix_target_asm_function_epilogue): Fix spacing.
19113         (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
19114         (mmix_legitimate_address): Ditto.
19115         (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
19116         should be loaded with a GETA insn.  Don't allocate needless extra
19117         char for nul termination and fix misleading comment.
19118         (mmix_print_operand_address): Handle constants if
19119         TARGET_BASE_ADDRESSES.
19120         (mmix_output_register_setting): Use base addressing if
19121         TARGET_BASE_ADDRESSES and the number of insns is 3.
19122         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
19123         * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
19124         to use R as constraint, add LDA to match s.
19125         * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
19126         (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
19127         (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
19128         (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
19129         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
19130         order with other fixed registers.
19131         (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
19132         other parameter/call-clobbered registers.
19133         * doc/invoke.texi (Option Summary) <MMIX Options>: Add
19134         -mbase-addresses, -mno-base-addresses.
19135         (MMIX Options): Ditto.
19137 2002-02-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19139         * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
19141 2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
19143         * config/rs6000/altivec.h: Change elem to _S_elem.
19145 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
19147         * config/netbsd.h (WCHAR_TYPE): Define.
19148         (WCHAR_TYPE_SIZE): Ditto.
19149         (WINT_TYPE): Ditto.
19150         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
19151         (WCHAR_UNSIGNED): Ditto.
19152         (WCHAR_TYPE_SIZE): Ditto.
19153         (WINT_TYPE): Ditto.
19154         * config/arm/netbsd.h: Likewise.
19155         * config/i386/netbsd-elf.h: Likewise.
19156         * config/i386/netbsd.h: Likewise.
19157         * config/m68k/netbsd-elf.h: Likewise.
19158         * config/m68k/netbsd.h: Likewise.
19159         * config/ns32k/netbsd.h: Likewise.
19160         * config/sparc/netbsd.h: Likewise.
19161         * config/vax/netbsd.: Likewise.
19163 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
19165         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
19166         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
19167         (TARGET_INITIALIZER): this.
19168         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
19169         (BITFIELD_NBYTES_LIMITED): Markup fix.
19170         * tree.h (default_ms_bitfield_layout_p): Declare.
19171         (record_layout_info): Added prev_field.
19172         * tree.c (default_ms_bitfield_layout_p): New fn.
19173         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
19174         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
19175         * stor-layout.c: Include target.h.
19176         (start_record_layout): Initialize prev_field.
19177         (place_field): Handle MS bit-field layout, and disregard
19178         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
19179         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
19180         * Makefile.in (stor-layout.o): Adjust dependencies.
19182 2002-02-05  Jason Merrill  <jason@redhat.com>
19184         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
19186 2002-02-05  Andreas Jaeger  <aj@suse.de>
19188         * crtstuff.c: Fix comments.
19190 2002-02-05  Richard Henderson  <rth@redhat.com>
19192         PR fortran/3393
19193         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
19194         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
19196         PR fortran/3392
19197         * config/mips/mips.c (function_arg): Handle TImode.
19198         (function_arg_advance): Likewise.
19200 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
19202         * config/rs6000/altivec.h (vec_step_help): Rename to
19203         __vec_step_help.
19205 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
19207         * config/rs6000/altivec.h: Fix typos.
19209 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
19211         * config/arm/netbsd.h: Correct a comment.
19213 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
19215         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
19216         building void typed builtins.
19218         * config/rs6000/altivec.h (vec_ld*): Fix typos.
19219         (vec_step): Implement for C++.
19221 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
19223         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
19225 2002-02-04  Richard Henderson  <rth@redhat.com>
19227         * combine.c (nonzero_bits): Re-introduce special case for
19228         sp/fp/ap wrt REGNO_POINTER_ALIGN.
19230 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
19232         * doc/extend.texi: Warn about unsupported usage of altivec
19233         builtins.
19235         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
19236         (altivec_predicate_*): New.
19238         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
19239         Add C++ version of vec_*() functions.
19241         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
19242         (bdesc_2arg): Remove altivec predicates.
19243         (altivec_expand_builtin): Handle predicates.
19244         (altivec_init_builtins): Handle predicates.
19245         (altivec_expand_predicate_builtin): New.
19247 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19249         * pa.c (DO_FRAME_NOTES): Move forward.
19250         (store_reg): Revise handling of frame notes.
19251         (load_reg): Likewise.
19252         (set_reg_plus_d): Likewise.
19253         (hppa_expand_prologue): Likewise.
19254         (hppa_expand_epilogue): Likewise.
19256 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19258         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
19260 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
19262         PR c/4475, c++/3780:
19263         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
19264         * c-common.h (SWITCH_TYPE): Define.
19265         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
19266         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
19267         Rename spareness variable to sparseness.
19268         (expand_end_case_type): Renamed from expand_end_case, use orig_type
19269         if non-NULL instead of TREE_TYPE (orig_index).
19270         * tree.h (expand_end_case_type): Renamed from expand_end_case.
19271         (expand_end_case): Define using expand_end_case_type.
19272         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
19273         to expand_end_case_type.
19274         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
19276 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19278         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
19279         (BIGGEST_ALIGNMENT): Change to 128.
19281 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19283         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
19285 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19287         * pa.md (call_internal_reg_64bit): Remove unused variable.
19289 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
19291         * config/arm/arm.h (machine_function): Add uses_anonymous_args
19292         field.
19293         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
19294         * config/arm/arm.c (current_function_anonymous_args): Delete,
19295         replace uses with cfun->machine->uses_anonymous_args.
19296         (arm_reorg): Do not reset uses_anonymous_args.
19298         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
19299         any geenral register.
19301 2001-02-04  Bernd Schmidt  <bernds@redhat.com>s
19303         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
19304         the entry block.
19306 2002-02-04  Richard Henderson  <rth@redhat.com>
19308         * combine.c (force_to_mode): Remove STACK_BIAS code.
19309         (nonzero_bits): Likewise.  Replace sp/fp special case with
19310         REGNO_POINTER_ALIGN.
19312         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
19313         (HARD_FRAME_POINTER_REGNUM): New.
19314         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
19315         (FIXED_REGS, CALL_USED_REGS): Update.
19316         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
19317         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
19318         (HARD_REGNO_NREGS): Update for SFP.
19319         (STACK_POINTER_OFFSET): Include bias here ...
19320         (FIRST_PARM_OFFSET): ... not here.
19321         (STACK_BIAS): Remove.
19322         (INIT_EXPANDERS): New.
19323         (STARTING_FRAME_OFFSET): Do not include bias.
19324         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
19325         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
19326         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
19327         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
19328         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
19329         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
19330         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
19331         (MUST_SAVE_REGISTER): Likewise.
19332         (sparc_flat_function_prologue): Likewise.
19333         (sparc_flat_function_epilogue): Likewise.
19334         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
19335         (sparc_init_modes): SFP is GENERAL_REGS.
19336         (sparc_builtin_saveregs): SFP does not have bias applied.
19338 2002-02-04  Richard Henderson  <rth@redhat.com>
19340         * config/alpha/alpha.c (current_function_is_thunk): Don't check
19341         current_function_is_thunk.
19342         (alpha_sa_mask): Distinguish between current_function_is_thunk
19343         called from ASM_OUTPUT_MI_THUNK and not.
19344         (alpha_does_function_need_gp): Thunks always need gp.
19345         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
19346         (alpha_output_mi_thunk_osf): New.
19347         * config/alpha/alpha-protos.h: Update.
19348         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
19350 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
19352         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
19353         function types, not when they're taken away.
19355 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
19357         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
19358         CODE_LABEL and jump table when replacing a table jump with a
19359         simple jump.
19361 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
19363         * config/s390/s390-protos.h (legitimize_la_operand,
19364         s390_secondary_input_reload_class, s390_plus_operand,
19365         s390_expand_plus_operand): Add prototypes.
19367         config/s390/s390.c (s390_secondary_input_reload_class,
19368         s390_plus_operand, s390_expand_plus_operand): New functions.
19370         (struct s390_address): New member 'pointer'.
19371         (s390_decompose_address): Compute it.
19372         (legitimate_la_operand_p): Use it.
19373         (legitimize_la_operand): New function.
19374         (movti, movdi, movdf splitters): Call it.
19376         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
19377         (PREDICATE_CODES): Add s390_plus_operand.
19379         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
19380         (la_ccclobber): Allow GENERAL_REGS as output operand.
19382         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
19383         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
19384         (*la_64, *la_31, reload_indi, reload_insi): ... these.
19386 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
19388         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
19389         register names for regular asm () construct.
19391 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
19393         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
19394         registers.
19396 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
19398         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
19399         pat for recog.
19401 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
19403         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
19404         constant pool to be identical by string address and index.
19406 2002-02-04  Anthony Green  <green@redhat.com>
19408         * output.h (SECTION_OVERRIDE): Define.
19409         * varasm.c (named_section): Obey SECTION_OVERRIDE.
19411 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
19413         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
19414         by existing arm*-*-netbsd* (a.out) target.
19415         (ns32k-*-netbsdelf*): Likewise.
19416         (sparc-*-netbsdelf*): Likewise.
19417         (vax-*-netbsdelf*): Likewise.
19419 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
19421         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
19422         headers and libobjc headers.
19424 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
19426         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
19427         (_mingw.h): Remove duplicate include.
19429 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
19431         * config.gcc: Set cpu_type to m68k for 68010, as well.
19432         (m68010-*-netbsdelf*): New...
19433         (m68k*-*-netbsdelf*): ...targets.
19434         * config/m68k/netbsd-elf.h: New file.
19436 2002-02-02  Kazu Hirata  <kazu@hxi.com>
19438         * config/h8300/h8300.c (hand_list): Move inside function_arg.
19440 2002-02-02  Kazu Hirata  <kazu@hxi.com>
19442         * config/h8300/h8300.c (h8_push_ops): Move inside
19443         h8300_init_once.
19444         (h8_pop_ops): Likewise.
19445         (h8_move_ops): Likewise.
19447 2002-02-02  Kazu Hirata  <kazu@hxi.com>
19449         * config/h8300/h8300.c (os_task): Make it static.
19450         (monitor): Likewise.
19451         (pragma_saveall): Likewise.
19453 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
19455         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
19456         constant is a valid sign-extension for Pmode.
19458 2002-02-02  Kazu Hirata  <kazu@hxi.com>
19460         * config/h8300/h8300.c: Fix formatting.
19462 2002-02-02  Kazu Hirata  <kazu@hxi.com>
19464         * config/h8300/h8300.md: Fix formatting.
19466 2002-02-02  Kazu Hirata  <kazu@hxi.com>
19468         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
19469         predicates of operands[1].  Split the patterns for each
19470         processor variant.
19472 2002-02-02  Kazu Hirata  <kazu@hxi.com>
19474         * config/h8300/h8300.md (xor patterns): Tighten the predicates
19475         of operands[1] to register_operand.
19477 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
19479         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
19480         * cpphash.c (_cpp_init_hashtable): Similarly.
19481         * cppinit.c (cpp_create_reader): Default the signed_char flag.
19482         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
19483         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
19484         (cpp_handle_option): Handle the new options.
19485         * cpplex.c (cpp_interpret_charconst): Use new flag.
19486         * cpplib.h (struct cpp_options): New member signed_char.
19487         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
19488         (cpp_options): Handle -fsigned-char and -funsigned-char.
19489         (static_specs): Remove signed_char_spec.
19490         (do_spec1): Don't handle %c.
19491         * system.h: Poison SIGNED_CHAR_SPEC.
19492         * tradcif.y (yylex): Use flag_signed_char.
19493         * tradcpp.h (flag_signed_char): New.
19494         * tradcpp.c (flag_signed_char): New.
19495         (main): Handle new command-line options.
19496         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
19497 config:
19498         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
19499         * avr/avr.h: Remove old comments.
19500         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
19501         (CC1_SPEC): Pass -fsigned-char if -mic*.
19502         (SIGNED_CHAR_SPEC): Remove.
19503 doc:
19504         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
19506 2002-02-01  Eric Christopher  <echristo@redhat.com>
19508         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
19509         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
19510         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
19511         (ASM_OUTPUT_REG_POP): Ditto.
19513 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
19515         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
19516         patch.
19518 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
19520         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
19522 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
19524         PR c/5304:
19525         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
19526         unconditionally.
19528 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
19530         * cfganal.c: Include tm_p.h.
19531         (keep_with_call_p): Fix the test that determines if a register holds
19532         the return value of a call.
19534 2002-02-01  DJ Delorie  <dj@redhat.com>
19536         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
19537         we are given conflicting registers, switch to the other one we
19538         had allocated for us.
19539         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
19540         as TImode so we know when the "other" register is available.
19542 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
19544         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
19545         sparc/sparc_bi.h.
19547 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
19549         * cfganal.c (keep_with_call_p): New function.
19550         (flow_call_edges_add): Prevent splitting a block between a call and
19551         a single-set instruction that should be kept in the same block.
19553 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
19555         * doc/install.texi (avr): Update outdated URL.
19557 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
19559         * config/stormy16/stormy16.md (pushqi): New.
19560         (popqi): New.
19561         (pushhi): New.
19562         (pophi): New.
19563         (movhi): Remove stack operands.
19564         (movqi): Likewise.
19565         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
19566         nonimmediate_nonstack_operand.
19567         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
19568         New.
19569         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
19570         New.
19572 2002-01-31  Jason Merrill  <jason@redhat.com>
19574         * Makefile.in (c-parse.c): Handle .output file.
19575         * objc/Make-lang.in (objc-parse.c): Likewise.
19577 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
19579         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
19580         the -me[lb] option is given.  Don't output the default flag
19581         twice.
19583 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
19585         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
19586         the primary source file; this has not been done yet.
19587         * c-decl.c (c_expand_body): Reset input_filename from
19588         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
19590 2002-01-31  Kazu Hirata  <kazu@hxi.com>
19592         * rtlanal.c (subreg_regno_offset): Do not use
19593         SUBREG_REGNO_OFFSET.
19594         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
19595         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
19597 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
19599         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
19600         version rather than GNATS version in --version output.
19602 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
19604         * ifcvt.c (noce_process_if_block): Make a copy of the destination
19605         when copying back from a temporary.
19607 2002-01-30  Richard Henderson  <rth@redhat.com>
19609         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
19610         and new_dest are the same.
19612 2002-01-30  Richard Henderson  <rth@redhat.com>
19614         PR opt/5076
19615         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
19616         * rtl.c (note_insn_name): Update.
19617         * emit-rtl.c (remove_unnecessary_notes): Kill it.
19618         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
19619         to perform loop rotation.
19620         (expand_exit_loop_top_cond): New.
19621         * tree.h (expand_exit_loop_top_cond): Declare it.
19622         * c-semantics.c (genrtl_while_stmt): Use it.
19623         (genrtl_for_stmt): Likewise.
19625 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
19627         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
19628         arguments to 64-bit boundaries on 64-bit ABIs.
19630 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
19632         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
19634 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
19636         * c-decl.c (grokdeclarator): Handle type being a typedef for an
19637         invalid type.
19639 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
19641         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
19642         * config/sparc/sparc_bi.h: Remove file.
19643         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
19645 2002-01-30  Richard Henderson  <rth@redhat.com>
19647         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
19649 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
19651         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
19653 2002-01-30  Jason Merrill  <jason@redhat.com>
19655         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
19656         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
19657         (reg_save): Use DW_CFA_offset_extended_sf instead.
19659         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
19661 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
19663         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
19664         in cselib_lookup.
19666 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
19668         * rs6000.md ("*call_value_local32"): Remove constraints.
19669         ("*call_value_local64"): Same.
19670         ("*call_value_indirect_nonlocal_aix32"): Same.
19671         ("*call_value_nonlocal_aix32"): Same.
19672         ("*call_value_indirect_nonlocal_aix64"): Same.
19673         ("*call_value_nonlocal_aix64"): Same.
19674         ("*call_value_nonlocal_sysv"): Same.
19676 2002-01-29  Richard Henderson  <rth@redhat.com>
19678         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
19680 2002-01-29  Richard Henderson  <rth@redhat.com>
19682         * expr.c (force_operand): Ignore flag_pic for detecting pic
19683         address loads.
19684         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
19685         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
19686         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
19687         instead of open-coded loop.
19688         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
19689         be fixed when in use.
19691 2002-01-29  Richard Henderson  <rth@redhat.com>
19693         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
19694         * sched-rgn.c (propagate_deps): Update them.
19695         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
19696         clobbers list when either gets too long.
19698 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
19700         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
19701         and INDEX_REGS the same as GENERAL_REGS.
19702         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
19704 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
19706         * tree.c (build_nonstandard_integer_type): Correct prototype.
19708 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
19710         * config/s390/s390.md (movstrsico, movstrdix_64,
19711         movstrsix_31): Remove, replace by ...
19712         (movstrdi_short, movstrsi_short, movstrdi_long,
19713         movstrsi_long): ... these.  New.
19714         (movstrdi, movstrsi): Adapt.
19716         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
19717         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
19718         Remove unnecessary CC clobber.
19719         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
19720         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
19722         (divmoddi4): Don't partially initialize TImode register.
19724 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
19726         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
19728 2002-01-29  Richard Henderson  <rth@redhat.com>
19730         * flow.c (print_rtl_and_abort): Remove.
19731         (print_rtl_and_abort_fcn): Remove.
19732         (verify_local_live_at_start): Use dump_bb instead.
19733         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
19734         (verify_wide_reg_1): Return 2 on mode test failure.
19736 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
19738         PR c/3325, c/3326, c/2511, c/3347
19739         * c-decl.c (enum_decl_context): Remove BITFIELD.
19740         (grokdeclarator): Take bitfield width as an input.
19741         Ensure bitfields are given the correct type.  Perform
19742         bitfield width validation with build_bitfield_integer_type
19743         rather than waiting for finish_struct.
19744         (grok_typename, grok_typename_in_parm_context, start_decl,
19745         push_parmdecl, grokfield, start_function): Update calls to
19746         grokdeclarator.
19747         (build_bitfield_integer_type): New function.
19748         (finish_struct): Move bitfield validation to grokdeclarator
19749         and build_bitfield_integer_type.
19750         * tree.c (build_nonstandard_integer_type): New function.
19751         * tree.h (build_nonstandard_integer_type): New prototype.
19752 objc:
19753         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
19755 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
19757         PR other/1502:
19758         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
19759         don't ignore unrecognized -W* options.
19760         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
19761         * cpplib.h (cpp_handle_option): Adjust prototype.
19762         * c-decl.c (c_decode_options): Pass 0 as last argument to
19763         cpp_handle_option.
19765         PR c/2896:
19766         * gcc.c (cpp_unique_options): Split from cpp_options.
19767         (cpp_options): Source cpp_unique_options.
19768         (default_compilers): Use cpp_unique_options instead of cpp_options
19769         when used together with cc1_options.
19770         (static_specs): Add cpp_unique_options.
19771         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
19772         when used together with cc1_options.
19774 2002-01-29  Kazu Hirata  <kazu@hxi.com>
19776         * config/h8300/h8300-protos.h: Update the prototype of
19777         output_a_shift.
19778         * config/h8300/h8300.c (output_a_shift): Remove an unused
19779         argument 'insn'.  Remove redundant code.
19780         * config/h8300/h8300.md: Adust to the new prototype of
19781         output_a_shift.
19783 2002-01-29  Kazu Hirata  <kazu@hxi.com>
19785         * config/h8300/h8300-protos.h: Update the prototypes of
19786         emit_a_rotate and expand_a_rotate.
19787         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
19788         first argument to 'enum rtx_code'.
19789         (expand_a_rotate): Likewise.
19791 2002-01-28  Kazu Hirata  <kazu@hxi.com>
19793         * config/h8300/h8300-protos.h: Update the prototype of
19794         output_simode_bld.
19795         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
19796         'log2'.
19797         * config/h8300/h8300.md: Adjust to the new prototype.
19799 2002-01-28  Kazu Hirata  <kazu@hxi.com>
19801         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
19802         redundant code.
19804 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
19806         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
19807         is a fixed register before returning pic_offset_table_rtx.
19808         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
19809         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
19811 2002-01-28  Jason Merrill  <jason@redhat.com>
19813         * dwarf2.h: Sync with src version.
19815 2002-01-28  Paul Koning  <pkoning@equallogic.com>
19817         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
19818         BT_FN_VOID_PTR_VAR.
19819         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
19820         * doc/extend.texi (__builtin_prefetch): Update documentation:
19821         first argument is now const void ptr.
19823 2002-01-28  Kazu Hirata  <kazu@hxi.com>
19825         * config/h8300/h8300-protos.h: Remove an unused prototype.
19827 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
19829         * toplev.c (lang_independent_init): Round up identifier size.
19831 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
19833         * config.gcc: Revert previous change.
19835 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
19837         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
19839 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
19841         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
19842         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
19843         other non-elf netbsd config frags.
19844         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
19845         collect2 will does that.
19846         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
19847         shared-lib frobbing will work.
19849 2002-01-28  Kazu Hirata  <kazu@hxi.com>
19851         * config/h8300/h8300.h: Fix formatting.
19852         * config/h8300/h8300.md: Likewise.
19854 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
19856         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
19857         the old, removed AAA_standards fix.
19858         * fixinc/fixincl.x: Rebuilt.
19860 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
19862         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
19863         atexit call in crtbegin, hooked in after call to frame_dummy;
19864         register EH before registering __fini__start.
19866 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
19868         * config/rs6000/altivec.h: Remove spurious semicolons.
19870 2002-01-27  Kazu Hirata  <kazu@hxi.com>
19872         * config/h8300/h8300.md: Replace dead bit extraction patterns
19873         with ones that work.
19875 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
19877         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
19878         if not STRICT_ALIGNMENT.
19879         * rtl.h (MEM_ALIGN): Likewise.
19881 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
19883         * doc/invoke.texi (-fdump-translation-unit): Revert this
19884         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
19886 2002-01-27  Kazu Hirata  <kazu@hxi.com>
19888         * config/h8300/h8300.md (define_constants): New.
19889         (anonymous patterns) Use defined constants appropriately.
19891 2002-01-27  Kazu Hirata  <kazu@hxi.com>
19893         * config/h8300/h8300.c (function_arg): Remove redundant code.
19895 2002-01-26  Richard Henderson  <rth@redhat.com>
19897         * sched-deps.c (reg_pending_uses_head): New.
19898         (reg_pending_barrier): Rename from reg_pending_sets_all.
19899         (find_insn_list): Don't mark inline.
19900         (find_insn_mem_list): Remove.
19901         (add_dependence_list, add_dependence_list_and_free): New.
19902         (flush_pending_lists): Replace only_write param with separate
19903         for_read and for_write parameters.  Update all callers.  Use
19904         add_dependence_list_and_free.
19905         (sched_analyze_1): Do not add reg dependencies here; just set
19906         the pending bits.  Use add_dependence_list.
19907         (sched_analyze_2): Likewise.
19908         (sched_analyze_insn): Replace schedule_barrier_found with
19909         reg_pending_barrier.  Add all dependencies for pending reg
19910         uses, sets, and clobbers.
19911         (sched_analyze): Don't add reg dependencies for calls, just
19912         set pending bits.  Use regs_invalidated_by_call.  Treat
19913         sched_before_next_call as a normal list, not a fake insn.
19914         (init_deps): No funny init for sched_before_next_call.
19915         (free_deps): Free pending mems lists.  Don't zero reg_last.
19916         (init_deps_global): Init reg_pending_uses.
19917         (finish_deps_global): Free it.
19918         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
19919         (find_insn_mem_list): Remove.
19920         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
19921         (propagate_deps): Use them.  Zero temp mem lists.
19923 2002-01-26  Richard Henderson  <rth@redhat.com>
19925         * Makefile.in (CRTSTUFF_CFLAGS): New.
19926         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
19927         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
19928         crtstuff.c instead of alpha assembly version.
19929         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
19930         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
19931         not FORCE_{INIT,FINI}_SECTION_ALIGN.
19932         (__do_global_dtors_aux): Mark used.
19933         (frame_dummy, __do_global_ctors_aux): Mark used.
19934         (fini_dummy, init_dummy): Remove.
19936         * config/alpha/crtbegin.asm: Remove file.
19937         * config/alpha/crtend.asm: Remove file.
19938         * config/alpha/t-crtbe: Remove file.
19939         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
19940         (LINK_EH_SPEC): New.
19942         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
19943         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
19944         calling constructors.
19945         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
19947         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
19948         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
19949         CRT_END_INIT_DUMMY hack.
19950         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
19951         FORCE_{INIT,FINI}_SECTION_ALIGN.
19953         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
19954         FORCE_{INIT,FINI}_SECTION_ALIGN.
19956         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
19957         invocation sequence.
19958         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
19960         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
19961         (FORCE_CODE_SECTION_ALIGN): New.
19963 2002-01-26  Richard Henderson  <rth@redhat.com>
19965         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
19967 2002-01-26  Richard Henderson  <rth@redhat.com>
19969         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
19970         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
19972 2002-01-26  Kazu Hirata  <kazu@hxi.com>
19974         * config/h8300/h8300.md: Remove bit extraction patterns that
19975         cannot be triggered.
19976         Restrict each bit extraction pattern to a variant on which the
19977         pattern is tested.
19979 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
19981         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
19983 2002-01-26  Kazu Hirata  <kazu@hxi.com>
19985         * config/h8300/h8300.md: Remove bit test patterns that cannot
19986         be triggered.
19987         Restrict each bit test pattern to a variant on which the
19988         pattern is tested.
19990 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19992         * builtins.c (expand_builtin_strncat): Remove redundant check for
19993         INTEGER_CST.
19995 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
19997         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
19998         default setting.
19999         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
20000         existing setting.
20002 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
20004         * dbxout.c (dbxout_init): Use assemble_name rather than just
20005         stripping off the first character.
20006         (dbxout_source_file): Likewise.
20008 2002-01-25  DJ Delorie  <dj@redhat.com>
20010         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
20011         using rtx_equal_p, not by comparing pointers.
20013 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
20015         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
20016         for PIC_OFFSET_TABLE_REGNUM.
20017         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
20019 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
20021         * config.gcc (x86_64-*-freebsd*): New target.
20022         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
20023         value.
20024         (i[34567]86-*-freebsd*): Don't include svr4.h.
20025         * config/i386/freebsd64.h: New file.
20027 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
20029         * config/alpha/x-vms (version): Make static.
20031         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
20032         in previous checkin.
20034         * Makefile.in (install-headers-cp): New target.
20035         * config.gcc (alpha-dec-*vms*): Install headers with
20036         install-headers-cp
20038 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
20040         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
20041         avoid it's copies.
20043 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
20045         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
20046         of compare_tree_int.
20047         (expand_builtin_strncat): Likewise.
20048         * c-decl.c (finish_struct): Use tree_low_cst.
20049         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
20050         * tree.c (compare_tree_int): Likewise.
20052 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
20054         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
20055         adjustments even if they are implemented by more than two insns.
20057 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
20059         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
20060         * df.h (struct ref): Kill B.
20061         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
20063         * basic-block.h (PROP_EQUAL_NOTES): New flag.
20064         * flow.c (propagate_one_insn): Use it.
20065         (mark_used_regs): Handle NIL.
20067 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
20069         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
20070         to help folding.
20072 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
20074         * rs6000.md (prefetch): Make address V4SI mode so that the address
20075         is restricted to legitimate form for instruction.
20077 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
20079         * doc/install.texi (xtensa-*-elf): New target.
20080         (xtensa-*-linux*): New target.
20081         * doc/contrib.texi: Add myself.
20083 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
20085         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
20086         purpose register to hold an SImode (or smaller) value.
20088 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
20090         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
20091         registry only.
20092         * crtstuff.c: Likewise.
20094 2002-01-25  Kazu Hirata  <kazu@hxi.com>
20096         * config/h8300/h8300.md (negation patterns): Tighten
20097         predicates to register_operand.
20099 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
20101         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
20102         mode, not Pmode.
20104         * builtins.c (expand_builtin_prefetch): Same.
20106 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
20108         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
20109         modes.
20111 2002-01-24  Kazu Hirata  <kazu@hxi.com>
20113         * config/h8300/h8300.c (print_operand): Remove support for
20114         operand character 'A'.
20115         * config/h8300/h8300.md (three anonymous patterns): Replace
20116         operand character 'A' with either 'T' or 'S'.
20118 2002-01-24  Kazu Hirata  <kazu@hxi.com>
20120         * config/h8300/h8300.c (print_operand): Remove support for
20121         operand character 'U'.
20123 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
20125         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
20127 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
20129         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
20130         values to be assigned to the stack pointer.
20132 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
20134         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
20135         to const_double needs to be done right for big-endian systems.
20137 2002-01-24  Jason Merrill  <jason@redhat.com>
20139         PR c++/2432
20140         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
20141         to can_throw_internal.
20143 2002-01-23  Richard Henderson  <rth@redhat.com>
20145         * fold-const.c (fold): Change UINT_MAX test to check vs precision
20146         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
20148 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
20150         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
20151         (symGOT2reg): Use them, then set as GOT value as unchanging.
20152         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
20153         as a temporary, if possible.
20154         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
20155         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
20157 2002-01-23  Kazu Hirata  <kazu@hxi.com>
20159         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
20160         accept to accept 0x80 as operands[2].
20162 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
20164         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
20166 2002-01-23  Richard Henderson  <rth@redhat.com>
20168         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
20170 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
20172         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
20173         (parmlist_or_identifiers_1): Verify that only a parmlist follows
20174         an attribute.
20176 2002-01-23  Richard Henderson  <rth@redhat.com>
20178         * expr.c (move_by_pieces_1): Extend size before negation.
20180         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
20181         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
20182         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
20183         * config/m68k/t-m68kelf: Likewise.
20185 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
20187         * config/xtensa/elf.h: New file.
20188         * config/xtensa/lib1funcs.asm: New file.
20189         * config/xtensa/lib2funcs.S: New file.
20190         * config/xtensa/linux.h: New file.
20191         * config/xtensa/t-xtensa: New file.
20192         * config/xtensa/xtensa-config.h: New file.
20193         * config/xtensa/xtensa-protos.h: New file.
20194         * config/xtensa/xtensa.c: New file.
20195         * config/xtensa/xtensa.h: New file.
20196         * config/xtensa/xtensa.md: New file.
20197         * config.gcc (xtensa-*-elf*): New target.
20198         (xtensa-*-linux*): New target.
20199         * cse.c (canon_hash): Compare rtx pointers instead of register
20200         numbers.  This is required for the Xtensa port.
20201         * integrate.c (copy_insn_list): Handle case where the static
20202         chain is in memory and the memory address has to be copied to
20203         a register.
20204         * doc/invoke.texi (Option Summary): Add Xtensa options.
20205         (Xtensa Options): New node.
20206         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
20208 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
20210         * diagnostic.c (internal_error): Do ICE suppression only
20211         when ENABLE_CHECKING is not defined.
20213         * c-typeck.c (require_complete_type): Return error_mark_node
20214         if type is error_mark_node.
20216 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
20218         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
20219         -Os and issue a warning.
20221 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
20223         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
20224         current (lack of) need for host configuration by hand.
20226         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
20227         references.  Documentation of some target macros moved from
20228         hostconfig.texi to tm.texi.
20230 2002-01-23  Will Cohen  <wcohen@redhat.com>
20232         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
20233         defined.
20235 2002-01-23  Kazu Hirata  <kazu@hxi.com>
20237         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
20238         operand[3].
20240 2002-01-23  Jason Merrill  <jason@redhat.com>
20242         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
20244         * function.c (assign_parms): Don't put args of inline functions
20245         into registers when not optimizing.
20247 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
20249         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
20250         (prologue_use): New pattern.
20251         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
20252         preference to gen_rtx_USE.
20253         (thumb_expand_prologue): Use gen_prologue_use in preference to
20254         gen_rtx_USE.
20255         (thumb_expand_epilogue): Use gen_prologue_use in preference to
20256         gen_rtx_USE.
20258 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
20260         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
20262 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
20264         PR c/3504
20265         * doc/extend.texi: Correct documentation of __alignof__.
20267 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
20269         * params.h: Rename arguments of DEFPARAM so that it will be
20270         recognized as a translation keyword.
20272 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
20274         * extend.texi: Document altivec functions.
20275         Fix N-bit adjectives in X86 builtin documentation.
20277 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
20279         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
20280         auto_inc_dec values.
20282 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
20284         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
20285         after backslash.
20286         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
20288 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
20290         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
20292 2002-01-22  Richard Henderson  <rth@redhat.com>
20294         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
20295         copy_insn not copy_rtx.
20297 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
20299         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
20300         "nonzero" as that might add "1" bits.  Ensure "constop" is
20301         properly sign extened.
20302         (force_to_mode): Tweak for sign extended constop.
20304 2002-01-22  Richard Henderson  <rth@redhat.com>
20306         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
20307         for_each_rtx instead of assuming we're already looking at the MEM.
20308         (split_small_symbolic_mem_operand): Likewise.
20309         * config/alpha/alpha.h (PREDICATE_CODES): Update.
20310         * config/alpha/alpha.md (small symbolic memory splitters): Update.
20312 2002-01-22  Richard Henderson  <rth@redhat.com>
20314         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
20315         sequence number for the literal.
20316         (divmoddi_internal_er): Likewise.
20318 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
20320         PR java/4972
20321         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
20322         in LIBICONV variable.
20323         * configure: Regenerated.
20325 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
20327         * dependence.c (build_def_use): Remove array_idx.
20329         * dwarfout.c (last_filename): Remove.
20330         (output_compile_unit_die): Remove last_filename.
20332 2002-01-22  Roger Sayle  <roger@eyesopen.com>
20333             Richard Henderson  <rth@redhat.com>
20335         PR opt/3640
20336         * fold-const.c (fold): Optimize unsigned comparisons against
20337         UINT_MAX (and similar unsigned constants).
20339 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
20341         * Makefile.in (loop.o): Depend on OPTABS_H.
20342         * loop.c (emit_prefetch_instructions): Check the prefetch operand
20343         against the predicate.
20345         PR target/5379
20346         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
20347         for the address operand.
20349 2002-01-22  Richard Henderson  <rth@redhat.com>
20351         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
20353 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
20355         PR other/5450
20356         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
20357         preprocessor flags.
20359 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
20361         * config.gcc (x86_64-*-netbsd*): New target.
20362         * config/i386/netbsd64.h: New file.
20364 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
20366         * regrename.c (kill_value): Fix typo.
20368 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
20370         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
20372         * config/rs6000/rs6000.h: Same.
20374         * function.c (instantiate_virtual_regs): Remove
20375         STARTING_FRAME_PHASE.
20376         (assign_stack_local_1): Same.
20377         Calculate frame phase.
20379 2002-01-22  Nick Clifton  <nickc@redhat.com>
20381         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
20382         variable declaration to outer scope in order to simplify
20383         future extensions.
20384         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
20385         arm_hard_regno_mode_ok.
20386         * config/arm/arm-protos.h: Add a prototype for
20387         arm_hard_regno_mode_ok.
20388         * config/arm/arm.c (soft_df_operand): Remove now redundant
20389         check for DImode values using IP_REGNUM.
20390         (nonimmediate_soft_df_operand): Remove now redundant check for
20391         DImode values using IP_REGNUM.
20392         (arm_hard_regno_mode_ok): New function. New check: make sure
20393         that DImode values are not stored in IP_REGNUM.
20395         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
20396         note with a USE.
20397         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
20399 2002-01-22  Jason Merrill  <jason@redhat.com>
20401         * c-semantics.c (genrtl_compound_stmt): Only check nesting
20402         consistency if this COMPOUND_STMT is scoped.
20404 2002-01-22  Kazu Hirata  <kazu@hxi.com>
20406         * predict.c: Fix formatting.
20407         * print-tree.c: Likewise.
20408         * protoize.c: Likewise.
20409         * real.h: Likewise.
20410         * rtl.h: Likewise.
20411         * sbitmap.h: Likewise.
20412         * scan.c: Likewise.
20413         * sched-deps.c: Likewise.
20414         * sched-vis.c: Likewise.
20415         * sdbout.c: Likewise.
20416         * sibcall.c: Likewise.
20417         * ssa.c: Likewise.
20418         * ssa-ccp.c: Likewise.
20419         * ssa-dce.c: Likewise.
20420         * stmt.c: Likewise.
20421         * stor-layout.c: Likewise.
20422         * system.h: Likewise.
20424 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
20426         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
20427         if fits in bounds of base type.
20429         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
20430         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
20431         (add_bound_info, default): If can't find a context, make a
20432         SAVE_EXPR.
20433         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
20435 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
20437         * c-typeck.c (parser_build_binary_op): If result from
20438         build_binary_op is ERROR_MARK just return error_mark_node without
20439         further processing.
20441 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
20443         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
20444         Split a.out-specific bits into...
20445         * config/netbsd-aout.h: ...this.
20446         * config/netbsd-elf.h: New file.
20447         * config/alpha/netbsd-elf.h: Remove.
20448         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
20449         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
20450         (STARTFILE_SPEC): Remove redundant definition.
20451         (ENDFILE_SPEC): Likewise.
20452         (LINK_SPEC): Likewise.
20453         (CPP_SPEC): Likewise.
20454         (ASM_SPEC): Likewise.
20455         (LIB_SPEC): Likewise.
20456         (SWITCH_TAKES_ARG): Likewise.
20457         (TARGET_MEM_FUNCTIONS): Likewise.
20458         (CPP_PREDEFINES): Redefine.
20459         (ASM_FINAL_SPEC): Remove redefinition.
20460         (ASM_COMMENT_START): Redefine.
20461         (FUNCTION_PROFILER): Define.
20462         (TARGET_VERSION): Redefine.
20463         Comment and formatting cleanup.
20464         * config/i386/netbsd.h: Include <netbsd-aout.h>.
20465         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
20466         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
20467         big- or little-endian.
20468         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
20469         * config.gcc (*-*-netbsd*): Add definitions common to all
20470         NetBSD configs.
20471         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
20472         gnu_ld definitions.  Add netbsd-elf.h to and remove
20473         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
20474         tmake_file, and don't lose previous tmake_file contents.
20475         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
20476         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
20477         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
20478         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
20479         (mipsel-*-netbsd*): Rename this to...
20480         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
20481         mips/little.h to tm_file for mips*el-*.
20482         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
20483         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
20484         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
20486 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20488         * pa-protos.h (reg_before_reload_operand): New function prototype.
20489         * pa.c (reg_before_reload_operand): New function implementation.
20490         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
20491         contraints to "*m".
20493 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20495         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
20497 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20499         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
20500         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
20501         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
20502         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
20503         (ENDFILE_SPEC): Undefine.
20504         (STARTFILE_SPEC): Redefine for PA.
20506 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20508         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
20510 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
20512         * config.gcc: Add entries to supported PowerPC --with-cpu
20513         types.
20515 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
20517         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
20518         true for 64-bit mode only SSE registers in 32-bit mode.
20520 2002-01-21  Kazu Hirata  <kazu@hxi.com>
20522         * unwind-dw2.c: Fix formatting.
20523         * unwind-dw2-fde.c: Likewise.
20524         * unwind-dw2-fde.h: Likewise.
20525         * unwind-pe.h: Likewise.
20526         * varasm.c: Likewise.
20527         * varray.h: Likewise.
20529 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
20531         Remove workaround for register stack overwrite bug in mmix.
20532         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
20533         support for TARGET_REG_STACK_FILL_BUG.
20534         * config/mmix/mmix.h: Remove member has_call_without_parameters.
20535         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
20536         Delete.
20537         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
20538         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
20539         -mno-reg-stack-fill-bug-workaround.
20540         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
20541         machine member has_call_without_parameters.
20542         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
20543         -mreg-stack-fill-bug-workaround and
20544         -mno-reg-stack-fill-bug-workaround.
20545         (MMIX Options): Ditto.
20547 2002-01-21  Kazu Hirata  <kazu@hxi.com>
20549         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
20550         as appropriate.
20551         Remove redundant code.
20553 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
20555         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
20556         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
20557         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
20558         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
20559         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
20560         out target macro definitions and non-target-specific comments
20561         mostly taken from old versions of the manual.
20563 2002-01-20  Kazu Hirata  <kazu@hxi.com>
20565         * config/h8300/h8300.h: Fix comment formatting.
20566         * config/ia64/aix.h: Likewise.
20567         * config/ia64/ia64-protos.h: Likewise.
20568         * config/ia64/ia64.c: Likewise.
20569         * config/ia64/ia64.h: Likewise.
20570         * config/ia64/ia64intrin.h: Likewise.
20571         * config/ia64/linux.h: Likewise.
20572         * config/ia64/unwind-aix.c: Likewise.
20573         * config/ia64/unwind-ia64.c: Likewise.
20575 2002-01-20  Kazu Hirata  <kazu@hxi.com>
20577         * config/h8300/h8300.c: Revise comments about shift code.
20579 2002-01-20  Kazu Hirata  <kazu@hxi.com>
20581         * config/h8300/h8300.c (function_arg): Update a comment.
20583 2002-01-20  Kazu Hirata  <kazu@hxi.com>
20585         * config/h8300/h8300.md: Update the comments at the beginning
20586         of the file.
20588 2002-01-20  Kazu Hirata  <kazu@hxi.com>
20590         * config/i370/i370.c: Fix comment formatting.
20591         * config/i370/i370.h: Likewise.
20592         * config/i370/i370.md: Likewise.
20593         * config/i370/linux.h: Likewise.
20595 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
20597         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
20599         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
20600         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
20601         in incomplete case.
20603 2002-01-20  Graham Stott  <grahams@redhat.com>
20605         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
20607 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20609         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
20611 2002-01-19  Tom Rix  <trix@redhat.com>
20613         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
20615 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
20617         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
20619         * function.c (assign_stack_local_1): Adjust x_frame_offset with
20620         STARTING_FRAME_PHASE.
20621         (STARTING_FRAME_PHASE): New.
20622         (instantiate_virtual_regs): Check saneness of
20623         STARTING_FRAME_PHASE.
20625         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
20627 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
20629         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
20631 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
20633         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
20634         be used for bootstrapping GCC 3.0.
20636 2002-01-18  Kazu Hirata  <kazu@hxi.com>
20638         * config/h8300/h8300.md: Fix an insn length.
20640 2002-01-18  Kazu Hirata  <kazu@hxi.com>
20642         * bitmap.h: Fix comment formatting.
20643         * combine.c: Likewise.
20644         * cppfiles.c: Likewise.
20645         * c-pragma.h: Likewise.
20646         * c-typeck.c: Likewise.
20647         * df.c: Likewise.
20648         * dwarf2out.c: Likewise.
20649         * function.c: Likewise.
20650         * gcc.c: Likewise.
20651         * genattrtab.c: Likewise.
20652         * gthr-win32.h: Likewise.
20653         * haifa-sched.c: Likewise.
20654         * predict.c: Likewise.
20655         * rtlanal.c: Likewise.
20656         * rtl.h: Likewise.
20657         * unwind-dw2-fde.h: Likewise.
20658         * unwind-pe.h: Likewise.
20659         * vmsdbgout.c: Likewise.
20661 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
20663         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
20664         if type_required and passed decl.
20666 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
20668         * config.gcc (cpu_type): Include altivec.h in powerpc
20669         extra_headers.
20670         Same for darwin.
20672         * config/rs6000/altivec.h: New.
20674 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
20676         * doc/install.texi (*-ibm-aix*): Update assembler and exception
20677         handling information.
20678         * doc/trouble.texi (Interoperation): Add libstdc++ information
20679         for AIX.
20680         (Misunderstandings): Add template instantiation and static template
20681         member information for AIX.
20683 2002-01-17  Jason Merrill  <jason@redhat.com>
20685         * dbxout.c (dbxout_type): Support const and volatile.
20687         * except.c (add_partial_entry): Remove backwards compatibility code.
20688         (end_protect_partials): Likewise.
20690 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
20692         * config/ia64/ia64.md (prologue_use): New.
20693         * config/ia64/ia64.c (ia64_expand_prologue): Use
20694         gen_prologue_use instead of gen_rtx_USE.
20695         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
20696         as CODE_FOR_pred_rel_mutex.
20697         (ia64_sched_reorder2): Likewise.
20699 2002-01-16  Eric Christopher  <echristo@redhat.com>
20701         * config/mips/r3900.h: Reformat.
20702         (SUBTARGET_CPP_SIZE_SPEC): Remove.
20703         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
20704         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
20705         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
20706         * config/mips/t-elf: Remove mips3 multilib.
20708 2002-01-16  H.J. Lu <hjl@gnu.org>
20710         * config/mips/linux.h: Include "mips/abi64.h".
20712 2002-01-16  H.J. Lu <hjl@gnu.org>
20714         * config/mips/t-linux: New.
20716         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
20718         * config/mips/linux.h: Don't include "gofast.h".
20719         (INIT_SUBTARGET_OPTABS): Removed.
20721 2002-01-16  Kazu Hirata  <kazu@hxi.com>
20723         * config/h8300/h8300-protos.h: Replace emit_a_shift with
20724         output_a_shift.
20725         * config/h8300/h8300.c: Likewise.
20726         * config/h8300/h8300.md: Likewise.
20728 2002-01-16  Kazu Hirata  <kazu@hxi.com>
20730         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
20731         spaces after an opcode name.
20732         (pushqi1_h8300hs): Likewise.
20733         (pushhi1_h8300hs): Likewise.
20735 2002-01-16  Kazu Hirata  <kazu@hxi.com>
20737         * doc/extend.texi: Replace "option" with "attribute"
20738         appropriately.
20740 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
20742         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
20743         (and:DI () (const_int -8)).
20744         (split_small_symbolic_mem_operand): Split
20745         (mem (and:DI () (const_int -8)).
20747 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
20749         PR target/5309:
20750         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
20751         same way as TYPE_IMUL.
20752         (ultrasparc_sched_reorder): Likewise.
20753         * config/sparc/sparc.md (type): Add comment to update
20754         ultrasparc_sched_reorder when making changes.
20756 2002-01-16  Kazu Hirata  <kazu@hxi.com>
20758         * doc/invoke.texi: Change the dump file name of block
20759         reordering pass from 28.bbro to 29.bbro.
20760         Mention -dk option.
20762 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
20764         * i386.md (minsf splitter): Fix pasto.
20766 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
20768         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
20769         to frame pointer initialisation instruction.
20770         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
20771         initialisation instruction.
20772         (soft_df_operand): Do not accept the IP register.
20773         (nonimmediate_soft_df_operand): Do not accept the IP register.
20775 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
20777         PR target/5357:
20778         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
20779         MASK_V8 being both set.
20781 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
20783         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
20784         insn for GOT register; add REG_MAYBE_DEAD notes instead.
20785         config/s390/s390.md (call, call_value): Add GOT register to
20786         CALL_INSN_FUNCTION_USAGE where needed.
20787         (call_exp, call_value_exp): New.
20789 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
20791         * config/arm/arm.c: General formatting tidy up.
20793 2002-01-16  Graham Stott  <grahams@redhat.com>
20795         * calls.c (try_to_integrate): Use "(size_t)" intermediate
20796         cast and when casting an integer literal to "rtx" pointer.
20797         (expand_call): Likewise.
20798         * flow.c (try_pre_increment): Likewise.
20799         (find_use_as_address): Likewise.
20800         * integrate.c (expand_iline_function): Likewise.
20801         * regmove.c (try_auto_increment): Likewise.
20803 2002-01-16  Graham Stott  <grahams@redhat.com>
20805         * sched-rgn.c (passed): Use sbitmap_free.
20806         (header): Likewise.
20807         (inner): Likewise.
20808         (in_queue): Likewise.
20809         (in_stack): Likewise.
20811 2002-01-15  Eric Christopher  <echristo@redhat.com>
20813         * flow.c (propagate_one_insn): Change to use fatal_insn.
20815 2002-01-15  Kazu Hirata  <kazu@hxi.com>
20817         * expmed.c (extract_fixed_bit_field): Remove unused code.
20818         * system.h: Poison SLOW_ZERO_EXTEND.
20819         * doc/tm.texi: Remove.
20820         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
20821         * config/arm/arm.h: Likewise.
20822         * config/avr/avr.h: Likewise.
20823         * config/clipper/clipper.h: Likewise.
20824         * config/convex/convex.h: Likewise.
20825         * config/d30v/d30v.h: Likewise.
20826         * config/dsp16xx/dsp16xx.h: Likewise.
20827         * config/elxsi/elxsi.h: Likewise.
20828         * config/fr30/fr30.h: Likewise.
20829         * config/h8300/h8300.h: Likewise.
20830         * config/i370/i370.h: Likewise.
20831         * config/i386/i386.h: Likewise.
20832         * config/m68k/m68k.h: Likewise.
20833         * config/mips/mips.h: Likewise.
20834         * config/ns32k/ns32k.h: Likewise.
20835         * config/pdp11/pdp11.h: Likewise.
20836         * config/pj/pj.h: Likewise.
20837         * config/s390/s390.h: Likewise.
20838         * config/sh/sh.h: Likewise.
20839         * config/stormy16/stormy16.h: Likewise.
20840         * config/v850/v850.h: Likewise.
20841         * config/vax/vax.h: Likewise.
20842         * config/we32k/we32k.h: Likewise.
20844 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
20846         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
20847         (altivec_lvsl): Change constraint to b.
20848         (altivec_lvsr): Same.
20849         (altivec_lvebx): Same.
20850         (altivec_lvehx): Same.
20851         (altivec_lvewx): Same.
20852         (altivec_lvxl): Same.
20853         (altivec_lvx): Same.
20854         (altivec_stvx): Add parallel.
20855         (altivec_stvxl): Same.
20856         (altivec_stvehx): Same.
20857         (altivec_stvebx): Same.
20858         (altivec_stvebx): Same.
20860 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
20862         * config.gcc: Change altivec.h to altivec-defs.h.
20864         * config/rs6000/altivec.h: Delete.
20866         * config/rs6000/altivec-defs.h: Add.
20868 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20870         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
20871         and UMOD modes.
20873         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
20874         less than or equal to eight bytes.
20876         * vax.md (andsi3): Remove constraints and change SET destination
20877         operand type to nonimmediate_operand.
20878         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
20879         when it is a CONST_INT.
20881 2002-01-15  Jason Merrill  <jason@redhat.com>
20883         * c-common.def (FILE_STMT): New code.
20884         * c-common.c (statement_code_p): It's a statement.
20885         * c-common.h (stmt_tree_s): Add x_last_filename.
20886         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
20887         (last_expr_filename): New macro.
20888         * c-semantics.c (begin_stmt_tree): Initialize it.
20889         (add_stmt): If the filename changed, also insert a
20890         FILE_STMT.
20891         (expand_stmt): Handle seeing one.
20893 2002-01-15  Eric Christopher  <echristo@redhat.com>
20895         * flow.c (propagate_one_insn): Add error message and print out
20896         insn for debugging.
20898 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
20900         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
20901         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
20902         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
20903         TRAMPOLINE_ALIGNMENT.
20904         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
20905         to be in bits.
20906         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
20907         PCC_BITFIELD_TYPE_MATTERS.
20908         * config/interix.h (STDC_VALUE): Remove.  Use
20909         STDC_0_IN_SYSTEM_HEADERS.
20910         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
20911         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
20912         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
20914 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
20916         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
20917         not work on this platform currently.
20919 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
20921         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
20922         readonly_warning in _().
20924 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
20926         * gcc.c (delete_if_ordinary): Backout previous change.
20928 2002-01-15  Kazu Hirata  <kazu@hxi.com>
20930         * config/h8300/h8300.c (print_operand): Remove support for
20931         unused operand characters.
20933         * read-rtl.c: Fix formatting.
20934         * real.c: Likewise.
20935         * recog.c: Likewise.
20936         * regclass.c: Likewise.
20937         * regmove.c: Likewise.
20938         * reg-stack.c: Likewise.
20939         * reload1.c: Likewise.
20940         * rtlanal.c: Likewise.
20942 2002-01-15  Kazu Hirata  <kazu@hxi.com>
20944         * config/i386/i386.c: Fix formatting.
20946 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
20948         * c-typeck.c (process_init_element): Don't save_expr
20949         COMPOUND_LITERAL_EXPR if just its initializer will be used.
20951 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
20953         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
20954         emit optional traceback table if optimize_size or TARGET_ELF.
20955         * config/rs6000/rs6000.md (prefetch): New.
20957 2002-01-15  Andreas Jaeger  <aj@suse.de>
20959         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
20961 2002-01-15  Kazu Hirata  <kazu@hxi.com>
20963         * mips-tfile.c: Fix formatting.
20965 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
20967         * unroll.c (final_reg_note_copy): Fix previous commit.
20969 2002-01-14  Kazu Hirata  <kazu@hxi.com>
20971         * config/h8300/h8300-protos.h: Remove the prototype for
20972         eq_operator.
20973         * config/h8300/h8300.c (eq_operator): Remove.
20975 2002-01-14  Richard Henderson  <rth@redhat.com>
20977         * config/i386/i386.md (prefetch): Tidy.
20978         (prefetch_3dnow): Fix locality operand.
20980 2002-01-14  Richard Henderson  <rth@redhat.com>
20982         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
20983         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
20985 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
20987         * reload1.c (reload_combine): Pass reg_sum replacement through
20988         copy_rtx in loop performing multiple changes.
20990 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
20992         * except.c (remove_unreachable_regions): New.
20993         (free_eh_status): Clear exception_handler_labels.
20994         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
20995         (find_exception_handler_labels): Don't add the same label more than
20996         once.
20997         (remove_exception_handler_label): Don't die if
20998         find_exception_handler_labels hasn't been called for the current
20999         function yet.
21001 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
21003         * toplev.c (rest_of_compilation): Rebuild jump labels after
21004         gcse.
21006 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
21008         * doc/extend.texi: Move documentation of X86 built-in functions
21009         here.
21010         * doc/invoke.texi: From here.
21011         * doc/sourcebuild.texi: Document location of documentation for
21012         machine built-in functions.
21014 2002-01-13  Christopher Faylor  <cgf@redhat.com>
21016         * cppfiles.c (TEST_THRESHOLD): New macro.
21017         (SHOULD_MMAP): Ditto.
21018         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
21019         be used.
21021 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
21023         * unroll.c (final_reg_note_copy): Properly handle
21024         REG_LABEL
21025         (unroll_loops): Fix LOOP_CONDITION heuristics.
21027 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
21029         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
21030         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
21032 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
21034         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
21035         threaded loop.
21037 2002-01-14  Tom Rix  <trix@redhat.com>
21039         * config/rs6000/rs6000.md: Fix typo with sradi.
21041 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
21043         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
21044         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
21045         (clrstrdi, clrstrsi): Adapt callers.
21047         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
21049         (movti splitter): Never use register 0 as base register.
21051 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
21053         * combine.c (simplify_shift_const): Always generate new rtx
21054         for shift expression instead of reusing given expression.
21056 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
21058         * config/alpha/alpha.c (alpha_expand_mov): Don't call
21059         alpha_legitimize_address unless mode is Pmode.
21061 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
21063         * doc/md.texi (Modifiers): Document the '*' constraint for the
21064         user.
21066         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
21067         * doc/extend.texi (Function Attributes): 'interrupt' is valid
21068         for xstormy16 too.
21070 2002-01-13  Richard Henderson  <rth@redhat.com>
21072         * reload.c (find_reloads): Use a hard reg destination as reload reg
21073         for an input reload of the source.
21075 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21077         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
21078         more generic.
21080 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
21082         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
21083         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
21085         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
21087 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
21089         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
21091 2002-01-12  Tom Rix  <trix@redhat.com>
21093         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
21094         TARGET_POWERPC64.
21096 2002-01-12  Richard Henderson  <rth@redhat.com>
21098         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
21100         * doc/invoke.texi: Update Alpha options.
21102         * doc/invoke.texi: Update i386 built-in function lists.
21104 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
21106         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
21107         referencing outside.
21109 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
21111         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
21112         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
21113         offsets, and change line folding.
21114         * optabs.c (expand_binop): Remove warnings.
21115         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
21117 2002-01-12  Graham Stott <grahams@redhat.com>
21119         * attribs.c (handle_deprecated_attribute): constify WHAT.
21120         * diagnostic.c (warn_deprecated_use): Add braces, fixes
21121         dangling else warning and constify WHAT.
21122         * except.h (struct function, struct inline_remap): Move
21123         struct tag forward defs before all prototypes.
21124         (duplicate_eh_regions): Whitespace.
21126 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
21128         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
21129         MODE_BASE_REG_CLASS.
21130         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
21132 2002-01-12  Richard Henderson  <rth@redhat.com>
21134         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
21135         (ix86_expand_vector_move): New.
21136         (bdesc_2arg): Remove andps, andnps, orps, xorps.
21137         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
21138         Remove old prefetch builtins.  Special case the logicals removed above.
21139         (ix86_expand_builtin): Likewise.
21140         (safe_vector_operand): Use V4SFmode, not TImode.
21141         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
21142         (ix86_expand_timode_binop_builtin): New.
21143         * config/i386/i386-protos.h: Update.
21144         * config/i386/i386.h (enum ix86_builtins): Update.
21145         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
21146         Use ix86_expand_vector_move in vector move expanders.
21147         (movti_internal, movti_rex64): Add xorps alternative.
21148         (sse_clrv4sf): Rename and adjust from sse_clrti.
21149         (prefetch): Don't work so hard.
21150         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
21151         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
21152         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
21154 2002-01-11  Richard Henderson  <rth@redhat.com>
21156         * config/i386/mmintrin.h: New file.
21157         * config/i386/xmmintrin.h: New file.
21158         * config.gcc (i?86-*-*): Add extra_headers.
21159         * simplify-rtx.c (simplify_unary_operation): Handle saturating
21160         truncation codes.
21161         (simplify_binary_operation): Handle saturating arithmetic codes.
21162         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
21163         not the lowpart subreg.
21164         (ix86_expand_builtin): Return a TImode dummy register instead of 0
21165         on error.
21166         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
21168 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21170         * conflict.c (conflict_graph_compute): Free regsets when finished.
21171         * ssa.c (compute_coalesced_reg_partition): Likewise.
21173 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21175         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
21176         every where we allocate a register.
21178 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21180         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
21181         * lcm.c (compute_earliest, compute_farthest): Likewise.
21183 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
21185         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
21187 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
21189         * doc/rtl.texi (Insns): Fix 2 typos.
21191 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
21193         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
21194         options.  Use @table @gcctabopt for MMIX options.  Add index
21195         entries for MMIX options.  Start new paragraph with first
21196         heading of the machine-dependent options.
21198 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
21200         PR other/5299
21201         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
21202         * combine.c (force_to_mode): Same.
21203         * reload1.c (clear_reload_reg_in_use): Same.
21205 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
21207         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
21208         and 'subtargets'.
21210 2002-01-11  Andreas Jaeger  <aj@suse.de>,
21211             Brad Lucier <lucier@math.purdue.edu>
21213         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
21214         mcpu.
21216 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
21218         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
21219         Protect with IN_LIBGCC.
21220         (LINK_EH_SPEC): Add required trailing space.
21222 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
21224         * c-tree.h: Move function declarations so that they are listed
21225         under the filename which contains them.
21226         (check_identifier, finish_decl_top_level,
21227         lookup_name_current_level_global, shadow_record_fields): Remove.
21229 2002-01-11  Andreas Jaeger  <aj@suse.de>
21231         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
21232         march.
21234 2002-01-10  Richard Henderson  <rth@redhat.com>
21236         * config/alpha/alpha.c (print_operand): Add 'J'.
21237         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
21238         new operand with the sequence number for the lituse.  When splitting
21239         the insns, use gen_movdi_er_high_g and generate a sequence number.
21240         (gen_movdi_er_high_g): Print the sequence number if non-zero.
21242 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
21244         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
21245         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
21246         stvxl.
21247         (altivec_expand_builtin): Same.
21248         (altivec_expand_stv_builtin): New.
21250         * config/rs6000/rs6000.h (rs6000_builtins): Same.
21252         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
21253         ("altivec_lvehx"): New.
21254         ("altivec_lvewx"): New.
21255         ("altivec_lvxl"): New.
21256         ("altivec_lvx"): New.
21257         ("altivec_stvx"): New.
21258         ("altivec_stvebx"): New.
21259         ("altivec_stvehx"): New.
21260         ("altivec_stvewx"): New.
21261         ("altivec_stvxl"): New.
21263 2002-01-10  Richard Henderson  <rth@redhat.com>
21265         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
21266         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
21267         care not to delete instructions twice.
21269 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
21271         * toplev.c: Don't declare environ (it's not used anywhere).
21272         * configure.in: Don't check for declaration of environ.
21273         * config/i386/xm-mingw32.h: Don't #define environ.
21274         * config.in, configure: Regenerate.
21276 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
21278         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
21279         * configure: Regenerate.
21281         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
21282         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
21283         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
21284         alpha/xm-vms.h.
21285         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
21286         LIMITS_H_TEST here, not in m68k/x-next.
21287         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
21288         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
21290         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
21291         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
21292         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
21294         * config/i386/x-djgpp: Renamed i386/t-djgpp.
21295         * config/m88k/x-dolph: Renamed m88k/t-dolph.
21296         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
21297         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
21298         replacement of quadlib.asm with quadlib.c.
21300         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
21301         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
21302         config/rs6000/xm-beos.h: Delete file.
21304         * config.gcc: Update to match above changes.
21306 2002-01-10  Kazu Hirata  <kazu@hxi.com>
21308         * config/h8300/h8300.h: Fix comment typos.
21309         * config/h8300/h8300.md: Likewise.
21310         * config/h8300/lib1funcs.asm: Likewise.
21312 2002-01-10  Dale Johannesen  <dalej@apple.com>
21314         PR optimization/5269
21315         * unroll.c (precondition_loop_p): Make *increment be the correct
21316         sign when n_iterations known, to avoid confusing caller.
21318 2002-01-10  Kazu Hirata  <kazu@hxi.com>
21320         * doc/extend.texi (deprecated): Fix a typo.
21322 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
21324         * basic-block.h (update_br_prob_note): Declare.
21325         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
21326         (try_forward_edges): Care negative frequencies and update note.
21327         (outgoing_edges_match): Tweek conditional merging heuristics.
21328         (try_crossjump_to_edge): use update_br_prob_note.
21329         * cfglayout.c (fixup_reorder_chain): Likewise.
21330         * cfrtl.c (update_br_prob_note): New.
21331         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
21333         * i386.c (ix86_decompose_address): Return -1 if address contains
21334         shift.
21335         (legitimate_address_p): Require ix86_decompose_address to return 1.
21337         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
21338         (cprop_insn): Likewise.
21340 2002-01-10  Kazu Hirata  <kazu@hxi.com>
21342         * toplev.c: Fix formatting.
21343         * tree.c: Likewise.
21344         * tree-dump.c: Likewise.
21345         * unroll.c: Likewise.
21346         * unwind-dw2.c: Likewise.
21347         * unwind-dw2-fde.c: Likewise.
21348         * unwind-dw2-fde-glibc.c: Likewise.
21349         * unwind-sjlj.c: Likewise.
21351 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
21353         * doc/invoke.texi: Document PDP-11 options.
21355 2002-01-10  Kazu Hirata  <kazu@hxi.com>
21357         * config/h8300/h8300.h: Fix formatting.
21359 2002-01-10  Ira Ruben   <ira@apple.com>
21361         Add __attribute__ ((deprecated)).
21362         * extend.texi: Document __attribute__ ((deprecated)).
21363         * invoke.texi: Document -Wno-deprecated-declarations.
21364         * testsuite/g++.dg/other/deprecated.C: New C++ test.
21365         * testsuite/gcc.dg/deprecated.c: New C test.
21366         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
21367         (c_common_attribute_table): Add "deprecated" entry.
21368         (handle_deprecated_attribute): New function.
21369         * c-decl.c (deprecated_states): New enum.
21370         deprecated_state: State of "deprecated" handling.
21371         (start_decl): Set deprecated_state based on attributes.
21372         (grokdeclarator): Test for deprecated uses, propagate attribute.
21373         * c-typeck.c (build_component_ref): Test for deprecated fields.
21374         (build_external_ref): Test for deprecated primaries.
21375         * diagnostic.c (warn_deprecated_use) New function to issue
21376         warnings about __attribute__ ((depricated)) references.
21377         * flags.h (warn_deprecated_decl): Extern declared for
21378         -W[no-]deprecated-declarations option.
21379         * print-tree.c (print_node): Show deprecated flag status.
21380         * toplev.c (warn_deprecated_decl): Defined.
21381         (W_options): Added "deprecated-declaration".
21382         * toplev.h (warn_deprecated_use): Extern declared.
21383         * tree.h (struct tree_common): Define deprecated_flag.
21384         (TREE_DEPRECATED): New macro to access flag.
21385         * cp/call.c (build_call): Test for deprecated calls.
21386         * cp/class.c (add_implicitly_declared_members): Set global
21387         flag to tell grokdeclarator to not issue deprecated warnings.
21388         * cp/cp-tree.h: Add extern for adding_implicit_members.
21389         * cp/decl.c (deprecated_states): New enum.
21390         (start_decl): Set deprecated_state based on attributes.
21391         (grokdeclarator): Test for deprecated uses, propagate attribute.
21392         * cp/lex.c (do_identifier): Test for deprecated primaries.
21393         * cp/typeck.c (build_component_ref): Test for deprecated fields.
21395 2002-01-10  Ira Ruben   <ira@apple.com>
21397         Fix to assign attributes to inline member functions.
21398         * cp/decl.c (start_method): Handle attrlist.
21400 2002-01-10  Kazu Hirata  <kazu@hxi.com>
21402         * combine.c (expand_field_assignment): Use subreg_lsb().
21404 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
21406         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
21407         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
21408         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
21409         Recurse for any operand of AND as long as constant is non-zero.
21411 2002-01-10  Kazu Hirata  <kazu@hxi.com>
21413         * config/h8300/h8300.md: Remove constraints from expanders.
21415 2002-01-10  Kazu Hirata  <kazu@hxi.com>
21417         * varasm.c: Fix formatting.
21418         * varray.c: Likewise.
21419         * vmsdbgout.c: Likewise.
21420         * xcoffout.c: Likewise.
21422 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
21424         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
21425         update edge probabilities to match.
21427 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
21429         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
21430         dependencies.
21431         * doc/languages.texi, doc/sourcebuild.texi: New files.
21432         * doc/configfiles.texi: Make a subsubsection.  Update.
21433         * doc/configterms.texi: Add @node.  Remove warning that this isn't
21434         instructions for building GCC.
21435         * doc/makefile.texi: Make a subsection.
21436         * doc/gccint.texi: Update.
21438 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
21440         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
21442 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
21444         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
21446 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
21448         * optabs.c (expand_fix): Look for wider integer modes first.
21450         * i386.md (mov?f): Avoid the fake const double trick for medium
21451         memory model.
21452         (min?f*/max?f*): Prohibit memory operands for i387 variant.
21453         (fop_df_4): Disable for SSE compilation.
21455 2002-01-10  Graham Stott  <grahams@redhat.com>
21457         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
21458         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
21460 2002-01-10  Richard Henderson  <rth@redhat.com>
21462         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
21464 2002-01-10  Richard Henderson  <rth@redhat.com>
21466         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
21467         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
21469 2002-01-10  Kazu Hirata  <kazu@hxi.com>
21471         * combine.c (can_combine_p): Fix a comment typo.
21473 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
21475         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
21476         empty list correctly.  Change loop index $t to $f for
21477         consistency with rest of Makefile.
21479 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
21481         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
21482         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
21484         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
21485         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
21486         (altivec_init_builtins): Same.
21487         (altivec_expand_unop_builtin): Return NULL_RTX on error.
21488         (altivec_expand_binop_builtin): Same.
21489         (altivec_expand_ternop_builtin): Same.
21490         (bdesc_dst): New.
21492         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
21493         ("altivec_vctuxs"): Fix typo.
21494         ("altivec_vnmsubfp"): Same.
21495         ("altivec_dssall"): New.
21496         ("altivec_mfvscr"): New.
21497         ("altivec_dss"): New.
21498         ("altivec_lvsl"): New.
21499         ("altivec_lvsr"): New.
21500         ("altivec_dstt"): New.
21501         ("altivec_dstst"): New.
21502         ("altivec_dststt"): New.
21503         ("altivec_dst"): New.
21505         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
21506         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
21508 2002-01-09  Richard Henderson  <rth@redhat.com>
21510         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
21512 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
21514         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
21515         function.
21516         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
21517         prototype.
21518         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
21520 2002-01-09  Kazu Hirata  <kazu@hxi.com>
21522         * read-rtl.c: Fix formatting.
21523         * real.c: Likewise.
21524         * regclass.c: Likewise.
21525         * regrename.c: Likewise.
21526         * reg-stack.c: Likewise.
21527         * reload1.c: Likewise.
21528         * reload.c: Likewise.
21529         * rtl.c: Likewise.
21531 2002-01-09  Kazu Hirata  <kazu@hxi.com>
21533         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
21534         to extract items in the expr_list chain.
21536 2002-01-09  Richard Henderson  <rth@redhat.com>
21538         * config/vax/vax.c (vax_rtx_cost): Never abort.
21540         * config/vax/vax.h (REAL_ARITHMETIC): Define.
21542 2002-01-09  Jan Hubicka  <jh@suse.cz>
21544         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
21546 2002-01-09  Richard Henderson  <rth@redhat.com>
21548         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
21549         Unify code from various alternatives.
21551 2002-01-09  Richard Henderson  <rth@redhat.com>
21553         * regrename.c (copy_value): Ignore the copy if the source register
21554         is present in the value chain with a narrower mode.
21556 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
21558         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
21559         for the c4x target. Also improve layout.
21561 2002-01-09  Richard Henderson  <rth@redhat.com>
21563         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
21564         * config/m32r/m32r.md (and ior xor splitters): Swap operands
21565         to match insn patterns.
21567 2002-01-09  Richard Henderson  <rth@redhat.com>
21569         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
21570         (copyprop_hardreg_forward_1): Likewise.
21572 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
21574         * pa.md (decrement_and_branch_until_zero): Change predicate for
21575         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
21577 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
21579         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
21580         gets undefined. For Darwin.
21582 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21584         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
21586 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21588         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
21590 2002-01-08  Richard Henderson  <rth@redhat.com>
21592         * regrename.c (copy_value): Ignore overlapping copies.
21594 2002-01-08  Richard Henderson  <rth@redhat.com>
21596         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
21597         as needed to avoid shared structure.
21599 2002-01-08  Kazu Hirata  <kazu@hxi.com>
21601         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
21602         H8/300H and H8/S.
21604 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
21606         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
21607         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
21608         documentation of obsolete macros.
21609         * system.h: Poison these macros.
21610         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
21611         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
21612         config/c4x/c4x.h, config/clipper/clipper.h,
21613         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
21614         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
21615         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
21616         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
21617         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
21618         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
21619         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
21620         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
21621         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
21622         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
21623         config/sparc/sparc.h, config/stormy16/stormy16.h,
21624         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
21625         definitions and commented out definitions of obsolete macros.
21626         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
21627         of MAX_INT_TYPE_SIZE.
21629 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
21631         * config/s390/s390.c (s390_preferred_reload_class): Never
21632         return ADDR_REGS if it isn't a subset of the given class.
21633         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
21634         FP_REGS, but all superclasses as well.
21636         * config/s390/s390.c (s390_function_profiler): Fix thinko.
21638         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
21639         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
21640         must not be a const_int.
21642 2002-01-08  Richard Henderson  <rth@redhat.com>
21644         * Makefile.in (toplev.o): Depend on options.h.
21645         (gcc.o): Depend on specs.h.
21647 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
21649         * expr.c (store_expr): Convert VOIDmode constants back to target's
21650         mode.
21652 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21654         * doc/invoke.texi: Markup gcc as @command.  Refer to
21655         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
21656         of http://gcc.gnu.org/thanks.html.
21658 2002-01-08  Dale Johannesen  <dalej@apple.com>
21660         * config/rs6000/rs6000.md: Add missing int register
21661         target case to movdf_low.
21663 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
21665         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
21666         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
21667         (cppinit.o): Depend on except.h.
21668         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
21669         s-specs): New rules.
21671         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
21672         Don't create specs.h/options.h/gencheck.h here.  Remove
21673         unnecessary variable settings from last argument of AC_OUTPUT.
21674         * config.in, configure: Regenerate.
21675         * intl.c: Hardcode package name as "gcc".
21677         * cppinit.c: Include except.h.
21678         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
21679         appropriate.
21680         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
21681         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
21682         (!)USING_SJLJ_EXCEPTIONS.
21683         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
21685 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
21687         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
21688         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
21689         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
21690         documentation of obsolete macros.
21691         * system.h: Poison these macros.
21692         * config/d30v/d30v.h, config/ns32k/encore.h,
21693         config/stormy16/stormy16.h: Remove definitions and commented out
21694         definitions of obsolete macros.
21696 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
21698         * objc/objc-act.c (handle_class_ref): Mark the declaration of
21699         %sobjc_class_ref_%s as used - to prevent unwanted compiler
21700         warnings.
21702 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
21704         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
21705         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
21706         to insn adjusting stack/frame pointer.
21707         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
21708         accept operands that cause the insn to be non-splittable.
21710 2002-01-08  Graham Stott  <grahams@redhat.com>
21712         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
21713         (C_TYPE_FIELDS_VOLATILE): Likewise.
21714         (C_TYPE_BEING_DEFINED): Likewise.
21715         (C_IS_RESERVED_WORD): Likewise.
21716         (C_TYPE_VARIABLE_SIZE): Likewise.
21717         (C_DECL_VARIABLE_SIZE): Likewise.
21718         (C_MISSING_PROTOTYPE_WARNED): Likewise.
21719         (C_SET_EXP_ORIGINAL_CODE): Likewise.
21720         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
21721         parenthesis.
21722         (C_DECL_ANTICIPATED): Likewise.
21723         (c_build_type_variant): Add parenthesis.
21725 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
21727         * gcc.c (option_map): Remove --version.
21728         (process_command): Handle -fversion following the GNU Coding
21729         Standards.  Partially addresses PR other/704.
21731 2002-01-08  Graham Stott  <grahams@redhat.com>
21733         * combine.c (combine_instructions): Fix typo.
21735 2002-01-08  Graham Stott  <grahams@redhat.com>
21737         * debug.h: Use "tree" and "rtx" throughout.
21739         * debug.c: Likewise.
21741 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
21743         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
21744         constant pool, use the pool's version of the symbol instead.
21746 2002-01-07  Richard Henderson  <rth@redhat.com>
21748         * regrename.c (find_oldest_value_reg): Ignore the value chain if
21749         the original register was copied in a mode with a fewer number of
21750         hard registers than the desired mode.
21751         (copyprop_hardreg_forward_1): Likewise.
21752         (debug_value_data): Fix loop test.
21753         * toplev.c (parse_options_and_default_flags): Reenable
21754         -fcprop-registers at -O1.
21756 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
21758         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
21759         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
21761         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
21762         predicates.
21764         * config/rs6000/rs6000.md: Add altivec predicate patterns.
21766 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
21768         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
21769         (pa_output_function_prologue): Output local label at the beginning of
21770         the prologue when profiling.
21771         (hppa_profile_hook): Use the local label rather than the function label.
21772         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
21774 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
21776         * config/rs6000/rs6000.c (print_operand): Remove extra space.
21777         (altivec_expand_unop_builtin): Fix thinko.
21778         (altivec_expand_binop_builtin): Same.
21779         (altivec_expand_ternop_builtin): Same.
21780         (altivec_expand_builtin): Same.
21782 2002-01-07  Richard Henderson  <rth@redhat.com>
21784         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
21786 2002-01-07  Jason Merrill  <jason@redhat.com>
21788         * unwind-dw2.c (execute_cfa_program): Use < again.
21790 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
21792         * predict.c (combine_predictions_for_insn): Avoid division by zero.
21794 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
21796         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
21797         Don't allow -1 - x -> ~x simplifications in the first pass.
21799 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
21801         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
21802         arguments.
21803         (altivec_expand_binop_builtin): Same.
21804         (altivec_expand_unop_builtin): Same.
21805         (print_operand): Fix typo.
21806         (bdesc_1arg): Add vupk* variants.
21808         * rs6000.h (rs6000_builtins): Add vupk* enums.
21810         * rs6000.md: Add altivec_vupk* variants.
21812 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
21814         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
21815         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
21816         and last update dates.
21818 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
21820         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
21822 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
21824         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
21825         * config/avr/avr.h (CPP_SPEC): Likewise.
21826         (LINK_SPEC): Likewise.
21827         (CRT_BINUTILS_SPECS): Likewise.
21828         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
21829         * doc/invoke.texi (AVR Options): Document them.
21831 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
21833         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
21834         LABEL_NUSES.
21836 2002-01-07  Graham Stott  <grahams@redhat.com>
21838         * config/i386/i386.h: Update copyright date.
21839         (HALF_PIC_PTR): Add parenthesis.
21840         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
21841         (CONSTANT_ALIGNMENT): Add parenthesis.
21842         (DATA_ALIGNMENT): Likewise.
21843         (LOCAL_ALIGNMENT): Likewise.
21844         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
21845         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
21846         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
21847         (HARD_REGNO_NREGS): Add paranethesis.
21848         (VALID_SSE_REG_MODE): Whitespace.
21849         (VALID_MMX_REG_MODE): Whitespace.
21850         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
21851         (ix86_hard_regno_mode_ok): Add parenthesis.
21852         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
21853         (RETURN_IN_MEMORY): Whitespace.
21854         (N_REG_CLASSES): Add parenthesis.
21855         (INTEGER_CLASS_P): Add parenthesis and wrap.
21856         (FLOAT_CLASS_P): Likewise.
21857         (SSE_CLASS_P): Likewise.
21858         (MMX_CLASS_P): Likewise.
21859         (MAYBE_INTEGER_CLASS_P): Likewise.
21860         (MAYBE_FLOAT_CLASS_P): Likewise.
21861         (MAYBE_SSE_CLASS_P): Likewise.
21862         (MAYBE_MMX_CLASS_P): Likewise.
21863         (Q_CLASS_P): Likewise.
21864         (GENERAL_REGNO_P): Uppercase macro parameter.
21865         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
21866         (FP_REGNO_P): Likewise.
21867         (ANY_FP_REGNO_P): Uppercase macro parameter.
21868         (SSE_REGNO_P): Likewise.
21869         (SSE_REGNO): Likewise.
21870         (SSE_REG_P): Likewise.
21871         (SSE_FLOAT_MODE_P): Likewise.
21872         (MMX_REGNO_P): Likewise.
21873         (MMX_REG_P):Likewise.
21874         (STACK_REG_P): Likewise.
21875         (NON_STACK_REG_P): Likewise.
21876         (STACK_TOP_P): Likewise.
21877         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
21878         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
21879         (SECONDARY_MEMORY_NEEDED): Likewise.
21880         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
21881         (MD_ASM_CLOBBERS): Whitespace and wrap.
21882         (MUST_PASS_IN_STACK): Whitespace and wrap.
21883         (RETURN_POPS_ARGS): Add parenthesis.
21884         (INIT_CUMULATIVE_ARGS): Likewise.
21885         (FUNCTION_ARG): Likewise.
21886         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
21887         (SETUP_INCOMING_VARARGS): Likewise.
21888         (BUILD_VA_LIST_TYPE):  Add parenthesis.
21889         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
21890         parenthsis.
21891         (EXPAND_BUILTIN_VA_ARG): Likewise.
21892         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
21893         (INITIALIZE_TRAMPOLINE): Add parenthesis.
21894         (INITIAL_ELIMINATION_OFFSET): Likewise.
21895         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
21896         (REGNO_OK_FOR_BASE_P): Likewise.
21897         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
21898         (REGNO_OK_FOR_DIREG_P): Likewise.
21899         (REG_OK_FOR_INDEX_P): Whitespace.
21900         (REG_OK_FOR_BASE_P): Whitespace.
21901         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
21902         parenthesis.
21903         (FIND_BASE_TERM): Fix typo.
21904         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
21905         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
21906         (SYMBOLIC_CONST; Whitespace.
21907         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
21908         (ENCODE_SECTION_INFO): Whitespace.
21909         (FINALIZE_PIC): Remove do { ... } while (0).
21910         (PROMOTE_MODE): Wrap in do { ... } while (0).
21911         (CONST_COSTS): Whitespace.
21912         (RTX_COSTS): Add paramethesis, whitespace and wrap.
21913         (REGISTER_MOVE_COST): Add parenthesis.
21914         (MEMORY_MOVE_COST): Likewise.
21915         (EXTRA_CC_MODES): Whitespace.
21916         (SELECT_CC_MODE): Add parenthesis and whitespace.
21917         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
21918         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
21919         (ASM_OUTPUT_LABEL): Add paramethesis.
21920         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
21921         (ASM_OUTPUT_REG_POP): Likewise.
21922         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
21923         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
21925         * config/i386/i386.c: Update copyright.
21926         (CHECK_STACK_LIMIT): Add parenthesis.
21927         (AT_BP): Uppercase macro parameter.
21928         (x86_64_int_parameter_registers): Constify.
21929         (x86_64_int_return_registers): Likewise.
21930         (ix86_compare_op0): Use rtx.
21931         (construct_container): Constify INTREG parameter.
21932         (function_arg): Use rtx.
21934         * diagnostic.h: Update copyright date.
21935         (output_buffer_state): Add parenthesis.
21936         (output_buffer_format_args): Likewise.
21938         * combine.c (combine_instructions): Replace XEXP (links, 0)
21939         with link.
21941 2002-01-06  H.J. Lu <hjl@gnu.org>
21943         * cfgcleanup.c (thread_jump): Fix 2 typos.
21945 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
21947         * config.gcc: Add support for --enable-altivec.
21949 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
21951         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
21953 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
21955         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
21956         __objc_class_name_*.
21958 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
21960         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
21962 2002-01-06  Richard Henderson  <rth@redhat.com>
21964         * reorg.c (emit_delay_sequence): Remove death notes, not merely
21965         nop them out.  Increment label reference count for REG_LABEL.
21966         (fill_slots_from_thread): Frob label reference count around
21967         delete_related_insns.
21969 2002-01-05  Richard Henderson  <rth@redhat.com>
21971         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
21972         jump threading.
21974 2002-01-05  Richard Henderson  <rth@redhat.com>
21976         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
21977         * integrate.c (output_inline_function): Likewise.
21978         * toplev.c (rest_of_compilation): Do it here instead.  Move call
21979         to remove_unnecessary_notes after emitting abstract instance.
21980         Force an emitted nested function to have its parent emited as well.
21981         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
21982         for null.
21983         (rtl_for_decl_location): Do not look at reload data structures
21984         before reload has run.
21986 2002-01-05  Kazu Hirata  <kazu@hxi.com>
21988         * cse.c: Fix formatting.
21989         * dwarf2asm.c: Likewise.
21990         * dwarf2out.c: Likewise.
21991         * explow.c: Likewise.
21992         * expmed.c: Likewise.
21993         * function.c: Likewise.
21994         * gcov.c: Likewise.
21995         * gencheck.c: Likewise.
21996         * genrecog.c: Likewise.
21997         * ggc-common.c: Likewise.
21998         * ggc-page.c: Likewise.
21999         * global.c: Likewise.
22001 2002-01-05  Kazu Hirata  <kazu@hxi.com>
22003         * combine.c: Fix formatting.
22005 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
22007         PR middle-end/1557
22008         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
22010 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
22012         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
22013         as 1 for __powerpc64__ as well.
22015         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
22017         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
22018         return it.
22020 2002-01-05  Daniel Berlin  <dan@dberlin.org>
22022         * lcm.c: Revert change, due to performance regression it causes on
22023         SPEC because it's slightly more conservative (sigh, I hate
22024         edge-based LCM).
22026 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
22028         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
22030 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
22032         * doc/cppinternals.texi: Update.
22034 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
22036         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
22037         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
22038         negatives.
22039         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
22040         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
22041         kludge for pre-october-14th mmix versions to handle new-found bug
22042         with PUSHJ/PUSHGO and the register stack.
22043         * config/mmix/mmix.h (struct machine_function): Rename member
22044         has_call_value_without_parameters to has_call_without_parameters.
22045         All referers changed.
22046         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
22047         TARGET_MASK_BRANCH_PREDICT): New macros.
22048         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
22049         -mno-reg-stack-fill-bug-workaround.
22050         * config/mmix/mmix.md ("call"): Set struct machine member
22051         has_call_without_parameters.
22053 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
22055         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
22057 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
22059         * cfgcleanup.c: Include tm_p.h
22060         (mark_effect): Fix handling of hard register; fix handling of SET
22062 2002-01-04  Kazu Hirata  <kazu@hxi.com>
22064         * config/h8300/h8300.md (anonymous patterns): Check that
22065         operands are registers before using REGNO on them.
22067 2002-01-03  Roland McGrath  <roland@frob.com>
22069         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
22071 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
22073         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
22074         * c-common.h (genrtl_expr_stmt_value): Likewise.
22075         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
22076         (expand_expr_stmt_value): Add maybe_last argument.
22077         Don't warn about statement with no effect if it is the last statement
22078         in expression statement.
22079         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
22080         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
22081         expand_expr_stmt_value.
22082         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
22083         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
22084         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
22085         as maybe_last to expand_expr_stmt_value.
22087 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
22089         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
22090         be passed in, do not build it.
22091         (c_begin_if_stmt): New function.
22092         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
22093         * c-common.h (c_expand_start_cond): Update prototype.
22094         (c_begin_if_stmt): Prototype new function.
22095         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
22096         * c-parse.in (if_prefix): Use c_begin_if_stmt,
22097         c_begin_while_stmt and c_finish_while_stmt_cond.
22099 2002-01-04  William Cohen  <wcohen@redhat.com>
22101         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
22102         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
22103         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
22104         * config/pa/som.h (ASM_FILE_START): Likewise.
22106 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
22108         * lcm.c: Include df.h.
22109         Add available_transfer_function prototype.
22110         (compute_available): Rework to use iterative dataflow framework.
22111         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
22112         with bb_info in df.h
22113         (available_transfer_function): New function.
22115         * Makefile.in (lcm.o): add df.h to dependencies.
22117 2002-01-04  Richard Henderson  <rth@redhat.com>
22119         * config/alpha/alpha.c (some_operand): Accept HIGH.
22120         (input_operand): Likewise; accept simple references to globals.
22121         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
22122         (alpha_const_double_ok_for_letter_p): Likewise.
22123         (alpha_extra_constraint): Likewise.
22124         (alpha_preferred_reload_class): Likewise.  Do not force
22125         symbolic constants to memory.
22126         (alpha_legitimate_address_p): Accept simple references
22127         to small_symbolic_operand.
22128         (alpha_legitimize_address): New arg scratch.  Be prepared to be
22129         called when no_new_pseudos.  Emit simple symbolic references.
22130         Split integers into low, high, and rest.
22131         (alpha_expand_mov): Use alpha_legitimize_address.
22132         (some_small_symbolic_mem_operand): New.
22133         (split_small_symbolic_mem_operand): New.
22134         * config/alpha/alpha-protos.h: Update.
22135         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
22136         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
22137         (EXTRA_CONSTRAINT): Likewise.
22138         (PREFERRED_RELOAD_CLASS): Likewise.
22139         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
22140         (PREDICATE_CODES): Update.
22141         * config/alpha/alpha.md: New post-reload splitters to convert
22142         simplfied symbolic operands to the form that references $29.
22143         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
22144         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
22146 2002-01-03  Richard Henderson  <rth@redhat.com>
22148         * local-alloc.c (function_invariant_p): Update commentary.
22150 2002-01-04  H.J. Lu <hjl@gnu.org>
22152         * toplev.c (rest_of_compilation): Fix a typo when calling
22153         cleanup_cfg.
22155 2002-01-03  Kazu Hirata  <kazu@hxi.com>
22157         * c-common.c: Fix formatting.
22158         * diagnostic.c: Likewise.
22159         * doloop.c: Likewise.
22160         * dwarf2out.c: Likewise.
22162 2002-01-03  Kazu Hirata  <kazu@hxi.com>
22164         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
22165         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
22167 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
22169         * cpperror.c: Update comments and copyright.
22170         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
22171         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
22173 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
22175         * collect2.c (main): Use strcmp when testing for "-shared".
22177 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
22179         * cppmacro.c: Don't include intl.h.  Update comments.
22180         (new_number_token): Allocate enough buffer for 64-bit unsigned
22181         integers; update prototype.
22182         * cppmain.c: Update comments.
22184 2002-01-03  William Cohen  <wcohen@redhat.com>
22186         * function.h (struct function): Add profile.
22187         (current_function_profile): New.
22188         doc/extend.texi: Update documentation.
22189         * final.c (final_start_function): Use current_function_profile
22190         instead of profile_flag.
22191         (profile_after_prologue): Likewise.
22192         * function.c (expand_function_start): Likewise.
22193         (expand_function_start): Likewise.
22194         * config/alpha/alpha.c (direct_call_operand):
22195         (alpha_does_function_need_gp): Likewise.
22196         (alpha_expand_prologue): Likewise.
22197         * config/arm/arm.c (arm_expand_prologue): Likewise.
22198         thumb_expand_prologue: Likewise.
22199         * config/d30v/d30v.c (d30v_stack_info): Likewise.
22200         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
22201         (fr30_expand_prologue): Likewise.
22202         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
22203         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
22204         * config/i386/i386.h (FINALIZE_PIC): Likewise.
22205         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
22206         * config/i960/i960.c (i960_output_function_prologue): Likewise.
22207         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
22208         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
22209         (m32r_expand_prologue): Likewise.
22210         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
22211         (m88k_expand_prologue): Likewise.
22212         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
22213         * config/mips/mips.c (compute_frame_size): Likewise.
22214         (mips_expand_prologue): Likewise.
22215         (mips_can_use_return_insn): Likewise.
22216         * config/pa/elf.h (ASM_FILE_START): Likewise.
22217         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
22218         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
22219         * config/pa/som.h (ASM_FILE_START): Likewise.
22220         * config/romp/romp.c (romp_using_r14): Likewise.
22221         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
22222         (rs6000_stack_info): Likewise.
22223         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
22224         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
22225         * config/v850/v850.c (compute_register_save_size): Likewise.
22227 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
22229         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
22230         gen_lowpart_common fails, use gen_lowpart_SUBREG.
22232 2002-01-03  Turly O'Connor  <turly@apple.com>
22234         * darwin.c (machopic_output_possible_stub_label): Don't generate
22235         stub routines for pseudo-stubs which we've just defined.
22237 2002-01-03  Kazu Hirata  <kazu@hxi.com>
22239         * builtins.c: Fix formatting.
22240         * c-typeck.c: Likewise.
22241         * combine.c: Likewise.
22242         * expr.c: Likewise.
22243         * loop.c: Likewise.
22245 2002-01-03  Andreas Schwab  <schwab@suse.de>
22247         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
22248         and return true if _cpp_push_next_buffer pushed a new include
22249         file.
22250         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
22251         _cpp_pop_file_buffer did not push a new file.
22252         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
22254 2002-01-02  Eric Christopher  <echristo@redhat.com>
22256         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
22257         FIND_REG_INC_NOTE call. Update copyright.
22258         * loop.c (canonicalize_condition): Ditto.
22259         * reorg.c (delete_scheduled_jump): Ditto.
22261 2002-01-03  Kazu Hirata  <kazu@hxi.com>
22263         * gcse.c: Fix formatting.
22265 2002-01-03  Graham Stott  <grahams@redhat.com>
22267         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
22268         forward defs for struct tags rtx_def, union_tree, rtvec_def
22269         also output corresponding typedefs for rtx, tree, and rtvec.
22271         * system.h: Move forward defs for struct tags rtx_def, union_tree,
22272         rtvec_def along with corresponding typedefs for rtx, tree, and
22273         rtvec to config.h, hconfig.h, tconfig.h.
22275 2002-01-03  Graham Stott  <grahams@redhat.com>
22277         * tree.h: Update copyright date.
22278         (IS_EXPR_CODE_CLASS): Add parenthesis.
22279         (TREE_SET_CODE): Add whitespace.
22280         (TREE_CHECK): Add parenthesis.
22281         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
22282         (CST_OR_CONSTRUCTOR_CHECK):
22283         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
22284         (TREE_SYMBOL_REFERENCED): Whitespace.
22285         (INT_CST_LT): Likewise.
22286         (INT_CST_LT_UNSIGNED): Likewise.
22287         (tree_real_cst): Unwrap comment.
22288         (tree_string): Likewise.
22289         (tree_complex): Likewise.
22290         (IDENTIFIER_POINTER): correct cast.
22291         (SAVE_EXPR_CONTEXT): Whitespace.
22292         (EXPR_WFL_FILENAME_NODE): Likewise.
22293         (EXPR_WFL_FILENAME): Remove parenthesis.
22294         (DECL_ORIGIN): Add parenthesis.
22295         (DECL_FROM_INLINE): Use NULL_TREE.
22296         (build_int_2): Whitespace.
22297         (build_type_variant): Add parenthesis.
22299         * gcc/jcf-parse.c: Update copyright date.
22300         (yyparse): Constify resource_filename.
22302 2002-01-03  Graham Stott  <grahams@redhat.com>
22304         * rtl.h: Update copyright date.
22305         (RTL_CHECK1): Wrap long line.
22306         (RTL_CHECK2): Likewise.
22307         (RTL_CHECKC1): Wrap long line and whitespace.
22308         (RTL_CHECKC2): Likewise.
22309         (XWINT): Whitespace.
22310         (XINT): Likewise.
22311         (XSTR): Likewise.
22312         (XEXP): Likewise.
22313         (XVEC): Likewise.
22314         (XMODE): Likewise.
22315         (XBITMAP): Likewise.
22316         (XTREE): Likewise.
22317         (XBBDEF): Likewise.
22318         (XTMPL): Likewise.
22319         (X0WINT): Likewise.
22320         (X0INT):Likewise.
22321         (X0UINT): Likewise.
22322         (X0STR): Likewise.
22323         (X0EXP): Likewise.
22324         (X0VEC): Likewise.
22325         (X0MODE): Likewise.
22326         (X0BITMAP): Likewise.
22327         (X0TREE): Likewise.
22328         (X0BBDEF): Likewise.
22329         (X0ADVFLAGS): Likewise.
22330         (X0CSELIB): Likewise.
22331         (X0MEMATTR): Likewise.
22332         (XCWINT): Likewise.
22333         (XCINT): Likewise.
22334         (XCUINT): Likewise.
22335         (XCSTR): Likewise.
22336         (XCEXP): Likewise.
22337         (XCVEC): Likewise.
22338         (XCMODE): Likewise.
22339         (XCBITMAP): Likewise.
22340         (XCTREE): Likewise.
22341         (XCBBDEF): Likewise.
22342         (XCADVFLAGS): Likewise.
22343         (XCCSELIB): Likewise.
22344         (XC2EXP): Likewise.
22345         (INSN_UID): Likewise.
22346         (PREV_INSN): Likewise.
22347         (PATTERN): Likewise.
22348         (INSN_CODE): Likewise.
22349         (PUT_REG_NOTE_KIND): Likewise.
22350         (CODE_LABEL_NUMBER): Likewise.
22351         (NOTE_SOURCE_FILE): Likewise.
22352         (NOTE_BLOCK): Likewise.
22353         (NOTE_EH_HANDLER): Likewise.
22354         (NOTE_RANGE_INFO): Likewise.
22355         (NOTE_LIVE_INFO): Likewise.
22356         (NOTE_BASIC_BLOCK): Likewise.
22357         (NOTE_EXPECTED_VALUE): Likewise.
22358         (NOTE_LINE_NUMBER): Likewise.
22359         (LABEL_NAME): Likewise.
22360         (LABEL_NUSES): Likewise.
22361         (LABEL_ALTERNATE_NAME): Likewise.
22362         (ADDRESSOF_DECL): Likewise.
22363         (JUMP_LABEL): Likewise.
22364         (LABEL_NEXTREF): Likewise.
22365         (REGNO): Likewise.
22366         (ORIGINAL_REGNO: Likewise.
22367         (HARD_REGISTER_NUM_P): Add parenthesis.
22368         (SUBREG_REG): Whitespace.
22369         (SUBREG_BYTE): Likewise.
22370         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
22371         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
22372         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
22373         (ASM_OPERANDS_INPUT_VEC): Likewise.
22374         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
22375         (ASM_OPERANDS_INPUT): Likewise.
22376         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
22377         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
22378         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
22379         (ASM_OPERANDS_INPUT_MODE): Likewise.
22380         (ASM_OPERANDS_SOURCE_FILE): Likewise.
22381         (ASM_OPERANDS_SOURCE_LINE): Likewise.
22382         (MEM_SET_IN_STRUCT_P): Minor reformat.
22383         (TRAP_CONDITION): Whitespace.
22384         (TRAP_CODE): Likewise.
22385         (COND_EXEC_TEST): Likewise.
22386         (COND_EXEC_CODE): Likewise.
22387         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
22388         (PHI_NODE_P): Add parenthesis.
22389         (plus_constant): Whitespace and add parenthesis.
22391 2002-01-03  Kazu Hirata  <kazu@hxi.com>
22393         * config/avr/avr.c: Fix comment typos.
22394         * config/c4x/c4x.md: Likewise.
22395         * config/dsp16xx/dsp16xx.h: Likewise.
22396         * config/dsp16xx/dsp16xx.md: Likewise.
22397         * config/i386/i386.md: Likewise.
22398         * config/ia64/ia64.c: Likewise.
22399         * config/m32r/m32r.h: Likewise.
22400         * config/m68hc11/m68hc11.md: Likewise.
22401         * config/mmix/mmix.c: Likewise.
22402         * config/mn10200/mn10200.c: Likewise.
22403         * config/romp/romp.c: Likewise.
22404         * config/sh/sh.c: Likewise.
22405         * config/stormy16/stormy16.c: Likewise.
22406         * config/stormy16/stormy16.h: Likewise.
22407         * config/stormy16/stormy16.md: Likewise.
22409 2002-01-03  Graham Stott  <grahams@redhat.com>
22411         * loop.h: Update copyright date.
22412         (LOOP_MOVABLES): Fix typo.
22413         (LOOP_REGS): Likewise.
22414         (LOOP_IVS): Likewise.
22416 2002-01-03  Graham Stott  <grahams@redhat.com>
22418         * cppinit.c: Update copyright date.
22419         Don't include output.h
22420         * Makefile.in: Update copyright date.
22421         Update dependency.
22423 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
22425         PR c/5226
22426         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
22427         (-pthread) Add to RS/6000 options.
22429 2002-01-02  Kazu Hirata  <kazu@hxi.com>
22431         * except.c: Fix comment typos.
22432         * loop.c: Likewise.
22433         * varasm.c: Likewise.
22434         * doc/tm.texi: Fix a typo.
22436 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
22438         * c-typeck.c (output_init_element): Allow initializing static storage
22439         duration objects with compound literals.
22441 2002-01-02  Richard Henderson  <rth@redhat.com>
22443         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
22444         after abusing it.
22446 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22448         * gcc.c (default_compilers): Const-ify.
22449         * mips-tdump.c (stab_names): Likewise.
22450         * mips-tfile.c (map_coff_types, map_coff_storage,
22451         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
22452         pseudo_ops_t, pseudo_ops): Likewise.
22453         * protoize.c (default_include): Likewise
22455         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
22456         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
22457         Add array size in declaration.
22458         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
22459         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
22460         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
22461         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
22462         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
22463         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
22464         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
22465         emtens, make_nan): Const-ify.
22466         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
22467         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
22469 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
22471         * config.gcc (ia64-*-*): Set extra_headers.
22472         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
22473         * config/alpha/t-osf: Remove.
22474         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
22476 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
22478         * config/rs6000/t-aix43: Revert previous change.
22480 2002-01-02  Jason Merrill  <jason@redhat.com>
22482         * c-decl.c (c_expand_body): Call outlining_inline_function when
22483         emitting an inline function out of line.
22485 2002-01-02  Richard Henderson  <rth@redhat.com>
22487         * dwarf2out.c (limbo_die_node): Add created_for member.
22488         (new_die): New argument created_for.  Update all callers.
22489         (mark_limbo_die_list): New.
22490         (dwarf2out_init): Register limbo_die_list as a root.
22491         (dwarf2out_finish): Force insert limbo dies into their function
22492         context.
22494 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
22496         PR c++/5089
22497         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
22499 2002-01-02  Kazu Hirata  <kazu@hxi.com>
22501         * config/h8300/fixunssfsi.c: Update copyright.
22502         Fix comment typos.
22503         Fix formatting.
22504         * config/h8300/h8300.c: Update copyright.
22505         Eliminate warnings.
22507 2002-01-02  Kazu Hirata  <kazu@hxi.com>
22509         * config/romp/romp.c: Fix comment formatting.
22510         * config/romp/romp.h: Likewise.
22511         * config/romp/romp.md: Likewise.
22512         * config/s390/s390.c: Likewise.
22513         * config/stormy16/stormy16.c: Likewise.
22514         * config/stormy16/stormy16.h: Likewise.
22516 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
22518         * c-common.h (genrtl_expr_stmt_value): Declare.
22519         * c-semantics.c (genrtl_goto_stmt): Redirect to...
22520         (genrtl_goto_stmt_value): ... this new function.  Pass new
22521         argument down to expand_expr_stmt_value, taking
22522         TREE_ADDRESSABLE into account.
22523         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
22524         STMT_EXPR as addressable, i.e., one whose result we want.
22525         * expr.c (expand_expr): Don't save expression statement value
22526         of labeled_blocks or loop_exprs.
22527         * stmt.c (expand_expr_stmt): Redirect to...
22528         (expand_expr_stmt_value): ... this new function.  Use new
22529         argument to tell whether to save expression value.
22530         (expand_end_stmt_expr): Reset last_expr_type and
22531         last_expr_value if we don't have either.
22532         * tree-inline.c (declare_return_variable): Mark its use
22533         statement as addressable.
22534         * tree.h: Document new use of TREE_ADDRESSABLE.
22535         (expand_expr_stmt_value): Declare.
22537 2002-01-01  Tom Rix  <trix@redhat.com>
22539         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
22540         rs6000_emit_allocate_stack.
22542 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
22544         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
22545         ${srcdir}/ginclude/ to every entry in extra_headers.
22546         * configure: Regenerate.
22547         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
22548         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
22549         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
22550         * ginclude/proto.h: Rename to config/convex/proto.h.
22552 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
22554         * attribs.c (handle_vector_size_attribute): Use host_integerp
22555         and tree_int_cst; remove warnings.
22556         * caller-save.c (insert_restore): Add cast to get rid of warning.
22557         (insert_save): Likewise.
22558         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
22559         * regmove.c (find_matches): Add temporary var to kill a warning.
22561 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
22563         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
22564         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
22565         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
22566         (vms-dwarf2eh.o): Add Makefile rule.
22567         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
22568         * config/alpha/vms-dwarf2eh.asm: New file.
22570         * gcc.c (delete_if_ordinary): Delete all versions.
22572 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
22574         * config/mmix/mmix.md: Update FIXME to not mention
22575         define_constants.
22576         (MMIX_rJ_REGNUM): New define_constants constant.
22577         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
22578         "*movdicc_real"): Adjust contraints formatting.
22579         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
22580         for branch prediction.
22581         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
22582         output template.
22583         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
22584         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
22585         number.  Delete related FIXMEs.
22586         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
22587         from number to MMIX_rJ_REGNUM.
22588         (TARGET_MASK_BRANCH_PREDICT): New.
22589         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
22590         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
22591         value.  Add -mbranch-predict and -mno-branch-predict.
22592         (TARGET_VERSION): Drop date.
22593         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
22594         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
22595         for finding out global symbols.
22596         (mmix_asm_output_labelref): Revert condition for global symbol.
22597         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
22598         (mmix_print_operand_punct_valid_p): A '+' is valid.
22600 See ChangeLog.6 for earlier changes.