OSDN Git Service

* pa/som.h (ASM_WEAKEN_LABEL): Export weak data symbols so that they
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-06-30  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2
3         * pa/som.h (ASM_WEAKEN_LABEL): Export weak data symbols so that they
4         have global scope.
5
6 2000-06-30  Martin von Loewis  <loewis@informatik.hu-berlin.de>
7
8         * invoke.texi (-Wreturn-type): In C++, a missing return type is
9         always an error.
10
11 2000-06-30  Catherine Moore  <clm@cygnus.com>
12  
13         * c-common.c (decl_attributes):  Differentiate between
14         types and type decls for alignment.
15
16 2000-06-30  Nathan Sidwell  <nathan@codesourcery.com>
17
18         * cpp.texi: Document #pragma GCC dependency
19         * cppfiles.c (open_include_file): Set date to unknown.
20         (_cpp_compare_file_date): New function.
21         (read_include_file): Set file date.
22         * cpphash.h (struct include_file): Add date member.
23         (_cpp_compare_file_date): Prototype.
24         * cpplib.c (parse_include): Add trail parameter. Adjust.
25         (do_include): Adjust parse_include call.
26         (do_import): Likewise.
27         (do_include_next): Likewise.
28         (gcc_pragmas): Add dependency pragma.
29         (do_pragma_dependancy): New pragma.
30
31 2000-06-29  Jason Merrill  <jason@redhat.com>
32
33         * dwarf2out.c (output_loc_operands): Don't abort on codes that have
34         no operands.
35
36 2000-06-29  Jim Wilson  <wilson@cygnus.com>
37
38         * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS): Return NO_REGS for
39         a volatile mem and FR_REGS.
40
41 2000-06-29  Mark Mitchell  <mark@codesourcery.com>
42
43         * c-common.c: Include c-common.h, not c-lex.h or c-tree.h.
44         * c-common.h (flag_const_strings): Declare.
45         (warn_format): Likewise.
46         (flag_traditional): Likewise.
47         (flag_isoc99): Likewise.
48         (warn_parentheses): Likewise.
49         (warn_conversion): Likewise.
50         (C_TYPE_OBJECT_P): Likewise.
51         (C_TYPE_INCOMPLETE_P): Likewise.
52         (C_TYPE_FUNCTION_P): Likewise.
53         (C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
54         (C_EXP_ORIGINAL_CODE): Likewise.
55         (build_unary_op): Likewise.
56         (build_binary_op): Likewise.
57         (lvalue_p): Likewise.
58         (default_conversion): Likewise.
59         (common_type): Likewise.
60         * c-tree.h (C_TYPE_OBJECT_P): Remove.
61         (C_TYPE_INCOMPLETE_P): Likewise.
62         (C_TYPE_FUNCTION_P): Likewise.
63         (C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
64         (C_EXP_ORIGINAL_CODE): Likewise.
65         (common_type): Likewise.
66         (default_conversion): Likewise.
67         (build_binary_op): Likewise.
68         (build_unary_op): Likewise.
69         (lvalue_p): Likewise.
70         (flag_const_strings): Likewise.
71         (warn_format): Likewise.
72         (warn_conversion): Likewise.
73         (flag_traditional): Likewise.
74         (flag_isoc99): Likewise.
75         (warn_parentheses): Likewise.
76         
77 2000-06-29  James E. Wilson  <wilson@cygnus.com>
78
79         * config/ia64/linux.h (LINK_SPEC): Change so.1 to so.2.
80         
81         * config/ia64/ia64.h (MODES_TIEABLE_P): Only tie if mode class is the
82         same.  Only tie XFmode with XFmode.
83
84 2000-06-29  Zack Weinberg  <zack@wolery.cumb.org>
85
86         * c-decl.c, timevar.c, tlink.c: Include intl.h.
87         * Makefile.in: Update deps.
88
89 2000-06-29  Andrew Haley  <aph@cygnus.com>
90
91         * toplev.c (main): On an IA-64, make flag_unwind_tables defauit
92         to true.
93
94 2000-06-29  Andrew Haley  <aph@cygnus.com>
95
96         * config/ia64/linux.h (JMP_BUF_SIZE): Size is in Pmode units, not
97         bytes: remove the multiply by 8.
98
99 2000-06-29  Philipp Thomas  <pthomas@suse.de>
100
101         * rtl.c : Revert NLS changes.
102         * gcc.c : Fix bug in display_help introced by my last changes.
103
104 Wed Jun 28 21:09:33 2000   Raja R Harinath <harinath@cs.umn.edu>
105
106         * dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use
107         DECL_CONTEXT, not DECL_FIELD_CONTEXT.
108
109 2000-06-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
110
111         * flow.c (flow_depth_first_order_compute): Fix algorithm.
112
113 2000-06-28  Philipp Thomas  <pthomas@suse.de>
114
115         * c-decl.c : Mark strings for translation.
116         (parmlist_tags_warning): Use distinct messages instead
117         of conditional expressions.
118         * diagnostic.c (v_message_with_decl): Mark string for translation.
119         * gcc.c: Mark messages for translation.
120         (display_help): Combine messages into one string where necessary.
121         * mips-tfile: Add intl.h. Mark messages for translation.
122         * rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark
123         messages for translation.
124         * timevar.c: Mark messages for translation.
125         * tlink.c: Likewise.
126         * toplev.c: Likewise.
127
128 Wed Jun 28 15:39:26 2000  Donn Terry (donnte@microsoft.com)
129
130         * i386-interix.h (STRIP_NAME_ENCODING): Declare _new_name properly.
131
132         * alpha/alpha-interix.h: Delete redundant -Asystem(interix),
133         use -isystem instead of -idirafter.
134         * i386/i386-interix.h: Likewise.
135
136 2000-06-28  Jason Merrill  <jason@redhat.com>
137
138         * dwarf2out.c (output_loc_operands): Don't support >1 byte output
139         unless DWARF2_DEBUGGING_INFO is defined.
140         (ASM_OUTPUT_DWARF_*): Wrap normal output defs with #ifndefs.
141
142 2000-06-28  Richard Henderson  <rth@cygnus.com>
143
144         * config/alpha/alpha.c (summarize_insn): Ignore SCRATCH.
145
146 2000-06-28  Jakub Jelinek  <jakub@redhat.com>
147
148         * cpplex.c (output_line_command): Output correct #line if a header
149         is including itself and is not protected against multiple inclusion.
150
151 2000-06-28  Zack Weinberg  <zack@wolery.cumb.org>
152
153         * cppfiles.c (open_include_file): If open(2) returns EMFILE or
154         ENFILE, close all cached file descriptors and try again.      
155         (_cpp_execute_include): Keep a count of the number of times
156         each header is included.
157         (close_cached_fd): New function.
158         * cpphash.h (struct include_file): Rename before to
159         include_count; all users updated.  Make include_count and sysp
160         unsigned short.
161         * cppinit.c (cpp_finish): If -H, report headers that could use
162         reinclude guards.
163         (report_missing_guard): New function.
164
165 Wed Jun 28 14:46:58 MET DST 2000  Jan Hubicka  <jh@suse.cz>
166
167         * i386.md (prologue_set_got): Set length_immediate field.
168         (testqi_ccno_1):  Add missing '@' character.
169
170 2000-06-27  Jason Merrill  <jason@redhat.com>
171
172         * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Use
173         DWARF_FRAME_REGNUM.
174
175 2000-06-27  Andrew Macleod <amacleod@cygnus.com>
176
177         * dwarf2out.c (ASM_OUTPUT_DWARF_DATA2): Provide default when no 
178         unsigned macros available.
179
180 2000-06-27  Richard Henderson  <rth@cygnus.com>
181
182         * config/ia64/ia64.c (emit_insn_group_barriers): Special case
183         epilogue_deallocate_stack.
184
185         * config/ia64/ia64.c (ia64_print_operand) [case D]: Emit
186         completers for UNORDERED and ORDERED as well.
187         * config/ia64/ia64.md (bunordered, bordered): New.
188         (sunordered, sordered): New.
189
190 Tue Jun 27 12:14:12 MET DST 2000  Jan Hubicka  <jh@suse.cz>
191
192         * genattrtab.c (write_attr_value): Do not abort for CONST_INT operands.
193         * i386.c (ix86_attr_length_default): Kill.
194         (ix86_attr_length_immediate_default, ix86_attr_length_address_default):
195         New.
196         * i386-protos.h (ix86_attr_length_default): Kill
197         (ix86_attr_length_immediate_default, ix86_attr_length_address_default):
198         Add prototype
199         * i386.md (attribute type): Add "test".
200         (attribute length_prefix): Kill.
201         (attribute length_opcode): Kill.
202         (attribute i387, mode, length_immediate, length_address, prefix_data16,
203         prefix_rep, prefix_0f, modrm): New.
204         (attribute length): Compute using the new attributes.
205         (attribute pent_prefix): New.
206         (attribute pent_pair): Compute using pent_prefix.
207         (all insn patterns): Set mode,modrm and immediate_length attributes where
208         needed.
209         (cmpsi patterns): Compute sizes propertly for test instruction.
210         (movsi, movhi patterns): Compute sizes propertly for eax shortcuts.
211         (movstricthi_xor, movstrictqi_xor): New patterns.
212         (andsi/andhi): Use splitters to generate xor instructions.
213         (xorqi_ext_1): New pattern.
214         (movstricthi->movstricthi_xor peep2): New.
215
216 Tue Jun 27 12:03:03 MET DST 2000  Jan Hubicka  <jh@suse.cz>
217
218         * i386.md (addqi_low_1): Remove.
219
220 2000-06-27  Philipp Thomas  <pthomas@suse.de>
221
222         * 1750a.h: Mark help strings for options/switches for translation.
223         * a29k.h: Likewise.
224         * alpha.h: Likewise.
225         * arm.h: Likewise.
226         * pe.h: Likewise.
227         * riscix.h: Likewise.
228         * c4x.h: Likewise.
229         * clipper.h: Likewise.
230         * convex.h: Likewise. 
231         * elxsi.h: Likewise.
232         * fr30.h: Likewise.
233         * fx80.h: Likewise.
234         * h8300.h: Likewise.
235         * i370.h: Likewise.
236         * cygwin.h: Likewise.
237         * dgux.h: Likewise.
238         * djgpp.h: Likewise.
239         * i386.h: Likewise.
240         * osf1elf.h: Likewise.
241         * osfrose.h: Likewise.
242         * sco5.h: Likewise.
243         * win32.h: Likewise.
244         * i860.h: Likewise.
245         * paragon.h: Likewise.
246         * i960.h: Likewise.
247         * ia64.h: Likewise.
248         * m32r.h: Likewise.
249         * mcore.h: Likewise.
250         * mips.h: Likewise.
251         * mn10300.h: Likewise.
252         * ns32k.h: Likewise.
253         * pdp11.h: Likewise.
254         * pj.h: Likewise.
255         * aix.h: Likewise.
256         * aix41.h: Likewise.
257         * aix43.h: Likewise.
258         * beos.h: Likewise.
259         * rs6000.h: Likewise.
260         * sysv4.h: Likewise.
261         * linux.h: Likewise.
262         * linux64.h: Likewise.
263         * sp64-elf.h: Likewise.
264         * sparc.h: Likewise.
265         * splet.h: Likewise.
266         * v850.h: Likewise.
267         * convex.h (TARGET_SWITCHES): Provide descriptions and mark them
268         for translation.
269         * sp86x-aout.h: Remove bogus first definition of SUBTARGET_SWITCHES.
270         Properly document option and mark for translation.
271         * sp86x-elf.h: Likewise.
272
273 2000-06-27  Bernd Schmidt  <bernds@cygnus.co.uk>
274
275         Add MMX and SSE registers to i386 machine description.
276         * i386-protos.h (ix86_constant_alignment, ix86_data_alignment,
277         ix86_local_alignment): Declare.
278
279         * i386.h (TARGET_MMX, TARGET_SSE): New.
280         (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS,
281         REG_ALLOC_ORDER, HARD_REGNO_NREGS, HARD_REGNO_MODE_OK,
282         REG_CLASS_NAMES, REG_CLASS_CONTENTS,REG_CLASS_FROM_LETTER,
283         enum reg_class, HI_REGISTER_NAMES): Added MMX/SSE registers.
284         (FIRST_SSE_REG, LAST_SSE_REG, SSE_REGNO_P): New.
285         (FIRST_MMX_REG, LAST_MMX_REG, MMX_REGNO_P, MMX_REG_P): New macros.
286         (RETURN_IN_MEMORY): Handle MMX/SSE.
287         (REG_PARM_STACK_SPACE): Added so the first three TImode parameters
288         also get stack space.
289         (MUST_PASS_IN_STACK): Added TImode to the default definition.
290         (CUMULATIVE_ARGS): Added sse_nregs, sse_regno and sse_words.
291         (MMX_REGISTER_NAMES): New.
292         (ALIGN_MODE_128): New macro.
293         (CONSTANT_ALIGNMENT): Code moved out-of-line; just call the function.
294         (DATA_ALIGNMENT): Likewise.
295         (LOCAL_ALIGNMENT): Likewise.
296         (CONDITIONAL_REGISTER_USAGE): Make MMX/SSE regs fixed if not
297         TARGET_MMX/TARGET_SSE.
298         (VALID_SSE_REG_MODE, VALID_MMX_REG_MODE): New macros.
299         (REG_CLASS_FROM_LETTER): 'y' for MMX regs.
300         (SECONDARY_MEMORY_NEEDED): Be conservative about copying between
301         SSE/MMX regs and something else.
302         (CLASS_MAX_NREGS): 1 for SSE and MMX regs.
303         (REGISTER_MOVE_COST): 10 if trying to move between MMX and SSE regs,
304         3 if moving between MMX regs and something else.
305
306         * i386.c (reg_class): Add SSE_REGS, MMX_REGS.
307         (regclass_map): Add MMX/SSE registers.
308         (print_operand): Add code to print XMMWORD as appropriate.
309         (ix86_split_movdi): Abort for MMX regs.
310         (init_cumulative_args): Also allow SSE_REGS
311         (function_arg_advance, function_arg): Likewise
312         (print_reg): Support 'm'.  Add case for TImode.
313         (override_options): TARGET_SSE implies TARGET_MMX.
314         (ix86_constant_alignment, ix86_data_alignment, ix86_local_alignment):
315         New functions.
316
317         * config/i386/unix.h (VALUE_REGNO): VECTOR_MODE values go to
318         FIRST_SSE_REG.
319         * config/i386/ptx4-i.h (RETURN_IN_MEMORY): Return MMX values in
320         memory.
321         * config/i386/sysv4.h (RETURN_IN_MEMORY): Likewise.
322         * config/i386/i386elf.h (RETURN_IN_MEMORY): Likewise.
323
324 2000-06-26  Geoff Keating  <geoffk@cygnus.com>
325
326         * ssa.c (struct rename_set_data): Change the name of field
327         'set_dest' to 'old_reg'.  Add comments.
328         (struct rename_context): Change the name of 'set_data' to
329         'new_renames'.  Add new field 'done_renames'.
330         (create_delayed_rename): New function.
331         (apply_delayed_renames): New function.
332         (rename_insn_1): Use the new functions.  Handle CLOBBERS.  Handle
333         SUBREGs and similar by emitting a move.
334         (new_registers_for_updates): Delete, functionality moved to
335         apply_delayed_renames.
336         (rename_block): Handle moves emitted by rename_insn_1 by putting
337         them into a SEQUENCE with the original insn.  Add sanity checks
338         and comments.
339         (rename_equivalent_regs_in_insn): Don't handle SUBREGs specially.
340         (rename_equivalent_regs): Expand SEQUENCEs out to individual insns.
341         
342 2000-06-26  Andrew Macleod <amacleod@cygnus.com>
343             Jason Merrill <jason@redhat.com>
344
345         * dwarf2.h (enum dwarf_call_frame_info): Add 
346         DW_CFA_def_cfa_expression.
347         * dwarf2out.c (union dw_cfi_oprnd_struct): Add a pointer to a
348         dw_loc_descr_struct entry.
349         (struct cfa_loc): New structure to track a CFA location.
350         (lookup_cfa): Take a cfa_loc parameter instead of a reg and an offset.
351         (lookup_cfa_1): Take a cfa_loc parameter instead of a reg and an
352         offset, plus handle DW_CFA_def_cfa_expression.
353         (def_cfa_1): Use to be dwarf2out_def_cfa, only now it uses a
354         cfa_loc record.
355         (dwarf2out_def_cfa): Entry point maintained for compatability.
356         (dwarf_cfi_name): Add DW_CFA_def_cfa_expression.
357         (cfa_reg, cfa_offset): Replace with cfa_loc record 'cfa'.
358         (cfa_store_reg, cfa_store_offset): Replace with cfa_loc 'cfa_store'.
359         (initial_return_save, dwarf2out_stack_adjust): Use cfa.reg, not
360         cfa_reg.
361         (dwarf2out_frame_debug_expr): Use new cfa_loc records. Recognize rtl
362         sequences for the new DW_CFA_def_cfa_expression record.
363         (dwarf2out_frame_debug): Use new variables/fields.A
364         (output_cfi): Handle DW_CFA_def_cfa_expression.
365         (output_cfa_loc): New function to generate a CFI record for 
366         DW_CFA_def_cfa_expression.
367         (get_cfa_from_loc_descr): New function to get a cfa_loc record from
368         a dw_loc_descr sequeunce.
369         (build_loc_descr): Build a dw_loc_descr from a cfa_loc record.
370         (dwarf_stack_op_name, new_loc_descr, add_loc_descr, size_of_loc_descr,
371         size_of_locs, output_loc_operands, output_loc_sequence): Move into
372         unwind info section.
373         * frame.h (frame_state): Add base_offset and indirect fields.
374         * frame-dwarf2.c (decode_stack_op): New function to interpret a
375         dw_loc_descr operation.
376         (execute_cfa_insn): Add support for DW_CFA_def_cfa_expression.
377         (struct frame_state): Add base offset and indirect fields.
378         * libgcc2.c (next_stack_level): Support indirect loading for CFA.
379
380 2000-06-26  Joseph S. Myers  <jsm28@cam.ac.uk>
381
382         * c-decl.c (grokdeclarator): Don't warn about `long long' in C99.
383         Make warnings about implicit int be pedwarns in C99.  Don't warn
384         about duplicate type qualifiers in C99.
385         (start_function): Make warning about implict int return type be a
386         pedwarn in C99.
387         * c-lex.c (yylex): Don't warn about `long long' in C99.
388         * c-typeck.c (c_expand_return): In C99, always pedwarn about
389         `return' with no value in function returning non-void.
390
391 2000-06-26  Richard Henderson  <rth@cygnus.com>
392
393         * c-typeck.c (pedwarn_c99): New.
394         * diagnostic.c (verror, vwarning, vpedwarn): Export.
395         * toplev.h: Prototype them.
396
397 2000-06-26  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
398
399         * c-typeck.c (digest_init): Return error_mark_node node when
400         TREE_TYPE (init)  == error_mark_node.
401
402 2000-06-26  Philipp Thomas  <pthomas@suse.de>
403
404         * aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no,
405         test for msgfmt without path instead.
406         * configure: Rebuilt.
407
408 2000-06-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
409
410         * gengenrtl.c (special_rtx): Fix typo in comment.
411
412 2000-06-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
413
414         * mklibgcc.in (LIB2FUNCS): Add missing space.
415
416 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
417
418         * tree.h (enum tree_index): Add vector type nodes.
419         Add accessor macros for them.
420         (TYPE_REPRESENATION_TYPE): New macro.
421         * tree.c (build_common_tree_nodes_2): Build these nodes.
422         (finish_vector_type): New function.
423         * c-common.c (type_for_mode): Handle vector modes.
424         * tm.texi (VECTOR_MODE_SUPPORTED_P): Document.
425
426         * dbxout.c (dbxout_type): Handle VECTOR_TYPEs.
427         * dwarf.h (enum dwarf_fundamental_type): Add 128 bit integers.
428         * dwarf2out.c (lookup_type_die): Handle VECTOR_TYPEs.
429         (gen_type_die): Likewise.
430         * dwarfout.c (dwarf_fund_type_name): Handle 128 bit integers.
431         (fundamental_type_code): Likewise.
432         (type_is_fundamental): VECTOR_TYPEs aren't.
433         (output_type): Handle VECTOR_TYPEs.
434
435 2000-06-25  Kazu Hirata  <kazu@hxi.com>
436
437         * config/arm.c: Fix a comment typo.
438         * config/arm.h: Likewise.
439
440 2000-06-25  Philipp Thomas  <pthomas@suse.de>
441
442         * aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
443         compiler found.
444         AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no.
445         * configure: Rebuilt.
446         
447 2000-06-25  John David Anglin  <dave.anglin@nrc.ca>
448
449         * config/vax/vax.h (TARGET_SWITCHES): Provide descriptions.
450
451 2000-06-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
452
453         * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2FUNCS when generating
454         libgcc.a.
455
456 2000-06-24  Marc Espie <espie@cvs.openbsd.org>
457
458         * collect2.c (resolve_lib_name): Move '/' check out of loop.
459
460 2000-06-24  Dirk Duellmann  <Dirk.Duellmann@cern.ch>
461
462         * ginclude/stddef.h (NULL): define for non-gnu C++ parsers as 0.
463
464 2000-06-24  Jakub Jelinek  <jakub@redhat.com>
465
466         * stmt.c (expand_decl_cleanup): Emit a dummy insn after
467         last_unconditional_cleanup.
468
469 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
470
471         * tree.def (VECTOR_TYPE): New node type.
472         * tree.h: Adjust some comments to reflect addition of vector types.
473         (TYPE_VECTOR_SUBPARTS): New macro.
474         * stor-layout.c (layout_type): Handle VECTOR_TYPE.
475         * c-convert.c (convert): Likewise.
476         * convert.c (convert_to_integer): Handle vector modes.
477         (convert_to_vector): New function.
478         * convert.h (convert_to_vector): Declare.
479         * expr.c (convert_move): Handle vector modes.
480         * expmed.c (extract_bit_field): Don't abort for vector modes.
481
482 2000-06-24  Marek Michalkiewicz  <marekm@linux.org.pl>
483
484         * config/avr/avr-protos.h (avr_hard_regno_mode_ok): New prototype.
485         * config/avr/avr.c (out_adj_frame_ptr, out_set_stack_ptr):
486         New functions, common code moved from function_{prologue,epilogue}
487         and extended to support the -mtiny-stack option.
488         (function_prologue, function_epilogue): Use them.
489         Use lo8/hi8 consistently for asm output readability.
490         (avr_hard_regno_mode_ok): New function.
491         * config/avr/avr.h (TARGET_SWITCHES): Fix typo.  Add -mtiny-stack.
492         (UNITS_PER_WORD): Define as 4 (not 1) when compiling libgcc2.c.
493         (HARD_REGNO_MODE_OK): Call the avr_hard_regno_mode_ok function.
494         * config/avr/avr.md (*mov_sp_r): Add support for -mtiny-stack.
495         Write SPH before SPL.
496         (*movqi): No need to disable interrupts for just one "out"
497         in alternative 5.  Change length attribute from 4 to 1.
498         * config/avr/libgcc.S (__prologue_saves__, __epilogue_restores__):
499         Write SPH before SPL.
500
501 2000-06-24  Bernd Schmidt  <bernds@cygnus.co.uk>
502
503         * rtl.texi (Vector Operations): New node.
504         (Arithmetic): Add ss_plus, us_plus, ss_minus, us_minus.
505         (Conversions): Add ss_truncate, us_truncate.
506         * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_REORDER,
507         VEC_CONST, VEC_DUPLICATE, SS_PLUS, SS_MINUS, SS_TRUNCATE,
508         US_TRUNCATE): New rtx codes.
509         * machmode.def: Add vector modes.
510         * machmode.h (enum mode_class): Add MODE_VECTOR_INT and
511         MODE_VECTOR_FLOAT.
512         (INTEGER_MODE_P): Check for MODE_VECTOR_INT.
513         (FLOAT_MODE_P): Check for MODE_VECTOR_FLOAT.
514         (VECTOR_MODE_P): New.
515
516 2000-06-24  Nathan Sidwell  <nathan@codesourcery.com>
517
518         * cpp.texi: Clarify #pragma GCC namespace.      
519
520 2000-06-24  Philipp Thomas  <pthomas@suse.de>
521
522         * aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
523         all catalogs specified in ALL_LINGUAS.
524         * configure: Rebuilt.
525
526 2000-06-23  Jakub Jelinek  <jakub@redhat.com>
527
528         * config/sparc/sparc.md (reload_outdi+1): Handle
529         HOST_BITS_PER_WIDE_INT == 64 case correctly.
530         (adddi3_insn_sp32+1, adddi3_insn_sp32+2, andsi3+2): Likewise.
531
532 2000-06-23  Geoffrey Keating  <geoffk@cygnus.com>
533
534         * alias.c (fixed_scalar_and_varying_struct_p): Don't examine
535         struct vs. scalar-ness when -fno-strict-aliasing.
536
537 2000-06-23  Nathan Sidwell  <nathan@codesourcery.com>
538
539         * cpplib.c (struct pragma_entry): New structure.
540         (pragma_dispatch): Pragma dispatcher.
541         (top_pragmas, gcc_pragmas): New static variables.
542         (do_pragma): Use pragma_dispatch.
543         (do_pragma_gcc): New pragma handler.
544         * cpp.texi: Update.
545
546 2000-06-23  Jakub Jelinek  <jakub@redhat.com>
547
548         * calls.c (compute_argument_addresses): Force stack slots into
549         alias set 0.
550         * expr.c (emit_push_insn): Force pushes into alias set 0.
551
552 2000-06-23  Richard Henderson  <rth@cygnus.com>
553
554         * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
555         * config/ia64/ia64.c (emit_predicate_relation_info): Adjust to match.
556
557 2000-06-22  Jason Merrill  <jason@redhat.com>
558
559         * toplev.c (compile_file): Always call timevar_print.
560         * Makefile.in (calls.o): Depend on TIMEVAR_H.
561
562 2000-06-22  Nathan Sidwell  <nathan@codesourcery.com>
563
564         * varasm.c (constant_descriptor): Make contents unsigned char.
565         (mark_const_hash_entry): Adjust.
566         (const_hash): Just hash the code of unknown nodes.
567         (compare_constant_1): Adjust for unsigned char.
568         Use language specific expander on unknown nodes.
569         (record_constant_1): Likewise.
570
571 2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>
572
573         * cppfiles.c (cpp_make_system_header): New function.
574         * cpplib.h: Prototype it.
575         * cpplib.c (do_line, do_pragma_system_header): Use it.
576         * fix-header.c (read_scan_file): Use it.
577
578         * fix-header.c (check_macro_names): Cast second arg of
579         cpp_defined to const unsigned char *.
580         (read_scan_file): Make getchar_call const unsigned char.
581
582 2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>
583
584         * cppfiles.c: Include splay-tree.h, not hashtab.h.
585         (redundant_include_p, make_IHASH, hash_IHASH, eq_IHASH): Delete.
586         (destroy_include_file_node): New.
587         (_cpp_init_include_hash): Rename _cpp_init_include_table.
588         Create a splay tree, not a hash table.
589         (open_include_file): Look up the path in the include table,
590         do the multiple include optimization here, etc.
591         (cpp_included): Walk the path.
592         (find_include_file): Just walk the path calling
593         open_include_file, or call it directly for an absolute path.
594         (_cpp_fake_ihash): Rename _cpp_fake_include and update for new
595         scheme.
596         (read_include_file): Update for new scheme.  Don't close the
597         file unless reading fails.
598         (_cpp_execute_include, cpp_read_file): Tweak for new scheme.
599
600         * cpphash.h (struct ihash, NEVER_REINCLUDE): Delete.
601         (struct include_file): New.
602         (NEVER_REREAD, DO_NOT_REREAD, CPP_IN_SYSTEM_HEADER): New
603         macros.
604         (CPP_PEDANTIC, CPP_WTRADITIONAL): Update.
605         Update prototypes.
606
607         * cppinit.c: Include splay-tree.h.
608         (cpp_reader_init, cpp_cleanup): Update.
609
610         * cpplib.h (struct cpp_buffer): Change ihash field to 
611         'struct include_file *inc'.  Remove system_header_p.
612         (struct cpp_reader): Change all_include_files to a
613         struct splay_tree_s *.
614
615         * cpplex.c: Update all references to cpp_buffer->ihash and/or
616         cpp_buffer->system_header_p.
617         (cpp_pop_buffer): Close file here, only if DO_NOT_REREAD.
618
619         * Makefile.in (SPLAY_TREE_H): New macro.
620         (cppfiles.o, cppinit.o): Update dependencies.
621
622 Wed Jun 21 11:05:48 2000  Martin Buchholz <martin@xemacs.org>
623
624         * invoke.texi (g++): "g++" is not a script anymore.
625
626 2000-06-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
627
628         * function.c (round_down): Delete obsolete prototype.
629
630         * pa.h (CPP_SPEC): Add whitespace after -D__STDC_EXT__.
631
632 2000-06-20  Zack Weinberg  <zack@wolery.cumb.org>
633
634         * configure.in: Use 'test a = b' not 'test a == b'.
635         * configure: Regen.
636
637         * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).
638
639         * Makefile.in: Remove all references to HOST_INTLLIBS.
640
641         * cpplex.c (parse_name): Don't warn about $ in identifiers if
642         skipping.
643
644 2000-06-20  Philipp Thomas  <pthomas@suse.de>
645
646         * config/pa/pa.h(TARGET_SWITCHES): Require binutils 2.10 or later
647         for PA 2.0.
648
649 Mon Jun 19 23:26:40 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
650
651         * Take REG_INC notes into account.
652
653 2000-06-19  Zack Weinberg  <zack@wolery.cumb.org>
654
655         * c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
656         (primary: IDENTIFIER): Just call build_external_ref.
657         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
658         Regenerate.
659         * c-lex.c (lastiddecl): Remove.
660         (yylex): Replace all instances of lastiddecl with local
661         variables.
662
663         * c-typeck.c (build_external_ref): New function.  Treat decls
664         with C_DECL_ANTICIPATED mostly the same as nonexistent decls.
665         Look up the decl from the id here.  Call lookup_objc_ivar.
666         * c-lang.c (lookup_objc_ivar): Stub.
667         * objc/objc-act.c (lookup_objc_ivar): New function.
668
669         * c-tree.h: Prototype lookup_objc_ivar and build_external_ref.
670         * c-lex.h: Don't declare lastiddecl.
671
672 2000-06-19  Benjamin Chelf  <chelf@codesourcery.com>
673
674         * c-common.h (IF_COND): Added documentation.
675         (THEN_CLAUSE): Likewise.
676         (ELSE_CLAUSE): Likewise.
677         (WHILE_COND): Likewise.
678         (WHILE_BODY): Likewise.
679         (DO_COND): Likewise.
680         (DO_BODY): Likewise.
681         (RETURN_EXPR): Likewise.
682         (EXPR_STMT_EXPR): Likewise.
683         (FOR_INIT_STMT): Likewise.
684         (FOR_COND): Likewise.
685         (FOR_EXPR): Likewise.
686         (FOR_BODY): Likewise.
687         (SWITCH_COND): Likewise.
688         (SWITCH_BODY): Likewise.
689         (CASE_LOW): Likewise.
690         (CASE_HIGH): Likewise.
691         (GOTO_DESTINATION): Likewise.
692         (COMPOUND_BODY): Likewise.
693         (ASM_CV_QUAL): Likewise.
694         (ASM_STRING): Likewise.
695         (ASM_OUTPUTS): Likewise.
696         (ASM_INPUTS): Likewise.
697         (ASM_CLOBBERS): Likewise.
698         (DECL_STMT_DECL): Likewise.
699         (STMT_EXPR_STMT): Likewise.
700         (LABEL_STMT_LABEL): Likewise.
701
702         * c-common.def: Added documenetion for SRCLOC, EXPR_STMT,
703         COMPOUND_STMT, DECL_STMT, IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT,
704         RETURN_STMT, BREAK_STMT, CONTINUE_STMT, SWITCH_STMT, GOTO_STMT,
705         LABEL_STMT, ASM_STMT, SCOPE_STMT, CASE_LABEL, STMT_EXPR.
706
707 2000-06-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
708
709         * configure.in (--enable-checking): Update --help doc to reflect
710         new defaults.  Ensure $ac_save_IFS is set before $IFS is changed.
711
712 Sun Jun 18 21:42:15 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
713
714         * gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
715
716         * function.c (put_var_into_stack): Don't reference DECL_ fields
717         if input is a SAVE_EXPR.
718         Use set_mem_attributes in COMPLEX case.
719
720 2000-06-18  Richard Henderson  <rth@cygnus.com>
721
722         * config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
723         (ia64_file_start): Declare.
724         * config/ia64/ia64.h (ADDL_REGNO_P): Don't compare unsigned against 0.
725         (GR_REGNO_P): Likewise.
726         * config/ia64/ia64.c: Many prototypes.
727         (ia64_reg_numbers): Constify.
728         (ia64_input_reg_names, ia64_local_reg_names): Likewise.
729         (ia64_section_threshold): Make unsigned.
730         (ia64_print_operand): Constify.
731         (fix_range): Constify.
732         (ia64_init_builtins): Don't compare signed vs unsigned.
733         (ia64_expand_builtin): Likewise.
734
735         * config/ia64/ia64.h (EXTRA_CONSTRAINT): New.
736         (CONSTRAINT_OK_FOR_Q): New.
737         * config/ia64/ia64.md (movdi_internal): Use Q for fp<->mem.
738         (movsf_internal, movdf_internal): Likewise.
739         (cmovdi_internal): Rewrite so that constraints and predicates match;
740         simplify splitters.
741         (cmovsi_internal): Likewise.
742
743         * config/ia64/ia64.h (ASM_SPEC): Add -x for gas.
744         (ASM_FILE_START): New.
745         * config/ia64/ia64.c (ia64_file_start): New.
746         (rtx_needs_barrier): Handle pred.rel.mutex.
747         (emit_predicate_relation_info): New.
748         * config/ia64/ia64.md (pred_rel_mutex): New.
749         * config/ia64/linux.h (ASM_SPEC): Define.
750         * config/ia64/sysv4.h (ASM_FILE_START): Define.
751
752         * config/ia64/ia64.c (ia64_encode_section_info): Fix thinko
753         filtering global register variables.
754
755 2000-06-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
756
757         * c-common.c (add_c_tree_codes): Fix definition for traditional C.
758
759 2000-06-17  Michael Meissner  <meissner@redhat.com>
760
761         * gcc.c (do_spec_1, '%v3' case): Do not abort if patch level is
762         not present and there is a field after a '-'.
763
764 2000-06-17  Bruce Korb  <bkorb@gnu.org>
765
766         * fixinc/check.tpl:  finish the implementation of multiple tests
767         for a single fix
768         * fixinc/inclhack.def(ctrl_quotes_def): add a second test
769         (io_quotes_def): add a second test
770         (various): reorder `files' so that "limits.h" is never first
771         * fixinc/tests/base/*: update the testing output
772
773 Sat Jun 17 10:33:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
774
775         * gcc.texi: Remove reference to stupid.c.
776
777 2000-06-16  Benjamin Chelf  <chelf@codesourcery.com>
778
779         * c-common.c (c_tree_code_type): New array.
780         (c_tree_code_length): Likewise.
781         (c_tree_code_name): Likewise.
782         (add_c_tree_codes): New function.
783
784         * c-common.h (add_c_tree_codes): Declare.
785         (enum c_tree_code): New enum.
786
787         * c-lex.c (init_parse): Added call to add_c_tree_codes.
788
789 2000-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
790
791         * fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
792         select pattern to also match macro defs with only one argument.
793
794 Thu Jun 15 18:56:12 2000  Jeffrey A Law  (law@cygnus.com)
795
796         * i386.md: Create new [right,left] rotate and right shift
797         patterns to optimize shift by 1 bit for certain ia32 processors.
798         Update patterns which perform left shifts to optimize shift by
799         1 bit for certain ia32 processors.
800         * i386.c (const_int_1_operand): New predicate.
801         * i386.h (PREDICATE_CODES): Handle const_int_1_operand.
802         * i386-protos.h (const_int_1_operand): Prototype.
803
804 Wed Jun 14 23:46:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
805
806         * mips.c (machine_dependent_reorg): Fix braces for nested if.
807
808 2000-06-14  Geoff Keating  <geoffk@cygnus.com>
809
810         * rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare
811         LABEL_REFs.
812
813 2000-06-14  Richard Henderson  <rth@cygnus.com>
814
815         * conflict.c (conflict_graph_compute): Don't look for REG_INC.
816
817         * config/ia64/ia64.c (ia64_setup_incoming_varargs): Don't emit
818         auto-inc code.
819
820         * print-rtl.c (print_rtx): Emit space before mem alias set.
821
822 2000-06-14  David Edelsohn  <edelsohn@gnu.org>
823
824         * rs6000.c (expand_block_move): Fix typo in earlier change.
825         (print_operand): Remove unused variables neg and op.
826         (toc_hash_mark_entry): Fix prototype.
827
828 2000-06-14  Benjamin Chelf  <chelf@codesourcery.com>
829
830         * c-common.h (IF_COND): Moved here from cp/cp-tree.h.
831         (THEN_CLAUSE): Likewise.
832         (ELSE_CLAUSE): Likewise.
833         (WHILE_COND): Likewise.
834         (WHILE_BODY): Likewise.
835         (DO_COND): Likewise.
836         (DO_BODY): Likewise.
837         (RETURN_EXPR): Likewise.
838         (EXPR_STMT_EXPR): Likewise.
839         (FOR_INIT_STMT): Likewise.
840         (FOR_COND): Likewise.
841         (FOR_EXPR): Likewise.
842         (FOR_BODY): Likewise.
843         (SWITCH_COND): Likewise.
844         (SWITCH_BODY): Likewise.
845         (CASE_LOW): Likewise.
846         (CASE_HIGH): Likewise.
847         (GOTO_DESTINATION): Likewise.
848         (COMPOUND_BODY): Likewise.
849         (ASM_CV_QUAL): Likewise.
850         (ASM_STRING): Likewise.
851         (ASM_OUTPUTS): Likewise.
852         (ASM_INPUTS): Likewise.
853         (ASM_CLOBBERS): Likewise.
854         (DECL_STMT_DECL): Likewise.
855         (STMT_EXPR_STMT): Likewise.
856         (LABEL_STMT_LABEL): Likewise.
857         (SCOPE_BEGIN_P): Likewise.
858         (SCOPE_END_P): Likewise.
859         (SCOPE_STMT_BLOCK): Likewise.
860         (SCOPE_NULLIFIED_P): Likewise.
861         (SCOPE_NO_CLEANUPS_P): Likewise.
862         (SCOPE_PARTIAL_P): Likewise.
863         (ASM_VOLATILE_P): Likewise.
864         (STMT_LINENO): Likewise.
865         (STMT_LINENO_FOR_FN_P): Likewise.
866
867         * c-common.def: New file. Added SRCLOC, SIZEOF_EXPR, ARROW_EXPR,
868         ALIGNOF_EXPR, EXPR_STMT, COMPOUND_STMT, DECL_STMT, IF_STMT,
869         FOR_STMT, WHILE_STMT, DO_STMT, RETURN_STMT, BREAK_STMT,
870         CONTINUE_STMT, SWITCH_STMT, GOTO_STMT, LABEL_STMT, ASM_STMT,
871         SCOPE_STMT, CASE_LABEL, STMT_EXPR.
872
873         * gencheck.c (tree_codes[]): Added '#include "c-common.def"'.
874
875 2000-06-14  David O'Brien  <obrien@FreeBSD.org>
876
877         * gcc.c (main): Quiet compiler warnings.  argv is assumed to be
878         writable in parts of the GCC code.
879
880         * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
881         specification match cast.
882
883 Wed Jun 14 09:25:57 2000  Jeffrey A Law  (law@cygnus.com)
884
885         * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
886         * configure, config.in: Rebuilt.
887         * sys-protos.h: Similarly.
888
889 Wed Jun 14 03:39:58 EDT 2000  John Wehle  (john@feith.com)
890
891         * ifcvt.c (EDGE_COMPLEX): Move definition ...
892         * basic-block.h (EDGE_COMPLEX): ... here.
893
894         * loop.c (check_dbra_loop): Specify the register when
895         generating REG_NONNEG notes and don't generate duplicates.
896
897 2000-06-13  Jakub Jelinek  <jakub@redhat.com>
898
899         * tree.h (TYPE_USER_ALIGN, DECL_USER_ALIGN): Define.
900         (struct tree_type, struct tree_decl): Add user_align member.
901         * stor-layout.c (layout_decl): Set DECL_USER_ALIGN.
902         (place_union_field): If BIGGEST_FIELD_ALIGNMENT is defined
903         and DECL_USER_ALIGN 0, cap alignment to this value.
904         (place_field): Likewise.
905         (finalize_type_size): Set TYPE_USER_ALIGN.
906         (layout_type): Likewise.
907         (initialize_sizetypes): Likewise.
908         * c-common.c (decl_attributes): Set TYPE_USER_ALIGN resp.
909         DECL_USER_ALIGN to 1.
910         * c-decl.c (duplicate_decls): Set DECL_USER_ALIGN.
911         (xfer_tag): Set TYPE_USER_ALIGN.
912         (finish_struct): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
913         (finish_enum): Likewise.
914         * stmt.c (expand_decl): Set DECL_USER_ALIGN.
915         (expand_anon_union_decl): Likewise.
916         * tree.c (make_node): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
917         (build_index_type): Set TYPE_USER_ALIGN.
918         (build_range_type): Likewise.
919         (build_common_tree_nodes_2): Likewise.
920         * tm.texi (BIGGEST_FIELD_ALIGNMENT): Document the changed meaning.
921
922 2000-06-13  Andreas Jaeger  <aj@suse.de>
923
924         * configure.in: Use --enable-checking=misc,tree,gc by default if
925         no --enable-checking option is given and for
926         --enable-checking=yes.
927         * configure: Rebuilt.
928
929 2000-06-13  Richard Henderson  <rth@cygnus.com>
930
931         * libgcc2.c (ia64_throw_helper): Use __builtin_return_address.
932         (__throw): Don't pass the address of a label.
933
934         * config/ia64/ia64.c (ia64_compute_frame_size): Use
935         current_function_is_leaf.
936         (ia64_expand_prologue): Likewise.  Modify return_address_pointer_rtx
937         instead of reg_names[RETURN_ADDRESS_REGNUM].
938         (ia64_init_machine_status): Reset return_address_pointer_rtx.
939         * config/ia64/ia64.h (RETURN_ADDRESS_POINTER_REGNUM): Rename
940         from RETURN_ADDRESS_REGNUM.  Update all uses.
941         (RETURN_ADDR_RTX): Use return_address_pointer_rtx; return
942         zero instead of null on failure.
943         (ELIMINABLE_REGS): Add ra->b0 elimination.
944         (CAN_ELIMINATE): Update accordingly.
945         (INITIAL_ELIMINATION_OFFSET): Likewise.
946         (REGISTER_NAMES): Use an illegal assembler name for
947         RETURN_ADDRESS_POINTER_REGNUM.
948
949 2000-06-13  Richard Henderson  <rth@cygnus.com>
950
951         * config/ia64/ia64.h (enum reg_class): Remove FR_INT_REGS, FR_FP_REGS,
952         GR_AND_FR_INT_REGS, GR_AND_FR_FP_REGS.
953         (REG_CLASS_NAMES): Likewise.
954         (REG_CLASS_CONTENTS): Likewise.
955         (FR_FP_REGNO_P, FR_INT_REGNO_P): Remove.
956         (HARD_REGNO_MODE_OK): Remove references to them.
957         (REGNO_REG_CLASS): Likewise.
958         (REG_CLASS_FROM_LETTER): Likewise.
959         (CLASS_MAX_NREGS): Likewise.
960         (REGISTER_MOVE_COST): Likewise.
961         * config/ia64/ia64.c (ia64_secondary_reload_class): Likewise.
962         * config/ia64/ia64.md (*): Replace "e" constraints with "f".
963         (movqi_internal): Special case moves from zero.
964         (movhi_internal, movsi_internal): Likewise.
965         (movdi_internal): Likewise.  Fill out "f" constraints.
966         (movsf_internal): Fill out "r" constraints.
967         (movdf_internal): Likewise.
968
969 2000-06-13  Richard Henderson  <rth@cygnus.com>
970
971         * flow.c (insn_dead_p): Keep sets to PIC_OFFSET_TABLE_REGNUM
972         alive before reload.
973
974         * haifa-sched.c (struct deps): Add in_post_call_group_p.
975         (add_dependence): Handle notes between SCHED_GROUP_P insns.
976         (remove_dependence): Always define.
977         (set_sched_group_p): New.
978         (sched_analyze_2): Use it.
979         (sched_analyze_insn): Don't special-case naked uses.  Look for
980         and extend in_post_call_group_p.
981         (sched_analyze): Clear stale SCHED_GROUP_P.  Set in_post_call_group_p.
982         (init_deps): Clear in_post_call_group_p.
983
984 2000-06-13  Richard Henderson  <rth@cygnus.com>
985
986         * combine.c (subst): Use CLASS_CANNOT_CHANGE_MODE and
987         CLASS_CANNOT_CHANGE_MODE_P instead of CLASS_CANNOT_CHANGE_SIZE
988         and hard-coded tests.
989         (simplify_set): Likewise.
990         (gen_lowpart_for_combine): Likewise.
991         * emit-rtl.c (gen_lowpart_common): Likewise.
992         * global.c (find_reg): Likewise.
993         * local-alloc.c (find_free_reg): Likewise.
994         * recog.c (register_operand): Likewise.
995         * regclass.c (init_reg_sets_1): Likewise.
996         (record_operand_costs, regclass): Likewise.
997         * reload.c (push_reload): Likewise.
998         * reload1.c (choose_reload_regs): Likewise.
999         * flow.c (mark_used_regs): Conditionally set REG_CHANGES_MODE.
1000         * local-alloc.c (struct qty): Rename changes_size to changes_mode.
1001         Update all references.
1002         * regs.h (struct reg_info_def): Likewise.
1003         (REG_CHANGES_MODE): Rename from REG_CHANGES_SIZE.
1004         * tm.texi (CLASS_CANNOT_CHANGE_MODE): Document.
1005         (CLASS_CANNOT_CHANGE_MODE_P): Likewise.
1006
1007         * config/alpha/alpha.h (CLASS_CANNOT_CHANGE_MODE): Rename.
1008         (CLASS_CANNOT_CHANGE_MODE_P): New.
1009         * config/mips/mips.h: Likewise.
1010         * config/pa/pa32-regs.h: Likewise.
1011         * config/pa/pa64-regs.h: Likewise.
1012         * config/rs6000/rs6000.h: Likewise.
1013         * config/sh/sh.h: Likewise.
1014         * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE): New.
1015         (CLASS_CANNOT_CHANGE_MODE_P): New.
1016         * config/avr/avr.h (CLASS_CANNOT_CHANGE_SIZE): Remove dead code.
1017         * config/d30v/d30v.h: Likewise.
1018
1019 2000-06-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1020
1021         * configure.in: Add AC_TYPE_GETGROUPS test.
1022         * sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
1023         * configure: Rebuilt.
1024         * config.in: Rebuilt.
1025
1026 2000-06-13  Richard Henderson  <rth@cygnus.com>
1027
1028         * explow.c (set_mem_attributes): Do nothing for NULL type.
1029
1030 Tue Jun 13 14:45:10 2000  Jeffrey A Law  (law@cygnus.com)
1031
1032         * config/m68k/openbsd.h (ASM_SPEC): pass down options to assembler
1033         correctly.
1034
1035 2000-06-13  James E. Wilson  <wilson@cygnus.com>
1036
1037         * config/ia64/ia64.md (movxf_internal): Add missing "e" to ldf/stf.
1038
1039 Tue Jun 13 14:05:35 2000  Jeffrey A Law  (law@cygnus.com)
1040
1041         * Makefile.in (gensupport.o): Remove bogus $(HOST_PREFIX) reference.
1042
1043 2000-06-13  Philipp Thomas  <pthomas@suse.de>
1044
1045         * configure.in(ALL_LINGUAS): Changed en_UK to en_GB.
1046         * configure: Rebuilt.
1047
1048 2000-06-07  David O'Brien  <obrien@FreeBSD.org>
1049
1050         * configure.in:  Adjust FreeBSD bits to match changes to config.guess.
1051         We now default to ELF for the i386, and a.out is the special case.
1052         * configure:  Rebuilt.
1053
1054 Tue Jun 13 10:05:30 2000  Hans-Peter Nilsson  <hp@axis.com>
1055
1056         * final.c (final_scan_insn): Delete notes between cc0 setter and
1057         user when restarting from setter.
1058
1059 2000-06-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1060
1061         * vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and
1062         cast to squelch signed/unsigned warnings.
1063
1064 2000-06-13  Zack Weinberg  <zack@wolery.cumb.org>
1065
1066         * cpplib.c (handle_directive): Print non-NUL-terminated string
1067         with %.*s.
1068
1069 2000-06-12  Michael Meissner  <meissner@redhat.com>
1070
1071         * ifcvt.c (dead_or_predicable): Don't do conditional execution
1072         path if the machine needs extra support to do conditional
1073         execution.
1074
1075 Mon Jun 12 17:04:17 2000  Jeffrey A Law  (law@cygnus.com)
1076
1077         * print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC
1078         to print the alias set.
1079         * print-tree.c (print_node, DECL_* nodes and case 't'): Similarly.
1080
1081 2000-06-12  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1082
1083         * config/float-vax.h: Add GFLOAT defines.
1084
1085 Mon Jun  12  9:44:00 2000  Mark Klein  <mklein@dis.com>
1086
1087         * configure.in: Update tm dependencies for MPE.
1088         * configure: Rebuilt.
1089
1090 2000-06-12  H.J. Lu  <hjl@gnu.org>
1091
1092         * gengenrtl.c (obstack_alloc_rtx): Correct the allocated size.
1093
1094 2000-06-12  David Edelsohn  <edelsohn@gnu.org>
1095
1096         * aix41.h (SUBTARGET_SWITCHES): Delete threads.
1097         (CPP_SPEC): Change mthreads to pthread.
1098         (LIB_SPEC): Likewise.
1099         (STARTFILE_SPEC): Likewise.
1100         * aix43.h (SUBTARGET_SWITCHES): Delete threads.
1101         (CPP_SPEC): Change mthreads to pthread.
1102         (LIB_SPEC): Likewise.
1103         (STARTFILE_SPEC): Likewise.
1104         * rs6000-protos.h (reg_or_arith_cint_operand): New.
1105         * rs6000.c (reg_or_arith_cint_operand): New.
1106         (num_insns_constant_wide): Decorate unsigned constant.
1107         * rs6000.h (PREDICATE_CODES): Add reg_or_arith_cint_operand.
1108         * rs6000.md (addsi3): Use new predicate.
1109         (subsi3, adddi3, subdi3): Likewise.
1110
1111 2000-06-12  Mark Mitchell  <mark@codesourcery.com>
1112
1113         * c-common.c (lang_get_alias_set): Fix typo.
1114
1115 2000-06-12  Richard Earnshaw <rearnsha@arm.com>
1116
1117         * flow.c (mark_used_regs): Revert last change.
1118         (life_analysis): Remove PROP_AUTOINC if running after reload.
1119         (propagate_one_insn): PROP_AUTOINC is always off after reload.
1120
1121 2000-06-11  Richard Earnshaw <rearnsha@arm.com>
1122
1123         * flow.c (mark_used_regs): Don't call find_auto_inc after reload
1124         has run.
1125
1126 2000-06-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1127
1128         * bb-reorder.c (build_scope_forest): Initialize variable
1129         `curr_scope'.
1130
1131         * calls.c (expand_call): Likewise for variables
1132         `save_pending_stack_adjust' and `save_stack_pointer_delta'.
1133
1134         * i386.c (function_arg_advance, function_arg): Cast to avoid
1135         signed/unsigned warnings.
1136
1137         * i386.h (MEMORY_MOVE_COST): Likewise.
1138
1139         * ifcvt.c (cond_exec_process_if_block): Initialize variables
1140         `else_start' and `else_end'.
1141
1142         * libgcc2.h (__eh_alloc, __eh_free): Prototype.
1143
1144         * regrename.c (rr_replace_reg): Initialize variable `dest_subregno'.
1145
1146 2000-06-10  Mark Mitchell  <mark@codesourcery.com>
1147
1148         * Makefile.in (libintl.a): Depend on intl.all.
1149
1150 2000-06-09  H.J. Lu  (hjl@gnu.org)
1151
1152         * Makefile.in (c-parse.o): Also depend on output.h.
1153
1154 2000-06-09  Rodney Brown  <RodneyBrown@mynd.com>
1155
1156         * mcore-protos.h: discards const warning removal.
1157         * mcore.c: discards const warning removal.
1158
1159 2000-06-09  Kazu Hirata  <kazu@hxi.com>
1160
1161         * config/h8300/lib1funcs.asm: Declare the machine architecture at
1162         the beginning of the file.
1163
1164 2000-06-09  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1165
1166         * real.h:  Add prototype for ldexp.
1167
1168 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
1169
1170         * ggc-none.c, ggc-simple.c, ggc-page.c (ggc_alloc_obj): Rename
1171         it ggc_alloc, drop second argument, never clear returned memory.
1172         * ggc-common.c (ggc_alloc_string): Use ggc_alloc.
1173         (ggc_alloc_cleared): New.
1174         * ggc.h: Prototype ggc_alloc and ggc_alloc_cleared, not
1175         ggc_alloc_obj.  Remove ggc_alloc macro.
1176         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Use ggc_alloc.
1177
1178         * rtl.c (rtvec_alloc): Clear the vector always.
1179         (rtx_alloc): Clear the first word always.  Remove dirty
1180         obstack tricks (this routine is no longer a bottleneck).
1181         * tree.c (make_node): Clear the new node always.
1182         (make_tree_vec): Likewise.
1183         (tree_cons): Clear the common structure always.
1184         (build1): Likewise; also, clear TREE_COMPLEXITY.
1185         * gengenrtl.c: Use puts wherever possible.  Remove extra
1186         newlines.
1187         (gendef): Clear the first word of an RTX in the generator
1188         function, irrespective of ggc_p.  Initialize '0' slots to
1189         NULL.
1190         (genlegend): Don't generate obstack_alloc_rtx routine, just a
1191         thin wrapper macro around obstack_alloc.
1192
1193         * stmt.c (expand_fixup): Use ggc_alloc.
1194         * c-typeck.c (add_pending_init): Use ggc_alloc.
1195         * emit-rtl.c (init_emit_once): Clear CONST_DOUBLE_CHAIN(tem).
1196         * varasm.c (immed_double_const): Set CONST_DOUBLE_MEM(r) to
1197         const0_rtx when it is created.
1198         (immed_real_const_1): Set CONST_DOUBLE_CHAIN(r) to NULL_RTX if
1199         we are not in a function.
1200
1201         * tree.c (tree_class_check_failed): Make second arg an int.
1202         * tree.h: Update prototype.
1203
1204 2000-06-09  Geoff Keating  <geoffk@cygnus.com>
1205
1206         * tree.h (VOID_TYPE_P): Don't look at the TYPE_MAIN_VARIANT
1207         of an error_mark_node.
1208
1209 Fri Jun  9 20:35:13 2000  Denis Chertykov  <denisc@overta.ru>
1210
1211         * config/avr/avr.c (asm_output_section_name): bugfix.
1212
1213 2000-06-09  Jason Merrill  <jason@casey.soma.redhat.com>
1214
1215         * timevar.def: Add TV_EXPAND.
1216         * timevar.c (timevar_print): Update timing information.
1217         * calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.
1218
1219         * stmt.c (expand_return): Check for error_mark_node.
1220
1221 2000-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1222
1223         * configure.in: Also avoid wrapping auto-build.h with IN_GCC.
1224
1225         * scan-types.sh (VALUE) Wrap use with double quotes to protect
1226         variable against filename expansion when it contains "char *".
1227
1228         * system.h (SSIZE_MAX): Delete backup definition.
1229
1230         * cppfiles.c (read_include_file): Use INTTYPE_MAXIMUM(ssize_t)
1231         instead of SSIZE_MAX.
1232
1233 2000-06-09  Jakub Jelinek  <jakub@redhat.com>
1234
1235         * configure.in: Check whether gas supports -relax.
1236         * configure, config.in: Rebuilt.
1237         * config/sparc/sparc.h (ASM_RELAX_SPEC): Define.
1238         (EXTRA_SPECS): Add asm_relax.
1239         (ASM_SPEC): Add %(asm_relax).
1240         (TARGET_SWITCHES): Add -mrelax and -mno-relax.
1241         * config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC.
1242         (LINK_SPEC): Pass -relax to linker unless -mno-relax or -r.
1243         (ASM_SPEC): Add %(asm_relax).
1244         * config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise.
1245         * config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION,
1246         never use sethi/jmpl for leaf tail calls.  Use or with rs2 %g0
1247         instead of mov, so that gas can further optimize it.
1248
1249 2000-06-08  James E. Wilson  <wilson@bletchleypark.cygnus.com>
1250
1251         * dwarf2out.c (size_of_die, case dw_val_class_const): Use
1252         size_of_sleb128.
1253         (value_format, case dw_val_class_const): Use sdata format.
1254         (output_die): Call output_sleb128.
1255
1256 2000-06-08  James E. Wilson  <wilson@cygnus.com>
1257
1258         * dwarf2out.c (ASM_OUTPUT_DWARF_DATA8): Add new macro that uses
1259         UNALIGNED_DOUBLE_INT_ASM_OP.  Rename old macro to
1260         ASM_OUTPUT_DWARF_CONST_DOUBLE.
1261         (output_die, case dw_val_class_unsigned_const): Correct call to
1262         ASM_OUTPUT_DWARF_DATA8.
1263         (output_die, case dw_val_class_long_long): Use
1264         ASM_OUTPUT_DWARF_CONST_DOUBLE.
1265         * tree.c (host_integerp): Accept unsigned HOST_WIDE_INT values when
1266         pos is zero.
1267
1268         * config/ia64/ia64-protos.h (ia64_output_end_prologue): Add.
1269         (output_function_prologue): Fix mispelling.
1270         (output_function_prologue, output_function_epilogue): Reorder to
1271         match ia64.c definition order.
1272         * config/ia64/ia64.c (ia64_expand_prologue): Add comment.
1273         (ia64_expand_epilogue): Set RTX_FRAME_RELATED_P on stack restore insns.
1274         Use r3 instead of r2 for large stack restores.
1275         (ia64_output_end_prologue): New function.
1276         (process_set): Emit ".restore sp" for epilogue stack restores.
1277         * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Define.
1278
1279 2000-06-08  Jakub Jelinek  <jakub@redhat.com>
1280
1281         * dbxout.c (dbxout_type_fields): Don't segfault on fields with
1282         incomplete types.
1283
1284 2000-06-08  Nathan Sidwell  <nathan@codesourcery.com>
1285
1286         * frame.c (end_fde_sort): Remove extraneous erratic array test.
1287
1288 2000-06-08  Denis Perchine <dyp@perchine.com>
1289
1290         * frame.c (start_fde_sort): Don't malloc (0).
1291
1292 2000-06-07  Zack Weinberg  <zack@wolery.cumb.org>
1293
1294         * c-decl.c (pushdecl): Do not call COMPLETE_TYPE_P on
1295         error_mark_node.
1296         * print-tree.c (print_node): The transparent_union_flag means
1297         different things for unions and arrays.  Do not inspect it
1298         with TYPE_TRANSPARENT_UNION.
1299
1300 2000-06-06  Jakub Jelinek  <jakub@redhat.com>
1301
1302         * cpplib.c (do_ifdef, do_ifndef): Don't segfault if parse_ifdef
1303         returned NULL.
1304
1305 Wed Jun  7 20:34:33 2000  Denis Chertykov  <denisc@overta.ru>
1306
1307         * config/avr/avr.c (asm_output_section_name): output section
1308         attributes.
1309         * config/avr/libgcc.S (.text.libgcc): declare section attributes.
1310
1311 2000-06-06  James E. Wilson  <wilson@cygnus.com>
1312
1313         * frame.h (struct unwind_info_ptr): Collapse version, flags, and length
1314         fields into header field.
1315         (IA64_UNW_HDR_LENGTH, IA64_UNW_HDR_FLAGS, IA64_UNW_HDR_VERSION): New
1316         macros to access length, flags, and version info from header field.
1317         * config/ia64/crtbegin.asm (__do_frame_setup_aux): Delete here.
1318         * config/ia64/crtend.asm (__do_frame_setup_aux): Add here.
1319         (__do_global_ctors_aux): Fix caller.
1320         * config/ia64/frame-ia64.c (get_unwind_record): Change parameter
1321         prologue_flag to header.  Pass to read_P_record.
1322         (read_P_record): New argument header.  Implement P4 format.
1323         Multiply P7_T_SIZE by 16.
1324         (execute_one_ia64_descriptor): New static local region_header.  Pass to
1325         get_unwind_record.  Copy r to region_header if r is a header record.
1326         (print_all_records): Likewise.
1327         (__build_ia64_frame_state): Use IA64_UNW_HDR_LENGTH.
1328         (__get_personality, __get_except_table): Likewise.
1329         * config/ia64/ia64.c (process_set): Do not divide offsets by 4.
1330
1331 2000-06-06  Philipp Thomas  <pthomas@suse.de>
1332
1333         * configure.in (AC_C_INLINE): Added.
1334         * aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default.
1335         * configure: Regenerate.
1336
1337 2000-06-06  Mark Mitchell  <mark@codesourcery.com>
1338
1339         * c-common.h (c_language_kind): New type.
1340         (c_language): New variab.e
1341         * c-common.c (lang_get_alias_set): Don't put structures in
1342         non-zero alias sets in C++.
1343         * c-decl.c (c_language): Define it.
1344         * c-lex.c (doing_objc_thang): Remove.
1345         * c-tree.h (doing_objc_thang): Make it a macro.
1346         * objc/objc-act.c (lang_decode_option): Set c_language, not
1347         doing_objc_thang.
1348
1349 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
1350
1351         * diagnostic.c (output_maximum_width): Remove.
1352         (doing_line_wrapping): Tweak.
1353         (diagnostic_buffer): New object.
1354         (global_output_buffer): New object.
1355         (output_destroy_prefix): New function.
1356         (default_initialize_buffer): Likewise.
1357         (reshape_diagnostic_buffer): Likewise.
1358         (initialize_diagnostics): Likewise.
1359         (output_clear): Tweak.
1360         (line_wrapper_printf): Adjust call to init_output_buffer.
1361         (vline_wrapper_message_with_location): Likewise.  Use
1362         output_destroy_prefix.
1363         (v_message_with_decl): Likewise.
1364
1365         * diagnostic.h (struct output_buffer): Constify prefix.
1366         (init_output_buffer, output_get_prefix): Constify.
1367         (diagnostic_message_length_per_line): Likewise.
1368         (reshape_diagnostic_buffer): Declare.
1369         (default_initialize_buffer): Declare.
1370         (initialize_diagnostics): Declare.
1371         (diagnostic_buffer): Declare new obbject.
1372
1373         * toplev.c: #include diagnostic.h
1374         (display_help): Document diagnostic formatting options.
1375         (decode_f_option): Handle diagnostic formatting options.
1376         (main): Setup initialization for diagnostic messages outputter.
1377
1378         * toplev.h (set_message_length): Remove.
1379
1380         * Makefile.in (toplev.o): Depends upon diagnostic.h
1381
1382         * invoke.texi : Document diagnostics formatting options.
1383
1384 Tue Jun  6 19:25:32 2000  Philippe De Muyter  <phdm@macqel.be>
1385
1386         * configure.in (Make the links): Typo fix : the file that must be
1387         included without #ifdef IN_GCC is `auto-host.h', not `auto-config.h'.
1388         * configure: File rebuilt.
1389
1390 2000-06-06  Nathan Sidwell  <nathan@codesourcery.com>
1391
1392         * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
1393         (eh_context): Add alloc_mask and alloc_buffer emergency fallback
1394         space.
1395         * libgcc2.c (__eh_alloc): Moved from cp/exception.cc. Fallback on
1396         emergency eh_context buffer, if malloc fails.
1397         (__eh_free): Moved from cp/exception.cc. Release to emergency
1398         eh_context buffer, if appropriate.
1399
1400 2000-06-06  Jason Merrill  <jason@casey.soma.redhat.com>
1401
1402         * expr.c (store_expr): Fix typo.
1403
1404 2000-06-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1405
1406         * m68k.c (legitimize_pic_address): Move prototype ...
1407
1408         * m68k-protos.h (legitimize_pic_address): ... here.
1409
1410         * m68k.md (legitimize_pic_address): Delete prototypes.
1411         (untyped_call): Invoke GEN_CALL(), not gen_call().
1412
1413         * nextstep.c: Include system.h and toplev.h.
1414         (get_directive_line): Don't prototype.
1415         (handle_pragma): Mark parameters with ATTRIBUTE_UNUSED and constify.
1416
1417         * nextstep.h (handle_pragma): Prototype.
1418         (SECTION_FUNCTION): Prototype FUNCTION().  Move prototype of
1419         objc_section_init ...
1420         (EXTRA_SECTION_FUNCTIONS): ... here.
1421
1422 Tue Jun  6 08:17:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1423
1424         * sdbout.c (struct sdb_file): NAME now const.
1425         (sdbout_init): input_file_name now const.
1426         (sdbout_start_new_source_file): FILENAME now const.
1427         * sdbout.c (sdbout_init, sdbout_start_new_source_file): Reflect above.
1428
1429 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
1430
1431         * c-typeck.c (build_conditional_expr): Handle complex data types.
1432
1433 2000-06-05  Jason Merrill  <jason@casey.soma.redhat.com>
1434
1435         * explow.c (maybe_set_unchanging): New function, broken out from...
1436         (set_mem_attributes): Here.
1437         * expr.h: Declare it.
1438         * stmt.c (expand_decl): Call it.
1439
1440 2000-06-05  Richard Henderson  <rth@cygnus.com>
1441
1442         * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
1443         while looking for a register to inherit from.
1444
1445 2000-06-05  Jason Merrill  <jason@casey.soma.redhat.com>
1446
1447         * Makefile.in (libgcc.ready): Lose.
1448         (libgcc.mk): Just use mv, not move-if-change.
1449         (LIBGCC_DEPS): New macro.
1450         (libgcc.a): Use it.
1451         (stmp-multilib): Likewise.
1452         * mklibgcc.in (stmp-dirs): New target.  Make everything depend on
1453         it rather than the directories themselves.
1454         (LIB2ADD): Depend on the list file rather than 'force'.
1455
1456         * fold-const.c (fold, case COND_EXPR): Elide conversion between
1457         cv-qualified versions of types.
1458
1459 Mon Jun  5 14:06:18 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1460
1461         * config/sparc/sparc.c (short_branch): Correct error in range
1462         computation.
1463
1464 2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1465
1466         * fixinc/inclhack.def: New include hacks for ultrix.
1467         * (nested_ultrix): Replaced by ultrix_nested_svc.
1468         * (ultrix_atof_param): test_text string added.
1469         * (ultrix_ifdef): Modified select string.
1470
1471 2000-06-05  Zack Weinberg  <zack@wolery.cumb.org>
1472
1473         * objc/objc-act.c (generate_method_descriptors): Register
1474         objc_method_prototype_template as a GC root.
1475         (comp_method_with_proto): Register function_type as a GC root.
1476         (comp_proto_with_proto): Replace function_type1 and
1477         function_type2 with a two-element array; register it as a GC root.
1478
1479         (generate_protocols, build_protocol_initializer,
1480         generate_protocol_list, build_category_initializer,
1481         build_shared_structure_initializer): Do not cache cast_type
1482         and/or cast_type2.
1483
1484 2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1485
1486         * function.c (assign_parms): Add missing argument to set_mem_attributes
1487         call.
1488
1489 2000-06-05  Nathan Sidwell  <nathan@codesourcery.com>
1490
1491         * tree.h (VOID_TYPE_P): New macro.
1492         (COMPLETE_OR_VOID_TYPE_P): Use VOID_TYPE_P.
1493         * c-decl.c (grokdeclarator): Use VOID_TYPE_P.
1494         (get_parm_info): Likewise.
1495         (store_parm_decls): Likewise.
1496         (combine_parm_decls): Likewise.
1497         (finish_function): Likewise.
1498         * c-typeck.c (build_function_call): Likewise.
1499         (build_binary_op): Likewise.
1500         (build_conditional_expr): Likewise.
1501         (internal_build_compound_expr): Likewise.
1502         (convert_for_assignment): Likewise.
1503         * stmt.c (expend_expr_stmt): Likewise.
1504         (warn_if_unused_value): Likewise.
1505         (expand_return): Likewise.
1506         * c-parse.in (primary): Likewise.
1507         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
1508         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
1509
1510 Mon Jun  5 06:46:28 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1511
1512         * alias.c (get_alias_set): If compnent is addressable, use alias
1513         set of component.
1514         * c-decl.c (init_decl_processing): Don't call record_component_aliases.
1515         (grokdeclarator): Likewise.
1516         * c-typeck.c (common_type): Likewise.
1517
1518 2000-06-04  Alex Samuel  <samuel@codesourcery.com>
1519
1520         * Makefile.in (OBJS): Remove dyn_string.o
1521         (dyn-string.o): Delete rule.
1522         * dyn-string.c: Delete file
1523         * dyn-string.h: Likewise.
1524
1525 2000-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1526
1527         * Makefile.in (intl.*): Honor non-zero exit codes in the intl
1528         subdir.
1529
1530 2000-06-03  Geoff Keating  <geoffk@cygnus.com>
1531
1532         * alias.c (record_component_aliases): Don't inspect
1533         DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.
1534
1535 Sat Jun  3 19:05:30 2000  Michael Meissner  <meissner@redhat.com>
1536
1537         * ifcvt.c (process_insns): If IFCVT_MODIFY_INSN is defined, call
1538         it with the pattern to do machine dependent work.
1539         (cond_exec_process_if_block): If IFCVT_MODIFY_TESTS is defined,
1540         use it to modify the true/false tests used in conditional
1541         execution.  If IFCVT_MODIFY_FINAL and IFCVT_MODIFY_CANCEL are
1542         defined, invoke them if the conversion to conditional execution
1543         was successful or not.
1544
1545         * tm.texi (IFCVT_MODIFY_TESTS): Document.
1546         (IFCVT_MODIFY_INSN): Ditto.
1547         (IFCVT_MODIFY_FINAL): Ditto.
1548         (IFCVT_MODIFY_CANCEL): Ditto.
1549
1550 Sat Jun  3 15:26:13 2000  Matt Kraai <kraai@alumni.carnegiemellon.edu>
1551
1552         * toplev.c (main): Fix misspellings of possibility and language.
1553
1554 2000-06-03  Richard Henderson  <rth@cygnus.com>
1555
1556         * alias.c (record_alias_subset): Initialize has_zero_child in the
1557         superset.
1558
1559 2000-06-03  Richard Earnshaw (rearnsha@arm.com)
1560
1561         * arm.md (untyped_call): Use GEN_CALL macro.
1562
1563 2000-06-02  Pekka Nikander  <pnr@teldanex.tcm.hut.fi>
1564
1565         * Makefile.in: Use $(MAKE) not "make"
1566
1567 Fri Jun  2 19:31:03 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1568
1569         * alias.c (struct alias_set_entry): New field has_zero_child.
1570         (mem_in_disjoint_alias_sets_p): Return 0 if set in either ase.
1571         (get_alias_set): If language-dependent routine set TYPE_ALIAS_SET,
1572         do nothing.
1573         Call record_component_aliases for aggregate types.
1574         (record_alias_subset): Set has_zero_child.
1575         (record_component_aliases, case ARRAY_TYPE): Do nothing if
1576         TYPE_NONALIASES_COMPONENT.
1577         (record_component_aliases, case RECORD_TYPE): Test
1578         DECL_NONADDRESSABLE_P.
1579         * c-decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead
1580         of TREE_ADDRESSABLE.
1581         * calls.c (initialize_argument_information): Only test
1582         TYPE_TRANSPARENT_UNION for UNION_TYPE.
1583         * function.c (assign_parms): Likewise.
1584         * integrate.c (function_cannot_inline_p): Likewise.
1585         * stor-layout.c (finish_record_layout): Don't call
1586         record_component_aliases.
1587         * tree.h (struct tree_int_cst): Use struct tree_common.
1588         (struct tree_real_cst, struct tree_string): Likewise.
1589         (struct tree_complex, struct tree_identifier): Likewise.
1590         (struct tree_list, struct tree_vec, struct tree_exp): Likewise.
1591         (struct tree_block, struct tree_type, struct tree_decl): Likewise.
1592         (TYPE_TRANSPARENT_UNION): Use UNION_TYPE_CHECK.
1593         (TYPE_NONALIASES_COMPONENT): New macro.
1594         (TYPE_AMBIENT_BOUNDEDNESS): Use FUNCTION_TYPE_CHECK.
1595         (DECL_NONADDRESSABLE_P): New macro.
1596         (struct tree_decl): Reorder bits for clarity of how many left;
1597         add non_adressable.
1598
1599 2000-06-02  Jason Merrill  <jason@casey.soma.redhat.com>
1600
1601         * Makefile.in (libgcc.a): Also depend on $(LIB2ADD).
1602         * mklibgcc.in (force): New target.
1603         Make LIB2ADD stuff depend on it.
1604
1605 2000-06-02  Richard Henderson  <rth@cygnus.com>
1606
1607         * alias.c (lang_get_alias_set): Remove.
1608         (get_alias_set): Call it directly, not indirectly.
1609         * c-common.c (lang_get_alias_set): Rename from c_get_alias_set.
1610         * c-common.h (c_get_alias_set): Don't declare.
1611         * c-decl.c (init_decl_processing): Don't set lang_get_alias_set.
1612         * expr.h (lang_get_alias_set): Declare as function, not pointer.
1613
1614 2000-06-02  Bruce Korb  <bkorb@gnu.org>
1615
1616         * fixinc/server.c(sig_handler):  resume closing server on SIGPIPE
1617         (server_setup):  define the server's master pid
1618         (close_server):  actually do the deed IFF we are the server's master
1619
1620 2000-06-02  Jakub Jelinek  <jakub@redhat.com>
1621
1622         * c-common.c (c_get_alias_set): Check whether signed_type did not
1623         return its argument before calling get_alias_set on the result.
1624
1625 2000-06-02  Andrew MacLeod  <amacleod@cygnus.com>
1626
1627         * expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.
1628
1629 Fri Jun  2 00:22:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1630
1631         * sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.
1632         (CONDITIONAL_REGISTER_USAGE): Mac registers are call used
1633         for TARGET_NOMACSAVE.
1634         (NOMACSAVE_BIT): Define.
1635         (TARGET_NOMACSAVE): Define.
1636         (TARGET_SWITCHES): Add "nomacsave".
1637
1638 2000-06-02  Toshiyasu Morita  <toshi.morita@sega.com>
1639
1640         * sh.md (untyped_call): Remove excess parameters
1641
1642 2000-06-01  Loren J. Rittle  <ljrittle@acm.org>
1643
1644         * fixinc/inclhack.def (osf_namespace_a): Relax expression to
1645         match that used before the conversion to c_fix style.
1646         * fixinc/fixincl.x: regenerate
1647
1648 2000-06-01  Stan Cox  <scox@cygnus.com>
1649
1650         * varray.h (VARRAY_PUSH_GENERIC_PTR, VARRAY_PUSH_CHAR_PTR): Fix
1651         macro argument typo.
1652
1653 2000-06-01  Zack Weinberg  <zack@wolery.cumb.org>
1654
1655         * cpplex.c (maybe_macroexpand): Use CPP_WTRADITIONAL.  Improve
1656         error message.
1657         * cpplib.c (parse_include): Remove support for VAX-C
1658         "#include starlet" misfeature.
1659
1660 2000-05-31 Laurynas Biveinis <lauras@softhome.net>
1661
1662         * cppfiles.c: conditionally define O_BINARY.
1663         (open_include_file): pass O_BINARY to open().
1664
1665 2000-06-01  Richard Henderson  <rth@cygnus.com>
1666
1667         * i960.c (i960_br_predict_opcode): Remove.
1668         (i960_print_operand) [+]: Emit branch prediction hints.
1669         (i960_function_arg): Return early for VOIDmode.
1670         (i960_round_align): Return early for incomplete types.
1671         * i960.h (PRINT_OPERAND_PUNCT_VALID_P): New.
1672         * i960.md (all conditional branches): Add "%+".
1673
1674 Thu Jun  1 12:24:21 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1675
1676         * alias.c (get_alias_set): Don't call language-specific routine more
1677         than is needed and clean up code a bit.
1678         * c-common.c (c_get_alias_set): All references whose type
1679         is char get alias set 0, but character types need not.
1680         * varasm.c (make_function_rtl): Don't call set_mem_attributes.
1681         (make_decl_rtl): Don't call it for FUNCTION_DECL.
1682
1683 2000-06-01  Bruce Korb  <bkorb@gnu.org>
1684
1685         * fixinc/tests/base/...: new base result files
1686
1687 Thu Jun  1 09:37:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
1688
1689         * config/i386/i386.c (ix86_use_fcomi_compare): Make global.
1690         * config/i386/i386-protos.h (ix86_use_fcomi_compare): Declare.
1691         * config/i386/i386.md (*fp_jcc_3, *fp_jcc_4): Disable if we
1692         will use FCOMI.
1693
1694 2000-06-01  Richard Henderson  <rth@cygnus.com>
1695
1696         * Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.
1697
1698         * c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.
1699
1700 2000-05-31  Richard Henderson  <rth@cygnus.com>
1701
1702         * config/ia64/ia64.c (sdata_symbolic_operand): Consider small
1703         CONSTANT_POOL_ADDRESS_P addresses for .sdata.
1704         * config/ia64/sysv4.h (SELECT_RTX_SECTION): New.
1705
1706 2000-05-31  Richard Henderson  <rth@cygnus.com>
1707
1708         * config/ia64/ia64-protos.h (ia64_expand_prediction): Remove.
1709         * config/ia64/ia64.c (ia64_expand_prediction): Move code ...
1710         (ia64_print_operand) [+]: ... here.  Use current_output_insn.
1711         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): New.
1712         * config/ia64/ia64.md (all branch/call patterns): Use %+.
1713
1714 2000-05-31  Richard Henderson  <rth@cygnus.com>
1715
1716         * ifcvt.c (cond_exec_process_insns): Don't ever ignore clobbers.
1717
1718 2000-05-31  Richard Henderson  <rth@cygnus.com>
1719
1720         * ifcvt.c (merge_if_block): Be prepared for JOIN to have no
1721         remaining edges.
1722         (find_if_block): Allow THEN with no outgoing edges.
1723         * flow.c (merge_blocks_nomove): Remove a barrier not following
1724         a jump as well.
1725
1726 2000-05-31  Richard Henderson  <rth@cygnus.com>
1727
1728         * flow.c (propagate_block): Move initialization of mem_set_list ...
1729         (init_propagate_block_info): ... here.  Also track blocks with
1730         no successors; don't scan insns if ! PROP_SCAN_DEAD_CODE.
1731
1732 2000-05-31  Richard Henderson  <rth@cygnus.com>
1733
1734         * jump.c (jump_optimize_1): Revert 05-18 change.
1735
1736 2000-05-31  Mark Mitchell  <mark@codesourcery.com>
1737
1738         * invoke.texi: Remove documentation for -fguiding-decls.
1739
1740 2000-05-31  Richard Henderson  <rth@cygnus.com>
1741
1742         * configure.in: Fix typo last change.
1743
1744 2000-05-31  Philipp Thomas  <pthomas@suse.de>
1745
1746         * configure.in (enable-nls): Enable if build == host, i.e. when
1747         not building a canadian cross compiler.
1748         (enable-maintainer-mode): Added for use with i18n.
1749         * aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a
1750         cross section of ALL_LINGUAS and LINGUAS.
1751         * configure: Rebuild.
1752
1753 2000-05-31  Bruce Korb  <bkorb@gnu.org>
1754
1755         * fixinc/check.tpl: rework to use test result tree
1756         * fixinc/Makefile.in: change invocation of check script
1757         * fixinc/check.diff: No longer needed
1758         * fixinc/fixincl.x: regenerate
1759         * fixinc/inclhack.def:  add new tests
1760         * fixinc/tests/base/arch/i960/archI960.h:  New test result
1761         * fixinc/tests/base/curses.h: modified test result
1762         * fixinc/tests/base/stdio.h: ditto
1763         * fixinc/tests/base/time.h: ditto
1764         * fixinc/tests/base/sys/asm.h: ditto
1765         * fixinc/tests/base/sys/stat.h: ditto
1766         * fixinc/tests/base/sys/wait.h: ditto
1767
1768 Wed May 31 13:17:20 2000  Philippe De Muyter  <phdm@macqel.be>
1769
1770         * except.c (clear_function_eh_region): Do not free NULL.
1771
1772 Wed May 31 08:07:52 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1773
1774         * Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
1775         * alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
1776         (REG_BASE_VALUE): Remove unneeded cast to unsigned.
1777         (get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
1778         (find_base_decl): New function, from c_find_base_decl in c-common.c.
1779         (new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
1780         (get_alias_set): Likewise.
1781         Major rework to do more things and allow language-specific code
1782         to just handle special-cases.
1783         (record_alias_subset): Args are HOST_WIDE_INT.
1784         (record_component_alias): Local vars are HOST_WIDE_INT.
1785         Don't handle COMPLEX_EXPR.
1786         (get_varargs_alias_set): Moved from builtins.c.
1787         (get_frame_alias_set): New function.
1788         * builtins.c (expand_builtin_return_address): Use frame alias set.
1789         (expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
1790         for setjmp buffer.
1791         (get_memory_rtx): Rework to use set_mem_attributes.
1792         (get_varargs_alias_set): Deleted from here.
1793         * c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
1794         (c_find_base_decl): Deleted from here.
1795         (c_get_alias_set): Remove many cases and rework to just handle
1796         C-specific cases.
1797         * c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
1798         * c-decl.c (rtl.h, expr.h): Now included.
1799         (init_decl_processing): Call record_component_aliases on array types.
1800         (grokdeclarator): Likewise.
1801         Set TREE_ADDRESSABLE for all fields that are not bitfields.
1802         * c-typeck.c (common_type): Call record_component_aliases for array.
1803         * caller-save.c (setup_save_areas): Rework register loop for unsigned.
1804         Set all save areas to the frame alias set.
1805         * calls.c (initialie_argument_information): Call set_mem_attributes.
1806         (compute_argument_addresses, expand_call): Likewise.
1807         * explow.c (set_mem_attributes): New function.
1808         (stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
1809         * expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
1810         LEN and OFFSET now HOST_WIDE_INT.
1811         (clear_by_pieces): Similar changes.
1812         (move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
1813         (move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
1814         (move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
1815         (clear_by_pieces_1): Likewise.
1816         (emit_push_insn): Call set_mem_attributes.
1817         (expand_expr, case INDIRECT_REF): Likewise.
1818         (expand_expr, case VAR_DECL): Call change_address.
1819         * expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
1820         tree_low_cst.
1821         (get_varargs_alias_set, get_frame_alias_set): New decls.
1822         (record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
1823         (new_alias_set, set_mem_attributes): Likewse.
1824         * function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
1825         (assign_stack_temp_for_type): Likewise.
1826         Can split slot even if alias set since can copy.
1827         Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
1828         (assign_temp): Use host_integerp and tree_low_cst.
1829         (put_var_into_stack): Properly handle SAVE_EXPR.
1830         (put_addressof_into_stack): Likewise.
1831         (assign_parms): Call set_mem_attributes.
1832         Delete #if 0 code.
1833         (fix_lexical_address): Put reference to chain into frame alias set.
1834         (expand_function_start): Call set_mem_attributes.
1835         * integrate.c (expand_inline_function): Likewise.
1836         * recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
1837         * regmove.c (try_apply_stack_adjustment): Likewise.
1838         * reload.c (push_reload, make_memloc): Likewise.
1839         * reload1.c (alter_reg): Make alias sets for spilled pseudos.
1840         * rtl.def (MEM): Update comment.
1841         * rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
1842         (move_by_pieces): Change length to HOST_WIDE_INT.
1843         (record_base_value, record_alias_subset): Delete from here.
1844         * stmt.c (expand_decl): Call set_mem_attributes.
1845         * stor-layout.c (finish_record_layout): Call record_component_aliases.i
1846         * toplev.c (compile_file): Call init_alias_once earlier.
1847         * tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
1848         from here: now in alias.c.
1849         * tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
1850         (struct tree_decl): Likewise.
1851         (get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
1852         * varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
1853         (output_constant_def, force_const_mem): Likewise.
1854
1855         * flow.c (propagate_block): If block has no successors, stores to
1856         frame are dead if not used.
1857
1858 2000-05-31  Nathan Sidwell  <nathan@codesourcery.com>
1859
1860         * stmt (expand_end_case): Reorder conversion sequence for jump
1861         table to avoid extra truncations.
1862
1863 Wed May 31 01:31:42 2000  Jeffrey A Law  (law@cygnus.com)
1864
1865         * ifcvt.c (cond_exec_process_if_block): Do nothing if the last insn
1866         in the block is more than just a simple conditional branch.
1867         (noce_process_if_block): Similarly.
1868
1869 Tue May 30 22:25:57 2000  Alexandre Oliva  <aoliva@cygnus.com>
1870
1871         * optabs.c (prepare_float_lib_cmp): Protect *px and *py from
1872         queue.
1873
1874 2000-05-30  Michael Meissner  <meissner@redhat.com>
1875
1876         * dwarf2out.c (dwarf2out_frame_debug_expr): Ignore HIGH
1877         instructions.  Treat LO_SUM operations as loading the full integer
1878         constant.
1879
1880 2000-05-30  Richard Henderson  <rth@cygnus.com>
1881
1882         * combine.c (get_pos_from_mask): Test exact_log2 result as signed.
1883
1884 2000-05-30  Richard Henderson  <rth@cygnus.com>
1885
1886         * bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.
1887
1888 2000-05-30  Bruce Korb  <bkorb@gnu.org>
1889
1890         * fixinc/tests/*:  Added expected result files for fixinc's make check
1891         * fixinc/fixfixes(char_macro_*_fix): Restore original algorithm
1892
1893 2000-05-30  Richard Henderson  <rth@cygnus.com>
1894
1895         * config/alpha/alpha.md (*setne_internal): Use match_operator
1896         instead of working down from insn.
1897
1898 2000-05-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1899
1900         * invoke.texi (-Wtraditional): Update WRT function macros.
1901
1902 Tue May 30 09:57:32 2000  Philippe De Muyter  <phdm@macqel.be>
1903
1904         * except.c (free_exception_table): Do not free NULL.
1905
1906 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
1907
1908         * cpplib.c (do_if): Don't save and restore only_seen_white here.
1909         * cppexp.c (_cpp_parse_expr): Save and restore only_seen_white
1910         and skipping here.
1911
1912 2000-05-29  Richard Earnshaw (rearnsha@arm.com)
1913
1914         * flow.c (mark_used_reg): If a register is unconditionally live,
1915         remove any conditional death information.
1916
1917 2000-05-29  Richard Henderson  <rth@cygnus.com>
1918
1919         * final.c (current_output_insn): New.
1920         (final_scan_insn): Set it.
1921         * output.h: Declare it.
1922
1923 2000-05-29  Richard Henderson  <rth@cygnus.com>
1924
1925         * stor-layout.c (finalize_record_size): Fix typo.
1926
1927         * jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END
1928         if nlabel is null.
1929
1930 2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
1931
1932         * cpplib.h (cpp_reader): Remove if_stack.  Change
1933         potential_control_macro to a cpp_hashnode *.  Add skipping flag.
1934         * cpphash.h (struct ihash): Change control_macro to a
1935         cpp_hashnode * and shorten name to cmacro.
1936         Add NEVER_REINCLUDE constant.
1937
1938         * cppfiles.c (redundant_include_p): Drop cpp_reader argument.
1939         Examine the cmacro node directly, no need to call cpp_defined.
1940         (_cpp_execute_include, read_include_file): Set cmacro to
1941         NEVER_REINCLUDE, not U"".
1942         * cpplex.c (cpp_push_buffer): Don't set new->if_stack.
1943         (cpp_get_token): If pfile->skipping is true, discard text and
1944         keep scanning until we hit a directive; don't expand macros.
1945
1946         * cpplib.c (struct if_stack): Remove if_succeeded, add
1947         was_skipping. Change control_macro to a cpp_hashnode * and
1948         shorten name to cmacro.  Remove typedef IF_STACK.
1949         (parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *.
1950         (conditional_skip, skip_if_group,
1951         consider_directive_while_skipping): Delete.
1952         (push_conditional): New.
1953         (_cpp_handle_directive): Don't process directives other than
1954         conditionals if we are skipping.
1955
1956         (do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif):
1957         Update to new scheme.
1958         (validate_else): Skip rest of line here, unconditionally.
1959         (_cpp_unwind_if_stack): The stack is per-buffer.  Force
1960         pfile->skipping off.
1961
1962         (all): Remove `scare quotes' from error messages.
1963
1964 2000-05-29  Richard Henderson  <rth@cygnus.com>
1965
1966         * function.c (emit_return_into_block): New line_note arg; emit it.
1967         (thread_prologue_and_epilogue_insns): Attempt to locate a line note
1968         for the close brace to accompany HAVE_return.  Move all line notes
1969         following the epilogue to before the NOTE_INSN_EPILOGUE_BEG.
1970
1971 2000-05-29  Richard Henderson  <rth@cygnus.com>
1972
1973         * longlong.h [__alpha] (count_leading_zeros): New.
1974         (count_trailing_zeros): New.
1975         (COUNT_LEADING_ZEROS_0): New.
1976
1977         * config/alpha/alpha.c (alpha_zero_comparison_operator): New.
1978         (alpha_split_conditional_move): New.
1979         * config/alpha/alpha-protos.h: Prototype them.
1980         * config/alpha/alpha.h (PREDICATE_CODES): Update.
1981         (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67.
1982         * config/alpha/alpha.md: Update ffs cix commentary.
1983         (*ze_and_ne): New.
1984         (*nabssf2, *nabsdf2): New.
1985         (*mov[qhsd]icc_internal): Use add_operand.
1986         (if_then_else constant splitters): New.
1987         (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New.
1988         (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New.
1989
1990 2000-05-29  Richard Henderson  <rth@cygnus.com>
1991
1992         * combine.c (force_to_mode) [MINUS]: Convert subtraction from
1993         a constant to NEG or NOT when conditions allow.
1994
1995         * combine.c (combine_simplify_rtx): Don't create an if_then_else
1996         unless both args are general_operand.  Don't canonicalize plus
1997         to ior unless it helps.
1998
1999         * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
2000         instead track register_life_up_to_date.  Toggle no_new_pseudos
2001         around if_convert.
2002
2003 2000-05-28  Geoff Keating  <geoffk@cygnus.com>
2004
2005         * config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
2006         so output_operand doesn't see them.
2007
2008 Sun May 28 18:37:07 2000  Clinton Popetz  <cpopetz@cygnus.com>
2009
2010         * lcm.c (make_preds_opaque): Fix comment.
2011         (optimize_mode_switching): Use NORMAL_MODE instead of
2012         MODE_USES_IN_EXIT_BLOCK.  Change leftover instance of
2013         FP_MODE_NONE to no_mode.  Rename MODE_AT_ENTRY to NORMAL_MODE.
2014         Handle insertions before an existing NOTE_INSN_BASIC_BLOCK.
2015         * tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE.
2016         (MODE_USES_IN_EXIT_BLOCK): Delete.
2017         (MODE_AT_ENTRY) Rename to NORMAL_MODE.
2018         * sh.h (MODE_USES_IN_EXIT_BLOCK): Delete.
2019         (MODE_AT_ENTRY): Rename to NORMAL_MODE.
2020         (MODE_NEEDED): Don't look for USE.
2021         (EPILOGUE_USES): Define.
2022
2023 Sun May 28 23:26:59 2000  Philippe De Muyter <phdm@macqel.be>
2024
2025         * mklibgcc.in (all): Variable initialised to `libgcc'.
2026
2027 2000-05-28  Gabriel Dos Reis  <gdr@codesourcery.com>
2028
2029         * toplev.h (skip_leading_substring): New macro.
2030         * toplev.c (decode_f_option): Use skip_leading_substring instead
2031         of strncmp.
2032         (decode_W_option): Likewise.
2033
2034 2000-05-28  Nick Clifton  <nickc@cygnus.com>
2035
2036         * tm.texi (CONDITIONAL_REGISTER_USAGE): Document that it can
2037         modify reg_names.
2038
2039 2000-05-28  Richard Henderson  <rth@cygnus.com>
2040
2041         * regclass.c (record_operand_costs): Protect reg_changes_size
2042         with CLASS_CANNOT_CHANGE_SIZE.
2043
2044         * loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.
2045
2046 2000-05-28  Richard Henderson  <rth@cygnus.com>
2047
2048         * function.c (diddle_return_value): A pcc-style struct return
2049         returns a pointer.
2050
2051 2000-05-27  Zack Weinberg  <zack@wolery.cumb.org>
2052
2053         * cppfiles.c: Read files in, using mmap if possible, then
2054         prescan them separately.
2055         (read_file, read_with_read): New functions.
2056         * cpplex.c: Don't define UCHAR_MAX.
2057         (_cpp_read_and_prescan): Rename to _cpp_prescan.  Don't read
2058         the file here.
2059
2060         * cppinit.c (handle_option): Automatically define __cplusplus,
2061         __OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see
2062         the respective -lang switch.
2063
2064         * cpphash.h (enum node_type, struct hashnode, _cpp_lookup
2065         prototype): Move to...
2066         * cpplib.h: ... here.  Rename struct hashnode to struct
2067         cpp_hashnode and give it a typedef.  Rename _cpp_lookup to
2068         cpp_lookup.  Add 'fe_value' slot, a union tree_node *.
2069
2070 2000-05-27  Geoffrey Keating  <geoffk@cygnus.com>
2071
2072         * config/rs6000/rs6000.md (movsi): Constify 'name'.
2073
2074         * regclass.c [CLASS_CANNOT_CHANGE_SIZE]
2075         (class_can_change_size): New variable.
2076         (reg_changes_size): New variable.
2077         (init_reg_sets_1): Initialise class_can_change_size.
2078         (record_operand_costs): Remove subreg_changes_size.
2079         Don't pass it around.  Instead update reg_changes_size.
2080         (regclass): Initialise and free reg_changes_size.  If a register
2081         changes size, don't preference it to a class that contains
2082         registers that can't change size.
2083         (record_reg_classes): Don't look at subreg_changes_size.
2084
2085 2000-05-27  Richard Henderson  <rth@cygnus.com>
2086
2087         * print-rtl.c (reg_names): Remove const.
2088         * regclass.c (reg_names): Likewise.
2089         * regs.h (reg_names): Likewise.
2090         * hard-reg-set.h (reg_names): Likewise.
2091
2092 2000-05-27  Richard Henderson  <rth@cygnus.com>
2093
2094         * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
2095
2096 2000-05-27  Richard Henderson  <rth@cygnus.com>
2097
2098         * config/alpha/alpha.c (alpha_does_function_need_gp): Test
2099         TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
2100         (alpha_expand_prologue): Emit prologue_mcount if needed.
2101         * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
2102         * config/alpha/alpha.md (prologue_mcount): New.
2103         * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
2104         (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
2105         * config/alpha/netbsd.h: Likewise.
2106
2107 2000-05-27  Richard Henderson  <rth@cygnus.com>
2108
2109         * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
2110         change to config/elfos.h.
2111
2112 2000-05-27  Richard Henderson  <rth@cygnus.com>
2113
2114         * Makefile.in (resource.o): Depend on except.h.
2115         * except.h (output_exception_table_data): Prototype.
2116         * genconfig.c (gen_peephole2): Prototype.
2117         * genemit.c (main): Include ggc.h.
2118         * genoutput.c: Revert parts of last change: include errors.h
2119         (main): Set progname.
2120         * recog.c: Include hard-reg-set.h before recog.h.
2121         * resource.c: Include except.h.
2122
2123         * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
2124         with RTX_CODE.
2125         (alpha_write_linkage): Protect with BUFSIZ.
2126         (alpha_need_linkage): Update prototype.
2127         * config/alpha/alpha.c (function_arg): Move VMS code here.
2128         (alpha_links_base): Remove.
2129         (alpha_links): New.
2130         (mark_alpha_links_node, mark_alpha_links): New.
2131         (alpha_write_one_linkage): New.
2132         (alpha_need_linkage): Use a splay tree.  Build the linkage symbol.
2133         (alpha_write_linkage): Use splay_tree_foreach.
2134         * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
2135         to get the linkage symbol.
2136         (call_value_vms): Likewise.
2137         * config/alpha/elf.h (output_file_directive): Remove decl.
2138         (ctors_section, dtors_section): Prototype.
2139         (sbss_section, sdata_section): Prototype.
2140         * config/alpha/vms.h (FUNCTION_ARG): Remove.
2141         (readonly_section, link_section, literals_section): Prototype.
2142         (ctors_section, dtors_section): Prototype.
2143         (vms_valid_decl_attribute_p): Remove decl.
2144         (alpha_arg_type, alpha_arg_info_reg_val): Likewise.
2145
2146 2000-05-27  Geoff Keating  <geoffk@cygnus.com>
2147
2148         * reload.c (get_secondary_mem): Don't widen floating-point modes.
2149
2150         * combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
2151         substituting the REG in a (subreg:X (reg:Y ...)).
2152
2153 2000-05-28  Neil Booth  <NeilB@earthling.net>
2154
2155         * cpplex.c (_cpp_lex_line): Merge vertical space.  Flag
2156         first token of a line BOL.  Update EOF code for this.
2157         Remove illegal directive check - it appears in the (not
2158         yet committed) caller.
2159         * cpplib.h (BOL): New flag.
2160
2161 2000-05-28  Neil Booth  <NeilB@earthling.net>
2162
2163         * cpplex.c (_cpp_init_toklist): No comment space to initialise.
2164         (_cpp_free_toklist): No comment space to free.
2165         (expand_comment_space): Remove.
2166         (save_comment_space): Place the comment in the current token and
2167         not in a separate comment space.
2168         (_cpp_lex_line): Save comments during plain code and #define
2169         directives only.
2170         * cpplib.h (struct _cpp_toklist): Remove comment space.
2171
2172 2000-05-28  Neil Booth  <NeilB@earthling.net>
2173
2174         * cppexp.c (parse_assertion): Supply extra argument to
2175         _cpp_init_toklist.
2176         * cpplib.c (do_assert, do_unassert): Similarly.
2177         * cpphash.h (_cpp_init_toklist) Update.
2178         (_cpp_expand_token_space): New.
2179         (DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
2180         * cpplex.c (_cpp_init_toklist): New argument.
2181         (parse_string2): New argument multiline_ok.
2182         (spell_token): Take a const cpp_token *.
2183         (INIT_NAME): Replace with INIT_TOKEN_NAME.  Update tokens_used.
2184         (SPELL_ macros): Replace with enum.
2185         (expand_token_space): Replace with _cpp_expand_token_space.
2186         Take COUNT argument.
2187         (IS_DIRECTIVE): Update.
2188         (_cpp_lex_line): Update token structure before parsing number.
2189         Don't assume start at beginning of token list.
2190         (save_comment): Use INIT_TOKEN_NAME.
2191
2192 2000-05-27  Zack Weinberg  <zack@wolery.cumb.org>
2193
2194         * configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
2195         -Wmissing-prototypes.
2196         * configure: Regenerate.
2197         * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.
2198
2199         * builtins.c, calls.c: Change all instances of gen_call_* or
2200         gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
2201         * calls.c (struct_value_size_rtx): Separate definition from
2202         initialization to avoid unused variable warning.
2203
2204         * genflags.c (gen_macro): New function.
2205         (gen_proto): Call it for gen_call_* and gen_sibcall_*.
2206         (gen_nonproto): Delete.
2207         (gen_insn): Put all insns on the same obstack.
2208         (main): Generate prototypes for everything unconditionally.
2209
2210         * configure.in: Add AC_CHECK_TYPE(ssize_t).  Remove commented
2211         out check for wchar_t.
2212         * acconfig.h: Add template for ssize_t.  Remove @TOP@.
2213         * system.h: Add infrastructure for defining missing
2214         TYPE_MAX/TYPE_MIN macros.  Use it to provide fallback
2215         definitions of UCHAR_MAX and SSIZE_MAX.
2216         * configure: Regenerate.
2217         * config.in: Regenerate.
2218
2219         * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
2220         Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
2221         headers.
2222         (clean): No need to delete libgcc1.a, libgcc1-asm.a,
2223         libgcc2.a, or libgcc1.null.
2224
2225 2000-05-27  Richard Henderson  <rth@cygnus.com>
2226
2227         * Makefile.in (recog.o): Don't depend on resource.h.
2228         * recog.c: Don't include resource.h.
2229         (recog_last_allowed_insn): Remove.
2230         (recog_next_insn): Remove.
2231         (struct peep2_insn_data): New.
2232         (peep2_insn_data, peep2_current): New.
2233         (peep2_next_insn): New.
2234         (peep2_regno_dead_p, peep2_reg_dead_p): New.
2235         (peep2_find_free_register): New.
2236         (peephole2_optimize): Track life information by insn as we go.
2237         * recog.h: Update declarations.
2238         * resource.c (find_free_register, reg_dead_p): Remove.
2239         * resource.h: Remove their declarations.
2240         * toplev.c: Include hard-reg-set.h before recog.h.
2241
2242         * genconfig.c (max_insns_per_peep2): New.
2243         (gen_peephole2): New.
2244         (main): Call it.
2245         * genemit.c (output_peephole2_scratches): Generate calls to
2246         peep2_find_free_register; adjust surrounding code.
2247         (main): Have insn-emit.c include hard-reg-set.h before recog.h.
2248         * genrecog.c (change_state): Don't track last_insn.
2249         (write_action): Write into *_pmatch_len before accepting.
2250         (write_tree): Adjust peephole2_insns and subroutines to match.
2251
2252         * config/i386/i386.md (all peepholes): Use peep2_regno_dead_p.
2253
2254         * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
2255         (hard_int_register_operand): New.
2256         * config/alpha/alpha-protos.h: Declare it.
2257         * config/alpha/alpha.h (PREDICATE_CODES): Update.
2258         * config/alpha/alpha.md (peep2 patterns): Use hard_int_register_operand
2259         as needed; use peep2_reg_dead_p instead of dead_or_set_p.
2260
2261 2000-05-27  Richard Henderson  <rth@cygnus.com>
2262
2263         * function.c (thread_prologue_epilogue_insns): Don't move the
2264         line note at the head of the chain.  Only force a lineno note
2265         before the end of block 0.
2266
2267 2000-05-27  Richard Henderson  <rth@cygnus.com>
2268
2269         * gensupport.c (collect_insn_data): Record the maximum number
2270         of alternatives, not the last seen.
2271
2272         * genoutput.c: Don't include errors.h.
2273         (struct data): Add lineno member.
2274         (have_error): New.
2275         (scan_operands): Use message_with_line instead of error.
2276         (validate_insn_alternatives): Likewise.
2277         (gen_insn): Accept and store the pattern's line number.
2278         (gen_peephole, gen_expand, gen_split): Likewise.
2279         (main): Don't set progname.  Pass line_no to gen_foo.
2280
2281 2000-05-27  Richard Henderson  <rth@cygnus.com>
2282
2283         * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
2284         * config/d30v/d30v.h (PRINT_OPERAND_PUNCT_VALID_P): Accept ':'.
2285         * config/d30v/d30v.md (attr predicable): New.
2286         (all insn patterns): Mark non-predicable patterns; use %: on the rest.
2287         (andsi3*): Unify into one pattern.
2288         (iorsi3*, xorsi3*): Likewise.
2289         (peephole2 patterns): Use peep2_reg_dead_p; verify not a
2290         conditional return.
2291         (old cond_exec patterns): Remove.
2292         (define_cond_exec): New.
2293
2294 Sat May 27 11:01:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2295
2296         * tree.h (TREE_CODE_LENGTH): New macro.
2297         * c-common.c (c_find_base_decl): Use it.
2298         * expr.c (safe_from_p): Likewise.
2299         * print-tree.c (print_node): Likewise.
2300         * tree.c (make_node, copy_node, get_identifier): Likewie.
2301         (first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
2302         (build, build_nt, build_parse_node, simple_cst_equal): Likewise.
2303         * fold-const.c (make_range): Likewise.
2304         (fold): Likewise; also use first_rtl_op.
2305         * c-iterate.c (collect_iterators): Use first_rtl_op.
2306         * calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
2307         Use IS_EXPR_CODE_CLASS.
2308         (preexpand_calls): Likewise.
2309         * ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
2310         and TREE_CODE_LENGTH.
2311         * stmt.c (warn_if_unused_value): If no operands, no unused value.
2312
2313 2000-05-26  Geoffrey Keating  <geoffk@cygnus.com>
2314
2315         * config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
2316         than '%1(%*)'.
2317         (movdi_internal64): Likewise.
2318
2319         * config/rs6000/rs6000.md: Correct order of operands for DImode
2320         boolean patterns.
2321
2322         * config/rs6000/rs6000.c (boolean_or_operator): New function.
2323         * config/rs6000/rs6000-protos.h (boolean_or_operator): Prototype it.
2324         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_or_operator.
2325         * config/rs6000/rs6000.md: Use boolean_or_operator instead of
2326         boolean_operator for the boolean patterns without NOTs.
2327
2328         * config/rs6000/rs6000.c (reg_or_logical_cint_operand): Rename
2329         from reg_or_u_cint_operand.  Change comment and behaviour.
2330         (logical_operand): Clean up, add assertion.
2331         (non_logical_cint_operand): Also check for
2332         reg_or_logical_cint_operand.
2333         * config/rs6000/rs6000.h (PREDICATE_CODES): Update.
2334         * config/rs6000/rs6000.md (iorsi3): Use reg_or_logical_cint_operand
2335         in the expander.
2336         (xorsi3): Likewise.
2337         (iordi3): Likewise.
2338         (xordi3): Likewise.
2339
2340 2000-05-26  Mark Mitchell  <mark@codesourcery.com>
2341
2342         * tree.h (struct record_layout_info): Rename to (struct
2343         record_layout_info_s).
2344         * stor-layout.c (start_record_layout): Replace
2345         `record_layout_info' with `record_layout_info_s'.
2346
2347 2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
2348
2349         * flow.c (find_label_refs): New function.
2350         (find_basic_blocks_1): Call it for each alternative of a call
2351         placeholder.
2352
2353 2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
2354
2355         * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
2356         of get_pc.
2357
2358 2000-05-25  Richard Henderson  <rth@cygnus.com>
2359
2360         * config/alpha/alpha.c (alpha_comparison_operator): Don't be
2361         so strict about DImode.
2362         (alpha_swapped_comparison_operator): Likewise.
2363         * config/alpha/alpha.md (*setne_internal): Name it.  Allow
2364         any integer output mode.
2365         (*setcc_internal): Likewise.
2366         (*setcc_swapped_internal): Likewise.
2367         (*movdicc_internal, *movdicc_lbc, *movdicc_lbs): Name them.
2368         (*mov[qhs]icc_internal): New.
2369         (*mov[qhs]icc_lbc, *mov[qhs]icc_lbs): New.
2370
2371 2000-05-25  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2372
2373         * vax.h (CPP_SPEC): Define __GFLOAT and GFLOAT when -mg is specified.
2374
2375 2000-05-25  Richard Henderson  <rth@cygnus.com>
2376
2377         * bb-reorder.c (reorder_block_def): Reorder elements for size.
2378         Remove add_jump; add next; replace flags with visited.
2379         (rbd_init): Remove.
2380         (REORDER_BLOCK_HEAD, REORDER_BLOCK_VISITED): Remove.
2381         (REORDER_BLOCK_FLAGS, REORDER_BLOCK_INDEX): Remove.
2382         (REORDER_BLOCK_ADD_JUMP, REORDER_BLOCK_EFF_HEAD): Remove.
2383         (REORDER_BLOCK_EFF_END, REORDER_BLOCK_SCOPE): Remove.
2384         (RBI): New.
2385         (reorder_index, reorder_last_visited): Remove.
2386         (skip_insns_after_block): Rewrite to use a switch.
2387         (get_common_dest): Remove.
2388         (chain_reorder_blocks): Remove.
2389         (record_effective_endpoints): Split out from reorder_basic_blocks.
2390         (make_reorder_chain): Likewise.  Loop until all blocks are placed.
2391         (make_reorder_chain_1): Renamed from old make_reorder_chain.
2392         Only construct the reorder chain, do not move insns.  Try harder
2393         to tail recurse.
2394         (label_for_bb, emit_jump_to_block_after): New.
2395         (fixup_reorder_chain): Use them.  Do bulk block movement.  Examine
2396         and adjust the jump insns appropriately.  Fixup basic_block_info.
2397         (verify_insn_chain): Always define.
2398         (relate_bbs_with_scopes): Call xmalloc, not xcalloc.  Fix thinko
2399         in allocation size.
2400         (make_new_scope): Don't write zeros to calloc'd space.
2401         (build_scope_forest): Rely on xrealloc to DTRT.
2402         (reorder_basic_blocks): Don't build loop nest.  Don't fail if
2403         profile_arc_flag.  Streamline EH test.
2404
2405         * flow.c (redirect_edge_succ, redirect_edge_pred): New.
2406         * basic-block.h: Declare them.
2407
2408 2000-05-25  Alexandre Oliva  <aoliva@cygnus.com>
2409
2410         * emit-rtl.c (reset_used_decls): New function.
2411         (unshare_all_rtl_again): Call it.
2412
2413 2000-05-25  Zack Weinberg  <zack@wolery.cumb.org>
2414
2415         * cpplex.c (maybe_macroexpand): Warn about function-like
2416         macros used in non-function context, if -Wtraditional.
2417
2418 2000-05-25  Mark Mitchell  <mark@codesourcery.com>
2419
2420         * recog.c (peephole2_optimize): Use INSN_P.
2421
2422 2000-05-25  Richard Henderson  <rth@cygnus.com>
2423
2424         * ifcvt.c (seq_contains_jump): New.
2425         (noce_try_store_flag_constants): Use it to fail conversion.
2426         (noce_try_store_flag_inc, noce_try_store_flag_mask): Likewise.
2427
2428 2000-05-25  Mark Mitchell  <mark@codesourcery.com>
2429
2430         * except.h (can_throw): Declare it.
2431         * except.c (can_throw): Give it external linkage.
2432         * resource.c (find_dead_or_set_registers): Use can_throw.
2433
2434 2000-05-25  Richard Henderson  <rth@cygnus.com>
2435
2436         * flow.c (mark_set_1): Don't record conditionally dead memory.
2437
2438 2000-05-25  Jan Hubicka  <jh@suse.cz>
2439
2440         * combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
2441         and pc_set at the place of simplejump_p and condjump_p.
2442         * cse.c (record_jump_equiv): Likewise.
2443         * emit-rtl.c (emit): Likewise.
2444         * explow.c (find_next_ref): Likewise.
2445         * flow.c (tidy_fallthru_edge): Likewise.
2446         (init_propagate_block_info): Likewise.
2447         * gcse.c (delete_null_pointer_checks): Likewise.
2448         * ifcvt.c (cond_exec_get_condition, noce_get_condition,
2449         dead_or_predicable): Likewise.
2450         * integrate.c (copy_insn_list): Likewise.
2451         * loop.c (scan_loop, verify_dominator, find_and_verify_loops,
2452         for_each_insn_in_loop, check_dbra_loop, get_condition,
2453         insert_bct, load_mems): Likewise.
2454         * resource.c (find_dead_or_set_registers): Likewise.
2455         * sibcalls.c (simplejump_p): Likewise.
2456         * unroll.c (copy_loop_body, reg_dead_after_loop): Likewise.
2457
2458 2000-05-25  David Edelsohn  <edelsohn@gnu.org>
2459
2460         * rs6000.c (expand_block_move): Add 64-bit PowerPC doubleword move
2461         to STRING case.  Use doubleword STRING move for TARGET_POWERPC64
2462         when unaligned.
2463         * rs6000.h (CONST_OK_FOR_LETTER_P, 'J'): unsigned HOST_WIDE_INT.
2464         (RETURN_ADDR_RTX): Use COUNT and FRAME, not count and frame.
2465         (LEGITIMIZE_RELOAD_ADDRESS): unsigned HOST_WIDE_INT high.
2466         * rs6000.md: Name various internal patterns.
2467
2468 2000-05-25  Jan Hubicka  <jh@suse.cz>
2469
2470         * jump.c (invert_exp_1): Remove first argument, use pc_set
2471         to get the expression.
2472         (redirect_exp): Make static; redirect only the pc_set expression,
2473         remove first argument.
2474         (invert_exp): Remove first argument, make static.
2475         (jump_optimize): Use any_condjump_p, any_uncondjump_p and
2476         any_onlyjump at most places where we originaly did condjump_p
2477         and simplejump_p.
2478         (jump_back_p, follow_jumps, thread_jumps): Likewise.
2479         (delete_barrier_succesors): Use pc_set.
2480         (invert_jump_1, invert_jump, redirect_jump_1, redirect_jump): Update
2481         calls of invert_exp and redirect_exp.
2482         * rtl.h (redirect_exp, invert_exp): Remove.
2483         * unroll.c (copy_loop_body): Use invert_jump and redirect_jump.
2484
2485 2000-05-25  Richard Henderson  <rth@cygnus.com>
2486
2487         * stmt.c (expand_end_bindings): Fix thinko last change.
2488
2489 2000-05-25  Andrew MacLeod  <amacleod@cygnus.com>
2490             Andrew Haley  <aph@cygnus.com>
2491
2492         * except.c  (func_eh_entry): Add emitted field.
2493         (new_eh_region_entry): Set emitted field to 0;
2494         (output_exception_table_entry): Only emit previously un-emitted data,
2495         and send it to the eh_data section.
2496         (output_exception_table): Break out common parts. Output
2497         exception table for entire compilation unit to eh_data section.
2498         (output_exception_table_data): Common parts of output_exception_table.
2499         Send output to eh_data section.
2500         (output_function_exception_table): Output exception table data for
2501         a single function to eh_data section.
2502         (free_exception_table): New external to free the table.
2503         * except.h (free_exception_table): Add prototype.
2504         (output_function_exception_table): Add prototype.
2505         * final.c (final_end_function): Output function exception table
2506         for IA64_UNWIND_INFO.
2507         (final_scan_insn): Emit any unwind directives for an insn.
2508
2509         * frame-dwarf2.c: New file containing all DWARF 2 specific code
2510         from frame.c.
2511         * frame.c: Remove all DWARF 2 specific code.
2512         * config/ia64/frame-ia64.c: New file.
2513         (gthread_stuff): Make all gthread available with
2514         IA64_UNWIND_INFO.
2515         (dwarf_fde): Define an IA64 struct for dwarf_fde.
2516         (__register_frame_info, __register_frame): Move to common area of file.
2517         (__register_frame_info_table, __register_frame_table): Move to common i
2518         area.
2519         (__deregister_frame_info, __deregister_frame): Move to common area.
2520         (__frame_init, find_fde): New versions for IA64_UNWIND_INFO.
2521         (read_uleb128): New version for ia64.
2522         (get_unwind_record): Read the next IA-64 unwind record.
2523         (read_R_record): Read a region header record.
2524         (process_a_b_reg_code): X record helper.
2525         (read_X_record): Read an X format record.
2526         (read_B_record): Read a B format record.
2527         (P3_record_types): List of record types matching the P3 format.
2528         (P7_record_types): List of record types matching the P7 format.
2529         (P8_record_types): List of record types matching the P8 format.
2530         (read_P_record): Read a P format record.
2531         (init_ia64_reg_loc): Set default fields for a register.
2532         (init_ia64_unwind_frame): Set defaults for all register records.
2533         (execute_one_ia64_descriptor): Execute one descriptor record.
2534         (rse_address_add): Calculate the position of a local reg in memory.
2535         (normalize_reg_loc): Turn a location descriptor into a memory address.
2536         (maybe_normalize_reg_loc): Only normalize a descriptor if it falls
2537         within a specified PC offset range.
2538         (get_real_reg_value): Given a register location, retrieve its value.
2539         (set_real_reg_value): Change the value of a register location.
2540         (copy_reg_value): Copy reg values, if needed.
2541         (copy_saved_reg_state): Copy all registers that need to be copied.
2542         (process_state_between): Normalize all frame register records that
2543         fall within the specified PC range.
2544         (frame_translate): Take a processed frame description, and turn
2545         everything into addresses.
2546         (build_ia64_frame_state ): Find and create frame state record for a PC.
2547         (get_personality): Get the personality routine for a given frame.
2548         (get_except_table): Get the exception table for a given frame.
2549         (record_name): Unwind record names for debugging.
2550         (print_record): Print and unwind record.
2551         (print_all_records): Print an entire unwind image.
2552         (__ia64_backtrace): Print a backtrace.
2553         (ia64_backtrace_helper): New function.
2554         (__register_frame_info_aux): New function.
2555         * config/ia64/crtend.asm (__do_frame_setup_aux): New function.
2556
2557         * frame.h (enum unw_record_type): New unwind record types.
2558         (struct unw_p_record, unw_b_record, unw_x_record) : New unwind records.
2559         (struct unw_r_record, unwind_record): New unwind record structs.
2560         (struct unwind_info_ptr): Unwind information layout.
2561         (IA64_UNW_LOC_TYPE_*): Macros for different types for location
2562         descriptors.
2563         (struct ia64_reg_loc): Register location description.
2564         (struct ia64_frame_state): Location of all registers in a frame.
2565         (struct object): Add pc_base and fde_end for IA64_UNWIND_INFO.
2566         * libgcc2.c (__ia64_personality_v1): Personality routine.
2567         (__calc_caller_bsp): Calculate the bsp register for the caller's
2568         frame.
2569         (ia64_throw_helper): Figure out who to return to and set up the
2570         registers.
2571         (__throw): Throw routine.
2572
2573         * output.h (assemble_eh_align, assemble_eh_label): New functions
2574         to generate EH info where we want it.
2575         (assemble_eh_integer): New function.
2576         * toplev.c (compile_file): Output module level exception table for
2577         non-ia64 targets.
2578         (main): Set exceptions_via_longjump and flag_new_exceptions based
2579         on IA64_UNWIND_INFO too.
2580
2581         * varasm.c (assemble_eh_label): Generate a label via
2582         ASM_OUTPUT_EH_LABEL if it has been specified.
2583         (assemble_eh_align): Generate an alignment directive via
2584         ASM_OUTPUT_EH_ALIGN if it has been specified.
2585         (assemble_eh_label): Generate an integer value via
2586         ASM_OUTPUT_EH_type if they have been specified.
2587         * config/ia64/ia64.c (rtx_needs_barrier): Add flushrs.
2588         (ia64_init_builtins): Add __builtin_ia64_bsp
2589         and __builtin_ia64_flushrs.
2590         (ia64_expand_builtin): Add IA64_BUILTIN_BSP and
2591         IA64_BUILTIN_FLUSHRS.
2592         * config/ia64/ia64.h (ia64_builtins): Add IA64_BUILTIN_BSP and
2593         IA64_BUILTIN_FLUSHRS.
2594
2595         * config/ia64/ia64.md (flushrs): New insn to flush the register
2596         stack.  Add to unspec list.
2597
2598         * config/ia64/crtbegin.asm (frame_object): Change size.
2599         (__do_frame_setup_aux): New function.
2600         * config/ia64/crtend.asm: call __do_frame_setup_aux.
2601         * config/ia64/t-ia64 (LIB2ADDEH): Add.
2602         * Makefile.in (LIB2ADDEH): Add.
2603         (LIB2ADD): Use LIB2ADDEH.
2604
2605 2000-05-24  Richard Henderson  <rth@cygnus.com>
2606
2607         * recog.c (offsettable_address_p): If mode size is zero, assume
2608         BIGGEST_ALIGNMENT.
2609
2610 2000-05-24  J. David Anglin  <dave@hiauly.hia.nrc.ca>
2611
2612         * configure.in: Check for -Wno-long-long option support and improve
2613         handling of warning CFLAGS for stages 1 and 2.
2614         * Makefile.in (WARN_CFLAGS): Move definition to configure.in.
2615         * configure: Regenerate.
2616
2617 Wed May 24 19:37:53 2000  Jeffrey A Law  (law@cygnus.com)
2618
2619         * gcc.texi: Remove contributor list.  Instead include contrib.texi.
2620         * contrib.texi: New file.
2621
2622 Thu May 25 02:27:22 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2623
2624         * loop.c (basic_induction_var): Avoid double recording of an increment.
2625
2626 Thu May 25 02:19:27 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2627
2628         * Back out this patch:
2629         Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
2630           * loop.h (struct induction): Add multi_insn_incr.
2631           * loop.c (basic_induction_var): New multi_insn_incr argument.
2632           Set it if we search back through previous insns for the biv.
2633           (record_biv): New multi_insn_incr argument; fill in struct induction.
2634           (strength_reduce): Discard an iv with multiple bivs, any of
2635           which require multiple insns to increment.
2636
2637         * loop.c (check_insn_for_bivs): Remove bits copied from above patch.
2638
2639 Thu May 25 02:09:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2640
2641         * rtl.h (loc_mentioned_in_p): Declare.
2642         * reload.c (loc_mentioned_in_p): Moved from here...
2643         * rtlanal.c (loc_mentioned_in_p): to here.  No longer static.
2644         Fix loop increment for 'E' handling.
2645         * loop.c (strength_reduce): When doing biv->giv conversion,
2646         take multi-insn biv increments into account.
2647
2648 2000-05-24  Jason Merrill  <jason@casey.soma.redhat.com>
2649
2650         * stmt.c (expand_end_bindings): Look through NOTEs to find a
2651         BARRIER.
2652
2653 2000-05-24  Mark Mitchell  <mark@codesourcery.com>
2654
2655         * calls.c (expand_call): Handle cleanups in tail-recursion
2656         arguments analagously to cleanups in sibling calls.
2657
2658 2000-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2659
2660         * simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND.
2661         All callers changed.
2662
2663 2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
2664
2665         * expr.c (expand_assignment, store_expr, expand_expr,
2666         expand_expr_unaligned): Set in_check_memory_usage while emitting
2667         chkr_check_addr libcall.
2668
2669 2000-05-24  Nick Clifton  <nickc@cygnus.com>
2670
2671         * fold-const.c (extract_muldiv): When constructing a
2672         multiplier/divisor, do not expect const_binop to correctly
2673         determine if overflow has occured, so check explicitly.
2674
2675 2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
2676
2677         * c-decl.c (build_enumerator): Don't modify the value's type,
2678         convert it.
2679
2680 2000-05-24  Andreas Jaeger  <aj@suse.de>
2681
2682         * mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.
2683
2684 2000-05-24  Eric Christopher <echristo@cygnus.com>
2685
2686         * configure.in: Redefine inhibit_libc conditions.
2687         * libgcc2.c: Remove inhibit_libc conditional define.
2688         * configure: Regenerate.
2689
2690 2000-05-24  Phil Edwards  <pme@sourceware.cygnus.com>
2691
2692         * configure.in:  For --enable-languages=LIST, check for empty LIST.
2693         * configure:  Regenerate.
2694
2695 2000-05-24  Lars Brinkhoff  <lars@nocrew.org>
2696
2697         * pdp11.h (STACK_BOUNDARY): Define.
2698
2699 2000-05-24  Jakub Jelinek  <jakub@redhat.com>
2700
2701         * ifcvt.c (if_convert): Update life info globally.
2702
2703 2000-05-24  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2704
2705         * emit-rtl.c (unshare_all_decls): New function.
2706         (unshare_all_rtl): Call it.
2707
2708 2000-05-23  Nick Clifton  <nickc@cygnus.com>
2709
2710         * configure.in: Treat 'strongarm' as if it were 'arm' when
2711         determining cpu type.
2712
2713         * configure: Regenerate.
2714
2715         * config/arm/arm.c: Change 'char *' to 'const char *' for cases
2716         where constant strings are involved.
2717
2718         * config/arm/arm.h (arm_condition_codes): Change type to 'const
2719         char *'.
2720
2721         * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
2722         cases where constant strings are involved.
2723
2724 Tue May 23 15:08:31 2000  Clinton Popetz  <cpopetz@cygnus.com>
2725
2726         * config/sh/sh.c (gen_far_branch, split_branches): Update
2727         to reflect new prototypes for redirect_jump and invert_jump.
2728         (sh_insn_length_adjustment): Get rid of const warnings.
2729
2730 2000-05-23  Kazu Hirata  <kazu@hxi.com>
2731
2732         * invoke.texi (Options for Debugging Your Program or GCC): Update
2733         the names of dump files.
2734
2735 Tue May 23 13:58:52 2000  Philippe De Muyter  <phdm@macqel.be>
2736
2737         * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
2738         * configure: Regenerated.
2739
2740 2000-05-23  Zack Weinberg  <zack@wolery.cumb.org>
2741
2742         * simplify-rtx.c (SIGN_EXTEND): New macro.
2743         (simplify_unary_operation, simplify_binary_operation,
2744         simplify_relational_operation): Use SIGN_EXTEND.  Make low
2745         halves of (low, high) pairs unsigned if they weren't already.
2746         (simplify_ternary_operation): Cast INTVAL to unsigned before
2747         comparing to a MODE_BITSIZE.
2748
2749 2000-05-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2750
2751         * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
2752         rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
2753
2754         * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
2755         gcc_AC_NEED_DECLARATIONS.
2756
2757         * dwarfout.c: Don't prototype time().
2758
2759         * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
2760
2761         * system.h: Likewise.
2762
2763         * toplev.c: Likewise.
2764
2765 2000-05-23  Zack Weinberg  <zack@wolery.cumb.org>
2766
2767         * c-decl.c (pushdecl): Invert sense of test for non-global types.
2768
2769 Tue May 23 18:11:42 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2770
2771         * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
2772
2773 2000-05-23  Jonathan Larmour  <jlarmour@redhat.co.uk>
2774
2775         * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
2776
2777 Tue May 23 06:50:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2778
2779         * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
2780         (alpha_start_function): Never write ..ng label if VMS or NT.
2781         (alpha_align_insns): Remove GP_IN_USE arg.
2782         Alignment now unsigned.
2783         (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
2784         * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
2785         and two define_insn's.
2786
2787 2000-05-22  Richard Henderson  <rth@cygnus.com>
2788
2789         * combine.c (simplify_comparison): Use trunc_int_for_mode.
2790
2791 2000-05-22  Richard Henderson  <rth@cygnus.com>
2792
2793         * stor-layout.c (place_field): Change rli->size to rli->offset.
2794
2795 2000-05-22  Richard Henderson  <rth@cygnus.com>
2796
2797         * function.c (thread_prologue_and_epilogue_insns): Make sure
2798         existing line number notes appear after the prologue.
2799
2800 Mon May 22 21:49:00 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2801
2802         * config/alpha/alpha.c (alpha_fnname): New static variable.
2803         (print_operand, case '~'): New case.
2804         (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
2805         (alpha_start_function): Set alpha_fnname.
2806         Write "ng" label if no ldgp; don't write ldgp insn.
2807         * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
2808         * config/alpha/alpha.md (prologue_ldgp): New define_insn.
2809
2810 Mon May 22 11:30:48 2000  Clinton Popetz  <cpopetz@cygnus.com>
2811
2812         * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
2813         on deleted labels.
2814
2815 2000-05-22  Zack Weinberg  <zack@wolery.cumb.org>
2816
2817         * varasm.c (eh_frame_section): Revert change to argument list.
2818
2819 Mon May 22 13:14:03 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2820
2821         * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
2822         (gen_extend_insn, can_fix_p, can_float_p): Likewise.
2823
2824         * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
2825         dangling "else" that causes "break" to be conditional.
2826         Also remove unneeded code at start.
2827
2828 Mon May 22 17:31:35 2000  Philippe De Muyter  <phdm@macqel.be>
2829
2830         * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
2831         * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
2832         * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
2833
2834 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
2835
2836         * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
2837         just one argument.
2838
2839 Mon May 22 06:57:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2840
2841         * alias.c (record_component_aliases): New function.
2842         * tree.h: Clean up some declarations and comments.
2843         (record_component_aliases): New declaration.
2844         * tree.c (get_alias_set): If type and has alias set, use it.
2845
2846 2000-05-22  Richard Henderson  <rth@cygnus.com>
2847
2848         * simplify-rtx.c (simplify_ternary_operation): Try to simplify
2849         IF_THEN_ELSE to a setcc form.
2850         * jump.c (can_reverse_comparison_p): Be prepared for insn null.
2851
2852 2000-05-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2853
2854         * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
2855         (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
2856
2857 Sun May 21 16:42:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2858
2859         * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
2860         not a PARALLEL.
2861
2862 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
2863
2864         * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
2865         * config/mn10300/mn10300.c (print_operand): Likewise.
2866
2867         * final.c (split_double): Right shift of negative values is not
2868         portable.
2869
2870         * ifcvt.c (if_convert): Scan and kill dead code.
2871
2872         * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
2873
2874 2000-05-20  Zack Weinberg  <zack@wolery.cumb.org>
2875
2876         * diagnostic.c: Eliminate implicit int.
2877         * except.c, gcc.c: Add static prototypes.
2878         * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
2879         * gensupport.c (process_rtx): Use XVEC to initialize vector
2880         slot of 'split'.
2881
2882         * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
2883         debug_reg_names instead of static reg_names.  If not, define
2884         global reg_names.
2885         * regclass.c: Don't define global reg_names unless
2886         DEBUG_REGISTER_NAMES is defined.
2887
2888         * reload1.c (order_regs_for_reload): Remove unused variable.
2889         * varasm.c: Include output.h after defaults.h.  Define
2890         eh_frame_section as function of no args, not of unspecified args.
2891
2892         * gcc.c: Constify argbuf; arguments to store_arg,
2893         process_command, main; elements of struct command and struct
2894         switchstr; local variables in execute, process_command, main.
2895
2896 2000-05-20  Bruce Korb  <bkorb@gnu.org>
2897
2898         * fixinc/inclhack.def:  many applications of c_fix=format + tests
2899         * fixinc/check.diff:  regenerated
2900         * fixinc/fixincl.x:  regenerated
2901
2902 Sat May 20 09:30:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2903
2904         * alias.c: Clarify some comments.
2905         (record_base_value): REGNO is unsigned.
2906         * rtl.h (record_base_value): Likewise.
2907
2908         * alias.c (aliases_everything_p): Don't special-case QImode here.
2909         * c-common.c (c_get_alias_set): Do it here.
2910         Handle BIT_FIELD_REF by getting alias info for arg.
2911         Use POINTER_TYPE_P.
2912
2913 2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
2914
2915         * mklibgcc.in: Restore rule to create ${dir}.
2916
2917 Sat May 20 08:45:41 2000  H.J. Lu  <hjl@gnu.org>
2918
2919         * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
2920         GCC_FOR_TARGET used by MULTILIBS.
2921         * mklibgcc.in: Make sure each .o file depends on the
2922         directory it will be in.
2923         Make the multilib directory depends libgcc.
2924
2925 Sat May 20 08:29:28 2000  H.J. Lu  <hjl@gnu.org>
2926
2927         * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
2928
2929 Sat May 20 07:27:35 2000  Alexandre Oliva  <aoliva@cygnus.com>
2930
2931         * fold-const.c (make_range): Handle degenerated intervals.
2932         Fixes c-torture/execute/991221-1.c
2933
2934 Fri May 19 18:16:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2935
2936         * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
2937         * reload.c (find_equiv_reg): Likewise.
2938         * alias.c (init_alias_analysis): Likewise.
2939         Only call prologue_epilogue_contains on insns.
2940         * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
2941         * bb-reorder.c (hard-reg-set.h): Include earlier.
2942         * haifa-sched.c (hard-reg-set.h): Likewise.
2943         * ifcvt.c (hard-reg-set.h): Likewise.
2944         * local-alloc.c (hard-reg-set.h): Likewise.
2945         * loop.c (hard-reg-set.h): Likewise.
2946         * predict.c (hard-reg-set.h): Likewise.
2947         * regrename.c (hard-reg-set.h): Likewise.
2948         * flow.c (hard-reg-set.h): Likewise.
2949         (reg_set_to_hard_reg_set): New function.
2950         * bitmap.c (regs.h, basic-block.h): No longer include.
2951         (bitmap.h): Now include.
2952         * conflict.c (hard-reg-set.h): Include.
2953         * profile.c (hard-reg-set.h): Likewise.
2954         * print-rtl.c (hard-reg-set.h): Likewise.
2955         * sbitmap.c (hard-reg-set.h): Likewise.
2956         * toplev.c (hard-reg-set.h): Likewise.
2957         * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
2958         * hard-reg-set.h (reg_names): Now constant.
2959         * regs.h (reg_names): Likewise.
2960         * regclass.c (reg_names): Likewise.
2961         * loop.h (basic-block.h): No longer include.
2962         (bitmap.h): Now include.
2963         * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
2964         * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
2965         (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
2966
2967 2000-05-19  Jan Hubicka  <jh@suse.cz>
2968             Richard Henderson  <rth@cygnus.com>
2969
2970         * basic-block.h (struct edge_def): New field "count".
2971         (struct basic_block_def): Likewise.
2972         * flow.c (entry_exit_blocks): Add count fileds.
2973         (split_edge): Keep count information up-to-date.
2974         (dump_edge_info, dump_flow_info): Dump count fields.
2975
2976         * final.c (count_instrumented_edges): Rename to edge from arc.
2977         (end_final): Update users.
2978         * profile.c: Include expr.h, basic-block.h.
2979         (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
2980         (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
2981         (ignore_next_note, return_label_execution_count): Kill.
2982         (bbg_file_name, da_file_name): Kill.
2983         (edge_info, bb_info): New structures.
2984         (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
2985         (count_instrumented_edges, total_num_edges): Rename to edge from arc.
2986         (total_num_edges_instrumented): Likewise.
2987         (init_arc, expand_spanning_tree): Kill.
2988         (fill_spanning_tree, tablejump_entry_p): Kill.
2989         (instrument_edges):  Rewrite from instrument_arcs to use
2990         commit_edge_insertions infrastructure.
2991         (compute_branch_probabilities): Remove arguments; rewrite for
2992         CFG infrastructure; use rtl_dump_file directly.
2993         (branch_prob, find_spanning_tree): Likewise.
2994         (union_groups, find_group): New.
2995         (init_branch_prob): Make bbg_file_name and da_file_name local.
2996         (end_branch_prob): Use rtl_dump_file directly.
2997         (init_edge_profiler): Rename to edge from arc.
2998         (output_arc_profiler): Kill.
2999         (gen_edge_profiler): New.
3000         (output_func_start_profiler): Turn off profiling.  Make the
3001         constructor static when we can.
3002         * rtl.h (branch_prob, end_branch_prob): Update prototypes.
3003
3004         * toplev.c (DFI_flow): Remove.
3005         (DFI_cfg, DFI_life): New.
3006         (dump_file): Update accordingly.
3007         (compile_file): Call end_branch_prob if profile_arc_flag too.
3008         (rest_of_compilation): Move flow1 cfg creation to DFI_cfg.  Do edge
3009         profiling after the CFG is built.  Move flow1 life analysis to
3010         DFI_life.  Always estimate remaining probabilities.
3011
3012 2000-05-19  Richard Henderson  <rth@cygnus.com>
3013
3014         * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
3015
3016         * flow.c (make_edges): The sibling call edge to exit is abnormal.
3017
3018 2000-05-19  Richard Henderson  <rth@cygnus.com>
3019
3020         * jump.c (redirect_jump): Add delete_unused argument.  Don't
3021         remove labels and code following when LABEL_NUSES goes to zero.
3022         (invert_jump): Likewise.
3023         (jump_optimize_1): Fix redirect/invert arguments.
3024         (do_cross_jump, thread_jumps): Likewise.
3025         * flow.c (split_edge): Likewise.
3026         * reorg.c (optimize_skip): Likewise.
3027         (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
3028         * profile.c (instrument_arcs): Likewise.
3029         * loop.c (find_and_verify_loops): Likewise.  Fix indentation.
3030         * rtl.h: Update prototypes.
3031
3032 Fri May 19 12:05:13 2000  Clinton Popetz  <cpopetz@cygnus.com>
3033
3034         * ssa.c (convert_from_ssa): Tell life_analysis we need death
3035         notes.
3036         (make_regs_equivalent_over_bad_edges): Only look at abnormal
3037         critical edges.
3038
3039 2000-05-19  Zack Weinberg  <zack@wolery.cumb.org>
3040
3041         * cpphash.c (funlike_macroexpand): Make sure not to walk p1
3042         past l1 when deleting whitespace and markers.
3043
3044         * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
3045         * cpplib.c (do_unassert): Put the list to compare against on
3046         the stack.
3047
3048 2000-05-19  Bruce Korb  <bkorb@gnu.org>
3049
3050         * fixinc/README:  cleaned up old documentation
3051         * fixinc/check.diff: regenerated & verified on OSR5 on ix86
3052         * fixinc/check.tpl: compute the list of needed directories
3053         emit "#if defined(name)" because of conflict
3054         omit machine name differences from output differences
3055         * fixinc/inclhack.def( m88k_multi_incl ):  Use `wrap' function
3056         (machine_name): change test text to use `sed' markers
3057         * fixinc/fixincl.x: regen
3058
3059 Fri May 19 06:49:35 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3060
3061         * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
3062         a CONSTRUCTOR.
3063
3064 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
3065
3066         * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
3067         it to match the current practice.
3068
3069 2000-05-18  Mark Mitchell  <mark@codesourcery.com>
3070
3071         * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
3072
3073 2000-05-18  Richard Henderson  <rth@cygnus.com>
3074
3075         * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
3076         * rtl.h (insn_dependant_p): Declare it.
3077         * loop.c (strength_reduce): Use it.
3078
3079 2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
3080
3081         * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
3082         16-bit and 64-bit clean-up.
3083
3084 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
3085
3086         * configure.in (*-pc-msdosdjgpp): Set float_format to none.
3087         * configure: Rebuilt.
3088
3089 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
3090
3091         * genopinit.c: Use $ for escape sequences in optab patterns.
3092         Remove backslashes from optab patterns.  Change $A, $B, $C to
3093         expand to (int) whatever instead of just whatever; remove
3094         explicit (int) from all optab patterns.
3095
3096         * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
3097         * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
3098         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
3099         genrecog.c: Remove private copies of xmalloc, xrealloc, and
3100         xstrdup.
3101
3102 2000-05-18  Richard Henderson  <rth@cygnus.com>
3103
3104         * jump.c (jump_optimize_1): Base minimum insn count during
3105         find_cross_jump on BRANCH_COST.
3106
3107 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
3108
3109         * print-rtl.c (print_rtx): Only print note line number as string
3110         if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
3111         * final.c (final_scan_insn): Do nothing for note line number 0.
3112
3113 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
3114
3115         * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
3116         from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
3117         NOTE_INSN_DELETED_LABEL.
3118
3119 2000-05-18  Nick Clifton  <nickc@cygnus.com>
3120
3121         * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
3122         uninitialised data in .rodata not .bss, and do not interpret an
3123         error in the initialisation value as meaning that the variable
3124         should be placed in the .bss section.
3125
3126 Thu May 18 12:10:18 2000  Philippe De Muyter  <phdm@macqel.be>
3127
3128         * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
3129         not `$ac_cv_prog_cc_cc_c_o'.
3130         * configure: Regenerated.
3131
3132 2000-05-18  Chris Demetriou  <cgd@sibyte.com>
3133             Richard Henderson  <rth@cygnus.com>
3134
3135         * c-common.h (enum c_tree_index): Add g77 type entries.
3136         (g77_integer_type_node, g77_uinteger_type_node): New.
3137         (g77_longint_type_node, g77_ulongint_type_node): New.
3138         * c-decl.c (init_decl_processing): Initialize them.
3139
3140 2000-05-18  Richard Henderson  <rth@cygnus.com>
3141
3142         * config/h8300/h8300.md (subs patterns): Use %G to negate.
3143
3144         * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
3145         (small_power_of_two): Likewise; use exact_log2.
3146         (adds_subs_operand, one_insn_adds_subs_operand): Remove.
3147         (output_adds_subs): Remove.
3148         (two_insn_adds_subs_operand): New.
3149         (split_adds_subs): New.
3150         * config/h8300/h8300-protos.h: Update.
3151         * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
3152         (CONST_OK_FOR_L): Match strict adds operands.
3153         (CONST_OK_FOR_N): Match struct subs operands.
3154         * config/h8300/h8300.md (adds_subs insns): Remove.
3155         (addhi patterns): Output adds/subs directly.
3156         (addsi_h8300h): Likewise.
3157         (addhi/addsi splitters): New.  Decompose two_insn_adds_subs_operand.
3158
3159 2000-05-18  Zack Weinberg  <zack@wolery.cumb.org>
3160
3161         * cppexp.c (parse_assertion): New.
3162         (lex): Call it for CPP_HASH.  Remove CPP_ASSERTION case.
3163         (_cpp_parse_expr): Remove case '#'.  Don't set
3164         parsing_if_directive.
3165         * cpphash.c (collect_objlike_expansion,
3166         collect_funlike_expansion, collect_params,
3167         _cpp_create_definition): The list no longer has a trailing
3168         VSPACE token.
3169         * cpphash.h (enum node_type): Add T_ASSERTION.
3170         (struct hashnode): Remove aschain, add pred.
3171         (struct predicate): New.
3172         Update prototypes.
3173
3174         * cpplex.c (expand_token_space): Handle both offset and
3175         nonoffset lists.
3176         (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
3177         (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
3178         _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
3179         _cpp_equiv_toklists): New.
3180         (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
3181         stop at any single-character token, not just newline.
3182         (_cpp_lex_token): Remove special cases for #define and #if.
3183         (cpp_get_token): Expect # as a separate token type.  Remove
3184         DIRECTIVE case.
3185         (_cpp_get_directive_token): Remove DIRECTIVE case.
3186         (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
3187
3188         * cpplib.c (_cpp_check_directive): Set dirno and
3189         SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
3190         (_cpp_handle_directive): Run # <number> through the same logic
3191         as normal directives.
3192         (do_define): Don't set parsing_define_directive.  Use
3193         _cpp_scan_until.  The list does not have a VSPACE at the end.
3194         (do_if): Save, clear, and restore only_seen_white around
3195         _cpp_parse_expr.
3196         (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
3197         (do_assert, do_unassert): Rewrite.
3198
3199         * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
3200         (LIST_OFFSET): New flag.
3201         (struct cpp_toklist): Replace dir_handler and dir_flags with
3202         dirno and flags.
3203         (struct cpp_reader): Remove parsing_if_directive and
3204         parsing_define_directive.
3205
3206 2000-05-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3207
3208         * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
3209         following the cabs decl which terminate on the following line.
3210         Add the corresponding test_text case.
3211
3212 2000-05-18  Neil Booth  <NeilB@earthling.net>
3213
3214         * cppinit.c (cpp_reader_init): Initialise col_adjust and
3215         default tab stop size.
3216         (no_num, OPT_ftabstop): New.
3217         (handle_option): Handle "ftabstop=" command-line option.
3218         (print_help): Document it.
3219         * cpplex.c (COLUMN): Remove.
3220         (handle_newline): Reset col_adjust.
3221         (skip_whitespace): Update col_adjust as tabs encountered.
3222         (_cpp_lex_line): Update to use col_adjust.  Call
3223         skip_whitespace for all whitespace.
3224         * cpplib.h (struct cpp_options): New member tabstop.
3225         (struct cpp_reader): New member col_adjust.
3226         (CPP_BUF_COL): Update.
3227         (CPP_BUF_COLUMN): New.
3228         * cpp.texi: Document "-ftabstop=" command line option.
3229
3230 Wed May 17 18:19:41 2000  Philippe De Muyter  <phdm@macqel.be>
3231
3232         * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
3233         files.
3234         * configure: Rebuilt.
3235
3236 Wed May 17 18:06:12 2000  John David Anglin <dave@hiauly1.hia.nrc.ca>
3237
3238         * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
3239
3240         * tree.c (build_common_tree_nodes): Do not build TI nodes unless
3241         HOST_BITS_PER_WIDE_INT is >= 64.
3242
3243 2000-05-17  Richard Henderson  <rth@cygnus.com>
3244
3245         * jump.c (jump_optimize_1): Remove inactive but real insns
3246         in jump-to-next-insn optimization.
3247
3248 2000-05-17  Richard Henderson  <rth@cygnus.com>
3249
3250         * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
3251         unless OPTIMIZE_MODE_SWITCHING.  Conditionally set no_new_pseudos.
3252         Don't call recompute_reg_usage if no_new_pseudos is true.
3253         * lcm.c (optimize_mode_switching): Move ifdefs outside function.
3254         Return true if we did work; update global life information.
3255         * basic-block.h (optimize_mode_switching): Update decl.
3256
3257 2000-05-17  Neil Booth  <neilb@earthling.net>
3258
3259         * cpplex.c (expand_name_space): Don't use ptrdiff_t.
3260
3261 2000-05-17  Zack Weinberg  <zack@wolery.cumb.org>
3262
3263         * cpplib.c: New feature, #pragma system_header.
3264         * cpp.texi: Document special treatment of system headers, and
3265         the various mechanisms to get a header that special treatment.
3266
3267 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3268
3269         * system.h (offsetof): Define at the very end, to ensure we prefer
3270         the platform's definition if available.
3271
3272 2000-05-16  Bruce Korb  <bkorb@gnu.org>
3273
3274         * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
3275         * fixinc/server.c: likewise
3276         * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
3277         + #ifdef debugging code + use #def constant for
3278         sub-pattern count
3279         * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
3280         on C++ math namespace
3281
3282 2000-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3283
3284         * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
3285         Don't check the return value of sprintf.  Use asprintf to avoid
3286         buffer overflows.
3287
3288 Wed May 17 17:27:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
3289
3290         * flags.h (warn_unused_function, warn_unused_label,
3291         warn_unused_parameter, warn_unused_variable, warn_unused_value):
3292         Replace ``warn_unused''.
3293         (set_Wunused): Add declaration.
3294         * toplev.c (set_Wunused): New function.
3295         (warn_unused_function, warn_unused_label, warn_unused_parameter,
3296         warn_unused_variable, warn_unused_value): New variables.
3297         (W_options): Add -Wunused-function, -Wunused-function,
3298         -Wunused-label, -Wunused-parameter, -Wunused-variable and
3299         -Wunused-value.  Delete -Wunused.  Handled in decode_W_option.
3300
3301         * toplev.c (decode_W_option): Update -Wunused flags by calling
3302         set_Wunused.
3303         * c-decl.c (c_decode_option): Ditto for -Wall.
3304
3305         * stmt.c (expand_expr_stmt, expand_expr_stmt,
3306         warn_about_unused_variables): Replace warn_unused with more
3307         explicit warn_unused_value et.al.
3308         * function.c (expand_function_end): Ditto.
3309         * c-typeck.c (internal_build_compound_expr,
3310         internal_build_compound_expr): Ditto.
3311         * c-decl.c (poplevel, pop_label_level): Ditto.
3312         * toplev.c (check_global_declarations): Replace warn_unused with
3313         check for either warn_unused_function or warn_unused_variable.
3314
3315         * gcc.1, invoke.texi (Warning Options): Document
3316         -Wunused-function, -Wunused-function, -Wunused-label,
3317         -Wunused-parameter, -Wunused-variable and -Wunused-value options.
3318
3319 Wed May 17 10:28:12 2000  Philippe De Muyter  <phdm@macqel.be>
3320
3321         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
3322         $(srcdir), not in the current directory.
3323
3324 2000-05-16  Richard Henderson  <rth@cygnus.com>
3325
3326         * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
3327         assembler supports it.
3328         (.fini, .init): Use a gp-relative indirect call.
3329         (__do_global_dtors_aux): Preserve the gp; rebundle.
3330         (__do_frame_setup): Likewise.
3331         * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
3332         (.init): Use a gp-relative indirect call.
3333         (__do_global_ctors_aux): Preserve the gp.
3334
3335 2000-05-16  Richard Henderson  <rth@cygnus.com>
3336
3337         * flow.c (commit_one_edge_insertion): Be prepared for a return
3338         insn to be inserted on the edge with a normal jump.
3339         * jump.c (jump_optimize_1): Don't look to create return isns.
3340
3341         * flow.c (flow_delete_insn): Don't adjust reference count of notes.
3342         * jump.c (jump_optimize_1): Likewise.
3343         (returnjump_p): Verify the argument is a JUMP_INSN.
3344         * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
3345
3346 2000-05-16  Nick Clifton  <nickc@cygnus.com>
3347
3348         * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
3349         GET_RTX_CLASS (GET_CODE ()) == 'i'.
3350         (large_insn_p): Ditto.
3351         (m32r_is_insn): New function: Return true if the insn contains
3352         an executable instruction.
3353         (m32r_adjust_insn): Use m32r_is_insn.
3354         (m32r_sched_reorder): Use m32r_is_insn.
3355         (m32r_sched_variable_issue): Use m32r_is_insn.
3356
3357 2000-05-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3358
3359         * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
3360         VAR_DECL.
3361
3362         * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
3363
3364         * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
3365         according to given options.
3366
3367 Tue May 16 12:17:31 2000  Jeffrey A Law  (law@cygnus.com)
3368
3369         * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
3370         if X has VOIDmode either.
3371         (LIMIT_RELOAD_CLASS): Similarly.
3372
3373         * mn10200.md (indirect_jump, tablejump): Use "register_operand",
3374         not "general_operand" to match the processor's capabilities.
3375
3376 2000-05-16  Bruce Korb  <bkorb@gnu.org>
3377
3378         * fixinc/README:  corrected return address
3379         * fixinc/check.diff:  regenerate, now that test works
3380         * fixinc/fixfixes.c(format_fix,format_write): reformatted
3381         (char_macro_def_fix,char_macro_use_fix): corrected and
3382         rewrote to use regex to parse the text
3383         * fixinc/inclhack.def: more testing
3384         * fixinc/fixincl.x:  regenerated
3385
3386         * fixinc/inclhack.def: added several "test_text" attributes
3387         changed several fixes to use `c_fix = format'
3388         re-alphabetized the fixes
3389
3390         * fixinc/check.diff: regenerate
3391         * fixinc/fixincl.x: regenerate
3392         * fixinc/check.tpl: added `sparc' and `netinet' to the list
3393         of created dirs
3394
3395
3396 2000-05-16  Alexandre Oliva  <aoliva@cygnus.com>
3397
3398         * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
3399
3400 2000-05-15  Richard Henderson  <rth@cygnus.com>
3401
3402         * toplev.c (rest_of_compilation): Run full jump pass before
3403         find_basic_blocks of flow2.
3404
3405 2000-05-15  Richard Henderson  <rth@cygnus.com>
3406
3407         * jump.c: Fix typos and clarify commentary from last change.
3408         (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
3409         (safe_to_remove_jump_p): Remove.
3410         (condjump_label): Use pc_set.
3411
3412 2000-05-15  Richard Henderson  <rth@cygnus.com>
3413
3414         * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
3415         that get in the way after reload.
3416         (cond_exec_process_if_block): Skip a label heading THEN block.
3417
3418 2000-05-15  Richard Henderson  <rth@cygnus.com>
3419
3420         * varasm.c (output_constant_pool): Abort instead of converting
3421         (improperly) deleted labels to zero.
3422
3423 2000-05-16  Neil Booth  <NeilB@earthling.net>
3424
3425         * cpplex.c (parse_string2): Update comment.
3426         (cpp_lex_line): No special assertion treatment for '('.
3427         * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
3428         * cpplib.h (SYNTAX_ASSERT): Remove.
3429
3430 Mon May 15 21:45:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3431
3432         * jump.c (condjump_p):  Mark as depreached.
3433         (any_condump_p): New.
3434         (any_uncondump_p): New.
3435         (pc_set): New.
3436         (safe_to_remove_jump_p): New.
3437         * rtl.h (any_condump_p, any_uncondjump_p, pc_set
3438         safe_to_remove_jump_p): Declare.
3439
3440 Mon May 15 21:07:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3441
3442         * calls.c: Re-install both patches reverted by last patch.
3443         (struct arg_data): New field tail_call_reg.
3444         (initialize_argument_information): Initialize tail_call_reg
3445         (load_register_parameters): New argument flags, use
3446         tail_call_reg when emiting tail call sequence.
3447         (expand_call): Update call of load_register_parameters;
3448         copy unadjusted_args_size to adjusted_args_size.
3449
3450 Mon May 15 19:01:42 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3451
3452         * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
3453         and bct_p parameters to flags.
3454         * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
3455         * rtl.h (loop_optimize): Update prototype.
3456         * toplev.c (rest_of_compilation): Update call of loop_optimize.
3457
3458 2000-05-15  Jakub Jelinek  <jakub@redhat.com>
3459
3460         * calls.c (expand_call): Move expand_start_target_temps call after
3461         start_sequence().
3462
3463 2000-05-15  Neil Booth  <NeilB@earthling.net>
3464
3465         * cpphash.c (trad_stringify, warn_trad_stringify,
3466         collect_params): Make some pointers pointers to const.
3467         * cpplex.c (auto_expand_name_space) Guaranteed to always
3468         expand by at least one character.
3469         (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
3470         (struct token_spelling): Use const U_CHAR * rather than PTR.
3471         (expand_name_space): Fix up token pointers if name space
3472         is moved when expanding.
3473         (INIT_NAME, cpp_scan_line, parse_name, parse_number,
3474         parse_string2, save_comment, spell_token, cpp_output_list):
3475         Update so the routines handle tokens with a direct pointer to
3476         their text, rather than an offset into the token's list's namebuf.
3477         (_cpp_lex_line): Rearrange for clarity.
3478
3479         * cpplib.c (_cpp_check_directive): Similarly.
3480         (do_define): Make SYM a pointer to const.
3481         * cpplib.h (struct cpp_name): Replace offset with direct pointer.
3482         (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
3483         (TOK_OFFSET): Delete.
3484         (TOK_NAME): Update.
3485
3486 2000-05-14  Geoffrey Keating  <geoffk@cygnus.com>
3487
3488         * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
3489         64-bit ABI.
3490
3491         * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
3492         into account.
3493         (logical_u_operand): Delete.
3494         (non_logical_cint_operand): Rewrite to take MODE into account.
3495         (non_logical_u_cint_operand): Delete.
3496         (boolean_operator): New function.
3497         (print_operand): Add new %q operand.
3498         * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
3499         remove logical_u_operand and non_logical_u_cint_operand,
3500         update logical_operand and non_logical_cint_operand.
3501         * config/rs6000/rs6000.md: Rewrite the patterns for performing
3502         logical operations to use %q.
3503
3504         * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
3505         (movdi): Make similar to movsi.
3506         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
3507         is no such thing as a DImode CONST_DOUBLE.
3508         * config/rs6000/rs6000.c (output_toc): Likewise.
3509
3510         * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
3511         codes when old mnemonics are in use.  Print register names
3512         for cc registers when requested.
3513
3514         * optabs.c (expand_float): Don't allow mode widening that causes
3515         double rounding.
3516
3517         * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
3518         flags to their current names -maix64 and -maix32.
3519
3520 2000-05-14  Bruce Korb  <bkorb@gnu.org>
3521
3522         * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
3523         and/or after current text of file
3524         * fixinc/fixlib.c(must_malloc):
3525         * fixinc/fixlib.h(must_malloc): + reformatting
3526         * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
3527         with usages of ``c_fix = wrap;''
3528         Add several tests and use the ``c_fix = format'' fixer more.
3529         * fixinc/fixincl.x: regen
3530         * fixinc/check.diff: regen
3531         * fixinc/check.tpl: emit the associated header with the missing
3532         test message
3533
3534 Sun May 14 17:58:59 2000  Hans-Peter Nilsson  <hp@axis.com>
3535
3536         * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
3537         variables $src and $dst.
3538
3539 2000-05-13  Gabriel Dos Reis <gdr@codesourcery.com>
3540
3541         * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
3542         (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
3543         (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
3544         (struct output_buffer: emitted_prefix_p, prefixing_rule): New
3545         fields.
3546         (set_message_prefixing_rule): Declare.
3547
3548         * diagnostic.c: (current_prefixing_rule): New variable.
3549         (set_message_prefixing_rule): Define.
3550         (output_set_prefix): Adjust buffer->emitted_prefix_p.
3551         (init_output_buffer): Adjust Initialization.
3552         (output_emit_prefix): Rewrite.  Take prefixing rules into account.
3553
3554 Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
3555
3556         * ifcvt.c (if_convert): Do not free NULL.
3557
3558 2000-05-12  Nick Clifton  <nickc@cygnus.com>
3559
3560         * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
3561         to move a double word value.
3562         (di_operand): New function: Return true if the operand is suitbale
3563         for a double word move operation.
3564         (nonimmediate_di_operand): New function: Return true if the
3565         operand is a DImode register or MEM.
3566
3567         * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
3568         nonimmediate_di_operand.
3569
3570         * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
3571         nonimmediate_di_operand.
3572
3573         * config/fr30/fr30.md (movdi): New pattern.  Required because
3574         other patterns generate DImode results.
3575         (movdi_insn): New pattern.
3576
3577 2000-05-12  Richard Henderson  <rth@cygnus.com>
3578
3579         * config/alpha/alpha.c (struct shadow_summary): Define
3580         bitfields as type unsigned int.
3581
3582 Sat May 13 00:09:59 2000  Denis Chertykov  <denisc@overta.ru>
3583
3584         * config/avr/t-avr: Added definition of FLOAT while generates
3585         fp-bit.c
3586
3587         * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
3588         peepholes for tst+jump = sbrs/sbrc optimization.
3589
3590 Fry May 12 20:03:00 CEST 2000  Jan Hubicka  <jh@suse.cz>
3591
3592         * expr.c (emit_push_insn): Do not adjust stack pointer when
3593         preallocating.
3594
3595 Fri May 12 19:03:58 2000  Philippe De Muyter  <phdm@macqel.be>
3596
3597         * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
3598         * system.h (offsetof): ... to here.
3599
3600 2000-05-12  Richard Henderson  <rth@cygnus.com>
3601
3602         * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
3603         * final.c (final_end_function): Use app_disable.  Rearrange note
3604         handling into a switch.  Emit deleted labels.
3605         (output_asm_label): Generate label strings for deleted labels.
3606         * flow.c (tail_recursion_label_list): New.
3607         (find_basic_blocks_1): Set label_value_list directly.  Collect list
3608         of tail recursion labels from call_placeholders.  Don't add deleted
3609         labels to the label value list.
3610         (cleanup_cfg): Use free_EXPR_LIST_list.
3611         (flow_delete_insn_chain): Turn non-removable labels into notes.
3612         (flow_delete_block): Don't disable deleting the block because of
3613         a non-removable label.
3614         (tail_recursion_label_p): New.
3615         (merge_blocks_move_predecessor_nojumps): Don't disable the merge
3616         because of a label.
3617         (merge_blocks_move_successor_nojumps): Likewise.  Also move a
3618         jump table.
3619         (merge_blocks): Disable a merge because of tail recursion labels.
3620         * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
3621         Use a more accurate measure of not merging the join block.
3622         (find_if_block): Don't disable conversion because of a label.
3623         (find_if_case_1, find_if_case_2): Likewise.
3624         * jump.c (duplicate_loop_exit_test): Preserve the kind of list
3625         element when copying.
3626         (squeeze_notes): Also leave EH notes.
3627         (mark_jump_label): Ignore deleted labels.  Use an INSN_LIST for
3628         REG_LABEL notes.
3629         (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
3630         deleting a label.
3631         * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
3632         NOTE_INSN_DELETED_LABEL.  Print `[# deleted]' for a label_ref
3633         referring to a deleted label.  Convert tail handling to a switch.
3634         * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
3635         for NOTE_INSN_DELETED_LABEL.
3636         (NOTE): Fix commentary.
3637         * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
3638         (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
3639         (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
3640         (LABEL_NUSES, LABEL_REFS): Likewise.
3641         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
3642
3643 2000-05-12  Bruce Korb  <bkorb@gnu.org>
3644
3645         * fixinc/fixfixes.c(format_write): buglet & relaxed rules
3646         * fixinc/check.diff: updated
3647         * fixinc/inclhack.def: corrected & added some test_text-s
3648         * fixinc/genfixes: removed unneeded options to autogen invocation
3649         * fixinc/fixincl.tpl: Specified the output file
3650         * fixinc/fixfixes.c: visual appearance
3651         * fixinc/fixincl.x: regenerate
3652
3653 2000-05-12  Zack Weinberg <zack@wolery.cumb.org>
3654
3655         * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
3656         CTRL_defn_fix): Delete.
3657         (fix_char_macro_defines, fix_char_macro_uses): Rename to
3658         char_macro_def_fix and char_macro_use_fix, respectively.  Put
3659         them into the FIXUP_TABLE.  Get the string to search for from
3660         a c_fix_arg.
3661
3662         (format_write): New function.
3663         (format_fix): Use it.
3664
3665         (FIX_PROC_HEAD): Constify text parameter.
3666         (machine_name_fix): Constify all char *s.
3667         * fixtests.c (skip_quote): Remove double static.
3668
3669         * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
3670         ctrl_use_quotes): Update for new scheme.
3671         * fixincl.x: Regenerate.
3672
3673 2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
3674
3675         * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
3676         DWARF2_DEBUG.
3677         (DWARF2_ASM_LINE_DEBUG_INFO): Define.
3678         (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
3679
3680 2000-05-11  Robert Lipe <robertlipe@usa.net>
3681
3682         * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
3683         * fixincl.x: Regenerate.
3684
3685 2000-05-11  Richard Henderson  <rth@cygnus.com>
3686
3687         * calls.c: Revert both 05-09 patches.
3688
3689 2000-05-11  Alexandre Oliva  <aoliva@cygnus.com>
3690
3691         * config/mn10300/mn10300.c (print_operand): Print FP constants in
3692         hexadecimal.
3693         * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
3694         for FP values.
3695
3696         * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
3697         and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
3698
3699 2000-05-11  Jason Merrill  <jason@casey.cygnus.com>
3700
3701         * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
3702
3703 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
3704
3705         * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
3706
3707 Thu May 11 22:28:05 2000  Denis Chertykov  <denisc@overta.ru>
3708
3709         * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
3710         * config/avr/avr.c (jump_over_one_insn_p): New function.
3711         * config/avr/avr.md: New peepholes added. Output test and
3712         conditional jump to "sbrc" or "sbrs" command.
3713
3714 2000-05-11  Mark Elbrecht  <snowball3@bigfoot.com>
3715
3716         * cppmain.c (main): Use IS_DIR_SEPARATOR.
3717
3718 2000-05-11  Jakub Jelinek  <jakub@redhat.com>
3719
3720         * except.c (find_exception_handler_labels_1): New function.
3721         (find_exception_handler_labels): Split into two functions, dive
3722         into CALL_PLACEHOLDERs when looking for exception handler labels.
3723
3724 2000-05-11 Stan Cox <scox@cygnus.com>
3725
3726         * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
3727         * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
3728         * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
3729
3730 2000-05-11  Bruce Korb  <bkorb@gnu.org>
3731
3732         * fixinc/fixfixes.c (double_slash_fix):  obsolete
3733         (else_endif_label_fix): obsolete
3734         (format_fix):  new, unused as yet
3735         (main): obsolete
3736         * fixinc/fixlib.h: added fix description struct for use by format_fix
3737         * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
3738         * fixinc/Makefile.in:  compile fixfixes.c and fixtests.c as separate
3739         modules.  Removed the vestiges of the script version.
3740         Added support for "make check".
3741         * fixinc/check.diff: base diff file (needs work!!)
3742         * fixinc/check.tpl: quiet the fixup output
3743         * fixinc/fixtests.c (main): obsolete
3744         * fixinc/fixincl.sh:  don't bother copying fixincl to ..
3745         * fixinc/fixincl.tpl:  provide for arguments to c_fix routines
3746
3747 Thu May 11 11:57:02 MET DST 2000  Jan Hubicka <jh@suse.cz>
3748
3749         * toplev.c (rest_of_compilation): Remove dead code after
3750         combine.
3751
3752 2000-05-11  Zack Weinberg  <zack@wolery.cumb.org>
3753
3754         * cpphash.c (collect_funlike_expansion): Make "# is not
3755         followed by a macro argument name" a pedwarn, not an error.
3756         Preserve the # in the output.  Suppress the warning if lang_asm.
3757
3758 Thu May 11 01:19:31 2000  Jeffrey A Law  (law@cygnus.com)
3759
3760         * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
3761         * configure: Rebuilt.
3762
3763 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
3764
3765         * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
3766
3767 2000-05-10  Kazu Hirata  <kazu@hxi.com>
3768
3769         * combine.c (try_combine): Fix a typo.
3770
3771 Wed May 10 21:31:44 2000  Jim Wilson  <wilson@cygnus.com>
3772
3773         * config/ia64/ia64.md (insv): Add comment.
3774
3775 2000-05-10  Richard Henderson  <rth@cygnus.com>
3776
3777         * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
3778         * mklibgcc.in: Rewrite to not use functions.  Don't shortcut
3779         dependancies on FPBIT and DPBIT.
3780
3781 2000-05-10  Nick Clifton  <nickc@redhat.com>
3782
3783         * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
3784         when optimising for size.
3785         (mark_used_regs:) Ditto.
3786         (try_pre_increment_1): Ditto.
3787
3788 2000-05-10  Zack Weinberg  <zack@wolery.cumb.org>
3789
3790         * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
3791         Make error message friendlier.
3792
3793         * cpphash.h (struct hashnode): Use struct hack for name
3794         member.
3795         * cpphash.c (struct hashdummy): New.
3796         (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
3797         (make_HASHNODE): No need to set ->name pointer.  Correct
3798         setting of p.
3799         (cpp_lookup): Make 'dummy' a struct hashdummy.  Tidy up a bit.
3800
3801 2000-05-10  Richard Henderson  <rth@cygnus.com>
3802
3803         * flow.c (find_basic_blocks_1): Remove any spare bb_note
3804         after completion.
3805
3806 2000-05-10  Bruce Korb  <bkorb@gnu.org>
3807
3808         * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
3809
3810 2000-05-10  Eric Schweitz  <schweitz@nortelnetworks.com>
3811
3812         * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
3813         after we enter .debug.
3814
3815 2000-05-10  Jason Merrill  <jason@casey.cygnus.com>
3816
3817         * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
3818         abstract instance of a nested inline function.
3819
3820         * stor-layout.c (finish_record_layout): finalize_type_size
3821         before laying out the pending_statics.
3822
3823 Wed 10 May 09:36:47 2000  Neil Booth  <NeilB@earthling.net>
3824
3825         * cpplex.c (spell_token): New function.
3826         (spell_string, spell_comment, spell_name): fold into
3827         spell_token.
3828         (I, S): Add macros.
3829         (E, H): Remove macros.
3830         (save_comment): Save comment opening characters too.
3831         (_cpp_lex_file): Update to use spell_token.  Tidy up comment
3832         handling.
3833         * cpplib.h (I, S): Add macros.
3834         (E, H): Remove macros.
3835         (TTYPE_TABLE): Update entries for new speller.
3836         (SYNTAX_ASSERT): Remove.
3837
3838 Wed 10 May 09:08:30 2000  Neil Booth  <NeilB@earthling.net>
3839
3840         * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
3841         when removing escaped newlines.  Reverse sense of test for
3842         escaped newline.
3843
3844 2000-05-09  Richard Henderson  <rth@cygnus.com>
3845
3846         * flow.c (find_basic_blocks_1): Do not delete the first
3847         bb_note we run across.
3848         (create_basic_block): Use reorder_insns to move an existing
3849         bb_note to the correct place.
3850
3851 2000-05-09  Richard Henderson  <rth@cygnus.com>
3852
3853         * calls.c (expand_call): Increment currently_expanding_call
3854         before calling optimize_tail_recursion.
3855
3856 Tue May  9 18:54:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3857
3858         * reload1.c (reload_combine): Fix errors in last change.
3859
3860 2000-05-09  Zack Weinberg  <zack@wolery.cumb.org>
3861
3862         * gcc.c (used_arg): Skip over a semicolon at the end of the
3863         split-up loop; don't break out of it.
3864
3865         * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
3866         (tree.o): Depend on output.h.
3867
3868         * c-decl.c (pending_invalid_xref_file,
3869         current_function_prototype_file): Constify.
3870         (pushdecl): Constify a local char *.
3871         (define_label): Constify filename parameter.
3872         * c-lex.c (init_parse): Constify parameter and return value.
3873         * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
3874         * c-tree.h: Update prototypes.
3875         * c-parse.in: Constify filename member of %union, and if_stmt_file.
3876         * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
3877         objc/objc-parse.c: Regenerate.
3878
3879         * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
3880         * dwarfout.h: Update prototypes.
3881         * expr.c (expand_expr): Constify a local char *.
3882         * flags.h: Constify main_input_filename.
3883         * function.c (expand_function_end): Constify filename parameter.
3884         * genrecog.c (make_insn_sequence): Use a character array for
3885         c_test_pos.
3886         (main): Remove unused variables.
3887         * input.h: Constify input_filename, main_input_filename, and
3888         file_stack.name.  Update prototypes.
3889         * output.h: Declare first_global_object_name and
3890         weak_global_object_name here, as const char *.
3891         * stmt.c (expand_asm_operands): Constify filename parameter.
3892         * toplev.c (compile_file, push_srcloc, debug_start_source_file):
3893         Constify filename parameter.
3894         (input_filename, main_input_filename): Constify.
3895         * toplev.h: Update prototypes.
3896         * tree.c: Include output.h.  Don't declare
3897         first_global_object_name or weak_global_object_name.  Clean up string
3898         bashing in get_file_function_name_long.
3899         * tree.h (struct tree_decl): Constify filename member.
3900         (input_filename): Constify.
3901         Update prototypes.
3902         * varasm.c (first_global_object_name, weak_global_object_name):
3903         Constify.
3904         (assemble_start_function, assemble_variable): Clean up string bashing.
3905
3906         * gcc.c: Constify all spec-related strings initialized,
3907         transitively, from string constants.  Constify all strings
3908         and string variables related to multilibs.
3909         (set_spec, read_specs): Cast argument to free to PTR.
3910         (used_arg): Do not modify multilib_matches.  Use strncmp plus
3911         length comparison to compare multilib switches.
3912         * genmultilib: Constify everything declared in multilib.h.
3913
3914 Tue May  9 22:28:03 2000  Denis Chertykov  <denisc@overta.ru>
3915
3916         * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
3917         as deleted.
3918
3919 Tue May  9 20:52:43 2000  Denis Chertykov  <denisc@overta.ru>
3920
3921         * config/avr/avr-protos.h (extra_constraint): change a type of
3922         second argument from char to int to avoid warnings.
3923         (asm_output_byte): Likewise.
3924
3925         * config/avr/avr.c (MAX_LD_OFFSET) New macro.
3926         (initial_elimination_offset): Handle elimination from
3927         FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
3928         (legitimate_address_p): Use MAX_LD_OFFSET.
3929         (legitimize_address): Likewise.
3930         (out_movqi_r_mr): Likewise.
3931         (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
3932         (out_movsi_r_mr): Use MAX_LD_OFFSET.
3933         (out_movsi_mr_r): Likewise.
3934         (out_movqi_mr_r): Likewise.
3935         (out_movhi_mr_r): Likewise.
3936         (notice_update_cc): Correct CC for the ashrqi3 with the shift
3937         count as CONST_INT != 6.
3938         (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
3939         shift count is a CONSTANT_P, but not a CONST_INT.
3940         (ashlhi3_out): Coding style modifications.
3941         (ashlsi3_out): Likewise.
3942         (ashrhi3_out): Likewise.
3943         (ashrsi3_out): Likewise.
3944         (lshrhi3_out): Likewise.
3945         (lshrsi3_out): Likewise.
3946         (ashrqi3_out): Generate shift for any known constant count without
3947         scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
3948         but not a CONST_INT.
3949         (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
3950         shift count is a CONSTANT_P, but not a CONST_INT.
3951         (extra_constraint): change a type of
3952         second argument from char to int to avoid warnings.
3953         (asm_output_byte): Likewise.
3954         (asm_file_end): Output size generated commands count as a hex
3955         number too.
3956
3957         * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
3958
3959         * config/avr/avr.md (addhi3): Fragment commented by &&0 is
3960         removed.
3961         (ashlqi3): Values of "length" attribute changed. Shift count
3962         uses constraints 'n' instead of 'i'.
3963         (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
3964         shifts without clobber register.
3965         (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
3966         (call_insn): Correct test for which_alternative == 1 (was 0).
3967         (call_value_insn): Likewise.
3968
3969         * config/avr/t-avr: Remove definition of FLOAT while generates
3970         fp-bit.c
3971
3972 2000-05-09  Bruce Korb  <bkorb@gnu.org>
3973
3974         * fixinc/check.tpl:  Template for checking fixes
3975         * fixinc/inclhack.def:  Added 'test_text' for many fixes
3976         disable hpux8_bogus_inlines on SCO
3977         * fixinc/fixinc.sco:  Oh, yes, we don't need this any more.
3978
3979 Tue May  9 16:30:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3980
3981         * calls.c (expand_call): Reorganize somewhat in order
3982         to avoid unnecesary recalculation inside loop and make
3983         tail call failure code cleaner.
3984
3985 Tue May  9 06:30:20 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3986
3987         * alias.c (nonlocal_reference_p): Minor reformatting.
3988         * reload.c (find_equiv_reg): Simplify logic for
3989         CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
3990         some some reformatting.
3991         * reload1.c (reload_combine): Don't assume everything in
3992         CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
3993
3994 2000-05-08  Richard Henderson  <rth@cygnus.com>
3995
3996         * final.c (current_insn_predicate): New.
3997         (final_scan_insn): Set it.
3998         * output.h (current_insn_predicate): Declare.
3999
4000         * ifcvt.c (cond_exec_process_insns): New argument prob_val.
4001         Attach it to call insns.
4002         (cond_exec_process_if_block): Track probability for true and
4003         false branches.
4004         (dead_or_predicable): Likewise.
4005
4006         * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
4007         (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
4008         (PROB_VERY_LIKELY, PROB_ALWAYS): New.
4009         (estimate_probability, expected_value_to_br_prob): Use them.
4010
4011         * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
4012         * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
4013         (ia64_expand_prediction): New.
4014         (emit_insn_group_barriers): Don't look at notes.  Emit barriers
4015         as needed after calls.
4016         (ia64_epilogue_uses): Mark b0 used.
4017         * config/ia64/ia64.md (beq_true, beq_false): Remove.
4018         (bne_true, bne_false): Remove.
4019         (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
4020         (br_true, br_false): New.  Use predicate_operator and
4021         ia64_expand_prediction.
4022         (return_true, return_false): Likewise.
4023         (call_internal): Use ia64_expand_prediction.  Don't emit stop bit.
4024         (call_internal1, call_value_internal): Likewise.
4025         (call_value_internal1, call_multiple_values_internal1): Likewise.
4026
4027         * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
4028
4029         * config/ia64/ia64.md (extendsfdf2): Split only after reload.
4030
4031 2000-05-08  Richard Henderson  <rth@cygnus.com>
4032
4033         * rtlanal.c (may_trap_p): Consider old-style and volatile
4034         asms to trap.
4035
4036 Mon May  8 17:16:48 2000  Jim Wilson  <wilson@cygnus.com>
4037
4038         * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
4039
4040 2000-05-08  Richard Henderson  <rth@cygnus.com>
4041
4042         * config/ia64/ia64.h (predicate_operator): Declare.
4043
4044         * config/ia64/ia64.md (extendsfdf2): Split the nop case out
4045         of existance.
4046
4047         * gensupport.c (process_rtx): Copy and post-process each member
4048         of the define_insn rtvec individually.
4049
4050 Mon  8 May 22:17:35 2000  Neil Booth  <NeilB@earthling.net>
4051
4052         * cpplex.c (spell_token): New function.
4053         (TOKEN_LEN): Add 1 for whitespace.
4054         (_cpp_lex_file): Update to use spell_token.
4055         * cpplib.h (E): Remove.
4056         (TTYPE_TABLE): Update CPP_VSPACE entry.
4057
4058 2000-05-08  Richard Henderson  <rth@cygnus.com>
4059
4060         * flow.c (init_propagate_block_info): Watch out for conditional
4061         branch to next instruction, and thus one outgoing edge.
4062
4063         * config/ia64/ia64.c (ia64_encode_section_info): Exit early
4064         for global register variables; don't special case __[CD]TOR_LIST__;
4065         mind ggc_p for string allocation.
4066
4067 2000-05-08  Nick Clifton  <nickc@cygnus.com>
4068
4069         * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
4070
4071 2000-05-08  Bruce Korb  <bkorb@gnu.org>
4072
4073         * fixinc/mkfixinc.sh:  fixinc.sco is no longer used
4074         i?86-*-msdosdjgpp* no longer uses fixincludes
4075         * fixinc/genfixes:  inclhack.sh and fixincl.sh are no longer generated
4076         * fixinc/inclhack.sh:  deleted
4077         * fixinc/hackshell.tpl:  deleted
4078         * fixinc/inclhack.tpl:  deleted
4079         * fixinc/Makefile.in:  Remove dependencies on above
4080         * fixinc/fixincl.sh:  "DO NOT EDIT" text modified
4081
4082 2000-05-08  Andreas Jaeger  <aj@suse.de>
4083
4084         * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
4085         support.
4086
4087 2000-05-07  Zack Weinberg  <zack@wolery.cumb.org>
4088
4089         * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
4090         substitutions.
4091
4092 Sun  7 May 08:43:53 2000  Neil Booth  <NeilB@earthling.net>
4093
4094         * cpplex.c: Move new lexer definitions and prototypes
4095         to top.  Conditional include these and the code if
4096         NEW_LEXER is defined.  Rename functions whose names
4097         clash if this code included.
4098
4099 Sun May  7 00:54:57 EDT 2000  John Wehle  (john@feith.com)
4100
4101         * rtl.def (COND_EXEC): Clarify.
4102
4103         * i386.md (extendsidi2): Clobber (reg:CC 17) in the
4104         same fashion as zero_extendsidi2.
4105
4106 2000-05-06  Richard Henderson  <rth@cygnus.com>
4107
4108         * config/ia64/ia64.c (predicate_operator): New.
4109         (ia64_print_operand): Handle 'J'.
4110         (rtx_needs_barrier): Handle COND_EXEC.
4111         * config/ia64/ia64.h (BRANCH_COST): Define.
4112         (PREDICATE_CODES): Update.
4113         * config/ia64/ia64.md: Docuement used unspec values.
4114         (attr predicable): New.
4115         (movxf, movxf_internal): New.
4116         (extendsfdf2): Don't comment out nop.
4117         (floatdidf2): Remove.
4118         (truncxfsf2, truncxfdf2, floatdixf2): New.
4119         (abssi2, absdi2): Put the neg in the "true" slot.
4120         (conditional branch instructions): Mark not predicable.
4121         (cmov*_internal): Use predicate_operator.  Split to cond_exec.
4122         (abs*_internal): Likewise.
4123         (alloc, set_bsp): Mark not predicable.
4124         (barrier, insn_group_barrier, flush_cache): Likewise.
4125         (define_cond_exec): New.
4126
4127 2000-05-06  Richard Henderson  <rth@cygnus.com>
4128
4129         * c-decl.c: Include "tm_p.h".
4130
4131         * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
4132         (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
4133         (ia64_expand_op_and_fetch): Declare.
4134         * config/ia64/ia64.c: Include "toplev.h".  Kill trailing whitespace.
4135         (setjmp_operand): Constify variables for XSTR.
4136         (ia64_encode_section_info): Likewise.
4137         (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
4138         values to int.
4139         (ia64_asm_output_external): Constify name.
4140         (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
4141         (process_for_unwind_directive): Provide switch default.
4142         (ia64_expand_compare_and_swap): Remove unused variables.
4143         (ia64_expand_builtin): Likewise.
4144         * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
4145         for printing.
4146
4147         * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
4148         (symbolic_operand, function_operand, setjmp_operand): Likewise.
4149         (shift_count_operand, shift_32bit_count_operand): Likewise.
4150         (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
4151         (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
4152         (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
4153         (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
4154         (ia64_expand_builtin): Likewise.
4155         (call_multiple_values_operation): Make dest_regno unsigned.
4156
4157 2000-05-06  Richard Henderson  <rth@cygnus.com>
4158
4159         * rtl.def (DEFINE_COND_EXEC): New.
4160         * md.texi: Document it.
4161
4162         * gensupport.c (input_file): Remove.
4163         (struct queue_elem): Add lineno.
4164         (rtx_ready_queue): Remove.
4165         (errors): New.
4166         (predicable_default): New.
4167         (predicable_true, predicable_false): New.
4168         (define_attr_queue, define_attr_tail): New.
4169         (define_insn_queue, define_insn_tail): New.
4170         (define_cond_exec_queue, define_cond_exec_tail): New.
4171         (other_queue, other_tail): New.
4172         (queue_pattern): New.
4173         (process_rtx): Add patterns to the appropriate queues.
4174         (is_predicable, identify_predicable_attribute): New.
4175         (n_alternatives, collect_insn_data): New.
4176         (alter_predicate_for_insn, alter_test_for_insn): New.
4177         (shift_output_template, alter_output_for_insn): New.
4178         (process_one_cond_exec, process_define_cond_exec): New.
4179         (init_md_reader): Read the entire file.  Process define_cond_exec.
4180         (read_md_rtx): Return elements from the queues.
4181
4182 2000-05-06  Richard Henderson  <rth@cygnus.com>
4183
4184         * flow.c (mark_set_1): Don't update conditional life info
4185         if the register is not_dead.
4186
4187 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
4188
4189         * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
4190         (mostlyclean): Also delete fixincl, fixinc.sh, and
4191         specs.ready, and make clean in the fixinc subdir.
4192
4193 2000-05-06  Richard Henderson  <rth@cygnus.com>
4194
4195         * Makefile.in (gensupport.o): Compile for the host.
4196         (host-prefix gensuuprt.o): Remove.
4197         (genflags.o): Depend on gensupport.h and OBSTACK_H.
4198         (genattrtab.o): Likewise.
4199         (gencodes.o): Depend on gensupport.h.
4200         (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
4201         (genpeep.o, genattr.o, genoutput.o): Likewise.
4202
4203         * gensupport.c (obstack, rtl_obstack): New.
4204         (init_md_reader): Initialize rtl_obstack.
4205         * gensupport.h (rtl_obstack): Declare.
4206         (message_with_line): Declare.
4207
4208         * genattr.c: Remove all traces of obstack manipulation.
4209         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
4210         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
4211
4212         * genattrtab.c (obstack, rtl_obstack): Remove.
4213         (main): Don't init rtl_obstack.
4214         * genflags.c: Likewise.
4215
4216         * genrecog.c (message_with_line): Move ...
4217         * gensupport.c: ... here.
4218
4219 2000-05-06  Richard Henderson  <rth@cygnus.com>
4220
4221         * c-typeck.c (build_c_cast): Remove dead code.
4222
4223 2000-05-06  Richard Henderson  <rth@cygnus.com>
4224
4225         * flow.c (split_edge): Don't allocate global_live_at_start for
4226         the new block unless the old blocks had them as well.
4227
4228         * flow.c (mark_set_1): Respect not_dead when updating reg_live.
4229
4230         * ifcvt.c (noce_process_if_block): Don't use an insn_b from
4231         test_bb if a or b uses x.
4232
4233 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
4234
4235         * cpphash.h: Remove conditional #define of __extension__.
4236         * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
4237         RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
4238         (ENABLE_RTL_CHECKING only).
4239         * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
4240         CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
4241         (ENABLE_TREE_CHECKING only).
4242         * varray.h: Add __extension__ to VARRAY_CHECK macro
4243         (ENABLE_CHECKING only).
4244
4245 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
4246
4247         Use new tail-calling mechanism on ARM.
4248         * arm.md (sibcall, sibcall_value): New expands.
4249         (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
4250         (tailcalling peepholes): Delete.
4251         (push_multi): Simplify.
4252         * arm.c (lr_save_eliminated): Delete definition.
4253         (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
4254         (output_return_instruction): Remove checks on lr_save_eliminated.
4255         (output_arm_prologue): Remove old tail-calling code.
4256         (arm_output_epilogue): New parameter, really_return.  All callers
4257         changed.  Handle tail-calling epilogues.
4258         * arm.h (lr_save_eliminated): Delete declaration.
4259         (frame_pointer_needed): Delete declaration.
4260         * arm-protos.h (arm_output_epilogue): Adjust prototype.
4261
4262         * arm.md (is_thumb): Examine symbol thumb_code, not expression
4263         TARGET_ARM.
4264         * arm.c (thumb_code): Define it.
4265         (arm_override_options): Set it.
4266         * arm.h (thumb_code): Declare it.
4267
4268 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
4269
4270         * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
4271
4272 2000-05-06  Richard Earnshaw (reanrsha@arm.com)
4273
4274         * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
4275         bogus clobber to insns.
4276         (load_multiple_operation, store_mulitple_operation): Don't check
4277         for it.
4278         * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
4279
4280         * arm.md (and_scc, ior_scc): Add missing mode.
4281
4282         * arm.md (call_value_symbol): Remove predicate from op2.
4283
4284         * arm.h (SPECIAL_MODE_PREDICATES): Define.
4285
4286 Sat May  6 06:25:56 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4287
4288         * expr.c (get_subtarget): New function.
4289         (force_operand, expand_expr, do_store_flag): Use it.
4290
4291         * toplev.c (compile_file): Don't take strlen of NAME if null.
4292
4293 2000-05-06  David Edelsohn  <edelsohn@gnu.org>
4294
4295         * xcoffout.c (xcoff_current_include_file,
4296         xcoff_current_function_file, xcoff_lastfile): Constify char *.
4297         (xcoffout_source_file, xcoffout_source_line): Make filename 'const
4298         char *'.
4299         (xcoffout_declare_function): Make name 'const char *'.
4300         (xcoffout_end_epilogue): Make fname 'const char *'
4301         * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
4302         xcoffout_declare_function, xcoffout_source_line): Match above.
4303
4304         * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
4305         -maix64 is error.
4306         * rs6000.c (print_operand): Fix lossage typo.
4307         (output_cbranch): Remove "cr" decoration for now.
4308         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
4309
4310 Sat May  6 06:55:32 2000  Denis Chertykov  <denisc@overta.ru>
4311
4312         * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
4313         constant count.
4314
4315 2000-05-05  Bruce Korb  <bkorb@gnu.org>
4316
4317         * fixinc/genfixes: Improve the matching for make target names
4318
4319 2000-05-05  Catherine Moore  <clm@cygnus.com>
4320
4321         * c-common.c (decl_attributes):  For TYPE_DECLs attach the
4322         attribute to the decl.
4323         * c-decl.c (pushdecl): Propagate the USED attribute to the
4324         type copy.
4325
4326 2000-05-05  Richard Henderson  <rth@cygnus.com>
4327
4328         * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
4329         same way emit_group_load does.
4330
4331 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
4332
4333         * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
4334
4335         * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
4336         (main): Likewise.
4337
4338 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
4339
4340         * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
4341
4342 Fri May  5 10:29:21 2000  Marc Espie <espie@cvs.openbsd.org>
4343
4344         * config/openbsd.h (LINK_SPEC): pass correct flags to ld
4345         to support -shared, on platforms with dynamic libraries.
4346
4347 Fri May  5 10:27:06 2000  Philippe De Muyter  <phdm@macqel.be>
4348
4349         * system.h (S_ISBLK): Provide fallback definition.
4350
4351 2000-05-05  Geoff Berry  <geoffb@bops.com>
4352
4353         * extend.texi (Extended Asm): Document inability to give asm
4354         statements access to condition codes.
4355
4356 2000-05-05  Marek Michalkiewicz  <marekm@linux.org.pl>
4357
4358         * varasm.c (asm_emit_uninitialised): Use 0, not NULL
4359         as arg 2 of UNIQUE_SECTION.
4360
4361 Fri May  5 10:11:41 2000  Jeffrey A Law  (law@cygnus.com)
4362
4363         * predict.c: Remove May 4 change.
4364         * bb-reorder.c (make_reorder_chain): Do not perform block movement
4365         if we have predicted the branch at 50-50 probability.
4366
4367 2000-05-05  Richard Henderson  <rth@cygnus.com>
4368
4369         * flow.c (init_propagate_block_info): Fix merge error
4370         in HAVE_conditional_execution code.
4371
4372 Fri May  5 07:43:50 2000  Denis Chertykov  <denisc@overta.ru>
4373
4374         * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
4375         shift cycle for unknown shift count. Also generates dec + brpl.
4376         (ashlqi3_out): Don't generate dec + brpl which now generates by
4377         `out_shift_with_cnt'.
4378         (ashlhi3_out): Likewise.
4379         (ashlsi3_out): Likewise.
4380         (ashrqi3_out): Likewise.
4381         (ashrhi3_out): Likewise.
4382         (ashrsi3_out): Likewise.
4383         (lshrqi3_out): Likewise.
4384         (lshrhi3_out): Likewise.
4385         (lshrsi3_out): Likewise.
4386
4387 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
4388
4389         * gcc.c (free_split_directories): Correct typo in explanation
4390         of make_relative_prefix.
4391
4392 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
4393
4394         * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
4395         comparison codes to branch_comparison_operator.
4396
4397 2000-05-04  Richard Henderson  <rth@cygnus.com>
4398
4399         * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
4400
4401 2000-05-04  Richard Henderson  <rth@cygnus.com>
4402
4403         * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
4404         (DPBIT_FUNCS): Remove _sf_to_usi.
4405         (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
4406
4407         * ifcvt.c (noce_process_if_block): Fail if A or B modified
4408         between condition and jump.
4409
4410         * libgcc2.c (near eh_context_specific): Comment #endif string.
4411         * longlong.h: Don't use strings with embedded newlines.
4412
4413 2000-05-04  Geoff Keating  <geoffk@cygnus.com>
4414
4415         * config/rs6000/rs6000-protos.h: Add output_cbranch.
4416         * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
4417         (print_operand): Delete %t and %T codes.
4418         (output_cbranch): New function.  Support branch prediction.
4419         * config/rs6000/rs6000.md: Use output_cbranch for
4420         conditional branches and returns.
4421
4422 2000-05-04  Jason Merrill  <jason@casey.cygnus.com>
4423
4424         * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
4425         * stor-layout.c (place_field): Likewise.
4426         * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
4427         * expr.c (store_expr): Make align unsigned.
4428         * explow.c (plus_constant_wide): Make low words unsigned.
4429         * expmed.c (choose_multiplier): Likewise.
4430         * fold-const.c (fold):  Likewise.
4431         * tree.h (build_int_2): Likewise.
4432         * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
4433         * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
4434         (init_emit): Change cast to unsigned char*.
4435         * varasm.c (compare_constant_1): Add cast to char*.
4436         * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
4437         * reload1.c (reload): Likewise.
4438
4439         * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
4440
4441 Thu May  4 14:37:23 2000  Jeffrey A Law  (law@cygnus.com)
4442
4443         * predict.c (estimate_probability): If no prediction was found, then
4444         predict the successor that is the next physical block (if such a
4445         successor exists).
4446
4447 2000-05-04  Richard Henderson  <rth@cygnus.com>
4448
4449         * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
4450
4451 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4452
4453         * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
4454
4455 2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>
4456
4457         * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
4458         attribute macros from here ...
4459         (CPP_SPEC): to here.
4460         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
4461         (CPP_SPEC): Likewise.
4462         * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
4463
4464         * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
4465         (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
4466
4467 2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4468
4469         * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
4470
4471         * diagnostic (vbuild_message_string, build_message_string,
4472         build_location_prefix, output_get_prefix, init_output_buffer,
4473         output_notice, vline_wrapper_message_with_location,
4474         v_message_with_decl, default_print_error_function): De-constify.
4475         (set_real_maximum_length): Prototype.
4476
4477         * diagnostic.h (struct output_buffer, init_output_buffer,
4478         output_get_prefix, output_set_prefix): De-constify.
4479
4480         * function.c (init_function_start): Constify.
4481
4482         * gensupport.c (remove_constraints, process_rtx): Prototype.
4483
4484         * gthr-posix.h: Indent uses of #pragma.
4485
4486         * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
4487         Prototype.
4488
4489         * predict.c (find_expected_value): Delete prototype.
4490         (expected_value_to_br_prob): Initialize variable `ev_reg'.
4491
4492         * sbitmap.h (debug_sbitmap): Prototype.
4493
4494         * ssa.c (compute_coalesced_reg_partition): Prototype.
4495
4496         * stor-layout.c (debug_rli): Prototype.
4497
4498         * tree.h (round_down): Prototype.
4499         (init_function_start): Constify.
4500
4501 2000-05-04  Zack Weinberg  <zack@wolery.cumb.org>
4502
4503         * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
4504         (overly conservative).  Change extern inline wrappers to
4505         static inline, define them always, use PARAMS properly.
4506         * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
4507         whitespace warnings for \f and \v at the beginning of a line.
4508
4509 Thu May  4 10:03:50 2000  Jeffrey A Law  (law@cygnus.com)
4510
4511         * haifa-sched.c (schedule_insns): Free the flow edge list when it
4512         is no longer needed
4513
4514 2000-05-04  Bruce Korb  <bkorb@gnu.org>
4515
4516         * fixincl/inclhack.def: added broken_cabs -
4517         Remove `extern double cabs' declarations from math.h
4518         * fixincl/inclhack.sh: regen
4519         * fixincl/fixincl.x: regen
4520         * fixincl/fixincl.c: Remove BOGOSITY code
4521         * fixincl/mkfixinc.sh: Remove code for installing "shell" version
4522
4523 Thu May  4 09:45:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4524
4525         * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
4526         MEM_ALIAS_SET.
4527         * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
4528         when calling MEM_COPY_ATTRIBUTES.
4529         * emit-rtl.c (operand_subword, change_address): Likewise.
4530         * explow.c (stabilize): Likewise.
4531         * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
4532         * integrate.c (copy_rtx_and_substitute): Likewise.
4533         * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
4534         when calling MEM_COPY_ATTRIBUTES.
4535         (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
4536         Likewise.
4537         * cse.c (gen_lowpart_if_possible): Likewise.
4538         * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
4539         * optabs.c (gen_move_insn): Likewise.
4540         * recog.c (validate_replace_rtx_1): Likewise.
4541         * simplify-rtx.c (add_mem_for_addr): Likewise.
4542         * stmt.c (expand_anon_union_decl): Likewise.
4543         * config/arm/arm.md: Likewise.
4544         * config/h8300/h7300.c (fix_bit_operand): Likewise.
4545         * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
4546         (block_move_no_loop, block_move_sequence): Likewise.
4547         * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
4548         * config/alpha/alpha.c (get_aligned_mem): Likewise.
4549         Clear MEM_ALIAS_SET.
4550         * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
4551         MEM_COPY_ATTRIBUTES.
4552
4553 2000-05-03  Robert Lipe <robertlipe@usa.net>
4554
4555         * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
4556         to suppress libgcc1.
4557         (i[34567]86-*-sco3.2v5*) Likewise.
4558         (i[34567]86-*-sco3.2v4*) Likewise.
4559         (i[34567]86-*-sco) Likewise.
4560         (i[34567]86-*-solaris2) Likewise.
4561         (i[34567]86-*-sysv5*) Likewise.
4562         (i[34567]86-*-sysv4*) Likewise.
4563         (i[34567]86-*-udk*) Likewise.
4564         (i[34567]86-*-sysv*) Likewise.
4565
4566 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
4567
4568         * cpphash.h (U): New define, to correct type of string constants.
4569         (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
4570         routines, to do casts when passing unsigned strings to libc.
4571         * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
4572
4573         * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
4574         * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
4575         * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
4576         * cpplex.c (parse_ifdef, parse_include, validate_else): Make
4577         second argument an U_CHAR *.
4578
4579         * cppinit.c (builtin_array): Make name and value U_CHAR *, add
4580         length field, clean up initializer.
4581         (ISTABLE): Add __extension__ to designated-
4582         initializers version.
4583         * cpplex.c (CHARTAB): Likewise.
4584
4585         * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
4586         case so the file won't be empty.
4587
4588 Wed May  3 21:01:46 2000  Jason Eckhardt  <jle@cygnus.com>
4589
4590         * bb-reorder.c (struct reorder_block_def): Member succ removed.
4591         (REORDER_BLOCK_SUCC): Removed.
4592         (enum reorder_skip_type): Removed.
4593         (skip_insns_between_block): Renamed to skip_insns_after_block.
4594         Removed second argument. Removed dead code and cleaned up.
4595         (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
4596         (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
4597         second parameter to skip_insns_after_block.
4598
4599 Wed May  3 13:29:54 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4600
4601         * tree.c (staticp, case LABEL_DECL): New case.
4602
4603 2000-05-03  Richard Henderson  <rth@cygnus.com>
4604
4605         * Makefile.in (start.encap): Do not depend on LIBGCC1.
4606
4607         * mklibgcc1.in: Fix typo last change.
4608
4609 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
4610
4611         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
4612         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
4613         (GCC_CFLAGS): Use it.
4614         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
4615         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
4616         objc/Make-lang.in: Use it.
4617
4618 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
4619
4620         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
4621
4622 2000-05-03  Richard Henderson  <rth@cygnus.com>
4623
4624         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
4625         LIBGCC1 empty with libgcc1.null.
4626
4627 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
4628
4629         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
4630         change.
4631
4632 2000-05-03  Greg McGary  <gkm@gnu.org>
4633
4634         * tree.h (tree_common): Add bounded_flag member.  Remove
4635         inaccurate comment about number of remaining bits.
4636         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
4637         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
4638         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
4639         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
4640         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
4641         (TYPE_QUAL_BOUNDED): New constant.
4642         (TYPE_QUALS): Handle bounded qualifier.
4643         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
4644         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
4645         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
4646         TYPE_AMBIENT_BOUNDEDNESS): New macros.
4647         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
4648         (tree_type): Add pointer_depth member.  Remove
4649         inaccurate comment about number of remaining bits.
4650         (DECL_POINTER_DEPTH): Add macro.
4651         (tree_decl): Add pointer_depth member.
4652
4653 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
4654
4655         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
4656         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
4657         (lshrhi3_out): Likewise.
4658         (ashrsi3_out): bugfix in shift by 8.
4659         (test_hard_reg_class): New function.
4660         * config/avr/avr.md: Bugfix inside conditions in peepholes.
4661         (ashlhi3): removed define_expand of this pattern.
4662         (*ashlhi3_insn): renamed to ashlhi3.
4663         (ashlsi3): removed define_expand of this pattern.
4664         (*ashlsi3_insn): renamed to ashlsi3.
4665         (ashrqi3): removed define_expand of this pattern.
4666         (*ashrqi3_insn): renamed to ashrqi3.
4667         (ashrhi3): removed define_expand of this pattern.
4668         (*ashrhi3_insn): renamed to ashrhi3.
4669         (ashrsi3): removed define_expand of this pattern.
4670         (*ashrsi3_insn): renamed to ashrsi3.
4671         (lshrhi3): removed define_expand of this pattern.
4672         (*lshrhi3_insn): renamed to lshrhi3.
4673         (lshrsi3): removed define_expand of this pattern.
4674         (*lshrsi3_insn): renamed to lshrsi3.
4675
4676 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
4677
4678         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
4679         inclusion of "system.h".
4680
4681 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
4682
4683         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
4684         TREE_ASM_WRITTEN.
4685
4686 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
4687
4688         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
4689         if -mauto-pic is on.
4690         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
4691         -mconstant-gp is in effect and function-descriptors are being used
4692         to make indirect calls.
4693         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
4694         (MASK_AUTO_PIC): Ditto.
4695         (TARGET_CONST_GP): Ditto.
4696         (TARGET_AUTO_PIC): Ditto.
4697         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
4698         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
4699         -mno-pic is in effect.
4700         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
4701         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
4702         -mauto-pic is in effect.
4703         (gprel64_offset): New pattern.
4704         (load_gprel64): Ditto.
4705         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
4706         -mconstant-gp is in effect, no need to preserve gp around direct
4707         calls.
4708         (call_value): Ditto.
4709         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
4710         (FUNCTION_PROFILER): Define.
4711         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
4712         @fptr() directive when -mno-pic or -mauto-pic is in effect.
4713         (ASM_OUTPUT_DESTRUCTOR): Ditto.
4714
4715 2000-05-03  Richard Henderson  <rth@cygnus.com>
4716
4717         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
4718         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
4719         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
4720         (mklibgcc, libgcc.mk): New targets.
4721         (libgcc.a): Use libgcc.mk.
4722         (stmp-multilib): Likewise.
4723         (stmp-multilib-sub): Remove.
4724         (mostlyclean): Don't delete libgcc2 temp files.
4725         * configure.in (AC_PROG_CC_C_O): Add.
4726         (NO_MINUS_C_MINUS_O): Substitute it.
4727         (all_outputs): Add mklibgcc.
4728         * mklibgcc.in: New file.
4729
4730 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
4731
4732         * cppexp.c (op_t): Make an int.
4733
4734         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
4735
4736         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
4737
4738         * gensupport.c (process_rtx): Fix macros used.
4739
4740 2000-05-03  Richard Henderson  <rth@cygnus.com>
4741
4742         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
4743         call-clobbered registers of a call.
4744
4745 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
4746
4747         * gensupport.c: New file.
4748         * gensupport.h: New file.
4749         * Makefile.in (HOST_RTL): Depend on gensupport.
4750         (gensupport.o) New rule.
4751         * genattr.c: Use gensupport for reading .md files.
4752         * genattrtab.c: Ditto.
4753         * gencodes.c: Ditto.
4754         * genconfig.c: Ditto.
4755         * genemit.c: Ditto.
4756         * genextract.c: Ditto.
4757         * genflags.c: Ditto.
4758         * genopinit.c: Ditto.
4759         * genoutput.c: Ditto.
4760         * genpeep.c: Ditto.
4761         * genrecog.c: Ditto.
4762         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
4763         * md.texi (Insn Splitting): Document define_insn_and_split.
4764
4765 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
4766
4767         * flow.c (verify_flow_info): Added two more sanity checks. The
4768         first checks that the blocks are numbered consecutively. The second
4769         checks that n_basic_blocks is actually equal to the number of
4770         basic blocks in the insn chain.
4771
4772 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
4773
4774         * cpplib.h: Add accessor macros for token lists.
4775         * cpplib.c, cpphash.c, cpplex.c: Use them.
4776
4777 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4778
4779         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
4780         memory usage if not in a function.
4781         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
4782         return address if static.
4783
4784 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4785
4786         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
4787         whether address may trap.
4788
4789 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
4790
4791         * bb-reorder (chain_reorder_blocks): Changed code to test for
4792         EDGE_FALLTHRU rather than making erroneous assumption that the
4793         first outgoing edge is the fall-through edge.
4794
4795 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
4796
4797         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
4798         ABI for varargs, across all MIPS. This is incompatible because the
4799         va_list (__builtin_va_list) structure is different, so a compilation
4800         unit passing a va_list and a compilation unit being passed one, should
4801         both be compiled with the same ABI. (The old structure had two
4802         pointers, now it has three.)
4803
4804 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
4805
4806         * bb-reorder.c (struct reorder_block_def): Remove members end,
4807         block_begin, and block_end.
4808         (REORDER_BLOCK_OLD_END): Delete.
4809         (REORDER_BLOCK_BEGIN): Delete.
4810         (REORDER_BLOCK_END): Delete.
4811         (chain_reorder_blocks): Remove dead code.
4812
4813 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
4814
4815         * bb-reorder.c (remove_scope_notes): Check for both types of scope
4816         notes as the end of a basic block before deleting.
4817
4818 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
4819
4820         * final.c (final_start_function): Fix spelling of "necessary".
4821
4822 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
4823
4824         * toplev.c (debug_ignore_block): Return int.
4825         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
4826         * toplev.h, dwarf2out.h: Adjust.
4827         * emit-rtl.c (remove_unnecessary_notes): Test return value.
4828
4829         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
4830         * toplev.c, final.c, rtl.h: Adjust.
4831
4832 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
4833
4834         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
4835         * configure.in: Look for makeinfo in the unified tree, then
4836         for a system makeinfo which is sufficiently new.
4837         * Makefile.in: If configure says makeinfo is too old, don't
4838         build or install Info documentation.
4839
4840 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
4841
4842         * cpphash.c (collect_params): Fix off-by-one error.
4843         (dump_hash_helper): Dump all four macro nodetypes.
4844
4845 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
4846
4847         * cpphash.c (trad_stringify): Adjust p after stringification as
4848         well.
4849
4850 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
4851
4852         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
4853         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
4854
4855         * cppfiles.c (file_cleanup): Delete.
4856         * cpphash.c (macro_cleanup): Delete.
4857         (collect_objlike_expansion, collect_funlike_expansion,
4858         macarg, scan_arguments): Remove CPP_POP case.
4859
4860         * cpplex.c (null_cleanup): Delete.
4861         (cpp_pop_buffer): Do the work that was done in the cleanups
4862         here.  Call _cpp_unwind_if_stack from here.
4863         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
4864         cpp_scan_buffer): Run until we see CPP_EOF and the top of
4865         stack is the buffer _below_ the one we stacked.
4866         (cpp_get_token): Always pop an exhausted buffer.  Return
4867         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
4868         * cpplib.c (skip_if_group): Don't call cpp_get_token to
4869         increment the line number.
4870         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
4871
4872         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
4873         we see CPP_EOF and the top of stack is the buffer _below_ the
4874         one we stacked.
4875         * scan-decls.c: Likewise.
4876
4877 2000-05-02  Andrew Haley  <aph@cygnus.com>
4878
4879         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
4880         where this function is called for the second time on a decl that
4881         has had its section info changed in such a way as to move it out
4882         of small data/bss.
4883         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
4884
4885 2000-05-01  Richard Henderson  <rth@cygnus.com>
4886
4887         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
4888         the sequence we're moving, not to merge_bb->head.
4889
4890 2000-05-01  Richard Henderson  <rth@cygnus.com>
4891
4892         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
4893         reference to alpha/t-linux.
4894         (alpha*-*-linux-gnu*): Likewise.
4895         * configure: Rebuild.
4896
4897         * calls.c (expand_call): Don't emit reg notes for a sibcall.
4898
4899         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
4900         if not in SSA form.
4901
4902         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
4903
4904 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
4905
4906         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
4907         TREE_THIS_VOLATILE.
4908
4909 2000-05-01  Richard Henderson  <rth@cygnus.com>
4910
4911         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
4912         emit_conditional_move.
4913
4914 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
4915
4916         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
4917         as the dynamic linker.
4918
4919 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
4920
4921         * cppfiles.c (open_include_file): Open file in blocking mode.
4922         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
4923         Only exclude block devices and directories.
4924
4925         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
4926         static.  Allocate the hashnode and its string in the same
4927         block of memory.
4928         (del_HASHNODE): Don't free h->name.
4929         (_cpp_lookup): If there is no entry for this string, create
4930         one, of type T_VOID.
4931         (_cpp_lookup_slot): Delete.
4932         * cpphash.h: Update prototypes.
4933
4934         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
4935         not hp == NULL.
4936         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
4937         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
4938         node here, just fill in the value field properly.  "Delete"
4939         entries by setting the value field to T_VOID.  Check for
4940         hp->type == T_VOID, not hp == NULL.
4941
4942         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
4943         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
4944         hashtab.h.
4945
4946 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
4947
4948         * config/mn10300/mn10300.c (print_operand_address): Do not add
4949         zero to SP.
4950
4951         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
4952         adjusted by less than 256 bytes, use ret regardless of having any
4953         callee-saved register to restore.
4954
4955 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
4956
4957         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
4958
4959 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
4960
4961         * config/i386/djgpp.h (INT_ASM_OP): Define.
4962         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
4963         (ASM_WEAKEN_LABEL): Define.
4964         (MASK_BNU210): Define.
4965         (SUBTARGET_SWITCHES): Define.
4966         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
4967         (MAKE_DECL_ONE_ONLY): Define.
4968         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
4969
4970 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
4971
4972         * i386/cygwin.h (INT_ASM_OP): Define.
4973
4974 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
4975
4976         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
4977         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
4978
4979 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
4980
4981         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
4982         __tmp_reg__ and __zero_reg__ initialization.
4983
4984 2000-04-30  Richard Henderson  <rth@cygnus.com>
4985
4986         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
4987
4988         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
4989         referenced bewteen the condition and the jump.  Don't delete
4990         anything but the jump.
4991
4992 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
4993
4994         * bb-reorder.c (scope_def): New struct.
4995         (scope_forest_info): New struct.
4996         (struct reorder_block_def): New member "scope".
4997         (REORDER_BLOCK_SCOPE): New macro.
4998         (relate_bbs_with_scopes): New function and prototype.
4999         (make_new_scope): Likewise.
5000         (build_scope_forest): Likewise.
5001         (remove_scope_notes): Likewise.
5002         (insert_intra_1): Likewise.
5003         (insert_intra_bb_scope_notes): Likewise.
5004         (insert_inter_bb_scope_notes): Likewise.
5005         (rebuild_scope_notes): Likewise.
5006         (free_scope_forest_1): Likewise.
5007         (free_scope_forest): Likewise.
5008         (dump_scope_forest): Likewise.
5009         (dump_scope_forest_1): Likewise.
5010         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
5011         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
5012         block.
5013         (reorder_basic_blocks): Added calls to build_scope_scope_forest
5014         and remove_scope_notes before reordering is done. Added calls to
5015         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
5016         after reordering is done.
5017
5018 2000-40-30  Bruce Korb  <bkorb@gnu.org>
5019
5020         * fixinc/inclhack.def:  Added definitions needed by OSR5,
5021         removed two stale entries (defined away with OLD_CPP).
5022         * fixinc/inclhack.sh: regen
5023         * fixinc/fixincl.x: regen
5024
5025 2000-04-30  Richard Henderson  <rth@cygnus.com>
5026
5027         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
5028         from the last insn in the sequence.
5029
5030 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
5031
5032         * cpplex.c (cpp_idcmp): New function.
5033         * cpplib.h: Prototype it.
5034         * scan_decls.c (scan_decls): Use it to inspect token names.
5035         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
5036         the file being run through the preprocessor.
5037         (check_macro_names): Provide length of token to cpp_defined.
5038
5039         * Makefile.in: Remove stale warning message.
5040
5041         * cppfiles.c (redundant_include_p): Provide length of token to
5042         cpp_defined.
5043         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
5044         values are unsigned int.
5045         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
5046         (_cpp_lookup_slot): Do not calculate the hash, either.
5047         * cpphash.h: Update prototypes.
5048         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
5049         Hashes are unsigned int.  Calculate hash here, pass by value
5050         to _cpp_lookup_slot.
5051
5052 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
5053
5054         * simplify-rtx.c (check_value_useless): Delete function.
5055         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
5056         by hand.
5057         (cselib_invalidate_regno): Likewise.
5058         (cselib_invalidate_mem_1): Likewise.
5059         (references_value_p): Recognize useless values by the fact that they
5060         have no locations.
5061         (discard_useless_values): Likewise.
5062         (cselib_record_set): This may turn a useless value
5063         into a useful one.
5064
5065 2000-04-30  Richard Henderson  <rth@cygnus.com>
5066
5067         * config/d30v: New port.
5068
5069         * configure.in (d30v-*): Set fp format.
5070         * configure: Rebuild.
5071
5072 2000-04-30  Richard Henderson  <rth@cygnus.com>
5073
5074         * ifcvt.c: New file.
5075         * Makefile.in (OBJS): Add it.
5076         (ifcvt.o): New target.
5077         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
5078         and conditional arithmetic.
5079         (find_insert_position): Remove.
5080         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
5081         * toplev.c (DFI_ce, DFI_ce2): New.
5082         (dump_file): Add ce and ce2 dumps.
5083         (rest_of_compilation): Run if_convert a couple o times.  Set
5084         cse_not_expected after cse2.  Don't set no_new_pseudos until
5085         after sched1 or recompute_reg_usage.
5086
5087 2000-04-30  Richard Henderson  <rth@cygnus.com>
5088
5089         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
5090         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
5091
5092 2000-04-30  Richard Henderson  <rth@cygnus.com>
5093
5094         * flow.c (struct reg_cond_life_info): New.
5095         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
5096         (init_propagate_block_info): Initialize them.
5097         (free_propagate_block_info): Destruct them.
5098         (mark_set_1): Consider conditional life before killing a register.
5099         (mark_regno_cond_dead): New.
5100         (free_reg_cond_life_info): New.
5101         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
5102         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
5103         (mark_used_reg): Record conditional life.
5104
5105         * haifa-sched.c (schedule_insns): Disable death counting
5106         sanity check for HAVE_conditional_execution.
5107
5108 2000-04-30  Richard Henderson  <rth@cygnus.com>
5109
5110         * Makefile.in (TIMEVAR_H): New.
5111         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
5112         (timevar.h): Remove rule.
5113
5114 2000-04-29  Richard Henderson  <rth@cygnus.com>
5115
5116         * config/alpha/crtend.asm: Use C comments instead of #.
5117         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
5118
5119         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
5120
5121 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
5122
5123         * cpphash.h (enum node_type: Take out T_MCONST.
5124         (union hashval): Move into struct hashnode.
5125         (struct hashnode): Pack tighter.  Remove file, line, col
5126         members.
5127         * cpphash.c: Constify most of the macro-definition structures.
5128         (struct definition): Replace by struct object_defn
5129         and struct funct_defn.  Put file, line, column information
5130         here.  All users updated to match.
5131         (_cpp_create_definition, _cpp_macroexpand): Remove special
5132         case for #define WORD OTHERWORD.
5133         * cpplib.c (do_undef): Remove T_MCONST case.
5134
5135         * cpphash.h: Move struct reflist, struct definition, and the
5136         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
5137         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
5138         * cpphash.c (_cpp_free_definition): Free data pointed to by
5139         MCONST, XCONST, MACRO, and FMACRO nodes properly.
5140         (_cpp_create_definition, del_HASHNODE): Just call
5141         _cpp_free_definition to clear out a hashnode.
5142         * cpplib.c (do_pragma_poison): Likewise.
5143
5144 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
5145
5146         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
5147         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
5148         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
5149         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
5150         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
5151         REGNO_AM33_P): Redefine in terms of the new macros.
5152         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
5153         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
5154         STRUCT_VALUE): Likewise.
5155         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
5156         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
5157
5158 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5159
5160         * regmove.c (struct record_stack_memrefs_data): New.
5161         (record_stack_memrefs): New function.
5162         (combine_stack_adjustments_for_block): Use it.
5163
5164 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5165
5166         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
5167         use special_function_p to detect alloca.
5168
5169 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
5170
5171         * gcc.texi: Fixes for makeinfo 4.0 --html.
5172
5173 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
5174
5175         * pcp.h: Delete file.
5176
5177 2000-04-28  Kazu Hirata  <kazu@hxi.com>
5178
5179         * h8300.c (function_epilogue): Clean up flags when the last insn
5180         in a function is a barrier.
5181
5182 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
5183
5184         * configure.in (sparc-hal-solaris2*): protect [] glob from
5185         my expansion.
5186         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
5187         rather than hard-coded constants in target_cpu_default2.
5188         * configure: Regenerate.
5189
5190 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
5191
5192         * tree.c (get_callee_fndecl): Extract the initial value from
5193         a readonly decl.
5194
5195 2000-04-28  Richard Henderson  <rth@cygnus.com>
5196
5197         * varasm.c (record_constant_1): Record the CODE_LABEL when
5198         taking the address of a LABEL_REF.
5199
5200 2000-04-28  Richard Henderson  <rth@cygnus.com>
5201             Jan Hubicka  <jh@suse.cz>
5202
5203         * calls.c (combine_pending_stack_adjustment_and_call): Return the
5204         adjustment; don't do the stack adjust.
5205         (expand_call): Call compute_argument_block_size right before
5206         allocating the block; update comment; don't do alignment sanity
5207         checking for sibling call; use args_size instead of
5208         unadjusted_args_size before args_size is adjusted.  Use
5209         combine_pending_stack_adjustment_and_call to compute stack adjust
5210         for must_preallocate case.
5211
5212         * expr.c (push_block): Remove shadow `temp' in inner scope.
5213
5214 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
5215
5216         * toplev.c (rest_of_compilation): Call
5217         note_deferral_of_defined_inline_function even if the function
5218         can't be inlined.
5219
5220 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
5221
5222         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
5223
5224 2000-04-28  Richard Henderson  <rth@cygnus.com>
5225
5226         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
5227
5228 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5229
5230         * timevar.c (init_timevar): DeANSIfy function definition.
5231
5232 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
5233
5234         * Makefile.in (timevar.o): Depend on flags.h.
5235         * timevar.c (unused_stack_instances): New variable.
5236         (timevar_push): Take a timevar_stack_def from
5237         unused_stack_instances if available.
5238         (timevar_pop): Push the popped timevar_stack_def onto
5239         unused_stack_instances.
5240         (TIMEVAR_ENABLE): New macro.
5241         (timevar_def): Make standalone a 1-bit field.  Add field used.
5242         (get_time): Rename parameter to now.  Return after clearing it if
5243         not TIMEVAR_ENABLE.
5244         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
5245         (timevar_pop): Likewise.
5246         (timevar_stop): Likewise.
5247         (timevar_push): Likewise.  Mark the timing variable as used.
5248         (timevar_start): Likewise.
5249         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
5250         timevars that were never used.
5251
5252 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
5253
5254         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
5255         always TREE_READONLY.
5256
5257 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
5258
5259         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
5260         for call instruction with mode QImode.
5261
5262 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
5263
5264         * Makefile.in (OBJS): Add timevar.o.
5265         (toplev.o): Depend on timevar.h.
5266         (ggc-simple.o): Likewise.
5267         (ggc-page.o): Likewise.
5268         (timevar.o): New rule.
5269         (timevar.h): New rule.
5270
5271         * timevar.h: New file.
5272         * timevar.c: Likewise.
5273         * timevar.def: Likewise.
5274
5275         * toplev.h (gc_time, parse_time, varconst_time): Remove.
5276         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
5277         throughout.
5278         (TIMEVAR): Remove macro.
5279         (gc_time, parse_time, varconst_time, integration_time, jump_time,
5280         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
5281         flow_time, combine_time, regmove_time, sched_time,
5282         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
5283         sched2_time, dbr_sched_time, reorder_blocks_time,
5284         rename_registers_time, shorten_branch_time, stack_reg_time,
5285         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
5286         all_time): Remove.
5287         (compile_file): Don't initialize time variables.  Call
5288         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
5289         of many calls to print_time.
5290         (rest_of_compilation): Add timing for reload_cse_regs.
5291         (get_run_time): Removed to timevar.c.
5292         (print_time): Likewise.
5293         (get_run_time): Implement using TV_TOTAL time variable.
5294         (print_time): Get total run time from get_run_time.
5295         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
5296         computing elapsed time explicitly.
5297         * ggc-simple.c (ggc_collect): Likewise.
5298         (gc_time): Remove declaration.
5299
5300 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
5301
5302         * calls.c (combine_pending_stack_adjustment_and_call): New function.
5303         (expand_call): Use it.
5304
5305 2000-04-27  Jan Hubicka  <jh@suse.cz>
5306
5307         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
5308         fields.
5309
5310 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
5311
5312         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
5313         registers.
5314
5315 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5316
5317         * function.c (epilogue_done): Pass whole insn to record_insns.
5318
5319 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5320
5321         * cse.c (CSE_ADDRESS_COST): Remove.
5322         (find_best_addr): Add new parameter "MODE", use address_cost instead
5323         of CSE_ADDRESS_COST
5324         (address_cost): New.
5325         (fold_rtx): Update call of find_best_addr.
5326         * rtl.h (address_cost): Declare.
5327         * loop.c (general_induction_var): Add new parameter "MODE", use
5328         address_cost instead of ADDRESS_COST
5329         (init_loop): Use address_cost instead of ADDRESS_COST.
5330         (check_insn_for_givs): Update call of general_induction_var.
5331         (find_mem_givs): Likewise.
5332         (consec_sets_giv): Likewise.
5333         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
5334         * i386.c (ix86_address_cost): New.
5335         * i386-protos.h (ix86_address_cost): Declare.
5336
5337 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
5338
5339         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
5340         registers.
5341
5342 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5343
5344         * expr.c (store_expr): Use clear_storage instead of direct memset
5345         libcall.
5346
5347 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
5348
5349         * config/mn10300/mn10300.c (mn10300_address_cost): Test
5350         ASHIFT, AND and LABEL_REF.
5351
5352 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5353
5354         * invoke.texi (-foptimize-sibling-calls): Fix.
5355
5356 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5357
5358         * loop.c (load_mems)  Don't use hard registers for the hoisting.
5359
5360         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
5361         calculation; rename const_equiv array in the preconditioning code
5362         from loop_unroll to loop_unroll_precondition
5363
5364 2000-04-27  Richard Henderson  <rth@cygnus.com>
5365
5366         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
5367         add new_set.
5368         (propagate_one_insn): Clear it.  Don't update reg_live here.
5369         (init_propagate_block_info): Update for pbi member changes.
5370         (free_propagate_block_info): Likewise.
5371         (mark_set_1): Know that zero_extract, sign_extract, and
5372         strict_low_part don't kill their argument.  Alter hard subregs.
5373         Update new_set for non-CLOBBER sets.  Update reg_live.
5374         (find_auto_inc): Update reg_live, not new_dead.
5375         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
5376         to determine if the reg in question was set this insn.  Only update
5377         reg info with PROP_REG_INFO.
5378
5379 2000-04-26  Richard Henderson  <rth@cygnus.com>
5380
5381         * flow.c (allocate_reg_life_data): Set max_regno here ...
5382         (life_analysis): ... not here.
5383
5384         * flow.c (calculate_global_regs_live): Force stack pointer
5385         live at end.
5386
5387 2000-04-26  Richard Henderson  <rth@cygnus.com>
5388
5389         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
5390         commit change group changes.
5391         (invert_exp_1): Similarly.
5392         (redirect_exp, invert_exp): Use them.
5393         (redirect_jump_1): New.
5394         (invert_jump_1): New.
5395         (jump_optimize_1): Remove code subsumed by condexec.c.
5396         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
5397
5398 2000-04-26  Richard Henderson  <rth@cygnus.com>
5399
5400         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
5401
5402         * genconfig.c (main): Set all HAVE_foo to 1.
5403
5404         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
5405
5406 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
5407
5408         * invoke.texi: Document -fssa flag.
5409
5410 2000-04-26  Richard Henderson  <rth@cygnus.com>
5411
5412         * flow.c (count_reg_sets_1): Remove.
5413         (count_reg_sets, count_reg_references): Remove.
5414         (recompute_reg_usage): Implement with update_life_info.
5415         Reallocate life data.
5416
5417 2000-04-26  Richard Henderson  <rth@cygnus.com>
5418
5419         * flow.c (update_life_info): Consider blocks null to mean the
5420         universal set.
5421         (calculate_global_regs_live): Likewise.
5422         (life_analysis): Do that instead of collecting all_blocks.
5423
5424 2000-04-26  Richard Henderson  <rth@cygnus.com>
5425
5426         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
5427         a still-valid conditional jump.
5428
5429 2000-04-26  Richard Henderson  <rth@cygnus.com>
5430
5431         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
5432
5433         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
5434         * flow.c (calculate_loop_depth): Remove.
5435         * output.h (calculate_loop_depth): Don't declare.
5436         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
5437         inline; run estimate_probability at the same time.
5438
5439 2000-04-26  Neil Booth  <NeilB@earthling.net>
5440
5441         * cpplib.h: "~=" is not a single pp-token.
5442         * cpplex.c: Correct commentary.
5443
5444 2000-04-26  Richard Henderson  <rth@cygnus.com>
5445
5446         * flow.c (mark_set_1): New arguments code and flags; update all
5447         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
5448         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
5449         loop_depth when optimizing for size.  Do new_dead update after
5450         emitting REG_UNUSED notes.  Merge mark_set_reg code.
5451         (mark_set_reg): Remove.
5452         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
5453         arrange to not emit REG_UNUSED notes.
5454
5455 2000-04-26  Richard Henderson  <rth@cygnus.com>
5456
5457         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
5458         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
5459
5460 2000-04-26  Richard Henderson  <rth@cygnus.com>
5461
5462         * flow.c (propagate_one_insn): Break out from propagate_block.
5463         (init_propagate_block_info): Likewise.
5464         (free_propagate_block_info): Likewise.
5465         (propagate_block): Use them.  Export.
5466         * basic-block.h: Declare them all.
5467
5468 2000-04-26  Richard Henderson  <rth@cygnus.com>
5469
5470         * basic-block.h (life_analysis): Declare here ...
5471         * output.h: ... not here.
5472         * flow.c (life_analysis): Remove nregs parameter; replace
5473         remove_dead_code with flags.  Remove ssa dead code check.
5474         Only init alias analysis if we'll use it.
5475         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
5476         * ssa.c (convert_to_ssa): Likewise.
5477         (convert_from_ssa): Likewise.
5478         * toplev.c (rest_of_compilation): Likewise.
5479
5480 2000-04-26  Richard Henderson  <rth@cygnus.com>
5481
5482         * flow.c (flow_delete_block): Rename from delete_block.  Export.
5483         * basic-block.h (flow_delete_block): Declare.
5484
5485 2000-04-26  David S. Miller  <davem@redhat.com>
5486
5487         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
5488         taking a PATTERN of it.
5489
5490 2000-04-26  <NeilB@earthling.net>
5491
5492         * cpplex.c (spell_other, spell_char): Remove.
5493         (SPELL_CHAR): New.
5494         (token_spelling, trigraph_map): Use unsigned chars.
5495         (_cpp_lex_line): Tidy up the switch statement.
5496         * cpplib.h: Implement spell_char with spell_string.
5497         (C): New.
5498
5499 2000-04-26  <RodneyBrown@pmsc.com>
5500
5501         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
5502         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
5503
5504 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5505
5506         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
5507         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
5508         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
5509         dwarf2out_return_save, dwarf2out_return_reg,
5510         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
5511         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
5512         gen_compile_unit_die, dwarf2out_init): Constify a char*.
5513
5514         * dwarf2out.h (dwarf2out_init): Likewise.
5515
5516         * dwarfout.c (filename_entry, primary_filename, last_filename,
5517         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
5518
5519         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
5520         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
5521         dwarf2out_return_reg): Likewise.
5522
5523 2000-04-26  Andreas Jaeger  <aj@suse.de>
5524
5525         * extend.texi (Function Attributes): Fix description of pure
5526         attribute.
5527
5528 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
5529
5530         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
5531         before calling rest_of_compilation.
5532
5533 2000-04-26  Andreas Jaeger  <aj@suse.de>
5534
5535         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
5536         last patch.
5537
5538 2000-04-25  Richard Henderson  <rth@cygnus.com>
5539
5540         * cse.c (cse_insn): Emit barrier after unconditional jump.
5541
5542         * calls.c (expand_call): Disable tail call generation once
5543         rtx_equal_function_value_matters is false.
5544
5545         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
5546         like EDGE_EH edges.
5547
5548 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
5549
5550         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
5551
5552         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
5553
5554         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
5555         is the primary DIE for a member function.
5556         (gen_decl_die): Call set_decl_origin_self here.
5557         * dwarfout.c (output_decl): And here.
5558         * integrate.c (output_inline_function): Not here.
5559         Don't clear DECL_INLINE until after calling rest_of_compilation.
5560         (set_decl_origin_self): No longer static.
5561         * tree.h: Add prototype.
5562         * toplev.c (note_deferral_of_defined_inline_function): Only write
5563         out abstract instance for actual inlines.
5564
5565 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
5566
5567         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
5568         EXTENDED_REGS only if TARGET_AM33.
5569         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
5570         SP_REGS to register allocation and reloading unless absolutely
5571         necessary.
5572         (movsi3): Remove special-case of adding non-constants to SP.
5573
5574 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5575
5576         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
5577         INCLUDES to search and does not provide any of its own.  Also it
5578         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
5579         parameters.  Also it does not call AC_DEFINE.
5580         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
5581         AC_DEFINE and provides for automatic entries for autoheader.
5582         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
5583
5584         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
5585         so we can pass -I flags and include gansidecl.h/system.h in this
5586         test.
5587
5588         * acconfig.h: Delete all NEED_DECLARATION_* entries.
5589
5590 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5591
5592         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
5593         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
5594         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
5595
5596         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
5597         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
5598         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
5599         for these macros.  Clean up spacing and linewraps.
5600
5601 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
5602
5603         * calls.c (expand_call): Use get_callee_fndecl.
5604
5605         * print-tree.c (print_node): Print the chain of an _EXPR.
5606
5607 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
5608                           Jim Wilson  <wilson@cygnus.com>
5609                           Andrew Haley  <aph@cygnus.com>
5610
5611         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
5612         and gp save/restore problems.
5613         * config/ia64/crtend.asm: Add IA-64 unwind support.
5614         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
5615         in fr_pad_size calculation.
5616         (save_restore_insns): Move PR save area.  Correct uses of
5617         RTX_FRAME_RELATED_P.
5618         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
5619         (ia64_expand_epilogue): Add eh_epilogue support.
5620         (ia64_function_prologue): Emit .prologue directive.
5621         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
5622         (ia64_override_options): Set init_machine_status and
5623         mark_machine_status.
5624         (rtx_needs_barrier): Handle bsp reads and writes.
5625         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
5626         New static variables.
5627         (process_set, process_for_unwind_directive): New functions.
5628         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
5629         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
5630         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
5631         macros.
5632         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
5633         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
5634         (struct machine_function): Define.
5635         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
5636
5637 2000-04-25  Bruce Korb  <bkorb@gnu.org>
5638
5639         * fixinc/Makefile.in: make the removal of old programs more
5640         robust
5641         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
5642         install-bin and install-sh
5643
5644 2000-04-25  Nick Clifton  <nickc@cygnus.com>
5645
5646         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
5647         defined, define to return zero.
5648         (function_cannot_inline_p): If a function has any target
5649         specific attributes, then use the macro
5650         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
5651         whether it can be inlined.  If it cannot, issue a suitable
5652         explanation.
5653
5654         * tm.texi: Add a new node 'Inlining' to document the new macro
5655         FUNCTION_ATTRIBUTE_INLINABLE_P.
5656
5657 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
5658
5659         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
5660         commentary.
5661
5662 2000-04-25  Neil Booth  <NeilB@earthling.net>
5663
5664         Restore previous patch, plus the following fixes:
5665
5666         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
5667         flags, not CPP_OPEN_PAREN.
5668         * cpplex.c (expand_token_space, init_token_list,
5669         cpp_free_token_list): Put the dummy token at list->tokens[-1].
5670         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
5671
5672 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5673
5674         * config/i386/freebsd.h (INT_ASM_OP): Define.
5675
5676 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5677
5678         * loop.c (strength_reduce): Fix typo in the last checkin.
5679
5680 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5681
5682         * stor-layout.c (finalize_record_size): Simplify to use existing
5683         functions.
5684         (compute_record_mode): No longer static.
5685         * tree.h (compute_record_mode): New declaration.
5686
5687 2000-04-25  Neil Booth  <NeilB@earthling.net>
5688
5689         * Revert my patch below until cause of build failures
5690         determined.
5691
5692 2000-04-25  Richard Henderson  <rth@cygnus.com>
5693
5694         * combine.c (combine_instructions): Add missing argument
5695         to try_combine.
5696
5697         * toplev.c (rest_of_compilation): Delay sibcall optimization
5698         until after emit_eh_context.
5699
5700 2000-04-24  Nick Clifton  <nickc@redhat.com>
5701
5702         * combine.c (combine_instructions): Do not try to combine a
5703         sequence of insns when the second insn has been replaced by a
5704         note.
5705
5706 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
5707
5708         * gcc.c (load_specs): New static function.
5709         (read_specs): Use it.
5710
5711         * gcc.c (lookup_compiler): Make multiple passes for case
5712         insensitive filesystems.
5713
5714 2000-04-24  Neil Booth  <NeilB@earthling.net>
5715
5716         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
5717         * cpphash.h (_cpp_check_directive): new.
5718         * cpplex.c (handle_newline, cpp_free_token_list,
5719         init_trigraph_map, trigraph_ok, trigraph_replace,
5720         backslash_start, skip_block_comment, skip_line_comment,
5721         skip_whitespace, parse_name, parse_number, parse_string,
5722         copy_comment, _cpp_lex_line, spell_char, spell_string,
5723         spell_comment, spell_name, spell_other, _cpp_lex_file,
5724         _cpp_output_list): new.
5725         (expand_name_space): take length argument.
5726         (init_token_list): add comment list initialisation.
5727         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
5728         instead of HSPACE_BEFORE.
5729
5730         * cpplib.c (_cpp_check_directive): new
5731         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
5732         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
5733         (HSPACE_BEFORE): delete.
5734         (TTYPE_TABLE): rearrange.
5735         (struct cpp_toklist): update.
5736
5737 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5738
5739         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
5740         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
5741         argument form of AC_DEFINE.
5742
5743         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
5744         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
5745         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
5746         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
5747         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
5748
5749         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
5750
5751 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5752
5753         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
5754         deduced.h): Use -isystem, not -I, for including system headers.
5755
5756 2000-04-24  Nick Clifton  <nickc@cygnus.com>
5757
5758         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
5759         the source register is the frame pointer or arg pointer.
5760         (addsi3_small_int): Disallow if source register is the frame
5761         pointer or arg pointer.
5762
5763 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5764
5765         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
5766         call to AC_MSG_RESULT.
5767
5768 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5769
5770         * invoke.texi: Correct grammatical errors, document
5771         -fno-gnu-keywords as identical to -fno-asm for C++.
5772
5773 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5774
5775         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
5776         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
5777         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
5778         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
5779         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
5780
5781         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
5782         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
5783         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
5784         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
5785         new macros names.
5786
5787 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
5788
5789         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
5790         (pop_alignment): Likewise.
5791         (handle_pragma_token): Likewise.
5792
5793 2000-04-24  Robert Lipe <robertlipe@usa.net>
5794
5795         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
5796
5797 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
5798
5799         * combine.c (try_combine): Update reg_nonzero_bits of
5800         newi2pat before newpat.
5801
5802 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5803
5804         * loop.c (strength_reduce): Simplify test to INSN_P.
5805         (record_giv): Attempt to simplify the add value, use CONSTANT_P
5806         expressions instead of CONST_INT.
5807         (express_from_1): Likewise.
5808
5809 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
5810
5811         * regs.h (reg_n_max): Don't declare.
5812         * flow.c (reg_n_max): Don't define.
5813         * regclass.c (renumber): Don't initialize to zero.
5814         (regno_allocated): Likewise.
5815         (reg_n_max): Define.
5816         (allocate_reg_info): Don't initialize unnecessarily.
5817
5818 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
5819
5820         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
5821         and blockage_p in the newly allocated attribute.
5822
5823 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
5824
5825         * config/mn10300/mn10300.md (addsi): `inc4' on address
5826         registers does not modify cc, but `inc' on an extended
5827         register does.
5828
5829 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
5830
5831         * reload.c (find_equiv_reg): Checks all valueno regs
5832         as a reload_reg_p regs.
5833
5834 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
5835
5836         * cpphash.c (collect_objlike_expansion): Add sanity check.
5837         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
5838         the buffer is the empty string, return.  Mark __DATE__ and
5839         __TIME__ as XCONST nodes, not MCONST.
5840         (_cpp_macroexpand): Avoid pushing an empty buffer.
5841         (funlike_macroexpand): Don't pop token_buffer here.
5842
5843 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
5844
5845         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
5846         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
5847         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
5848         (REGNO_OK_FOR_BASE_P): Define in terms of them.
5849         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
5850         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
5851         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
5852
5853 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5854
5855         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
5856         constant MULT givs.
5857
5858 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
5859
5860         * cpphash.h (struct definition): Move file, line, col members...
5861         (struct hashnode): ... here.  Also add 'disabled' flag.
5862         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
5863         T_IDENTITY.  Remove T_DISABLED.
5864         Update prototypes.
5865
5866         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
5867         (collect_expansion): Split into collect_objlike_expansion and
5868         collect_funlike_expansion.
5869         (_cpp_macroexpand): Split out scan_arguments, stringify, and
5870         funlike_macroexpand.
5871         (_cpp_compare_defs): Rename compare_defs, make static.
5872         (_cpp_make_hashnode): Initialize hp->disabled.
5873         (macro_cleanup): Adjust for new token types.  Clear
5874         m->disabled.
5875         (_cpp_create_definition): Move code here to determine what
5876         sort of macro it is, and code to check for redefinitions, from
5877         do_define.  Implement a few simple cases without creating a
5878         full DEFINITION.
5879         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
5880         Handle the simple cases.
5881         (push_macro_expansion): Set buf->has_escapes and hp->disabled
5882         here.
5883
5884         * cppinit.c (builtin_array): Change MCONST to XCONST
5885         everywhere.
5886         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
5887         fix check for disabled and function-like macros.
5888         * cpplib.c (do_define): Move most logic to
5889         _cpp_create_definition.
5890         (do_undef): Handle new special token types.
5891
5892 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5893
5894         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
5895         of CONSTANT_P for mult_val; always use validate_change to update insn.
5896
5897 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
5898
5899         * cpphash.c (trad_stringify, add_pat): New functions.
5900         (collect_expansion): Restore support for -traditional syntax.
5901         Use trad_stringify and add_pat.
5902         (_cpp_macroexpand): Restore support for -traditional semantics.
5903         * cpplex.c (_cpp_scan_line): Don't change space_before if we
5904         get a COMMENT token.
5905         (_cpp_lex_token): Provide COMMENT tokens to caller if
5906         traditional and parsing_define_directive.
5907         (skip_comment): Warn about // comments if -Wtraditional.
5908         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
5909         proper node type.
5910         (do_undef): Don't warn about undefining EMPTY nodes.
5911
5912 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
5913
5914         * loop.c (strength_reduce): Fix biv removal code.
5915
5916 2000-04-22  Richard Henderson  <rth@cygnus.com>
5917
5918         * predict.c (estimate_probability): Examine both sides of
5919         a branch for no exits.  Use 90% not 50% for predict taken.
5920         Reorg for one copy of note generation code.
5921
5922 2000-04-22  Richard Henderson  <rth@cygnus.com>
5923
5924         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
5925
5926 2000-04-22  Richard Henderson  <rth@cygnus.com>
5927
5928         * diagnostic.c (init_output_buffer): Don't initialize format_args.
5929         (output_clear): Likewise.
5930         (output_printf): Use va_copy.
5931         (vline_wrapper_message_with_location): Likewise.
5932         (v_message_with_decl): Likewise.
5933         (line_wrapper_printf): VA_START infor buffer.format_args directly.
5934         * system.h (va_copy): Provide default implementation.
5935
5936 2000-04-22  Richard Henderson  <rth@cygnus.com>
5937
5938         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
5939         the collected condition is not a constant.
5940
5941 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
5942
5943         * diagnostic.h: New file.
5944
5945         * Makefile.in (diagnostic.o): Depends on diagnostic.h
5946
5947         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
5948         various function prototypes.
5949         (diagnostic.h): #include.
5950         (struct output_buffer): Move into diagnostic.h.
5951         (get_output_prefix): Rename to output_get_prefix.  Export.
5952         (init_output_buffer): Export. Break out.  Ajust intialization.
5953         (output_space_left, output_append): Export.
5954         (output_newline): Rename to output_add_newline.  Export.
5955         (output_clear): Nullify additional output_buffer fields.
5956         (output_puts): Rename to output_add_string.  Export.
5957         (dump_output): Rename to output_flush_on.  Export.
5958         (build_location_prefix): Constify return-type.
5959         (emit_output_prefix): Rename to output_emit_prefix. Export.
5960         (set_real_maximum_length): New function.
5961         (output_set_maximum_length): Ditto
5962         (output_clear): Ditto.
5963         (output_add_character): Ditto.
5964         (output_add_integer): Ditto.
5965         (output_add_space): Ditto.
5966         (output_format): Ditto.
5967         (output_printf): Adjust buffer initialization.
5968         (vline_wrapper_message_with_location): Ditto.
5969         (v_message_with_decl): Ditto.  Adjust call to output_puts
5970         and get_output_prefix.
5971         (default_print_error_function): Adjust buffer intialization.
5972
5973 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5974
5975         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
5976         of VOID_TYPE.
5977
5978 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
5979
5980         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
5981         of explicit 0.
5982
5983 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
5984
5985         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
5986         accurate data about SP moves.
5987
5988 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
5989
5990         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
5991         aliases to AM33 registers.
5992
5993 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
5994
5995         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
5996         to all EXTENDED bitmaps.
5997
5998 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
5999
6000         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
6001         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
6002         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
6003
6004 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
6005
6006         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
6007         the operand is not constant.
6008
6009 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
6010
6011         * reload.c (find_equiv_reg): Checks all valueno and regno regs
6012         as a call-clobbered regs.
6013
6014 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6015
6016         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
6017         * rtl.h: Likewise.
6018         * rtl.def: Update comment.
6019         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
6020         * integrate.c (expand_inline_function): Likewise.
6021         * profile.c (branch_prob): Likewise.
6022         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
6023         * print-rtl.c (print_rtx): Likewise.
6024         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
6025         (reemit_notes): Likewise; also use enum insn_note.
6026
6027         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
6028         (place_field): Properly compute know and actual alignment.
6029
6030         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
6031         in proper format.
6032
6033         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
6034         note for REG1.
6035
6036 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
6037
6038         * cpphash.c (struct arg, struct arglist): Const-ify strings.
6039         (warn_trad_stringify, duplicate_arg_p): New helper functions.
6040         (collect_expansion): Rewrite to scan over a token list.
6041         Remove -traditional support.
6042         (collect_formal_parameters): Rename to collect_params; rewrite
6043         to scan over a token list.
6044         (_cpp_create_definition): Adjust to scan a token list.
6045         (_cpp_macroexpand): Remove -traditional support.
6046         (_cpp_compare_defs): Whitespace is now canonicalized.
6047         (comp_def_part): Delete function.
6048
6049         * cpphash.h: Update prototypes.
6050         * cpplex.c (init_token_list): Don't set lineno if there is no
6051         buffer.
6052         (pedantic_whitespace): New function.
6053         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
6054         consume a newline.  Use pedantic_whitespace.
6055         (_cpp_lex_token): Remove support for -traditional macros.
6056         (_cpp_get_define_token): Delete.
6057         (_cpp_get_directive_token): Do the real work here.  Use
6058         pedantic_whitespace.
6059         (_cpp_init_input_buffer): Initialize pfile->directbuf.
6060
6061         * cpplib.c (get_macro_name): Delete.
6062         (do_define): Read the entire line into pfile->directbuf, then
6063         feed the token list to _cpp_create_definition.
6064         * cpplib.h (HSPACE_BEFORE): new define.
6065         (struct cpp_reader): Add a toklist member, "directbuf".
6066
6067         * predict.c (estimate_probability): New heuristic: if a jump
6068         branches around a block with no successors, predict it taken.
6069         Disentangle control flow.
6070
6071 2000-04-20  Richard Henderson  <rth@cygnus.com>
6072
6073         * loop.c (emit_iv_add_mult): Revert last change.
6074
6075 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
6076
6077         * cpplib.h (enum cpp_ttype): Add token types for all
6078         punctuators.  Distinguish pp-numbers from valid C numbers.
6079         Give some tokens better names.  Initialize from macro.
6080         (struct cpp_name, cpp_token, cpp_toklist): New data
6081         structures.
6082         Update prototypes.
6083         * cpplex.c (bump_column, expand_name_space,
6084         expand_token_space, init_token_list, cpp_output_list,
6085         _cpp_scan_line):  New functions.
6086         (output_line_command): Add third argument, new line number.
6087         * cpphash.h: Update prototypes.
6088         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
6089         token names.
6090
6091 2000-04-20  Richard Henderson  <rth@cygnus.com>
6092
6093         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
6094
6095 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
6096
6097         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
6098         object pointed to.
6099
6100 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6101
6102         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
6103         REG_EQUAL note explaining the calculated value.
6104
6105         * calls.c (expand_call): Avoid unnecesary precalculation
6106         and outgoing parameters space guarding for sibling calls.
6107         (store_one_arg): Likewise.
6108
6109 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6110
6111         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
6112         (rest_of_compilation): Write sibling dump file and account
6113         for time as jump time.
6114         * invoke.texi: Update documentation on dump flags.
6115
6116 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
6117
6118         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
6119
6120 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
6121
6122         * cpphash.c (special_symbol): Represent an empty macro with
6123         "\r \r " not just "\r ".
6124         (_cpp_macroexpand): Correct condition for the foo ( ) special
6125         case.
6126         (unsafe_chars): Handle EOF as second argument.
6127         (push_macro_expansion): Simplify test for removing escape at
6128         end.  Do not trim both escapes if there is no text in between.
6129
6130 2000-04-19  Jim Blandy  <jimb@redhat.com>
6131
6132         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
6133         of PTR_SIZE, when appropriate.
6134
6135 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
6136
6137         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
6138         (USE_ENUM_BITFIELDS): Fix typo.
6139
6140 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6141
6142         * stor-layout.c (place_field): Set rli->offset_align properly.
6143
6144 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6145
6146         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
6147         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
6148         PARM_BOUNDARY): Remove unnecessary casts.
6149
6150 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6151
6152         * calls.c (precompute_arguments): Remove must_preallocate and
6153         args_size calls.
6154         (expand_call): Update call of precompute_arguments.
6155
6156         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
6157         check_insn_for_givs): Break out from ...
6158         (strength_reduce) ... here; use for_every_insn_in_loop to call
6159         check_insn_for_givs.
6160         * loop.h (for_every_insn_in_loop): Declare.
6161         (loop_insn_callback): New type.
6162
6163 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
6164
6165         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
6166         not nul-terminated.
6167
6168 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
6169
6170         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
6171         flag_pic and RELOC.
6172
6173 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
6174
6175         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
6176
6177         * configure.in: Delete --disable-cpplib option and all
6178         references to cpp_main.
6179         * configure: Regenerate.
6180         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
6181         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
6182         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
6183         cpp$(exeext).  Add --no-headers to makeinfo command line when
6184         generating INSTALL.  Install and uninstall cpp.1 manpage, not
6185         cccp.1.
6186         * install.texi: Delete all references to cexp.y/cexp.c.
6187         Delete ancient instructions for compiling GCC on 3b1.
6188         * INSTALL: Regenerate.
6189
6190         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
6191         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
6192         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
6193         cexp.c/cexp.y.
6194         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
6195         which is no longer tested anywhere.
6196
6197         * cppinit.c (handle_option): Don't run error message through
6198         gettext twice.
6199
6200 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6201
6202         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
6203         * cpperror.c (hashtab.h): Now include.
6204         * cppexp.c (hashtab.h): Likewise.
6205         * cpplex.c (hashtab.h): Likewise.
6206         * cppfiles.c (hashtab.h): Likewise.
6207         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
6208         to htab_find_slot_with_hash.
6209         * cpphash.c (hashtab.h): Now include.
6210         (_cpp_lookup_slot): INSERT is now enum insert_option.
6211         * cpphash.h (_cpp_lookup_slot): Likewise.
6212         * cppinit.c (hashtab.h): Include earlier.
6213         (initialize_builtins): Pass enum to htab_find_slot.
6214         * cpplib.c (hashtab.h): Now include.
6215         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
6216         (do_pragma_poison, do_assert): Likewise.
6217         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
6218         htab_find_slot_with_hash.
6219         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
6220         * tree.c (type_hash_add): Likewise.
6221         (build1): Minor cleanup.
6222
6223         * ggc-common.c: Add missing blanks.
6224         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
6225         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
6226
6227         * stmt.c (mark_case_node): New function.
6228         (mark_case_nesting): Call it.
6229
6230         * expmed.c (emit_store_flag): If comparing two-word integer
6231         with zero, can optimize NE, EQ, GE, and LT.
6232
6233         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
6234         * conflict.c: Minor cleanups.
6235         * optabs.c: Add blank line
6236         * simplify-rtx.c: Minor cleanups.
6237
6238 2000-04-18  Stan Cox  <scox@cygnus.com>
6239
6240         * gengenrtl.c (genlegend): Fix misspelling.
6241
6242 2000-04-18  Robert Lipe  <robertlipe@usa.net>
6243
6244         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
6245         bitfields of the host compiler are not signed quantities.
6246         * config.in: Regenerate.
6247         * configure: Regenerate.
6248         * system.h (USE_ENUM_BITFIELDS): Added.
6249         (ENUM_BITFIELDS): Added.
6250         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
6251         (SHORT_ENUM_BUG): Deleted.
6252         * tree.h (tree_common): Members `code', `mode', `built_in_class',
6253         now ENUM_BITFIELD.
6254         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
6255         (CODE_FIELD_BUG): Likewise.
6256         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
6257         (OLD_CC): Likewise.
6258         * config/m68k/x-ccur (X_CFLAGS): Likewise.
6259
6260 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
6261
6262         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
6263         mark is active.
6264
6265 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
6266
6267         * cppexp.c (lex): Don't assume tokens are NUL terminated.
6268         * cpplib.c (do_include, do_import, do_include_next,
6269         read_line_number, detect_if_not_defined): Likewise.
6270         * cpphash.c (collect_expansion): Likewise.
6271         (special_symbol, _cpp_macroexpand): Check return from
6272         cpp_file_buffer.
6273         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
6274         macros.  Delete all uses.
6275
6276         * gcc.dg/cpp-mi.c: Add two more test cases.
6277         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
6278
6279 2000-04-17  Richard Henderson  <rth@cygnus.com>
6280
6281         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
6282         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
6283
6284 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
6285
6286         * function.c (expand_function_start): Use hard_function_value to
6287         compute the RTL to use for DECL_RESULT.
6288
6289 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6290
6291         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
6292         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
6293          x86_memory_mismatch_stall): New global variables.
6294         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
6295         alloved; fix load penalties for Athlon.
6296         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
6297         x86_memory_mismatch_stall): Declare.
6298         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
6299          TARGET_MEMORY_MISMATCH_STALL): New.
6300         * i386.md (athlon scheduling parameters): Fix latencies according to
6301         Athlon Optimization Manual.
6302         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
6303         vector.
6304         (fsqrt instruction patterns): Set athlon_decode to direct.
6305         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
6306         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
6307         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
6308         and TARGET_PARTIAL_REGISTER_STALL machines.
6309         (pushdf_nointeger): New pattern.
6310         (pushdf_integer): Rename from pushdf.
6311         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
6312         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
6313
6314 2000-04-17  Richard Henderson  <rth@cygnus.com>
6315
6316         * loop.c (canonicalize_condition): Add WANT_REG argument.
6317         Stop the search if we match it.
6318         * expr.h (canonicalize_condition): Update decl.
6319         * predict.c (expected_value_to_br_prob): Use it.  Track last
6320         expected value note.
6321         (find_expected_value): Remove.
6322
6323         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
6324
6325 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
6326
6327         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
6328         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
6329         a plain file.
6330         * configure.in: Call AC_FUNC_MMAP_FILE.
6331         * configure: Regenerate.
6332         * config.in: Regenerate.
6333
6334         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
6335         * fixinc/fixincl.c: Likewise.
6336
6337 2000-04-17  Richard Henderson  <rth@cygnus.com>
6338
6339         * builtins.c (expand_builtin_expect): New.
6340         (expand_builtin): Call it.
6341         * builtins.def (BUILT_IN_EXPECT): New.
6342         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
6343         * extend.texi: Document it.
6344
6345         * predict.c (expected_value_to_br_prob): New.
6346         (find_expected_value): New.
6347         * basic-block.h (expected_value_to_br_prob): Declare.
6348         * toplev.c (rest_of_compilation): Invoke it.
6349
6350         * rtl.h (NOTE_EXPECTED_VALUE): New.
6351         (NOTE_INSN_EXPECTED_VALUE): New.
6352         * rtl.c (note_insn_name): Update.
6353         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
6354         cases; handle NOTE_INSN_EXPECTED_VALUE.
6355
6356 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
6357
6358         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
6359         leaf sibcall delay slot if flag_pic.
6360         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
6361
6362 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6363
6364         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
6365
6366         * fixproto: If fix-header fails, exit with an error.
6367
6368 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6369
6370         * cse.c (struct check_depdendence_data): New.
6371         (check_dependence): New function.
6372         (invalidate): Use check_depdenence.
6373
6374 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
6375
6376         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
6377         UNITS_PER_WORD is unsigned.
6378
6379         * tree.h (struct tree_common): Remove misleading comment.
6380
6381 2000-04-16  Dave Pitts  <dpitts@cozx.com>
6382
6383         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
6384         message in quotes. Otherwise, IBM's make program treats the '#' as the
6385         start of a comment and ignores the remainder of the line.
6386
6387         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
6388         upper case.
6389         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
6390         * cexp.y (initialize_random_junk): Likewise.
6391         * cppfiles.c (find_include_file): Cast alloca return value.
6392         * cppinit.c (initialize_standard_includes): Likewise.
6393         * cpplib.c (cpp_define, cpp_undef): Likewise.
6394         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
6395         * final.c (output_asm_insn): Allow for holes in EBCDIC.
6396         * fold-const.c (CHARMASK): New.
6397         (real_hex_to_f): Use it.
6398         * real.c (CHARMASK): New.
6399         (etoasc, asctoeg): Use it.
6400         (asctoeg): EBCDIC lower case characters preceed upper case.
6401
6402         * i370.c (mvs_add_label): Change spacing for coding conventions.
6403         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
6404         outputing case vectors.
6405         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
6406         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
6407         since vector in in the data CSECT.
6408         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
6409         * i370.md (Many patterns): Put the length in the XL directives.
6410         (movdi): Put back STM and MVC in definition.
6411         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
6412         pattern using the TCA.
6413         * oe.h (CPP_SPEC): Added to allow trigraphs.
6414         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
6415         not support the "long long" type.
6416
6417 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
6418
6419         * config/mips/mips-protos.h (mips_legitimate_address_p): New
6420         function.
6421         (mips_reg_mode_ok_for_base_p): Likewise.
6422         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
6423         (REG_OK_FOR_INDEX_P): Define unconditionally.
6424         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
6425         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
6426         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
6427         that GET_MODE_SIZE is unsigned.
6428         (mips_reg_mode_ok_for_base_p): Define.
6429         (mips_legitimate_address_p): Likewise.  Adjust now
6430         that GET_MODE_SIZE is unsigned.
6431         (block_move_loop): Make the number of bytes unsigned.
6432         (expand_block_move): Likewise.
6433         (function_arg): Make the loop counter unsigned to match the
6434         boundary condition.
6435
6436 2000-04-16  Richard Henderson  <rth@cygnus.com>
6437
6438         * rtl.h (enum insn_note): New enumeration.  Subsume
6439         NOTE_INSN_DELETED and friends.
6440         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
6441         * rtl.c (note_insn_name): Tweak string order.
6442
6443 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
6444
6445         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
6446         to offset * 2.
6447
6448         * cpplex.c (output_line_command): Remove debugging prints.
6449         (cpp_output_tokens): Don't write out a zero-length buffer or
6450         try to see if it has a newline in it.
6451         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
6452         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
6453         the end of the loop.  Use memmove.  Don't read past the end of
6454         the buffer.  Remove trailing newlines from error messages.
6455
6456 2004-04-16  Neil Booth  <NeilB@earthling.net>
6457
6458         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
6459         * cpplib.c: Add new syntax flags to directive table, and
6460         supporting macros.
6461
6462 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
6463
6464         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
6465         using ret $N.
6466
6467 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
6468
6469         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
6470         * haifa-sched.c: Update -fsched-verbose comments to use "=".
6471
6472 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6473
6474         * Makefile.in (ggc-page.o): Now includes toplev.h.
6475         * ggc-page.c (toplev.h): Now included.
6476         (gc_time): Remove declaration.
6477         (ggc_collect): TIME now long.
6478         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
6479         others static.
6480         * toplev.h (gc_time, parse_time, gc_time): New declarations.
6481
6482         * toplev.c: Make *_time variable long to reduce chance of overflow.
6483         (TIMEVAR): Likewise for `otime'.
6484         (print_time): Arg is now long; compute percentage in FP and round.
6485         * toplev.h (print_time): Arg is long.
6486
6487         * tree.c: Minor whitespace changes.
6488
6489         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
6490         * configure: Rebuilt.
6491         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
6492         (__fixunsxfDI): Renamed from __fixunsxfdi.
6493         (__fixunsdfDI): Renamed from __fixunsdfdi.
6494         (__fixunssfDI): Renamed from __fixunssfdi.
6495         (__floatdisf): Use proper type in REP_BIT macro.
6496         (__fixunsxfSI): Renamed from __fixunsxfsi.
6497         (__fixunsdfSI): Renamed from __fixunsdfsi.
6498         (__fixunssfSI): Renamed from __fixunssfsi.
6499         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
6500         Change location of macros and upper-case some names as above.
6501         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
6502         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
6503
6504         * varasm.c (assemble_variable): Add cast to remove warning.
6505         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
6506
6507         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
6508         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
6509         region number to -1.
6510
6511 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
6512
6513         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
6514         call unshare_all_rtl.
6515
6516         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
6517
6518 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
6519
6520         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
6521         Use .s1 not .s0 for all FP instructions.
6522
6523 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
6524
6525         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
6526         interfaces.
6527         (safe_fwrite, output_line_command): New static functions.
6528         (cpp_expand_to_buffer): Now private to cpplib.
6529         (cpp_scan_buffer): Take a printer.
6530
6531         * cpphash.h: Update prototypes.
6532         * cpplib.h: Update prototypes.
6533         (cpp_printer): New.
6534         (cpp_buffer): Remove last_nominal_fname.
6535         (cpp_reader): Remove lineno.
6536
6537         * cppmain.c: Use a cpp_printer.
6538         * fix-header.c: No need to inhibit line commands.  Call
6539         cpp_start_read with no printer.
6540
6541         * cpperror.c (cpp_notice_from_errno): Provide default name.
6542         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
6543         (find_include_file, cpp_read_file): Use make_IHASH.
6544         (file_cleanup): Set control_macro and clear
6545         input_stack_listing_current here.
6546         (_cpp_execute_include): Don't output entering-file marker.
6547         * cpphash.c (special_symbol): Look for the line number in the
6548         buffer, not the reader.
6549         (_cpp_macroexpand): No need to disable line commands.
6550         (_cpp_dump_definition): No need to generate line commands.
6551         (dump_hash_helper): Remove excess newline from output.
6552         * cppinit.c (dump_special_to_buffer): No need to generate line
6553         commands.
6554         (cpp_printer_init): New.
6555         (cpp_start_read): Take a printer, and start it up if it's not
6556         NULL.  No need to generate line commands.
6557         (cpp_finish): Expect no buffers stacked at all.  Take a
6558         printer argument, and flush the output buffer if it's not
6559         NULL.
6560         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
6561         Don't put two hashes at the beginning of an assertion.
6562         (cpp_get_token): Don't increment pfile->lineno or emit line
6563         commands here.  Return EOF if there's no buffer when we get
6564         EOF.
6565         * cpplib.c (do_define, skip_if_group):
6566         No need to disable line commands.
6567         (_cpp_output_line_command): Delete function.
6568         (do_line): Don't emit line commands here, but set things up so
6569         they will be emitted if necessary.  Use _cpp_fake_ihash to
6570         make unique nominal_fnames if necessary.
6571         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
6572         with 0 for column, not -1.
6573         (_cpp_handle_eof): Don't set the control macro here.  Don't
6574         clear input_stack_listing_current here.  Don't emit line
6575         commands.
6576
6577 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
6578
6579         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
6580         always, use the default SVR4 start address.
6581
6582         * config/rs6000/linux.h (LINK_SPEC): Don't define.
6583         (LINK_SHLIB_SPEC): Define.
6584         (LINK_START_DEFAULT_SPEC): Define.
6585         (LINK_OS_DEFAULT_SPEC): Define.
6586
6587         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
6588
6589         * config/rs6000/eabi.asm (__eabi): Call __init rather than
6590         __do_global_ctors to handle constructors.
6591         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
6592         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
6593         (STARTFILE_MVME_SPEC): Likewise.
6594         (STARTFILE_SIM_SPEC): Likewise.
6595         (ENDFILE_ADS_SPEC): Use crtend.
6596         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
6597         (ENDFILE_MVME_SPEC): Likewise.
6598         (ENDFILE_SIM_SPEC): Likewise.
6599         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
6600         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
6601         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
6602         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
6603         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
6604         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
6605         (CRTSTUFF_T_CFLAGS_S): Define.
6606         * config/rs6000/eabi-ctors.c: Delete.
6607
6608         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
6609         boundary.
6610         (__fini): Likewise.
6611         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
6612         boundary.
6613         (__fini): Likewise.
6614
6615 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
6616
6617         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
6618         plus mask size is smaller or equal to the mode size.
6619
6620 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6621
6622         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
6623         not yet set.
6624
6625         * expr.c (reload.h): Now included.
6626         (emit_block_move): Set volatile_ok when checking for movstr.
6627         (emit_move_1): Check for replacements in addresses in multi-word case.
6628         * Makefile.in (expr.o): Now includes reload.h.
6629
6630         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
6631         Never have a LIBCALL end a basic block.
6632         (find_basic_blocks_1): Likewise.
6633         Reorganize CALL_INSN cases.
6634
6635         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
6636
6637 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
6638
6639         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
6640         completers from mov.ret instruction.
6641
6642 2000-04-14  Richard Henderson  <rth@cygnus.com>
6643
6644         * fold-const.c (extract_muldiv): Don't distribute and widen
6645         multiply across plus for non-sizetype unsigned types.
6646
6647 2000-04-14  Richard Henderson  <rth@cygnus.com>
6648
6649         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
6650         If the original source is dead in the incr insn, it's dead now.
6651
6652 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6653
6654         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
6655         see if DECL_BIT_FIELD needs to still be set.
6656
6657         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
6658
6659         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
6660         print_int_cst_octal with something that's not an INTEGER_CST.
6661
6662         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
6663         and not a SUBREG to a FLOAT rtl.
6664
6665 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
6666
6667         * emit-rtl.c (try_split): Avoid infinite loop if the split
6668         results in a sequence that contains the original insn.
6669
6670 2000-04-13  Andreas Jaeger  <aj@suse.de>
6671
6672         * config/mips/mips.c (expand_block_move): Pass alignment
6673         argument to move_by_pieces in bits, not bytes.
6674
6675         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
6676         __pic__ for little endian.
6677
6678 2000-04-13  Andreas Jaeger  <aj@suse.de>
6679
6680         * config/i386/i386-protos.h: Add prototype for
6681         uno_comparison_operator.
6682
6683 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6684
6685         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
6686         * calls.c (ECF_PURE): New flag.
6687         (emit_call_1): Handle ECF_PURE calls.
6688         (initialize_argument_information): Unset ECF_PURE flag too.
6689         (precompute_arguments): Precompute for ECF_PURE too.
6690         (expand_call): Handle ECF_PURE calls too.
6691         (emit_library_call_value_1): Rename no_queue argument to fn_type,
6692         accept value of 2 as pure function.
6693         (emit_library_call_value, emit_library_call): Rename no_queue argument
6694         to fn_type.
6695         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
6696
6697         * tree.h (DECL_IS_PURE): New macro.
6698         (struct tree_decl): Add pure_flag.
6699         * c-common.c (enum attrs): Add attribute "pure".
6700         (init_attributes): Initialize attribute "pure"
6701         (decl_attributes): Handle attribute "pure".
6702         * extend.texi (Attribute "pure"): Document.
6703         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
6704         in pure function.
6705         (flags_from_decl_or_type): Support attribute "pure".
6706
6707 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
6708
6709         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
6710         the token except for numbers and identifiers.
6711
6712 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
6713
6714         * i386.c (ix86_expand_binary_operator,
6715         ix86_expand_unary_operator): Check no_new_pseudos
6716         instead of reload_in_progress and reload_completed.
6717         (ix86_split_ashldi, ix86_split_ashrdi,
6718         ix86_split_lshrdi): Check no_new_pseudos instead
6719         of reload_completed.
6720
6721 2000-04-12  Jeffrey A Law  (law@cygnus.com)
6722
6723         * function.c (purge_addressof): Unshare any shared rtl created by
6724         purge_addressof and its children.
6725
6726 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
6727
6728         * function.c (aggregate_value_p): VOID_TYPE nodes are never
6729         aggregates.
6730
6731 2000-04-05  Andreas Jaeger  <aj@suse.de>
6732
6733         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
6734         not compiling PIC code, add flags for mabi=64.
6735         (SUBTARGET_CPP_SIZE_SPEC): New.
6736         (SUBTARGET_CPP_SPEC): New.
6737         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
6738         for MIPS/Linux and lots of code needs these defines.
6739
6740 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
6741
6742         * reorg.c (fill_slots_from_thread): Check side_effects_p when
6743         trying the "opposite arithmetic" approach.
6744
6745 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6746
6747         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
6748         (struct sh_args): Add new field force_mem.
6749         (INIT_CUMULATIVE_ARGS): Initialize it.
6750         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
6751
6752 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6753
6754         * calls.c (expand_call): Do not reverse args in "equal from" field.
6755         (emit_library_call_value_1): Emit_libcall_block for const and pure
6756         function.
6757
6758 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6759
6760         * reload1.c (reload_combine): Don't enable optimization for fixed
6761         registers when encountering a BARRIER.
6762
6763 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6764
6765         * builtins.c (expand_builtin_memcmp): Do expansion even with
6766         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
6767
6768         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
6769         stack is propertly aligned; add sanity checking for aligned
6770         stack pointer.
6771         (expand_library_call_value_1): Add sanity checking for aligned
6772         stack pointer.
6773
6774 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
6775
6776         * calls.c (emit_library_call_value_1): Change 3rd arg to
6777         locate_and_pad_parm to disregard the setting of partial.
6778
6779 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6780
6781         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
6782
6783         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
6784         CALL_INSN from the normal case.
6785
6786 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
6787
6788         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
6789         New global variables.
6790         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
6791         adjustment.
6792         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
6793         Declare,
6794         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
6795          TARGET_ADD_ESP_8): New macros.
6796         * i386.md: Add peep2s to convert esp adjustments to push and pop
6797         instructions.
6798         (pushsi_prologue, popsi_epilogue): New patterns.
6799
6800 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
6801
6802         * real.c (toe64): Remove stale #endif from the last change.
6803
6804 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
6805
6806         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
6807         * real.c (toe64): Revert previous change.
6808
6809 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
6810
6811         * objc/objc-act.c: Include ggc.h.
6812         (objc_tree_index, objc_global_trees): Convert most of the
6813         static tree variables into a static array with previous names
6814         as defines.
6815         (objc_ellipsis_node): New variable.
6816         (lang_init): Call objc_act_parse_init and c_parse_init.
6817         Create objc_ellipsis_node.
6818         (build_selector_translation_table): Use objc_ellipsis_node instead
6819         of (tree)1.
6820         (hack_method_prototype): Likewise.
6821         (get_arg_type_list): Likewise.
6822         (start_method_def): Likewise.
6823         (continue_method_def): Likewise.
6824         (gen_method_decl): Likewise.
6825         (ggc_mark_imp_list): New function.
6826         (ggc_mark_hash_table): New function.
6827         (objc_act_parse_init): New function.
6828         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
6829         * c-parse.in (c_parse_init): For objc add roots of objc specific
6830         local tree variables.
6831         * objc/objc-parse.y: Rebuilt.
6832         * objc/objc-parse.c: Rebuilt.
6833         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
6834
6835 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
6836
6837         * cse.c (delete_trivially_dead_insns): Also delete insns
6838         that copy a register to itself where the destination is
6839         a strict_low_part.
6840
6841 2000-04-11  Richard Henderson  <rth@cygnus.com>
6842
6843         * flow.c (struct propagate_block_info): Add new_dead, new_live.
6844         (propagate_block): Initialize them.  Use them in parallel instead
6845         of one tmp variable, ie revert much of the 0408 and 0407 functional
6846         changes, but keep the structural changes.
6847         (mark_set_regs): Take new_dead from propagate_block_info instead.
6848         (mark_set_1, mark_set_reg): Likewise.
6849         (mark_used_regs): Likewise with new_live.
6850         (mark_used_reg): Likewise.  Revert 0408 change.
6851
6852 2000-04-11  Nick Clifton  <nickc@cygnus.com>
6853
6854         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
6855         restriction.
6856         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
6857
6858 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6859
6860         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
6861         const section to output a CONSTRUCTOR based on the same conditions
6862         used for VAR_DECLs.
6863
6864 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
6865
6866         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
6867         * pa/pa-protos.h (output_call): Add additional argument indicating
6868         if the call is a sibling/tail call.
6869         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
6870         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
6871         (function_arg, function_arg_partial_nregs): Likewise
6872         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
6873         (emit_move_sequence): Zero extend certain constants as needed
6874         for TARGET_64BIT.
6875         (compute_zdepdi_operands, output_64bit_and): New functions.
6876         (output_64bit_ior, function_arg): Likewise.
6877         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
6878         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
6879         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
6880         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
6881         (output_bvb): Likewise.
6882         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
6883         (output_call): New argument 'sibcall'.  Generate sibcall sequences
6884         as needed.
6885         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
6886         (ouput_arg_descriptor): Do not emit argument descriptors for
6887         TARGET_64BIT.
6888         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
6889         defined.
6890         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
6891         (FUNCTION_OK_FOR_SIBALL): Define.
6892         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
6893         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
6894         (CPP_SPEC): Use new spec infrastructure.
6895         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
6896         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
6897         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
6898         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
6899         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
6900         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
6901         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
6902         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
6903         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
6904         (FUNCTION_ARG); Call out to C code.
6905         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
6906         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
6907         (MIN_UNITS_PER_WORD): Likewise.
6908         * pa/pa.md (cmpdi): New expander.
6909         (scc patterns, movstrsi): Not available for TARGET_64BIT.
6910         (64bit conditional arithmetic): New patterns.
6911         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
6912         (movsicc): Not available if modes on all the operands to not match.
6913         (movdicc): New expander and associated patterns.
6914         (64bit branches): New patterns.
6915         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
6916         (pre_ldd, post_std): New patterns.
6917         (64bit addil, load low part): New patterns.
6918         (special movsf constant): Not available for TARGET_64BIT.
6919         (movsf, movdf expanders): Force constants into memory.
6920         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
6921         (64bit movdf/movdi patterns): New patterns.
6922         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
6923         for TARGET_64BIT.
6924         (extendqidi2, extendhidi2, extendsidi2): Similarly.
6925         (adddi3 expander): Allow "arith_operand" for second input.
6926         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
6927         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
6928         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
6929         (muldi3): New expander for TARGET_64BIT.
6930         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
6931         for TARGET_64BIT.
6932         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
6933         patterns for TARGET_64BIT.
6934         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
6935         patterns for TARGET_64BIT.
6936         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
6937         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
6938         (sibcall_epilogue): New expander.
6939         (casesi): Tweak for TARGET_64BIT.
6940         (call expanders): Set & use the outgoing argument pointer.  Use the
6941         64bit call patterns as needed. Add additional arg to output_call.
6942         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
6943         (sibcall, sibcall_internal_symref): New expanders.
6944         (sibcall_value, sibcall_value_internal_symref
6945         (interspace_jump): Turn into an expander + matching patterns.
6946         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
6947         * pa/pa64-regs.h: Eliminate trigraph sequences.
6948         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
6949
6950 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
6951
6952         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
6953         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
6954         cpp_token with cpp_ttype everywhere.
6955         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
6956         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
6957         CPP_BUF_COL.  Line and column numbers are unsigned int, not
6958         long.
6959         * cpplex.c (cpp_buf_line_and_col): Delete.
6960         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
6961         'long lineno' to 'unsigned int lineno'.
6962         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
6963
6964 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6965
6966         * extend.texi: ISO C99 is not a draft anymore.
6967         * invoke.texi: ISO C++ is not a draft anymore.
6968         * cpp.texi: __cplusplus is required by the ISO standard.
6969
6970         * extend.texi (-fthis-is-variable): Undocument.
6971         * flags.h (warn_template_debugging): Remove declaration.
6972         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
6973         -Wenum-clash, -Wtemplate-debugging): Undocument.
6974
6975 2000-04-10  Nick Clifton  <nickc@cygnus.com>
6976
6977         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
6978         integer.
6979         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
6980         integer.
6981         (ARM_SIGN_EXTEND): Use HOST_UINT.
6982         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
6983         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
6984         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
6985         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
6986
6987         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
6988         (arm_gen_constant): Use HOST_UINT.
6989         (arm_canonicalize_constant): Use HOST_UINT.
6990         (arm_reload_in_hi): Use HOST_UINT.
6991         (arm_reload_out_hi): Use HOST_UINT.
6992         (output_multi_immediate): Use HOST_UINT.
6993         (int_log2): Use HOST_UINT.
6994         (arm_poke_function_name): Use HOST_UINT.
6995         (arm_output_epilogue): Use arm_volatile_func().
6996         (output_thumb_prologue): Use arm_strip_name_encoding().
6997
6998 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6999
7000         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
7001         of sequence point problems.
7002
7003 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
7004
7005         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
7006         Recomment.
7007         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
7008
7009 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7010
7011         * sbitmap.h: Whitespace changes and use upper-case macro args.
7012         (struct simple_bitmap_def): All sizes now unsigned.
7013         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
7014         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
7015         (sbitmap_vector_alloc): Parms and local vars now unsigned.
7016         (sbitmap_zero): Cast bzero arg to PTR.
7017         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
7018         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
7019         loop to make structure clearer.
7020         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
7021         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
7022         (sbitmap_a_and_b_or_c): Likewise.
7023         (sbitmap_intersection_of_succs): Minor cleanups.
7024         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
7025         (sbitmap_union_of_preds): Likewise.
7026         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
7027         (debug_sbitmap): New function.
7028
7029         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
7030         * c-typeck.c (convert_for_assignment): Likewise.
7031
7032         * expmed.c (init_expmed): Don't free objects we make.
7033         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
7034
7035         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
7036         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
7037
7038         * gcse.c (expr_hash_table_size): Now unsigned.
7039         (compute_ae_gen): Local variable `i' now unsigned.
7040         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
7041         (compute_transout, hoist_code): Likewise.
7042         (compute_local_properties): Likewise, also hash_table_size.
7043         (alloc_expr_hash_table): N_INSNS now unsigned.
7044         (delete_null_pointer_checks): Mark arg F as unused.
7045
7046         * regrename.c: Minor cleanups, including chang some variables
7047         to unsigned int.
7048
7049 2000-04-10  Neil Booth  <NeilB@earthling.net>
7050
7051         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
7052         than GETC ().
7053         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
7054
7055 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7056
7057         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
7058         __classof__, and __headof__ from the list of gnu keywords.
7059         (-ansi): Remove -foperator-names from list of implied options.
7060         Do not call it ANSI C++.
7061         (-foperator-names): Document as -fno-operator-names.
7062
7063 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
7064
7065         * cpphash.c (timestamp): Delete.
7066         (del_HASHNODE): If type is T_MCONST, free value.cpval.
7067         (special_symbol): Remove unnecessary braces.  Remove
7068         T_VERSION.  Treat T_STDC like T_CONST unless
7069         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
7070         when one is encountered, then convert them into T_MCONST
7071         nodes.
7072         * cppinit.c (builtin_array): version_string is T_MCONST.
7073         __STDC__ has a "1" in its cpval.  Don't have a terminator
7074         entry.  Clean up which entries are dumped.
7075         (initialize_builtins): Only __STDC__ gets the special
7076         -traditional treatment.  Count the length of builtin_array.
7077         Render version_string here.
7078         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
7079         * cpplib.h (struct cpp_reader): Remove timebuf.
7080
7081 2000-04-09  Richard Henderson  <rth@cygnus.com>
7082
7083         * genrecog.c (pred): Update comparison_operator for the unordered
7084         operators.
7085
7086         * config/i386/i386.c (no_comparison_operator): Disallow unordered
7087         operators.
7088         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
7089         (uno_comparison_operator): New.
7090         (put_condition_code): Handle UNORDERED/ORDERED.
7091         (unsigned_comparison): Likewise.
7092         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
7093         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
7094         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
7095         update all callers.  Handle all 8 unordered operators.
7096         (ix86_expand_setcc): Lose the unordered argument, update all callers.
7097         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
7098         * config/i386/i386.h (PREDICATE_CODES): Update.
7099         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
7100         (ix86_expand_branch, ix86_expand_setcc): Update.
7101         * config/i386/i386.md (sunordered, sordered): New.
7102         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
7103         (bunordered, bordered): New.
7104         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
7105         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
7106         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
7107
7108 2000-04-09  Philip Blundell  <philb@gnu.org>
7109
7110         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
7111
7112 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
7113
7114         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
7115         fix_truncxfhi2): New patterns.
7116         * i386.c (output_fix_trunc): Handle converting to HImode.
7117
7118 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
7119
7120         * ssa.c (convert_to_ssa): Eliminate dead code when calling
7121         life_analysis.
7122         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
7123         (for_each_successor_phi): Change parameter to basic_block.
7124         (coalesce_regs_in_successor_phi_nodes): Likewise.
7125         (coalesce_regs_in_copies): Likewise.
7126         (compute_coalesced_reg_partition): Use basic_block instead of index.
7127         * rtl.h (convert_to_ssa): Delete.
7128         (convert_from_ssa): Likewise.
7129         (successor_phi_fn): Likewise.
7130         (for_each_successor_phi): Likewise.
7131         (in_ssa_form): Likewise.
7132         * basic-block.h (convert_to_ssa): Moved from rtl.h.
7133         (convert_from_ssa): Likewise.
7134         (successor_phi_fn): Likewise.
7135         (in_ssa_form): Likewise.
7136         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
7137         * flow.c (calculate_global_regs_live): Pass a basic_block to
7138         for_each_successor_phi.
7139
7140 2000-04-08  Richard Henderson  <rth@cygnus.com>
7141
7142         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
7143         was modified in the current insn.
7144
7145 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
7146
7147         * arm/thumb.md: Delete.
7148         * arm/thumb-protos.h: Delete.
7149
7150 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
7151
7152         Merge changes from merged-arm-thumb-backend-branch onto trunk.
7153
7154         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
7155
7156         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
7157         into branch.
7158
7159         * arm.md (nop): Use the standard RTL expression.  Don't code as a
7160         define_expand.
7161         (*arm_nop, *thumb_nop): Delete.
7162
7163         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
7164         constants.  Use casts instead.
7165         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
7166         output_multi_immediate, arm_poke_function_name): Likewise.
7167         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
7168         MASK_RETURN_ADDDR): Likewise.
7169
7170         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
7171
7172         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
7173         into branch.
7174
7175         * arm.md (eh_epilogue): New function.
7176         * arm.h (struct machine_function): Move to here ...
7177         * arm.c: ... from here.
7178         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
7179         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
7180         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
7181
7182         2000-03-30  Nick Clifton  <nickc@cygnus.com>
7183
7184         * config/arm/semi.h (ASM_SPEC): Restore definition.
7185         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
7186
7187         * config/arm/elf.h (ASM_SPEC): Restore definition.
7188         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
7189
7190         * config/arm/arm.h (ASM_SPEC): Remove definition.
7191         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
7192
7193         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
7194
7195         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
7196
7197         2000-03-24  Nick Clifton  <nickc@cygnus.com>
7198
7199         Various formating tidyups, elimination of compile time
7200         warnings and synchronisation with internal sources:
7201
7202         * config/arm/arm-protos.h (assemble_align): Add prototype.
7203         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
7204         (gen_comapre_reg): Rename to arm_gen_compare_reg.
7205         (arm_return_addr_rtx): Rename to arm_return_addr.
7206
7207         * config/arm/arm.c: Include except.h.
7208         Define shorter typenames for strict minipool_node and struct
7209         minipool_fix.
7210         (arm_return_in_memory): For WinCE return all structures <= 32 bits
7211         in memory.
7212         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
7213         (gen_comapre_reg): Rename to arm_gen_compare_reg.
7214
7215         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
7216         already defined.
7217         (ASM_SPEC): Define if not already defined.
7218         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
7219
7220         * config/arm/arm.md: Rename references to gen_rotated_half_load to
7221         arm_gen_rotated_half_load, and references to gen_comapre_reg to
7222         arm_gen_compare_reg.
7223         (indirect_jump):  Only accept register operands.
7224         (load_indirect_jump): Keep this pattern since combine can generate
7225         it.
7226
7227         * config/arm/coff.h: Include aout.h.
7228         (MULTILIB_DEFAULTS): Only define if not already defined.
7229
7230         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
7231         into arm.h (so that COFF ports can support thumb based aliases).
7232         (ASM_SPEC): Move definition into arm.h
7233
7234         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
7235         redundant apcs spec.
7236         (ASM_SPEC): Move definition to arm.h
7237
7238         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
7239
7240         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
7241         for entries in the .bss section
7242
7243         2000-03-23  Nick Clifton  <nickc@cygnus.com>
7244
7245         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
7246         to thumb_far_jump_used_p.
7247
7248         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
7249         single integer parameter.
7250
7251         * config/arm/arm.c (struct machine_function): Add two new
7252         fields, 'far_jump_used' and 'arg_pointer_live'.
7253         (thumb_far_jump_used_p): Once the decision has been made that
7254         far jumps might be used, always return true.
7255         If being called from the initial elimination offset macro then
7256         do not bother to perform the test if the arg pointer is not
7257         being used.
7258         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
7259         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
7260
7261         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
7262
7263         * arm.c (output_return_instruction): Handle more cases where we can
7264         return from a function with an ldr instruction.
7265         (arm_output_epilogue): Likewise.
7266
7267         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
7268         if we need to push a large stack frame and there are no callee-saved
7269         registers.
7270
7271         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
7272         in ARM code if the frame pointer has been eliminated.
7273
7274         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
7275         unspec_volatile arguments to avoid duplicates.
7276         (consttable_1, consttable_2): Fixes for big-endian mode.
7277
7278         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
7279         as appropriate.
7280
7281         Re-write constant pool code.
7282         * arm.c (minipool_node, minipool_fix): New types.
7283         (minifix): Delete type.
7284         (arm_add_minipool_constant): Delete.
7285         (arm_compute_minipool_offsets, arm_find_barrier,
7286         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
7287         (get_jump_table_size): Now returns HOST_WIDE_INT.
7288         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
7289         functions.
7290         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
7291         (assign_minipool_offsets, arm_print_value): Likewise.
7292         (dump_minipool): Rewrite.
7293         (arm_barrier_cost): New function.
7294         (create_fix_barrier): New function.
7295         (push_minipool_barrier): New function.
7296         (push_minipool_fix): Record additional information about the fixup
7297         required.
7298         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
7299         check the mode of what needs fixing.
7300         (arm_reorg): Rewrite.
7301
7302         2000-03-08  Nick Clifton  <nickc@cygnus.com>
7303
7304         * config/arm/arm.md (indirect_jump): Force constant addresses into
7305         a register.
7306
7307         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
7308
7309         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
7310
7311         2000-02-24  Nick Clifton  <nickc@cygnus.com>
7312
7313         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
7314         adjust is word aligned.
7315         (thumb_expand_epilogue): Make sure that stack adjust is word
7316         aligned.
7317
7318         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
7319
7320         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
7321
7322         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
7323         pointer relative addresses.
7324
7325         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
7326
7327         * arm.c (find_barrier): Find the last barrier within the allowed
7328         range.
7329
7330         2000-02-09  Nick Clifton  <nickc@cygnus.com>
7331
7332         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
7333
7334         2000-02-09  Nick Clifton  <nickc@cygnus.com>
7335
7336         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
7337         ARM_FUNCTION_PROFILER.
7338
7339         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
7340         ARM_FUNCTION_PROFILER.
7341
7342         * config/arm/linux-oldld.h: Imported from mainline sources.
7343
7344         2000-02-07  Nick Clifton  <nickc@cygnus.com>
7345
7346         * config/arm/lib1funcs.asm: Merge in thumb functions from
7347         lib1thumb.asm.
7348
7349         * config/arm/lib1thumb.asm: Delete.
7350
7351         2000-02-04  Nick Clifton  <nickc@cygnus.com>
7352
7353         * config/arm/arm.c: Sychronised with current Red hat local
7354         sources.
7355         * config/arm/arm.h: Ditto.
7356         * config/arm/arm-protos.h: Ditto.
7357
7358         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
7359
7360         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
7361
7362         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
7363         byte stores.
7364
7365         2000-02-02  Nick Clifton  <nickc@cygnus.com>
7366
7367         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
7368
7369         * config/arm/arm.md (epilogue): Fix rtl checking abort because
7370         (return) was emited using an emit_insn() call.
7371
7372         2000-01-31  Nick Clifton  <nickc@cygnus.com>
7373
7374         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
7375         thumb stack frame.
7376         (thumb_exit): Move frame pointer back into hard frame pointer
7377         register if backtracing is being used.
7378
7379         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
7380
7381         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
7382         into branch.
7383
7384         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
7385
7386         * config/arm/arm.md (neg_pool_offset): Provide default for new
7387         attribute.
7388         (arm_movsi_insn): Add neg_pool_offset attribute.
7389         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
7390         rtx for the insn that starts the scan and an unsigned long for its
7391         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
7392         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
7393         instructions in *PINSERTED.
7394         (struct minipool_fixup): Add MIN_ADDRESS elt.
7395         (sort_fixups): Compute it.
7396         (arm_reorg): Changes to support inserting pools before the insn to be
7397         fixed up.
7398
7399         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
7400
7401         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
7402         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
7403         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
7404
7405         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
7406
7407         * config/arm/semi.h (TARGET_VERSION): Do not define if already
7408         defined.
7409         (TARGET_DEFAULT): Do not define if already defined.
7410
7411         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
7412
7413         * config/arm/arm.md (anddi3): Allow disjoint source operands.
7414         (iordi3): Allow disjoint source operands.
7415         (xordi3): Allow disjoint source operands.
7416         (negdi2): Permit construction for ARM and Thumb.
7417         (arm_negdi2): Renamed version of old negdi2 pattern.
7418         (thumb_negdi2): New pattern: Only permit non-overlapping
7419         source and destination.
7420
7421         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
7422
7423         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
7424         scratch low register so that it will not be deleted.
7425
7426         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
7427
7428         * config/arm/pe.h (ARM_PE): Define.
7429
7430         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
7431         interfacearm attribute if this is a PE toolchain.
7432         (output_return_instruction): Do not emit anything if the function
7433         has the naked attribute set.
7434         (is_called_in_ARM_mode): If the function has the interfacearm
7435         attribute then return true.
7436         (thumb_expand_prologue): Do not generate a prologue for naked
7437         functions.
7438         (thumb_expand_epilogue): Do not generate an epilogie for a naked
7439         function.
7440         (output_thumb_prologue): Do not bother if the function is naked.
7441         Strip PE encoding from function name before emitting.
7442
7443         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
7444
7445         * arm.md (pic_load_addr): Fix constraints.
7446
7447         * arm.md (casesi_insn): Fix mis-applied patch.
7448
7449         * arm.md ("core" function unit): Add rules for single- and
7450         multi-cycle insns.
7451         (All TARGET_THUMB patterns): Add "type" attribute information
7452         where needed.
7453         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
7454         the following insn is a CALL.
7455
7456         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
7457         pointer.
7458         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
7459         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
7460         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
7461
7462         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
7463
7464         * config/arm/linux-gas.h: oops - this file was missed out when the
7465         branch was created...
7466
7467         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
7468
7469         * thumb.c: Deleted.  Move contents to ...
7470         * arm.c: ... here.
7471         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
7472         rule for thumb.o
7473         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
7474         * configure: Regen.
7475
7476         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
7477         declare a prototype for asm_output_align();
7478
7479         * arm.c (thumb_condition_code): Delete.
7480         (arm_print_operand): Always use arm_condition_code array.
7481
7482         * arm.c (thumb_return_addr_rtx): Delete.
7483         (arm_save_machine_status, arm_restore_machine_status): Delete.
7484         (arm_init_machine_status, arm_mark_machine_status): New functions.
7485         (arm_init_expanders): Update accordingly.
7486         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
7487         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
7488         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
7489
7490         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
7491
7492         * configure.in : Fix arm-*-aout target to use new t-arm-aout
7493         script.
7494         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
7495         targets.
7496
7497         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
7498
7499         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
7500         stack backtrace structure.
7501
7502         * config/arm/arm-protos.h: Add prototypes for functions defined in
7503         arm/pe.h.
7504
7505         * config/arm/arm.c (arm_override_options): Fix selection of
7506         attributes of default processor.
7507
7508         * config/arm/coff.h: Delete needless #include.
7509
7510         * config/arm/pe.c: Delete unused code.
7511
7512         * config/arm/pe.h (CPP_DEFINES): Delete
7513         (SUBTARGET_CPP_SPEC): Define.
7514         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
7515
7516         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
7517
7518         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
7519
7520         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
7521         updated.
7522         (CAN_DEBUG_WITHOUT_FP): Define.
7523         (FIXED_REGISTERS): Make r11 call-saved.
7524         (CALL_USED_REGISTERS): Likewise.
7525         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
7526         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
7527         frame-pointer is required.
7528         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
7529         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
7530         if the target normally needs a stack frame in non-leaf functions.
7531         (use_return_insn): Correct logic for determining when a return
7532         instruction can be used.
7533         (output_return_instruction): Handle the frame-pointer register as
7534         a normal register when not TARGET_APCS_FRAME.
7535         (arm_output_prologue): Likewise.
7536         (arm_output_epilogue): Likewise.
7537         (output_func_epilogue): Likewise.
7538         (arm_expand_prologue): Likewise.
7539         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
7540
7541         * arm.c (use_return_insn): No need to check floating point regs if
7542         TARGET_SOFT_FLOAT.
7543         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
7544         the code of value stored in the minipool array.
7545         (arm_add_minipool_constant): Likewise.
7546
7547 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7548
7549         * basic-block.h (conflict_graph_enum_fn): K&R fix.
7550
7551 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7552
7553         * tree.c (tree_expr_nonnegative_p): New function.
7554
7555         * tree.h (tree_expr_nonnegative_p): Declare.
7556
7557         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
7558         elide some sign_compare warnings.
7559         (build_conditional_expr): Likewise.
7560
7561 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
7562
7563         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
7564
7565         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
7566         * i386.c (print_operand): Use the proper suffix for a 387 HImode
7567         operand.  Abort if a 387 operand has an unsupported size.
7568
7569 2000-04-08  Neil Booth  <NeilB@earthling.net>
7570
7571         * cppexp.c (parse_charconst): Null does not end character
7572         constants.
7573         * cppinit.c (ISTABLE): Null character handled as whitespace.
7574         * cpplex.c (null_warning):  new function.
7575         (skip_string): Emit warning if nulls encountered.
7576         (_cpp_skip_hspace): Emit warning if nulls encountered.
7577         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
7578         them.
7579         * cpp.texi: Update.
7580
7581 2000-04-07  Richard Henderson  <rth@cygnus.com>
7582
7583         * flow.c (loop_depth): Remove.
7584         (reg_next_use, cc0_live, mem_set_list): Replace with ...
7585         (struct propagate_block_info): New.
7586         (life_analysis): Don't allocate reg_next_use.
7587         (propagate_block_delete_insn): Break out of propagate_block.
7588         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
7589         (propagate_block_delete_libcall): Likewise.
7590         (propagate_block): Create a propagate_block_info struct to pass
7591         to subroutines.  Allocate one not two temporary regsets.  Don't
7592         clobber memory for const calls.  Look for clobbers in
7593         CALL_INSN_FUNCTION_USAGE.
7594         (mark_set_regs): Recognize COND_EXEC.
7595         (mark_set_reg): Break out of mark_set_1.
7596         (mark_used_reg): Break out of mark_used_regs.
7597         (mark_used_regs): Recognize COND_EXEC.
7598         (insn_dead_p): Use propagate_block_info struct.
7599         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
7600         (find_auto_inc, try_pre_increment_1): Likewise.
7601         (print_rtl_with_bb): Dump regs live at end too.
7602         (count_reg_sets_1): Pass in loop_depth.
7603         (count_reg_sets, count_reg_references): Likewise.
7604         (recompute_reg_usage): Provide it.
7605
7606 2000-04-07  Richard Henderson  <rth@cygnus.com>
7607
7608         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
7609         not the raw files.
7610
7611 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
7612
7613         * cpplib.c (do_elif): Skip the rest of the line if we're
7614         not going to bother evaluating it.
7615         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
7616         to avoid pointless calls to the lexer.
7617
7618 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
7619
7620         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
7621
7622 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
7623
7624         * calls.c (expand_call): emit_queue if we're trying a sibcall.
7625
7626 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
7627
7628         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
7629
7630 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
7631
7632         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
7633         crtend so they can be multilibbed.
7634         (STAGESTUFF): Remove s-crt and s-crtS.
7635
7636 2000-04-07  Richard Henderson  <rth@cygnus.com>
7637
7638         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
7639         if we discover we need a pseudo and no_new_pseudos is true.
7640         * config/alpha/alpha.md (ne:DI insn): New.
7641         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
7642
7643 2000-04-07  Richard Henderson  <rth@cygnus.com>
7644
7645         * rtl.def (COND_EXEC): New.
7646         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
7647         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
7648
7649         * genconfig.c (have_cond_arith_flag): Remove.
7650         (have_cond_exec_flag): New.
7651         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
7652         (main): Print HAVE_conditional_execution.
7653
7654         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
7655         (sched_analyze_insn, print_pattern): Likewise.
7656         * reload.c (find_equiv_reg): Likewise.
7657         * rtlanal.c (reg_referenced_p): Likewise.
7658         (note_stores, dead_or_set_regno_p): Likewise.
7659         (reg_overlap_mentioned_p): Rewrite to use a switch.
7660
7661         * ggc.h (struct rtx_def): Forward declare.
7662
7663         * print-rtl.c (debug_rtx_range): New.
7664         * rtl.h (debug_rtx_range): Declare.
7665
7666         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
7667
7668         * gcse.c (gcse_main): Don't rebuild the CFG here.
7669         (delete_null_pointer_checks): Likewise.
7670         * ssa.c (convert_to_ssa): Likewise.
7671         * toplev.c (rest_of_compilation): Do it here instead.  Combine
7672         sequential calls to TIMEVAR.  Consistently use `insns' instead of
7673         `get_insns()'.  Always split insns after reload when optimizing.
7674
7675         * basic-block.h (merge_blocks_nomove): Declare.
7676         (tidy_fallthru_edge): Declare.
7677         * flow.c (merge_blocks_nomove): Document as merging into previous
7678         blocks.  Remove cruft from between blocks; remove all edges out of A.
7679         (tidy_fallthru_edge): Export.
7680
7681 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
7682
7683         * ssa.c (compute_conservative_reg_partition): Declare with
7684         void arguments.
7685         * toplev.c (clean_dump_file): Remove previously-deleted function
7686         inadvertantly merged back in.
7687         * conflict.c (conflict_graph_add): Use a single call to
7688         htab_find_slot to look up and insert.
7689
7690 2000-04-06  Richard Henderson  <rth@cygnus.com>
7691
7692         * genrecog.c (*): Rename _last_insn to last_insn.
7693         (make_insn_sequence): Set the position of the peephole2 C test
7694         to be at the last insn.
7695
7696 2000-04-06  Richard Henderson  <rth@cygnus.com>
7697
7698         * flow.c (compute_flow_dominators): Free worklist.
7699
7700 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
7701
7702         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
7703
7704 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
7705
7706         * rtl.h (INSN_P): New macro.
7707         (successor_phi_fn): New typedef.
7708         (for_each_successor_phi): New prototype.
7709         (in_ssa_form): New variable.
7710         (PHI_NODE_P): Likewise.
7711         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
7712         phi nodes in successors.
7713         (mark_used_regs): Add PHI case.
7714         (set_phi_alternative_reg): New function.
7715         (life_analysis): Assert that dead code elimination is not selected
7716         when in SSA form.
7717         * toplev.c (to_ssa_time): New variable.
7718         (from_ssa_time): Likewise.
7719         (compile_file): Zero to_ssa_time and from_ssa_time.
7720         Print time to convert to and from SSA.
7721         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
7722         (print_time): Compute percent fraction as integer.
7723         * ssa.c (PHI_NODE_P): Moved to rtl.h.
7724         (convert_to_ssa): Check if we're already in SSA.
7725         Don't eliminate dead code in life_analysis.
7726         Rerun flow and life analysis at bottom.
7727         (eliminate_phi): Use canonical regnos when adding nodes.
7728         (mark_reg_in_phi): New function.
7729         (mark_phi_and_copy_regs): Likewise.
7730         (convert_from_ssa): Rerun life analysis at top.
7731         Use coalesced partition.
7732         Check for removing a phi node at the end of the block.
7733         (compute_coalesced_reg_partition): New function.
7734         (coalesce_regs_in_copies): Likewise.
7735         (coalesce_reg_in_phi): Likewise.
7736         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
7737         (for_each_successor_phi): Likewise.
7738         (rename_context): New struct.
7739         (rename_block): Use a rename_context with rename_insn_1.  When
7740         renaming sets of a subreg, emit a copy of the entire reg first.
7741         (rename_insn_1): Treat data as a rename_context *.  Save current
7742         insn in set_data.
7743         (rename_set_data): Add field set_insn.
7744         * Makefile.in (HASHTAB_H): Move up in file.
7745         (OBSTACK_H): New macro.
7746         (collect2.o): Use OBSTACK_H in dependencies.
7747         (sdbout.o): Likewise.
7748         (emit-rtl.o): Likewise.
7749         (simplify-rtx.o): Likewise.
7750         (fix-header.o): Likewise.
7751         (OBJS): Add conflict.o.
7752         (conflict.o): New rule.
7753         * basic-block.h: Include partition.h.
7754         (conflict_graph): New typedef.
7755         (conflict_graph_enum_fn): Likewise.
7756         (conflict_graph_new): New prototype.
7757         (conflict_graph_delete): Likewise.
7758         (conflict_graph_add): Likewise.
7759         (conflict_graph_conflict_p): Likewise.
7760         (conflict_graph_enum): Likewise.
7761         (conflict_graph_merge_regs): Likewise.
7762         (conflict_graph_print): Likewise.
7763         (conflict_graph_compute): Likewise.
7764         * conflict.c: New file.
7765
7766 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
7767
7768         * tlink.c (read_repo_files): Don't look for .rpo info for
7769         linker flags.
7770
7771 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7772
7773         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
7774
7775 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7776
7777         * config/sh/lib1funcs.asm (___udivsi3_i4):
7778         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
7779         only depends on FMOVD_WORKS.
7780
7781 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7782
7783         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
7784         make double constant 8-byte aligned.
7785
7786 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
7787
7788         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
7789         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
7790         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
7791         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
7792         Accept storing GENERAL_REGS into offsetable memory.
7793         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
7794         building a TFmode constant other than 0.0L into GENERAL_REGS.
7795
7796 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
7797
7798         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
7799
7800 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
7801
7802         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
7803         (macro_cleanup): No need to cast pbuf->macro.
7804         (collect_expansion): Use _cpp_get_define_token.  Goto done if
7805         it returns VSPACE.  Remove check for trailing space after
7806         CPP_COMMENT.
7807         (_cpp_create_definition): Don't diddle flags here.  Return
7808         directly on error.
7809         (unsafe_chars): Handle c1 being EOF.
7810         (push_macro_expansion): Use unsafe_chars for both accidental-paste
7811         checks.  Don't push the buffer till after we're done with
7812         them.
7813         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
7814         (PEEKN, FORWARD, GETC, PEEKC): Use them.
7815         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
7816         appropriately.
7817         (_cpp_parse_assertion): Don't NUL terminate.
7818         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
7819         hspace before calling _cpp_parse_assertion.  Remove all sets
7820         of only_seen_white. Treat '\f' as hspace.  Don't do anything
7821         special with '\n' here.
7822         (maybe_macroexpand): Handle T_EMPTY hash entries without
7823         pushing a buffer at all.
7824         (cpp_get_token): Handle clearing only_seen_white here.  Handle
7825         incrementing the line number here.  Clear
7826         potential_control_macro as well as only_seen_white, if
7827         appropriate.
7828         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
7829         (_cpp_get_define_token): New function, basically like
7830         _cpp_get_directive_token was but doesn't eat horizontal space.
7831         Don't do anything with only_seen_white here.
7832         (_cpp_get_directive_token): Just call _cpp_get_define_token
7833         repeatedly till it returns non-hspace.
7834
7835         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
7836         (conditional_skip, skip_if_group): Return int.
7837         (DIRECTIVE_TABLE): Change origin of all conditional directives
7838         to "COND".
7839         (TRAD_DIRECT_P): New macro.
7840         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
7841         an error for a bogus directive, unless -lang-asm.  Use
7842         TRAD_DIRECT_P. Loop calling handler functions till one returns
7843         zero.
7844         (get_macro_name): Don't diddle flags here.
7845         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
7846         Create T_EMPTY nodes for #define macro /* nothing */.
7847         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
7848         Use hp->name when calling pass_thru_directive.
7849         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
7850         Return the result of conditional_skip and/or skip_if_group.
7851         Don't call _cpp_output_line_command.
7852         (consider_directive_while_skipping): Use _cpp_get_directive_token.
7853         Issue -Wtraditional warnings as appropriate.  Don't complain
7854         about unrecognized directives.  If we are to stop skipping,
7855         return the number of the directive that ended the skip.
7856         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
7857         expansion and line commands while skipping.  Return the result
7858         of consider_directive_while_skipping, if nonzero.
7859         (do_endif): Just set potential_control_macro here.
7860         (validate_else): Use _cpp_get_directive_token.
7861         (do_assert, do_unassert): Don't save pointers into the
7862         token_buffer across calls to the lexer.  Use
7863         _cpp_get_directive_token.
7864
7865         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
7866         pointer, not an offset.  Replace 'data', which was a generic
7867         pointer, with 'macro', which points to a struct hashnode.
7868         (cpp_reader): Add 'potential_control_macro' pointer.
7869         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
7870         (CPP_BUF_GET, CPP_FORWARD): Delete.
7871         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
7872         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
7873         ACTIVE_MARK_P): Update.
7874         (_cpp_get_define_token): New internal function.
7875         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
7876
7877 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
7878
7879         * configure.in: And here.
7880         * configure: Regenerate.
7881         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
7882         --enable-libstdcxx-v3 is passed at configure time.
7883         * config.h.in: Regenerate.
7884
7885 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
7886
7887         * final.c (final): Use xcalloc to allocate line_note_exists.
7888         * function.c (free_after_compilation): Free the temp_slots.
7889         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
7890         (combine_temp_slot): Free temp_slots when they get combined.
7891         (purge_addressof): Fix typo in comment.
7892         * stmt.c (mark_goto_fixup): Mark the fixup itself.
7893         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
7894
7895         * ggc.h: Include varray.h.
7896         (ggc_pending_trees): Declare.
7897         (ggc_mark_tree_children): Remove declaration.
7898         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
7899         * ggc-common.c (ggc_pending_trees): New variable.
7900         (ggc_mark_roots): Call ggc_mark_trees.
7901         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
7902         the ggc_pending_trees.
7903         * Makefile.in (GGC_H): New variable.  Use it throughout in place
7904         of ggc.h.
7905
7906 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7907
7908         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
7909         GET_MODE_SIZE.
7910
7911 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7912
7913         * sh.c (sh_insn_length_adjustment): New function.
7914         * sh-protos.h (sh_insn_length_adjustment): Declare.
7915         * sh.h (ADJUST_INSN_LENGTH): Use it.
7916
7917 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
7918
7919         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
7920         from the insn where REG_RETVAL is added.
7921         (emit_no_conflict_block): Ditto.
7922
7923         * md.texi (Standard Names): Clarify when movX is needed.
7924
7925         * combine.c (simplify_comparison) [MINUS]: Do not replace
7926         all (op (minus A B) 0) with (op A B).
7927
7928 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
7929                           J"orn Rennecke <amylaar@cygnus.co.uk>
7930
7931         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
7932         (block_lump_real): Likewise.
7933
7934 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
7935
7936         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
7937         remaining non-zero debugging masks.
7938
7939 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
7940
7941         * basic-block.h (verify_flow_info): Declare.
7942         (flow_loop_outside_edge_p): Declare.
7943         * flow.c (verify_flow_info): Remove declaration.
7944         (clear_log_links, flow_loop_outside_edge_p): Likewise.
7945
7946 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
7947
7948         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
7949         not C++ comments.
7950
7951 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
7952
7953         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
7954         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
7955         seqdi_zero_trunc+1): Allow splits only if registers are
7956         different.
7957
7958 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
7959
7960         * acconfig.h: Add HAVE_GAS_HIDDEN.
7961         * config.in: Regenerated.
7962         * configure.in: Add test for .hidden pseudo-op in gas.
7963         * configure: Regenerated.
7964         * crtstuff.c: Include auto-host.h.
7965         Emit additional .hidden pseudo-op for __dso_handle if the
7966         assembler knows about it.
7967
7968 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
7969
7970         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
7971         before freeing argnames.
7972         * cpplib.c (do_ifndef): Cast return value of xstrdup.
7973
7974 2000-04-05  Michael Meissner  <meissner@redhat.com>
7975
7976         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
7977         Walton <jonboy@gordian.com> to make memory references with update
7978         work wtih -mregnames.
7979
7980 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7981
7982         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
7983         (regrename_optimize): Rename variables `def_uses' and
7984         `ext_basic_blocks' to avoid conflicts with similarly named
7985         typedefs in traditional C.
7986
7987         * calls.c (initialize_argument_information): Fix typo in previous
7988         change.
7989
7990 2000-04-04  Richard Henderson  <rth@cygnus.com>
7991
7992         * regrename.c (consider_available): Test fixed_regs not
7993         PIC_OFFSET_TABLE_REGNUM.
7994
7995 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
7996
7997         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
7998         crtend.
7999         (CRTSTUFF_T_CFLAGS_S): Delete definition.
8000         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
8001         (ENDFILE_LINUX_SPEC): Always use crtend.
8002         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
8003         (powerpc-*-linux-gnu): Likewise.
8004         * configure: Regenerate.
8005
8006         * config/rs6000/eabi.h: Don't include sysv4.h.
8007         (MULTILIB_DEFAULTS): Don't define.
8008         * config/rs6000/eabiaix.h: Don't include eabi.h.
8009         * config/rs6000/eabile.h: Delete.
8010         * config/rs6000/eabilesim.h: Delete.
8011         * config/rs6000/eabisim.h: Don't include eabi.h.
8012         * config/rs6000/linux.h: Don't include sysv4.h.
8013         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
8014         (MULTILIB_DEFAULTS): Don't redefine.
8015         * config/rs6000/rtems.h: Don't include eabi.h.
8016         * config/rs6000/sol2.h: Don't include sysv4le.h.
8017         * config/rs6000/sysv4le.h: Don't include sysv4.h.
8018         * config/rs6000/t-ppc: Delete.
8019         * config/rs6000/t-ppcgas: Correct comment.
8020         * config/rs6000/t-ppcos: Correct comment.  Don't build
8021         multilibs for -fPIC, rather use -fPIC -mstrict-align
8022         as default.
8023         * config/rs6000/t-ppc: Delete.
8024         * config/rs6000/vxppc.h: Don't include sysv4.h.
8025         * config/rs6000/vxppcle.h: Delete.
8026         * configure.in: Use multiple header files for p2pc ELF targets
8027         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
8028         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
8029         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
8030         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
8031         always available for these platforms.
8032
8033 2000-04-04  Richard Henderson  <rth@cygnus.com>
8034
8035         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
8036
8037 2000-04-04  Stan Cox  <scox@cygnus.com>
8038
8039         * Makefile.in: Add rules for regrename.o
8040         * regrename.c: New file.
8041         * rtl.h (regrename_optimize): Add prototype.
8042         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
8043         (compile_file, decode_d_option): Add support for -frename-registers.
8044         (rest_of_compilation): Call regrename_optimize.
8045         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
8046         New macros.
8047
8048 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8049
8050         * Makefile (gccbug): New target.
8051         (doc): Depend on it.
8052         * gcc.texi (Bugs): Link subnodes.
8053         (gccbug): New node.
8054         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
8055         Document severities, priorities, and classes in bug form.
8056
8057 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
8058
8059         * cpplex.c (trigraph_map, speccase): Combine into single
8060         table, chartab.
8061         (NORMAL, NONTRI): New macros.
8062         (_cpp_read_and_prescan): Change to use unified table.  Use
8063         is_hspace to test for whitespace.
8064
8065         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
8066         definition that doesn't provoke the "empty body in an
8067         if-statement" warning.
8068
8069 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
8070
8071         * builtins.c (expand_builtin_strlen): Force the source to
8072         be a memory address.
8073
8074 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8075
8076         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
8077
8078 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8079
8080         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
8081          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
8082         (ECF_IS_CONST): Rename to ECF_CONST.
8083         (special_function_p): Make static, change interface.
8084         (flags_from_decl_or_type, try_to_integrate): Break out from ...
8085         (expand_call) ... here; convert number of variables to flags.
8086         (emit_library_call_vlue_1): Likewise.
8087         (setjmp_call_p): New function.
8088         (initialize_argument_information): Accepts flags as argument;
8089         return flags.
8090         (precompute_arguments): Likewise.
8091         * tree.h (special_function_p): Remove.
8092         (setjmp_call_p): Add prototype.
8093
8094 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
8095
8096         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
8097         so that addresses are offsetable by up to 16 bytes.
8098         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
8099         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
8100         offsetable.
8101
8102         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
8103         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
8104         (movsf): Don't force any constant to memory if target is integer
8105         hard register.
8106         Move fp_zero_operand check below the const0_rtx check.
8107         (movtf): Likewise. Also allow fp_zero_operand for stores into
8108         memory.
8109         (movdf): Likewise. Also allow fp_zero_operand for stores into
8110         memory and into integer hard registers.
8111         (clear_df, clear_dfp, movdf_const_intreg_sp32,
8112         movdf_const_intreg_sp64): Remove.
8113         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
8114         conditions.
8115         (movdf_no_e_insn_v9_sp32): New pattern.
8116         (movdf_insn_v9only): Remove.
8117         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
8118         (movdf_insn_sp64): Remove.
8119         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
8120         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
8121         (following splits): Rewrite conditions. Add two new splits
8122         for storing 0.0 into memory and registers.
8123         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
8124         (movtf_insn_sp32): Redo constraints and conditions.
8125         (movtf_insn_vis_sp32): New pattern.
8126         (movtf_no_e_insn_sp32): Redo constraints and conditions.
8127         (movtf_insn_hq_sp64): Likewise.
8128         (movtf_insn_hq_vis_sp64): New pattern.
8129         (movtf_insn_sp64): Redo constraints and conditions.
8130         (movtf_insn_vis_sp64): New pattern.
8131         (movtf_no_e_insn_sp64): Redo constraints and conditions.
8132         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
8133         or memory.
8134         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
8135         -mvis or -m64 to take down the number of various reload patterns.
8136
8137 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
8138
8139         * pa/pa-64.h: New file.
8140         * pa/pa64-regs.h: New file.
8141         * pa/pa64-start.h: New file.
8142         * pa/t-pa64: New file.
8143         * pa/xm-pa64hpux.h: New file.
8144
8145 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8146
8147         * sparc.c (output_restore_regs): Prototype.
8148         (sparc_emit_float_lib_cmp): Constification.
8149
8150         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
8151
8152         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
8153         Prototype.
8154
8155         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
8156         (get_value_hash, hash_rtx): Likewise.
8157
8158         * ssa.c (compute_conservative_reg_partition): Prototype.
8159
8160         * tree.c (mark_hash_entry): Prototype.
8161
8162 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
8163
8164         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
8165         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
8166         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
8167
8168         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
8169         * objc/lang-specs.h: Likewise.
8170
8171 2000-04-03  Neil Booth  <NeilB@earthling.net>
8172
8173         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
8174         and SYNTAX_ERROR2. Replace `' in messages with ''.
8175         (op_to_str): Make re-entrant.
8176         (_cpp_parse_expr): Implement new error macros. Use | rather
8177         than || to logically or 2 boolean integers.  Simply expression
8178         checking we have a left operand iff needed.
8179
8180 2000-04-03  Nick Clifton  <nickc@cygnus.com>
8181
8182         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
8183
8184 2000-04-03  Philip Blundell  <philb@gnu.org>
8185
8186         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
8187
8188 2000-04-03  Felix Lee  <flee@cygnus.com>
8189
8190         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
8191         (run_shell): Use it.
8192
8193 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
8194
8195         * Makefile.in (stmp-int-hdrs): Make include subdir here...
8196         (stmp-fixproto): ...rather than here.
8197
8198 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
8199
8200         * pa.c (print_operand): Compute 'base' only inside the code paths
8201         that use it.
8202
8203 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
8204
8205         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
8206         CEIL_DIV_EXPR.
8207
8208 2000-04-03  Philipp Thomas  <pthomas@suse.de>
8209
8210         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
8211
8212 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
8213
8214         * Makefile.in (alias.o): Depend on $(TREE_H).
8215
8216 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
8217
8218         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
8219         processing C++.
8220         * cpplib.c (_cpp_handle_directive): Improve warnings for
8221         traditional C and indented directives.
8222
8223         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
8224         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
8225         fixinc/inclhack.def: Indent the # of #include_next one space.
8226         * cp/rtti.c: Un-indent #if and #endif.
8227
8228         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
8229         syntax error, but an error has already been printed.
8230         * cpplex.c (_cpp_parse_assertion): Give a more specific error
8231         message when called with nothing remaining on the line.
8232         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
8233         OTHER token, not an ASSERTION.
8234         * cpplib.c (do_assert): When we create a 'base' node, clear
8235         its aschain pointer.
8236
8237 2000-04-02  Neil Booth <NeilB@earthling.net>
8238
8239         * cppexp.c:  New typedef op_t.  struct operation and struct
8240         token updated to use it.
8241         (op_to_str): New function.
8242         (_cpp_parse_expr): Error messages modified to use op_to_str.
8243
8244 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8245
8246         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
8247         before checking MUST_PASS_IN_STACK.
8248
8249 2000-04-02  Neil Booth <NeilB@earthling.net>
8250
8251         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
8252         flags and initial priority into a single constant.  New
8253         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
8254         (_parse_cpp_expr): Implement new constants.  Take left operand
8255         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
8256         parse indicated by reducing FINISHED token.  Remove new lines
8257         from cpp_error messages.
8258
8259 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
8260
8261         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
8262         permanent obstack.
8263
8264 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
8265
8266         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
8267         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
8268         the strings and function names on the fly.  Take the #sccs
8269         entry out of the table if SCCS_DIRECTIVE is not defined.
8270         (_cpp_handle_directive): Decide if the # was at the beginning
8271         of the line here.  Issue -pedantic warnings for extended
8272         directives here.  Warn about K+R directives with the #
8273         indented, and C89/extended directives with the # not indented,
8274         here.
8275         (do_import, do_include_next, do_warning, do_ident, do_sccs,
8276         do_assert, do_unassert): Don't issue pedantic warning here.
8277
8278         * cpphash.h: Add CPP_WTRADITIONAL macro.
8279         * cpplib.h (struct cpp_options): Rename warn_stringify to
8280         warn_traditional; update comments.
8281         * cppinit.c (handle_option): Set warn_traditional not
8282         warn_stringify.
8283         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
8284         CPP_WTRADITIONAL (pfile).
8285         * cpplex.c (_cpp_lex_token): Don't decide if directives should
8286         be ignored in -traditional mode here.
8287
8288         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
8289         to initialize speccase[] and trigraph_map[].  Delete all
8290         references to pfile->input_speccase.  Always treat '?' as a
8291         special character.  Remove table-initialization code from
8292         _cpp_init_input_buffer.
8293
8294         * cpplib.h (struct cpp_reader): Remove input_speccase field.
8295         * cppinit.c (cpp_cleanup): Don't free input_speccase.
8296
8297 2000-04-01  Richard Henderson  <rth@cygnus.com>
8298
8299         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
8300         (mostlyclean): Likewise.
8301
8302         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
8303         (struct dump_file_info, enum dump_file_index, dump_file): New.
8304         (open_dump_file): Take a dump_file_index not a suffix, and a decl
8305         not a string.  Clean out file if we havn't yet done so.  Do nothing
8306         if the dump isn't enabled.
8307         (close_dump_file): Do nothing if the dump isn't open.  Dump
8308         graph data if requested.
8309         (dump_rtl, clean_dump_file): Remove.
8310         (compile_file): Don't clean the dump files.  Only finalize .bp dump
8311         if flag_test_coverage or flag_branch_probabilities.  Only finalize
8312         .combine dump if optimizing.  Iterate over dump_file to finalize the
8313         graph dumps.
8314         (rest_of_compilation): Update for open_dump_file/close_dump_file.
8315         Convert all uses of dump_rtl.
8316         (decode_d_option): Iterate over dump_file to implement 'a' and to
8317         locate pass-specific dumps.
8318
8319 2000-04-01  Neil Booth <NeilB@earthling.net>
8320
8321         * cppexp.c: Redefine priority constants.
8322         (_cpp_parse_expr): Replace left and right priority scheme with
8323         single priority logic.  Move LOGICAL to same place as COMPARE.
8324         Remove bogus check for multiple unary +/- operators.
8325
8326 2000-04-01  Neil Booth <NeilB@earthling.net>
8327
8328         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
8329         within the switch statement.  Binary operations break out of
8330         the switch naturally.  '(' tokens handled by forcing
8331         immediate shift.  ')' handled by forcing immediate reduce to
8332         the previous '('.  New error messages.
8333
8334 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
8335
8336         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
8337         part', it's already in use.  Use %K instead.  Add a return at the
8338         end of what is now %K.
8339         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
8340
8341 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8342
8343         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
8344         allocate_dynamic_stack_space.
8345         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
8346         update stack_pointer_delta; do not update arg_size_so_far.
8347         (compute_argument_block_size): Use stack_delta instead of
8348         stack_pointer_pending and arg_size_so_far.
8349         (expand_call): Add sanity checking for stack_pointer_delta;
8350         save and restore stack_pointer_delta for SIB, use
8351         stack_pointer_delta for alignment; do not update arg_space_so_far.
8352         (emit_library_call_value): Use stack_pointer_delta for alignment.
8353         (store_one_arg): Do not update arg_space_so_far.
8354         * explow.c (adjust_stack, anti_adjust_stack): Update
8355         stack_pointer_delta.
8356         (allocate_dynamic_stack_space): Add sanity checking for
8357         stack_pointer_delta.
8358         * expr.c (init_expr, clear_pending_stack_adjust): Clear
8359         stack_pointer_delta.
8360         (emit_push_insn): Update stack_pointer_delta.
8361         * function.h (struct expr_status): Add x_stack_pointer_delta;
8362         remove x_arg_space_so_far.
8363         (arg_space_so_far): Remove.
8364         (stack_pointer_delta): New macro.
8365
8366 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
8367
8368         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
8369         Reorder struct cpp_options and struct cpp_reader for better
8370         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
8371         takes two args.  Change all 'char' flags to 'unsigned char'.
8372         Move show_column flag into struct cpp_options.  Don't
8373         prototype cpp_options_init.
8374         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
8375         cppinit.c, cpplex.c, cpplib.c:
8376         Replace CPP_OPTIONS (pfile)->whatever with
8377         CPP_OPTION (pfile, whatever), and likewise for
8378         opts = CPP_OPTIONS (pfile); ... opts->whatever;
8379
8380         * cppinit.c (merge_include_chains): Take a cpp_reader *.
8381         Extract CPP_OPTION (pfile, pending) and work with that
8382         directly.
8383         (cpp_options_init): Delete.
8384         (cpp_reader_init): Turn on on-by-default options here.
8385         Allocate the pending structure here.
8386         (cl_options, enum opt_code): Define these from the same table,
8387         kept in a large macro.  Add -fshow-column and -fno-show-column
8388         options.
8389
8390         * cpperror.c (v_message): If show_column is off, don't print
8391         the column number.
8392
8393         * cppmain.c: Update for new interface.
8394         * fix-header.c: Likewise.
8395
8396 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
8397
8398         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
8399         definition.
8400         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
8401         are passed to any invocation of AR_FOR_TARGET.
8402         (AR_CREATE_FOR_TARGET): New macro.
8403         (AR_EXTRACT_FOR_TARGET): New macro.
8404         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
8405         AR_EXTRACT_FOR_TARGET.
8406         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
8407         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
8408         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
8409         AR_EXTRACT_FOR_TARGET to sub-makes.
8410
8411 2000-03-31  Neil Booth <NeilB@earthling.net>
8412
8413         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
8414         PAREN_INNER_PRIO.
8415         (_cpp_parse_expr): Check for multiple unary +/- operators.
8416         Correct priorities of ':' and '?'.  Treat ')' as having a
8417         value.  Ensure conditional expression is not void.
8418
8419 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
8420
8421         * alias.c (canon_rtx): Make it global.
8422         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
8423         equality.
8424         * cse.c (struct table_elt): Add canon_exp.
8425         (insert): Clear it.
8426         (invalidate): Canonicalize expressions only once.
8427         * rtl.h (canon_rtx): Declare.
8428
8429 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
8430
8431         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
8432         * alias.c (reg_known_value): Add comments.
8433         (init_alias_analysis): Likewise.
8434         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
8435         address.
8436         (cse_basic_block): Fix typo in comment.
8437         * emit-rtl.c: Include hashtab.h.
8438         (const_int_htab): New variable.
8439         (const_int_htab_hash): New function.
8440         (const_int_htab_eq): Likewise.
8441         (rtx_htab_mark_1): Likewise.
8442         (rtx_htab_mark): Likewise.
8443         (gen_rtx_CONST_INT): Cache all CONST_INTs.
8444         (unshare_all_rtx): Fix formatting.
8445         (init_emit_once): Initialize const_int_htab.
8446         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
8447         address.
8448         * rtl.texi: Document the fact that all CONST_INTs with the same
8449         value are shared.
8450
8451 2000-03-30  Richard Henderson  <rth@cygnus.com>
8452
8453         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
8454
8455 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
8456
8457         * configure.in: Comment out --enable-c-cpplib stanza.
8458         * configure: Regenerate.
8459
8460 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8461
8462         * expr.c (store_constructor): Properly compute displacement and
8463         alignment when offset is variable.
8464
8465         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
8466         cases of alignment in bytes.
8467
8468 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
8469
8470         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
8471         since it is used to generate c-parse.y.
8472         * objc-parse.c, objc-parse.y: Regenerated.
8473
8474         * function.c (expand_function_end): Pass alignment argument to
8475         emit_block_move in bits, not bytes.
8476
8477 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8478
8479         * expr.c (move_by_pieces_ninsns): Fix one more missing align
8480         correction.
8481
8482         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
8483
8484         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
8485         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
8486         * function.c (assign_parms): Likewise.
8487         * integrate.c (expand_inline_function): Likewise.
8488         * stmt.c (expand_decl): Likewise.
8489         (copy_rtx_and_substitute): Likewise.
8490         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
8491         (clear_by_pieces): Fix error in last change.
8492         * emit-rtl.c (init_emit): Set known registers alignment in bits.
8493         * function.h (regno_pointer_align): Now unsigned.
8494         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
8495         is in bits.
8496         * config/i386/i386.c (aligned_operand): Likewise.
8497         * config/sparc/sparc.c (mem_min_alignment): Likewise.
8498         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
8499         (unaligned_memory_operand): Likewise.
8500         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
8501         Also make alignments and sizes unsigned and some whitespace cleanup.
8502         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
8503
8504         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
8505         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
8506         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
8507         (expand_builtin_memset): Likewise, but to clear_storage.
8508         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
8509         (restore_fixed_argument_area): Likewise.
8510         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
8511         (load_register_parameters): Likewise, to emit_group_load.
8512         (expand_call): Likewise, to emit_group_store and emit_block_move.
8513         (emit_library_call_value_1): Likewise, to emit_block_move.
8514         (store_one_arg): Likewise, and to emit_push_insn.
8515         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
8516         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
8517         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
8518         (emit_block_move, emit_group_load, emit_group_store): Likewise.
8519         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
8520         (expand_assigment, store_expr, store_constructor_field): Likewise.
8521         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
8522         (store_constructor, store_field, get_inner_reference): Likewise.
8523         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
8524         (expand_expr, case COMPONENT_REF): Likewise.
8525         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
8526         and positions; reindent code.
8527         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
8528         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
8529         (assign_parms): Likewise to emit_group_store.
8530         * optabs.c (prepare_cmp_insn): Alignment is in bits.
8531         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
8532         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
8533         (expand_return): Likewise to {extract,store}_bit_field.
8534         * stor-layout.c (get_mode_alignment): Minor cleanup.
8535         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
8536         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
8537
8538 2000-03-29  Nick Clifton  <nickc@cygnus.com>
8539
8540         * config/arm/arm.h: Undo effects of previous delta:
8541         (ASM_SPEC): Do not define.
8542         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
8543
8544         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
8545         typo.
8546
8547 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
8548
8549         * cppinit.c (cpp_start_read): Call initialize_dependency_output
8550         only after reading in the primary source file.
8551
8552 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
8553
8554         * c-common.c (c_common_nodes_and_builtins): The first parameter to
8555         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
8556         or a reference to a va_list.
8557         * builtins.c (stabilize_va_list): Simplify now we don't have to
8558         work around C array address decay.
8559         * c-typeck.c (convert_for_assignment): Handle assignment to
8560         a reference parameter by taking the address of the RHS.
8561         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
8562         (va_copy): Likewise.
8563         (__va_copy): Likewise.
8564         * ginclude/varargs.h (va_start): Likewise.
8565         (__va_copy): Likewise.
8566
8567 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
8568
8569         * i386/djgpp.h: Remove extraneous "+".
8570
8571         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
8572
8573         * calls.c (expand_call): Fix typo in last change.
8574
8575 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
8576
8577         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
8578         been expanded.
8579
8580 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8581
8582         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
8583         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
8584         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
8585         * tree.c (bit_position, byte_position): Likewise.
8586         * tree.h: Declare new functions.
8587
8588 2000-03-29  Nick Clifton  <nickc@cygnus.com>
8589
8590         * config/arm/arm.c: Minor formatting changes/
8591         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
8592         already defined.
8593         (ASM_SPEC): Define if not already defined.
8594
8595 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
8596
8597         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
8598         _cpp_calc_hash.
8599
8600 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
8601
8602         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
8603         value, don't output it as unsigned.
8604
8605 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
8606
8607         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
8608
8609 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8610
8611         * c-common.c (c_common_nodes_and_builtins): Don't special case
8612         cplus_mode when declaring builtin bzero/bcmp, always avoid
8613         prototype arguments.
8614
8615 2000-03-29  Bruce Korb  <bkorb@gnu.org>
8616
8617         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
8618         to a non-file
8619
8620 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8621
8622         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
8623         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
8624         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
8625         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
8626         (save_fixed_argument_area, restore_fixed_argument_area):
8627         conditionize by #ifdef REG_PARM_STACK_SPACE only.
8628         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
8629         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
8630         (precompute_register_parameters): Avoid #ifdefs on
8631         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
8632         (stire_one_args): Likewise.
8633         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
8634         (emit_library_call_value_1): Likewise.
8635         (compute_argument_block_size): Align to STACK_BOUNDARY only for
8636         ACCUMULATE_OUTGOING_ARGS.
8637         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
8638         value.
8639         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
8640         (use_crosses_set_p): Likewise.
8641         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
8642         #define ACCUMULATE_OUTGOING_ARGS 1.
8643         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
8644         frames.
8645         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
8646         constants.
8647         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
8648         (TARGET_SWITCHES): Add push-args, no-push-args,
8649         accumulate-outgoing-args and no-accumulate-outgoing-args.
8650         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
8651         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
8652         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
8653         and PUSH_ROUNDING.
8654         (emit_push_insn): Likewise.
8655         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
8656         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
8657         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
8658         (STACK_DYNAMIC_OFFSET): Define correctly for both
8659         ACCUMULATE_OUTGOING_ARGS and normal mode.
8660         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
8661         * tm.texi (PUSH_ARGS): Document.
8662         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
8663
8664 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
8665
8666         * flags.h (flag_optimize_sibling_calls): Declare.
8667         * calls.c (expand_call): Fail sibcall when
8668         !flag_optimize_sibling_calls
8669         * invoke.texi (flag_optimize_sibling_calls): Document.
8670         * toplev.c (flag_optimize_sibling_calls): New global variable.
8671         (f_options): Add flag_optimize_sibling_calls.
8672         (rest_of_compilation): Conditionize
8673         optimize_sibling_and_tail_recursive_calls by
8674         flag_optimize_sibling_calls.
8675         (main): Set flag_optimize_sibling_calls for -O2.
8676         * stmt.c (expand_return): Conditionize tail recursion by
8677         flag_optimize_sibling_calls.
8678
8679 2000-03-29  Richard Henderson  <rth@cygnus.com>
8680
8681         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
8682         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
8683
8684 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
8685
8686         * except.c (add_eh_table_entry): Mark type_info's as referenced.
8687
8688 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8689
8690         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
8691         is given.
8692         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
8693         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
8694         * config/rs6000/aix.h: then modified likewise.
8695
8696 2000-03-28  Richard Henderson  <rth@cygnus.com>
8697
8698         * rtl.h: Redistribute enum reg_note documentation.
8699         Kill trailing whitespace.
8700         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
8701         Kill trailing whitespace.
8702
8703 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
8704
8705         * cppfiles.c (hash_IHASH): Just return i->hash.
8706         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
8707         htab_find_with_hash.
8708         (cpp_read_file): Likewise.
8709         (find_include_file): Likewise.  Properly initialize
8710         ih->nshort.  Share ih->name and ih->nshort if possible.
8711         * cpphash.c (_cpp_calc_hash): New function.
8712         (hash_HASHNODE): Just return h->hash.
8713         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
8714         htab_find_with_hash.
8715         * cpphash.h: Prototype _cpp_calc_hash.
8716         * cppinit.c (initialize_builtins): Provide a valid hash
8717         to _cpp_make_hashnode, using _cpp_calc_hash.
8718
8719         * cpphash.c (collect_expansion): # is not a special character
8720         in object-like macros.  In -traditional mode, /**/ is not
8721         token paste at the beginning or end of the line.
8722         * cpplib.c (do_include, do_import, do_include_next): If
8723         parse_include fails, return immediately.
8724
8725 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
8726
8727         * config/arm/arm.md (return peepholes): Update to reflect the new
8728         call insn patterns.
8729         * config/arm/arm.c (arm_volatile_func): Also check
8730         current_function_nothrow.
8731         (output_return_instruction, output_func_prologue): Use it.
8732         (arm_output_epilogue, arm_expand_prologue): Likewise.
8733
8734 2000-03-27  Tom Tromey  <tromey@cygnus.com>
8735
8736         * gcc.c (handle_braces): In {x*...} case, break out of loop if
8737         switch is found.
8738
8739 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8740
8741         * expr.c (store_constructor): SIZE now signed.
8742         For EXPR_SIZE, don't evaluate size; just needed if constant.
8743         * fold-const.c (fold): Fix a number of cases when folded tree is
8744         wrong type.
8745         * function.c (flush_addressof): Reenable.
8746         * tree.h (flush_addressof): Likewise.
8747         * toplev.c (independent_decode_option): Look at strings_processed.
8748         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
8749
8750 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
8751
8752         * sibcall.c (indentify_call_return_value): Find last call in the chain;
8753         Allow stack adjustment after function call.
8754
8755         * regmove.c (struct csa_memlist): Make mem field rtx *.
8756         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
8757         (try_apply_stack_adjustment): Replace whole MEM rtx.
8758         (combine_stack_adjustments_for_block): Update calls
8759         to record_one_stack_ref.
8760
8761 2000-03-28  Neil Booth  <NeilB@earthling.net>
8762
8763         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
8764         '\\' rather than a null character, so nulls are not special.  Fix
8765         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
8766         speed trigraph conversion.
8767         (_cpp_init_input_buffer): Initialize trigraph map.
8768
8769 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
8770
8771         * config/i386/i386.c (output_387_binary_op): Correct intel
8772         mode assembly output, and add spaces after commas in AT&T
8773         output.  Correct Unixware assembler comment.  Document input
8774         constraints.  Comment fp operations.  Reduce profligate buffer
8775         size.  Remove extraneous abort.  Localize temp var.
8776         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
8777         (output_fix_trunc): Add spaces after commas in assembly output.
8778
8779 2000-03-27  Richard Henderson  <rth@cygnus.com>
8780
8781         * i386-protos.h (ix86_match_ccmode): Declare.
8782         * i386.c (ix86_match_ccmode): New.
8783         (ix86_expand_fp_compare): Update for pattern renames.
8784         (ix86_expand_strlensi_unroll_1): Likewise.
8785         * i386.h (EXTRA_CC_MODES): Add CCZ.
8786         (SELECT_CC_MODE): Use it for EQ/NE zero.
8787         * i386.md (cmpsi_ccz_1): New.
8788         (cmpqi_ccz_1): New.
8789         (*testsi_ccz_1): New.
8790         (testqi_ccz_1): New.
8791         (cmpsi_ccno_1): Rename from cmpsi_0.
8792         (testsi_ccno_1): Rename from testsi_1.
8793         (testqi_ccno_1): Rename from testqi_1.
8794         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
8795         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
8796         (*cmphi_0): Use ix86_match_ccmode.
8797         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
8798         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
8799         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
8800         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
8801         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
8802         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
8803         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
8804         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
8805         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
8806         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
8807         (appropriate peepholes): Likewise.
8808         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
8809         (*subsi_3, *subhi_3, *subqi_3): Remove.
8810         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
8811         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
8812         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
8813         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
8814         (x86_shift_adj_1): Use CCZ.
8815         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
8816
8817 2000-03-27  Stan Cox  <scox@cygnus.com>
8818
8819         * resource.h (mark_resource_type): New.
8820         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
8821         find_free_register): Use mark_resource_type.
8822         (mark_set_resources): Change include_delayed_effects
8823         to mark_resource_type.
8824         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
8825         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
8826         Use mark_resource_type.
8827
8828 2000-03-27  Richard Henderson  <rth@cygnus.com>
8829
8830         * i386.md (call_pop_0, call_value_pop_0): New.
8831         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
8832         (call_value_pop_1): Likewise.
8833         (call_0, call_value_0): New.
8834         (call_1, call_value_1): Remove constraint from unused arg.
8835
8836 2000-03-27  Nick Clifton  <nickc@cygnus.com>
8837
8838         * invoke.texi (Spec Files): Document new spec % command created by
8839         Tom Tromey's recent patch.
8840
8841 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
8842
8843         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
8844         if not defined.
8845
8846 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8847
8848         * expr.c (expand_assignment): Fix typo in last change.
8849
8850         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
8851
8852 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8853
8854         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
8855         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
8856         and DECL_INLINE if FUNCTION_DECL.
8857         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
8858         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
8859         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
8860         (combine_parm_decls): Likewise.
8861         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
8862         * print-tree.c (print_node): Likewise.
8863         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
8864         DECL_TRANSPARENT_UNION on proper decl types.
8865         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
8866         * stor-layout.c (layout_decl): Only check DECL_PACKED and
8867         DECL_BIT_FIELD of FIELD_DECL.
8868         * tree.h (DECL_RESULT_FLD): New macro.
8869
8870         * expr.c (expand_assignment): Add code to handle variable-sized
8871         BLKmode case.
8872
8873 2000-03-26  Richard Henderson  <rth@cygnus.com>
8874
8875         * calls.c (expand_call): Pass parms not original exp to
8876         optimize_tail_recursion.  Mind return value instead of looking
8877         for a barrier.
8878         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
8879         call_expr.  Move checks for call_expr and current_function_decl ...
8880         (expand_return): ... here.
8881
8882 2000-03-26  Tom Tromey  <tromey@cygnus.com>
8883
8884         * gcc.c (handle_braces): Recognize `%{<S}' construct.
8885         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
8886         defines.
8887         (process_command): Use them.
8888         (check_live_switch): Likewise.
8889         (give_switch): Skip ignored switches.
8890
8891 2000-03-26  Jan Hubicka  <jh@suse.cz>
8892
8893         * jump.c (jump_optimize_1): Fix typo in elide optimizations
8894         for minimal jump pass test.
8895
8896 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
8897
8898         * integrate.c (function_cannot_inline_p): Do inline functions that
8899         return `void'.
8900
8901 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8902
8903         * stor-layout.c (layout_type, set_sizetype): early_type_list is
8904         now a list of TREE_LIST entries, not types.
8905         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
8906
8907         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
8908         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
8909         int_bit_position.
8910         * config/mips/mips.c (function_arg): Likewise; also remove cast
8911         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
8912         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
8913         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
8914         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
8915         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
8916         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
8917         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
8918         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
8919         num_adjusts now unsigned.
8920         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
8921         * config/sparc/sparc.c (struct function_arg_record_value_parms):
8922         NREGS now unsigned.
8923         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
8924         as is BITPOS variable; use host_integerp and int_bit_position.
8925         (function_arg_record_value_2): Likewise.
8926         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
8927         Variable REGNO now unsigned.
8928         (function_arg_record_value): NREGS now unsigned.
8929
8930 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
8931
8932         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
8933
8934 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8935
8936         * Rework fields used to describe positions of bitfields and
8937         modify sizes to be unsigned and use HOST_WIDE_INT.
8938         * alias.c (reg_known_value_size): Now unsigned.
8939         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
8940         (really_start_incremental_init): Use bitsize_zero_node.
8941         (push_init_level, pop_init_level, output_init_element): Likewise.
8942         Use bitsize_unit_node and bitsize_one_node.
8943         (output_pending_init_elements, process_init_element): Likewise.
8944         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
8945         (make_extraction): Position and length HOST_WIDE_INT and unsigned
8946         HOST_WIDE_INT, respectively.
8947         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
8948         (num_sign_bit_copies): Returns unsigned.
8949         BITWIDTH now unsigned; rework arithmetic.
8950         Remove recursive call from arg to MAX.
8951         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
8952         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
8953         REGNO now unsigned.
8954         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
8955         (find_split_point, expand_compound_operation, make_extraction): LEN
8956         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
8957         (make_field_assignment): Likewise.
8958         (combine_simplify_rtx): Add cast.
8959         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
8960         (force_to_mode): WIDTH now unsigned; add cast.
8961         (if_then_else_cond): SIZE now unsigned.
8962         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
8963         (extended_count): Now returns unsigned.
8964         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
8965         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
8966         (simplify_comparison): MODE_WIDTH now unsigned.
8967         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
8968         (mark_used_regs_combine): Likewise; rework arithmetic.
8969         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
8970         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
8971         (record_promoted_value): REGNO now unsigned.
8972         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
8973         (get_last_value): REGNO now unsigned.
8974         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
8975         (reg_dead_regno, reg_dead_endregno): Now unsigned.
8976         (remove_death): Arg REGNO now unsigned.
8977         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
8978         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
8979         now unsigned.
8980         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
8981         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
8982         (struct cse_reg_info): REGNO now unsigned.
8983         (cached_regno): Now unsigned.
8984         (REGNO_QTY_VALID_P): Add cast.
8985         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
8986         (remove_invalid_regs): Likewise.
8987         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
8988         as are variables END and I.
8989         (get_cse_reg_info, insert): Likewise.
8990         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
8991         (canon_hash): Likewise.
8992         (insert_regs, lookup_for_remove): REGNO now unsigned.
8993         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
8994         New variable RN.
8995         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
8996         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
8997         * emit-rtl.c (subreg_realpart_p): Add cast.
8998         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
8999         (operand_subword_force): Arg I is now unsigned.
9000         * except.c (eh_regs): Variable I is now unsigned.
9001         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
9002         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
9003         length is unsigned HOST_WIDE_INT; likewise for internal variables.
9004         (store_split_bit_field, extract_fixed_bit_field): Likewise.
9005         (extract_split_bit_field, store_bit_field, extract_bit_field):
9006         Likewise.
9007         * expr.c (store_constructor_fields, store_constructor, store_field):
9008         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
9009         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
9010         (do_jump): Likewise.
9011         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
9012         MAX_SIZE is now unsigned.
9013         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
9014         (emit_group_store): Likewise.
9015         (emit_move_insn): I now unsigned.
9016         (store_constructor): Use host_integerp, tree_low_cst, and
9017         bitsize_unit_node.
9018         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
9019         Rework all calculations to use trees and new fields.
9020         * expr.h (promoted_input_arg): Regno now unsigned.
9021         (store_bit_field, extract_bit_field): Adjust types of pos and size.
9022         (mark_seen_cases): Arg is HOST_WIDE_INT.
9023         * flow.c (verify_wide_reg_1): REGNO now unsigned.
9024         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
9025         precisions and alignments are unsigned.
9026         (optimize_bit_field_compare, fold_truthop): Likewise.
9027         (int_const_binop): Adjust threshold for size_int_type_wide call.
9028         (fold_convert): Likewise.
9029         (size_int_type_wide): Make table larger and fix thinko that only
9030         had half of table used.
9031         (all_ones_mask_p, fold): Precisions are unsigned.
9032         * function.c (put_reg_info_stack): REGNO is unsigned.
9033         (instantiate_decl): Size is HOST_WIDE_INT.
9034         (instantiate_virtual_regs): I is unsigned.
9035         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
9036         (promoted_input_arg): REGNO is unsigned.
9037         * function.h (struct function): x_max_parm_reg is now unsigned.
9038         * gcse.c (max_gcse_regno): Now unsigned.
9039         (struct null_pointer_info): min_reg and max_reg now unsigned.
9040         (lookup_set, next_set): REGNO arg now unsigned.
9041         (compute_hash_table): REGNO and I now unsigned.
9042         (handle_avail_expr): regnum_for_replacing now unsigned.
9043         (cprop_insn): REGNO now unsigned.
9044         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
9045         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
9046         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
9047         * hard-reg-set.h (reg_class_size): Now unsigned.
9048         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
9049         * jump.c (mark_modified_reg): I now unsigned; add cast.
9050         (rtx_equal_for_thread_p): Add cast.
9051         * loop.c (max_reg_before_loop): Now unsigned.
9052         (struct_movable): REGNO now unsigned.
9053         (try_copy_prop): REGNO arg unsigned.
9054         (regs_match_p): XN and YN now unsigned.
9055         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
9056         (strength_reduce): Likewise; NREGS also unsigned.
9057         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
9058         * loop.h (struct iv_class): REGNO now unsigned.
9059         (max_reg_before_loop, first_increment_giv, last_increment_giv):
9060         Now unsigned.
9061         * machmode.h (mode_size, mode_unit_size): Now unsigned.
9062         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
9063         * optabs.c (expand_binop): I and NWORDS now unsigned.
9064         (expand_unop): I now unsigned.
9065         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
9066         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
9067         * real.c (significand_size): Now returns unsigned.
9068         * real.h (significand_size): Likewise.
9069         * regclass.c (reg_class_size): Now unsigned.
9070         (choose_hard_reg_mode): Both operands now unsigned.
9071         (record_reg_classes): REGNO and NR now unsigned.
9072         (reg_scan): NREGS now unsigned.
9073         (reg_scan_update): old_max_regno now unsigned.
9074         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
9075         * reload.c (find_valid_class): BEST_SIZE now unsigned.
9076         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
9077         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
9078         Likewise for variable R.
9079         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
9080         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
9081         (find_equiv_reg): Add casts.
9082         (regno_clobbered_p): Arg REGNO now unsigned.
9083         * reload.h (struct reload): NREGS now unsigned.
9084         (refers_to_regno_for_reload_p): Regno args are unsigned.
9085         (regno_clobbered_p): Likewise.
9086         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
9087         (compute_use_by_pseudos): REGNO now unsigned.
9088         (find_reg): I and J now unsigned, new variable K, and change loop
9089         variables accordingly; THIS_NREGS now unsigned.
9090         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
9091         (spill_hard_reg): REGNO arg now unsigned; add casts.
9092         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
9093         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
9094         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
9095         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
9096         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
9097         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
9098         (emit_reload_insns): REGNO now unsigned.
9099         (reload_cse_move2add): Add cast.
9100         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
9101         and rework loop.
9102         * resource.c (mark_referenced_resources, mark_set_resources): New
9103         variable R; REGNO and LAST_REGNO now unsigned.
9104         (mark_target_live_regs): J and REGNO now unsigned.
9105         * rtl.c (mode_size, mode_unit_size): Now unsigned.
9106         * rtl.h (union rtunion_def): New field rtuint.
9107         (XCUINT): New macro.
9108         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
9109         (operand_subword, operand_subword_force): Word number is unsigned.
9110         (choose_hard_reg_mode): Operands are unsigned.
9111         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
9112         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
9113         (regno_use_in, combine_instructions, remove_death): Likewise.
9114         (reg_scan, reg_scan_update): Likewise.
9115         (extended_count): Return is unsigned.
9116         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
9117         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
9118         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
9119         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
9120         (reg_reg_last_1): FIRS and LAST now unsigned.
9121         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
9122         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
9123         now unsigned.
9124         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
9125         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
9126         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
9127         (replace_regs): Arg NREGS now unsigned.
9128         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
9129         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
9130         (simplify_binary_operation): Likewise.
9131         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
9132         THIS_LAST now unsigned.
9133         (cselib_record_set): Add cast.
9134         * ssa.c (ssa_max_reg_num): Now unsigned.
9135         (rename_block): REGNO now unsigned.
9136         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
9137         sizes now unsigned.
9138         (all_cases_count): Just return -1 not -2.
9139         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
9140         Rework tests to use trees whenever possible.
9141         Use host_integerp and tree_low_cst.
9142         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
9143         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
9144         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
9145         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
9146         (smallest_mode_for_size): Likewise.
9147         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
9148         KNOWN_ALIGN is now an alignment, so simplify code.
9149         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
9150         (start_record_layout): Renamed from new_record_layout_info.
9151         Update to new fields.
9152         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
9153         New functions.
9154         (place_union_field): Renamed from layout_union_field.
9155         Update to use new fields in rli.
9156         (place_field): Renamed from layout_field.
9157         Major rewrite to use new fields in rli; pass alignment to layout_decl.
9158         (finalize_record_size): Rework to use new fields in rli and handle
9159         union.
9160         (compute_record_mode): Rework to simplify and to use new DECL fields.
9161         (finalize_type_size): Make rounding more consistent.
9162         (finish_union_layout): Deleted.
9163         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
9164         (layout_type, case RECORD_TYPE): Call new function names.
9165         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
9166         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
9167         (get_best_mode): UNIT is now unsigned; remove casts.
9168         * tree.c (bit_position): Compute from new fields.
9169         (byte_position, int_byte_position): New functions.
9170         (print_type_hash_statistics): Cast to remove warning.
9171         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
9172         (build_index_type): Likewise; make subtype of sizetype.
9173         (build_index_2_type): Pass sizetype to build_range_type.
9174         (build_common_tree_nodes): Use size_int and bitsize_int to
9175         initialize nodes; add bitsize_{zero,one,unit}_node.
9176         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
9177         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
9178         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
9179         (DECL_FIELD_BITPOS): Deleted.
9180         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
9181         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
9182         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
9183         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
9184         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
9185         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
9186         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
9187         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
9188         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
9189         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
9190         (DECL_ALIGN): Adjust to new field in union.
9191         (DECL_OFFSET_ALIGN): New field.
9192         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
9193         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
9194         (union tree_decl): Add struct for both aligns.
9195         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
9196         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
9197         (struct record_layout_info): Rework fields to have offset
9198         alignment and byte and bit position.
9199         (start_record_layout, place_field): Renamed from old names.
9200         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
9201         (byte_position, int_byte_position): Likewise.
9202         (get_inner_reference): Change types of position and length.
9203         * unroll.c (unroll_loop): New variable R; use for some loops.
9204         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
9205         (calculate_giv_inc): Arg REGNO now unsigned.
9206         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
9207         * varasm.c (assemble_variable): Clean up handling of size using
9208         host_integerp and tree_low_cst.
9209         (decode_addr_const): Use byte, not bit, position.
9210         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
9211         use tree_low_cst and int_bit_position.
9212         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
9213
9214 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
9215
9216         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
9217         (reorder_block_def): New members eff_head and eff_end.
9218         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
9219         (verify_insn_chain): New function.
9220         (skip_insns_between_block): Add code to skip deleted insns.
9221         Check for note before using.
9222         (chain_reorder_blocks): Replace calls to skip_insns_between_block
9223         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
9224         Check for note before using.
9225         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
9226         (fixup_reorder_chain): Restructure, clean up, defect removal.
9227         (reorder_basic_blocks): Remove last_insn and references to it.
9228         Moved insn chain verification code into a new function (see above).
9229         Delete defective code that sets last insn.
9230         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
9231         all blocks.
9232
9233 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9234
9235         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
9236
9237 2000-03-24  Richard Henderson  <rth@cygnus.com>
9238
9239         * tree.c (lang_safe_for_unsave): Remove.
9240         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
9241         allowing for two levels of unsafeness.  Remove lang hook.
9242         * tree.h: Update declarations.
9243         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
9244         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
9245         Always fail sibcalls when there are pending cleanups.
9246
9247 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
9248
9249         * flow.c (propagate_block): When we delete an ADDR_VEC,
9250         also delete the BARRIER following it if there is one.
9251
9252 2000-03-24  Richard Henderson  <rth@cygnus.com>
9253
9254         * builtins.c (expand_builtin_bzero): Convert `length' argument
9255         to sizetype.
9256
9257 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
9258
9259         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
9260         comparison if regno's are equal.
9261         * calls.c (initialize_argument_informat): Add ecf_flags argument.
9262         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
9263         (expand_call): Update caller.
9264         Avoid making a sibling call if argument size of the callee is larger
9265         than argument size of the caller.
9266         Call hard_function_value with outgoing set if in sibcall pass.
9267         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
9268
9269         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
9270         Change LEAF_REGISTERS from an array initializer to actual array
9271         identifier. Move static global variable into the function.
9272         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
9273         sequences for leaf functions.
9274         * global.c (global_alloc): Likewise.
9275         * tm.texi (LEAF_REGISTERS): Update documentation.
9276
9277         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
9278         TARGET_FLAT leaf disabling hack.
9279         (LEAF_REGISTERS): Changed from an array initializer to actual array
9280         identifier to avoid duplication and remove the above hack.
9281         (FUNCTION_OK_FOR_SIBCALL): Define.
9282         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
9283         always like call attribute.
9284         (eligible_for_sibcall_delay): New attribute.
9285         (sibcall): New delay type.
9286         (sibcall, sibcall_value, sibcall_epilogue): New expands.
9287         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
9288         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
9289         * config/sparc/sparc.c (sparc_leaf_regs): New array.
9290         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
9291         New functions.
9292         (output_function_epilogue): Move part of the code into
9293         output_restore_regs.
9294         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
9295         TYPE_SIBCALL.
9296         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
9297         prototypes.
9298
9299         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
9300         until infrastructure is finished.
9301
9302 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
9303
9304         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
9305         (save_parm_insns): Not here.
9306
9307 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9308
9309         * builtins.c (expand_builtin_bzero): New function.
9310         (expand_builtin): Handle bzero.
9311
9312         * builtins.def: Add BUILT_IN_BZERO.
9313
9314         * c-common.c (c_common_nodes_and_builtins): Provide builtin
9315         prototype & function for bzero.
9316
9317 2000-03-23  Michael Meissner  <meissner@redhat.com>
9318
9319         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
9320         change adding TARGET_FP to the TF floating point insns, except for
9321         trunctfsf2, which generates direct calls to truncdfsf2.
9322
9323 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
9324
9325         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
9326         try to protect against middle-end changes that break binary
9327         compatibility.
9328         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
9329
9330 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9331
9332         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
9333
9334 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9335
9336         * calls.c (expand_call): If TARGET is passed by reference and
9337         is readonly, write a CLOBBER.
9338
9339 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9340
9341         * builtins.c (expand_builtin): Handle bcmp.
9342
9343         * builtins.def: Add BUILT_IN_BCMP.
9344
9345         * c-common.c (c_common_nodes_and_builtins): Provide builtin
9346         prototype & function for bcmp.
9347
9348 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
9349
9350         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
9351         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
9352         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
9353
9354 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
9355
9356         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
9357         alternative when using -fp64 -gp32.
9358
9359 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
9360
9361         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
9362         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
9363         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
9364
9365         * frame.h (frame_state): Revert last change.
9366         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
9367         * libgcc2.c (throw_helper): Revert last change.
9368
9369 2000-03-22  Richard Henderson  <rth@cygnus.com>
9370
9371         * stmt.c (expand_asm_operands): Don't promote the temporary.
9372
9373 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
9374
9375         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
9376         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
9377           c_get_alias_set): Likewise.
9378         * c-decl.c (duplicate_decls): Likewise.
9379         * c-typeck.c (default_conversion,build_unary_op): Likewise.
9380         * calls.c (initialize_argument_information): Likewise.
9381         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
9382         Likewise.
9383         * dwarfout.c (decl_class_context,output_type): Likewise.
9384         * expr.c (get_inner_reference): Likewise.
9385         * fold-const.c (simple_operand_p,fold): Likewise.
9386         * function.c (aggregate_value_p): Likewise.
9387         * stmt.c (expand_asm_operands): Likewise.
9388         * varasm.c (named_section): Likewise.
9389
9390 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
9391
9392         Implement dwarf2 exception handling for the ARM.
9393         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
9394         (DWARF_FRAME_RETURN_COLUMN): Define.
9395         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
9396         REG_FRAME_RELATED_EXPR note.
9397         (emit_sfm): Likewise.
9398         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
9399         * dwarf2out.c (reg_save): Handle saving a register to itself.
9400         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
9401         * except.c (eh_regs): Don't use the static chain reg if it's
9402         callee-saved.
9403         * frame.h (frame_state): Add cfa_saved field.
9404         * frame.c (execute_cfa_insn): Set it.
9405         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
9406         the epilogue.
9407         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
9408         Now takes a parm.
9409         (instantiate_virtual_regs): Adjust.
9410         * tm.texi: Adjust.
9411         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
9412         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
9413         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
9414
9415         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
9416         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
9417
9418 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9419
9420         * builtins.def: New file.
9421
9422         * Makefile.in (TREE_H): Depend on builtins.def.
9423
9424         * builtins.c (built_in_names): Use builtins.def.
9425
9426         * tree.h (built_in_function): Likewise.
9427
9428 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
9429
9430         * tree.c (size_in_bytes): Return size_zero_node, not
9431         integer_zero_node.
9432
9433 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
9434
9435         * config/fp-bit.c (pack_d): Correct the case when a denormal
9436         is rounded up and stops being denormal.
9437
9438 2000-03-21  Richard Henderson  <rth@cygnus.com>
9439
9440         * config/alpha/alpha.c (function_arg): Check for void_type_node
9441         before using MUST_PASS_IN_STACK.
9442
9443 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
9444
9445         * regmove.c (combine_stack_adjustments_for_block): Check that
9446         the stack pointer is a valid memory address.
9447
9448 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
9449
9450         * calls.c: re-install Mar 16 emit_library_call merge.
9451
9452 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
9453
9454         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
9455         we cannot be sure that if reload_completed base register will
9456         be properly aligned.
9457
9458 2000-03-21  Richard Henderson  <rth@cygnus.com>
9459
9460         * flow.c (delete_block): Fix typo last change.
9461
9462 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
9463
9464         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
9465         not COMPLETE_TYPE_P, to check the type of the expression.
9466
9467 2000-03-21  Michael Meissner  <meissner@redhat.com>
9468
9469         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
9470         all floating point insns that just tested the macro
9471         TARGET_HAS_XFLOATING_LIBS.
9472         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
9473         used to only use the gprs.
9474
9475 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
9476
9477         * tree.h (COMPLETE_TYPE_P): New macro.
9478         (COMPLETE_OR_VOID_TYPE_P): New macro.
9479         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
9480         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
9481         * c-aux-info.c (gen_type): Use them.
9482         * c-common.c (c_expand_expr_stmt): Likewise.
9483         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
9484         grokdeclarator, grokparms, finish_struct, start_function,
9485         store_parm_decls, combine_parm_decls): Likewise.
9486         * c-parse.y (cast_expr): Likewise.
9487         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
9488         c_size_in_bytes, c_alignof, build_component_ref,
9489         build_indirect_ref, build_array_ref, convert_arguments,
9490         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
9491         * calls.c (initialize_argument_information): Likewise.
9492         * convert.c (convert_to_integer): Likewise.
9493         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
9494         * dwarfout.c (location_or_const_value_attribute,
9495         output_enumeration_type_die, output_structure_type_die,
9496         output_union_type_die, output_type): Likewise.
9497         * expr.c (safe_from_p, expand_expr): Likewise.
9498         * function.c (assign_parms): Likewise.
9499         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
9500         * tree.c (build_array_type, build_function_type,
9501         build_method_type, build_offset_type, build_complex_type): Likewise.
9502         * c-parse.c, c-parse.h: Regenerated.
9503
9504 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9505
9506         * config/c4x/rtems.h: Include config/rtems.h.
9507
9508 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
9509
9510         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
9511         decl is a FUNCTION_DECL
9512
9513 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
9514
9515         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
9516         function uses output registers.  Don't save RP for leaf functions.
9517         Do save RP even if no epilogue.
9518         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
9519         (CALL_USED_REGISTERS): Unmark in registers.
9520         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
9521         to near the middle.
9522
9523 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
9524
9525         * config/rs6000/rs6000.md (bunordered): New expander.
9526         (bordered): New expander.
9527         (buneq): New expander.
9528         (bunge): New expander.
9529         (bungt): New expander.
9530         (bunle): New expander.
9531         (bunlt): New expander.
9532         (bltgt): New expander.
9533
9534         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
9535         (ccr_bit_negated_p): New function.
9536         (print_operand): For %C, generate appropriate cror for UNEQ,
9537         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
9538
9539 2000-03-20  Andreas Jaeger  <aj@suse.de>
9540
9541         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
9542         warning.
9543
9544         * tree.h (safe_for_unsave): Prototype.
9545
9546 2000-03-20  Richard Henderson  <rth@cygnus.com>
9547
9548         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
9549         (combine_stack_adjustments_for_block): Don't allow sp references
9550         in the side of a set we're not fixing up.
9551         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
9552         after life_analysis.
9553
9554 2000-03-20  Richard Henderson  <rth@cygnus.com>
9555
9556         * calls.c (expand_call): Don't bother generating tail call
9557         sequences if there are pending cleanups.  Use
9558         expand_start_target_temps/expand_end_target_temps to elide
9559         cleanups created during sibcall expansion.
9560
9561 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
9562
9563         * configure.in: Set $IFS to a value if it doesn't already have one
9564         in the --enable-checking handling.
9565         * configure: Regenerate.
9566
9567 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9568
9569         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
9570         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
9571         Regenerated.
9572
9573 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
9574
9575         * jump.c (delete_noop_moves): Remove code attempting to
9576         combine stack adjustments.
9577
9578 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9579
9580         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
9581         * except.c (emit_cleanup_handler): Use them.
9582         (expand_end_all_catch): Likewise.
9583         * function.c (fixup_var_refs): Likewise.
9584         (expand_function_end): Clear catch_clauses_last.
9585         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
9586         * except.h (struct eh_status): New field x_catch_clauses_last.
9587         (catch_clauses_last): New define.
9588
9589         * Makefile.in (tree.o): Depend on HASHTAB_H.
9590         * tree.c: Include hashtab.h.
9591         (struct type_hash): Remove next field.
9592         (TYPE_HASH_SIZE): Remove.
9593         (TYPE_HASH_INITIAL_SIZE): New define.
9594         (type_hash_table): Change type to htab_t.
9595         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
9596         mark_hash_entry): New functions.
9597         (init_obstacks): Allocate type hash.
9598         (type_hash_lookup): Use htab functions.
9599         (type_hash_add, mark_type_hash): Likewise.
9600         (dump_tree_statistics): Call print_type_hash_statistics.
9601
9602 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9603
9604         * rs6000/t-aix41: New file.
9605
9606         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
9607
9608 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
9609
9610         * tm.texi (Driver): Fix typos and tweak entry for
9611         INCLUDE_DEFAULTS.
9612         Move misplaced STRUCT_FORCE_BLK entry ...
9613         (Storage Layout): ... to here.
9614         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
9615
9616 2000-03-19  Richard Henderson  <rth@cygnus.com>
9617
9618         * flow.c (delete_block): Delete the addr_vec along with the block.
9619         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
9620         reference labels.
9621
9622         * fold-const.c (extract_muldiv): Apply type check for defined
9623         overflow to multiply as well as divide.
9624
9625         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
9626
9627 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
9628
9629         * emit-rtl.c (remove_unncessary_notes): Check that all
9630         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
9631         associated NOTE_BLOCK.
9632         * function.h (identify_blocks): Update comments.
9633         (reorder_blocks): Declare.
9634         * function.c (identify_blocks): Don't take paramters.
9635         (reorder_blocks): Don't take parameters.
9636         * loop.h (find_loop_tree_blocks): Remove.
9637         (unroll_block_trees): Likewise.
9638         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
9639         reorder_blocks instead of unroll_block_trees.h
9640         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
9641         * stmt.c (find_loop_tree_blocks): Remove.
9642         (unroll_block_trees): Likewise.
9643         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
9644         in whole-function mode.
9645         * tree.h (reorder_blocks): Remove declaration.
9646
9647         * expr.c: Include intl.h.
9648         * Makefile.in (expr.o): Depend on intl.h.
9649
9650 2000-03-18  Richard Henderson  <rth@cygnus.com>
9651
9652         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
9653
9654 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
9655
9656         * tree.h (tree_index): Remove enumerals for integer types.
9657         (integer_type_kind): New type.
9658         (integer_types): New variable.
9659         (char_type_node): Adjust.
9660         (signed_char_type_node): Likewise.
9661         (unsigned_char_type_node): Likewise.
9662         (short_integer_type_node): Likewise.
9663         (short_unsigned_type_node): Likewise.
9664         (integer_type_node): Likewise.
9665         (unsigned_type_node): Likewise.
9666         (long_integer_type_node): Likewise.
9667         (long_unsigned_type_node): Likewise.
9668         (long_long_integer_type_node): Likewise.
9669         (long_long_unsigned_type_node): Likewise.
9670         * tree.c (integer_types): New variable.
9671         (init_obstacks): Register it as a root.
9672
9673 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
9674
9675         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
9676         NEXT_INSN. Update last insn in chain.
9677
9678 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
9679
9680         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
9681         with TYPE_DECL_SUPPRESS_DEBUG set.
9682
9683 2000-03-18  Richard Henderson  <rth@cygnus.com>
9684
9685         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
9686
9687 2000-03-18  Richard Henderson  <rth@cygnus.com>
9688
9689         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
9690         care for HALF_PIC_P.
9691         (expander_call_insn_operand): Remove.
9692         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
9693         * i386.h (PREDICATE_CODES): Update.
9694         * i386.md (all call expanders): Remove predicates, remove special
9695         handling for half-pic.
9696         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
9697         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
9698         (sibcall_epilogue): New.
9699
9700 2000-03-17  Richard Henderson  <rth@cygnus.com>
9701
9702         * rtlanal.c (single_set): Reject if the parallel has anything
9703         except SET or USE or CLOBBER.
9704
9705 2000-03-17  Jeff Law  <law@cygnus.com>
9706             Richard Henderson  <rth@cygnus.com>
9707
9708         * Makefile.in (OBJS): Add sibcall.o.
9709         (sibcall.o): New.
9710         * sibcall.c: New file.
9711         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
9712         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
9713         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
9714         Emit sibcall patterns when requested.  Update all callers.
9715         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
9716         elimination seems feasable.
9717         * final.c (leaf_function_p): Sibling calls don't discount being
9718         a leaf function.
9719         * flow.c (HAVE_sibcall_epilogue): Provide default.
9720         (find_basic_blocks_1): Sibling calls don't throw.
9721         (make_edges): Make edge from sibling call to EXIT.
9722         (propagate_block): Don't remove sibcall_epilogue insns.
9723         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
9724         (sibcall_epilogue): New.
9725         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
9726         (identify_blocks_1): Likewise.  Break out from ...
9727         (identify_blocks): ... here.
9728         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
9729         (reorder_blocks): ... here.
9730         (init_function_for_compilation): Zap prologue/epilogue as varrays.
9731         (record_insns): Extend a varray instead of mallocing new memory.
9732         (contains): Read a varray not array of ints.
9733         (sibcall_epilogue_contains): New.
9734         (thread_prologue_and_epilogue_insns): Emit and record
9735         sibcall_epilogue patterns.
9736         (init_function_once): Allocate prologue/epilogue varrays.
9737         * genflags.c (gen_insn): Treat sibcall patterns as calls.
9738         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
9739         Broken out from ...
9740         (save_for_inline_nocopy): ... here.
9741         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
9742         Broken out from ...
9743         (expand_inline_function): ... here.
9744         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
9745         (subst_constants): Handle 'n' formats.
9746         * jump.c (jump_optimize_minimal): New.
9747         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
9748         optimizations if it's set.
9749         * rtl.c (copy_rtx): Do copy jump & call for insns.
9750         * rtl.h (struct rtx_def): Document use of jump and call for insns.
9751         (SIBLING_CALL_P): New.
9752         (sibcall_use_t): New.
9753         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
9754         Invoke optimize_sibling_and_tail_recursive_calls.
9755         * tree.c (lang_safe_for_unsave): New.
9756         (safe_for_unsave): New.
9757         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
9758
9759         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
9760         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
9761         (*sibcall_osf_1, *sibcall_value_osf_1): New.
9762
9763 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
9764
9765         * objc/objc-act.c (encode_method_prototype): Pass types, not
9766         PARM_DECLs, to int_size_in_bytes.
9767
9768 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
9769
9770         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
9771
9772         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
9773         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
9774
9775 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9776
9777         * Clean up usages of TREE_INT_CST_LOW.
9778         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
9779         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
9780         Regenerated.
9781         * c-tree.h (min_precision): Move declaration to here.
9782         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
9783         (build_unary_op, add_pending_init): Use bit_position.
9784         (pending_init_member, process_init_element): Likewise.
9785         (really_start_incremental_init, push_init_level, pop_init_level):
9786         Don't make copies of nodes or modify them in place, use consistent
9787         types when tracking positions, and use tree routines computations.
9788         (set_init_index, output_init_element): Likewise.
9789         (output_pending_init_elements, process_init_element): Likewise.
9790         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
9791         tree_low_cst and int_bit_position; also minor cleanup.
9792         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
9793         (print_cst_octal): Precision is unsigned.
9794         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
9795         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
9796         (simple_type_align_in_bits): Result is unsigned int.
9797         Use tree_int_low_cst and host_integerp.
9798         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
9799         (field_byte_offset): Result is HOST_WIDE_INT.
9800         Change types of internal variables so alignments are unsigned int,
9801         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
9802         Use host_integerp, tree_low_cst, and int_bit_position.
9803         (add_bit_offset_attribute): Likewise.
9804         (add_data_member_location_attribute): Use tree_cst_low.
9805         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
9806         (add_bit_size_attribute): Use tree_low_cst.
9807         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
9808         * dwarfout.c: Similar changes to dwarf2out.c.
9809         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
9810         * genoutput.c (n_occurences): Return -1 for null string.
9811         (strip_whitespace): Accept null string and make into function.
9812         (scan_operands): Reflect above changes.
9813         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
9814         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
9815         * ssa.c (rename_registers): Add missing cast of arg to bzero.
9816         * tree.c (int_size_in_bytes): Check for too big to represent.
9817         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
9818         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
9819         New declarations.
9820         (min_precision): Delete from here.
9821         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
9822         and int_bit_position.
9823         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
9824         (encode_method_def): Likewise.
9825         (build_ivar_list_initializer): Use int_bit_position.
9826         (generate_shared_structures): Convert size.
9827         (encode_type, encode_complete_bitfield): Use integer_zerop.
9828         (encode_bitfield): Use tree_low_cst and int_bit_position.
9829
9830 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9831
9832         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
9833
9834 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9835
9836         * call.c (special_function_p): It is only malloc if it returns
9837         Pmode.
9838
9839 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9840
9841         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
9842         (C33_FLAG, TARGET_C3X): Add macros.
9843         (TARGET_SWITCHES): Add -m33 option.
9844         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
9845
9846 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9847
9848         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
9849         (PARALLEL_PACK_FLAG): Delete.
9850         (TARGET_SWITCHES): Update.
9851         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
9852
9853 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9854
9855         * fold-const.c (fold): Fix a few cases when the returned result
9856         is not of the same type as the input.
9857
9858 2000-03-16  Nick Clifton  <nickc@cygnus.com>
9859
9860         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
9861         warning.
9862
9863 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9864
9865         * libgcc2.h: Move prototypes above macros with the same name.
9866         Wrap some function prototypes in the conditional which indicates
9867         whether they are supported, i.e. "BITS_PER_UNIT == 8".
9868
9869 2000-03-16  Richard Henderson  <rth@cygnus.com>
9870
9871         * calls.c: Revert last two changes.
9872
9873 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
9874
9875         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
9876         has exponent 0 is a zero.
9877
9878         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
9879         HASH may already be nonzero.  Add code/mode into hash value
9880         immediately after repeat label.
9881         (cselib_lookup): Don't leave the hash table in an inconsistent
9882         state before a hash lookup operation.
9883
9884 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
9885
9886         * i386.md (all HI and QI mode non-move patterns):  Conditionize
9887         by TARGET_[HQ]IMODE_MATH.
9888         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
9889         x86_promote_qi_regs): Declare.
9890         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
9891         TARGET_PROMOTE_QI_REGS): New macros.
9892         (PROMOTE_MODE): New macro.
9893         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
9894         x86_promote_qi_regs): New global variables.
9895
9896 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
9897
9898         * calls.c (emit_library_call_value_1): Break out from ...; handle
9899         VOIDmode function calls too.
9900         (emit_library_call_value): ... here.
9901         (emit_library_call): Implement by calling emit_library_call_value_1.
9902
9903 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
9904
9905         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
9906         Update arg_space_so_far on stack adjustments.
9907         (emit_library_call, emit_library_call_value): Likewise; take into
9908         account arg_space_so_far and pending_stack_adjust when calculcating
9909         the boundary.
9910
9911 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
9912
9913         * flow.c: Move all basic block reordering code into its own file.
9914         (create_basic_block): Externalize.
9915         * bb-reorder.c: New file. Copy all basic block reordering code from
9916         flow.c to this file.
9917         (reorder_basic_blocks): Fix fencepost error in for-loop.
9918         (reorder_basic_blocks): Remove braces from single statement for-loops.
9919         * basic-block.h: Add declaration for create_basic_block.
9920         * Makefile.in: Add rules for bb-reorder.o.
9921
9922 2000-03-16  Neil Booth  <NeilB@earthling.net>
9923
9924         * cppinit.c (handle_option):  Implement #unassert directive
9925         as -A- command line option.
9926         (print_help):  Update.
9927         * cpptexi.c:  Update.
9928
9929 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9930
9931         * md.texi (Standard Names): Document `jump'.
9932
9933 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
9934
9935         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
9936         gotos.
9937
9938 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
9939
9940         Merge changes from newppc-branch onto trunk.
9941
9942         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
9943
9944         * rs6000.c (toc_hash_table): Update for new hash table functions.
9945         (toc_hash_function): Likewise.
9946         (toc_hash_eq): Likewise.
9947         (toc_hash_mark_entry): Likewise.
9948         (toc_hash_mark_table): Likewise.
9949         (output_toc): Likewise.
9950         (rs6000_add_gc_roots): Likewise.
9951
9952         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9953
9954         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
9955         (AR_FLAGS_FOR_TARGET): here.  New macro.
9956
9957         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
9958
9959         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
9960         fpmem_operand) Delete.
9961         (xer_operand) New.
9962         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
9963         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
9964         (rs6000_save_machine_status, rs6000_restore_machine_status,
9965         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
9966         references to above variables.
9967         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
9968         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
9969         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
9970         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
9971         (XER_REGNO_P, XER_REGNO): New.
9972         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
9973         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
9974         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
9975         XER_REGNO_P.
9976         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
9977         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
9978         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
9979
9980         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9981
9982         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
9983         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
9984         * rs6000.h: from here.
9985
9986         * rs6000-protos.h (rs6000_select_section): Provide prototype.
9987         (rs6000_select_rtx_section): Likewise.
9988         (rs6000_encode_section_info): Likewise.
9989         (sdata_section): Likewise.
9990         (sdata2_section): Likewise.
9991         (sbss_section): Likewise.
9992         * sysv4.h (rs6000_select_section): Delete prototype.
9993         (rs6000_select_rtx_section): Likewise.
9994         (rs6000_encode_section_info): Likewise.
9995         (sdata_section): Likewise.
9996         (sdata2_section): Likewise.
9997         (sbss_section): Likewise.
9998         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
9999
10000         * sysv4.h: Delete various unnecessary #undef's and put a comment
10001         on the remaining ones.
10002         Change various comments according to coding standard.
10003
10004         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
10005
10006         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
10007         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
10008         (CR0_REGNO_P) Remove.
10009         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
10010         setup_incoming_varargs, mtcrf_operation, print_operand,
10011         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
10012         Use the above macros.
10013
10014         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
10015
10016         * config/rs6000/rs6000.md: Added a new alternative for each
10017         pattern that had a 'x' alternative but no 'y' alternative.
10018         Added a new split for each of the above patterns.
10019
10020         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
10021
10022         * aix41.h (ASM_CPU_SPEC): Delete.
10023         (CPP_CPU_SPEC): Delete.
10024
10025         * aix.h (RS6000_OUTPUT_BASENAME): Define.
10026         (ASM_OUTPUT_LABEL): Define.
10027         (ASM_GLOBALIZE_LABEL): Define.
10028         (STRIP_NAME_ENCODING): Define.
10029         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
10030         (STRIP_NAME_ENCODING): Don't define.
10031         (ASM_OUTPUT_LABEL): Don't define.
10032         (ASM_GLOBALIZE_LABEL): Don't define.
10033         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
10034         names, and ASM_OUTPUT_LABEL to output labels, rather than
10035         asm_fprintf.
10036         (ASM_OUTPUT_LABEL): Define.
10037         (ASM_OUTPUT_INT): Use assemble_name.
10038         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
10039         (STRIP_NAME_ENCODING): Don't undefine first.
10040         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
10041         ELF.
10042         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
10043         specified with 'asm' even with -fleading-underscore.
10044         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
10045         (output_epilog): Likewise.
10046         (output_toc): Likewise.
10047         * tramp.asm: Handle -fleading-underscore correctly.
10048
10049         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
10050         -mminimal-toc.
10051         (nonlocal_goto_receiver): Delete.
10052         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
10053
10054         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
10055         (SET_ASM_OP): Define.
10056         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
10057
10058         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
10059         (ASM_LONG): Define.
10060
10061         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
10062         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
10063
10064         * rs6000.h: Add 'u' to more constants.
10065
10066         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
10067
10068         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
10069
10070         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
10071
10072         * rs6000.c (reg_or_u_cint_operand): New function.
10073         (logical_operand): Handle 64-bit hosts.
10074         (logical_u_operand): New function.
10075         (non_logical_cint_operand): Handle 64-bit hosts.
10076         (non_logical_u_cint_operand): New function.
10077         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
10078         (PREDICATE_CODES): Define new functions.
10079         * rs6000-protos.h: Declare new functions.
10080         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
10081         (movdi_64): Bracket code intended for 64-bit hosts.  Create
10082         CONST_DOUBLE for 32-bit values.
10083         (scc insns): Generate DImode compares.
10084         (mfcr insns): Create DImode versions.
10085         (sge matchers): New patterns.
10086
10087         2000-02-15  Gabriel Paubert  <paubert@iram.es>
10088
10089         * rs6000.md: Correct instructions length attributes and
10090         constraints on unsigned compare instructions.
10091         (*ne0): Disable for PowerPC64.
10092
10093         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
10094
10095         * rs6000.c (output_function_profiler): Use .long for a 32-bit
10096         quantity, fix profile1.C test failure under -fPIC.
10097
10098         * rs6000.c: Add 'u' to many constants to suppress warnings.
10099         (constant_pool_expr_1): Make static.
10100         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
10101         * rs6000.h: Add 'u' to many constants to suppress warnings.
10102
10103         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
10104         for the start of the TOC, instead of LCTOC..0.
10105         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
10106         of the TOC.
10107         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
10108         (load_toc_aix_di): Use LCTOC..1.
10109
10110         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
10111         * rs6000.c (rs6000_legitimize_address): New function from
10112         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
10113         symbols in the constant pool that really are TOC references.
10114         (print_operand_address): For ELF, write TOC offsets under
10115         -fPIC as subtractions in the insn.
10116         (output_toc): For ELF, define symbols in TOC as normal labels,
10117         to match RTL.
10118         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
10119         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
10120         (create_TOC_reference): Prototype only when RTX_CODE is defined.
10121         * rs6000.md (movsi): Only use create_TOC_reference on
10122         symbols in the constant pool that really are TOC references.
10123
10124         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
10125         * rs6000.c (rs6000_reorg): Delete.
10126         * rs6000-protos.h (rs6000_reorg): Delete.
10127
10128         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
10129
10130         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
10131
10132         * aix.h (SETUP_FRAME_ADDRESSES): Define.
10133         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
10134         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
10135         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
10136         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
10137         rs6000_aix_emit_builtin_unwind_init.
10138         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
10139         rs6000_emit_eh_toc_restore on AIX.
10140         (return_eh_si): Use r2.
10141         (return_eh_di): Use r2.
10142
10143         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
10144         since we're breaking binary compatibility anyway.
10145
10146         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
10147
10148         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
10149         constant_pool_expr_p): Declare them.
10150         (constant_pool_expr_p): Declare it.
10151         * config/rs6000/rs6000.c (toc_label_name): Define.
10152         (rs6000_override_options): Set toc_label_name.
10153         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
10154         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
10155         uses_TOC): New functions.
10156         (print_operand): Delete old '*' case.
10157         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
10158         and strip off rtl for TOC before calling output_addr_const.
10159         (rs6000_emit_load_toc_table): Use toc_label_name.
10160         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
10161         the default.
10162         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
10163         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
10164         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
10165         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
10166         into explicit TOC_REGISTER offsets.
10167         (TOC_REGISTER): New macro.
10168         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
10169         TARGET_TOC to reference TOC_REGISTER.
10170         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
10171         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
10172         uses_TOC before emitting label references.
10173
10174         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
10175
10176         * rs6000.md (stack_tie): Fix warning.
10177
10178         * eabi-ctors.c: Use 'asm' names for the start/end variables,
10179         to handle -fleading-underscore.
10180         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
10181         (USER_LABEL_PREFIX): New macro.
10182         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
10183         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
10184         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
10185         call-linux can use the same multilibs.
10186         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
10187         and call-linux multilibs.  Do multilib with -fleading-underscore.
10188         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
10189         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
10190         to call-aix.
10191
10192         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
10193         have MASK_SOFT_FLOAT set.
10194         (CPP_FLOAT_DEFAULT_SPEC): New macro.
10195         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
10196         CPP_FLOAT_DEFAULT_SPEC.
10197
10198         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
10199         * rs6000.md: Whitespace change.
10200         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
10201         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
10202
10203         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
10204
10205         * rs6000.md (eh_epilogue): New expander.
10206         (eh_reg_restore): New expand/split/insn combination.
10207         (return_eh_si): New insn.
10208         (return_eh_di): New insn.
10209
10210         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
10211         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
10212         * eabi-ctors.c (__do_global_ctors): Register this object's
10213         frame.  Clean up.  Call atexit() after the constructors.
10214         (__do_global_dtors): Deregister this object's frame.  Clean up.
10215         Allow for recursive calls to exit().
10216         * rs6000.c (fixuplabelno): New variable.
10217         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
10218         TARGET_RELOCATABLE, it slows down exec() under linux.
10219         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
10220
10221         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
10222         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
10223         (ASM_OUTPUT_DWARF_DELTA2): New macro.
10224         (ASM_OUTPUT_DWARF_DELTA4): New macro.
10225         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
10226         (ASM_OUTPUT_DWARF_ADDR): New macro.
10227         (ASM_OUTPUT_DWARF_DATA4): New macro.
10228         (ASM_OUTPUT_DWARF_DATA2): New macro.
10229         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
10230         (ASM_OUTPUT_DWARF_OFFSET): New macro.
10231         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
10232
10233         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
10234
10235         * rs6000.c (rs6000_sr_alias_set): New variable.
10236         (rs6000_override_options): Initialise rs6000_sr_alias_set.
10237         (rs6000_emit_stack_tie): New function.
10238         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
10239         in a way that dwarf2out can understand.
10240         (rs6000_frame_related): New function.
10241         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
10242         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
10243         Use rs6000_emit_stack_tie when needed.
10244         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
10245         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
10246         * rs6000.md (stack_tie): New insn.
10247         (return_internal_si): Allow return value to be in the count
10248         register.
10249         (return_internal_di): Likewise.
10250
10251         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
10252
10253         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
10254
10255         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
10256
10257         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
10258
10259         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
10260
10261         * rs6000.md (stmw): Use the right POWER opcode.
10262         (lmw): Likewise.
10263
10264         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10265
10266         * rs6000-protos.h: New file.
10267
10268         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
10269
10270         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
10271         warnings.
10272
10273         * sysv4.h: Likewise.
10274
10275         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
10276
10277         * ../../configure.in: Delete powerpcle-*-winnt*
10278         and powerpcle-*-pe|powerpcle-*-cygwin*.
10279         * ../../configure: Regenerated.
10280         * cygwin.h: Delete.
10281         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
10282         (TARGET_WINDOWS_NT): Delete.
10283         (ABI_NT): Delete.
10284         (CALL_NT_DLLIMPORT): Delete.
10285         Delete NT-specific code.
10286         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
10287         * win-nt.h: Delete.
10288         * t-winnt: Delete.
10289         * nt-ci.asm: Delete.
10290         * nt-cn.asm: Delete.
10291         * ntstack.asm: Delete.
10292
10293         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10294
10295         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
10296         (ASM_FILE_START): Likewise.
10297         (ASM_DECLARE_FUNCTION_NAME): Likewise.
10298         (ASM_OUTPUT_LABELREF): Likewise.
10299         (ASM_OUTPUT_SKIP): Likewise.
10300         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
10301         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
10302         (ASM_OUTPUT_CASE_LABEL): Likewise.
10303         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
10304         (ASM_OUTPUT_ASCII): Likewise.
10305
10306         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
10307
10308         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
10309         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
10310         increment rs6000_pic_labelno here.
10311         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
10312         and increment rs6000_pic_labelno here.
10313
10314         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
10315
10316         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
10317         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
10318         allocation knows (reg) is dead before the insn.
10319
10320         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
10321
10322         * rs6000.md (movsi_to_cr): Correct typo in output template.
10323
10324         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
10325
10326         * rs6000.c (rs6000_pic_labelno): Always define.
10327         (rs6000_pic_func_labelno): Delete.
10328         (lmw_operation): Check for a zero base register,
10329         which doesn't mean what we want.
10330         (stmw_operation): New function.
10331         (print_operand): Define new 'l' modifier.
10332         (rs6000_stack_info): We must save all 64 bits of the registers
10333         if TARGET_POWERPC64.
10334         (rs6000_output_load_toc_table): Delete.
10335         (rs6000_emit_load_toc_table): New function.
10336         (rs6000_allocate_stack_space): Delete.
10337         (rs6000_emit_allocate_stack): New function.
10338         (rs6000_emit_prologue): New function.
10339         (output_prolog): Use rs6000_emit_prologue.
10340         (rs6000_emit_epilogue): Change a few variable names to be
10341         more accurate.  Restore all 64 bits of the registers if
10342         TARGET_POWERPC64.  Only restore the FP registers which were used
10343         if they are being saved/restored one-at-a-time.
10344         (output_mi_thunk): Delete inefficient code generation.
10345         (output_function_profiler): Don't use rs6000_output_load_toc_table.
10346         * rs6000.h: Declare rs6000_emit_load_toc_table,
10347         rs6000_allocate_stack_space, stmw_operation.  Don't declare
10348         rs6000_output_load_toc_table.
10349         * rs6000.md (elf_high): Allow register 0, but discourage it
10350         heavily.
10351         (elf_low): Support loading into register 0.
10352         (load_toc_aix_si): New pattern.
10353         (load_toc_aix_di): New pattern.
10354         (load_toc_v4_pic_si): New pattern.
10355         (load_toc_v4_pic_di): New pattern.
10356         (load_toc_v4_PIC_1): New pattern.
10357         (load_toc_v4_PIC_1b): New pattern.
10358         (load_toc_v4_PIC_2): New pattern.
10359         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
10360         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
10361         (prologue): New expander.
10362         (movesi_from_cr): New pattern.
10363         (stmw): New pattern.
10364         (save_fpregs_si): New pattern.
10365         (save_fpregs_di): New pattern.
10366
10367         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
10368
10369         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
10370         (movdi): Likewise.
10371         (movhi): Likewise.
10372         (movqi): Likewise.
10373
10374         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
10375
10376         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
10377         at present.
10378         (movsi_got_internal): Likewise.
10379         (movsi_got_internal+1): Likewise.
10380         (set_sp): 'unspec 7' does a SImode clobber.
10381
10382         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
10383
10384         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
10385         allocate a stack temporary.
10386         (floatsidf2_internal): Likewise.
10387         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
10388         with unspec.
10389         (floatunssidf2): Don't use the fpmem "register", just
10390         allocate a stack temporary.
10391         (floatunssidf2_internal): Likewise.
10392         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
10393         with unspec.
10394         (floatsidf2_loadaddr): Delete.
10395         (floatsidf2_store1): Delete.
10396         (floatsidf2_store2): Delete.
10397         (floatsidf2_load): Delete.
10398         (fix_truncdfsi2): Don't use the fpmem "register", just
10399         allocate a stack temporary.
10400         (fix_truncdfsi2_internal_si): Delete.
10401         (fix_truncdfsi2_internal_di): Delete.
10402         (fix_truncdfsi2_internal): New insn.
10403         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
10404         (fix_truncdfsi2_store): Delete.
10405         (fix_truncdfsi2_load): Delete.
10406         (fctiwz): Produce gen_fctiwz.
10407
10408         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
10409
10410         * eabi.h (INVOKE__main): Define.
10411         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
10412         specially.
10413         (rs6000_emit_prologue): Likewise.
10414         * rs6000.h (struct rs6000_stack): Don't keep track of whether
10415         this is the main program.
10416
10417         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
10418
10419         * rs6000.c (rs6000_va_arg): Delete some unused variables.
10420
10421         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
10422
10423         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
10424         goes after the argument.
10425
10426         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
10427
10428         * rs6000.md: Document 'unspec' values used.
10429         (epilogue): New expander.
10430         (movesi_to_cr_one): New expander.
10431         (movesi_to_cr and following): New pattern.
10432         (lmw): New pattern.
10433         (return_internal_si): New pattern.
10434         (return_internal_di): New pattern.
10435         (return_and_restore_fpregs_si): New pattern.
10436         (return_and_restore_fpregs_di): New pattern.
10437         * rs6000.h: Declare new functions.
10438         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
10439         rather than rs6000_calls_p.
10440         (rs6000_makes_calls): Delete.
10441         (lmw_operation): New function.
10442         (mtcrf_operation): New function.
10443         (rs6000_emit_epilogue): New function.
10444         (output_epilog): Call rs6000_emit_epilogue and final if
10445         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
10446
10447         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
10448
10449         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
10450         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
10451         * aix.h (SUBTARGET_SWITCHES): Document switches.
10452         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
10453         sched-prolog and sched-epilog the same.  Document all the
10454         switches.
10455         (TARGET_OPTIONS): No longer allow -mdebug-.
10456
10457         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
10458
10459         * rs6000.h (ASM_FILE_END): Move to aix.h.
10460         (EXTRA_SECTIONS): Move to aix.h.
10461         (READONLY_DATA_SECTION): Move to aix.h.
10462         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
10463         (SELECT_SECTION): Move to aix.h.
10464         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
10465         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
10466         (LINK_REGISTER_REGNUM): New definition.
10467         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
10468         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
10469         AIX and SVR4.
10470         * sysv4.h: Delete the code between the inclusion of rs6000.h
10471         and svr4.h.
10472         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
10473         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
10474         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
10475         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
10476         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
10477         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
10478         (fix_truncdfsi2_internal_di): New pattern.
10479         (fix_truncdfsi2_store): The second arg here is Pmode too.
10480         (fix_truncdfsi2_load): The second arg here is Pmode too.
10481         (tablejumpdi): Now that switch tables hold only SImode values,
10482         gcc needs to know how to add them to the pc which is DImode.
10483         * rs6000.c (rs6000_stack_info): Use symbolic name for
10484         LINK_REGISTER_REGNUM.
10485         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
10486         (output_toc): Delete unused variables s1 and s2.
10487         (output_ascii): Use fputs not fprintf on a variable string.
10488
10489         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
10490
10491         * rs6000.c (processor_target_table): Add power3 as alias for 630.
10492         * aix43.h: Revert Aug 2 change.
10493         (HAS_INIT_SECTION): Define, not visible yet.
10494         (LD_INIT_SWITCH): Define, not visible yet.
10495         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
10496
10497         2000-01-04  Joel Sherrill (joel@OARcorp.com>
10498
10499         * config/rs6000/rtems.h: Include config/rtems.h.
10500
10501         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10502
10503         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
10504         (SLOW_UNALIGNED_ACCESS): Define.
10505         (CASE_VECTOR_MODE): Always use 32-bit offsets.
10506         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
10507         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
10508         (toc_section): Likewise and .toc pseudo-op.
10509         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
10510         64-bit mode.
10511         (TEXT_SECTION_ASM_OP): Likewise.
10512         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
10513         32-bit offsets.
10514
10515         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
10516
10517         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
10518         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10519         compiling libgcc2.
10520
10521         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10522
10523         * rs6000.h: Move more stuff from here...
10524         * aix.h: to here.
10525         * sysv4.h: Cleanup accordingly.
10526         * netware.h: Likewise
10527
10528         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10529
10530         * rs6000.h: Continue cleanup.
10531         * aix.h: Likewise.
10532         * lynx.h: Likewise.
10533         * netware.h: Likewise.
10534         * sol2.h: Likewise.
10535         * sysv4.h: Likewise.
10536         * win-nt.h: Likewise.
10537
10538         * rs6000.h (TARGET_SWITCHES): Add descriptions.
10539         (TARGET_OPTIONS): Likewise.
10540
10541         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
10542         (SUBTARGET_OPTIONS): Likewise.
10543
10544         * rs6000.md: Fix compile time warnings.
10545
10546         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
10547
10548         vxworks patches from the Cygnus tree originally by
10549         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
10550         <vmakarov@cygnus.com>.
10551         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
10552         (ENDFILE_SPEC): Likewise.
10553         (LIB_VXWORKS_SPEC): New macro.
10554         (STARTFILE_VXWORKS_SPEC): New macro.
10555         (ENDFILE_VXWORKS_SPEC): New macro.
10556         (LINK_START_VXWORKS_SPEC): New macro.
10557         (LINK_OS_VXWORKS_SPEC): New macro.
10558         (CPP_OS_VXWORKS_SPEC): New macro.
10559         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
10560         * vxppc.h: Rewrite to use proper configuration method.
10561         * vxppcle.h: New file.
10562         * ../../configure.in: Add powerpcle-wrs-vxworks*.
10563         * ../../configure: Rebuilt.
10564
10565         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
10566
10567         Lots of changes to rs6000.h, sysv4.h, aix.h,
10568         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
10569         with the aim that rs6000.h is the first header
10570         included and the others override it.
10571         * aix.h: New file.
10572
10573         * x-aix41-gld: Remove.
10574         * x-aix43: Remove.
10575         * x-aix41: Remove target-specific switches, and don't specify
10576         -Wl,-bbigtoc as we don't need it any more.
10577         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
10578         Use t-aix43 for AIX 4.3 and above.
10579         * ../../configure: Regenerated.
10580
10581         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
10582         options, that don't do anything yet.
10583         (MASK_SCHED_PROLOG): New macro.
10584         (MASK_SCHED_EPILOG): New macro.
10585         (TARGET_SCHED_PROLOG): New macro.
10586         (TARGET_SCHED_EPILOG): New macro.
10587
10588         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
10589
10590         * rs6000.c: Correct comment, the `minimal' TOCs are actually
10591         one per translation unit, not one per function.
10592         (output_toc): Also do duplicate constant elimination
10593         for per-translation-unit TOCs.
10594
10595         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
10596         a comment explaining _exactly_ when this pattern gets used.
10597         (builtin_setjmp_receiver): New pattern for better clarity.
10598         (init_v4_pic): Move it into a section dealing with TOC registers.
10599
10600         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
10601
10602         * rs6000.c (toc_hash_table): New variable.
10603         (rs6000_hash_constant): New function.
10604         (toc_hash_function): New function.
10605         (toc_hash_eq): New function.
10606         (toc_hash_mark_entry): New function.
10607         (toc_hash_mark_table): New function.
10608         (output_toc): Don't output duplicate TOC entries in
10609         a single file.
10610         (rs6000_add_gc_roots): Add the hash table as a GC root.
10611         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
10612         where they clearly shouldn't be.  This may need to be fixed
10613         later when there is a GNU ar for AIX.
10614         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
10615         Don't define BOOT_LDFLAGS as it is now not necessary.
10616
10617         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
10618
10619         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
10620         for va_list on AIX.  Use unsigned_char_type_node rather than
10621         constructing our own version on svr4.
10622
10623         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
10624
10625         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
10626         since patently it's not.
10627
10628         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
10629
10630         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
10631         define_expand/define_insn pair, and handle restore of the
10632         SVR4 -fpic register.
10633
10634 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
10635
10636         * acconfig.h (HAVE_GAS_WEAK): New define.
10637         * configure.in (assembler weak support): Check for .weak support.
10638         * config.in, configure: Rebuilt.
10639         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
10640         HAVE_GAS_WEAK is defined.
10641
10642 2000-03-15  Nick Clifton  <nickc@cygnus.com>
10643
10644         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
10645         asm_fprintf().
10646
10647 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
10648
10649         * cppfiles.c (open_include_file): New function.
10650         (find_include_file, cpp_read_file): Use it.
10651
10652 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
10653
10654         * cpphash.c (dump_hash_helper): Take the slot, not the element.
10655
10656 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
10657
10658         * flow.c (verify_flow_info): Check for unconditional return.
10659
10660 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
10661
10662         * config/ia64/ia64.md (restore_stack_nonlocal): New.
10663         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
10664         (__ia64_restore_stack_nonlocal): New.
10665         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
10666
10667 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10668
10669         * cpphash.c (collect_formal_parameters): Do not complain about
10670         parameter names that just start with `__VA_ARGS__'.
10671
10672 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
10673
10674         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
10675         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
10676         * i386.c (pentiumpro_cost): Set mul cost to 4.
10677         (x86_use_movx): Set for PPro.
10678
10679 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
10680
10681         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
10682         STACK_BOUNDARY for empty frames now.
10683
10684 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
10685
10686         * stor-layout.c (layout_union): Remove.
10687         (layout_union_field): New function, split out from layout_union.
10688         (finish_union_layout): Likewise.
10689         (layout_field): Handle unions by calling layout_union_field.
10690         (finish_record_layout): Handle unions.
10691         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
10692         QUAL_UNION_TYPE handling.
10693
10694 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
10695
10696         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
10697         end of basic block is jump_insn, not barrier; use create_basic_block
10698         instead of creating basic block by hand.
10699
10700 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
10701
10702         * flow.c (reorder_basic_blocks): Account for barriers when writing
10703         over NEXT_INSN (last_bb->end).
10704         (verify_flow_info): Add check for missing barriers.
10705
10706 2000-03-14  Greg McGary  <gkm@gnu.org>
10707
10708         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
10709         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
10710         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
10711         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
10712         __unbounded, __unbounded__): New keywords.
10713         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
10714         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
10715         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
10716
10717 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10718
10719         * cselib.h: New file.
10720         * alias.c: Include "cselib.h".
10721         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
10722         MEMs as two new arguments.
10723         (get_addr): New static function.
10724         (find_base_term): Handle VALUEs.
10725         (memrefs_conflict_p): Likewise.
10726         (true_dependence): Call get_addr on the addresses.
10727         Call fixed_scalar_and_varying_struct_p with addresses that have been
10728         passed through get_addr and canon_rtx.
10729         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
10730         with true_dependence.
10731         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
10732         * loop.c: Include "cselib.h".
10733         (load_mems): Process extended basic block that enters the loop with
10734         cselib.  Use that information to change initialization of the shadow
10735         register so that a constant equivalence is seen by later passes.
10736         * reload1.c: Include "cselib.h".
10737         (reload_cse_invalidate_regno): Delete function.
10738         (reload_cse_mem_conflict_p): Likewise.
10739         (reload_cse_invalidate_mem): Likewise.
10740         (reload_cse_invalidate_rtx): Likewise.
10741         (reload_cse_regno_equal_p): Likewise.
10742         (reload_cse_check_clobber): Likewise.
10743         (reload_cse_record_set): Likewise.
10744         (reg_values): Delete static variable.
10745         (invalidate_regno_rtx): Likewise.
10746         (reload_cse_delete_noop_set): New static function.
10747         (reload_cse_simplify): New static function, broken out of
10748         reload_cse_regs_1.
10749         (reload_cse_noop_set_p): Delete unused argument INSN.
10750         Just call rtx_equal_for_cselib_p on set source and destination.
10751         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
10752         reload_cse_delete_noop_set.  Delete code to keep track of values; use
10753         cselib functions instead.  Delete code to push/pop obstacks.
10754         (reload_cse_simplify_set): Use cselib to find equivalent values.
10755         Delete code to push/pop obstacks.
10756         (reload_cse_simplify_operands): Likewise.
10757         * rtl.def (VALUE): New rtx code.
10758         * rtl.h (union rtunion_def): New elt rt_cselib.
10759         (X0CSELIB, CSELIB_VAL_PTR): New macros.
10760         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
10761         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
10762         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
10763         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
10764         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
10765         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
10766         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
10767         cselib_record_set, cselib_record_sets): New static functions.
10768         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
10769         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
10770         references_value_p): New functions.
10771         (MAX_USELESS_VALUES, REG_VALUES): New macros.
10772         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
10773         n_useless_values, reg_values, callmem, cselib_obstack,
10774         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
10775         New static variables.
10776         * varray.h (union varray_data_tag): New elt te.
10777         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
10778         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
10779         dependencies.
10780
10781 2000-03-14  Nick Clifton  <nickc@cygnus.com>
10782
10783         * gcc.c (do_spec_1): Catch the case where %* is used in a
10784         substitution pattern, but it has not been initialised.
10785         Issue a meaningful error message if an unrecognised operator
10786         is encountered in a spec string.
10787
10788 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
10789
10790         * function.c (prepare_function_start): Correctly initialize
10791         cfun->stack_alignment_needed.
10792
10793 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
10794
10795         * cppfiles.c (find_include_file): Don't assume nshort is a
10796         substring of name.
10797
10798 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
10799
10800         * configure.in (hppa configurations): Add pa32-regs.h to the
10801         list of tm files as appropriate.
10802         * configure: Rebuilt.
10803         * pa.c (compute_frame_size): Remove explicit knowledge about FP
10804         register numbering.
10805         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
10806         (fmpyaddoperands, fmpysuboperands): Likewise.
10807         * pa.h: Remove various definitions which depend on knowing
10808         how registers are numbered.
10809         * pa32-regs.h: New file with PA32 register numbering specific
10810         definitions.
10811
10812 2000-03-14  Richard Henderson  <rth@cygnus.com>
10813
10814         * regmove.c (combine_stack_adjustments): New.
10815         (stack_memref_p, single_set_for_csa): New.
10816         (free_csa_memlist, record_one_stack_memref): New.
10817         (try_apply_stack_adjustment): New.
10818         (combine_stack_adjustments_for_block): New.
10819         * rtl.h (combine_stack_adjustments): Declare.
10820         * toplev.c (rest_of_compilation): Call it.
10821
10822         * i386.md: Revert 2000-01-16 change.
10823
10824 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10825
10826         * gccbug.in: Add web category, gcc specific classes.
10827
10828 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
10829
10830         * stor-layout.c (finalize_record_size): Fix typo.
10831
10832 2000-03-14  Stan Shebs  <shebs@apple.com>
10833
10834         * c-typeck.c (c_alignof): Error on incomplete types.
10835         * extend.texi (Alignment): Document this.
10836
10837 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
10838
10839         * cppfiles.c: Include mkdeps.h.
10840         (find_include_file, read_include_file): Remove _cpp_ prefix
10841         from name, make static.
10842         (_cpp_execute_include): New function, broken out of
10843         do_include.
10844
10845         * cpplib.c: Don't include mkdeps.h.
10846         (struct directive): Remove type field. Reorder entries.  The
10847         function takes only one argument.
10848         (struct if_stack): Make type field an int.
10849         (directive_table): Rename to dtable.  Generate it, the
10850         prototypes of the directive handlers, and the enum for the
10851         directive numbers, from a template macro.
10852         (do_ifndef, do_include_next, do_import): New functions.
10853         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
10854         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
10855         do_ident, do_assert, do_unassert, do_sccs): Take only one
10856         argument.
10857         (do_sccs): Define always, but alter behavior based on
10858         SCCS_DIRECTIVE.
10859         (_cpp_handle_directive, consider_directive_while_skipping):
10860         Restructure for new directive table layout.
10861
10862         (pass_thru_directive): Take a directive number, not a pointer
10863         to a struct directive.
10864         (parse_include): New function, broken out of do_include.
10865         (do_include, do_import, do_include_next): Use parse_include
10866         and _cpp_execute_include.
10867         (do_elif, do_else): Test for T_ELSE specifically when checking
10868         for #elif/#else after #else.
10869         (parse_ifdef): New function, broken out of do_ifdef.
10870         (validate_else): Expect a name arg without a leading #.
10871         (if_directive_name): Delete.
10872         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
10873         directive handlers with only one argument.
10874
10875         * cpphash.h: Update prototypes.
10876         (enum node_type): Remove entries for directives.
10877         * Makefile.in: Update dependencies.
10878
10879         * cpphash.c (dump_hash_helper): Only dump nodes of type
10880         T_MACRO.  Emit a newline after each definition.
10881
10882 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10883
10884         * gccbug.in: New file.
10885         * configure.in (all_outputs): Add gccbug.
10886         * Makefile.in (install-common): Install gccbug.
10887         (GCCBUG_INSTALL_NAME): New variable.
10888         * configure: Rebuilt.
10889
10890 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
10891
10892         * function.c (put_var_into_stack): Use type_for_mode to calculate
10893         part_type.  Use MEM_SET_IN_STRUCT_P.
10894         * expr.c (store_field): Handle CONCAT.
10895         (store_constructor): Use fields_length.
10896         * tree.c (fields_length): New fn.
10897         * tree.h: Declare it.
10898
10899 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
10900
10901         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
10902         (cpplex.o): New target.
10903         * po/POTFILES.in: Add cpplex.c.
10904
10905         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
10906         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
10907         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
10908         skip_block_comment, skip_line_comment, skip_comment,
10909         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
10910         _cpp_parse_name, skip_string, parse_string,
10911         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
10912         _cpp_get_directive_token, find_position,
10913         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
10914         (maybe_macroexpand, _cpp_lex_token): New functions.
10915
10916         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
10917         parse_goto_mark): Delete.
10918         (_cpp_handle_eof): New function.
10919         (_cpp_handle_directive): Rename from handle_directive.
10920         (_cpp_output_line_command): Rename from output_line_command.
10921         (do_if, do_elif): Call _cpp_parse_expr directly.
10922         * cppfiles.c (_cpp_read_include_file): Don't call
10923         init_input_buffer here.
10924         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
10925         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
10926         here; pop the token_buffer and skip the rest of the line here.
10927         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
10928         here.
10929
10930         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
10931         Define here.
10932         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
10933         CPP_GOTO_MARK): New macros.
10934         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
10935         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
10936         _cpp_read_and_prescan, _cpp_init_input_buffer,
10937         _cpp_grow_token_buffer, _cpp_get_directive_token,
10938         _cpp_handle_directive, _cpp_handle_eof,
10939         _cpp_output_line_command): Prototype them here.
10940         * cpplib.h (enum cpp_token): Add CPP_MACRO.
10941         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
10942         quote_string, output_line_command): Remove.
10943
10944 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
10945
10946         * stmt.c (expand_end_case): RANGE may be signed, and when checking
10947         whether it is too large we must also verify that it isn't negative.
10948
10949 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
10950
10951         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
10952         (movsi_zero_liveg0): Remove.
10953         (movsf_insn_novis_liveg0): Remove.
10954         (negsi2): Remove.
10955         (negsi2_not_liveg0): Rename to negsi2.
10956         (one_cmplsi2): Remove.
10957         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
10958         (one_cmplsi2_liveg0): Remove.
10959         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
10960         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
10961         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
10962         (PREDICATE_CODES): Remove zero_operand.
10963         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
10964         TARGET_BROKEN_SAVERESTORE.
10965         (zero_operand): Remove.
10966         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
10967         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
10968         options.
10969         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
10970         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
10971         TARGET_BROKEN_SAVERESTORE): Remove.
10972         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
10973         Remove.
10974         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
10975         Remove.
10976         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
10977         Remove.
10978
10979         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
10980
10981 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
10982
10983         * cpplib.c (do_pragma_implementation): Fix off-by-one error
10984         truncating a string.  Don't assume tokens are nul terminated.
10985         Problem noted by Andreas Jaeger <aj@suse.de>
10986
10987 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
10988
10989         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
10990         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
10991         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
10992
10993 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
10994
10995         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
10996         STRUCTURE_SIZE_BOUNDARY.
10997
10998 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
10999
11000         * tree.h (record_layout_info_s): New structure.
11001         (record_layout_info): New type.
11002         (new_record_layout_info): New function.
11003         (layout_field): Likewise.
11004         (finish_record_layout): Likewise.
11005         * stor-layout.c (layout_record): Remove.
11006         (new_record_layout_info): New function.
11007         (layout_field): New function, broken out from layout_record.
11008         (finalize_record_size): Likewise.
11009         (compute_record_mode): Likewise.
11010         (finalize_type_size): New function, broken out from layout_type.
11011         (finish_record_layout): Likewise.
11012         (layout_type): Use them.
11013
11014 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
11015
11016         * cpphash.c: Don't include version.h.
11017         (special_symbol) [case T_VERSION]: Look for the string in
11018         hp->value.cpval; don't use version_string.
11019         * cppinit.c (initialize_builtins): Set hp->value.cpval for
11020         __VERSION__ to version_string.
11021         * Makefile.in (cpphash.o): Update deps.
11022
11023 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
11024
11025         Convert cpplib to use libiberty/hashtab.c.
11026
11027         * cpplib.h (struct cpp_reader): Make hashtab and
11028         all_include_files of type 'struct htab *'.  Delete HASHSIZE
11029         and ALL_INCLUDE_HASHSIZE macros.
11030
11031         * cpphash.h: Update prototypes.
11032         (struct hashnode): Remove next, prev, and bucket_hdr members.
11033         Make length a size_t.  Add hash member.
11034         (struct ihash): Remove next member.  Add hash member.  Make
11035         name a flexible array member.
11036
11037         * cppfiles.c: Include hashtab.h.
11038         (include_hash): Delete.
11039         (IHASHSIZE): New macro.
11040         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
11041         (cpp_included): Do the hash lookup here.
11042         (_cpp_find_include_file): Rewrite.
11043         (cpp_read_file): Put the "fake" hash entry into the hash
11044         table.  Honor the control_macro, if it turns out we've seen
11045         the file before.  Don't push the buffer here.
11046         (_cpp_read_include_file): Push the buffer here.
11047         (OMODES): New macro.  Use it whenever we call open(2).
11048
11049         * cpphash.c: Include hashtab.h.
11050         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
11051         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
11052         _cpp_lookup_slot): New functions.
11053         (HASHSIZE): new macro.
11054         (hashf, _cpp_install, _cpp_delete_macro): Delete.
11055         (_cpp_lookup): Use hashtab.h routines.
11056
11057         * cppinit.c: Include hashtab.h.
11058         (cpp_reader_init): Call _cpp_init_macro_hash and
11059         _cpp_init_include_hash.  Don't allocate hashtab directly.
11060         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
11061         pfile->all_include_files.
11062         (initialize_builtins): Use _cpp_make_hashnode and
11063         htab_find_slot to add hash entries.
11064         (cpp_finish): Just call _cpp_dump_macro_hash.
11065         * cpplib.c: Include hashtab.h.
11066         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
11067         create hash entries.
11068         (do_pragma_poison, do_assert): Likewise.
11069         (do_include): Don't push the buffer here.  Don't increment
11070         system_include_depth unless _cpp_read_include_file succeeds.
11071         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
11072         or htab_remove_elt.
11073         (do_pragma_implementation): Use alloca to create copy.
11074
11075         * Makefile.in: Update dependencies.
11076
11077 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11078
11079         * cppinit.c (cl_directive_handler): More K&R fixing.
11080
11081 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
11082
11083         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
11084         STACK_BOUNDARY.
11085         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
11086
11087 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11088
11089         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
11090         Change from char[] to macros.
11091
11092 2000-03-12  Neil Booth  <NeilB@earthling.net>
11093
11094         * cppinit.c (cpp_start_read): Update indirect function
11095         call to K&R C.
11096
11097 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
11098
11099         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
11100         entry.
11101
11102         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
11103         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
11104
11105 2000-03-11  Neil Booth  <NeilB@earthling.net>
11106
11107         * cppinit.c (struct pending option): Replace undef with a
11108         pointer to a directive handling routine.
11109         (struct cpp_pending): Replace separate assert_ and define_
11110         lists with one directive_ list.
11111         (new_pending_define): Rename new_pending_directive. Extra
11112         argument is the directive's handling routine.
11113         (handle_option): Update to use new_pending_directive.
11114
11115 2000-03-11  Neil Booth  <NeilB@earthling.net>
11116
11117         * cppfiles.c (file_cleanup, _cpp_find_include_file,
11118         remap_filename, _cpp_read_include_file, actual_directory,
11119         hack_vms_include_specification): Replace bcopy(), index() etc
11120         calls.  Add casts to some allocations.  Make some variables
11121         pointers to const [unsigned] char.
11122         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
11123         collect_formal_parameters): Similarly.
11124         * cppinit.c (struct pending_option, append_include_chain,
11125         cpp_options_init, cpp_reader_init, initialize_standard_includes,
11126         cpp_start_read, new_pending_define, handle_option): Similarly.
11127         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
11128         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
11129         do_pragma_implementation, detect_if_not_defined,
11130         do_ifdef, skip_if_group, cpp_get_token, parse_string,
11131         do_assert, do_unassert): Similarly.
11132         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
11133         function prototypes.
11134         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
11135
11136 2000-03-10  Richard Henderson  <rth@cygnus.com>
11137
11138         * builtins.c (expand_builtin_strlen): Revert last change.
11139         Use emit_insn_before if we're at the beginning of a sequence.
11140
11141 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
11142
11143         * builtins.c (expand_builtin_strlen): Make sure that we have something
11144         at the beginning of the sequence.
11145
11146         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
11147         deferred inlines.
11148
11149         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
11150
11151 2000-03-10  Richard Henderson  <rth@cygnus.com>
11152
11153         * except.c (can_throw): Use INTVAL on a CONST_INT.
11154         (reachable_handlers): Likewise.
11155         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
11156
11157 2000-03-10  Andreas Jaeger  <aj@suse.de>
11158
11159         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
11160         MD_STARTFILE_PREFIX since those are not needed on linux.
11161         (ASM_FILE_START): New, from mips/gnu.h.
11162
11163 2000-03-09  Richard Henderson  <rth@cygnus.com>
11164             Alex Samuel  <samuel@codesourcery.com> and others
11165
11166         * Makefile.in (ssa.o): New rule.
11167         (OBJS): Add ssa.o.
11168         (STAGESTUFF): Add *.ssa and *.ussa.
11169         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
11170         * rtl.def (PHI): New RTL expression.
11171         * rtl.h (clear_log_links): New declaration.
11172         (convert_to_ssa): Likewise.
11173         (convert_from_ssa): Likewise.
11174         * flow.c (split_edge): If the entry node falls through to the
11175         split edge's source block, split the entry edge.
11176         (clear_log_links): New function.
11177         * toplev.c (ssa_dump): New variable.
11178         (flag_ssa): Likewise.
11179         (f_options): Add "ssa".
11180         (compile_file): Create SSA dump files.
11181         (rest_of_compilation): Go to and from SSA if enabled.
11182         (decide_d_option): Handle -de for SSA dump files.
11183         * ssa.c: New file.
11184
11185 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
11186
11187         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
11188         same as VAR_DECL.
11189
11190 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
11191
11192         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
11193
11194 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
11195
11196         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
11197         (MD_STARTFILE_PREFIX_1): New macro.
11198
11199 2000-03-09  Robert Lipe  <robertl@sco.com>
11200
11201         * config/ia64/ia64.c: Include system.h.
11202
11203 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
11204
11205         * except.c (nothrow_function_p): If -fno-exceptions, just return.
11206         (init_eh_nesting_info): Likewise.
11207
11208         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
11209         (TREE_NOTHROW): Rename from TREE_RAISES.
11210         * toplev.c (rest_of_compilation): Set it.
11211         * print-tree.c (print_node): Adjust.
11212         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
11213         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
11214         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
11215         REG_EH_REGION note as appropriate.
11216         (libfunc_nothrow): New fn.
11217         (emit_library_call, emit_library_call_value): Use it.
11218         (expand_call): Check TREE_NOTHROW.
11219
11220         * varasm.c (make_decl_rtl): Skip initial '*' when setting
11221         DECL_ASSEMBLER_NAME.
11222
11223 2000-03-09  Andreas Jaeger  <aj@suse.de>
11224
11225         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
11226         (TARGET_MEM_FUNCTIONS): Define.
11227
11228 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
11229
11230         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
11231
11232         * except.c (can_throw): See through a SEQUENCE.
11233         (nothrow_function_p): New fn.
11234         * except.h: Declare it.
11235         * function.c (current_function_nothrow): New var.
11236         (prepare_function_start): Initialize it.
11237         * output.h: Declare it.
11238         * toplev.c (rest_of_compilation): Set it.
11239         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
11240
11241 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
11242
11243         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
11244         match.  (cpp_compare_defs): Count the nul separator when
11245         advancing over argument names.
11246
11247 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
11248
11249         * recog.c (preprocess_constraints): Matching constraints affect
11250         same alternative/different operand, not same operand/different
11251         alternative.
11252
11253         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
11254         register and a constant specially.
11255
11256 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11257
11258         * libgcc2.h: New file.
11259         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
11260
11261 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
11262
11263         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
11264         * configure: Regenerate.
11265         * config/ia64: New.
11266
11267 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
11268
11269         * Makefile.in (LIBCPP_DEPS): New macro.
11270         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
11271         it to declare deps.
11272         * cpperror.c: Include cpphash.h.
11273         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
11274         dingleberry.
11275         (lex): Don't use CPP_WARN_UNDEF.
11276         (_cpp_parse_expr): Return an int, the truth value.
11277         * cppfiles.c: Include cpphash.h.
11278         (_cpp_merge_include_chains): Move to cppinit.c and make static.
11279         * cppinit.c (include_defaults_array): Disentangle.
11280         (cpp_cleanup): Don't free the if stack here.
11281         (cpp_finish): Pop off all buffers, not just one.
11282         * cpplib.c (eval_if_expr): Return int.
11283         (do_xifdef): Rename do_ifdef.
11284         (handle_directive): Don't use CPP_PREPROCESSED.
11285         (cpp_get_token): Don't use CPP_C89.
11286         * fix-header.c: Don't use CPP_OPTIONS.
11287
11288         * cpplib.h: Move U_CHAR, enum node_type, struct
11289         file_name_list, struct ihash, is_idchar, is_idstart,
11290         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
11291         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
11292         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
11293         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
11294         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
11295         of _cpp_simplify_pathname, _cpp_find_include_file,
11296         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
11297         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
11298         cppinit.c.
11299         Change all uses of U_CHAR to be unsigned char instead.
11300         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
11301
11302 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
11303
11304         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
11305         (dwarf2out_begin_prologue): Set it.
11306         (output_call_frame_info): Don't emit EH unwind info for leaves.
11307
11308         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
11309         can occur outside of an EH region.
11310         * except.c: Correct comments about rethrow behavior.
11311         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
11312
11313 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
11314
11315         * flow.c (make_edges): Always call make_eh_edge for calls.
11316
11317 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
11318
11319         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
11320         (struct cpp_buffer): Remove fname and underflow fields.
11321         (struct cpp_reader): Remove get_token field.
11322         (struct include_hash): Rename to struct ihash.  Add typedef to
11323         IHASH.
11324         (struct if_stack): Remove fname field.
11325         (IF_STACK_FRAME): Rename to IF_STACK.
11326
11327         * cpperror.c (print_containing_files): Trust that there are no
11328         macro buffers below the top file buffer.
11329         * cppfiles.c: Replace all references to 'struct include_hash'
11330         with 'IHASH'.  Rename initialize_input_buffer to
11331         init_input_buffer.  Don't set or reference cpp_buffer->fname,
11332         use buffer->ihash->name instead.
11333         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
11334         not CPP_NULL_BUFFER.
11335         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
11336         IF_STACK_FRAME, IHASH not struct include_hash.
11337         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
11338         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
11339         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
11340         references to cpp_buffer->fname (delete entirely, or use
11341         ->ihash->name instead) and IF_STACK->fname.
11342         (cpp_push_buffer): Don't set new->underflow.
11343         (do_include): Use cpp_file_buffer.
11344
11345         * cpphash.c (collect_formal_parameters): Remove duplicate
11346         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
11347         used as a macro argument name.  Don't append "..." to namebuf
11348         for varargs macros.  After we're done scanning, go through
11349         namebuf and make it NUL separated, not comma separated.
11350         (_cpp_compare_defs): Remove register tag from variables.
11351         Expect defn->argnames to be NUL separated.
11352         (_cpp_dump_definition): Expect defn->argnames to be NUL
11353         separated and in forward order.
11354         * cpphash.h: Update documentation of argnames field.
11355
11356 2000-03-08  Richard Henderson  <rth@cygnus.com>
11357
11358         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
11359         to fail.  Don't pre-expand the source operand.
11360
11361         * i386.md (strlensi): Initialize eoschar and align before use.
11362
11363 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
11364
11365         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
11366         CONSTRUCTOR element.
11367
11368 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
11369
11370         * mips.c (mips_expand_prologue): If the last
11371         named argument is the vararg marker "va_list", treat it as
11372         an unnamed argument.
11373
11374 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
11375
11376         * dbxout.c (dbxout_parms): When correcting for promoted
11377         big-endian parameters, use the mode of the DECL_RTL rather
11378         than UNITS_PER_WORD.
11379
11380 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
11381
11382         * c-common.h (make_fname_decl): Declare.
11383         * c-common.c (make_fname_decl): Define.
11384         (declare_hidden_char_array): Remove.
11385         (declare_function_name): Use make_fname_decl.
11386         * c-decl.c (c_make_fname_decl): New function.
11387         (init_decl_processing): Set make_fname_decl.
11388
11389 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
11390
11391         * cccp.c (handle_directive): Initialize backslash_newlines_p.
11392
11393 2000-03-07  Philipp Thomas  <pthomas@suse.de>
11394
11395         * po/POTFILES.in: Remove cppalloc.c from file list.
11396
11397 2000-03-07  Steve Chamberlain  <sac@pobox.com>
11398
11399         * pj.c (pj_expand_prologue): current_function->args_info is
11400         now current_function_args_info.
11401
11402         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
11403         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
11404         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
11405
11406 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11407
11408         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
11409         output as hexadecimal rather than the default octal.
11410
11411 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
11412
11413         * cpphash.c (special_symbol): Fix thinko in previous commit.
11414
11415 2000-03-07  Neil Booth  <NeilB@earthling.net>
11416
11417         * cppexp.c (struct operation, left_shift, right_shift,
11418         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
11419         "int"s to "unsigned int"s.
11420         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
11421         Similarly.
11422         * cpplib.h: Update for above.
11423         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
11424         returned from allocations.
11425
11426         * cppinit.c (opt_comp, parse_options): New functions.
11427         (handle_option): Use parse_option to parse a single command
11428         line option, that possibly takes an argument.
11429         (cpp_handle_options): Sort the array of command line options on
11430         first invocation (non-ASCII hosts only).
11431         (print_help): Update.
11432
11433 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
11434
11435         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
11436         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
11437
11438         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
11439         initialized.
11440         * cppinit.c (cpp_cleanup): Free imp->nshort also.
11441
11442         * cpperror.c (cpp_print_containing_files,
11443         cpp_print_file_and_line, v_cpp_message): Rename to
11444         print_containing_files, print_file_and_line, and v_message.
11445         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
11446         to _cpp_parse_expr, parse_escape, and lex.
11447         (parse_charconst): Remove broken multibyte support.
11448         * cppfiles.c (include_hash): Make static.
11449         (cpp_included): New function.
11450         (merge_include_chains, find_include_file, finclude,
11451         simplify_pathname): Rename to _cpp_merge_include_chains,
11452         _cpp_find_include_file, _cpp_read_include_file, and
11453         _cpp_simplify_pathname.
11454         * cpphash.c (cpp_lookup, free_definition, delete_macro,
11455         cpp_install, create_definition, macroexpand, compare_defs,
11456         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
11457         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
11458         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
11459         * cppinit.c (cpp_handle_option): Rename to handle_option, make
11460         static.
11461         * cpplib.c: Remove extern prototype of cpp_parse_expr.
11462
11463         * cpphash.h: Update prototypes.
11464         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
11465
11466 2000-03-07  Andrew Haley  <aph@cygnus.com>
11467
11468         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
11469         PTRDIFF_TYPE should be based solely on Pmode.
11470         (SIZE_TYPE): ditto.
11471
11472 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11473
11474         * rtl.h (rtunion_def): Constify member `rtstr'.
11475         (emit_line_note_after, emit_line_note, emit_line_note_force,
11476         emit_note, decode_asm_operands): Constify.
11477
11478         * cse.c (canon_hash): Likewise.
11479
11480         * dbxout.c (dbxout_block): Likewise.
11481
11482         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
11483         v_warning_for_asm): Likewise.
11484
11485         * dwarfout.c (function_start_label): Likewise.
11486
11487         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
11488         emit_line_note_force): Likewise.
11489
11490         * final.c (last_filename, asm_insn_count, final_scan_insn,
11491         output_source_line): Likewise.
11492
11493         * function.h (struct emit_status): Likewise.
11494
11495         * gcse.c (hash_expr_1): Likewise.
11496
11497         * genattr.c (gen_attr, main): Likewise.
11498
11499         * genattrtab.c (struct function_unit, current_alternative_string,
11500         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
11501         attr_numeral, check_attr_test, check_attr_value,
11502         convert_set_attr_alternative, convert_set_attr,
11503         compute_alternative_mask, simplify_by_exploding, gen_attr,
11504         gen_unit): Likewise.
11505
11506         * genflags.c (gen_insn): Likewise.
11507
11508         * gengenrtl.c (type_from_format): Likewise.
11509
11510         * genopinit.c (gen_insn): Likewise.
11511
11512         * genoutput.c (n_occurrences, process_template, process_template):
11513         Likewise.
11514
11515         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
11516         Likewise.
11517
11518         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
11519         Likewise.
11520
11521         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
11522         ggc_set_mark, ggc_get_size): Likewise.
11523
11524         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
11525
11526         * optabs.c (init_one_libfunc): Likewise.
11527
11528         * output.h (assemble_start_function): Likewise.
11529
11530         * recog.c (decode_asm_operands): Likewise.
11531
11532         * toplev.c (rest_of_compilation): Likewise.
11533
11534         * tree.h (emit_line_note_after, emit_line_note,
11535         emit_line_note_force): Likewise.
11536
11537         * varasm.c (asm_output_bss, asm_output_aligned_bss,
11538         asm_emit_uninitialised, assemble_start_function,
11539         assemble_variable, const_hash, compare_constant_1,
11540         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
11541
11542         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
11543
11544         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
11545
11546         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
11547
11548         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
11549
11550         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
11551         arm_dllimport_name_p): Likewise.
11552
11553         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
11554         Likewise.
11555
11556         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
11557
11558         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11559
11560         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
11561         arm_mark_dllexport, arm_mark_dllimport,
11562         arm_pe_encode_section_info): Likewise.
11563
11564         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
11565         ASM_FINISH_DECLARE_OBJECT): Likewise.
11566
11567         * arm/thumb.c (thumb_function_prologue): Likewise.
11568
11569         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
11570
11571         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11572
11573         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
11574
11575         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
11576
11577         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
11578
11579         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11580
11581         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
11582         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
11583
11584         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
11585
11586         * i386/i386.c (asm_output_function_prefix): Likewise.
11587
11588         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
11589
11590         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11591
11592         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
11593
11594         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
11595         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
11596         ASM_OUTPUT_SECTION_NAME): Likewise.
11597
11598         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
11599
11600         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
11601
11602         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
11603
11604         * m32r/m32r.c (m32r_encode_section_info): Likewise.
11605
11606         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11607
11608         * mcore/mcore.c (mcore_encode_section_info): Likewise.
11609
11610         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11611
11612         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11613
11614         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11615
11616         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
11617
11618         * mips/mips.md (movdi, movsi): Likewise.
11619
11620         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11621
11622         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11623
11624         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
11625
11626         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
11627         ASM_OUTPUT_ASCII): Likewise.
11628
11629         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
11630         output_mi_thunk, output_toc): Likewise.
11631
11632         * rs6000/rs6000.md (movsi): Likewise.
11633
11634         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
11635
11636         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
11637
11638         * v850/v850.c (print_operand, print_operand_address,
11639         v850_encode_data_area): Likewise.
11640
11641 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
11642
11643         * config/mips/mips.md (zero_extendsidi2): Always force operand
11644         one to memory for mips16.
11645
11646 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11647
11648         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
11649         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
11650         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
11651         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
11652         (min_precision): Result is unsigned.
11653         (add_double, neg_double, mul_double): Low word is unsigned.
11654         (lshift_double, rshift_double, lrotate_double): Likewise.
11655         (rrotate_double, div_and_round_double): Likewise.
11656         (tree_floor_log2, compare_tree_int): New functions.
11657         (preserve_rtl_expr_temps): New declaration.
11658         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
11659         (decl_attributes): Use tree_log2 to find alignment.
11660         Check for TREE_INT_CST_HIGH for format args.
11661         (min_precision): Now unsigned.
11662         Use tree_floor_log2.
11663         (truthvalue_conversion): Delete long-disabled code.
11664         * c-decl.c (finish_struct): Clean up tests on field width.
11665         (finish_function): Use compare_tree_int.
11666         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
11667         * c-typeck.c (comptypes): Use tree_int_cst_equal.
11668         (default_conversion, digest_init): Use compare_tree_int.
11669         (build_binary_op): Use integer_all_onesp and compare_tree_int.
11670         Fix type errors in forming masks.
11671         * calls.c (initialize_argument_information): Use compare_tree_int.
11672         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
11673         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
11674         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
11675         (store_field): Use compare_tree_int.
11676         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
11677         (expand_expr, case ARRAY_REF): Use compare_tree_int.
11678         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
11679         (do_store_flag): Use compare_tree_int.
11680         * fold-const.c (encode, decode): Low part is always unsigned.
11681         (force_fit_type, add_double, neg_double, mul_double): Likewise.
11682         (lshift_double, rshift_double, lrotate_double): Likewise.
11683         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
11684         (fold_convert): Use compare_tree_int.
11685         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
11686         (invert_truthvalue, case INTEGER_CST): Likewise.
11687         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
11688         * mkdeps.c (deps_dummy_targets): Make I unsigned.
11689         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
11690         (lshift_double, rshift_double, lrotate_double, rrotate_double):
11691         Likewise.
11692         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
11693         (expand_end_case): Use compare_tree_int.
11694         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
11695         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
11696         (layout_decl): Likewise.
11697         (layout_record, layout_union): Make sizes unsigned.
11698         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
11699         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
11700         * tree.c (struct type_hash): hashcode is unsigned.
11701         (build_type_attribute_variant, type_hash_list): Likewise.
11702         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
11703         (attribute_hash_list, build_array_type, build_method_type): Likewise.
11704         (build_complex_type): Likewise.
11705         (real_value_from_int_cst): Remove unneeded casts.
11706         (integer_all_onesp): Add casts.
11707         (tree_floor_log2, compare_tree_int): New functions.
11708         (build_index_type): Use tree_int_cst_sgn.
11709         * varasm.c (assemble_variable): Use compare_tree_int.
11710
11711 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
11712
11713         * cpphash.c (collect_expansion): Also catch ## at start of macro.
11714
11715         * varasm.c (make_decl_rtl): Don't add a number to members of
11716         local classes.
11717         (make_function_rtl): Likewise.
11718
11719 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11720
11721         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
11722         patch from 2000-01-28.
11723
11724 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
11725
11726         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
11727         filled with an insn from the jump target.
11728
11729 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11730
11731         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
11732         (c4x_external_ref): Likewise.
11733         * config/c4x/c4x.c (struct name_list): Likewise.
11734
11735 1999-12-16  Ben Collins  <bcollins@debian.org>
11736
11737         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
11738         argument to genmultilib.
11739         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
11740         the contents into the multilib.h header.
11741         * gcc.c: Declare multilib_exclusions for the specs file.
11742         (set_multilib_dir): Use it.
11743         (print_multilib_info): Likewise.
11744         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
11745         to pass to genmultilib.
11746
11747 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11748
11749         * builtins.c (built_in_class_names, built_in_names): Constify a
11750         char*.
11751
11752         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
11753         int.
11754         (_mcleanup): Ensure value matches format specifier in sprintf.
11755
11756         * cpphash.c (special_symbol): Don't needlessly cast away
11757         const-ness.
11758
11759         * cppinit.c (base_name): Delete unused prototype.
11760
11761         * mkdeps.c (deps_init): Make definition K&R safe.
11762
11763         * tree.h (built_in_class_names, built_in_names): Constify a
11764         char*.
11765
11766 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
11767
11768         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
11769         floating point instructions for epilogue delay.
11770
11771         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
11772         to gas if it supports .register pseudo.
11773
11774         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
11775         LONG_DOUBLE_TYPE_SIZE if not defined.
11776         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
11777         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
11778         * real.c: Likewise.
11779         * gengenrtl.c: Likewise.
11780         * print-rtl.c: Likewise.
11781         * rtl.c: Likewise.
11782         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
11783         MASK_LONG_DOUBLE_128.
11784         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
11785         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
11786         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
11787         (SUBTARGET_SWITCHES): Define.
11788         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
11789         with -mlong-double-128.
11790         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
11791         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
11792         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
11793         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
11794         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
11795         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
11796         with -mlong-double-128.
11797         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
11798         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
11799         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
11800         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
11801         TARGET_LONG_DOUBLE_128): Define.
11802         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
11803         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
11804         long double on TARGET_ARCH64.
11805
11806 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
11807
11808         * function.c (free_temps_for_rtl_expr): Don't free slots
11809         that have been pushed into a higher level.
11810
11811         Revert this patch:
11812         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
11813
11814 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
11815
11816         * basic-block.h (ALLOCA_REG_SET): Remove.
11817         (INITIALIZE_REG_SET): New macro.
11818         * flow.c (update_life_info): Use it.
11819         (calculate_global_regs_live): Likewise.
11820         (propagate_block): Likewise.
11821         * global.c (build_insn_chain): Likewise.
11822         * haifa-sched.c (schedule_region): Likewise.
11823
11824 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
11825
11826         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
11827         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
11828         (DWARF_ARANGES_PAD_SIZE): New define.
11829         (output_aranges): Use it to pad the address range header.
11830         (DWARF_ROUND): Fix for non power of 2 rounding.
11831
11832 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
11833
11834         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
11835
11836 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
11837
11838         * tree.def (RTL_EXPR): Update documentation.
11839         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
11840         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
11841         * function.c (preserve_rtl_expr_temp): New function.
11842         (preserve_rtl_expr_temps): Likewise.
11843         (preserve_rtl_expr_result): Use it.
11844
11845         Revert this patch:
11846         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
11847
11848 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
11849
11850         * regmove.c (copy_src_to_dest)  Do not create src->dest move
11851         for unchanging destination.
11852
11853 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
11854
11855         * function.h (struct sequence_stack): Remove rtl_expr.
11856         (struct emit_staus): Likewise.
11857         (seq_rtl_expr): Remove.
11858         * tree.h (free_temps_for_rtl_expr): Don't declare.
11859         (start_sequence_for_rtl_expr): Likewise.
11860         * rtl.h (preserve_rtl_expr_result): Likewise.
11861         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
11862         (start_sequence_for_rtl_expr): Remove.
11863         (push_topmost_sequence): Don't save sequence_rtl_expr.
11864         (pop_topmost_sequence): Remove comment about not restoring it.
11865         (end_sequence): Don't set seq_rtl_expr.
11866         (init_emit): Don't initialize it.
11867         (mark_sequence_stack): Don't mark it.
11868         (mark_emit_status): Likewise.
11869         * except.c (protect_with_terminate): Use
11870         start_sequence_for_rtl_expr, not start_sequence.
11871         * expr.c (expand_expr, case RTL_EXPR): Don't call
11872         preserve_rtl_expr_result or free_temps_for_rtl_expr.
11873         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
11874         (preserve_rtl_expr_result): Remove.
11875         (free_temps_for_rtl_expr): Likewise.
11876         (pop_temp_slots): Likewise.
11877         (mark_temp_slot): Don't mark the rtl_expr.
11878         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
11879         start_sequence_for_rtl_expr.
11880
11881 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
11882
11883         * mkdeps.c, mkdeps.h: New files.
11884         * po/POTFILES.in: Add them.
11885         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
11886         (cpplib.o, cppinit.o): Depend on mkdeps.h.
11887         (mkdeps.o): New target.
11888
11889         * cppfiles.c: Delete deps_output.
11890         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
11891         OBJECT_SUFFIX, and base_name.
11892         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
11893         the include hash.
11894         (initialize_dependency_output): Use deps_init,
11895         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
11896         all the unnecessary string bashing.
11897         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
11898         level.
11899         * cpplib.c (do_include): Use deps_add_dep.
11900         * cpplib.h (struct cpp_reader): Replace deps_buffer,
11901         deps_allocated_size, deps_size, deps_column members with
11902         single pointer to a struct deps.  Delete prototype of
11903         deps_output.
11904
11905         * cppinit.c: Fix thinko in previous patch.
11906
11907 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11908
11909         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
11910         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
11911         (mode_for_size_tree): New function.
11912         (layout_decl, layout_type): Call it and clean up BLKmode checks.
11913         * tree.h (mode_for_size_tree): New declaration.
11914
11915         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
11916
11917 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
11918
11919         * stmt.c (is_body_block): Move...
11920         * dwarfout.c, dwarf2out.c: ...from here.
11921         * tree.h: Declare it.
11922         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
11923         * final.c (final_start_function): Do call remove_unnecessary_notes
11924         when scheduling.
11925
11926 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
11927
11928         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
11929
11930         * cpplib.h (_dollar_ok): New macro.
11931         (is_idchar, is_idstart): Use it.
11932         (IStable): Rename to _cpp_IStable.  Declare it const if
11933         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
11934         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
11935         is_space): Update for renamed IStable.
11936
11937         * cppinit.c: Delete all references to FAKE_CONST and CAT
11938         macros. Define init_IStable as empty macro if gcc >=2.7 or
11939         C99. Change TABLE() to ISTABLE and hardcode name of table.
11940         (cpp_start_read): Don't change the IStable based on
11941         dollars_in_ident.
11942
11943         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
11944         changed.  Handle '$' for char1 correctly.
11945         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
11946
11947         * cppexp.c (tokentab2): Make const.
11948         (cpp_lex): Make toktab const.
11949         * cppinit.c (include_defaults_array): Make const.
11950         (initialize_standard_includes): Make default_include const.
11951
11952 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
11953
11954         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
11955         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
11956         (gen_decl_die): Likewise.
11957         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
11958         (output_decl): Likewise.
11959
11960         * varasm.c (make_function_rtl): If we change the name used in the
11961         rtl, update DECL_ASSEMBLER_NAME accordingly.
11962         (make_decl_rtl): Likewise.
11963
11964         * toplev.c (rest_of_compilation): Tweak formatting.
11965
11966         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
11967         remove_unnecessary_notes.
11968         (debug_ignore_block): New fn.
11969         * toplev.h: Declare it.
11970         * emit-rtl.c (remove_unncessary_notes): Call it.
11971         * dwarf2out.c (dwarf2out_ignore_block): New fn.
11972         * dwarf2out.h: Declare it.
11973         * final.c (final_start_function): Don't call remove_unnecessary_notes
11974         if we did insn scheduling.
11975
11976 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
11977
11978         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
11979         * cpplib.h: Delete SET_CPP_PEDANTIC.
11980
11981 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11982
11983         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
11984         result is a RECORD_TYPE.
11985
11986 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
11987
11988         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
11989
11990 2000-03-03  Richard Henderson  <rth@cygnus.com>
11991
11992         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
11993         addition over compliments over shifts.
11994
11995 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11996
11997         * reload1.c (reload_combine_note_use): Handle return register USEs.
11998         REG case: Handle multi-hard-register hard regs.
11999
12000 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12001
12002         * md.texi: Document use of '*' in insn pattern name.
12003
12004 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
12005
12006         * calls.c (special_function_p): operator new may not be malloc-like.
12007
12008         * gcse.c (dump_hash_table): Really fix error in last change.
12009
12010 2000-03-02  Denis Chertykov  <denisc@overta.ru>
12011
12012         * avr.c (print_operand): Use print_operand_address instead of
12013         output_addr_const.
12014         * avr/libgcc.S: Cleanup code.
12015
12016 2000-03-02  Richard Henderson  <rth@cygnus.com>
12017
12018         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
12019
12020 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
12021
12022         * tree.h (TYPE_ALIGN_UNIT): New macro.
12023
12024 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
12025
12026         * i386.c: (constant_call_address_operand): Reject CONST_INT.
12027
12028 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
12029
12030         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
12031         for the buffer.
12032         (SET_CPP_PEDANTIC): New macro.
12033         * cpplib.c (do_include): Don't bother checking system_header_p.
12034         (do_warning, do_ident, do_assert, do_unassert): Likewise.
12035         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
12036
12037         * function.h (struct expr_status): Add x_arg_space_so_far.
12038         (arg_space_so_far): New macro.
12039         * expr.c (init_expr): Initialize it.
12040         * calls.c (emit_call_1): Reset it.
12041         (compute_argument_block_size, expand_call): Use it.
12042         (expand_call, store_one_arg): Increment it.
12043
12044 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12045
12046         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
12047         a UNION_TYPE.
12048
12049 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
12050
12051         * cppfiles.c (cpp_read_file): New function.
12052
12053         * cpphash.c (collect_expansion): Make sure to reset last_token
12054         to NORM when we hit a string.  Handle trailing whitespace
12055         properly when the expansion is empty.
12056         (create_definition): Disable line commands while parsing the
12057         directive line.
12058         (dump_definition): If pfile->lineno == 0, output a line
12059         command ahead of the dump, and add a trailing newline.
12060
12061         * cppinit.c (append_include_chain): Add fifth argument, which
12062         indicates whether or not system headers are C++ aware.
12063         (initialize_standard_includes): New function,
12064         broken out of read_and_prescan.  Pass 'cxx_aware' value from
12065         the include_defaults_array on to append_include_chain.
12066         (dump_special_to_buffer): Const-ify char array.
12067         (builtin_array): Don't dump __BASE_FILE__.
12068         (cpp_start_read): Use cpp_read_file.  Reorder code for
12069         clarity.  Don't output line commands here for -D/-A/-U
12070         switches.  Don't call deps_output for files included with
12071         -include or -imacros.
12072
12073         * cpplib.c (do_define): Don't pay any attention to the second
12074         argument.
12075         (cpp_expand_to_buffer): Disable line commands while scanning.
12076         (output_line_command): Work in the file buffer.
12077         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
12078         Fix formatting of comments.  Prototype cpp_read_file.
12079
12080 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12081
12082         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
12083         reference the language-equivalent of sizetype.
12084         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
12085         * fold-const.c (size_binop, size_diffop): Put back checks.
12086         * gcse.c (dump_hash_table): Fix minor error in last change.
12087         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
12088         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
12089         all sizetypes.
12090
12091 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
12092
12093         * calls.c (expand_call)  Do not attempt to combine stack adjustments
12094         with inhibit_defer_pop set.
12095
12096 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
12097
12098         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
12099         the DECL_SIZE for a FIELD_DECL.
12100
12101 2000-03-01  Bruce Korb  <bkorb@gnu.org>
12102
12103         * fixinc/inclhack.tpl: remove unused symlinks
12104         * fixinc/README: GCC Maintainer info
12105         * fixinc/inclhack.sh: regen
12106         * fixinc/fixincl.sh: regen
12107
12108 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
12109
12110         * cpphash.c (collect_expansion): Trim trailing white space
12111         from macro definitions, but don't go past the last insertion
12112         point.
12113
12114 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
12115
12116         * i386.md (mulqi3): New pattern.
12117
12118 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
12119
12120         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
12121         token types.
12122         (struct cpp_reader): Add parsing_if_directive and
12123         parsing_define_directive flags.
12124         (struct cpp_options): Remove output_conditionals flag.
12125         (check_macro_name): Delete prototype.
12126
12127         * cpphash.h (struct macrodef): Delete.
12128         (struct reflist): Separate from struct definition.
12129         (struct definition): Remove unused fields.  Add column number.
12130         (create_definition): Returns a DEFINITION *.  Takes a
12131         cpp_reader * and an int.
12132
12133         * cpphash.c (SKIP_WHITE_SPACE): Delete.
12134         (PEEKC): Copy defn from cpplib.c.
12135         (rest_extension, REST_EXTENSION_LENGTH): Delete.
12136         (struct arg): New.
12137         (struct arglist): Simplify.
12138         (collect_expansion): Rewrite.  Get tokens by calling
12139         cpp_get_token.  Add more error checking.
12140         (collect_formal_parameters): New function, broken out of
12141         create_definition and reworked to use get_directive_token.
12142         (create_definition): All real work is now in collect_expansion
12143         and collect_formal_parameters.  do_define handles finding the
12144         macro name.  Return a DEFINITION, not a MACRODEF.
12145         (macroexpand): Replace bcopy with memcpy throughout.  Replace
12146         character-at-a-time copy loop with memcpy and pointer increments.
12147         (compare-defs): d1->argnames / d2->argnames might be null.
12148
12149         * cpplib.c (copy_rest_of_line): Delete function.
12150         (skip_rest_of_line): Do all the work ourselves.
12151         (skip_string): New function.
12152         (parse_string): Use skip_string.
12153         (get_macro_name): New function.
12154         (check_macro_name): Delete.
12155         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
12156         (cpp_skip_hspace): Use CPP_BUMP_LINE.
12157         (handle_directive): ICE if we're called on a macro buffer.
12158         (do_define): Determine macro name and type (funlike/objlike)
12159         here.  Expunge all uses of MACRODEF.
12160         (cpp_push_buffer): Set line_base to NULL.
12161         (do_undef, read_line_number): Don't worry about getting a POP token.
12162         (eval_if_expression): Set/reset parsing_if_directive around
12163         cpp_parse_expr. Don't clear only_seen_white.
12164         (skip_if_group): Remove output_conditionals logic.  Use
12165         skip_rest_of_line.
12166         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
12167         tokens under appropriate conditions.
12168         (cpp_unassert): Call do_unassert not do_assert.  Oops.
12169
12170         * cppexp.c (parse_defined): New function, break out of
12171         cpp_lex.
12172         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
12173         ourselves, with cpp_defined.
12174         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
12175
12176         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
12177         * gcc.dg/strpaste-2.c: New.
12178
12179 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
12180
12181         * fold-const.c (size_binop): Don't asert inputs are the same and
12182         have TYPE_IS_SIZETYPE set.
12183         (size_diffop): Likewise.
12184
12185 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
12186
12187         * dwarfout.c (output_block): Output abstract blocks even if they
12188         don't have TREE_ASM_WRITTEN set.
12189
12190         * calls.c (emit_library_call): Check for null REG.
12191
12192 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
12193
12194         * c-decl.c (current_function_decl): Move to toplev.c.
12195         (init_decl_processing): Don't add current_function_decl as a ggc
12196         root here.
12197         * dbxout.c (dbxout_symbol): Change return type to int.
12198         (dbxout_symbol_location, dbxout_syms): Likewise.
12199         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
12200         any locals. Use current_function_func_begin_label if set.
12201         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
12202         * dwarf2out.c (dwarf2out_begin_prologue): Set
12203         current_function_func_begin_label.
12204         * final.c (final_start_function): Reset it.
12205         * toplev.c (current_function_decl): Define it here.
12206         (current_function_func_begin_label): New variable.
12207         (main): Add both as ggc roots.
12208         * tree.h (current_function_func_begin_label): Declare.
12209
12210 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12211
12212         * gcse.c: Cleanups throughout: mostly white-space, but also
12213         some minor rearrangement of code.
12214
12215 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
12216
12217         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
12218         returns a PARALLEL.  Use emit_group_load and use_group_regs
12219         as needed.
12220         (emit_library_call_value): Similarly.
12221
12222         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
12223         * pa/quadlib.asm: Remove.
12224         * pa/quadlib.c: New file.
12225
12226         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
12227         * configure: Rebuilt.
12228
12229 2000-02-29  Philip Blundell  <pb@futuretv.com>
12230
12231         * config/arm/conix-elf.h: New file.
12232         * configure.in (arm*-*-conix*): New configuration.
12233         * configure: Regenerate.
12234
12235 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
12236
12237         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
12238         don't have TREE_ASM_WRITTEN set.
12239
12240 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12241
12242         * Eliminate DECL_FIELD_SIZE.
12243         * builtins.c (built_in_class_names, built_in_names): New variables.
12244         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
12245         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
12246         DECL_SIZE, not DECL_FIELD_SIZE.
12247         * print-tree.c (print_node): Remove code that prints extra blank
12248         lines in some cases.
12249         Properly handle inline and builtin function cases.
12250         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
12251         * tree.h (built_in_class_named, built_in_names): New declarations.
12252         (union tree_decl): Rename internal unions to u1 and u2 and change
12253         some of their components.
12254         Add new field built_in_class.
12255         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
12256         Reflect above changes.
12257         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
12258         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
12259         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
12260         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
12261
12262 2000-02-28  Dmitri Makarov  <dim@windriver.com>
12263
12264         * extend.texi: Document ARM's support for long/short calls.
12265
12266         * invoke.texi: Document ARM's -mlong-calls command line switch.
12267
12268         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
12269         (arm_encode_call_attribute): Add prototype.
12270         (arm_set_default_type_attribute): Add prototype.
12271         (arm_strip_name_encoding): Add prototype.
12272
12273         * config/arm/arm.c (arm_init_cumulative_args): replace
12274         initialisation og 'long_calls' field with initialisation of
12275         'call_cookie' field.
12276         (enum arm_pragma_enum): New enum.
12277         (arm_pragma_long_calls): New static variable.
12278         (arm_process_pragma): Also process "#pragma long_calls_off".
12279         (arm_valid_type_attribute_p): Accept short_call attribute.
12280         (arm_comp_type_attributes): Check long/short call attributes.
12281         (arm_encode_call_attribute):  New function:  Encode long_call
12282         or short_call attribute in function name.
12283         (arm_set_default_type_attributes): New function: Assign
12284         default attributes to newly defined type.
12285         (current_file_function_operand): New function: Return true if
12286         the symbol is a function which has already been compiled.
12287         (arm_is_longcall_p): New function: Return true if the
12288         indicated function should be called via a long call.
12289         (arm_get_strip_length): New function.  Returns number of
12290         prefix characters to be stripped from a function's name.
12291         (arm_strip_name_encoding): New function.  Strip prefix characters
12292         from a function's name.
12293
12294         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
12295         with 'call_cookie'.
12296         (SHORT_CALL_FAG_CHAR): Define.
12297         (LONG_CALL_FAG_CHAR): Define.
12298         (ENCODED_SHORT_CALL_ATTR_P): Define.
12299         (ENCODED_LONG_CALL_ATTR_P): Define.
12300         (ARM_NAME_ENCODING_LENGTHS): Define.
12301         (STRIP_NAME_ENCODING): Define.
12302         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
12303         (ARM_ENCODE_CALL_TYPE): Define.
12304         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
12305         (ARM_DECLARE_FUNCTION_SIZE): Define.
12306         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
12307
12308         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
12309         if a long call is needed.
12310         (call_value): Ditto.
12311         (call_symbol): Ditto.
12312
12313         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
12314         ARM_DECLARE_FUNCTION_SIZE.
12315
12316         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
12317         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
12318         (ARM_STRIP_NAME_ENCODING): Undefine.
12319         (STRIP_NAME_ENCODING): Undefine.
12320         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
12321         (ASM_DECLARE_FUNCTION_NAME): Ditto.
12322         (ASM_OUTPUT_COMMON): Ditto.
12323         (ASM_DECLARE_OBJECT_NAME): Ditto.
12324
12325         * config/arm/pe.c (arm_dllexport_name_p): Check for
12326         ARM_PE_FLAG_CHAR.
12327         (arm_dllimport_name_p): Ditto.
12328         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
12329         (arm_mark_dllimport): Ditto.
12330
12331 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12332
12333         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
12334
12335 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
12336
12337         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
12338
12339 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
12340
12341         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
12342         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
12343         NO_BUILTIN_WCHAR_TYPE is not defined.
12344         (CPP_WCHAR_TYPE): Delete.
12345         * cccp.c (main): Don't change wchar_type if cplusplus.
12346         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
12347
12348 2000-02-28  Nick Clifton  <nickc@cygnus.com>
12349
12350         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
12351
12352 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
12353
12354         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
12355         (ASM_WEAKEN_LABEL): Define.
12356
12357 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
12358
12359         * expr.c (store_constructor): Do not emit USE.
12360         * rtl.h (stupid_life_analysis): Remove.
12361
12362 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12363
12364         * function.c (number_blocks): Reset next_block_index based on
12365         what debugging format is used, not what is defined.
12366
12367         * lcm.c: Minor reformatting throughout.
12368         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
12369
12370         * toplev.c (rest_of_compilation): Account for time in
12371         optimize_mode_switching.
12372
12373         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
12374         if only marking labels.
12375
12376 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
12377
12378         * calls.c (expand_call): Attempt to combine stack adjustments with
12379         pending stack adjustments.
12380
12381 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12382
12383         * loop.c (reg_in_basic_block_p): Don't abort when falling through
12384         to the end of the function.
12385
12386 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
12387
12388         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
12389         blocks.
12390         * final.c (next_block_index): Remove.
12391         (max_block_depth): Likewise.
12392         (pending_blocks): Likewise.
12393         (init_final): Don't initialize them.
12394         (final_start_function): Don't set next_block_index.  Set up
12395         BLOCK_NUMBER.
12396         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
12397         * function.h (number_blocks): New function.
12398         * function.c (get_block_vector): New function.
12399         (identify_blocks): Use it.
12400         (reorder_blocks): Set NOTE_BLOCK.
12401         (number_blocks): New function.
12402         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
12403         * tree.h (BLOCK_NUMBER): New macro.
12404         (tree_block): Add block_num field.
12405         * dbxout.c (next_block_number): Remove.
12406         (dbxout_init): Don't set it.
12407         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
12408         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
12409         block numbers.
12410         * toplev.c (rest_of_compilation): Always call
12411         find_loop_tree_blocks.  Fix indentation.
12412         * dwarf2out.c (next_block_number): Remove.
12413         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
12414         to determine block numbers.
12415         (gen_inlined_subroutine_die): Likewise.
12416         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
12417         (decls_for_scope): Don't increment next_block_number.
12418         * dwarfout.c (next_block_number): Remove.
12419         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
12420         to determine block numbers.
12421         (output_inlined_subroutine_die): Likewise.
12422         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
12423         (output_decls_for_scope): Don't increment next_block_number.
12424         * sdbout.c (next_block_number): Remove.
12425         (sdbout_block): Use BLOCK_NUMBER.
12426         (sdbout_begin_block): Simplify.
12427         * xcoffout.c (next_block_number): Remove.
12428         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
12429         (xcoffout_begin_block): Don't set next_block_number.
12430         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
12431         next_block_number.
12432
12433 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12434
12435         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
12436         (expand_builtin_strcpy): Pass correct type to size_binop.
12437         (expand_builtin_strcmp): Likewise.
12438         Clean up conditional structure.
12439         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
12440         (complete_array_type): Don't use size_binop for MAXINDEX.
12441         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
12442         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
12443         (c_alignof): Use size_one_node.
12444         (build_unary_op): Pass arg of proper type to size_binop.
12445         (really_start_incremental_init, push_init_level): Use sizetype for
12446         constructor{,_bit,_unfilled}_index.
12447         (pop_init_label, output_init_element): Likewise.
12448         (output_pending_init_elements, process_init_element): Likewise.
12449         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
12450         * expr.c (store_expr): Use size_int.
12451         (store_constructor): Use proper types for size_binop args.
12452         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
12453         (expand_expr_unaligned): Likewise.
12454         (string_contant): Return object of sizetype.
12455         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
12456         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
12457         (ARGS_SIZE_TREE): Pass proper types to size_binop.
12458         * fold-const.c (int_const_binop): Refine when size_int is called.
12459         (fold_convert): Likewise.
12460         (size_int_wide): Rework to take KIND as arg, only take low order
12461         bits, handle new sizetype_tab datatype, and chain entries in
12462         size_table.
12463         (size_int_type_wide): New function.
12464         (size_binop): Validate types of arguments.
12465         (ssize_binop): Deleted.
12466         (size_diffop): New function.
12467         (extract_muldiv): Only fold division into multiplication for sizetypes.
12468         * function.c (assign_parms): Use size_diffop and make sure
12469         VAR field is of ssizetype; also pass proper type to size_binop.
12470         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
12471         (round_down): Deleted from here.
12472         * store-layout.c (sizetype_tab): Now an array.
12473         (sizetype_set, early_root_list): New variables.
12474         (variable_size): Use size_one_node.
12475         (round_up): Pass proper type to size_binop.
12476         (round_down): Moved to here and corrected as above.
12477         (layout_record): Pass proper arg types to size_binop.
12478         (layout_type): Likewise.
12479         If sizetype_set is zero, record the type just laid out.
12480         (make_unsigned_type): Don't call set_sizetype;
12481         (make_signed_type): Likewise; also, call fixup_signed_type.
12482         (initialize_sizetypes): New function.
12483         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
12484         set name of bitsizetype to "bit_size_type".
12485         Fix up type of sizes of all types made before call.
12486         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
12487         * tree.c (fix_sizetype): Deleted.
12488         (build_common_tree_nodes): Call initialize_sizetypes.
12489         (build_common_tree_nodes_2): Don't call fix_sizetype.
12490         * tree.h (TYPE_IS_SIZETYPE): New macro.
12491         (initialize_sizetype): New declaration.
12492         (enum size_type_kind): New type.
12493         (struct sizetype_tab): Deleted.
12494         (sizetype_tab): Now array; adjust sizetype macros.
12495         (size_diffop, size_int_type_wide): New functions.
12496         (size_int_wide): Change number of args and type; access macros changed.
12497         (ssize_int, sbitsize_int): New macros.
12498         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
12499         (ROUND_TYPE_SIZE_UNIT): New macro.
12500
12501 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
12502
12503         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
12504
12505 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12506
12507         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
12508         Mark as possibly unused.
12509
12510         * cse.c (cse_insn): Delete dead code involving tablejump.
12511         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
12512
12513         * Makefile.in (libcpp.a): Start by deleting it.
12514
12515 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12516
12517         * cpplib.h (enum file_change_code): Added rename_file.
12518         * cpplib.c (do_line): If a filename is given, set file_change to
12519         rename_file.
12520         (output_line_command): If file_change is rename_file, always
12521         output a # directive with the file name.
12522
12523         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
12524
12525 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
12526
12527         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
12528         when copying a PARM_DECL or RESULT_DECL.
12529
12530 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12531
12532         * fix-header.c (recognized_function): Also fix prototypes for
12533         functions taking "void".
12534
12535 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
12536
12537         * reload1.c (do_output_reload): Check reg_reloaded_valid before
12538         looking at reg_reloaded_contents.
12539
12540 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
12541
12542         * Makefile.in (STMP_FIXINC): New toggle.
12543         (LIBGCC2_DEPS): Delete all references.
12544         (stmp-headers): Delete target.  All references either deleted
12545         or changed to stmp-int-headers.
12546         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
12547         (LIBCPP_OBJS): Take out cppalloc.o.
12548         (cppalloc.o): Delete target.
12549         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
12550         (gen-protos, fix-header): Link with libiberty.a.
12551         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
12552         to empty.
12553
12554         * configure.in: Remove refs to strerror.
12555         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
12556         * system.h: Take out strerror stanza.
12557
12558         * cpperror.c (my_strerror): Delete function.
12559         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
12560         * cppmain.c (main): Call xmalloc_set_program_name first thing.
12561         * cppalloc.c: Delete file.
12562         * gen-protos.c: Don't provide xrealloc.
12563
12564         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
12565         xstrerror throughout.
12566
12567 2000-02-26  Bruce Korb  <bkorb@gnu.org>
12568
12569         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
12570         match for DOS headers, too.
12571         * fixinc/inclhack.sh,fixincl.x: Regenerate.
12572
12573 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
12574
12575         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
12576         is right for most ELF targets.
12577         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
12578         Let the default file use %U properly.
12579         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
12580         default.
12581
12582         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
12583         numbers.
12584
12585 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12586
12587         * toplev.c (documented_lang_options): Correct spelling error.
12588         (decode_d_option, decode_f_option, main): Likewise.
12589
12590         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
12591
12592         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
12593         to tell assembler it is permitted to expand large constants.
12594
12595 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
12596
12597         * protoize.c: (AUX_INFO_SUFFIX): New macro.
12598         (aux_info_suffix): Use.
12599         (SAVE_SUFFIX): New macro.
12600         (save_suffix): Use.
12601         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
12602         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
12603         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
12604
12605         * invoke.texi (Running Protoize): Update documentation.
12606
12607 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
12608
12609         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
12610
12611 2000-02-25  John Wehle  (john@feith.com)
12612
12613         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
12614
12615 2000-02-25  Anthony Green  <green@cygnus.com>
12616
12617         * toplev.c (rest_of_compilation): Rebuild jump labels if
12618         combine_instructions has created a new direct jump.
12619         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
12620         when appropriate.
12621         (combine_instructions): Call try_combine with new argument.
12622         Return non-null value when new direct jump instruction is created.
12623         * rtl.h: combine_instructions returns an int.
12624
12625 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
12626
12627         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
12628         jump when changing a computed jump into a jump to a known
12629         target.
12630
12631 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
12632
12633         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
12634         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
12635
12636         * i386.md (define_expand "clrstrsi"): Fix typo.
12637
12638 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
12639
12640         * rtl.texi: Fix typo.
12641
12642 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12643
12644         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
12645         UNITS_PER_WORD.  Change caller initial_elimination_offset.
12646         (rounded_frame_size): Take into account that argument pushed has
12647         changed.  Fix TARGET_ALIGN_DOUBLE problem.
12648
12649 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
12650
12651         * haifa-sched.c (schedule_block): Explain the real reason
12652         we delete REG_SAVE_NOTEs on the first insn of a block.
12653         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
12654
12655 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
12656
12657         * input.h (push_srcloc): New function.
12658         (pop_srcloc): Likewise.
12659         * toplev.c (push_srcloc): Define it.
12660         (pop_srcloc): Likewise.
12661
12662 2000-02-24  Richard Henderson  <rth@cygnus.com>
12663
12664         * flow.c (life_analysis): When collecting reg info, clear
12665         regs_ever_live.
12666
12667 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12668
12669         Fix bug exposed by reload.c no longer rounding the frame
12670         size to BIGGEST_ALIGNMENT:
12671         * sh.c (rounded_frame_size): New function.
12672         (sh_expand_prologue, sh_expand_epilogue): Use it.
12673         (initial_elimination_offset): Likewise.
12674
12675 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12676
12677         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
12678         * sh-protos.h (sh_need_epilogue): Declare.
12679         * sh.c (sh_need_epilogue_known): New static variable.
12680         (sh_need_epilogue): New function.
12681         (function_epilogue): Clear need_epilogue_known.
12682         * sh.md (return): Split into expander / insn pattern.
12683         Make the expander conditional on ! sh_need_epilogue ().
12684
12685 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
12686
12687         * machmode.h (get_mode_alignment): Declare.
12688         (GET_MODE_ALIGNMENT): Call it.
12689         * stor-layout.c (get_mode_alignment): New function. Make
12690         sure alignment is always power of 2.
12691
12692 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
12693
12694         * i386.h: Remove useless definition of "I386" and misleading
12695         comment above it.
12696
12697 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
12698
12699         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
12700         under which TREE_PERMANENT will be set.
12701         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
12702         build1): Use TREE_SET_PERMANENT.
12703         * print-tree.c (print_node): Don't report value of
12704         TREE_PERMANENT if ggc_p is true.
12705
12706         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
12707         decide whether to give a type a new alias set.
12708         * objc/objc-act.c (build_objc_string_object): Never copy the string.
12709         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
12710         of value of 'obstack'.
12711
12712
12713 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12714
12715         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
12716
12717 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12718
12719         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
12720         * cpplib.c (cpp_get_token): Produce them.
12721         * cppexp.c (cpp_lex): Handle them.
12722
12723 2000-02-23  Nick Clifton  <nickc@cygnus.com>
12724
12725         * config/arm/arm.c (arm_comp_type_attributes): Simply and
12726         comment tests on type attributes.
12727
12728 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12729
12730         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
12731         conform to documentation.
12732         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
12733         to check for special cases.
12734         * sh-protos.h (sh_loop_align): Declare.
12735         * sh.c (sh_loop_align): Define.
12736
12737 2000-02-22  Andrew Haley  <aph@cygnus.com>
12738
12739         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
12740         (SIZE_TYPE): Is 32 bits when using -mgp32.
12741         (PTRDIFF_TYPE): Ditto.
12742
12743 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12744
12745         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
12746
12747 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
12748
12749         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
12750         BIGGEST_FIELD_ALIGNMENT a constant.
12751
12752 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
12753
12754         * dwarf2out.c (output_line_info): Put the marker for the end of
12755         the line number info at the actual end.
12756         (gen_struct_or_union_type_die): Use decl_function_context
12757         to check for local classes.
12758         * dwarfout.c (output_type): Likewise.
12759
12760 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
12761
12762         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
12763         for arguments with a mode, but no type.
12764         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
12765         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
12766         * pa/long_double.h: New file.
12767         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
12768         both have 128bit wide long doubles.
12769         * configure: Rebuilt.
12770
12771 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12772
12773         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
12774
12775         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
12776         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
12777         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
12778
12779         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
12780
12781         * integrate.c (compare_blocks, find_block): Likewise.
12782
12783         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
12784
12785         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
12786
12787         * stmt.c (stmt_status, set_file_and_line_for_stmt,
12788         expand_asm_operands): Likewise.
12789
12790 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
12791
12792         * predict.c (estimate_probability): Added the pointer heuristic to
12793         the collection of static branch predictors.
12794
12795 2000-02-21  Catherine Moore  <clm@cygnus.com>
12796
12797         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
12798         * invoke.texi (-mfix7000): Document.
12799
12800 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
12801
12802         * diagnostic.c (init_output_buffer): Make it possible to output at
12803         least 32 characters if we're given a too long prefix.
12804
12805 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
12806
12807         * varasm.c (initializer_constant_valid_p): Call
12808         lang_expand_constant to simplify the constant.
12809
12810 2000-02-20  Bruce Korb  <bkorb@gnu.org>
12811
12812         * fixinc/inclhack.def(stdio_va_list):
12813         typedef needs to be disabled.
12814         * fixinc/inclhack.sh: regen
12815         * fixinc/fixincl.x: regen
12816
12817 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
12818
12819         * print-rtl.c (print_rtx): Don't print addresses when
12820         flag_dump_unnumbered.
12821
12822 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12823
12824         * sparc.c (sparc_output_scratch_registers): Mark parameter with
12825         ATTRIBUTE_UNUSED.
12826         (sparc_va_arg, sparc_flat_output_function_prologue,
12827         sparc_flat_output_function_epilogue): Cast value to unsigned in
12828         comparison.
12829         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
12830
12831         * sparc.md: Add default case in switch.
12832
12833 2000-02-19  Richard Henderson  <rth@cygnus.com>
12834
12835         * c-typeck.c (add_pending_init): Don't abort for multiple
12836         fields at the same offset.
12837         (pending_init_member): Test the correct member.
12838
12839 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12840
12841         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
12842         instead of SImode.
12843         (start_catch_handler) : Same.
12844
12845 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
12846
12847         * Makefile.in: Have flow.o depend on $(EXPR_H)
12848
12849 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12850
12851         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
12852         * c-decl.c (duplicate_decls, finish_enum): Likewise.
12853         (finish_decl): Remove -Wlarger-than code from here.
12854         * flags.h (id_clash_len): Now int.
12855         (larger_than_size): Now HOST_WIDE_INT.
12856         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
12857         Clean up checking to see if in table.
12858         (make_bit_field_ref): Remove extra parm to bitsize_int.
12859         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
12860         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
12861         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
12862         and for computing size of decl.
12863         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
12864         Move -Wlarger-than code to here.
12865         (layout_record): Remove extra arg to bitsize_int.
12866         Set TYPE_BINFO_SIZE_UNIT.
12867         (layout_union): Remove extra arg to bitsize_int.
12868         Use proper type for size of QUAL_UNION.
12869         (layout_type): Remove extra arg to bitsize_int.
12870         * toplev.c (id_clash_len): Now int.
12871         (larger_than_size): Now HOST_WIDE_INT.
12872         (decode_W_option): Clean up id-clash and larger-than- cases.
12873         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
12874         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
12875         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
12876         (struct tree_decl): New field size_unit.
12877         (size_int_wide): No HIGH operand; NUMBER is now signed.
12878         (size_int_2): Deleted.
12879         (size_int, bitsize_int): Don't use it and rework args.
12880         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
12881
12882 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
12883
12884         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
12885
12886 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
12887
12888         * invoke.texi (Warning Options): Add an explanation of why
12889         you might want the -Wfloat-equal flag.
12890
12891 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12892
12893         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
12894         * cppinit.c (new_pending_define): Add cast to avoid warning.
12895         * expmed.c (extract_bit_field): Likewise.
12896         * flow.c (enum reorder_skip_type): New type.
12897         (skip_insns_between_blcok): New it.
12898         Rework to avoid warning about possibly undefined variable.
12899         * function.c (assign_parms): Make thisparm_boundary unsigned.
12900         * genrecog.c (write_switch): Cast XWINT result to int.
12901         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
12902         * mips-tfile.c (init_file): Make two versions of FDR intializer:
12903         one for MIPS and one for Alpha.
12904         (get_tag, copy_object): Add casts to avoid warnings.
12905         * optabs.c (init_one_libfunc): Cast NAME to (char *).
12906         * reload.c (find_reloads): Make TYPE enum reload_type.
12907         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
12908         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
12909         * varasm.c (compare_constant_1): Add cast to avoid warning.
12910         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
12911         to (char *).
12912         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
12913         Cast switch operand of size to int.
12914         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
12915         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
12916         in unhandled case.
12917
12918 2000-02-18  Nick Clifton  <nickc@cygnus.com>
12919
12920         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
12921         anything for an alignment of zero.
12922
12923         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
12924         anything for an alignment of zero.
12925
12926 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
12927
12928         * gcc.texi (Bug Reporting): Refer to bugs.html.
12929         (Bug Lists): Likewise.
12930         * system.h (GCCBUGURL): New preprocessor define.
12931         * rtl.c (fancy_abort): Use it.
12932         * gcc.c (main): Likewise.
12933
12934 2000-02-18  Richard Henderson  <rth@cygnus.com>
12935
12936         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
12937         (life_analysis_1): Subsume into ...
12938         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
12939         Use update_life_info for the relaxation.
12940         (update_life_info): Update REG_BASIC_BLOCK for registers live on
12941         entry and regs_live_at_setjmp.
12942         (set_noop_p): Simplify.
12943         (notice_stack_pointer_modification_1): Renamed from s/_1//.
12944         (record_volatile_insns): Split into ...
12945         (delete_noop_moves): ... here,
12946         (notice_stack_pointer_modification): ... here,
12947         (insn_dead_p): ... and here.
12948         (propagate_block): Don't query INSN_VOLATILE.
12949         (mark_used_regs): Mind !PROP_REG_INFO.
12950         * toplev.c (rest_of_compilation): Call mark_constant_function here,
12951         not in life_analysis.
12952
12953 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
12954
12955         * loop.c (canonicalize_condition): New function,
12956         broken out of get_condition.
12957         (get_condition): Use it.
12958         * expr.h (canonicalize_condition): Prototype it.
12959
12960         * tree.h (tree_int_cst_msb): Declare.
12961         * tree.c (tree_int_cst_msb): New function.
12962
12963 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
12964
12965         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
12966         isn't set.
12967
12968         * invoke.texi (-fmessage-length=n): Document.
12969
12970 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
12971
12972         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
12973
12974 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
12975
12976         * function.c (thread_prologue_and_epilogue_insns): Put a line note
12977         after the prologue.
12978
12979 2000-02-17  Nick Clifton  <nickc@cygnus.com>
12980
12981         * config/arm/thumb.c: Replace includes of system headers with
12982         #include "system.h".
12983
12984 2000-02-16  Richard Henderson  <rth@cygnus.com>
12985
12986         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
12987         Add crtbeginS.o and crtendS.o.
12988         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
12989         (ENDFILE_SPEC): Use crtendS.o.
12990         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
12991
12992         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
12993         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
12994         shared and present.
12995         (__dso_handle): New variable.
12996         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
12997         bias to __CTOR_END__.
12998
12999 2000-02-16  Richard Henderson  <rth@cygnus.com>
13000
13001         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
13002
13003 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13004
13005         * longlong.h (__clz_tab): Declare as static to match definition.
13006
13007 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
13008
13009         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
13010         (XREF_FILE_NAME): Define.
13011
13012         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
13013         (EH_FRAME_SECTION_ASM_OP): Define.
13014         (IDENT_ASM_OP): Define.
13015         (TEXT_SECTION_ASM_OP): Define.
13016         (CPP_SPEC): Define.
13017         (CTORS_SECTION_ASM_OP): Define.
13018         (CTOR_SECTION_FUNCTION): Use it.
13019         (DTORS_SECTION_ASM_OP): Define.
13020         (DTOR_SECTION_FUNCTION): Use it.
13021
13022 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
13023
13024         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
13025         NOTE_BASIC_BLOCK.
13026
13027         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
13028         debug_bb_n): New functions.
13029         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
13030         * basic-block.h: Prototype new functions.
13031
13032 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
13033
13034         * configure.in: Add support for avr target.
13035         * configure: Rebuilt.
13036
13037         * invoke.texi: Add AVR invocation docs.
13038         * install.texi: Add information about AVR.
13039         * md.texi: Add AVR constraint letters description.
13040         * extend.texi: Add description for AVR specific attributes.
13041
13042 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
13043
13044         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
13045
13046 2000-02-16  Nick Clifton  <nickc@cygnus.com>
13047
13048         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
13049         (make_insn_raw): Move RTL check here.
13050
13051 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13052
13053         * version.c: Include gansidecl.h and version.h.
13054
13055         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
13056
13057         * configure.in (gcc_version): When setting, narrow search to
13058         lines containing `version_string'.
13059
13060         * Makefile.in (mainversion): Likewise.
13061         (GCC_H): New variable.
13062         (gcc.h): Delete target.
13063         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
13064         (version.o): Depend on version.h.
13065         (dbxout.o): Don't depend on gcc.h.
13066
13067 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13068                           Michael Meissner  <meissner@cygnus.com>
13069
13070         * md.texi (Simple Constraints): Add item about whitespace.
13071         * genoutput.c (strip_whitespace): New.
13072         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
13073         strip_whitespace for constraints.
13074         Test pointer using NULL, not 0.
13075
13076 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13077
13078         * cpplib.c (do_line): Pedwarn for #line > 32767.
13079
13080         * c-lex.c (readescape): Warn about '\x', but do not reject it.
13081
13082 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
13083
13084         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
13085         to default cpp spec.
13086         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
13087         * cpp.texi: Document __GNUC_PATCHLEVEL__.
13088         * cpp.1: Likewise.
13089
13090         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
13091         default spec.
13092
13093 2000-02-15  Denis Chertykov  <denisc@overta.ru>
13094
13095         * configure.in: Add support for avr target.
13096
13097 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13098
13099         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
13100         (sh_addr_diff_vec_mode): Don't declare.
13101         * sh.c (sh_addr_diff_vec_mode): Delete.
13102
13103 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13104
13105         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
13106
13107 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13108
13109         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
13110         (smulsi3_highpart_i): Name.
13111         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
13112         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
13113         (smulsi3_highpart, umulsi3_highpart): Likewise.
13114
13115         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
13116         correctly independent of endianness.
13117         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
13118         confuse the optimizers.
13119         (mulsidi3+1, umulsidi3+1): New define_split.
13120
13121 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
13122
13123         * config/sh/sh.md: Guard insn splits against illegal registers.
13124         * config/sh/sh.h: Correct comment about macros.
13125
13126 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
13127                           Andrew MacLeod  <amacleod@cygnus.com>
13128
13129         * Makefile.in (lcm.o): Depend on insn-attr.h.
13130         * basic-block.h (optimize_mode_switching): Declare.
13131         * lcm.c (tm_p.h, insn-attr.h): #include.
13132         (seginfo, bb_info): New structs.
13133         (antic, transp, comp, delete, insert) : New file-scope static variables.
13134         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
13135         (reg_becomes_live, optimize_mode_switching): Likewise.
13136         * tm.texi: Add description of mode switching macros.
13137         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
13138
13139         * sh-protos.h (remove_dead_before_cse): Remove prototype.
13140         (fldi_ok, fpscr_set_from_mem): New prototypes.
13141         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
13142         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
13143         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
13144         (sh_flag_remove_dead_before_cse): Remove declaration.
13145         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
13146         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
13147         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
13148         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
13149         (barrier_align): Allow for JUMP_INSNS containing a parallel.
13150         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
13151         (fldi_ok): New function.
13152         (get_fpscr_rtx): Add fpscr_rtx as GC root.
13153         (emit_sf_insn): Only generate fpu switches when optimize < 1.
13154         (emit_df_insn): Likewise.
13155         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
13156         (sh_flag_remove_dead_before_cse): Delete.
13157         (get_free_reg, fpscr_set_from_mem): New functions.
13158         * sh.md (movdf, movsf): Remove no_new_pseudos code.
13159         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
13160
13161 2000-02-15  Loren Rittle  <ljrittle@acm.org>
13162
13163         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
13164
13165 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13166
13167         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
13168         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
13169
13170         * cccp.c: Include version.h and/or don't declare `version_string'.
13171         * collect2.c: Likewise.
13172         * alpha.c: Likewise.
13173         * arm/aof.h: Likewise.
13174         * arm/coff.h: Likewise.
13175         * arm/elf.h: Likewise.
13176         * arm/pe.h: Likewise.
13177         * arm/tcoff.h: Likewise.
13178         * arm/telf.h: Likewise.
13179         * arm/tpe.h: Likewise.
13180         * arm/vxarm.h: Likewise.
13181         * convex/convex.c: Likewise.
13182         * i386/dgux.c: Likewise.
13183         * i386/sun386.h: Likewise.
13184         * m88k/m88k.c: Likewise.
13185         * mcore/mcore-pe.h: Likewise.
13186         * mips/mips.h: Likewise.
13187         * romp/romp.h: Likewise.
13188         * sh/sh.c: Likewise.
13189         * cpphash.c: Likewise.
13190         * cppinit.c: Likewise.
13191         * dwarf2out.c: Likewise.
13192         * dwarfout.c: Likewise.
13193         * gcc.c: Likewise.
13194         * gcc.h: Likewise.
13195         * mips-tfile.c: Likewise.
13196         * protoize.c: Likewise.
13197         * toplev.c: Likewise.
13198         * tree.h: Likewise.
13199
13200         * version.c (version_string): Constify a char*.
13201
13202         * version.h: New file.
13203
13204 2000-02-14  Nick Clifton  <nickc@cygnus.com>
13205
13206         * configure.in: Add mcore-elf and mcore-pe targets.
13207         * configure: Regenerate.
13208
13209         * NEWS: Add note that MCore port has been contributed.
13210
13211         * invoke.texi: Document command line switches for MCore port.
13212         * install.texi: Add MCore to list of supported targets.
13213
13214 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
13215
13216         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
13217         then we will need to import the frame handling functions.
13218         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
13219         to import the frames themselves.
13220
13221 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
13222                           Jason Eckhardt  <jle@cygnus.com>
13223
13224         * basic_block.h: Added prototype for reorder_basic_blocks.
13225         * toplev.c: Changes to add -freorder-blocks and graph dump after
13226         block reordering is done.
13227         * flow.c (reorder_block_def): New structure for use during block
13228         reordering.
13229         (REORDER_BLOCK_*): New macros to access members of above structure.
13230         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
13231         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
13232         functions for block reordering.
13233
13234 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13235
13236         * gcc.texi (Passes): Fix typo.
13237         * md.texi (Standard Names): Ditto.
13238         * tm.texi (Storage Layout): Ditto.
13239
13240 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
13241
13242         * cpplib.c (do_define): Only free the old definition if it
13243         actually had one.
13244
13245 2000-02-13   Neil Booth  <NeilB@earthling.net>
13246
13247         * cppfiles.c (read_and_prescan): When emitting deferred
13248         newlines, test speccase[] again instead of checking each
13249         possible whitespace character in turn.  When we encounter \r,
13250         look behind for \n first, then ahead.
13251
13252 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
13253
13254         * cse.c (cse_altered): New internal flag.
13255         (cse_insn): Set it if we changed an insn.
13256         (cse_main): Clear cse_altered before each basic block.
13257         Only garbage collect if cse_altered is true afterward.
13258
13259 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13260
13261         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
13262
13263 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
13264
13265         * combine.c (simplify_comparison): Fix typo.
13266
13267 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
13268
13269         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
13270         consistently.
13271
13272 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13273
13274         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
13275         previously inserted node instead of root node.  Caller changed.
13276
13277 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13278
13279         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
13280
13281 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13282
13283         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
13284         __dereg_frame_dtor): Add prototype argument.
13285
13286         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
13287
13288         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
13289
13290         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
13291
13292         * gthr-vxworks.h (__gthread_once): Likewise.
13293
13294         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
13295
13296 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
13297
13298         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
13299         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
13300         stack pointer in functions w/o saved registers, output LEAVE more often
13301         on TARGET_USE_LEAVE machines.
13302
13303 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
13304
13305         * config/arm/arm.c (arm_init_cumulative_args); New function:
13306         Initlaise the CUMULATIE_ARGS strcuture for a function
13307         defintion.
13308         (arm_function_arg): New function: Determine where to place a
13309         function's argument.  Also handles deciding the function's
13310         call cookie.
13311         (current_file_function_operand): New function: Return true if
13312         the symbol is a function which has already been compiled.
13313         (arm_is_long_call_p): New function: Return true if the
13314         indicated function should be called via a long call.
13315         (arm_valid_type_attribute_p): New function: Return true if the
13316         attribute is a valid, arm specific, attribute.
13317         (arm_comp_type_attribute): New function: Return true if the
13318         two types have compatable, arm specific, attributes.
13319
13320         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
13321         structure.
13322         (FUNCTION_ARG): Redefine to call arm_function_arg.
13323         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
13324         structure field.
13325         (INIT_CUMULATIVE_ARGS): Redefine to call
13326         arm_init_cumulative_args.
13327         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
13328         field.
13329         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
13330         field.
13331         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
13332         functions.
13333         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
13334         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
13335         (COMP_TYPE_ATTRIBUTES): Define.
13336
13337         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
13338         if a long call is needed.
13339         (call_value): Call arm_is_long_call_p to decide if a long call
13340         is needed.
13341         (call_symbol): Call arm_is_long_call_p to decide if a long call
13342         is needed.
13343
13344         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
13345
13346 2000-02-11  Denis Chertykov  <denisc@overta.ru>
13347
13348         * README.AVR: New file with information about the avr ports.
13349         * config/avr: New directory with avr port files.
13350
13351 2000-02-11  Andreas Jaeger  <aj@suse.de>
13352
13353         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
13354
13355 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
13356
13357         * cpphash.c: Fix formatting, update commentary.
13358         (dump_definition): Take three separate arguments instead of a
13359         MACRODEF structure argument.
13360         * cpphash.h: Update prototype of dump_definition.
13361         * cppinit.c (cpp_finish): Update call of dump_definition.
13362
13363         * cpplib.c (do_define): Always create new hash entry with
13364         T_MACRO type.  Remove redundant check for redefinition of
13365         poisoned identifier.  Update call of dump_definition.
13366         (do_undef): Don't call check_macro_name.  Rename sym_length to
13367         len.
13368         (do_error, do_warning): Don't use copy_rest_of_line or
13369         SKIP_WHITE_SPACE.
13370         (do_warning): Don't use pedwarn for the actual warning,
13371         only the notice about its not being in the standard.  (Fixes
13372         bug with #warning in system headers.)
13373         (do_ident): Stricter argument checking - accept only a single
13374         string after #ident.  Also, macro-expand the line.
13375         (do_xifdef): Use cpp_defined.  De-obfuscate.
13376
13377         (do_pragma): Split out specific pragma handling to separate
13378         functions.  Use get_directive_token.  Update commentary.  Do
13379         not pass on #pragma once or #pragma poison to the front end.
13380         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
13381         do_pragma_default): New.
13382
13383 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
13384
13385         * jump.c (jump_optimize_1): The first operand in a relational
13386         can be a CONST_INT.
13387         * optabs.c (emit_conditional_move): Handle relationals which
13388         have a known true/false result.
13389
13390 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
13391
13392         * function.c (thread_prologue_and_epilogue_insns): Don't insert
13393         a RETURN insn into a block which already ends with a jump.
13394
13395 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
13396
13397         * haifa-sched.c (BUF_LEN): Increase a lot.
13398
13399 2000-02-11  Nick Clifton  <nickc@cygnus.com>
13400
13401         * configure.in: Add tm_p_file specification for thumb targets.
13402         * configure: Regenerate.
13403
13404         * config/arm/thumb-protos.h: New file: Prototypes for exported
13405         functions defined in thumb.c.
13406
13407 2000-02-11  Robert Lipe  <robertl@sco.com>
13408
13409         * Makefile.in (bootstrap-lean): Remove additional files.
13410         (bootstrap2-lean): Likewise.
13411         (VOL_FILES): List of files for above.
13412
13413 2000-02-11  Nathan Sidwell  <nathan@acm.org>
13414
13415         * cpphash.c (special_symbol): Remove spurious argument to
13416         cpp_lookup.
13417
13418 2000-02-11  Joel Sherrill (joel@OARcorp.com>
13419
13420         * configure.in: (i*86-*-rtems*): Swapped elf and coff
13421         stanzas.
13422         * configure: Rebuilt.
13423
13424 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
13425
13426         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
13427
13428 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
13429
13430         * pa.c, pa.h: Remove trigraph sequences within comments.
13431
13432 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
13433
13434         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
13435
13436 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
13437
13438         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
13439
13440 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13441
13442         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
13443
13444 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13445
13446         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
13447         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
13448         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
13449         (ASM_FILE_END): Use c4x_file_end.
13450         * config/c4x/c4x.c (c4x_global_label): New function.
13451         (c4x_external_ref, c4x_file_end): Likewise.
13452
13453         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
13454         (c4x_external_ref, c4x_end_file): Likewise.
13455
13456 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
13457
13458         * cppexp.c: Don't include cpphash.h.
13459         (parse_charconst, cpp_lex): Use cpp_defined.
13460         (cpp_lex): Use get_directive_token throughout.  Remove
13461         unnecessary cases from switch.  Move assertion-handling code
13462         down to OTHER case.
13463         (cpp_parse_expr): If we see '+' or '-', check the context to
13464         determine if they are unary or binary operators.  Streamline
13465         the jumps a bit.  Do not call skip_rest_of_line.
13466
13467         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
13468         static.  Export get_directive_token.  Update commentary.
13469         (cpp_defined): New function.
13470         (do_define): Remove reference to T_PCSTRING.  Call
13471         free_definition to release memory for old definition, when
13472         redefining a macro.
13473         (eval_if_expression): Set only_seen_white to 0 before calling
13474         cpp_parse_expr.  Call skip_rest_of_line after it returns.
13475         (cpp_read_check_assertion): Don't preserve a pointer into the
13476         token buffer across a call to cpp_get_token.
13477
13478         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
13479         * cppfiles.c (redundant_include_p): Use cpp_defined.
13480         * cpphash.c (free_definition): New function.
13481         (delete_macro): Use it.  Update commentary.
13482         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
13483         free_definition.
13484         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
13485         from enum node_type.  Prototype cpp_defined and get_directive_token.
13486         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
13487
13488         * fix-header.c (check_macro_names): Use cpp_defined.
13489         (read_scan_file): Set inhibit_warnings and inhibit_errors in
13490         the options structure.
13491
13492 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13493
13494         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
13495
13496 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
13497
13498         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
13499         rather than die->die_tag.
13500
13501 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13502
13503         * combine.c (make_extraction, force_to_mode): Avoid warning on
13504         mixed-signedness conditionals.
13505         (make_field_assignment, nonzero_bits): Likewise.
13506         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
13507         (store_split_bit_field, extract_split_bit_field): Likewise.
13508         (extract_fixed_bit_field, store_bit_field,
13509         * expr.c: Change alignment to be unsigned everywhere.
13510         (move_by_pieces, store_constructor_field, store_constructor):
13511         Alignment parm is unsigned.
13512         (emit_block_move, emit_group_load, emit_group_store): Likewise.
13513         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
13514         (do_compare_rtx_and_jump): Likewise.
13515         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
13516         Compare align with GET_MODE_ALIGNMENT.
13517         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
13518         (get_inner_reference): Likewise.
13519         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
13520         (expand_assignment): Local vars for alignment now unsigned.
13521         (store_constructor, store_field, expand_expr, do_jump): Likewise.
13522         (do_compare_and_jump): Likewise.
13523         (store_field): Call new function expr_align.
13524         * expr.h (emit_block_move, emit_group_load, emit_group_store):
13525         Alignment arg now unsigned.
13526         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
13527         (do_compare_rtx_and_jump, store_bit_field): Likewise.
13528         (extract_bit_field): Likewise.
13529         * fold-const.c (add_double): Add cast to eliminate signedness warning.
13530         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
13531         (get_best_mode): Alignment arg is unsigned.
13532         * rtl.h (move_by_pieces): Likewise.
13533         * store-layout.c (maximum_field_alignment, set_alignment):
13534         Now unsigned.
13535         (layout_decl): Alignment arg is now unsigned.
13536         Remove unneeded casts.
13537         (layout_record, layout_union, layout_type): Remove unneeded casts.
13538         Local alignment variables now unsigned.
13539         (get_best_mode): Alignment arg now unsigned.
13540         * tree.c (expr_align): New function.
13541         * tree.h (expr_align): Likewise.
13542         (maximum_field_alignment, set_alignment): Now unsigned.
13543         (get_inner_reference): Alignment argument is now pointer to unsigned.
13544         * varasm.c (assemble_variable): Add cast to eliminate warning.
13545
13546 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
13547
13548         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
13549         then store directly into op0.
13550
13551         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
13552         the CALL_INSN, and emit the note immediately after it.
13553
13554 2000-02-10  Nick Clifton  <nickc@cygnus.com>
13555
13556         * config/arm/thumb.md (epilogue): Include a (return) in the
13557         generated insn, and emit it using emit_jump_insn not
13558         emit_insn.
13559
13560 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
13561
13562         * function.c (assign_temp): Change zero-sized arrays to size 1.
13563         * integrate.c (expand_inline_function): Do not update
13564         stack_alignment_needed
13565         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
13566         add some sanity checking, remove optimization for function with
13567         zero frame size.
13568
13569 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13570
13571         * flow.c (mark_regs_live_at_end): Delete unused variables.
13572
13573         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
13574
13575         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
13576         in macro FRAME_GROWS_DOWNWARD.
13577
13578         * stmt.c (expand_end_bindings): Delete unused variable.
13579
13580         * unroll.c (iteration_info): Mark parameter `loop' with
13581         ATTRIBUTE_UNUSED.
13582
13583 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13584
13585         * fixinc/server.c (load_data): Return NULL if the marker line is
13586         not found.
13587         (run_shell): If load_data returns NULL, retry the command once, in
13588         a new shell.
13589
13590         * configure: Rebuilt.
13591
13592 2000-02-09  Bruce Korb  <bkorb@gnu.org>
13593
13594         * gcc/fixincludes:  ** DELETED **
13595         * gcc/fixcpp:  ** DELETED **
13596         * gcc/fixinc-nt.sed:  ** DELETED **
13597         * gcc/just-fixinc:  ** DELETED **
13598         * gcc/Makefile.in:  Removed out-dated commentary
13599         * gcc/configure.in: Removed fast-fixincludes disablement.
13600         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
13601
13602 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
13603         * function.c (thread_prologue_and_epilogue_insns): Uncomment
13604         last change.
13605
13606 2000-02-09  Richard Henderson  <rth@cygnus.com>
13607
13608         * jump.c (delete_insn): Don't delete user labels at -O0.
13609
13610 2000-02-09  Robert Lipe  <robertl@sco.com>
13611
13612         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
13613         Don't link with HOST_LIBS.
13614
13615 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
13616
13617         * configure.in: Correct --help text for --with-dwarf2.
13618         Put tm-dwarf2.h after other tm files, if it's requested.
13619         * configure: Regenerate.
13620         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
13621         defining it.
13622
13623 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
13624
13625         * cpplib.h: Provide HASHNODE typedef and forward decl of
13626         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
13627         DEFINITION, struct hashnode, struct macrodef, struct
13628         definition, scan_decls prototype, default defn of
13629         INCLUDE_LEN_FUDGE moved elsewhere.
13630
13631         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
13632         definition, and struct hashnode moved here. Remove the unused
13633         'predefined' field from struct definition.  Replace the 'args'
13634         union with its sole member.  All users updated (cpphash.c).
13635         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
13636         multiple include guard.
13637
13638         * cpphash.c (hashf): Make static; use better algorithm; drop
13639         HASHSIZE parameter; return an unsigned int.
13640         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
13641         used. Calculate HASHSIZE modulus here.
13642         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
13643         here.
13644         (create_definition): Drop PREDEFINITION parameter.
13645         * cpplib.c (do_define): Don't calculate a hash value here.
13646         Don't pass (keyword == NULL) to create_definition.
13647
13648         * scan.h: Prototype scan_decls here.
13649         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
13650         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
13651         callers of cpp_lookup and cpp_install updated.
13652
13653         * cpphash.c (macarg): Hoist all the flag diddling out of the
13654         function...
13655         (macroexpand): ... and out of the loop that calls macarg.
13656         Skip over the initial paren before macro arguments with
13657         cpp_get_non_space_token; point may be some distance before
13658         that paren.  Abort if it's not there.
13659
13660         * cpplib.c (parse_clear_mark): Delete function.
13661         (parse_set_mark, parse_goto_mark): Make static.
13662         (ACTIVE_MARK_P): New macro.
13663         (skip_block_comment, skip_line_comment): Do not bump the line
13664         if ACTIVE_MARK_P is true.
13665         (cpp_pop_buffer): The buffer to be popped may not have an
13666         active mark.
13667         (cpp_get_token): When looking for the initial paren before
13668         macro arguments, only set a mark in a file buffer, Always
13669         return to that mark before proceeding to call macroexpand or
13670         return a NAME token.
13671
13672         * cpplib.h: Remove prototypes of parse_set_mark,
13673         parse_clear_mark, parse_goto_mark.
13674         (struct cpp_options): Rename 'put_out_comments' to
13675         'discard_comments' and invert its sense.
13676         * cppinit.c, cpphash.c, cpplib.c: All users of
13677         put_out_comments changed to use discard_comments, with
13678         opposite sense.
13679
13680 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
13681
13682         * function.c (thread_prologue_and_epilogue_insns): Don't delete
13683         the edge from a block that both jumps and falls through to the
13684         fallthru block.
13685
13686 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
13687
13688         * config/arm/arm.md (movsi): In PIC mode, make sure that a
13689         constant source address is legitimate.
13690
13691 2000-02-09  Philip Blundell  <pb@futuretv.com>
13692
13693         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
13694         correctly.
13695
13696         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
13697         generating PIC.
13698         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
13699
13700 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
13701
13702         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
13703         ends with a newline and a NUL.  Don't be so clever manipulating
13704         strings.
13705
13706 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
13707
13708         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
13709         not to BIGGEST_ALIGNMENT.
13710
13711 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
13712
13713         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
13714         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
13715         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
13716         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
13717         * frame.c (execute_cfa_insn): Handle
13718         DW_CFA_GNU_negative_offset_extended.
13719
13720 2000-02-08  Richard Henderson  <rth@cygnus.com>
13721
13722         * flow.c (tidy_fallthru_edges): Split out from ...
13723         (delete_unreachable_blocks): ... here.
13724         (find_basic_blocks): Use it.
13725
13726 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13727
13728         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
13729
13730 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
13731
13732         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
13733         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
13734         (fix-header.o): Don't depend on cpphash.h.
13735
13736         * scan.c (hashstr): New function.
13737         * scan.h: Prototype it.
13738         * fix-header.c: Don't include cpphash.h.  Use hashstr.
13739         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
13740         hashstr.  Report hash table statistics.  Add private
13741         definition of xrealloc.
13742
13743 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13744
13745         * i386.h (TARGET_SWITCHES): Fix typo in option name.
13746
13747 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
13748
13749         * function.c (thread_prologue_and_epilogue_insns): Don't replace
13750         jumps with returns unless they are jumps to the fallthru block.
13751
13752 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
13753
13754         * i386.md (addqi3_cc): Fix contraints.
13755
13756 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
13757
13758         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
13759
13760 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
13761
13762         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
13763         carriage return after a macro name.
13764
13765 2000-02-07  Fred Fish  <fnf@be.com>
13766
13767         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
13768         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
13769
13770 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
13771
13772         * cppfiles.c (deps_output): Count spacers in deps_column.
13773
13774 2000-02-07  Neil Booth  <NeilB@earthling.net>
13775
13776         * cppinit.c (initialize_dependency_output): If there is no
13777         suffix, don't try to look for known suffixes.  Use strrchr.
13778         (cpp_start_read): Remove duplicate initialization.
13779
13780 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
13781
13782         * calls.c (compute_argument_block_size): New argument
13783         preferred_stack_boundary.
13784         (expand_call): update cfun->preferred_stack_boundary, update call of
13785         compute_argument_block_size
13786         (emit_library_call): Increate cfun->preferred_stack_boundary
13787         to PREFERRED_STACK_BOUNDARY
13788         (emit_library_call_value): Likewise.
13789         * explow.c (allocate_dynamic_stack_spave): Likewise.
13790         * function.c (prepare_function_start): Set
13791         cfun->preferred_stack_boundary
13792         * function.h (struct function): Add preferred_stack_boundary field.
13793         * integrate.c (expand_inline_function): Update
13794         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
13795         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
13796         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
13797
13798 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
13799
13800         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
13801         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
13802         cpp_pedwarn, cpp_pedwarn_with_line,
13803         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
13804         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
13805         v_cpp_error_with_line, v_cpp_warning_with_line,
13806         cpp_message_from_errno, cpp_perror_with_name): Delete.
13807
13808         * cpperror.c (cpp_print_containing_files): Take starting
13809         buffer as argument.
13810         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
13811         (v_cpp_message): Now called directly by all entry points.
13812         Remove -1 case.
13813         (cpp_pfatal_with_name, cpp_message): Delete.
13814         (cpp_notice_from_errno, cpp_ice): New functions.
13815         (cpp_notice): Is now for reporting error conditions, just
13816         without an associated file.
13817         (cpp_error, cpp_error_with_line): Don't do anything if
13818         opts->inhibit_errors is on.
13819         (cpp_pedwarn_with_file_and_line): Take column argument also.
13820
13821         * cpplib.h: Update prototypes of exported functions.
13822         (struct cpp_options): Add inhibit_errors.
13823
13824         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
13825         non-error messages.  Include intl.h.
13826
13827         * cppinit.c, cppmain.c: Likewise.  Also, use
13828         cpp_notice_from_errno instead of cpp_perror_with_name or
13829         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
13830
13831         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
13832         report internal errors.
13833
13834         * cpplib.c (do_define): Switch bcopy to memcpy.
13835         Give cpp_pedwarn_with_file_and_line a dummy column argument.
13836
13837         * cpplib.c (copy_rest_of_line): Revert previous change: don't
13838         bail out early if we hit a line comment.
13839
13840 2000-02-06  Richard Henderson  <rth@cygnus.com>
13841
13842         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
13843         * basic-block.h: Declare them.
13844         * emit-rtl.h (active_insn_p): New.
13845         (next_active_insn, prev_active_insn): Use it.
13846         * rtl.h: Declare it.
13847         * function.c (emit_return_into_block): New.
13848         (thread_prologue_and_epilogue_insns): Insert return insns instead
13849         of epilogues when possible.
13850         * jump.c (jump_optimize_1): Remove code to insert a return insn
13851         on the fallthru to the exit block.
13852
13853         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
13854         and for non-empty stack frames.
13855         * i386.md (return): Expand to return-pop as needed.
13856
13857 2000-02-06  Richard Henderson  <rth@cygnus.com>
13858
13859         * simplify-rtx.c (simplify_relational_operation): Canonicalize
13860         constant to op1 for testing.
13861
13862 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13863
13864         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
13865         (fixuns_truncqfqi2): Use it.
13866
13867 2000-02-06  Richard Henderson  <rth@cygnus.com>
13868
13869         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
13870         as a TYPE_LEA insn.
13871
13872         * i386.md (widening and peepholes): Mask the constant instead of
13873         using gen_lowpart.
13874
13875 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
13876
13877         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
13878         input pointer before possibly branching off to the backslash
13879         code.
13880         * cpphash.c (macroexpand): Correctly delete \r escapes when
13881         stringifying parameters.
13882         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
13883         if we can; bail out early if we hit a line comment.
13884         (handle_directive): Treat '# 123' in an .S file just like
13885         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
13886         Return 1 for '# not_a_directive'.
13887         (get_directive_token): Pop macro buffers here, so that
13888         cpp_get_token can't sneakily move past a newline.
13889         Add sanity checks.
13890         (cpp_get_token): goto randomchar if handle_directive returns 0.
13891
13892         * cppalloc.c: Update copyright.
13893         * cpplib.c: Merge all the static function prototypes into one
13894         block.
13895         * cpplib.h: Remove #if 0 block.
13896
13897         * cpperror.c: Remove #ifdef EMACS block.
13898         * cppmain.c: Likewise.
13899         * cpphash.c: Remove #if 0 blocks.
13900         * cppinit.c: Remove #if 0 blocks, and the -lint option.
13901         * cpplib.c: Remove #if 0 blocks and code referencing
13902         pcp_inside_if or for_lint.  Remove duplicate error message.
13903         Fix error messages for #else after #else or #elif.  Reformat.
13904         Remove archaic TODO list.
13905         * cpplib.h: Remove pcp_inside_if and for_lint flags.
13906
13907 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
13908
13909         * i386/osf1elf.h: Add missing backslash to multiline string.
13910
13911 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13912
13913         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
13914
13915 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13916
13917         * Makefile.in (c-common.o): Depend on $(EXPR_H).
13918
13919         * c-common.c: Include expr.h.
13920
13921         * c-pragma.c (mark_align_stack): Add prototype.
13922
13923         * caller-save.c (add_stored_regs): Likewise.
13924
13925         * combine.c (record_promoted_value): Likewise.
13926
13927         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
13928         Likewise.
13929
13930         * cppinit.c (new_pending_define): Likewise.
13931
13932         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
13933
13934         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
13935         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
13936         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
13937         class_scope_p): Likewise.
13938
13939         * dwarf2out.h (dwarf2out_set_demangle_name_func,
13940         dwarf2out_add_library_unit_info): Likewise.
13941
13942         * ggc.h (ggc_page_print_statistics): Likewise.
13943
13944         * haifa-sched.c (propagate_deps): Likewise.
13945
13946         * reg-stack.c (next_flags_user, record_label_references): Likewise.
13947
13948         * rtl.h (set_stack_check_libfunc): Likewise.
13949
13950         * toplev.h (set_fatal_function): Likewise.
13951
13952         * toplev.c (set_fatal_function): Delete prototype.
13953
13954         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
13955
13956 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
13957
13958         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
13959         (FUNC_END): Likewise.
13960
13961 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13962
13963         * caller-save.c: Include tm_p.h.
13964
13965 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13966
13967         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
13968
13969 2000-02-04  Neil Booth  <NeilB@earthling.net>
13970
13971         * cccp.c (main): Check 'dir' for a NULL pointer before passing
13972         it to strcmp.
13973
13974 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
13975
13976         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
13977         * genflags.c: Use the max_operand_1 logic from genemit.c to
13978         calculate how many arguments gen_insn prototypes have.  Remove
13979         NO_MD_PROTOTYPES ifdefs from the generated file.
13980         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
13981         file.  Cast gen_insn initializers to insn_gen_fn.
13982         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
13983         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
13984
13985 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13986
13987         * fixinc/Makefile.in (HDR): Add machname.h.
13988         (clean): Likewise.
13989
13990 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13991
13992         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
13993         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
13994         (c4x_cpu_version): Ditto.
13995         * config/c4x/c4x-protos.h: ... here.
13996
13997 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
13998
13999         * dwarf2out.c (add_abstract_origin_attribute): Don't call
14000         gen_abstract_function on our context if we're a nested function.
14001
14002 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14003
14004         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
14005         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
14006
14007 2000-02-04  Bruce Korb  <bkorb@gnu.org>
14008
14009         * fixinc/genfixes(machname.h):
14010         Move the functionality from gen-machine.h into this file.
14011         UNdef MN_NAME_PAT if there are no names to change.
14012         Also, be a little kinder when AutoGen is not present.
14013
14014         * fixinc/Makefile.in(machname.h):
14015         Change the generation rule to use genfixes.
14016
14017         * fixinc/fixfixes.c(machine_name):
14018         machine_name_fix's functionality now dependent upon whether
14019         MN_NAME_PAT is defined.
14020
14021         * fixinc/fixtests.c(machine_name):
14022         ditto.
14023
14024         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
14025         of MN_NAME_PAT.
14026
14027         * fixinc/fixlib.h(mn_get_regexps):
14028         ditto
14029
14030         * fixinc/gen-machine.h: DELETED
14031
14032 2000-02-04  Jan Hubicka  <jh@suse.cz>
14033             Richard Henderson  <rth@cygnus.com>
14034
14035         * i386.c (SAVE_REGS_FIRST): Remove.
14036         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
14037         (ix86_compute_frame_size): Likewise.
14038         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
14039         (ix86_emit_restore_regs): Remove.
14040         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
14041         when a frame pointer is in use.
14042         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
14043         instead of pop to restore a register when profitable; emit leave
14044         when profitable.
14045         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
14046         as a TYPE_LEA insn.
14047         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
14048         * i386.md (prologue_allocate_stack): Remove.
14049         (epilogue_deallocate_stack): Remove.
14050         (pro_epilogue_adjust_stack): New.
14051
14052 2000-02-04  Richard Henderson  <rth@cygnus.com>
14053
14054         * function.c (diddle_return_value): Rework to use a callback function.
14055         Use current_function_return_rtx if it's been set up.
14056         (do_clobber_return_reg, clobber_return_register): New.
14057         (do_use_return_reg, use_return_register): New.
14058         (expand_function_end): Use them.
14059         * stmt.c (expand_null_return): Likewise.
14060         * function.h: Declare them.
14061         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
14062         (mark_reg): Change arguments as appropriate for callback.
14063         * integrate.c (expand_inline_function): Revert 19 Jan change.
14064
14065 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14066
14067         * tm.texi (Values in Registers): Fix typo: "fo" "for".
14068         (Misc): Say the scheduler, not the Haifa scheduler.
14069
14070 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
14071
14072         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
14073         when in_mem is set.  Update all callers.
14074
14075 2000-02-04  Richard Henderson  <rth@cygnus.com>
14076
14077         * i386/openbsd.h (INT_ASM_OP): Define.
14078
14079 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14080
14081         * tm.texi: Fix various typos.
14082
14083 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
14084
14085         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
14086         (MD_STARTFILE_PREFIX_1): New macro.
14087
14088 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
14089
14090         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
14091         destination when needed.
14092         (strmovsi, strsetsi): New expander.
14093         (strmovsi_1, strsetsi_1): New pattern.
14094         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
14095         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
14096         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
14097         * invoke.texi (align-stringops, inline-all-stringops): Document.
14098
14099 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
14100
14101         * i386/netbsd.h (INT_ASM_OP): Define.
14102
14103 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
14104
14105         * cpplib.h (cpp_reader): Add new flag, no_directives.
14106         * cpphash.c (macarg): Set it.
14107         * cpplib.c (handle_directive): If no_directives is on and we
14108         find a directive, issue an error and discard the line.
14109
14110 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
14111
14112         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
14113         FP constants.  Add ! TARGET_FPU check for FP constants.
14114
14115 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
14116
14117         * flow.c (find_basic_blocks): Don't kill label_value_list
14118         here.
14119         (cleanup_cfg): Kill it here.
14120
14121 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14122
14123         * expr.c (store_field): Ensure ALIGN is no stricter than the
14124         alignment of EXP.
14125
14126 2000-02-02  Richard Henderson  <rth@cygnus.com>
14127
14128         * jump.c (delete_insn): Partially revert 19 Jan change;
14129         don't convert unused code labels to notes at -O0.
14130
14131 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14132
14133         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
14134         split_all_insns to recreate REG_LABEL notes for flow2 pass.
14135
14136 2000-02-01  Richard Henderson  <rth@cygnus.com>
14137
14138         * i386.c (general_no_elim_operand): New.
14139         (nonmemory_no_elim_operand): New.
14140         (ix86_expand_move): Copy eliminable operands before a push.
14141         * i386-protos.h: Declare new functions.
14142         * i386.h (CAN_ELIMINATE): Simplify.
14143         (PREDICATE_CODES): Update.
14144         * i386.md (push insns): Don't allow eliminable register operands.
14145
14146 2000-02-01  Richard Henderson  <rth@cygnus.com>
14147
14148         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
14149         replace BLKmode with DECL_RTL's mode.
14150
14151 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
14152
14153         * frame.c (find_fde): Convert for loop to do-while so compiler
14154         sees it's always executed at least once.
14155         * libgcc2.c (BBINBUFSIZE): Kill.
14156         (__bb_init_prg): Use fgets.
14157         (__bb_exit_trace_func): Don't paste strings.
14158         * unroll.c (unroll_loop): Initialize unroll_type, not
14159         unroll_number, and tweak logic to match.
14160
14161         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
14162         all failure paths.
14163         (ix86_flags_dependant): Likewise.  Disentangle control flow.
14164         (ix86_sched_reorder): Break guts out to
14165         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
14166         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
14167         any possible use.
14168
14169         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
14170         use string concatenation.  Don't save and restore esi.
14171
14172         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
14173         (machname.h): Remove script to separate file.  Use two-step
14174         sequence so target is not created if script fails.
14175         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
14176         identifiers are defined.
14177         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
14178         an empty string, machine_name doesn't need to do anything at
14179         all.
14180         (is_cxx_header): Add more cases to regexp.
14181         * fixinc/fixlib.h: Update prototype.
14182         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
14183         mn_get_regexps.
14184         * fixinc/fixincl.c: Define NO_BOGOSITY.
14185
14186         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
14187         (hp_sysfile): Add missing comma.
14188         (math_exception): Put the wrapper ifdefs at the beginning and
14189         the end of the file.
14190         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
14191
14192 2000-02-01  Richard Henderson  <rth@cygnus.com>
14193
14194         * sparc.c (fp_zero_operand): Turn into a normal predicate.
14195         Use CONST0_RTX.  Update all callers.
14196         * sparc.h, sparc-protos.h: Update accordingly.
14197         * sparc.md (fp mov insns): Use fp_zero_operand directly
14198         where applicable.
14199
14200 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14201
14202         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
14203         example.
14204
14205 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14206
14207         * Makefile.in (specs.ready): New target.
14208         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
14209
14210 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14211
14212         * fixinc.irix: Use unique filenames for writing into /tmp,
14213         * fixinc.ptx: Likewise.
14214         * fixinc.sco: Likewise.
14215         * fixinc.svr4: Likewise.
14216         * fixinc.winnt: Likewise.
14217
14218 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14219
14220         * tsystem.h: New file.
14221
14222         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
14223         s-crtS): Depend on tsystem.h.
14224
14225         * crtstuff.c: Include tsystem.h.
14226         * frame.c: Likewise.
14227         * libgcc2.c: Likewise.
14228
14229 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
14230
14231         * builtins.c (expand_builtin_memset): Expand for variable sized
14232         lengths too.
14233
14234 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
14235
14236         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
14237         on ABI.
14238
14239 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
14240
14241         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
14242
14243         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
14244
14245 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
14246
14247         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
14248         case 3->2 combining (combining with splitting) in which 2 is CC0
14249         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
14250         checked at the begining of the function with the aid of calling
14251         function 'can_combine_p'.
14252
14253 2000-01-31  Dave Brolley  <brolley@redhat.com>
14254
14255         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
14256
14257 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
14258
14259         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
14260         new label.
14261
14262 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14263
14264         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
14265
14266         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
14267         PROTO -> PARAMS.
14268
14269 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
14270
14271         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
14272         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
14273         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
14274         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
14275         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
14276         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
14277         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
14278         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
14279         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
14280         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
14281
14282         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
14283         Add %(cpp_cpu) to CPP_SPEC.
14284
14285         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
14286         Add %(cc1_cpu) to CC1_SPEC.
14287
14288 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
14289
14290         * c-decl.c (c_decode_option): Accept optional numeric argument to
14291         -Wformat and set warn_format.
14292         * c-common.c: Don't emit warning about non-constant printf format
14293         string unless warn_format > 1.
14294
14295 2000-01-30  Richard Henderson  <rth@cygnus.com>
14296
14297         * alpha.md (return_internal): Allow after reload only.
14298
14299 2000-01-30  Richard Henderson  <rth@cygnus.com>
14300
14301         * i386.c (ix86_compute_frame_size): Omit padding1 if the
14302         local frame size is zero.
14303
14304 2000-01-30  Richard Henderson  <rth@cygnus.com>
14305
14306         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
14307         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
14308         * alpha.md (return): Turn into an expander.
14309         (return_internal): Don't use $26.
14310         (epilogue): Emit the return insn.
14311
14312 2000-01-30  Richard Henderson  <rth@cygnus.com>
14313
14314         * alpha.md (negtf2, abstf2): Fix word order thinko.
14315         (extendsftf2): New.
14316         (trunctfsf2): Avoid intermediate rounding errors.
14317
14318 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
14319
14320         * cppfiles.c (find_position): Drop 'colp' argument, return the
14321         new line base.
14322         (read_and_prescan): Adjust to match.  Don't ever manipulate
14323         line or line_base except via find_position.
14324
14325 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
14326
14327         * c-parse.in: Apply Ulrich's changes from c-parse.y.
14328         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
14329         Regenerate.
14330
14331 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
14332
14333         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
14334         just print "<command line>".  If 'filename' is null or an
14335         empty string, print "<stdin>" for the filename.
14336         * cpplib.c (do_define): Don't print the 'location of the
14337         previous definition' message if we're still parsing the
14338         command line.
14339         (cpp_pedwarn_with_file_and_line): Always call
14340         cpp_file_line_for_message.
14341
14342 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
14343
14344         * flow.c (mark_regs_live_at_end): Fix typo.
14345
14346 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
14347
14348         * c-common.c: Adjust variable names, comments, help strings to c99.
14349         * c-lex.c: Likewise.
14350         * c-parse.y: Likewise.
14351         * c-tree.h: Likewise.
14352         * cccp.c: Likewise.
14353         * cpplib.h: Likewise.
14354         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
14355         * cppinit.c: Likewise.
14356
14357 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14358
14359         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
14360         * c4x.c: Define the optab rtx values.
14361         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
14362         (c4x_emit_libcall): Use new optab rtx values.
14363         (c4x_emit_libcall3): Likewise.
14364         (c4x_emit_libcall_mulhi): Likewise.
14365         * c4x-protos.h: Add prototypes for optab rtx values and change
14366         prototypes for above c4x_emit_libcall functions.
14367
14368 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14369
14370         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
14371         syntax is used.
14372         (c4x_function_prologue): Use regnames intead of float_reg_names when
14373         TI syntax is used.
14374         (c4x_function_epilogue): Likewise.
14375         (c4x_print_operand): Likewise.
14376         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
14377         * c4x.md (set_high): Disable for TARGET_TI.
14378
14379 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14380
14381         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
14382         of framepointer + constant to ADDR_REGS class.
14383         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
14384         * c4x.c (std_or_reg_operand): New function.
14385         * c4x-protos.h (std_or_reg_operand): Prototype it.
14386
14387 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14388
14389         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
14390                 object names as libgcc2.c.
14391         * libgcc.S: Use newly defined names.
14392
14393 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
14394         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
14395         function.
14396         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
14397         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
14398         (FLOW_LOOP_LAST_BLOCK): Likewise.
14399
14400 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14401
14402         * basic-block.h (struct loop): New fields 'first' and 'last'.
14403         * flow.c (flow_loops_find): Compute loop->first and loop->last.
14404         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
14405         and loop->last to check for NOTE_INSN_LOOP_END.
14406
14407 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
14408
14409         * predict.c (estimate_probability): Use the new FIRST and LAST fields
14410         of the loop descriptor rather than HEADER and LATCH. Also added
14411         missing break statements as well making some coding style modifications
14412         as suggested by Michael Hayes.
14413
14414 2000-01-28  Richard Henderson  <rth@cygnus.com>
14415
14416         * flow.c (find_basic_blocks): Remove do_cleanup argument.
14417         Break out that code ...
14418         (cleanup_cfg): ... here.
14419         (commit_one_edge_insertion): Detect a return instruction being
14420         emitted to an edge.  Emit a barrier following; clear fallthru.
14421         (commit_edge_insertions): Verify CFG consistency.
14422         * function.c (expand_function_start): Kill unused variable.
14423         (expand_function_end): Likewise.
14424         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
14425         to insert the epilogue.
14426
14427         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
14428         (delete_null_pointer_checks): Likewise.
14429         * output.h: Likewise.
14430         * reg-stack.c (reg_to_stack): Likewise.
14431         * toplev.c (rest_of_compilation): Likewise.  Run
14432         thread_prologue_and_epilogue_insns after rebuilding the CFG.
14433
14434 2000-01-28  Richard Henderson  <rth@cygnus.com>
14435
14436         * Makefile.in (flow.o): Revert 24 Jan change.
14437         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
14438         FUNCTION_VALUE result to DECL_RESULT's mode.
14439
14440         * haifa-sched.c (schedule_insns): Don't recompute reg info
14441         after reload.
14442
14443 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
14444
14445         * configure.in: Make --enable-cpplib the default.
14446         * configure: Regenerate.
14447         * gcc.dg/990119-1.c: No longer expected to fail.
14448
14449 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
14450
14451         * jump.c (jump_optimize_1): Delete an optimization that is also done
14452         by merge_blocks in flow.
14453
14454 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14455
14456         * diagnostic.c (build_message_string, output_printf,
14457         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
14458         (build_location_prefix): Fix non-literal format string.
14459
14460 2000-01-27  Richard Henderson  <rth@cygnus.com>
14461
14462         * alpha.md (trunctfsf2): New.
14463
14464 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
14465
14466         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
14467
14468 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
14469
14470         * cppinit.c (cpp_handle_option): Recognize C++ comments under
14471         -std=gnu89.
14472         * cpplib.c (skip_block_comment, skip_line_comment): Split code
14473         out of...
14474         (skip_comment) ... here.  Permit C++ comments in system
14475         headers always.  Warn about C++ comments in user code under
14476         -std=gnu89 -pedantic.
14477         (copy_comment): Use skip_comment.
14478         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
14479         return EOF.
14480         (consider_directive_while_skipping, do_else, do_endif): Call
14481         validate_else unconditionally.
14482         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
14483         text after the conditional in a system header.
14484         * cpplib.h (struct cpp_buffer): Add flag
14485         warned_cplusplus_comments.
14486
14487 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
14488
14489         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
14490         Use unshare_all_rtl_1.
14491         (unshare_all_rtl_again): New function.
14492         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
14493
14494         * function.c (purge_addressof_1): Use unshare_all_rtl_again
14495         rather than resetting the 'used' flags ourself.
14496
14497         * toplev.c (rest_of_compilation): Add current_function_decl
14498         to the unshare_all_rtl call.
14499         * tree.h: Prototype unshare_all_rtl.
14500         * rtl.h: Prototype unshare_all_rtl_again here.
14501
14502 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
14503
14504         * genoutput.c (output_prologue): Include ggc.h in generated
14505         files.
14506         * Makefile.in (insn-output.o): Depends on ggc.h.
14507
14508 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
14509             Hans-Peter Nilsson  <hp@bitrange.com>
14510
14511         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
14512         Remove redundant include of xm-ns32k.h.
14513         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
14514         Remove redundant include of xm-ns32k.h.
14515         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
14516         Remove redundant include of xm-ns32k.h.
14517         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
14518
14519         * ns32k/ns32k.h: Update comment on multiply-add instructions.
14520         (TARGET_SWITCHES): Add documentation strings.
14521         (DWARF_FRAME_REGNUM): Override default definition.
14522         (REG_CLASS_CONTENTS): Add comments.
14523         (SUBSET_P): Format to reduce line length.
14524         (SMALL_REGISTER_CLASSES): Make a run time option.
14525         (GO_IF_NONINDEXED_ADDRESS): Reformat.
14526         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
14527         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
14528         (regclass_map): fix typo in comment.
14529         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
14530         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
14531         (trace, reg_or_mem_operand): Delete, unused function.
14532         (calc_address_cost): Small offsets are cheaper than large ones.
14533         (expand_block_move): Generate more efficient code when bytes is a
14534         known at compile time.
14535         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
14536         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
14537         instead of reg_or_mem_operand.
14538
14539         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
14540         not general_operand.  Similarly use "=rm" or stricter, not "=g".
14541         For input operands, use stricter constraints than "g" if not
14542         general_operand.  Similarly use stricter predicate than
14543         "general_operand" when stricter constraints than "g" are present,
14544         except for matching constraints.
14545         (movstrsi): Use "memory_operand" for operands 0 and 1.
14546         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
14547         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
14548         not reg_or_mem_operand.
14549         (udivmoddisi4): Ditto.
14550         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
14551         Use nonimmediate_operand for operand 3, not register_operand.
14552         (udivmoddiqi4_internal): Use register_operand for operand 1, not
14553         reg_or_mem_operand.
14554
14555 2000-01-27  Fred Fish  <fnf@be.com>
14556
14557         * gthr-posix.h: Fix typo; compatibily -> compatibility.
14558         * gthr-single.h: Likewise.
14559         * gthr-solaris.h: Likewise.
14560         * gthr-vxworks.h: Likewise.
14561         * gthr-win32.h: Likewise.
14562         * gthr.h: Likewise.
14563
14564 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
14565
14566         * cppinit.c: Add " (cpplib)" to end of string printed by
14567         -v / --version.
14568
14569 2000-01-27  Richard Henderson  <rth@cygnus.com>
14570
14571         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
14572         testing for a signed comparison.
14573         (alpha_emit_floatuns): New.
14574         * alpha-protos.h: Declare it.
14575         * alpha.md (floatunsdisf2, floatunsdidf2): New.
14576         (extendsfdf2): Tidy.
14577
14578 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
14579
14580         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
14581         no -g option specifying debugging format, default to -gstabs+.
14582
14583 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
14584
14585         * calls.c (special_function_p): New argument fork_or_exec.
14586         (expand_call): When profile_arc_flag is set and the function
14587         is in the fork_or_exec group, call __bb_fork_func first.
14588         * libgcc2.c, _bb module (__bb_fork_func): New function.
14589         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
14590         output file.
14591         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
14592         * tree.h (special_function_p): Update prototype.
14593
14594 2000-01-26  Richard Henderson  <rth@cygnus.com>
14595
14596         * alpha.c (alpha_split_tfmode_pair): New.
14597         * alpha-protos.h: Declare it.
14598         * alpha.md (abstf2, negtf2): New.
14599         (movtf insn): Add input G constraint.
14600         (movtf splitter): Use alpha_split_tfmode_pair.
14601
14602 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14603
14604         * i386/cygwin.h: PROTO -> PARAMS.
14605
14606 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
14607
14608         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
14609         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
14610         using _Qp_cmp/_Q_cmp and testing the return value.
14611         (print_operand): Call reverse_condition_maybe_unordered if
14612         we are handling CCFPmode or CCFPEmode.
14613         Handle ORDERED, UN* and LTGT comparisons.
14614         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
14615         if not TARGET_HARD_QUAD.
14616         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
14617         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
14618         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
14619         Adjust gen_b* calls so that they reflect return comparison of
14620         sparc_emit_float_lib_cmp.
14621
14622 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14623
14624         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
14625         incoming operands array is large enough for one more operand.
14626         (alpha_emit_xfloating_arith): Likewise.
14627
14628 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
14629
14630         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
14631         file with one line and no trailing newline.
14632         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
14633         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
14634         checking if the match is on the line.
14635         * fixinc/gnu-regex.c: Provide regerror not __regerror.
14636
14637 2000-01-25  Richard Henderson  <rth@cygnus.com>
14638
14639         * sparc.c (output_cbranch): Fix accidental squashing of the
14640         fp branch pre-delay nop.
14641
14642 2000-01-25  Richard Henderson  <rth@cygnus.com>
14643
14644         * tree.def (UNNE_EXPR): Remove.
14645         * c-typeck.c (build_binary_op): Don't handle it.
14646         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
14647
14648         * rtl.def (UNNE): Remove.
14649         (LTGT): Add.
14650         * jump.c (reverse_condition): Update accordingly.
14651         (swap_condition): Likewise.
14652         (comparison_dominates_p): Handle unordered comparisons.
14653         (reverse_condition_maybe_unordered): New.
14654         * rtl.h (reverse_condition_maybe_unordered): Declare.
14655
14656         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
14657         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
14658         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
14659         * sparc.md (bltgt): New.
14660
14661 2000-01-25  Nick Clifton  <nickc@redhat.com>
14662
14663         * emit-rtl.c (emit_insn): Only check machine class insns for
14664         improper emission of a RETURN.
14665
14666 2000-01-25  Richard Henderson  <rth@cygnus.com>
14667
14668         * Makefile.in (flow.o): Depend on $(EXPR_H).
14669         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
14670         duplicate the structure of diddle_return_value for keeping regs live.
14671
14672 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14673
14674         * loop.c (current_loop_info): Delete.
14675         (consec_sets_invariant_p): Add loop argument, update callers.
14676         (get_condition_for_loop): Likewise.
14677         (count_nonfixed_reads, update_giv_derive): Likewise.
14678         (simplify_giv_expr, general_induction_var): Likewise.
14679         (consec_sets_giv, recombine_givs): Likewise.
14680         (move_movables): Delete loop_start and loop_end arguments,
14681         add loop argument, and update callers.
14682         (find_mem_givs, check_final_value): Likewise.
14683         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
14684         (loop_invariant_p): Rename from invariant_p, add loop argument, and
14685         update callers.
14686         (basic_induction_var): Add loop argument, delete loop_level argument,
14687         and update callers.
14688         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
14689         add loop argument, and update callers.
14690         (find_splittable_regs, find_splittable_givs): Likewise.
14691         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
14692         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
14693         (biv_total_increment): Delete loop_start and loop_end arguments;
14694         update callers.
14695         (precondition_loop_p): Delete loop_start and loop_info arguments;
14696         update callers.
14697         * loop.h (get_condition_for_loop): Add loop argument.
14698         (biv_total_increment): Delete loop_start and loop_end arguments.
14699         (precondition_loop_p): Delete loop_start and loop_info arguments;
14700         add loop argument.
14701         (final_biv_value): Delete loop_start and loop_end arguments;
14702         add loop argument.
14703         (final_giv_value, back_branch_in_range_p): Likewise.
14704
14705 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
14706
14707         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
14708
14709 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
14710
14711         * Makefile.in (c-gperf.h) : Change the "See" pointer to
14712         point to the new "generated_files" doc.
14713
14714 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
14715
14716         * config/fp-bit.c (_unord_f2): Fix typo.
14717
14718 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
14719
14720         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
14721         c-typeck.c, objc/objc-act.c: Remove all references to obstack
14722         functions obsoleted by GC, such as push_obstacks_nochange,
14723         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
14724         and code which existed only to decide whether or not to call
14725         them.  Remove now-unused NESTED argument from start_function;
14726         all callers changed.  Do not change behavior based on ggc_p.
14727         The use of the ixp_obstack in c-iterate.c and the util_obstack
14728         in objc/objc-act.c remain; these are not obsoleted by garbage
14729         collection.
14730         * c-tree.h: Update prototype for start_function.
14731
14732         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
14733
14734 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
14735
14736         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
14737         mips16.
14738
14739 2000-01-25  Richard Henderson  <rth@cygnus.com>
14740
14741         * sparc-protos.h (select_cc_mode): Declare.
14742         * sparc.c (select_cc_mode): New.  Handle unordered compares.
14743         (output_cbranch): Always reverse via code change.  Handle
14744         unordered compares.  Factor tests and string updates.
14745         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
14746         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
14747         * sparc.md (bunordered, bordered): New.
14748         (bungt, bunlt, buneq, bunge, bunle): New.
14749
14750 2000-01-25  Richard Henderson  <rth@cygnus.com>
14751
14752         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
14753         * ggc-common.c (ggc_add_rtx_varray_root): New.
14754         (ggc_mark_rtx_varray): New.
14755         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
14756         functions down below ggc_mark_foo.
14757         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
14758
14759 2000-01-25  Richard Henderson  <rth@cygnus.com>
14760
14761         * alpha.c (secondary_reload_class): Don't allocate a secondary
14762         for integral mode memories into FLOAT_REGS.  Rearrange the more
14763         complicated memory expression inward.
14764
14765 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
14766
14767         * inclhack.def: Fixes to play nicer with FreeBSD, and
14768         corrections to comments.
14769         (cxx_unready): Add select expression.
14770         (irix_sockaddr): Add bypass expression.
14771         (machine_ansi_h_va_list): New fix.
14772         (stdio_va_list): No need to edit _BSD_VA_LIST_.
14773         Split out addition of "#include <stdarg.h>" to...
14774         (stdio_stdarg_h): ... here.
14775         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
14776         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
14777         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
14778         size_t.
14779         (ultrix_ifdef): Tighten up select expression.
14780
14781         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
14782         re_ct and max_mach to avoid use of shell.  Make printed names
14783         match names in inclhack.def.  Use static copyright date.
14784         Don't count c_test and test expressions as requiring regex_t
14785         slots.  Add some commentary.
14786         * inclhack.tpl: Do not include the 'This script contains N
14787         fixup scripts' line if PROGRAM is defined.  Use static
14788         copyright date.
14789
14790 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
14791
14792         * dwarf2out.c: include "varray.h", not dyn-string.h.
14793         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
14794         (addr_const_to_string, addr_to_string): Lose.
14795         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
14796         (struct dw_val_struct): val_addr is now an rtx.
14797         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
14798         (used_rtx_varray): New varray.
14799         (dwarf2out_init): Initialize it.
14800         (save_rtx): New fn.
14801         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
14802         addr_to_string.
14803         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
14804         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
14805         * Makefile.in (dwarf2out.o): Update dependencies.
14806
14807 2000-01-24  Richard Henderson  <rth@cygnus.com>
14808
14809         * i386.c (i386_dwarf_output_addr_const): New.
14810         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
14811
14812         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
14813         if defined.
14814         * dwarfout.c (output_mem_loc_descriptor): Likewise.
14815         * i386.c (i386_simplify_dwarf_addr): New.
14816         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
14817
14818 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
14819
14820         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
14821         TYPE_STUB_DECL is NULL.
14822
14823 2000-01-24  Richard Henderson  <rth@cygnus.com>
14824
14825         * builtins.c (expand_tree_builtin): Move ...
14826         * c-common.c (expand_tree_builtin): ... here.
14827
14828 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14829
14830         * loop.h (LOOP_INFO): New accessor macro.
14831         * basic-block.h (struct loop): Rename field `info' to `aux'.
14832         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
14833         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
14834         * unroll.c (loop_iterations, unroll_loop): Likewise.
14835
14836 2000-01-24  Christopher Faylor <cgf@cygnus.com>
14837
14838         * config/i386/t-cygwin: Accomodate new winsup directory layout
14839         when searching for include files.
14840
14841 2000-01-24  Richard Henderson  <rth@cygnus.com>
14842
14843         * rtl.def: Add unordered fp comparisions.
14844         * tree.def: Likewise.
14845         * tree.h: Add ISO C 9x unordered fp comparision builtins.
14846
14847         * builtins.c (expand_tree_builtin): New function.
14848         * c-typeck.c (build_function_call): Use it.
14849         (build_binary_op): Support unordered compares.
14850         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
14851
14852         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
14853         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
14854         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
14855         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
14856         * jump.c (reverse_condition): Don't abort for UNLE etc, but
14857         return UNKNOWN.
14858         (swap_condition): Handle unordered compares.
14859         (thread_jumps): Check can_reverse before reversing.
14860         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
14861         reversed for FP.
14862
14863         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
14864         setcc is present before acking for cmp_optab.  Update all callers.
14865         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
14866         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
14867         * expr.c (expand_expr): Likewise.  Support unordered compares.
14868         (do_jump, do_store_flag): Likewise.
14869         * expr.h (enum libfunc_index): Add unordered compares.
14870
14871         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
14872         (DPBIT_FUNCS): Add _unord_df.
14873         * config/fp-bit.c (_unord_f2): New.
14874         * fp-test.c (main): Try unordered compare builtins.
14875
14876         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
14877         * alpha.c (alpha_comparison_operator): Check mode properly.
14878         (alpha_swapped_comparison_operator): Likewise.
14879         (signed_comparison_operator): Likewise.
14880         (alpha_fp_comparison_operator): New.
14881         (alpha_emit_conditional_branch): Handle unordered compares.
14882         * alpha.h (PREDICATE_CODES): Update.
14883         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
14884         (bunordered, bordered): New.
14885
14886 2000-01-24  Richard Henderson  <rth@cygnus.com>
14887
14888         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
14889         * alpha.md (movtf): New expander, insn, and splitter.
14890
14891 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
14892
14893         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
14894         dead registers.
14895
14896 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
14897
14898         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
14899         (FIXED_REGISTERS, CALL_USED_REGISTERS,
14900          REG_ALLOC_ORDER): Add frame pointer
14901         (FRAME_POINTER_REGNUM): Set to 20
14902         (HARD_FRAME_POINTER_REGNUM): New macro.
14903         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
14904         to HARD_FRAME_POINTER.
14905         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
14906         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
14907         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
14908         (HI_REGISTER_NAMES): Add "frame".
14909         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
14910         (debug_reg): Handle FRAME_POINTER_REGNUM.
14911         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
14912         GENERAL_REGS and INDEX_REGS.
14913         * i386.c (SAVED_REGS_FIRST): new macro.
14914         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
14915         (ix86_decompose_address, memory_address_length): Likewise.
14916         (regclass_map): Add frame pointer.
14917         (call_insn_operand): Handle frame_pointer_rtx.
14918         (reg_no_sp_operand): Likewise.
14919         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
14920         (print_operand, legitimize_pic_address): Fix formating.
14921         (ix86_compute_frame_size): Make static, update prototype, new
14922         parameters padding1, padding2, use ix86_nsaved_regs, use
14923         stack_alignment_needed.
14924         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
14925         to HARD_FRAME_POINTER_REGNUM conversions.
14926         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
14927         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
14928         (print_reg): Abort on FRAME_POINTER_REGNUM
14929
14930 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
14931
14932         * i386.h (PREDICATE_CODES): Add aligned_operand.
14933         * i386.c (aligned_operand): New function.
14934         (ix86_aligned_p): Kill.
14935         * i386.md (movhi_1): Emit mov for aligned operands.
14936         (promoting peep2s): Use aligned_operand.
14937
14938 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
14939
14940         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
14941         expression to allow underscores in macro names.
14942         (fix_char_macro_defines): Increment scanning pointer.
14943
14944 2000-01-23  Richard Henderson  <rth@cygnus.com>
14945
14946         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
14947         * alpha/osf5.h: New file.
14948         * configure.in (alpha-*-osf5): Add it to tm_file.
14949
14950         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
14951
14952         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
14953         (alpha_emit_xfloating_cvt, function_arg): Declare.
14954         * alpha.c (alpha_emit_conditional_branch): Call
14955         alpha_emit_xfloating_compare for TFmode compares.
14956         (alpha_lookup_xfloating_lib_func): New.
14957         (alpha_compute_xfloating_mode_arg): New.
14958         (alpha_emit_xfloating_libcall): New.
14959         (alpha_emit_xfloating_arith): New.
14960         (alpha_emit_xfloating_compare): New.
14961         (alpha_emit_xfloating_cvt): New.
14962         (print_operand): Add default abort case.
14963         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
14964         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
14965         (BIGGEST_ALIGNMENT): Increase to 128 bits.
14966         (RETURN_IN_MEMORY): True for TF/TCmode.
14967         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
14968         (FUNCTION_ARG): Move to function_arg.
14969         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
14970         (ASM_OUTPUT_LONG_DOUBLE): New.
14971         (ASM_OUTPUT_DOUBLE): Always output bits.
14972         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
14973         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
14974         (extenddftf2, trunctfdf2): New.
14975
14976 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14977
14978         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
14979         * config/sparc/sol2.h: ... here.
14980
14981 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14982
14983         * basic-block.h (struct loops): New field `levels'.
14984         * flow.c (flow_loops_level_compute): Traverse all outer loops.
14985         (flow_loop_level_compute): Initialise level to 1.
14986         (flow_loops_find): Set loops->levels.
14987         (flow_loops_dump): Print loops->levels.
14988
14989 2000-01-23  Richard Henderson  <rth@cygnus.com>
14990
14991         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
14992         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
14993
14994 2000-01-23  Richard Henderson  <rth@cygnus.com>
14995
14996         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
14997         * i386.h (DBX_REGISTER_NUMBER): Use them.
14998         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
14999         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
15000         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
15001         * i386/sequent.h: Kill incorrect comment.
15002
15003 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
15004
15005         * ggc-page.c (struct page_entry): Make `context_depth' an
15006         `unsigned short'.
15007         (struct globals): Likewise.
15008
15009 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
15010
15011         * loop.c (check_dbra_loop): When checking a loop for
15012         reversability, check the source of any stores to ensure
15013         they don't depend on an initial value.
15014
15015 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15016
15017         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
15018
15019 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
15020
15021         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
15022         'pz_scan' into scope of entire function.  Only affects
15023         compiles with -DDEBUG.
15024
15025 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
15026
15027         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
15028         section naming to that prior to 2000-01-07 patch.
15029         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
15030         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
15031         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
15032         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
15033         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
15034
15035 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
15036
15037         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
15038         constant.
15039
15040 2000-01-21  Jim Wilson  <wilson@cygnus.com>
15041
15042         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
15043         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
15044
15045 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
15046
15047         * cpphash.c (change_newlines): Delete function.
15048         (struct argdata): Delete 'newlines' and 'use_count' fields.
15049         (macroexpand): Remove code referencing those fields.
15050
15051 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15052
15053         * loop.c (loops_info): New variable.
15054         (loop_optimize): Allocate loops->array and free it on exit.
15055         Allocate memory for loops_info and assign to each loop,
15056         replacing alloca.
15057         (find_and_verify_loops): Do not allocate loops->array.
15058
15059 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
15060
15061         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
15062
15063 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
15064
15065         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
15066         pseudos if expanded after first flow.
15067         (movdi_pic_label_ref): Likewise.
15068
15069 2000-01-20  Richard Henderson  <rth@cygnus.com>
15070
15071         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
15072
15073 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
15074
15075         * Makefile.in (fixinc.sh): Depend on specs.
15076         * fixinc/Makefile.in: Add rule to create machname.h.
15077         (fixlib.o): Depend on machname.h.
15078         * fixinc/fixtests.c (machine_name): New test.
15079         * fixinc/fixfixes.c (machine_name): New fix.
15080         * fixinc/fixlib.c (mn_get_regexps): New helper function for
15081         the machine_name test and fix.
15082         * fixinc/fixlib.h: Prototype it.
15083         * fixinc/inclhack.def (machine_name): Use the C test and fix.
15084         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
15085
15086         * gcc.c (do_spec_1) [case P]: Take care not to create
15087         identifiers with three leading or trailing underscores.
15088
15089         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
15090         (fixincl): Don't specify libraries twice on link line.
15091         (gnu-regex.o): Remove special rule.
15092         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
15093         defined by config.h.  Do not define _REGEX_RE_COMP.
15094         (regcomp): Allocate and initialize a fastmap.
15095         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
15096
15097 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
15098
15099         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
15100
15101 2000-01-19  Richard Henderson  <rth@cygnus.com>
15102
15103         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
15104         arguments with BB.  Update all callers.  Tidy line wrapping.
15105
15106 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
15107
15108         * emit-rtl.c (try_split): Return last_insn if we split the
15109         last_insn.
15110
15111 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
15112
15113         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
15114         (ix86_initial_elimination_offset): Declare.
15115         * i386.c (ix86_nsaved_regs): Break out from ...
15116         (ix86_can_use_return_insn_p): ... here.
15117         (ix86_emit_save_regs): Break out from ...
15118         (ix86_expand_prologue): ... here.
15119         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
15120         out from ...
15121         (ix86_expand_epilogue): ... here.
15122         (ix86_compute_frame_size): Make static, add prototype.
15123         (ix86_initial_elimination_offset): Break out from ...
15124         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
15125
15126 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15127
15128         * recog.h (OUT_FCN): Delete.
15129
15130         * vax.md: Call `get_insn_template' instead of OUT_FCN.
15131
15132 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15133
15134         * cppalloc.c: PROTO -> PARAMS.
15135         * cpperror.c: Likewise.
15136         * cppfiles.c: Likewise.
15137         * cpplib.c: Likewise.
15138         * cpplib.h: Likewise.
15139
15140         * config/arm/arm-protos.h: PROTO -> PARAMS.
15141         * config/arm/arm.c: Likewise.
15142         * config/c4x/c4x.c: Likewise.
15143         * config/fr30/fr30-protos.h: Likewise.
15144         * config/nextstep.c: Likewise.
15145         * config/pa/pa.c: Likewise.
15146         * config/pj/pj.c: Likewise.
15147         * config/rs6000/rs6000.c: Likewise.
15148         * config/v850/v850-protos.h: Likewise.
15149         * config/v850/v850.c: Likewise.
15150
15151 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15152
15153         * i370-protos.h: New file.
15154
15155         * i370.c: Include tm_p.h.  Fix compile time warnings.
15156
15157         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
15158         warnings.
15159
15160         * i370.md: Likewise.
15161
15162 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15163
15164         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
15165         (target_isinf, target_isnan, eisnan): Mark parameter with
15166         ATTRIBUTE_UNUSED.
15167         (eiisinf): Wrap in INFINITY.
15168         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
15169         (ibmtoe): Remove unused variable `rndsav'.
15170
15171 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
15172
15173         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
15174         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
15175
15176 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
15177
15178         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
15179         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
15180         (fix_char_macro_defines, fix_char_macro_uses): New functions.
15181
15182         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
15183         Recognize Emacs mode markers also.
15184         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
15185         C++ comments in C++ headers.  Call is_cxx_header only if
15186         necessary.
15187
15188         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
15189         bypass for ncurses.
15190         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
15191         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
15192         ... these, which use the new C fixes.
15193         (math_exception): Escape literal '+' in bypass expression.
15194
15195         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
15196         Regenerate.
15197
15198 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
15199
15200         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
15201         inside the MEM.
15202
15203 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15204
15205         * loop.c (loop_optimize): Allocate loop_info structure for each loop
15206         prior to calling scan_loop.
15207
15208 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
15209
15210         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
15211         (split_branches, calc_live_regs): Likewise.
15212
15213 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
15214
15215         * sh.md (fpu_single, fp_mode): New attributes.
15216
15217 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15218
15219         * loop.c (current_loop_info): Renamed from loop_info_data
15220         and changed to a pointer.
15221         (loop_optimize): Allocate loop_info structure for each loop
15222         and initialise to zero.
15223         (scan_loop): Set current_loop_info.
15224
15225         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
15226         on iteration_var.
15227
15228 2000-01-19  Richard Henderson  <rth@cygnus.com>
15229
15230         * stupid.c: Die die die.
15231         * Makefile.in (OBJS): Remove stupid.o.
15232         (stupid.o): Likewise.
15233
15234         * except.c (emit_eh_context): Don't emit USEs for stupid.
15235         * explow.c (probe_stack_range): Likewise.
15236         * flags.h (obey_regdecls): Remove.
15237         * flow.c (find_basic_blocks): Don't run try_merge_blocks
15238         when not optimizing.
15239         (life_analysis): Limit data collection when not optimizing.
15240         (mark_regs_live_at_end): Always mark the return value registers.
15241         (mark_used_regs): Remove dummy RETURN case.
15242         (print_rtl_with_bb): Don't consult obey_regdecls.
15243         * function.c (use_variable, use_variable_after): Remove.
15244         (assign_parms): Consult optimize not obey_regdecls.
15245         (expand_function_start): Don't emit USEs for stupid.
15246         (expand_function_end): Likewise.
15247         * global.c (build_insn_chain): Export.
15248         * integrate.c (expand_inline_function): Kill return-value USE
15249         handling code.
15250         * jump.c (jump_optimize_1): Do simple jump optimizations and
15251         dead code elimination.
15252         (calculate_can_reach_end): Remove check_deleted argument.
15253         (delete_insn): Patch out insns even when not optimizing.
15254         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
15255         * rtl.h (use_variable, use_variable_after): Remove declarations.
15256         (build_insn_chain): Declare.
15257         * stmt.c (expand_value_return): Don't emit USEs for stupid.
15258         (expand_end_bindings): Likewise.
15259         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
15260         * toplev.c (obey_regdecls): Remove.
15261         (rest_of_compilation): Don't set it.  Kill stupid in favour of
15262         flow1, local-alloc, and reload.
15263         (main): Don't set obey_regdecls.
15264
15265         * config/nextstep.c (handle_pragma): Likewise.
15266
15267         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
15268
15269         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
15270
15271 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15272
15273         * alpha-protos.h: PROTO -> PARAMS.
15274         * alpha.c: Likewise.
15275         * elf.h: Likewise.
15276         * h8300.c: Likewise.
15277         * i386-protos.h: Likewise.
15278         * i386.c: Likewise.
15279         * m32r-protos.h: Likewise.
15280         * m32r.c: Likewise.
15281         * mips.c: Likewise.
15282         * mips.md: Likewise.
15283         * gmon-sol2.c: Likewise.
15284         * sparc.c: Likewise.
15285
15286 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15287
15288         * ns32k-protos.h: New file.
15289
15290         * ns32k.c: Fix compile time warnings.
15291
15292         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
15293         warnings.
15294
15295         * ns32k.md: Likewise.
15296
15297 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15298
15299         * vax-protos.h: New file.
15300
15301         * vax.c: Fix compile time warnings.
15302
15303         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
15304         warnings.
15305
15306         * vax.md: Likewise.
15307
15308         * vaxv.md: Likewise.
15309
15310 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15311
15312         * romp-protos.h: New file.
15313
15314         * romp.c: Fix compile time warnings.
15315
15316         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
15317         warnings.
15318
15319         * romp.md: Likewise.
15320
15321 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15322
15323         * we32k-protos.h: New file.
15324
15325         * we32k.c: Fix compile time warnings.
15326
15327         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
15328         warnings.
15329
15330 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15331
15332         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
15333
15334         * except.c (eh_regs): Likewise.
15335
15336         * final.c (output_operand): Likewise.
15337
15338         * fold-const.c (target_isinf, target_isnan): Likewise.
15339
15340 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
15341
15342         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
15343         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
15344
15345         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
15346         when optimize_size.
15347         (clrstrsi): Rewrite.
15348         (strsethi, strsetqi): New expanders.
15349         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
15350         (cmpstrsi): Emit compare insn before cmpstrsi_1
15351         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
15352         (strlensi_1): Likewise.
15353         (cmpstrsi_1): Likewise; do not output compare.
15354         (strlen expander): Do not unroll when optimizing for size.
15355         (*subsi3_carry): Rename to subsi3_carry
15356         (addqi3_cc): New pattern.
15357         * i386.h (processor_costs): Add move_ratio field.
15358         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
15359         * i386.c (*_cost): Set move_ratio.
15360         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
15361         (x86_expand_strlensi_1): Rewrite the main loop.
15362
15363 2000-01-17  Richard Henderson  <rth@cygnus.com>
15364
15365         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
15366         * cse.c (find_comparison_args, fold_rtx): Likewise.
15367         * integrate.c (subst_constants): Likewise.
15368         * loop.c (get_condition): Likewise.
15369
15370         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
15371
15372         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
15373
15374 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15375
15376         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
15377         (RESTORE_WARN_FLAGS): Unpack it.
15378         Change semantic type of extension to ttype.
15379         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
15380         * c-parse.y, c-parse.c, objc/objc-parse.y,
15381         objc/objc-parse.c: Regenerate.
15382
15383 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
15384
15385         * fixinc/fixlib.c: Add copyright notice.
15386         (compile_re): New function.
15387         * fixinc/fixlib.h: Prototype compile_re.
15388
15389         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
15390         Use compile_re to compile regular expressions.
15391
15392         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
15393         where the pattern matched.
15394
15395         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
15396         use 'replace'.
15397         (ultrix_ansi_compat): Likewise.
15398         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
15399         add egrep test.
15400         (interactv_add2, interactv_add3): Delete.
15401         (x11_sprintf): Don't use filename glob.
15402         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
15403         Regenerate.
15404
15405 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15406
15407         * print-rtl.c: PROTO -> PARAMS.
15408         * real.c: Likewise.
15409         * reg-stack.c: Likewise.
15410         * resource.c: Likewise.
15411         * sdbout.h: Likewise.
15412         * simplify-rtx.c: Likewise.
15413         * stor-layout.c: Likewise.
15414         * stupid.c: Likewise.
15415         * xcoffout.c: Likewise.
15416         * xcoffout.h: Likewise.
15417
15418 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15419
15420         * toplev.c: PROTO -> PARAMS.
15421         * toplev.h: Likewise.
15422         * tree.c: Likewise.
15423         * tree.h: Likewise.
15424         * unroll.c: Likewise.
15425         * varasm.c: Likewise.
15426         * varray.c: Likewise.
15427         * varray.h: Likewise.
15428
15429 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15430
15431         * reload.c: PROTO -> PARAMS.
15432         * reload.h: Likewise.
15433         * reload1.c: Likewise.
15434         * reorg.c: Likewise.
15435         * resource.h: Likewise.
15436         * rtl.c: Likewise.
15437         * rtl.h: Likewise.
15438         * rtlanal.c: Likewise.
15439         * sbitmap.h: Likewise.
15440         * sdbout.c: Likewise.
15441         * stack.h: Likewise.
15442         * stmt.c: Likewise.
15443         * system.h: Likewise.
15444
15445 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15446
15447         * machmode.h: PROTO -> PARAMS.
15448         * mbchar.h: Likewise.
15449         * mips-tdump.c: Likewise.
15450         * mips-tfile.c: Likewise.
15451         * optabs.c: Likewise.
15452         * output.h: Likewise.
15453         * prefix.c: Likewise.
15454         * profile.c: Likewise.
15455         * protoize.c: Likewise.
15456         * real.h: Likewise.
15457         * recog.c: Likewise.
15458         * recog.h: Likewise.
15459         * regclass.c: Likewise.
15460         * regmove.c: Likewise.
15461         * regs.h: Likewise.
15462
15463 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15464
15465         * ggc-common.c: PROTO -> PARAMS.
15466         * ggc-page.c: Likewise.
15467         * ggc-simple.c: Likewise.
15468         * ggc.h: Likewise.
15469         * global.c: Likewise.
15470         * graph.c: Likewise.
15471         * gthr-win32.h: Likewise.
15472         * haifa-sched.c: Likewise.
15473         * halfpic.h: Likewise.
15474         * integrate.c: Likewise.
15475         * integrate.h: Likewise.
15476         * jump.c: Likewise.
15477         * lcm.c: Likewise.
15478         * local-alloc.c: Likewise.
15479         * loop.c: Likewise.
15480         * loop.h: Likewise.
15481
15482 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15483
15484         * genattr.c: PROTO -> PARAMS.
15485         * genattrtab.c: Likewise.
15486         * gencheck.c: Likewise.
15487         * gencodes.c: Likewise.
15488         * genconfig.c: Likewise.
15489         * genemit.c: Likewise.
15490         * genextract.c: Likewise.
15491         * genflags.c: Likewise.
15492         * gengenrtl.c: Likewise.
15493         * genopinit.c: Likewise.
15494         * genoutput.c: Likewise.
15495         * genpeep.c: Likewise.
15496         * genrecog.c: Likewise.
15497
15498 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
15499
15500         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
15501
15502 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15503
15504         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
15505         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
15506         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
15507         * configure, config.in: Rebuilt.
15508
15509 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
15510
15511         * config/i386/i386.md: Add peephole to merge successive stack
15512         adjusts.
15513
15514 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
15515
15516         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
15517         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
15518         when walking backwards to find all the parameter loads when
15519         the basic block ends in a call.
15520
15521 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15522
15523         * loop.c (this_loop_info): Delete.
15524         (uid_loop): Add in place of uid_loop_num.  All uses updated.
15525         (loop_number_exit_count): Delete and replace with entry in loop
15526         structure.  All uses updated.
15527         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
15528         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
15529         (loop_outer_loop): Likewise.
15530         (loop_invalid, loop_number_exit_labels): Likewise.
15531         (loop_used_count_register): Delete and replace with entry in
15532         loop_info structure.
15533         (find_and_verify_loops): Add loops argument.
15534         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
15535         loop_end, etc. arguments with loop structure pointer.  All callers
15536         changed.
15537         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
15538         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
15539         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
15540         (insert_bct): Likewise.
15541         (basic_induction_var): New argument level.
15542         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
15543         vtop, and cont.  Add used_count_register.
15544         (uid_loop): Delete declaration.
15545         (loop_number_exit_count): Likewise.
15546         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
15547         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
15548         (loop_outer_loop, loop_used_count_register): Likewise.
15549         (loop_invalid, loop_number_exit_labels): Likewise.
15550         (unroll_loop): Replace loop_start and loop_end arguments
15551         with loop structure pointer.
15552         (loop_precondition_p, loop_iterations): Likewise.
15553         Include basic-block.h.
15554         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
15555         with loop structure pointer.
15556         (loop_precondition_p, loop_iterations): Likewise.
15557         * basic-block.h (struct loop): New entries vtop, cont,
15558         cont_dominator, start, end, top, scan_start, exit_labels,
15559         exit_count.
15560         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
15561
15562 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15563
15564         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
15565
15566 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
15567
15568         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
15569
15570 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15571
15572         * pdp11-protos.h: New file.
15573
15574         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
15575         time warnings.
15576
15577         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
15578         warnings.
15579
15580         * pdp11.md: Likewise.
15581
15582         * 2bsd.h: Likewise.
15583
15584 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15585
15586         * mn10300-protos.h: New file.
15587
15588         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
15589         time warnings.
15590
15591         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
15592         warnings.
15593
15594         * mn10300.md: Likewise.
15595
15596 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15597
15598         * mn10200-protos.h: New file.
15599
15600         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
15601         time warnings.
15602
15603         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
15604         warnings.
15605
15606         * mn10200.md: Likewise.
15607
15608 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15609
15610         * h8300-protos.h: New file.
15611
15612         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
15613         time warnings.
15614
15615         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
15616         warnings.
15617
15618         * h8300.md: Likewise.
15619
15620 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15621
15622         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
15623         (asm_emit_uninitialised): Likewise.
15624
15625 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
15626
15627         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
15628         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
15629
15630 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
15631
15632         * config/mips/mips.c (override_options): Don't turn on extra
15633         alignment for mips16.
15634
15635 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
15636
15637         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
15638         eabi, and make sure queued POSTINCREMENT rtl is emitted at
15639         the right point.
15640
15641 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
15642
15643         * builtins.c (PAD_VARARGS_DOWN): Define.
15644         (std_expand_builtin_va_arg): Use the above macro.
15645         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
15646         * tm.texi (Register Arguments): Document the above macro.
15647
15648 2000-01-14  Nick Clifton  <nickc@cygnus.com>
15649
15650         * emit-rtl.c (emit_insn): If checking is enabled, make sure
15651         that this function has not been used to emit a jump
15652         instruction.
15653
15654         * jump.c (return_jump_1): Cope with being passed a null rtx.
15655
15656 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15657
15658         * eh-common.h: PROTO -> PARAMS.
15659         * emit-rtl.c: Likewise.
15660         * errors.c: Likewise.
15661         * errors.h: Likewise.
15662         * except.c: Likewise.
15663         * except.h: Likewise.
15664         * explow.c: Likewise.
15665         * expmed.c: Likewise.
15666         * expr.c: Likewise.
15667         * expr.h: Likewise.
15668         * final.c: Likewise.
15669         * fix-header.c: Likewise.
15670         * flow.c: Likewise.
15671         * fold-const.c: Likewise.
15672         * function.c: Likewise.
15673         * function.h: Likewise.
15674         * gcc.c: Likewise.
15675         * gcov-io.h: Likewise.
15676         * gcov.c: Likewise.
15677         * gcse.c: Likewise.
15678
15679 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15680
15681         * sh-protos.h: New file.
15682
15683         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
15684         Add static prototypes.  Fix compile time warnings.
15685
15686         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
15687         * sh.md: Likewise.
15688         * elf.h: Likewise.
15689
15690 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15691
15692         * arc-protos.h: New file.
15693
15694         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
15695         time warnings.
15696
15697         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
15698         warnings.
15699
15700         * arc.md: Likewise.
15701
15702 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15703
15704         * dsp16xx-protos.h: New file.
15705
15706         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
15707         time warnings.
15708
15709         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
15710         warnings.
15711
15712         * dsp16xx.md: Likewise.
15713
15714 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15715
15716         * convex-protos.h: New file.
15717
15718         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
15719         time warnings.
15720
15721         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
15722         warnings.
15723
15724 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15725
15726         * elxsi-protos.h: New file.
15727
15728         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
15729         time warnings.
15730
15731         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
15732         warnings.
15733
15734         * elxsi.md: Likewise.
15735
15736 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
15737
15738         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
15739         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
15740         match the comment for MIPS16.
15741
15742 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
15743
15744         * flow.c (split_edge): Do not call set_block_for_insn if we
15745         do not have a basic_block_for_insn structure.
15746
15747         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
15748         and destination functions are 32bit aligned within the trampoline.
15749         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
15750         (TRAMPOLINE_ALIGNMENT): Define.
15751
15752         * cse.c (cse_insn): When changing (set (pc) (reg)) to
15753         (set (pc) (label_ref)), verify the change creates a valid insn.
15754
15755         * fr30.c (call_operand): Tighten and rework to match rules for
15756         call RTL expressions.
15757         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
15758         * fr30.md (call patterns): Improve constraints.
15759
15760 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
15761
15762         * fr30.c (fr30_expand_epilogue): Revert last change.
15763         Use emit_jump_insn for the return insn.
15764
15765 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
15766                           Stan Cox  <scox@cygnus.com>
15767
15768         * predict.c: New file. Preliminary infrastructure work for static
15769         branch prediction and basic block reordering.
15770         * basic-block.h: Add prototype for estimate_probability.
15771         * Makefile.in: Add rules for predict.o.
15772
15773 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
15774
15775         * fixincludes (va_list): Use __not_va_list__ for the dummy.
15776         * fixinc/*: Likewise.
15777
15778 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15779
15780         * cccp.c: PROTO -> PARAMS.
15781         * cexp.y: Likewise.
15782         * collect2.c: Likewise.
15783         * combine.c: Likewise.
15784         * convert.h: Likewise.
15785         * cse.c: Likewise.
15786         * dbxout.c: Likewise.
15787         * dbxout.h: Likewise.
15788         * diagnostic.c: Likewise.
15789         * doprint.c: Likewise.
15790         * dwarf2out.c: Likewise.
15791         * dwarf2out.h: Likewise.
15792         * dwarfout.c: Likewise.
15793         * dwarfout.h: Likewise.
15794         * dyn-string.h: Likewise.
15795
15796 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15797
15798         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
15799         macro conditionals guarding use.
15800
15801         * dwarf2out.c: Include "tm_p.h".
15802
15803         * function.c (locate_and_pad_parm): Mark parameter with
15804         ATTRIBUTE_UNUSED.
15805         (expand_function_end): Likewise for variable `context'.
15806
15807         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
15808
15809 2000-01-13  Nick Clifton  <nickc@cygnus.com>
15810
15811         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
15812         register to prevent compile time warnings.
15813
15814 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
15815
15816         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
15817         to avoid -Wtraditional warning.
15818
15819 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15820
15821         * 1750a-protos.h: New file.
15822
15823         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
15824         time warnings.
15825
15826         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
15827         warnings.
15828
15829         * 1750a.md: Likewise.
15830
15831 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15832
15833         * a29k-protos.h: New file.
15834
15835         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
15836         time warnings.
15837
15838         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
15839         warnings.
15840
15841 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15842
15843         * clipper-protos.h: New file.
15844
15845         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
15846         time warnings.
15847
15848         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
15849         warnings.
15850
15851 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
15852
15853         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
15854
15855 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
15856
15857         * configure.in (--enable-new-gxx-abi): New option.
15858         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
15859         * Makefile.in (GXX_ABI_FLAG): New variable.
15860         * configure: Regenerate.
15861
15862 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15863
15864         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
15865         * tm.texi (FORCE_STRUCT_BLK): Document.
15866         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
15867
15868 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
15869
15870         * config/ns32k/ns32k.md: Revert Jan 9 change.
15871
15872         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
15873         to a mode-test, if the predicate is address_operand.
15874
15875 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
15876
15877         * combine.c (if_then_else_cond): Be careful about what kinds
15878         of RTL expressions are passed to operand_subword.
15879
15880         * flow.c (split_edge): If we have to insert a new jump, make
15881         sure to associate it with a basic block.
15882
15883         * flow.c (commit_one_edge_insertion): A block with one successor
15884         can end in a JUMP_INSN that is not a simplejump.
15885
15886 2000-01-12  Robert Lipe  <robertl@sco.com>
15887
15888         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
15889         (BUILD_VA_LIST_TYPE): Define.
15890         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
15891         with crtstuff.c.
15892
15893 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
15894
15895         * cccp.c (do_pragma): Add cast to (char *).
15896
15897 2000-01-12  Richard Henderson  <rth@cygnus.com>
15898             Fred Fish  <fnf@be.com>
15899             Jason Merrill  <jason@cygnus.com>
15900
15901         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
15902         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
15903         * i386/beos-elf.h, i386/beos-pe.h: New files.
15904
15905         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
15906         * cross-make (SYSTEM_HEADER_DIR): Define using
15907         CROSS_SYSTEM_HEADER_DIR.
15908
15909         * gcc.c (LIBRARY_PATH_ENV): Provide default.
15910         (process_command): Use it.
15911         (main): Likewise.  Kill trailing = from env vars.
15912         (build_search_list): Put it back.
15913         * collect2.c (main): Use LIBRARY_PATH_ENV.
15914
15915         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
15916         * toplev.c: Use NEED_DECLARATION_ENVIRON.
15917
15918         * tm.texi (Frame Layout): Document SMALL_STACK.
15919         * c-common.c (c_common_nodes_and_builtins): Check it.
15920
15921         * system.h: Undef alloca after including glibc's <stdlib.h>,
15922         if USE_C_ALLOCA is defined.
15923
15924         * gcc.c (set_input): New fn.
15925         (main): After all input files are compiled, reset the input file
15926         info to the first.
15927
15928         * aclocal.m4 (rindex, index): If already defined, don't attempt
15929         to redefine.
15930
15931         * ginclude/varargs.h: (__va_list__): Define ifndef.
15932         * ginclude/stdarg.h: Likewise.
15933
15934         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
15935         instead of unsigned char.
15936
15937         * hash.h (true, false, boolean): Undef before enum.
15938
15939         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
15940         proper type of "HOST_WIDE_INT *", rather than their natural type of
15941         "unsigned HOST_WIDE_INT *".
15942
15943 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15944
15945         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
15946
15947         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
15948
15949         * regclass.c (choose_hard_reg_mode): Likewise.
15950
15951         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
15952
15953         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
15954
15955 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15956
15957         * c-common.c: PROTO -> PARAMS.
15958         * c-common.h: Likewise.
15959         * c-decl.c: Likewise.
15960         * c-iterate.c: Likewise.
15961         * c-lang.c: Likewise.
15962         * c-lex.c: Likewise.
15963         * c-lex.h: Likewise.
15964         * c-parse.in: Likewise.
15965         * c-pragma.c: Likewise.
15966         * c-pragma.h: Likewise.
15967         * c-tree.h: Likewise.
15968         * c-typeck.c: Likewise.
15969         * objc/objc-act.c: Likewise.
15970         * objc/objc-act.h: Likewise.
15971
15972 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15973
15974         * m88k-protos.h: New file.
15975
15976         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
15977         time warnings.
15978
15979         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
15980
15981         * m88k.md: Likewise.
15982
15983         * tekXD88.h: Likewise.
15984
15985 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15986
15987         * m68k-protos.h: New file.
15988
15989         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
15990         time warnings.
15991
15992         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
15993
15994         * mot3300.h: Likewise.
15995
15996 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
15997
15998         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
15999         extract_bitlst.
16000         (extract_bitlist): Declare bitlen.
16001
16002 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
16003
16004         * cccp.c: Accept and ignore -lang-fortran.
16005
16006         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
16007         qualifiers don't match at any level of pointerness.
16008
16009 2000-01-12  Robert Lipe  <robertl@sco.com>
16010
16011         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
16012
16013 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
16014
16015         * reload1.c (reload_reg_unavailable): New static variable.
16016         (reload_reg_free_p): Test it.
16017         (reload_reg_free_for_value_p): Test it instead of
16018         reload_reg_used.
16019         (choose_reload_regs_init): Compute it.
16020
16021 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
16022
16023         * reorg.c (fill_slots_from_thread): Check modified_in_p
16024         before replacing.
16025
16026 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
16027
16028         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
16029         these nodes even if INTERNALS is not set.
16030
16031 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
16032
16033         * gcse.c (delete_null_pointer_checks_1): Cope when
16034         get_condition cannot determine the condition.
16035
16036 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
16037
16038         * toplev.h (set_message_length): Declare.
16039
16040         * diagnostic.c (obstack_chunk_alloc): Define macro.
16041         (obstack_chunk_free): Likewise.
16042         (struct output_buffer): New data structure.
16043         (vmessage): Remove.
16044         (output_maximum_width): New variable.
16045         (doing_line_wrapping, set_message_length, init_output_buffer,
16046         get_output_prefix, output_space_left, emit_output_prefix,
16047         output_newline, output_append, output_puts, dump_output,
16048         vbuild_message_string, build_message_string, build_location_prefix,
16049         voutput_notice, output_printf, line_wrapper_printf,
16050         vline_wrapper_message_with_location):  New functions. Implement
16051         automatic line wrapping.
16052         (v_message_with_decl): Make it handle automatic line wrapping.
16053         (v_error_with_file_and_line): Likewise.
16054         (v_warning_with_file_and_line): Likewise.
16055         (announce_function): Likewise.
16056         (default_print_error_function): Likewise.
16057
16058 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
16059
16060         * cpplib.h (struct cpp_options): Change lang_asm to char.
16061         Add lang_fortran.
16062         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
16063         done in cpp_handle_option now.
16064         (initialize_builtins): Take out special case code used only by
16065         __STDC_VERSION__.
16066         (cpp_handle_option): Turn off trigraphs and trigraph warnings
16067         if -traditional.  Recognize -lang-fortran and set
16068         lang_fortran, also turn off cplusplus_comments.
16069         (print_help): Document -lang-fortran.
16070         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
16071         lang_asm. Ignore all directives other than `# 123 "file"' if
16072         CPP_PREPROCESSED.
16073         (cpp_get_token): If -traditional, don't recognize directives
16074         unless the # is in column 1.
16075         (parse_string): If lang_fortran or lang_asm, silently
16076         terminate strings ('' or "") at end of line.
16077         Remove unnecessary braces.
16078
16079 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16080             Richard Henderson  <rth@cygnus.com>
16081
16082         * resource.c (mark_referenced_resources): Mark a set strict_low_part
16083         as used.
16084         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
16085         strict_low_part when possible.
16086
16087 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16088
16089         * alias.c: PROTO -> PARAMS.
16090         * basic-block.h: Likewise.
16091         * bitmap.c: Likewise.
16092         * bitmap.h: Likewise.
16093         * builtins.c: Likewise.
16094         * c-aux-info.c: Likewise.
16095         * caller-save.c: Likewise.
16096         * calls.c: Likewise.
16097
16098 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16099
16100         * Makefile.in (toplev.o): Depend on regs.h.
16101
16102         * output.h (tdesc_section): Prototype.
16103
16104         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
16105
16106         * sdbout.c: Include "tm_p.h".
16107
16108         * toplev.c: Include "regs.h".
16109
16110 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
16111
16112         * unroll.c (unroll_loop): Add EH support.
16113
16114 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16115
16116         * pa-protos.h: New file.
16117
16118         * pa.c: Include recog.h and tm_p.h.
16119         (compute_zdepwi_operands, compute_movstrsi_length,
16120         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
16121         find_addr_reg, import_milli): Add static prototypes.
16122         (pa_cpu_string, pa_arch_string): Constify a char*.
16123         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
16124         (read_only_operand): Add argument `mode'.
16125         (singlemove_string, output_move_double, output_fp_move_double,
16126         output_block_move, output_and, output_ior, output_ascii,
16127         remove_useless_addtr_insns, milli_names, output_mul_insn,
16128         output_div_insn, output_mod_insn, output_arg_descriptor,
16129         output_cbranch, output_bb, output_bvb, output_dbra, ,
16130         output_millicode_call, output_call, hppa_encode_label,
16131         output_parallel_movb, output_parallel_addb): Constify a char*.
16132         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
16133         (output_parallel_addb): Remove extra arg to `constrain_operands'
16134
16135         * pa.h:  Move all prototypes to pa-protos.h.
16136         (pa_cpu_string, pa_arch_string): Constify a char*.
16137         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
16138
16139         * pa.md: Call `function_label_operand' with mode argument.
16140         Likewise for `read_only_operand'.
16141         Fix nesting of parens in call to `symbolic_operand'.
16142
16143 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16144
16145         * i860-protos.h: New file.
16146
16147         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
16148         time warnings.
16149
16150         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
16151
16152         * i860.md: Likewise.
16153
16154 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
16155
16156         * i386.md (movstrsi expander): Rewrite.
16157         (movstrsi_1 insn): Deleted.
16158         (strmovhi, strmovqi expander): New expanders.
16159         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
16160         * i386.c (x86_single_stringop): New global variable.
16161         * i386.h (x86_single_stringop): Declare.
16162         (TARGET_SINGLE_STRINGOP): New macro.
16163
16164 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
16165
16166         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
16167         integer vararg POSTINCREMENT before the destination of the jump
16168         for the hard fp case.
16169         (function_arg_pass_by_reference): Pass a copy of CUM to
16170         FUNCTION_ARG.
16171
16172         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
16173         for CONSTANT_ADDRESS_P above while loop for subreg.
16174
16175 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
16176
16177         * flow.c (propagate_block): When a prologue/epilogue insn
16178         is marked dead, unconditionally clear libcall_is_dead and
16179         insn_is_dead, and only dump rtl if warnings aren't being
16180         suppressed.
16181
16182 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
16183
16184         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
16185         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
16186         (FIXED_REGISTERS): Set dirflag as fixed.
16187         (CALL_USED_REGISTERS): Set dirflag as used.
16188         (REG_ALLOC_ORDER): Set dirflag as last one.
16189         (DIRFLAG_REG): New macro.
16190         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
16191         (HI_REGISTER_NAMES): Add dirflag.
16192         (DEBUF_PRINT_REG): Handle dirflag.
16193         * i386.md (type attribute): New cld and str types.
16194         (length_opcode attribute): Set cld and str to 1.
16195         (memory attribute): Set str to unknown - it is not clear from the
16196         patterns.
16197         (pent_np function unit): Prefixed string operations takes 12 cycles
16198         minimally; cld takes 2 cycles.
16199         (ppro_uops attribute): Str is "many" and cld is "few".
16200         (ppro_p0 unit): Handle cld here.
16201         (k6_alux unit): Handle cld and str types.
16202         (k6_load unit): It is ocupied by str opcodes.
16203         (k6_store unit): It is ocupied by str opcodes.
16204         (athlon_decode): Str is vector decoded.
16205         (athlon_ieu): Handle str and cld.
16206         (cld pattern): New.
16207         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
16208         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
16209         cmpstrsi_nz_1 insn): Do not output cld instruction
16210
16211 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
16212
16213         * gcc.texi (G++ and GCC): Add Java and Chill.
16214         (Bug Critera): Don't list languages.
16215
16216         * gcc.texi (Incompatibilities): No longer claim most C compilers
16217         are K&R.
16218
16219         * gcc.texi (G++ and GCC): Update other front-ends list.
16220
16221 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
16222
16223         * i386.c (ix86_expand_setcc): Fix typo.
16224         (ix86_expand_movcc): Similarly.
16225
16226         * Band-aid until haifa's bitset implementation is nuked.
16227         * haifa-sched.c (extract_bitlst): New parameter for size of the
16228         bitset in bits.  All callers changed.  Avoid looking at undefined
16229         bits in the bitset.
16230         (edgeset_bitsize): New variable.
16231         (schedule_region): Initialize edgeset_bitsize.
16232
16233 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16234
16235         * Makefile.in (optabs.o): Depend on real.h
16236         (resource.o): Depend on insn-attr.h
16237
16238         * builtins.c (result_vector): Wrap prototype in macro conditions
16239         governing definition and use.
16240
16241         * c-common.c: Include tm_p.h.
16242
16243         * c-lex.c: Likewise.
16244
16245         * elfos.h: Constify a char*.
16246
16247         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
16248         (get_attr_length, shorten_branches, profile_after_prologue): Mark
16249         parameter with ATTRIBUTE_UNUSED.
16250
16251         * fold-const.c (exact_real_inverse): Wrap variable `i' in
16252         CHECK_FLOAT_VALUE.
16253
16254         * haifa-sched.c (schedule_insns): Mark parameter with
16255         ATTRIBUTE_UNUSED.
16256
16257         * optabs.c: Include real.h.
16258
16259         * real.h (ereal_atof): Add prototype arguments.
16260
16261         * resource.c: Include insn-attr.h.
16262
16263         * sdbout.c (sdbout_queue_anonymous_type,
16264         sdbout_dequeue_anonymous_types): Wrap in macro
16265         SDB_ALLOW_FORWARD_REFERENCES.
16266         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
16267         ATTRIBUTE_UNUSED.
16268
16269         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
16270
16271         * stupid.c: Include tm_p.h.
16272
16273         * tree.c (real_value_from_int_cst): Mark parameter with
16274         ATTRIBUTE_UNUSED.
16275
16276 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16277
16278         * i960-protos.h: New file.
16279
16280         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
16281         time warnings.
16282
16283         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
16284
16285 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16286
16287         * combine.c (expand_field_assignment): Do not discard SUBREGs
16288         while computing nonzero_bits.
16289
16290 2000-01-09  Nick Clifton  <nickc@cygnus.com>
16291
16292         * config/arm/arm.c: Fix compile time warnings about signed vs
16293         unsigned constants.
16294         * config/arm/arm.h: Fix compile time warnings about signed vs
16295         unsigned constants.
16296
16297 2000-01-09  Philip Blundell  <philb@gnu.org>
16298
16299         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
16300         than `ldm' with only one register.
16301         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
16302         only one register.
16303
16304         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
16305         clobbered.
16306
16307 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
16308
16309         * config/ns32k/ns32k.md (load or push effective address): Operand 1
16310         must have SImode.
16311
16312 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16313
16314         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
16315         assignment used as truth value.
16316
16317         * function.c (assign_temp): Mark parameter `dont_promote' with
16318         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
16319         PROMOTE_FOR_CALL_ONLY.
16320
16321         * genrecog.c (write_subroutine): Mark variable `operands' with
16322         ATTRIBUTE_UNUSED.
16323
16324         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
16325         ATTRIBUTE_UNUSED.
16326
16327         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
16328         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
16329
16330         * toplev.c (note_deferral_of_defined_inline_function): Likewise
16331         for `decl'.
16332
16333 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16334
16335         * config/c4x.h: Tidy up comments.
16336         * config/c4x.c: Likewise.
16337
16338 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
16339
16340         * fold-const.c (lshift_double, rshift_double): Handle
16341         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
16342
16343 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16344
16345         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
16346         in prepare_function_start().
16347
16348 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
16349
16350         * config/v850/v850.c (expand_epilogue): Interrupt functions no
16351         longer allocate extra stack for function calls.
16352
16353 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16354
16355         * config/c4x/c4x.md (*subqf3_set): Fix typo.
16356
16357 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16358
16359         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
16360
16361 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
16362
16363         * rs6000.c (processor_target_table): Add power3 as alias for 630.
16364         * aix43.h: Revert Aug 2 change.
16365         (HAS_INIT_SECTION): Define, not visible yet.
16366         (LD_INIT_SWITCH): Define, not visible yet.
16367         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
16368
16369         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
16370
16371         * collect2.c (main): Expand ld2 size further.
16372         (export_object_lst): Cast assignment to avoid warning.
16373         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
16374         (scan_prog_file, COFF): Do not collect initialization or
16375         finalization functions generated for entire shared object if
16376         init/fini support present.
16377
16378 2000-01-07  Nick Clifton  <nickc@cygnus.com>
16379
16380         * config/elfos.h: Tidy up formatting of marcos.  Make sure
16381         that .section directives are always prefixed by a tab.
16382
16383         * config/svr4.h: Add #include "elfos.h" and remove duplicate
16384         definitions.
16385
16386 2000-01-07  Matt Austern  <austern@sgi.com>
16387
16388         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
16389         expon.
16390
16391 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
16392
16393         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
16394         crtstuff.c.
16395         (crtbegin.o, s-crtS): Likewise.
16396
16397 2000-01-06  Richard Henderson  <rth@cygnus.com>
16398
16399         * alpha.md (adddi_2+1): Limit offset such that it will be
16400         loadable with a single ldah+lda pair.
16401         (adddi_2+2): Explicitly fail split if we can't make it work.
16402
16403 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
16404
16405         * protoize.c: Conditionally include unistd.h.
16406         (IS_SAME_PATH_CHAR): New macro.
16407         (IS_SAME_PATH): New macro.
16408         (CPLUS_FILE_SUFFIX): New macro.
16409         (cplus_suffix): New static variable.
16410         (is_abspath): New static function.
16411         (in_system_include_dir): Handle DOS style pathnames.
16412         (file_could_be_converted): Likewise.
16413         (file_normally_convertible): Likewise.
16414         (directory_specified_p): Likewise.
16415         (file_excluded_p): Likewise.
16416         (abspath): Likewise.
16417         (shortpath): Likewise.
16418         (referenced_file_is_newer): Likewise.
16419         (save_def_or_dec): Likewise.
16420         (do_processing): Likewise.
16421         (main): Likewise.
16422         (edit_file): Likewise. Use rename instead of link.
16423         (rename_c_file): Likewise. Don't rename syscalls file.
16424         (munge_compile_params): Define null device for DOS based systems.
16425         (process_aux_info_file): Use binary mode if appliable.
16426         (edit_file): Likewise.
16427         * invoke.texi (Running Protoize): Document C++ suffixes used.
16428
16429         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
16430         IS_DIR_SEPARATOR macros.
16431         * collect2.c: Likewise.
16432         * cppinit.c: Likewise.
16433         * dwarf2out.c: Likewise.
16434         * gcc.c: Likewise.
16435         * gcov.c: Likewise.
16436         * prefix.c: Likewise.
16437         * rtl.c: Likewise.
16438         * toplev.c: Likewise.
16439         * system.h: And move to here.
16440
16441         * prefix.c (update_path): Fix typo in variable name.
16442
16443 2000-01-06  Richard Henderson  <rth@cygnus.com>
16444
16445         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
16446         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
16447         (count_reg_sets_1, count_reg_references): Likewise.
16448         (flow_loops_level_compute): Start counting actual loop depth at 1.
16449         (flow_loops_find): Likewise.
16450         * local-alloc.c (update_equiv_regs): Likewise.
16451         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
16452
16453 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
16454
16455         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
16456         FIRST_PSEUDO_REGISTER
16457         * dwarf2out.c: Don't include frame.h
16458         * dwarfout.c: Likewise
16459         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
16460         frame.h
16461
16462 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
16463
16464         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
16465         dead registers.
16466
16467         * i386.c (movsf splitter): Fix typo in my last checkin.
16468
16469 2000-01-05  Nick Clifton  <nickc@cygnus.com>
16470
16471         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
16472         own definition of this macro.
16473         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
16474         flag_data_sections or UNIQUE_SECTION_P are true.
16475
16476         * tm.texi (UNIQUE_SECTION): Document that it can be called for
16477         unitialised data decls.
16478
16479         * config/i386/winnt.c (i386_pe_unique_section): Cope with
16480         being called for uninitialised data.
16481
16482         * config/i386/interix.c (i386_pe_unique_section): Cope with
16483         being called for uninitialised data.
16484
16485         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
16486         for uninitialised data.
16487
16488         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
16489         for uninitialised data.
16490
16491         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
16492         for uninitialised data.
16493
16494         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
16495         (UNIQUE_SECTION_P): Always generate a unique section if
16496         flag_data_sections is true.
16497         (UNIQUE_SECTION): Also generate unique sections for
16498         uninitialised data.
16499         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
16500         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
16501         named_section().
16502
16503 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16504
16505         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
16506         SI, or DI.
16507
16508 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16509
16510         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
16511         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
16512         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
16513         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
16514         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
16515
16516         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
16517
16518 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
16519
16520         * c-decl.c (finish_enum): Simplify code to determine minimum and
16521         maximum values of the enum, and calculate the type.  Remove check
16522         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
16523         the DECL_INITIAL of each enumeration constant with a copy converted
16524         to the enumeration type.  When updating variant types, don't bother
16525         updating the type itself.
16526
16527         * c-typeck.c (build_binary_op): Simplify conditional expressions
16528         when weeding out spurious signed-unsigned warnings.  Add new
16529         spurious warning category: if the unsigned quantity is an enum
16530         and its maximum value fits in signed_type(result_type).  Update
16531         commentary.
16532         (build_conditional_expr): Warn here if one alternative is signed
16533         and the other is unsigned.
16534
16535 2000-01-05  Nick Clifton  <nickc@cygnus.com>
16536
16537         * config/fr30/fr30.h: Remove extraneous comments.
16538
16539 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
16540
16541         * reload1.c (choose_reload_regs): When disabling a reload, also
16542         set reload_spill_index to -1.
16543
16544 2000-01-04  Joel Sherrill (joel@OARcorp.com>
16545
16546         * configure.in (m68*-*-rtemscoff*): New target, formal name for
16547         old m68*-*-rtems*.
16548         (m68*-*-rtemself*): New target.
16549         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
16550         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
16551         (sparc*-*-rtemself*): New target.
16552         (sparc*-*-rtems*): Now elf not a.out.
16553         * config/i386/rtems.h: Include config/rtems.h.
16554         * config/i386/rtemself.h: Include config/rtems.h.
16555         * config/i960/rtems.h: Include config/rtems.h.
16556         * config/m68k/rtems.h: Include config/rtems.h.
16557         * config/m68k/rtemself.h: Include config/rtems.h.
16558         * config/mips/rtems64.h: Include config/rtems.h.
16559         * config/pa/rtems.h: Include config/rtems.h.
16560         * config/rs6000/rtems.h: Include config/rtems.h.
16561         * config/sh/rtems.h: Include config/rtems.h.
16562         * config/sh/rtemself.h: Include config/rtems.h.
16563         * config/sparc/rtems.h: Include config/rtems.h.
16564         * config/sparc/rtemself.h: Include config/rtems.h
16565
16566 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
16567
16568         * final.c (shorten_branches): Correctly compute length of
16569         asms without operands.
16570
16571 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
16572
16573         * configure.in: Add pj target.
16574         * configure: Regenerate.
16575         * config/pj: New directory.
16576         * config/pj/lib1funcs.S: New file.
16577         * config/pj/linux.h: New file.
16578         * config/pj/pj.c: New file.
16579         * config/pj/pj.md: New file.
16580         * config/pj/pjl.h: New file.
16581         * config/pj/t-pj: New file.
16582         * config/pj/xm-pj.h: New file
16583
16584 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
16585
16586         * toplev.c (rest_of_compilation): Run shorten-branches before
16587         reg-stack for now.
16588
16589 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16590
16591         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
16592         macros so that they're consistent with their names.
16593         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
16594         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
16595
16596 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16597
16598         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
16599         modified inadvertently.
16600
16601 2000-01-04  Joel Sherrill <joel@OARcorp.com>
16602
16603         * configure.in (v850*-*-rtems*): New target.
16604         * configure: Regenerate.
16605         * config/v850/rtems.h: New file.
16606
16607 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
16608
16609         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
16610         (__gthread_key_create): Likewise.
16611         (__gthread_key_dtor):  Likewise.
16612         (__gthread_once): Fix logic.
16613         (__gthread_key_delete): Cast away constness.
16614
16615         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
16616         * invoke.texi: Document.
16617         * i386/mingw32.h (CPP_SPEC): Use.
16618         (LIBGCC_SPEC): Likewise.
16619         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
16620
16621 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
16622
16623         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
16624         (HANDLE_PRAGMA_PACK): Undefine.
16625         (SLOW_UNALIGNED_ACCESS): Define.
16626
16627 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
16628
16629         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
16630         to default definition.
16631         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
16632         (store_fixed_bit_field): Call macro with word_mode and alignment.
16633         (extract_bit_field): Call macro with relevant mode and alignment.
16634         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
16635         to default definition.
16636         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
16637         and alignment.
16638         (move_by_pieces_ninsns): Likewise.
16639         (clear_by_pieces): Likewise.
16640         (emit_push_insn): Likewise.
16641         (store_field): Call macro with relevant mode and alignment.
16642         (expand_expr): Likewise.
16643         (expand_expr_unaligned): Likewise.
16644
16645         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
16646         (SLOW_UNALIGNED_ACCESS): Define.
16647         (CASE_VECTOR_MODE): Always use 32-bit offsets.
16648         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
16649         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
16650         (toc_section): Likewise and .toc pseudo-op.
16651         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
16652         64-bit mode.
16653         (TEXT_SECTION_ASM_OP): Likewise.
16654         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
16655         32-bit offsets.
16656
16657         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
16658         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
16659         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
16660         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
16661         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
16662
16663 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
16664
16665         * regclass.c: Revert my Jan 4 change to loop cost computation.
16666
16667 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
16668
16669         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
16670         compilation.
16671
16672 2000-01-04  Stan Cox  <scox@cygnus.com>
16673
16674         * haifa-sched.c (build_control_flow): Change unreachable simple
16675         loop test to check if current block has only one predecessor.
16676         (find_rgns): Initialize degree.  Use dest as degree index, not src.
16677
16678 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16679
16680         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
16681
16682         * calls.c (expand_call): Likewise for
16683         `old_stack_arg_under_construction'.
16684
16685         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
16686
16687         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
16688         `save_constant'.
16689
16690         * gcc.c (execute): Likewise for `ut' and `st'.
16691
16692         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
16693
16694         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
16695
16696         * jump.c (jump_optimize_1): Likewise for `temp2'.
16697
16698         * local-alloc.c (block_alloc): Likewise for `r1'.
16699
16700         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
16701
16702         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
16703         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
16704
16705         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
16706         and `set2'.
16707
16708         * reload.c (find_reloads): Likewise for `goal_alternative_number'
16709         and `goal_earlyclobber'.
16710
16711         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
16712
16713         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
16714
16715         * stupid.c (stupid_life_analysis): Likewise for `chain'.
16716
16717         * unroll.c (copy_loop_body): Likewise for `copy'.
16718
16719         * varasm.c (output_constructor): Likewise for `byte'.
16720
16721 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
16722
16723         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
16724         all FP constants for constant->reg moves.
16725         (ix86_split_to_parts): Try to convert memory address into immediate
16726         when available in the constant pool.
16727         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
16728         moves.
16729         (LEGITIMATE_CONSTANT_P): Return 1.
16730         * i386.md (pushsf): New splitter to convert constant pool memory
16731         reference to immediate.
16732         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
16733         reload.
16734
16735 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
16736
16737         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
16738         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
16739         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
16740         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
16741         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
16742
16743 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
16744
16745         * ginclude/stdbool.h:  Support compilation as C++.
16746
16747 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
16748
16749         * fold-const.c (make_range): Don't try to reverse an unbounded range.
16750
16751 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
16752
16753         * regclass.c (regclass): Properly compute loop_cost.  Adjust
16754         comments.
16755
16756         * regclass.c: Fix minor whitespace problems.
16757
16758 2000-01-03  Anthony Green  <green@cygnus.com>
16759
16760         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
16761         Restore the pic register if required.
16762
16763 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
16764
16765         * c-common.c (format_char_info): Update comment.
16766         (check_format_info): Recognize 'z' modifier in the same way 'Z'
16767         was recognized.  Emit warning for formats new in ISO C99 only
16768         if flag_isoc9x is not set.
16769
16770 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
16771
16772         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
16773
16774 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
16775
16776         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
16777         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
16778         (make_compound_operation): Choose cheaper alternative between
16779         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
16780
16781         * regclass.c (op_costs): Remove global variable.
16782         (record_reg_classes): New parameter "op_costs" and "reg_pref".
16783         (record_operand_costs): Break out from ...
16784         (scan_one_insn): ... here.
16785         (dump_regclass): Make dumps nicer.
16786         (regclass): Dump preferrences choosed and changes done during passes.
16787
16788 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
16789
16790         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
16791
16792 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
16793
16794         * config/sparc/sparc.c (gen_df_reg): New function.
16795         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
16796         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
16797         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
16798         movtf_cc_reg_sp64+1): Use it.
16799
16800 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
16801
16802         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
16803         copied LABEL_DECLs.
16804
16805 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
16806
16807         * config/i386/i386.c (ix86_expand_unary_operator): Function
16808         definition made void.
16809         (ix86_expand_binary_operator): Update outdated preceding comment.
16810         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
16811         prototype.
16812
16813         * config/i386/i386.c (override_options): Fix option-name typo.
16814
16815 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
16816
16817         * system.h (CEIL): Define.
16818         * builtins.c (CEIL): Remove.
16819         * expmed.c (CEIL): Likewise.
16820         * expr.c (CEIL): Likewise.
16821         * stor-layout.c (CEIL): Likewise.
16822
16823 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16824
16825         * expr.c (store_constructor_field): Fix typo introduced with last
16826         gcc2 merge.
16827
16828 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
16829
16830         * tree.h (BINFO_N_BASETYPES): New macro.
16831
16832 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
16833
16834         * expmed.c (emit_store_flag): Prevent losing a pending stack
16835         adjust the same way we prevent losing queued increments.
16836
16837 See ChangeLog.2 for earlier changes.