Fix bug building libgcc:
[official-gcc.git] / gcc / ChangeLog
bloba8443a85be1daccad077c1ee05ee581120ea90c9
1 2000-04-24  Nick Clifton  <nickc@cygnus.com>
3         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
4         the source register is the frame pointer or arg pointer.
5         (addsi3_small_int): Disallow if source register is the frame
6         pointer or arg pointer.
8 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
11         call to AC_MSG_RESULT.
13 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15         * invoke.texi: Correct grammatical errors, document
16         -fno-gnu-keywords as identical to -fno-asm for C++.
18 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
21         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
22         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
23         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
24         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
26         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
27         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
28         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
29         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
30         new macros names.
32 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
34         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro. 
35         (pop_alignment): Likewise.
36         (handle_pragma_token): Likewise.
38 2000-04-24  Robert Lipe <robertlipe@usa.net>
40         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
42 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
44         * combine.c (try_combine): Update reg_nonzero_bits of
45         newi2pat before newpat.
47 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
49         * loop.c (strength_reduce): Simplify test to INSN_P.
50         (record_giv): Attempt to simplify the add value, use CONSTANT_P
51         expressions instead of CONST_INT.
52         (express_from_1): Likewise.
54 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
56         * regs.h (reg_n_max): Don't declare.
57         * flow.c (reg_n_max): Don't define.
58         * regclass.c (renumber): Don't initialize to zero.
59         (regno_allocated): Likewise.
60         (reg_n_max): Define.
61         (allocate_reg_info): Don't initialize unnecessarily.
62         
63 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
65         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
66         and blockage_p in the newly allocated attribute.
68 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
70         * config/mn10300/mn10300.md (addsi): `inc4' on address
71         registers does not modify cc, but `inc' on an extended
72         register does.
74 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
76         * reload.c (find_equiv_reg): Checks all valueno regs
77         as a reload_reg_p regs.
79 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
81         * cpphash.c (collect_objlike_expansion): Add sanity check.
82         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
83         the buffer is the empty string, return.  Mark __DATE__ and
84         __TIME__ as XCONST nodes, not MCONST.
85         (_cpp_macroexpand): Avoid pushing an empty buffer.
86         (funlike_macroexpand): Don't pop token_buffer here.
88 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
90         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
91         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
92         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
93         (REGNO_OK_FOR_BASE_P): Define in terms of them.
94         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
95         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
96         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
98 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
100         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
101         constant MULT givs.
103 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
105         * cpphash.h (struct definition): Move file, line, col members...
106         (struct hashnode): ... here.  Also add 'disabled' flag.
107         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
108         T_IDENTITY.  Remove T_DISABLED.               
109         Update prototypes.
111         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.     
112         (collect_expansion): Split into collect_objlike_expansion and
113         collect_funlike_expansion.                                 
114         (_cpp_macroexpand): Split out scan_arguments, stringify, and
115         funlike_macroexpand.
116         (_cpp_compare_defs): Rename compare_defs, make static.
117         (_cpp_make_hashnode): Initialize hp->disabled.  
118         (macro_cleanup): Adjust for new token types.  Clear
119         m->disabled.
120         (_cpp_create_definition): Move code here to determine what     
121         sort of macro it is, and code to check for redefinitions, from
122         do_define.  Implement a few simple cases without creating a   
123         full DEFINITION.
124         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
125         Handle the simple cases.                                 
126         (push_macro_expansion): Set buf->has_escapes and hp->disabled
127         here.
129         * cppinit.c (builtin_array): Change MCONST to XCONST
130         everywhere.
131         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
132         fix check for disabled and function-like macros.
133         * cpplib.c (do_define): Move most logic to
134         _cpp_create_definition.
135         (do_undef): Handle new special token types.
137 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
139         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
140         of CONSTANT_P for mult_val; always use validate_change to update insn.
142 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
144         * cpphash.c (trad_stringify, add_pat): New functions.
145         (collect_expansion): Restore support for -traditional syntax.
146         Use trad_stringify and add_pat.
147         (_cpp_macroexpand): Restore support for -traditional semantics.
148         * cpplex.c (_cpp_scan_line): Don't change space_before if we
149         get a COMMENT token.
150         (_cpp_lex_token): Provide COMMENT tokens to caller if
151         traditional and parsing_define_directive.
152         (skip_comment): Warn about // comments if -Wtraditional.
153         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
154         proper node type.
155         (do_undef): Don't warn about undefining EMPTY nodes.
157 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
159         * loop.c (strength_reduce): Fix biv removal code.
161 2000-04-22  Richard Henderson  <rth@cygnus.com>
163         * predict.c (estimate_probability): Examine both sides of
164         a branch for no exits.  Use 90% not 50% for predict taken.
165         Reorg for one copy of note generation code.
167 2000-04-22  Richard Henderson  <rth@cygnus.com>
169         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
171 2000-04-22  Richard Henderson  <rth@cygnus.com>
173         * diagnostic.c (init_output_buffer): Don't initialize format_args.
174         (output_clear): Likewise.
175         (output_printf): Use va_copy.
176         (vline_wrapper_message_with_location): Likewise.
177         (v_message_with_decl): Likewise.
178         (line_wrapper_printf): VA_START infor buffer.format_args directly.
179         * system.h (va_copy): Provide default implementation.
181 2000-04-22  Richard Henderson  <rth@cygnus.com>
183         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
184         the collected condition is not a constant.
186 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
188         * diagnostic.h: New file.
190         * Makefile.in (diagnostic.o): Depends on diagnostic.h
192         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
193         various function prototypes.
194         (diagnostic.h): #include.
195         (struct output_buffer): Move into diagnostic.h.
196         (get_output_prefix): Rename to output_get_prefix.  Export.
197         (init_output_buffer): Export. Break out.  Ajust intialization.
198         (output_space_left, output_append): Export.
199         (output_newline): Rename to output_add_newline.  Export.
200         (output_clear): Nullify additional output_buffer fields.
201         (output_puts): Rename to output_add_string.  Export.
202         (dump_output): Rename to output_flush_on.  Export.
203         (build_location_prefix): Constify return-type.
204         (emit_output_prefix): Rename to output_emit_prefix. Export.
205         (set_real_maximum_length): New function.
206         (output_set_maximum_length): Ditto
207         (output_clear): Ditto.
208         (output_add_character): Ditto.
209         (output_add_integer): Ditto.
210         (output_add_space): Ditto.
211         (output_format): Ditto.
212         (output_printf): Adjust buffer initialization.
213         (vline_wrapper_message_with_location): Ditto.
214         (v_message_with_decl): Ditto.  Adjust call to output_puts
215         and get_output_prefix.
216         (default_print_error_function): Adjust buffer intialization.
218 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
220         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
221         of VOID_TYPE.
223 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
225         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
226         of explicit 0.
228 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
230         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
231         accurate data about SP moves.
233 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
235         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
236         aliases to AM33 registers.
238 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
240         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
241         to all EXTENDED bitmaps.
243 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
245         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
246         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
247         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
249 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
251         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
252         the operand is not constant.
254 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
256         * reload.c (find_equiv_reg): Checks all valueno and regno regs
257         as a call-clobbered regs.
259 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
261         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
262         * rtl.h: Likewise.
263         * rtl.def: Update comment.
264         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
265         * integrate.c (expand_inline_function): Likewise.
266         * profile.c (branch_prob): Likewise.
267         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
268         * print-rtl.c (print_rtx): Likewise.
269         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
270         (reemit_notes): Likewise; also use enum insn_note.
272         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
273         (place_field): Properly compute know and actual alignment.
275         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
276         in proper format.
278         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
279         note for REG1.
281 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
283         * cpphash.c (struct arg, struct arglist): Const-ify strings.
284         (warn_trad_stringify, duplicate_arg_p): New helper functions.
285         (collect_expansion): Rewrite to scan over a token list.
286         Remove -traditional support.
287         (collect_formal_parameters): Rename to collect_params; rewrite
288         to scan over a token list.
289         (_cpp_create_definition): Adjust to scan a token list.
290         (_cpp_macroexpand): Remove -traditional support.
291         (_cpp_compare_defs): Whitespace is now canonicalized.
292         (comp_def_part): Delete function.
294         * cpphash.h: Update prototypes.
295         * cpplex.c (init_token_list): Don't set lineno if there is no
296         buffer.
297         (pedantic_whitespace): New function.
298         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
299         consume a newline.  Use pedantic_whitespace.
300         (_cpp_lex_token): Remove support for -traditional macros.
301         (_cpp_get_define_token): Delete.
302         (_cpp_get_directive_token): Do the real work here.  Use
303         pedantic_whitespace.
304         (_cpp_init_input_buffer): Initialize pfile->directbuf.
306         * cpplib.c (get_macro_name): Delete.
307         (do_define): Read the entire line into pfile->directbuf, then
308         feed the token list to _cpp_create_definition.
309         * cpplib.h (HSPACE_BEFORE): new define.
310         (struct cpp_reader): Add a toklist member, "directbuf".
312         * predict.c (estimate_probability): New heuristic: if a jump
313         branches around a block with no successors, predict it taken.
314         Disentangle control flow.
316 2000-04-20  Richard Henderson  <rth@cygnus.com>
318         * loop.c (emit_iv_add_mult): Revert last change.
320 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
322         * cpplib.h (enum cpp_ttype): Add token types for all
323         punctuators.  Distinguish pp-numbers from valid C numbers.
324         Give some tokens better names.  Initialize from macro.    
325         (struct cpp_name, cpp_token, cpp_toklist): New data   
326         structures.
327         Update prototypes.
328         * cpplex.c (bump_column, expand_name_space,
329         expand_token_space, init_token_list, cpp_output_list,
330         _cpp_scan_line):  New functions.
331         (output_line_command): Add third argument, new line number.
332         * cpphash.h: Update prototypes.
333         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
334         token names.
336 2000-04-20  Richard Henderson  <rth@cygnus.com>
338         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
340 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
342         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
343         object pointed to.
345 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
347         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
348         REG_EQUAL note explaining the calculated value.
350         * calls.c (expand_call): Avoid unnecesary precalculation
351         and outgoing parameters space guarding for sibling calls.
352         (store_one_arg): Likewise.
354 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
356         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
357         (rest_of_compilation): Write sibling dump file and account
358         for time as jump time.
359         * invoke.texi: Update documentation on dump flags.
361 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
363         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
365 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
367         * cpphash.c (special_symbol): Represent an empty macro with
368         "\r \r " not just "\r ".
369         (_cpp_macroexpand): Correct condition for the foo ( ) special
370         case.
371         (unsafe_chars): Handle EOF as second argument.
372         (push_macro_expansion): Simplify test for removing escape at
373         end.  Do not trim both escapes if there is no text in between.
375 2000-04-19  Jim Blandy  <jimb@redhat.com>
377         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
378         of PTR_SIZE, when appropriate.
380 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
382         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
383         (USE_ENUM_BITFIELDS): Fix typo.
385 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
387         * stor-layout.c (place_field): Set rli->offset_align properly.
389 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
391         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
392         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
393         PARM_BOUNDARY): Remove unnecessary casts.
395 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
397         * calls.c (precompute_arguments): Remove must_preallocate and
398         args_size calls.
399         (expand_call): Update call of precompute_arguments.
401         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
402         check_insn_for_givs): Break out from ...
403         (strength_reduce) ... here; use for_every_insn_in_loop to call
404         check_insn_for_givs.
405         * loop.h (for_every_insn_in_loop): Declare.
406         (loop_insn_callback): New type.
408 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
410         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
411         not nul-terminated.
413 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
415         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
416         flag_pic and RELOC.
418 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
420         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
422         * configure.in: Delete --disable-cpplib option and all
423         references to cpp_main.
424         * configure: Regenerate.
425         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
426         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
427         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
428         cpp$(exeext).  Add --no-headers to makeinfo command line when
429         generating INSTALL.  Install and uninstall cpp.1 manpage, not
430         cccp.1.
431         * install.texi: Delete all references to cexp.y/cexp.c.
432         Delete ancient instructions for compiling GCC on 3b1.
433         * INSTALL: Regenerate.
435         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
436         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
437         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
438         cexp.c/cexp.y.
439         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
440         which is no longer tested anywhere.
441         
442         * cppinit.c (handle_option): Don't run error message through
443         gettext twice.
445 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
447         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
448         * cpperror.c (hashtab.h): Now include.
449         * cppexp.c (hashtab.h): Likewise.
450         * cpplex.c (hashtab.h): Likewise.
451         * cppfiles.c (hashtab.h): Likewise.
452         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
453         to htab_find_slot_with_hash.
454         * cpphash.c (hashtab.h): Now include.
455         (_cpp_lookup_slot): INSERT is now enum insert_option.
456         * cpphash.h (_cpp_lookup_slot): Likewise.
457         * cppinit.c (hashtab.h): Include earlier.
458         (initialize_builtins): Pass enum to htab_find_slot.
459         * cpplib.c (hashtab.h): Now include.
460         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
461         (do_pragma_poison, do_assert): Likewise.
462         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
463         htab_find_slot_with_hash.
464         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
465         * tree.c (type_hash_add): Likewise.
466         (build1): Minor cleanup.
468         * ggc-common.c: Add missing blanks.
469         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
470         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
472         * stmt.c (mark_case_node): New function.
473         (mark_case_nesting): Call it.
475         * expmed.c (emit_store_flag): If comparing two-word integer
476         with zero, can optimize NE, EQ, GE, and LT.
478         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
479         * conflict.c: Minor cleanups.
480         * optabs.c: Add blank line
481         * simplify-rtx.c: Minor cleanups.
483 2000-04-18  Stan Cox  <scox@cygnus.com>
485         * gengenrtl.c (genlegend): Fix misspelling.
487 2000-04-18  Robert Lipe  <robertlipe@usa.net>
489         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
490         bitfields of the host compiler are not signed quantities.
491         * config.in: Regenerate.
492         * configure: Regenerate.
493         * system.h (USE_ENUM_BITFIELDS): Added.
494         (ENUM_BITFIELDS): Added.
495         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
496         (SHORT_ENUM_BUG): Deleted.
497         * tree.h (tree_common): Members `code', `mode', `built_in_class', 
498         now ENUM_BITFIELD.
499         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
500         (CODE_FIELD_BUG): Likewise.
501         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
502         (OLD_CC): Likewise.
503         * config/m68k/x-ccur (X_CFLAGS): Likewise.
505 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
507         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
508         mark is active.
510 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
512         * cppexp.c (lex): Don't assume tokens are NUL terminated.
513         * cpplib.c (do_include, do_import, do_include_next,
514         read_line_number, detect_if_not_defined): Likewise.
515         * cpphash.c (collect_expansion): Likewise.
516         (special_symbol, _cpp_macroexpand): Check return from
517         cpp_file_buffer.
518         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
519         macros.  Delete all uses.
521         * gcc.dg/cpp-mi.c: Add two more test cases.
522         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
524 2000-04-17  Richard Henderson  <rth@cygnus.com>
526         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
527         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
529 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
531         * function.c (expand_function_start): Use hard_function_value to
532         compute the RTL to use for DECL_RESULT.
534 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
536         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
537         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
538          x86_memory_mismatch_stall): New global variables.
539         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
540         alloved; fix load penalties for Athlon.
541         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
542         x86_memory_mismatch_stall): Declare.
543         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
544          TARGET_MEMORY_MISMATCH_STALL): New.
545         * i386.md (athlon scheduling parameters): Fix latencies according to
546         Athlon Optimization Manual.
547         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
548         vector.
549         (fsqrt instruction patterns): Set athlon_decode to direct.
550         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
551         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
552         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
553         and TARGET_PARTIAL_REGISTER_STALL machines.
554         (pushdf_nointeger): New pattern.
555         (pushdf_integer): Rename from pushdf.
556         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
557         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
559 2000-04-17  Richard Henderson  <rth@cygnus.com>
561         * loop.c (canonicalize_condition): Add WANT_REG argument.
562         Stop the search if we match it.
563         * expr.h (canonicalize_condition): Update decl.
564         * predict.c (expected_value_to_br_prob): Use it.  Track last
565         expected value note.
566         (find_expected_value): Remove.
568         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
570 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
572         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
573         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
574         a plain file.
575         * configure.in: Call AC_FUNC_MMAP_FILE.
576         * configure: Regenerate.
577         * config.in: Regenerate.
579         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
580         * fixinc/fixincl.c: Likewise.
582 2000-04-17  Richard Henderson  <rth@cygnus.com>
584         * builtins.c (expand_builtin_expect): New.
585         (expand_builtin): Call it.
586         * builtins.def (BUILT_IN_EXPECT): New.
587         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
588         * extend.texi: Document it.
590         * predict.c (expected_value_to_br_prob): New.
591         (find_expected_value): New.
592         * basic-block.h (expected_value_to_br_prob): Declare.
593         * toplev.c (rest_of_compilation): Invoke it.
595         * rtl.h (NOTE_EXPECTED_VALUE): New.
596         (NOTE_INSN_EXPECTED_VALUE): New.
597         * rtl.c (note_insn_name): Update.
598         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
599         cases; handle NOTE_INSN_EXPECTED_VALUE.
601 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
603         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
604         leaf sibcall delay slot if flag_pic.
605         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
607 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
609         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
611         * fixproto: If fix-header fails, exit with an error.
613 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
615         * cse.c (struct check_depdendence_data): New.
616         (check_dependence): New function.
617         (invalidate): Use check_depdenence.
619 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
621         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
622         UNITS_PER_WORD is unsigned.
624         * tree.h (struct tree_common): Remove misleading comment.
626 2000-04-16  Dave Pitts  <dpitts@cozx.com>
628         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
629         message in quotes. Otherwise, IBM's make program treats the '#' as the
630         start of a comment and ignores the remainder of the line.
632         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
633         upper case.
634         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
635         * cexp.y (initialize_random_junk): Likewise.
636         * cppfiles.c (find_include_file): Cast alloca return value.
637         * cppinit.c (initialize_standard_includes): Likewise.
638         * cpplib.c (cpp_define, cpp_undef): Likewise.
639         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
640         * final.c (output_asm_insn): Allow for holes in EBCDIC.
641         * fold-const.c (CHARMASK): New.
642         (real_hex_to_f): Use it.
643         * real.c (CHARMASK): New.
644         (etoasc, asctoeg): Use it.
645         (asctoeg): EBCDIC lower case characters preceed upper case.
647         * i370.c (mvs_add_label): Change spacing for coding conventions.
648         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
649         outputing case vectors.
650         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
651         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
652         since vector in in the data CSECT.
653         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
654         * i370.md (Many patterns): Put the length in the XL directives.
655         (movdi): Put back STM and MVC in definition.
656         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
657         pattern using the TCA.
658         * oe.h (CPP_SPEC): Added to allow trigraphs.
659         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
660         not support the "long long" type.
662 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
664         * config/mips/mips-protos.h (mips_legitimate_address_p): New
665         function.
666         (mips_reg_mode_ok_for_base_p): Likewise.
667         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
668         (REG_OK_FOR_INDEX_P): Define unconditionally.
669         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
670         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
671         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
672         that GET_MODE_SIZE is unsigned.
673         (mips_reg_mode_ok_for_base_p): Define.
674         (mips_legitimate_address_p): Likewise.  Adjust now
675         that GET_MODE_SIZE is unsigned.
676         (block_move_loop): Make the number of bytes unsigned.
677         (expand_block_move): Likewise.
678         (function_arg): Make the loop counter unsigned to match the
679         boundary condition.
681 2000-04-16  Richard Henderson  <rth@cygnus.com>
683         * rtl.h (enum insn_note): New enumeration.  Subsume
684         NOTE_INSN_DELETED and friends.
685         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
686         * rtl.c (note_insn_name): Tweak string order.
688 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
690         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
691         to offset * 2.
693         * cpplex.c (output_line_command): Remove debugging prints.
694         (cpp_output_tokens): Don't write out a zero-length buffer or
695         try to see if it has a newline in it.
696         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
697         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
698         the end of the loop.  Use memmove.  Don't read past the end of
699         the buffer.  Remove trailing newlines from error messages.
701 2004-04-16  Neil Booth  <NeilB@earthling.net>
703         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
704         * cpplib.c: Add new syntax flags to directive table, and
705         supporting macros.
707 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
709         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
710         using ret $N.
712 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
714         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
715         * haifa-sched.c: Update -fsched-verbose comments to use "=".
717 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
719         * Makefile.in (ggc-page.o): Now includes toplev.h.
720         * ggc-page.c (toplev.h): Now included.
721         (gc_time): Remove declaration.
722         (ggc_collect): TIME now long.
723         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
724         others static.
725         * toplev.h (gc_time, parse_time, gc_time): New declarations.
727         * toplev.c: Make *_time variable long to reduce chance of overflow.
728         (TIMEVAR): Likewise for `otime'.
729         (print_time): Arg is now long; compute percentage in FP and round.
730         * toplev.h (print_time): Arg is long.
732         * tree.c: Minor whitespace changes.
734         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
735         * configure: Rebuilt.
736         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
737         (__fixunsxfDI): Renamed from __fixunsxfdi.
738         (__fixunsdfDI): Renamed from __fixunsdfdi.
739         (__fixunssfDI): Renamed from __fixunssfdi.
740         (__floatdisf): Use proper type in REP_BIT macro.
741         (__fixunsxfSI): Renamed from __fixunsxfsi.
742         (__fixunsdfSI): Renamed from __fixunsdfsi.
743         (__fixunssfSI): Renamed from __fixunssfsi.
744         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
745         Change location of macros and upper-case some names as above.
746         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
747         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
749         * varasm.c (assemble_variable): Add cast to remove warning.
750         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
752         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
753         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
754         region number to -1.
756 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
758         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
759         call unshare_all_rtl.
761         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
763 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
765         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
766         Use .s1 not .s0 for all FP instructions.
768 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
770         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
771         interfaces.
772         (safe_fwrite, output_line_command): New static functions.
773         (cpp_expand_to_buffer): Now private to cpplib.
774         (cpp_scan_buffer): Take a printer.
776         * cpphash.h: Update prototypes.
777         * cpplib.h: Update prototypes.
778         (cpp_printer): New.
779         (cpp_buffer): Remove last_nominal_fname.
780         (cpp_reader): Remove lineno.
782         * cppmain.c: Use a cpp_printer.
783         * fix-header.c: No need to inhibit line commands.  Call
784         cpp_start_read with no printer.
786         * cpperror.c (cpp_notice_from_errno): Provide default name.
787         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
788         (find_include_file, cpp_read_file): Use make_IHASH.
789         (file_cleanup): Set control_macro and clear
790         input_stack_listing_current here.
791         (_cpp_execute_include): Don't output entering-file marker.
792         * cpphash.c (special_symbol): Look for the line number in the
793         buffer, not the reader.
794         (_cpp_macroexpand): No need to disable line commands.
795         (_cpp_dump_definition): No need to generate line commands.
796         (dump_hash_helper): Remove excess newline from output.
797         * cppinit.c (dump_special_to_buffer): No need to generate line
798         commands.
799         (cpp_printer_init): New.
800         (cpp_start_read): Take a printer, and start it up if it's not
801         NULL.  No need to generate line commands.
802         (cpp_finish): Expect no buffers stacked at all.  Take a
803         printer argument, and flush the output buffer if it's not
804         NULL.
805         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
806         Don't put two hashes at the beginning of an assertion.
807         (cpp_get_token): Don't increment pfile->lineno or emit line
808         commands here.  Return EOF if there's no buffer when we get
809         EOF.
810         * cpplib.c (do_define, skip_if_group): 
811         No need to disable line commands.
812         (_cpp_output_line_command): Delete function.
813         (do_line): Don't emit line commands here, but set things up so
814         they will be emitted if necessary.  Use _cpp_fake_ihash to
815         make unique nominal_fnames if necessary.
816         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
817         with 0 for column, not -1.
818         (_cpp_handle_eof): Don't set the control macro here.  Don't
819         clear input_stack_listing_current here.  Don't emit line
820         commands.
822 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
824         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
825         always, use the default SVR4 start address.
827         * config/rs6000/linux.h (LINK_SPEC): Don't define.
828         (LINK_SHLIB_SPEC): Define.
829         (LINK_START_DEFAULT_SPEC): Define.
830         (LINK_OS_DEFAULT_SPEC): Define.
832         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
834         * config/rs6000/eabi.asm (__eabi): Call __init rather than 
835         __do_global_ctors to handle constructors.
836         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
837         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
838         (STARTFILE_MVME_SPEC): Likewise.
839         (STARTFILE_SIM_SPEC): Likewise.
840         (ENDFILE_ADS_SPEC): Use crtend.
841         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
842         (ENDFILE_MVME_SPEC): Likewise.
843         (ENDFILE_SIM_SPEC): Likewise.
844         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
845         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
846         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
847         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
848         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
849         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
850         (CRTSTUFF_T_CFLAGS_S): Define.
851         * config/rs6000/eabi-ctors.c: Delete.
852         
853         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
854         boundary.
855         (__fini): Likewise.
856         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
857         boundary.
858         (__fini): Likewise.
860 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
862         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
863         plus mask size is smaller or equal to the mode size.
865 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
867         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
868         not yet set.
870         * expr.c (reload.h): Now included.
871         (emit_block_move): Set volatile_ok when checking for movstr.
872         (emit_move_1): Check for replacements in addresses in multi-word case.
873         * Makefile.in (expr.o): Now includes reload.h.
875         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
876         Never have a LIBCALL end a basic block.
877         (find_basic_blocks_1): Likewise.
878         Reorganize CALL_INSN cases.
880         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
882 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
884         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
885         completers from mov.ret instruction.
887 2000-04-14  Richard Henderson  <rth@cygnus.com>
889         * fold-const.c (extract_muldiv): Don't distribute and widen
890         multiply across plus for non-sizetype unsigned types.
892 2000-04-14  Richard Henderson  <rth@cygnus.com>
894         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
895         If the original source is dead in the incr insn, it's dead now.
897 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
899         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
900         see if DECL_BIT_FIELD needs to still be set.
902         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
904         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
905         print_int_cst_octal with something that's not an INTEGER_CST.
907         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
908         and not a SUBREG to a FLOAT rtl.
910 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
912         * emit-rtl.c (try_split): Avoid infinite loop if the split
913         results in a sequence that contains the original insn.
915 2000-04-13  Andreas Jaeger  <aj@suse.de>
917         * config/mips/mips.c (expand_block_move): Pass alignment
918         argument to move_by_pieces in bits, not bytes.
920         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
921         __pic__ for little endian.
923 2000-04-13  Andreas Jaeger  <aj@suse.de>
925         * config/i386/i386-protos.h: Add prototype for
926         uno_comparison_operator.
928 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
930         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
931         * calls.c (ECF_PURE): New flag.
932         (emit_call_1): Handle ECF_PURE calls.
933         (initialize_argument_information): Unset ECF_PURE flag too.
934         (precompute_arguments): Precompute for ECF_PURE too.
935         (expand_call): Handle ECF_PURE calls too.
936         (emit_library_call_value_1): Rename no_queue argument to fn_type,
937         accept value of 2 as pure function.
938         (emit_library_call_value, emit_library_call): Rename no_queue argument
939         to fn_type.
940         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
942         * tree.h (DECL_IS_PURE): New macro.
943         (struct tree_decl): Add pure_flag.
944         * c-common.c (enum attrs): Add attribute "pure".
945         (init_attributes): Initialize attribute "pure"
946         (decl_attributes): Handle attribute "pure".
947         * extend.texi (Attribute "pure"): Document.
948         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
949         in pure function.
950         (flags_from_decl_or_type): Support attribute "pure".
952 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
954         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
955         the token except for numbers and identifiers.
957 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
959         * i386.c (ix86_expand_binary_operator,
960         ix86_expand_unary_operator): Check no_new_pseudos
961         instead of reload_in_progress and reload_completed.
962         (ix86_split_ashldi, ix86_split_ashrdi,
963         ix86_split_lshrdi): Check no_new_pseudos instead
964         of reload_completed.
966 2000-04-12  Jeffrey A Law  (law@cygnus.com)
968         * function.c (purge_addressof): Unshare any shared rtl created by
969         purge_addressof and its children.
971 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
973         * function.c (aggregate_value_p): VOID_TYPE nodes are never
974         aggregates.
976 2000-04-05  Andreas Jaeger  <aj@suse.de>
978         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
979         not compiling PIC code, add flags for mabi=64.
980         (SUBTARGET_CPP_SIZE_SPEC): New.
981         (SUBTARGET_CPP_SPEC): New.
982         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
983         for MIPS/Linux and lots of code needs these defines.
985 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
987         * reorg.c (fill_slots_from_thread): Check side_effects_p when
988         trying the "opposite arithmetic" approach.
990 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
992         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
993         (struct sh_args): Add new field force_mem.
994         (INIT_CUMULATIVE_ARGS): Initialize it.
995         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
997 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
999         * calls.c (expand_call): Do not reverse args in "equal from" field.
1000         (emit_library_call_value_1): Emit_libcall_block for const and pure
1001         function.
1003 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1005         * reload1.c (reload_combine): Don't enable optimization for fixed
1006         registers when encountering a BARRIER.
1008 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1010         * builtins.c (expand_builtin_memcmp): Do expansion even with
1011         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
1013         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
1014         stack is propertly aligned; add sanity checking for aligned
1015         stack pointer.
1016         (expand_library_call_value_1): Add sanity checking for aligned
1017         stack pointer.
1019 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
1021         * calls.c (emit_library_call_value_1): Change 3rd arg to
1022         locate_and_pad_parm to disregard the setting of partial.
1024 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1026         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
1028         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
1029         CALL_INSN from the normal case.
1031 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1033         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1034         New global variables.
1035         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
1036         adjustment.
1037         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
1038         Declare,
1039         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
1040          TARGET_ADD_ESP_8): New macros.
1041         * i386.md: Add peep2s to convert esp adjustments to push and pop
1042         instructions.
1043         (pushsi_prologue, popsi_epilogue): New patterns.
1045 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1047         * real.c (toe64): Remove stale #endif from the last change.
1049 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
1051         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
1052         * real.c (toe64): Revert previous change.
1054 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1056         * objc/objc-act.c: Include ggc.h.
1057         (objc_tree_index, objc_global_trees): Convert most of the
1058         static tree variables into a static array with previous names
1059         as defines.
1060         (objc_ellipsis_node): New variable.
1061         (lang_init): Call objc_act_parse_init and c_parse_init.
1062         Create objc_ellipsis_node.
1063         (build_selector_translation_table): Use objc_ellipsis_node instead
1064         of (tree)1.
1065         (hack_method_prototype): Likewise.
1066         (get_arg_type_list): Likewise.
1067         (start_method_def): Likewise.
1068         (continue_method_def): Likewise.
1069         (gen_method_decl): Likewise.
1070         (ggc_mark_imp_list): New function.
1071         (ggc_mark_hash_table): New function.
1072         (objc_act_parse_init): New function.
1073         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
1074         * c-parse.in (c_parse_init): For objc add roots of objc specific
1075         local tree variables.
1076         * objc/objc-parse.y: Rebuilt.
1077         * objc/objc-parse.c: Rebuilt.
1078         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
1080 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
1082         * cse.c (delete_trivially_dead_insns): Also delete insns
1083         that copy a register to itself where the destination is
1084         a strict_low_part.
1086 2000-04-11  Richard Henderson  <rth@cygnus.com>
1088         * flow.c (struct propagate_block_info): Add new_dead, new_live.
1089         (propagate_block): Initialize them.  Use them in parallel instead
1090         of one tmp variable, ie revert much of the 0408 and 0407 functional
1091         changes, but keep the structural changes.
1092         (mark_set_regs): Take new_dead from propagate_block_info instead.
1093         (mark_set_1, mark_set_reg): Likewise.
1094         (mark_used_regs): Likewise with new_live.
1095         (mark_used_reg): Likewise.  Revert 0408 change.
1097 2000-04-11  Nick Clifton  <nickc@cygnus.com>
1099         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
1100         restriction.
1101         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
1103 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1105         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
1106         const section to output a CONSTRUCTOR based on the same conditions
1107         used for VAR_DECLs.
1109 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
1111         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
1112         * pa/pa-protos.h (output_call): Add additional argument indicating
1113         if the call is a sibling/tail call.
1114         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
1115         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
1116         (function_arg, function_arg_partial_nregs): Likewise
1117         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
1118         (emit_move_sequence): Zero extend certain constants as needed
1119         for TARGET_64BIT.
1120         (compute_zdepdi_operands, output_64bit_and): New functions.
1121         (output_64bit_ior, function_arg): Likewise.
1122         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
1123         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
1124         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
1125         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
1126         (output_bvb): Likewise.
1127         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
1128         (output_call): New argument 'sibcall'.  Generate sibcall sequences
1129         as needed.
1130         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
1131         (ouput_arg_descriptor): Do not emit argument descriptors for
1132         TARGET_64BIT.
1133         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
1134         defined.
1135         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
1136         (FUNCTION_OK_FOR_SIBALL): Define.
1137         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
1138         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
1139         (CPP_SPEC): Use new spec infrastructure.
1140         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
1141         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
1142         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
1143         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
1144         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
1145         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
1146         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1147         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
1148         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
1149         (FUNCTION_ARG); Call out to C code.
1150         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
1151         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
1152         (MIN_UNITS_PER_WORD): Likewise.
1153         * pa/pa.md (cmpdi): New expander.
1154         (scc patterns, movstrsi): Not available for TARGET_64BIT.
1155         (64bit conditional arithmetic): New patterns.
1156         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
1157         (movsicc): Not available if modes on all the operands to not match.     
1158         (movdicc): New expander and associated patterns.
1159         (64bit branches): New patterns.
1160         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
1161         (pre_ldd, post_std): New patterns.
1162         (64bit addil, load low part): New patterns.
1163         (special movsf constant): Not available for TARGET_64BIT.
1164         (movsf, movdf expanders): Force constants into memory.
1165         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
1166         (64bit movdf/movdi patterns): New patterns.
1167         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
1168         for TARGET_64BIT.
1169         (extendqidi2, extendhidi2, extendsidi2): Similarly.
1170         (adddi3 expander): Allow "arith_operand" for second input.
1171         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
1172         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
1173         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
1174         (muldi3): New expander for TARGET_64BIT.
1175         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
1176         for TARGET_64BIT.
1177         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
1178         patterns for TARGET_64BIT.
1179         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
1180         patterns for TARGET_64BIT.
1181         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
1182         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
1183         (sibcall_epilogue): New expander.
1184         (casesi): Tweak for TARGET_64BIT.
1185         (call expanders): Set & use the outgoing argument pointer.  Use the
1186         64bit call patterns as needed. Add additional arg to output_call.
1187         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
1188         (sibcall, sibcall_internal_symref): New expanders.
1189         (sibcall_value, sibcall_value_internal_symref
1190         (interspace_jump): Turn into an expander + matching patterns.
1191         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
1192         * pa/pa64-regs.h: Eliminate trigraph sequences.
1193         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
1195 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
1197         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
1198         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
1199         cpp_token with cpp_ttype everywhere.
1200         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
1201         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
1202         CPP_BUF_COL.  Line and column numbers are unsigned int, not
1203         long.
1204         * cpplex.c (cpp_buf_line_and_col): Delete.
1205         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
1206         'long lineno' to 'unsigned int lineno'.
1207         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
1209 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1211         * extend.texi: ISO C99 is not a draft anymore.
1212         * invoke.texi: ISO C++ is not a draft anymore.
1213         * cpp.texi: __cplusplus is required by the ISO standard.
1215         * extend.texi (-fthis-is-variable): Undocument.
1216         * flags.h (warn_template_debugging): Remove declaration.
1217         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
1218         -Wenum-clash, -Wtemplate-debugging): Undocument.
1220 2000-04-10  Nick Clifton  <nickc@cygnus.com>
1222         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
1223         integer.
1224         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
1225         integer.
1226         (ARM_SIGN_EXTEND): Use HOST_UINT.
1227         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
1228         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
1229         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
1230         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
1232         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
1233         (arm_gen_constant): Use HOST_UINT.
1234         (arm_canonicalize_constant): Use HOST_UINT.
1235         (arm_reload_in_hi): Use HOST_UINT.
1236         (arm_reload_out_hi): Use HOST_UINT.
1237         (output_multi_immediate): Use HOST_UINT.
1238         (int_log2): Use HOST_UINT.
1239         (arm_poke_function_name): Use HOST_UINT.
1240         (arm_output_epilogue): Use arm_volatile_func().
1241         (output_thumb_prologue): Use arm_strip_name_encoding().
1242         
1243 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1245         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
1246         of sequence point problems.
1248 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
1250         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
1251         Recomment.
1252         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
1254 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1256         * sbitmap.h: Whitespace changes and use upper-case macro args.
1257         (struct simple_bitmap_def): All sizes now unsigned.
1258         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
1259         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
1260         (sbitmap_vector_alloc): Parms and local vars now unsigned.
1261         (sbitmap_zero): Cast bzero arg to PTR.
1262         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
1263         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
1264         loop to make structure clearer.
1265         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
1266         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
1267         (sbitmap_a_and_b_or_c): Likewise.
1268         (sbitmap_intersection_of_succs): Minor cleanups.
1269         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
1270         (sbitmap_union_of_preds): Likewise.
1271         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
1272         (debug_sbitmap): New function.
1273         
1274         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
1275         * c-typeck.c (convert_for_assignment): Likewise.
1277         * expmed.c (init_expmed): Don't free objects we make.
1278         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
1280         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
1281         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
1283         * gcse.c (expr_hash_table_size): Now unsigned.
1284         (compute_ae_gen): Local variable `i' now unsigned.
1285         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
1286         (compute_transout, hoist_code): Likewise.
1287         (compute_local_properties): Likewise, also hash_table_size.
1288         (alloc_expr_hash_table): N_INSNS now unsigned.
1289         (delete_null_pointer_checks): Mark arg F as unused.
1291         * regrename.c: Minor cleanups, including chang some variables
1292         to unsigned int.
1294 2000-04-10  Neil Booth  <NeilB@earthling.net>
1296         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
1297         than GETC ().
1298         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
1300 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1302         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
1303         __classof__, and __headof__ from the list of gnu keywords.
1304         (-ansi): Remove -foperator-names from list of implied options. 
1305         Do not call it ANSI C++.
1306         (-foperator-names): Document as -fno-operator-names.
1308 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
1310         * cpphash.c (timestamp): Delete.
1311         (del_HASHNODE): If type is T_MCONST, free value.cpval.
1312         (special_symbol): Remove unnecessary braces.  Remove
1313         T_VERSION.  Treat T_STDC like T_CONST unless
1314         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
1315         when one is encountered, then convert them into T_MCONST
1316         nodes.
1317         * cppinit.c (builtin_array): version_string is T_MCONST.
1318         __STDC__ has a "1" in its cpval.  Don't have a terminator
1319         entry.  Clean up which entries are dumped.
1320         (initialize_builtins): Only __STDC__ gets the special
1321         -traditional treatment.  Count the length of builtin_array.
1322         Render version_string here.
1323         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
1324         * cpplib.h (struct cpp_reader): Remove timebuf. 
1326 2000-04-09  Richard Henderson  <rth@cygnus.com>
1328         * genrecog.c (pred): Update comparison_operator for the unordered
1329         operators.
1331         * config/i386/i386.c (no_comparison_operator): Disallow unordered
1332         operators.
1333         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
1334         (uno_comparison_operator): New.
1335         (put_condition_code): Handle UNORDERED/ORDERED.
1336         (unsigned_comparison): Likewise.
1337         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
1338         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
1339         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
1340         update all callers.  Handle all 8 unordered operators.
1341         (ix86_expand_setcc): Lose the unordered argument, update all callers.
1342         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
1343         * config/i386/i386.h (PREDICATE_CODES): Update.
1344         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
1345         (ix86_expand_branch, ix86_expand_setcc): Update.
1346         * config/i386/i386.md (sunordered, sordered): New.
1347         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
1348         (bunordered, bordered): New.
1349         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
1350         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
1351         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
1353 2000-04-09  Philip Blundell  <philb@gnu.org>
1355         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
1356         
1357 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
1359         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
1360         fix_truncxfhi2): New patterns.
1361         * i386.c (output_fix_trunc): Handle converting to HImode.
1363 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
1365         * ssa.c (convert_to_ssa): Eliminate dead code when calling
1366         life_analysis.  
1367         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
1368         (for_each_successor_phi): Change parameter to basic_block.
1369         (coalesce_regs_in_successor_phi_nodes): Likewise.
1370         (coalesce_regs_in_copies): Likewise.
1371         (compute_coalesced_reg_partition): Use basic_block instead of index.
1372         * rtl.h (convert_to_ssa): Delete.
1373         (convert_from_ssa): Likewise.
1374         (successor_phi_fn): Likewise.
1375         (for_each_successor_phi): Likewise.
1376         (in_ssa_form): Likewise.
1377         * basic-block.h (convert_to_ssa): Moved from rtl.h.
1378         (convert_from_ssa): Likewise.
1379         (successor_phi_fn): Likewise.
1380         (in_ssa_form): Likewise.
1381         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
1382         * flow.c (calculate_global_regs_live): Pass a basic_block to
1383         for_each_successor_phi.
1385 2000-04-08  Richard Henderson  <rth@cygnus.com>
1387         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
1388         was modified in the current insn.
1390 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1392         * arm/thumb.md: Delete.
1393         * arm/thumb-protos.h: Delete.
1395 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1397         Merge changes from merged-arm-thumb-backend-branch onto trunk.
1399         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
1401         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
1402         into branch.
1404         * arm.md (nop): Use the standard RTL expression.  Don't code as a
1405         define_expand.
1406         (*arm_nop, *thumb_nop): Delete.
1408         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
1409         constants.  Use casts instead.
1410         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
1411         output_multi_immediate, arm_poke_function_name): Likewise.
1412         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
1413         MASK_RETURN_ADDDR): Likewise.
1415         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
1417         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
1418         into branch.
1419         
1420         * arm.md (eh_epilogue): New function.
1421         * arm.h (struct machine_function): Move to here ...
1422         * arm.c: ... from here.
1423         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
1424         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
1425         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
1427         2000-03-30  Nick Clifton  <nickc@cygnus.com>
1429         * config/arm/semi.h (ASM_SPEC): Restore definition.
1430         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
1432         * config/arm/elf.h (ASM_SPEC): Restore definition.
1433         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
1435         * config/arm/arm.h (ASM_SPEC): Remove definition.
1436         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
1438         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
1440         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
1442         2000-03-24  Nick Clifton  <nickc@cygnus.com>
1444         Various formating tidyups, elimination of compile time
1445         warnings and synchronisation with internal sources:
1446         
1447         * config/arm/arm-protos.h (assemble_align): Add prototype.
1448         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
1449         (gen_comapre_reg): Rename to arm_gen_compare_reg.
1450         (arm_return_addr_rtx): Rename to arm_return_addr.
1452         * config/arm/arm.c: Include except.h.
1453         Define shorter typenames for strict minipool_node and struct
1454         minipool_fix.
1455         (arm_return_in_memory): For WinCE return all structures <= 32 bits
1456         in memory.
1457         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
1458         (gen_comapre_reg): Rename to arm_gen_compare_reg.
1460         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1461         already defined.
1462         (ASM_SPEC): Define if not already defined.
1463         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
1465         * config/arm/arm.md: Rename references to gen_rotated_half_load to
1466         arm_gen_rotated_half_load, and references to gen_comapre_reg to
1467         arm_gen_compare_reg.
1468         (indirect_jump):  Only accept register operands.
1469         (load_indirect_jump): Keep this pattern since combine can generate
1470         it.
1472         * config/arm/coff.h: Include aout.h.
1473         (MULTILIB_DEFAULTS): Only define if not already defined.
1475         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
1476         into arm.h (so that COFF ports can support thumb based aliases).
1477         (ASM_SPEC): Move definition into arm.h
1478         
1479         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
1480         redundant apcs spec.
1481         (ASM_SPEC): Move definition to arm.h
1483         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
1485         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
1486         for entries in the .bss section
1488         2000-03-23  Nick Clifton  <nickc@cygnus.com>
1490         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
1491         to thumb_far_jump_used_p.
1493         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
1494         single integer parameter.
1496         * config/arm/arm.c (struct machine_function): Add two new
1497         fields, 'far_jump_used' and 'arg_pointer_live'.
1498         (thumb_far_jump_used_p): Once the decision has been made that
1499         far jumps might be used, always return true.
1500         If being called from the initial elimination offset macro then
1501         do not bother to perform the test if the arg pointer is not
1502         being used.
1503         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
1504         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
1506         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
1508         * arm.c (output_return_instruction): Handle more cases where we can
1509         return from a function with an ldr instruction.
1510         (arm_output_epilogue): Likewise.
1512         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
1513         if we need to push a large stack frame and there are no callee-saved
1514         registers.
1516         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
1517         in ARM code if the frame pointer has been eliminated.
1519         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
1520         unspec_volatile arguments to avoid duplicates.
1521         (consttable_1, consttable_2): Fixes for big-endian mode.
1523         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
1524         as appropriate.
1526         Re-write constant pool code.
1527         * arm.c (minipool_node, minipool_fix): New types.
1528         (minifix): Delete type.
1529         (arm_add_minipool_constant): Delete.
1530         (arm_compute_minipool_offsets, arm_find_barrier, 
1531         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
1532         (get_jump_table_size): Now returns HOST_WIDE_INT.
1533         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
1534         functions.
1535         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
1536         (assign_minipool_offsets, arm_print_value): Likewise.
1537         (dump_minipool): Rewrite.
1538         (arm_barrier_cost): New function.
1539         (create_fix_barrier): New function.
1540         (push_minipool_barrier): New function.
1541         (push_minipool_fix): Record additional information about the fixup 
1542         required.
1543         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
1544         check the mode of what needs fixing.
1545         (arm_reorg): Rewrite.
1547         2000-03-08  Nick Clifton  <nickc@cygnus.com>
1549         * config/arm/arm.md (indirect_jump): Force constant addresses into
1550         a register. 
1552         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
1554         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
1556         2000-02-24  Nick Clifton  <nickc@cygnus.com>
1558         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
1559         adjust is word aligned.
1560         (thumb_expand_epilogue): Make sure that stack adjust is word
1561         aligned.
1563         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
1564         
1565         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
1567         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
1568         pointer relative addresses.
1570         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
1572         * arm.c (find_barrier): Find the last barrier within the allowed 
1573         range.
1575         2000-02-09  Nick Clifton  <nickc@cygnus.com>
1577         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
1579         2000-02-09  Nick Clifton  <nickc@cygnus.com>
1581         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
1582         ARM_FUNCTION_PROFILER. 
1584         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
1585         ARM_FUNCTION_PROFILER. 
1587         * config/arm/linux-oldld.h: Imported from mainline sources.
1589         2000-02-07  Nick Clifton  <nickc@cygnus.com>
1591         * config/arm/lib1funcs.asm: Merge in thumb functions from
1592         lib1thumb.asm.
1593         
1594         * config/arm/lib1thumb.asm: Delete.
1596         2000-02-04  Nick Clifton  <nickc@cygnus.com>
1598         * config/arm/arm.c: Sychronised with current Red hat local
1599         sources. 
1600         * config/arm/arm.h: Ditto.
1601         * config/arm/arm-protos.h: Ditto.
1603         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
1605         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
1607         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
1608         byte stores.
1610         2000-02-02  Nick Clifton  <nickc@cygnus.com>
1612         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
1614         * config/arm/arm.md (epilogue): Fix rtl checking abort because
1615         (return) was emited using an emit_insn() call. 
1616         
1617         2000-01-31  Nick Clifton  <nickc@cygnus.com>
1619         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
1620         thumb stack frame.
1621         (thumb_exit): Move frame pointer back into hard frame pointer
1622         register if backtracing is being used.
1624         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
1626         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
1627         into branch.
1629         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
1631         * config/arm/arm.md (neg_pool_offset): Provide default for new
1632         attribute.
1633         (arm_movsi_insn): Add neg_pool_offset attribute.
1634         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
1635         rtx for the insn that starts the scan and an unsigned long for its
1636         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
1637         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
1638         instructions in *PINSERTED.
1639         (struct minipool_fixup): Add MIN_ADDRESS elt.
1640         (sort_fixups): Compute it.
1641         (arm_reorg): Changes to support inserting pools before the insn to be
1642         fixed up.
1644         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
1646         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
1647         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
1648         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
1650         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
1652         * config/arm/semi.h (TARGET_VERSION): Do not define if already
1653         defined.
1654         (TARGET_DEFAULT): Do not define if already defined.
1656         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
1658         * config/arm/arm.md (anddi3): Allow disjoint source operands.
1659         (iordi3): Allow disjoint source operands.
1660         (xordi3): Allow disjoint source operands.
1661         (negdi2): Permit construction for ARM and Thumb.
1662         (arm_negdi2): Renamed version of old negdi2 pattern.
1663         (thumb_negdi2): New pattern: Only permit non-overlapping
1664         source and destination.
1666         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
1668         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
1669         scratch low register so that it will not be deleted.
1671         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
1673         * config/arm/pe.h (ARM_PE): Define.
1674         
1675         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
1676         interfacearm attribute if this is a PE toolchain.
1677         (output_return_instruction): Do not emit anything if the function
1678         has the naked attribute set.
1679         (is_called_in_ARM_mode): If the function has the interfacearm
1680         attribute then return true.
1681         (thumb_expand_prologue): Do not generate a prologue for naked
1682         functions.
1683         (thumb_expand_epilogue): Do not generate an epilogie for a naked
1684         function.
1685         (output_thumb_prologue): Do not bother if the function is naked.
1686         Strip PE encoding from function name before emitting.
1688         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
1690         * arm.md (pic_load_addr): Fix constraints.
1692         * arm.md (casesi_insn): Fix mis-applied patch.
1694         * arm.md ("core" function unit): Add rules for single- and
1695         multi-cycle insns.
1696         (All TARGET_THUMB patterns): Add "type" attribute information
1697         where needed.
1698         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
1699         the following insn is a CALL.
1701         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
1702         pointer.
1703         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
1704         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
1705         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
1706         
1707         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
1709         * config/arm/linux-gas.h: oops - this file was missed out when the
1710         branch was created...
1712         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
1714         * thumb.c: Deleted.  Move contents to ...
1715         * arm.c: ... here.
1716         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
1717         rule for thumb.o
1718         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
1719         * configure: Regen.
1721         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
1722         declare a prototype for asm_output_align();
1724         * arm.c (thumb_condition_code): Delete.
1725         (arm_print_operand): Always use arm_condition_code array.
1727         * arm.c (thumb_return_addr_rtx): Delete.
1728         (arm_save_machine_status, arm_restore_machine_status): Delete.
1729         (arm_init_machine_status, arm_mark_machine_status): New functions.
1730         (arm_init_expanders): Update accordingly.
1731         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
1732         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
1733         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
1734         
1735         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
1737         * configure.in : Fix arm-*-aout target to use new t-arm-aout
1738         script. 
1739         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
1740         targets.
1742         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
1744         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
1745         stack backtrace structure.
1747         * config/arm/arm-protos.h: Add prototypes for functions defined in
1748         arm/pe.h.
1749         
1750         * config/arm/arm.c (arm_override_options): Fix selection of 
1751         attributes of default processor.
1752         
1753         * config/arm/coff.h: Delete needless #include.
1754         
1755         * config/arm/pe.c: Delete unused code.
1756         
1757         * config/arm/pe.h (CPP_DEFINES): Delete
1758         (SUBTARGET_CPP_SPEC): Define.
1759         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
1760         
1761         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
1763         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
1765         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
1766         updated.
1767         (CAN_DEBUG_WITHOUT_FP): Define.
1768         (FIXED_REGISTERS): Make r11 call-saved.
1769         (CALL_USED_REGISTERS): Likewise.
1770         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
1771         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
1772         frame-pointer is required.
1773         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
1774         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
1775         if the target normally needs a stack frame in non-leaf functions.
1776         (use_return_insn): Correct logic for determining when a return
1777         instruction can be used.
1778         (output_return_instruction): Handle the frame-pointer register as
1779         a normal register when not TARGET_APCS_FRAME.
1780         (arm_output_prologue): Likewise.
1781         (arm_output_epilogue): Likewise.
1782         (output_func_epilogue): Likewise.
1783         (arm_expand_prologue): Likewise.
1784         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
1786         * arm.c (use_return_insn): No need to check floating point regs if
1787         TARGET_SOFT_FLOAT.
1788         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
1789         the code of value stored in the minipool array.
1790         (arm_add_minipool_constant): Likewise.
1792 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1794         * basic-block.h (conflict_graph_enum_fn): K&R fix.
1796 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1798         * tree.c (tree_expr_nonnegative_p): New function.
1800         * tree.h (tree_expr_nonnegative_p): Declare.
1802         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
1803         elide some sign_compare warnings.
1804         (build_conditional_expr): Likewise.
1806 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
1808         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
1810         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
1811         * i386.c (print_operand): Use the proper suffix for a 387 HImode
1812         operand.  Abort if a 387 operand has an unsupported size.
1814 2000-04-08  Neil Booth  <NeilB@earthling.net>
1816         * cppexp.c (parse_charconst): Null does not end character
1817         constants.
1818         * cppinit.c (ISTABLE): Null character handled as whitespace.
1819         * cpplex.c (null_warning):  new function.
1820         (skip_string): Emit warning if nulls encountered.
1821         (_cpp_skip_hspace): Emit warning if nulls encountered.
1822         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
1823         them.
1824         * cpp.texi: Update.
1826 2000-04-07  Richard Henderson  <rth@cygnus.com>
1828         * flow.c (loop_depth): Remove.
1829         (reg_next_use, cc0_live, mem_set_list): Replace with ...
1830         (struct propagate_block_info): New.
1831         (life_analysis): Don't allocate reg_next_use.
1832         (propagate_block_delete_insn): Break out of propagate_block.
1833         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
1834         (propagate_block_delete_libcall): Likewise.
1835         (propagate_block): Create a propagate_block_info struct to pass
1836         to subroutines.  Allocate one not two temporary regsets.  Don't
1837         clobber memory for const calls.  Look for clobbers in
1838         CALL_INSN_FUNCTION_USAGE.
1839         (mark_set_regs): Recognize COND_EXEC.
1840         (mark_set_reg): Break out of mark_set_1.
1841         (mark_used_reg): Break out of mark_used_regs.
1842         (mark_used_regs): Recognize COND_EXEC.
1843         (insn_dead_p): Use propagate_block_info struct.
1844         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
1845         (find_auto_inc, try_pre_increment_1): Likewise.
1846         (print_rtl_with_bb): Dump regs live at end too.
1847         (count_reg_sets_1): Pass in loop_depth.
1848         (count_reg_sets, count_reg_references): Likewise.
1849         (recompute_reg_usage): Provide it.
1851 2000-04-07  Richard Henderson  <rth@cygnus.com>
1853         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
1854         not the raw files.
1856 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
1858         * cpplib.c (do_elif): Skip the rest of the line if we're
1859         not going to bother evaluating it.
1860         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
1861         to avoid pointless calls to the lexer.
1863 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
1865         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
1867 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
1869         * calls.c (expand_call): emit_queue if we're trying a sibcall.
1871 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
1873         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
1875 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
1877         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
1878         crtend so they can be multilibbed.
1879         (STAGESTUFF): Remove s-crt and s-crtS.
1881 2000-04-07  Richard Henderson  <rth@cygnus.com>
1883         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
1884         if we discover we need a pseudo and no_new_pseudos is true.
1885         * config/alpha/alpha.md (ne:DI insn): New.
1886         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
1888 2000-04-07  Richard Henderson  <rth@cygnus.com>
1890         * rtl.def (COND_EXEC): New.
1891         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
1892         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
1894         * genconfig.c (have_cond_arith_flag): Remove.
1895         (have_cond_exec_flag): New.
1896         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
1897         (main): Print HAVE_conditional_execution.
1899         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
1900         (sched_analyze_insn, print_pattern): Likewise.
1901         * reload.c (find_equiv_reg): Likewise.
1902         * rtlanal.c (reg_referenced_p): Likewise.
1903         (note_stores, dead_or_set_regno_p): Likewise.
1904         (reg_overlap_mentioned_p): Rewrite to use a switch.
1906         * ggc.h (struct rtx_def): Forward declare.
1908         * print-rtl.c (debug_rtx_range): New.
1909         * rtl.h (debug_rtx_range): Declare.
1911         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
1913         * gcse.c (gcse_main): Don't rebuild the CFG here.
1914         (delete_null_pointer_checks): Likewise.
1915         * ssa.c (convert_to_ssa): Likewise.
1916         * toplev.c (rest_of_compilation): Do it here instead.  Combine
1917         sequential calls to TIMEVAR.  Consistently use `insns' instead of
1918         `get_insns()'.  Always split insns after reload when optimizing.
1920         * basic-block.h (merge_blocks_nomove): Declare.
1921         (tidy_fallthru_edge): Declare.
1922         * flow.c (merge_blocks_nomove): Document as merging into previous
1923         blocks.  Remove cruft from between blocks; remove all edges out of A.
1924         (tidy_fallthru_edge): Export.
1926 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1928         * ssa.c (compute_conservative_reg_partition): Declare with
1929         void arguments.
1930         * toplev.c (clean_dump_file): Remove previously-deleted function
1931         inadvertantly merged back in.
1932         * conflict.c (conflict_graph_add): Use a single call to
1933         htab_find_slot to look up and insert.
1935 2000-04-06  Richard Henderson  <rth@cygnus.com>
1937         * genrecog.c (*): Rename _last_insn to last_insn.
1938         (make_insn_sequence): Set the position of the peephole2 C test
1939         to be at the last insn.
1941 2000-04-06  Richard Henderson  <rth@cygnus.com>
1943         * flow.c (compute_flow_dominators): Free worklist.
1945 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
1947         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1949 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1951         * rtl.h (INSN_P): New macro.
1952         (successor_phi_fn): New typedef.
1953         (for_each_successor_phi): New prototype.
1954         (in_ssa_form): New variable.
1955         (PHI_NODE_P): Likewise.
1956         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1957         phi nodes in successors.
1958         (mark_used_regs): Add PHI case.
1959         (set_phi_alternative_reg): New function.
1960         (life_analysis): Assert that dead code elimination is not selected
1961         when in SSA form.
1962         * toplev.c (to_ssa_time): New variable.
1963         (from_ssa_time): Likewise.
1964         (compile_file): Zero to_ssa_time and from_ssa_time.
1965         Print time to convert to and from SSA.
1966         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1967         (print_time): Compute percent fraction as integer.
1968         * ssa.c (PHI_NODE_P): Moved to rtl.h.
1969         (convert_to_ssa): Check if we're already in SSA.  
1970         Don't eliminate dead code in life_analysis.
1971         Rerun flow and life analysis at bottom.
1972         (eliminate_phi): Use canonical regnos when adding nodes.
1973         (mark_reg_in_phi): New function.
1974         (mark_phi_and_copy_regs): Likewise.
1975         (convert_from_ssa): Rerun life analysis at top.  
1976         Use coalesced partition.
1977         Check for removing a phi node at the end of the block.
1978         (compute_coalesced_reg_partition): New function.
1979         (coalesce_regs_in_copies): Likewise.
1980         (coalesce_reg_in_phi): Likewise.
1981         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1982         (for_each_successor_phi): Likewise.
1983         (rename_context): New struct.
1984         (rename_block): Use a rename_context with rename_insn_1.  When
1985         renaming sets of a subreg, emit a copy of the entire reg first.
1986         (rename_insn_1): Treat data as a rename_context *.  Save current
1987         insn in set_data.
1988         (rename_set_data): Add field set_insn.
1989         * Makefile.in (HASHTAB_H): Move up in file.
1990         (OBSTACK_H): New macro.
1991         (collect2.o): Use OBSTACK_H in dependencies.
1992         (sdbout.o): Likewise.
1993         (emit-rtl.o): Likewise.
1994         (simplify-rtx.o): Likewise.
1995         (fix-header.o): Likewise.
1996         (OBJS): Add conflict.o.
1997         (conflict.o): New rule.
1998         * basic-block.h: Include partition.h.
1999         (conflict_graph): New typedef.
2000         (conflict_graph_enum_fn): Likewise.
2001         (conflict_graph_new): New prototype.
2002         (conflict_graph_delete): Likewise.
2003         (conflict_graph_add): Likewise.
2004         (conflict_graph_conflict_p): Likewise.
2005         (conflict_graph_enum): Likewise.
2006         (conflict_graph_merge_regs): Likewise.
2007         (conflict_graph_print): Likewise.
2008         (conflict_graph_compute): Likewise.
2009         * conflict.c: New file.
2011 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
2013         * tlink.c (read_repo_files): Don't look for .rpo info for
2014         linker flags.
2016 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2018         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
2020 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2022         * config/sh/lib1funcs.asm (___udivsi3_i4):
2023         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
2024         only depends on FMOVD_WORKS.
2026 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2028         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
2029         make double constant 8-byte aligned.
2031 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
2033         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
2034         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
2035         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
2036         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
2037         Accept storing GENERAL_REGS into offsetable memory.
2038         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
2039         building a TFmode constant other than 0.0L into GENERAL_REGS.
2041 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
2043         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
2044         
2045 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
2047         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
2048         (macro_cleanup): No need to cast pbuf->macro.
2049         (collect_expansion): Use _cpp_get_define_token.  Goto done if
2050         it returns VSPACE.  Remove check for trailing space after
2051         CPP_COMMENT.
2052         (_cpp_create_definition): Don't diddle flags here.  Return
2053         directly on error.
2054         (unsafe_chars): Handle c1 being EOF.
2055         (push_macro_expansion): Use unsafe_chars for both accidental-paste
2056         checks.  Don't push the buffer till after we're done with
2057         them.
2058         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
2059         (PEEKN, FORWARD, GETC, PEEKC): Use them.
2060         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
2061         appropriately.
2062         (_cpp_parse_assertion): Don't NUL terminate.
2063         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
2064         hspace before calling _cpp_parse_assertion.  Remove all sets
2065         of only_seen_white. Treat '\f' as hspace.  Don't do anything
2066         special with '\n' here.
2067         (maybe_macroexpand): Handle T_EMPTY hash entries without
2068         pushing a buffer at all.
2069         (cpp_get_token): Handle clearing only_seen_white here.  Handle
2070         incrementing the line number here.  Clear
2071         potential_control_macro as well as only_seen_white, if
2072         appropriate.
2073         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
2074         (_cpp_get_define_token): New function, basically like
2075         _cpp_get_directive_token was but doesn't eat horizontal space.
2076         Don't do anything with only_seen_white here.
2077         (_cpp_get_directive_token): Just call _cpp_get_define_token
2078         repeatedly till it returns non-hspace.
2080         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
2081         (conditional_skip, skip_if_group): Return int.
2082         (DIRECTIVE_TABLE): Change origin of all conditional directives
2083         to "COND".
2084         (TRAD_DIRECT_P): New macro.
2085         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
2086         an error for a bogus directive, unless -lang-asm.  Use
2087         TRAD_DIRECT_P. Loop calling handler functions till one returns
2088         zero.
2089         (get_macro_name): Don't diddle flags here.
2090         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
2091         Create T_EMPTY nodes for #define macro /* nothing */.
2092         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
2093         Use hp->name when calling pass_thru_directive.
2094         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
2095         Return the result of conditional_skip and/or skip_if_group.
2096         Don't call _cpp_output_line_command.
2097         (consider_directive_while_skipping): Use _cpp_get_directive_token.
2098         Issue -Wtraditional warnings as appropriate.  Don't complain
2099         about unrecognized directives.  If we are to stop skipping,
2100         return the number of the directive that ended the skip.
2101         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
2102         expansion and line commands while skipping.  Return the result
2103         of consider_directive_while_skipping, if nonzero.
2104         (do_endif): Just set potential_control_macro here.
2105         (validate_else): Use _cpp_get_directive_token.
2106         (do_assert, do_unassert): Don't save pointers into the
2107         token_buffer across calls to the lexer.  Use
2108         _cpp_get_directive_token.  
2110         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
2111         pointer, not an offset.  Replace 'data', which was a generic
2112         pointer, with 'macro', which points to a struct hashnode.
2113         (cpp_reader): Add 'potential_control_macro' pointer.
2114         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
2115         (CPP_BUF_GET, CPP_FORWARD): Delete.
2116         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
2117         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
2118         ACTIVE_MARK_P): Update.
2119         (_cpp_get_define_token): New internal function.
2120         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
2122 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
2124         * configure.in: And here.
2125         * configure: Regenerate.
2126         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
2127         --enable-libstdcxx-v3 is passed at configure time.
2128         * config.h.in: Regenerate.
2130 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
2132         * final.c (final): Use xcalloc to allocate line_note_exists.
2133         * function.c (free_after_compilation): Free the temp_slots.
2134         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
2135         (combine_temp_slot): Free temp_slots when they get combined.
2136         (purge_addressof): Fix typo in comment.
2137         * stmt.c (mark_goto_fixup): Mark the fixup itself.
2138         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
2140         * ggc.h: Include varray.h.
2141         (ggc_pending_trees): Declare.
2142         (ggc_mark_tree_children): Remove declaration.
2143         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
2144         * ggc-common.c (ggc_pending_trees): New variable.
2145         (ggc_mark_roots): Call ggc_mark_trees.
2146         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
2147         the ggc_pending_trees.
2148         * Makefile.in (GGC_H): New variable.  Use it throughout in place
2149         of ggc.h.
2150         
2151 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2153         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
2154         GET_MODE_SIZE.
2156 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2158         * sh.c (sh_insn_length_adjustment): New function.
2159         * sh-protos.h (sh_insn_length_adjustment): Declare.
2160         * sh.h (ADJUST_INSN_LENGTH): Use it.
2162 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
2164         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
2165         from the insn where REG_RETVAL is added.
2166         (emit_no_conflict_block): Ditto.
2168         * md.texi (Standard Names): Clarify when movX is needed.
2170         * combine.c (simplify_comparison) [MINUS]: Do not replace
2171         all (op (minus A B) 0) with (op A B).
2173 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
2174                           J"orn Rennecke <amylaar@cygnus.co.uk>
2176         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
2177         (block_lump_real): Likewise.
2179 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
2181         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
2182         remaining non-zero debugging masks.
2184 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
2186         * basic-block.h (verify_flow_info): Declare.
2187         (flow_loop_outside_edge_p): Declare.
2188         * flow.c (verify_flow_info): Remove declaration.
2189         (clear_log_links, flow_loop_outside_edge_p): Likewise.
2191 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
2193         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
2194         not C++ comments.
2196 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
2198         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
2199         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
2200         seqdi_zero_trunc+1): Allow splits only if registers are
2201         different.
2203 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
2205         * acconfig.h: Add HAVE_GAS_HIDDEN.
2206         * config.in: Regenerated.
2207         * configure.in: Add test for .hidden pseudo-op in gas.
2208         * configure: Regenerated.
2209         * crtstuff.c: Include auto-host.h.
2210         Emit additional .hidden pseudo-op for __dso_handle if the
2211         assembler knows about it.
2213 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
2215         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
2216         before freeing argnames.
2217         * cpplib.c (do_ifndef): Cast return value of xstrdup.
2219 2000-04-05  Michael Meissner  <meissner@redhat.com>
2221         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
2222         Walton <jonboy@gordian.com> to make memory references with update
2223         work wtih -mregnames.
2225 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2227         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
2228         (regrename_optimize): Rename variables `def_uses' and
2229         `ext_basic_blocks' to avoid conflicts with similarly named
2230         typedefs in traditional C.
2232         * calls.c (initialize_argument_information): Fix typo in previous
2233         change.
2235 2000-04-04  Richard Henderson  <rth@cygnus.com>
2237         * regrename.c (consider_available): Test fixed_regs not
2238         PIC_OFFSET_TABLE_REGNUM.
2240 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
2242         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
2243         crtend.
2244         (CRTSTUFF_T_CFLAGS_S): Delete definition.
2245         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
2246         (ENDFILE_LINUX_SPEC): Always use crtend.
2247         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
2248         (powerpc-*-linux-gnu): Likewise.
2249         * configure: Regenerate.
2251         * config/rs6000/eabi.h: Don't include sysv4.h.
2252         (MULTILIB_DEFAULTS): Don't define.
2253         * config/rs6000/eabiaix.h: Don't include eabi.h.
2254         * config/rs6000/eabile.h: Delete.
2255         * config/rs6000/eabilesim.h: Delete.
2256         * config/rs6000/eabisim.h: Don't include eabi.h.
2257         * config/rs6000/linux.h: Don't include sysv4.h.
2258         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
2259         (MULTILIB_DEFAULTS): Don't redefine.
2260         * config/rs6000/rtems.h: Don't include eabi.h.
2261         * config/rs6000/sol2.h: Don't include sysv4le.h.
2262         * config/rs6000/sysv4le.h: Don't include sysv4.h.
2263         * config/rs6000/t-ppc: Delete.
2264         * config/rs6000/t-ppcgas: Correct comment.
2265         * config/rs6000/t-ppcos: Correct comment.  Don't build 
2266         multilibs for -fPIC, rather use -fPIC -mstrict-align 
2267         as default.
2268         * config/rs6000/t-ppc: Delete.
2269         * config/rs6000/vxppc.h: Don't include sysv4.h.
2270         * config/rs6000/vxppcle.h: Delete.
2271         * configure.in: Use multiple header files for p2pc ELF targets
2272         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
2273         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
2274         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
2275         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
2276         always available for these platforms.
2278 2000-04-04  Richard Henderson  <rth@cygnus.com>
2280         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
2282 2000-04-04  Stan Cox  <scox@cygnus.com> 
2284         * Makefile.in: Add rules for regrename.o
2285         * regrename.c: New file.
2286         * rtl.h (regrename_optimize): Add prototype.
2287         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
2288         (compile_file, decode_d_option): Add support for -frename-registers.
2289         (rest_of_compilation): Call regrename_optimize.
2290         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
2291         New macros.     
2292         
2293 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2295         * Makefile (gccbug): New target.
2296         (doc): Depend on it.
2297         * gcc.texi (Bugs): Link subnodes.
2298         (gccbug): New node.
2299         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
2300         Document severities, priorities, and classes in bug form.
2302 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
2304         * cpplex.c (trigraph_map, speccase): Combine into single
2305         table, chartab.
2306         (NORMAL, NONTRI): New macros.
2307         (_cpp_read_and_prescan): Change to use unified table.  Use
2308         is_hspace to test for whitespace.
2310         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
2311         definition that doesn't provoke the "empty body in an
2312         if-statement" warning.
2314 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
2316         * builtins.c (expand_builtin_strlen): Force the source to
2317         be a memory address.
2319 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2321         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
2323 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2325         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
2326          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
2327         (ECF_IS_CONST): Rename to ECF_CONST.
2328         (special_function_p): Make static, change interface.
2329         (flags_from_decl_or_type, try_to_integrate): Break out from ...
2330         (expand_call) ... here; convert number of variables to flags.
2331         (emit_library_call_vlue_1): Likewise.
2332         (setjmp_call_p): New function.
2333         (initialize_argument_information): Accepts flags as argument;
2334         return flags.
2335         (precompute_arguments): Likewise.
2336         * tree.h (special_function_p): Remove.
2337         (setjmp_call_p): Add prototype.
2339 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
2341         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
2342         so that addresses are offsetable by up to 16 bytes.
2343         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
2344         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
2345         offsetable.
2347         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
2348         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
2349         (movsf): Don't force any constant to memory if target is integer
2350         hard register.
2351         Move fp_zero_operand check below the const0_rtx check.
2352         (movtf): Likewise. Also allow fp_zero_operand for stores into
2353         memory.
2354         (movdf): Likewise. Also allow fp_zero_operand for stores into
2355         memory and into integer hard registers.
2356         (clear_df, clear_dfp, movdf_const_intreg_sp32,
2357         movdf_const_intreg_sp64): Remove.
2358         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
2359         conditions.
2360         (movdf_no_e_insn_v9_sp32): New pattern.
2361         (movdf_insn_v9only): Remove.
2362         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
2363         (movdf_insn_sp64): Remove.
2364         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
2365         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
2366         (following splits): Rewrite conditions. Add two new splits
2367         for storing 0.0 into memory and registers.
2368         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
2369         (movtf_insn_sp32): Redo constraints and conditions.
2370         (movtf_insn_vis_sp32): New pattern.
2371         (movtf_no_e_insn_sp32): Redo constraints and conditions.
2372         (movtf_insn_hq_sp64): Likewise.
2373         (movtf_insn_hq_vis_sp64): New pattern.
2374         (movtf_insn_sp64): Redo constraints and conditions.
2375         (movtf_insn_vis_sp64): New pattern.
2376         (movtf_no_e_insn_sp64): Redo constraints and conditions.
2377         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
2378         or memory.
2379         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
2380         -mvis or -m64 to take down the number of various reload patterns.
2382 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
2384         * pa/pa-64.h: New file.
2385         * pa/pa64-regs.h: New file.
2386         * pa/pa64-start.h: New file.
2387         * pa/t-pa64: New file.
2388         * pa/xm-pa64hpux.h: New file.
2390 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2392         * sparc.c (output_restore_regs): Prototype.
2393         (sparc_emit_float_lib_cmp): Constification.
2395         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
2397         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
2398         Prototype.
2400         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
2401         (get_value_hash, hash_rtx): Likewise.
2403         * ssa.c (compute_conservative_reg_partition): Prototype.
2405         * tree.c (mark_hash_entry): Prototype.
2407 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
2409         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
2410         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
2411         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
2413         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
2414         * objc/lang-specs.h: Likewise.
2416 2000-04-03  Neil Booth  <NeilB@earthling.net>
2418         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
2419         and SYNTAX_ERROR2. Replace `' in messages with ''.
2420         (op_to_str): Make re-entrant.
2421         (_cpp_parse_expr): Implement new error macros. Use | rather
2422         than || to logically or 2 boolean integers.  Simply expression
2423         checking we have a left operand iff needed.
2425 2000-04-03  Nick Clifton  <nickc@cygnus.com>
2427         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
2429 2000-04-03  Philip Blundell  <philb@gnu.org>
2431         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
2433 2000-04-03  Felix Lee  <flee@cygnus.com>
2435         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
2436         (run_shell): Use it. 
2438 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
2440         * Makefile.in (stmp-int-hdrs): Make include subdir here...
2441         (stmp-fixproto): ...rather than here.
2443 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
2445         * pa.c (print_operand): Compute 'base' only inside the code paths
2446         that use it.
2448 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
2450         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
2451         CEIL_DIV_EXPR.
2453 2000-04-03  Philipp Thomas  <pthomas@suse.de>
2455         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
2457 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
2459         * Makefile.in (alias.o): Depend on $(TREE_H).
2461 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
2463         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
2464         processing C++.
2465         * cpplib.c (_cpp_handle_directive): Improve warnings for
2466         traditional C and indented directives.
2468         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
2469         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
2470         fixinc/inclhack.def: Indent the # of #include_next one space.
2471         * cp/rtti.c: Un-indent #if and #endif.
2473         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
2474         syntax error, but an error has already been printed.
2475         * cpplex.c (_cpp_parse_assertion): Give a more specific error
2476         message when called with nothing remaining on the line.
2477         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
2478         OTHER token, not an ASSERTION.
2479         * cpplib.c (do_assert): When we create a 'base' node, clear
2480         its aschain pointer.
2482 2000-04-02  Neil Booth <NeilB@earthling.net>
2484         * cppexp.c:  New typedef op_t.  struct operation and struct 
2485         token updated to use it.
2486         (op_to_str): New function.
2487         (_cpp_parse_expr): Error messages modified to use op_to_str.
2489 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2491         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
2492         before checking MUST_PASS_IN_STACK.
2494 2000-04-02  Neil Booth <NeilB@earthling.net>
2496         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
2497         flags and initial priority into a single constant.  New
2498         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
2499         (_parse_cpp_expr): Implement new constants.  Take left operand
2500         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
2501         parse indicated by reducing FINISHED token.  Remove new lines
2502         from cpp_error messages.
2504 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
2506         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
2507         permanent obstack.
2509 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
2511         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
2512         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
2513         the strings and function names on the fly.  Take the #sccs
2514         entry out of the table if SCCS_DIRECTIVE is not defined.
2515         (_cpp_handle_directive): Decide if the # was at the beginning
2516         of the line here.  Issue -pedantic warnings for extended
2517         directives here.  Warn about K+R directives with the #
2518         indented, and C89/extended directives with the # not indented,
2519         here.
2520         (do_import, do_include_next, do_warning, do_ident, do_sccs,
2521         do_assert, do_unassert): Don't issue pedantic warning here.
2523         * cpphash.h: Add CPP_WTRADITIONAL macro.
2524         * cpplib.h (struct cpp_options): Rename warn_stringify to
2525         warn_traditional; update comments.
2526         * cppinit.c (handle_option): Set warn_traditional not
2527         warn_stringify.
2528         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
2529         CPP_WTRADITIONAL (pfile).
2530         * cpplex.c (_cpp_lex_token): Don't decide if directives should
2531         be ignored in -traditional mode here.
2533         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
2534         to initialize speccase[] and trigraph_map[].  Delete all
2535         references to pfile->input_speccase.  Always treat '?' as a
2536         special character.  Remove table-initialization code from
2537         _cpp_init_input_buffer.
2539         * cpplib.h (struct cpp_reader): Remove input_speccase field.
2540         * cppinit.c (cpp_cleanup): Don't free input_speccase.
2542 2000-04-01  Richard Henderson  <rth@cygnus.com>
2544         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
2545         (mostlyclean): Likewise.
2547         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
2548         (struct dump_file_info, enum dump_file_index, dump_file): New.
2549         (open_dump_file): Take a dump_file_index not a suffix, and a decl
2550         not a string.  Clean out file if we havn't yet done so.  Do nothing
2551         if the dump isn't enabled.
2552         (close_dump_file): Do nothing if the dump isn't open.  Dump 
2553         graph data if requested.
2554         (dump_rtl, clean_dump_file): Remove.
2555         (compile_file): Don't clean the dump files.  Only finalize .bp dump
2556         if flag_test_coverage or flag_branch_probabilities.  Only finalize
2557         .combine dump if optimizing.  Iterate over dump_file to finalize the
2558         graph dumps.
2559         (rest_of_compilation): Update for open_dump_file/close_dump_file.
2560         Convert all uses of dump_rtl.
2561         (decode_d_option): Iterate over dump_file to implement 'a' and to
2562         locate pass-specific dumps.
2564 2000-04-01  Neil Booth <NeilB@earthling.net>
2566         * cppexp.c: Redefine priority constants.
2567         (_cpp_parse_expr): Replace left and right priority scheme with
2568         single priority logic.  Move LOGICAL to same place as COMPARE.
2569         Remove bogus check for multiple unary +/- operators.
2571 2000-04-01  Neil Booth <NeilB@earthling.net>
2573         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
2574         within the switch statement.  Binary operations break out of
2575         the switch naturally.  '(' tokens handled by forcing
2576         immediate shift.  ')' handled by forcing immediate reduce to
2577         the previous '('.  New error messages.
2578         
2579 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
2581         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
2582         part', it's already in use.  Use %K instead.  Add a return at the
2583         end of what is now %K.
2584         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
2586 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2588         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
2589         allocate_dynamic_stack_space.
2590         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
2591         update stack_pointer_delta; do not update arg_size_so_far.
2592         (compute_argument_block_size): Use stack_delta instead of
2593         stack_pointer_pending and arg_size_so_far.
2594         (expand_call): Add sanity checking for stack_pointer_delta;
2595         save and restore stack_pointer_delta for SIB, use
2596         stack_pointer_delta for alignment; do not update arg_space_so_far.
2597         (emit_library_call_value): Use stack_pointer_delta for alignment.
2598         (store_one_arg): Do not update arg_space_so_far.
2599         * explow.c (adjust_stack, anti_adjust_stack): Update
2600         stack_pointer_delta.
2601         (allocate_dynamic_stack_space): Add sanity checking for
2602         stack_pointer_delta.
2603         * expr.c (init_expr, clear_pending_stack_adjust): Clear
2604         stack_pointer_delta.
2605         (emit_push_insn): Update stack_pointer_delta.
2606         * function.h (struct expr_status): Add x_stack_pointer_delta;
2607         remove x_arg_space_so_far.
2608         (arg_space_so_far): Remove.
2609         (stack_pointer_delta): New macro.
2611 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
2613         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
2614         Reorder struct cpp_options and struct cpp_reader for better 
2615         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
2616         takes two args.  Change all 'char' flags to 'unsigned char'.
2617         Move show_column flag into struct cpp_options.  Don't
2618         prototype cpp_options_init.
2619         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
2620         cppinit.c, cpplex.c, cpplib.c:
2621         Replace CPP_OPTIONS (pfile)->whatever with
2622         CPP_OPTION (pfile, whatever), and likewise for
2623         opts = CPP_OPTIONS (pfile); ... opts->whatever;
2625         * cppinit.c (merge_include_chains): Take a cpp_reader *.
2626         Extract CPP_OPTION (pfile, pending) and work with that
2627         directly.
2628         (cpp_options_init): Delete.
2629         (cpp_reader_init): Turn on on-by-default options here.
2630         Allocate the pending structure here.              
2631         (cl_options, enum opt_code): Define these from the same table,
2632         kept in a large macro.  Add -fshow-column and -fno-show-column
2633         options.
2635         * cpperror.c (v_message): If show_column is off, don't print
2636         the column number.
2638         * cppmain.c: Update for new interface.
2639         * fix-header.c: Likewise.
2641 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
2643         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
2644         definition.
2645         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
2646         are passed to any invocation of AR_FOR_TARGET.
2647         (AR_CREATE_FOR_TARGET): New macro.
2648         (AR_EXTRACT_FOR_TARGET): New macro.
2649         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
2650         AR_EXTRACT_FOR_TARGET.
2651         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
2652         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
2653         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
2654         AR_EXTRACT_FOR_TARGET to sub-makes.
2656 2000-03-31  Neil Booth <NeilB@earthling.net>
2658         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
2659         PAREN_INNER_PRIO.
2660         (_cpp_parse_expr): Check for multiple unary +/- operators.
2661         Correct priorities of ':' and '?'.  Treat ')' as having a
2662         value.  Ensure conditional expression is not void.
2663         
2664 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
2666         * alias.c (canon_rtx): Make it global.
2667         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
2668         equality.
2669         * cse.c (struct table_elt): Add canon_exp.
2670         (insert): Clear it.
2671         (invalidate): Canonicalize expressions only once.
2672         * rtl.h (canon_rtx): Declare.
2674 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
2676         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
2677         * alias.c (reg_known_value): Add comments.
2678         (init_alias_analysis): Likewise.
2679         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
2680         address.
2681         (cse_basic_block): Fix typo in comment.
2682         * emit-rtl.c: Include hashtab.h.
2683         (const_int_htab): New variable.
2684         (const_int_htab_hash): New function.
2685         (const_int_htab_eq): Likewise.
2686         (rtx_htab_mark_1): Likewise.
2687         (rtx_htab_mark): Likewise.
2688         (gen_rtx_CONST_INT): Cache all CONST_INTs.
2689         (unshare_all_rtx): Fix formatting.
2690         (init_emit_once): Initialize const_int_htab.
2691         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
2692         address.
2693         * rtl.texi: Document the fact that all CONST_INTs with the same
2694         value are shared.
2696 2000-03-30  Richard Henderson  <rth@cygnus.com>
2698         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
2700 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
2702         * configure.in: Comment out --enable-c-cpplib stanza.
2703         * configure: Regenerate.
2705 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2707         * expr.c (store_constructor): Properly compute displacement and
2708         alignment when offset is variable.
2710         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
2711         cases of alignment in bytes.
2713 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
2715         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
2716         since it is used to generate c-parse.y.
2717         * objc-parse.c, objc-parse.y: Regenerated.
2719         * function.c (expand_function_end): Pass alignment argument to
2720         emit_block_move in bits, not bytes.
2722 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2724         * expr.c (move_by_pieces_ninsns): Fix one more missing align
2725         correction.
2727         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
2729         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
2730         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
2731         * function.c (assign_parms): Likewise.
2732         * integrate.c (expand_inline_function): Likewise.
2733         * stmt.c (expand_decl): Likewise.
2734         (copy_rtx_and_substitute): Likewise.
2735         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
2736         (clear_by_pieces): Fix error in last change.
2737         * emit-rtl.c (init_emit): Set known registers alignment in bits.
2738         * function.h (regno_pointer_align): Now unsigned.
2739         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
2740         is in bits.
2741         * config/i386/i386.c (aligned_operand): Likewise.
2742         * config/sparc/sparc.c (mem_min_alignment): Likewise.
2743         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
2744         (unaligned_memory_operand): Likewise.
2745         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
2746         Also make alignments and sizes unsigned and some whitespace cleanup.
2747         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
2749         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
2750         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
2751         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2752         (expand_builtin_memset): Likewise, but to clear_storage.
2753         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
2754         (restore_fixed_argument_area): Likewise.
2755         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
2756         (load_register_parameters): Likewise, to emit_group_load.
2757         (expand_call): Likewise, to emit_group_store and emit_block_move.
2758         (emit_library_call_value_1): Likewise, to emit_block_move.
2759         (store_one_arg): Likewise, and to emit_push_insn.
2760         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
2761         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2762         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
2763         (emit_block_move, emit_group_load, emit_group_store): Likewise.
2764         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
2765         (expand_assigment, store_expr, store_constructor_field): Likewise.
2766         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
2767         (store_constructor, store_field, get_inner_reference): Likewise.
2768         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
2769         (expand_expr, case COMPONENT_REF): Likewise.
2770         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
2771         and positions; reindent code.
2772         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
2773         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
2774         (assign_parms): Likewise to emit_group_store.
2775         * optabs.c (prepare_cmp_insn): Alignment is in bits.
2776         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
2777         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
2778         (expand_return): Likewise to {extract,store}_bit_field.
2779         * stor-layout.c (get_mode_alignment): Minor cleanup.
2780         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
2781         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
2782         
2783 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2785         * config/arm/arm.h: Undo effects of previous delta:
2786         (ASM_SPEC): Do not define.
2787         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
2789         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
2790         typo. 
2792 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2794         * cppinit.c (cpp_start_read): Call initialize_dependency_output
2795         only after reading in the primary source file.
2797 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
2799         * c-common.c (c_common_nodes_and_builtins): The first parameter to
2800         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
2801         or a reference to a va_list.
2802         * builtins.c (stabilize_va_list): Simplify now we don't have to
2803         work around C array address decay.
2804         * c-typeck.c (convert_for_assignment): Handle assignment to
2805         a reference parameter by taking the address of the RHS.
2806         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
2807         (va_copy): Likewise.
2808         (__va_copy): Likewise.
2809         * ginclude/varargs.h (va_start): Likewise.
2810         (__va_copy): Likewise.
2812 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
2814         * i386/djgpp.h: Remove extraneous "+".
2816         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
2818         * calls.c (expand_call): Fix typo in last change.
2820 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
2822         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
2823         been expanded.
2825 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2827         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
2828         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
2829         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
2830         * tree.c (bit_position, byte_position): Likewise.
2831         * tree.h: Declare new functions.
2833 2000-03-29  Nick Clifton  <nickc@cygnus.com>
2835         * config/arm/arm.c: Minor formatting changes/
2836         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2837         already defined.
2838         (ASM_SPEC): Define if not already defined.
2840 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
2842         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
2843         _cpp_calc_hash.
2845 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
2847         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
2848         value, don't output it as unsigned.
2850 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
2852         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
2854 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2856         * c-common.c (c_common_nodes_and_builtins): Don't special case
2857         cplus_mode when declaring builtin bzero/bcmp, always avoid
2858         prototype arguments.
2860 2000-03-29  Bruce Korb  <bkorb@gnu.org>
2862         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
2863         to a non-file
2865 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2867         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
2868         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
2869         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
2870         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
2871         (save_fixed_argument_area, restore_fixed_argument_area):
2872         conditionize by #ifdef REG_PARM_STACK_SPACE only.
2873         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
2874         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
2875         (precompute_register_parameters): Avoid #ifdefs on
2876         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
2877         (stire_one_args): Likewise.
2878         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
2879         (emit_library_call_value_1): Likewise.
2880         (compute_argument_block_size): Align to STACK_BOUNDARY only for
2881         ACCUMULATE_OUTGOING_ARGS.
2882         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
2883         value.
2884         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
2885         (use_crosses_set_p): Likewise.
2886         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
2887         #define ACCUMULATE_OUTGOING_ARGS 1.
2888         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
2889         frames.
2890         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
2891         constants.
2892         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
2893         (TARGET_SWITCHES): Add push-args, no-push-args,
2894         accumulate-outgoing-args and no-accumulate-outgoing-args.
2895         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
2896         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
2897         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
2898         and PUSH_ROUNDING.
2899         (emit_push_insn): Likewise.
2900         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2901         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
2902         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2903         (STACK_DYNAMIC_OFFSET): Define correctly for both
2904         ACCUMULATE_OUTGOING_ARGS and normal mode.
2905         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
2906         * tm.texi (PUSH_ARGS): Document.
2907         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
2909 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2911         * flags.h (flag_optimize_sibling_calls): Declare.
2912         * calls.c (expand_call): Fail sibcall when
2913         !flag_optimize_sibling_calls
2914         * invoke.texi (flag_optimize_sibling_calls): Document.
2915         * toplev.c (flag_optimize_sibling_calls): New global variable.
2916         (f_options): Add flag_optimize_sibling_calls.
2917         (rest_of_compilation): Conditionize
2918         optimize_sibling_and_tail_recursive_calls by
2919         flag_optimize_sibling_calls.
2920         (main): Set flag_optimize_sibling_calls for -O2.
2921         * stmt.c (expand_return): Conditionize tail recursion by
2922         flag_optimize_sibling_calls.
2924 2000-03-29  Richard Henderson  <rth@cygnus.com>
2926         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2927         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2929 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
2931         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
2933 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2935         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2936         is given.
2937         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2938         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2939         * config/rs6000/aix.h: then modified likewise.
2941 2000-03-28  Richard Henderson  <rth@cygnus.com>
2943         * rtl.h: Redistribute enum reg_note documentation. 
2944         Kill trailing whitespace.
2945         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2946         Kill trailing whitespace.
2948 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
2950         * cppfiles.c (hash_IHASH): Just return i->hash.
2951         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
2952         htab_find_with_hash.
2953         (cpp_read_file): Likewise.
2954         (find_include_file): Likewise.  Properly initialize
2955         ih->nshort.  Share ih->name and ih->nshort if possible.
2956         * cpphash.c (_cpp_calc_hash): New function.
2957         (hash_HASHNODE): Just return h->hash.
2958         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
2959         htab_find_with_hash.
2960         * cpphash.h: Prototype _cpp_calc_hash.
2961         * cppinit.c (initialize_builtins): Provide a valid hash
2962         to _cpp_make_hashnode, using _cpp_calc_hash.
2964         * cpphash.c (collect_expansion): # is not a special character
2965         in object-like macros.  In -traditional mode, /**/ is not
2966         token paste at the beginning or end of the line.
2967         * cpplib.c (do_include, do_import, do_include_next): If
2968         parse_include fails, return immediately.
2970 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
2972         * config/arm/arm.md (return peepholes): Update to reflect the new
2973         call insn patterns.
2974         * config/arm/arm.c (arm_volatile_func): Also check
2975         current_function_nothrow.
2976         (output_return_instruction, output_func_prologue): Use it.
2977         (arm_output_epilogue, arm_expand_prologue): Likewise.
2979 2000-03-27  Tom Tromey  <tromey@cygnus.com>
2981         * gcc.c (handle_braces): In {x*...} case, break out of loop if
2982         switch is found.
2984 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2986         * expr.c (store_constructor): SIZE now signed.
2987         For EXPR_SIZE, don't evaluate size; just needed if constant.
2988         * fold-const.c (fold): Fix a number of cases when folded tree is
2989         wrong type.
2990         * function.c (flush_addressof): Reenable.
2991         * tree.h (flush_addressof): Likewise.
2992         * toplev.c (independent_decode_option): Look at strings_processed.
2993         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2995 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
2997         * sibcall.c (indentify_call_return_value): Find last call in the chain;
2998         Allow stack adjustment after function call.
3000         * regmove.c (struct csa_memlist): Make mem field rtx *.
3001         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
3002         (try_apply_stack_adjustment): Replace whole MEM rtx.
3003         (combine_stack_adjustments_for_block): Update calls
3004         to record_one_stack_ref.
3006 2000-03-28  Neil Booth  <NeilB@earthling.net>
3008         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
3009         '\\' rather than a null character, so nulls are not special.  Fix
3010         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
3011         speed trigraph conversion.
3012         (_cpp_init_input_buffer): Initialize trigraph map.
3014 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
3016         * config/i386/i386.c (output_387_binary_op): Correct intel
3017         mode assembly output, and add spaces after commas in AT&T
3018         output.  Correct Unixware assembler comment.  Document input
3019         constraints.  Comment fp operations.  Reduce profligate buffer
3020         size.  Remove extraneous abort.  Localize temp var.
3021         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
3022         (output_fix_trunc): Add spaces after commas in assembly output.
3024 2000-03-27  Richard Henderson  <rth@cygnus.com>
3026         * i386-protos.h (ix86_match_ccmode): Declare.
3027         * i386.c (ix86_match_ccmode): New.
3028         (ix86_expand_fp_compare): Update for pattern renames.
3029         (ix86_expand_strlensi_unroll_1): Likewise.
3030         * i386.h (EXTRA_CC_MODES): Add CCZ.
3031         (SELECT_CC_MODE): Use it for EQ/NE zero.
3032         * i386.md (cmpsi_ccz_1): New.
3033         (cmpqi_ccz_1): New.
3034         (*testsi_ccz_1): New.
3035         (testqi_ccz_1): New.
3036         (cmpsi_ccno_1): Rename from cmpsi_0.
3037         (testsi_ccno_1): Rename from testsi_1.
3038         (testqi_ccno_1): Rename from testqi_1.
3039         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
3040         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
3041         (*cmphi_0): Use ix86_match_ccmode.
3042         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
3043         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
3044         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
3045         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
3046         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
3047         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
3048         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
3049         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
3050         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
3051         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
3052         (appropriate peepholes): Likewise.
3053         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
3054         (*subsi_3, *subhi_3, *subqi_3): Remove.
3055         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
3056         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
3057         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
3058         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
3059         (x86_shift_adj_1): Use CCZ.
3060         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
3062 2000-03-27  Stan Cox  <scox@cygnus.com> 
3064         * resource.h (mark_resource_type): New.
3065         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
3066         find_free_register): Use mark_resource_type.
3067         (mark_set_resources): Change include_delayed_effects
3068         to mark_resource_type.
3069         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
3070         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
3071         Use mark_resource_type.
3072         
3073 2000-03-27  Richard Henderson  <rth@cygnus.com>
3075         * i386.md (call_pop_0, call_value_pop_0): New.
3076         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
3077         (call_value_pop_1): Likewise.
3078         (call_0, call_value_0): New.
3079         (call_1, call_value_1): Remove constraint from unused arg.
3081 2000-03-27  Nick Clifton  <nickc@cygnus.com>
3083         * invoke.texi (Spec Files): Document new spec % command created by
3084         Tom Tromey's recent patch.
3086 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
3088         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
3089         if not defined.
3091 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3093         * expr.c (expand_assignment): Fix typo in last change.
3095         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
3097 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3099         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
3100         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
3101         and DECL_INLINE if FUNCTION_DECL.
3102         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
3103         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
3104         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
3105         (combine_parm_decls): Likewise.
3106         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
3107         * print-tree.c (print_node): Likewise.
3108         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
3109         DECL_TRANSPARENT_UNION on proper decl types.
3110         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
3111         * stor-layout.c (layout_decl): Only check DECL_PACKED and
3112         DECL_BIT_FIELD of FIELD_DECL.
3113         * tree.h (DECL_RESULT_FLD): New macro.
3114         
3115         * expr.c (expand_assignment): Add code to handle variable-sized
3116         BLKmode case.
3118 2000-03-26  Richard Henderson  <rth@cygnus.com>
3120         * calls.c (expand_call): Pass parms not original exp to
3121         optimize_tail_recursion.  Mind return value instead of looking
3122         for a barrier.
3123         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
3124         call_expr.  Move checks for call_expr and current_function_decl ...
3125         (expand_return): ... here.
3127 2000-03-26  Tom Tromey  <tromey@cygnus.com>
3129         * gcc.c (handle_braces): Recognize `%{<S}' construct.
3130         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
3131         defines.
3132         (process_command): Use them.
3133         (check_live_switch): Likewise.
3134         (give_switch): Skip ignored switches.
3136 2000-03-26  Jan Hubicka  <jh@suse.cz>
3138         * jump.c (jump_optimize_1): Fix typo in elide optimizations
3139         for minimal jump pass test.
3141 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
3143         * integrate.c (function_cannot_inline_p): Do inline functions that
3144         return `void'.
3146 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3148         * stor-layout.c (layout_type, set_sizetype): early_type_list is
3149         now a list of TREE_LIST entries, not types.
3150         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
3152         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
3153         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
3154         int_bit_position.
3155         * config/mips/mips.c (function_arg): Likewise; also remove cast
3156         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
3157         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
3158         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
3159         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
3160         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
3161         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
3162         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
3163         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
3164         num_adjusts now unsigned.
3165         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
3166         * config/sparc/sparc.c (struct function_arg_record_value_parms):
3167         NREGS now unsigned.
3168         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
3169         as is BITPOS variable; use host_integerp and int_bit_position.
3170         (function_arg_record_value_2): Likewise.
3171         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
3172         Variable REGNO now unsigned.
3173         (function_arg_record_value): NREGS now unsigned.
3175 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
3177         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
3179 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3181         * Rework fields used to describe positions of bitfields and
3182         modify sizes to be unsigned and use HOST_WIDE_INT.
3183         * alias.c (reg_known_value_size): Now unsigned.
3184         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
3185         (really_start_incremental_init): Use bitsize_zero_node.
3186         (push_init_level, pop_init_level, output_init_element): Likewise.
3187         Use bitsize_unit_node and bitsize_one_node.
3188         (output_pending_init_elements, process_init_element): Likewise.
3189         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
3190         (make_extraction): Position and length HOST_WIDE_INT and unsigned
3191         HOST_WIDE_INT, respectively.
3192         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
3193         (num_sign_bit_copies): Returns unsigned.
3194         BITWIDTH now unsigned; rework arithmetic.
3195         Remove recursive call from arg to MAX.
3196         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
3197         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
3198         REGNO now unsigned.
3199         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
3200         (find_split_point, expand_compound_operation, make_extraction): LEN
3201         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
3202         (make_field_assignment): Likewise.
3203         (combine_simplify_rtx): Add cast.
3204         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
3205         (force_to_mode): WIDTH now unsigned; add cast.
3206         (if_then_else_cond): SIZE now unsigned.
3207         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
3208         (extended_count): Now returns unsigned.
3209         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
3210         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
3211         (simplify_comparison): MODE_WIDTH now unsigned.
3212         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
3213         (mark_used_regs_combine): Likewise; rework arithmetic.
3214         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
3215         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
3216         (record_promoted_value): REGNO now unsigned.
3217         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
3218         (get_last_value): REGNO now unsigned.
3219         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
3220         (reg_dead_regno, reg_dead_endregno): Now unsigned.
3221         (remove_death): Arg REGNO now unsigned.
3222         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
3223         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
3224         now unsigned.
3225         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
3226         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
3227         (struct cse_reg_info): REGNO now unsigned.
3228         (cached_regno): Now unsigned.
3229         (REGNO_QTY_VALID_P): Add cast.
3230         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
3231         (remove_invalid_regs): Likewise.
3232         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
3233         as are variables END and I.
3234         (get_cse_reg_info, insert): Likewise.
3235         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
3236         (canon_hash): Likewise.
3237         (insert_regs, lookup_for_remove): REGNO now unsigned.
3238         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
3239         New variable RN.
3240         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
3241         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
3242         * emit-rtl.c (subreg_realpart_p): Add cast.
3243         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
3244         (operand_subword_force): Arg I is now unsigned.
3245         * except.c (eh_regs): Variable I is now unsigned.
3246         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
3247         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
3248         length is unsigned HOST_WIDE_INT; likewise for internal variables.
3249         (store_split_bit_field, extract_fixed_bit_field): Likewise.
3250         (extract_split_bit_field, store_bit_field, extract_bit_field):
3251         Likewise.
3252         * expr.c (store_constructor_fields, store_constructor, store_field):
3253         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
3254         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
3255         (do_jump): Likewise.
3256         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
3257         MAX_SIZE is now unsigned.
3258         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
3259         (emit_group_store): Likewise.
3260         (emit_move_insn): I now unsigned.
3261         (store_constructor): Use host_integerp, tree_low_cst, and
3262         bitsize_unit_node.
3263         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
3264         Rework all calculations to use trees and new fields.
3265         * expr.h (promoted_input_arg): Regno now unsigned.
3266         (store_bit_field, extract_bit_field): Adjust types of pos and size.
3267         (mark_seen_cases): Arg is HOST_WIDE_INT.
3268         * flow.c (verify_wide_reg_1): REGNO now unsigned.
3269         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
3270         precisions and alignments are unsigned.
3271         (optimize_bit_field_compare, fold_truthop): Likewise.
3272         (int_const_binop): Adjust threshold for size_int_type_wide call.
3273         (fold_convert): Likewise.
3274         (size_int_type_wide): Make table larger and fix thinko that only
3275         had half of table used.
3276         (all_ones_mask_p, fold): Precisions are unsigned.
3277         * function.c (put_reg_info_stack): REGNO is unsigned.
3278         (instantiate_decl): Size is HOST_WIDE_INT.
3279         (instantiate_virtual_regs): I is unsigned.
3280         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
3281         (promoted_input_arg): REGNO is unsigned.
3282         * function.h (struct function): x_max_parm_reg is now unsigned.
3283         * gcse.c (max_gcse_regno): Now unsigned.
3284         (struct null_pointer_info): min_reg and max_reg now unsigned.
3285         (lookup_set, next_set): REGNO arg now unsigned.
3286         (compute_hash_table): REGNO and I now unsigned.
3287         (handle_avail_expr): regnum_for_replacing now unsigned.
3288         (cprop_insn): REGNO now unsigned.
3289         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
3290         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
3291         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
3292         * hard-reg-set.h (reg_class_size): Now unsigned.
3293         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
3294         * jump.c (mark_modified_reg): I now unsigned; add cast.
3295         (rtx_equal_for_thread_p): Add cast.
3296         * loop.c (max_reg_before_loop): Now unsigned.
3297         (struct_movable): REGNO now unsigned.
3298         (try_copy_prop): REGNO arg unsigned.
3299         (regs_match_p): XN and YN now unsigned.
3300         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
3301         (strength_reduce): Likewise; NREGS also unsigned.
3302         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
3303         * loop.h (struct iv_class): REGNO now unsigned.
3304         (max_reg_before_loop, first_increment_giv, last_increment_giv):
3305         Now unsigned.
3306         * machmode.h (mode_size, mode_unit_size): Now unsigned.
3307         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
3308         * optabs.c (expand_binop): I and NWORDS now unsigned.
3309         (expand_unop): I now unsigned.
3310         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
3311         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
3312         * real.c (significand_size): Now returns unsigned.
3313         * real.h (significand_size): Likewise.
3314         * regclass.c (reg_class_size): Now unsigned.
3315         (choose_hard_reg_mode): Both operands now unsigned.
3316         (record_reg_classes): REGNO and NR now unsigned.
3317         (reg_scan): NREGS now unsigned.
3318         (reg_scan_update): old_max_regno now unsigned.
3319         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
3320         * reload.c (find_valid_class): BEST_SIZE now unsigned.
3321         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
3322         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
3323         Likewise for variable R.
3324         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
3325         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
3326         (find_equiv_reg): Add casts.
3327         (regno_clobbered_p): Arg REGNO now unsigned.
3328         * reload.h (struct reload): NREGS now unsigned.
3329         (refers_to_regno_for_reload_p): Regno args are unsigned.
3330         (regno_clobbered_p): Likewise.
3331         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
3332         (compute_use_by_pseudos): REGNO now unsigned.
3333         (find_reg): I and J now unsigned, new variable K, and change loop
3334         variables accordingly; THIS_NREGS now unsigned.
3335         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
3336         (spill_hard_reg): REGNO arg now unsigned; add casts.
3337         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
3338         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
3339         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
3340         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
3341         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
3342         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
3343         (emit_reload_insns): REGNO now unsigned.
3344         (reload_cse_move2add): Add cast.
3345         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
3346         and rework loop.
3347         * resource.c (mark_referenced_resources, mark_set_resources): New
3348         variable R; REGNO and LAST_REGNO now unsigned.
3349         (mark_target_live_regs): J and REGNO now unsigned.
3350         * rtl.c (mode_size, mode_unit_size): Now unsigned.
3351         * rtl.h (union rtunion_def): New field rtuint.
3352         (XCUINT): New macro.
3353         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
3354         (operand_subword, operand_subword_force): Word number is unsigned.
3355         (choose_hard_reg_mode): Operands are unsigned.
3356         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
3357         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
3358         (regno_use_in, combine_instructions, remove_death): Likewise.
3359         (reg_scan, reg_scan_update): Likewise.
3360         (extended_count): Return is unsigned.
3361         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
3362         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
3363         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
3364         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
3365         (reg_reg_last_1): FIRS and LAST now unsigned.
3366         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
3367         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
3368         now unsigned.
3369         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
3370         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
3371         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
3372         (replace_regs): Arg NREGS now unsigned.
3373         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
3374         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
3375         (simplify_binary_operation): Likewise.
3376         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
3377         THIS_LAST now unsigned.
3378         (cselib_record_set): Add cast.
3379         * ssa.c (ssa_max_reg_num): Now unsigned.
3380         (rename_block): REGNO now unsigned.
3381         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
3382         sizes now unsigned.
3383         (all_cases_count): Just return -1 not -2.
3384         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
3385         Rework tests to use trees whenever possible.
3386         Use host_integerp and tree_low_cst.
3387         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
3388         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
3389         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
3390         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
3391         (smallest_mode_for_size): Likewise.
3392         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
3393         KNOWN_ALIGN is now an alignment, so simplify code.
3394         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
3395         (start_record_layout): Renamed from new_record_layout_info.
3396         Update to new fields.
3397         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
3398         New functions.
3399         (place_union_field): Renamed from layout_union_field.
3400         Update to use new fields in rli.
3401         (place_field): Renamed from layout_field.
3402         Major rewrite to use new fields in rli; pass alignment to layout_decl.
3403         (finalize_record_size): Rework to use new fields in rli and handle
3404         union.
3405         (compute_record_mode): Rework to simplify and to use new DECL fields.
3406         (finalize_type_size): Make rounding more consistent.
3407         (finish_union_layout): Deleted.
3408         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
3409         (layout_type, case RECORD_TYPE): Call new function names.
3410         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
3411         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
3412         (get_best_mode): UNIT is now unsigned; remove casts.
3413         * tree.c (bit_position): Compute from new fields.
3414         (byte_position, int_byte_position): New functions.
3415         (print_type_hash_statistics): Cast to remove warning.
3416         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
3417         (build_index_type): Likewise; make subtype of sizetype.
3418         (build_index_2_type): Pass sizetype to build_range_type.
3419         (build_common_tree_nodes): Use size_int and bitsize_int to
3420         initialize nodes; add bitsize_{zero,one,unit}_node.
3421         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
3422         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
3423         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
3424         (DECL_FIELD_BITPOS): Deleted.
3425         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
3426         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
3427         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
3428         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
3429         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
3430         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
3431         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
3432         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
3433         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
3434         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
3435         (DECL_ALIGN): Adjust to new field in union.
3436         (DECL_OFFSET_ALIGN): New field.
3437         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
3438         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
3439         (union tree_decl): Add struct for both aligns.
3440         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
3441         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
3442         (struct record_layout_info): Rework fields to have offset
3443         alignment and byte and bit position.
3444         (start_record_layout, place_field): Renamed from old names.
3445         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
3446         (byte_position, int_byte_position): Likewise.
3447         (get_inner_reference): Change types of position and length.
3448         * unroll.c (unroll_loop): New variable R; use for some loops.
3449         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
3450         (calculate_giv_inc): Arg REGNO now unsigned.
3451         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
3452         * varasm.c (assemble_variable): Clean up handling of size using
3453         host_integerp and tree_low_cst.
3454         (decode_addr_const): Use byte, not bit, position.
3455         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
3456         use tree_low_cst and int_bit_position.
3457         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
3458         
3459 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
3461         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
3462         (reorder_block_def): New members eff_head and eff_end.
3463         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
3464         (verify_insn_chain): New function.
3465         (skip_insns_between_block): Add code to skip deleted insns.
3466         Check for note before using.
3467         (chain_reorder_blocks): Replace calls to skip_insns_between_block
3468         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
3469         Check for note before using.
3470         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
3471         (fixup_reorder_chain): Restructure, clean up, defect removal.
3472         (reorder_basic_blocks): Remove last_insn and references to it.
3473         Moved insn chain verification code into a new function (see above).
3474         Delete defective code that sets last insn.
3475         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
3476         all blocks.
3478 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3480         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
3482 2000-03-24  Richard Henderson  <rth@cygnus.com>
3484         * tree.c (lang_safe_for_unsave): Remove.
3485         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
3486         allowing for two levels of unsafeness.  Remove lang hook.
3487         * tree.h: Update declarations.
3488         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
3489         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
3490         Always fail sibcalls when there are pending cleanups.
3492 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
3494         * flow.c (propagate_block): When we delete an ADDR_VEC,
3495         also delete the BARRIER following it if there is one.
3497 2000-03-24  Richard Henderson  <rth@cygnus.com>
3499         * builtins.c (expand_builtin_bzero): Convert `length' argument
3500         to sizetype.
3502 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
3504         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
3505         comparison if regno's are equal.
3506         * calls.c (initialize_argument_informat): Add ecf_flags argument.
3507         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
3508         (expand_call): Update caller.
3509         Avoid making a sibling call if argument size of the callee is larger
3510         than argument size of the caller.
3511         Call hard_function_value with outgoing set if in sibcall pass.
3512         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
3514         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
3515         Change LEAF_REGISTERS from an array initializer to actual array
3516         identifier. Move static global variable into the function.
3517         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
3518         sequences for leaf functions.
3519         * global.c (global_alloc): Likewise.
3520         * tm.texi (LEAF_REGISTERS): Update documentation.
3522         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
3523         TARGET_FLAT leaf disabling hack.
3524         (LEAF_REGISTERS): Changed from an array initializer to actual array
3525         identifier to avoid duplication and remove the above hack.
3526         (FUNCTION_OK_FOR_SIBCALL): Define.
3527         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
3528         always like call attribute.
3529         (eligible_for_sibcall_delay): New attribute.
3530         (sibcall): New delay type.
3531         (sibcall, sibcall_value, sibcall_epilogue): New expands.
3532         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
3533         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
3534         * config/sparc/sparc.c (sparc_leaf_regs): New array.
3535         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
3536         New functions.
3537         (output_function_epilogue): Move part of the code into
3538         output_restore_regs.
3539         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
3540         TYPE_SIBCALL.
3541         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
3542         prototypes.
3544         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
3545         until infrastructure is finished.
3547 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
3549         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
3550         (save_parm_insns): Not here.
3552 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3554         * builtins.c (expand_builtin_bzero): New function.
3555         (expand_builtin): Handle bzero.
3557         * builtins.def: Add BUILT_IN_BZERO.
3559         * c-common.c (c_common_nodes_and_builtins): Provide builtin
3560         prototype & function for bzero.
3562 2000-03-23  Michael Meissner  <meissner@redhat.com>
3564         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
3565         change adding TARGET_FP to the TF floating point insns, except for
3566         trunctfsf2, which generates direct calls to truncdfsf2.
3568 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
3570         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
3571         try to protect against middle-end changes that break binary
3572         compatibility.
3573         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
3575 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3577         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
3579 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3581         * calls.c (expand_call): If TARGET is passed by reference and
3582         is readonly, write a CLOBBER.
3584 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3586         * builtins.c (expand_builtin): Handle bcmp.
3588         * builtins.def: Add BUILT_IN_BCMP.
3590         * c-common.c (c_common_nodes_and_builtins): Provide builtin
3591         prototype & function for bcmp.
3593 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
3595         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
3596         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
3597         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
3599 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
3601         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
3602         alternative when using -fp64 -gp32.
3604 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
3606         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
3607         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
3608         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
3610         * frame.h (frame_state): Revert last change.
3611         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
3612         * libgcc2.c (throw_helper): Revert last change.
3613         
3614 2000-03-22  Richard Henderson  <rth@cygnus.com>
3616         * stmt.c (expand_asm_operands): Don't promote the temporary.
3618 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3620         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
3621         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
3622           c_get_alias_set): Likewise.
3623         * c-decl.c (duplicate_decls): Likewise.
3624         * c-typeck.c (default_conversion,build_unary_op): Likewise.
3625         * calls.c (initialize_argument_information): Likewise.
3626         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
3627         Likewise.
3628         * dwarfout.c (decl_class_context,output_type): Likewise.
3629         * expr.c (get_inner_reference): Likewise.
3630         * fold-const.c (simple_operand_p,fold): Likewise.
3631         * function.c (aggregate_value_p): Likewise.
3632         * stmt.c (expand_asm_operands): Likewise.
3633         * varasm.c (named_section): Likewise.
3635 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
3637         Implement dwarf2 exception handling for the ARM.
3638         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
3639         (DWARF_FRAME_RETURN_COLUMN): Define.
3640         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
3641         REG_FRAME_RELATED_EXPR note.
3642         (emit_sfm): Likewise.
3643         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
3644         * dwarf2out.c (reg_save): Handle saving a register to itself.
3645         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
3646         * except.c (eh_regs): Don't use the static chain reg if it's
3647         callee-saved.
3648         * frame.h (frame_state): Add cfa_saved field.
3649         * frame.c (execute_cfa_insn): Set it.
3650         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
3651         the epilogue.
3652         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
3653         Now takes a parm.
3654         (instantiate_virtual_regs): Adjust.
3655         * tm.texi: Adjust.
3656         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
3657         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
3658         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
3660         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
3661         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
3663 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3665         * builtins.def: New file.
3667         * Makefile.in (TREE_H): Depend on builtins.def.
3669         * builtins.c (built_in_names): Use builtins.def.
3671         * tree.h (built_in_function): Likewise.
3673 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
3675         * tree.c (size_in_bytes): Return size_zero_node, not
3676         integer_zero_node.
3678 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
3680         * config/fp-bit.c (pack_d): Correct the case when a denormal
3681         is rounded up and stops being denormal.
3683 2000-03-21  Richard Henderson  <rth@cygnus.com>
3685         * config/alpha/alpha.c (function_arg): Check for void_type_node
3686         before using MUST_PASS_IN_STACK.
3688 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
3690         * regmove.c (combine_stack_adjustments_for_block): Check that
3691         the stack pointer is a valid memory address.
3693 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
3695         * calls.c: re-install Mar 16 emit_library_call merge.
3697 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
3699         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
3700         we cannot be sure that if reload_completed base register will
3701         be properly aligned.
3703 2000-03-21  Richard Henderson  <rth@cygnus.com>
3705         * flow.c (delete_block): Fix typo last change.
3707 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
3709         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
3710         not COMPLETE_TYPE_P, to check the type of the expression.
3712 2000-03-21  Michael Meissner  <meissner@redhat.com>
3714         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
3715         all floating point insns that just tested the macro
3716         TARGET_HAS_XFLOATING_LIBS.
3717         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
3718         used to only use the gprs.
3720 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
3722         * tree.h (COMPLETE_TYPE_P): New macro.
3723         (COMPLETE_OR_VOID_TYPE_P): New macro.
3724         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
3725         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
3726         * c-aux-info.c (gen_type): Use them.
3727         * c-common.c (c_expand_expr_stmt): Likewise.
3728         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
3729         grokdeclarator, grokparms, finish_struct, start_function,
3730         store_parm_decls, combine_parm_decls): Likewise.
3731         * c-parse.y (cast_expr): Likewise.
3732         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
3733         c_size_in_bytes, c_alignof, build_component_ref,
3734         build_indirect_ref, build_array_ref, convert_arguments,
3735         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
3736         * calls.c (initialize_argument_information): Likewise.
3737         * convert.c (convert_to_integer): Likewise.
3738         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
3739         * dwarfout.c (location_or_const_value_attribute,
3740         output_enumeration_type_die, output_structure_type_die,
3741         output_union_type_die, output_type): Likewise.
3742         * expr.c (safe_from_p, expand_expr): Likewise.
3743         * function.c (assign_parms): Likewise.
3744         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
3745         * tree.c (build_array_type, build_function_type,
3746         build_method_type, build_offset_type, build_complex_type): Likewise.
3747         * c-parse.c, c-parse.h: Regenerated.
3749 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3751         * config/c4x/rtems.h: Include config/rtems.h.
3753 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
3755         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
3756         decl is a FUNCTION_DECL
3758 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
3760         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
3761         function uses output registers.  Don't save RP for leaf functions.
3762         Do save RP even if no epilogue.
3763         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
3764         (CALL_USED_REGISTERS): Unmark in registers.
3765         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
3766         to near the middle.
3768 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3770         * config/rs6000/rs6000.md (bunordered): New expander.
3771         (bordered): New expander.
3772         (buneq): New expander.
3773         (bunge): New expander.
3774         (bungt): New expander.
3775         (bunle): New expander.
3776         (bunlt): New expander.
3777         (bltgt): New expander.
3779         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
3780         (ccr_bit_negated_p): New function.
3781         (print_operand): For %C, generate appropriate cror for UNEQ,
3782         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
3784 2000-03-20  Andreas Jaeger  <aj@suse.de>
3786         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
3787         warning.
3789         * tree.h (safe_for_unsave): Prototype.
3791 2000-03-20  Richard Henderson  <rth@cygnus.com>
3793         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
3794         (combine_stack_adjustments_for_block): Don't allow sp references
3795         in the side of a set we're not fixing up.
3796         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
3797         after life_analysis.
3799 2000-03-20  Richard Henderson  <rth@cygnus.com>
3801         * calls.c (expand_call): Don't bother generating tail call
3802         sequences if there are pending cleanups.  Use
3803         expand_start_target_temps/expand_end_target_temps to elide
3804         cleanups created during sibcall expansion.
3806 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
3808         * configure.in: Set $IFS to a value if it doesn't already have one
3809         in the --enable-checking handling.
3810         * configure: Regenerate.
3812 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3814         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
3815         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3816         Regenerated.
3818 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
3820         * jump.c (delete_noop_moves): Remove code attempting to
3821         combine stack adjustments.
3823 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3825         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
3826         * except.c (emit_cleanup_handler): Use them.
3827         (expand_end_all_catch): Likewise.
3828         * function.c (fixup_var_refs): Likewise.
3829         (expand_function_end): Clear catch_clauses_last.
3830         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
3831         * except.h (struct eh_status): New field x_catch_clauses_last.
3832         (catch_clauses_last): New define.
3834         * Makefile.in (tree.o): Depend on HASHTAB_H.
3835         * tree.c: Include hashtab.h.
3836         (struct type_hash): Remove next field.
3837         (TYPE_HASH_SIZE): Remove.
3838         (TYPE_HASH_INITIAL_SIZE): New define.
3839         (type_hash_table): Change type to htab_t.
3840         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
3841         mark_hash_entry): New functions.
3842         (init_obstacks): Allocate type hash.
3843         (type_hash_lookup): Use htab functions.
3844         (type_hash_add, mark_type_hash): Likewise.
3845         (dump_tree_statistics): Call print_type_hash_statistics.
3847 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3849         * rs6000/t-aix41: New file.
3851         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
3853 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
3855         * tm.texi (Driver): Fix typos and tweak entry for
3856         INCLUDE_DEFAULTS.
3857         Move misplaced STRUCT_FORCE_BLK entry ...
3858         (Storage Layout): ... to here.
3859         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
3861 2000-03-19  Richard Henderson  <rth@cygnus.com>
3863         * flow.c (delete_block): Delete the addr_vec along with the block.
3864         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
3865         reference labels.
3867         * fold-const.c (extract_muldiv): Apply type check for defined
3868         overflow to multiply as well as divide.
3870         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
3872 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3874         * emit-rtl.c (remove_unncessary_notes): Check that all
3875         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
3876         associated NOTE_BLOCK.
3877         * function.h (identify_blocks): Update comments.
3878         (reorder_blocks): Declare.
3879         * function.c (identify_blocks): Don't take paramters.
3880         (reorder_blocks): Don't take parameters.
3881         * loop.h (find_loop_tree_blocks): Remove.
3882         (unroll_block_trees): Likewise.
3883         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
3884         reorder_blocks instead of unroll_block_trees.h
3885         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
3886         * stmt.c (find_loop_tree_blocks): Remove.
3887         (unroll_block_trees): Likewise.
3888         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
3889         in whole-function mode.
3890         * tree.h (reorder_blocks): Remove declaration.
3892         * expr.c: Include intl.h.
3893         * Makefile.in (expr.o): Depend on intl.h.
3894         
3895 2000-03-18  Richard Henderson  <rth@cygnus.com>
3897         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
3899 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3901         * tree.h (tree_index): Remove enumerals for integer types.
3902         (integer_type_kind): New type.
3903         (integer_types): New variable.
3904         (char_type_node): Adjust.
3905         (signed_char_type_node): Likewise.
3906         (unsigned_char_type_node): Likewise.
3907         (short_integer_type_node): Likewise.
3908         (short_unsigned_type_node): Likewise.
3909         (integer_type_node): Likewise.
3910         (unsigned_type_node): Likewise.
3911         (long_integer_type_node): Likewise.
3912         (long_unsigned_type_node): Likewise.
3913         (long_long_integer_type_node): Likewise.
3914         (long_long_unsigned_type_node): Likewise.
3915         * tree.c (integer_types): New variable.
3916         (init_obstacks): Register it as a root.
3918 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
3920         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3921         NEXT_INSN. Update last insn in chain.
3923 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
3925         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3926         with TYPE_DECL_SUPPRESS_DEBUG set.
3928 2000-03-18  Richard Henderson  <rth@cygnus.com>
3930         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3932 2000-03-18  Richard Henderson  <rth@cygnus.com>
3934         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3935         care for HALF_PIC_P.
3936         (expander_call_insn_operand): Remove.
3937         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3938         * i386.h (PREDICATE_CODES): Update.
3939         * i386.md (all call expanders): Remove predicates, remove special
3940         handling for half-pic.
3941         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3942         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3943         (sibcall_epilogue): New.
3945 2000-03-17  Richard Henderson  <rth@cygnus.com>
3947         * rtlanal.c (single_set): Reject if the parallel has anything
3948         except SET or USE or CLOBBER.
3950 2000-03-17  Jeff Law  <law@cygnus.com>
3951             Richard Henderson  <rth@cygnus.com>
3953         * Makefile.in (OBJS): Add sibcall.o.
3954         (sibcall.o): New.
3955         * sibcall.c: New file.
3956         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3957         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3958         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3959         Emit sibcall patterns when requested.  Update all callers.
3960         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3961         elimination seems feasable.
3962         * final.c (leaf_function_p): Sibling calls don't discount being
3963         a leaf function.
3964         * flow.c (HAVE_sibcall_epilogue): Provide default.
3965         (find_basic_blocks_1): Sibling calls don't throw.
3966         (make_edges): Make edge from sibling call to EXIT.
3967         (propagate_block): Don't remove sibcall_epilogue insns.
3968         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
3969         (sibcall_epilogue): New.
3970         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3971         (identify_blocks_1): Likewise.  Break out from ...
3972         (identify_blocks): ... here.
3973         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
3974         (reorder_blocks): ... here.
3975         (init_function_for_compilation): Zap prologue/epilogue as varrays.
3976         (record_insns): Extend a varray instead of mallocing new memory.
3977         (contains): Read a varray not array of ints.
3978         (sibcall_epilogue_contains): New.
3979         (thread_prologue_and_epilogue_insns): Emit and record
3980         sibcall_epilogue patterns.
3981         (init_function_once): Allocate prologue/epilogue varrays.
3982         * genflags.c (gen_insn): Treat sibcall patterns as calls.
3983         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3984         Broken out from ...
3985         (save_for_inline_nocopy): ... here.
3986         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
3987         Broken out from ...
3988         (expand_inline_function): ... here.
3989         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3990         (subst_constants): Handle 'n' formats.
3991         * jump.c (jump_optimize_minimal): New.
3992         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
3993         optimizations if it's set.
3994         * rtl.c (copy_rtx): Do copy jump & call for insns.
3995         * rtl.h (struct rtx_def): Document use of jump and call for insns.
3996         (SIBLING_CALL_P): New.
3997         (sibcall_use_t): New.
3998         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3999         Invoke optimize_sibling_and_tail_recursive_calls.
4000         * tree.c (lang_safe_for_unsave): New.
4001         (safe_for_unsave): New.
4002         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
4004         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
4005         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
4006         (*sibcall_osf_1, *sibcall_value_osf_1): New.
4008 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
4010         * objc/objc-act.c (encode_method_prototype): Pass types, not
4011         PARM_DECLs, to int_size_in_bytes.
4013 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
4015         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
4017         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4018         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
4020 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4022         * Clean up usages of TREE_INT_CST_LOW.
4023         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
4024         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4025         Regenerated.
4026         * c-tree.h (min_precision): Move declaration to here.
4027         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
4028         (build_unary_op, add_pending_init): Use bit_position.
4029         (pending_init_member, process_init_element): Likewise.
4030         (really_start_incremental_init, push_init_level, pop_init_level):
4031         Don't make copies of nodes or modify them in place, use consistent
4032         types when tracking positions, and use tree routines computations.
4033         (set_init_index, output_init_element): Likewise.
4034         (output_pending_init_elements, process_init_element): Likewise.
4035         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
4036         tree_low_cst and int_bit_position; also minor cleanup.
4037         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
4038         (print_cst_octal): Precision is unsigned.
4039         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
4040         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
4041         (simple_type_align_in_bits): Result is unsigned int.
4042         Use tree_int_low_cst and host_integerp.
4043         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
4044         (field_byte_offset): Result is HOST_WIDE_INT.
4045         Change types of internal variables so alignments are unsigned int,
4046         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
4047         Use host_integerp, tree_low_cst, and int_bit_position.
4048         (add_bit_offset_attribute): Likewise.
4049         (add_data_member_location_attribute): Use tree_cst_low.
4050         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
4051         (add_bit_size_attribute): Use tree_low_cst.
4052         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
4053         * dwarfout.c: Similar changes to dwarf2out.c.
4054         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
4055         * genoutput.c (n_occurences): Return -1 for null string.
4056         (strip_whitespace): Accept null string and make into function.
4057         (scan_operands): Reflect above changes.
4058         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
4059         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
4060         * ssa.c (rename_registers): Add missing cast of arg to bzero.
4061         * tree.c (int_size_in_bytes): Check for too big to represent.
4062         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
4063         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
4064         New declarations.
4065         (min_precision): Delete from here.
4066         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
4067         and int_bit_position.
4068         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
4069         (encode_method_def): Likewise.
4070         (build_ivar_list_initializer): Use int_bit_position.
4071         (generate_shared_structures): Convert size.
4072         (encode_type, encode_complete_bitfield): Use integer_zerop.
4073         (encode_bitfield): Use tree_low_cst and int_bit_position.
4074         
4075 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4077         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
4079 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4081         * call.c (special_function_p): It is only malloc if it returns
4082         Pmode.
4084 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4086         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
4087         (C33_FLAG, TARGET_C3X): Add macros.
4088         (TARGET_SWITCHES): Add -m33 option.
4089         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
4090         
4091 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4092         
4093         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
4094         (PARALLEL_PACK_FLAG): Delete.
4095         (TARGET_SWITCHES): Update.
4096         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
4098 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4100         * fold-const.c (fold): Fix a few cases when the returned result
4101         is not of the same type as the input.
4103 2000-03-16  Nick Clifton  <nickc@cygnus.com>
4105         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
4106         warning.
4108 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4110         * libgcc2.h: Move prototypes above macros with the same name.
4111         Wrap some function prototypes in the conditional which indicates
4112         whether they are supported, i.e. "BITS_PER_UNIT == 8".
4114 2000-03-16  Richard Henderson  <rth@cygnus.com>
4116         * calls.c: Revert last two changes.
4118 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
4120         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
4121         has exponent 0 is a zero.
4123         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
4124         HASH may already be nonzero.  Add code/mode into hash value
4125         immediately after repeat label.
4126         (cselib_lookup): Don't leave the hash table in an inconsistent
4127         state before a hash lookup operation.
4129 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
4131         * i386.md (all HI and QI mode non-move patterns):  Conditionize
4132         by TARGET_[HQ]IMODE_MATH.
4133         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
4134         x86_promote_qi_regs): Declare.
4135         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
4136         TARGET_PROMOTE_QI_REGS): New macros.
4137         (PROMOTE_MODE): New macro.
4138         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
4139         x86_promote_qi_regs): New global variables.
4141 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
4143         * calls.c (emit_library_call_value_1): Break out from ...; handle
4144         VOIDmode function calls too.
4145         (emit_library_call_value): ... here.
4146         (emit_library_call): Implement by calling emit_library_call_value_1.
4148 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
4150         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
4151         Update arg_space_so_far on stack adjustments.
4152         (emit_library_call, emit_library_call_value): Likewise; take into
4153         account arg_space_so_far and pending_stack_adjust when calculcating
4154         the boundary.
4156 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
4158         * flow.c: Move all basic block reordering code into its own file.
4159         (create_basic_block): Externalize.
4160         * bb-reorder.c: New file. Copy all basic block reordering code from
4161         flow.c to this file.
4162         (reorder_basic_blocks): Fix fencepost error in for-loop.
4163         (reorder_basic_blocks): Remove braces from single statement for-loops.
4164         * basic-block.h: Add declaration for create_basic_block.
4165         * Makefile.in: Add rules for bb-reorder.o.
4167 2000-03-16  Neil Booth  <NeilB@earthling.net>
4169         * cppinit.c (handle_option):  Implement #unassert directive
4170         as -A- command line option.
4171         (print_help):  Update.
4172         * cpptexi.c:  Update.
4174 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4176         * md.texi (Standard Names): Document `jump'.
4178 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
4180         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
4181         gotos.
4183 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
4185         Merge changes from newppc-branch onto trunk.
4187         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
4189         * rs6000.c (toc_hash_table): Update for new hash table functions.
4190         (toc_hash_function): Likewise.
4191         (toc_hash_eq): Likewise.
4192         (toc_hash_mark_entry): Likewise.
4193         (toc_hash_mark_table): Likewise.
4194         (output_toc): Likewise.
4195         (rs6000_add_gc_roots): Likewise.
4197         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4199         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
4200         (AR_FLAGS_FOR_TARGET): here.  New macro.
4202         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
4204         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
4205         fpmem_operand) Delete.
4206         (xer_operand) New.
4207         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
4208         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
4209         (rs6000_save_machine_status, rs6000_restore_machine_status, 
4210         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
4211         references to above variables.
4212         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
4213         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
4214         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
4215         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
4216         (XER_REGNO_P, XER_REGNO): New.
4217         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
4218         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
4219         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
4220         XER_REGNO_P.
4221         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
4222         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
4223         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
4224         
4225         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4227         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
4228         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
4229         * rs6000.h: from here.
4231         * rs6000-protos.h (rs6000_select_section): Provide prototype.
4232         (rs6000_select_rtx_section): Likewise.
4233         (rs6000_encode_section_info): Likewise.
4234         (sdata_section): Likewise.
4235         (sdata2_section): Likewise.
4236         (sbss_section): Likewise.
4237         * sysv4.h (rs6000_select_section): Delete prototype.
4238         (rs6000_select_rtx_section): Likewise.
4239         (rs6000_encode_section_info): Likewise.
4240         (sdata_section): Likewise.
4241         (sdata2_section): Likewise.
4242         (sbss_section): Likewise.
4243         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
4245         * sysv4.h: Delete various unnecessary #undef's and put a comment
4246         on the remaining ones.
4247         Change various comments according to coding standard.
4249         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
4251         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
4252         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
4253         (CR0_REGNO_P) Remove.
4254         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
4255         setup_incoming_varargs, mtcrf_operation, print_operand, 
4256         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
4257         Use the above macros.
4259         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
4261         * config/rs6000/rs6000.md: Added a new alternative for each
4262         pattern that had a 'x' alternative but no 'y' alternative.
4263         Added a new split for each of the above patterns.
4265         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
4267         * aix41.h (ASM_CPU_SPEC): Delete.
4268         (CPP_CPU_SPEC): Delete.
4270         * aix.h (RS6000_OUTPUT_BASENAME): Define.
4271         (ASM_OUTPUT_LABEL): Define.
4272         (ASM_GLOBALIZE_LABEL): Define.
4273         (STRIP_NAME_ENCODING): Define.
4274         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
4275         (STRIP_NAME_ENCODING): Don't define.
4276         (ASM_OUTPUT_LABEL): Don't define.
4277         (ASM_GLOBALIZE_LABEL): Don't define.
4278         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
4279         names, and ASM_OUTPUT_LABEL to output labels, rather than
4280         asm_fprintf.
4281         (ASM_OUTPUT_LABEL): Define.
4282         (ASM_OUTPUT_INT): Use assemble_name.
4283         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
4284         (STRIP_NAME_ENCODING): Don't undefine first.
4285         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
4286         ELF.
4287         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
4288         specified with 'asm' even with -fleading-underscore.
4289         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
4290         (output_epilog): Likewise.
4291         (output_toc): Likewise. 
4292         * tramp.asm: Handle -fleading-underscore correctly.
4294         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
4295         -mminimal-toc.
4296         (nonlocal_goto_receiver): Delete.
4297         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
4299         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
4300         (SET_ASM_OP): Define.
4301         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
4303         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
4304         (ASM_LONG): Define.
4306         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
4307         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
4309         * rs6000.h: Add 'u' to more constants.
4311         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
4313         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
4315         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
4317         * rs6000.c (reg_or_u_cint_operand): New function.
4318         (logical_operand): Handle 64-bit hosts.
4319         (logical_u_operand): New function.
4320         (non_logical_cint_operand): Handle 64-bit hosts.
4321         (non_logical_u_cint_operand): New function.
4322         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
4323         (PREDICATE_CODES): Define new functions.
4324         * rs6000-protos.h: Declare new functions.
4325         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
4326         (movdi_64): Bracket code intended for 64-bit hosts.  Create
4327         CONST_DOUBLE for 32-bit values.
4328         (scc insns): Generate DImode compares.
4329         (mfcr insns): Create DImode versions.
4330         (sge matchers): New patterns.
4331         
4332         2000-02-15  Gabriel Paubert  <paubert@iram.es>
4334         * rs6000.md: Correct instructions length attributes and
4335         constraints on unsigned compare instructions.
4336         (*ne0): Disable for PowerPC64.
4338         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
4340         * rs6000.c (output_function_profiler): Use .long for a 32-bit
4341         quantity, fix profile1.C test failure under -fPIC.
4343         * rs6000.c: Add 'u' to many constants to suppress warnings.
4344         (constant_pool_expr_1): Make static.
4345         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
4346         * rs6000.h: Add 'u' to many constants to suppress warnings.
4348         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
4349         for the start of the TOC, instead of LCTOC..0.
4350         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
4351         of the TOC.
4352         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
4353         (load_toc_aix_di): Use LCTOC..1.
4355         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
4356         * rs6000.c (rs6000_legitimize_address): New function from
4357         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
4358         symbols in the constant pool that really are TOC references.
4359         (print_operand_address): For ELF, write TOC offsets under
4360         -fPIC as subtractions in the insn.
4361         (output_toc): For ELF, define symbols in TOC as normal labels,
4362         to match RTL.
4363         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
4364         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
4365         (create_TOC_reference): Prototype only when RTX_CODE is defined.
4366         * rs6000.md (movsi): Only use create_TOC_reference on
4367         symbols in the constant pool that really are TOC references.
4369         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
4370         * rs6000.c (rs6000_reorg): Delete.
4371         * rs6000-protos.h (rs6000_reorg): Delete.
4373         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
4375         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
4377         * aix.h (SETUP_FRAME_ADDRESSES): Define.
4378         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
4379         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
4380         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
4381         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
4382         rs6000_aix_emit_builtin_unwind_init.
4383         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
4384         rs6000_emit_eh_toc_restore on AIX.
4385         (return_eh_si): Use r2.
4386         (return_eh_di): Use r2.
4388         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
4389         since we're breaking binary compatibility anyway.
4391         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
4393         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
4394         constant_pool_expr_p): Declare them.
4395         (constant_pool_expr_p): Declare it.
4396         * config/rs6000/rs6000.c (toc_label_name): Define.
4397         (rs6000_override_options): Set toc_label_name.
4398         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
4399         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
4400         uses_TOC): New functions.
4401         (print_operand): Delete old '*' case.
4402         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
4403         and strip off rtl for TOC before calling output_addr_const.
4404         (rs6000_emit_load_toc_table): Use toc_label_name.
4405         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
4406         the default.
4407         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
4408         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
4409         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
4410         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
4411         into explicit TOC_REGISTER offsets.
4412         (TOC_REGISTER): New macro.
4413         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
4414         TARGET_TOC to reference TOC_REGISTER.
4415         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
4416         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
4417         uses_TOC before emitting label references.
4419         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
4421         * rs6000.md (stack_tie): Fix warning.
4423         * eabi-ctors.c: Use 'asm' names for the start/end variables,
4424         to handle -fleading-underscore.
4425         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
4426         (USER_LABEL_PREFIX): New macro.
4427         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
4428         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
4429         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
4430         call-linux can use the same multilibs.
4431         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
4432         and call-linux multilibs.  Do multilib with -fleading-underscore.
4433         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
4434         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
4435         to call-aix.
4437         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
4438         have MASK_SOFT_FLOAT set.
4439         (CPP_FLOAT_DEFAULT_SPEC): New macro.
4440         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
4441         CPP_FLOAT_DEFAULT_SPEC.
4443         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
4444         * rs6000.md: Whitespace change.
4445         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
4446         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
4448         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
4450         * rs6000.md (eh_epilogue): New expander.
4451         (eh_reg_restore): New expand/split/insn combination.
4452         (return_eh_si): New insn.
4453         (return_eh_di): New insn.
4455         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
4456         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
4457         * eabi-ctors.c (__do_global_ctors): Register this object's
4458         frame.  Clean up.  Call atexit() after the constructors.
4459         (__do_global_dtors): Deregister this object's frame.  Clean up.
4460         Allow for recursive calls to exit().
4461         * rs6000.c (fixuplabelno): New variable.
4462         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
4463         TARGET_RELOCATABLE, it slows down exec() under linux.
4464         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
4466         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
4467         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
4468         (ASM_OUTPUT_DWARF_DELTA2): New macro.
4469         (ASM_OUTPUT_DWARF_DELTA4): New macro.
4470         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
4471         (ASM_OUTPUT_DWARF_ADDR): New macro.
4472         (ASM_OUTPUT_DWARF_DATA4): New macro.
4473         (ASM_OUTPUT_DWARF_DATA2): New macro.
4474         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
4475         (ASM_OUTPUT_DWARF_OFFSET): New macro.
4476         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
4478         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
4480         * rs6000.c (rs6000_sr_alias_set): New variable.
4481         (rs6000_override_options): Initialise rs6000_sr_alias_set.
4482         (rs6000_emit_stack_tie): New function.
4483         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
4484         in a way that dwarf2out can understand.
4485         (rs6000_frame_related): New function.
4486         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
4487         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
4488         Use rs6000_emit_stack_tie when needed.
4489         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
4490         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
4491         * rs6000.md (stack_tie): New insn.
4492         (return_internal_si): Allow return value to be in the count
4493         register.
4494         (return_internal_di): Likewise.
4496         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
4498         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
4500         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
4502         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
4504         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
4506         * rs6000.md (stmw): Use the right POWER opcode.
4507         (lmw): Likewise.
4509         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4511         * rs6000-protos.h: New file.
4513         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
4514         
4515         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
4516         warnings.
4517         
4518         * sysv4.h: Likewise.
4520         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
4522         * ../../configure.in: Delete powerpcle-*-winnt*
4523         and powerpcle-*-pe|powerpcle-*-cygwin*.
4524         * ../../configure: Regenerated.
4525         * cygwin.h: Delete.
4526         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
4527         (TARGET_WINDOWS_NT): Delete.
4528         (ABI_NT): Delete.
4529         (CALL_NT_DLLIMPORT): Delete.
4530         Delete NT-specific code.
4531         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
4532         * win-nt.h: Delete.
4533         * t-winnt: Delete.
4534         * nt-ci.asm: Delete.
4535         * nt-cn.asm: Delete.
4536         * ntstack.asm: Delete.
4538         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4540         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
4541         (ASM_FILE_START): Likewise.
4542         (ASM_DECLARE_FUNCTION_NAME): Likewise.
4543         (ASM_OUTPUT_LABELREF): Likewise.
4544         (ASM_OUTPUT_SKIP): Likewise.
4545         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
4546         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4547         (ASM_OUTPUT_CASE_LABEL): Likewise.
4548         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4549         (ASM_OUTPUT_ASCII): Likewise.
4551         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
4553         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
4554         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
4555         increment rs6000_pic_labelno here.
4556         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
4557         and increment rs6000_pic_labelno here.
4559         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
4561         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
4562         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
4563         allocation knows (reg) is dead before the insn.
4565         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
4567         * rs6000.md (movsi_to_cr): Correct typo in output template.
4569         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
4571         * rs6000.c (rs6000_pic_labelno): Always define.
4572         (rs6000_pic_func_labelno): Delete.
4573         (lmw_operation): Check for a zero base register,
4574         which doesn't mean what we want.
4575         (stmw_operation): New function.
4576         (print_operand): Define new 'l' modifier.
4577         (rs6000_stack_info): We must save all 64 bits of the registers
4578         if TARGET_POWERPC64.
4579         (rs6000_output_load_toc_table): Delete.
4580         (rs6000_emit_load_toc_table): New function.
4581         (rs6000_allocate_stack_space): Delete.
4582         (rs6000_emit_allocate_stack): New function.
4583         (rs6000_emit_prologue): New function.
4584         (output_prolog): Use rs6000_emit_prologue.
4585         (rs6000_emit_epilogue): Change a few variable names to be
4586         more accurate.  Restore all 64 bits of the registers if
4587         TARGET_POWERPC64.  Only restore the FP registers which were used
4588         if they are being saved/restored one-at-a-time.
4589         (output_mi_thunk): Delete inefficient code generation.
4590         (output_function_profiler): Don't use rs6000_output_load_toc_table.
4591         * rs6000.h: Declare rs6000_emit_load_toc_table,
4592         rs6000_allocate_stack_space, stmw_operation.  Don't declare
4593         rs6000_output_load_toc_table.
4594         * rs6000.md (elf_high): Allow register 0, but discourage it
4595         heavily.
4596         (elf_low): Support loading into register 0.
4597         (load_toc_aix_si): New pattern.
4598         (load_toc_aix_di): New pattern.
4599         (load_toc_v4_pic_si): New pattern.
4600         (load_toc_v4_pic_di): New pattern.
4601         (load_toc_v4_PIC_1): New pattern.
4602         (load_toc_v4_PIC_1b): New pattern.
4603         (load_toc_v4_PIC_2): New pattern.
4604         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
4605         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
4606         (prologue): New expander.
4607         (movesi_from_cr): New pattern.
4608         (stmw): New pattern.
4609         (save_fpregs_si): New pattern.
4610         (save_fpregs_di): New pattern.
4612         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4614         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
4615         (movdi): Likewise.
4616         (movhi): Likewise.
4617         (movqi): Likewise.
4619         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4621         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
4622         at present.
4623         (movsi_got_internal): Likewise.
4624         (movsi_got_internal+1): Likewise.
4625         (set_sp): 'unspec 7' does a SImode clobber.
4627         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4629         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
4630         allocate a stack temporary.
4631         (floatsidf2_internal): Likewise.
4632         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
4633         with unspec.
4634         (floatunssidf2): Don't use the fpmem "register", just
4635         allocate a stack temporary.
4636         (floatunssidf2_internal): Likewise.
4637         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
4638         with unspec.
4639         (floatsidf2_loadaddr): Delete.
4640         (floatsidf2_store1): Delete.
4641         (floatsidf2_store2): Delete.
4642         (floatsidf2_load): Delete.
4643         (fix_truncdfsi2): Don't use the fpmem "register", just
4644         allocate a stack temporary.
4645         (fix_truncdfsi2_internal_si): Delete.
4646         (fix_truncdfsi2_internal_di): Delete.
4647         (fix_truncdfsi2_internal): New insn.
4648         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
4649         (fix_truncdfsi2_store): Delete.
4650         (fix_truncdfsi2_load): Delete.
4651         (fctiwz): Produce gen_fctiwz.
4653         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
4655         * eabi.h (INVOKE__main): Define.
4656         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
4657         specially.
4658         (rs6000_emit_prologue): Likewise.
4659         * rs6000.h (struct rs6000_stack): Don't keep track of whether
4660         this is the main program.
4662         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4664         * rs6000.c (rs6000_va_arg): Delete some unused variables.
4666         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4668         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
4669         goes after the argument.
4671         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4673         * rs6000.md: Document 'unspec' values used.
4674         (epilogue): New expander.
4675         (movesi_to_cr_one): New expander.
4676         (movesi_to_cr and following): New pattern.
4677         (lmw): New pattern.
4678         (return_internal_si): New pattern.
4679         (return_internal_di): New pattern.
4680         (return_and_restore_fpregs_si): New pattern.
4681         (return_and_restore_fpregs_di): New pattern.
4682         * rs6000.h: Declare new functions.
4683         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
4684         rather than rs6000_calls_p.
4685         (rs6000_makes_calls): Delete.
4686         (lmw_operation): New function.
4687         (mtcrf_operation): New function.
4688         (rs6000_emit_epilogue): New function.
4689         (output_epilog): Call rs6000_emit_epilogue and final if
4690         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
4692         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4694         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
4695         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
4696         * aix.h (SUBTARGET_SWITCHES): Document switches.
4697         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
4698         sched-prolog and sched-epilog the same.  Document all the
4699         switches.
4700         (TARGET_OPTIONS): No longer allow -mdebug-.
4702         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
4704         * rs6000.h (ASM_FILE_END): Move to aix.h.
4705         (EXTRA_SECTIONS): Move to aix.h.
4706         (READONLY_DATA_SECTION): Move to aix.h.
4707         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
4708         (SELECT_SECTION): Move to aix.h.
4709         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
4710         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
4711         (LINK_REGISTER_REGNUM): New definition.
4712         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
4713         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
4714         AIX and SVR4.
4715         * sysv4.h: Delete the code between the inclusion of rs6000.h
4716         and svr4.h.
4717         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
4718         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
4719         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
4720         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
4721         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
4722         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
4723         (fix_truncdfsi2_internal_di): New pattern.
4724         (fix_truncdfsi2_store): The second arg here is Pmode too.
4725         (fix_truncdfsi2_load): The second arg here is Pmode too.
4726         (tablejumpdi): Now that switch tables hold only SImode values,
4727         gcc needs to know how to add them to the pc which is DImode.
4728         * rs6000.c (rs6000_stack_info): Use symbolic name for 
4729         LINK_REGISTER_REGNUM.
4730         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
4731         (output_toc): Delete unused variables s1 and s2.
4732         (output_ascii): Use fputs not fprintf on a variable string.
4734         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
4736         * rs6000.c (processor_target_table): Add power3 as alias for 630.
4737         * aix43.h: Revert Aug 2 change.
4738         (HAS_INIT_SECTION): Define, not visible yet.
4739         (LD_INIT_SWITCH): Define, not visible yet.
4740         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
4742         2000-01-04  Joel Sherrill (joel@OARcorp.com>
4744         * config/rs6000/rtems.h: Include config/rtems.h.
4746         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
4748         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
4749         (SLOW_UNALIGNED_ACCESS): Define.
4750         (CASE_VECTOR_MODE): Always use 32-bit offsets.
4751         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
4752         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
4753         (toc_section): Likewise and .toc pseudo-op.
4754         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
4755         64-bit mode.
4756         (TEXT_SECTION_ASM_OP): Likewise.
4757         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
4758         32-bit offsets.
4760         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
4762         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
4763         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
4764         compiling libgcc2.
4765         
4766         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4768         * rs6000.h: Move more stuff from here...
4769         * aix.h: to here.
4770         * sysv4.h: Cleanup accordingly.
4771         * netware.h: Likewise
4773         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4775         * rs6000.h: Continue cleanup.
4776         * aix.h: Likewise.
4777         * lynx.h: Likewise.
4778         * netware.h: Likewise.
4779         * sol2.h: Likewise.
4780         * sysv4.h: Likewise.
4781         * win-nt.h: Likewise.
4783         * rs6000.h (TARGET_SWITCHES): Add descriptions.
4784         (TARGET_OPTIONS): Likewise.
4786         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
4787         (SUBTARGET_OPTIONS): Likewise.
4789         * rs6000.md: Fix compile time warnings.
4791         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4793         vxworks patches from the Cygnus tree originally by
4794         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
4795         <vmakarov@cygnus.com>.
4796         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
4797         (ENDFILE_SPEC): Likewise.
4798         (LIB_VXWORKS_SPEC): New macro.
4799         (STARTFILE_VXWORKS_SPEC): New macro.
4800         (ENDFILE_VXWORKS_SPEC): New macro.
4801         (LINK_START_VXWORKS_SPEC): New macro.
4802         (LINK_OS_VXWORKS_SPEC): New macro.
4803         (CPP_OS_VXWORKS_SPEC): New macro.
4804         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
4805         * vxppc.h: Rewrite to use proper configuration method.
4806         * vxppcle.h: New file.
4807         * ../../configure.in: Add powerpcle-wrs-vxworks*.
4808         * ../../configure: Rebuilt.
4810         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4812         Lots of changes to rs6000.h, sysv4.h, aix.h,
4813         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
4814         with the aim that rs6000.h is the first header
4815         included and the others override it.
4816         * aix.h: New file.
4818         * x-aix41-gld: Remove.  
4819         * x-aix43: Remove.
4820         * x-aix41: Remove target-specific switches, and don't specify
4821         -Wl,-bbigtoc as we don't need it any more.
4822         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
4823         Use t-aix43 for AIX 4.3 and above.
4824         * ../../configure: Regenerated.
4826         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
4827         options, that don't do anything yet.
4828         (MASK_SCHED_PROLOG): New macro.
4829         (MASK_SCHED_EPILOG): New macro.
4830         (TARGET_SCHED_PROLOG): New macro.
4831         (TARGET_SCHED_EPILOG): New macro.
4833         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
4835         * rs6000.c: Correct comment, the `minimal' TOCs are actually
4836         one per translation unit, not one per function.
4837         (output_toc): Also do duplicate constant elimination
4838         for per-translation-unit TOCs.
4840         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
4841         a comment explaining _exactly_ when this pattern gets used.
4842         (builtin_setjmp_receiver): New pattern for better clarity.
4843         (init_v4_pic): Move it into a section dealing with TOC registers.
4845         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
4847         * rs6000.c (toc_hash_table): New variable.
4848         (rs6000_hash_constant): New function.
4849         (toc_hash_function): New function.
4850         (toc_hash_eq): New function.
4851         (toc_hash_mark_entry): New function.
4852         (toc_hash_mark_table): New function.
4853         (output_toc): Don't output duplicate TOC entries in
4854         a single file.
4855         (rs6000_add_gc_roots): Add the hash table as a GC root.
4856         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
4857         where they clearly shouldn't be.  This may need to be fixed
4858         later when there is a GNU ar for AIX.
4859         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
4860         Don't define BOOT_LDFLAGS as it is now not necessary.
4862         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
4864         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
4865         for va_list on AIX.  Use unsigned_char_type_node rather than
4866         constructing our own version on svr4.
4868         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
4870         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
4871         since patently it's not.
4873         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
4875         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
4876         define_expand/define_insn pair, and handle restore of the
4877         SVR4 -fpic register.
4879 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
4881         * acconfig.h (HAVE_GAS_WEAK): New define.
4882         * configure.in (assembler weak support): Check for .weak support.
4883         * config.in, configure: Rebuilt.
4884         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
4885         HAVE_GAS_WEAK is defined.
4887 2000-03-15  Nick Clifton  <nickc@cygnus.com>
4889         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
4890         asm_fprintf().
4892 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
4894         * cppfiles.c (open_include_file): New function.
4895         (find_include_file, cpp_read_file): Use it.
4897 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
4899         * cpphash.c (dump_hash_helper): Take the slot, not the element.
4901 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
4903         * flow.c (verify_flow_info): Check for unconditional return.
4905 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
4907         * config/ia64/ia64.md (restore_stack_nonlocal): New.
4908         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
4909         (__ia64_restore_stack_nonlocal): New.
4910         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
4912 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4914         * cpphash.c (collect_formal_parameters): Do not complain about
4915         parameter names that just start with `__VA_ARGS__'.
4917 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
4919         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4920         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4921         * i386.c (pentiumpro_cost): Set mul cost to 4.
4922         (x86_use_movx): Set for PPro.
4924 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
4926         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4927         STACK_BOUNDARY for empty frames now.
4929 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
4931         * stor-layout.c (layout_union): Remove.
4932         (layout_union_field): New function, split out from layout_union.
4933         (finish_union_layout): Likewise.
4934         (layout_field): Handle unions by calling layout_union_field.
4935         (finish_record_layout): Handle unions.
4936         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4937         QUAL_UNION_TYPE handling.
4939 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
4941         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4942         end of basic block is jump_insn, not barrier; use create_basic_block
4943         instead of creating basic block by hand.
4945 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
4947         * flow.c (reorder_basic_blocks): Account for barriers when writing
4948         over NEXT_INSN (last_bb->end).
4949         (verify_flow_info): Add check for missing barriers.
4951 2000-03-14  Greg McGary  <gkm@gnu.org>
4953         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4954         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4955         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4956         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4957         __unbounded, __unbounded__): New keywords.
4958         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4959         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4960         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4962 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4964         * cselib.h: New file.
4965         * alias.c: Include "cselib.h".
4966         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4967         MEMs as two new arguments.
4968         (get_addr): New static function.
4969         (find_base_term): Handle VALUEs.
4970         (memrefs_conflict_p): Likewise.
4971         (true_dependence): Call get_addr on the addresses.
4972         Call fixed_scalar_and_varying_struct_p with addresses that have been
4973         passed through get_addr and canon_rtx.
4974         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4975         with true_dependence.
4976         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4977         * loop.c: Include "cselib.h".
4978         (load_mems): Process extended basic block that enters the loop with
4979         cselib.  Use that information to change initialization of the shadow
4980         register so that a constant equivalence is seen by later passes.
4981         * reload1.c: Include "cselib.h".
4982         (reload_cse_invalidate_regno): Delete function.
4983         (reload_cse_mem_conflict_p): Likewise.
4984         (reload_cse_invalidate_mem): Likewise.
4985         (reload_cse_invalidate_rtx): Likewise.
4986         (reload_cse_regno_equal_p): Likewise.
4987         (reload_cse_check_clobber): Likewise.
4988         (reload_cse_record_set): Likewise.
4989         (reg_values): Delete static variable.
4990         (invalidate_regno_rtx): Likewise.
4991         (reload_cse_delete_noop_set): New static function.
4992         (reload_cse_simplify): New static function, broken out of
4993         reload_cse_regs_1.
4994         (reload_cse_noop_set_p): Delete unused argument INSN.
4995         Just call rtx_equal_for_cselib_p on set source and destination.
4996         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4997         reload_cse_delete_noop_set.  Delete code to keep track of values; use
4998         cselib functions instead.  Delete code to push/pop obstacks.
4999         (reload_cse_simplify_set): Use cselib to find equivalent values.
5000         Delete code to push/pop obstacks.
5001         (reload_cse_simplify_operands): Likewise.
5002         * rtl.def (VALUE): New rtx code.
5003         * rtl.h (union rtunion_def): New elt rt_cselib.
5004         (X0CSELIB, CSELIB_VAL_PTR): New macros.
5005         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
5006         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
5007         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
5008         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
5009         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
5010         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
5011         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
5012         cselib_record_set, cselib_record_sets): New static functions.
5013         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
5014         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
5015         references_value_p): New functions.
5016         (MAX_USELESS_VALUES, REG_VALUES): New macros.
5017         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
5018         n_useless_values, reg_values, callmem, cselib_obstack,
5019         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
5020         New static variables.
5021         * varray.h (union varray_data_tag): New elt te.
5022         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
5023         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
5024         dependencies.
5026 2000-03-14  Nick Clifton  <nickc@cygnus.com>
5028         * gcc.c (do_spec_1): Catch the case where %* is used in a
5029         substitution pattern, but it has not been initialised.
5030         Issue a meaningful error message if an unrecognised operator
5031         is encountered in a spec string.
5033 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
5035         * function.c (prepare_function_start): Correctly initialize
5036         cfun->stack_alignment_needed.
5038 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
5040         * cppfiles.c (find_include_file): Don't assume nshort is a
5041         substring of name.
5043 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
5045         * configure.in (hppa configurations): Add pa32-regs.h to the
5046         list of tm files as appropriate.
5047         * configure: Rebuilt.
5048         * pa.c (compute_frame_size): Remove explicit knowledge about FP
5049         register numbering.
5050         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
5051         (fmpyaddoperands, fmpysuboperands): Likewise.
5052         * pa.h: Remove various definitions which depend on knowing
5053         how registers are numbered.
5054         * pa32-regs.h: New file with PA32 register numbering specific
5055         definitions.
5057 2000-03-14  Richard Henderson  <rth@cygnus.com>
5059         * regmove.c (combine_stack_adjustments): New.
5060         (stack_memref_p, single_set_for_csa): New.
5061         (free_csa_memlist, record_one_stack_memref): New.
5062         (try_apply_stack_adjustment): New.
5063         (combine_stack_adjustments_for_block): New.
5064         * rtl.h (combine_stack_adjustments): Declare.
5065         * toplev.c (rest_of_compilation): Call it.
5067         * i386.md: Revert 2000-01-16 change.
5069 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5071         * gccbug.in: Add web category, gcc specific classes.
5073 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
5075         * stor-layout.c (finalize_record_size): Fix typo.
5077 2000-03-14  Stan Shebs  <shebs@apple.com>
5079         * c-typeck.c (c_alignof): Error on incomplete types.
5080         * extend.texi (Alignment): Document this.
5082 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
5084         * cppfiles.c: Include mkdeps.h.
5085         (find_include_file, read_include_file): Remove _cpp_ prefix
5086         from name, make static.
5087         (_cpp_execute_include): New function, broken out of
5088         do_include.
5090         * cpplib.c: Don't include mkdeps.h.
5091         (struct directive): Remove type field. Reorder entries.  The
5092         function takes only one argument.
5093         (struct if_stack): Make type field an int.
5094         (directive_table): Rename to dtable.  Generate it, the
5095         prototypes of the directive handlers, and the enum for the
5096         directive numbers, from a template macro.
5097         (do_ifndef, do_include_next, do_import): New functions.
5098         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
5099         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
5100         do_ident, do_assert, do_unassert, do_sccs): Take only one
5101         argument.
5102         (do_sccs): Define always, but alter behavior based on
5103         SCCS_DIRECTIVE.
5104         (_cpp_handle_directive, consider_directive_while_skipping):
5105         Restructure for new directive table layout.
5107         (pass_thru_directive): Take a directive number, not a pointer
5108         to a struct directive.
5109         (parse_include): New function, broken out of do_include.
5110         (do_include, do_import, do_include_next): Use parse_include
5111         and _cpp_execute_include.
5112         (do_elif, do_else): Test for T_ELSE specifically when checking
5113         for #elif/#else after #else.
5114         (parse_ifdef): New function, broken out of do_ifdef.
5115         (validate_else): Expect a name arg without a leading #.
5116         (if_directive_name): Delete.
5117         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
5118         directive handlers with only one argument.
5120         * cpphash.h: Update prototypes.
5121         (enum node_type): Remove entries for directives.
5122         * Makefile.in: Update dependencies.
5124         * cpphash.c (dump_hash_helper): Only dump nodes of type
5125         T_MACRO.  Emit a newline after each definition.
5127 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5129         * gccbug.in: New file.
5130         * configure.in (all_outputs): Add gccbug.
5131         * Makefile.in (install-common): Install gccbug.
5132         (GCCBUG_INSTALL_NAME): New variable.
5133         * configure: Rebuilt.
5134         
5135 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
5137         * function.c (put_var_into_stack): Use type_for_mode to calculate
5138         part_type.  Use MEM_SET_IN_STRUCT_P.
5139         * expr.c (store_field): Handle CONCAT.
5140         (store_constructor): Use fields_length.
5141         * tree.c (fields_length): New fn.
5142         * tree.h: Declare it.
5144 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
5146         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
5147         (cpplex.o): New target.
5148         * po/POTFILES.in: Add cpplex.c.
5150         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
5151         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
5152         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
5153         skip_block_comment, skip_line_comment, skip_comment,
5154         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
5155         _cpp_parse_name, skip_string, parse_string,
5156         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
5157         _cpp_get_directive_token, find_position,
5158         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
5159         (maybe_macroexpand, _cpp_lex_token): New functions.
5161         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
5162         parse_goto_mark): Delete.
5163         (_cpp_handle_eof): New function.
5164         (_cpp_handle_directive): Rename from handle_directive.
5165         (_cpp_output_line_command): Rename from output_line_command.
5166         (do_if, do_elif): Call _cpp_parse_expr directly.
5167         * cppfiles.c (_cpp_read_include_file): Don't call
5168         init_input_buffer here.
5169         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
5170         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
5171         here; pop the token_buffer and skip the rest of the line here.
5172         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
5173         here.
5175         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
5176         Define here.
5177         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
5178         CPP_GOTO_MARK): New macros.
5179         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
5180         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
5181         _cpp_read_and_prescan, _cpp_init_input_buffer,
5182         _cpp_grow_token_buffer, _cpp_get_directive_token,
5183         _cpp_handle_directive, _cpp_handle_eof,
5184         _cpp_output_line_command): Prototype them here.
5185         * cpplib.h (enum cpp_token): Add CPP_MACRO.
5186         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
5187         quote_string, output_line_command): Remove.
5189 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
5191         * stmt.c (expand_end_case): RANGE may be signed, and when checking
5192         whether it is too large we must also verify that it isn't negative.
5194 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
5196         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
5197         (movsi_zero_liveg0): Remove.
5198         (movsf_insn_novis_liveg0): Remove.
5199         (negsi2): Remove.
5200         (negsi2_not_liveg0): Rename to negsi2.
5201         (one_cmplsi2): Remove.
5202         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
5203         (one_cmplsi2_liveg0): Remove.
5204         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
5205         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
5206         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
5207         (PREDICATE_CODES): Remove zero_operand.
5208         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
5209         TARGET_BROKEN_SAVERESTORE.
5210         (zero_operand): Remove.
5211         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
5212         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
5213         options.
5214         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
5215         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
5216         TARGET_BROKEN_SAVERESTORE): Remove.
5217         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5218         Remove.
5219         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5220         Remove.
5221         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
5222         Remove.
5224         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
5226 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
5228         * cpplib.c (do_pragma_implementation): Fix off-by-one error
5229         truncating a string.  Don't assume tokens are nul terminated.
5230         Problem noted by Andreas Jaeger <aj@suse.de>
5232 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
5234         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
5235         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
5236         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
5238 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
5240         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
5241         STRUCTURE_SIZE_BOUNDARY.
5243 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
5245         * tree.h (record_layout_info_s): New structure.
5246         (record_layout_info): New type.
5247         (new_record_layout_info): New function.
5248         (layout_field): Likewise.
5249         (finish_record_layout): Likewise.
5250         * stor-layout.c (layout_record): Remove.
5251         (new_record_layout_info): New function.
5252         (layout_field): New function, broken out from layout_record.
5253         (finalize_record_size): Likewise.
5254         (compute_record_mode): Likewise.
5255         (finalize_type_size): New function, broken out from layout_type.
5256         (finish_record_layout): Likewise.
5257         (layout_type): Use them.
5258         
5259 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
5261         * cpphash.c: Don't include version.h.
5262         (special_symbol) [case T_VERSION]: Look for the string in
5263         hp->value.cpval; don't use version_string.
5264         * cppinit.c (initialize_builtins): Set hp->value.cpval for
5265         __VERSION__ to version_string.
5266         * Makefile.in (cpphash.o): Update deps.
5268 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
5270         Convert cpplib to use libiberty/hashtab.c.
5272         * cpplib.h (struct cpp_reader): Make hashtab and
5273         all_include_files of type 'struct htab *'.  Delete HASHSIZE
5274         and ALL_INCLUDE_HASHSIZE macros.
5276         * cpphash.h: Update prototypes.
5277         (struct hashnode): Remove next, prev, and bucket_hdr members.
5278         Make length a size_t.  Add hash member.
5279         (struct ihash): Remove next member.  Add hash member.  Make
5280         name a flexible array member.
5282         * cppfiles.c: Include hashtab.h.
5283         (include_hash): Delete.
5284         (IHASHSIZE): New macro.
5285         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
5286         (cpp_included): Do the hash lookup here.
5287         (_cpp_find_include_file): Rewrite.
5288         (cpp_read_file): Put the "fake" hash entry into the hash
5289         table.  Honor the control_macro, if it turns out we've seen
5290         the file before.  Don't push the buffer here.
5291         (_cpp_read_include_file): Push the buffer here.
5292         (OMODES): New macro.  Use it whenever we call open(2).
5294         * cpphash.c: Include hashtab.h.
5295         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
5296         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
5297         _cpp_lookup_slot): New functions.
5298         (HASHSIZE): new macro.
5299         (hashf, _cpp_install, _cpp_delete_macro): Delete.
5300         (_cpp_lookup): Use hashtab.h routines.
5302         * cppinit.c: Include hashtab.h.
5303         (cpp_reader_init): Call _cpp_init_macro_hash and
5304         _cpp_init_include_hash.  Don't allocate hashtab directly.
5305         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
5306         pfile->all_include_files.
5307         (initialize_builtins): Use _cpp_make_hashnode and
5308         htab_find_slot to add hash entries.
5309         (cpp_finish): Just call _cpp_dump_macro_hash.
5310         * cpplib.c: Include hashtab.h.
5311         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
5312         create hash entries.
5313         (do_pragma_poison, do_assert): Likewise.
5314         (do_include): Don't push the buffer here.  Don't increment
5315         system_include_depth unless _cpp_read_include_file succeeds.
5316         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
5317         or htab_remove_elt.
5318         (do_pragma_implementation): Use alloca to create copy.
5320         * Makefile.in: Update dependencies.
5322 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5324         * cppinit.c (cl_directive_handler): More K&R fixing.
5326 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
5328         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
5329         STACK_BOUNDARY.
5330         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
5332 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5334         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
5335         Change from char[] to macros.
5337 2000-03-12  Neil Booth  <NeilB@earthling.net>
5339         * cppinit.c (cpp_start_read): Update indirect function
5340         call to K&R C.
5342 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
5344         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
5345         entry.
5347         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
5348         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
5350 2000-03-11  Neil Booth  <NeilB@earthling.net>
5352         * cppinit.c (struct pending option): Replace undef with a 
5353         pointer to a directive handling routine.
5354         (struct cpp_pending): Replace separate assert_ and define_ 
5355         lists with one directive_ list.
5356         (new_pending_define): Rename new_pending_directive. Extra
5357         argument is the directive's handling routine.
5358         (handle_option): Update to use new_pending_directive.
5360 2000-03-11  Neil Booth  <NeilB@earthling.net>
5362         * cppfiles.c (file_cleanup, _cpp_find_include_file,
5363         remap_filename, _cpp_read_include_file, actual_directory,
5364         hack_vms_include_specification): Replace bcopy(), index() etc
5365         calls.  Add casts to some allocations.  Make some variables
5366         pointers to const [unsigned] char.
5367         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
5368         collect_formal_parameters): Similarly.
5369         * cppinit.c (struct pending_option, append_include_chain,
5370         cpp_options_init, cpp_reader_init, initialize_standard_includes,
5371         cpp_start_read, new_pending_define, handle_option): Similarly.
5372         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
5373         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
5374         do_pragma_implementation, detect_if_not_defined,
5375         do_ifdef, skip_if_group, cpp_get_token, parse_string,
5376         do_assert, do_unassert): Similarly.
5377         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
5378         function prototypes.
5379         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
5381 2000-03-10  Richard Henderson  <rth@cygnus.com>
5383         * builtins.c (expand_builtin_strlen): Revert last change.
5384         Use emit_insn_before if we're at the beginning of a sequence.
5386 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
5388         * builtins.c (expand_builtin_strlen): Make sure that we have something
5389         at the beginning of the sequence.
5391         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
5392         deferred inlines.
5394         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
5396 2000-03-10  Richard Henderson  <rth@cygnus.com>
5398         * except.c (can_throw): Use INTVAL on a CONST_INT.
5399         (reachable_handlers): Likewise.
5400         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
5402 2000-03-10  Andreas Jaeger  <aj@suse.de>
5404         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
5405         MD_STARTFILE_PREFIX since those are not needed on linux.
5406         (ASM_FILE_START): New, from mips/gnu.h.
5408 2000-03-09  Richard Henderson  <rth@cygnus.com>
5409             Alex Samuel  <samuel@codesourcery.com> and others
5410         
5411         * Makefile.in (ssa.o): New rule.
5412         (OBJS): Add ssa.o.
5413         (STAGESTUFF): Add *.ssa and *.ussa.
5414         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
5415         * rtl.def (PHI): New RTL expression.
5416         * rtl.h (clear_log_links): New declaration.
5417         (convert_to_ssa): Likewise.
5418         (convert_from_ssa): Likewise.
5419         * flow.c (split_edge): If the entry node falls through to the
5420         split edge's source block, split the entry edge.
5421         (clear_log_links): New function.
5422         * toplev.c (ssa_dump): New variable.
5423         (flag_ssa): Likewise.
5424         (f_options): Add "ssa".
5425         (compile_file): Create SSA dump files.
5426         (rest_of_compilation): Go to and from SSA if enabled.
5427         (decide_d_option): Handle -de for SSA dump files.
5428         * ssa.c: New file.
5429         
5430 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
5432         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
5433         same as VAR_DECL.
5435 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
5437         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
5439 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
5441         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
5442         (MD_STARTFILE_PREFIX_1): New macro.
5444 2000-03-09  Robert Lipe  <robertl@sco.com>
5446         * config/ia64/ia64.c: Include system.h.
5448 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
5450         * except.c (nothrow_function_p): If -fno-exceptions, just return.
5451         (init_eh_nesting_info): Likewise.
5453         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
5454         (TREE_NOTHROW): Rename from TREE_RAISES.
5455         * toplev.c (rest_of_compilation): Set it.
5456         * print-tree.c (print_node): Adjust.
5457         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
5458         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
5459         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
5460         REG_EH_REGION note as appropriate.
5461         (libfunc_nothrow): New fn.
5462         (emit_library_call, emit_library_call_value): Use it.
5463         (expand_call): Check TREE_NOTHROW.
5465         * varasm.c (make_decl_rtl): Skip initial '*' when setting
5466         DECL_ASSEMBLER_NAME.
5468 2000-03-09  Andreas Jaeger  <aj@suse.de>
5470         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
5471         (TARGET_MEM_FUNCTIONS): Define.
5473 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
5475         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
5477         * except.c (can_throw): See through a SEQUENCE.
5478         (nothrow_function_p): New fn.
5479         * except.h: Declare it.
5480         * function.c (current_function_nothrow): New var.
5481         (prepare_function_start): Initialize it.
5482         * output.h: Declare it.
5483         * toplev.c (rest_of_compilation): Set it.
5484         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
5486 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
5488         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
5489         match.  (cpp_compare_defs): Count the nul separator when
5490         advancing over argument names.
5492 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
5494         * recog.c (preprocess_constraints): Matching constraints affect
5495         same alternative/different operand, not same operand/different
5496         alternative.
5497         
5498         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
5499         register and a constant specially.
5501 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5503         * libgcc2.h: New file.
5504         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
5506 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
5508         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
5509         * configure: Regenerate.
5510         * config/ia64: New.
5512 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
5514         * Makefile.in (LIBCPP_DEPS): New macro.
5515         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
5516         it to declare deps.
5517         * cpperror.c: Include cpphash.h.
5518         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
5519         dingleberry.
5520         (lex): Don't use CPP_WARN_UNDEF.
5521         (_cpp_parse_expr): Return an int, the truth value.
5522         * cppfiles.c: Include cpphash.h.
5523         (_cpp_merge_include_chains): Move to cppinit.c and make static.
5524         * cppinit.c (include_defaults_array): Disentangle.
5525         (cpp_cleanup): Don't free the if stack here.
5526         (cpp_finish): Pop off all buffers, not just one.
5527         * cpplib.c (eval_if_expr): Return int.
5528         (do_xifdef): Rename do_ifdef.
5529         (handle_directive): Don't use CPP_PREPROCESSED. 
5530         (cpp_get_token): Don't use CPP_C89.
5531         * fix-header.c: Don't use CPP_OPTIONS.
5533         * cpplib.h: Move U_CHAR, enum node_type, struct
5534         file_name_list, struct ihash, is_idchar, is_idstart,
5535         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
5536         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
5537         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
5538         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
5539         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
5540         of _cpp_simplify_pathname, _cpp_find_include_file,
5541         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
5542         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
5543         cppinit.c.
5544         Change all uses of U_CHAR to be unsigned char instead.
5545         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
5547 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
5549         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
5550         (dwarf2out_begin_prologue): Set it.
5551         (output_call_frame_info): Don't emit EH unwind info for leaves.
5553         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
5554         can occur outside of an EH region.
5555         * except.c: Correct comments about rethrow behavior.
5556         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
5558 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
5560         * flow.c (make_edges): Always call make_eh_edge for calls.
5562 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
5564         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
5565         (struct cpp_buffer): Remove fname and underflow fields.
5566         (struct cpp_reader): Remove get_token field.
5567         (struct include_hash): Rename to struct ihash.  Add typedef to
5568         IHASH.
5569         (struct if_stack): Remove fname field.
5570         (IF_STACK_FRAME): Rename to IF_STACK.
5572         * cpperror.c (print_containing_files): Trust that there are no
5573         macro buffers below the top file buffer.
5574         * cppfiles.c: Replace all references to 'struct include_hash'
5575         with 'IHASH'.  Rename initialize_input_buffer to
5576         init_input_buffer.  Don't set or reference cpp_buffer->fname,
5577         use buffer->ihash->name instead.
5578         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
5579         not CPP_NULL_BUFFER.
5580         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
5581         IF_STACK_FRAME, IHASH not struct include_hash.
5582         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
5583         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
5584         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
5585         references to cpp_buffer->fname (delete entirely, or use
5586         ->ihash->name instead) and IF_STACK->fname.
5587         (cpp_push_buffer): Don't set new->underflow.
5588         (do_include): Use cpp_file_buffer.
5590         * cpphash.c (collect_formal_parameters): Remove duplicate
5591         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
5592         used as a macro argument name.  Don't append "..." to namebuf
5593         for varargs macros.  After we're done scanning, go through
5594         namebuf and make it NUL separated, not comma separated.
5595         (_cpp_compare_defs): Remove register tag from variables.
5596         Expect defn->argnames to be NUL separated.
5597         (_cpp_dump_definition): Expect defn->argnames to be NUL
5598         separated and in forward order.
5599         * cpphash.h: Update documentation of argnames field.
5601 2000-03-08  Richard Henderson  <rth@cygnus.com>
5603         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
5604         to fail.  Don't pre-expand the source operand.
5606         * i386.md (strlensi): Initialize eoschar and align before use.
5608 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
5610         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
5611         CONSTRUCTOR element.
5613 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
5615         * mips.c (mips_expand_prologue): If the last 
5616         named argument is the vararg marker "va_list", treat it as
5617         an unnamed argument.
5619 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
5621         * dbxout.c (dbxout_parms): When correcting for promoted 
5622         big-endian parameters, use the mode of the DECL_RTL rather 
5623         than UNITS_PER_WORD.
5625 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
5627         * c-common.h (make_fname_decl): Declare.
5628         * c-common.c (make_fname_decl): Define.
5629         (declare_hidden_char_array): Remove.
5630         (declare_function_name): Use make_fname_decl.
5631         * c-decl.c (c_make_fname_decl): New function.
5632         (init_decl_processing): Set make_fname_decl.
5634 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
5636         * cccp.c (handle_directive): Initialize backslash_newlines_p.
5638 2000-03-07  Philipp Thomas  <pthomas@suse.de>
5640         * po/POTFILES.in: Remove cppalloc.c from file list.
5642 2000-03-07  Steve Chamberlain  <sac@pobox.com>
5644         * pj.c (pj_expand_prologue): current_function->args_info is
5645         now current_function_args_info.  
5647         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
5648         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
5649         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
5651 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5653         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
5654         output as hexadecimal rather than the default octal.
5656 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
5658         * cpphash.c (special_symbol): Fix thinko in previous commit.
5660 2000-03-07  Neil Booth  <NeilB@earthling.net>
5662         * cppexp.c (struct operation, left_shift, right_shift,
5663         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
5664         "int"s to "unsigned int"s.
5665         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
5666         Similarly.
5667         * cpplib.h: Update for above.
5668         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
5669         returned from allocations.
5671         * cppinit.c (opt_comp, parse_options): New functions.
5672         (handle_option): Use parse_option to parse a single command
5673         line option, that possibly takes an argument.
5674         (cpp_handle_options): Sort the array of command line options on
5675         first invocation (non-ASCII hosts only).
5676         (print_help): Update.
5678 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
5680         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
5681         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
5682         
5683         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
5684         initialized.
5685         * cppinit.c (cpp_cleanup): Free imp->nshort also.
5687         * cpperror.c (cpp_print_containing_files,
5688         cpp_print_file_and_line, v_cpp_message): Rename to
5689         print_containing_files, print_file_and_line, and v_message.
5690         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
5691         to _cpp_parse_expr, parse_escape, and lex.
5692         (parse_charconst): Remove broken multibyte support.
5693         * cppfiles.c (include_hash): Make static.
5694         (cpp_included): New function.
5695         (merge_include_chains, find_include_file, finclude,
5696         simplify_pathname): Rename to _cpp_merge_include_chains,
5697         _cpp_find_include_file, _cpp_read_include_file, and
5698         _cpp_simplify_pathname.
5699         * cpphash.c (cpp_lookup, free_definition, delete_macro,
5700         cpp_install, create_definition, macroexpand, compare_defs,
5701         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
5702         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
5703         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
5704         * cppinit.c (cpp_handle_option): Rename to handle_option, make
5705         static.
5706         * cpplib.c: Remove extern prototype of cpp_parse_expr.
5708         * cpphash.h: Update prototypes.
5709         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
5711 2000-03-07  Andrew Haley  <aph@cygnus.com>
5713         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
5714         PTRDIFF_TYPE should be based solely on Pmode.
5715         (SIZE_TYPE): ditto.
5717 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5719         * rtl.h (rtunion_def): Constify member `rtstr'.
5720         (emit_line_note_after, emit_line_note, emit_line_note_force,
5721         emit_note, decode_asm_operands): Constify.
5722         
5723         * cse.c (canon_hash): Likewise.
5725         * dbxout.c (dbxout_block): Likewise.
5727         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
5728         v_warning_for_asm): Likewise.
5730         * dwarfout.c (function_start_label): Likewise.
5732         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
5733         emit_line_note_force): Likewise.
5735         * final.c (last_filename, asm_insn_count, final_scan_insn,
5736         output_source_line): Likewise.
5738         * function.h (struct emit_status): Likewise.
5740         * gcse.c (hash_expr_1): Likewise.
5742         * genattr.c (gen_attr, main): Likewise.
5744         * genattrtab.c (struct function_unit, current_alternative_string,
5745         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
5746         attr_numeral, check_attr_test, check_attr_value,
5747         convert_set_attr_alternative, convert_set_attr,
5748         compute_alternative_mask, simplify_by_exploding, gen_attr,
5749         gen_unit): Likewise.
5751         * genflags.c (gen_insn): Likewise.
5753         * gengenrtl.c (type_from_format): Likewise.
5755         * genopinit.c (gen_insn): Likewise.
5757         * genoutput.c (n_occurrences, process_template, process_template):
5758         Likewise.
5760         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5761         Likewise.
5763         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5764         Likewise.
5766         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
5767         ggc_set_mark, ggc_get_size): Likewise.
5769         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
5771         * optabs.c (init_one_libfunc): Likewise.
5773         * output.h (assemble_start_function): Likewise.
5775         * recog.c (decode_asm_operands): Likewise.
5777         * toplev.c (rest_of_compilation): Likewise.
5779         * tree.h (emit_line_note_after, emit_line_note,
5780         emit_line_note_force): Likewise.
5782         * varasm.c (asm_output_bss, asm_output_aligned_bss,
5783         asm_emit_uninitialised, assemble_start_function,
5784         assemble_variable, const_hash, compare_constant_1,
5785         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
5787         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
5789         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
5791         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
5793         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
5795         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
5796         arm_dllimport_name_p): Likewise.
5798         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
5799         Likewise.
5801         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
5803         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5805         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
5806         arm_mark_dllexport, arm_mark_dllimport,
5807         arm_pe_encode_section_info): Likewise.
5809         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
5810         ASM_FINISH_DECLARE_OBJECT): Likewise.
5812         * arm/thumb.c (thumb_function_prologue): Likewise.
5814         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
5816         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5818         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
5820         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
5822         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5824         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5826         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
5827         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
5829         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
5831         * i386/i386.c (asm_output_function_prefix): Likewise.
5833         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
5835         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5837         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
5839         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
5840         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
5841         ASM_OUTPUT_SECTION_NAME): Likewise.
5843         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
5845         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
5847         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
5849         * m32r/m32r.c (m32r_encode_section_info): Likewise.
5851         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5853         * mcore/mcore.c (mcore_encode_section_info): Likewise.
5855         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5857         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5859         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5861         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
5863         * mips/mips.md (movdi, movsi): Likewise.
5865         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5867         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5869         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5871         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
5872         ASM_OUTPUT_ASCII): Likewise.
5874         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
5875         output_mi_thunk, output_toc): Likewise.
5877         * rs6000/rs6000.md (movsi): Likewise.
5879         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
5881         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
5883         * v850/v850.c (print_operand, print_operand_address,
5884         v850_encode_data_area): Likewise.
5886 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
5887         
5888         * config/mips/mips.md (zero_extendsidi2): Always force operand
5889         one to memory for mips16.
5891 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5893         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
5894         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
5895         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
5896         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
5897         (min_precision): Result is unsigned.
5898         (add_double, neg_double, mul_double): Low word is unsigned.
5899         (lshift_double, rshift_double, lrotate_double): Likewise.
5900         (rrotate_double, div_and_round_double): Likewise.
5901         (tree_floor_log2, compare_tree_int): New functions.
5902         (preserve_rtl_expr_temps): New declaration.
5903         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
5904         (decl_attributes): Use tree_log2 to find alignment.
5905         Check for TREE_INT_CST_HIGH for format args.
5906         (min_precision): Now unsigned.
5907         Use tree_floor_log2.
5908         (truthvalue_conversion): Delete long-disabled code.
5909         * c-decl.c (finish_struct): Clean up tests on field width.
5910         (finish_function): Use compare_tree_int.
5911         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
5912         * c-typeck.c (comptypes): Use tree_int_cst_equal.
5913         (default_conversion, digest_init): Use compare_tree_int.
5914         (build_binary_op): Use integer_all_onesp and compare_tree_int.
5915         Fix type errors in forming masks.
5916         * calls.c (initialize_argument_information): Use compare_tree_int.
5917         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5918         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5919         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5920         (store_field): Use compare_tree_int.
5921         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5922         (expand_expr, case ARRAY_REF): Use compare_tree_int.
5923         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5924         (do_store_flag): Use compare_tree_int.
5925         * fold-const.c (encode, decode): Low part is always unsigned.
5926         (force_fit_type, add_double, neg_double, mul_double): Likewise.
5927         (lshift_double, rshift_double, lrotate_double): Likewise.
5928         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5929         (fold_convert): Use compare_tree_int.
5930         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5931         (invert_truthvalue, case INTEGER_CST): Likewise.
5932         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5933         * mkdeps.c (deps_dummy_targets): Make I unsigned.
5934         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5935         (lshift_double, rshift_double, lrotate_double, rrotate_double):
5936         Likewise.
5937         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5938         (expand_end_case): Use compare_tree_int.
5939         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5940         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5941         (layout_decl): Likewise.
5942         (layout_record, layout_union): Make sizes unsigned.
5943         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5944         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5945         * tree.c (struct type_hash): hashcode is unsigned.
5946         (build_type_attribute_variant, type_hash_list): Likewise.
5947         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5948         (attribute_hash_list, build_array_type, build_method_type): Likewise.
5949         (build_complex_type): Likewise.
5950         (real_value_from_int_cst): Remove unneeded casts.
5951         (integer_all_onesp): Add casts.
5952         (tree_floor_log2, compare_tree_int): New functions.
5953         (build_index_type): Use tree_int_cst_sgn.
5954         * varasm.c (assemble_variable): Use compare_tree_int.
5956 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
5958         * cpphash.c (collect_expansion): Also catch ## at start of macro.
5960         * varasm.c (make_decl_rtl): Don't add a number to members of
5961         local classes.
5962         (make_function_rtl): Likewise.
5964 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5966         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5967         patch from 2000-01-28.
5969 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
5971         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5972         filled with an insn from the jump target.
5974 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5976         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5977         (c4x_external_ref): Likewise.
5978         * config/c4x/c4x.c (struct name_list): Likewise.
5980 1999-12-16  Ben Collins  <bcollins@debian.org>
5982         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5983         argument to genmultilib.
5984         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5985         the contents into the multilib.h header.
5986         * gcc.c: Declare multilib_exclusions for the specs file.
5987         (set_multilib_dir): Use it.
5988         (print_multilib_info): Likewise.
5989         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5990         to pass to genmultilib.
5992 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5994         * builtins.c (built_in_class_names, built_in_names): Constify a
5995         char*.
5997         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5998         int.
5999         (_mcleanup): Ensure value matches format specifier in sprintf.
6001         * cpphash.c (special_symbol): Don't needlessly cast away
6002         const-ness.
6004         * cppinit.c (base_name): Delete unused prototype.
6006         * mkdeps.c (deps_init): Make definition K&R safe.
6008         * tree.h (built_in_class_names, built_in_names): Constify a
6009         char*.
6011 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
6013         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
6014         floating point instructions for epilogue delay.
6016         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
6017         to gas if it supports .register pseudo.
6019         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
6020         LONG_DOUBLE_TYPE_SIZE if not defined.
6021         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
6022         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
6023         * real.c: Likewise.
6024         * gengenrtl.c: Likewise.
6025         * print-rtl.c: Likewise.
6026         * rtl.c: Likewise.
6027         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
6028         MASK_LONG_DOUBLE_128.
6029         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
6030         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
6031         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
6032         (SUBTARGET_SWITCHES): Define.
6033         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
6034         with -mlong-double-128.
6035         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6036         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6037         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6038         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
6039         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
6040         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
6041         with -mlong-double-128.
6042         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
6043         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6044         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
6045         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
6046         TARGET_LONG_DOUBLE_128): Define.
6047         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
6048         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
6049         long double on TARGET_ARCH64.
6051 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
6053         * function.c (free_temps_for_rtl_expr): Don't free slots
6054         that have been pushed into a higher level.
6055         
6056         Revert this patch:
6057         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6059 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6061         * basic-block.h (ALLOCA_REG_SET): Remove.
6062         (INITIALIZE_REG_SET): New macro.
6063         * flow.c (update_life_info): Use it.
6064         (calculate_global_regs_live): Likewise.
6065         (propagate_block): Likewise.
6066         * global.c (build_insn_chain): Likewise.
6067         * haifa-sched.c (schedule_region): Likewise.
6069 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
6071         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
6072         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
6073         (DWARF_ARANGES_PAD_SIZE): New define.
6074         (output_aranges): Use it to pad the address range header.
6075         (DWARF_ROUND): Fix for non power of 2 rounding.
6077 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
6079         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
6081 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
6083         * tree.def (RTL_EXPR): Update documentation.
6084         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
6085         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
6086         * function.c (preserve_rtl_expr_temp): New function.
6087         (preserve_rtl_expr_temps): Likewise.
6088         (preserve_rtl_expr_result): Use it.
6090         Revert this patch:
6091         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
6093 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
6095         * regmove.c (copy_src_to_dest)  Do not create src->dest move
6096         for unchanging destination.
6098 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
6100         * function.h (struct sequence_stack): Remove rtl_expr.
6101         (struct emit_staus): Likewise.
6102         (seq_rtl_expr): Remove.
6103         * tree.h (free_temps_for_rtl_expr): Don't declare.
6104         (start_sequence_for_rtl_expr): Likewise.
6105         * rtl.h (preserve_rtl_expr_result): Likewise.
6106         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
6107         (start_sequence_for_rtl_expr): Remove.
6108         (push_topmost_sequence): Don't save sequence_rtl_expr.
6109         (pop_topmost_sequence): Remove comment about not restoring it.
6110         (end_sequence): Don't set seq_rtl_expr.
6111         (init_emit): Don't initialize it.
6112         (mark_sequence_stack): Don't mark it.
6113         (mark_emit_status): Likewise.
6114         * except.c (protect_with_terminate): Use
6115         start_sequence_for_rtl_expr, not start_sequence.
6116         * expr.c (expand_expr, case RTL_EXPR): Don't call
6117         preserve_rtl_expr_result or free_temps_for_rtl_expr.
6118         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
6119         (preserve_rtl_expr_result): Remove.
6120         (free_temps_for_rtl_expr): Likewise.
6121         (pop_temp_slots): Likewise.
6122         (mark_temp_slot): Don't mark the rtl_expr.
6123         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
6124         start_sequence_for_rtl_expr.
6125         
6126 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
6128         * mkdeps.c, mkdeps.h: New files.
6129         * po/POTFILES.in: Add them.
6130         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
6131         (cpplib.o, cppinit.o): Depend on mkdeps.h.
6132         (mkdeps.o): New target.
6134         * cppfiles.c: Delete deps_output.
6135         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
6136         OBJECT_SUFFIX, and base_name.
6137         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
6138         the include hash.
6139         (initialize_dependency_output): Use deps_init,
6140         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
6141         all the unnecessary string bashing.
6142         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
6143         level.
6144         * cpplib.c (do_include): Use deps_add_dep.
6145         * cpplib.h (struct cpp_reader): Replace deps_buffer,
6146         deps_allocated_size, deps_size, deps_column members with
6147         single pointer to a struct deps.  Delete prototype of
6148         deps_output.
6150         * cppinit.c: Fix thinko in previous patch.
6152 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6154         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
6155         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
6156         (mode_for_size_tree): New function.
6157         (layout_decl, layout_type): Call it and clean up BLKmode checks.
6158         * tree.h (mode_for_size_tree): New declaration.
6159         
6160         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
6162 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
6164         * stmt.c (is_body_block): Move...
6165         * dwarfout.c, dwarf2out.c: ...from here.
6166         * tree.h: Declare it.
6167         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
6168         * final.c (final_start_function): Do call remove_unnecessary_notes
6169         when scheduling.
6171 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
6173         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
6174         
6175         * cpplib.h (_dollar_ok): New macro.
6176         (is_idchar, is_idstart): Use it.
6177         (IStable): Rename to _cpp_IStable.  Declare it const if
6178         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
6179         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
6180         is_space): Update for renamed IStable.
6182         * cppinit.c: Delete all references to FAKE_CONST and CAT
6183         macros. Define init_IStable as empty macro if gcc >=2.7 or
6184         C99. Change TABLE() to ISTABLE and hardcode name of table.
6185         (cpp_start_read): Don't change the IStable based on
6186         dollars_in_ident.
6188         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
6189         changed.  Handle '$' for char1 correctly.
6190         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
6192         * cppexp.c (tokentab2): Make const.
6193         (cpp_lex): Make toktab const.
6194         * cppinit.c (include_defaults_array): Make const.
6195         (initialize_standard_includes): Make default_include const.
6197 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
6199         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
6200         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
6201         (gen_decl_die): Likewise.
6202         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
6203         (output_decl): Likewise.
6205         * varasm.c (make_function_rtl): If we change the name used in the
6206         rtl, update DECL_ASSEMBLER_NAME accordingly.
6207         (make_decl_rtl): Likewise.
6209         * toplev.c (rest_of_compilation): Tweak formatting.
6211         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
6212         remove_unnecessary_notes.
6213         (debug_ignore_block): New fn.
6214         * toplev.h: Declare it.
6215         * emit-rtl.c (remove_unncessary_notes): Call it.
6216         * dwarf2out.c (dwarf2out_ignore_block): New fn.
6217         * dwarf2out.h: Declare it.
6218         * final.c (final_start_function): Don't call remove_unnecessary_notes
6219         if we did insn scheduling.
6221 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
6223         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
6224         * cpplib.h: Delete SET_CPP_PEDANTIC.
6226 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6228         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
6229         result is a RECORD_TYPE.
6231 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
6233         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
6235 2000-03-03  Richard Henderson  <rth@cygnus.com>
6237         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
6238         addition over compliments over shifts.
6240 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6242         * reload1.c (reload_combine_note_use): Handle return register USEs.
6243         REG case: Handle multi-hard-register hard regs.
6245 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6247         * md.texi: Document use of '*' in insn pattern name.
6249 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
6251         * calls.c (special_function_p): operator new may not be malloc-like.
6253         * gcse.c (dump_hash_table): Really fix error in last change.
6255 2000-03-02  Denis Chertykov  <denisc@overta.ru>
6257         * avr.c (print_operand): Use print_operand_address instead of
6258         output_addr_const.
6259         * avr/libgcc.S: Cleanup code.
6261 2000-03-02  Richard Henderson  <rth@cygnus.com>
6263         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
6265 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
6267         * tree.h (TYPE_ALIGN_UNIT): New macro.
6269 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
6271         * i386.c: (constant_call_address_operand): Reject CONST_INT.
6273 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
6275         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
6276         for the buffer.
6277         (SET_CPP_PEDANTIC): New macro.
6278         * cpplib.c (do_include): Don't bother checking system_header_p.
6279         (do_warning, do_ident, do_assert, do_unassert): Likewise.
6280         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
6282         * function.h (struct expr_status): Add x_arg_space_so_far.
6283         (arg_space_so_far): New macro.
6284         * expr.c (init_expr): Initialize it.
6285         * calls.c (emit_call_1): Reset it.
6286         (compute_argument_block_size, expand_call): Use it.
6287         (expand_call, store_one_arg): Increment it.
6289 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6291         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
6292         a UNION_TYPE.
6294 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
6296         * cppfiles.c (cpp_read_file): New function.
6298         * cpphash.c (collect_expansion): Make sure to reset last_token
6299         to NORM when we hit a string.  Handle trailing whitespace
6300         properly when the expansion is empty.
6301         (create_definition): Disable line commands while parsing the
6302         directive line.
6303         (dump_definition): If pfile->lineno == 0, output a line
6304         command ahead of the dump, and add a trailing newline.
6306         * cppinit.c (append_include_chain): Add fifth argument, which
6307         indicates whether or not system headers are C++ aware.
6308         (initialize_standard_includes): New function,
6309         broken out of read_and_prescan.  Pass 'cxx_aware' value from
6310         the include_defaults_array on to append_include_chain.
6311         (dump_special_to_buffer): Const-ify char array.
6312         (builtin_array): Don't dump __BASE_FILE__.
6313         (cpp_start_read): Use cpp_read_file.  Reorder code for
6314         clarity.  Don't output line commands here for -D/-A/-U
6315         switches.  Don't call deps_output for files included with
6316         -include or -imacros.
6318         * cpplib.c (do_define): Don't pay any attention to the second
6319         argument.
6320         (cpp_expand_to_buffer): Disable line commands while scanning.
6321         (output_line_command): Work in the file buffer.
6322         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
6323         Fix formatting of comments.  Prototype cpp_read_file.
6325 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6327         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
6328         reference the language-equivalent of sizetype.
6329         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
6330         * fold-const.c (size_binop, size_diffop): Put back checks.
6331         * gcse.c (dump_hash_table): Fix minor error in last change.
6332         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
6333         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
6334         all sizetypes.
6336 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
6338         * calls.c (expand_call)  Do not attempt to combine stack adjustments
6339         with inhibit_defer_pop set.
6341 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
6343         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
6344         the DECL_SIZE for a FIELD_DECL.
6346 2000-03-01  Bruce Korb  <bkorb@gnu.org>
6348         * fixinc/inclhack.tpl: remove unused symlinks
6349         * fixinc/README: GCC Maintainer info
6350         * fixinc/inclhack.sh: regen
6351         * fixinc/fixincl.sh: regen
6353 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
6355         * cpphash.c (collect_expansion): Trim trailing white space
6356         from macro definitions, but don't go past the last insertion
6357         point.
6359 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
6361         * i386.md (mulqi3): New pattern.
6363 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
6365         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
6366         token types.
6367         (struct cpp_reader): Add parsing_if_directive and
6368         parsing_define_directive flags.               
6369         (struct cpp_options): Remove output_conditionals flag.
6370         (check_macro_name): Delete prototype.
6372         * cpphash.h (struct macrodef): Delete.
6373         (struct reflist): Separate from struct definition.
6374         (struct definition): Remove unused fields.  Add column number.
6375         (create_definition): Returns a DEFINITION *.  Takes a
6376         cpp_reader * and an int.
6378         * cpphash.c (SKIP_WHITE_SPACE): Delete.
6379         (PEEKC): Copy defn from cpplib.c.
6380         (rest_extension, REST_EXTENSION_LENGTH): Delete.
6381         (struct arg): New.
6382         (struct arglist): Simplify.
6383         (collect_expansion): Rewrite.  Get tokens by calling
6384         cpp_get_token.  Add more error checking.
6385         (collect_formal_parameters): New function, broken out of
6386         create_definition and reworked to use get_directive_token.
6387         (create_definition): All real work is now in collect_expansion
6388         and collect_formal_parameters.  do_define handles finding the
6389         macro name.  Return a DEFINITION, not a MACRODEF.
6390         (macroexpand): Replace bcopy with memcpy throughout.  Replace
6391         character-at-a-time copy loop with memcpy and pointer increments.
6392         (compare-defs): d1->argnames / d2->argnames might be null.
6394         * cpplib.c (copy_rest_of_line): Delete function.
6395         (skip_rest_of_line): Do all the work ourselves.
6396         (skip_string): New function.
6397         (parse_string): Use skip_string.
6398         (get_macro_name): New function.
6399         (check_macro_name): Delete.
6400         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
6401         (cpp_skip_hspace): Use CPP_BUMP_LINE.
6402         (handle_directive): ICE if we're called on a macro buffer.
6403         (do_define): Determine macro name and type (funlike/objlike)
6404         here.  Expunge all uses of MACRODEF.
6405         (cpp_push_buffer): Set line_base to NULL.
6406         (do_undef, read_line_number): Don't worry about getting a POP token.
6407         (eval_if_expression): Set/reset parsing_if_directive around
6408         cpp_parse_expr. Don't clear only_seen_white.
6409         (skip_if_group): Remove output_conditionals logic.  Use
6410         skip_rest_of_line.
6411         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
6412         tokens under appropriate conditions.
6413         (cpp_unassert): Call do_unassert not do_assert.  Oops.
6415         * cppexp.c (parse_defined): New function, break out of
6416         cpp_lex.
6417         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
6418         ourselves, with cpp_defined.
6419         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
6421         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
6422         * gcc.dg/strpaste-2.c: New.
6424 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
6426         * fold-const.c (size_binop): Don't asert inputs are the same and
6427         have TYPE_IS_SIZETYPE set.
6428         (size_diffop): Likewise.
6430 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
6432         * dwarfout.c (output_block): Output abstract blocks even if they
6433         don't have TREE_ASM_WRITTEN set.
6435         * calls.c (emit_library_call): Check for null REG.
6437 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6439         * c-decl.c (current_function_decl): Move to toplev.c.
6440         (init_decl_processing): Don't add current_function_decl as a ggc
6441         root here.
6442         * dbxout.c (dbxout_symbol): Change return type to int.
6443         (dbxout_symbol_location, dbxout_syms): Likewise.
6444         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
6445         any locals. Use current_function_func_begin_label if set.
6446         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
6447         * dwarf2out.c (dwarf2out_begin_prologue): Set
6448         current_function_func_begin_label.
6449         * final.c (final_start_function): Reset it.
6450         * toplev.c (current_function_decl): Define it here.
6451         (current_function_func_begin_label): New variable.
6452         (main): Add both as ggc roots.
6453         * tree.h (current_function_func_begin_label): Declare.
6455 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6457         * gcse.c: Cleanups throughout: mostly white-space, but also
6458         some minor rearrangement of code.
6460 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
6462         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
6463         returns a PARALLEL.  Use emit_group_load and use_group_regs
6464         as needed.  
6465         (emit_library_call_value): Similarly.
6467         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
6468         * pa/quadlib.asm: Remove.
6469         * pa/quadlib.c: New file.
6471         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
6472         * configure: Rebuilt.
6474 2000-02-29  Philip Blundell  <pb@futuretv.com>
6476         * config/arm/conix-elf.h: New file.
6477         * configure.in (arm*-*-conix*): New configuration.
6478         * configure: Regenerate.
6480 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
6482         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
6483         don't have TREE_ASM_WRITTEN set.
6485 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6487         * Eliminate DECL_FIELD_SIZE.
6488         * builtins.c (built_in_class_names, built_in_names): New variables.
6489         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
6490         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
6491         DECL_SIZE, not DECL_FIELD_SIZE.
6492         * print-tree.c (print_node): Remove code that prints extra blank
6493         lines in some cases.
6494         Properly handle inline and builtin function cases.
6495         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
6496         * tree.h (built_in_class_named, built_in_names): New declarations.
6497         (union tree_decl): Rename internal unions to u1 and u2 and change
6498         some of their components.
6499         Add new field built_in_class.
6500         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
6501         Reflect above changes.
6502         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
6503         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
6504         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
6505         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
6507 2000-02-28  Dmitri Makarov  <dim@windriver.com>
6509         * extend.texi: Document ARM's support for long/short calls.
6511         * invoke.texi: Document ARM's -mlong-calls command line switch.
6512         
6513         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
6514         (arm_encode_call_attribute): Add prototype.
6515         (arm_set_default_type_attribute): Add prototype.
6516         (arm_strip_name_encoding): Add prototype.
6518         * config/arm/arm.c (arm_init_cumulative_args): replace
6519         initialisation og 'long_calls' field with initialisation of
6520         'call_cookie' field.
6521         (enum arm_pragma_enum): New enum.
6522         (arm_pragma_long_calls): New static variable.
6523         (arm_process_pragma): Also process "#pragma long_calls_off".
6524         (arm_valid_type_attribute_p): Accept short_call attribute.
6525         (arm_comp_type_attributes): Check long/short call attributes.
6526         (arm_encode_call_attribute):  New function:  Encode long_call
6527         or short_call attribute in function name.
6528         (arm_set_default_type_attributes): New function: Assign
6529         default attributes to newly defined type.
6530         (current_file_function_operand): New function: Return true if
6531         the symbol is a function which has already been compiled.
6532         (arm_is_longcall_p): New function: Return true if the
6533         indicated function should be called via a long call.
6534         (arm_get_strip_length): New function.  Returns number of
6535         prefix characters to be stripped from a function's name.
6536         (arm_strip_name_encoding): New function.  Strip prefix characters
6537         from a function's name.
6539         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
6540         with 'call_cookie'.
6541         (SHORT_CALL_FAG_CHAR): Define.
6542         (LONG_CALL_FAG_CHAR): Define.
6543         (ENCODED_SHORT_CALL_ATTR_P): Define.
6544         (ENCODED_LONG_CALL_ATTR_P): Define.
6545         (ARM_NAME_ENCODING_LENGTHS): Define.
6546         (STRIP_NAME_ENCODING): Define.
6547         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
6548         (ARM_ENCODE_CALL_TYPE): Define.
6549         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
6550         (ARM_DECLARE_FUNCTION_SIZE): Define.
6551         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
6553         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
6554         if a long call is needed.
6555         (call_value): Ditto.
6556         (call_symbol): Ditto.
6558         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
6559         ARM_DECLARE_FUNCTION_SIZE.
6561         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
6562         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
6563         (ARM_STRIP_NAME_ENCODING): Undefine.
6564         (STRIP_NAME_ENCODING): Undefine.
6565         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
6566         (ASM_DECLARE_FUNCTION_NAME): Ditto.
6567         (ASM_OUTPUT_COMMON): Ditto.
6568         (ASM_DECLARE_OBJECT_NAME): Ditto.
6570         * config/arm/pe.c (arm_dllexport_name_p): Check for
6571         ARM_PE_FLAG_CHAR.
6572         (arm_dllimport_name_p): Ditto.
6573         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
6574         (arm_mark_dllimport): Ditto.
6575         
6576 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6578         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
6580 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
6582         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
6584 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
6586         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
6587         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
6588         NO_BUILTIN_WCHAR_TYPE is not defined.
6589         (CPP_WCHAR_TYPE): Delete.
6590         * cccp.c (main): Don't change wchar_type if cplusplus.
6591         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
6593 2000-02-28  Nick Clifton  <nickc@cygnus.com>
6595         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
6597 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
6599         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
6600         (ASM_WEAKEN_LABEL): Define.
6602 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
6604         * expr.c (store_constructor): Do not emit USE.
6605         * rtl.h (stupid_life_analysis): Remove.
6607 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6609         * function.c (number_blocks): Reset next_block_index based on
6610         what debugging format is used, not what is defined.
6611         
6612         * lcm.c: Minor reformatting throughout.
6613         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
6614         
6615         * toplev.c (rest_of_compilation): Account for time in
6616         optimize_mode_switching.
6618         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
6619         if only marking labels.
6621 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
6623         * calls.c (expand_call): Attempt to combine stack adjustments with
6624         pending stack adjustments.
6626 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6628         * loop.c (reg_in_basic_block_p): Don't abort when falling through
6629         to the end of the function.
6631 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
6633         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
6634         blocks.
6635         * final.c (next_block_index): Remove.
6636         (max_block_depth): Likewise.
6637         (pending_blocks): Likewise.
6638         (init_final): Don't initialize them.
6639         (final_start_function): Don't set next_block_index.  Set up
6640         BLOCK_NUMBER.
6641         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
6642         * function.h (number_blocks): New function.
6643         * function.c (get_block_vector): New function.
6644         (identify_blocks): Use it.
6645         (reorder_blocks): Set NOTE_BLOCK.
6646         (number_blocks): New function.
6647         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
6648         * tree.h (BLOCK_NUMBER): New macro.
6649         (tree_block): Add block_num field.
6650         * dbxout.c (next_block_number): Remove.
6651         (dbxout_init): Don't set it.
6652         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
6653         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
6654         block numbers.
6655         * toplev.c (rest_of_compilation): Always call
6656         find_loop_tree_blocks.  Fix indentation.
6657         * dwarf2out.c (next_block_number): Remove.
6658         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
6659         to determine block numbers.
6660         (gen_inlined_subroutine_die): Likewise.
6661         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
6662         (decls_for_scope): Don't increment next_block_number.
6663         * dwarfout.c (next_block_number): Remove.
6664         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
6665         to determine block numbers. 
6666         (output_inlined_subroutine_die): Likewise.
6667         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
6668         (output_decls_for_scope): Don't increment next_block_number.
6669         * sdbout.c (next_block_number): Remove.
6670         (sdbout_block): Use BLOCK_NUMBER.
6671         (sdbout_begin_block): Simplify.
6672         * xcoffout.c (next_block_number): Remove.
6673         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
6674         (xcoffout_begin_block): Don't set next_block_number.
6675         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
6676         next_block_number.
6677         
6678 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6680         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
6681         (expand_builtin_strcpy): Pass correct type to size_binop.
6682         (expand_builtin_strcmp): Likewise.
6683         Clean up conditional structure.
6684         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
6685         (complete_array_type): Don't use size_binop for MAXINDEX.
6686         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
6687         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
6688         (c_alignof): Use size_one_node.
6689         (build_unary_op): Pass arg of proper type to size_binop.
6690         (really_start_incremental_init, push_init_level): Use sizetype for
6691         constructor{,_bit,_unfilled}_index.
6692         (pop_init_label, output_init_element): Likewise.
6693         (output_pending_init_elements, process_init_element): Likewise.
6694         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
6695         * expr.c (store_expr): Use size_int.
6696         (store_constructor): Use proper types for size_binop args.
6697         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
6698         (expand_expr_unaligned): Likewise.
6699         (string_contant): Return object of sizetype.
6700         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
6701         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
6702         (ARGS_SIZE_TREE): Pass proper types to size_binop.
6703         * fold-const.c (int_const_binop): Refine when size_int is called.
6704         (fold_convert): Likewise.
6705         (size_int_wide): Rework to take KIND as arg, only take low order
6706         bits, handle new sizetype_tab datatype, and chain entries in
6707         size_table.
6708         (size_int_type_wide): New function.
6709         (size_binop): Validate types of arguments.
6710         (ssize_binop): Deleted.
6711         (size_diffop): New function.
6712         (extract_muldiv): Only fold division into multiplication for sizetypes.
6713         * function.c (assign_parms): Use size_diffop and make sure
6714         VAR field is of ssizetype; also pass proper type to size_binop.
6715         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
6716         (round_down): Deleted from here.
6717         * store-layout.c (sizetype_tab): Now an array.
6718         (sizetype_set, early_root_list): New variables.
6719         (variable_size): Use size_one_node.
6720         (round_up): Pass proper type to size_binop.
6721         (round_down): Moved to here and corrected as above.
6722         (layout_record): Pass proper arg types to size_binop.
6723         (layout_type): Likewise.
6724         If sizetype_set is zero, record the type just laid out.
6725         (make_unsigned_type): Don't call set_sizetype;
6726         (make_signed_type): Likewise; also, call fixup_signed_type.
6727         (initialize_sizetypes): New function.
6728         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
6729         set name of bitsizetype to "bit_size_type".
6730         Fix up type of sizes of all types made before call.
6731         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
6732         * tree.c (fix_sizetype): Deleted.
6733         (build_common_tree_nodes): Call initialize_sizetypes.
6734         (build_common_tree_nodes_2): Don't call fix_sizetype.
6735         * tree.h (TYPE_IS_SIZETYPE): New macro.
6736         (initialize_sizetype): New declaration.
6737         (enum size_type_kind): New type.
6738         (struct sizetype_tab): Deleted.
6739         (sizetype_tab): Now array; adjust sizetype macros.
6740         (size_diffop, size_int_type_wide): New functions.
6741         (size_int_wide): Change number of args and type; access macros changed.
6742         (ssize_int, sbitsize_int): New macros.
6743         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
6744         (ROUND_TYPE_SIZE_UNIT): New macro.
6746 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
6748         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
6750 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6752         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
6753         Mark as possibly unused.
6755         * cse.c (cse_insn): Delete dead code involving tablejump.
6756         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
6758         * Makefile.in (libcpp.a): Start by deleting it.
6760 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6762         * cpplib.h (enum file_change_code): Added rename_file.
6763         * cpplib.c (do_line): If a filename is given, set file_change to
6764         rename_file.
6765         (output_line_command): If file_change is rename_file, always
6766         output a # directive with the file name.
6768         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
6770 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
6772         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
6773         when copying a PARM_DECL or RESULT_DECL.
6775 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6777         * fix-header.c (recognized_function): Also fix prototypes for
6778         functions taking "void".
6780 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6782         * reload1.c (do_output_reload): Check reg_reloaded_valid before
6783         looking at reg_reloaded_contents.
6785 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
6787         * Makefile.in (STMP_FIXINC): New toggle.
6788         (LIBGCC2_DEPS): Delete all references.
6789         (stmp-headers): Delete target.  All references either deleted
6790         or changed to stmp-int-headers.
6791         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
6792         (LIBCPP_OBJS): Take out cppalloc.o.
6793         (cppalloc.o): Delete target.
6794         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
6795         (gen-protos, fix-header): Link with libiberty.a.
6796         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
6797         to empty.
6799         * configure.in: Remove refs to strerror.
6800         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
6801         * system.h: Take out strerror stanza.
6803         * cpperror.c (my_strerror): Delete function.
6804         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
6805         * cppmain.c (main): Call xmalloc_set_program_name first thing.
6806         * cppalloc.c: Delete file.
6807         * gen-protos.c: Don't provide xrealloc.
6809         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
6810         xstrerror throughout.
6812 2000-02-26  Bruce Korb  <bkorb@gnu.org>
6814         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
6815         match for DOS headers, too.
6816         * fixinc/inclhack.sh,fixincl.x: Regenerate.
6818 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
6820         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
6821         is right for most ELF targets.
6822         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
6823         Let the default file use %U properly.
6824         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
6825         default.
6827         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
6828         numbers.
6830 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6832         * toplev.c (documented_lang_options): Correct spelling error.
6833         (decode_d_option, decode_f_option, main): Likewise.
6835         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
6837         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
6838         to tell assembler it is permitted to expand large constants.
6840 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
6842         * protoize.c: (AUX_INFO_SUFFIX): New macro.
6843         (aux_info_suffix): Use.
6844         (SAVE_SUFFIX): New macro.
6845         (save_suffix): Use.
6846         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
6847         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
6848         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
6850         * invoke.texi (Running Protoize): Update documentation.
6852 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
6854         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
6856 2000-02-25  John Wehle  (john@feith.com)
6858         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
6860 2000-02-25  Anthony Green  <green@cygnus.com>
6862         * toplev.c (rest_of_compilation): Rebuild jump labels if
6863         combine_instructions has created a new direct jump.
6864         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
6865         when appropriate.
6866         (combine_instructions): Call try_combine with new argument.
6867         Return non-null value when new direct jump instruction is created.
6868         * rtl.h: combine_instructions returns an int.
6870 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
6872         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
6873         jump when changing a computed jump into a jump to a known
6874         target.
6876 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
6878         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
6879         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
6881         * i386.md (define_expand "clrstrsi"): Fix typo.
6883 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
6885         * rtl.texi: Fix typo.
6887 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6889         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
6890         UNITS_PER_WORD.  Change caller initial_elimination_offset.
6891         (rounded_frame_size): Take into account that argument pushed has
6892         changed.  Fix TARGET_ALIGN_DOUBLE problem.
6894 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
6896         * haifa-sched.c (schedule_block): Explain the real reason
6897         we delete REG_SAVE_NOTEs on the first insn of a block.
6898         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
6900 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
6902         * input.h (push_srcloc): New function.
6903         (pop_srcloc): Likewise.
6904         * toplev.c (push_srcloc): Define it.
6905         (pop_srcloc): Likewise.
6907 2000-02-24  Richard Henderson  <rth@cygnus.com>
6909         * flow.c (life_analysis): When collecting reg info, clear
6910         regs_ever_live.
6912 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6914         Fix bug exposed by reload.c no longer rounding the frame
6915         size to BIGGEST_ALIGNMENT:
6916         * sh.c (rounded_frame_size): New function.
6917         (sh_expand_prologue, sh_expand_epilogue): Use it.
6918         (initial_elimination_offset): Likewise.
6920 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6922         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6923         * sh-protos.h (sh_need_epilogue): Declare.
6924         * sh.c (sh_need_epilogue_known): New static variable.
6925         (sh_need_epilogue): New function.
6926         (function_epilogue): Clear need_epilogue_known.
6927         * sh.md (return): Split into expander / insn pattern.
6928         Make the expander conditional on ! sh_need_epilogue ().
6930 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
6932         * machmode.h (get_mode_alignment): Declare.
6933         (GET_MODE_ALIGNMENT): Call it.
6934         * stor-layout.c (get_mode_alignment): New function. Make
6935         sure alignment is always power of 2.
6937 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6939         * i386.h: Remove useless definition of "I386" and misleading
6940         comment above it.
6942 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6944         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
6945         under which TREE_PERMANENT will be set.
6946         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6947         build1): Use TREE_SET_PERMANENT.
6948         * print-tree.c (print_node): Don't report value of
6949         TREE_PERMANENT if ggc_p is true.
6951         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6952         decide whether to give a type a new alias set.
6953         * objc/objc-act.c (build_objc_string_object): Never copy the string.
6954         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6955         of value of 'obstack'.
6958 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6960         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6962 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6964         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6965         * cpplib.c (cpp_get_token): Produce them.
6966         * cppexp.c (cpp_lex): Handle them.
6968 2000-02-23  Nick Clifton  <nickc@cygnus.com>
6970         * config/arm/arm.c (arm_comp_type_attributes): Simply and
6971         comment tests on type attributes.
6973 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6975         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6976         conform to documentation.
6977         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6978         to check for special cases.
6979         * sh-protos.h (sh_loop_align): Declare.
6980         * sh.c (sh_loop_align): Define.
6982 2000-02-22  Andrew Haley  <aph@cygnus.com>
6984         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6985         (SIZE_TYPE): Is 32 bits when using -mgp32.
6986         (PTRDIFF_TYPE): Ditto.
6988 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6990         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6992 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6994         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6995         BIGGEST_FIELD_ALIGNMENT a constant.
6997 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
6999         * dwarf2out.c (output_line_info): Put the marker for the end of
7000         the line number info at the actual end.
7001         (gen_struct_or_union_type_die): Use decl_function_context 
7002         to check for local classes.
7003         * dwarfout.c (output_type): Likewise.
7005 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
7007         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
7008         for arguments with a mode, but no type.
7009         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
7010         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
7011         * pa/long_double.h: New file.
7012         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
7013         both have 128bit wide long doubles.
7014         * configure: Rebuilt.
7016 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7018         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
7020         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
7021         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
7022         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
7024         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
7026         * integrate.c (compare_blocks, find_block): Likewise.
7028         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
7030         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
7032         * stmt.c (stmt_status, set_file_and_line_for_stmt,
7033         expand_asm_operands): Likewise.
7035 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
7037         * predict.c (estimate_probability): Added the pointer heuristic to
7038         the collection of static branch predictors.
7040 2000-02-21  Catherine Moore  <clm@cygnus.com>
7042         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
7043         * invoke.texi (-mfix7000): Document.
7045 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
7047         * diagnostic.c (init_output_buffer): Make it possible to output at
7048         least 32 characters if we're given a too long prefix.
7050 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
7052         * varasm.c (initializer_constant_valid_p): Call
7053         lang_expand_constant to simplify the constant.
7055 2000-02-20  Bruce Korb  <bkorb@gnu.org>
7057         * fixinc/inclhack.def(stdio_va_list):
7058         typedef needs to be disabled.
7059         * fixinc/inclhack.sh: regen
7060         * fixinc/fixincl.x: regen
7062 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
7064         * print-rtl.c (print_rtx): Don't print addresses when
7065         flag_dump_unnumbered.
7067 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7069         * sparc.c (sparc_output_scratch_registers): Mark parameter with
7070         ATTRIBUTE_UNUSED.
7071         (sparc_va_arg, sparc_flat_output_function_prologue,
7072         sparc_flat_output_function_epilogue): Cast value to unsigned in
7073         comparison.
7074         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
7075         
7076         * sparc.md: Add default case in switch.
7078 2000-02-19  Richard Henderson  <rth@cygnus.com>
7080         * c-typeck.c (add_pending_init): Don't abort for multiple
7081         fields at the same offset.
7082         (pending_init_member): Test the correct member.
7084 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7086         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
7087         instead of SImode.
7088         (start_catch_handler) : Same.
7090 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
7092         * Makefile.in: Have flow.o depend on $(EXPR_H)
7094 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7096         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
7097         * c-decl.c (duplicate_decls, finish_enum): Likewise.
7098         (finish_decl): Remove -Wlarger-than code from here.
7099         * flags.h (id_clash_len): Now int.
7100         (larger_than_size): Now HOST_WIDE_INT.
7101         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
7102         Clean up checking to see if in table.
7103         (make_bit_field_ref): Remove extra parm to bitsize_int.
7104         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
7105         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
7106         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
7107         and for computing size of decl.
7108         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
7109         Move -Wlarger-than code to here.
7110         (layout_record): Remove extra arg to bitsize_int.
7111         Set TYPE_BINFO_SIZE_UNIT.
7112         (layout_union): Remove extra arg to bitsize_int.
7113         Use proper type for size of QUAL_UNION.
7114         (layout_type): Remove extra arg to bitsize_int.
7115         * toplev.c (id_clash_len): Now int.
7116         (larger_than_size): Now HOST_WIDE_INT.
7117         (decode_W_option): Clean up id-clash and larger-than- cases.
7118         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
7119         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
7120         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
7121         (struct tree_decl): New field size_unit.
7122         (size_int_wide): No HIGH operand; NUMBER is now signed.
7123         (size_int_2): Deleted.
7124         (size_int, bitsize_int): Don't use it and rework args.
7125         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
7127 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
7129         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
7131 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
7133         * invoke.texi (Warning Options): Add an explanation of why
7134         you might want the -Wfloat-equal flag.
7136 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7138         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
7139         * cppinit.c (new_pending_define): Add cast to avoid warning.
7140         * expmed.c (extract_bit_field): Likewise.
7141         * flow.c (enum reorder_skip_type): New type.
7142         (skip_insns_between_blcok): New it.
7143         Rework to avoid warning about possibly undefined variable.
7144         * function.c (assign_parms): Make thisparm_boundary unsigned.
7145         * genrecog.c (write_switch): Cast XWINT result to int.
7146         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
7147         * mips-tfile.c (init_file): Make two versions of FDR intializer:
7148         one for MIPS and one for Alpha.
7149         (get_tag, copy_object): Add casts to avoid warnings.
7150         * optabs.c (init_one_libfunc): Cast NAME to (char *).
7151         * reload.c (find_reloads): Make TYPE enum reload_type.
7152         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
7153         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
7154         * varasm.c (compare_constant_1): Add cast to avoid warning.
7155         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
7156         to (char *).
7157         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
7158         Cast switch operand of size to int.
7159         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
7160         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
7161         in unhandled case.
7163 2000-02-18  Nick Clifton  <nickc@cygnus.com>
7165         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
7166         anything for an alignment of zero.
7168         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
7169         anything for an alignment of zero.
7171 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
7173         * gcc.texi (Bug Reporting): Refer to bugs.html.
7174         (Bug Lists): Likewise.
7175         * system.h (GCCBUGURL): New preprocessor define.
7176         * rtl.c (fancy_abort): Use it.
7177         * gcc.c (main): Likewise.
7179 2000-02-18  Richard Henderson  <rth@cygnus.com>
7181         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
7182         (life_analysis_1): Subsume into ...
7183         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
7184         Use update_life_info for the relaxation.
7185         (update_life_info): Update REG_BASIC_BLOCK for registers live on
7186         entry and regs_live_at_setjmp.
7187         (set_noop_p): Simplify.
7188         (notice_stack_pointer_modification_1): Renamed from s/_1//.
7189         (record_volatile_insns): Split into ...
7190         (delete_noop_moves): ... here,
7191         (notice_stack_pointer_modification): ... here,
7192         (insn_dead_p): ... and here.
7193         (propagate_block): Don't query INSN_VOLATILE.
7194         (mark_used_regs): Mind !PROP_REG_INFO.
7195         * toplev.c (rest_of_compilation): Call mark_constant_function here,
7196         not in life_analysis.
7198 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
7200         * loop.c (canonicalize_condition): New function,
7201         broken out of get_condition.
7202         (get_condition): Use it.
7203         * expr.h (canonicalize_condition): Prototype it.
7205         * tree.h (tree_int_cst_msb): Declare.
7206         * tree.c (tree_int_cst_msb): New function.
7208 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
7210         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
7211         isn't set.
7213         * invoke.texi (-fmessage-length=n): Document.
7215 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
7217         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
7219 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
7221         * function.c (thread_prologue_and_epilogue_insns): Put a line note
7222         after the prologue.
7224 2000-02-17  Nick Clifton  <nickc@cygnus.com>
7226         * config/arm/thumb.c: Replace includes of system headers with
7227         #include "system.h".
7229 2000-02-16  Richard Henderson  <rth@cygnus.com>
7231         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
7232         Add crtbeginS.o and crtendS.o.
7233         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
7234         (ENDFILE_SPEC): Use crtendS.o.
7235         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
7237         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
7238         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
7239         shared and present.
7240         (__dso_handle): New variable.
7241         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
7242         bias to __CTOR_END__.
7243         
7244 2000-02-16  Richard Henderson  <rth@cygnus.com>
7246         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
7248 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7250         * longlong.h (__clz_tab): Declare as static to match definition.
7252 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
7253         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
7254         (XREF_FILE_NAME): Define.
7256         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
7257         (EH_FRAME_SECTION_ASM_OP): Define.
7258         (IDENT_ASM_OP): Define.
7259         (TEXT_SECTION_ASM_OP): Define.
7260         (CPP_SPEC): Define.
7261         (CTORS_SECTION_ASM_OP): Define.
7262         (CTOR_SECTION_FUNCTION): Use it.
7263         (DTORS_SECTION_ASM_OP): Define.
7264         (DTOR_SECTION_FUNCTION): Use it.
7266 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
7268         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
7269         NOTE_BASIC_BLOCK.
7271         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
7272         debug_bb_n): New functions.
7273         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
7274         * basic-block.h: Prototype new functions.
7276 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
7278         * configure.in: Add support for avr target.
7279         * configure: Rebuilt.
7281         * invoke.texi: Add AVR invocation docs.
7282         * install.texi: Add information about AVR.
7283         * md.texi: Add AVR constraint letters description.
7284         * extend.texi: Add description for AVR specific attributes.
7286 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
7288         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
7290 2000-02-16  Nick Clifton  <nickc@cygnus.com>
7292         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
7293         (make_insn_raw): Move RTL check here.
7295 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7297         * version.c: Include gansidecl.h and version.h.
7299         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
7300         
7301         * configure.in (gcc_version): When setting, narrow search to
7302         lines containing `version_string'.
7304         * Makefile.in (mainversion): Likewise. 
7305         (GCC_H): New variable.
7306         (gcc.h): Delete target.
7307         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
7308         (version.o): Depend on version.h.
7309         (dbxout.o): Don't depend on gcc.h.
7311 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7312                           Michael Meissner  <meissner@cygnus.com>
7314         * md.texi (Simple Constraints): Add item about whitespace.
7315         * genoutput.c (strip_whitespace): New.
7316         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
7317         strip_whitespace for constraints.
7318         Test pointer using NULL, not 0.
7320 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7322         * cpplib.c (do_line): Pedwarn for #line > 32767.
7324         * c-lex.c (readescape): Warn about '\x', but do not reject it.
7326 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
7328         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
7329         to default cpp spec.
7330         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
7331         * cpp.texi: Document __GNUC_PATCHLEVEL__.
7332         * cpp.1: Likewise.
7334         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
7335         default spec.
7337 2000-02-15  Denis Chertykov  <denisc@overta.ru>
7339         * configure.in: Add support for avr target.
7341 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7343         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
7344         (sh_addr_diff_vec_mode): Don't declare.
7345         * sh.c (sh_addr_diff_vec_mode): Delete.
7347 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7349         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
7351 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7353         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
7354         (smulsi3_highpart_i): Name.
7355         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
7356         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
7357         (smulsi3_highpart, umulsi3_highpart): Likewise.
7359         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
7360         correctly independent of endianness.
7361         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
7362         confuse the optimizers.
7363         (mulsidi3+1, umulsidi3+1): New define_split.
7365 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
7367         * config/sh/sh.md: Guard insn splits against illegal registers.
7368         * config/sh/sh.h: Correct comment about macros.
7370 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7371                           Andrew MacLeod  <amacleod@cygnus.com>
7373         * Makefile.in (lcm.o): Depend on insn-attr.h.
7374         * basic-block.h (optimize_mode_switching): Declare.
7375         * lcm.c (tm_p.h, insn-attr.h): #include.
7376         (seginfo, bb_info): New structs.
7377         (antic, transp, comp, delete, insert) : New file-scope static variables.
7378         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
7379         (reg_becomes_live, optimize_mode_switching): Likewise.
7380         * tm.texi: Add description of mode switching macros.
7381         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
7383         * sh-protos.h (remove_dead_before_cse): Remove prototype.
7384         (fldi_ok, fpscr_set_from_mem): New prototypes.
7385         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
7386         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
7387         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
7388         (sh_flag_remove_dead_before_cse): Remove declaration.
7389         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
7390         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
7391         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
7392         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
7393         (barrier_align): Allow for JUMP_INSNS containing a parallel.
7394         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
7395         (fldi_ok): New function.
7396         (get_fpscr_rtx): Add fpscr_rtx as GC root.
7397         (emit_sf_insn): Only generate fpu switches when optimize < 1.
7398         (emit_df_insn): Likewise.
7399         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
7400         (sh_flag_remove_dead_before_cse): Delete.
7401         (get_free_reg, fpscr_set_from_mem): New functions.
7402         * sh.md (movdf, movsf): Remove no_new_pseudos code.
7403         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
7405 2000-02-15  Loren Rittle  <ljrittle@acm.org>
7407         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
7409 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7411         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
7412         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
7414         * cccp.c: Include version.h and/or don't declare `version_string'.
7415         * collect2.c: Likewise.
7416         * alpha.c: Likewise.
7417         * arm/aof.h: Likewise.
7418         * arm/coff.h: Likewise.
7419         * arm/elf.h: Likewise.
7420         * arm/pe.h: Likewise.
7421         * arm/tcoff.h: Likewise.
7422         * arm/telf.h: Likewise.
7423         * arm/tpe.h: Likewise.
7424         * arm/vxarm.h: Likewise.
7425         * convex/convex.c: Likewise.
7426         * i386/dgux.c: Likewise.
7427         * i386/sun386.h: Likewise.
7428         * m88k/m88k.c: Likewise.
7429         * mcore/mcore-pe.h: Likewise.
7430         * mips/mips.h: Likewise.
7431         * romp/romp.h: Likewise.
7432         * sh/sh.c: Likewise.
7433         * cpphash.c: Likewise.
7434         * cppinit.c: Likewise.
7435         * dwarf2out.c: Likewise.
7436         * dwarfout.c: Likewise.
7437         * gcc.c: Likewise.
7438         * gcc.h: Likewise.
7439         * mips-tfile.c: Likewise.
7440         * protoize.c: Likewise.
7441         * toplev.c: Likewise.
7442         * tree.h: Likewise.
7443         
7444         * version.c (version_string): Constify a char*.
7446         * version.h: New file.
7448 2000-02-14  Nick Clifton  <nickc@cygnus.com>
7450         * configure.in: Add mcore-elf and mcore-pe targets.
7451         * configure: Regenerate.
7453         * NEWS: Add note that MCore port has been contributed.
7455         * invoke.texi: Document command line switches for MCore port.
7456         * install.texi: Add MCore to list of supported targets.
7458 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
7460         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
7461         then we will need to import the frame handling functions.
7462         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
7463         to import the frames themselves.
7465 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
7466                           Jason Eckhardt  <jle@cygnus.com>
7468         * basic_block.h: Added prototype for reorder_basic_blocks.
7469         * toplev.c: Changes to add -freorder-blocks and graph dump after
7470         block reordering is done.
7471         * flow.c (reorder_block_def): New structure for use during block
7472         reordering.
7473         (REORDER_BLOCK_*): New macros to access members of above structure.
7474         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
7475         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
7476         functions for block reordering.
7478 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7480         * gcc.texi (Passes): Fix typo.
7481         * md.texi (Standard Names): Ditto.
7482         * tm.texi (Storage Layout): Ditto.
7484 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
7486         * cpplib.c (do_define): Only free the old definition if it
7487         actually had one.
7489 2000-02-13   Neil Booth  <NeilB@earthling.net>
7491         * cppfiles.c (read_and_prescan): When emitting deferred
7492         newlines, test speccase[] again instead of checking each
7493         possible whitespace character in turn.  When we encounter \r,
7494         look behind for \n first, then ahead.
7496 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
7498         * cse.c (cse_altered): New internal flag.
7499         (cse_insn): Set it if we changed an insn.
7500         (cse_main): Clear cse_altered before each basic block.
7501         Only garbage collect if cse_altered is true afterward.
7503 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7505         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
7507 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
7509         * combine.c (simplify_comparison): Fix typo.
7511 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
7513         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
7514         consistently.
7516 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7518         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
7519         previously inserted node instead of root node.  Caller changed.
7521 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7523         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
7525 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7527         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
7528         __dereg_frame_dtor): Add prototype argument.
7530         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
7532         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
7534         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
7536         * gthr-vxworks.h (__gthread_once): Likewise.
7538         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
7540 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
7542         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
7543         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
7544         stack pointer in functions w/o saved registers, output LEAVE more often
7545         on TARGET_USE_LEAVE machines.
7547 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
7549         * config/arm/arm.c (arm_init_cumulative_args); New function:
7550         Initlaise the CUMULATIE_ARGS strcuture for a function
7551         defintion. 
7552         (arm_function_arg): New function: Determine where to place a
7553         function's argument.  Also handles deciding the function's
7554         call cookie.
7555         (current_file_function_operand): New function: Return true if
7556         the symbol is a function which has already been compiled.
7557         (arm_is_long_call_p): New function: Return true if the
7558         indicated function should be called via a long call.
7559         (arm_valid_type_attribute_p): New function: Return true if the
7560         attribute is a valid, arm specific, attribute.
7561         (arm_comp_type_attribute): New function: Return true if the
7562         two types have compatable, arm specific, attributes.
7564         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
7565         structure.
7566         (FUNCTION_ARG): Redefine to call arm_function_arg.
7567         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
7568         structure field.
7569         (INIT_CUMULATIVE_ARGS): Redefine to call
7570         arm_init_cumulative_args.
7571         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
7572         field. 
7573         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
7574         field. 
7575         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
7576         functions.
7577         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
7578         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
7579         (COMP_TYPE_ATTRIBUTES): Define.
7581         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
7582         if a long call is needed.
7583         (call_value): Call arm_is_long_call_p to decide if a long call
7584         is needed.
7585         (call_symbol): Call arm_is_long_call_p to decide if a long call
7586         is needed.
7588         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
7590 2000-02-11  Denis Chertykov  <denisc@overta.ru>
7592         * README.AVR: New file with information about the avr ports.
7593         * config/avr: New directory with avr port files.
7595 2000-02-11  Andreas Jaeger  <aj@suse.de>
7597         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
7599 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
7601         * cpphash.c: Fix formatting, update commentary.
7602         (dump_definition): Take three separate arguments instead of a
7603         MACRODEF structure argument.
7604         * cpphash.h: Update prototype of dump_definition.
7605         * cppinit.c (cpp_finish): Update call of dump_definition.
7607         * cpplib.c (do_define): Always create new hash entry with
7608         T_MACRO type.  Remove redundant check for redefinition of
7609         poisoned identifier.  Update call of dump_definition.
7610         (do_undef): Don't call check_macro_name.  Rename sym_length to
7611         len.
7612         (do_error, do_warning): Don't use copy_rest_of_line or
7613         SKIP_WHITE_SPACE.
7614         (do_warning): Don't use pedwarn for the actual warning,
7615         only the notice about its not being in the standard.  (Fixes
7616         bug with #warning in system headers.)
7617         (do_ident): Stricter argument checking - accept only a single
7618         string after #ident.  Also, macro-expand the line.
7619         (do_xifdef): Use cpp_defined.  De-obfuscate.
7621         (do_pragma): Split out specific pragma handling to separate
7622         functions.  Use get_directive_token.  Update commentary.  Do
7623         not pass on #pragma once or #pragma poison to the front end.
7624         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
7625         do_pragma_default): New.
7627 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
7629         * jump.c (jump_optimize_1): The first operand in a relational
7630         can be a CONST_INT.
7631         * optabs.c (emit_conditional_move): Handle relationals which
7632         have a known true/false result.
7634 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
7636         * function.c (thread_prologue_and_epilogue_insns): Don't insert
7637         a RETURN insn into a block which already ends with a jump.
7639 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
7641         * haifa-sched.c (BUF_LEN): Increase a lot.
7643 2000-02-11  Nick Clifton  <nickc@cygnus.com>
7645         * configure.in: Add tm_p_file specification for thumb targets.
7646         * configure: Regenerate.
7648         * config/arm/thumb-protos.h: New file: Prototypes for exported
7649         functions defined in thumb.c.
7651 2000-02-11  Robert Lipe  <robertl@sco.com>
7653         * Makefile.in (bootstrap-lean): Remove additional files.
7654         (bootstrap2-lean): Likewise.
7655         (VOL_FILES): List of files for above.
7657 2000-02-11  Nathan Sidwell  <nathan@acm.org>
7659         * cpphash.c (special_symbol): Remove spurious argument to
7660         cpp_lookup.
7662 2000-02-11  Joel Sherrill (joel@OARcorp.com>
7664         * configure.in: (i*86-*-rtems*): Swapped elf and coff
7665         stanzas.
7666         * configure: Rebuilt.
7668 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
7669         
7670         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
7672 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
7674         * pa.c, pa.h: Remove trigraph sequences within comments.
7676 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
7678         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
7680 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
7682         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
7684 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7685         
7686         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
7688 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7690         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
7691         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
7692         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
7693         (ASM_FILE_END): Use c4x_file_end.
7694         * config/c4x/c4x.c (c4x_global_label): New function.
7695         (c4x_external_ref, c4x_file_end): Likewise.
7697         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
7698         (c4x_external_ref, c4x_end_file): Likewise.
7700 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
7702         * cppexp.c: Don't include cpphash.h.
7703         (parse_charconst, cpp_lex): Use cpp_defined.
7704         (cpp_lex): Use get_directive_token throughout.  Remove
7705         unnecessary cases from switch.  Move assertion-handling code
7706         down to OTHER case.
7707         (cpp_parse_expr): If we see '+' or '-', check the context to
7708         determine if they are unary or binary operators.  Streamline
7709         the jumps a bit.  Do not call skip_rest_of_line.
7711         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
7712         static.  Export get_directive_token.  Update commentary.
7713         (cpp_defined): New function.
7714         (do_define): Remove reference to T_PCSTRING.  Call
7715         free_definition to release memory for old definition, when
7716         redefining a macro.
7717         (eval_if_expression): Set only_seen_white to 0 before calling
7718         cpp_parse_expr.  Call skip_rest_of_line after it returns.
7719         (cpp_read_check_assertion): Don't preserve a pointer into the
7720         token buffer across a call to cpp_get_token.
7722         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
7723         * cppfiles.c (redundant_include_p): Use cpp_defined.
7724         * cpphash.c (free_definition): New function.
7725         (delete_macro): Use it.  Update commentary.
7726         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
7727         free_definition.
7728         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
7729         from enum node_type.  Prototype cpp_defined and get_directive_token.
7730         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
7732         * fix-header.c (check_macro_names): Use cpp_defined.
7733         (read_scan_file): Set inhibit_warnings and inhibit_errors in
7734         the options structure.
7736 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7738         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
7740 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
7742         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
7743         rather than die->die_tag.
7745 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7747         * combine.c (make_extraction, force_to_mode): Avoid warning on
7748         mixed-signedness conditionals.
7749         (make_field_assignment, nonzero_bits): Likewise.
7750         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
7751         (store_split_bit_field, extract_split_bit_field): Likewise.
7752         (extract_fixed_bit_field, store_bit_field, 
7753         * expr.c: Change alignment to be unsigned everywhere.
7754         (move_by_pieces, store_constructor_field, store_constructor): 
7755         Alignment parm is unsigned.
7756         (emit_block_move, emit_group_load, emit_group_store): Likewise.
7757         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7758         (do_compare_rtx_and_jump): Likewise.
7759         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
7760         Compare align with GET_MODE_ALIGNMENT.
7761         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
7762         (get_inner_reference): Likewise.
7763         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
7764         (expand_assignment): Local vars for alignment now unsigned.
7765         (store_constructor, store_field, expand_expr, do_jump): Likewise.
7766         (do_compare_and_jump): Likewise.
7767         (store_field): Call new function expr_align.
7768         * expr.h (emit_block_move, emit_group_load, emit_group_store):
7769         Alignment arg now unsigned.
7770         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7771         (do_compare_rtx_and_jump, store_bit_field): Likewise.
7772         (extract_bit_field): Likewise.
7773         * fold-const.c (add_double): Add cast to eliminate signedness warning.
7774         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
7775         (get_best_mode): Alignment arg is unsigned.
7776         * rtl.h (move_by_pieces): Likewise.
7777         * store-layout.c (maximum_field_alignment, set_alignment):
7778         Now unsigned.
7779         (layout_decl): Alignment arg is now unsigned.
7780         Remove unneeded casts.
7781         (layout_record, layout_union, layout_type): Remove unneeded casts.
7782         Local alignment variables now unsigned.
7783         (get_best_mode): Alignment arg now unsigned.
7784         * tree.c (expr_align): New function.
7785         * tree.h (expr_align): Likewise.
7786         (maximum_field_alignment, set_alignment): Now unsigned.
7787         (get_inner_reference): Alignment argument is now pointer to unsigned.
7788         * varasm.c (assemble_variable): Add cast to eliminate warning.
7790 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
7792         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
7793         then store directly into op0.
7795         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
7796         the CALL_INSN, and emit the note immediately after it.
7798 2000-02-10  Nick Clifton  <nickc@cygnus.com>
7800         * config/arm/thumb.md (epilogue): Include a (return) in the
7801         generated insn, and emit it using emit_jump_insn not
7802         emit_insn. 
7804 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
7806         * function.c (assign_temp): Change zero-sized arrays to size 1.
7807         * integrate.c (expand_inline_function): Do not update
7808         stack_alignment_needed
7809         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
7810         add some sanity checking, remove optimization for function with
7811         zero frame size.
7813 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7815         * flow.c (mark_regs_live_at_end): Delete unused variables.
7817         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
7819         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
7820         in macro FRAME_GROWS_DOWNWARD.
7822         * stmt.c (expand_end_bindings): Delete unused variable.
7824         * unroll.c (iteration_info): Mark parameter `loop' with
7825         ATTRIBUTE_UNUSED.
7827 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7829         * fixinc/server.c (load_data): Return NULL if the marker line is
7830         not found.
7831         (run_shell): If load_data returns NULL, retry the command once, in
7832         a new shell.
7834         * configure: Rebuilt.
7836 2000-02-09  Bruce Korb  <bkorb@gnu.org>
7838         * gcc/fixincludes:  ** DELETED **
7839         * gcc/fixcpp:  ** DELETED **
7840         * gcc/fixinc-nt.sed:  ** DELETED **
7841         * gcc/just-fixinc:  ** DELETED **
7842         * gcc/Makefile.in:  Removed out-dated commentary
7843         * gcc/configure.in: Removed fast-fixincludes disablement.
7844         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
7846 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7847         * function.c (thread_prologue_and_epilogue_insns): Uncomment
7848         last change.
7850 2000-02-09  Richard Henderson  <rth@cygnus.com>
7852         * jump.c (delete_insn): Don't delete user labels at -O0.
7854 2000-02-09  Robert Lipe  <robertl@sco.com>
7856         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
7857         Don't link with HOST_LIBS. 
7859 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7861         * configure.in: Correct --help text for --with-dwarf2.
7862         Put tm-dwarf2.h after other tm files, if it's requested.
7863         * configure: Regenerate.
7864         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
7865         defining it.
7867 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7869         * cpplib.h: Provide HASHNODE typedef and forward decl of
7870         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
7871         DEFINITION, struct hashnode, struct macrodef, struct
7872         definition, scan_decls prototype, default defn of
7873         INCLUDE_LEN_FUDGE moved elsewhere.
7875         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
7876         definition, and struct hashnode moved here. Remove the unused
7877         'predefined' field from struct definition.  Replace the 'args'
7878         union with its sole member.  All users updated (cpphash.c).
7879         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
7880         multiple include guard.
7882         * cpphash.c (hashf): Make static; use better algorithm; drop
7883         HASHSIZE parameter; return an unsigned int.
7884         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
7885         used. Calculate HASHSIZE modulus here.
7886         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
7887         here.
7888         (create_definition): Drop PREDEFINITION parameter.
7889         * cpplib.c (do_define): Don't calculate a hash value here.
7890         Don't pass (keyword == NULL) to create_definition.
7892         * scan.h: Prototype scan_decls here.
7893         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
7894         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
7895         callers of cpp_lookup and cpp_install updated.
7896         
7897         * cpphash.c (macarg): Hoist all the flag diddling out of the
7898         function...
7899         (macroexpand): ... and out of the loop that calls macarg.
7900         Skip over the initial paren before macro arguments with
7901         cpp_get_non_space_token; point may be some distance before
7902         that paren.  Abort if it's not there.
7904         * cpplib.c (parse_clear_mark): Delete function.
7905         (parse_set_mark, parse_goto_mark): Make static.
7906         (ACTIVE_MARK_P): New macro.
7907         (skip_block_comment, skip_line_comment): Do not bump the line
7908         if ACTIVE_MARK_P is true.
7909         (cpp_pop_buffer): The buffer to be popped may not have an
7910         active mark.
7911         (cpp_get_token): When looking for the initial paren before
7912         macro arguments, only set a mark in a file buffer, Always
7913         return to that mark before proceeding to call macroexpand or
7914         return a NAME token.
7916         * cpplib.h: Remove prototypes of parse_set_mark,
7917         parse_clear_mark, parse_goto_mark.
7918         (struct cpp_options): Rename 'put_out_comments' to
7919         'discard_comments' and invert its sense.
7920         * cppinit.c, cpphash.c, cpplib.c: All users of
7921         put_out_comments changed to use discard_comments, with
7922         opposite sense.
7924 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7926         * function.c (thread_prologue_and_epilogue_insns): Don't delete
7927         the edge from a block that both jumps and falls through to the
7928         fallthru block.
7930 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
7932         * config/arm/arm.md (movsi): In PIC mode, make sure that a
7933         constant source address is legitimate.
7935 2000-02-09  Philip Blundell  <pb@futuretv.com>
7937         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7938         correctly.
7940         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7941         generating PIC.
7942         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7944 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7946         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7947         ends with a newline and a NUL.  Don't be so clever manipulating
7948         strings.
7950 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7952         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7953         not to BIGGEST_ALIGNMENT.
7955 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
7957         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7958         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7959         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7960         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7961         * frame.c (execute_cfa_insn): Handle 
7962         DW_CFA_GNU_negative_offset_extended.
7964 2000-02-08  Richard Henderson  <rth@cygnus.com>
7966         * flow.c (tidy_fallthru_edges): Split out from ...
7967         (delete_unreachable_blocks): ... here.
7968         (find_basic_blocks): Use it.
7970 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7972         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7974 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
7976         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7977         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7978         (fix-header.o): Don't depend on cpphash.h.
7980         * scan.c (hashstr): New function. 
7981         * scan.h: Prototype it.
7982         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
7983         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
7984         hashstr.  Report hash table statistics.  Add private     
7985         definition of xrealloc.
7987 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7989         * i386.h (TARGET_SWITCHES): Fix typo in option name.
7991 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
7993         * function.c (thread_prologue_and_epilogue_insns): Don't replace
7994         jumps with returns unless they are jumps to the fallthru block.
7996 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
7998         * i386.md (addqi3_cc): Fix contraints.
8000 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8002         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
8004 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
8006         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
8007         carriage return after a macro name.
8009 2000-02-07  Fred Fish  <fnf@be.com>
8011         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
8012         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
8014 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
8016         * cppfiles.c (deps_output): Count spacers in deps_column.
8018 2000-02-07  Neil Booth  <NeilB@earthling.net>
8020         * cppinit.c (initialize_dependency_output): If there is no
8021         suffix, don't try to look for known suffixes.  Use strrchr.
8022         (cpp_start_read): Remove duplicate initialization.
8024 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
8026         * calls.c (compute_argument_block_size): New argument
8027         preferred_stack_boundary.
8028         (expand_call): update cfun->preferred_stack_boundary, update call of
8029         compute_argument_block_size
8030         (emit_library_call): Increate cfun->preferred_stack_boundary
8031         to PREFERRED_STACK_BOUNDARY
8032         (emit_library_call_value): Likewise.
8033         * explow.c (allocate_dynamic_stack_spave): Likewise.
8034         * function.c (prepare_function_start): Set
8035         cfun->preferred_stack_boundary
8036         * function.h (struct function): Add preferred_stack_boundary field.
8037         * integrate.c (expand_inline_function): Update
8038         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
8039         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
8040         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
8042 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
8044         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
8045         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
8046         cpp_pedwarn, cpp_pedwarn_with_line,
8047         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
8048         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
8049         v_cpp_error_with_line, v_cpp_warning_with_line,
8050         cpp_message_from_errno, cpp_perror_with_name): Delete.
8052         * cpperror.c (cpp_print_containing_files): Take starting
8053         buffer as argument.
8054         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
8055         (v_cpp_message): Now called directly by all entry points.
8056         Remove -1 case.
8057         (cpp_pfatal_with_name, cpp_message): Delete.
8058         (cpp_notice_from_errno, cpp_ice): New functions.
8059         (cpp_notice): Is now for reporting error conditions, just
8060         without an associated file.
8061         (cpp_error, cpp_error_with_line): Don't do anything if
8062         opts->inhibit_errors is on.
8063         (cpp_pedwarn_with_file_and_line): Take column argument also.
8065         * cpplib.h: Update prototypes of exported functions.
8066         (struct cpp_options): Add inhibit_errors.
8068         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
8069         non-error messages.  Include intl.h.
8071         * cppinit.c, cppmain.c: Likewise.  Also, use
8072         cpp_notice_from_errno instead of cpp_perror_with_name or
8073         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
8075         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
8076         report internal errors.
8078         * cpplib.c (do_define): Switch bcopy to memcpy.
8079         Give cpp_pedwarn_with_file_and_line a dummy column argument.
8081         * cpplib.c (copy_rest_of_line): Revert previous change: don't
8082         bail out early if we hit a line comment.
8084 2000-02-06  Richard Henderson  <rth@cygnus.com>
8086         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
8087         * basic-block.h: Declare them.
8088         * emit-rtl.h (active_insn_p): New.
8089         (next_active_insn, prev_active_insn): Use it.
8090         * rtl.h: Declare it.
8091         * function.c (emit_return_into_block): New.
8092         (thread_prologue_and_epilogue_insns): Insert return insns instead
8093         of epilogues when possible.
8094         * jump.c (jump_optimize_1): Remove code to insert a return insn
8095         on the fallthru to the exit block.
8097         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
8098         and for non-empty stack frames.
8099         * i386.md (return): Expand to return-pop as needed.
8101 2000-02-06  Richard Henderson  <rth@cygnus.com>
8103         * simplify-rtx.c (simplify_relational_operation): Canonicalize
8104         constant to op1 for testing.
8106 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8108         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
8109         (fixuns_truncqfqi2): Use it.
8111 2000-02-06  Richard Henderson  <rth@cygnus.com>
8113         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
8114         as a TYPE_LEA insn.
8116         * i386.md (widening and peepholes): Mask the constant instead of
8117         using gen_lowpart.
8119 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
8121         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
8122         input pointer before possibly branching off to the backslash
8123         code.
8124         * cpphash.c (macroexpand): Correctly delete \r escapes when
8125         stringifying parameters.
8126         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
8127         if we can; bail out early if we hit a line comment.
8128         (handle_directive): Treat '# 123' in an .S file just like
8129         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
8130         Return 1 for '# not_a_directive'.
8131         (get_directive_token): Pop macro buffers here, so that
8132         cpp_get_token can't sneakily move past a newline.
8133         Add sanity checks. 
8134         (cpp_get_token): goto randomchar if handle_directive returns 0.
8136         * cppalloc.c: Update copyright.
8137         * cpplib.c: Merge all the static function prototypes into one
8138         block.
8139         * cpplib.h: Remove #if 0 block.
8141         * cpperror.c: Remove #ifdef EMACS block.
8142         * cppmain.c: Likewise.
8143         * cpphash.c: Remove #if 0 blocks.
8144         * cppinit.c: Remove #if 0 blocks, and the -lint option.
8145         * cpplib.c: Remove #if 0 blocks and code referencing
8146         pcp_inside_if or for_lint.  Remove duplicate error message.
8147         Fix error messages for #else after #else or #elif.  Reformat.
8148         Remove archaic TODO list.
8149         * cpplib.h: Remove pcp_inside_if and for_lint flags.
8151 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
8153         * i386/osf1elf.h: Add missing backslash to multiline string.
8155 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8157         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
8159 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8161         * Makefile.in (c-common.o): Depend on $(EXPR_H).
8163         * c-common.c: Include expr.h.
8165         * c-pragma.c (mark_align_stack): Add prototype.
8167         * caller-save.c (add_stored_regs): Likewise.
8169         * combine.c (record_promoted_value): Likewise.
8171         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
8172         Likewise.
8174         * cppinit.c (new_pending_define): Likewise.
8176         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
8178         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
8179         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
8180         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
8181         class_scope_p): Likewise.
8183         * dwarf2out.h (dwarf2out_set_demangle_name_func,
8184         dwarf2out_add_library_unit_info): Likewise.
8186         * ggc.h (ggc_page_print_statistics): Likewise.
8188         * haifa-sched.c (propagate_deps): Likewise.
8190         * reg-stack.c (next_flags_user, record_label_references): Likewise.
8192         * rtl.h (set_stack_check_libfunc): Likewise.
8194         * toplev.h (set_fatal_function): Likewise.
8196         * toplev.c (set_fatal_function): Delete prototype.
8197         
8198         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
8199         
8200 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
8202         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
8203         (FUNC_END): Likewise.
8205 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8207         * caller-save.c: Include tm_p.h.
8209 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8211         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
8213 2000-02-04  Neil Booth  <NeilB@earthling.net>
8215         * cccp.c (main): Check 'dir' for a NULL pointer before passing
8216         it to strcmp.
8218 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
8220         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
8221         * genflags.c: Use the max_operand_1 logic from genemit.c to
8222         calculate how many arguments gen_insn prototypes have.  Remove
8223         NO_MD_PROTOTYPES ifdefs from the generated file.
8224         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
8225         file.  Cast gen_insn initializers to insn_gen_fn.
8226         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
8227         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
8229 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8231         * fixinc/Makefile.in (HDR): Add machname.h.
8232         (clean): Likewise.
8234 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8236         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
8237         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
8238         (c4x_cpu_version): Ditto.
8239         * config/c4x/c4x-protos.h: ... here.
8241 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
8243         * dwarf2out.c (add_abstract_origin_attribute): Don't call
8244         gen_abstract_function on our context if we're a nested function.
8246 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8248         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
8249         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
8251 2000-02-04  Bruce Korb  <bkorb@gnu.org>
8253         * fixinc/genfixes(machname.h):
8254         Move the functionality from gen-machine.h into this file.
8255         UNdef MN_NAME_PAT if there are no names to change.
8256         Also, be a little kinder when AutoGen is not present.
8258         * fixinc/Makefile.in(machname.h):
8259         Change the generation rule to use genfixes.
8261         * fixinc/fixfixes.c(machine_name):
8262         machine_name_fix's functionality now dependent upon whether
8263         MN_NAME_PAT is defined.
8265         * fixinc/fixtests.c(machine_name):
8266         ditto.
8268         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
8269         of MN_NAME_PAT.
8271         * fixinc/fixlib.h(mn_get_regexps):
8272         ditto
8274         * fixinc/gen-machine.h: DELETED
8276 2000-02-04  Jan Hubicka  <jh@suse.cz>
8277             Richard Henderson  <rth@cygnus.com>
8279         * i386.c (SAVE_REGS_FIRST): Remove.
8280         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
8281         (ix86_compute_frame_size): Likewise.
8282         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
8283         (ix86_emit_restore_regs): Remove.
8284         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
8285         when a frame pointer is in use.
8286         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
8287         instead of pop to restore a register when profitable; emit leave
8288         when profitable.
8289         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
8290         as a TYPE_LEA insn.
8291         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
8292         * i386.md (prologue_allocate_stack): Remove.
8293         (epilogue_deallocate_stack): Remove.
8294         (pro_epilogue_adjust_stack): New.
8296 2000-02-04  Richard Henderson  <rth@cygnus.com>
8298         * function.c (diddle_return_value): Rework to use a callback function.
8299         Use current_function_return_rtx if it's been set up.
8300         (do_clobber_return_reg, clobber_return_register): New.
8301         (do_use_return_reg, use_return_register): New.
8302         (expand_function_end): Use them.
8303         * stmt.c (expand_null_return): Likewise.
8304         * function.h: Declare them.
8305         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
8306         (mark_reg): Change arguments as appropriate for callback.
8307         * integrate.c (expand_inline_function): Revert 19 Jan change.
8309 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8311         * tm.texi (Values in Registers): Fix typo: "fo" "for".
8312         (Misc): Say the scheduler, not the Haifa scheduler.
8314 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
8316         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
8317         when in_mem is set.  Update all callers.
8319 2000-02-04  Richard Henderson  <rth@cygnus.com>
8321         * i386/openbsd.h (INT_ASM_OP): Define.
8323 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8325         * tm.texi: Fix various typos.
8327 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
8329         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
8330         (MD_STARTFILE_PREFIX_1): New macro.
8332 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
8334         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
8335         destination when needed.
8336         (strmovsi, strsetsi): New expander.
8337         (strmovsi_1, strsetsi_1): New pattern.
8338         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
8339         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
8340         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
8341         * invoke.texi (align-stringops, inline-all-stringops): Document.
8343 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
8345         * i386/netbsd.h (INT_ASM_OP): Define.
8347 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
8349         * cpplib.h (cpp_reader): Add new flag, no_directives.
8350         * cpphash.c (macarg): Set it.
8351         * cpplib.c (handle_directive): If no_directives is on and we
8352         find a directive, issue an error and discard the line.
8354 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
8356         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
8357         FP constants.  Add ! TARGET_FPU check for FP constants.
8359 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
8360         
8361         * flow.c (find_basic_blocks): Don't kill label_value_list
8362         here.
8363         (cleanup_cfg): Kill it here.
8365 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8367         * expr.c (store_field): Ensure ALIGN is no stricter than the
8368         alignment of EXP.
8370 2000-02-02  Richard Henderson  <rth@cygnus.com>
8372         * jump.c (delete_insn): Partially revert 19 Jan change; 
8373         don't convert unused code labels to notes at -O0.
8375 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8377         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
8378         split_all_insns to recreate REG_LABEL notes for flow2 pass.
8380 2000-02-01  Richard Henderson  <rth@cygnus.com>
8382         * i386.c (general_no_elim_operand): New.
8383         (nonmemory_no_elim_operand): New.
8384         (ix86_expand_move): Copy eliminable operands before a push.
8385         * i386-protos.h: Declare new functions.
8386         * i386.h (CAN_ELIMINATE): Simplify.
8387         (PREDICATE_CODES): Update.
8388         * i386.md (push insns): Don't allow eliminable register operands.
8390 2000-02-01  Richard Henderson  <rth@cygnus.com>
8392         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
8393         replace BLKmode with DECL_RTL's mode.
8395 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
8397         * frame.c (find_fde): Convert for loop to do-while so compiler
8398         sees it's always executed at least once.
8399         * libgcc2.c (BBINBUFSIZE): Kill.
8400         (__bb_init_prg): Use fgets.
8401         (__bb_exit_trace_func): Don't paste strings.
8402         * unroll.c (unroll_loop): Initialize unroll_type, not
8403         unroll_number, and tweak logic to match.
8405         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
8406         all failure paths.
8407         (ix86_flags_dependant): Likewise.  Disentangle control flow.
8408         (ix86_sched_reorder): Break guts out to
8409         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
8410         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
8411         any possible use.
8413         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
8414         use string concatenation.  Don't save and restore esi.
8416         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
8417         (machname.h): Remove script to separate file.  Use two-step
8418         sequence so target is not created if script fails.
8419         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
8420         identifiers are defined.
8421         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
8422         an empty string, machine_name doesn't need to do anything at
8423         all.
8424         (is_cxx_header): Add more cases to regexp.
8425         * fixinc/fixlib.h: Update prototype.
8426         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
8427         mn_get_regexps.
8428         * fixinc/fixincl.c: Define NO_BOGOSITY.
8430         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
8431         (hp_sysfile): Add missing comma.
8432         (math_exception): Put the wrapper ifdefs at the beginning and
8433         the end of the file.
8434         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
8436 2000-02-01  Richard Henderson  <rth@cygnus.com>
8438         * sparc.c (fp_zero_operand): Turn into a normal predicate.
8439         Use CONST0_RTX.  Update all callers.
8440         * sparc.h, sparc-protos.h: Update accordingly.
8441         * sparc.md (fp mov insns): Use fp_zero_operand directly
8442         where applicable.
8444 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8446         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
8447         example.
8449 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8451         * Makefile.in (specs.ready): New target.
8452         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
8454 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8456         * fixinc.irix: Use unique filenames for writing into /tmp,
8457         * fixinc.ptx: Likewise.
8458         * fixinc.sco: Likewise.
8459         * fixinc.svr4: Likewise.
8460         * fixinc.winnt: Likewise.
8462 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8464         * tsystem.h: New file.
8466         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
8467         s-crtS): Depend on tsystem.h.
8469         * crtstuff.c: Include tsystem.h.
8470         * frame.c: Likewise.
8471         * libgcc2.c: Likewise.
8473 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
8475         * builtins.c (expand_builtin_memset): Expand for variable sized
8476         lengths too.
8478 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
8480         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
8481         on ABI.
8483 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8485         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
8487         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
8489 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
8491         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
8492         case 3->2 combining (combining with splitting) in which 2 is CC0
8493         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
8494         checked at the begining of the function with the aid of calling 
8495         function 'can_combine_p'. 
8497 2000-01-31  Dave Brolley  <brolley@redhat.com>
8499         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
8501 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
8503         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
8504         new label.
8506 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8508         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
8509         
8510         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
8511         PROTO -> PARAMS.
8513 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
8515         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
8516         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
8517         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
8518         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
8519         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
8520         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
8521         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
8522         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
8523         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
8524         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
8525         
8526         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
8527         Add %(cpp_cpu) to CPP_SPEC.
8529         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
8530         Add %(cc1_cpu) to CC1_SPEC.
8532 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
8534         * c-decl.c (c_decode_option): Accept optional numeric argument to
8535         -Wformat and set warn_format.
8536         * c-common.c: Don't emit warning about non-constant printf format
8537         string unless warn_format > 1.
8539 2000-01-30  Richard Henderson  <rth@cygnus.com>
8541         * alpha.md (return_internal): Allow after reload only.
8543 2000-01-30  Richard Henderson  <rth@cygnus.com>
8545         * i386.c (ix86_compute_frame_size): Omit padding1 if the
8546         local frame size is zero.
8548 2000-01-30  Richard Henderson  <rth@cygnus.com>
8550         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
8551         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
8552         * alpha.md (return): Turn into an expander.
8553         (return_internal): Don't use $26.
8554         (epilogue): Emit the return insn.
8556 2000-01-30  Richard Henderson  <rth@cygnus.com>
8558         * alpha.md (negtf2, abstf2): Fix word order thinko.
8559         (extendsftf2): New.
8560         (trunctfsf2): Avoid intermediate rounding errors.
8562 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
8564         * cppfiles.c (find_position): Drop 'colp' argument, return the
8565         new line base.
8566         (read_and_prescan): Adjust to match.  Don't ever manipulate
8567         line or line_base except via find_position.
8569 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
8571         * c-parse.in: Apply Ulrich's changes from c-parse.y.
8572         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
8573         Regenerate.
8575 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
8577         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
8578         just print "<command line>".  If 'filename' is null or an
8579         empty string, print "<stdin>" for the filename.
8580         * cpplib.c (do_define): Don't print the 'location of the
8581         previous definition' message if we're still parsing the
8582         command line.
8583         (cpp_pedwarn_with_file_and_line): Always call
8584         cpp_file_line_for_message.
8586 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
8588         * flow.c (mark_regs_live_at_end): Fix typo.
8590 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
8592         * c-common.c: Adjust variable names, comments, help strings to c99.
8593         * c-lex.c: Likewise.
8594         * c-parse.y: Likewise.
8595         * c-tree.h: Likewise.
8596         * cccp.c: Likewise.
8597         * cpplib.h: Likewise.
8598         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
8599         * cppinit.c: Likewise.
8601 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8603         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
8604         * c4x.c: Define the optab rtx values.
8605         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
8606         (c4x_emit_libcall): Use new optab rtx values.
8607         (c4x_emit_libcall3): Likewise.
8608         (c4x_emit_libcall_mulhi): Likewise.
8609         * c4x-protos.h: Add prototypes for optab rtx values and change
8610         prototypes for above c4x_emit_libcall functions.
8612 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8614         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
8615         syntax is used.
8616         (c4x_function_prologue): Use regnames intead of float_reg_names when
8617         TI syntax is used.
8618         (c4x_function_epilogue): Likewise.
8619         (c4x_print_operand): Likewise.
8620         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
8621         * c4x.md (set_high): Disable for TARGET_TI.
8623 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8625         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
8626         of framepointer + constant to ADDR_REGS class.
8627         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
8628         * c4x.c (std_or_reg_operand): New function.
8629         * c4x-protos.h (std_or_reg_operand): Prototype it.
8631 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8633         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
8634                 object names as libgcc2.c.
8635         * libgcc.S: Use newly defined names.
8637 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
8638         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
8639         function.
8640         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
8641         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
8642         (FLOW_LOOP_LAST_BLOCK): Likewise.
8644 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8646         * basic-block.h (struct loop): New fields 'first' and 'last'.
8647         * flow.c (flow_loops_find): Compute loop->first and loop->last.
8648         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
8649         and loop->last to check for NOTE_INSN_LOOP_END.
8651 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
8653         * predict.c (estimate_probability): Use the new FIRST and LAST fields
8654         of the loop descriptor rather than HEADER and LATCH. Also added
8655         missing break statements as well making some coding style modifications
8656         as suggested by Michael Hayes.
8658 2000-01-28  Richard Henderson  <rth@cygnus.com>
8660         * flow.c (find_basic_blocks): Remove do_cleanup argument.
8661         Break out that code ...
8662         (cleanup_cfg): ... here.
8663         (commit_one_edge_insertion): Detect a return instruction being
8664         emitted to an edge.  Emit a barrier following; clear fallthru.
8665         (commit_edge_insertions): Verify CFG consistency.
8666         * function.c (expand_function_start): Kill unused variable.
8667         (expand_function_end): Likewise.
8668         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
8669         to insert the epilogue.
8671         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
8672         (delete_null_pointer_checks): Likewise.
8673         * output.h: Likewise.
8674         * reg-stack.c (reg_to_stack): Likewise.
8675         * toplev.c (rest_of_compilation): Likewise.  Run
8676         thread_prologue_and_epilogue_insns after rebuilding the CFG.
8678 2000-01-28  Richard Henderson  <rth@cygnus.com>
8680         * Makefile.in (flow.o): Revert 24 Jan change.
8681         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
8682         FUNCTION_VALUE result to DECL_RESULT's mode.
8684         * haifa-sched.c (schedule_insns): Don't recompute reg info
8685         after reload.
8687 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
8689         * configure.in: Make --enable-cpplib the default.
8690         * configure: Regenerate.
8691         * gcc.dg/990119-1.c: No longer expected to fail.
8693 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
8695         * jump.c (jump_optimize_1): Delete an optimization that is also done
8696         by merge_blocks in flow.
8698 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8700         * diagnostic.c (build_message_string, output_printf,
8701         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
8702         (build_location_prefix): Fix non-literal format string.
8704 2000-01-27  Richard Henderson  <rth@cygnus.com>
8706         * alpha.md (trunctfsf2): New.
8708 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
8710         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
8712 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8714         * cppinit.c (cpp_handle_option): Recognize C++ comments under
8715         -std=gnu89.
8716         * cpplib.c (skip_block_comment, skip_line_comment): Split code
8717         out of...
8718         (skip_comment) ... here.  Permit C++ comments in system
8719         headers always.  Warn about C++ comments in user code under
8720         -std=gnu89 -pedantic.
8721         (copy_comment): Use skip_comment.
8722         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
8723         return EOF.
8724         (consider_directive_while_skipping, do_else, do_endif): Call
8725         validate_else unconditionally.
8726         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
8727         text after the conditional in a system header.
8728         * cpplib.h (struct cpp_buffer): Add flag
8729         warned_cplusplus_comments.
8731 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8733         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
8734         Use unshare_all_rtl_1.
8735         (unshare_all_rtl_again): New function.
8736         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
8738         * function.c (purge_addressof_1): Use unshare_all_rtl_again
8739         rather than resetting the 'used' flags ourself.
8741         * toplev.c (rest_of_compilation): Add current_function_decl
8742         to the unshare_all_rtl call.
8743         * tree.h: Prototype unshare_all_rtl.
8744         * rtl.h: Prototype unshare_all_rtl_again here.
8746 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
8748         * genoutput.c (output_prologue): Include ggc.h in generated
8749         files.
8750         * Makefile.in (insn-output.o): Depends on ggc.h.
8752 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
8753             Hans-Peter Nilsson  <hp@bitrange.com>
8755         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
8756         Remove redundant include of xm-ns32k.h.
8757         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
8758         Remove redundant include of xm-ns32k.h.
8759         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
8760         Remove redundant include of xm-ns32k.h.
8761         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
8763         * ns32k/ns32k.h: Update comment on multiply-add instructions.
8764         (TARGET_SWITCHES): Add documentation strings.
8765         (DWARF_FRAME_REGNUM): Override default definition.
8766         (REG_CLASS_CONTENTS): Add comments.
8767         (SUBSET_P): Format to reduce line length.
8768         (SMALL_REGISTER_CLASSES): Make a run time option.
8769         (GO_IF_NONINDEXED_ADDRESS): Reformat.
8770         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
8771         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
8772         (regclass_map): fix typo in comment.
8773         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
8774         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
8775         (trace, reg_or_mem_operand): Delete, unused function.
8776         (calc_address_cost): Small offsets are cheaper than large ones.
8777         (expand_block_move): Generate more efficient code when bytes is a
8778         known at compile time.
8779         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
8780         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
8781         instead of reg_or_mem_operand.
8783         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
8784         not general_operand.  Similarly use "=rm" or stricter, not "=g".
8785         For input operands, use stricter constraints than "g" if not
8786         general_operand.  Similarly use stricter predicate than
8787         "general_operand" when stricter constraints than "g" are present,
8788         except for matching constraints.
8789         (movstrsi): Use "memory_operand" for operands 0 and 1.
8790         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
8791         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
8792         not reg_or_mem_operand.
8793         (udivmoddisi4): Ditto.
8794         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
8795         Use nonimmediate_operand for operand 3, not register_operand.
8796         (udivmoddiqi4_internal): Use register_operand for operand 1, not
8797         reg_or_mem_operand.
8799 2000-01-27  Fred Fish  <fnf@be.com>
8801         * gthr-posix.h: Fix typo; compatibily -> compatibility.
8802         * gthr-single.h: Likewise.
8803         * gthr-solaris.h: Likewise.
8804         * gthr-vxworks.h: Likewise.
8805         * gthr-win32.h: Likewise.
8806         * gthr.h: Likewise.
8808 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
8810         * cppinit.c: Add " (cpplib)" to end of string printed by
8811         -v / --version.
8813 2000-01-27  Richard Henderson  <rth@cygnus.com>
8815         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
8816         testing for a signed comparison.
8817         (alpha_emit_floatuns): New.
8818         * alpha-protos.h: Declare it.
8819         * alpha.md (floatunsdisf2, floatunsdidf2): New.
8820         (extendsfdf2): Tidy.
8822 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
8824         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
8825         no -g option specifying debugging format, default to -gstabs+.
8827 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
8829         * calls.c (special_function_p): New argument fork_or_exec.
8830         (expand_call): When profile_arc_flag is set and the function
8831         is in the fork_or_exec group, call __bb_fork_func first.
8832         * libgcc2.c, _bb module (__bb_fork_func): New function.
8833         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
8834         output file.
8835         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
8836         * tree.h (special_function_p): Update prototype.
8838 2000-01-26  Richard Henderson  <rth@cygnus.com>
8840         * alpha.c (alpha_split_tfmode_pair): New.
8841         * alpha-protos.h: Declare it.
8842         * alpha.md (abstf2, negtf2): New.
8843         (movtf insn): Add input G constraint.
8844         (movtf splitter): Use alpha_split_tfmode_pair.
8846 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8848         * i386/cygwin.h: PROTO -> PARAMS.
8850 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
8852         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
8853         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
8854         using _Qp_cmp/_Q_cmp and testing the return value.
8855         (print_operand): Call reverse_condition_maybe_unordered if
8856         we are handling CCFPmode or CCFPEmode.
8857         Handle ORDERED, UN* and LTGT comparisons.
8858         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
8859         if not TARGET_HARD_QUAD.
8860         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
8861         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
8862         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
8863         Adjust gen_b* calls so that they reflect return comparison of
8864         sparc_emit_float_lib_cmp.
8866 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8868         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
8869         incoming operands array is large enough for one more operand.
8870         (alpha_emit_xfloating_arith): Likewise.
8872 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8874         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
8875         file with one line and no trailing newline.
8876         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
8877         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
8878         checking if the match is on the line.
8879         * fixinc/gnu-regex.c: Provide regerror not __regerror.
8881 2000-01-25  Richard Henderson  <rth@cygnus.com>
8883         * sparc.c (output_cbranch): Fix accidental squashing of the
8884         fp branch pre-delay nop.
8886 2000-01-25  Richard Henderson  <rth@cygnus.com>
8888         * tree.def (UNNE_EXPR): Remove.
8889         * c-typeck.c (build_binary_op): Don't handle it.
8890         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
8892         * rtl.def (UNNE): Remove.
8893         (LTGT): Add.
8894         * jump.c (reverse_condition): Update accordingly.
8895         (swap_condition): Likewise.
8896         (comparison_dominates_p): Handle unordered comparisons.
8897         (reverse_condition_maybe_unordered): New.
8898         * rtl.h (reverse_condition_maybe_unordered): Declare.
8900         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
8901         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
8902         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
8903         * sparc.md (bltgt): New.
8905 2000-01-25  Nick Clifton  <nickc@redhat.com>
8907         * emit-rtl.c (emit_insn): Only check machine class insns for
8908         improper emission of a RETURN.
8910 2000-01-25  Richard Henderson  <rth@cygnus.com>
8912         * Makefile.in (flow.o): Depend on $(EXPR_H).
8913         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8914         duplicate the structure of diddle_return_value for keeping regs live.
8916 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8918         * loop.c (current_loop_info): Delete.
8919         (consec_sets_invariant_p): Add loop argument, update callers.
8920         (get_condition_for_loop): Likewise.
8921         (count_nonfixed_reads, update_giv_derive): Likewise.
8922         (simplify_giv_expr, general_induction_var): Likewise.
8923         (consec_sets_giv, recombine_givs): Likewise.
8924         (move_movables): Delete loop_start and loop_end arguments,
8925         add loop argument, and update callers.
8926         (find_mem_givs, check_final_value): Likewise.
8927         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8928         (loop_invariant_p): Rename from invariant_p, add loop argument, and
8929         update callers.
8930         (basic_induction_var): Add loop argument, delete loop_level argument,
8931         and update callers.
8932         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8933         add loop argument, and update callers.
8934         (find_splittable_regs, find_splittable_givs): Likewise.
8935         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8936         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8937         (biv_total_increment): Delete loop_start and loop_end arguments;
8938         update callers.
8939         (precondition_loop_p): Delete loop_start and loop_info arguments;
8940         update callers.
8941         * loop.h (get_condition_for_loop): Add loop argument.
8942         (biv_total_increment): Delete loop_start and loop_end arguments.
8943         (precondition_loop_p): Delete loop_start and loop_info arguments;
8944         add loop argument.
8945         (final_biv_value): Delete loop_start and loop_end arguments;
8946         add loop argument.
8947         (final_giv_value, back_branch_in_range_p): Likewise.
8949 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8951         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8953 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8955         * Makefile.in (c-gperf.h) : Change the "See" pointer to
8956         point to the new "generated_files" doc.
8958 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8960         * config/fp-bit.c (_unord_f2): Fix typo.
8962 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8964         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8965         c-typeck.c, objc/objc-act.c: Remove all references to obstack
8966         functions obsoleted by GC, such as push_obstacks_nochange,
8967         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8968         and code which existed only to decide whether or not to call
8969         them.  Remove now-unused NESTED argument from start_function;
8970         all callers changed.  Do not change behavior based on ggc_p.
8971         The use of the ixp_obstack in c-iterate.c and the util_obstack
8972         in objc/objc-act.c remain; these are not obsoleted by garbage
8973         collection.
8974         * c-tree.h: Update prototype for start_function.
8976         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8978 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8980         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8981         mips16.
8983 2000-01-25  Richard Henderson  <rth@cygnus.com>
8985         * sparc-protos.h (select_cc_mode): Declare.
8986         * sparc.c (select_cc_mode): New.  Handle unordered compares.
8987         (output_cbranch): Always reverse via code change.  Handle
8988         unordered compares.  Factor tests and string updates.
8989         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8990         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8991         * sparc.md (bunordered, bordered): New.
8992         (bungt, bunlt, buneq, bunge, bunle): New.
8994 2000-01-25  Richard Henderson  <rth@cygnus.com>
8996         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8997         * ggc-common.c (ggc_add_rtx_varray_root): New.
8998         (ggc_mark_rtx_varray): New.
8999         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
9000         functions down below ggc_mark_foo.
9001         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
9003 2000-01-25  Richard Henderson  <rth@cygnus.com>
9005         * alpha.c (secondary_reload_class): Don't allocate a secondary
9006         for integral mode memories into FLOAT_REGS.  Rearrange the more
9007         complicated memory expression inward.
9009 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
9011         * inclhack.def: Fixes to play nicer with FreeBSD, and
9012         corrections to comments.
9013         (cxx_unready): Add select expression.
9014         (irix_sockaddr): Add bypass expression.
9015         (machine_ansi_h_va_list): New fix.
9016         (stdio_va_list): No need to edit _BSD_VA_LIST_.
9017         Split out addition of "#include <stdarg.h>" to...
9018         (stdio_stdarg_h): ... here.
9019         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
9020         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
9021         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
9022         size_t.
9023         (ultrix_ifdef): Tighten up select expression.
9025         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
9026         re_ct and max_mach to avoid use of shell.  Make printed names
9027         match names in inclhack.def.  Use static copyright date.
9028         Don't count c_test and test expressions as requiring regex_t
9029         slots.  Add some commentary.
9030         * inclhack.tpl: Do not include the 'This script contains N
9031         fixup scripts' line if PROGRAM is defined.  Use static
9032         copyright date.
9034 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
9036         * dwarf2out.c: include "varray.h", not dyn-string.h.
9037         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
9038         (addr_const_to_string, addr_to_string): Lose.
9039         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
9040         (struct dw_val_struct): val_addr is now an rtx.
9041         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
9042         (used_rtx_varray): New varray.
9043         (dwarf2out_init): Initialize it.
9044         (save_rtx): New fn.
9045         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
9046         addr_to_string.
9047         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
9048         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
9049         * Makefile.in (dwarf2out.o): Update dependencies.
9051 2000-01-24  Richard Henderson  <rth@cygnus.com>
9053         * i386.c (i386_dwarf_output_addr_const): New.
9054         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
9056         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
9057         if defined.
9058         * dwarfout.c (output_mem_loc_descriptor): Likewise.
9059         * i386.c (i386_simplify_dwarf_addr): New.
9060         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
9062 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
9064         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
9065         TYPE_STUB_DECL is NULL.
9067 2000-01-24  Richard Henderson  <rth@cygnus.com>
9069         * builtins.c (expand_tree_builtin): Move ...
9070         * c-common.c (expand_tree_builtin): ... here.
9072 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9074         * loop.h (LOOP_INFO): New accessor macro.
9075         * basic-block.h (struct loop): Rename field `info' to `aux'.
9076         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
9077         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
9078         * unroll.c (loop_iterations, unroll_loop): Likewise.
9080 2000-01-24  Christopher Faylor <cgf@cygnus.com>
9082         * config/i386/t-cygwin: Accomodate new winsup directory layout
9083         when searching for include files.
9085 2000-01-24  Richard Henderson  <rth@cygnus.com>
9087         * rtl.def: Add unordered fp comparisions.
9088         * tree.def: Likewise.
9089         * tree.h: Add ISO C 9x unordered fp comparision builtins.
9091         * builtins.c (expand_tree_builtin): New function.
9092         * c-typeck.c (build_function_call): Use it.
9093         (build_binary_op): Support unordered compares.
9094         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
9096         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
9097         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
9098         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
9099         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
9100         * jump.c (reverse_condition): Don't abort for UNLE etc, but
9101         return UNKNOWN.
9102         (swap_condition): Handle unordered compares.
9103         (thread_jumps): Check can_reverse before reversing.
9104         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
9105         reversed for FP.
9107         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
9108         setcc is present before acking for cmp_optab.  Update all callers.
9109         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
9110         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
9111         * expr.c (expand_expr): Likewise.  Support unordered compares.
9112         (do_jump, do_store_flag): Likewise.
9113         * expr.h (enum libfunc_index): Add unordered compares.
9115         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
9116         (DPBIT_FUNCS): Add _unord_df.
9117         * config/fp-bit.c (_unord_f2): New.
9118         * fp-test.c (main): Try unordered compare builtins.
9120         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
9121         * alpha.c (alpha_comparison_operator): Check mode properly.
9122         (alpha_swapped_comparison_operator): Likewise.
9123         (signed_comparison_operator): Likewise.
9124         (alpha_fp_comparison_operator): New.
9125         (alpha_emit_conditional_branch): Handle unordered compares.
9126         * alpha.h (PREDICATE_CODES): Update.
9127         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
9128         (bunordered, bordered): New.
9130 2000-01-24  Richard Henderson  <rth@cygnus.com>
9132         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
9133         * alpha.md (movtf): New expander, insn, and splitter.
9135 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
9137         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9138         dead registers.
9140 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
9142         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
9143         (FIXED_REGISTERS, CALL_USED_REGISTERS,
9144          REG_ALLOC_ORDER): Add frame pointer
9145         (FRAME_POINTER_REGNUM): Set to 20
9146         (HARD_FRAME_POINTER_REGNUM): New macro.
9147         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
9148         to HARD_FRAME_POINTER.
9149         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
9150         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
9151         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
9152         (HI_REGISTER_NAMES): Add "frame".
9153         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
9154         (debug_reg): Handle FRAME_POINTER_REGNUM.
9155         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
9156         GENERAL_REGS and INDEX_REGS.
9157         * i386.c (SAVED_REGS_FIRST): new macro.
9158         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
9159         (ix86_decompose_address, memory_address_length): Likewise.
9160         (regclass_map): Add frame pointer.
9161         (call_insn_operand): Handle frame_pointer_rtx.
9162         (reg_no_sp_operand): Likewise.
9163         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
9164         (print_operand, legitimize_pic_address): Fix formating.
9165         (ix86_compute_frame_size): Make static, update prototype, new
9166         parameters padding1, padding2, use ix86_nsaved_regs, use
9167         stack_alignment_needed.
9168         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
9169         to HARD_FRAME_POINTER_REGNUM conversions.
9170         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
9171         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
9172         (print_reg): Abort on FRAME_POINTER_REGNUM
9174 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
9176         * i386.h (PREDICATE_CODES): Add aligned_operand.
9177         * i386.c (aligned_operand): New function.
9178         (ix86_aligned_p): Kill.
9179         * i386.md (movhi_1): Emit mov for aligned operands.
9180         (promoting peep2s): Use aligned_operand.
9182 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
9184         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
9185         expression to allow underscores in macro names.
9186         (fix_char_macro_defines): Increment scanning pointer.
9188 2000-01-23  Richard Henderson  <rth@cygnus.com>
9190         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
9191         * alpha/osf5.h: New file.
9192         * configure.in (alpha-*-osf5): Add it to tm_file.
9194         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
9196         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
9197         (alpha_emit_xfloating_cvt, function_arg): Declare.
9198         * alpha.c (alpha_emit_conditional_branch): Call
9199         alpha_emit_xfloating_compare for TFmode compares.
9200         (alpha_lookup_xfloating_lib_func): New.
9201         (alpha_compute_xfloating_mode_arg): New.
9202         (alpha_emit_xfloating_libcall): New.
9203         (alpha_emit_xfloating_arith): New.
9204         (alpha_emit_xfloating_compare): New.
9205         (alpha_emit_xfloating_cvt): New.
9206         (print_operand): Add default abort case.
9207         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
9208         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
9209         (BIGGEST_ALIGNMENT): Increase to 128 bits.
9210         (RETURN_IN_MEMORY): True for TF/TCmode.
9211         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
9212         (FUNCTION_ARG): Move to function_arg.
9213         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
9214         (ASM_OUTPUT_LONG_DOUBLE): New.
9215         (ASM_OUTPUT_DOUBLE): Always output bits.
9216         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
9217         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
9218         (extenddftf2, trunctfdf2): New.
9220 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9222         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
9223         * config/sparc/sol2.h: ... here.
9225 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9227         * basic-block.h (struct loops): New field `levels'.
9228         * flow.c (flow_loops_level_compute): Traverse all outer loops.
9229         (flow_loop_level_compute): Initialise level to 1.
9230         (flow_loops_find): Set loops->levels.
9231         (flow_loops_dump): Print loops->levels.
9233 2000-01-23  Richard Henderson  <rth@cygnus.com>
9235         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
9236         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
9238 2000-01-23  Richard Henderson  <rth@cygnus.com>
9240         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
9241         * i386.h (DBX_REGISTER_NUMBER): Use them.
9242         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
9243         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
9244         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
9245         * i386/sequent.h: Kill incorrect comment.
9247 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
9249         * ggc-page.c (struct page_entry): Make `context_depth' an
9250         `unsigned short'.
9251         (struct globals): Likewise.
9253 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
9255         * loop.c (check_dbra_loop): When checking a loop for
9256         reversability, check the source of any stores to ensure
9257         they don't depend on an initial value.
9259 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9261         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
9263 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
9265         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
9266         'pz_scan' into scope of entire function.  Only affects
9267         compiles with -DDEBUG.
9269 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
9271         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
9272         section naming to that prior to 2000-01-07 patch.
9273         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
9274         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
9275         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
9276         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
9277         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
9279 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
9281         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
9282         constant.
9284 2000-01-21  Jim Wilson  <wilson@cygnus.com>
9286         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
9287         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
9289 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
9291         * cpphash.c (change_newlines): Delete function.
9292         (struct argdata): Delete 'newlines' and 'use_count' fields.
9293         (macroexpand): Remove code referencing those fields.
9295 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9297         * loop.c (loops_info): New variable.
9298         (loop_optimize): Allocate loops->array and free it on exit.
9299         Allocate memory for loops_info and assign to each loop,
9300         replacing alloca.
9301         (find_and_verify_loops): Do not allocate loops->array.
9303 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
9305         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
9307 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
9309         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
9310         pseudos if expanded after first flow.
9311         (movdi_pic_label_ref): Likewise.
9313 2000-01-20  Richard Henderson  <rth@cygnus.com>
9315         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
9317 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
9319         * Makefile.in (fixinc.sh): Depend on specs.
9320         * fixinc/Makefile.in: Add rule to create machname.h.
9321         (fixlib.o): Depend on machname.h.
9322         * fixinc/fixtests.c (machine_name): New test.
9323         * fixinc/fixfixes.c (machine_name): New fix.
9324         * fixinc/fixlib.c (mn_get_regexps): New helper function for
9325         the machine_name test and fix.
9326         * fixinc/fixlib.h: Prototype it.
9327         * fixinc/inclhack.def (machine_name): Use the C test and fix.
9328         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
9330         * gcc.c (do_spec_1) [case P]: Take care not to create
9331         identifiers with three leading or trailing underscores.
9333         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
9334         (fixincl): Don't specify libraries twice on link line.
9335         (gnu-regex.o): Remove special rule.
9336         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
9337         defined by config.h.  Do not define _REGEX_RE_COMP.
9338         (regcomp): Allocate and initialize a fastmap.
9339         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
9341 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
9343         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
9345 2000-01-19  Richard Henderson  <rth@cygnus.com>
9347         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
9348         arguments with BB.  Update all callers.  Tidy line wrapping.
9350 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
9352         * emit-rtl.c (try_split): Return last_insn if we split the
9353         last_insn.
9355 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
9357         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
9358         (ix86_initial_elimination_offset): Declare.
9359         * i386.c (ix86_nsaved_regs): Break out from ...
9360         (ix86_can_use_return_insn_p): ... here.
9361         (ix86_emit_save_regs): Break out from ...
9362         (ix86_expand_prologue): ... here.
9363         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
9364         out from ...
9365         (ix86_expand_epilogue): ... here.
9366         (ix86_compute_frame_size): Make static, add prototype.
9367         (ix86_initial_elimination_offset): Break out from ...
9368         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
9370 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9372         * recog.h (OUT_FCN): Delete.
9374         * vax.md: Call `get_insn_template' instead of OUT_FCN.
9376 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9378         * cppalloc.c: PROTO -> PARAMS.
9379         * cpperror.c: Likewise.
9380         * cppfiles.c: Likewise.
9381         * cpplib.c: Likewise.
9382         * cpplib.h: Likewise.
9384         * config/arm/arm-protos.h: PROTO -> PARAMS.
9385         * config/arm/arm.c: Likewise.
9386         * config/c4x/c4x.c: Likewise.
9387         * config/fr30/fr30-protos.h: Likewise.
9388         * config/nextstep.c: Likewise.
9389         * config/pa/pa.c: Likewise.
9390         * config/pj/pj.c: Likewise.
9391         * config/rs6000/rs6000.c: Likewise.
9392         * config/v850/v850-protos.h: Likewise.
9393         * config/v850/v850.c: Likewise.
9395 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9397         * i370-protos.h: New file.
9399         * i370.c: Include tm_p.h.  Fix compile time warnings.
9401         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
9402         warnings.
9404         * i370.md: Likewise.
9406 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9408         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
9409         (target_isinf, target_isnan, eisnan): Mark parameter with
9410         ATTRIBUTE_UNUSED.
9411         (eiisinf): Wrap in INFINITY.
9412         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
9413         (ibmtoe): Remove unused variable `rndsav'.
9415 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9417         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
9418         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
9420 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
9422         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
9423         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
9424         (fix_char_macro_defines, fix_char_macro_uses): New functions.
9426         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
9427         Recognize Emacs mode markers also.
9428         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
9429         C++ comments in C++ headers.  Call is_cxx_header only if
9430         necessary.
9432         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
9433         bypass for ncurses.
9434         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
9435         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
9436         ... these, which use the new C fixes.
9437         (math_exception): Escape literal '+' in bypass expression.
9439         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
9440         Regenerate.
9442 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
9444         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
9445         inside the MEM.
9447 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9449         * loop.c (loop_optimize): Allocate loop_info structure for each loop
9450         prior to calling scan_loop.
9452 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9454         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
9455         (split_branches, calc_live_regs): Likewise.
9457 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9459         * sh.md (fpu_single, fp_mode): New attributes.
9461 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9463         * loop.c (current_loop_info): Renamed from loop_info_data
9464         and changed to a pointer.
9465         (loop_optimize): Allocate loop_info structure for each loop
9466         and initialise to zero.
9467         (scan_loop): Set current_loop_info.
9469         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
9470         on iteration_var.
9472 2000-01-19  Richard Henderson  <rth@cygnus.com>
9474         * stupid.c: Die die die.
9475         * Makefile.in (OBJS): Remove stupid.o.
9476         (stupid.o): Likewise.
9478         * except.c (emit_eh_context): Don't emit USEs for stupid.
9479         * explow.c (probe_stack_range): Likewise.
9480         * flags.h (obey_regdecls): Remove.
9481         * flow.c (find_basic_blocks): Don't run try_merge_blocks
9482         when not optimizing.
9483         (life_analysis): Limit data collection when not optimizing.
9484         (mark_regs_live_at_end): Always mark the return value registers.
9485         (mark_used_regs): Remove dummy RETURN case.
9486         (print_rtl_with_bb): Don't consult obey_regdecls.
9487         * function.c (use_variable, use_variable_after): Remove.
9488         (assign_parms): Consult optimize not obey_regdecls.
9489         (expand_function_start): Don't emit USEs for stupid.
9490         (expand_function_end): Likewise.
9491         * global.c (build_insn_chain): Export.
9492         * integrate.c (expand_inline_function): Kill return-value USE
9493         handling code.
9494         * jump.c (jump_optimize_1): Do simple jump optimizations and
9495         dead code elimination.
9496         (calculate_can_reach_end): Remove check_deleted argument.
9497         (delete_insn): Patch out insns even when not optimizing.
9498         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
9499         * rtl.h (use_variable, use_variable_after): Remove declarations.
9500         (build_insn_chain): Declare.
9501         * stmt.c (expand_value_return): Don't emit USEs for stupid.
9502         (expand_end_bindings): Likewise.
9503         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
9504         * toplev.c (obey_regdecls): Remove.
9505         (rest_of_compilation): Don't set it.  Kill stupid in favour of
9506         flow1, local-alloc, and reload.
9507         (main): Don't set obey_regdecls.
9509         * config/nextstep.c (handle_pragma): Likewise.
9511         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
9513         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
9515 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9517         * alpha-protos.h: PROTO -> PARAMS.
9518         * alpha.c: Likewise.
9519         * elf.h: Likewise.
9520         * h8300.c: Likewise.
9521         * i386-protos.h: Likewise.
9522         * i386.c: Likewise.
9523         * m32r-protos.h: Likewise.
9524         * m32r.c: Likewise.
9525         * mips.c: Likewise.
9526         * mips.md: Likewise.
9527         * gmon-sol2.c: Likewise.
9528         * sparc.c: Likewise.
9530 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9532         * ns32k-protos.h: New file.
9534         * ns32k.c: Fix compile time warnings.
9536         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
9537         warnings.
9539         * ns32k.md: Likewise.
9541 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9543         * vax-protos.h: New file.
9545         * vax.c: Fix compile time warnings.
9547         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
9548         warnings.
9550         * vax.md: Likewise.
9552         * vaxv.md: Likewise.
9554 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9556         * romp-protos.h: New file.
9558         * romp.c: Fix compile time warnings.
9560         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
9561         warnings.
9563         * romp.md: Likewise.
9565 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9567         * we32k-protos.h: New file.
9569         * we32k.c: Fix compile time warnings.
9571         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
9572         warnings.
9574 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9576         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
9578         * except.c (eh_regs): Likewise.
9580         * final.c (output_operand): Likewise.
9582         * fold-const.c (target_isinf, target_isnan): Likewise.
9584 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
9586         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
9587         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
9589         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
9590         when optimize_size.
9591         (clrstrsi): Rewrite.
9592         (strsethi, strsetqi): New expanders.
9593         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
9594         (cmpstrsi): Emit compare insn before cmpstrsi_1
9595         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
9596         (strlensi_1): Likewise.
9597         (cmpstrsi_1): Likewise; do not output compare.
9598         (strlen expander): Do not unroll when optimizing for size.
9599         (*subsi3_carry): Rename to subsi3_carry
9600         (addqi3_cc): New pattern.
9601         * i386.h (processor_costs): Add move_ratio field.
9602         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
9603         * i386.c (*_cost): Set move_ratio.
9604         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
9605         (x86_expand_strlensi_1): Rewrite the main loop.
9607 2000-01-17  Richard Henderson  <rth@cygnus.com>
9609         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
9610         * cse.c (find_comparison_args, fold_rtx): Likewise.
9611         * integrate.c (subst_constants): Likewise.
9612         * loop.c (get_condition): Likewise.
9614         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
9616         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
9618 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9620         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
9621         (RESTORE_WARN_FLAGS): Unpack it.
9622         Change semantic type of extension to ttype.
9623         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
9624         * c-parse.y, c-parse.c, objc/objc-parse.y,
9625         objc/objc-parse.c: Regenerate.
9627 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
9629         * fixinc/fixlib.c: Add copyright notice.
9630         (compile_re): New function.
9631         * fixinc/fixlib.h: Prototype compile_re.
9633         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
9634         Use compile_re to compile regular expressions.
9636         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
9637         where the pattern matched.
9639         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
9640         use 'replace'.
9641         (ultrix_ansi_compat): Likewise.
9642         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
9643         add egrep test.
9644         (interactv_add2, interactv_add3): Delete.
9645         (x11_sprintf): Don't use filename glob.
9646         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
9647         Regenerate.
9649 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9651         * print-rtl.c: PROTO -> PARAMS.
9652         * real.c: Likewise.
9653         * reg-stack.c: Likewise.
9654         * resource.c: Likewise.
9655         * sdbout.h: Likewise.
9656         * simplify-rtx.c: Likewise.
9657         * stor-layout.c: Likewise.
9658         * stupid.c: Likewise.
9659         * xcoffout.c: Likewise.
9660         * xcoffout.h: Likewise.
9662 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9664         * toplev.c: PROTO -> PARAMS.
9665         * toplev.h: Likewise.
9666         * tree.c: Likewise.
9667         * tree.h: Likewise.
9668         * unroll.c: Likewise.
9669         * varasm.c: Likewise.
9670         * varray.c: Likewise.
9671         * varray.h: Likewise.
9673 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9675         * reload.c: PROTO -> PARAMS.
9676         * reload.h: Likewise.
9677         * reload1.c: Likewise.
9678         * reorg.c: Likewise.
9679         * resource.h: Likewise.
9680         * rtl.c: Likewise.
9681         * rtl.h: Likewise.
9682         * rtlanal.c: Likewise.
9683         * sbitmap.h: Likewise.
9684         * sdbout.c: Likewise.
9685         * stack.h: Likewise.
9686         * stmt.c: Likewise.
9687         * system.h: Likewise.
9689 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9691         * machmode.h: PROTO -> PARAMS.
9692         * mbchar.h: Likewise.
9693         * mips-tdump.c: Likewise.
9694         * mips-tfile.c: Likewise.
9695         * optabs.c: Likewise.
9696         * output.h: Likewise.
9697         * prefix.c: Likewise.
9698         * profile.c: Likewise.
9699         * protoize.c: Likewise.
9700         * real.h: Likewise.
9701         * recog.c: Likewise.
9702         * recog.h: Likewise.
9703         * regclass.c: Likewise.
9704         * regmove.c: Likewise.
9705         * regs.h: Likewise.
9707 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9709         * ggc-common.c: PROTO -> PARAMS.
9710         * ggc-page.c: Likewise.
9711         * ggc-simple.c: Likewise.
9712         * ggc.h: Likewise.
9713         * global.c: Likewise.
9714         * graph.c: Likewise.
9715         * gthr-win32.h: Likewise.
9716         * haifa-sched.c: Likewise.
9717         * halfpic.h: Likewise.
9718         * integrate.c: Likewise.
9719         * integrate.h: Likewise.
9720         * jump.c: Likewise.
9721         * lcm.c: Likewise.
9722         * local-alloc.c: Likewise.
9723         * loop.c: Likewise.
9724         * loop.h: Likewise.
9726 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9728         * genattr.c: PROTO -> PARAMS.
9729         * genattrtab.c: Likewise.
9730         * gencheck.c: Likewise.
9731         * gencodes.c: Likewise.
9732         * genconfig.c: Likewise.
9733         * genemit.c: Likewise.
9734         * genextract.c: Likewise.
9735         * genflags.c: Likewise.
9736         * gengenrtl.c: Likewise.
9737         * genopinit.c: Likewise.
9738         * genoutput.c: Likewise.
9739         * genpeep.c: Likewise.
9740         * genrecog.c: Likewise.
9742 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
9744         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
9746 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9748         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
9749         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
9750         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
9751         * configure, config.in: Rebuilt.
9753 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
9755         * config/i386/i386.md: Add peephole to merge successive stack
9756         adjusts.
9758 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
9760         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
9761         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
9762         when walking backwards to find all the parameter loads when
9763         the basic block ends in a call.
9765 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9767         * loop.c (this_loop_info): Delete.
9768         (uid_loop): Add in place of uid_loop_num.  All uses updated.
9769         (loop_number_exit_count): Delete and replace with entry in loop
9770         structure.  All uses updated.
9771         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9772         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9773         (loop_outer_loop): Likewise.
9774         (loop_invalid, loop_number_exit_labels): Likewise.
9775         (loop_used_count_register): Delete and replace with entry in
9776         loop_info structure.
9777         (find_and_verify_loops): Add loops argument.
9778         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
9779         loop_end, etc. arguments with loop structure pointer.  All callers
9780         changed.
9781         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
9782         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
9783         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
9784         (insert_bct): Likewise.
9785         (basic_induction_var): New argument level.
9786         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
9787         vtop, and cont.  Add used_count_register.
9788         (uid_loop): Delete declaration.
9789         (loop_number_exit_count): Likewise.
9790         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9791         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9792         (loop_outer_loop, loop_used_count_register): Likewise.
9793         (loop_invalid, loop_number_exit_labels): Likewise.
9794         (unroll_loop): Replace loop_start and loop_end arguments
9795         with loop structure pointer.
9796         (loop_precondition_p, loop_iterations): Likewise.
9797         Include basic-block.h.
9798         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
9799         with loop structure pointer.
9800         (loop_precondition_p, loop_iterations): Likewise.
9801         * basic-block.h (struct loop): New entries vtop, cont,
9802         cont_dominator, start, end, top, scan_start, exit_labels,
9803         exit_count.
9804         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
9806 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
9808         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
9810 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
9812         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
9814 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9816         * pdp11-protos.h: New file.
9818         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
9819         time warnings.
9821         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
9822         warnings.
9824         * pdp11.md: Likewise.
9826         * 2bsd.h: Likewise.
9828 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9830         * mn10300-protos.h: New file.
9832         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9833         time warnings.
9835         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
9836         warnings.
9838         * mn10300.md: Likewise.
9840 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9842         * mn10200-protos.h: New file.
9844         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
9845         time warnings.
9847         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
9848         warnings.
9850         * mn10200.md: Likewise.
9852 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9854         * h8300-protos.h: New file.
9856         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
9857         time warnings.
9859         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
9860         warnings.
9862         * h8300.md: Likewise.
9864 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9866         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
9867         (asm_emit_uninitialised): Likewise.
9869 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
9871         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
9872         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
9874 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9876         * config/mips/mips.c (override_options): Don't turn on extra
9877         alignment for mips16.
9879 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9881         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
9882         eabi, and make sure queued POSTINCREMENT rtl is emitted at
9883         the right point.
9885 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9887         * builtins.c (PAD_VARARGS_DOWN): Define.
9888         (std_expand_builtin_va_arg): Use the above macro.
9889         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
9890         * tm.texi (Register Arguments): Document the above macro.
9892 2000-01-14  Nick Clifton  <nickc@cygnus.com>
9894         * emit-rtl.c (emit_insn): If checking is enabled, make sure
9895         that this function has not been used to emit a jump
9896         instruction.
9898         * jump.c (return_jump_1): Cope with being passed a null rtx.
9900 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9902         * eh-common.h: PROTO -> PARAMS.
9903         * emit-rtl.c: Likewise.
9904         * errors.c: Likewise.
9905         * errors.h: Likewise.
9906         * except.c: Likewise.
9907         * except.h: Likewise.
9908         * explow.c: Likewise.
9909         * expmed.c: Likewise.
9910         * expr.c: Likewise.
9911         * expr.h: Likewise.
9912         * final.c: Likewise.
9913         * fix-header.c: Likewise.
9914         * flow.c: Likewise.
9915         * fold-const.c: Likewise.
9916         * function.c: Likewise.
9917         * function.h: Likewise.
9918         * gcc.c: Likewise.
9919         * gcov-io.h: Likewise.
9920         * gcov.c: Likewise.
9921         * gcse.c: Likewise.
9923 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9925         * sh-protos.h: New file.
9927         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9928         Add static prototypes.  Fix compile time warnings.
9930         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
9931         * sh.md: Likewise.
9932         * elf.h: Likewise.
9934 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9936         * arc-protos.h: New file.
9938         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
9939         time warnings.
9941         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
9942         warnings.
9944         * arc.md: Likewise.
9946 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9948         * dsp16xx-protos.h: New file.
9950         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
9951         time warnings.
9953         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
9954         warnings.
9956         * dsp16xx.md: Likewise.
9958 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9960         * convex-protos.h: New file.
9962         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
9963         time warnings.
9965         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
9966         warnings.
9968 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9970         * elxsi-protos.h: New file.
9972         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
9973         time warnings.
9975         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
9976         warnings.
9978         * elxsi.md: Likewise.
9980 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9982         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9983         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
9984         match the comment for MIPS16.
9986 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
9988         * flow.c (split_edge): Do not call set_block_for_insn if we
9989         do not have a basic_block_for_insn structure.
9991         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9992         and destination functions are 32bit aligned within the trampoline.
9993         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9994         (TRAMPOLINE_ALIGNMENT): Define.
9996         * cse.c (cse_insn): When changing (set (pc) (reg)) to
9997         (set (pc) (label_ref)), verify the change creates a valid insn.
9999         * fr30.c (call_operand): Tighten and rework to match rules for
10000         call RTL expressions.
10001         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
10002         * fr30.md (call patterns): Improve constraints.
10004 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
10006         * fr30.c (fr30_expand_epilogue): Revert last change.
10007         Use emit_jump_insn for the return insn.
10009 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
10010                           Stan Cox  <scox@cygnus.com>
10012         * predict.c: New file. Preliminary infrastructure work for static
10013         branch prediction and basic block reordering.
10014         * basic-block.h: Add prototype for estimate_probability.
10015         * Makefile.in: Add rules for predict.o.
10017 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
10019         * fixincludes (va_list): Use __not_va_list__ for the dummy.
10020         * fixinc/*: Likewise.
10022 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10024         * cccp.c: PROTO -> PARAMS.
10025         * cexp.y: Likewise.
10026         * collect2.c: Likewise.
10027         * combine.c: Likewise.
10028         * convert.h: Likewise.
10029         * cse.c: Likewise.
10030         * dbxout.c: Likewise.
10031         * dbxout.h: Likewise.
10032         * diagnostic.c: Likewise.
10033         * doprint.c: Likewise.
10034         * dwarf2out.c: Likewise.
10035         * dwarf2out.h: Likewise.
10036         * dwarfout.c: Likewise.
10037         * dwarfout.h: Likewise.
10038         * dyn-string.h: Likewise.
10040 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10042         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
10043         macro conditionals guarding use.
10045         * dwarf2out.c: Include "tm_p.h".
10047         * function.c (locate_and_pad_parm): Mark parameter with
10048         ATTRIBUTE_UNUSED.
10049         (expand_function_end): Likewise for variable `context'.
10051         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
10053 2000-01-13  Nick Clifton  <nickc@cygnus.com>
10055         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
10056         register to prevent compile time warnings.
10058 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
10060         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
10061         to avoid -Wtraditional warning.
10063 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10065         * 1750a-protos.h: New file.
10067         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
10068         time warnings.
10070         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
10071         warnings.
10073         * 1750a.md: Likewise.
10075 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10077         * a29k-protos.h: New file.
10079         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10080         time warnings.
10082         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
10083         warnings.
10085 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10087         * clipper-protos.h: New file.
10089         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
10090         time warnings.
10092         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
10093         warnings.
10095 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10097         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
10099 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
10101         * configure.in (--enable-new-gxx-abi): New option.
10102         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
10103         * Makefile.in (GXX_ABI_FLAG): New variable.
10104         * configure: Regenerate.
10106 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10108         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
10109         * tm.texi (FORCE_STRUCT_BLK): Document.
10110         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
10112 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
10114         * config/ns32k/ns32k.md: Revert Jan 9 change.
10116         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
10117         to a mode-test, if the predicate is address_operand.
10119 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
10121         * combine.c (if_then_else_cond): Be careful about what kinds
10122         of RTL expressions are passed to operand_subword.
10124         * flow.c (split_edge): If we have to insert a new jump, make
10125         sure to associate it with a basic block.
10127         * flow.c (commit_one_edge_insertion): A block with one successor
10128         can end in a JUMP_INSN that is not a simplejump.
10130 2000-01-12  Robert Lipe  <robertl@sco.com>
10132         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
10133         (BUILD_VA_LIST_TYPE): Define.
10134         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
10135         with crtstuff.c.
10137 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
10139         * cccp.c (do_pragma): Add cast to (char *).
10141 2000-01-12  Richard Henderson  <rth@cygnus.com>
10142             Fred Fish  <fnf@be.com>
10143             Jason Merrill  <jason@cygnus.com>
10145         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
10146         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
10147         * i386/beos-elf.h, i386/beos-pe.h: New files.
10149         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
10150         * cross-make (SYSTEM_HEADER_DIR): Define using
10151         CROSS_SYSTEM_HEADER_DIR.
10153         * gcc.c (LIBRARY_PATH_ENV): Provide default.
10154         (process_command): Use it.
10155         (main): Likewise.  Kill trailing = from env vars.
10156         (build_search_list): Put it back.
10157         * collect2.c (main): Use LIBRARY_PATH_ENV.
10159         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
10160         * toplev.c: Use NEED_DECLARATION_ENVIRON.
10162         * tm.texi (Frame Layout): Document SMALL_STACK.
10163         * c-common.c (c_common_nodes_and_builtins): Check it.
10165         * system.h: Undef alloca after including glibc's <stdlib.h>,
10166         if USE_C_ALLOCA is defined.
10168         * gcc.c (set_input): New fn.
10169         (main): After all input files are compiled, reset the input file
10170         info to the first.
10172         * aclocal.m4 (rindex, index): If already defined, don't attempt
10173         to redefine.
10175         * ginclude/varargs.h: (__va_list__): Define ifndef.
10176         * ginclude/stdarg.h: Likewise.
10178         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
10179         instead of unsigned char.
10181         * hash.h (true, false, boolean): Undef before enum.
10183         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
10184         proper type of "HOST_WIDE_INT *", rather than their natural type of
10185         "unsigned HOST_WIDE_INT *".
10187 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10189         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
10191         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
10193         * regclass.c (choose_hard_reg_mode): Likewise.
10195         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
10197         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
10199 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10201         * c-common.c: PROTO -> PARAMS.
10202         * c-common.h: Likewise.
10203         * c-decl.c: Likewise.
10204         * c-iterate.c: Likewise.
10205         * c-lang.c: Likewise.
10206         * c-lex.c: Likewise.
10207         * c-lex.h: Likewise.
10208         * c-parse.in: Likewise.
10209         * c-pragma.c: Likewise.
10210         * c-pragma.h: Likewise.
10211         * c-tree.h: Likewise.
10212         * c-typeck.c: Likewise.
10213         * objc/objc-act.c: Likewise.
10214         * objc/objc-act.h: Likewise.
10216 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10218         * m88k-protos.h: New file.
10220         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10221         time warnings.
10223         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
10225         * m88k.md: Likewise.
10227         * tekXD88.h: Likewise.
10229 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10231         * m68k-protos.h: New file.
10233         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
10234         time warnings.
10236         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
10238         * mot3300.h: Likewise.
10240 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
10242         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
10243         extract_bitlst.
10244         (extract_bitlist): Declare bitlen.
10246 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
10248         * cccp.c: Accept and ignore -lang-fortran.
10250         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
10251         qualifiers don't match at any level of pointerness.
10253 2000-01-12  Robert Lipe  <robertl@sco.com>
10255         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
10257 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
10259         * reload1.c (reload_reg_unavailable): New static variable.
10260         (reload_reg_free_p): Test it.
10261         (reload_reg_free_for_value_p): Test it instead of
10262         reload_reg_used.
10263         (choose_reload_regs_init): Compute it.
10265 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
10267         * reorg.c (fill_slots_from_thread): Check modified_in_p
10268         before replacing.
10270 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
10272         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
10273         these nodes even if INTERNALS is not set.
10275 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
10277         * gcse.c (delete_null_pointer_checks_1): Cope when
10278         get_condition cannot determine the condition.
10280 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
10282         * toplev.h (set_message_length): Declare.
10284         * diagnostic.c (obstack_chunk_alloc): Define macro.
10285         (obstack_chunk_free): Likewise.
10286         (struct output_buffer): New data structure.
10287         (vmessage): Remove.
10288         (output_maximum_width): New variable.
10289         (doing_line_wrapping, set_message_length, init_output_buffer,
10290         get_output_prefix, output_space_left, emit_output_prefix,
10291         output_newline, output_append, output_puts, dump_output,
10292         vbuild_message_string, build_message_string, build_location_prefix,
10293         voutput_notice, output_printf, line_wrapper_printf,
10294         vline_wrapper_message_with_location):  New functions. Implement
10295         automatic line wrapping.
10296         (v_message_with_decl): Make it handle automatic line wrapping.
10297         (v_error_with_file_and_line): Likewise.
10298         (v_warning_with_file_and_line): Likewise.
10299         (announce_function): Likewise.
10300         (default_print_error_function): Likewise.
10302 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10304         * cpplib.h (struct cpp_options): Change lang_asm to char.
10305         Add lang_fortran.
10306         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
10307         done in cpp_handle_option now.
10308         (initialize_builtins): Take out special case code used only by
10309         __STDC_VERSION__.
10310         (cpp_handle_option): Turn off trigraphs and trigraph warnings
10311         if -traditional.  Recognize -lang-fortran and set
10312         lang_fortran, also turn off cplusplus_comments.
10313         (print_help): Document -lang-fortran.
10314         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
10315         lang_asm. Ignore all directives other than `# 123 "file"' if
10316         CPP_PREPROCESSED.
10317         (cpp_get_token): If -traditional, don't recognize directives
10318         unless the # is in column 1.
10319         (parse_string): If lang_fortran or lang_asm, silently
10320         terminate strings ('' or "") at end of line.
10321         Remove unnecessary braces.
10323 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10324             Richard Henderson  <rth@cygnus.com>
10326         * resource.c (mark_referenced_resources): Mark a set strict_low_part
10327         as used.
10328         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
10329         strict_low_part when possible.
10331 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10333         * alias.c: PROTO -> PARAMS.
10334         * basic-block.h: Likewise.
10335         * bitmap.c: Likewise.
10336         * bitmap.h: Likewise.
10337         * builtins.c: Likewise.
10338         * c-aux-info.c: Likewise.
10339         * caller-save.c: Likewise.
10340         * calls.c: Likewise.
10342 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10344         * Makefile.in (toplev.o): Depend on regs.h.
10346         * output.h (tdesc_section): Prototype.
10348         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
10350         * sdbout.c: Include "tm_p.h".
10352         * toplev.c: Include "regs.h".
10354 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
10356         * unroll.c (unroll_loop): Add EH support.
10358 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10360         * pa-protos.h: New file.
10362         * pa.c: Include recog.h and tm_p.h.
10363         (compute_zdepwi_operands, compute_movstrsi_length,
10364         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
10365         find_addr_reg, import_milli): Add static prototypes.
10366         (pa_cpu_string, pa_arch_string): Constify a char*.
10367         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
10368         (read_only_operand): Add argument `mode'.
10369         (singlemove_string, output_move_double, output_fp_move_double,
10370         output_block_move, output_and, output_ior, output_ascii,
10371         remove_useless_addtr_insns, milli_names, output_mul_insn,
10372         output_div_insn, output_mod_insn, output_arg_descriptor,
10373         output_cbranch, output_bb, output_bvb, output_dbra, ,
10374         output_millicode_call, output_call, hppa_encode_label,
10375         output_parallel_movb, output_parallel_addb): Constify a char*.
10376         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
10377         (output_parallel_addb): Remove extra arg to `constrain_operands'
10379         * pa.h:  Move all prototypes to pa-protos.h.
10380         (pa_cpu_string, pa_arch_string): Constify a char*.
10381         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
10383         * pa.md: Call `function_label_operand' with mode argument.
10384         Likewise for `read_only_operand'.
10385         Fix nesting of parens in call to `symbolic_operand'.
10387 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10389         * i860-protos.h: New file.
10391         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
10392         time warnings.
10394         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
10396         * i860.md: Likewise.
10398 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
10400         * i386.md (movstrsi expander): Rewrite.
10401         (movstrsi_1 insn): Deleted.
10402         (strmovhi, strmovqi expander): New expanders.
10403         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
10404         * i386.c (x86_single_stringop): New global variable.
10405         * i386.h (x86_single_stringop): Declare.
10406         (TARGET_SINGLE_STRINGOP): New macro.
10408 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
10410         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
10411         integer vararg POSTINCREMENT before the destination of the jump
10412         for the hard fp case.
10413         (function_arg_pass_by_reference): Pass a copy of CUM to
10414         FUNCTION_ARG.
10416         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
10417         for CONSTANT_ADDRESS_P above while loop for subreg.
10419 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
10421         * flow.c (propagate_block): When a prologue/epilogue insn
10422         is marked dead, unconditionally clear libcall_is_dead and
10423         insn_is_dead, and only dump rtl if warnings aren't being
10424         suppressed.
10426 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
10428         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
10429         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
10430         (FIXED_REGISTERS): Set dirflag as fixed.
10431         (CALL_USED_REGISTERS): Set dirflag as used.
10432         (REG_ALLOC_ORDER): Set dirflag as last one.
10433         (DIRFLAG_REG): New macro.
10434         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
10435         (HI_REGISTER_NAMES): Add dirflag.
10436         (DEBUF_PRINT_REG): Handle dirflag.
10437         * i386.md (type attribute): New cld and str types.
10438         (length_opcode attribute): Set cld and str to 1.
10439         (memory attribute): Set str to unknown - it is not clear from the
10440         patterns.
10441         (pent_np function unit): Prefixed string operations takes 12 cycles
10442         minimally; cld takes 2 cycles.
10443         (ppro_uops attribute): Str is "many" and cld is "few".
10444         (ppro_p0 unit): Handle cld here.
10445         (k6_alux unit): Handle cld and str types.
10446         (k6_load unit): It is ocupied by str opcodes.
10447         (k6_store unit): It is ocupied by str opcodes.
10448         (athlon_decode): Str is vector decoded.
10449         (athlon_ieu): Handle str and cld.
10450         (cld pattern): New.
10451         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
10452         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
10453         cmpstrsi_nz_1 insn): Do not output cld instruction
10455 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
10457         * gcc.texi (G++ and GCC): Add Java and Chill.
10458         (Bug Critera): Don't list languages.
10460         * gcc.texi (Incompatibilities): No longer claim most C compilers
10461         are K&R.
10463         * gcc.texi (G++ and GCC): Update other front-ends list.
10465 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
10467         * i386.c (ix86_expand_setcc): Fix typo.
10468         (ix86_expand_movcc): Similarly.
10470         * Band-aid until haifa's bitset implementation is nuked.
10471         * haifa-sched.c (extract_bitlst): New parameter for size of the
10472         bitset in bits.  All callers changed.  Avoid looking at undefined
10473         bits in the bitset.
10474         (edgeset_bitsize): New variable.
10475         (schedule_region): Initialize edgeset_bitsize.
10477 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10479         * Makefile.in (optabs.o): Depend on real.h
10480         (resource.o): Depend on insn-attr.h
10482         * builtins.c (result_vector): Wrap prototype in macro conditions
10483         governing definition and use.
10485         * c-common.c: Include tm_p.h.
10487         * c-lex.c: Likewise.
10489         * elfos.h: Constify a char*.
10491         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
10492         (get_attr_length, shorten_branches, profile_after_prologue): Mark
10493         parameter with ATTRIBUTE_UNUSED.
10495         * fold-const.c (exact_real_inverse): Wrap variable `i' in
10496         CHECK_FLOAT_VALUE.
10498         * haifa-sched.c (schedule_insns): Mark parameter with
10499         ATTRIBUTE_UNUSED.
10501         * optabs.c: Include real.h.
10503         * real.h (ereal_atof): Add prototype arguments.
10505         * resource.c: Include insn-attr.h.
10507         * sdbout.c (sdbout_queue_anonymous_type,
10508         sdbout_dequeue_anonymous_types): Wrap in macro
10509         SDB_ALLOW_FORWARD_REFERENCES.
10510         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
10511         ATTRIBUTE_UNUSED.
10513         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
10515         * stupid.c: Include tm_p.h.
10517         * tree.c (real_value_from_int_cst): Mark parameter with
10518         ATTRIBUTE_UNUSED.
10520 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10522         * i960-protos.h: New file.
10524         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
10525         time warnings.
10527         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
10529 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10531         * combine.c (expand_field_assignment): Do not discard SUBREGs
10532         while computing nonzero_bits.
10534 2000-01-09  Nick Clifton  <nickc@cygnus.com>
10536         * config/arm/arm.c: Fix compile time warnings about signed vs
10537         unsigned constants.
10538         * config/arm/arm.h: Fix compile time warnings about signed vs
10539         unsigned constants.
10541 2000-01-09  Philip Blundell  <philb@gnu.org>
10543         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
10544         than `ldm' with only one register.
10545         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
10546         only one register.
10548         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
10549         clobbered.
10551 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
10553         * config/ns32k/ns32k.md (load or push effective address): Operand 1
10554         must have SImode.
10556 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10558         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
10559         assignment used as truth value.
10561         * function.c (assign_temp): Mark parameter `dont_promote' with
10562         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
10563         PROMOTE_FOR_CALL_ONLY.
10565         * genrecog.c (write_subroutine): Mark variable `operands' with
10566         ATTRIBUTE_UNUSED.
10568         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
10569         ATTRIBUTE_UNUSED.
10571         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
10572         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
10574         * toplev.c (note_deferral_of_defined_inline_function): Likewise
10575         for `decl'.
10577 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10579         * config/c4x.h: Tidy up comments.
10580         * config/c4x.c: Likewise.
10582 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
10584         * fold-const.c (lshift_double, rshift_double): Handle
10585         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
10587 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10589         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
10590         in prepare_function_start().
10592 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
10594         * config/v850/v850.c (expand_epilogue): Interrupt functions no
10595         longer allocate extra stack for function calls.
10597 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10599         * config/c4x/c4x.md (*subqf3_set): Fix typo.
10601 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10603         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
10605 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
10607         * rs6000.c (processor_target_table): Add power3 as alias for 630.
10608         * aix43.h: Revert Aug 2 change.
10609         (HAS_INIT_SECTION): Define, not visible yet.
10610         (LD_INIT_SWITCH): Define, not visible yet.
10611         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
10613         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
10615         * collect2.c (main): Expand ld2 size further.
10616         (export_object_lst): Cast assignment to avoid warning.
10617         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
10618         (scan_prog_file, COFF): Do not collect initialization or
10619         finalization functions generated for entire shared object if
10620         init/fini support present.
10622 2000-01-07  Nick Clifton  <nickc@cygnus.com>
10624         * config/elfos.h: Tidy up formatting of marcos.  Make sure
10625         that .section directives are always prefixed by a tab.
10627         * config/svr4.h: Add #include "elfos.h" and remove duplicate
10628         definitions.
10630 2000-01-07  Matt Austern  <austern@sgi.com>
10632         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
10633         expon.
10635 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
10637         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
10638         crtstuff.c.
10639         (crtbegin.o, s-crtS): Likewise.
10641 2000-01-06  Richard Henderson  <rth@cygnus.com>
10643         * alpha.md (adddi_2+1): Limit offset such that it will be
10644         loadable with a single ldah+lda pair.
10645         (adddi_2+2): Explicitly fail split if we can't make it work.
10647 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
10649         * protoize.c: Conditionally include unistd.h.
10650         (IS_SAME_PATH_CHAR): New macro.
10651         (IS_SAME_PATH): New macro.
10652         (CPLUS_FILE_SUFFIX): New macro.
10653         (cplus_suffix): New static variable.
10654         (is_abspath): New static function.
10655         (in_system_include_dir): Handle DOS style pathnames.
10656         (file_could_be_converted): Likewise.
10657         (file_normally_convertible): Likewise.
10658         (directory_specified_p): Likewise.
10659         (file_excluded_p): Likewise.
10660         (abspath): Likewise.
10661         (shortpath): Likewise.
10662         (referenced_file_is_newer): Likewise.
10663         (save_def_or_dec): Likewise.
10664         (do_processing): Likewise.
10665         (main): Likewise.
10666         (edit_file): Likewise. Use rename instead of link.
10667         (rename_c_file): Likewise. Don't rename syscalls file.
10668         (munge_compile_params): Define null device for DOS based systems.
10669         (process_aux_info_file): Use binary mode if appliable.
10670         (edit_file): Likewise.
10671         * invoke.texi (Running Protoize): Document C++ suffixes used.
10673         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
10674         IS_DIR_SEPARATOR macros.
10675         * collect2.c: Likewise.
10676         * cppinit.c: Likewise.
10677         * dwarf2out.c: Likewise.
10678         * gcc.c: Likewise.
10679         * gcov.c: Likewise.
10680         * prefix.c: Likewise.
10681         * rtl.c: Likewise.
10682         * toplev.c: Likewise.
10683         * system.h: And move to here.
10685         * prefix.c (update_path): Fix typo in variable name.
10687 2000-01-06  Richard Henderson  <rth@cygnus.com>
10689         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
10690         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
10691         (count_reg_sets_1, count_reg_references): Likewise.
10692         (flow_loops_level_compute): Start counting actual loop depth at 1.
10693         (flow_loops_find): Likewise.
10694         * local-alloc.c (update_equiv_regs): Likewise.
10695         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
10697 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10699         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
10700         FIRST_PSEUDO_REGISTER
10701         * dwarf2out.c: Don't include frame.h
10702         * dwarfout.c: Likewise
10703         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
10704         frame.h
10706 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
10708         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10709         dead registers.
10711         * i386.c (movsf splitter): Fix typo in my last checkin.
10713 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10715         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
10716         own definition of this macro.
10717         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
10718         flag_data_sections or UNIQUE_SECTION_P are true.
10720         * tm.texi (UNIQUE_SECTION): Document that it can be called for
10721         unitialised data decls.
10723         * config/i386/winnt.c (i386_pe_unique_section): Cope with
10724         being called for uninitialised data.
10726         * config/i386/interix.c (i386_pe_unique_section): Cope with
10727         being called for uninitialised data.
10729         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
10730         for uninitialised data.
10732         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
10733         for uninitialised data.
10735         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
10736         for uninitialised data.
10738         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
10739         (UNIQUE_SECTION_P): Always generate a unique section if
10740         flag_data_sections is true.
10741         (UNIQUE_SECTION): Also generate unique sections for
10742         uninitialised data.
10743         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
10744         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
10745         named_section().
10747 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10749         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
10750         SI, or DI.
10752 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10754         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
10755         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
10756         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
10757         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
10758         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
10760         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
10762 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10764         * c-decl.c (finish_enum): Simplify code to determine minimum and
10765         maximum values of the enum, and calculate the type.  Remove check
10766         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
10767         the DECL_INITIAL of each enumeration constant with a copy converted
10768         to the enumeration type.  When updating variant types, don't bother
10769         updating the type itself.
10771         * c-typeck.c (build_binary_op): Simplify conditional expressions
10772         when weeding out spurious signed-unsigned warnings.  Add new
10773         spurious warning category: if the unsigned quantity is an enum
10774         and its maximum value fits in signed_type(result_type).  Update
10775         commentary.
10776         (build_conditional_expr): Warn here if one alternative is signed
10777         and the other is unsigned.
10779 2000-01-05  Nick Clifton  <nickc@cygnus.com>
10781         * config/fr30/fr30.h: Remove extraneous comments.
10783 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
10785         * reload1.c (choose_reload_regs): When disabling a reload, also
10786         set reload_spill_index to -1.
10788 2000-01-04  Joel Sherrill (joel@OARcorp.com>
10790         * configure.in (m68*-*-rtemscoff*): New target, formal name for
10791         old m68*-*-rtems*.
10792         (m68*-*-rtemself*): New target.
10793         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
10794         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
10795         (sparc*-*-rtemself*): New target.
10796         (sparc*-*-rtems*): Now elf not a.out.
10797         * config/i386/rtems.h: Include config/rtems.h.
10798         * config/i386/rtemself.h: Include config/rtems.h.
10799         * config/i960/rtems.h: Include config/rtems.h.
10800         * config/m68k/rtems.h: Include config/rtems.h.
10801         * config/m68k/rtemself.h: Include config/rtems.h.
10802         * config/mips/rtems64.h: Include config/rtems.h.
10803         * config/pa/rtems.h: Include config/rtems.h.
10804         * config/rs6000/rtems.h: Include config/rtems.h.
10805         * config/sh/rtems.h: Include config/rtems.h.
10806         * config/sh/rtemself.h: Include config/rtems.h.
10807         * config/sparc/rtems.h: Include config/rtems.h.
10808         * config/sparc/rtemself.h: Include config/rtems.h
10810 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
10812         * final.c (shorten_branches): Correctly compute length of
10813         asms without operands.
10815 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
10817         * configure.in: Add pj target.
10818         * configure: Regenerate.
10819         * config/pj: New directory.
10820         * config/pj/lib1funcs.S: New file.
10821         * config/pj/linux.h: New file.
10822         * config/pj/pj.c: New file.
10823         * config/pj/pj.md: New file.
10824         * config/pj/pjl.h: New file.
10825         * config/pj/t-pj: New file.
10826         * config/pj/xm-pj.h: New file
10828 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
10830         * toplev.c (rest_of_compilation): Run shorten-branches before
10831         reg-stack for now.
10833 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10835         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
10836         macros so that they're consistent with their names.
10837         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10838         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10840 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10842         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
10843         modified inadvertently.
10845 2000-01-04  Joel Sherrill <joel@OARcorp.com>
10847         * configure.in (v850*-*-rtems*): New target.
10848         * configure: Regenerate.
10849         * config/v850/rtems.h: New file.
10851 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
10853         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
10854         (__gthread_key_create): Likewise.
10855         (__gthread_key_dtor):  Likewise.
10856         (__gthread_once): Fix logic.
10857         (__gthread_key_delete): Cast away constness.
10859         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
10860         * invoke.texi: Document.
10861         * i386/mingw32.h (CPP_SPEC): Use.
10862         (LIBGCC_SPEC): Likewise.
10863         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
10865 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10867         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
10868         (HANDLE_PRAGMA_PACK): Undefine.
10869         (SLOW_UNALIGNED_ACCESS): Define.
10871 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10873         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10874         to default definition.
10875         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
10876         (store_fixed_bit_field): Call macro with word_mode and alignment.
10877         (extract_bit_field): Call macro with relevant mode and alignment.
10878         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10879         to default definition.
10880         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
10881         and alignment.
10882         (move_by_pieces_ninsns): Likewise.
10883         (clear_by_pieces): Likewise.
10884         (emit_push_insn): Likewise.
10885         (store_field): Call macro with relevant mode and alignment.
10886         (expand_expr): Likewise.
10887         (expand_expr_unaligned): Likewise.
10889         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
10890         (SLOW_UNALIGNED_ACCESS): Define.
10891         (CASE_VECTOR_MODE): Always use 32-bit offsets.
10892         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
10893         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
10894         (toc_section): Likewise and .toc pseudo-op.
10895         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
10896         64-bit mode.
10897         (TEXT_SECTION_ASM_OP): Likewise.
10898         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
10899         32-bit offsets.
10901         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
10902         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
10903         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
10904         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
10905         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
10907 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
10909         * regclass.c: Revert my Jan 4 change to loop cost computation.
10911 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10913         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10914         compilation.
10916 2000-01-04  Stan Cox  <scox@cygnus.com>
10918         * haifa-sched.c (build_control_flow): Change unreachable simple
10919         loop test to check if current block has only one predecessor.
10920         (find_rgns): Initialize degree.  Use dest as degree index, not src.
10922 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10924         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10926         * calls.c (expand_call): Likewise for
10927         `old_stack_arg_under_construction'.
10929         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10931         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10932         `save_constant'.
10934         * gcc.c (execute): Likewise for `ut' and `st'.
10936         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10938         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10940         * jump.c (jump_optimize_1): Likewise for `temp2'.
10942         * local-alloc.c (block_alloc): Likewise for `r1'.
10944         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10946         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10947         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10949         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10950         and `set2'.
10952         * reload.c (find_reloads): Likewise for `goal_alternative_number'
10953         and `goal_earlyclobber'.
10955         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10957         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10959         * stupid.c (stupid_life_analysis): Likewise for `chain'.
10961         * unroll.c (copy_loop_body): Likewise for `copy'.
10963         * varasm.c (output_constructor): Likewise for `byte'.
10965 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10967         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10968         all FP constants for constant->reg moves.
10969         (ix86_split_to_parts): Try to convert memory address into immediate
10970         when available in the constant pool.
10971         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10972         moves.
10973         (LEGITIMATE_CONSTANT_P): Return 1.
10974         * i386.md (pushsf): New splitter to convert constant pool memory
10975         reference to immediate.
10976         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10977         reload.
10979 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
10981         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10982         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10983         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10984         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10985         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10987 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
10989         * ginclude/stdbool.h:  Support compilation as C++.
10991 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10993         * fold-const.c (make_range): Don't try to reverse an unbounded range.
10995 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
10997         * regclass.c (regclass): Properly compute loop_cost.  Adjust
10998         comments.
11000         * regclass.c: Fix minor whitespace problems.
11002 2000-01-03  Anthony Green  <green@cygnus.com>
11004         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
11005         Restore the pic register if required.
11007 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
11009         * c-common.c (format_char_info): Update comment.
11010         (check_format_info): Recognize 'z' modifier in the same way 'Z'
11011         was recognized.  Emit warning for formats new in ISO C99 only
11012         if flag_isoc9x is not set.
11014 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
11016         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
11018 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
11020         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
11021         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
11022         (make_compound_operation): Choose cheaper alternative between
11023         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
11025         * regclass.c (op_costs): Remove global variable.
11026         (record_reg_classes): New parameter "op_costs" and "reg_pref".
11027         (record_operand_costs): Break out from ...
11028         (scan_one_insn): ... here.
11029         (dump_regclass): Make dumps nicer.
11030         (regclass): Dump preferrences choosed and changes done during passes.
11032 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
11034         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
11036 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
11038         * config/sparc/sparc.c (gen_df_reg): New function.
11039         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
11040         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
11041         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
11042         movtf_cc_reg_sp64+1): Use it.
11044 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
11046         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
11047         copied LABEL_DECLs.
11049 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
11051         * config/i386/i386.c (ix86_expand_unary_operator): Function
11052         definition made void.
11053         (ix86_expand_binary_operator): Update outdated preceding comment.
11054         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
11055         prototype.
11057         * config/i386/i386.c (override_options): Fix option-name typo.
11059 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
11061         * system.h (CEIL): Define.
11062         * builtins.c (CEIL): Remove.
11063         * expmed.c (CEIL): Likewise.
11064         * expr.c (CEIL): Likewise.
11065         * stor-layout.c (CEIL): Likewise.
11067 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11069         * expr.c (store_constructor_field): Fix typo introduced with last
11070         gcc2 merge.
11072 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
11074         * tree.h (BINFO_N_BASETYPES): New macro.
11076 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
11078         * expmed.c (emit_store_flag): Prevent losing a pending stack
11079         adjust the same way we prevent losing queued increments.
11081 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11083         * function.c (update_temp_slot_address): Handle case where sum of
11084         temporary address plus offset in register is a valid address.
11086 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
11088         * genrecog.c (change_state) Corrected typo.
11090 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11092         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
11093         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
11094         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
11096 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
11098         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
11099         case, expand GT comparisons correctly.  Fix a comment before this
11100         part of the code.
11102 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
11104         * dwarfout.c: Include "frame.h"
11105         * dwarf2out.c: Likewise.
11106         * Makefile.in (dwarfout.o): Depend on frame.h
11107         (dwarf2out.o): Likewise.
11109 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
11111         Restore i386 binary compatibility in Dwarf EH info.
11112         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
11113         value of FIRST_PSEUDO_REGISTER.
11114         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
11115         (struct frame_state): Use DWARF_FRAME_REGISTERS.
11116         * dwarfout.c (output_reg_number): Ditto.
11117         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
11118         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
11120 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
11122         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
11123         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
11124         (<hack>_RE_CT): not needed
11125         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
11126         rewritten to scan the file text once only
11127         "template<..." test added
11128         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
11129         (is_cxx_header): declaration added
11130         * fixinc/fixtests.c(is_cxx_header): removed
11131         (apply_fix_p_t): removed
11132         (double_slash_test): is_cxx_header is only called once now
11133         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
11134         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
11135         within the templates.
11136         The borken spelling of "broken" was fixed.
11137         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
11138         The default level depends on FIXINC_DEBUG.
11140 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11142         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
11143         Otherwise provide a declaration for atexit.
11144         (init_dummy): Make sure dummy call to atexit is nevertheless
11145         called with correct number of args.
11147         * frame.c: Update comments referring to other files.
11149         * libgcc2.c: Likewise.
11151 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11153         * cse.c (free_element, get_element): Remove unused prototypes.
11155         * fold-const.c (extract_muldiv): Initialize variables `op0' and
11156         `op1'.
11158         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
11159         `else' clauses.
11161 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
11163         * configure.in,configure: case arm for mn10200-*-* now sets
11164         float_format=i32 so that float.h will correctly claim "double"
11165         to be 32 bits. Ran autoconf to generate configure from .in file.
11167 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
11169         * pa.md (conditional zero): If op1 is a register, force it into
11170         the same register as op0.
11172 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
11174         * tree.h (BINFO_BASETYPES): Improve documentation.
11176 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11178         * configure.in (--enable-checking): Use a more portable `for'
11179         loop syntax.
11181 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11183         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
11184         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
11186         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
11187         Delete files.
11189         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
11190         Delete descriptions.
11192         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
11193         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
11194         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
11195         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
11196         xm-svr4.h: Remove all instances of sys_siglist handling.
11198 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
11200         * config/sparc/sparc.md (cmp_zero_qi,
11201         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
11202         cmp_zero_extendqidi2_andcc_set): New patterns.
11204 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
11206         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
11207         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
11208         (fpgnulib.c, xfgnulib.c): Add rules.
11209         * m68k/t-mot3300-gas: Likewise.
11211 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
11213         * configure.in: Avoid [[ by using test and changequote.  Add
11214         changequote required by 1999-12-14 change.
11215         * configure: Rebuild.
11217 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
11219         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
11221 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
11223         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
11224         * flow.c (find_use_as_address): Likewise.
11225         * function.c (fixup_var_refs_1): Likewise.
11226         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
11227         * jump.c (invert_exp, redirect_exp): Likewise.
11228         * loop.c (replace_call_address): Likewise.
11229         (count_nonfixed_reads): Likewise.
11230         * rtlanal.c (modified_between_p): Likewise.
11231         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
11232         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
11233         * unroll.c (remap_split_bivs): Likewise.
11235 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11237         * diagnostic.c (v_message_with_decl): Use .* format specifier
11238         instead of building the format specifier width manually.
11240         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
11241         determining whether to provide a prototype.  Remove the
11242         sys_siglist clause in the conditional.
11244 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11246         * fold-const.c (operand_equal_p): Use memcmp to compare string
11247         constants.
11248         Suggested by D. J. Bernstein
11250 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
11252         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
11253         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
11254         compiling libgcc2.
11255         * config/mips/mips.h (TARGET_64BIT): Likewise.
11256         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
11257         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
11258         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
11259         dsps.  Give routines proper names if SI/DI modes are not used.
11260         * longlong.h: Use DWunion instead of DIunion.
11262 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
11264         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
11265         GC_CHECKING, GC_ALWAYS_COLLECT.
11266         * configure.in: Allow --enable-checking with an argument
11267         listing check modes to enable.
11268         * config.in, configure: Rebuilt.
11269         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
11270         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
11271         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
11272         ENABLE_GC_ALWAYS_COLLECT.
11273         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
11274         throughout.
11275         * tree.h, tree.c: Change ENABLE_CHECKING to
11276         ENABLE_TREE_CHECKING throughout.
11278 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11280         * fold-const.c (fold_truthop): Properly check for FP RHS.
11282 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
11284         * toplev.h (note_deferall_of_defined_inline_function): Declare.
11285         * toplev.c (note_deferral_of_defined_inline_function): New
11286         function, split out from ...
11287         (rest_of_compilation): ... here.  Use it.
11289 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11291         * expr.c (store_constructor): Don't call clear_storage if size is
11292         variable.
11294 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11296         * Makefile.in (toplev.o): Depend on loop.h.
11298         * dwarfout.c: Include tm_p.h.
11300         * emit-rtl.c (restore_emit_status): Mark parameter with
11301         ATTRIBUTE_UNUSED.
11303         * final.c (final_scan_insn): Likewise.
11305         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
11306         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
11307         flow_depth_first_order_compute, flow_loop_pre_header_find,
11308         flow_loop_tree_node_add, flow_loops_tree_build,
11309         flow_loop_level_compute, flow_loops_level_compute,
11310         flow_loop_outside_edge_p): Add prototypes.
11311         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
11313         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
11314         Mark with ATTRIBUTE_NORETURN.
11316         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
11318         * local-alloc.c (no_conflict_p): Likewise.
11320         * loop.c (insert_bct): Hide definitions of variables with hidden
11321         usage.
11322         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
11324         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
11325         with ATTRIBUTE_UNUSED.
11326         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
11327         (reg_scan): Likewise.
11329         * reload.c (find_reloads): Remove unused variables `changed'.
11331         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
11332         away const-ness.
11333         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
11334         Remove unused variable `insn'.
11336         * toplev.c: Include loop.h.
11337         (report_file_and_line): Remove unnecessary prototype.
11339         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
11341         * unroll.c (biv_total_increment): Likewise.
11343 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11345         * reload1.c (emit_input_reload_insns): Restore old behaviour
11346         wrt. 'special' reloads.
11348 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
11350         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
11351         hash.h.  (cse.c): Don't depend on hashtab.h.
11353         * cse.c: Don't include hashtab.h.
11354         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
11355         of dead functions.
11356         * ggc-simple.c: Don't include hash.h.
11358 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
11360         * dwarf2out.c (add_abstract_origin_attribute): Call
11361         gen_abstract_function on our function context.
11363 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
11365         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
11367 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11369         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
11370         case in switch.
11372 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11374         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
11375         constraints to "a!r".
11377 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
11379         * Makefile.in (calls.o): Depend on function.h.
11380         (alias.o): Likewise.
11382 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
11384         * reload1.c (emit_reload_insns): Break out code and variables into...
11385         (input_reload_insns, other_input_address_reload_insns,
11386         other_input_reload_insns, input_address_reload_insns,
11387         inpaddr_address_reload_insns, output_reload_insns,
11388         output_address_reload_insns, outaddr_address_reload_insns,
11389         operand_reload_insns, other_operand_reload_insns,
11390         other_output_reload_insns): ... new static variables, and...
11391         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
11392         do_output_reload): ... new functions.
11394 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11396         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
11398 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11400         * md.texi: Add c4x constraints documentation.
11402 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11404         * config/i386/dgux.c (struct option): Rename to
11405         lang_independent_option.
11406         (struct m_options): Add description field.
11407         (output_options): Rename option type, add sep declaration, output
11408         ix86_cpu_string and ix86_arch_string only if set.
11409         (output_file_start): Rename option type.
11411 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
11413         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
11414         stmp-int-hdrs.
11415         (libgcc2.a): Similarly.
11417 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
11419         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
11420         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
11421         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
11423 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
11425         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
11426         Remove redundant initialization of "frexpon" and "expon".
11428 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11430         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
11432         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
11433         (store_constructor_field, expand_expr): Pass new arg.
11435 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
11437         * Makefile.in (explow.o): Depend on function.h.
11439         * stor-layout.c (set_sizetype): Fix typo.
11441 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
11443         * function.c (cfun): Renamed from current_function.  All users
11444         changed.
11445         * function.h (cfun): Rename declaration as well.
11447         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
11448         to be of type regset_head, not regset.  All users changed by adding
11449         address operator.
11450         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
11452 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11454         * config/c4x/rtems.h: New file.
11456 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
11458         * reload1.c (spill_failure): Take class of failed reload as argument
11459         and print it.  Caller changed.
11461 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11463         * rs6000.h (SUBTARGET_DEFAULT): New macro.
11464         (TARGET_SWITCHES): Allow subtargets to default switches.
11465         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
11467 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
11469         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
11470         in a main program.
11472 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
11474         * cccp.c (main): Define __STDC_VERSION__ as necessary.
11475         * cppinit.c (cpp_handle_option): Likewise.
11477         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
11478         determine when to define.
11480 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
11482         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
11483         cmove with mismatched test and data modes.
11485 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
11487         * c-typeck.c (c_expand_start_case): Don't warn for long switch
11488         in system headers.
11490 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11492         * alias.c: Minor reformatting.
11493         * flow.c: Likewise.
11494         * regs.h: Likewise.
11495         * stor-layout.c: Likewise.
11496         * fold-const.c: Likewise.
11497         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
11498         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
11499         not arg itself.
11500         (size_int_wide): Cache nodes even if garbage collecting.
11501         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
11502         of SAVE_EXPR has no side effects.
11503         * cse.c: Move a comment.
11504         * tree.c: Minor reformatting.
11505         (int_size_in_bytes): Return -1 if constant overflows.
11507 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11509         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
11511 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
11513         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
11514         after any change to c-parse.in, even if objc-parse.y didn't
11515         change.  Oops.
11517 1999-12-18  David S. Miller  <davem@redhat.com>
11519         * toplev.c (rest_of_compilation): Restore BLOCK tree
11520         reconstruction and branch shortening changes lost in
11521         December 18th change.
11523 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
11525         * config/arm/linux-elf.h: Change all instances of
11526         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
11527         * config/arm/uclinux-elf.h: Likewise.
11529 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
11531         * toplev.c (notice, vmessage, v_message_with_file_and_line,
11532         v_message_with_decl, file_and_line_for_asm,
11533         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
11534         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
11535         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
11536         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
11537         pfatal_with_name, fatal_io_error, need_error_newline,
11538         last_error_function, last_error_tick, announce_function,
11539         default_print_error_function, print_error_function,
11540         report_error_function, fnotice, error_with_file_and_line,
11541         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
11542         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
11543         warning_with_decl, warning_for_asm, warning, pedwarn,
11544         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
11545         diagnostic.c
11546         (compile_file): Use fnotice instead of notice.  Adjust call.
11548         * diagnostic.c: New file.
11550         * Makefile.in (OBJS): Include diagnostic.o
11551         (diagnostic.o): Define dependence.
11553 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11555         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
11556         Tweak formatting.
11558 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11560         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
11562 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
11564         * fixtests.c (is_cxx_header): New fn, split out of
11565         double_slash_test.
11566         (else_endif_label): Allow "#endif // comment" in C++ headers,
11567         as determined by is_cxx_header.
11568         * fixfixes.c (else_endif_label_fix): Update comment.
11569         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
11570         a tty.
11571         * genfixes: Correct double thinko in commandline parsing.
11572         * hackshell.tpl: Generate correct sh syntax for bypass
11573         entries.
11575         * inclhack.def (all): Whenever an inserted preprocessor
11576         conditional is split over multiple lines, use double
11577         backslashes in this file so the fixed header will be readable.
11579         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
11580         and add bypass entry for correct version of this header.
11581         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
11582         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
11584         (hpux8_bogus_inlines): New fix, split from...
11585         (ultrix_atof_param) ... here.
11586         (math_expression): Add bypass entry keyed to glibc comment
11587         indicating the problem has been dealt with; disable
11588         unnecessary sed operations; update commentary.
11589         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
11590         add select and bypass entries, simplify shell operation.
11591         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
11593         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
11594          ultrix_atof_param): Add select entry.
11595         (stdio_va_list, sunos_mather_decl): Add bypass entry.
11596         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
11597         comments with the fixes they describe.
11599         * c-parse.in (string action): Do not warn about ANSI string
11600         concatenation in system headers.  Affects C parser only.
11601         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
11603 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
11605         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
11606         compiling libgcc2 the macro depends always on arch cpp defines.
11608 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
11610         * loop.c (insert_loop_mem): Don't record MEMs from inside
11611         EXPR_LISTs.
11613 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
11615         * regclass.c (regclass): Do not use flowgraph when not optimizing.
11617         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
11618         notes too, create one when replacement failed, attempt to simplify
11619         resulting notes.
11620         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
11621         or REG_EQUIV notes.
11623 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
11625         * crtstuff.c (__dso_handle): Declare.
11626         (__cxa_finalize): Likewise.
11627         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
11628         non-NULL.
11630         * invoke.texi: Document -fuse-cxa-atexit.
11632         * tree.h (ptr_type_node): Document.
11633         (const_ptr_type_node): Likewise.
11635 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11637         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
11638         (optimize_reg_copy_2): Likewise.
11639         (optimize_reg_copy_3): Likewise.
11640         (fixup_match_2): Likewise.
11641         (regmove_optimize): Likewise.
11642         (fixup_match_1): Liekwise.
11644         * i386.md (HI to SImode promoting splitters): Rewrite.
11645         (pushsf mem peep2): New.
11646         (testhi to andhi peep2): Remove.
11647         * i386.h (x86_promote_QImode): New.
11648         (TARGET_PROMOTE_QImode): New.
11649         (PREDICATE_CODES): Add promotable_binary_operator.
11650         * i386.c (x86_promote_QImode0: New.
11651         (promotable_binary_operator): New.
11652         * i386-protos.h (promotable_binary_operator): New.
11654         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
11655         condition.
11656         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
11658 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
11660         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
11661         * function.c (insert_block_after_note): Remove.
11662         (retrofit_block): Likewise.
11663         (identify_blocks): Fix indentation.
11664         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
11665         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
11666         * function.h (insert_block_after_note): Remove prototype.
11667         (retrofit_block): Likewise.
11668         * integrate.c (expand_inline_function): Don't call
11669         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
11670         just expand_start_bindings.  Use the block_map to remap old
11671         NOTE_BLOCKs to new ones.
11672         (integrate_decl_tree): Keep track of remapped blocks.
11673         * integrate.h (struct inline_remap): Add block_map.
11674         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
11675         NOTE_BLOCK on the notes.
11676         (expand_start_bindings): Rename to ...
11677         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
11678         (expand_end_bindings): Set NOTE_BLOCK.
11679         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
11680         reconstruct the BLOCK tree.
11681         * tree.h (expand_start_bindings): Macroize.  Call ...
11682         (expand_start_bindings_and_block): New function.
11684 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
11686         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
11687         to match the format.
11689 1999-12-16  David S. Miller  <davem@redhat.com>
11691         * expr.c (emit_move_insn_1): Only emit clobbers if one of
11692         the outputs is a SUBREG.
11693         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
11694         change.
11696         * config/sparc/sparc.c (epilogue_renumber): Add default case
11697         to switch stmt.
11699 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11701         * toplev.c (rest_of_compilation): Run branch shortening after
11702         reg-stack.
11704         * regclass.c (loop_depth): Remove
11705         (scan_one_insn): Do not handle LOOP_NOTE insns.
11706         (regclass): Go through basic blocks and set loop_cost
11708 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
11710         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
11712 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11714         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
11715         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
11716         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
11718 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
11720         * loop.c (insert_loop_mem): Ignore memory clobbers.
11722         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
11723         to (OP A B).
11725 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
11727         * profile.c: Remove redundant #include "output.h".
11729         * h8300.md (HImode preinc peephole): Fix typo.
11731 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11733         * function.c (retrofit_block): Abort if we don't find a suitable insn.
11734         (insert_block_after_note): Abort if we don't have a previous block.
11735         Remove FN parameter.
11736         * function.h: Adjust.
11738 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
11740         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
11741         argument more than once.
11743 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11745         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
11747 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
11749         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
11751 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11753         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
11754         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
11755         update stack_alignment_needed.
11756         (prepare_function_start): Initialize stack_alignment_needed
11757         * function.h (struct function): Add field stack_alignment_needed.
11759 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11761         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
11762         Handle live_throughout / dead_or_set instead of live_before /
11763         live_after.
11764         (save_call_clobbered_regs): Get register livenessinformation from
11765         chain->live_throughout.
11766         (add_stored_regs): New function.
11767         (insert_restore, insert_save): Add restored / saved registers to
11768         dead_or_set.
11769         * global.c (reg_dies): New parameter chain.
11770         (reg_becomes_live): Third parameter is regs_set now.
11771         Changed all callers.
11772         (reg_dies): New parameter chain.  Changed all callers.
11773         (build_insn_chain): Set live_throughout instead of
11774         live_before / live_after.
11775         * reload.h (struct insn_chain): Replace members live_before /
11776         live_after with live_throughout / dead_or_set.
11777         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
11778         instead of live_before / live_after.
11779         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
11780         (order_regs_for_reload, find_reg, finish_spills): Likewise.
11781         (choose_reload_regs_init): Likewise.
11782         * stupid.c (current_chain, find_clobbered_regs): Delete.
11783         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
11784         instead of chain->live_before / chain->live_after.
11785         (mark_hard_ref): New function.
11786         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
11788 1999-12-15  David S. Miller  <davem@redhat.com>
11790         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
11792 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11794         * flow.c (calculate_loop_depth): Make global, remove prototype,
11795         rewrite to use new loop infrastructure.
11796         (find_basic_block): Remove calculate_loop_depth call.
11797         * toplev.c (rest_of_compilation): Call find_basic_block.
11798         * output.h (calculate_loop_depth): Declare.
11800         * flow.c (dump_flow_info): Dump loop_depth.
11801         (flow_loops_nodes_find): Increase loop_depth for basic block in the
11802         body.
11803         (flow_loops_find): Initialize the loop_depth for each basic block.
11805 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
11807         * tree.c (decl_function_context): Handle virtual functions.
11809         * tlink.c (scan_linker_output): Don't look in demangled name when
11810         looking for linker output keywords.
11812         * dwarfout.c (output_type): We can defer namespace-scope classes.
11814 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
11816         * regclass.c (record_reg_classes): Update comment for merging
11817         register class preferences in reg->reg copies.  Tighten conditions
11818         for merging register class preferences in reg->reg copies.
11820 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
11822         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
11824 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
11826         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
11827         (INIT_SECTION_ASM_OP): Delete.
11828         (FINI_SECTION_ASM_OP): Delete.
11829         (STARTFILE_SPEC): Define to hold just crtbegin.o.
11831 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
11833         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
11834         the abstract origin wasn't emitted.
11836         * dwarf2out.c (class_scope_p): New fn.
11837         (gen_subprogram_die): Use it.
11838         (gen_variable_die): Use it.  Tweak logic.
11839         (gen_struct_or_union_type_die): Check context_die to determine
11840         if we're function-local.
11841         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
11843 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11845         * loop.c (check_dbra_loop): Can't reverse a biv that has
11846         maybe_multiple set.
11848 1999-12-14  Nick Clifton  <nickc@cygnus.com>
11850         * config/arm/arm.c: Add support for -mcpu=arm720 command line
11851         switch.
11853 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11855         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
11856         for givs made from biv increments.
11858 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
11860         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
11861         * alpha.c (override_options): Recognize -mcpu=ev67.
11862         * alpha.h (CPP_CPU_EV67_SPEC): New.
11863         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
11864         (EXTRA_SPECS): Update.
11866 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
11868         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
11869         appropriate for -lang-c89 and -std=*.
11870         * cppinit.c (cpp_handle_option): Likewise.
11871         (new_pending_define): New, split out from cpp_handle_option.
11872         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
11873         or enable trigraphs for -ansi/-std=*.
11875         * ginclude/stdarg.h (__va_copy): New.
11876         (va_copy): Don't define for C89.
11878 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
11880         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
11881         for long long multiply-accumulate.
11883 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11885         * regclass.c (scan_one_insn): Set loop_cost to 1 when
11886         optimizing for size.
11888 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11890         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
11891         if something changed.  Back out that part of yesterday's changes.
11893         * loop.c (loop_max_reg): New static variable.
11894         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
11895         max_reg_num.
11896         (scan_loop): Call reg_scan_update whenever we may have added new
11897         registers, and update loop_max_reg.
11899 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11901         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
11902         when source does not die.
11904         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
11906 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
11908         * config/sparc/linux64.h (TARGET_LIVE_G0,
11909         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
11910         variants on Linux.
11911         * config/sparc/linux.h (TARGET_LIVE_G0,
11912         TARGET_BROKEN_SAVERESTORE): Likewise.
11913         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11914         TARGET_BROKEN_SAVERESTORE): Likewise.
11916         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11917         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11918         not %g2.
11919         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11920         as sparc64 block profiling register.
11921         * config/sparc/sparc.c (sparc_override_options): Allow block
11922         profiling with -m32.
11923         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11924         profiling register.
11925         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11926         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11927         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11929         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11930         for sparc64.
11931         * config/sparc/sparc.h: Likewise.
11932         * config/sparc/xm-sysv4-64.h: Likewise.
11933         * config/float-sparc.h: Likewise.
11934         * glimits.h: Likewise.
11935         * longlong.h: Likewise.
11937         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11938         (ASM_IDENTIFY_GCC): Remove.
11940 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11942         * combine.c (combine_simplify_rtx): Don't make shared rtl.
11943         (simplify_logical): Likewise.
11945 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11947         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11948         * cppfiles.c (INO_T_EQ): Likewise.
11950 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11952         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11953         * i386/mingw32.h (LIB_SPEC): Likewise.
11954         (STARTFILE_SPEC): Likewise.
11955         * i386/uwin.h (LIB_SPEC): Likewise.
11956         (STARTFILE_SPEC): Likewise.
11958         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11959         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11961 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
11963         * combine.c (combine_simplify_rtx): Fix order of checks for
11964         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11966 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
11968         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
11969         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11971 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11973         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11974         defined.
11975         * regclass.c (inv_reg_alloc_order): New array.
11976         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11978         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11979         counted_for_groups, counted_for_nongroups.  Add fields rld and
11980         n_reloads.
11981         * reload.c (push_secondary_reload): Don't set nongroup field of
11982         new reloads.
11983         (push_reload): Likewise.
11984         (find_reloads): Delete code to compute nongroup fields.
11985         * reload1.c (reload_insn_firstobj): New static variable.
11986         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
11987         users changed.
11988         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11989         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11990         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11991         functions.
11992         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11993         functions.
11994         (struct hard_reg_n_uses): Deleted.
11995         (potential_reload_regs): Deleted.
11996         (init_reload): Initialize spilled_pseudos and pseudos_counted.
11997         (reload): Don't try to allocate reload registers if we already know
11998         we have to make another pass.  Call select_reload_regs.  Free memory
11999         starting with reload_firstobj when starting another pass.
12000         Don't allocate spilled_pseudos.
12001         (calculate_needs_all_insns): Call copy_reloads for an insn that
12002         needs reloads; don't call calculate_needs.
12003         (spill_cost): New static array.
12004         (used_spill_regs_local): New static variable.
12005         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
12006         to compute potential_reload_regs.
12007         (find_reload_regs): Completely rewritten to use find_reg.
12008         (allocate_reload_reg): Don't test counted_for_groups or
12009         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
12010         all cllers changed.
12011         (choose_reload_regs): Add fallback code that uses the existing
12012         register allocation from find_reload_regs.
12014 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
12016         * flow.c (create_edge_list): Cast xmalloc return value.
12018 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
12020         * doprnt.c: Remove incorrect comment closure.
12022         * cse.c: Fix a few minor whitespace goofs.
12024 1999-12-13  Don Bowman  <don@pixstream.com>
12026         * mips/vxworks.h: Fix problem with comment termination.
12027         (EXTRA_SECTIONS): Add in_sbss.
12028         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
12030 1999-12-12  David S. Miller  <davem@redhat.com>
12032         * cse.c (struct cse_reg_info): Add hash_next member,
12033         reorder rest of struct for better packing on 64-bit
12034         hosts.
12035         (cse_reg_info_tree): Kill.
12036         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
12037         REGHASH_FN): New custom pow2 hash mechanism.
12038         (NBUCKETS): Kill.
12039         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
12040         use a pow2 hash table.
12041         (get_cse_reg_info): Rework to use new REGHASH.
12042         (new_basic_block): Likewise, use HASH_SIZE, and inline
12043         free_element call.
12044         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
12045         and inline free_element call.
12046         (lookup_as_function, insert, flush_hash_table, invalidate,
12047         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
12048         invalidate_for_call, use_related_value, find_comparison_args,
12049         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
12050         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
12051         get_element): Kill.
12053 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
12055         * cse.c (cse_basic_block): Free qty_table consistently.
12057 1999-12-12  David S. Miller  <davem@redhat.com>
12058             Jakub Jelinek    <jakub@redhat.com>
12060         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
12061         SUBREGs by hand, gen the appropriate hard reg directly.
12062         (movtf reg/mem split): Likewise and alter_subreg on destination
12063         if necessary.
12064         (movtf mem/reg split): Similarly.
12065         (movdf_cc_sp64): Rename from hidden pattern.
12066         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
12067         (movtf_cc_sp64, following split): New pattern and splitter.
12068         (movdf_cc_reg_sp64): Rename from hidden pattern.
12069         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
12070         TARGET_HARD_QUAD.
12071         (movtf_cc_reg_sp64, following split): New pattern and splitter.
12073 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
12075         * loop.c (load_mems): Don't hoist written floating point mem
12076         if -ffloat-store.
12078 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
12080         * except.h (struct eh_queue): Add `next' pointer.
12081         (struct eh_status): Make x_ehqueue a pointer.
12082         (push_ehqueue):  Declare.
12083         (pop_ehqueue): Likewise.
12084         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
12085         pointer.
12086         (expand_fixup_region_end): Likewise.
12087         (expand_leftover_cleanups): Likewise.
12088         (push_ehqueue): Define.
12089         (pop_ehqueue): Likewise.
12090         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
12091         than doing it inline.
12092         (expand_start_all_catch):  Adjust now that ehqueue is a
12093         pointer.
12094         (mark_eh_queue): Mark all level of the queue.
12095         (mark_eh_status):  Adjust now that ehqueue is a
12096         pointer.
12097         (init_eh_for_function): Allocate ehqueue.
12098         (free_eh_status): Free it.
12099         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
12100         expansion for a fixup.
12102 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12104         * gthr-single.h (__gthread_active_p): Add prototype arguments.
12106         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
12107         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
12108         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
12109         function_ptr, getpagesize, __enable_execute_stack,
12110         __enable_execute_stack, __clear_insn_cache,
12111         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
12112         _cleanup, _exit, __default_terminate, __terminate_func,
12113         __terminate, __empty, __throw, new_eh_context,
12114         eh_context_initialize, eh_context_static, eh_context_specific,
12115         get_eh_context, __get_eh_context, __get_eh_info,
12116         init_reg_size_table, eh_threads_initialize,
12117         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
12118         __unwinding_cleanup, throw_helper, __throw, __rethrow,
12119         __pure_virtual): Add prototype arguments.
12120         (__bb_exit_func): Cast a sizeof to long when comparing against one.
12121         Cast a signed value to unsigned long when comparing against one.
12122         (new_eh_context): Wrap in _GTHREADS macro.
12123         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
12124         declaration.
12125         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
12126         (throw_helper): Initialize variables `handler_p' and `pc_p'.
12128 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12130         * combine.c (record_promoted_value): Remove unused variable
12131         `links2'.
12133         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
12135         * global.c (record_conflicts): Likewise for `j'.
12137         * genoutput.c (output_insn_data): Don't unnecessarily cast away
12138         const-ness.
12140 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12142         * i386-protos.h (output_387_binary_op, output_fix_trunc,
12143         output_fp_compare): Constify a char*.
12145         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
12146         static prototypes.
12147         (override_options, ix86_comp_type_attributes, print_operand,
12148         output_387_binary_op, output_fix_trunc, output_fp_compare):
12149         Constify a char*.
12150         (ix86_sched_reorder): Mark parameter `clock_var' with
12151         ATTRIBUTE_UNUSED.
12153         * i386.h (DEBUG_PRINT_REG): Constify a char*.
12155 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
12157         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
12158         operand, for use in the Java front-end.
12160 1999-12-10  Ben Collins  <bcollins@debian.org>
12162         * configure.in: Fix typo for "-64" in 64bit as check.
12163         * configure: Rebuilt.
12165 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
12167         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
12168         appropriate.
12170 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12172         * c-parse.in (string): With -Wtraditional, warn if ANSI string
12173         concatenation is utilized.
12175         * invoke.texi (-Wtraditional): Document it.
12177 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12179         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
12180         Cast a ptrdiff_t to long and pass it to printf with %ld.
12182 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
12184         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
12185         68881, we have no 68881 registers at all.
12186         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
12187         value in a 68881 register if it is available.
12189 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
12191         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
12192         for long long multiply-accumulate.
12194 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
12196         * loop.c (insert_loop_mem): Undo last change.
12198 1999-12-10  David S. Miller  <davem@redhat.com>
12200         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
12201         New functions.
12202         * config/sparc/sparc-protos.h: Add them.
12203         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
12204         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
12205         constraints which use those helpers.
12206         (EXTRA_CONSTRAINT): Use this new macro.
12207         * md.texi: Update sparc target constraints documentation.
12208         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
12209         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
12210         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
12211         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
12212         (movsf high/lo_sum split): Rework for new patterns.
12213         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
12215 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
12217         * c-common.c (c_common_nodes_and_builtins):
12218         Create __builtin_ptrdiff_t and __builtin_size_t.
12220 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
12222         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
12224 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12226         * regclass.c (globalize_reg): Re-instate test that allows
12227         fixed registers to be declared as a variable even after functions
12228         are defined.
12230 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12232         * i386.md (cpu attribute): Add "athlon".
12233         (athlon_decode): New attribute.
12234         (Athlon scheduling units definitions): New.
12235         (fcmp and shld patterns): Set athlon_decode to "vector".
12236         * i386.c (athlon_cost): New.
12237         (m_ATHLON): New.
12238         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
12239         x86_use_sahf): Set for Athlon.
12240         (x86_use_fiop): Unset for Athlon.
12241         (override_options): Define Athlon alignments and "athlon" name.
12242         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
12243         * i386.h (TARGET_ATHLON): New.
12244         (enum processor_type): Add PROCESSOR_ATHLON.
12245         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
12246         for CPU_DEFAULT==5
12247         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
12249 1999-12-09  Andreas Jaeger  <aj@suse.de>
12251         * loop.c (record_biv): Declare parameter as int.
12253         * config/i386/i386-protos.h: Declare long_memory_operand.
12255 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
12257         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
12258         EXPR_WITH_FILE_LOCATION.
12260 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
12262         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
12263         in expander.
12265         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
12267         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
12268         updating code.
12270 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
12272         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
12273         default on linux64 again.
12274         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
12275         models for multilibing.
12276         * genmultilib: Accept | as alternative separator within a set in
12277         MULTILIB_OPTIONS.
12279         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
12281         * calls.c (precompute_arguments): Make sure initial_value contains
12282         value pseudo which CSE expects.
12283         * cse.c (struct set): New entry orig_src.
12284         (cse_insn): Set it early on entry, use it for libcall EQUIV note
12285         replacement.
12287 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
12289         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
12291 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
12293         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
12295 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
12297         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
12298         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
12300         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
12301         if TARGET_ARCH32.
12303         * longlong.h: Merge in changes from glibc.
12304         Also don't clobber %g2 register in 32bit SPARC assembly, so that
12305         -mno-app-regs libgcc can be compiled.
12306         * libgcc2.c: Add defines so that the updated longlong.h
12307         can be used in libgcc2.a. Also, make sure on most architectures
12308         (at least on all which have optimized code in longlong.h defined
12309         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
12311 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12313         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
12314         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
12315         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
12316         is GNU ld.
12317         * configure: Rebuilt.
12319 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
12321         * alpha.c (secondary_reload_class): For !BWX, sub-simode
12322         outputs require a register.
12324 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
12326         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
12327         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
12328         functions like dptoul will be resolved.
12329         (libgcc2.a): Make sure that the object files from DPBIT are named
12330         differently (prefix `_dp') from those that would be coming from
12331         FPBIT.
12333 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
12335         * configure.in: When target is sparc* and tm_file contains 64,
12336         test for 64bit support in assembler.  If not supported, remove
12337         sparc/t-sol2-64 from target-dependent Makefile fragments.
12338         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
12339         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
12340         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
12341         * acconfig.h (AS_SPARC64_FLAG): Added.
12342         * configure, config.in: Rebuilt.
12343         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
12344         support.  Use AS_SPARC64_FLAG.
12346 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
12348         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
12349         suitable for holding OFmode values so that gcc works with complex
12350         quad long doubles.
12351         (hard_64bit_mode_classes): Likewise.
12353         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
12354         so that it is actually matched.
12355         (sethi_di_medlow): Likewise.
12357         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
12358         as legitimate constant if -mvis.
12359         * config/sparc/sparc.md (movtf): Likewise.
12360         (clear_sf): Use const_double_operand.
12361         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
12363         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
12364         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
12365         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
12366         routines, _Qp_* cannot be handled like that now.
12367         (INIT_TARGET_OPTABS): Likewise.
12368         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
12369         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
12370         sparc_emit_float_lib_cmp if ARCH64 and soft float.
12371         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
12372         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
12373         divtf3, sqrttf3): New expanders.
12374         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
12375         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
12376         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
12377         non-_hq patterns.
12379         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
12380         * configure: Rebuilt.
12381         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
12382         -mcpu is given and we're doing 64bit compiles.
12384 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
12386         * loop.h (struct induction): Add multi_insn_incr.
12387         * loop.c (basic_induction_var): New multi_insn_incr argument.
12388         Set it if we search back through previous insns for the biv.
12389         (record_biv): New multi_insn_incr argument; fill in struct induction.
12390         (strength_reduce): Discard an iv with multiple bivs, any of
12391         which require multiple insns to increment.
12393 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12395         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
12396         documentation.
12398 1999-12-06  David S. Miller  <davem@redhat.com>
12400         * combine.c (check_promoted_subreg): Do not conditionalize this upon
12401         PROMOTE_FUNCTION_RETURN.
12403 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
12405         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
12406         and handle REG_UNUSED note on insn.
12408         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
12409         inner_mask instead of mask.
12411 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
12413         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
12414         zero if there was an error.
12416 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
12418         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
12419         output string.
12421         * longlong.h: Fix clobbers in SPARC asm statements.
12423         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
12424         valid sethi operations when TARGET_ARCH64.
12426         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
12427         always use move_by_pieces to avoid infinite recursion.
12428         (restore_fixed_argument_area): Likewise.
12430         * combine.c (check_promoted_subreg, record_promoted_value): New
12431         functions.
12432         (combine_instructions): Use them to retain nonzero and sign bit
12433         information after SUBREGs are eliminated by optimizations in
12434         this pass if PROMOTE_FUNCTION_RETURN.
12436         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
12437         .register declaration. Don't use variables with __ prefixes.
12439 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12441         * fold-const.c (optimize_bit_field_compare): Only use one mode
12442         for both RHS and LHS in non-constant case.
12444 1999-12-06  Nathan Sidwell  <nathan@acm.org>
12446         * frame.c (start_fde_sort): Only allocate erratic array, if
12447         linear one was allocated. Return allocated flag.
12448         (fde_insert): Only insert, if there's a valid array.
12449         (fde_end_sort): Split, sort and merge if linear and erratic
12450         arrays exist, else just sort linear one.
12451         (search_fdes): New function. Linear search through original fde
12452         structure.
12453         (frame_init): Permit multiple initializations. Cope with
12454         memory shortages.
12455         (find_fde): Fallback on linear search, if failed to sort array.
12456         (__deregister_frame_info): Only free sorted array, if we
12457         allocated it.
12459 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
12461         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
12463 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
12465         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
12467 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
12469         * tree.h (special_function_p): Declare.
12470         * calls.c (special_function_p): Make it global.  Don't take `name'
12471         as a parameter.  Fix typo in 1999-11-28 change.
12472         (expand_cal): Adjust.
12474 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
12476         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
12477         * tree.h (EXPR_WFL_FILENAME): Define in terms of
12478         EXPR_WFL_FILENAME_NODE.
12479         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
12480         the TREE_CHAIN.
12481         * print-tree.c (print_note): Print TREE_PRIVATE and
12482         TREE_PROTECTED.
12484         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
12485         the original die cannot be found.
12487         * varray.h (varray_head_tag): Add elements_used.
12488         (VARRAY_PUSH): New macro.
12489         (VARRAY_POP): Likewise.
12490         (VARRAY_TOP): Likewise.
12491         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
12492         types.
12493         * varray.c (varray_init): Initialize elements_used.
12494         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
12495         (INTEGRATE_H): New variable.
12496         (integrate.o): Depend on INTEGRATE_H.
12497         (unroll.o): Likewise.
12499         * function.h (insert_block_after_note): Declare.
12500         * function.c (insert_block_after_note): Split out from ...
12501         (retrofit_block): ... here.
12503         * stmt.c (expand_fixup): Fix typo in comment.
12505 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12507         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
12508         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
12509         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
12510         (regmove_optimize, fixup_match_1): Likewise.
12512 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12514         * flow.c (flow_loops_dump): Add missing argument when calling
12515         flow_loop_nested_p.
12517 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
12518             Greg McGary  <gkm@gnu.org>
12520         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
12521         (init_attributes): Add A_NO_LIMIT_STACK.
12522         (decl_attributes): Handle A_NO_LIMIT_STACK.
12523         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
12524         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
12525         Handle stack bounds checking.
12526         * flags.h (flag_stack_check): Use the word 'probe' rather than
12527         'check', because the flag doesn't actually cause any checking to
12528         be done.
12529         * function.c (expand_function_start): Set
12530         current_function_limit_stack.
12531         * function.h (struct function): Add limit_stack.
12532         (current_function_limit_stack): Define.
12533         * invoke.texi (Code Gen Options): Document new options.
12534         * rtl.h: Declare stack_limit_rtx.
12535         * toplev.c (stack_limit_rtx): New variable.
12536         (decode_f_option): Handle new options -fstack-limit-register=REG,
12537         -fstack-limit-symbol=IDENT, -fno-stack-limit.
12538         (main): Add stack_limit_rtx as GC root.
12539         * tree.h (DECL_NO_LIMIT_STACK): New macro.
12540         (struct tree_decl): New member no_limit_stack.
12542         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
12543         stack_limit_rtx.
12544         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
12545         (conditional_trap+1): Get new mnemonic correct.
12546         (conditional_trap+2): New pattern for DImode traps.
12548         * config/m68k/m68k.c (output_function_prologue): Handle
12549         stack_limit_rtx.
12550         * config/m68k/m68k.md (trap): New insn.
12551         (conditional_trap): New insn.
12552         * md.texi (Standard Names): Document `trap' and
12553         `conditional_trap'.
12554         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
12555         so a cc0 setter doesn't get emitted at some random place in the
12556         function.
12558         * config/i960/i960.md (trap): New insn.
12559         (conditional_trap): New expander.
12560         (conditional_trap+1, conditional_trap+2): New insns for signed
12561         and unsigned cases.
12562         * config/i960/i960.c (i960_function_prologue): Use
12563         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
12565 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
12566                           Geoffrey Keating  <geoffk@cygnus.com>
12568         * flags.h (warn_padded, warn_packed): Add global var decls.
12569         * toplev.c (warn_padded, warn_packed): Add global var defns.
12570         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
12571         * stor-layout.c (layout_record): Add local variable `type'
12572         to hold often-used TREE_TYPE (field).  Add local variable
12573         `unpacked_align' to hold alignment that would be in force
12574         if no `packed' attribute were present.  Warn if `packed' attribute
12575         is unnecessary, or even harmful.  Warn when gcc inserts padding
12576         to satisfy alignment requirements of members.  Use NULL_TREE
12577         when checking whether var_size is set.
12578         * invoke.texi: Document new flags.
12580 1999-12-03  Nathan Sidwell  <nathan@acm.org>
12582         * frame.c (fde_split): Reimplement to avoid variable sized array.
12584 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12586         * combine.c (try_combine): Before fixing up LOG_LINKS for the
12587         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
12589 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
12591         * invoke.texi: Document the mips option -mno-crt0
12593 1999-12-02  Mike Karr  <mkarr@mathworks.com>
12595         * cccp.c (argdata): Added free_ptr member.
12596         (macroexpand): Initialize free_ptr of each argument. When an
12597         argument's buffers are freed, if the argument's free_ptr corresponds
12598         to a buffer on the input stack, then return the free_ptr to that stack
12599         frame, otherwise, free it.
12600         (macarg): If an argument begins and ends on the same input stack level,
12601         then transfer the free_ptr of that buffer to the argument in case
12602         the stack is popped during the processing of a subsequent argument.
12604 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
12606         * loop.c (note_reg_stored): New function.
12607         (struct note_reg_stored_arg): New structure.
12608         (try_copy_prop): Change to be more conservative; only replace within
12609         one extended basic block and stop replacing if a store to the
12610         replacement reg is seen.
12612 1999-12-02  Nick Clifton  <nickc@cygnus.com>
12614         * config/fp-bit.c: Initialise all fields of the NAN
12615         constants.
12617         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
12618         to HANDLE_PRAGMA.
12620 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
12622         * i386.md (extend?f?f2): Force the input into a register, not
12623         the output.
12625 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
12627         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
12628         regclass' sake.
12629         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
12630         alternative because setting up 64bit constant is usually costly,
12631         especially when reload is in progress or completed.
12632         (movdf_const_intreg_sp64): Likewise.
12633         (movdf_const_intreg split): Fix building up constants when
12634         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
12636 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
12638         * combine.c (if_then_else_cond): Use const_true_rtx instead of
12639         const1_rtx for return values in EQ/NE comparison against (const_int 0)
12640         case.
12642         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
12643         (asm_file_start): Emit .am33 into assembly file when compiling for
12644         the AM33.
12645         (print_operand_address): Handle POST_INC addresses.
12646         (can_use_return_insn, initial_offset): Check AM33 registers too.
12647         (expand_prologue): Check & save AM33 registers too.
12648         (expand_epilogue): Similarly.
12649         (secondary_reload_class): Handle AM33 specific secondary reloads.
12650         (output_tst): Emit efficient code for the AM33 too.
12651         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
12652         (TARGET_SWITCHES): Add -mam33 switch.
12653         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
12654         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
12655         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
12656         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
12657         (enum reg_class, REG_CLASS_NAMES): Likewise.
12658         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
12659         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
12660         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
12661         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
12662         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
12663         (HAVE_POST_INCREMENT): Define.
12664         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
12665         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
12666         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
12667         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
12668         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
12669         (zero_extend to SI from QI/HI): Likewise.
12670         (sign_extend to SI from QI/HI): Likewise.
12671         (mulsidi3, umulsidi3): New patterns for the AM33.
12672         (tstsi with zero extension from QI/HI): Add AM33 variants.
12673         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
12674         (return_internal_regs, store_movm): Handle new AM33 registers.
12675         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
12676         (LIBGCC, INSTALL_LIBGCC): Likewise.
12677         * invoke.texi: Document new flags.
12679 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12681         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
12682         (addsi3_carry): Likewise.
12683         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
12684         (sbbsi3_carry): Likewise.
12685         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
12686         (mulhi3): Likewise.
12687         (test?i_1): Ensure that only one operand is memory.
12688         (conditional move patterns): likewise.
12689         (shift and rotate patterns): Rewrite to expander, add
12690         "binary_operator_ok" to the condition.
12692         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
12693         * i386.h (procesor_costs): Add movzbl_load field.
12694         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
12695         non-Q registers, accept DImode registers anywhere.
12696         (Q_CLASS_P): New.
12697         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
12698         * i386.c (*_cost): Set value for movxbl_load field.
12700         * (addsi): New add to lea splitter.
12701         (ashlsi): Likewise.
12702         (lea to add/shift peep2): New.
12704 1999-12-01  Mark Salter <msalter@cygnus.com>
12706         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
12707         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
12708         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
12710 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12712         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
12713         * i386.md (movsi_xor): New.
12714         (movsi_or): New.
12715         (movsi_1, movhi_1, movqi_1): Remove.
12716         (movsi_2): Rename to movsi_1.
12717         (movhi_2): Rename to movhi_1.
12718         (movqi_2): Rename to movqi_1.
12719         (movdi_1): Remove; remove splitter.
12720         (movdi_2): Rename to movdi_1.
12721         (divmodsi4 splitter): Do not emit clobbers for move patterns.
12722         (long move peep2): Do not create QI or HI mode mov0s
12723         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
12725         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
12726         rewrite splitters.
12728         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
12729         (abs?f2_if): Likewise.
12731 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
12733         * ggc.h (ggc_test_and_set_mark): New macro.
12734         (ggc_mark_rtx): Use ggc_test_and_set_mark.
12735         (ggc_mark_tree): Likewise.
12736         (ggc_mark_rtvec): Likewise.
12737         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
12739 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
12741         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
12742         containing types.
12743         (decl_scope_table): Just an array of trees now.
12744         (push_decl_scope): Simplify.
12745         (dwarf2out_init): Adjust.
12746         (local_scope_p): New fn.
12747         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
12748         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
12749         (gen_typedef_die): Likewise.
12750         (gen_lexical_block_die): Don't call push/pop_decl_scope.
12751         (gen_inlined_subroutine_die): Likewise.
12752         (gen_abstract_function): Set current_function_decl temporarily.
12753         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
12754         Handle block extern declarations.  Don't call push/pop_decl_scope.
12755         (gen_decl_die): Fix logic for block externs.
12757 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12759         * calls.c (special_function_p): Remove `realloc' and add `strdup'
12760         to the list of functions which have attribute malloc by default.
12762 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12764         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
12765         integer constant does not match the traditional type, limit the
12766         warnings to cases where the base of the type is ten.
12768         * invoke.texi (-Wtraditional): Document it.
12770 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12772         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
12773         * rs6000.md: Only access a CONST_INT with INTVAL
12775 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
12777         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
12778         (compute_nearerout): Likewise.
12779         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
12780         size_t to unsigned long for formatting.
12782 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12784         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
12785         Allow the user to override call-used/fixed state of %g2-5
12786         registers from the command line (with the exception of %g4 for
12787         embedded model).
12788         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
12789         there is a higher chance of having a leaf function.
12790         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
12791         for ARCH64 which has %ccr register.
12792         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
12793         patterns.
12794         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
12795         insn accept into delay slot any insn which does not use %[ol]
12796         registers.  Accept some LO_SUM and shift left by 1 for the normal
12797         restore case.
12798         (output_function_epilogue): Likewise.
12799         (epilogue_renumber): Added argument which inhibits any renumbering
12800         and just tests if the rtx does not use any %[ol] registers.
12801         (output_return): Reflect above change.
12803 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
12805         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
12806         aggregate passing for sizes <= 16 bytes.
12808 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
12810         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
12811         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
12812         * reload.c (find_dummy_reload): Likewise.
12813         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
12814         * reload1.c (reload_as_needed): Likewise.
12815         * stupid.c (stupid_find_reg): Likewise.
12816         * tm.texi (Obsolete Register Macros): Delete section.
12817         * gmicro.h: Remove all traces of the two macros.
12818         * i386.h: Likewise.
12819         * m88k.h: Likewise.
12820         * mips.h: Likewise.
12822 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
12824         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
12825         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
12826         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
12827         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
12828         units for the sparclite86x chip.
12829         (flush): Revert October 14th change; add SImode specifically.
12830         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
12831         * invoke.texi: Document it.
12833 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
12835         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
12836         psimode_truncation_operand.
12838         * config/mn10200/mn10200.c (psimode_truncation_operand): New
12839         function.  Return true if the operand is either a MEM valid
12840         for a PSImode address or not a MEM at all.
12842         * config/mn10200/mn10200.md (truncsipsi2): Use
12843         psimode_truncation_operand.
12845 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12847         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
12848         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
12849         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
12850         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
12851         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
12852         (flow_loop_level_compute, low_loops_level_compute): Likewise.
12853         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
12854         * basic-block.h: Protect from multiple inclusion.
12855         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
12856         (struct loops, struct loop): Define structures.
12857         * sbitmap.c (sbitmap_a_subset_b_p): New function.
12858         * sbitmap.h: Protect from multiple inclusion.
12859         (sbitmap_a_subset_b_p): Add prototype.
12860         * Makefile.in (LOOP_H): New macro.
12861         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
12863 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
12865         * cppinit.c (CAT): The argument list of this macro may not contain
12866         spaces !
12868 1999-11-29  David S. Miller  <davem@redhat.com>
12870         Move quantity tables and register equivalence chains into
12871         per-qty and per-register structure arrays respectively.
12872         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
12873         qty_const_insn, qty_comparison_code, qty_comparison_const,
12874         qty_comparison_qty): Delete, replace with...
12875         (qty_table): this structure table.
12876         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
12877         (reg_eqv_table): this structure table.
12878         (make_new_qty): Add argument MODE.  Caller updated.
12879         Update to use qty_table and reg_eqv_table.
12880         (make_regs_eqv, delete_reg_equiv, insert_regs,
12881         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
12882         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
12883         cse_process_notes, cse_main, cse_basic_block): Likewise.
12885 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12887         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
12888         operation if C is negative.
12889         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
12890         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
12891         law for some divisions if constant is negative and change other
12892         divisions to the opposite rounding.
12894         * expr.c (store_constructor_field): If bit position is not multiple
12895         of alignment of TARGET's mode, use BLKmode.
12897         * expr.c (expand_expr_unaligned): Add more code from full case
12898         that is needed when OP0 is in a register.
12900 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12902         * dwarfout.c (field_byte_offset): Size can be zero if there was
12903         an error.
12905 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12907         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
12908         (associate_trees): Delete unused var TEM.
12909         (extract_muldiv): Delete unused var CANCEL_P.
12911         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
12912         (target_isinf, target_isnan, target_negative): Add return types to
12913         function definitions.
12915 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
12917         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12918         * fixinc/hackshell.tpl: ditto
12919         * fixinc/fixtests.c(double_slash_test): more C++ header testing
12920         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12922 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12924         * reload.c (push_reload): When looking for a register to put into
12925         reg_rtx, make sure all hard regs in a multi-reg register are in the
12926         right class and nonfixed.
12928         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12929         pending_read_insns, pending_write_insns, pending_read_mems,
12930         pending_write_mems, pending_list_length, last_pending_memory_flush,
12931         last_function_call, sched_before_next_call): Move static variables
12932         into a structure.
12933         (bb_ prefixed versions): Replace with single array bb_deps.
12934         (struct deps): New structure.
12935         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12936         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12937         argument of type "struct deps *"; use that instead of global
12938         variables.  All callers changed.
12939         (init_rgn_data_dependencies): Delete function.
12940         (init_rtx_vector): Delete function.
12941         (init_deps): New function.
12943         (free_pending_lists): Simplify, we always use the bb_deps array even
12944         if only one basic block.
12945         (compute_block_backward_dependences): Likewise.
12946         (schedule_region): Likewise.
12948         (propagate_deps): New function, broken out of
12949         compute_block_backward_dependences.
12950         (compute_block_backward_dependences): Use it.
12952         * alpha.md: Delete useless patterns that tried to work around
12953         register elimination problems.
12955         * unroll.c (loop_iterations): Don't abort if iteration variable
12956         was made by loop.
12958         From Joern Rennecke:
12959         * reload1.c (reloads_conflict): Reverse test comparing operand
12960         numbers when testing for conflict between output/outaddr reloads.
12962 1999-11-29  David S. Miller  <davem@redhat.com>
12964         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12965         arg.
12966         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12968 1999-11-28  Robert Lipe  <robertl@cygnus.com>
12970         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12971         table from .fini into .dtor.
12973 1999-11-28  Anthony Green  <green@cygnus.com>
12975         * tree.h (struct tree_decl): Add malloc_flag.
12976         (DECL_IS_MALLOC): Define.
12977         * c-common.c (attrs): Add A_MALLOC attribute.
12978         (init_attributes): Add this attribute to the table.
12979         (decl_attributes): Handle malloc attribute.
12980         * calls.c (special_function_p): Check for the malloc attribute.
12981         * extend.texi (Function Attributes): Document malloc attribute.
12983 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
12985         * pa.md (reload shift-add patterns): Remove.
12987 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12989         * reorg.c (dbr_schedule) Print more statistics. Corrected
12990         problem when printing info when 3 delay slots are filled.
12992 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
12994         * combine.c (setup_incoming_promotions): Pass an outgoing
12995         regno to FUNCTION_ARG_REGNO_P which it expects.
12997 1999-11-28  Andreas Jaeger  <aj@suse.de>
12999         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
13001 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
13003         * cccp.c (do_include): Avoid initialization of automatic variable.
13005         * integrate.c (mark_stores): Function definition made void, to match
13006         previous declaration.
13007         * regclass.c (dump_regclass): Ditto.
13008         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
13010 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13012         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
13013         known to be multiple of divisor.
13015         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
13017         * combine.c (try_combine): Add code to try to merge a set of a
13018         two-word pseudo to a constant with a setting of one of those words
13019         to a constant.
13021         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
13022         (split_tree): Completely rework to make more general.
13023         (make_range, fold): Call negate_expr.
13024         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
13025         (fold, associate): Call new split_tree and associate_trees.
13026         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
13028 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
13030         * loop.c (try_copy_prop): Avoid GNU C extension.
13032 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
13034         * except.c (init_eh_for_function): Still zero eh_return_context,
13035         eh_return_stack_adjust, and eh_return_handler.
13037         * except.h (eh_status): Adjust documentation for x_protect_list.
13038         (begin_protect_partials): New function.
13039         * except.c (enqueue_eh_entry): Fix formatting.
13040         (get_first_handler): Add consistency check.
13041         (add_partial_entry): Adjust usage of protect_list.
13042         (emit_cleanup_handler): Save and restore ehqueue.
13043         (expand_start_all_catch): Add comment.
13044         (begin_protect_partials): New function.
13045         (end_protect_partials): Adjust usage of protect_list.
13046         (init_eh_for_function): Use xcalloc.
13048 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13050         * c-common.c (check_format_info): Don't call a variadic function
13051         with a non-literal format string.
13053         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
13055         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
13056         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
13057         Likewise.
13059         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
13060         Likewise.
13062         * collect2.c (collect_wait): Likewise.
13064         * dbxout.c (dbxout_type): Likewise.
13066         * gcc.c (do_spec_1): Likewise.
13068         * genemit.c (gen_insn, gen_expand): Likewise.
13070         * genrecog.c (write_switch, write_subroutine): Likewise.
13072         * mips-tfile.c (catch_signal, botch): Likewise.
13074         * print-rtl.c (print_rtx): Likewise.
13076         * toplev.c (default_print_error_function, report_error_function,
13077         _fatal_insn): Likewise.
13079 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
13081         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
13083 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13085         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
13086         operations when needed.
13087         * i386.md (fop_?f_comm): New.
13088         (fop_?f_1): Do not accept commutative operands.
13090 1999-11-25  Andreas Jaeger  <aj@suse.de>
13092         * config/mips/mips.md (casesi_internal): Add missing brace.
13094 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
13096         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
13097         (splice_child_die): Handle moving a child DIE from the declaration
13098         DIE of a class to its specification.
13099         (gen_struct_or_union_type_die): Use 'complete' consistently.
13100         (gen_decl_die): Generate the virtual context DIE first.
13101         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
13103 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
13105         * config/mips/mips.md (call_value_multiple_interanal1): New.
13107 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
13109         * dwarf2out.c (free_AT, free_die): New fns.
13110         (remove_children): Call them.
13111         (output_line_info): Disable removal of duplicate notes.
13113         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
13114         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
13115         means pretend the type isn't defined.
13116         Don't defer emitting types.
13117         (gen_type_die_for_member): New fn.
13118         (gen_decl_die): Call it.
13119         (splice_child_die): New fn.
13120         (gen_member_die): Call it rather than generate duplicate dies.
13122         Defer emitting information for the abstract instance of an inline
13123         until we either inline it or emit an out-of-line copy.
13124         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
13125         from output_inline_function if DECL_ABSTRACT is also set.
13126         (block_ultimate_origin): Likewise.
13127         (gen_abstract_function): New fn.
13128         (gen_decl_die, gen_inlined_subroutine_die): Call it.
13129         (gen_subprogram_die):  An abstract instance is not a declaration
13130         just because it doesn't match current_function_decl.  Don't abort
13131         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
13132         has an abstract origin.
13133         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
13134         abstract instance here.
13136 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
13138         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
13139         where we need to reload fpul from a system register.
13141 1999-11-24  Andreas Jaeger  <aj@suse.de>
13143         * config/mips/linux.h (CPP_PREDEFINES): Added.
13144         (LINK_SPEC): Remove -Y since this is only needed on sparc.
13146 1999-11-24  Andreas Jaeger  <aj@suse.de>
13148         * config/mips/linux.h (TARGET_VERSION): Added.
13149         (HANDLE_SYSV_PRAGMA): Added.
13150         (DEFAULT_VTABLE_THUNKS): Added.
13152 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13154         * local-alloc.c (qty): New structure and static variable.
13155         (qty_phys_reg): Remove, all references changed to qty.
13156         (qty_n_refs): Likewise.
13157         (qty_min_class): Likewise.
13158         (qty_birth): Likewise.
13159         (qty_death): Likewise.
13160         (qty_size): Likewise.
13161         (qty_mode): Likewise.
13162         (qty_n_calls_crossed): Likewise.
13163         (qty_alternate_class): Likewise.
13164         (qty_changes_size): Likewise.
13165         (qty_first_reg): Likewise.
13166         (alloc_qty): Rename variable QTY to QTYNO.
13167         (finf_free_reg): Likewise.
13168         (local_alloc): Allocate qty, do not allocate the removed variables.
13170 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
13172         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
13173         when -membedded-pic is passed.
13175         * config/mips/mips.md (casesi): Handle 64-bit case too.
13176         (casesi_internal_di): New insn.
13178         * config/mips/mips.c (embedded_pic_offset): Always make the
13179         embedded-pic subtractions relative to the name of the current
13180         function by use of the magic string "..CURRENT_FUNCTION".
13181         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
13183 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
13185         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
13186         of (const_int 0), when what we really care about is
13187         whether it's a zero constant anyway.
13188         (div_trap_mips16): Likewise.
13190 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
13192         * loop.c (loop_optimize): Always find_loop_tree_blocks and
13193         unroll_block_trees when generating debuggable code.
13195         * tree.h (unsave_expr_1): New function.
13196         (lang_unsave): New variable.
13197         (get_callee_fndecl): New function.
13198         * tree.c (unsave_expr_now_r): New function.
13199         (lang_unsave): Define.
13200         (unsave_expr_1): Likewise.
13201         (unsave_expr_now_r): Split out from unsave_expr_now.
13202         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
13203         call unsave_expr_now_r.
13204         (get_callee_fndecl): Define.
13206         * Makefile.in (gencheck): Don't depend on lang_tree_files.
13207         (gencheck.o): Do depend on lang_tree_files.
13209         * integrate.h (copy_decl_for_inlining): New declaration.
13210         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
13211         (copy_decl_for_inlining): New function.
13212         (integrate_parm_decls): Use it.
13213         (integrate_decl_tree): Likewise.
13215 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
13217         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
13218         the second two from the first.
13219         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
13220         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
13221         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
13222         ISA_HAS_FP4.
13223         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
13224         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
13225         ISA_HAS_FP4.
13227 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
13229         * pa.md (call_internal_symref, call_value_internal_symref): No mode
13230         needed on the address operand.
13231         * pa.c (call_operand_address): Check for the correct mode.
13233 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
13235         * loop.c: Include "basic-block.h".
13236         (try_copy_prop, replace_loop_reg): New functions.
13237         (load_mems): Detect registers that just hold copies of the hoisted
13238         mem, and call try_copy_prop to eliminate them.
13239         * Makefile.in (loop.o): Update dependencies.
13241 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
13243         * Makefile.in (gencheck.o): Depend on gencheck.h.
13244         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
13245         (insn-peep.o): Depend on except.h and function.h.
13246         (insn-attrtab.o): Depend on RECOG_H.
13247         (insn-output.o): Depend on toplev.h and flags.h.
13248         (gengenrtl.o): Depend on real.h.
13249         (gen-protos.o): Depend on cpplib.h and cpphash.h.
13250         Unify all dependencies to be on RECOG_H rather than recog.h.
13252 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13254         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
13255         * configure.in: Try building a bi-arch 32/64-bit compiler on
13256         sparc-*-solaris2.7 and higher.
13257         * configure: Rebuild.
13259 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
13261         * config/freebsd.h: New, FreeBSD architecture independent file.
13262         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
13263         independent pieces.
13264         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
13265         directly by i386/freebsd.h.
13266         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
13267         independent configuration file.
13268         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
13269         directly by i386/freebsd.h.
13270         * configure: Rebuilt.
13272         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
13273         which is in the user's namespace.
13274         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
13275         `i386' which is not in our namespace.
13277 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
13279         * invoke.texi (ARM Options): Add in -mno-alignment-traps
13281 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
13283         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
13284         (add_dwarf_attr, add_child_die): Just push onto the front.
13285         (reverse_die_lists): New fn.
13286         (add_sibling_attributes): Use it.
13287         (push_decl_scope): Reorganize.
13288         (add_name_and_src_coords_attributes): Don't set file and line for
13289         an artificial decl.
13290         (gen_subprogram_die): An artificial function doesn't need to match
13291         file and line.
13292         (gen_compile_unit_die): Return the generated die.  Only add
13293         AT_comp_dir if the filename is relative.
13294         (remove_AT): Simplify loop.  Also free string values.
13295         (output_die): A DIE ref can't be null.
13296         (output_value_format, value_format): Take a dw_attr_ref.
13297         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
13298         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
13299         AT_addr, AT_lbl): New fns.
13300         (various): Use them.
13301         (various): Constify.
13303 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13305         * combine.c (combine_simplify_rtx): When handling a SUBREG,
13306         take SUBREG_WORD into account.
13307         (if_then_else_cond): Likewise.
13309 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
13311         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
13312         clause from BSD license, pursuant with
13314           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
13316 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
13318         * loop.c (load_mems): Reformat slightly.
13319         * basic-block.h (regset_head): New typedef.
13320         (INIT_REG_SET): New macro.
13322 1999-11-22  Bruce Korb  <autogen@linuxbox.com
13324         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
13325         (mips-dec-bsd*): non-functional code
13326         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
13328         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
13329         added three replacement fixes
13330         (no_double_slash): removed comments that are not (any longer) pertinent
13331         (bad_lval): this fix currently runs against many files.
13332         The comment seems to indicate that we should select for files
13333         containing 'pragma extern_prefix'.
13335         * fixinc/fixinc.x86-linux-gnu: deleted
13336         * fixinc/inclhack.sh:  regen
13337         * fixinc/fixincl.x:  regen
13338         * fixinc/fixincl.sh:  regen
13340 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
13342         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
13343         its code is INSN and it has no notes.
13345 1999-11-22  Andrew Haley  <aph@cygnus.com>
13347         * varasm.c (function_defined): Remove.
13348         (make_function_rtl): Don't set function_defined.
13349         (make_decl_rtl): Remove global register warning.
13350         * regclass.c (no_global_reg_vars): New variable.
13351         (globalize_reg): Warn if function has already been defined.
13352         (regclass_init): Set no_global_reg_vars.
13354 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13356         * regclass.c (reg_pref): New structure and static variable
13357         (prefclass): Delete.
13358         (altclass): Delete.
13359         (all uses of prefclass and altclass): Use reg_pref instead.
13361 1999-11-21  Nick Clifton  <nickc@cygnus.com>
13363         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
13364         -malignment-traps.
13365         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
13366         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
13367         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
13369 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
13371         * varasm.c (output_constructor): Solve problem with long long
13372         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
13374 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13376         * global.c (allocno): New structure and static variable.
13377         (allocno_reg): Remove, all references replaced by allocno.
13378         (allocno_size): Likewise.
13379         (hard_reg_conflicts): Likewise.
13380         (hard_reg_preferences): Likewise.
13381         (hard_reg_copy_preferences): Likewise.
13382         (hard_reg_full_preferences): Likewise.
13383         (regs_someone_prefers): Likewise.
13384         (allocno_calls_crossed): Likewise.
13385         (allocno_n_refs): Likewise.
13386         (allocno_live_length): Likewise.
13387         (find_reg): Rename ALLOCNO to NUM.
13389         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
13390         references updated.
13391         (may_move_out_cost): New variable.
13392         (init_reg_sets_1): Initialize may_move_out_cost.
13393         (record_reg_classes): Use may_move_out_cost.
13395         * regclass.c (dump_regclass): New function.
13396         (regclass): New parameter DUMP, call DUMP_REGCLASS.
13397         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
13398         pass rtl_dump_file to regclass.
13399         * rtl.h (regclass): Update prototype.
13401 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13403         * i386.md (neg, not and abs patterns): Revmap to use
13404         ix86_expand_unary_operator and ix86_unary_operator_ok.
13405         (add?f and sub?f expanders): Force operand 1 to register.
13406         * i386.c (ix86_expand_unary_operator): Rewrite.
13407         (ix86_unary_operator_ok): Ensure that memory operands
13408         match real opcode.
13409         (ix86_binary_operator_ok): Do not allow operand 1 to
13410         come into memory and operand 0 not.
13411         (ix86_expand_binary_operator): Ensure that
13412         src1 is not non-matching memory.
13414         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
13415         to support integer registers and memory.
13416         (abss?2_integer): Likewise.
13418         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
13419         (REG_CLASS_NAMES): Likewise.
13420         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
13421         and GENERAL_REGS.
13422         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
13423         (movsf): Likewise; unify 4th and 5th alternative.
13424         (pushdf): Likewise.
13425         (movdf_1): Likewise; rename to movdf_integer.
13426         (pushxf): Likewise; rename to pushxf_integer; fix output template;
13427         remove redundant splitter.
13428         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
13429         (movdf_nointeger): New.
13430         (movxf_nointeger): New.
13431         (pushxf_nointeger): New.
13433         * i386.md (extend?f?f): Split to expander and pattern, refuse two
13434         memory operands in patterns.
13435         (fop*): Refuse two memory operands.
13437         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
13438         on !TARGET_USE_CLTD CPUs.
13440 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
13442         * extend.texi: Document C++ restricted pointers and references.
13444 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
13446         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
13447         (invalidate_skipped_set): Call it unconditionally.
13448         (cse_set_around_loop): Likewise.
13450 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
13452         * rtl.texi (mem): Add documentation for alias-set argument
13453         to RTX `mem'.
13455 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13457         * i386.h (struct_processor_costs): New fields int_load, int_store,
13458         fp_move, fp_load and fp_store
13459         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
13460         fp->int moves
13461         (MEMORY_MOVE_COST): New macro.
13462         * i386.c (386_cost): Define new fields.
13463         (i486_cost): Likewise.
13464         (pentium_cost): Likewise.
13465         (pentiumpro_cost): Likewise.
13466         (k6_cost): Likewise.
13468 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
13469                           Geoffrey Keating  <geoffk@cygnus.com>
13471         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
13473         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
13474         MASK_ALIGN_INT.
13476         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
13477         (TARGET_STRICT_ALIGNMENT): New macro.
13478         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
13479         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
13480         * invoke.texi (M680x0 Options): Document -mstrict-align.
13482 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
13483                           Richard Henderson  <rth@cygnus.com>
13485         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
13486         (ix86_split_long_move): Declare.
13487         * i386.c (split_xf, ix86_split_movdi): Remove.
13488         (ix86_split_to_parts, ix86_split_long_move): New.
13489         * i386.md (dimode move splitters): Use ix86_split_long_move.
13490         (dfmode move splitters): Likewise.
13491         (xfmode move splitters): Likewise.
13492         (movsf_1): Allow F->r.
13493         (movdf_1, movxf_1): Allow F->ro.
13495 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
13497         * except.h (struct eh_entry): Add goto_entry_p.
13498         (eh_region_from_symbol): Remove prototype.
13499         * except.c (find_func_region_from_symbol): New function.
13500         (emit_cleanup_handler): Likewise.
13501         (eh_region_from_symbol): Make it static.
13502         (add_new_handler): Verify the argument.
13503         (find_func_region): Update comment.
13504         (expand_eh_region_end): Expand handlers here, rater than waiting
13505         until expand_leftover_cleanups or start_all_catch.
13506         (expand_leftover_cleanups): Don't expand here.
13507         (expand_start_all_catch): Or here.
13508         (expand_rethrow): Check the return value from find_func_region.
13509         * function.c (expand_function_end): Emit the catch_clauses.
13511 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
13513         * integrate.c (expand_inline_function): Add necessary check for NULL.
13515 1999-11-18  Nick Clifton  <nickc@cygnus.com>
13517         * toplev.c (main): Correctly detect an unrecognised option.
13519         * cppinit.c (cpp_handle_option): Do not claim to have consumed
13520         a -f option if it has not been recognised.
13522 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
13524         * basic-block.h (update_life_extent): Remove trailing comma on
13525         enumeration type list.
13527 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13529         * varasm.c (output_constructor) Solved problem with long long
13530         bitfields. Corrected calculating this_time and shift. Also
13531         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
13533 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
13535         * flow.c (split_edge): Take looping structure into account when
13536         determining where to put the new block note.
13538 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
13540         * Makefile.in (ggc-none.o): Provide host specific version if
13541         needed.
13543 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
13545         * cse.c (delete_trivially_dead_insns): Identify no-op insns
13546         containing subregs too.
13548 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
13550         * invoke.texi: Add documentation for -muninit-const-in-rodata.
13551         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
13552         (TARGET_UNINIT_CONST_IN_RODATA): Define.
13553         (text_section): Add switches -munint-const-in-rodata and
13554         -mno-uninit-const-in-rodata.
13555         (ASM_OUTPUT_COMMON): Remove.
13556         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
13557         const objects should be placed in read-only data. Otherwise declare
13558         them in common.
13560 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
13562         * jump.c (jump_optimize_1): Revert last change.
13564 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
13566         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
13567         test if optimizing for size.
13569 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
13571         * Makefile.in (toplev.o): Depend on except.h.
13572         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
13574 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13576         * i386.md (divmodsi4): Rewrite to expander.
13577         (*divmodsi4_nocltd): New.
13578         (*divmodsi4_cltd): New.
13579         (divmodsi4 splitter): Handle the case when input comes in edx.
13580         (udivmodhi4): Do not use constraints in exander.
13581         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
13583 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
13585         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
13586         for the common case.
13588 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
13590         * explow.c (hard_function_value): Add outgoing argument.
13591         * expr.h (hard_function_value): Declare it.
13592         * calls.c (expand_call, emit_library_call_value): Update callers.
13593         * function.c (aggregate_value_p): Ditto.
13594         (diddle_return_value): Must look at the outgoing registers
13595         on archs with register windows.
13597 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
13599         * alpha.c (alpha_build_va_list): Use make_lang_type and
13600         initialize TYPE_NAME for the va_list record.
13602         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
13604         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
13605         for printing.
13606         * ggc.h (struct ggc_statistics): Rearrange elements for better
13607         packing on 64-bit hosts.
13608         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
13609         (compute_nearerout): Likewise.
13611 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
13613         * config/rs6000/rs6000.c (first_reg_to_save): Save
13614         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
13616 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
13618         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
13619         notion of nesting to find the DIE for a type or function.
13620         DIEs can go in limbo even if we got a context_die.
13621         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
13622         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
13623         for local type.
13624         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
13625         (gen_type_die): Writing out the context doesn't cause member class
13626         template instantiations to be written out as well.
13628 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
13630         * rs6000.h (ASM_OUTPUT_DEF): New.
13631         Based on proposed addition from David Edelsohn.
13633 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
13634             Bruce Korb  <autogen@linuxbox.com>
13636         * fixinc/inclhack.def
13637         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
13638         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
13639                 in net/inet.h.
13640         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
13641         (svr4_endian): enabled with SVR5
13642         (svr4_mkdev): simplified syntax and enabled with SVR5
13644 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
13646         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
13647         * configure: Rebuilt.
13648         * config/t-freebsd-thread: New file.
13650 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
13652         * i386.c (ix86_decompose_address): Verify the base is a REG
13653         before trying to examine its register number.
13655         * basic-block.h: Remove all #defines and prototypes related to
13656         integer lists.
13657         (free_bb_mem, compute_preds_succs): Remove prototype.
13658         * rtl.h (free_bb_mem): Remove prototype.
13659         * flow.c (alloc_int_list_node); Remove function.
13660         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
13661         (compute_preds_succs, free_bb_mem): Likewise.
13662         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
13663         * toplev.c (rest_of_compilation): Likewise.
13664         * haifa-sched.c (build_control_flow): Use flow generated edge
13665         list to build the haifa specific edge list.
13666         (find_rgns): Use new CFG data structures instead of pred/succ lists.
13667         (schedule_insns): Do not build pred/succ lists anymore.  Instead
13668         build the edge table.
13670         * basic-block.h (dump_bb_data): Remove declaration.
13671         * flow.c (dump_bb_data): Remove function.
13672         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
13673         (sbitmap_union_of_predsucc): Likewise.
13675         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
13676         argument.  All callers changed.
13677         (delete_null_pointer_checks_1): No longer need to compute the
13678         pred/succ lists.
13680         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
13681         All callers changed.
13682         (pre_expr_reaches_here_p_work): Likewise.
13683         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
13684         * lcm.c (compute_laterin): Fix initialization of LATER.
13685         (compute_nearerout): Similarly for NEARER.
13687 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13689         * cse.c (set_nonvarying_address_components): Delete unused function.
13690         (refers_to_p): Likewise.
13692 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
13694         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
13695         needed.
13697 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13699         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
13700         definition in do while (0).
13702 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
13704         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
13706 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
13708         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
13710 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
13712         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
13713         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
13714         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
13715         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
13717         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
13718         saved on the stack.  Output more accurate stack frame statistics
13719         into assembler file.
13721 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
13723         * genextract.c (record_insn_name): New function.
13724         (get_insn_name): No longer a stub.
13725         (main): Call record_insn_name for each insn.  After each label
13726         written, print the insn name in a comment.
13728 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13730         * output.h (const_section, init_section, fini_section): Add
13731         prototypes.
13733         * alpha/elf.h (const_section): Delete declaration.
13735         * svr4.h (const_section): Likewise.
13737 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
13739         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
13740         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
13741         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
13742         expressions.
13743         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
13744         variable-sized array bounds.
13746 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
13748         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
13749         ASM_OUTPUT_LABEL.
13751 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13753         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
13754         addresses the same way GO_IF_LEGITIMATE_INDEX does.
13756 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13758         * cse.c (hash_arg_in_struct): Delete.
13759         (struct table_elt): Delete elt in_struct.
13760         (struct set): Delete elt src_in_struct.
13761         (merge_equiv_classes): Don't set either hash_arg_in_struct or
13762         the corresponding in_struct elts.
13763         (canon_hash): Likewise.
13764         (safe_hash): Likewise.
13765         (find_best_addr): Likewise.
13766         (record_jump_cond): Likewise.
13767         (cse_insn): Likewise.
13769 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
13771         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
13773         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
13774         unsigned types.
13776 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
13778         * function.c (diddle_return_value): Put back check that the DECL_RTL
13779         for the function is a register.
13781         * function.c (diddle_return_value): Use hard_function_value to
13782         get an rtx suitable for use in the USE/CLOBBER insn.
13784         * global.c (global_conflicts): Update comments.
13785         (record_conflicts): No need to record conflicts between pseudos here.
13787 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
13789         * fixinc/fixincl.c: Added verbose levels for status messages
13791 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13793         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
13794         operand as argument to expand_and or expand_binop.
13796 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
13798         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
13799         gcc_add_string_root.
13801 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
13803         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
13805 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
13807         * flow.c (compute_flow_dominators): Initially put all blocks on
13808         the worklist.
13809         * lcm.c (compute_antinout_edge, compute_available): Similarly.
13810         * gcse.c (compute_cprop_avinout): Remove.
13811         (compute_cprop_data): Use compute_available.
13812         (delete_null_pointer_checks_1): Use compute_available.
13814         * basic-block.h (compute_available): Returns a void now.
13815         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
13816         to return a value anymore.
13817         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
13818         worklists.  Fix boundary cases. Compute maximal solutions.
13819         (compute_laterin, compute_nearerout): Similarly.
13821         * dwarf2out.c (add_AT_location_description): Allow
13822         (mem (plus (pseudo) (...)) too.
13824 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
13826         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
13828 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
13829                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13831         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
13833         * gansidecl.h: Likewise.
13835         * rtl.c: Likewise.
13837         * rtl.h: Likewise.
13839         * toplev.h: Likewise.
13841         * tree.c: Likewise.
13843         * tree.h: Likewise.
13845         * varray.c: Likewise.
13847         * varray.h: Likewise.
13849 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
13851         * gcov.c (struct arcdata): Add hits and total, remove prob.
13852         (output_branch_counts): New.
13853         (process_args): Set output_branch_counts if -c.
13854         (calculate_branch_probs): Store hits and total instead of
13855         percentage.
13856         (output_data): Emit counts if output_branch_counts is true.
13857         * gcov.texi (Invoking Gcov): Document -c switch..
13859 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
13861         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
13862         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
13864 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
13866         * invoke.texi (C Dialect Options): Add missing builtins from
13867         c-common.c to list.
13868         * extend.texi (Other Builtins): Copy to this list.
13870 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13872         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
13873         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
13874         redundant bitmap.h.
13876 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
13878         * flow.c (compute_flow_dominators): No longer treat basic block 0
13879         or (n_basic_blocks - 1) specially.  Clear the AUX field before
13880         starting computation of doms/pdoms.  Fix initial state for pdoms.
13882 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13884         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
13885         match rtl.o's: added ggc.h and toplev.h
13886         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
13887         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
13888         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
13890 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
13892         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
13893         from HAVE_DOS_BASED_FILESYSTEM.
13894         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
13895         HAVE_DOS_BASED_FILESYSTEM.
13896         (main): Likewise.
13897         (split_directories): Only special-case DOS file names if
13898         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
13899         instead of explicit tests.  Conditionalize on !VMS.
13900         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
13901         tests.  Conditionalize on !VMS.
13902         (process_command): Only use make_relative_prefix if !VMS.
13903         (free_split_directories): Conditionalize on !VMS.
13904         (DIR_UP): Conditionalize on !VMS.
13906 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13908         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
13910 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13912         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13913         case.
13915 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
13917         * invoke.texi (Environment Variables): Document relative path
13918         lookup.
13919         * gcc.c (DIR_UP): If not defined, define as "..".
13920         (standard_bindir_prefix): New static, holds target location to
13921         install binaries.
13922         (split_directories): New function to split a filename into
13923         component directories.
13924         (free_split_directories): New function, release memory allocated
13925         by split_directories.
13926         (make_relative_prefix): New function, make a relative pathname if
13927         the compiler is not in the expected location.
13928         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13929         can figure out an appropriate prefix from argv[0].
13930         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13931         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
13932         STANDARD_BINDIR_PREFIX.
13934 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13936         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
13937         in c4x.c.
13938         * config/c4x/c4x.h: Moved prototypes to c4x.h.
13939         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13940         c4x_secondary_memory_needed) Delete.
13941         (fp_zero_operand): Add mode argument.
13943 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
13945         * reload1.c (reload_reg_free_for_value_p): Don't use a register
13946         that is in reload_reg_used.
13948 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
13950         * config/arm/arm-protos.h: New file: Prototypes for functions
13951         defined in arm.c and pe.c.
13952         * config/arm/arm.h: Fix compile time warnings.
13953         * config/arm/arm.c: Fix compile time warnings.
13954         * config/arm/pe.h: Fix compile time warnings.
13955         * config/arm/aout.h: Fix compile time warnings.
13957 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
13959         * config/m32r/m32r-protos.h: New file: Prototypes for functions
13960         defined in m32r.c
13962         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13963         Add support for subtargets.
13964         Add prototypes for new predicates.
13965         Add scheduling macros.
13967         * config/m32r/m32r.c: Fix compile time warnings.
13968         (int8_operand): New predicate function.
13969         (reg_or_cmp_int16_operand): New predicate function.
13970         (extend_operand): New predicate function.
13971         (m32r_adjust_code): New scheduling function.
13972         (m32r_adjust_priorty): New scheduling function.
13973         (m32r_sched_init): New scheduling function.
13974         (m32r_sched_reorder): New scheduling function.
13975         (m32r_sched_variable_issue): New scheduling function.
13976         (direct_return): New codegen function.
13977         (m32r_not_same_reg): New rtl testsing function.
13979         * config/m32r/m32r.md: Fix compile time warnings.
13980         Add support for pre decrement and post increment memory
13981         references.
13982         Add S<cc> patterns.
13983         Add fabs patterns.
13985 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13987         * global.c (EXECUTE_IF_CONFLICT): Don't define.
13988         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13989         (find_reg): Likewise.
13991 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
13993         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13994         to avoid assembler errors.
13996 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
13998         * config/v850/v850-protos.h: New file: Prototypes for functions
13999         defined in v850.c
14000         * config/v850/v850.h: Move prototypes to v850-protos.h
14001         * config/v850/v850.c: Move prototypes to v850-protos.h
14002         * config/v850/v850.md: Fix compile time warnings.
14004         * config/fr30/fr30-protos.h: New file: Prototypes for functions
14005         defined in fr30.c
14006         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
14007         * config/fr30/fr30.c: Fix compile time warnings.
14008         * config/fr30/fr30.md: Fix compile time warnings.
14010 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
14012         * tree.h (get_containing_scope): Declare it.
14013         * tree.c (get_containing_scope): New fucntion.
14014         (decl_function_context): Use it.
14015         * toplev.c (rest_of_compilation): Use get_containing_scope.
14017 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14019         * Makefile.in (rtl.o): Depend on toplev.h.
14021 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
14023         * cse.c (delete_trivially_dead_insns): Replace alloca with
14024         xmalloc/xcalloc.
14025         * except.c (update_rethrow_references): Likewise.
14026         (init_eh_nesting_info): Likewise.
14027         * function.c (identify_blocks): Likewise.
14028         * gcse.c (dump_hash_table): Likewise.
14029         * graph.c (print_rtl_graph_with_bb): Likewise.
14030         * loop.c (combine_movables): Likewise.
14031         (move_movables): Likewise.
14032         (count_loop_regs_set): Likewise.
14033         (strength_reduce): Likewise.
14034         * profile.c (compute_branch_probabilities): New function, split
14035         out from ...
14036         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
14037         * regclass.c (regclass): Likewise.
14038         * regmove.c (regmove_optimize): Likewise.
14039         * toplev.c (compile_file): Likewise.
14040         (main): Don't mess with the stack rlimit.
14042 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
14044         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
14045         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
14047 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
14049         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
14051 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
14053         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
14054         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
14055         macro expansion.
14057 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
14059         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
14061 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
14063         * gcse.c (post_dominators): Kill.
14064         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
14065         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
14066         pass in a pdom array since we do not need pdoms.
14067         * haifa-sched.c (schedule_insns): Similarly.
14068         * flow.c (compute_dominators): Remove dead function.
14069         (compute_flow_dominators): Do not compute doms or pdoms if the
14070         caller does not request them.  Split up loop to build doms and
14071         pdoms.  Use a worklist to compute doms and pdoms.
14072         * basic-block.h (compute_dominators): Remove prototype.
14074 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
14076         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
14077         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
14078         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
14079         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
14080         (cant_move, fed_by_spec_load, is_load_insn): Remove.
14081         (schedule_region): Remove unused variable.
14082         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
14084 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
14086         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
14087         (update_equiv_regs): Likewise.
14088         (block_alloc): Likewise.
14089         * reg-stack.c (reg_to_stack): Likewise.
14090         (convert_regs_2): Likewise.
14091         * reload1.c (reload_as_needed): Likewise.
14093 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
14095         * Makefile.in (dbxout.o): Depend on ggc.h.
14096         (dwarf2out.o): Likewise.
14097         (xcoffout.o): Likewise.
14098         * dbxout.c: Include ggc.h.
14099         (dbxout_init): Register lastfile as a root.
14100         * dwarf2out.c: Include ggc.h.
14101         (dwarf2out_line): Register lastfile as a root.
14102         * xcoffout.c: Include ggc.h.
14103         (xcoffout_source_line): Register xcoff_lastfile as a root.
14105 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
14107         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
14109 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
14111         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
14112         defined.
14113         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
14115 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14117         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
14118         (EXECUTE_IF_CONFLICT): Likewise.
14119         (ALLOCNO_LIVE_P): Avoid signed division.
14120         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
14121         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
14122         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
14124 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
14126         * haifa-sched.c (schedule_block): Don't crash if there's no
14127         next insn for an interblock movement.
14128         (add_branch_dependences): Don't allow clobber insns to move either.
14130 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
14132         * i386.c (split_xf): New.
14133         * i386-protos.h: Declare it.
14134         * i386.md (movxf_1): Add general regs alternatives.
14135         (movxf_1+1): New splitter for same.
14137 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
14139         * function.c (purge_addressof_1): Add missing return values.
14141 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
14143         * function.c (is_addressof): New function.  Returns true if
14144         the given piece of RTL is an ADDRESSOF.
14145         (purge_addressof_1): Make boolean.  Return false if the
14146         ADDRESSOFs could not be purged.
14147         (purge_addressof): If ADDRESSOFs could not be purged from the
14148         notes attached to an insn, remove the offending note(s),
14149         unless they are attached to a libcall.
14151 1999-11-05  Andreas Jaeger  <aj@suse.de>
14153         * genoutput.c (null_operand =): Initialize all fields.
14155         * errors.h: Add extern to prototypes.
14157 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
14159         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
14160         * configure: Rebuilt.
14162 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14164         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
14165         (mirror_conflicts): New function.
14166         (global_alloc): Call it.
14167         (expand_preferences): Remove redundant CONFLICTP test.
14168         (find_reg, dump_conflicts): Likewise.
14169         (prune_preferences): Process conflicts one word at a time.
14171 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
14173         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
14174         instead of an explicit loop.
14176 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
14178         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
14179         if REG_RETVAL check succeeds, then put classp in src_elt.
14181 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
14183         * function.c (pad_to_arg_alignment): Only update argument_pad
14184         if the argument's alignment is greater than STACK_BOUNDARY.
14186 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
14188         * bitmap.h (BITMAP_XFREE): New.
14189         * flow.c (life_analysis): Use it.
14190         (life_analysis_1): Free blocks.
14192         * combine.c (undo_commit): New.
14193         (try_combine): Use it.  Don't zap undobuf.undos.
14194         (combine_instructions): Don't zap undobuf.undos; free the
14195         undobuf.frees list.
14197         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
14199         * stmt.c (cost_table_): New.
14200         (estimate_case_costs): Use it instead of xmalloc.
14202         * toplev.c (compile_file): Reuse dumpname memory instead
14203         of strdup'ing it.
14205 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
14207         * reg-stack.c (convert_regs_1): Initialize target_stack->top
14208         after verifying an EH edge.
14210         * haifa-sched.c (init_rgn_data_dependences): Correctly
14211         size bb_pending_lists_length when zeroing.
14213 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
14215         * function.c (diddle_return_value): New.
14216         (expand_function_end): Use it.
14217         * stmt.c (expand_null_return): Likewise.
14218         (expand_value_return): Likewise.
14220         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
14222         * reload1.c (reload): Don't remove return value clobbers.
14224 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
14226         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
14228 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
14230         * cse.c (cse_main): Use xmalloc, not alloca.
14231         (cse_basic_block): Likewise.
14232         * local-alloc.c (local_alloc): Likewise.
14234 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
14235                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14237         * rtl.c: Include toplev.h.
14238         (fatal): Remove declaration.
14240 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
14242         * haifa-sched.c (schedule_block): Fix thinko.
14244 1999-11-03  James McKelvey <mckelvey@fafnir.com>
14246         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
14247         S_IR* defined values
14249 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
14251         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
14252         call `malloc' instead.
14254 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
14256         * flags.h (flag_renumber_insns): Declare.
14257         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
14258         renumbering table.
14259         * rtl.h (renumber_insns): Change prototype.
14260         * toplev.c (flag_renumber_insns): Define.
14261         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
14263 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
14265         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
14266         and fpsqrtd.  Use them and create fdiv function unit to more
14267         accurately represent fpu sqrt pipeline semantics on UltraSparc.
14268         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
14270 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
14272         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
14273         3 on UltraSparc.
14274         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
14275         insn into ready list, do not use just a raw swap.
14277 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
14279         * rtl.h (renumber_insns): New function.
14280         (remove_unnecessary_notes): Likewise.
14281         * emit-rtl.c (renumber_insns): Define.
14282         (remove_unncessary_notes): Likewise.
14283         * toplev.c (rest_of_compilation): Remove dead code.
14284         Use renumber_insns and remove_unncessary_notes.
14286         * gcse.c (struct null_pointer_info): New type.
14287         (get_bitmap_width): New function.
14288         (current_block): Remove.
14289         (nonnull_local): Likewise.
14290         (nonnull_killed): Likewise.
14291         (invalidate_nonnull_info): Take a null_pointer_info as input.
14292         (delete_null_pointer_checks_1): New function.
14293         (delete_null_pointer_checks): Use it.
14295         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
14296         (split_edges): Likewise.
14297         (schedule_block): Likewise.
14298         (compute_block_backward_dependencies): Likewise.
14299         (schedule_region): Likewise.
14300         (schedule_insns): Likewise.
14302 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
14304         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
14305         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
14306         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
14307         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
14308         * jump.c (delete_unreferenced_labels): Don't delete if
14309         LABEL_ALTERNATE_NAME is set.
14310         * print-rtl.c (print_rtx): Dump alternate name.
14311         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
14312         * rtl.h (LABEL_ALTERNATE_NAME): Define.
14313         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
14314         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
14316 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14318         * fix-header.c (recognized_extern, recognized_function): Constify
14319         a char*.
14321         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
14322         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
14323         (compute_available): Remove unused variable `last'.
14324         (compute_nearerout): Remove unused variable `temp_bitmap'.
14325         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
14326         Remove unused variable `x'.
14328         * scan.h (recognized_function, recognized_extern): Constify a
14329         char*.
14331         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
14333 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14335         * varasm.c (decode_rtx_const): Use XSTR to access the string
14336         of a SYMBOL_REF.
14338 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
14340         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
14342 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14344         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
14346 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
14348         * pa.c (ireg_operand): New function.
14349         * pa.h (PREDICATE_CODES): Handle ireg_operand.
14350         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
14351         Fix out of date comment.
14353         * pa.md (negdi2): Turn into expander + anonymous pattern.
14355         * reload.c (find_reloads): Fix typos in recent change.
14357         * dwarf2out.c: Do not include ctype.h.
14359 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14361         * regclass.c (record_reg_classes): Always use may_move_cost when
14362         seeing how operand fits with various register classes.
14364 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
14366         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
14367         * toplev.c: Revert Nov 1 13:22 change.
14369 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
14371         * config/pa/pa.md (height reduction patterns): Add checks for
14372         overlapping operands to avoid semantic-destroying splits for
14373         height reduction patterns.
14375 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14377         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
14378         have been an hyphen, fixed.
14379         * configure: Rebuilt.
14381 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
14383         * config/arm/tpe.h: Add prototypes for exported functions.
14384         * config/arm/pe.c: Fix compile time warnings.
14385         * config/arm/semi.h: Fix compile time warnings.
14386         * config/arm/arm.c: Fix compile time warnings.
14387         * config/arm/arm.h: Fix compile time warnings.
14388         * config/arm/arm.md: Fix compile time warnings.
14389         * config/arm/thumb.c: Fix compile time warnings.
14390         * config/arm/thumb.h: Fix compile time warnings.
14391         * config/arm/thumb.md: Fix compile time warnings.
14393 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
14395         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
14396         detection code
14398         * unroll.c (unroll_loop): Remove LOOP notes when loop is
14399         completely unrolled.
14401 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14403         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
14405 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
14407         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
14408         * rtl.h (rtx_equal_p): Move prototype.
14409         * rtl.c (rtx_equal_function_value_matters): Move from
14410         rtlanal.c
14411         (rtx_equal_p): Likewise.
14412         * rtlanal.c (rtx_equal_function_value_matters): Delete.
14413         (rtx_equal_p): Likewise.
14415 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
14417         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
14418         ! HAS_INIT_SECTION.
14420 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
14422         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
14424         * pa.h (ADDR_VEC_ALIGN): Define.
14426         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
14427         notes when presented with "if (foo) break; end_of_loop" and
14428         the break sequence gets moved out of the loop.
14430         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
14431         Remove explicit zero initializations of entries within MAP.
14433 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
14435         * reg-stack.c (convert_regs_1): Handle EH edges specially.
14437 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
14439         * bitmap.h (BITMAP_XMALLOC): New macro.
14440         * flow.c (CLEAN_ALLOCA): Remove.
14441         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
14442         (life_analysis): Likewise.
14443         (update_life_info): Don't use CLEAN_ALLOCA.
14444         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
14445         (calculate_global_regs_live): Likewise.
14446         (print_rtl_with_bb): Likewise.
14447         (verify_flow_info): Likewise.
14448         * global.c (global_alloc): Likewise.
14449         (global_conflicts): Likewise.
14450         * integrate.c (save_for_inline_nocopy): Likewise.
14451         (expand_inline_function): Likewise.
14452         * jump.c (jump_optimize_1): Likewise.
14453         (duplicate_loop_exit_test): Likewise.
14454         (thread_jumps): Likewise.
14455         * loop.c (loop_optimize): Likewise.
14456         (combine_givs): Likewise.
14457         (recombine_givs): Likewise.
14458         * reorg.c (dbr_schedule): Likewise.
14459         * unroll.c (unroll_loop): Likewise.
14461         * combine.c (combine_instructions): Use xmalloc instead of alloca.
14463 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
14465         * toplev.c (rest_of_compilation): Don't optimize the CFG
14466         when rebuilding, just before dbr.
14468 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14470         * output.h (assemble_end_function, assemble_destructor,
14471         assemble_constructor, assemble_gc_entry, assemble_global,
14472         assemble_label, output_constant_pool) Constify a char*.
14474         * varasm.c (assemble_destructor, assemble_constructor,
14475         assemble_gc_entry, assemble_end_function, assemble_global,
14476         assemble_label, output_constant_pool): Likewise.
14478 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
14480         * config/arm/thumb.c (thumb_expand_prologue): Add comments
14481         explaining what is goin on in this function.
14483 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14485         * regclass.c (record_reg_classes): In matching case, recompute
14486         costs since the direction of movement is different.
14488 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
14490         * resource.c (mark_target_live_regs): For unconditional branches,
14491         the resources found at the branch target should be added to the
14492         resources found so far, not intersected.
14494 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
14496         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
14497         old cpp's.
14498         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
14499         (sys/mman.h): Include this file only if #HAVE_MMAP.
14500         (run_compiles): Initialize `esac_fmt' with one old KR string, not
14501         with automatically concatenated ANSI strings.
14503 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
14505         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
14506         (DIV_ROUND_UP): Robustify.
14507         (ggc_recalculate_in_use_p): New function.
14508         (release_pages): Don't inline it.
14509         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
14510         outer contexts.
14511         (ggc_pop_context): Use ggc_recalculate_in_use_p.
14512         (clear_marks): Always save in_use_p.
14513         (sweep_pages): Use ggc_recalculate_in_use_p.
14514         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
14515         Release pages before counting statistics.
14517 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
14519         * toplev.c (rest_of_compilation): Fix thinko in this change:
14521         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
14523         (rest_of_compilation): If inside an inlined external function,
14524         pretend we are just being declared.
14526 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
14528         * flow.c (calculate_global_regs_live): Fix thinko.
14530         * integrate.c (expand_inline_function): Fix bugs in previous
14531         change from Oct 28, 1999.
14533 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
14535         * stmt.c (expand_value_return): Fix typo in this change:
14537         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14538         (expand_value_return): Correctly convert VAL when promoting function
14539         return; support RETURN_REG being a PARALLEL.
14541 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
14543         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
14545 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14547         * hard-reg-set.h (reg_names): Constify a char*.
14549         * regclass.c  (reg_names): Likewise.
14551         * regs.h (reg_names): Likewise
14553         * a29k/a29k.c (reg_names): Delete declaration.
14555         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
14557         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
14558         arc_output_function_epilogue): Likewise.
14560         * elxsi/elxsi.c (reg_names): Likewise.
14562         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
14564         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
14565         Likewise.
14567         * m88k/m88k.c (output_function_profiler): Likewise.
14569         * sparc/sparc.c (sparc_flat_output_function_prologue,
14570         sparc_flat_output_function_epilogue): Likewise.
14572 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
14574         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
14575         warning from -Wuninitialized and put it under -W.
14576         * function.c (uninitialized_vars_warning): Warn only when the
14577         corresponding flag is set.
14579 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
14581         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
14582         is nonzero and the single set does not have an elt, then assign
14583         it an elt.
14585         * simplify-rtx.c: New file.
14586         * Makefile.in (OBJS): Add simplify-rtx.o
14587         (simplify-rtx.o): Add dependencies.
14588         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
14589         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
14590         (cse_gen_binary, simplify_unary_operation): Delete.
14591         (simplify_binary_operation, simplify_plus_minus): Likewise.
14592         (check_fold_consts, simplify_relation_operation): Likewise.
14593         (simplify_ternary_operation): Likewise.
14594         (delete_trivially_dead_insns): Simplify the contents of the
14595         REG_EQUAL note before trying to substitute it into the source
14596         of the reg-reg copy at the end of a libcall sequence.
14598         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
14599         references/callers changed.
14601         * mn10200.c (mn10200_va_arg): Force the return value into a
14602         register.
14604         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
14606         * cccp.c (macroexpand): Avoid out of range accesses for omitted
14607         arguments.
14609 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
14611         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
14613 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
14615         * fold-const.c (fold): Fix thinko when optimizing comparisons
14616         against -0.0.
14618 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
14620         * gcc.texi (Passes): Update front-end files to their current
14621         location.
14623 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
14625         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
14626         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
14627         (PREDICATE_CODES): Add addition_operation.
14628         * alpha-protos.h (addition_operation): Declare.
14629         (secondary_reload_class): Likewise.
14630         * alpha.c (addition_operation): New.
14631         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
14632         * alpha.md (adddi3): Turn into expander.
14633         (*lda, *adddi_2): New.
14634         (movsf, movdf patterns): Don't preference integer regs.
14635         (movsi, movdi patterns): Don't preference fp regs.
14637 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
14639         * genrecog.c (write_switch): Check for duplicate CODE cases.
14641 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
14643         * ggc-common.c: Update pre-function commentary.
14644         * ggc-page.c: Likewise.
14645         (poison): Remove.
14646         (poison_pages): Use memset directly.
14647         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
14648         (ggc_collect): Poison before sweeping.
14649         * ggc-simple.c: Update pre-function commentary.
14650         (ggc_alloc_obj): Poison non-zeroed memory.
14652 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
14654         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
14655         match format string, even on 64-bit hosts.
14656         * gcc-page.c (ggc_page_print_statistics): Likewise.
14658 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
14660         * config/i386/i386.c (ix86_cpu): Revert last patch.
14661         * config/i386/i386.h (ix86_cpu): Ditto.
14663 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
14665         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
14666         TYPE_SIZE, convert type of result to sizetype.
14668 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
14670         * flow.c (count_or_remove_death_notes): Equate NULL with the
14671         universal set.
14673         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
14674         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
14675         dbr_schedule.
14677         * i386.c (pic_label_no): Delete.
14678         (ix86_attr_length_default): Don't use single_set to peek
14679         inside a parallel.
14681         * recog.c (peephole2_optimize): Allow recog_next_insn to index
14682         the first insn after bb->end.
14683         * i386.md (push mem peeps): Scratch is live after evaluation
14684         of the memory.
14685         (cmp mem peep): Similarly.
14687 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
14689         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
14690         * function.c (pad_to_arg_alignment): Add missing braces.
14692 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14694         * alpha/alpha-protos.h (literal_section): Add prototype.
14695         (alpha_need_linkage, alpha_start_function,alpha_end_function):
14696         Constify a char*.
14698         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
14699         prototype.
14700         (alpha_start_function, alpha_end_function, float_strings,
14701         alpha_need_linkage): Constify a char*
14703         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
14705         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
14707         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
14709         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
14711 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14713         * flow.c (debug_flow_info): Add prototype.
14715         * gcc.c (main): Likewise.
14717         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
14718         Likewise.
14720         * reload1.c (failed_reload, set_reload_reg): Likewise.
14722         * mips-tfile.c (main): Likewise.
14723         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
14724         with ATTRIBUTE_NORETURN.
14726 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
14728         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
14729         DECL is not a memory ref.
14731 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
14733         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
14734         * config/i386/i386.c (ix86_cpu): Add extern attribute.
14736 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
14738         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
14739         * config/mips/elf64.h: ditto.
14741 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
14743         * expr.c (emit_push_insn): New argument alignment_pad.
14744         Update all callers.  Adjust stack pointer based on alignment pad.
14745         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
14746         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
14747         (locate_and_pad_parm): New argument alignment_pad.  Update all
14748         callers.
14749         * expr.h (emit_push_insn): Update prototype.
14750         (locate_and_pad_parm): Update prototype.
14751         * calls.c (arg_data):  Add new field alignment_pad.
14752         (initialize_argument_information): Initialize alignment_pad.
14754 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
14756         * except.c (free_eh_nesting_info): Free the info itself.
14757         * function.c (free_after_compilation): Don't free NULL.
14758         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
14759         (pre_edge_insert): Free inserted.
14760         * stmt.c (free_stmt_status): Don't free NULL.
14762 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
14764         * gcov.c (DIR_SEPARATOR): Provide default.
14765         (output_data): Add test for MS-DOS format absolute filename.
14766         (fancy_abort): Correct program name.
14767         (open_files): Open all files in binary mode.
14768         * libgcc2.c (__bb_exit_func): Likewise.
14770         * profile.c (init_branch_prob): Specify binary when opening files.
14772         * flags.h (flag_unwind_tables): New decl.
14773         * toplev.c (flag_unwind_table): New definition.
14774         (f_options): Add -funwind-tables.
14775         (decode_g_option): Clarify warning when unknown -g option is given.
14776         (rest_of_compilation): If inside an inlined external function,
14777         pretend we are just being declared.
14779         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
14780         (dwarf2out_frame_finish): Likewise.
14782 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
14784         * fold-const.c (merge_ranges): If not in0, but in1, handle
14785         upper bounds equal like subset case.
14787 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
14789         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
14790         passed in a register but moved to the stack.
14792 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
14794         * gcc.c (pass_exit_codes, greatest_status): New variables.
14795         (struct option_map): Add entry for "--pass-exit-codes".
14796         (execute): Update greatest_status if error.
14797         (display_help): Add documentation for -pass-exit-codes.
14798         (process_command): Handle -pass-exit-codes.
14799         (main): Look at pass_exit_codes and greatest_status on call to exit.
14801 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14803         * reload.c (find_reloads): Refine test for no input reload
14804         case to not includes reloads emitted after insn.
14806         * function.c (find_temp_slots_from_address): Handle sum involving
14807         a register that points to a temp slot.
14808         (update_temp_slot_address): Make recursive call if both old and
14809         new are PLUS with a common operand.
14810         * calls.c (expand_call): Mark temp slot for result as having
14811         address taken.
14813         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
14815         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
14816         component as well as "BINUTILS".
14818         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
14819         * integrate.c (copy_rtx_and_substitute): Likewise.
14820         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
14821         All callers changed.
14822         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
14824         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
14825         gdb extensions, write size of type; also be more consistent
14826         in using references when this is a subtype.
14828         * pa.md (extv, extzv, insv): Use define_expand to reject constant
14829         that is out of range.
14831         * loop.c (unknown_constant_address_altered): New variable.
14832         (prescan_loop): Initialize it.
14833         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
14834         (invariant_p, case MEM): Remove handling for volatile and readonly;
14835         check new variable if readonly.
14836         (check_dbra_loop): Chdeck unknown_constant_address_altered.
14838         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
14839         (addr_affects_sp_p): Removed from note_mem_written and only
14840         define #ifdef AUTO_INC_DEC.
14842         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
14844         * regclass.c (record_reg_classes): Properly handle register move
14845         directions.
14847         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
14848         Don't think valid if both operands are invalid.
14849         (struct constant_descriptor): New field RTL.
14850         (mark_const_hash_entry): Mark it.
14851         (record_constant{,_rtx}): Initialize it.
14852         (output_constant_def): Allocate RTL in permanent obstack and
14853         save in table.
14854         ({record,compare}_constant_1): Modes must match for
14855         CONSTRUCTOR of ARRAY_TYPE.
14857         * c-common.h (initializer_constant_valid_p): Delete decl from here.
14858         * output.h (initializer_constant_valid_p): Move decl to here.
14859         * c-common.c (initializer_constant_valid_p): Delete function from here.
14860         * varasm.c (initializer_constant_valid_p): Move function to here.
14862         * tree.h (STRIP_SIGN_NOPS): New macro.
14863         * fold-const.c (optimize_minmax_comparison): New function.
14864         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
14865         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
14866         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
14867         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
14868         widening conversions.
14869         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
14870         to look at size of mode, not precision of type; also add missing cases.
14871         (optimize_bit_field_compare, decode_field_reference): Don't try to
14872         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
14874         * dwarf2out.c (ctype.h): Include.
14875         (dwarf2out_set_demangle_name_func): New function.
14876         (size_of_line_info): Deleted.
14877         (output_line_info): Compute size of line info table from difference
14878         of labels.
14879         (base_type_die, add_name_attribute): Call demangle function, if any.
14880         (field_byte_offset): Use bits per word for variable length fields.
14881         (gen_array_type_die): Add array name.
14882         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
14883         (dwarf2out_add_library_unit_info): New function.
14885         * explow.c (set_stack_check_libfunc): New function.
14886         (stack_check_libfunc): New static variable.
14887         (probe_stack_range): Allow front-end to set up a libfunc to call.
14889         * combine.c (simplify_comparison): When making comparison in wider
14890         mode, check for having commuted an AND and a SUBREG.
14891         (contains_muldiv): New function.
14892         (try_combine): Call it when dividing a PARALLEL.
14893         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
14894         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
14895         a PLUS.
14896         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
14897         use one of the CLOBBERs instead.
14898         (if_then_else_cond): If comparing against zero, just return thing
14899         being compared.
14901         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
14902         Don't generate shifts and subtract if have conditional arithmetic.
14904         * rtl.h (delete_barrier): New declaration.
14905         * jump.c (jump_optimize): Set up to handle conditional call.
14906         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
14907         (delete_barrier): New function.
14909         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
14911         * recog.c (nonmemory_operand): Accept ADDRESSOF.
14913         * tree.c (build_type_attribute_variant): Push to obstack of
14914         ttype around type_hash_canon call.
14916         * expr.c (placeholder_list): Move decl to file scope.
14917         (expand_expr): Don't force access to volatile just because its
14918         address is taken.
14919         If ignoring reference operations, just expand the operands.
14920         (expand_expr, case COMPONENT_REF): Propagate
14921         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14922         Refine test for using bitfield operations vs pointer punning.
14923         (expand_expr, case CONVERT_EXPR): If converting to
14924         BLKmode UNION_TYPE from BLKmode, just return inner object.
14925         Use proper mode in store_field call.
14926         Properly set sizes of object to store and total size in store_field
14927         call for convert to union.
14928         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14929         memory (like for ADDR_EXPR).  Also, don't put constant in register if
14930         we'll want it in memory.
14931         (readonly_fields_p): New function.
14932         (expand_expr, case INDIRECT_REF): Call it if LHS.
14933         (expand_assignment): Handle a RESULT_DECL where
14934         DECL_RTL is a PARALLEL.
14935         (do_jump, case WITH_RECORD_EXPR): New case.
14936         (get_inner_reference): Always go inside a CONVERT_EXPR
14937         and NOP_EXPR if both modes are the same.
14938         (store_field): Use bitfield operations if size of bitsize is not same
14939         as size of RHS's type.
14940         Check for bitpos not a multiple of alignment in BLKmode case.
14941         Do block move in largest possible alignment.
14942         (store_constructor): Set BITSIZE to -1 for variable size and properly
14943         in case of array of BLKmode.
14944         (expand_expr_unaligned): New function.
14945         (do_compare_and_jump): Call it.
14947         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14948         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14949         does not include 'o'.
14951         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14952         both SET_DEST and SET_SRC reference a virtual register.
14953         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14955         * integrate.c (expand_inline_function): Handle case of setting
14956         virtual stack vars register (from built in setjmp); when parameter
14957         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14958         (subst_constant): Add new parm, MEMONLY.
14959         (expand_inline_function, integrate_parm_decls): Pass new parm.
14960         (integrate_decl_tree): Likewise.
14961         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14962         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14963         (copy_rtx_and_substitute, case SET): Add explicit calls to
14964         copy_rtx_and_substitute for both sides.
14966         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14967         constraints.
14968         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14969         within INDEX_TYPE, instead of before.
14970         (fixup_gotos): Use f->target_rtl, not the next insn,
14971         since latter may be from a later fixup.
14972         (expand_value_return): Correctly convert VAL when promoting function
14973         return; support RETURN_REG being a PARALLEL.
14974         (expand_return): When checking for result in regs and having
14975         cleanup, consider PARALLEL in DECL_RTL as being in regs.
14977 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
14979         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14980         last_nominal_fname): Mark const.
14981         (struct include_hash: name, nshort, control_macro): Mark
14982         const.
14983         (struct macrodef: symnam): Mark const.
14984         (struct if_stack: fname): Mark const.
14985         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14986         (IStable): New character-syntax array which encompasses all
14987         the old is_foo arrays.
14988         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14989         is_space): New macros for interrogating IStable.
14990         (check_macro_name): Kill last argument.  All callers changed.
14992         * cppinit.c (initialize_char_syntax): Delete.
14993         (is_idchar, is_idstart, is_hor_space, is_space,
14994         trigraph_table): Delete.
14995         (IStable): New.  Initialize with clever macros to avoid
14996         information duplication.
14997         (builtin_array): Table of builtins to get rid of explicit list
14998         in initialize_builtins.
14999         (initialize_builtins): Use builtins_array.
15000         (cpp_start_read): Call init_IStable, and set IStable['$'] if
15001         opts->dollars_in_ident.
15003         * cppexp.c: Change all refs to is_xyz[] arrays to use new
15004         is_xyz() macros.
15005         (cpp_parse_expr): Avoid 'format string is not constant'
15006         warning. Use ISGRAPH to identify printable chars.
15007         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
15008         is_xyz() macros.
15009         (read_and_prescan): Map trigraphs to chars with open-coded
15010         if-else-if-... sequence, not a lookup table.
15011         * cpphash.c: Change all refs to is_xyz[] arrays to use new
15012         is_xyz() macros.
15013         * cpplib.c: Change all refs to is_xyz[] arrays to use new
15014         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
15015         (check_macro_name): Remove ability to report an invalid
15016         assertion name, which is never used.
15017         (do_line): Constify a couple of char *'s.
15018         * cppmain.c (main): Call cpp_cleanup before returning.
15020 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
15022         * ggc.h (struct ggc_statistics): New type.
15023         (ggc_get_size): New function.
15024         (ggc_print_statistics): Likewise.
15025         * ggc-common.c (ggc_stats): New variable.
15026         (ggc_mark_rtx_children): Keep statistics.
15027         (ggc_mark_tree_children): Likewise.
15028         (ggc_print_statistics): New function.
15029         * ggc-page.c (struct globals): Add bytes_mapped field.
15030         (alloc_anon): Update it.
15031         (release_pages): Likewise.
15032         (ggc_get_size): New function.
15033         (ggc_page_print_statistics): New function.
15034         * ggc-simple.c (ggc_get_size): New function.
15036 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
15038         * flow.c (propagate_block): When the last reference to a label
15039         before an ADDR_VEC is deleted because the reference is a dead
15040         store, delete the ADDR_VEC.
15042 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
15044         * resource.c (find_free_register): Don't use the frame pointer
15045         if frame_pointer_needed.
15047 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
15049         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
15050         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
15052         * config/i960/i960.c (i960_va_start): New locals base, num.
15053         Use INDIRECT_REF instead of ARRAY_REF on valist.
15054         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
15056 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
15058         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
15060 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
15062         * tree.def (PLACEHOLDER_EXPR): Update comments.
15064 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15066         * c-common.c (check_format_info): Avoid non-literal format string
15067         warnings when `first_arg_num' is zero.
15069 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15071         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
15073 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
15075         * arm.md (casesi_insn): Add a clobber of the condition code
15076         register.
15078 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
15080         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
15081         used by both cc1 and cc1plus.
15083 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
15085         * config/arm/arm.c: Initialise arm_structure_size_boundary to
15086         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
15087         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
15088         to the value 32 if it has not already been defined.
15089         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
15090         Override definition in arm.h with a value of 8.
15092 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
15094         * c-pragma.c (push_alignment): Don't check the return value
15095         of xmalloc.
15097 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
15099         * sparc.h (ADJUST_COST): Fix thinko.
15101 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
15103         * cccp.c (rescan): Fixed obp pointer handling around call to
15104         check_expand subroutine.
15106 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
15108         * gcse.c (delete_null_pointer_checks): Only record non-null info
15109         for pseudos when examining stores.
15111         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
15112         splitters for these patterns.  Use "#" for output templates.
15113         (addsi3_carryin_shift): New pattern.
15115 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
15117         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
15118         of the function return register into a plain REG until
15119         after function inlining is done.
15121 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
15123         * jump.c (jump_optimize_1): If we did cross-jumping, and
15124         the data will matter, rebuild the CFG.
15125         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
15126         not optimizing.  Don't run shorten_branches.
15127         * toplev.c (rest_of_compilation): Run shorten_branches after
15128         reg_to_stack.
15130 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
15132         * rtl.h (note_stores): Add additional paramter.
15133         * rtlanal.c (reg_set_p_1): Take additional paramter.
15134         (reg_set_last_1): Likewise.
15135         (reg_set_p): Adjust call to note_stores.
15136         (reg_set_last): Likewise.
15137         (note_stores): Pass data parameter to worker function.
15138         * alias.c (record_set): Take additional parameter.
15139         (init_alias_analysis): Pass it.
15140         * caller-save.c (mark_set_regs): Take additional parameter.
15141         (save_call_clobbered_regs): Pass NULL to note_stores.
15142         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
15143         parameter.
15144         (record_dead_and_set_regs_1): Likewise.
15145         (reg_dead_at_p_1): Likewise.
15146         (combine_instructions): Adjust calls to note_stores.
15147         (try_combine): Likewise.
15148         (record_dead_insn): Remove.
15149         (record_dead_and_set_regs): Adjust calls to note_stores.
15150         (reg_dead_at_p): Likewise.
15151         * cse.c (invalidate_skipped_set): Take additional parameter.
15152         (cse_check_loop_start): Likewise.
15153         (cse_check_loop_start_value): Remove.
15154         (cse_set_around_loop): Adjust calls to note_stores.
15155         * flow.c (notice_stack_pointer_modification): Take additional
15156         parameter.  Remove duplicate declaration.
15157         (record_volatile_insns): Adjust calls to note_stores.
15158         * gcse.c (record_set_info): Take additional parameter.
15159         (record_last_set_info): Likewise.
15160         (invalidate_nonnull_info): Likewise.
15161         (record_set_insn): Remove.
15162         (compute_sets): Adjust calls to note_stores.
15163         (last_set_insn): Remove.
15164         (compute_hash_table): Adjust calls to note_stores.
15165         (insert_insn_end_bb): Likewise.
15166         (delete_null_pointer_checks): Likewise.
15167         * global.c (mark_reg_store): Take additional parameter.
15168         (mark_reg_clobber): Likewise.
15169         (reg_becomes_live): Likewise.
15170         (global_conflicts): Adjust calls to note_stores.
15171         (build_insn_chain): Likewise.
15172         * integrate.c (note_modified_parmregs): Take additional parameter.
15173         (mark_stores): Likewise.  Make it static.
15174         (save_for_inline_nocopy): Adjust calls to note_stores.
15175         (try_constants): Likewise.
15176         * integrate.h (mark_stores): Remove declaration.
15177         * jump.c (mark_modified_reg): Take additional parameter.
15178         (thread_jumps): Adjust calls to note_stores.
15179         * local-alloc.c (validate_equiv_mem_from_store): Take additional
15180         parameter.
15181         (no_equiv): Likewise.
15182         (reg_is_set): Likewise.
15183         (validate_equiv_mem): Adjust calls to note_stores.
15184         (update_equiv_regs): Likewise.
15185         (block_alloc): Likewise.
15186         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
15187         (note_addr_stored): Take additional parameter.
15188         (note_set_pseudo_multiple_uses): Likewise.
15189         (record_initial): Likewise.
15190         (prescan_loop): Adjust calls to note_stores.
15191         (strength_reduce): Likewise.
15192         (check_dbra_loop): Likewise.
15193         * regmove.c (flags_set_1): Take additional paramter.
15194         (mark_flags_life_zones): Adjust calls to note_stores.
15195         * reload1.c (mark_not_eliminable): Take additional parameter.
15196         (forget_old_reloads_1): Likewise.
15197         (reload_cse_invalidate_rtx): Likewise.
15198         (reload_cse_check_clobber): Likewise.
15199         (reload_combine_note_store): Likewise.
15200         (move2add_note_store): Likewise.
15201         (reload): Adjust calls to note_stores.
15202         (reload_as_needed): Likewise.
15203         (emit_reload_insns): Likewise.
15204         (reload_cse_regs_1): Likewise.
15205         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
15206         (reload_combine): Adjust calls to note_stores.
15207         * resource.c (update_live_status): Take additional paramter.
15208         (mark_target_live_regs): Adjust calls to note_stores.
15209         * stupid.c (find_clobbered_regs): Take additional parameter.
15210         (stupid_life_analysis): Adjust calls to note_stores.
15212 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
15214         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
15215         definition.
15217         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
15218         definition.
15220         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
15221         of the variable arm_structure_size_boundary.
15223 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
15225         * alias.c (init_alias_analysis): Allocate reg_known_value and
15226         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
15227         and reg_seen.
15228         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
15229         * cse.c (cse_main): Call end_alias_analysis.
15230         * haifa-sched.c (schedule_insns): Likewise.
15231         * local-alloc. (update_equiv_regs): Likewise.
15232         * reload1.c (reload_cse_regs): Likewise.
15234 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15236         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
15237         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
15238         mapping from MASK_FPU.
15240 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
15242         * sparc.md (call): Don't bound structure return size to 0xfff.
15244 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
15246         * resource.c (mark_target_live_regs): Check that the target
15247         insn wasn't created after compute_bb_for_insn.
15249 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
15251         * ggc-page.c (poison_pages): Don't be overzealous.
15253 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
15255         * alias.c: Update comments for ADDRESS.
15256         (nonlocal_reference_p): Look inside the ADDRESS to determine if
15257         it is a local memory reference.
15259         * c-typeck.c (build_function_call): Check that the built-in
15260         function is of class BUILT_IN_NORMAL before trying to recongize
15261         it as BUILT_IN_ABS.
15262         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
15263         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
15265 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
15267         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
15268         of alloca.
15269         (pre_gcse): Likewise.
15270         (hoist_expr_reaches_here_p): Likewise.
15271         (hoist_code): Likewise.
15272         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
15273         code to ...
15274         (pre_expr_reaches_here_p_work): ... here.
15275         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
15276         code to ...
15277         (expr_reaches_here_p_work): ... here.
15279 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
15281         * resource.c (find_basic_block): Delete.
15282         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
15283         (init_resource_info): Call compute_bb_for_insn.
15285 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
15287         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
15288         with already adjacent blocks, but no fallthru.
15289         (merge_blocks_move_successor_nojumps): Simplify.
15290         (debug_flow_info): New.
15292         * toplev.c (rest_of_compilation): Open jump1 dump file before
15293         jump and close after, as opposed to just using dump_rtl.
15295 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15297         * reload.h (earlyclobber_operand_p): Declare.
15298         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
15299         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15300         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
15301         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
15303 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
15304                           Richard Henderson  <rth@cygnus.com>
15306         * emit-rtl.c (emit_block_insn_before): New.
15307         (emit_block_insn_after): New.
15308         * basic-block.h: Declare them.
15310         * bitmap.h: Protect from multiple inclusion.
15312         * recog.c (scratch_operand): Handle VOIDmode correctly.
15314         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
15316         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
15317         * function.c (assign_parms): Likewise.
15318         * global.c (global_conflicts): Clarify STACK_REGS commentary.
15320         * reg-stack.c (max_uid): Remove.
15321         (blocks, block_begin, block_end, block_drops_in): Remove.
15322         (block_stack_in, block_out_reg_set, block_number): Remove.
15323         (struct block_info_def, BLOCK_INFO): New.
15324         (enum emit_where): New.
15325         (current_block): New.
15326         (BLOCK_NUM): Remove.
15327         (mark_regs_pat, record_label_references): Remove.
15328         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
15329         (nan): New.
15330         (goto_block_pat, print_blocks, dump_stack_info): Remove.
15331         (reg_to_stack): Simplified test for existance of fp code.  Use
15332         flow.c code.  Call shorten_branches after cross-jump opt.
15333         (check_asm_stack_operands): Renamed from record_asm_reg_life.
15334         Return false if the asm doesn't use stack regs.  Don't do life
15335         analysis on the asm.
15336         (emit_pop_insn): Replace function pointer arg `when' with
15337         enum `where'.  Update all callers.
15338         (change_stack): Likewise.  Update basic block end.
15339         (emit_swap_insn): Use current_block->head to limit reverse search
15340         for start of block.  Use emit_block_insn_after.
15341         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
15342         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
15343         structure assignment instead of bcopy.
15344         (print_stack): New.
15345         (convert_regs_entry, convert_regs_exit): New.
15346         (convert_regs_1, convert_regs_2): Split out from convert_regs.
15347         Work on basic blocks and the CFG.
15348         (convert_regs): Use them.
15350         * i386.c (output_fix_trunc): Remove code for DImode input operand
15351         not at top-of-stack.
15352         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
15353         appropriate mode.
15354         (fix_truncdi_1): Allow any mode scratch.
15356 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
15358         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
15359         * linux.h, netbsd.h, vms.h: Not here.
15361 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
15363         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
15364         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
15365         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
15366         CONDITIONAL_REGISTER_USEAGE): Use them.
15367         * config/mips/mips.c (mips_move_1word,mips_move_2words,
15368         gen_conditional_branch,override_options) : Use them.
15369         * config/mips/mips.md : Use them.
15371 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
15373         * i386.md (zero_extendqihi2): Use SImode register name with andl.
15375 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
15377         * integrate.c (function_cannot_inline_p): Don't allow inlining
15378         if setjmp is used.
15380 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15382         * c-parse.in (cast_expr): Constify.
15384         * cccp.c (special_symbol): Likewise.
15386         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
15388         * dwarf2out.c (base_type_die): Likewise.
15390         * global.c (allocno_compare): Likewise.
15392         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
15394         * regclass.c (fix_register): Likewise.
15396         * rtl.h (fix_register): Likewise.
15398         * stupid.c (stupid_reg_compare): Likewise.
15400         * toplev.c (decode_f_option): Likewise.
15402         * tree.c (build_complex_type): Likewise.
15404 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
15406         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
15408 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15410         * reload.c (find_reloads): Compute mode and nregs fields of all
15411         reloads.
15412         * reload1.c (calculate_needs_all_insns): Simplify a bit.
15413         (calculate_needs): Use precomputed mode/nregs values.
15414         (allocate_reload_reg): Likewise.
15415         Break out two...
15416         (failed_reload, set_reload_reg): ... new functions.
15417         (choose_reload_regs_init): New function, mostly broken out from...
15418         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
15419         Also lose one #if 0 block.
15421 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
15423         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
15424         substitution.
15426 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
15428         * tree.h (BLOCK_TYPE_TAGS): Remove.
15429         (BLOCK_END_NOTE): Likewise.
15430         (BLOCK_LIVE_RANGE_FLAG): Likewise.
15431         (BLOCK_LIVE_RANGE_START): Likewise.
15432         (BLOCK_LIVE_RANGE_END): Likewise.
15433         (tree_block): Remove live_range_flag, live_range_var_flag, and
15434         type_tags.  Remove end_note, live_range_start, and live_range_end.
15435         (remember_end_note): Remove prototype.
15436         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
15437         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
15438         remember_end_note.
15439         * ggc-common.c (ggc_mark_tree_children): Don't mark
15440         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
15441         * integrate.c (adjust_copied_decl_tree): Remove.
15442         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
15443         * stmt.c (last_block_end_note): Remove.
15444         (init_stmt): Don't add a GC root for it.
15445         (expand_fixup): Don't set it.
15446         (remember_end_note): Remove.
15447         (expand_end_bindings): Don't set last_block_end_note.
15449 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15451         * reload1.c (reload_reg_free_for_value_p): Show
15452         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
15453         reloads.
15455 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
15457         * expmed.c (extract_bit_field): Allow for the case of non-integer
15458         objects that are smaller than a word (like SFmode on a 64-bit
15459         machine).
15461         * loop.c (basic_induction_var): A non-integer variable which is
15462         being set by a paradoxical subreg is probably not a biv.
15464 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15466         * prefix.c (translate_name) Check for empty prefix string.
15468 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
15470         * Makefile.in (CPP_CROSS_NAME): New variable.
15471         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
15472         xcpp.
15473         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
15474         names of the files to be uninstalled.
15476 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
15478         * collect2.c (IS_DIR_SEPARATOR): Define.
15479         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
15481         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
15482         functions too.
15484         * haifa-sched.c (add_dependence): Update the true dependency
15485         cache the first time we add a true dependence to the LOG_LINKS chain.
15487 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
15489         * fold-const.c (fold): Fix comment.
15491 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15493         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
15494         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
15495         dbxout_start_new_source_file, dbxout_source_file,
15496         dbxout_source_line, dbxout_finish, dbxout_type_fields,
15497         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
15498         Constify a char*.
15499         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
15500         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
15501         (dbxout_block): Initialize variable `blocknum'.
15503         * dbxout.h (dbxout_init, dbxout_finish,
15504         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
15505         dbxout_args, dbxout_source_line): Constify a char*.
15507         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
15508         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
15509         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
15510         low_pc_attribute, high_pc_attribute, body_begin_attribute,
15511         body_end_attribute, comp_dir_attribute, sf_names_attribute,
15512         src_info_attribute, mac_info_attribute, producer_attribute,
15513         lookup_filename, generate_macinfo_entry, fundamental_type_code,
15514         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
15515         dwarfout_undef): Constify a char*.
15516         (add_incomplete_type, retry_incomplete_types): Add prototypes.
15518         * dwarfout.h (dwarfout_define, dwarfout_undef,
15519         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
15521 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
15523         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
15524         (MULTILIB_ISA_DEFAULT): New.
15525         (MULTILIB_DEFAULTS): Use it.
15526         * config/mips/mips.c (): Remove the now unnecessary definition
15527         of MIPS_ISA_DEFAULT.
15528         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
15529         unnecessary definition.
15531 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
15533         * arm.md (pic_load_addr): Add constraints to operand 1.
15535 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
15537         * fixinc/genfixes:  Provide a means for specifying -D options to
15538         AutoGen
15540 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
15542         * arm.c (arm_override_options): Correct initialization of
15543         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
15544         arm_is_strong, and arm_is_6_or_7.
15546         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
15547         (note_set_pseudo_multiple_uses): New function.
15548         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
15549         if a pseudo set in the loop exit is used elsewhere.
15551 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
15553         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
15555 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
15557         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
15558         a single load-address pattern.
15560 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
15562         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
15563         depending on whether or not line-number notes are present.
15565 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15567         * cccp.c (progname, file_buf, default_include, include_file,
15568         macrodef, definition, hashval, wchar_type, user_label_prefix,
15569         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
15570         expand_to_temp_buffer, is_system_include, base_name,
15571         absolute_filename, read_name_map, open_include_file,
15572         record_control_macro, check_precompiled, check_preconditions,
15573         pcfinclude, pass_thru_directive, create_definition,
15574         check_macro_name, comp_def_part, collect_expansion,
15575         check_assertion, read_token_list, assertion_install,
15576         assertion_lookup, eval_if_expression, conditional_skip,
15577         validate_else, skip_quoted_string, quote_string, macarg1,
15578         error_from_errno, install, lookup, hashf, dump_defn_1,
15579         perror_with_name, pfatal_with_name, main, trigraph_pcp,
15580         check_white_space, rescan, handle_directive, monthnames,
15581         special_symbol, do_include, remap_include_file, write_output,
15582         arglist, do_assert, do_unassert, do_line, do_error, do_once,
15583         do_ident, do_sccs, do_xifdef, skip_if_group,
15584         output_line_directive, macroexpand, macarg, change_newlines,
15585         initialize_builtins, make_definition): Constify a char*.
15587         * pcp.h (stringdef): Likewise.
15589 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
15591         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
15592         not of pattern.
15594 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
15595                           Richard Henderson  <rth@cygnus.com>
15597         * alias.c: Include ggc.h.
15598         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
15599         (record_set): Verify enough room in reg_base_value.
15600         (init_alias_analysis): Allocate reg_base_value with xcalloc.
15601         Register it as a GC root.
15602         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
15603         * Makefile.in (alias.o): Depend on ggc.h.
15605         * unroll.c (unroll_loop): Verify the insn before a barrier
15606         is a JUMP_INSN before checking JUMP_LABEL.
15608 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15610         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
15611         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
15612         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
15613         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
15614         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
15615         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
15617 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15619         * output.h (ctors_section, dtors_section, bss_section): Prototype.
15621         * alpha/alpha-interix.h (text_section): Delete prototype.
15622         * alpha/elf.h (text_section): Likewise.
15623         * arm/linux-elf.h (text_section): Likewise.
15624         * arm/linux-telf.h (text_section): Likewise.
15625         * c4x/c4x.h (text_section): Likewise.
15626         * dsp16xx/dsp16xx.h (bss_section): Likewise.
15627         * elfos.h (text_section): Likewise.
15628         * i386/aix386ng.h (text_section): Likewise.
15629         * i386/i386-interix.h (text_section): Likewise.
15630         * i386/sco5.h (text_section): Likewise.
15631         * i386/svr3gas.h (text_section): Likewise.
15632         * nextstep.h (text_section): Likewise.
15633         * psos.h (text_section): Likewise.
15634         * ptx4.h (text_section): Likewise.
15635         * svr3.h (text_section): Likewise.
15636         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
15638 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15640         * final.c (peephole): Delete prototype.
15642         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
15643         (pre_insert_copies): Remove unused variable `bb'.
15645         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
15646         prototypes.
15648         * output.h (peephole): Add prototype.
15650 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
15652         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
15653         -O0.
15655 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
15657         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
15658         for inlined declarations.
15660 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
15662         * arm.c (logical_binary_operator): New fucntion.
15663         * arm.h (logical_binary_operator): Declare it.
15664         (PREDICATE_CODES): Handle logical_binary_operator.
15665         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
15666         output constraints.  Add appropriate splitters.
15667         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
15668         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
15669         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
15671 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15673         * genoutput.c (struct operand_data): New elt eliminable.
15674         (output_operand_data): Write it.
15675         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
15676         (compare_operands): Take it into account.
15677         * recog.h (struct insn_operand_data): New elt eliminable.
15678         * reload1.c (check_eliminable_occurrences, elimination_effects): New
15679         functions.
15680         (old_asm_operands_vec, new_asm_operands_vec): Delete.
15681         (eliminate_regs): Move code that detects changes to elimination
15682         target regs into new function elimination_effects.
15683         Delete one #if 0 block.
15684         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
15685         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
15686         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
15687         Only call eliminate_regs for real operands of the insn, not for parts
15688         of its structure or parts matched by things like match_operator.
15689         Use elimination_effects and check_eliminable_occurrences.  Use
15690         copy_insn to duplicate the pattern when not in the final pass.
15692 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
15694         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
15695         and fld.
15697 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
15699         * fixinc/README: document the "mach" machine matching test
15700         * fixinc/fixfixes.c: Implement the #else/#endif label fix
15701         * fixinc/fixtests.c: Implement the #else/#endif label test
15702         * fixinc/inclhack.def: utilize these tests and fixes
15703         * fixinc/inclhack.sh:  regen
15704         * fixinc/fixincl.x:  regen
15705         * fixinc/fixincl.sh:  regen
15707 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
15709         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
15710         depend on ggc.h.
15712 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
15714         * gcc.1: Document exit codes.
15716 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15718         * calls.c: Include tm_p.h later, so everything we need is defined.
15719         * expr.c: Likewise.
15720         * function.c: Likewise.
15722         * except.c: Include tm_p.h.
15724         * sparc.c: Likewise.
15725         (dwarf2out_cfi_label): Don't prototype.
15726         (check_return_regs, epilogue_renumber,
15727         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
15728         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
15729         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
15730         ultra_schedule_insn): Add static prototype.
15731         (data_segment_operand, text_segment_operand): Call itself with the
15732         proper number of arguments.
15733         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
15735         * sparc.h: Move all declarations to sparc-protos.h.
15736         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
15737         symbolic_operand.
15739         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
15741         * config/svr4.h (text_section, ctors_section, dtors_section): Add
15742         Prototypes.
15743         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
15744         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
15745         ASM_OUTPUT_ASCII): Constify a char*.
15747         * sparc-protos.h: New file for sparc prototypes.
15749 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15751         * function.c (record_insns, contains): Always declare and define.
15752         (record_insns): Mark with ATTRIBUTE_UNUSED.
15754 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15756         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
15757         to .section when outputting a .bss section to deal with multiple
15758         .bss input sections (as happens with -fdata-sections)
15759         Also output %progbits, not @progbits so the assembler doesn't treat as
15760         a comment.
15761         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
15763         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
15764         thumb parts even when building with non-thumb CPUs, by forcing
15765         thumb mode.
15767 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
15769         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
15770         (movdf_const_intreg_sp64): Similarly.
15772         * local-alloc.c (update_equiv_regs): Check the correct insn
15773         for pre-existing REG_EQUIV notes.
15775 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
15777         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
15778         block reached by a branch if we're not going to actually process
15779         this block.
15781 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
15783         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
15784         a local extern function declaration.
15786 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
15788         * i386.c (ix86_expand_prologue): Properly wrap USE around
15789         reg for CALL_INSN_FUNCTION_USAGE.
15791 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
15793         * config/mips/mips.md (movdf_internal1a): Allow floating-point
15794         move between GP_REGs.
15796 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
15798         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
15799         the mode size when finding out if an offset is legal.
15801 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
15803         * basic-block.h (PROP_*): Move constants from ...
15804         * flow.c: ... here.
15805         (compute_bb_for_insn): Free the array before reallocating.
15806         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
15807         (allocate_reg_life_data): Reset all reg variables collected by
15808         propagate_block.
15809         (get_block_head_tail): Don't convert from bb to block.
15810         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
15811         (find_insn_reg_weight): Take block not bb.
15812         (schedule_block): Don't set block num for moved insns.
15813         (schedule_region): Don't update_life_info or find_insn_reg_weight.
15814         (schedule_insns): Do it here instead.
15815         * combine.c (combine_instructions): Invoke compute_bb_for_insn
15816         before update_life_info.
15817         * recog.c (split_all_insns, peephole2_optimize): Update for
15818         new arg to update_life_info.
15819         * rtlanal.c (remove_note): Cope with NULL note.
15820         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
15821         if we did sched1.
15823 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
15825         * jump.c (jump_optimize_1): More accurately detect casesi insns.
15827         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
15828         block records so that merge_blocks_nomove will clean up correctly.
15829         (split_edge): Handle casesi insns.
15831         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
15833 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
15835         * pa.md (call, call_value): Do not emit a blockage after restoring
15836         the PIC register.
15838 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
15840         * c-typeck.c (c_expand_asm_operands): Fix typo.
15842 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15844         * arm.c (fpu_rhs_operand): Verify modes.
15845         (fpu_add_operand): Likewise.
15846         (di_operand): Likewise.
15847         (soft_df_operand): Likewise.
15849 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
15851         * arm.c (arm_return_in_memory): APCS rules state that the elements
15852         of a structure returned in a register must be 'integer-like'.
15854 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
15856         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
15857         in the source tree when the generated targets are out of date
15858         * fixinc/genfixes: Alter it to run individual fixes for make.
15859         * fixinc/README: rewrite
15860         * fixinc/inclhack.def: moved initial comments to README
15862 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
15864         * toplev.c (main): Do not generate an error message if an
15865         unrecognised command line switch is recognisable by another
15866         language.  If extra_warnings are enabled, then generate a
15867         warning message instead.
15869 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15871         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
15872         (insert_pack_attributes): Delete prototype.
15874         * c-pragma.c (default_alignment): New static variable.
15875         (push_alignment): Initialize to current effective alignment.
15876         (pop_alignment): Use to set new alignment.
15877         (insert_pack_attributes): Delete function.
15878         (handle_pragma_token): Set default_alignment as well each time
15879         a #pragma pack(<n>) is encountered.
15881 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
15883         * reg-stack.c (stack_result): Aggregates are not returned in
15884         stack registers.
15886 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
15888         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
15890 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
15892         * basic-block.h (set_block_num): Declare.
15893         * flow.c (update_life_info): Don't call compute_bb_for_insn
15894         or free_basic_block_vars.
15895         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
15896         (insn_orig_block): Remove.
15897         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
15898         (schedule_block): Keep BLOCK_NUM up-to-date.
15899         (schedule_insns): Use compute_bb_for_insn.
15900         * recog.c (split_all_insns): Likewise.
15901         (peephole2_optimize): Likewise.
15903 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
15905         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
15906         if the pic register is used.
15908 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15910         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
15911         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
15912         if that tests TREE_PERMANENT.
15914 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
15916         * cse.c (invalidate_for_call): Do not remove memory references from
15917         the table here.  It's handled elsewhere.
15919         * haifa-sched.c (add_dependence): Protect references to the
15920         true dependency cache with #ifdef INSN_SCHEDULING.
15921         (remove_dependence): Similarly.
15923         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15924         to the cfg code that this is a return instruction.
15925         * mn10300.md (return_internal): Similarly.
15927         * combine.c (get_last_value): If the last set of a register
15928         is after subst_low_cuid, then we can not use it to determine
15929         the register's last value.
15931 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15933         * Makefile.in: Back out previous change.
15935 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
15937         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15939         * haifa-sched.c (add_dependence): Only check/update the cache
15940         if it exists.
15941         (remove_dependence): Likewise.
15942         (schedule_insns): Only create the true_dependency_cache if the
15943         average number of instructions in a basic block is very large.
15945 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15947         * Makefile.in (ggc-common.o): Depend on genrtl.h.
15948         (ggc-simple.o): Likewise.
15949         (ggc-page.o): Likewise.
15951 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
15953         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15954         Prototype for exported functions.
15955         (pre_lcm, pre_rev_lcm): Remove prototypes.
15956         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15957         (compute_available): Move to lcm.c, and change parameter order.
15958         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15959         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15960         (gcse_main): No longer call compute_preds_succs.  Rebuild the
15961         set table after reach pre pass.
15962         (pre_insert_map, pre_delete_map, edge_list): New.
15963         (alloc_pre_mem): Allocate edge vectors.
15964         (free_pre_mem): Delete edge vectors.
15965         (compute_pre_data): Call new edge based lcm routines.
15966         (process_insert_insn): New function.
15967         (insert_insn_end_bb): Use it.
15968         (pre_edge_insert): New function.
15969         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
15970         needed.
15971         (pre_insert_copies): Revamp using new edge based lcm outputs.
15972         (pre_delete): Likewise.
15973         (one_pre_gcse_pass): Insert & remove fake edges to the exit
15974         block.
15975         (compute_code_hoist_vbeinout): New new edge based routines.
15976         * lcm.c: Remove all the old LCM functions.  Replace with new ones
15977         that work with the new cfg datastructures and work with edges
15978         instead of blocks.
15980 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15982         * reload.h (struct reload): Add new fields "mode" and "nregs".
15983         * reload1.c: Change all occurrences of reload_mode and reload_nregs
15984         to reference the "mode" and "nregs" field within struct reload.
15986 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
15988         * haifa-sched.c (true_dependency_cache): New.
15989         (add_dependence): Use the true dependency cache to avoid expensive
15990         walks down the LOG_LINKS dependency list.  Add entries to the
15991         cache as necessary.
15992         (remove_dependence): Remove entries from the true dependency cache
15993         as needed.
15994         (schedule_insns): Allocate and initialize and free the true
15995         dependency cache.
15997         * haifa-sched.c (schedule_insns): Do not remove inter-block
15998         dependencies anymore.
16000 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
16002         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
16003         * i386/t-winnt: Likewise.
16005 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
16007         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
16009 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
16011         * Makefile.in (LANGUAGES): Omit "proto".
16012         (clean): Remove stale comment about removing unprotoize.c.
16014 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16016         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
16017         using arithmetic on void pointers.
16019 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
16021         * haifa-sched.c (compute_block_forward_dependencies): Only check
16022         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
16024 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
16026         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
16027         (expr_equiv_p): Reject memories with different alias sets.
16029 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
16031         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
16032         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
16033         (f_options): Add "bounded-pointers" and "bounds-check" entries.
16034         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
16035         (lang_init): Set default for flag_bounds_check if still "unspecified".
16037 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16039         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
16041 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16043         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
16044         instructions.
16046 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16048         * config/c4x/c4x.md (*db_noclobber,
16049         *decrement_and_branch_until_zero_noclobber): New patterns and
16050         associated splitters.
16052 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16054         * config/c4x/c4x.md (parallel instruction patterns): Rework
16055         constraints to keep reload happy.
16057 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16059         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
16060         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
16061         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
16062         Add new patterns and associated post-reload splitters.
16064 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16066         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
16068 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16070         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
16071         if appropriate.
16072         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
16074 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16076         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
16077         memory mode.
16079 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
16081         * pa.c (move_operand): Rely on memory_address_p to determine the
16082         validity of non-indexed memory addresses.
16083         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
16084         operand in DFmode and SFmode when generating PA2.0 code.
16086 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
16088         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
16090 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
16092         * mips.c (function_prologue): Fix argument types.
16093         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
16094         (casesi_internal): Write to the scratch register.
16096 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
16098         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
16099         to U_CHAR **.
16100         (parse_charconst): Delete unnecessary cast when calling
16101         cpp_parse_escape.
16102         (cpplib.h): Kill prototype of cpp_parse_escape.
16104 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
16106         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
16107         * unroll.c (unroll_loop): Cast return value of alloca.
16108         * i370/i370.c: Include function.h and toplev.h.
16109         (i370_label_scan): Remove c++ commented abort.
16110         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
16111         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
16112         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
16113         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
16115 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
16117         * config/t-freebsd: Do not override USER_H.
16118         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
16120 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
16121                           Mumit Khan  <khan@xraylith.wisc.edu>
16123         * c-parse.in (component_decl): Support anonymous struct/union.
16124         (%expect): Update.
16125         * c-parse.y: Regenerate.
16126         * c-parse.c: Likewise.
16127         * objc/objc-parse.y: Likewise.
16128         * objc/objc-parse.c: Likewise.
16129         * c-decl.c (finish_struct): Don't sort the fields.
16130         (field_decl_cmp): Delete unused function.
16132 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
16134         * sparc.md (movsf_const_intreg): Revert last constraint change.
16135         (movdf_const_intreg_sp32): Likewise.
16137 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
16139         * cse.c: Include hashtab.h instead of splay-tree.h
16140         (struct cse_reg_info): No longer use variant union.  Add new
16141         field "regno".  All references changed to avoid union.
16142         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
16143         (free_cse_reg_info): Remove.
16144         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
16145         (get_cse_reg_info): Revamp to use expandable hash tables instead
16146         of splay trees.  Initialize new fields in cse_reg_info structure.
16147         (new_basic_block): Similarly.
16149 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
16151         * genrecog.c (message_with_line): Prototype.
16152         (validate_pattern): Pass along the set for the dest, not a flag.
16153         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
16154         Check for PC/CC0 as sources.
16155         (nodes_identical): Check for children position match before
16156         allowing the combination.
16158         * rtl.c (read_rtx): Track line number across \\\n.
16160 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
16162         * mips.h (SPECIAL_MODE_PREDICATES): New.
16163         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
16164         (movdi+1, movsi+1): Add output reload constraint.
16165         (casesi_internal): Likewise.  Fix commentary.
16166         (return_internal): Use pmode_register_operand.
16168 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
16170         * 1750a.md (movstrqi): Add missing output reload constraint.
16171         (call_value): Likewise.
16172         * a29k.md (cpxxx patterns): Add missing match_operator mode.
16173         (jmpfdec): Add missing inout reload constraint.
16174         * elxsi.md (addsi patterns): Add missing output reload constraint.
16175         (move from sp): Use @ alternates.
16176         (call_value): No constraint on output.
16177         * fr30.md (movsi_pop): Add missing output reload constraint.
16178         (movsf_constant_store): Likewise.
16179         (splits): Remove constraints.
16180         (subsi3): Add missing mode.
16181         * i370.md (cmpstrsi+1): Add missing output reload constraint.
16182         (call_value): Likewise.
16183         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
16184         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
16185         * m32r.md (movsicc_internal): Add output reload constraint.
16186         (movstrsi_internal): Add inout reload constraints.
16187         * m88k.h (reg_names): Don't declare.
16188         (SPECIAL_MODE_PREDICATES): New.
16189         * m88k.md (*): Use register_operand not reg_or_0_operand
16190         on destinations.
16191         * mn10200.h (PREDICATE_CODES): New.
16192         * ns32k.md (ffs pattern): Add output reload constraint.
16193         * pdp11.md (sob pattern): Add inout reload constraint.
16194         * sh.md (splits): Remove constraints.
16195         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
16196         * v850.md (pattern_is_ok_for_epilogue): Likewise.
16197         * vax.md (jgequ pattern): Add inout reload constraint.
16199 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
16201         * configure.in (djgpp): Revert previous patch.
16202         * configure: Rebuit.
16203         * config/i386/djgpp.h: Revert previous patch.
16205 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
16207         * fixinc/inclhack.def: Restore patch lost during last merge of
16208         "no_bogosity" branch.
16209         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16211 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16213         * fixincludes: Add a HPUX 11 fix for inttypes.h.
16214         * fixinc/inclhack.def: Same.
16215         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
16217 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
16219         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
16220         as the base of a PLUS.
16222 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16224         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
16225         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
16227 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
16229         * pa.md (post_stw+1): Use pmode_register_operand.
16230         (dcacheflush, icacheflush): Likewise.
16232         * i386.md (movstricthi_1): Allow r/r.
16234 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
16236         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
16237         to (not (and (arg0) (arg1))). Similary for and.
16239         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
16240         fallthrough to associate code.
16241         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
16242         bits in common.
16244         * combine.c (simplify_logical): Convert XOR to IOR if operands have
16245         no bits in common; remove XOR to ROTATE conversion.
16247 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16249         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
16251 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16253         * config/c4x/c4x.c (dst_operand): New.
16254         (PREDICATE_CODES): Update.
16255         * config/c4x/c4x.h (dst_operand): Declare it.
16256         * config/c4x/c4x.md:  Define mode for each unspec usage.
16257         (move patterns):  Use dst_operand predicate instead of src_operand.
16258         (movqi_update, movqf_update): Delete.
16260 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
16262         * recog.c (pmode_register_operand): New.
16263         * recog.h: Declare it.
16264         * genrecog.c (pred_codes): Likewise.
16265         (special_mode_pred_table): Likewise.
16266         (validate_pattern): Don't warn no mode for address_operand.
16268         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
16269         if the operand is not insn-like.
16271 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
16272                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
16274         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
16276 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
16278         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
16279         instead of general_operand in a SET_DEST.  Use const_double_operand
16280         instead of an explicit test against CONST_DOUBLE.
16281         (movsf_const_lo): Add missing register mode.
16282         (goto_handler_and_restore): Add auxiliary test for Pmode.
16283         (flush): Adjust to use address_operand.
16284         (return_sf_no_fpu): Add missing output constraint.
16286 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
16288         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
16289         for call return value.
16290         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
16292 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
16294         * toplev.c (main): Only warn about options for other languages.
16295         * collect2.c (main): Pass -w to sub-gcc.
16297 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
16299         * flow.c (propagate_block): Add call-clobbered registers to
16300         significant too.
16302         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
16303         zapping mem_set_list.
16304         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
16305         (mark_set_1, mark_used_regs): Likewise.
16307 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
16309         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
16311 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
16313         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
16314         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
16315         options. Also add a new item "C-only Warning Options" to the
16316         option summary.
16318 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
16320         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
16321         from multiple calls.
16323 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
16325         * i386.md (call value patterns): Move to the end of the file.
16326         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
16328 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
16330         * configure.in (djgpp configuration): Define extra_objects..
16331         * configure: Rebuilt.
16332         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
16333         (DTORS_SECTION_ASM_OP): Define.
16334         (INIT_SECTION_ASM_OP): Define.
16335         (FINI_SECTION_ASM_OP): Define.
16336         (DATA_SECTION_ASM_OP): Define.
16337         (TEXT_SECTION_ASM_OP): Define.
16338         (EH_FRAME_SECTION_ASM_OP): Define.
16339         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
16340         (STARTFILE_SPEC): Add crtbegin.o.
16341         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
16342         to here from LINK_COMMAND_SPEC.
16343         (DO_GLOBAL_CTORS_BODY): Define.
16344         (CRTSTUFF_USE_FINI_SECTION): Define
16345         (HAS_INIT_SECTION): Delete.
16347 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
16349         * Makefile.in (all.cross): Depend on xcpp$(exeext).
16351 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
16353         * pa.h (PREDICATE_CODES): New.
16355         * genrecog.c (validate_pattern): Condense the destination
16356         non-lvalue message.
16358 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
16360         * alpha.md (call-1): Supply missing mode for operator.
16361         (*): Add missing output reload constraints.  Remove constraints
16362         from define_splits.
16364         * i386.h (SPECIAL_MODE_PREDICATES): New.
16365         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
16366         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
16367         (addsi_lea_3): Add missing mode for op 3.
16368         (prologue_set_got, prologue_get_pc): Add missing modes.
16369         (*) Add missing output reload constraints.
16371 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
16373         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
16374         check for member bit-size overflow and use var_size if it occurs.
16375         (layout_record): Use bitsize_int() to define the type size in bits.
16376         Likewise for computation and assignment to DECL_FIELD_BITPOS.
16377         (layout_decl): Likewise when assigning to DECL_SIZE.
16379 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
16381         * genrecog.c (validate_pattern): Typo last change.  Verify
16382         that output operands have output reloads.
16384 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
16386         * genrecog.c (special_mode_pred_table): New.
16387         (NUM_SPECIAL_MODE_PREDS): New.
16388         (find_operand): New.
16389         (validate_pattern): New argument `insn'.  Warn for assignment to
16390         any predicate accepting non-lvalues.  Conditionaly warn for
16391         match_operand without a mode.  Try much harder to match source
16392         and destination modes on a set.
16393         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
16395 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
16397         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
16399 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
16401         * combine.c (simplify_logical): Recognize xor pattern that encodes
16402         rotation.
16404 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16406         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
16407         alignment.
16409 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
16411         * ggc-page.c (MAP_FAILED): Provide default.
16413 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
16415         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
16416         * sparc.h (PREDICATE_CODES): Update.
16418 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
16420         * alpha.c (some_ni_operand): New.
16421         * alpha-protos.h: Declare it.
16422         * alpha.h (PREDICATE_CODES): Update.
16423         * alpha.md (sXaddq reload insns): Use some_ni_operand
16424         for SET_DEST instead of some_operand.
16426 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
16427                           Jim Wilson  <wilson@cygnus.com>
16429         * genrecog.c (maybe_both_true_2): Don't compare modes of
16430         two DT_pred tests.
16431         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
16432         after find_afterward.
16433         (debug_decision_1): Dump next and afterward codes.
16435 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
16437         * rtl.c (dump_and_abort): Remove.
16438         (fatal_with_file_and_line): New.
16439         (fatal_expected_char): New.
16440         (read_rtx_lineno, read_rtx_filename): New.
16441         (read_skip_spaces): Track line number.
16442         (read_name): Use fatal_with_file_and_line.
16443         (read_rtx): Use fatal_expected_char.  Track line number.
16444         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
16446         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
16447         if it isn't a CODE_LABEL.
16449         * genattr.c (main): Set read_rtx_filename.
16450         * genattrtab.c (main): Likewise.
16451         * gencodes.c (main): Likewise.
16452         * genconfig.c (main): Likewise.
16453         * genemit.c (main): Likewise.
16454         * genextract.c (main): Likewise.
16455         * genflags.c (main): Likewise.
16456         * genopinit.c (main): Likewise.
16457         * genoutput.c (main): Likewise.
16458         * genpeep.c (main): Likewise.
16460         * genrecog.c (decision_test.u.insn): Add `lineno'.
16461         (pattern_lineno, error_count): New variables.
16462         (message_with_line): New.
16463         (add_to_sequence): Break out checking code to ...
16464         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
16465         (merge_insn): Use message_with_line.
16466         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
16467         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
16469 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16471         * expr.c (store_constructor): Clear union if constructor is empty.
16473 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
16475         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
16476         Add !endian checks.  Change %{...} to %(...).
16478 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
16480         * i386.md (*addsi3_cc): Renamed from addcsi3.
16481         (*addsi3_carry): Renamed from addxsi3.
16482         (*subsi3_cc): Renamed from subcsi3.
16483         (*subsi3_carry): Renamed from subxsi3.
16484         (*xorqi_cc_1): Renamed from xorcqi_1.
16485         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
16486         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
16488 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
16490         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
16491         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
16493 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
16495         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
16496         climb up the chain of insns.
16498 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
16500         * genrecog.c (write_subroutine): Careful for null trees.
16501         (process_tree): Don't elide empty functions.
16503 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
16505         * Makefile.in (genrtl.o): Depend on ggc.h.
16506         * configure.in (valloc): Probe for it.
16507         (with-gc): Use ggc-page if valloc present.
16508         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
16509         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
16510         (ggc_alloc_string): Moved from ggc-page.c.
16511         * ggc-none.c (ggc_alloc_obj): New.
16512         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
16513         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
16514         (struct globals): Likewise for dev_zero_fd.
16515         (init_ggc): Likewise for it's initialization.
16516         (ggc_allocated_p): Move careful dereference from ...
16517         (ggc_lookup_page_table): ... here.  Delete.
16518         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
16519         (alloc_anon): Use valloc if no mmap.
16520         (release_pages): Use free if using valloc.
16521         (ggc_alloc_obj): Renamed from alloc_obj.
16522         (ggc_set_mark): Renamed from mark_obj.
16523         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
16524         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
16525         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
16526         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
16527         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
16528         (ggc_collect): Use fp printing instead of our own rounding.
16529         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
16530         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
16531         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
16532         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
16533         (struct ggc_string, struct ggc_any): Delete.
16534         (offsetof): Provide default definition.
16535         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
16536         (PTR_KEY): New.
16537         (struct ggc_mem): New, from corpse of ggc_any.
16538         (struct ggc_status): Delete.
16539         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
16540         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
16541         (n_strings_collected, n_anys_collected): Delete.
16542         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
16543         (ggc_alloc_string, ggc_alloc): Delete.
16544         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
16545         (ggc_free_string, ggc_free_any): Delete.
16546         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
16547         (ggc_compare_addresses, ggc_mark_string): Delete.
16548         (ggc_mark_string_if_gcable, ggc_mark): Delete.
16549         (search_data): Delete.
16550         (struct globals): New.
16551         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
16552         (tree_insert, tree_lookup): New.
16553         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
16554         (clear_marks, sweep_objs): New.
16555         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
16556         (init_ggc): Set allocated_last_gc.
16557         (ggc_push_context): Gut.  Use G.context.
16558         (ggc_pop_context): Likewise.
16559         (ggc_pop_context_1): New.
16560         (debug_ggc_tree): New.
16561         (debug_ggc_balance, tally_leaves): New.
16562         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
16563         (ggc_mark_string_if_gcable): Remove decl.
16564         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
16565         (ggc_mark_rtvec_children): New.
16566         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
16567         (ggc_mark_if_gcable): New decl.
16568         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
16569         (ggc_alloc_tree, ggc_alloc): Likewise.
16570         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
16571         (ggc_alloc_obj): New decl.
16572         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
16573         (ggc_alloc_tree, ggc_alloc): Likewise.
16574         (ggc_set_mark): New decl.
16575         * rtl.h (struct rtx_def): Remove gc_mark.
16576         (struct rtvec_def): Likewise.
16577         * tree.h (struct tree_common): Likewise.
16579 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
16581         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
16582         float_format and thread_file definitions.
16583         * configure: Rebuilt.
16585 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
16587         * extend.texi (Function Names): Document types of function names.
16589 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16591         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
16592         an earlyclobbered output conflict with RELOAD_INPUT reloads.
16594 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16596         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
16598 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16600         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
16602 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
16604         * collect2.c (main): Do prelimnary link on AIX if rflag.
16606 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16608         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
16609         __CTOR_LIST__ in opposite order, which is the correct order for sorted
16610         constructors.
16611         (__do_global_dtors): similarly for __DTOR_LIST__.
16613 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16614                                 Diego Novillo <dnovillo@cygnus.com>
16616         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
16617         FPUL_REGS.
16619 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
16621         * fixincl/*: Merged "no_bogosity" branch
16622         * fixincl/fixlib.h: protect against doubly defining t_bool
16623         * fixincl/server.h: protect against doubly defining t_bool
16625 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
16627         * genoutput.c: Include toplev.h.
16629 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
16631         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
16632         Undef.
16633         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
16634         * configure: Regenerate.
16636 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
16638         * gcse.c (delete_null_pointer_checks): Returns void.
16640 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16642         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
16643         * emit-rtl.c (copy_insn_1): Likewise.
16645 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16647         * config/mips/mips.c (mips_build_va_list): Correct
16648         TREE_CHAIN setting when hard-float.
16649         (mips_va_start): Use corrected setting.
16650         (mips_va_arg): Likewise.  Also pass a tree to build of
16651         POSTINCREMENT_EXPR rather than a naked 'int'.
16653 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
16655         * ggc.h (ggc_push_context): Fix comment.
16656         (ggc_pop_context): Likewise.
16657         (mark_string_if_gcable): Likewise.
16658         * ggc-common.c (ggc_mark_rtx_children): Use
16659         ggc_mark_string_if_gcable.
16660         * ggc-page.c (ggc_lookup_page_table): New function.
16661         (ggc_allocated_p): Likewise.
16662         (mark_obj): Fix formatting.
16663         (ggc_mark_string_if_gcable): New function.
16664         * ggc-simple.c (ggc_allocated_strings): New variable.
16665         (ggc_strings_used): Likewise.
16666         (ggc_compare_addresses): New function.
16667         (ggc_pop_context): Pop the `any' memory too.
16668         (ggc_mark_string_if_gcable): New function.
16669         (ggc_collect): Initialize and tear down ggc_allocated_strings.
16671 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
16673         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
16674         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
16675         * rs6000.c (expand_block_move): Match movstrsi_?reg register
16676         changes.
16678 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
16680         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
16681         (sched_reg_live_length, sched_reg_basic_block): Delete.
16682         (current_block_num, bb_live_regs, old_live_regs): Delete.
16683         (dead_notes, struct sometimes): Delete.
16684         (sched_note_set, birthing_insn_p): Delete.
16685         (adjust_priority): Gut useless reg lifetime code.
16686         (create_reg_dead_note, attach_deaths): Delete.
16687         (attach_deaths_insn, new_sometimes_live): Delete.
16688         (finish_sometimes_live): Delete.
16689         (find_pre_sched_live, find_post_sched_live): Delete.
16690         (update_reg_usage): Delete.
16691         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
16692         (schedule_insns): Delete reg lifetime code.
16693         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
16694         (unlink_other_notes): Adjust REG_NOTE commentary.
16695         (reemit_notes): Use REG_SAVE_NOTE.
16696         (schedule_block): Likewise.
16697         (schedule_region): Allocate bitmap of blocks in region.  Use
16698         count_or_remove_death_notes.  Use update_life_info.
16700         * rtl.h (REG_SAVE_NOTE): New.
16701         * rtl.c (reg_note_name): Update.
16703 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
16705         * combine.c (refresh_blocks, need_refresh): New.
16706         (combine_instructions): Allocate refresh_blocks.  Invoke
16707         update_life_info if needed.
16708         (distribute_notes): Mark refresh_blocks instead of installing
16709         USE insns.
16710         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
16711         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
16713         * Makefile.in (recog.o): Depend on basic-block.h.
16715 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
16717         * genrecog.c (add_to_sequence): Thinko last change: delete
16718         shadowing allow_const_int variable.
16720 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16722         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
16723         __GNUC__ and __GNUC_MINOR__.
16725         * gansidecl.h: Likewise.
16727         * rtl.c: Likewise.
16729         * rtl.h: Likewise.
16731         * toplev.h: Likewise.
16733         * tree.c: Likewise.
16735         * tree.h: Likewise.
16737         * varray.c: Likewise.
16739         * varray.h: Likewise.
16741 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16743         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
16744         use one before a jump table.
16746         * rtl.def (ADDRESS): Change documentation to match reality.
16747         * md.texi: Don't document it.
16748         * gmicro.md (load address pattern): Use 'p' constraint, delete use
16749         of ADDRESS rtx.
16751         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
16753 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
16755         * genrecog.c (add_to_sequence): Move allow_const_int test outside
16756         known predicate block; default allow_const_int true.
16757         (debug_decision_list): New.
16759 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
16761         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
16763 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
16765         * gcse.c (gcse_main): Avoid global optimizations if we have a
16766         large number of basic blocks and the ratio of edges to blocks
16767         is high.
16768         (delete_null_pointer_checks): Likewise.
16770 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
16772         * c-common.c (check_format_info): Warn if format string isn't a
16773         string literal.
16775 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16777         * configure.in (arm*-*-*): Don't let autoconf remove brackets
16778         * configure: regenerate
16780 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
16782         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
16783         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
16784         (peepholes): Re-enable.
16786 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
16788         * Makefile.in (flow.o): Depend on TREE_H.
16789         * basic-block.h (REG_SET_EQUAL_P): New.
16790         (XOR_REG_SET): New.
16791         (n_edges): Declare.
16792         (free_regset_vector): Remove declaration.
16793         (flow_delete_insn_chain): Declare.
16794         (enum update_life_extent): New.
16795         (update_life_info, count_or_remove_death_notes): Declare.
16796         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
16797         Verify register live at bb->global_live_at_start before adding USE.
16798         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
16799         (CLEAN_ALLOCA): New.
16800         (n_edges): New.
16801         (PROP_*): New flags.
16802         (find_basic_blocks_1): Use alloc_EXPR_LIST.
16803         (clear_edges): Zero n_edges.
16804         (make_edge): Increment n_edges.
16805         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
16806         (flow_delete_insn_chain): Export.
16807         (delete_block): Decrement n_edges.
16808         (merge_blocks_nomove): Likewise.
16809         (life_analysis): Give life_analysis_1 PROP flags.
16810         (verify_wide_reg_1, verify_wide_reg): New.
16811         (verify_local_live_at_start): New.
16812         (update_life_info): Rewrite to call into propogate_block.
16813         (mark_reg): New.
16814         (mark_regs_live_at_end): After reload, if epilogue as rtl,
16815         always mark stack pointer.  Conditionally mark PIC register.
16816         After reload, mark call-saved registers, return regsiters.
16817         (life_analysis_1): Accept PROP flags not remove_dead_code.
16818         Call mark_regs_live_at_end before zeroing regs_ever_live.
16819         Use calculate_global_regs_live.  Copy global_live_at_end before
16820         calling final propagate_block.  Zero reg_next_use on exit.
16821         (calculate_global_regs_live): New.
16822         (allocate_bb_life_data): Don't allocate bb->local_set.
16823         (init_regset_vector, free_regset_vector): Remove.
16824         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
16825         Test flags before every operation.  Warn if prologue/epilogue insn
16826         would have been deleted.
16827         (mark_set_regs, mark_set_1): Accept and use FLAGS.
16828         Use alloc_EXPR_LIST.
16829         (mark_used_regs): Accept and use FLAGS, not FINAL.
16830         Remove special handling for RETURN.
16831         (try_pre_increment): Use alloc_EXPR_LIST.
16832         (dump_flow_info): Dump n_edges.
16833         (unlink_insn_chain, split_hard_reg_notes): Remove.
16834         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
16835         (find_insn_with_note, new_insn_dead_notes): Remove.
16836         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
16837         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
16838         (replace_insns): Remove.
16839         (count_or_remove_death_notes): New.
16840         (verify_flow_info): Abort on error after all checks.
16841         (remove_edge): Decrement n_edges.
16842         (remove_fake_edges): Tweak format.
16843         * haifa-sched.c (schedule_insns): Use split_all_insns.
16844         * output.h (update_life_info): Remove declaration.
16845         * recog.c (split_all_insns): From the corpse of split_block_insns,
16846         do the whole function block by block.  Use update_life_info.
16847         (recog_last_allowed_insn): New.
16848         (recog_next_insn): Mind it.
16849         (peephole2_optimize): Set it.  Walk backwards through blocks.
16850         Use update_life_info.
16851         * rtl.h (update_flow_info, replace_insns): Remove declarations.
16852         (split_all_insns): Declare.
16853         * toplev.c (rest_of_compilation): Thread prologue before flow2.
16854         Use split_all_insns.
16856         * i386.md (or -1 peep2s): Disable.
16858 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
16860         * config/mips/mips.md (movstrsi+[123]) : Combine these into
16861         a single pattern.  Scrap the 'd' versions as unnecessary.
16863         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
16864         tablejump_mips162,tablejump_internal4): The operands to a
16865         label_ref must be VOIDmode.
16867 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16869         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
16871 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16873         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
16875 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16877         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
16878         cache every function if ggc_p.
16880 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16882         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
16883         instead of copy_rtx.  Accept sequences that contain asm statements.
16884         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
16885         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
16886         orig_asm_operands_vector, copy_asm_operands_vector,
16887         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
16888         variables.
16889         * rtl.h (copy_insn, copy_insn_1): Declare.
16891 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16893         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
16895         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
16896         arguments to `current_file_function_operand'.
16898         * genrecog.c: Include hard-reg-set.h and resource.h in the
16899         generated output file.
16901         * real.c: Include tm_p.h.
16903 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16905         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
16906         output operand.
16908 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
16910         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
16911         before the fctiwz insn.
16913 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16914                           Mark Mitchell  <mark@codesourcery.com>
16916         * tree.c (make_lang_type_fn): New funtion pointer.
16917         (make_lang_type): Call it.
16918         * tree.h (make_lang_type): Declare.
16919         (make_lang_type_fn): Likewise.
16920         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16922 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
16924         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16925         make sure that HIGH instructions are copied into BASE_REGS.
16927 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
16929         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16931 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
16933         * c-decl.c (finish_struct): Use simpler method of
16934         removing elements of a singly-linked list.
16936 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
16938         * alpha.md (peephole2's): Comment out peephole2's that generate
16939         buggy code.
16941 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
16943         * genrecog.c (add_to_sequence): Disable mode check for
16944         wildcard matches.
16946 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16948         * ggc-simple.c (init_ggc): Set empty_string.
16950 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
16952         * configure.in: Detect mmap.  Add --with-gc=foo to select
16953         garbage collector; default to page if mmap available.
16954         * Makefile.in (GGC): Substitute.
16956 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
16958         * c-decl.c (ggc_p): Enable.
16960 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16962         * flow.c (verify_flow_info): Make it extern & unconditionally define.
16964 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
16966         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16967         string for little-endian-data.
16969 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
16971         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16972         case somebody tries to compile --enable-checking code with gcc
16973         1.34 or such.
16975 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
16977         * genrecog.c (add_to_sequence): Verify operand to label_ref is
16978         VOIDmode.
16980 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
16982         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16983         * jump.c (jump_optimize_1): Document why.
16985 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16987         * collect2.c (scan_prog_file, scan_libraries): Prototype function
16988         pointers and casts for `int_handler' and `quit_handler'.
16990         * flow.c (verify_flow_info, split_hard_reg_notes,
16991         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16992         remove_edge, remove_fake_successors): Add static prototypes.
16993         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16994         (mark_set_1): Initialize variable `regno'.
16995         (unlink_insn_chain): Likewise for variable `curr'.
16996         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16998         * loop.c (strength_reduce): Initialize variable
16999         `unrolled_insn_copies'.
17000         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
17001         prototypes.  Change these functions to take const PTR parameters
17002         to avoid prototype conflict when used as the comparson argument
17003         for qsort.
17004         (check_dbra_loop): Initialize variable `comparison_val'.
17006         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
17007         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
17008         (find_valid_class): Initialize variable `best_class'.
17009         (find_reloads): Call memcpy, not bcopy.
17011         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
17012         (hard_reg_use_compare): Don't needlessly cast away const.
17013         (reload_reg_class_lower): Likewise.
17014         (choose_reload_regs): Initialize variable `regno'.
17016 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
17018         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
17020 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
17022         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
17023         ({,d}discard): Add forward declarations.  Declare parameter as
17024         unused.
17025         (main_without_main): Explicitly declare return type to be int.
17026         (memcpy): Properly declare.
17028         * libgcc2.c (toplevel): If inhibit_libc is defined and not
17029         building the trampoline support, declare malloc, free, and
17030         atexit.
17031         (__clear_cache): Mark arguments as potentially unused.
17033         * frame.c (toplevel): If inhibit_libc is defined, declare
17034         malloc and free.
17036 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
17038         * flow.c (make_edge): Accept an optional 2D bitmap in which
17039         to cache edge existence.  Update all callers.
17040         (make_label_edge, make_eh_edge): Pass through the edge cache.
17041         (make_edges): Provide the cache.
17043 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17045         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
17046         a char*.
17047         (local_mbtowc): Change the type of variable `i' from int to size_t.
17049         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
17050         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
17052 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
17054         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
17055         after other includes that define the appropriate types.  Include
17056         tm_p.h for getting user prototypes.
17057         * ggc-callbacks.c (toplevel): Ditto.
17058         * ggc-none.c (toplevel): Ditto.
17059         * gcc-page.c (toplevel): Ditto.
17060         * ggc-simple.c (toplevel): Ditto.
17062 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
17063                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
17065         * config/mips/mips.c (mips_move_2words): Split doubles if
17066         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
17068 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
17070         * genrecog.c (struct decision_test): New.
17071         (struct decision): Remove test-related members, sort the rest by size.
17072         (IS_SPLIT): Simplify.
17073         (new_decision, new_decision_test): New.
17074         (add_to_sequence): Use them.  No special handling for args of
17075         non-MATCH codes.
17076         (maybe_both_true): Renamed from not_both_true; return sense changed.
17077         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
17078         of maybe_both_true and adjusted for decision_test.
17079         (position_merit): Remove.
17080         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
17081         (merge_accept_insn): New, broken out of merge_trees.
17082         (merge_trees): Use them.  No special case for c_test; no node
17083         splitting; use test type instead of position_merit.
17084         (factor_tests): New.
17085         (simplify_tests): New.
17086         (break_out_subroutines): Don't write code now.
17087         (find_afterward): New.
17088         (write_afterward, write_switch, write_cond): New.
17089         (write_action, is_unconditional): New.
17090         (write_node): New.  Use them.
17091         (write_tree_1): Rewrite.  Use the new functions above.
17092         (write_tree): Remove afterward processing.
17093         (write_subroutine): Simplify function variant emission.
17094         (write_subroutines): New.
17095         (same_codes, clear_codes): Remove.
17096         (same_modes, clear_modes): Remove.
17097         (write_header): New, broken out of main.
17098         (make_insn_sequence): Use new_decision and new_decision_test.
17099         (process_tree): New, broken out of main.
17100         (main): Adjust for merge_trees interface change.
17101         Don't #define operands in the output file.
17102         (record_insn_name): New, broken out of make_insn_sequence.
17103         (debug_decision_2, debug_decision_1, debug_decision_0): New.
17104         (debug_decision): New.
17106 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
17108         * resource.c (find_free_register): Mark class_str argument const.
17109         * resource.h: Update prototype to match.
17111         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
17112         * i386.md: Give all anonymous insns names.
17114 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
17116         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
17117         blocks.
17119 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
17121         * toplev.c (dbr_sched_time): Unconditional.
17122         (peephole2_time): New.
17123         (compile_file): Add pass numbers to all of the dump file suffixes.
17124         Dump peephole2_time.  Don't dump times for non-applicable passes.
17125         (rest_of_compilation): Add pass numbers to dump file suffixes.
17126         Conditionalize calls to the scheduler.
17127         * invoke.texi: Update.
17129 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
17131         * flow.c (make_edges): Fix insn iteration.
17132         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
17133         (find_basic_blocks_1): Fix spelling mistake.
17135 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
17137         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
17138         always have side-effects.  Use memset not bzero.
17139         (make_node): Likewise.
17141 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
17143         * stmt.c (expand_anon_union_decl): When any of the elements of the
17144         union is addressable, so is the entire union.
17146 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
17148         * sbitmap.c (sbitmap_ones): Don't set too many bits.
17150         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
17151         * bitmap.c (bitmap_operation): Return true iff TO changed.
17152         (bitmap_equal_p): New.
17153         (bitmap_bit_p): Tidy arithmetic.
17154         (debug_bitmap_file): Likewise.
17156 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
17158         * toplev.c (rest_of_compilation): Turn on cse_not_expected
17159         before cse2 instead of after.
17161 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
17163         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
17164         register offsets.
17166 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17168         * cppinit.c (is_idchar initializer): Loosen tests to accept
17169         gcc 2.>6 and >2.
17171 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
17173         * mips.md: Define conditional move patterns for floating point
17174         operands and DI mode conditions.
17176 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
17178         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
17179         always have side-effects.
17181 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
17183         * mn10200.c (asm_file_start): Fix typo.
17185         * cppinit.c (is_idchar initializer): Tighten tests for when
17186         to put the table into initialized memory.
17188         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
17189         not an array of rtunion.
17190         * gcc-page.c (ggc_alloc_rtvec): Similarly.
17191         * gcc-simple (ggc_free_rtvec): Similarly.
17193         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
17194         of rtunions.
17196         * mbchar.h: Add missing #endif.
17198         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
17199         (FPBIT, DPBIT): Define.
17201 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17203         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
17205         * profile.c (instrument_arcs, output_gcov_string,
17206         tablejump_entry_p): Add static prototypes.
17207         (output_gcov_string): Constify a char*.
17209         * regmove.c (replacement_quality, fixup_match_2): Add static
17210         prototypes.
17212         * resource.h (reg_dead_p): Add extern prototype.
17214         * rtl.c (trim_filename): Add static prototype.
17216         * scan-decls.c (skip_to_closing_brace): Likewise.
17218         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
17219         (expand_end_case): Initialize variable `range'.
17220         (emit_case_nodes): Remove unused prototype `rtx_fn'.
17222         * varasm.c (asm_emit_uninitialised): Add static prototype.
17223         (asm_emit_uninitialised, assemble_variable): Mark parameter with
17224         ATTRIBUTE_UNUSED.
17226 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17228         * cpplib.c (if_directive_nameo): Add static prototype.
17230         * cse.c (cse_insn): Remove unused variable `p'.
17232         * except.c (create_rethrow_ref, push_entry,
17233         receive_exception_label, new_eh_region_entry, find_func_region,
17234         clear_function_eh_region, process_nestinfo): Add static prototypes.
17235         (get_reg_for_handler): Hide definition.
17236         (process_nestinfo): Initialize variable `extra_handlers'.
17238         * expr.h (expand_builtin_longjmp): Add extern prototype.
17240         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
17242         * function.c (prepare_function_start): Likewise.
17243         (pop_function_context_from): Mark parameter `context' with
17244         ATTRIBUTE_UNUSED.
17245         (push_temp_slots_for_block, flush_addressof): Hide definition.
17247         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
17248         solve_program_flow_graph, calculate_branch_probs,
17249         function_summary, main, fancy_abort): Add prototypes.
17251         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
17252         (add_hash): Constify a char*.
17254         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
17255         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
17256         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
17258         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
17260         * lists.c (free_list, zap_lists): Likewise.
17262 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17264         * alias.c (nonlocal_reference_p): Add static prototype.
17266         * bitmap.c (bitmap_element_allocate): Prototype args in function
17267         pointer cast.
17269         * builtins.c (stabilize_va_list): Add static prototype.
17270         (expand_builtin_va_arg): Constify a char*.
17272         * c-lex.c (getch, put_back, extend_token_buffer_to,
17273         read_line_number, token_getch, token_put_back): Add static
17274         prototypes.
17276         * c-parse.gperf (hash, is_reserved_word): Likewise.
17278         * cccp.c (is_dir_separator): Likewise.
17280 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17282         * graph.h: New file to prototype functions exported by graph.c.
17284         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
17286         * graph.c: Include graph.h.
17288         * toplev.c: Likewise.  Remove redundant prototypes.
17290 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
17292         * invoke.texi: Removed duplicated description for -Q.
17294 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
17296         * extend.texi: Grammar fix in __extension__ text.
17298 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
17300         * md.texi (define_peephole2): New section.
17302 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
17304         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
17305         (mov $-1 to or peepholer): Enable for pentium when optimizing for
17306         speed.
17308 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
17310         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
17312 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
17314         * i386.md (ffs expander): Emit Pentium friendly code for
17315         TARGET_PENTIUM.
17317 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
17319         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
17320         for non-trees.
17321         (build1): Likewise.
17323 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17325         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
17327 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
17329         * config/m68k/m68k.c (use_return_insn): Return false if the pic
17330         register is in use.
17332 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17334         * md.texi (No Constraints): Delete section.
17335         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
17336         * final.c (final_scan_insn): We always have register constraints.
17337         * genattrtab.c: Don't include "insn-config.h".
17338         (write_attr_case): We always have register constraints.
17339         * genconfig.c (register_constraint_flag): Delete.
17340         (walk_insn_part): Don't check whether we have register constraints.
17341         (main): Don't write out "#define REGISTER_CONSTRAINTS".
17342         * genoutput.c (have_constraints): Delete.
17343         (main): Don't set it.
17344         (output_operand_data): We always have constraints.
17345         (scan_operands): Likewise.
17346         (compare_operands): Likewise.
17347         * local-alloc.c (block_alloc): We always have constraints.
17348         (requires_inout): Always compile this function.
17349         * recog.c (extract_insn): We always have constraints.
17350         (constrain_operands, reg_fits_class_p): Always compile these
17351         functions.
17352         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
17353         fields.
17354         (struct insn_operand_data): Likewise.
17355         * regclass.c (regclass): We always have constraints.
17356         (record_reg_classes, copy_cost, record_address_regs,
17357         auto_inc_dec_reg_p): Always compile these functions.
17358         * regmove.c (regmove_optimize): We always have constraints.
17359         * reload.c (find_reloads): Likewise.
17360         * reload1.c (reload): Likewise.
17361         (reload_cse_simplify_operands): Likewise.
17362         * i860.c (output_delay_insn): Likewise.
17364 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
17366         * iris6.h (BUILD_VA_LIST_TYPE): Define.
17368 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17370         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
17371         for the va_list record.
17373 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
17375         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
17376         prologues.
17378 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
17380         * alias.c: Include insn-flags.h.
17381         * Makefile.in (alias.o): Update.
17383 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
17385         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
17386         to LTU and GEU.  Handle more cases using sbb.
17388 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
17390         * i386.md (truncatexfdf splitters): Do not use subreg.
17391         (fop XFmode patterns): Fix mode in operand testing.
17393 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
17395         * jump.c (jump_optimize_1): Amend last change to test only the
17396         form of the operand, not the insn.
17398         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
17399         not register_operand to determine when B may need preloading.
17401 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
17403         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
17404         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
17405         (call-value patterns): Move to end of file.
17406         (*): Remove mode from label_ref in (pc) context.
17407         (movstrqi): Use memory not general_operand for BLKmode operands.
17408         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
17409         to register_operand operands.
17410         (peep2 patterns): Convert from commented-out peephole patterns.
17412 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17414         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
17415         to BUILT_IN_INIT_DWARF_REG_SIZES.
17416         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
17417         Renamed from BUILT_IN_DWARF_REG_SIZE; call
17418         expand_builtin_init_dwarf_reg_sizes.
17419         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
17420         with __builtin_init_dwarf_reg_size_table.
17421         * dwarf2out.c (struct reg_size_range): Delete.
17422         (expand_builtin_init_dwarf_reg_sizes): New function.
17423         (expand_builtin_dwarf_reg_size): Delete.
17424         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
17425         (expand_builtin_dwarf_reg_size): Don't declare.
17426         * libgcc2.c (dwarf_reg_size_table_initialized): New.
17427         (dwarf_reg_size_table): New.
17428         (init_reg_size_table): New function.
17429         (copy_reg): Use dwarf_reg_size_table.
17430         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
17431         before use.
17433 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
17435         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
17436         Correctly build argument list to constructor and destructor functions.
17438 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
17440         * c-tree.h (warn_float_equal): Declare.
17441         * c-decl.c (warn_float_equal): Define.
17442         (c_decode_option): Recognize -W[no-]float-equal.
17443         * c-typeck.c (build_binary_op): Conditionally warn
17444         about equality tests of floating point types.
17445         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
17446         * invoke.texi: Add docs for -Wfloat-equal warning.
17448 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
17450         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
17451         generating RTL directly.
17452         * mips.h (INIT_TARGET_OPTABS): Likewise.
17453         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
17455         * expr.h (init_mov_optab): Delete declaration
17457         * h8300.c (WORD_REG_USED): Update to avoid useless register
17458         saves in interrupt functions and functions which never return.
17460         * cse.c (struct set): Delete inner_dest_loc field.
17461         (cse_insn): Remove assignments to inner_dest_loc field.
17463 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
17465         * ggc-page.c: Don't include <unistd.h> etc taken care of
17466         by "system.h".  Include <sys/mman.h> afterward.
17468 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
17470         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
17471         ggc_alloc_string.
17473 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
17475         * xcoffout.c (xcoffout_declare_function): Add documentation.
17476         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
17477         TARGET_64BIT.  Compare constant to -1, not bit pattern.
17478         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
17479         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
17480         gen_movsi typos.
17482 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
17484         * dwarf2out.c (add_abstract_origin_attribute): Abort if
17485         origin_die is NULL.
17486         (gen_inlined_enumeration_type_die): Do not abort if the type has
17487         not been writeen out.
17488         (gen_inlined_structure_type_die): Do not abort if the type has
17489         not been writeen out.
17490         (gen_inlined_union_type_die): Do not abort if the type has
17491         not been writeen out.
17492         (gen_tagged_type_instantiation_die): Do not abort if the type
17493         has not been written out.
17495 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17497         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
17498         call it.
17499         * reg-stack.c (straighten_stack): Copy hard reg set with
17500         COPY_HARD_REG_SET.
17502 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
17504         * builtins.c (stabilize_va_list): Stabilize array type va_list
17505         to a pointer type, not the base record type.
17506         (expand_builtin_va_copy): Dereference the pointers explicitly;
17507         use the correct size for the copy.
17509         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
17510         (rs6000_va_arg): Likewise.
17512 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
17514         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
17516 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
17518         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
17519         field.
17520         (DECL_BUILT_IN_CLASS): Adjust accordingly.
17522 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
17524         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
17525         (init_ggc): Use it instead of a constant.
17526         (ggc_collect): Bound allocated_last_gc by it.
17528 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
17530         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
17531         with va_list.
17533 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
17535         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
17536         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
17537         * configure:  Regen.
17538         * config/mips/openbsd.h:  New, OpenBSD little endian target.
17539         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
17540         * config/mips/xm-openbsd.h:  New, OpenBSD host.
17542 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
17544         * config/m68k/m68k.c (output_function_prologue,
17545         output_function_epilogue): Use
17546         current_function_uses_pic_offset_table instead of regs_ever_live
17547         to decide whether to save/restore pic register.
17548         (legitimize_pic_address): Don't modify regs_ever_live any more.
17550 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
17552         * function.h (struct function): Add x_dont_save_pending_sizes_p.
17553         * stor-layout.c (variable_size): Don't add sizes to the pending
17554         sizes list if x_dont_save_pending_sizes_p is set.
17556 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
17558         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
17559         for symbolic_operand().
17560         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
17562 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17564         * combine.c (gen_rtx_combine): Add missing call to va_end().
17566         * final.c (asm_fprintf): Likewise.
17568         * genattrtab.c (attr_rtx): Likewise.
17570 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
17572         * cse.c: Update comments.
17573         (cse_insn): When converting a conditional/computed jump into
17574         an unconditional jump, always make sure a BARRIER immediately
17575         follows the converted jump.  Do not delete unreachable code.
17576         (cse_basic_block): Do not delete unreachable code.
17577         * toplev.c (rest_of_compilation): Move call to
17578         delete_trivially_dead_insns after the conditional call to
17579         jump_optimize.
17581 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17583         * collect2.c (make_temp_file): Don't prototype.
17585         * gcc.c (make_temp_file): Likewise.
17587         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
17589 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
17591         * varasm.c (asm_emit_uninitialised): New function: Generate
17592         the assembler statements necessary to declare an uninitialised
17593         variable.
17594         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
17595         variable.
17596         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
17597         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
17598         section.
17599         (assemble_variable): Use asm_emit_uninitialised to emit an
17600         uninitialised variable.
17602 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
17604         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
17605         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
17606         <geoffk@cygnus.com>.
17608 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17610         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
17611         * c-common.h (builtin_function): Don't declare.
17613         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
17614         DECL_BUILT_IN.
17615         (pushdecl): Likewise.
17616         (finish_decl): Likewise.
17617         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
17618         int.  All callers changed.
17619         Set the builtin's DECL_BUILT_IN_CLASS.
17620         * tree.h (enum built_in_class): New.
17621         (enum built_in_function): Delete NOT_BUILT_IN.
17622         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
17623         in a union.
17624         (DECL_SET_FUNCTION_CODE): Likewise.
17625         (DECL_BUILT_IN_CLASS): New macro.
17626         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
17627         (struct tree_decl): Split builtin function code field into a
17628         struct.
17629         (builtin_function): Declare.
17631 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
17633         * optabs.c (init_traps): Fix typo in last change.
17635 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
17637         * toplev.c (rest_of_decl_compilation): Update comment.
17639 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17641         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
17642         in .sbss if appropriate.
17643         (EXTRA_SECTION_FUNCTIONS): Add sbss.
17644         (SBSS_SECTION_ASM_OP): New macro.
17645         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
17646         (EXTRA_SECTIONS): Add in_sbss.
17647         * config/mips/mips.h: Prototype sbss_section.
17649 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
17651         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
17652         to disappear.
17654 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
17656         * optabs.c (init_traps): Register trap_rtx as a GC root.
17658 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17660         * config/mips/mips.c (function_arg_pass_by_reference): Define
17661         unconditionally, since it's called unconditionally.
17663 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
17665         * toplev.c (documented_lang_options): Add -fshort-wchar.
17666         * c-decl.c (c_decode_option): Likewise.
17667         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
17668         for wchar_t.
17669         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
17670         * gcc.c (default_compilers): If -fshort-wchar,
17671         override __WCHAR_TYPE__.
17672         * tm.texi (C Dialect Options): Add -fshort-wchar.
17674         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
17675         symbol for a variable.
17677         * cpplib.h (CPP_PREPROCESSED): New macro.
17678         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
17679         we're seeing this input for a second time.
17681 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
17683         * emit-rtl.c (init_emit_once): Initialize modes first.
17685 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
17687         * config/i386/i386.c (pic_label_name): Change to char pointer.
17688         (global_offset_table): New variable.
17689         (load_pic_register): Fill global_offset_table if it hasn't
17690         already been done.  Allocate pic_label_name dynamically.
17691         * ggc.h (empty_string): New variable.
17692         * ggc-simple.c (empty_string): Likewise.
17693         (init_ggc): Allocate empty_string and add as root.
17694         * stmt.c (digit_strings): New variable.
17695         (init_stmt): Add last_block_end_note as root.  Allocate and
17696         initialize digit_strings.
17697         (expand_asm_operands): Use empty_string instead of string
17698         constant.  Use digit_strings instead of string constants.
17699         * profile.c (init_arc_profiler): Allocate string with
17700         ggc_alloc_string instead of xmalloc.
17701         (output_func_start_profiler): Likewise.
17702         * c-typeck.c (digest_init): Check if init is error_mark_node.
17704 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
17705                           Richard Henderson  <rth@cygnus.com>
17707         * ggc-page.c: New file.
17708         * Makefile.in (ggc-page.o): New.
17710 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
17712         * invoke.texi: Document -fdelete-null-pointer-checks
17713         * toplev.c (flag_delete_null_pointer_checks): New.
17714         (f_options): Add entry for -fdelete-null-pointer-checks.
17715         (rest_of_compilation): Conditionalize null pointer check
17716         elimination on flag_delete_null_pointer_checks.
17717         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
17719 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
17721         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
17722         copyright notice and special exception to GPL.
17724 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17726         * abi64.h (mips_function_value): Add prototype arguments.
17728         * mips-protos.h: New file with mips prototypes.
17730         * mips.c: Include "tm_p.h".
17731         (mktemp, lookup_name): Add prototype arguments.
17732         (extern_list, string_constant, mips_fill_delay_slot,
17733         mips_output_external, mips_output_external_libcall,
17734         mips_output_filename, mips_declare_object, function_prologue,
17735         mips_expand_prologue, function_epilogue, mips16_constant,
17736         build_mips16_function_stub, mips_output_conditional_branch):
17737         Constify a char*.
17738         (mips_va_start): Remove unused variable `u'.
17739         (mips_va_arg): Cast value to unsigned when comparing against one.
17740         (trace): Delete.
17741         (save_restore_insns, mips_expand_prologue): Add missing arg in
17742         call to `large_int'.
17744         * mips.h: Move prototypes to mips-protos.h.
17745         (data_section, memory_address_p, rdata_section,
17746         readonly_data_section, simple_epilogue_p, text_section): Delete
17747         prototypes delcared elsewhere.
17748         (mips_epilogue_delay_slots, print_options): Delete unused decls.
17749         (trace): Delete.
17750         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
17752         * mips.md: Delete extra args in call to `mips_move_2words'.
17754         * xm-iris6.h (alloca): Add prototype argument.
17756         * genpeep.c: Include "tm_p.h" in generated output file.
17758 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17760         * basic-block.h (find_edge_index): Change parameters.
17761         * flow.c (verify_edge_list): Pass basic_block parameters to
17762         find_edge_index instead of integers.
17764 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
17766         * combine.c (simplify_comparison): Use an unsigned shift to adjust
17767         the constant.
17769 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
17771         * gcc.1: Fix a formatting error.
17773 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17775         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
17776         i786, mn10200, mn10300, pdp11, v850.
17778 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
17780         * libgcc2.c (num_digits): Add prototype with
17781         __attribute__((const)).
17782         (__terminate): Add prototype.
17784 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
17786         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
17788         * alpha/alpha.c (print_operand): Fix type of `code'.
17789         (alpha_output_filename): Constify.
17790         * alpha/alpha.h: Move all function declarations ...
17791         * alpha/alpha-protos.h: ... here.  New file.
17792         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
17793         (SECTION_FUNCTION_TEMPLATE): Likewise.
17795 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17797         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
17798         * expr.c (expand_expr): Likewise.
17799         (do_jump): Likewise.
17800         (do_store_flag): Pass ccp_store_flag to can_compare_p.
17801         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
17802         accessor macros.
17803         (enum can_compare_purpose): New.
17804         (can_compare_p): Adjust prototype.
17805         (prepare_cmp_insn, prepare_operand): Declare.
17806         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
17807         * optabs.c (cmp_available_p): Deleted.
17808         (expand_abs): Pass ccp_jump to can_compare_p.
17809         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
17810         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
17811         Call can_compare_p rather than cmp_available_p.
17812         (prepare_operand): No longer static.
17813         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
17814         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
17815         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
17816         sequence to use emit_cmp_and_jump_insns.
17817         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
17819 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
17821         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
17822         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
17823         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
17824         (plus (reg) (const_int 0))
17825         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
17827 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
17829         * rs6000.c (expand_block_move): DImode loads and stores require
17830         word-aligned displacements.  Increment address registers with
17831         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
17833 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
17835         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
17836         is no name for the base type, rather than segfault.  If we are
17837         writing out a complex integer type, use DW_ATE_lo_user.
17839         * expr.c (emit_move_insn_1): If we are copying a complex that fits
17840         in one word or less (complex char, complex short, or on 64 bit
17841         systems complex float) to/from a hard register, copy it through
17842         memory instead of dying in gen_{real,imag}part.  If we have a
17843         short complex type, prevent inlining since it allocates stack
17844         memory.
17846         * tree.c (build_complex_type): If we are writing dwarf2 output,
17847         generate a name for complex integer types.
17849 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17851         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
17852         * flow.c (remove_edge): Remove extra whitespace.
17853         (remove_fake_edges): Fix comment.
17854         (add_noreturn_fake_exit_edges): Use the correct name.
17856 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
17858         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
17859         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
17860         (clean): Depend on INTL_CLEAN.
17861         (maintainer-clean): Adjust.
17863 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17865         * configure.in (AC_PREREQ): Bump to 2.13.
17866         (AC_C_STRINGIZE): Call this instead of using a custom macro.
17868         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
17870         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
17872         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
17874         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
17875         (HAVE_STRINGIZE): Define.
17877 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
17879         * c-parse.in: save and restore warn_pointer_arith on __extension__
17880         along with pedantic.
17881         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
17882         Set the type of extension to itype rather than $<itype>1 kludge.
17883         * extend.texi (Alternate Keywords): Adjust documentation.
17884         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
17886 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
17888         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
17889         most assembler templates.
17891         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
17892         FP loads and stores.
17893         (following_call): Always return zero for the PA8000.
17894         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
17895         FP loads and stores.
17896         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
17898         * pa.h (BRANCH_COST): Define.
17900         * pa.md (return, return_internal): Use bve for PA2.0.
17902         * pa.md (fused multiply): Add variants which reduce height for the
17903         fused multiply, but which still generate 2 insns.
17904         (fnegabs): Similarly.
17906         * pa.md (subsi3): Turn into an expander.  Create two anonymous
17907         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
17908         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
17910         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
17911         for TARGET_PA_20.
17912         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17913         code generation.
17914         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17915         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17917         * regclass.c (init_regs): Add "top_of_stack" as a garbage
17918         collection root.
17920         * flow.c (record_active_eh_regions): Terminate loop after finding
17921         the last insn in the last basic block.
17923 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17925         * config/c4x/c4x.md: Delete parallel instruction peepholes.
17927 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17929         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17931 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17933         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17934         splitting to not use output template.
17936 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17938         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17939         * config/c4x/c4x.c (c4x_va_start): New function.
17941 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
17943         * genrecog.c (not_both_true): Handle correctly cases when called for
17944         tests with different positions in the insn.
17946 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17948         * machmode.h (HOST_PTR_PRINTF): Move from here ...
17950         * system.h (HOST_PTR_PRINTF): ... to here.
17952         * mips-tfile.c: Don't include machmode.h.
17954         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
17955         (mips-tfile.o): Don't depend on machmode.h.
17957 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17959         * haifa-sched.c (sched_analyze): Rename local variable `region' to
17960         avoid conflicts with typedef struct `region' at the top level scope.
17962 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
17964         * basic-block.h (basic_block): Add eh_beg, eh_end.
17965         * flow.c (entry_exit_blocks): Update.
17966         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17967         Call new functions.
17968         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
17969         lists.c functions to allocate insn lists.
17970         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
17971         edge creation ...
17972         (make_eh_edge): ... here.  New.
17973         (move_stray_eh_region_notes): New.
17974         (record_active_eh_regions): New.
17975         (delete_unreachable_blocks): Split out block merging ...
17976         (try_merge_blocks): ... here.  New.
17977         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17978         Dump debugging data.
17979         (merge_blocks_move_successor_nojumps): Likewise.
17980         (merge_blocks): Use eh_beg+eh_end to validate block movement.
17982 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17984         * extend.texi (Bound member functions): Document unbound pmf
17985         conversion.
17987 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17989         * flow.c (split_edge): Handle insertion on a fallthrough edge which
17990         has the EXIT_BLOCK as a dest.
17992 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17994         * flow.c (remove_edge): New function to remove an edge from the
17995         flow graph.
17996         (remove_fake_successors): New function to remove fake successor edges.
17997         (remove_fake_edges): New function to remove all fake edges from the
17998         flow graph.
17999         (add_fake_exit_edges): New function to add fake edges from all blocks
18000         with no successors to the exit block.
18001         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
18002         prototypes for new functions.
18004 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18006         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
18007         Use Pmode to determine whether to output .dword or .word.
18009 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
18011         * tree.c (built_in_filename): New variable.
18012         (BUILT_IN_FILENAME): New macro.
18013         (init_tree_codes): Allocate built_in_filename.
18014         (make_node): Use built_in_filename instead of string constant.
18016 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
18018         * configure.in: Add fr30 target.
18019         * configure: Regenerate.
18020         * config/fr30: New directory.
18021         * config/fr30/crti.asm: New file.
18022         * config/fr30/fr30.c: New file.
18023         * config/fr30/crtn.asm: New file.
18024         * config/fr30/fr30.h: New file.
18025         * config/fr30/fr30.md: New file.
18026         * config/fr30/lib1funcs.asm: New file.
18027         * config/fr30/t-fr30: New file.
18028         * config/fr30/xm-fr30.h: New file.
18030 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
18032         * flow.c (merge_blocks_move_successor_nojumps): Delete the
18033         BARRIER at the end of the successor, not the BARRIER before
18034         the successor.
18036         * pa.c (pa_add_gc_roots): Fix thinko in last change.
18038 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
18040         * stmt.c (any_pending_cleanups): Don't crash when
18041         current_function->stmt is unset.
18043 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18045         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
18046         other initializations that may use it for relative offsets.
18048 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18050         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
18051         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
18052         * config/i386/sol2dbg.h: Removed.
18053         * config/i386/sol2gas.h: New file, to enable gas work-around.
18054         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
18055         Don't use sol2dbg.h.
18056         * configure: Rebuilt.
18058 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
18060         * invoke.texi (-fthis-is-variable): Remove documentation.
18062 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
18064         * basic-block.h (compute_bb_for_insn): Declare.
18065         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
18066         to use; set size of basic_block_for_insn directly.
18067         (find_basic_blocks): Update.
18069 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18071         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
18073 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18075         * crtstuff.c (ON_EXIT): Delete empty macro definition.
18076         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
18078 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
18080         * c-decl.c (c_decode_option): Extend comment.
18082 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
18084         * toplev.c (progname): Make 'const char *'
18085         (flag_print_mem): Move out of main.
18086         (version_flag): Move out of main.
18087         (filename): Move out of main.
18088         (debug_args): Remove g prefix from options.
18089         (documented_lang_options): Remove cpplib specific options.
18090         (display_help): Add g prefix to debug options.
18091         (check_lang_option): Delete this function.
18092         (decode_d_option): New function: Decode -d... option.
18093         (decode_f_option): New function: Decode -f... option.
18094         (decode_W_option): New function: Decode -W... option.
18095         (decode_g_option): New function: Decode -g... option.
18096         (independent_decode_option): New function: Decode a language
18097         independent command line option.
18098         (main): Invoke lang_decode_option and then
18099         independent_decode_option on each command line option in
18100         turn.
18102 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
18104         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
18105          * fold-const.c (fold_range_test): Do not try to fold the range
18106          test if the rhs or lhs has side effects.
18108         * basic-block.h (compute_flow_dominators): Declare.
18110         * gcse.c (alloc_code_hoist_mem): New function.
18111         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
18112         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
18113         (hoist_code, one_code_hoisting_pass): Likewise.
18114         (gcse_main): If optimizing for size, then hoist expressions
18115         computed in multiple dominated basic blocks.
18117         * gcse.c (invalid_nonnull_info): New function.
18118         (delete_null_pointer_checks): Likewise.
18119         * rtl.h (delete_null_pointer_checks): Declare.
18120         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
18122         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
18123         (merge-blocks_move_successor_nojumps): Likewise.
18124         (merge_blocks): Allow merging of some blocks, even if it requires
18125         physical movement of the blocks, but not if it requires new jumps.
18127         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
18128         Callers and prototype changed.
18129         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
18131 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18133         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
18134         -YP when both -p and -pg are present.  From i386/sol2.h.
18136 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18138         * Makefile.in (distclean): Delete tm_p.h.
18139         * configure.in: Create a new file, "tm_p.h", from a list in
18140         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
18141         "i386/i386-protos.h".
18143         * alias.c: Include "tm_p.h".
18144         * c-typeck.c: Likewise.
18145         * calls.c: Likewise.
18146         * cse.c: Likewise.
18147         * emit-rtl.c: Likewise.
18148         * explow.c: Likewise.
18149         * expmed.c: Likewise.
18150         * expr.c: Likewise.
18151         * final.c: Likewise.
18152         * flow.c: Likewise.
18153         * fold-const.c: Likewise.
18154         * function.c: Likewise.
18155         * gcse.c: Likewise.
18156         * global.c: Likewise.
18157         * haifa-sched.c: Likewise.
18158         * integrate.c: Likewise.
18159         * jump.c: Likewise.
18160         * local-alloc.c: Likewise.
18161         * loop.c: Likewise.
18162         * optabs.c: Likewise.
18163         * recog.c: Likewise.
18164         * reg-stack.c: Likewise.
18165         * regclass.c: Likewise.
18166         * regmove.c: Likewise.
18167         * reload.c: Likewise.
18168         * reload1.c: Likewise.
18169         * reorg.c: Likewise.
18170         * resource.c: Likewise.
18171         * stmt.c: Likewise.
18172         * stor-layout.c: Likewise.
18173         * toplev.c: Likewise.
18174         * tree.c: Likewise.
18175         * unroll.c: Likewise.
18176         * genattrtab.c (main): Make generated file include "tm_p.h".
18177         * genemit.c (main): Likewise.
18178         * genoutput.c (main): Likewise.
18179         * genrecog.c (main): Likewise.
18181         * i386.h: Delete all prototypes.
18182         * i386.c: Include "tm_p.h".
18183         (ix86_attr_length_default): Call constant_call_address_operand
18184         with correct number of arguments.
18185         * i386-protos.h: New file.
18186         * i386.md (unnamed patterns): Call constant_call_address_operand
18187         with correct number of arguments.
18188         (exception_receiver): Call load_pic_register with correct number
18189         of arguments.
18191 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
18193         * c-pragma.c (mark_align_stack): Dereference the void* properly.
18195 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
18197         * rtl.h (insns_safe_to_move_p): New function.
18198         * loop.c (find_and_verify_loops): Use it.
18199         * rtlanal.c (insns_safe_to_move_p): Define it.
18201 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
18203         * c-pragma.c: Include ggc.h.
18204         * Makefile.in (c-pragma.o): Update.
18206 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18208         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
18209         (LIB_SPEC): Likewise.
18210         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
18211         Reindent -YP/-p/-pg.
18212         Copied from config/sparc/sol2.h.
18214 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
18216         * c-pragma.c (mark_align_stack): New.
18217         (init_pragma): New.
18218         * c-pragma.h (init_pragma): Declare it.
18219         * c-lex.c (init_parse): Call it.
18221 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18223         * configure.in: Pick up thread library on Solaris/x86 just
18224         like on Solaris/sparc.
18225         * configure: Rebuilt.
18227 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
18229         * rtl.h (global_rtx_index): New enum.
18230         (global_rtl): Change to array of rtx.
18231         (pc_rtx, cc0_rtx): Redefine accordingly.
18232         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
18233         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
18234         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
18235         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
18236         (const_int_rtx): Change to array of rtx.
18237         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
18238         accordingly.
18239         * emit-rtl.c (global_rtl): Change to array of rtx.
18240         (const_int_rtx): Change to aray of rtx.
18241         (gen_rtx_CONST_INT): Redefine accordingly.
18242         (init_emit_once): Allocate and initialize global_rtl.  Likewise
18243         for const_int_rtx.  Add both as GC roots.
18244         * genattrtab.c (global_rtl): Update declaration.
18246 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
18248         * Makefile (USER_H): Add iso646.h back.
18250 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
18252         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
18253         zapping the LOG_LINKS of sched_before_next_call.
18255         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
18256         * pa.c (insn_refs_are_delayed): Renamed from
18257         insn_sets_and_refs_are_delayed.
18259 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
18261         * functiion.h (struct function): Add x_whole_function_mode_p.
18262         (retrofit_block): Declare.
18263         * function.c (retrofit_block): New function.
18264         (identify_blocks): Add assertions.  Allow an incomplete set of
18265         block notes if we're still generating code for the function.
18266         * integrate.c: Include loop.h.
18267         (expand_inline_function): Call find_loop_tree_blocks to map block
18268         notes to blocks when in whole-function mode.  Use retrofit_block
18269         to insert new BLOCKs for the inlined function, rather than
18270         insert_block.
18271         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
18272         * Makefile.in (integrate.o): Depend on loop.h.
18274 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
18276         * tree.h (warn_about_unused_variables): Declare.
18277         * stmt.c (warn_about_unused_variables): New function, split out
18278         from ...
18279         (expand_end_bindings): Here.
18281 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
18283         * stmt.c (preserve_subexpressions_p): Don't crash when
18284         current_function->stmt is unset.
18286 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
18288         * stmt.c (expand_start_bindings): Allow callers to pass a flag
18289         indicating that no NOTE_INSN_BLOCK_BEG note is required.
18290         (expand_start_target_temps): Use it.
18291         * except.c (expand_eh_region_start_for_decl): Likewise.
18292         * expr.c (expand_expr): Likewise.
18294 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18296         * fold-const.c (operand_equal_p): Pay attention to side effects.
18298 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
18300         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
18301         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
18303         * tlink.c (scan_linker_output): Look for keywords before accepting
18304         a mangled name in quotes.
18306 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
18308         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
18309         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
18311 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
18313         * alpha.md: Revert Thu Nov 26 change that came in through the
18314         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
18315         Avoid earlyclobber when possible.
18317 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18319         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
18321         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
18322         Define HAVE_ON_EXIT.
18324 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18326         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
18327         CTYPE_CONV in all ctype macros.
18329         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
18330         from system.h.
18332         * cexp.y (initialize_random_junk): Likewise.
18334         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
18336         * i370.c (handle_pragma): Likewise.
18338         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
18340         * v850.c (override_options): Likewise.
18342         * doprint.c (_doprnt): Likewise.
18344         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
18345         Likewise.
18347         * fixinc/server.c (load_data): Likewise.
18349         * fold-const.c (real_hex_to_f): Likewise.
18351         * genattr.c (write_upcase, gen_attr): Likewise.
18353         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
18354         write_upcase): Likewise.
18356         * genemit.c (print_code): Likewise.
18358         * genopinit.c (gen_insn): Likewise.
18360         * genpeep.c (print_code): Likewise.
18362         * genrecog.c (print_code): Likewise.
18364         * optabs.c (init_libfuncs): Likewise.
18366 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
18368         * haifa-sched.c (sched_analyze): Keep the list of notes organized
18369         in pairs.
18370         (reemit_notes): Likewise.
18372 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
18374         * ggc.h (ggc_root): Move to ggc-common.c.
18375         (roots): Remove.
18376         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
18377         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
18378         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
18379         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
18380         * ggc-common.c (ggc_root): Move from ggc.h.
18381         (roots): Declare, static.
18382         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
18383         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
18384         null or check/set mark bit.
18385         (ggc_mark_roots): New.
18386         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
18388 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
18390         * m32r.c: Include toplev.h.
18391         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
18392         (gen_compare): Rename swap_p to must_swap to match uses.
18393         Add default abort case.
18394         (m32r_output_function_epilogue): Remove unused variables.
18395         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
18396         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
18397         define to empty parameter list.  Update all uses.
18398         (predicate decls): Use enum machine_mode not int.
18399         * m32r.md (movsi): Call abort, not fatal_insn.
18400         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
18402 1999-09-14  Andrew Haley  <aph@cygnus.com>
18404         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
18405         use $0 instead of 0.
18407 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18409         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
18410         computation out of loop over hard regs.
18412 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
18414         * function.c (identify_blocks): Don't shadow a variable in an
18415         outer scope.
18416         * integrate.c (integrate_decl_tree): Don't use pushlevel,
18417         pushdecl, or poplevel to build up the new BLOCK tree.
18418         (expand_inline_function): Likewise.
18419         (integrate_parm_decls): Likewise.
18421 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
18423         * c-typeck.c (qualify_type): Merge qualifiers from both types.
18425 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
18427         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
18428         * invoke.texi: Document this change.
18430 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
18432         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
18433         Free the struct.
18434         (mark_emit_status): Renamed from mark_emit_state.
18435         * except.c (mark_eh_status): Renamed from mark_eh_state.
18436         Check not null before marking.
18437         (free_eh_status): New.
18438         * expr.c (mark_expr_status, free_expr_status): New.
18439         * function.c (free_machine_status): New.
18440         (free_after_parsing): New.
18441         (free_after_compilation): Move bits to free_after_parsing; call
18442         free_eh_status, free_expr_status; zero the marked members of the
18443         function state.
18444         (prepare_function_start): No can_garbage_collect.
18445         Call init_eh_for_function.
18446         (expand_dummy_function_end): Free up current_function state.
18447         (mark_function_status): Renamed from mark_function_state.
18448         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
18449         * function.h (struct function): No can_garbage_collect.
18450         (free_machine_status, free_after_parsing): Declare.
18451         (free_eh_status, free_expr_status): Declare.
18452         * ggc.h (mark_expr_status): Declare.
18453         * stmt.c (free_stmt_status): Free the struct.
18454         (mark_stmt_status): Renamed from mark_stmt_state.
18455         (init_stmt): Don't call init_eh.
18456         (init_stmt_for_function): Don't call init_eh_for_function.
18457         * toplev.c (compile_file): Call init_eh.
18458         (rest_of_compilation): Free basic block info before ggc_collect.
18459         Call free_after_parsing; conditionally call free_after_compilation.
18460         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
18461         Check not null before marking.
18462         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
18464 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
18466         * c-lex.c (yylex): Initialize warn.
18468 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
18470         * pa.c (emit_move_sequence): Properly set the mode of the scratch
18471         register when performing secondary reloads for the SAR register.
18473 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
18475         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
18476         (NOTE_BLOCK): New macro.
18477         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
18478         * function.h (identify_blocks): Change prototype.
18479         * function.c (identify_blocks): Simplify.
18480         (reorder_blocks): Likewise.
18481         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
18482         NOTE_INSN_BLOCK_{BEG,END}.
18483         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
18484         the list of saved notes if the note isn't a
18485         NOTE_INSN_BLOCK_{BEG,END}.
18486         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
18487         NOTE_BLOCK_NUMBER.
18488         (reemit_notes): Adjust recreation of notes to reflect new saved
18489         note structure.
18490         * print-rtl.c (print_rtx): Print the address of the BLOCK when
18491         printing a block note.
18492         * stmt.c (block_vector): Remove.
18493         (find_loop_tree_blocks): Simplify.
18494         (unroll_block_trees): Likewise.
18495         * tree.h (reorder_block): Change prototype.
18497 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
18499         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
18500         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
18501         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
18502         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
18503         (atexit, exit): Simplify.
18504         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
18505         * config/lots: Remove defns of HAVE_ATEXIT.
18507 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
18509         * calls.c (precompute_arguments): Fix typo in comment.
18510         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
18511         TARGET_EXPR.
18513 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
18515         * dsp16xx.c (override_options): Fix typos in GC root registration.
18517 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
18519         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
18520         from config/svr4.h.
18521         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
18522         (FUNCTION_PROFILER): Redefine appropriately for Linux.
18523         (CC1_SPEC): Likewise.
18525 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18527         * genattr.c (main): Add extern prototype.  Call return, not exit.
18528         * genattrtab.c (main): Likewise.
18529         * gencheck.c (main): Likewise.
18530         * gencodes.c (main): Likewise.
18531         * genconfig.c (main): Likewise.
18532         * genemit.c (main): Likewise.
18533         * genextract.c (main): Likewise.
18534         * genflags.c (main): Likewise.
18535         * gengenrtl.c (main): Likewise.
18536         * genopinit.c (main): Likewise.
18537         * genoutput.c (main): Likewise.
18538         * genpeep.c (main): Likewise.
18539         * genrecog.c (main): Likewise.
18541         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
18542         * genattrtab.c (get_insn_name): Likewise.
18543         * gencodes.c (get_insn_name): Likewise.
18544         * genconfig.c (get_insn_name): Likewise.
18545         * genemit.c (get_insn_name): Likewise.
18546         * genextract.c (get_insn_name): Likewise.
18547         * genflags.c (get_insn_name): Likewise.
18548         * genopinit.c (get_insn_name): Likewise.
18549         * genpeep.c (get_insn_name): Likewise.
18551         * gencheck.c (usage): Add static prototype.
18552         * genextract.c (print_path): Constify a char*.
18553         * genopinit.c (optabs): Likewise.
18554         * genoutput.c (operand_data, data, output_predicate_decls,
18555         compare_operands): Likewise.
18556         * genrecog.c (write_tree): Add default case in switch.
18558 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18560         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
18562         * print-rtl.c (get_insn_name): Remove prototype.
18564         * toplev.h (progname): Declare const.
18566         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
18567         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
18568         dump_sched_info, dump_local_alloc, regset_release_memory,
18569         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
18570         error_with_file_and_line, error_with_decl, error_for_asm, error,
18571         fatal, warning_with_file_and_line, warning_with_decl, warning,
18572         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
18573         Remove redundant prototypes.
18575         (notice, check_lang_option, report_file_and_line, vnotice,
18576         mark_file_stack): Add static prototype.
18577         (set_fatal_function): Add prototype.
18578         (vnotice, report_file_and_line, set_fatal_function,
18579         check_lang_option): Constify a char*.
18580         (main): Prototype.  Call return, not exit.
18582 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18584         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
18586         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
18588         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
18590         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
18592 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18594         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
18595         behave as if it's zero in all cases.
18596         (expand_function_start): Adjust call to assign_parms.
18597         * tree.h (assign_parms): Adjust prototype.
18598         * objc/objc-act.c (hack_method_prototype): Adjust call to
18599         assign_parms.
18601 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
18603         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
18604         arg_pointer_rtx fixed if the argument pointer register is
18605         not fixed.
18606         (NONZERO_BASE_PLUS_P): Likewise.
18608 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
18610         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
18611         match_insn2 to match_insn.
18612         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
18614 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
18616         * Makefile.in (USER_H): Remove va-foo.h.
18618         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
18619         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
18620         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
18621         va-spur.h,va-v850.h}: Remove.
18623 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
18625         * sparc/sparc.md (eligible_for_return_delay): New attribute.
18626         (in_return_delay): Use it instead of match_insn.
18628 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18630         * config/alpha/va_list.h (va-alpha.h): Do not include.
18631         (__gnuc_va_list): Typedef as in varargs.h.
18633 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
18635         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
18636         DECL_LIVE_RANGE_RTL.
18638 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
18640         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
18641         not NOTE_BLOCK_NUMBER.
18642         (expand_eh_region_end): Likewise.
18643         (find_exception_handler_labels): Likewise.
18644         (scan_region): Likewise.
18645         (exception_optimize): Likewise.
18646         (update_rethrow_references): Likewise.
18647         (set_insn_eh_region): Likewise.
18648         * final.c (final_scan_insn): Likewise.
18649         * flow.c (make_edges): Likewise.
18650         * integrate.c (expand_inline_function): Likewise.
18651         * print-rtl.c (print_rtx): Likewise.
18653 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
18655         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
18656         terms of builtin functions and types.
18658         * mips.c (mips_build_va_list): New.
18659         (mips_va_start, mips_va_arg): New.
18660         * mips.h (BUILD_VA_LIST_TYPE): New.
18661         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
18663         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
18664         (sh_build_va_list, sh_va_start, sh_va_arg): New.
18665         * sh.h (BUILD_VA_LIST_TYPE): New.
18666         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
18668 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
18670         * recog.h (struct recog_data): Make dup_num, operand_address_p,
18671         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
18672         (struct insn_data): Likewise with n_operands, n_dups,
18673         n_alternatives, output_format.
18674         * regclass.c (scan_one_insn): Cast n_operands to int before
18675         arithmetic inside comparison.
18677 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
18679         * toplev.c (compile_function): Unconditionally emit nop.
18681 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18683         * haifa-sched.c (actual_hazard): Move declaration of variable
18684         `this_cost' into the scope where it is used.
18686 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18688         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
18689         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
18690         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
18692         * genrecog.c (make_insn_sequence): Call memset, not bzero.
18694         * jump.c (find_insert_position): Don't declare or define unless
18695         !HAVE_conditional_arithmetic.
18696         (returnjump_p_1, delete_prior_computation): Add static prototypes.
18698         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
18700         * recog.c (offsettable_address_p): Prototype function pointer.
18701         (preprocess_constraints): Call memset, not bzero.
18703         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
18704         (gcc_obstack_init): Don't declare.
18705         (fix_sizetype): Add static prototype.
18706         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
18707         (tree_cons): Call memset, not bzero.
18709         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
18710         definition in macro ASM_WEAKEN_LABEL.
18711         (mark_const_hash_entry): Add static prototype.
18713 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18715         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
18717         * unroll.c (find_common_reg_term, subtract_reg_term,
18718         loop_find_equiv_value): Add static prototypes.
18719         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
18720         (copy_loop_body): Remove unreachable break statement.
18722         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
18724         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
18726 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18728         Undo some changes from the gcc2 merge:
18729         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
18730         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
18731         pointers.
18733         Undo this change:
18734         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
18735         * emit-rtl.c (gen_lowpart_common): Disable optimization of
18736         initialized float-int union if the value is a NaN.
18738 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18740         * gthr-win32.h: New file.
18742         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
18743         shared as a valid attribute.
18744         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
18745         * extend.texi: Document `shared' variable attribute.
18747 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
18749         * configure.in: Handle --enable-threads on FreeBSD.
18750         * configure: Rebuit.
18752 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
18754         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
18755         thread support.
18756         * configure: Rebuilt.
18758 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
18759                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
18760                           Rosimildo DaSilva <rdasilva@connecttel.com>
18762         * configure.in (m68k-*-rtemscoff*): Added.
18763         * configure.in (mips64orion-*-rtems*): Converted to ELF.
18764         * configure.in (sparc-*-rtemsaout*): Added as alias for old
18765         sparc-rtems configuration.
18766         * configure.in (sparc-*-rtemself*): Added.
18767         * configure.in (sparc-*-rtems*): Now ELF not a.out.
18768         * config/i386/rtems.h: Added comment.
18769         * config/sparc/rtemself.h: New file.
18771         * configure.in (m68k-rtemself): Added.
18772         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
18773         and DWARF_DEBUGGING_INFO.
18774         * config/m68k/crti.s: New file.
18775         * config/m68k/crtn.s: New file.
18776         * config/m68k/t-crtstuff: New file.
18777         * config/m68k/rtemself.h: New file.
18779         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
18780         global ctor/dtor and C++ exception handling.
18781         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
18782         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
18783         ENDFILE_SPEC.
18784         * config/i386/t-rtems-i386: New File.
18786 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
18788         * stmt.c (expand_end_case): Return right away if the case stack is
18789         empty.
18791 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
18793         * Makefile.in (version.c): Remove rule incorrectly brought in from
18794         the gcc2 merge.
18796 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
18798         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
18799         * msdos/top.sed:  Take into account a prepended $(SHELL) to
18800         move-if-change.
18801         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
18803         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
18805 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18807         * regmove.c (fixup_match_1): Don't change an unchanging register.
18808         (stable_but_for_p): Renamed to:
18809         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
18810         Changed all callers.
18812 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
18814         * loop.c (strength_reduce): Don't call reg_used_between_p if the
18815         insn from BL2 is after the insn from BL.
18817 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
18819         * recog.h (INSN_OUTPUT_FORMAT_*): New.
18820         (struct insn_data): Merge `template' and `outfun' into `output'.
18821         Add `output_format'.
18822         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
18823         (struct data): Remove `outfun'; add `output_format'.
18824         (name_for_index): Remove declaration.
18825         (output_insn_data): Handle output formats.
18826         (process_template): Emit the bare array for @.
18827         (gen_expand, gen_split): Set output_format to NONE.
18828         * output.h (get_insn_template): Declare.
18829         * final.c (get_insn_template): New.
18830         (final_scan_insn): Use it.
18831         * toplev.c (compile_file): Likewise.
18833         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18834         * i860/i860.c (output_delayed_branch): Likewise.
18835         (output_delay_insn): Likewise.
18837 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18839         * rtl.c (obstack_alloc_rtx): Removed.
18841 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
18843         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
18845 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
18847         * i386.c (call_insn_operand): Reject const_int.
18848         (expander_call_insn_operand): Use call_insn_operand.
18850 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18852         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
18854 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
18856         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
18857         Use DImode operation.
18859 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
18861         * gcc.c: Include sys/resource.h.
18862         (report_times): New flag.
18863         (execute):  If report_times is set, calculate and report the
18864         CPU time consumed by each subprocess.
18866         (rus, prus): New globals.
18867         (option_map): Add --time.
18868         (display_help): Document -time.
18869         (process_command): Set report_times if -time is given.
18870         Turn off -pipe if -time is given.
18872         * invoke.texi: Document new option -time.
18874         * configure.in: Check for getrusage.  Check if we have to
18875         prototype getrusage.
18876         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
18877         * configure: Regenerate.
18878         * config.in: Regenerate.
18880 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
18882         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
18883         fields.
18885 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
18887         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
18888         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
18889         (nan): Return _thenan_sf or _thenan_df as appropriate.
18890         (L_thenan_sf): Define _thenan_sf.
18891         (L_thenan_df): Define _thenan_df.
18893         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
18894         (DPBIT_FUNCS): Add _thenan_df.
18896 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
18898         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
18899         TYPE_SIZE_UNIT.
18901 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18903         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
18905         * gcc.h: New file.
18906         (lang_specific_driver): Don't take a function pointer parameter.
18907         All callers changed.
18909         * gcc.c: Include gcc.h.
18910         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
18911         lang_specific_extra_outfiles, fatal): Don't declare.
18912         (multilib_defaults_raw): Constify.
18913         (read_specs): Call memset, rather than bzero.
18914         (main): Call return, not exit.
18915         (lookup_compiler): Call memcpy, not bcopy.
18916         (fatal): Make extern.
18918         * cppspec.c: Include gcc.h.
18919         (lang_specific_driver): Initialize variable `quote'.  Constify a
18920         char*.  All calls to the function pointer parameter now
18921         explicitly call `fatal'.
18923         * gccspec.c (lang_specific_driver): Include gcc.h.
18925 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
18927         * arm.c (note_invalid_constants): Use recog_data.operand_type
18928         for recog_op_type.
18930 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18932         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18933         Declare.
18935         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18936         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18937         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18938         reload_secondary_in_reload, reload_secondary_out_reload,
18939         reload_secondary_in_icode, reload_secondary_out_icode,
18940         reload_reg_rtx, reload_when_needed): Delete declarations.
18941         (struct reload): New structure.
18942         (rld): Declare new array.
18943         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18944         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18945         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18946         reload_secondary_in_reload, reload_secondary_out_reload,
18947         reload_secondary_in_icode, reload_secondary_out_icode,
18948         reload_reg_rtx, reload_when_needed): Delete definitions.
18949         (rld): New array.
18950         (whole file): Replace uses of the deleted arrays with uses of rld.
18951         * reload1.c (whole file): Replace uses of the deleted arrays with
18952         uses of rld.
18953         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18954         explicit loops, not with bcopy.
18956 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
18958         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18959         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18960         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18961         insn_name): Delete and consolidate into new structures.
18962         (insn_operand_predicate_fn): New.
18963         (insn_output_fn): New.
18964         (insn_gen_fn): New.
18965         (struct insn_operand_data): New.
18966         (struct insn_data): New.
18967         (insn_data): New.
18968         (OUT_FCN): Update for insn_data change.
18969         * builtins.c (expand_builtin_strlen): Likewise.
18970         (expand_builtin_memcmp): Likewise.
18971         * combine.c (make_extraction, simplify_comparison): Likewise.
18972         * cse.c (canon_reg, cse_insn): Likewise.
18973         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18974         * expmed.c (store_bit_field, extract_bit_field): Likewise.
18975         (emit_store_flag): Likewise.
18976         * expr.c (convert_move, emit_block_move): Likewise.
18977         (clear_storage, emit_push_insn, expand_increment): Likewise.
18978         (do_store_flag): Likewise.
18979         * expr.h (GEN_FCN): Likewise.
18980         (insn_gen_function): Die.
18981         * final.c (final_scan_insn): Update for insn_data change.
18982         (output_asm_name): Likewise.
18983         * function.c (fixup_var_refs_1): Likewise.
18984         * loop.c (check_dbra_loop): Likewise.
18985         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18986         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18987         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18988         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18989         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18990         * regmove.c (gen_add3_insn): Likewise.
18991         * reload.c (push_secondary_reload, combine_reloads): Likewise.
18992         (find_reloads, find_reloads_address_1): Likewise.
18993         (debug_reload_to_stream): Likewise.
18994         * reload1.c (emit_reload_insns, gen_reload): Likewise.
18995         * stmt.c (expand_end_case): Likewise.
18996         * toplev.c (compile_file): Likewise.
18998         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18999         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19001         * print-rtl.c (insn_name_ptr): Remove declaration.
19002         (get_insn_name): Declare.
19003         (print_rtx): Use it.
19004         * genoutput.c (insn_name_ptr): Remove.
19005         (next_operand_number): New.
19006         (struct operand_data): New.
19007         (null_operand, odata, odata_end): New.
19008         (struct data): Use struct operand_data.
19009         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
19010         (get_insn_name): Renamed from name_for_index.
19011         (output_prologue): Define NO_MD_PROTOTYPES.
19012         (output_predicate_decls): Break out from output_epilogue.
19013         Iterate over the operands list.
19014         (output_operand_data): Break out from output_epilogue.  Emit
19015         just the operands list.
19016         (output_insn_data): Break out from output_epilogue.  Emit just
19017         the insn data.
19018         (output_epilogue): Remove.
19019         (output_get_insn_name): New.
19020         (constraints, op_n_alternatives, predicates, address_p): Die.
19021         (modes, strict_low, seen): Die.
19022         (scan_operands): Take new param `d' instead of writing to
19023         seven global variables.
19024         (compare_operands): New.
19025         (place_operands): New.
19026         (validate_insn_alternatives): Update for struct data change.
19027         (gen_insn): Don't zero or copy 7 global arrays.  Update for
19028         scan_operands; call place_operands.
19029         (gen_peephole, gen_expand, gen_split): Likewise.
19030         (main): Update for new output routines.
19032         * genattr.c (insn_name_ptr): Remove.
19033         (get_insn_name): New function.
19034         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
19035         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
19036         * genrecog.c: Likewise.
19038         * alpha.md (adddi3): Make `pattern' array static.
19040 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19042         * config/c4x/c4x.h (c4x_rpts_cycles_string,
19043         c4x_cpu_version_string): Constify char *.
19044         * config/c4x/c4x.c (c4x_rpts_cycles_string,
19045         c4x_cpu_version_string): Likewise.
19047 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
19049         * tree.c (save_tree_status): Revert 10 Sep change.
19050         (restore_tree_status): Likewise.  Call obstack_free with NULL
19051         before freeing the obstack proper.
19053 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
19055         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
19057         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
19058         surrounding context.
19060 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
19062         * tree.c (type_hash_canon): Put all types in the hash-table, when
19063         GC'ing.
19065 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
19067         * recog.h (struct recog_data, recog_data): New.
19068         (recog_foo variables): Kill.
19069         * recog.c (recog_operand, recog_operand_loc): Kill.
19070         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
19071         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
19072         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
19073         (recog_data): Define.
19074         (extract_insn): Update all recog_foo references to use recog_data.
19075         (preprocess_constraints, constrain_operands): Likewise.
19076         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
19077         * genattrtab.c (main): Likewise.
19078         * genextract.c (main): Likewise.
19079         * genoutput.c: Likewise.
19080         * genrecog.c (write_subroutine, main): Likewise.
19081         * local-alloc.c (block_alloc): Likewise.
19082         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
19083         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
19084         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
19085         * reload.c (find_reloads, find_reloads_toplev): Likewise.
19086         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
19087         (reload_cse_simplify_operands): Likewise.
19089         * arc/arc.c (arc_final_prescan_insn): Likewise.
19090         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
19091         * h8300/h8300.c (notice_update_cc): Likewise.
19092         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
19093         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
19094         * mn10200/mn10200.c (notice_update_cc): Likewise.
19095         * mn10300/mn10300.c (notice_update_cc): Likewise.
19096         * romp/romp.c (update_cc): Likewise.
19097         * sparc/sparc.c (check_pic): Likewise.
19098         * v850/v850.c (notice_update_cc): Likewise.
19100         * genemit.c (main): Don't declare recog_operand.
19102 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
19104         * ggc.h (rtvec_def): Forward declare.
19105         (tree_node): Likewise.
19106         (ggc_root): Define.
19107         (roots): Declare.
19108         (ggc_set_mark_rtx): Add prototype.
19109         (ggc_set_mark_rtvec): Likewise.
19110         (ggc_set_mark_tree): Likewise.
19111         * ggc-simple.c (ggc_root): Don't define.
19112         (roots): Don't declare.
19113         (ggc_mark_rtx): Remove.
19114         (ggc_mark_rtvec): Likewise.
19115         (ggc_mark_tree): Likewise.
19116         (ggc_mark_varray): Likewise.
19117         (ggc_mark_tree_hash_table_entry): Likewise.
19118         (ggc_mark_tree_hash_table): Likewise.
19119         (ggc_set_mart_rtx): New function.
19120         (ggc_set_mark_rtvec): Likewise.
19121         (ggc_set_mark_tree): Likewise.
19122         (ggc_add_root): Remove.
19123         (ggc_add_rtx_root): Likewise.
19124         (ggc_remove_tree_root): Likewise.
19125         (ggc_add_string_root): Likewise.
19126         (ggc_add_tree_varray_root): Likewise.
19127         (ggc_add_tree_hash_table_root): Likewise.
19128         (ggc_del_root): Likewise.
19129         (ggc_mark_rtx_ptr): Likewise.
19130         (ggc_mark_tree_ptr): Likewise.
19131         (ggc_mark_string_ptr): Likewise.
19132         (ggc_mark_tree_varray_ptr): Likewise.
19133         (ggc_mark_tree_hash_table_ptr): Likewise.
19134         * ggc-common.c: New file.
19135         * Makefile.in (OBJS): Add ggc-common.o.
19136         (ggc-common.o): List dependencies.
19138 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
19140         * cppalloc.c (xstrdup): Use memcpy.
19141         * cpperror.c (cpp_print_containing_files): Don't use
19142         cpp_notice.
19143         * cpplib.c (conditional_skip): Set temp->lineno.
19144         (do_endif): Make error message less obscure.
19145         (if_directive_name): New function.
19146         (cpp_get_token [case EOF]): Unwind the if stack and generate
19147         error messages for each unterminated conditional in this file.
19148         (parse_string):  Do not behave differently if -traditional.
19150 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
19152         * builtins.c (expand_builtin_va_arg): Cope with an array-type
19153         va_list decomposing to pointer-type.
19154         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
19155         (rs6000_va_arg): Likewise.
19157 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
19159         * except.c (start_dynamic_handler): Compute size using
19160         STACK_SAVEAREA_MODE.
19162 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19164         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
19165         include directory headers.  Don't define strrchr.  Don't provide
19166         my_* replacement functions.  Prefer PTR over `pointer_type'.
19167         Don't prototype system functions.  Don't redefine getopt.
19169         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
19170         safe_read, safe_write, save_pointers, restore_pointers,
19171         is_id_char, in_system_include_dir, directory_specified_p,
19172         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
19173         find_corresponding_lparen, referenced_file_is_newer,
19174         save_def_or_dec, munge_compile_params, gen_aux_info_file,
19175         process_aux_info_file, identify_lineno, check_source,
19176         seek_to_line, forward_to_next_token_char, output_bytes,
19177         output_string, output_up_to, other_variable_style_function,
19178         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
19179         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
19180         find_static_definition, connect_defs_and_decs, add_local_decl,
19181         add_global_decls, needs_to_be_converted, visit_each_hash_node,
19182         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
19183         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
19184         scan_for_missed_items, edit_file, string_list_cons): Add static
19185         prototypes.
19186         (standard_exec_prefix, target_machine, target_version,
19187         default_syscalls_dir, string_list, string_list_cons, find_file,
19188         do_cleaning): Constify a char*.
19189         (safe_read, safe_write): Use PTR, not a char*.
19190         (is_id_char): Take an int, not a char.
19191         (main): Add prototype.  Call return, not exit.
19193 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
19195         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
19196         when comparing types.
19198 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
19200         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
19201         (strength_reduce): Release the varrays from the no-bivs early exit.
19203         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
19204         the loop over the registers.
19206         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
19207         for a new obstack.
19208         (restore_tree_status): Check that instead when freeing the obstack.
19210 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
19212         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
19213         as pointers.
19215 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19217         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
19218         operand size modifiers.
19220 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19222         * c-common.c (c_common_nodes_and_builtins): Don't build
19223         va_list_type_node.
19224         * c-common.h (enum c_tree_index and related accesor macros): Remove
19225         everything now declared in tree.h.
19226         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
19227         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
19228         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
19229         (error_mark_node, void_type_node, char_type_node, integer_type_node,
19230         unsigned_type_node, ptr_type_node, va_list_type_node,
19231         integer_zero_node, null_pointer_node, integer_one_node): Delete.
19232         (init_decl_processing): Call build_common_tree_nodes and
19233         build_common_tree_nodes_2 instead of building their nodes here.
19234         Don't add roots for these nodes.
19235         * stor-layout.c (size_zero_node, size_one_node): Delete.
19236         (set_sizetype): Make a new node for bitsizetype each time.
19237         * tree.c (global_trees): New variable.
19238         (init_obstacks): Add a gc root for it.
19239         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
19240         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
19241         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
19242         (build_common_tree_nodes): New function.
19243         (fix_sizetype): New function.
19244         (build_common_tree_nodes_2): New function.
19245         * tree.h (enum tree_index): New.
19246         (global_trees): Declare.
19247         Add accessor macros for all nodes now moved to global_trees.
19248         Delete their declarations.
19250 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
19252         * c-decl.c (finish_function): When processing a nested function,
19253         push and pop GC context around rest_of_compilation.
19255 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
19257         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
19258         Default ix86_arch to PROCESSOR_I386.
19259         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
19260         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
19261         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
19262         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
19263         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
19264         (EXTRA_SPECS): Remove deleted specs.
19266 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
19268         * function.c (assign_stack_local_1): Allocate from
19269         function->x_frame_offset, not frame_offset.
19271 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
19273         * ggc.h (lang_cleanup_tree): Remove.
19274         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
19275         * ggc-callbacks.c (lang_cleanup_tree): Remove.
19277         * c-decl.c (finish_struct): Use ggc_alloc to allocate
19278         TYPE_LANG_SPECIFIC when garbage collecting.
19279         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
19280         (lang_cleanup_tree): Remove.
19282 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
19284         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
19285         * crtstuff.c: Not here.
19286         * dwarf2out.c: Or here.
19287         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
19288         info.
19290 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
19292         * function.h (free_after_compilation): Remove decl parameter.
19293         (free_varasm_status0: Likewise.
19294         (free_emit_status): Likewise.
19295         (free_stmt_status): Likewise.
19296         (free_after_compilation): Likewise.
19297         (init_lang_status): New variable.
19298         (free_lang_status): Likewise.
19299         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
19300         * function.c (init_lang_status): New variable.
19301         (free_lang_status): Likewise.
19302         (push_function_context_to): Don't set function::decl here.
19303         (free_after_copmilation): Make decl parameter implicit.  Call
19304         free_lang_status if defined.
19305         (prepare_function_start): Call init_lang_status if defined.
19306         (init_function_start): Set function::decl here.
19307         * profile.c (output_func_start_profiler): Don't call pushdecl
19308         until we've actually started the function.
19309         * stmt.c (free_stmt_status): Make decl parameter implicit.
19310         * toplev.c (rest_of_compilation): Don't pass decl to
19311         free_after_compilation.
19312         * varasm.c (free_varasm_status): Likewise.
19314 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19316         * except.c (call_get_eh_context): Add root when allocating static
19317         tree variable.
19319 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
19321         * arm.c: Include "ggc.h".
19322         (arm_add_gc_roots): New function.
19323         (arm_override_options): Call it.
19324         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
19326         * arm.md (define_asm_attributes): Add a pool_range attribute.
19328 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
19330         * extend.texi (Volatiles): New node.
19332 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
19334         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
19335         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
19336         (struct ggc_any): Replace `mark' with `magic_mark'.
19337         (ggc_alloc_string): Use memcpy, not bcopy.
19338         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
19339         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
19340         (ggc_free_any): New.
19341         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
19342         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
19343         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
19344         Use IS_MARKED. Use ggc_free_any.
19346 1999-09-09  Scott Bambrough <scottb@netwinder.org>
19348         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
19350 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
19352         * toplev.c (main): Always init_ggc.
19354 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
19356         * except.c (find_all_handler_type_matches): Free the list if
19357         we found no matches.
19359         * combine.c (SUBST): Break out to a real function do_SUBST.
19360         (SUBST_INT): Likewise.
19361         * gcse.c (free_pre_mem): Free `temp_bitmap'.
19362         (pre_insert): Free `inserted'.
19363         * loop.c (basic_induction_var): Always set `location'.
19365         * function.c (expand_function_end): Add initial_trampoline as a root.
19366         * rtl.h (init_varasm_once): Declare.
19367         * toplev.c (compile_file): Call it.
19368         * ggc-simple.c (ggc_mark_string_ptr): New.
19369         (ggc_add_string_root): New.
19370         (ggc_collect): Disable collection avoidance temporarily.
19371         * ggc.h (ggc_add_string_root): Declare.
19372         * except.c (create_rethrow_ref): Use ggc_alloc_string.
19373         * optabs.c (init_libfuncs): Likewise.
19374         * varasm.c (named_section): Use ggc_alloc_string.
19375         (make_function_rtl): Likewise.
19376         (make_decl_rtl): Likewise.
19377         (assemble_static_space): Likewise.
19378         (assemble_trampoline_template): Likewise.
19379         (output_constant_def): Likewise.
19380         (force_const_mem): Likewise.
19381         (mark_const_hash_entry): New.
19382         (mark_pool_sym_hash_table): New.
19383         (mark_varasm_state): Use it.
19384         (init_varasm_once): New.
19386         * expr.h (init_one_libfunc): Declare.
19387         * optabs.c (init_one_libfunc): New.
19388         (init_optabs): Use it.
19389         * config/gofast.h: Likewise.
19390         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
19391         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
19393 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
19395         * Makefile.in (cppexp.o): Depend on cpphash.h.
19396         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
19397         Include cpphash.h.
19398         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
19399         * cpplib.c (do_define): Generalise to handle poisoned definitions,
19400         redefining poisoned identifiers, etc.
19401         (do_undef): Don't allow poisoned identifiers to be undefined.
19402         (do_pragma): Add #pragma poison.
19403         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
19405         * cccp.c: Add T_POISON node type.
19406         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
19407         poisoned xxx.
19408         (do_define): Generalise to handle poisoned definitions,
19409         redefining poisoned identifiers, etc.
19410         (do_undef): Don't allow poisoned identifiers to be undefined.
19411         (do_pragma): Add #pragma poison.
19412         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
19414         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
19415         * c-pragma.h: Add ps_poison state.  We now always have generic
19416         pragmas.
19418 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
19420         * ggc.h (ggc_alloc): New function.
19421         (ggc_mark): Likewise.
19422         * ggc-simple.c (ggc_any): New structure.
19423         (ggc_status): Add anys.
19424         (n_anys_collected): New variable.
19425         (ggc_alloc): Define.
19426         (ggc_mark): Likewise.
19427         (ggc_collect): Collect the anys.
19429 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19431         * c-decl.c (mark_binding_level): Make static to match prototype.
19433 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
19435         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
19437 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
19439         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
19440         will use into account.  Expand the max width to 5.
19441         * rtl.c: Likewise.
19443 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
19445         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
19446         for the rtx length.
19448 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
19450         * alpha.md (call value patterns): Remove the result predicates.
19452 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
19454         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
19455         last change.
19457 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19459         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
19460         changed from extern char *, to extern PTR.  Also fix typo in
19461         NEED_DECLARATION_REALLOC test.
19463         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
19465 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19467         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
19468         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
19469         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
19470         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
19472         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
19474         * cccp.c (pcfinclude): Likewise.
19476         * global.c (allocno_compare): Likewise.
19478         * haifa-sched.c (rank_for_schedule): Likewise.
19480         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
19482         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
19484         * stupid.c (stupid_reg_compare): Likewise.
19486         * tree.c (_obstack_allocated_p): Likewise.
19488         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
19490 1999-09-08  Bruce Korb  autogen@linuxbox.com
19492         * Makefile.in: Give the hapless gperf user a hint about
19493         why "gperf -F" fails.
19495 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
19497         * lists.c: Include ggc.h.
19498         (zap_lists): New.
19499         (init_EXPR_INSN_LIST_cache): Install it.
19501         * ggc-simple.c (init_ggc): Absorb the old init.
19502         (ggc_push_context): Use xcalloc.
19503         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
19504         (ggc_collect): Add [rvts] tags to the collection stats.
19506 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
19508         * cccp.c (main): Fix handling of -include and -imacros options.
19510 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
19512         * cpplib.c (cpp_push_buffer): Fix order of arguments.
19514 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19516         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
19517         genrtl.c.
19519 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19521         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
19522         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
19523         and SET_DEST. Update comment.
19525 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19527         * config/c4x/c4x.c: Include ggc.h.
19528         (c4x_add_gc_roots): New function.
19529         (c4x_override_options): Call c4x_add_gc_roots.
19531 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
19533         * defaults.h (TARGET_ESC): Move ...
19534         * system.h: ... here, where Linas had it in the first place.  Silly me.
19536 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
19538         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
19539         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
19540         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
19541         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
19542         * defaults.h (TARGET_ESC): Add default.
19544 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
19546         * configure.in: add i370-*-openedition, i370-*-mvs and
19547         i370-*-linux targets
19549 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
19551         * dsp16xxx.c: Include ggc.h
19552         (override_options): Mark GC roots.
19553         * mn10200.c: Include ggc.h.
19554         (asm_file_start): Mark GC roots.
19555         * tahoe.c: Include ggc.h.
19556         (extensible_operand): Mark GC roots.
19558 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
19560         * README: Add section discussing status of ELF ABI.
19561         * i370.c: Fix misc spelling mistakes.
19562         (i370_label_scan): Updated notes, exception handling.
19563         (i370_function_prolog): Simplify ELF stack handling.
19564         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
19565         (STACK_GROWS_DOWNWARD): ELF stack grows down.
19566         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
19567         * i370.md: (movdi): Add notes.
19568         (floatsidf2): Use stack not rtca for scratch float area.
19569         (iorsi3): Correct operand constraints.
19570         * x-oe: Restore TAROUTOPTS which are used by pax.
19572 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
19574         * rs6000.c: Include ggc.h.
19575         (rs6000_add_gc_roots): New function.
19576         (override_options): Call it.
19578 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
19580         * alpha.h (alpha_compare): New.
19581         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
19582         * alpha.c: Likewise for the definitions.
19583         (alpha_emit_conditional_branch): Update for alpha_compare.
19584         (alpha_emit_conditional_move): Likewise.
19585         * alpha.md (cmpdf, cmpdi): Likewise.
19586         (setcc patterns): Likewise.  Zero alpha_compare after use.
19587         (sne): Optimize (x != 0) into (0U < x).
19589 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
19591         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
19592         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
19593         (INIT_EXPANDERS): Remove.
19594         * alpha.c: Include ggc.h.
19595         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
19596         (alpha_init_machine_status, alpha_mark_machine_status): New.
19597         (override_options): Install them.
19598         (struct machine_function): Moved to alpha.h.
19599         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
19600         (alpha_init_expanders): Remove.
19601         (alpha_return_addr): Adjust to use current_function->machine.
19602         (alpha_ra_ever_killed): Likewise.
19603         (alpha_expand_epilogue): Likewise.
19604         * alpha.md (eh_epilogue): Likewise.
19606 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
19607                           Melissa O'Neill  <oneill@cs.sfu.ca>
19608                           Geoffrey Keating  <geoffk@cygnus.com>
19610         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
19611         call-used registers (call-saved registers must still be contiguous
19612         and end with r31, of course).
19614 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
19616         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
19617         (self_promoting_type_p): Delete.
19618         (self_promoting_args_p): Move ...
19619         * c-common.c: ... here.
19620         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
19621         (simple_type_promotes_to): New.
19622         * builtins.c (lang_type_promotes_to): New.
19623         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
19624         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
19625         * c-common.h: ... here.
19626         (self_promoting_args_p, simple_type_promotes_to): Declare.
19627         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
19628         (grokdeclarator): Likewise.
19629         * tree.h (lang_type_promotes_to): Declare.
19631 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
19633         Add some machine-dependent GC roots.
19634         * sparc.c: Include ggc.h.
19635         (sparc_add_gc_roots): New function.
19636         (mark_ultrasparc_pipeline_state): Likewise.
19637         (override_options): Call sparc_add_gc_roots.
19638         * pa.c: Include ggc.h.
19639         (pa_add_gc_roots): New function.
19640         (mark_deferred_plabels): Likewise.
19641         (override_options): Call pa_add_gc_roots.
19642         * mips.c: Include ggc.h.
19643         (mips_add_gc_roots): New function.
19644         (override_options): Use it.
19646 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19648         * cpperror.c (cpp_file_line_for_message): Constify a char*.
19650         * cppexp.c (parse_number, parse_charconst, cpp_lex,
19651         cpp_parse_expr): Add static prototypes.
19652         (parse_charconst): Don't cast away const-ness.
19653         (token): Constify a char*.
19655         * cppfiles.c (file_name_list, include_hash, find_include_file,
19656         finclude, initialize_input_buffer): Constify a char*.
19657         (file_cleanup, find_position): Add static prototypes.
19659         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
19660         collect_expansion): Add static prototypes.
19661         (cpp_install, create_definition, monthnames): Constify a char*.
19663         * cpphash.h (cpp_install): Likewise.
19665         * cppinit.c (known_suffixes, default_include,
19666         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
19667         (base_name, dump_special_to_buffer, initialize_dependency_output):
19668         Add static prototypes.
19670         * cpplib.c (my_strerror): Constify a char*.
19671         (null_underflow, null_cleanup, skip_comment, copy_comment,
19672         copy_rest_of_line, handle_directive, pass_thru_directive,
19673         get_directive_token, read_line_number, cpp_print_file_and_line,
19674         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
19675         v_cpp_warning_with_line, detect_if_not_defined,
19676         consider_directive_while_skipping): Add static prototypes.
19677         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
19678         cpp_pedwarn_with_file_and_line): Constify a char*.
19680         * cpplib.h (cpp_options, include_hash, progname, definition,
19681         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
19682         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
19683         find_include_file, deps_output, include_hash): Constify a char*.
19685         * cppmain.c (progname): Constify.
19686         (main): Add prototype.  Use return, not exit.
19688         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
19689         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
19690         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
19691         check_protection): Add static prototype.
19692         (xfree): Remove.
19693         (progname, recognized_macrom, recognized_extern): Constify a char*.
19694         (main): Add prototype.
19696         * gen-protos.c (progname): Constify a char*.
19698 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
19700         * emit-rtl.c (free_emit_status): Take decl as a parameter.
19701         (init_emit_once): Add more GC roots.
19702         * except.c (mark_func_eh_entry): New function.
19703         (mark_eh_node): Mark false_label and rethrow_label.
19704         (init_eh): Add more GC roots.
19705         * function.c (free_after_compilation): Take decl as a paramter.
19706         Call free_stmt_status.
19707         (mark_function_state): Don't assume x_parm_reg_stack_loc is
19708         non-NULL.
19709         * function.h (free_after_compilation): Change prototype.
19710         (free_varasm_status): Likewise.
19711         (free_emit_status): Likewise.
19712         (free_stmt_status): New function.
19713         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
19714         Remove, replacing with ...
19715         (ggc_status): New structure.
19716         (ggc_chain): New variable.
19717         (init_gcc): Define.
19718         (ggc_push_context): New function.
19719         (ggc_pop_context): Likewise.
19720         (ggc_alloc_rtx): Adjust for use of ggc_chain.
19721         (ggc_alloc_rtvec): Likewise.
19722         (ggc_alloc_tree): Likewise.
19723         (ggc_alloc_string): Likewise.
19724         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
19725         (ggc_mark_tree): Give language-dependent code a chance to mark
19726         `x' nodes.
19727         (ggc_mark_tree_varray): Handle empty arrays.
19728         (ggc_collect): Adjust for use of ggc_chain.  Clear
19729         bytes_alloced_since_last_gc.
19730         * ggc.h (ggc_pop_context): New function.
19731         (ggc_push_context): Likewise.
19732         * print-tree.c (print_node): Don't print obstacks when GC'ing.
19733         * stmt.c (free_stmt_status): New function.
19734         (init_stmt_for_function): Clear last_expr_value.
19735         * toplev.c (rest_of_compilation): Always call free_after_compilation.
19736         Conditionalize call to ggc_collect.
19737         (main): Call init_ggc.
19738         * tree.c (push_obstacks): Do the push, even when GC'ing.
19739         (push_obstacks_nochange): Likewise.
19740         (pop_obstacks): Liekwise.
19741         * varasm.c (free_varasm_status): Take decl as a parameter.
19743 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19745         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
19746         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
19747         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
19748         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
19750 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
19752         * pa/x-pa-mpeix: New file for the MPE port.
19754         * pa/quadlib.asm: New file for long double support.
19756         * configure.in: Add hppa1.0-*-mpeix for MPE port.
19757         * configure: Rebuilt.
19759 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
19761         * final.c (shorten_branches): Fix last change.
19763 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
19765         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
19767 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
19769         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
19770         details.
19772 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19774         * c-aux-info.c (concat): Don't define.
19776         * cccp.c (my_strerror): Likewise.  All callers changed to use
19777         xstrerror instead.
19778         (do_include): Call xstrdup, not xmalloc/strcpy.
19779         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
19780         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
19782         * collect2.c (my_strsignal): Likewise.  All callers changed to use
19783         strsignal instead.
19784         (locatelib): Call xstrdup, not xmalloc/strcpy.
19786         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
19788         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
19790         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
19792         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
19794         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
19796         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
19798         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
19799         malloc/realloc.
19800         (find_all_handler_type_matches): Likewise.  Don't check return
19801         value.
19802         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
19803         xmalloc, not malloc.
19804         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
19806         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
19807         (init_spec): Call xcalloc, not xmalloc/bzero.
19808         (set_spec): Call xstrdup, not save_string.
19809         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
19810         (find_a_file): Call xstrdup, not xmalloc/strcpy.
19811         (process_command): Call xstrdup, not save_string.
19812         (main): Call xcalloc, not xmalloc/bzero.
19814         * gcov.c (xmalloc): Don't define.
19815         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
19816         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
19817         (output_data): Call xcalloc, not xmalloc/bzero.
19819         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
19821         * mips-tdump.c (xmalloc): Don't define.
19822         (print_symbol): Call xmalloc, not malloc.
19823         (read_tfile): Call xcalloc, not calloc.
19825         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
19826         Don't define.  All callers of xfree/my_strsignal changed to use
19827         free/strsignal instead.
19828         (allocate_cluster): Call xcalloc, not calloc.
19830         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
19831         Fix memory leak, free allocated memory.
19833         * prefix.c (translate_name): Call xstrdup, not save_string.
19834         (update_path): Likewise.
19836         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
19838         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
19839         Don't define.  Callers of xfree/savestring2 changed to use
19840         free/concat instead.
19842         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
19843         (init_elim_table): Likewise.
19845         * resource.c (init_resource_info): Likewise.
19847         * stupid.c (stupid_life_analysis): Likewise.
19849         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
19850         (open_dump_file): Call concat, not xmalloc/strcpy/...
19851         (clean_dump_file): Likewise.
19852         (compile_file): Call xstrdup, not xmalloc/strcpy.
19854 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
19856         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
19857         * v850.c (v850_va_arg): New.
19859 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19861         * haifa-sched.c: Tidy comments.
19863 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19865         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
19866         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
19867         $(out_object_file)): Depend on ggc.h.
19868         * c-common.c: Include "ggc.h".
19869         (combine_strings): If doing GC, use ggc_alloc_string.
19870         * c-decl.c: Include "ggc.h".
19871         (ggc_p): Define with value 0.
19872         (mark_binding_level): New function.
19873         (init_decl_processing): Add GC roots.
19874         (mark_c_function_context): New function.
19875         (lang_mark_false_label_stack): New function.
19876         (lang_mark_tree): New function.
19877         (lang_cleanup_tree): New function.
19878         * c-lang.c: Include "ggc.h".
19879         (lang_init): Call c_parse_init.
19880         * c-lex.c: Include "ggc.h".
19881         (check_linenum): If doing GC, don't copy filenames to permanent
19882         obstack.
19883         * c-parse.in: Include "ggc.h".
19884         (c_parse_init): New function.
19885         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
19886         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
19888         * except.c (mark_eh_state): Mark more state.
19889         * function.c (mark_function_state): Likewise.
19890         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
19891         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
19892         * toplev.c (mark_file_stack): New function.
19893         (compile_file): If doing GC, use ggc_alloc_string on input filename.
19894         (main): Add root for input_file_stack.
19896         * i386.c: Include "ggc.h".
19897         (ix86_mark_machine_status): New function.
19898         (override_options): Set mark_machine_status.
19900 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19902         * tree.c (copy_node): Copy node contents also if doing GC.
19904 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19906         * collect2.c (scan_libraries): Fix double-thinko :-).
19908 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
19910         * collect2.c (scan_libraries): Fix thinko.
19912         * cse.c (delete_trivially_dead_insns): Do not skip the last
19913         insn if it is a real insn.
19915 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
19917         * Makefile.in (ggc-simple.o): Depend on hash.h.
19918         * ggc.h (ggc_add_tree_hash_table_root): Declare.
19919         (ggc_mark_tree_varray): Likewise.
19920         (ggc_mark_tree_hash_table): Likewise.
19921         * ggc-simple.c: Include hash.h.
19922         (ggc_mark_tree_hash_table_ptr): New function.
19923         (ggc_mark_tree_hash_table_entry): Likewise.
19924         (ggc_mark_tree_hash_table): Likewise.
19925         (ggc_add_tree_hash_table_root): Likewise.
19926         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19927         rtx, when defining fields.
19929 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19931         * profile.c (output_func_start_profiler): Remove apparently
19932         nonsensical call to start_sequence.
19934 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
19936         * clipper/clipper.c (clipper_va_start): Fix typos.
19938         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19939         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19940         (spur_va_arg): New stub.
19942         * configure.in: Comment out pyramid.
19944 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
19946         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19947         don't conflict with the bits that win32, cygwin, and dgux
19948         defines.
19950 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
19951                           Bernd Schmidt <bernds@cygnus.co.uk>
19953         * integrate.c (function_cannot_inline_p): Do not inline
19954         functions with forced labels.
19956 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
19957                           Bernd Schmidt <bernds@cygnus.co.uk>
19958                           Mark Mitchell  <mark@codesourcery.com>
19960         * Makefile.in (ggc-simple.o): Depend on varray.h.
19961         (rtl.o): Depend on ggc.h.
19962         (genattrtab.o): Depend on ggc.h.
19963         (print-tree.o): Likewise.
19964         (fold-const.o): Likewise.
19965         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19966         (make_insn_raw): Don't cache insns when GC'ing.
19967         (emit_insn_before): Likewise.
19968         (emit_insn_after): Likewise.
19969         (emit_insn): Likewise.
19970         (start_sequence): Use xmalloc to allocate the sequence_stack.
19971         (end_sequence): Add free to free it.
19972         (gen_sequence): Don't cache insns when GC'ing.
19973         (clear_emit_caches): Don't use sequence_element_free_list.
19974         (init_emit): Use xcalloc, not xmalloc+bzero.
19975         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19976         * function.c (pop_function_context_from): Use free to free the
19977         fixup_var_refs_queue.
19978         (put_reg_into_stack): Allocate it with xmalloc.
19979         * genattrtab.c: Include ggc.h.
19980         (operate_exp): Don't use obstack_free when GC'ing.
19981         (simplify_cond): Likewise.
19982         (simplify_text_exp): Likewise.
19983         (optimize_attrs): Likewise.
19984         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19985         GC'ing.
19986         (gencode): Generate a #include for ggc.h.
19987         * ggc-callbacks.c (ggc_p): Define it to zero.
19988         * ggc-none.c (ggc_p): Likewise.
19989         * ggc-simple.c: Include varray.h.
19990         (ggc_mark_tree_varray): New function.
19991         (ggc_add_tree_varray_root): Likewise.
19992         (ggc_mark_tree_varray_ptr): Likewise.
19993         * ggc.h (ggc_p): Declare.
19994         (varray_head_tag): Likewise.
19995         (ggc_add_tree_varray_root): Declare.
19996         * print-tree.c (print_node): Don't check for TREE_PERMANENT
19997         inconsistencies when GC'ing.
19998         * rtl.c: Include ggc.h.
19999         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
20000         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
20001         (rtx_free): Don't call obstack_free when GC'ing.
20002         * toplev.c (rest_of_compilation): Call ggc_collect after every
20003         pass, if GC'ing.
20004         * tree.c (push_obstacks): Do nothing, if GC'ing.
20005         (pop_obstacks_nochange): Likewise.
20006         (pop_obstacks): Likewise.
20007         (make_node): Use ggc_alloc_tree when GC'ing.
20008         (copy_node): Likewise.
20009         (get_identifier): Use ggc_alloc_string when GC'ing.
20010         (build_string): Likewise.
20011         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
20012         (tree_cons): Likewise.
20013         (build1): Likewise.
20014         (type_hash_canon): Don't call obstack_free when GC'ing.
20016 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
20018         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
20019         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
20021 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
20022                           Bernd Schmidt <bernds@cygnus.co.uk>
20023                           Mark Mitchell  <mark@codesourcery.com>
20025         * Makefile.in (stor-layout.o): Depend on ggc.h.
20026         (expr.o): Depend on ggc.h.
20027         (profile.o): Depend on ggc.h.
20028         (stor-layout.o): Depend on ggc.h.
20029         * emit-rtl.c (init_emit_once): Add gc roots.
20030         * expr.c: Include ggc.h.
20031         (emit_block_move): Add gc roots.
20032         (clear_storage): Likewise.
20033         * expr.h (init_stor_layout_once): New function.
20034         * profile.c: Include ggc.h.
20035         (init_arc_profiler): profiler_label is a root.
20036         * scan.c (make_sstring_space): Trust xrealloc to function
20037         correctly with first parameter NULL.
20038         * stor-layout.c: Include ggc.h.
20039         (set_sizetype): Add gc root.
20040         (init_stor_layout_once): New function.
20041         * toplev.c (compile_file): Call it.
20043 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
20044                           Bernd Schmidt <bernds@cygnus.co.uk>
20045                           Mark Mitchell  <mark@codesourcery.com>
20047         * Makefile.in (tree.o): Depend on ggc.h.
20048         (varasm.o): Likewise.
20049         (function.o): Likewise.
20050         (stmt.o): Likewise.
20051         (except.o): Likewise.
20052         (optabs.o): Likewise.
20053         (emit-rtl.o): Likewise.
20054         * emit-rtl.c: Include ggc.h.
20055         (sequence_element_free_list): Remove, and all references.
20056         (mark_sequence): New functions.
20057         (mark_emit_state): New function.
20058         * except.c: Include ggc.h.
20059         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
20060         (mark_tree_label_node): New functions.
20061         (mark_eh_state): New function.
20062         * function.c: Include ggc.h.
20063         (mark_temp_slot, mark_function_chain): New functions.
20064         (mark_function_state): New function.
20065         (init_function_once): New function.
20066         * function.h (init_function_once): New function.
20067         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
20068         * ggc.h (label_node): Declare.
20069         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
20070         (lang_mark_false_label_stack): New function.
20071         (mark_temp_slot): Remove declaration.
20072         (mark_function_chain): Likewise.
20073         (mark_eh_state): Adjust prototype.
20074         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
20075         Likewise.
20076         * optabs.c: Include ggc.h.
20077         (mark_optab): New function.
20078         (init_optabs): Add gc roots.
20079         * stmt.c: Include ggc.h.
20080         (mark_cond_nesting, mark_loop_nesting): New functions.
20081         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
20082         (mark_stmt_state): New function.
20083         * toplev.c (compile_file): Call init_function_once.
20084         * tree.c: Include ggc.h.
20085         (type_hash): Move declaration earlier in file.
20086         (TYPE_HASH_SIZE, type_hash_table): Likewise.
20087         (init_obstacks): Add gc roots.
20088         (mark_type_hash): New function.
20089         * varasm.c: Include ggc.h.
20090         (mark_pool_constant): New function.
20091         (mark_varasm_state): New function.
20093 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20095         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
20097 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
20099         * c-decl.c (struct language_function): Renamed from struct c_function.
20100         Delete elt NEXT.
20101         (c_function_chain): Delete.
20102         (push_c_function_context): New arg F.  Don't warn about nested
20103         functions here.  Fill LANGUAGE elt of F.  Delete code to update
20104         c_function_chain.  Don't call push_function_context.
20105         (pop_c_function_context): New arg F.  Restore from there instead of
20106         from c_function_chain.  Don't call pop_function_context.  Clear out
20107         LANGUAGE field of F when done.
20108         * c-lang.c: Include "function.h"
20109         (lang_init): Initialize save_lang_status and restore_lang_status.
20110         * c-parse.in (nested_function, nested_function_notype): Warn about
20111         nested functions.  Call push_function_context/pop_function_context
20112         instead of the _c_ variants.
20113         * c-tree.h (push_c_function_context, pop_c_function_context): Update
20114         prototype.
20115         * Makefile.in (c-lang.o): Update dependencies.
20117         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
20118         regno_pointer_flag, regno_pointer_align.
20119         (gen_reg_rtx): Use xrealloc to enlarge them.
20120         (free_emit_status): New function.
20121         * function.c (mark_machine_status, mark_lang_status): New variables.
20122         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
20123         in some bits from assign_stack_local.  All callers changed to use new
20124         name.
20125         (assign_stack_local): Just call assign_stack_local_1.
20126         (free_after_compilation): New function.
20127         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
20128         (trampoline_address): Likewise.
20129         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
20130         (prepare_function_start): Explicitly clear some more variables.
20131         * function.h (struct function): New elt can_garbage_collect.
20132         (mark_machine_status, mark_lang_status): Declare variables.
20133         (free_after_compilation, free_emit_status, free_varasm_status,
20134         init_varasm_status): Declare functions.
20135         * toplev.c (rest_of_compilation): Call free_after_compilation when
20136         done with the current function.
20137         * varasm.c (free_varasm_status): New function.
20139 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
20141         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
20142         (EXPAND_BUILTIN_VA_ARG): Define.
20143         * sparc.c (sparc_va_start): New.
20144         (sparc_va_arg): New.
20146 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20148         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
20150 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20152         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
20154 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
20156         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
20157         (OBJS): Add $(GGC).
20158         (ggc-callbacks.o): New target.
20159         * ggc-callbacks.c: New file.
20161 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20163         * expr.h: Collapse individual optab and libfunc vars to arrays.
20164         (optab_index, libfunc_index): New enumerations.
20165         (optab_table, libfunc_table): New arrays.
20166         Add accessor macros for both.
20168         * optabs.c (optab_table, libfunc_table): New.
20169         Delete declarations for individual optab and libfunc vars.
20171 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
20173         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
20175 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
20177         * Makefile.in (GGC, GGC_LIB): New.
20178         (HOST_RTL): Include ggc-none.o.
20179         (ggc-simple.o): New target.
20180         (ggc-none.o): Likewise.
20181         * tree.h (tree_common): Add gc_mark.
20182         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
20183         (struct rtvec_def): Add gc_mark.
20184         * emit-rtl.c (global_rtl): Update static initializers to contain
20185         enough initializers.
20186         * ggc.h, ggc-none.c, ggc-simple.c: New files.
20187         * toplev.c (gc_time): New variable.
20188         (all_time): New variable.
20189         (compile_file): Print gc time.
20190         (print_time): Calculate percentage of the whole.
20192 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20194         Change obstack memory management and varasm constant pool handling so
20195         that nested functions are treated like any other functions.
20196         * function.c (init_machine_status): New variable.
20197         (push_function_context_to): Set contains_functions for the outer
20198         function.  Don't call save_varasm_status.
20199         (pop_function_context_from): Don't call restore_varasm_status.  Don't
20200         set current_function_contains_functions.
20201         (prepare_function_start): Call init_varasm_status rather than
20202         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
20203         is non-null.
20204         * function.h (struct function) Add field varasm.  Delete fields
20205         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
20206         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
20207         (init_machine_status): Declare.
20208         (save_varasm_status, restore_varasm_status): Delete declarations.
20209         (save_tree_status, restore_tree_status): Delete last argument.
20210         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
20211         code.  All callers changed.
20212         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
20213         save_constants_in_decl_trees, restore_constants, save_constants,
20214         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
20215         functions.
20216         (inlining): New variable.
20217         (reg_map, label_map, insn_map, orig_asm_operands_vector,
20218         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
20219         variables.
20220         (save_for_inline_nocopy): Don't save constants.
20221         Don't set inl_emit field in current_function.
20222         (expand_inline_function): Use emit field, not inl_emit, of the inlined
20223         function.  Set new variable inlining before
20224         calling copy_rtx_and_substitute.
20225         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
20226         constant pool references if inlining is nonzero.
20227         Delete ADDRESS and (most of the) CONST cases.
20228         (output_inline_function): Save and restore current_function/
20229         current_function_decl.  Delete restore_constants code.  Don't call
20230         init_const_rtx_hash_table.
20231         * output.h (init_const_rtx_hash_table): Don't declare.
20232         * rtl.h (struct function): Declare.
20233         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
20234         * toplev.c (rest_of_compilation): Don't treat nested functions or
20235         functions containing them specially.  Delete all code to deal with
20236         save_for_inline_copying.
20237         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
20238         inline_obstacks): Delete variables.
20239         (save_tree_status): Lose arg CONTEXT.  All callers changed.
20240         Simply allocate a new function_maybepermanent_obstack for the new
20241         function, delete all the special cases.
20242         Don't save inline_obstacks.
20243         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
20244         Delete special handling for function_maybepermanent_obstack; simply
20245         free it if empty.
20246         Don't restore inline_obstacks.
20247         (permanent_allocation):  Delete code that frees inline_obstacks.
20248         (print_inline_obstack_statistics): Delete function.
20249         (dump_tree_statistics): Don't call it.
20250         * varasm.c (struct varasm_status): New.
20251         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
20252         last_pool, pool_offset, const_double_chain): Delete global
20253         variables, replace with accessor macros.
20254         (immed_double_const): Don't walk const_double_chain outside a
20255         function, but don't treat nested functions specially anymore.
20256         (immed_real_const_1): Likewise.
20257         (clear_const_double_mem): Don't treat nested functions specially.
20258         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
20259         (save_varasm_status, restore_varasm_status): Delete functions.
20260         (init_varasm_status): New function.
20261         (force_const_mem): Don't treat nested functions specially.
20262         (find_pool_constant): Accept new arg F, search for constants in
20263         that function's pool rather than the current one.  All callers
20264         changed.
20265         (get_pool_constant_for_function, get_pool_mode_for_function): New
20266         functions.
20268         * i386.c (init_386_machine_status): New function, mostly from
20269         clear_386_stack_locals.
20270         (struct machine_functions): Rename element names to avoid name
20271         clashes.
20272         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
20273         macros, replacing global variables.
20274         (clear_386_stack_locals, save_386_machine_status,
20275         restore_386_machine_status): Delete functions.
20276         (override_options): Initialize init_machine_status.
20277         * i386.h (INIT_EXPANDERS): Delete macro.
20278         (save_386_machine_status, restore_386_machine_status,
20279         clear_386_stack_locals): Delete declarations.
20281 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20283         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
20284         (doloop_begin):  Simplify pattern and use emit_jump_insn.
20285         (doloop_end): Simplify pattern, switch operand order,
20286         and use emit_jump_insn.
20288 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
20290         * function.h (struct function): Add new element LANGUAGE.
20291         (save_lang_status): Declare new variable.
20292         (restore_lang_status): Likewise.
20293         * function.c (save_lang_status): Define.
20294         (restore_lang_status): Likewise.
20295         (push_function_context_to): Call language-specific save function.
20296         (pop_function_context_from): Call language-specific restore function.
20298 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
20300         * i386.md (movsf_1): Check REG_P before use of REGNO.
20301         (movdf_1): Likewise.
20302         (movxf_1): Likewise.
20303         (extendsfdf2): Likewise.
20304         (extendsfxf2): Likewise.
20305         (extenddfxf2): Likewise.
20307 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20309         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
20310         constants into memory.
20311         (c4x_shiftable_constant): New function.
20312         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
20313         (c4x_shiftable_constant): Declare.
20314         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
20315         ashlqi3_noclobber): Add new patterns and associated splitters.
20317 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
20319         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
20320         * dwarf2out.c (dwarf2out_frame_init): Likewise.
20321         * final.c (shorten_branches): Likewise.
20322         * global.c (global_alloc): Likewise.
20323         * haifa-sched.c (build_control_flow): Likewise.
20324         * stmt.c (check_for_full_enumeration_handling): Likewise.
20325         (estimate_case_costs): Likewise.
20327 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
20329         * rtl.h (RTL_CHECKC2): Fix typo in last change.
20331 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
20333         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
20334         (recompute_reg_usage): Likewise.
20335         * rtlanal.c (find_regno_fusage): Likewise.
20337         * rtl.c (rtl_check_failed_code1): New function.
20338         (rtl_check_failed_code2): New.
20339         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
20340         (RTL_CHECKC1, RTL_CHECKC2): New.
20341         (XC*): New accessor macros.
20342         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
20343         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
20344         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
20345         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
20346         (TRAP_*, RANGE_INFO_*): Likewise.
20348 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20350         * Makefile.in (tlink.o): Don't depend on toplev.h.
20352         * collect2.c (c_file, o_file, export_file, import_file, ldout,
20353         output_file, nm_file_name, ldd_file_name, strip_file_name,
20354         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
20355         add_prefix, prefix_from_env, prefix_from_string, do_wait,
20356         fork_execute, maybe_unlink, add_to_list,
20357         extract_init_priority, write_list, dump_list,
20358         dump_prefix_list, write_list_with_asm, write_c_file,
20359         write_c_file_stat, write_c_file_glob, scan_prog_file,
20360         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
20361         ignore_library, extract_string, notice, dump_file, target_machine,
20362         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
20363         read_file, print_load_command): Constify a char*.
20364         (fdopen, error, fatal, fatal_perror): Don't prototype.
20365         (my_strerror): Remove.  All callers use xstrerror instead.
20366         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
20367         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
20368         to xcalloc/strcpy/strcat/...  to one call to concat.
20369         (main, scan_prog_file, scan_libraries): Use an intermediate
20370         `const char **' to build an argv array.
20371         (mapfile, libselect, libcompare, locatelib): Add prototypes.
20373         * collect2.h (collect_execute, collect_wait, dump_file,
20374         file_exists): Constify a char*.
20375         (ldout, c_file_name, temporary_obstack, permanent_obstack,
20376         temporary_firstobj, vflag, debug): Add extern declarations.
20377         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
20379         * tlink.c: Don't include toplev.h.
20380         (vflag, debug, ldout, c_file_name, temporary_obstack,
20381         permanent_obstack, temporary_firstobj): Don't declare.
20382         (tlink_execute, frob_extension, symbol_hash_lookup,
20383         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
20384         recompile_files, read_repo_files, demangle_new_symbols,
20385         scan_linker_output): Constify a char*.
20386         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
20387         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
20389 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
20391         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
20392         (relative) rather than jsr (absolute) subroutine call insns.
20393         * config/m68k/m68k-coff.h: Ditto.
20395 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
20397         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
20398         now rework these too.
20399         (arm_reorg): If an insn can't reach the end of the current pool,
20400         ensure that we emit that pool before the insn.
20402 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
20404         * tlink.c (scan_linker_output): Skip the initial underscore in
20405         a mangled name if appropriate.
20407 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20409         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
20410         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
20411         error_with_ivar, gen_declarator, create_builtin_decl,
20412         my_build_string, generate_descriptor_table, generate_ivars_list,
20413         generate_dispatch_table, check_protocols, TAG_GETCLASS,
20414         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
20415         dump_base_name, lang_decode_option, build_encode_expr,
20416         start_class, finish_class, encode_pointer, really_start_method,
20417         gen_declaration, dump_interface, handle_class_ref, handle_impent):
20418         Constify.
20419         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
20420         Add static prototypes.
20421         (build_objc_string_decl, build_selector_reference_decl,
20422         encode_bitfield, build_class_reference_decl): Remove unused
20423         parameter, all callers changed.
20424         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
20425         (objc_printable_name): Likewise.  Change second parameter to type int.
20426         (init_objc): Use memcpy, not bcopy, to avoid casts.
20428 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
20430         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
20431         reg notes on a deleted insn.
20432         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
20434 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
20436         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
20438 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20440         * stmt.c (expand_asm_operands): Fix index into inout_mode when
20441         reading it.
20443 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
20445         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
20446         * tm.texi (MD_ASM_CLOBBERS): Document it.
20448 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
20450         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
20451         * except.c (expand_rethrow): Remove unused variable.
20452         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
20453         * flow.c (replace_insns): Likewise.
20454         (create_edge_list, verify_edge_list): Likewise.
20455         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
20457         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
20458         is special code to run.
20459         (main): Don't define operands to emit_operand.
20460         * genrecog.c (main): Don't emit an empty peephole2_insn function.
20462         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
20464         * alpha/alpha.h (normal_memory_operand): Declare.
20465         (reg_no_subreg_operand): Declare.
20466         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
20468 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
20470         * c-parse.in (compstmt_primary_start): New, broken out of first
20471         part of compstmt handling in primary.
20472         (primary): Use it.  Add an error clause.
20473         (compstmt_nostart): Renamed from compstmt; remove all
20474         initial invocations of compstmt_start.
20475         (compstmt): New.
20477 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
20479         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
20480         needed.
20482 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
20484         * combine.c (simplify_shift_const): Remove extra semicolon.
20485         * dwarf2out.c (remove_AT): Likewise.
20486         * expmed.c (expand_mult): Likewise.
20487         * gcov.c (create_program_flow_graph): Likewise.
20488         * reorg.c (mostly_true_jump): Likewise.
20490 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
20492         * fold-const.c (fold_range_test): Do not try to fold the range
20493         test if the rhs or lhs has side effects.
20495         * combine.c (simplify_rtx): Recognize another case of a synthesized
20496         sign extension.
20498         * varasm.c (mark_constant_pool): When marking indirect references,
20499         only look at SYMBOL_REFs.
20501         * except.c (expand_fixup_region_end): Do not peek at
20502         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
20504 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
20506         * flags.h: New variables align_loops, align_loops_log,
20507         align_jumps, align_jumps_log, align_labels, align_labels_log,
20508         align_functions, align_functions_log.
20509         * toplev.c: Define them.
20510         (f_options): Handle -falign-* when they have no argument.
20511         (main): Add logic to set variables for -falign-functions,
20512         -falign-jumps, -falign-labels, -falign-loops.
20513         Make it -fsched-verbose=<n> and -finline-limit=<n>.
20514         (display_help): Change help to match options.
20515         * final.c (LABEL_ALIGN): Default to align_labels_log.
20516         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
20517         (LOOP_ALIGN): Default to align_loops_log.
20518         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
20519         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
20520         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
20521         * varasm.c (assemble_start_function): Handle align_functions.
20523         * config/sparc/sparc.h: Don't declare sparc_align_*.
20524         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
20525         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
20526         sparc.c.
20527         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
20528         it's a promise.
20529         * config/sparc/sparc.c: Delete sparc_align_loops,
20530         sparc_align_jumps, sparc_align_funcs and the corresponding string
20531         variables.
20532         (sparc_override_options): Default align_functions on ultrasparc.
20533         Delete -malign-* handling.
20535         * config/mips/mips.c (override_options):  On 64-bit targets,
20536         try to align code to 64-bit boundaries.
20537         (print_operand): New substitution, %~,
20538         which aligns labels to align_labels_log.
20539         * config/mips/mips.md (div_trap_normal): Use %~.
20540         (div_trap_mips16): Likewise.
20541         (abssi): Likewise.
20542         (absdi2): Likewise.
20543         (ffssi2): Likewise.
20544         (ffsdi2): Likewise.
20545         (ashldi3_internal): Likewise.
20546         (ashrdi3_internal): Likewise.
20547         (lshrdi3_internal): Likewise.
20548         (casesi_internal): Likewise.
20550 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
20552         Merge new ia32 backend from the branch!
20554         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
20555         See ChangeLog.P2 on new_ia32_branch for details.
20557         * rtl.h (stack_regs_mentioned_p): Delete prototype.
20558         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
20559         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
20560         * i386/gas.h (ASM_FILE_START): Define.
20561         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
20562         for name change of ix86_valid_decl_attribute_p.
20563         (i386_pe_valid_type_attribute_p): Similarly.
20565 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
20567         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
20568         to step through CC modes.
20570 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20572         * regmove.c (fixup_match_1): Don't move INSN in front of P if
20573         it would end up in the shadow of a live flags regsiter.
20575 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20577         * reload1.c: Fix many indentation problems.
20578         * reload.c: Likewise.
20580 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
20582         * alias.c (non_local_reference_p): Constify fmt.
20584 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
20586         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
20588 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
20590         * cse.c (delete_trivially_dead_insns): Do not delete stores to
20591         the internal_arg_pointer.
20593 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
20595         Merge peephole2 from new_ia32_branch:
20596         * Makefile.in (STAGESTUFF): Add *.peephole2.
20597         (mostlyclean): Likewise.
20598         (recog.o): Depend on resource.h.
20600         * final.c (peephole): Conditionalize decl on HAVE_peephole.
20601         (final_scan_insn): Likewise for the invocation of peephole.
20602         * genconfig.c (main): Look for peephole and peephole2 patterns.
20603         Emit HAVE_peephole* accordingly.
20604         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
20605         * flags.h (flag_peephole2): Declare.
20606         * toplev.c: New pass peephole2.  New flag -fpeephole2.
20608         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
20609         * gencodes.c (main): Likewise.
20610         * genextract.c (main): Likewise.
20611         * genoutput.c (main): Likewise.
20612         * genemit.c (max_operand_1): Look for the max scratch operand.
20613         (gen_rtx_scratch): New.
20614         (gen_exp): Use it, and pass on new arg subroutine_type.
20615         (gen_expand): Take max scratch into account.
20616         (gen_split): Emit peephole2 functions.
20617         (output_peephole2_scratch): New.
20618         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
20619         * genrecog.c (routine_type): Add PEEPHOLE2.
20620         (IS_SPLIT): New.
20621         (make_insn_sequence): Match outer parallel for peep2.  Discard
20622         top level scratches and dups.
20623         (add_to_sequence): New args insn_type and top.  Update all callers.
20624         Handle toplevel peep2 matching insns.
20625         (write_subroutine): Handle peep2.
20626         (write_tree_1): Likewise.
20627         (write_tree): Likewise.
20628         (main): Likewise.
20629         (change_state): New arg afterward.  Update all callers.
20630         Handle matching separate insns.
20631         * recog.c (recog_next_insn): New.
20632         (peephole2_optimize): New.
20633         * rtl.def (DEFINE_PEEPHOLE2): New.
20634         * resource.c (find_free_register): New argument last_insn.  Use it
20635         to find a register available through the entire span.
20636         * resource.h (find_free_register): Update prototype.
20638 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
20640         * i386.c (output_strlen_unroll): Don't write xops[7]
20641         label if it wasn't set.
20643 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
20645         * cpplib.c (struct directive): Const-ify name pointer and
20646         function pointer prototype.
20647         (validate_else, do_define, do_line, do_include, do_undef,
20648         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
20649         do_elif, do_endif, do_sccs, do_assert, do_unassert,
20650         do_warning): Const-ify second arg.
20651         (directive_table): Mark const.  Reorder entries by frequency
20652         of usage, record statistics.
20654 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
20656         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
20657         bounds- check RTL accesses if --enable-checking.
20658         (RTVEC_ELT): Bounds check if --enable-checking.
20659         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
20660         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
20661         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
20662         GET_NUM_ELEM.
20663         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
20664         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
20666         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
20667         (NOTE_SOURCE_FILE): Use X0STR.
20668         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
20669         MEM_ALIAS_SET): Use X0INT.
20670         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
20671         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
20672         Use X0EXP.
20673         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
20674         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
20675         (rtl_check_failed_bounds, rtl_check_failed_type1,
20676         rtl_check_failed_type2, rtvec_check_failed_bounds): New
20677         functions.
20678         (fancy_abort): Fix comment.
20680         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
20681         (cse_insn): Decrement LABEL_NUSES for jump target before
20682         deleting jump insn.
20683         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
20684         * final.c (alter_subreg): Compute regno before changing x to
20685         REG; set REGNO(x) after changing it.
20686         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
20687         notes containing CONST_INTs.
20688         (delete_eh_regions): Use NOTE_EH_HANDLER.
20689         * function.c (put_reg_into_stack): Make reg a MEM before
20690         initializing it.
20691         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
20692         delete insn.
20693         (gen_mem_addressof): Make reg a MEM before initializing it.
20694         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
20695         X0WINT.
20696         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
20697         deleting an insn, not after.
20698         (block_alloc): Only look at PATTERN(insn) if we have to, and
20699         only if it's format class 'i'.
20700         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
20701         CONST_INT before using its INTVAL.
20702         * print-rtl.c (print_rtx): Use X0STR.
20703         * regmove.c (fixup_match_1): Don't look at PATTERN of
20704         non-class-'i' insn chain elements.
20705         * reload.c (loc_mentioned_in_p): Take address of
20706         in->fld[1].rtx directly.
20707         * reload1.c (reload): Change reg to a MEM before initializing
20708         it.
20709         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
20710         have no names.
20711         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
20713 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
20715         * config/mips/mips.c (machine_dependent_reorg): Force a
20716         barrier to output the local constant pool if a barrier hasn't
20717         been found at a natural point in the instruction stream.
20719 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20721         * c-parse.in (language_string): Constify.
20723         * dwarf2out.c (language_string): Remove declaration.
20725         * dwarfout.c (language_string): Likewise.
20727         * toplev.c (language_string, init_parse, finish_parse): Likewise.
20729         * tree.h (language_string, init_parse, finish_parse): Declare.
20731         * i386/sun386.h (language_string): Remove declaration.
20733         * mips.h (language_string): Likewise.
20735         * nextstep.h (language_string): Likewise.
20737         * nextstep21.h (language_string): Likewise.
20739         * rs6000.c (language_string): Likewise.
20741 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20743         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
20744         (getpwd.o): Remove target.
20746         * getpwd.c: Delete file.  Its in libiberty now.
20748         * dbxout.c (getpwd): Don't prototype.
20749         * dwarf2out.c (getpwd): Likewise
20750         * dwarfout.c (getpwd): Likewise
20751         * final.c (getpwd): Likewise.
20752         * protoize.c (getpwd): Likewise.
20754 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20756         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
20758 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
20760         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
20761         mark_set_resources.
20763 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
20765         * fixinc/Makefile.in (subdir): New.
20766         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
20767         (Makefile): New.
20769 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
20771         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
20772         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
20773         be shared.
20775         * invoke.texi: Fix typo.
20777         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
20778         changed.  Handle autoincrement addressing modes.
20780         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
20781         just like we would the virtual incoming args register when
20782         integrating.
20784 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
20786         * rs6000.h (ASM_FILE_START): Specify complete filename, including
20787         path, in .file directive.
20789 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
20791         * gcc.texi (External Bugs): Remove obsolete note about Perl on
20792         SunOS.
20794 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
20796         * stdbool.h: Make the typedef name _Bool, with bool a #defined
20797         alias.
20799 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20801         * tree.c (tree_code_name): Constify a char*.
20803         * tree.h (tree_code_name, decl_printable_name): Likewise.
20805         * function.h (struct function): Likewise.
20807         * toplev.c (decl_name, decl_printable_name): Likewise.
20809         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
20811         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
20812         (init_objc): Remove function pointer cast.
20814 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
20816         * pa.md (interspace_jump): New pattern.
20817         (builtin_longjmp): New expander.
20819 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
20821         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
20822         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
20823         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
20825 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
20827         * jump.c (delete_prior_computation): Also check calls
20828         to constant functions.  Don't bother checking for a
20829         REG_UNUSED note before adding it.
20830         (delete_computation): Handle multi-word hard registers
20831         when synthesizing missing REG_DEAD notes for a register
20832         which is both set and used by an insn.
20834 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20836         * loop.c (this_loop_info): New variable.
20837         (loop_has_call, loop_has_volatile, loop_has_tablejump,
20838         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
20839         All uses updated.
20840         (prescan_loop, strength_reduce): New argument loop_info.  All callers
20841         updated.
20842         (scan_loop): New variable loop_info, initialise to address of
20843         this_loop_info.
20844         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
20845         Delete variable loop_has_multiple_exit targets and replace with
20846         field in this_loop_info.
20847         (find_and_verify_loops): Rename this_loop to this_loop_num.
20848         (strength_reduce): Delete loop_iteration_info.  Replace variable
20849         loop_info with function argument of same name.
20850         (insert_bct): Rework test for loop being completely unrolled.
20852         * loop.h (struct loop_info): New fields num, loops_enclosed,
20853         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
20854         has_indirect_jump, and cont.  Redefine use of unroll_number.
20855         (loop_unroll_number): Delete.
20857         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
20858         field of loop_info.
20859         (loop_iterations): Delete variable vtop and instead use
20860         loop_info->vtop computed in prescan_loop.
20862 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
20864         * fix-header.c (main): Do not pass a null pointer to strcmp.
20866 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
20868         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
20869         filenames.
20870         * configure: Rebuilt.
20872 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
20874         * jump.c (jump_optimize_1): Do not delete assignments to
20875         internal_arg_pointer.
20876         * cse.c (delete_trivially_dead_insns): Always consider a set of
20877         the internal_arg_pointer live.
20879 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
20881         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
20882         (update_life_info) [REG_WAS_0]: Search the original insns rather
20883         than the new insns for the note.  Fix typos finding note_dest.
20884         If no dest found, discard the note rather than abort.
20885         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
20886         (replace_insns): Remove the old insn list after update_life_info
20887         not before.
20889 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
20891         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
20892         sched_analyze_insn.
20893         (sched_analyze_1): Let add_dependence care for not adding dups.
20894         (sched_analyze_2): Likewise.
20895         (add_branch_dependences): Likewise.
20897 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20899         * i386/winnt.c (export_list): New type.
20900         (exports_head): Rename to
20901         (export_head):  this.
20902         (i386_pe_record_exported_symbol): Add is_data flag.
20903         (i386_pe_asm_file_end): Emit directive for exported variables.
20904         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
20905         prototype.
20906         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
20907         (ASM_DECLARE_OBJECT_NAME): Likewise.
20908         (ASM_DECLARE_FUNCTION_NAME): Likewise.
20909         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
20911 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
20913         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20915         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20916         operand.
20918 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
20920         * config/openbsd.h: Define SET_ASM_OP.
20921         * tm.texi: cross-reference SET_ASM_OP in the index.
20923 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
20925         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20926         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
20927         and class_narrowest_mode at compile time.  Kill init_rtl.
20928         Mark rtx_length, mode_class, mode_size, mode_unit_size,
20929         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20930         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
20931         EXTRA_CC_NAMES.
20932         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20933         format.
20934         * rtl.h: Declare rtx_length and rtx_format as const.
20935         * machmode.def: Define CC().  Use CC() to define CCmode.  If
20936         EXTRA_CC_MODES is defined, expand it here.
20937         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20938         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20939         const.  Kill all references to EXTRA_CC_MODES.
20941         * toplev.c: Don't prototype or call init_rtl.
20942         * optabs.c: Don't call init_mov_optab.
20943         * genemit.c: Don't generate init_mov_optab.  Don't call
20944         init_rtl.
20945         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20946         here.
20947         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20948         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20949         genrecog.c: Don't call init_rtl.
20951         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20952         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
20953         definition of EXTRA_CC_MODES.
20955         * md.texi: Kill ref to EXTRA_CC_NAMES.
20956         * tm.texi: Document new way to define EXTRA_CC_MODES.
20958         * genrecog.c: Do not look up the name of a define_split.
20959         (Unrelated bugfix.)
20961 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
20963         * config/v850/v850.md: Fix typo introduced by previous delta.
20965 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20967         * gcc.c (fatal): Make definition static to match prototype.
20969 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20971         * combine.c (get_last_value): Don't look for earlier sets if the last
20972         known set is somewhere in between the insns being combined.
20974 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
20976         * configure.in: Don't use shell ! to negate exit codes
20977         * configure: Regenerate
20979 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
20981         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20982         the fact that ALIGN is measured in bits, not bytes.
20984 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
20986         * errors.c: New file; defines functions error, warning, and
20987         fatal, variables have_error and progname.
20988         * errors.h: New file; prototypes and decls for stuff in errors.c.
20990         * Makefile: Add rules to build errors.o and
20991         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
20992         genopinit, genrecog, genextract, genpeep, genattr, and
20993         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
20994         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20995         genpeep.o, genattr.o, and genoutput.o.
20997         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20998         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
20999         define or prototype fatal.  Set progname at beginning of main.
21000         * genoutput.c:  Likewise, and don't define or prototype error
21001         either.
21003         * c-typeck.c (c_expand_start_case): Return immediately if exp
21004         is an ERROR_MARK.
21005         * fold-const.c (operand_equal_p): Return immediately if arg1
21006         or arg0 are ERROR_MARKs.
21007         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
21008         fields of type ERROR_MARK when calculating if the record can
21009         go in a register.
21011 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
21012         with much help from Jeffrey A Law and Richard Henderson
21014         * i386.md: In the 6 insns which call output_fix_trunc,
21015         earlyclobber operands[0].
21017 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
21019         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
21020         creating new registers.
21022 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
21024         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
21025         i386_reg_alloc_order, i386_regparm_string,
21026         i386_align_loops_string, i386_align_jumps_string,
21027         i386_align_funcs_string, i386_preferred_stack_boundary_string,
21028         and i386_branch_cost_string as type "const char *".
21029         * i386.c: Define all above strings as type "const char *".
21031 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
21033         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
21034         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
21036 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
21038         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
21039         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
21041 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
21043         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
21044         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
21045         (dwarf2out_line, dwarf2out_finish): Likewise.
21046         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
21048 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21050         * tree.c (lang_unsave_expr_now) : Correct return type.
21051         * tree.h (lang_unsave_expr_now) : Same.
21053 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
21055         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
21056         instead of duplicating code.
21058 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21060         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
21062 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
21064         * tree.h: fancy_abort always takes three args.
21065         * resource.c: Move include of system.h before toplev.h.
21067 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
21069         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
21070         as SYMBOL_REFs.
21072 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
21074         * system.h: Don't redefine abort or trim_filename.
21075         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
21076         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
21077         whether or not __FUNCTION__ is available.
21078         * tree.h: Duplicate rtl.h's definition of abort, for files
21079         that don't include rtl.h.  Delete all code to perform type
21080         checking with a compiler other than GCC.
21081         * varray.h: Delete all code to perform type checking with a
21082         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
21083         its arguments exactly once, using a statement expression.
21084         Adjust the VARRAY_<type> accessor macros to match.
21085         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
21086         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
21087         caller's location.  Define fatal_insn and fatal_insn_not_found
21088         as macros that use _fatal_insn and _fatal_insn_not_found.
21089         (fancy_abort, trim_filename): Kill prototypes.
21091         * rtl.c (trim_filename): Move here from toplev.c.
21092         (fancy_abort): New function.
21093         (DIR_SEPARATOR): Provide default definition.
21094         * tree.c (tree_check_failed, tree_class_check_failed): Go
21095         through fancy_abort.
21096         (tree_check, tree_class_check, cst_or_constructor_check,
21097         expr_check): Delete.
21098         * varray.c (varray_check_failed): New function.
21099         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
21100         _fatal_insn and _fatal_insn_not_found.  Go through
21101         fancy_abort.
21102         (trim_filename, fancy_abort): Delete.
21104         * builtins.c (expand_builtin_args_info): Report ICE with abort.
21105         * except.c (start_catch_handler): Report ICE with error/abort
21106         combo.
21107         * final.c (output_operand_lossage): Likewise.
21108         * flow.c (verify_flow_info): Likewise.
21110         * gcc.c: Prototype fatal.
21111         * gengenrtl.c: Undef abort after including rtl.h not system.h.
21112         * genattr.c, genattrtab.c, genemit.c, genextract.c,
21113         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
21114         Don't define fancy_abort.
21116 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
21118         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
21119         canonization.
21121 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
21123         * m88k.h (VERSION_INFO2): Kill.
21124         (VERSION_STRING): Kill.
21125         (TM_RCS_ID): Kill.
21126         (VERSION_INFO1): Tidy.
21127         (TARGET_VERSION): Update.
21128         * m88k/dgux.h (VERSION_INFO2): Kill.
21129         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
21130         * m88k/luna.h (VERSION_INFO1): Tidy.
21131         * m88k/sysv4.h (VERSION_INFO1): Likewise.
21132         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
21133         (output_file_start): Adjust for death of VERSION_STRING.
21135 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
21137         * cpplib.c (detect_if_not_defined): New function.
21138         (do_if): Use it to detect potential once-only headers.
21140 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
21142         * c-common.c (combine_strings): Always set TREE_CONSTANT.
21144 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21146         * combine.c (nonzero_bits) : Allow single-ly set registers to be
21147         anywere in the function only if they are pseudos and set before
21148         being used (not live at the start of the function).
21149         (num_sign_bit_copies) : Same.
21150         (get_last_value_validate) : Same.
21151         (get_last_value) : Same.
21153 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
21155         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
21156         where N and M are constant and N is an integer multiple of M.
21158 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21160         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
21161         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
21162         sbitmap_union_of_preds): Add prototypes.
21163         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
21164         the intersection of successors with the new flow graph structures.
21165         (sbitmap_intersection_of_preds): New function to compute the
21166         intersection of predecessors with the new flow graph structures.
21167         (sbitmap_union_of_succs): New function to compute the union of
21168         successors with the new flow graph structures.
21169         (sbitmap_union_of_preds): New function to compute the union of
21170         predecessors with the new flow graph structures.
21171         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
21172         (expr_reaches_here_p): Use edge and basic_block structures instead
21173         of s_preds and s_succs.
21174         (compute_cprop_avinout): Use new sbitmap routines.
21175         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
21176         of s_preds and s_succs.
21177         * flow.c (compute_flow_dominators): Compute dominators using
21178         edges and basic blocks instead of s_preds and s_succs.
21180 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21182         * lists.c (unused_insn_list, unused_expr_list): New file for
21183         maintaining various types of lists. New statics for maintaining a
21184         cache of available INSN_LIST and EXPR_LIST nodes.
21185         (free_list): Static function for freeing a list of INSN/EXPR nodes.
21186         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
21187         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
21188         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
21189         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
21190         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
21191         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
21192         (free_INSN_LIST_node): Free an individual INSN_LIST node.
21193         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
21194         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
21195         (remove_dependence, free_pending_lists): Use new global routines.
21196         (flush_pending_lists, sched_analyze_insn): Use new global routines.
21197         (sched_analyze, compute_block_backward_dependences): Use new routines.
21198         (sched_analyze_1, sched_analyze_2): Use new routines.
21199         (schedule_insns): Use new global routines.
21200         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
21201         prototypes.
21202         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
21203         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
21204         prototypes.
21205         * toplev.c (rest_of_compilation): Initialize node cache.
21206         * Makefile.in (OBJS): Add lists.o to list of object files.
21207         (lists.o): Add dependancies.
21209 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
21211         * config/v850/v850.md: Fix compile time warning messages.
21212         * config/v850/v850.c: Fix compile time warning messages.
21213         * config/v850/v850.h: Fix compile time warning messages.
21215 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21217         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
21218         Remove unused prototype for `init_lengths'.
21220 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21222         * calls.c (emit_call_1): Mark parameter `stack_size' with
21223         ATTRIBUTE_UNUSED.
21224         (expand_call): Initialize variable `insn'.
21225         (emit_library_call): Likewise for variable `high_to_save'.
21226         (emit_library_call_value): Likewise.
21227         (store_one_arg): Likewise for variables `lower_bound' and
21228         `upper_bound'.
21230         * combine.c (try_combine): Likewise for variables `i2_code_number'
21231         and `other_code_number'.
21232         (find_split_point): Likewise for variables `pos', `unsignedp' and
21233         `inner'.
21234         (simplify_if_then_else): Likewise for variables `op' and `c1'.
21235         (simplify_and_const_int): Remove unused variable `width'.
21236         (merge_outer_ops): Likewise.
21238         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
21239         HOST_WIDE_INT' when comparing against one.
21240         (simplify_relational_operation): Likewise.
21241         (cse_insn): Initialize variables `src_eqv_volatile',
21242         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
21244         * final.c (init_final): Constify parameter `filename'.
21245         (final_start_function): Mark parameter `optimize' with
21246         ATTRIBUTE_UNUSED.
21247         (profile_function): Likewise for parameters `first' and `optimize'.
21248         (output_source_line): Likewise for parameter `file'.
21250         * integrate.c (subst_constants): Cast a value to `size_t' when
21251         comparing against one.
21252         (mark_stores): Initialize variable `mode'.  Cast a value to
21253         `size_t' when comparing against one.
21255         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
21257         * loop.c (move_movables): Initialize variable `first'.
21258         (strength_reduce): Likewise for variable `increment'.
21259         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
21260         value to `size_t' when comparing against one.
21261         (load_mems): Initialize variable `end_label'.
21263         * output.h (init_final): Constify parameter.
21265         * reload.c (decompose): Initialize variable `base'.
21267         * reload1.c (reload): Likewise for variable `is_scalar'.
21268         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
21269         (choose_reload_regs): Initialize variable `mode'.
21270         (emit_reload_insns): Likewise for variable `store_insn'.
21271         (reload_cse_noop_set_p): Mark parameter `insn' with
21272         ATTRIBUTE_UNUSED.
21273         (reload_combine): Initialize variable `set'.
21275         * unroll.c (unroll_loop): Likewise for variable `local_label'.
21276         (copy_loop_body): Cast a value to `size_t' when comparing against
21277         one.
21279         * varasm.c (assemble_variable): Initialize variable `size_tree'.
21280         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
21281         (remove_from_pending_weak_list): Mark parameter `name' with
21282         ATTRIBUTE_UNUSED.
21284 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21286         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
21287         gcse dump file.
21289 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
21291         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
21292         (ASM_DECLARE_FUNCTION_NAME): Define.
21293         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
21294         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
21295         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
21296         not already defined.
21298 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
21300         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
21301         of n_popped when call/call_value are not defined.
21303 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
21305         * tm.texi: GNU CC -> GCC conversion.
21306         (CC1_SPEC): Indicate it is used for all language front ends.
21308 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
21310         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
21311         NOTE_INSN_EH_REGION_END correctly.
21313 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21314                           Jeff Law <law@cygnus.com>
21316         * loop.c (strength_reduce): Automatically unroll loops if the
21317         unrolled loop size is smaller than the rolled loop size.
21319         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
21320         and delete comment that code should be rewritten.
21322 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
21324         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
21325         as reachable.
21327         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
21329 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21331         * fixinc/mkfixinc.sh: Don't fix uwin headers.
21332         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
21333         (LINK_SPEC): Add -u _main when building executables.
21334         (ASM_DECLARE_FUNCTION): Update from Cygwin.
21335         (ASM_FILE_END): Use the default for ix86-pe.
21336         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
21338 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
21340         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
21341         and ASM_CLOSE_PAREN are empty strings.
21343 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
21344                           Geoffrey Keating <geoffk@cygnus.com>
21346         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
21347         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
21348         (unprotoize.o): Ditto.
21349         (test-protoize-simple): Don't define STD_PROTO_DIR.
21350         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
21351         changes to make 'test-protoize-simple' pass.
21352         (STD_PROTO_DIR): Remove define.
21353         (STANDARD_EXEC_PREFIX): Supply default define.
21354         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
21355         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
21356         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
21357         (GET_ENV_PATH_LIST): New macro.
21358         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
21359         (do_processing): Initialize default_syscalls_dir using new
21360         macros.  Use it to initialize syscalls_absolute_filename.
21362 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
21364         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
21365         B into a register before emit_conditional_move.
21367 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
21369         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
21370         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
21371         multiplicand out of (+ (* a b) (* c d)).
21373 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
21374                           Richard Henderson  <rth@cygnus.com>
21376         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
21377         (new_insn_dead_notes): Likewise.
21378         (update_n_sets): Likewise.
21379         (update_flow_info): Move to flow.c, renamed to update_life_info;
21380         extend to handle multiple source insns.
21381         * flow.c: Include resource.h
21382         (unlink_insn_chain): New.
21383         (split_hard_reg_notes): New.
21384         (maybe_add_dead_note): New.
21385         (maybe_add_dead_note_use): New.
21386         (find_insn_with_note): New.
21387         (new_insn_dead_notes): New.
21388         (update_n_sets): New.
21389         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
21390         (maybe_remove_dead_notes): New.
21391         (update_life_info): New.
21392         (prepend_reg_notes): New.
21393         (replace_insns): New.
21394         * output.h (update_life_info): Declare.
21395         * recog.c (split_block_insns): Use update_life_info.
21396         * resource.c (find_free_register): Use reg_alloc_order, don't use
21397         fixed regs, make sure the mode is supported, don't use new regs.
21398         (reg_dead_p): New.
21399         * rtl.h (replace_insns): Declare.
21401 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
21403         * expr.c (expand_expr): Cope with COND_EXPRs with one
21404         non-returning branch.
21406 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
21408         * expr.c (store_expr): Always pass down the target, even when not
21409         doing CSE.
21411 1999-08-24  Nick Clifton  <nickc@cygnus.com>
21413         * configure.in: Define target_cpu_default for v850 targets.
21414         * configure: Regenerate
21416         * config/v850/v850.h (TARGET_CPU_generic): Define.
21417         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
21418         addresses are 4 byte aligned.
21420         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
21421         addresses.
21423 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21425         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
21426         (main): Add prototypes.
21428         * genattrtab.c (substitute_address, write_const_num_delay_slots,
21429         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
21430         (write_attr_get): Emit prototypes along with function definition.
21431         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
21432         (write_complex_function): Emit static prototype along with
21433         function definition.
21435         * genemit.c (gen_split): Emit prototypes along with function
21436         definition.
21438         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
21439         Likewise for predicates and `insn_operand_predicate'.
21440         (process_template): Emit static prototype along with function
21441         definition.
21443         * genrecog.c (make_insn_sequence): Constify a char*.  Add
21444         prototypes for get_split_*().
21445         (write_subroutine): Emit prototypes along with function
21446         definition.
21448 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21450         * gcse.c (find_avail_set): Follow chains of register-register copies.
21451         Use oprs_not_set_p to guarantee that the returned value can be
21452         substituted.
21453         (cprop_insn): Don't verify the return value of find_avail_set with
21454         oprs_not_set_p.
21456         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
21457         (cprop_cc0_jump): New function.
21458         (cprop_insn): Break out new function cprop_jump and use it.
21459         Also use cprop_cc0_jump for machines with CC0.
21460         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
21462         * tree.h (current_function_calls_setjmp,
21463         current_function_calls_longjmp): Delete declarations.
21464         * dsp16xx.c: Include "function.h".
21465         * elxsi.c: Likewise.
21466         * gmicro.c: Likewise.
21467         * h8300.c: Likewise.
21468         * i370.c: Likewise.
21469         * m32r.c: Likewise.
21470         * mn10200.c: Likewise.
21471         * mn10300.c: Likewise.
21472         * ns32k.c: Likewise.
21473         * spur.c: Likewise.
21474         * v850.c: Likewise.
21476         * rtl.h (rtx_equal_function_value_matters): Declare.
21477         * toplev.c (rtx_equal_function_value_matters): Don't declare.
21478         * cse.c: Likewise.
21479         * function.c: Likewise.
21480         * emit-rtl.c: Likewise.
21482 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
21484         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
21485         call.
21487 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21489         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
21490         exactly.
21492 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
21494         * cpp.texi: Add a node documenting macro varargs (copied
21495         from extend.texi).
21497 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
21499         * cppspec.c: Put a null pointer at the end of the new argv.
21501 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
21503         * configure.in: Remove code to select/de-select the haifa
21504         scheduler.  Every scheduled port gets haifa now.
21505         * configure: Rebuilt.
21506         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
21507         * sched.c Deleted.
21508         * Makefile.in: Corresponding changes.
21510 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21512         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
21513         All callers changed.
21514         (prepare_float_lib_cmp): Likewise.
21515         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
21516         * expr.h (emit_float_lib_cmp): Delete declaration.
21517         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
21518         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
21519         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
21520         specially.
21521         (cmptf): Now conditional on TARGET_HARD_QUAD.
21523 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
21525         * resource.c (mark_target_live_regs): Use
21526         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
21528 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21530         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
21532         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
21534         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
21536 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21538         * rtl.h (rtx_format): Constify a char*.
21540         * rtl.c (rtx_format): Likewise.
21541         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
21542         (init_rtl): Use accessor macro, not `rtx_format'.
21544         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
21545         char*.
21547         * caller-save.c (mark_referenced_regs): Likewise.
21549         * combine.c (subst, make_compound_operation, known_cond,
21550         gen_rtx_combine, update_table_tick, get_last_value_validate,
21551         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
21553         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
21554         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
21555         count_reg_usage): Likewise.
21557         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
21558         Likewise.
21560         * final.c (leaf_renumber_regs_insn): Likewise.
21562         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
21563         dump_edge_info, count_reg_references): Likewise.
21565         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
21566         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
21567         Likewise.
21569         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
21570         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
21571         add_label_notes): Likewise.
21573         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
21574         clear_struct_flag, count_sub_rtxs, count_alternatives,
21575         compares_alternatives_p, contained_in_p, walk_attr_value,
21576         write_expr_attr_cache): Likewise.
21578         * genconfig.c (walk_insn_part): Likewise.
21580         * genemit.c (max_operand_1, gen_exp): Likewise.
21582         * genextract.c (walk_rtx): Likewise.
21584         * genflags.c (num_operands): Likewise.
21586         * genoutput.c (scan_operands): Likewise.
21588         * genpeep.c (match_rtx): Likewise.
21590         * genrecog.c (add_to_sequence): Likewise.
21592         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
21593         Likewise.
21595         * integrate.c (save_constants, copy_for_inline,
21596         copy_rtx_and_substitute, subst_constants, restore_constants):
21597         Likewise.
21599         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
21600         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
21602         * local-alloc.c (contains_replace_regs, memref_referenced_p):
21603         Likewise.
21605         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
21606         add_label_notes, replace_call_address, count_nonfixed_reads,
21607         invariant_p, find_single_use_in_loop, find_mem_givs,
21608         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
21609         Likewise.
21611         * print-rtl.c (reg_names, print_rtx): Likewise.
21613         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
21615         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
21616         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
21617         print_blocks): Likewise.
21619         * regclass.c (fix_register, record_address_regs,
21620         reg_scan_mark_refs): Likewise.
21622         * regmove.c (stable_but_for_p): Likewise.
21624         * reload.c (loc_mentioned_in_p, operands_match_p,
21625         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
21626         copy_replacements, refers_to_regno_for_reload_p,
21627         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
21628         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
21629         Likewise.
21631         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
21632         delete_address_reloads_1, count_occurrences,
21633         reload_cse_mem_conflict_p, reload_combine_note_use,
21634         add_auto_inc_notes): Likewise.
21636         * resource.c (mark_referenced_resources, mark_set_resources):
21637         Likewise.
21639         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
21640         reg_mentioned_p, regs_set_between_p, modified_between_p,
21641         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
21642         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
21643         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
21644         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
21646         * sched.c (sched_analyze_2, attach_deaths): Likewise.
21648         * stupid.c (stupid_mark_refs): Likewise.
21650         * unroll.c (remap_split_bivs): Likewise.
21652         * varasm.c (mark_constants): Likewise.
21654         * a29k/a29k.c (uses_local_reg_p): Likewise.
21656         * alpha/alpha.c (summarize_insn): Likewise.
21658         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
21659         eliminate_lr2ip): Likewise.
21661         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
21663         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
21664         reg_mentioned_in_mem): Likewise.
21666         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
21667         symbolic_reference_mentioned_p): Likewise.
21669         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
21671         * sh/sh.c (regs_used, mark_use): Likewise.
21673         * vax/vax.c (vax_rtx_cost): Likewise.
21675 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21677         * machmode.h (mode_name): Constify a char*.
21679         * rtl.c (mode_name): Likewise.
21681         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
21683         * optabs.c (init_libfuncs): Constify a char*.
21685         * print-tree.c (mode_name): Remove redundant declaration.
21686         (print_node): Use accessor macro, not `mode_name'.
21688         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
21689         not `mode_name'.
21690         (new_spill_reg): Constify a char*.
21692         * tree.c (mode_name): Remove redundant declaration.
21694 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21696         * rtl.c (rtx_name): Constify a char*.
21698         * rtl.h (rtx_name, fix_sched_param): Likewise.
21700         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
21701         (mypr): Use accessor macro, not `rtx_name'.
21703         * genemit.c (print_code): Constify a char*.
21705         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
21707         * genpeep.c (print_code): Constify a char*.
21709         * genrecog.c (print_code): Likewise.
21711         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
21712         end_bb): Add static prototype.
21713         (draw_edge): Constify a char*.
21714         (end_bb): Remove unused parameter.
21716         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
21717         print_block_visualization): Constify a char*.
21719 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
21721         * c-common.c (c_get_alias_set): Update comment.
21723 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
21725         * linux.h (LIB_SPEC): Added.
21727 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21729         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
21731 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
21733         * tree.c (expr_check): Fix typo in last change.
21735 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
21737         * rtl.def (NOTE): Change format to "iuu0n".
21738         (ADDR_DIFF_VEC): Change format to "eEee0".
21739         (ADDRESSOF): Change format to "eit".
21741         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
21742         (RTVEC_ELT): Change to match.
21743         (XVECEXP): Use XVEC and RTVEC_ELT.
21744         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
21745         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
21746         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
21747         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
21748         TRAP_CONDITION, TRAP_CODE): Use XEXP.
21749         (INTVAL): Use XWINT.
21750         (ADDRESSOF_DECL): Use XTREE.
21751         (SET_ADDRESSOF_DECL): Delete.
21752         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
21753         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
21754         ifdefed out since 2.6 at least.
21755         (gen_rtvec_vv): Delete prototype.
21757         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
21758         not rtunion.
21759         (copy_most_rtx): Handle 't' format letter.
21760         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
21761         (gen_rtvec_vv): Delete function.  All callers changed to use
21762         gen_rtvec_v instead.
21763         * print-rtl.c (print_rtx): Move special casing of NOTEs to
21764         the '0' format letter.
21766         * function.c (gen_mem_addressof): Don't use
21767         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
21768         instead.
21769         * integrate.c (copy_rtx_and_substitute): Likewise.
21770         Copy 't' slots with XTREE.
21771         (subst_constants): Treat 't' slots like '[swi]' slots.
21772         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
21773         * jump.c (rtx_equal_for_thread_p): Likewise.
21774         * rtlanal.c (rtx_equal_p): Likewise.
21775         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
21776         only four arguments.
21777         * gengenrtl.c (type_from_format): Provide correct types for
21778         'b' and 't' slots.
21781         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
21782         If a recent gcc is in use (always in stage2 and beyond), use
21783         statement expressions, so we don't make a function call unless
21784         the check fails.  Evaluate arguments exactly once.
21785         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
21786         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
21787         Delete.
21788         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
21789         they evaluate their arguments exactly once, irrespective of
21790         the compiler in use.
21792         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
21793         is used by the currently-enabled check macros.  This is:
21794         (tree_check_failed, tree_class_check_failed): For gcc.
21795         (tree_check, tree_class_check, cst_or_constructor_check,
21796         expr_check): For other compilers.
21798         * gencheck.c: Do not define any *_CHECK1 macros.
21800 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
21801                           Mark Mitchell <mark@codesourcery.com>
21803         * c-common.c (c_get_alias_set): Fix support for poitners and
21804         references.
21806 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
21808         * alias.c: Include tree.h.
21809         (nonlocal_reference_p, mark_constant_function): New functions.
21810         * flow.c (life_analysis): Call mark_constant_function.
21811         * rtl.h (mark_constant_function): Declare it.
21813 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
21815         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
21816         unrecognisable switches.
21818 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21820         * loop.c (recombine_givs): Set ix field after sorting.
21821         (recombine_givs): Remove bogus index / giv lockstep looping.
21823 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21825         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
21826         on CODE.
21827         (emit_store_flag_force): Use do_compare_rtx_and_jump.
21828         (do_cmp_and_jump): Formatting fixes.
21829         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
21830         do_compare_rtx_and_jump instead of compare_from_rtx.
21831         (do_compare_rtx_and_jump): New function; mostly copied from
21832         compare_from_rtx.
21833         (do_jump_for_compare): Delete.
21834         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
21835         MIN_EXPR.
21836         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
21837         of compare/do_jump_for_compare pairs.
21838         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
21839         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
21840         compare_from_rtx/do_jump_for_compare pairs.
21841         (do_jump_by_parts_equality): Likewise.
21842         (do_jump_by_parts_equality_rtx): Likewise.
21843         * expr.h (do_compare_rtx_and_jump): Declare.
21844         * optabs.c (prepare_cmp_insn): New function, contains most of the code
21845         that used to be in emit_cmp_insn.
21846         (cmp_available_p): New function.
21847         (prepare_operand): New function.
21848         (emit_cmp_and_jump_insn_1): New function, contains some code that used
21849         to be in emit_cmp_insn.
21850         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
21851         parameters to be pointers; don't emit final compare but modify some of
21852         the values pointed to by the args so the caller can perform the
21853         correct comparison.
21854         (expand_binop): Call emit_store_flag_force with signed forms of
21855         comparison code.
21856         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
21857         emit_jump_insn pair.
21858         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
21859         emit_cmp_and_jump_insn_1.  Call emit_queue.
21860         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
21861         arg.
21862         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
21863         jump sets cc0 before deleting it.
21864         * integrate.c (expand_inline_function): Likewise.
21865         * unroll.c (unroll_loop): Similar changes in several places.
21866         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
21867         before deleting it.
21869 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21871         * Makefile.in (insn-recog.o): Update dependencies.
21872         * genrecog.c (main): Make generated file include "function.h".
21874 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
21876         * cse.c (cse_insn): Call never_reached_warning when a jump is
21877         changed to be unconditional.
21878         * flags.h: Declare warn_notreached.
21879         * flow.c (delete_block): Call never_reached_warning when
21880         a block is deleted.
21881         * jump.c (delete_barrier_successors): Call never_reached_warning
21882         when we delete everything after a BARRIER.
21883         (never_reached_warning): New function.
21884         * rtl.h: Declare never_reached_warning.
21885         * toplev.c (warn_notreached): New variable.
21886         (lang_independent_options): Set warn_notreached
21887         when -Wunreachable-code.
21888         (compile_file): We need line numbers for -Wunreachable-code.
21890 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
21892         * haifa-sched.c (insn_unit): Fix typo on out of range test.
21893         * sched.c (insn_unit): Likewise.
21895 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
21897         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
21899 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21901         * flow.c (create_edge_list): Use xmalloc, not malloc.
21903 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
21905         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
21906         C-style comments.  Do not lose the character before double slash.
21908 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21910         * basic-block.h (struct edge_list): Stucture to maintain a vector
21911         of edges.
21912         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21913          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21914         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21915         New function prototypes.
21916         * flow.c (create_edge_list): Function to create an edge list.
21917         (free_edge_list): Discards memory used by an edge list.
21918         (print_edge_list): Debug output showing an edge list.
21919         (verify_edge_list): Internal consistency check for an edge list.
21920         (find_edge_index): Function to find an edge index for a pred and succ.
21922 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
21924         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21925         hashtable.
21927 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
21929         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21931 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21933         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21935 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
21937         * toplev.c (rest_of_compilation): Allow machine dependent
21938         reorganisation pass to place information into the RTL dump
21939         file if it so wishes.
21941 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
21943         * explow.c (hard_function_value): Use VOIDmode instead of
21944         MAX_MACHINE_MODE.
21945         * stmt.c (expand_return): Likewise.
21946         * stor-layout.c (get_best_mode): Likewise.
21948         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21949         emit call instead of emit_insn call.
21951 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21953         * configure.in: Handle --disable/enable-win32-registry.
21954         * install.texi: Document --disable/enable-win32-registry.
21955         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21956         (WIN32_REGISTRY_KEY): New macro.
21957         * prefix.c: Use to enable/disable win32-specific code.
21958         (lookup_key): Use versioned key.
21959         * configure: Regenerate.
21960         * config.in: Likewise.
21962 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
21964         * cpplib.c (read_line_number): New fn, split out of...
21965         (do_line): Here.
21967 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21969         tree.c (lang_unsave_expr_now) : New.
21970         (unsave_expr_now): Call lang_unsave_expr_now.
21971         tree.h (lang_unsave_expr_now) : New.
21973 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
21975         * toplev.c (flag_new_exceptions): On by default.
21977 1999-08-13  Michael Meissner  <meissner@cygnus.com>
21979         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21981 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21983         * dwarfout.c (fundamental_type_code): Return FT_boolean for
21984         INTEGER_TYPE with precision==1, it's __java_boolean.
21986 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21988         * global.c (prune_preferences): Move some invariants out of the
21989         inner loop.
21991 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
21993         * configure.in (alpha*-dec-osf*): Add osf5.
21995 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
21997         * configure.in: Rework handling of ARM GNU/Linux slightly.
21998         (arm*-*-linux-gnuoldld): New target.
21999         * configure: Regenerate.
22000         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
22001         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
22002         * config/arm/linux-oldld.h: New file.
22003         * config/arm/linux-elf26.h: Don't include linux-elf.h.
22004         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
22005         Don't define.
22006         * config/arm/linux-elf.h (ASM_SPEC): Define.
22007         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
22008         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
22009         for 26-bit APCS and old linker.
22010         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
22011         `arm_elf'.
22012         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
22013         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
22014         don't define `arm' or `arm_elf'.
22015         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
22016         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
22018 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
22020         * rtl.texi: Fix typo.
22022 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
22024         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
22026 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
22028         * extend.texi (C++ Signatures): Remove node.
22029         * invoke.texi: Remove discussion of -fhandle-signatures,
22030         signature, sigof, __signature__, and __sigof__.
22032 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
22034         * Makefile.in (JAVAGC): Removed.
22036 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22038         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22040 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
22042         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
22044 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
22046         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
22047         a register that is already known to be a pointer.
22049 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
22051         * fixinc/inclhack.tpl: Only install assert.h conditionally.
22052         * fixinc/inclhack.sh: Regenerated.
22053         * fixinc/fixincl.sh: Regenerated.
22055 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
22057         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
22058         Fix documentation of -ansi flag to describe its C++ behavior.
22059         Remove bogus reference to GCC 2.9.
22061 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
22063         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
22064         note if it is non-NULL.
22066 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22068         * except.h (eh_nesting_info): Add new structure defintion.
22069         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
22070         (reachable_handlers, update_rethrow_references): Add function
22071         prototypes.
22072         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
22073         a rethrow symbol instead of an integer exception region number.
22074         * flow.c (Make_edges): Use new exception nesting routines to determine
22075         which handlers are reachable from a CALL or asynchronous insn.
22076         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
22077         goto receivers.
22078         (delete_eh_regions): Update rethrow labels, and don't delete
22079         regions which are the target of a rethrow.
22080         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
22081         avoid overloading the SYMBOL_REF_USED flag.
22082         (rethrow_symbol_map): Use new rethrow_ref field.
22083         (rethrow_used): Use new rethrow_ref field.
22084         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
22085         of an integer.  Fix formatting.
22086         (output_exception_table_entry): Use new rethrow_ref field.
22087         (can_throw): Check for EH_REGION_NOTE before deciding
22088         whether a CALL can throw or not.
22089         (scan_region): Call rethrow_used() instead of accessing data structure.
22090         (update_rethrow_references): New function to make sure only regions
22091         which are still targets of a rethrow are flagged as such.
22092         (process_nestinfo): New static function to initialize a handler
22093         list for a specific region.
22094         (init_eh_nesting_info): New function to allocate and initialize
22095         the list of all EH handlers reachable from all regions.
22096         (reachable_handlers): New function to retrieve the list of handlers
22097         reachable from a specific region and insn.
22098         (free_eh_nesting_info): New function to dispose of a list of
22099         reachable handlers.
22101 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22103         * flow.c (split_edge): Set JUMP_LABEL field.
22104         (commit_one_edge_insertion): Set head correctly for insert_before.
22105         When inserting insns, update insn block numbers if allocated.
22107 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22109         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
22110         retry_incomplete_types): Add static prototype.
22111         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
22112         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
22113         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
22114         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
22115         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
22116         Constify a char*.
22118         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
22119         dwarf2out_start_source_file, dwarf2out_line): Likewise.
22121 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22123         * output.h (assemble_name): Constify a char*.
22125         * varasm.c (UNIQUE_SECTION, assemble_start_function,
22126         assemble_variable, assemble_name): Likewise.
22128         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
22130         * arm/pe.c (arm_pe_unique_section): Likewise.
22132         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
22134         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
22136         * i386/interix.c (i386_pe_unique_section): Likewise.
22138         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
22140         * i386/winnt.c (i386_pe_unique_section): Likewise.
22142         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
22144         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
22146         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
22148         * pa/pa.c (output_call): Likewise.
22150         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
22152         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
22154         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
22155         Likewise.
22157         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
22158         Likewise.
22160         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
22162         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
22163         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
22165         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
22167 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22169         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
22171 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22173         * tree.h (lang_identify): Constify a char*.
22174         (print_error_function): Add extern prototype.  Constify a char*.
22176         * c-lang.c (lang_identify): Constify a char*.
22178         * objc/objc-act.c (lang_identify): Constify a char*.
22180 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22182         * genpeep.c (main): Make generated file include "function.h".
22183         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
22185 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22187         * Makefile.in: Update dependencies.
22188         * alias.c: Include "function.h"
22189         * c-decl.c: Likewise.
22190         * caller-save.c: Likewise.
22191         * calls.c: Likewise.
22192         * combine.c: Likewise.
22193         * cse.c: Likewise.
22194         * explow.c: Likewise.
22195         * final.c: Likewise.
22196         * global.c: Likewise.
22197         * graph.c: Likewise.
22198         * local-alloc.c: Likewise.
22199         * loop.c: Likewise.
22200         * optabs.c: Likewise.
22201         * profile.c: Likewise.
22202         * recog.c: Likewise.
22203         * regclass.c: Likewise.
22204         * regmove.c: Likewise.
22205         * reload.c: Likewise.
22206         * reorg.c: Likewise.
22207         * resource.c: Likewise.
22208         * sched.c: Likewise.
22209         * stupid.c: Likewise.
22210         * config/1750a/1750a.c: Likewise.
22211         * config/a29k/a29k.c: Likewise.
22212         * config/arc/arc.c: Likewise.
22213         * config/arm/arm.c: Likewise.
22214         * config/arm/thumb.c: Likewise.
22215         * config/c4x/c4x.c: Likewise.
22216         * config/clipper/clipper.c: Likewise.
22217         * config/convex/convex.c: Likewise.
22218         * config/fx80/fx80.c: Likewise.
22219         * config/i860/i860.c: Likewise.
22220         * config/m68k/m68k.c: Likewise.
22221         * config/m88k/m88k.c: Likewise.
22222         * config/mips/mips.c: Likewise.
22223         * config/pdp11/pdp11.c: Likewise.
22224         * config/pyr/pyr.c: Likewise.
22225         * config/romp/romp.c: Likewise.
22226         * config/sh/sh.c: Likewise.
22227         * config/tahoe/tahoe.c: Likewise.
22228         * config/vax/vax.c: Likewise.
22229         * config/we32k/we32k.c: Likewise.
22230         * config/sparc/sparc.c: Include "function.h".
22231         (mem_min_alignment): Test current_function rather than
22232         regno_pointer_align.
22233         * config/pa/pa.c: Likewise.
22234         (compute_frame_size): Delete declaration of
22235         current_function_outgoing_args_size.
22236         * config/arc/arc.h (current_function_varargs): Delete declaration.
22237         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
22238         declaration.
22239         * config/i370/i370.h (current_function_outgoing_args_size): Delete
22240         declaration.
22241         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
22242         current_function_uses_pic_offset_table.
22243         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
22244         of current_function_returns_pointer.
22245         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22246         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22247         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22248         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22249         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22250         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
22251         * config/m88k/m88k.c: Include "function.h"
22252         (call_used_regs, current_function_pretend_args_size,
22253         current_function_outgoing_args_size, frame_pointer_needed): Delete
22254         declarations.
22255         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
22256         declaration.
22257         * config/mips/mips.h (current_function_calls_alloca): Delete
22258         declaration.
22259         * config/mn10200/mn10200.h (current_function_needs_context,
22260         rtx_equal_function_value_matters): Delete declarations.
22261         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
22262         flag_pic): Delete declarations.
22263         * config/pa/pa.h (current_function_pretend_args_size,
22264         current_function_decl): Delete declarations.
22265         * config/pa/som.h (current_function_varargs): Delete declaration.
22266         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
22267         declaration.
22268         * config/pyr/pyr.h (current_function_pretend_args_size,
22269         current_function_args_size, current_function_calls_alloca): Delete
22270         declarations.
22271         * config/sh/sh.h (current_function_varargs): Delete declaration.
22272         * config/sparc/sparc.h (current_function_outgoing_args_size,
22273         current_function_calls_alloca, current_function_decl): Delete
22274         declarations.
22275         * config/spur/spur.h (current_function_pretend_args_size,
22276         current_function_calls_alloca): Delete declarations.
22277         * config/v850/v850.c (current_function_outgoing_args_size): Delete
22278         declaration.
22279         * config/vax/vms.h (current_function_name): Delete declaration.
22280         * gcse.c: Include "function.h".
22281         (current_function_name, current_function_calls_setjmp): Delete
22282         declarations.
22283         * haifa-sched.c: Include "function.h".
22284         (forced_labels): Delete declaration.
22285         * jump.c: Likewise.
22286         * reg-stack.c: Likewise.
22287         * reload1.c: Likewise.
22288         * genemit.c (main): Make generated file include function.h.
22289         * genoutput.c (output_prologue): Likewise.
22291         * builtins.c (saveregs_value, apply_args_value): Delete variables.
22292         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
22293         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
22294         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
22295         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
22296         macros for some of them.
22297         (emit_filename, emit_lineno): Delete declarations.
22298         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
22299         regno_pointer_* variables through current_function.
22300         (gen_inline_header_rtx): Delete function.
22301         (save_emit_status): Delete function.
22302         (set_new_last_label_num): New function.
22303         (clear_emit_caches): New function.
22304         (restore_emit_status): Just clear last_labelnum and call
22305         clear_emit_caches.
22306         (get_last_insn_anywhere): Variable sequence_stack is now accessed
22307         through macro seq_stack.
22308         (add_insn_after): Likewise.
22309         (add_insn_before): Likewise.
22310         (remove_insn): Likewise.
22311         (pop_topmost_sequence): Likewise.
22312         (in_sequence_p): Likewise.
22313         (start_sequence_for_rtl_expr): Likewise.
22314         (start_sequence): Likewise, and likewise for
22315         sequence_rtl_expr/seq_rtl_expr.
22316         (push_topmost_sequence): Likewise.
22317         (end_sequence): Likewise.
22318         (init_virtual_regs): Now takes a "struct emit_status *" argument.
22319         All callers changed.  Store into that pointer instead of globals.
22320         (init_emit): Allocate emit elt of current_function.
22321         Changes for sequence_rtl_expr/sequence_stack renaming.
22322         Call clear_emit_caches instead of doing it in-line.
22323         Access regno_pointer_* variables through current_function.
22324         (init_emit_once) Don't clear sequence_stack.
22326         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
22327         Delete variables.
22328         (arg_pointer_save_area): Delete declaration.
22329         (finish_expr_for_function): Renamed from init_queue; no longer static.
22330         (init_expr): Don't call init_queue.
22331         (save_expr_status, restore_expr_status): Delete functions.
22332         (expand_expr): Changes to reflect new layout of struct function.
22333         Don't access current_function_check_memory_usage when current_function
22334         is 0.
22335         * expr.h (forced_labels, save_expr_regs, saveregs_value,
22336         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
22337         current_function_outgoing_args_size, current_function_arg_offset_rtx,
22338         current_function_uses_const_pool, function_call_count,
22339         current_function_uses_pic_offset_table, nonlocal_labels,
22340         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
22341         current_function_check_memory_usage, nonlocal_goto_handler_slots,
22342         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
22343         declarations.
22344         (finish_expr_for_function): Declare.
22345         * flags.h (current_function_has_nonlocal_label,
22346         current_function_has_nonlocal_goto, current_function_is_thunk,
22347         current_function_has_computed_jump): Delete declarations.
22348         * flow.c (forced_labels): Delete declaration.
22349         * function.c (current_function_pops_args,
22350         current_function_returns_struct, current_function_returns_pcc_struct,
22351         current_function_needs_context, current_function_calls_setjmp,
22352         current_function_calls_longjmp, current_function_has_nonlocal_label,
22353         current_function_has_nonlocal_goto, current_function_is_thunk,
22354         current_function_has_computed_jump, current_function_calls_alloca,
22355         current_function_contains_functions, current_function_returns_pointer,
22356         current_function_epilogue_delay_list, current_function_args_size,
22357         current_function_pretend_args_size, current_function_arg_offset_rtx,
22358         current_function_outgoing_args_size, current_function_varargs,
22359         current_function_stdarg, current_function_args_info, cleanup_label,
22360         current_function_name, current_function_uses_const_pool,
22361         current_function_instrument_entry_exit, current_function_return_rtx,
22362         current_function_uses_pic_offset_table, nonlocal_labels,
22363         current_function_internal_arg_pointer, current_function_cannot_inline,
22364         current_function_check_memory_usage, function_call_count,
22365         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
22366         nonlocal_goto_stack_level, return_label, save_expr_regs,
22367         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
22368         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
22369         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
22370         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
22371         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
22372         Delete variables.
22373         (push_function_context_to): Don't save them.  Don't call
22374         save_storage_status, save_emit_status or save_expr_status.
22375         (pop_function_context_from): Don't restore them.  Don't call
22376         restore_storage_status or restore_expr_status.
22377         (get_func_frame_size): New function.
22378         (get_frame_size): Use it.
22379         (assign_outer_stack_local): Reflect some member name changes in struct
22380         function.
22381         (put_reg_into_stack): Likewise.
22382         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
22383         seq_rtl_expr.
22384         (fixup_var_refs): Likewise.
22385         (fix_lexical_addr): Likewise.
22386         (trampoline_address): Likewise.
22387         (prepare_function_start): Clear field inlinable of current_function.
22388         (init_function_for_compilation): New function.
22389         (expand_dummy_function_end): New function.
22390         (expand_function_end): Call finish_expr_for_function.
22391         * function.h (struct emit_status): New; fields moved here from struct
22392         function and from global variables.  Add accessor macros for some of
22393         the fields.
22394         (struct expr_status): Likewise.
22395         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
22396         (struct function): Add fields expr and emit, inlinable, inl_emit,
22397         original_arg_vector, original_decl_initial, inl_last_parm_insn,
22398         inl_max_label_num.  Add many comments.
22399         Add accessor macros for all elts of struct function that no longer
22400         have a global variable.
22401         (cleanup_label, return_label, frame_offset, tail_recursion_label,
22402         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
22403         stack_slot_list): Delete declarations.
22404         (get_func_frame_size): Declare.
22405         (save_expr_status, restore_expr_status, save_emit_status,
22406         save_storage_status, restore_storage_status): Delete declarations.
22407         (init_virtual_regs): Declare.
22408         * output.h (current_function_pops_args,
22409         current_function_returns_struct, current_function_returns_pcc_struct,
22410         current_function_needs_context, current_function_calls_setjmp,
22411         current_function_calls_longjmp, current_function_calls_alloca,
22412         current_function_has_nonlocal_label, current_function_varargs,
22413         current_function_has_computed_jump, current_function_returns_pointer,
22414         current_function_contains_functions, current_function_args_size,
22415         current_function_pretend_args_size, current_function_stdarg,
22416         current_function_outgoing_args_size, current_function_args_info,
22417         current_function_name, current_function_return_rtx,
22418         current_function_epilogue_delay_list,
22419         current_function_uses_const_pool, current_function_cannot_inline):
22420         Delete declarations.
22421         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
22422         regno_reg_rtx): Delete declaration.
22423         (REGNO_POINTER_FLAG): Delete macro.
22424         * stmt.c (expand_goto): Changes to reflect that some fields in struct
22425         function were renamed.
22426         * stor-layout.c (save_storage_status, restore_storage_status): Delete
22427         functions.
22428         * toplev.c: Include "function.h".
22429         (current_function_decl): Delete declaration.
22430         (compile_file): Call init_dummy_function_start and
22431         expand_dummy_function_end around some initializations that need to
22432         emit rtl.
22433         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
22434         Call init_function_for_compilation.
22435         * unroll.c: Include "function.h"
22436         (unroll_loop): Access regno_pointer_* variables through
22437         current_function.
22439         * tree.h (struct tree_decl): Add elt f to saved_insns member.
22440         (DECL_SAVED_INSNS): use it.
22441         (expand_dummy_function_end): Declare.
22442         (init_function_for_compilation): Declare.
22443         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
22444         that it's no longer an INLINE_HEADER.
22445         (expand_call): Likewise.
22446         * integrate.c (finish_inline): Delete function.
22447         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
22448         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
22449         args.  Don't generate an INLINE_HEADER rtx, just return the arg
22450         vector.  All callers changed.
22451         (save_for_inline_copying):  Create a duplicate struct emit_status to
22452         hold the emit state for compiling the current function.  Use this and
22453         the other new fields in struct function that are for integration
22454         instead of an INLINE_HEADER.
22455         Use memcpy instead of bcopy.
22456         Store the current struct function in DECL_SAVED_INSNS of fndecl.
22457         (save_for_inline_nocopy): Similar changes, except no new emit_status
22458         is needed here.
22459         (expand_inline_function): Get information from function structure,
22460         not from an inline header rtx.
22461         (output_inline_function): Lose code to extract the necessary
22462         information from an inline header; simply put back the function
22463         structure into current_function.  Clear its inlinable elt.
22464         * rtl.def (INLINE_HEADER): Delete.
22465         * rtl.h: Delete all accessors for an INLINE_HEADER.
22466         (gen_inline_header_rtx): Delete declaration.
22467         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
22468         Delete declarations.
22469         (REGNO_POINTER_ALIGN): Delete.
22470         (clear_emit_caches): Declare.
22471         (set_new_last_label_num): Declare.
22473 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
22475         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
22477         * except.c (expand_eh_region_start_for_decl): Always start a new block.
22478         * stmt.c (is_eh_region): Make sure current_function is present, too.
22480 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
22482         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
22483         for 64bit PA targets.
22485         * pa.h (SELECT_SECTION): Define.
22486         * som.h (SELECT_SECTION): Delete.
22488 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22490         * alias.c (init_alias_analysis): Wrap call to
22491         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
22493 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
22495         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
22496         <sys/asm.h> contains an asm comment with an apostrophe
22497         * fixinc/inclhack.sh:  regen
22498         * fixinc/fixincl.x:  regen
22500 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
22502         * function.c (init_function_start): Clear prologue & epilogue.
22503         (prologue_epilogue_contains): New function.
22504         * alias.c (init_alias_analysis): Use it.
22505         * rtl.h (prologue_epilogue_contains): Declare it.
22507 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
22509         * jump.c (onlyjump_p): New function.
22510         * rtl.h: Declare it.
22511         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
22512         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
22514 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
22516         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
22517         to invert loops.  Simplify block scanning.
22519 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
22521         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
22522         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
22524 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
22526         * config/sparc/liteelf.h: New file to support sparclite-elf target
22527         * config/sparc/t-sp86x: New file to support sparc86x targets
22528         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
22529         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
22530         * configure.in: Support above target triplets
22531         * configure: Regenerated
22533 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
22535         * fixinc/server.c (server_setup): Do not prefix function used as
22536         parameter with `&'.
22538 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
22540         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
22541         Remove fp reg alternatives.
22543 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
22545         * Makefiin (TAROUTOPTS): Kill.
22546         (install-headers-tar): Use "xpf" for tar headerfile extraction
22547         * i370/x-oe (TAROUTOPTS): Delete.
22548         * m68k/x-apollo68 (TAROUTOPTS): Delete.
22549         * m68k/x-hp320 (TAROUTOPTS): Delete.
22550         * m68k/x-hp320g (TAROUTOPTS): Delete.
22551         * gcc.texi: Update bug reporting text.
22553 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22555         * reg-stack.c (change_stack) Fixed problem with negative array index.
22557 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
22559         * extend.texi, install.texi: Fix spelling mistakes.
22561         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
22562         (s-attrtab); No longer try to use pre-made insn-attrtab file.
22563         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
22564         PREMADE_ATTRTAB_MD.
22565         * mips/t-ecoff: Likewise.
22566         * mips/t-elf: Likewise.
22567         * mips/t-mips: Likewise.
22568         * mips/t-osfrose: Likewise.
22569         * mips/t-r3900: Likewise.
22570         * mips/t-svr3: Likewise.
22571         * mips/t-svr4: Likewise.
22572         * mips/t-ultrix: Likewise.
22574         * gcc.texi: Document recommend means to provide software floating
22575         point libraries in libgcc.a
22577 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
22579         * c-lex.c (yylex): We can have a number with no digits.
22581 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
22583         * jump.c (delete_prior_computation): New function, broken
22584         out of delete_computation.  Check for side effects with
22585         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
22586         multi-word hard registers.
22587         (delete_computation): Use it.  Check for side effects with
22588         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
22589         missing REG_DEAD note for a register which is both set and
22590         used by an insn.
22592 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
22594         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
22595         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
22596         (ASM_FILE_START): Import _mcount with the right type.
22597         (ASM_DECLARE_FUNCTION_NAME): Define.
22598         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
22599         * pa.c (output_function_prologue): Always emit the function's label
22600         here.
22601         * pa.h (TEXT_SPACE_P): Define.
22602         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
22603         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
22604         * som.h (TEXT_SPACE_P): Delete.
22605         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
22606         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
22608 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
22610         * expr.c (emit_group_load): Allow src to be a CONCAT.
22612 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22614         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
22615         (___mulsi3): Use '!' comment character.
22617 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22619         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
22621 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22623         * gcc.c: Update URLs and mail addresses.
22624         * gcc.texi: Likewise.
22626 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
22628         * rs6000.c (current_file_function_operand): Return zero for
22629         weak functions.
22630         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
22631         weak symbols.
22632         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
22633         for weak symbols.
22635 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
22637         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
22638         allocate space in the stack frame for the PIC register.
22640 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
22642         * m68k.md (xordi3, anddi3): These patterns are not available on
22643         the coldfire.
22645 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
22647         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
22648         (PUT_REAL): Likewise.
22650 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22652         * final.c (shorten_branches): Don't add an alignment for loops
22653         that have no label inside.
22655 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22657         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
22658         prototypes in macro HAVE_cmpstrsi.
22660         * cpplib.c (cpp_get_token): Remove unused label `op3'.
22662         * emit-rtl.c (operand_subword): Remove unused variable
22663         `bits_per_word'.
22665         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
22667         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
22669 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
22671         * cpphash.c (macroexpand): Delete leading whitespace when arg
22672         is concatenated before.
22673         (unsafe_chars): Correct test for whether + and - can extend a
22674         token.
22676         * cppinit.c (cpp_start_read): Do dependencies for
22677         -include/-imacros files also.
22679         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
22680         tokenizing non-directive lines.
22681         (cpp_expand_to_buffer): Temporarily disable no-output mode.
22682         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
22683         the input file.
22685 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22687         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
22689         * c-lex.c: Sync with C++ frontend.
22690         (linemode): New variable.
22691         (parse_float): imag, conversion_errno, and type are output only.
22692         (yylex): Adjust.  Move initial '.' case into main switch.
22693         Use linemode.
22694         (handle_generic_pragma): Just deal with tokens.
22695         (readescape): Use ISXDIGIT and ISGRAPH.
22696         * c-parse.in: Add END_OF_LINE token.
22698         * c-lex.c (lang_init): Generalize.
22699         (nextchar): Remove.  Replace uses with UNGETC.
22700         (skip_white_space): Handle linemode here.  Optimize for cpplib.
22701         (skip_white_space_on_line): Remove.
22702         (extend_token_buffer_to): New fn.
22703         (extend_token_buffer): Use it.
22704         (read_line_number, check_newline): Just deal with tokens.
22705         (token_getch, token_put_back): New fns.
22706         (yylex): Use them.  More cpplib optimizations.  Simplify.
22708 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22709                           Jason Merrill  <jason@yorick.cygnus.com>
22711         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
22712         (consume_string): Make this smart about USE_CPPLIB.
22713         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
22714         (yylex): Rewrite to be intelligent about USE_CPPLIB.
22715         Also, clean up cases where we redundantly set token_buffer[0].
22716         (read_line_number): New fn.
22717         (ignore_escape_flag): New variable.
22719 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
22721         * a29k/t-a29kbare: Fix some comments.
22722         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
22723         (FPBIT, DPBIT): Define.
22724         * a29k/t-vx29k: Likewise.
22725         * arc/t-arc: Likewise.
22726         * arm/t-arm-elf: Likewise.
22727         * arm/t-bare: Likewise.
22728         * arm/t-pe: Likewise.
22729         * arm/t-pe-thumb: Likewise.
22730         * arm/t-semi: Likewise.
22731         * arm/t-thumb: Likewise.
22732         * arm/t-thumb-elf: Likewise.
22733         * arm/t-thumb-linux: Likewise.
22734         * h8300/t-h8300: Likewise.
22735         * i960/t-i960: Likewise.
22736         * i960/t-vxworks960: Likewise.
22737         * m32r/t-m32r: Likewise.
22738         * mips/t-ecoff: Likewise.
22739         * mips/t-elf: Likewise.
22740         * mips/t-r3900: Likewise.
22741         * pa/t-pro: Likewise.
22742         * rs6000/t-aix43: Likewise.
22743         * rs6000/t-beos: Likewise.
22744         * rs6000/t-newas: Likewise.
22745         * rs6000/t-ppccomm: Likewise.
22746         * rs6000/t-rs6000: Likewise.
22747         * rs6000/t-winnt: Likewise.
22748         * rs6000/t-xnewas: Likewise.
22749         * rs6000/t-xrs6000: Likewise.
22750         * sh/t-sh: Likewise.
22751         * sparc/t-elf: Likewise.
22752         * sparc/t-sparcbare: Likewise.
22753         * sparc/t-sparclite: Likewise.
22754         * sparc/t-splet: Likewise.
22755         * v850/t-v850: Likewise.
22756         * mn10200/t-mn10200: Fix comments.
22757         * mn10300/t-mn10300: Likewise.
22759         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
22760         dummy operand.  Allocate a new pseudo for the dummy operand.
22761         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
22763         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
22765 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
22767         * configure: Rebuilt.
22768         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
22770 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
22772         * recog.c (preproces_constraints): Zero recog_op_alt before
22773         processing the constraints.
22775         * arm.c (typedef minipool_node): Renamed from pool_node.
22776         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
22777         (add_minipool_constant): New function.
22778         (dump_minipool): New function.
22779         (find_barrier): Remove special case for getting the insn size of
22780         an insn that references the constant pool.
22781         (minipool_fixup): New structure.
22782         (push_minipool_barrier): New function.
22783         (push_minipool_fix): New function.
22784         (note_invalid_constants): New function.
22785         (add_pool_constant, dump_table, fixit, broken_move): Delete.
22786         (arm_reorg): Rewrite code to fix up the constant pool into a
22787         series of mini-pools embedded in the insn stream.
22788         (arm_output_epilogue): New function, made mainly from the body
22789         of output_func_epilogue.
22790         (output_func_epilogue): Move insn generation part of epilogue code
22791         to arm_output_epilogue.
22792         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
22793         * arm.md (pool_range): New attribute.
22794         (zero_extendqidi2): Add attribute pool_range.
22795         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
22796         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
22797         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
22798         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
22799         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
22800         (epilogue): New expand.
22801         (epilogue_insn): New insn.  Call arm_output_epilogue.
22803         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
22804         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
22806 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
22808         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22810 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
22812         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
22814 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
22816         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
22818 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
22820         * global.c: Fix comment.
22822 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
22824         * gcc.c (access_check): New static function.
22825         (find_a_file): Use it when searching a directory list.
22826         * collect2.c (find_a_file): Don't accept directories found when
22827         searching a directory list.
22829 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
22831         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
22832         function parameters with `&'.
22833         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
22835 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
22837         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
22838         or tidy_fallthru_edge if the last insn in the block is not
22839         an unconditional jump or a simple conditional jump.
22841 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22843         * Makefile.in (c-decl.o): Depends on defaults.h.
22845 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
22847         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
22848         PA1.1 and above.
22849         (CLASS_MAX_NREGS): Likewise.
22851 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
22853         * cse.c (cse_insn): Fix dumb thinko in last change.
22855 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22857         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
22858         "const char *".
22860 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
22862         * dwarf2out.c (add_location_or_const_value_attribute): Correct
22863         test for sizes of passed and declared parameter types.
22865 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22867         * fixincludes: Fix the return type of bsearch, char* -> void*.
22869         * fixinc/inclhack.def: Likewise.
22871 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
22873         * invoke.texi (-fdump-translation-unit): New option.
22875 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
22877         * expr.h (PROMOTE_PROTOTYPES): Move ...
22878         * defaults.h: ... to here.
22879         * c-decl.c: Include defaults.h instead of expr.h.
22880         * c-typeck.c: Include defaults.h.
22882 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
22884         * toplev.h (errorcount): Declare.
22885         (warningcount): Likewise.
22886         (sorrycount): Likewise.
22887         * c-lex.c (errorcount): Don't declare.
22888         * dwarf2out.c (errorcount): Don't declare.
22890 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
22892         * config/libgloss.h: Add a note discouraging use with ELF.
22893         * configure.in: Don't use libgloss.h for ELF targets.
22894         Always use_collect2 on a.out targets.
22896 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
22898         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
22899         (force_to_mode, case ASHIFTRT): Add shiftrt label.
22901 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22903         * loop.c (strength_reduce): When doing biv->giv conversion, update
22904         reg note of NEXT->insn.
22906 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22908         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
22910 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22912         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22913         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22914         Ensure expr.h is included.
22915         * c-typecheck.c (convert_arguments): Ditto.
22917         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22919         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22920         * config/convex/convex.h: Ditto.
22921         * config/dsp16xx/dsp16xx.h: Ditto.
22922         * config/fx80/fx80.h: Ditto.
22923         * config/gmicro/gmicro.h: Ditto.
22924         * config/i370/i370.h: Ditto.
22925         * config/i386/i386.h: Ditto.
22926         * config/m32r/m32r.h: Ditto.
22927         * config/m68k/m68k.h: Ditto.
22928         * config/m88k/m88k.h: Ditto.
22929         * config/mips/mips.h: Ditto.
22930         * config/pa/pa.h: Ditto.
22931         * config/pyr/pyr.h: Ditto.
22932         * config/tahoe/tahoe.h: Ditto.
22933         * config/we32k/we32k.h: Ditto.
22935         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22936         based on arch size.
22938         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22940         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22941         from comment.
22943         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22945 1999-08-02  Richard Henderson  <rth@cygnus.com>
22947         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22948         for the register spill block.
22949         (m32r_va_arg): New.
22950         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22951         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22953         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22954         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22955         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22957 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22959         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22960         MAX_WCHAR_TYPE defined in sparc.h.
22961         * config/sparc/linuxaout.h: Likewise.
22962         * config/sparc/linux64.h: Likewise.
22963         Also default to -mvis if CPU is UltraSPARC.
22965 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22967         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22968         (RTX_OK_FOR_OLO10): Likewise.
22969         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22970         %lo(), allow it in addresses...
22971         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22972         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22973         does not make sense.
22974         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22975         (sparc_output_scratch_registers): New function.
22976         (output_function_prologue, sparc_flat_output_function_prologue): Use
22977         it.
22978         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22979         defined.
22980         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22981         * configure.in: Add check for .register pseudo-op support in as and
22982         check for offsetable %lo().
22983         * acconfig.h: Add templates for the above checks.
22984         * configure: Regenerate.
22986 1999-08-02  Richard Henderson  <rth@cygnus.com>
22988         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22989         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22990         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22992 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22994         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22995         reg_biv_class.
22997 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22999         * config/float-sparc.h: New file.
23000         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
23001         sparc-*-linux-gnu and sparc64-*-linux*.
23003 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23005         * rs6000.c (rs6000_va_list): Type is an array.
23006         (rs6000_va_start): Don't doubly adjust for varargs.
23007         (rs6000_va_arg): Evaluate long long GPR adjustment.
23009 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
23011         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
23012         -maix64 and -maix32.
23013         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
23014         LINK_SPEC): Change appropriately.
23015         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
23016         (u_short_cint_operand): Likewise.
23017         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
23018         for 64-bit hosts.
23019         * rs6000/t-aix43 (MULTILIB): Change to -m64.
23021         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
23023 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
23025         * rs6000/rs6000.c (num_insns_constant_wide): Correct
23026         for type promotion.
23027         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
23028         (non_add_cint_operand): Likewise.
23029         (logical_operand): Likewise.
23030         (non_logical_cint_operand): Likewise.
23031         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
23032         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
23033         (rs6000_select_rtx_section): Suppress warning.
23034         (small_data_operand): Suppress warning.
23035         (rs6000_got_register): Suppress warning.
23036         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
23037         type, so `J' is generally the wrong constraint for a SImode value;
23038         use `L' instead.
23039         (andsi3_internal2): Likewise.
23040         (andsi3_internal3): Likewise.
23041         (iorsi3_internal1): Likewise.
23042         (xorsi3_internal1): Likewise.
23043         (movsi): Likewise.
23044         (movsf_softfloat): Likewise.
23045         (scc insns): Likewise.
23046         (movsi+2): Preserve sign bits of SImode constant.
23047         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
23048         (movdf+1): Sign-extend properly.
23049         (movdi_32+1): Sign-extend properly.
23050         (scc insns): Sign-extend properly.
23052         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
23053         K, L, and T.
23055 1999-08-02  Richard Henderson  <rth@cygnus.com>
23057         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
23058         -mcpu parsing code.
23059         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
23060         * alpha.md (all fp insns): Likewise.
23062 1999-08-02  Nick Clifton  <nickc@cygnus.com>
23064         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
23065         already defined.
23067 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
23069         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
23070         pic_load_label generator directly.
23071         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
23072         No longer a named pattern.
23074 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
23076         * explow.c (force_reg): Call force_operand if X does not
23077         satisfy general_operand.
23079 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
23081         * fix-header.c (main): When testing for CONTINUED, use string
23082         equality, not pointer equality.
23084 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
23086         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
23088 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
23090         * cse.c (cse_insn): Fix loop which deletes insns after a jump
23091         that has become an unconditional jump.
23093         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
23094         (output_function_epilogue): Similarly.
23096 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23098         * tree.h (init_dummy_function_start): Declare.
23100 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23102         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
23103         last_expr_type, last_expr_value, block_start_count, block_stack,
23104         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
23105         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
23106         dynamically in stmt elt of struct function for each function.
23107         (struct nesting): Rename function_call_count elt to n_function_calls,
23108         target_temp_slot_level to block_target_temp_slot_level.  All users
23109         changed.
23110         (struct stmt_status): New structure definition.
23111         Add many accessor macros for stmt_status elements which previously
23112         were global variables.
23113         (init_stmt_for_function): Allocate stmt elt for current_function.
23114         Reflect that block_start_count was renamed to
23115         current_block_start_count.
23116         (save_stmt_status, restore_stmt_status): Delete functions.
23117         (preserve_subexpressions_p): Don't access loop_stack when outside
23118         a function.
23119         (expand_start_bindings): Reflect that block_start_count was renamed to
23120         current_block_start_count.
23121         (expand_fixup): Likewise.
23122         (expand_decl): Don't access block_stack when outside a function.
23123         (expand_decl_cleanup): Likewise.
23124         (expand_dcc_cleanup): Likewise.
23125         (expand_dhc_cleanup): Likewise.
23126         (expand_anon_union_decl): Likewise.
23127         (set_file_and_line_for_stmt): New function.
23128         (in_control_zone_p): New function.
23130         * function.h (struct function): Add new elt stmt.
23131         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
23132         case_stack, nesting_stack, nesting_depth, block_start_count,
23133         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
23134         emit_lineno, goto_fixup_chain.
23135         (save_eh_status, restore_eh_status, save_stmt_status,
23136         restore_stmt_status): Delete declarations.
23137         * function.c (push_function_context_to): Don't call save_stmt_status.
23138         (pop_function_context_to): Don't call restore_stmt_status.
23139         * tree.h (in_control_zone_p): Declare.
23140         * rtl.h (set_file_and_line_for_stmt): Declare.
23142         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
23143         call set_file_and_line_for_stmt.
23145 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
23147         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
23148         Also update copyright.
23150 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23152         * c-pragma.c: Don't include "except.h".
23153         * emit-rtl.c: Likewise.
23154         * stor-layout.c: Likewise.
23155         * tree.c: Likewise.
23156         * varasm.c: Likewise.
23158         * flow.c: Include "function.h".
23159         * tree.h (init_dummy_function_start): Declare new function.
23161         * except.h (struct eh_status): New structure.
23162         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
23163         been included.
23164         (eh_return_stub_label, ehstack, catchstack, ehqueue,
23165         catch_clauses, false_label_stack, caught_return_label_stack,
23166         protect_list, current_function_ehc): Add accessor macros for the
23167         corresponding fields in current_function->eh; delete declarations
23168         for all items that used to be declared here.
23169         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
23170         catch_clauses, false_label_stack, caught_return_label_stack,
23171         protect_list, current_function_ehc): Delete variables.
23172         (init_eh_for_function): Allocate current_function->eh.
23173         (save_eh_status, restore_eh_status): Delete functions.
23175         * function.h (struct function): Add fields next_global and eh.
23176         Delete all exception handling related fields.
23177         * function.c (current_function): New variable.
23178         (all_functions): New variable.
23179         (push_function_context_to): Don't allocate a struct function,
23180         use current_function instead.  Call init_dummy_function_start when
23181         outside a function.  Clear current_function before returning.
23182         (pop_function_context_from): Restore current_function.
23183         Don't free the restored struct function.
23184         (prepare_function_start): New function.
23185         (init_dummy_function_start): New function.
23186         (init_function_start): Break out some code into prepare_function_start
23187         and call it here.
23189         * stmt.c (save_stmt_status): Don't call save_eh_status.
23190         (restore_stmt_status): Don't call restore_eh_status.
23192         * Makefile.in: Update dependencies.
23194 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
23196         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
23197         of depending on a magic constant value.  Update comments.
23198         (hppa_expand_prologue): Similarly.
23200         * pa.md (reload_indi, reload_outdi): Allow any register for the
23201         original reload register.
23203 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
23205         * cccp.c (print_help): Change marcos to macros.
23207 1999-07-30  Richard Henderson  <rth@cygnus.com>
23209         * c-typeck.c (initializer_constant_valid_p): Move ...
23210         * c-common.c (initializer_constant_valid_p): ... here.  Use
23211         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
23212         of label addresses.
23213         * c-common.h (initializer_constant_valid_p): Declare.
23214         * c-tree.h (initializer_constant_valid_p): Remove.
23216 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
23218         * config/i386/sol2-c1.asm: Align the stack.
23219         * config/i386/sol2-gc1.asm: Likewise.
23221 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
23223         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
23224         -Asparclite for sparc86x.
23225         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
23226         sparc86x.
23227         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
23229 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
23231         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
23232         the user if using the non-default arch size in BI_ARCH configuration.
23233         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
23235         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
23236         Fix patterns so that they actually match.
23237         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
23238         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
23239         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
23240         TARGET_HARD_MUL32.
23241         (mulsidi3): Reflect this in the expand.
23242         (smulsi3_highpart): Only on TARGET_ARCH32.
23243         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
23244         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
23245         (umulsidi3): Reflect this in the expand.
23246         (umulsi3_highpart): Only on TARGET_ARCH32.
23247         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
23248         don't require g0 to be zero.
23249         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
23250         ({,u}divsi3): New expands.
23251         ({,u}divsi3_sp64): New patterns.
23252         (after lshrdi3_v8plus): Four new patterns to help combiner
23253         optimizing nested mixed mode shifts.
23255         * config/sparc/sparc.c (sparc_override_options): Use deprecated
23256         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
23257         speed things up. Don't use them by default on plain v9 in 64bit
23258         mode, according to what SPAMv9 sais.
23260         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
23261         top 32 bits of %[og][0-7] in signal handlers.
23262         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
23264 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
23266         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
23267         (ashlsi3): Corresponding changes.
23269         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
23271 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
23273         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
23275 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23277         * arm.h (Hint): Delete macro.
23278         Substitute HOST_WIDE_INT for Hint in some prototypes.
23279         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
23281 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
23283         * builtins.c (expand_builtin_setjmp): Use force_operand to
23284         make sure that the buffer address is in a suitable form to be
23285         passed to force_reg.
23287 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
23289         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
23290         them here.
23292 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
23294         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
23295         proper mode in the condition string.
23296         (icacheflush, dcacheflush): Remove modes from match_operands.
23298         * pa.c (emit_move_sequence): Always convert scratch_reg to the
23299         proper mode before using it.
23301         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
23302         pair.
23304         * pa.c (store_reg): Do not call add_high_const generator directly.
23305         (load_reg, set_reg_plus_d): Likewise.
23306         * pa.md (add_high_const): No longer a named pattern.
23308         * pa.c (legitimize_address): Consistently use Pmode rather than
23309         SImode.  Do not call gen_pic2_highpart directly anymore.
23310         * pa.md (pic2_highpart): No longer a named pattern.
23311         (pic2_lo_sum): Similarly.  Reformat to make more readable.
23313         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
23314         needed.
23316         * README: Update.
23318 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23320         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
23322 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
23324         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
23325         and tag the spill mems.
23326         (hppa_va_start): New.
23327         (hppa_va_arg): New.
23328         * pa.h (EXPAND_BUILTIN_VA_START): New.
23329         (EXPAND_BUILTIN_VA_ARG): New.
23331 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
23333         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
23334         and tag the spill mems.
23335         (mn10300_va_start): New.
23336         (mn10300_va_arg): New.
23337         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
23338         (EXPAND_BUILTIN_VA_ARG): New.
23340 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
23342         * mn10200.c (mn10200_va_arg): New.
23343         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
23345 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
23347         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
23348         rather than play with TREE_INT_CST_LOW.
23350 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
23352         * config/arm/telf.h: Include dbxelf.h.
23353         (CPP_PREDEFINES): Only define if not already defined.
23354         (ASM_IDENTIFY_GCC): Likewise.
23355         (SUBTARGET_EXTRA_SECTIONS): Likewise.
23356         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
23357         * config/arm/thumb.h (LINK_SPEC): Only define if not already
23358         defined.
23359         (DBX_DEBUGGING_INFO): Don't define.
23360         * config/arm/linux-telf.h: New file.
23361         * config/arm/linux-tgas.h: New file.
23362         * config/arm/t-thumb-linux: New file.
23363         * config/arm/uclinux-elf.h: New file.
23364         * config/arm/uclinux-telf.h: New file.
23365         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
23366         thumb-*-uclinux): New targets.
23367         * configure: Regenerate.
23369 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
23371         * pa.md (post_store, pre_load): New expanders.
23372         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
23373         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
23374         need to directly generate RTL for them.
23375         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
23376         changes.
23378 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
23380         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
23381         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
23382         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
23383         (secndary_reload_class): Make TARGET_ELF conditional compile.
23384         (print_operand_address): Similar.
23385         (output_toc): Print all values as hex.
23386         (get_issue_rate): Rearrange and add RS64A and PPC630.
23387         * rs6000.h (processor_type): Add RS64A and PPC630.
23388         (PROCESSOR_POWERPC64): New.
23389         (PROMOTE_MODE): Use word_mode.
23390         (RTX_COSTS): Add RS64A and PPC630.
23391         * rs6000.md (scheduling information): Add lmul and ldiv
23392         representing 64-bit integer multiply and divide.  Add rs64a and
23393         PPC630 information.
23394         (ashldi3): Add support for "rldic" instruction.
23395         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
23397 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
23399         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
23400         instead of V8 for sparclite86x in cpu_table.
23402 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23404         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
23405         output_file_directive.
23407 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
23409         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
23410         tree for op1, not the rtl.
23412 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
23414         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
23415         to m88k_va_start, leaving only the register spill.
23416         (m88k_build_va_list): New.
23417         (m88k_va_start): New.
23418         (m88k_va_arg): New.
23419         * m88k.h (BUILD_VA_LIST_TYPE): New.
23420         (EXPAND_BUILTIN_VA_START): New.
23421         (EXPAND_BUILTIN_VA_ARG): New.
23423 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
23425         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
23426         Rename from expand_builtin_saveregs.
23427         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
23429 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
23431         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
23432         for the register spill block.
23433         (i960_build_va_list): New.
23434         (i960_va_start): New.
23435         (i960_va_arg): New.
23436         * i960.h (BUILD_VA_LIST_TYPE): New.
23437         (EXPAND_BUILTIN_VA_START): New.
23438         (EXPAND_BUILTIN_VA_ARG): New.
23439         * i960.md (store_multiple): Use change_address on individul mems.
23441 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
23443         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
23444         an ARRAY_TYPE.
23445         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
23446         (expand_builtin_va_end): Evaluate arg for side effects.
23447         * c-common.c (c_common_nodes_and_builtins): Construct a
23448         va_list_arg_type_node to handle array decomposition to pointer.
23450 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
23452         * except.c (st_dynamic_cleanup): Use force_operand on the
23453         buffer's address.
23455 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
23457         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
23458         * c4x.c (c4x_va_arg): New.
23460 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
23462         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
23463         has manual_pop set.
23465 1999-07-26  Nathan Sidwell  <nathan@acm.org>
23467         * eh-common.h (__eh_matcher): Prototype correctly.
23469 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
23471         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
23472         (TARGET_SINGLE_PIC_BASE): Likewise.
23473         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
23474         definitions.
23475         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
23476         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
23477         (TARGET_OPTIONS): Add -mpic-register=N.
23478         (OUTPUT_INT_ADDR_CONST): New macro.
23479         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
23480         LEGITIMATE_PIC_OPERAND_P): Likewise.
23481         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
23482         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
23483         output_addr_const directly.
23484         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
23485         ARM port.
23486         (thumb_pic_register, thumb_pic_register_string): Declare.
23488         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
23489         from arm.c.
23490         (label_mentioned_p): New function: Imported from arm.c.
23491         (legitimize_pic_address): New function: Imported from arm.c.
23492         (is_pic):New function: Imported from arm.c.
23493         (thumb_finalize_pic):New function: Imported from arm.c.
23494         (add_constant): Cope with PIC constants.
23495         (fixit): Cope with PIC constants.
23496         (output_return): Do not treat the PIC register as live if
23497         TARGET_SINGLE_PIC_BASE is true.
23498         (thumb_function_prologue): Do not treat the PIC register as live if
23499         TARGET_SINGLE_PIC_BASE is true.
23500         (thumb_expand_prologue): Do not treat the PIC register as live if
23501         TARGET_SINGLE_PIC_BASE is true.
23502         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
23503         TARGET_SINGLE_PIC_BASE is true.
23504         (thumb_print_operand): Accept '|'.
23505         (thumb_override_options): Process PIC options.
23507         * config/arm/thumb.md (movsi): Support PIC.
23508         (call_insn): Change "i" constraint to "X".
23509         (call_value_insn): Likewise.
23510         (consttable_4, consttable_8, consttable_end): Set and clear
23511         "making_const_table" as appropriate.
23512         (pic_load_addr, pic_add_dot_plus_four): New insns.
23514         * invoke.texi (Thumb Options): Fix spelling.  Document new
23515         options -msingle-pic-base and -mpic-register=.
23517 1999-07-26  Andrew Haley  <aph@cygnus.com>
23519         * config/m32r/initfini.c (__init): Use a full word immediate for
23520         __fini: this allows it to be placed in any memory region.
23522         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
23523         -mmodel=medium.  This is OK for all memory models.
23525 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
23527         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
23528         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
23530 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
23532         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
23533         defined.
23535         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
23537 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
23539         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
23540         (BUILD_VA_LIST_TYPE): New.
23541         (EXPAND_BUILTIN_VA_START): New.
23542         (EXPAND_BUILTIN_VA_ARG): New.
23543         * i860.c (output_delayed_branch): Disable.
23544         (output_delay_insn): Likewise.
23545         (i860_saveregs): New.
23546         (i860_build_va_list): New.
23547         (i860_va_start): New.
23548         (i860_va_arg): New.
23549         * i860.md: Disable all peepholes using output_delayed_branch.
23550         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
23552 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
23554         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
23555         (BUILD_VA_LIST_TYPE): New.
23556         (EXPAND_BUILTIN_VA_START): New.
23557         (EXPAND_BUILTIN_VA_ARG): New.
23558         * clipper.c (clipper_builtin_saveregs): Only dump registers.
23559         Return the address of the save area.
23560         (clipper_build_va_list): New.
23561         (clipper_va_start): New.
23562         (clipper_va_arg): New.
23564 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
23566         * arc.h (EXPAND_BUILTIN_VA_START): New.
23567         (EXPAND_BUILTIN_VA_ARG): New.
23568         * arc.c (arc_setup_incoming_varargs): Set alias set of
23569         varargs save area.
23570         (arc_va_start): New.
23571         (arc_va_arg): New.
23573 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
23575         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
23576         (BUILD_VA_LIST_TYPE): New.
23577         (EXPAND_BUILTIN_VA_START): New.
23578         (EXPAND_BUILTIN_VA_ARG): New.
23579         * alpha.c (alpha_builtin_saveregs): Delete.
23580         (alpha_build_va_list): New.
23581         (alpha_va_start): New.
23582         (alpha_va_arg): New.
23584 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
23586         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
23587         column zero.
23588         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
23589         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
23591         * gcc.texi: More changes related to list conversion.
23592         * invoke.texi: Likewise.
23594 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
23596         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
23597         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
23598         (expand_builtin_next_arg): Accept ARGLIST not EXP.
23599         (stabilize_va_list): New function.
23600         (std_expand_builtin_va_start): New function.
23601         (expand_builtin_va_start): New function.
23602         (get_varargs_alias_set): New function.
23603         (std_expand_builtin_va_arg): New function.
23604         (expand_builtin_va_arg): New function.
23605         (expand_builtin_va_end): New function.
23606         (expand_builtin_va_copy): New function.
23607         (expand_builtin): Call them.
23608         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
23609         __builtin_{varargs_start,stdarg_start,end,copy}.
23610         (build_va_arg): New function.
23611         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
23612         (build_va_arg): Declare.
23613         * c-decl.c (ptr_type_node, va_list_type_node): New.
23614         * c-parse.gperf (__builtin_va_arg): New.
23615         * c-parse.in (VA_ARG): New token.
23616         (unary_expr): Recognize it.
23617         * expr.c (expand_expr): Expand VA_ARG_EXPR.
23618         * expr.h (std_expand_builtin_va_start): Declare.
23619         (std_expand_builtin_va_arg): Declare.
23620         (expand_builtin_va_arg): Declare.
23621         (get_varargs_alias_set): Declare.
23622         * tree.def (VA_ARG_EXPR): New.
23623         * tree.h (BUILT_IN_VARARGS_START): New.
23624         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
23625         (ptr_type_node, va_list_type_node): Declare.
23626         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
23627         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
23628         * m88k.h, m88k.c: Likewise.
23629         * mn10300.h, mn10300.c: Likewise.
23630         * pa.h, pa.c: Likewise.
23631         * rs6000.h, rs6000.c: Likewise.
23632         * sh.h, sh.c: Likewise.
23633         * sparc.h, sparc.c: Likewise.
23635         * emit-rtl.c (operand_subword): Copy alias set.
23636         (change_address): Likewise.
23638 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
23640         * pa.c (compute_frame_size): Scan all the used callee saved registers,
23641         not just the first one.
23643 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
23645         * config/arm/arm.h (TARGET_SWITCHES): Add
23646         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
23647         (TARGET_OPTIONS): Add -mpic-register=.
23648         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
23649         (arm_pic_register_string): Declare.
23650         (NEED_PLT_GOT): Delete, replace with ...
23651         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
23652         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
23653         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
23654         * config/arm/arm.c (arm_override_options): Add new option
23655         -mpic-register=N.
23656         (arm_pic_register_string): New variable.
23657         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
23658         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
23659         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
23660         (output_return_instruction): Likewise.
23661         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
23662         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
23663         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
23665         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
23666         mention of -msched-prolog.  Document new options -msingle-pic-base
23667         and -mpic-register=.
23669 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
23671         * haifa-sched.c (reemit_notes): Tidy.
23672         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
23673         haifa's routine.
23675 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
23677         * explow.c (trunc_int_for_mode): New function.
23678         (plus_constant_wide): Use it.
23679         * combine.c (simplify_and_const_int): Likewise.
23680         (merge_outer_ops): Likewise.
23681         (simplify_shift_const): Likewise.
23682         * cse.c (simplify_unary_operation): Likewise.
23683         (simplify_binary_operation): Likewise.
23684         * emit-rtl.c (operand_subword): Likewise.
23685         * rtl.h: Declare it.
23687 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23689         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
23690         (use NUM_REGS instead of NUM_INTS).
23692 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23694         * builtins.c: New file.
23695         * expr.c (saveregs_value, apply_args_value):  Delete definition,
23696         moved into builtins.c.
23697         (string_constant): No longer static.
23698         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
23699         apply_args_size, apply_result_size, result_vector,
23700         expand_builtin_apply_args, expand_builtin_apply,
23701         expand_builtin_return): Delete functions, moved into builtins.c.
23702         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
23703         * expr.h (saveregs_value, apply_args_value): Declare variables.
23704         (expand_builtin, string_constant): Declare functions.
23705         * Makefile.in: Update to build builtin.o.
23707 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
23709         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
23710         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
23711         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
23712         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
23713         false.
23714         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
23715         Define to zero.
23717 1999-07-21  Michael Meissner  <meissner@cygnus.com>
23719         * print-rtl.c (print_rtx): Print the names of the virtual
23720         registers.
23722 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
23724         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
23725         introduced in previous delta.
23727 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23729         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
23730         to avoid name clash.
23732 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23734         * c-lex.c (yylex) : Correct the test for overflow when lexing
23735         integer literals.
23737 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
23739         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
23740         (adjust_priority): Always call ADJUST_PRIORITY.
23741         (schedule_insn): Only put insns into the ready at cost 0.
23742         (schedule_block): Remove redundant initial sort.  Give clock_var
23743         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
23744         is not 0.
23745         * tm.texi (MD_SCHED_REORDER): Update docs.
23747         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
23748         * sparc.c (ultra_reorder_called_this_block): Delete.
23749         (ultrasparc_sched_init): Don't set it.
23750         (ultrasparc_sched_reorder): Don't check it.
23752 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
23754         * rs6000.h (struct rs6000_args): Add sysv_gregno.
23755         * rs6000.c (init_cumulative_args): Init sysv_gregno.
23756         (function_arg_boundary): Align DFmode.
23757         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
23758         to get fp reg and stack overflow correct.
23759         (function_arg): Likewise.
23760         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
23761         (setup_incoming_varargs): Restructure for ABI_V4; use
23762         function_arg_advance to skip final named argument.
23763         (expand_builtin_saveregs): Properly unskip the last integer arg
23764         when doing varargs.  Adjust overflow location calculation.
23766         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
23767         explicitly unsigned.
23768         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
23769         (__VA_GP_REGSAVE): Similarly.
23770         (__va_longlong_p): Delete.
23771         (__va_arg_type_violation): New declaration.
23772         (va_arg): Restructure.  Flag promotion errors.  Align double.
23773         TFmode passed by reference.
23775         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
23776         in the HOST_BITS_PER_WIDE_INT > 32 case.
23778 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
23780         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
23782 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
23784         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
23785         * toplev.c (documented_lang_options): Add -fpreprocessed.
23786         * cpplib.h (struct cpp_buffer): Add preprocessed.
23787         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
23788         (cpp_start_read): Don't expand macros or emit an initial #line
23789         directive if -fpreprocessed.
23791 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23793         * cpplib.h (struct cpp_buffer): Added manual_pop for
23794         better C++ tokenization.
23795         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
23796         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
23797         * c-common.c (cpp_token): Make non-static.
23799 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23801         * c-common.h: New file.
23802         * c-common.c (permanent_obstack): Delete unused declaration.
23803         (c_global_trees): New array.
23804         (c_common_nodes_and_builtins): New function; split off common code
23805         from init_decl_processing in both c-decl.c and cp/decl.c.
23806         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
23807         c_global_trees and accessor macros defined in c-common.h.
23808         Include c-common.h.
23809         * c-decl.c: Delete definitions for tree nodes that were replaced by
23810         c_global_trees.
23811         (init_decl_processing): Build void_list_node.
23812         Call c_common_nodes_and_builtins; delete code to generate the common
23813         builtins here.
23814         * objc/objc-act.c (build_module_descriptor): Rename variable
23815         void_list_node to avoid clash with c-common.h.
23817         * Makefile.in: Update dependencies.
23818         * objc/Make-lang.in: Likewise.
23820 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
23822         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
23823         (UNIQUE_SECTION_P): Likewise.
23824         (UNIQUE_SECTION): Likewise.
23826 1999-07-19  Linas Vepstas  <linas@linas.org>
23828         * config/i370/README: New file.
23829         * config/i370/linux.h: New file.
23830         * config/i370/mvs.h: New file.
23831         * config/i370/oe.h: New file.
23832         * config/i370/t-linux: New file.
23833         * config/i370/t-mvs: New file.
23834         * config/i370/t-oe: New file.
23835         * config/i370/x-oe: New file.
23836         * config/i370/xm-linux.h: New file.
23837         * config/i370/xm-mvs.h: New file.
23838         * config/i370/xm-oe.h: New file.
23840         * i370.c (label_node_t): Add first_ref_page, label_addr,
23841         label_first_ref, label_last_ref members.
23842         (mvs_need_base_reload): Renamed from mvs_label_emitted.
23843         (MAX_MVS_LABEL_SIZE): Define.
23844         (MAX_LONG_LABEL_SIZE): Define.
23845         (alias_node_t, alias_anchor, alias_number): New.
23846         (mvs_function_table): Reorder for EBCDIC.
23847         (ascebc, ebcasc): Unconditionally define.
23848         (i370_branch_dest, i370_branch_length): New functions.
23849         (i370_short_branch, i370_label_scan): New functions.
23850         (mvs_get_label): Renamed from mvs_add_label.  Search for
23851         an existing label before creating a new one.
23852         (mvs_add_label): New function.
23853         (mvs_get_label_page): New function.
23854         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
23855         over the entire list.
23856         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
23857         (mvs_check_page) [TARGET_ELF_ABI]: New function.
23858         (mvs_add_alias, mvs_need_alias): New functions.
23859         (mvs_get_alias, mvs_check_alias): New functions.
23860         (handle_pragma): New function.
23861         (mvs_function_check): New function.
23862         (unsigned_jump_follows_p): Search harder.
23863         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
23864         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
23865         * i370.h (TARGET_VERSION): Delete.
23866         (CPP_SPEC, CPP_PREDEFINES): Delete.
23867         (mvs_label_emitted): Delete.
23868         (TARGET_EBCDIC): Delete.
23869         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
23870         (HANDLE_PRAGMA): Define.
23871         (HARD_REGNO_NREGS): Handle complex modes.
23872         (HARD_REGNO_MODE_OK): Likewise.
23873         (CLASS_MAX_NREGS): Likewise.
23874         (RET_REG): Likewise.
23875         (EXTRA_CONSTRAINT): Define.
23876         (RETURN_IN_MEMORY): True for DImode.
23877         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
23878         (FUNCTION_PROFILER): Delete.
23879         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
23880         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
23881         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
23882         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
23883         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
23884         (ASM_FILE_START): Add "RMODE ANY".
23885         (ASM_OUTPUT_EXTERNAL): Check for aliases.
23886         (ASM_GLOBALIZE_LABEL): Likewise.
23887         (ASM_OUTPUT_LABELREF): Likewise.
23888         (ASM_OUTPUT_COMMON): Likewise.
23889         (PRINT_OPERAND): Handle 'K', 'W', default.
23890         (PRINT_OPERAND_ADDRESS): New.
23891         (Lots of defines): Add support for TARGET_ELF_ABI.
23892         * i370.md (attr length): New.  Define for all patterns.
23893         (*): Lots of tweeks to assembly output and constraints.
23895 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
23897         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
23898         Disable patterns performing SImode comparisons with SImode values
23899         if TARGET_POWERPC64 and instruction does not sign-extend or does
23900         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
23901         differ for signed quantities.
23902         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
23903         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
23904         (decrement_and_branch_on_count): Add 64-bit variant.
23906 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23908         * final.c (output_asm_insn): When searching for the matching string
23909         for a given dialect, don't run past the end of the list of
23910         alternatives if there are fewer alternatives in the template than
23911         dialects.
23913 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
23915         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23916         Removed paragraph about compression of files and size limitation,
23917         duplicated in the FAQ.  Use gcc-patches for posting patches.
23918         * gcc.c (main): Updated URL with bug reporting instructions to
23919         gcc.gnu.org.  Removed e-mail address.
23920         * system.h (abort): Likewise.
23922 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23924         * Makefile.in (stmp-multilib-sub): Make the files extracted
23925         from $(LIBGCC1) writable.
23927 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
23929         * config/arm/aout.h: Reformat for improved readability.
23931         * config/arm/arm.h: Reformat for improved readability.
23932         Replace uses of fprintf with asm_fprintf where appropriate.
23933         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
23934         function declaration assembler actions.
23935         (NUM_INTS): New macro: Convert from bytes to words.
23936         (NUM_REGS): New macro: Compute number of registers required to
23937         hold a quanitity of tyep MODE.
23938         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23939         types.
23940         (NUM_ARG_REGS): New macro: The number of argument registers
23941         available.
23942         (ARG_REGISTER): New macro: Compute the register number of the Nth
23943         argument register.
23944         (LAST_ARG_REGNUM): New macro: The number of the last argument
23945         register.
23946         (SP_REGNUM): New macro: Register number of the stack pointer.
23947         (FP_REGNUM): New macro: Register number of the frame pointer.
23948         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23949         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23950         CUMULATIVE_ARGS so that it counts registers not bytes.
23952         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23953         TARGET_INTERWORK.
23954         Replace uses of fprintf with asm_fprintf where appropriate.
23955         (output_ascii_pseudo_op): Replace with version from thumb.c
23957         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23959         * config/arm/elf.h (CPP_PREDEFINES): Replace with
23960         SUBTARGET_CPP_SPEC.
23961         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23962         (ASM_FILE_START): Emit ASM_APP_OFF.
23964 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
23966         * pa.c (compute_frame_size): Round frame according to
23967         STACK_BOUNDARY rather than a hardwired value.
23969         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23971         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23972         of "1".
23973         * configure: Rebuilt.
23975         * configure.in (hppa*-*-linux*): New configuration.
23976         * configure: Rebuilt.
23977         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23978         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23979         * pa/pa-linux.h: New file.
23980         * pa/t-linux: New file.
23981         * pa/xm-linux.h: New file.
23983         * pa.c (hppa_legitimize_address): Change references from SImode to
23984         either Pmode or word_mode as appropriate.
23985         (emit_move_sequence, store_reg, load_reg): Likewise.
23986         (set_reg_plus_d, hppa_expand_prologue): Likewise.
23987         (output_mul_insn): Likewise.
23988         * pa.h (PROMOTE_MODE): Likewise.
23989         (INITIALZE_TRAMPOLINE): Likewise.
23990         (Pmode): Define to word_mode.
23992         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23993         value of 4.  Allocate 8 bytes for each FP register save.
23994         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23995         value of 4.
23996         (hppa_expand_prologue): Likewise.
23997         * pa.h (PROMOTE_MODE): Likewise.
23998         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23999         (FUNCTION_ARG_BOUNDARY): Likewise.
24001         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
24003         * pa.c (out_of_line_prologue_epilogue): Delete.
24004         (override_options): Remove -mspace related code.
24005         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
24006         (compute_frame_size): Only allocate space for register that
24007         actually need to be saved.
24008         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
24009         (TARGET_SWITCHES): Remove -mspace, -mno-space
24010         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
24011         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
24012         * pa/ee.asm, pa/ee_fp.asm: Delete.
24014         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
24016         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
24017         directive in column zero.
24019 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
24021         * m68k.c (output_function_prologue): Fix computation of save mask
24022         when generating PIC code.
24024 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
24026         * tree.c (build_type_attribute_variant): Move current_obstack restore
24027         after build_qualified_type call.
24029 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
24031         * configure.in: Use t-iris6, even with GNU LD.
24032         * config/mips/iris6gld.h: Fix typo in linker spec.
24033         * config/mips/t-iris6gld: Remove.
24035 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
24037         * rs6000.md (insv, extzv): Remove SImode dependence in named
24038         patterns.  Explicitly generate DImode RTL if PowerPC64 and
24039         operand is DImode.
24040         (insvdi): Reverse start and size in instruction template.
24042 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
24044         * invoke.texi: Typo fixes.
24046 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
24048         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
24049         handle at this time instead of silently generating incorrect code.
24050         (gen_imagpart): Likewise.
24052         * reload.c (find_reloads): Emit a USE for a pseudo register without
24053         a hard register if we could not create an optional reload for the
24054         pseudo.
24056 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24058         * c-typeck.c (output_init_element, process_init_element):
24059         When advancing constructor_unfilled_fields for a RECORD_TYPE,
24060         check for nameless bit fields.
24062 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
24064         * regclass.c (scan_one_insn): Notice subregs that change the
24065         size of their operand.
24066         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
24068 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
24070         * configure.in (alpha*-*-*): Include alpha/t-ieee.
24071         * configure: Rebuilt.
24072         * alpha/t-ieee: New file.
24074 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
24076         * rs6000.c (find_addr_reg): Do not select r0 as an address
24077         register.
24079 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
24081         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
24083 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
24085         * rs6000.md (movsf): Do not force easy FP constants into memory.
24087         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
24088         immed_double_const to ensure they are properly truncated then
24089         sign extended.
24091 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
24093         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
24094         always unless NO_DEBUG is used.  Compile this code
24095         unconditionally.
24096         (replace_symbols_in_block): Compile it unconditionally.
24098 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
24100         * configure.in (i?86-*-elf*): New target.
24101         * configure: Rebuilt.
24102         * i386/i386elf.h, i386/t-i386elf: New files.
24104 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
24106         * toplev.c (main): Don't complain about saying -gdwarf.
24107         (rest_of_compilation): Remove redundant code.
24109 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
24111         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
24113 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
24115         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
24116         "Li960R:", to avoid name clash.
24118 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24120         * loop.c (check_dbra_loop): When reversing a loop, delete all
24121         REG_EQUAL notes referencing the reversed biv except those which are
24122         for a giv based on it.
24124 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
24126         * version.c: Drop "gcc-" prefix from version #.
24128 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
24130         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
24131         the label if we're being verbose.
24133 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
24135         * m68k.c (output_function_prologue): Add pic register to mask
24136         if live and flag_pic.
24137         (output_function_epilogue): Likewise.
24139 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
24141         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
24142         directives in column zero.
24144         * pa/elf.h (ASM_FILE_START): Define.
24145         * pa/som.h (ASM_FILE_START): Include .level directives.
24146         * pa/hpux10.h (ASM_FILE_START): Delete.
24147         * pa/hpux11.h (ASM_FILE_START): Delete.
24149         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
24151 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24153         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
24154         when reload_out equals reload_in.
24156 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
24158         * invoke.texi (Spec Files): New node: Describe the contents of
24159         spec files.
24161 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
24163         * invoke.texi (DEC Alpha Options): Put @end table at
24164         beginning of line, to avoid confusing texi2html.
24166 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
24168         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
24169         introduced in previous delta.
24171 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24173         * reload1.c (gen_reload): When synthesizing a 3 operand add
24174         sequence, improve test for when to reload OP1 into the reload
24175         register instead of OP0.
24177 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
24179         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
24181 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
24183         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
24184         string literal.
24186 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
24188         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
24189         (va_dcl): Use __builtin_va_alist_t.
24191 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
24193         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
24194         on the permanent_obstack.
24195         * dwarfout.c (output_type): Likewise.
24197 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24199         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24200         Merged from c-typeck.c and cp/typeck.c.
24201         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24202         Merged into c-common.
24204 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
24206         * c-lex.c (errorcount): Declare it.
24207         (finish_parse): Update errorcount when using CPPLIB.
24209 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
24211         * fixinc/inclhack.def(end_else_label): Double the backslash so
24212         sed gets a chance to see it.
24213         * fixinc/inclhack.sh: regen
24214         * fixinc/fixincl.x: regen
24216 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
24218         Add framework to support armv5 architecture when it becomes
24219         available:
24221         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
24222         (arm_arch5): New variable.
24223         (all_architectures): Add armv5 line.
24224         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
24225         -march=armv5 is specified on the command line.
24226         (arm_arch5): Export this variable.
24227         * invoke.texi: Document new string accepted by -march= switch for
24228         ARM ports.
24230         * config/arm/arm.h: Replace use of constant 12 as a register
24231         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
24232         * config/arm/arm.c: Replace use of constant 12 as a register
24233         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
24235         * config/arm/elf.h: Tidy up.
24236         * config/arm/coff.h: Tidy up.
24238 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
24240         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
24241         * gcc/config/mips/t-iris6gld: New file.
24242         * gcc/config/mips/iris6gld.h: Likewise.
24244 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24246         * c-decl.c (widest_integer_literal_type_node,
24247         widest_unsigned_literal_type) : New.
24248         (init_decl_processing): Handle/use the two new types.
24249         * c-common.c (type_for_size,type_for_mode) : Same.
24250         * c-lex.c (yylex) : Same.
24251         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
24252         Same.
24253         * c-tree.h (widest_integer_literal_type_node,
24254         widest_unsigned_literal_type) : New.
24256 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
24258         * dwarfout.c (field_byte_offset): Correctly compute the object's
24259         byte offset for the first bit of a field which crosses an alignment
24260         boundary on a !BYTES_BIG_ENDIAN target.
24262 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
24264         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
24265         ntohs.
24267 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
24268                           Jeff Law <law@cygnus.com>
24270         * ginclude/varargs.h (va_dcl): Use word_mode for type of
24271         __builtin_va_list.
24273         * except.c: Include intl.h.
24274         (expand_eh_return): Set current_function_cannot_inline.
24275         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
24276         * function.h (struct function): Add eh_return_stub_label.
24277         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
24278         * Makefile.in (except.o): Depend on intl.h.
24280 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
24282         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
24283         same as offsettable in cases 1 and 2.
24285 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
24287         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
24288         (extlh, extwh): Likewise.
24290 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24292         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
24294 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
24296         * configure.in: Add arm-pe and thumb-pe targets.
24297         * configure: Regenerate.
24299         * thumb.c (arm_naked_function_p): New function: Determines if
24300         a function is naked (has no gcc generated prologue/epilogue).
24301         (is_called_in_ARM_mode): Return true if the func has the
24302         interfacearm attribute.
24303         (output_return): Do not generate a return for naked functions.
24304         (thumb_function_prologue): Do not generate a prologue for
24305         naked functions.
24306         (thumb_expand_prologue): Do not generate a prologue for naked
24307         functions.
24308         (thumb_expand_epilogue): Do not generate an epilogue for naked
24309         functions.
24310         (arm_valid_machine_decl_attribute): New function, copied from
24311         arm.c:  Permit naked and interfacearm attributes.
24313         * config/arm/pe.c: New file: Support code for arm-pe target.
24314         * config/arm/pe.h: New file: Header file for arm-pe target.
24315         * config/arm/tpe.h: New file: Header file for thumb-pe target.
24316         * config/arm/t-thumb-pe: New file: Makefile fragment for
24317         thumb-pe target.
24319 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
24321         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
24322         -fPIC or -fpic is specified.
24324 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
24326         * expr.c (emit_block_move): Use copy_to_mode_reg for
24327         !TARGET_MEM_FUNCTIONS case too.
24329         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
24330         appropriate.
24331         * configure: Rebuilt.
24332         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
24333         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
24334         definitions made redundant by dbxelf.h inclusion.  Delete
24335         lots of definitions related to assembly output that are
24336         specific to the SOM object format.
24337         * pa.c (output_function_prologue): Do not emit the function's
24338         name for OBJ_ELF.
24339         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
24340         * pa-pro.h: Deleted.
24341         * som.h: New file with SOM specific definitions.
24342         * elf.h: New file with ELF specific definitions.
24344         * elfos.h (const_section): Output a tab before assembler directives.
24345         (ctors_section, dtors_section): Likewise.
24346         (ASM_OUTPUT_SECTION_NAME): Likewise.
24348         * pa/pa1.h: Delete unused file.
24350 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
24352         * configure.in (hppa*-hp-hpux11*): New configuration.
24353         * configure: Rebuilt.
24354         * pa/pa-hpux11.h: New file.
24355         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
24356         command line.
24358         * mips.md (leasi, leadi): New patterns.
24360         * expr.c (emit_block_move): Properly handle case where one of the
24361         block move arguments has a queued increment or decrement.
24362         (clear_storage): Similarly.  Fix formatting goof.
24364 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
24366         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
24367         semicolon from the BSD VA_LIST replacement expression.
24369         * fixinc/inclhack.sh: regen
24370         * fixinc/fixincl.x: regen
24372         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
24373         now use the fixincl program.
24375 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
24377         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
24378         case.  Also make the PIC register call_used.
24380         * m68k.h (FINALIZE_PIC): Delete.
24381         * m68k.c (finalize_pic): Delete.
24383 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
24385         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
24386         to memory.
24388 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
24390         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
24392 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
24394         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
24396 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
24398         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
24400 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
24402         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
24404 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
24406         * rs6000.c (output_toc): Always use hex values for floating-point
24407         constants.  Store single-precision values in upper-half of TOC
24408         entry in 64-bit mode.
24409         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
24410         to final constraints.
24411         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
24412         (fctiwz): Improve accuracy of RTL for pattern.
24414 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24416         * expr.c (expand_expr): Allow RTL_EXPR's through the
24417         MAX_INTEGER_COMPUTATION_MODE checks.
24419 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
24421         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
24422         such that MASK_SUPPORT_ARCH is not negative.
24424 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
24426         * loop.c (verify_dominator): Properly handle ADDR_VEC and
24427         ADDR_DIFF_VEC insns that appear inside loops.
24429 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
24430                           Jeff Law <law@cygnus.com>
24432         * rs6000.md (movdf_hardfloat32): Revert previous patch.
24433         Handle LO_SUM the same as offsettable in cases 1 and 2.
24434         * rs6000.c (find_addr_reg): Revert previous patch.
24436 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
24438         * system.h (strstr): New external function declaration.
24439         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
24440         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
24441         * config.in, configure: Rebuilt.
24443 1999-06-24  Tom Tromey  <tromey@cygnus.com>
24445         * gcc.c (main): Read user-specified specs files after computing
24446         additional startfile_prefixes.
24448 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
24450         Revert these two patches:
24452         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24453         * loop.c (strength_reduce): When doing biv->giv conversion, update
24454         reg note of NEXT->insn.
24456         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24457         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24458         reg_biv_class.
24459         (recombine_givs): Set ix field after sorting.
24461 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24463         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
24464         for the parts of an UNSPEC / UNSPEC_VOLATILE.
24466 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
24468         *fixinc/inclhack.def:  Add fix development commentary
24469         (read_ret_type): reactivate and add selection clause
24470         (zzz_*): tweak output file name to match what is used in hackshell.tpl
24471         *fixinc/{fixincl.x|inclhack.sh}: regen
24473 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
24475         * expr.c (expand_expr): STRIP_NOPS before checking against
24476         MAX_INTEGER_COMPUTATION_MODE
24477         (check_max_integer_computation_mode): Likewise.
24479 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
24481         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
24483 1999-06-22  Jim Wilson  <wilson@cygnus.com>
24485         * expr.c (store_expr): When target is a promoted subreg, return a
24486         promoted subreg as a result.
24488 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
24490         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
24491         coding standards.
24492         (dwarf2out_define): Mark unused parameters appropriately.
24493         (gen_unspecified_parameters_die): Ditto.
24494         (gen_subprogram_die): Fix signed/unsigned warnings.
24495         (gen_variable_die): Ditto.
24497 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
24499         * fixinc/inclhack.def(end_else_label): combined else_label
24500         and endif_label and fixed the sed expression.
24501         *fixinc/{fixincl.x|inclhack.sh}: regen
24503 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
24505         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
24506         'x' when handling non-offsettable addresses
24508 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
24510         * final.c (shorten_branches): Don't try to split an insn that has
24511         been deleted.
24513 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
24515         * config/mips/mips.c (symbolic_expression_p): New function.
24516         (mips_select_rtx_section): Put symbolic expressions in the
24517         data section, not the read-only data section.
24519 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
24521         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
24523 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
24525         * collect2.c (main): Log frame table count.
24526         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
24527         (scan_prog_file) [COFF]: Handle frame tables.
24529         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
24530         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
24531         * alpha/elf.h: Undef them again.
24532         * alpha/vms.h: Remove their definitions.
24534 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24536         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
24537         remove the clobber of r0 and change the REG_UNUSED note to
24538         REG_INC.
24540 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
24542         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
24543         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
24544         fits in HOST_WIDE_INT and one uses union to access a long constant
24545         as double.
24547 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
24549         * sparc.c (sparc_override_options): Don't allow profiling for
24550         code models other than medlow.
24551         (sparc_function_profiler): New function from old FUNCTION_PROFILER
24552         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
24553         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
24554         (sparc_block_profiler): Likewise.
24555         (sparc_function_block_profiler_exit): Likewise.
24556         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
24557         (FUNCTION_BLOCK_PROFILER): Likewise.
24558         (BLOCK_PROFILER): Likewise.
24559         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
24560         (MCOUNT_FUNCTION): New.
24561         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
24562         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
24563         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
24564         (MCOUNT_FUNCTION): New.
24565         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
24566         (BLOCK_PROFILER): Delete.
24567         (MCOUNT_FUNCTION): New.
24569 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
24571         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
24573 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
24575         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24576         Add the macros.
24578         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24579         Ditto.
24581         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24582         Ditto.
24584         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24585         Ditto.
24587 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
24589         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
24590         types.
24592 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
24594         * i386/djgpp.h (LIB_SPEC): New.
24595         (STARTFILE_SPEC): New.
24597         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
24599 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
24601         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
24602         compiler flags.
24604         * system.h (WSTOPSIG): New macro.
24606 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24608         * c-pragma.c (push_alignment): Don't ignore alignments greater than
24609         4 bytes.
24610         (insert_pack_attributes): Take into account member natural
24611         alignment.
24613         * i386/winnt.c (exports_head): New static variable.
24614         (i386_pe_record_exported_symbol): New function.
24615         (i386_pe_asm_file_end): Use.
24616         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
24617         symbols to be emitted at end of assembly.
24618         (ASM_DECLARE_OBJECT_NAME): Likewise.
24619         (ASM_DECLARE_FUNCTION_NAME): Likewise.
24621         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
24622         -iwithprefix.
24624 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
24626         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
24627         in last change.
24629 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
24631         * haifa-sched.c (sched_analyze_1): Use free_list instead of
24632         zapping reg_last_uses directly.
24633         (sched_analyze_2, sched_analyze_insn): Likewise.
24634         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
24636 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
24638         * rs6000.md (movdf_hardfloat32): Use worst case insn length
24639         attributes for cases 1 and 2.
24641 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
24643         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
24644         instead of set.
24646 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
24648         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
24650 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
24652         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
24653         PIC_OFFSET_TABLE_REGNUM for general alloaction.
24654         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
24655         must be stacked if it is used for PIC accesses.
24656         * arm.c (use_return_insn): Handle PIC register specially.
24657         (output_return_instruction): Likewise.
24658         (output_func_{prologue,epilogue}): Likewise.
24659         (output_expand_prologue): Likewise.
24661         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
24662         (*strsi_predec): Renamed from *strqi_predec.
24663         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
24664         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
24666         * arm.c (arm_override_options): Remove warning about PIC code
24667         not being supported.
24669 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
24671         * rs6000.c (find_addr_reg): New function.
24672         * rs6000.h (find_addr_reg): Declare.
24673         (offsettable_addr_operand): Delete.
24674         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
24675         from and stores to GPRs.
24677 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
24679         * alpha.c (alpha_expand_block_move): Use get_insns rather than
24680         gen_sequence as argument to emit_no_conflict_block.
24682 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24684         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
24685         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
24686         *fixinc/fixincl.x: regen
24687         *fixinc/inclhack.sh: regen
24689 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
24691         * added support for -mpcrel (PC relative addressing for m68k)
24692         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
24693         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
24694         * m68k.c (print_operand_address): Handle 32-bit PIC case.
24695         (comments for general_src_operand): Add some explanation
24696         about EXTRA_CONSTRAINTS.
24697         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
24698         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
24699         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
24700         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
24701         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
24702         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
24703         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
24704         if not already set.
24705         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
24706         * m68k.h (TARGET_PCREL): New target flag.
24707         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
24708         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
24709         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
24710         contains a SYMBOL_REF.  Relax this constraint during reload, since
24711         we want to use the predicates, not reload's built-in concept of a
24712         valid memory address, to control what insns need reloading.
24713         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
24714         operands (essentially 'g', 'm', and 's' under normal circumstances).
24715         * m68k.c (print_operand): Cause printing of pc-relative addresses
24716         to include pc register.
24717         (print_operand_address): Ditto.
24718         (general_src_operand): Accept operands that are not only
24719         general_operands, but are also valid when used as a pc-relative
24720         source.
24721         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
24722         (memory_src_operand): Similar, for memory_operands.
24723         (pcrel_address): New predicate to accept the special case of a
24724         pc-relative address.
24725         * m68k.md (many patterns): Rewrite common SImode, HImode, and
24726         QImode insns to accept *_src_operand instead of *_operand where
24727         pc-relative operands can fit.  For example, a pc-relative operand
24728         can be used as a memory source operand for addsi3, but not as a
24729         memory destination.
24730         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
24732 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
24734         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
24735         .thumb_set pseudo op to mark aliases of thumb functions.
24737 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
24739         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
24740         preference to ASM_OUTPUT_DEF, if it is defined.
24742         * tm.texi: Document new, optional target macro
24743         ASM_OUTPUT_DEF_FROM_DECLS.
24745 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24747         * fixincludes: ISCNTL patch
24748         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
24749         (dgux_int_varargs): new for DG/UX
24750         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
24752 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
24754         * invoke.texi (ia32 options): Fix typo.
24756 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24758         * loop.c (strength_reduce): When doing biv->giv conversion, update
24759         reg note of NEXT->insn.
24761 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
24763         * loop.c (move_movables): Note issues with replacing REGs with
24764         SUBREGs.
24765         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
24767 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
24769         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
24771         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
24772         the reference to `mcount' was not correct for the ELF on FreeBSD.
24774 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24776         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24777         reg_biv_class.
24779         (recombine_givs): Set ix field after sorting.
24781 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
24783         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
24784         to safe to extract a subword out of a REG.
24786 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24788         * sh.md (mulsi3): Don't add a no-op move at the end.
24790 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24792         * cse.c (cse_insn): Don't put hard register source into tables for
24793         the last insn of a libcall.
24795 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24797         * loop.c (strength_reduce): Insert sets of derived givs at every
24798         biv increment, even if it's the only one.
24800 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
24802         * dwarfout.c (add_incomplete_type): New fn.
24803         (output_type): Call it.
24804         (retry_incomplete_types): New fn.
24805         (dwarfout_finish): Call it.
24807         From Eric Raskin <ehr@listworks.com>:
24808         (output_type): Output types for bases.
24810 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
24812         * mips.c (mips_output_conditional_branch): Add `break'
24813         between `default' label and `close braces'.
24815 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
24817         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
24818         specifications and make it realistic.
24819         (LIB_SPEC): Likewise.
24821 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
24823         * config/mips/mips.c (mips_secondary_reload_class): Check for
24824         (PLUS (SP) (REG)) and return appropriate register class.
24825         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
24826         Handle (PLUS (SP) (REG)).
24827         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
24828         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
24829         of emit_insn for tablejump.
24831 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
24833         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
24834         asm_fprintf format string by itself.
24835         (output_function_profiler): Likewise.
24837 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
24839         * combine.c (simplify_logical, case AND): Only call
24840         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
24841         or the constant is positive.
24843 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
24845         * configure.in: Fix typo in rs6000-ibm-aix4 case.
24846         * configure: Regenerate.
24848 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
24850         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
24851         require a sub-version #.
24852         * configure: Rebuilt.
24854 1999-06-14  Robert Lipe  (robertlipe@usa.net)
24856         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
24858 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
24860         * c-typeck.c (process_init_element): Detect excess elements in
24861         char array initializer.
24863 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24865         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
24867 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24869         * invoke.texi (Option Summary): Add -fpermissive flag.
24871 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24873         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
24874         that require PIC code sequences.
24876 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
24878         * configure.in: Add new target: thumb-elf.
24879         * configure: Regenerate.
24880         * config/arm/t-thumb-elf: New file: Makefile fragment for
24881         thumb-elf build.
24882         * config/arm/telf.h: New file: Header file for thumb-elf
24883         build.
24885 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
24887         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
24888         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
24889         initializers is some circumstances.
24891         * fixinc/inclhack.def (endif_label): Add additional selector for
24892         more bogus stuff after #endif statements.
24893         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
24895 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24897         * i386/cygwin.h (SET_ASM_OP): Define.
24899 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24901         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
24903 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24905         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
24906         latter.
24908         * sh.md (ic_invalidate_line_i): Remove second alternative.
24910 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24912         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24913         test for the presence of valid prototypes.  Delete bypass expr.
24914         (ioctl_fix_ctrl): Correct the selection expression.
24915         (no_double_slash): Correct quoting rules
24916         *fixinc/fixincl.x: regen
24917         *fixinc/inclhack.sh: regen
24919 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
24921         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24923 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24925         * rs6000.md (movsi_got_internal_mem): Delete.
24926         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24927         (GOT_TOC_REGNUM): Delete.
24928         (PIC_OFFSET_TABLE_REGNUM): Define.
24929         (FINALIZE_PIC): Disable.
24930         * rs6000.c (rs6000_got_register): New code for fixed pic register.
24931         (rs6000_replace_regno): Delete.
24932         (rs6000_finalize_pic): Likewise.
24933         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24935 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24937         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24938         is a note; use <= for the compare; advance P while it is
24939         a NOTE.
24941 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
24943         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24944         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24946         * varasm.c (remove_from_pending_weak_list): Verify t->name
24947         is non-NULL before passing it to strcmp.
24949 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24951         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24952         the typed arguments are not part of a comment
24953         (ioctl_fix_ctrl): Added a purpose comment
24954         *fixinc/fixincl.x: regenerate
24955         *fixinc/inclhack.sh: regenerate
24957 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24959         * invoke.texi: Add C4x invocation docs.
24961 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24963         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24964         Define new macros.
24965         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24966         TARGET_EXPOSE_LDP.
24967         (c4x_legitimize_reload_address): New function.
24968         * config/c4x/c4x.md: Update docs.
24970 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
24972         * fixincludes: Avoid removing '.'.
24973         * fixinc/fixinc.svr4: Likewise.
24974         * fixinc/fixinc.winnt: Likewise.
24975         * fixinc/inclhack.tpl: Likewise.
24976         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24978 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24980         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24981         pattern.
24982         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24984 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24986         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24987         correctly.
24989 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
24991         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24992         * configure: Regenerate.
24994 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
24996         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24997         values.
24999 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
25001         * fixinc/inclhack.def (avoid_bool): Also catch
25002         "typedef [unsigned] int bool".
25003         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25005         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
25006         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
25007         * configure: Rebuilt.
25009 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
25011         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
25012         such that we can override its definitions if necessary.
25013         (CPP_SPEC): New define.  Support processor specific predefines via
25014         %(cpp_cpu).
25015         (CC1_SPEC): New define.  Support processor specific compiler
25016         options via %(cc1_cpu).
25017         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
25018         -static.
25020 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25022         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
25023         between sed's -e flag, and the open-quote following it.
25024         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
25026 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
25027                           Jeffrey A Law  (law@cygnus.com)
25029         * varasm.c (assemble_start_function): Remove the function
25030         from the pending weak decls list when we define a function.
25031         (assemble_variable): Similarly for variables.
25032         (weak_finish): Ignore items on the list with a NULL name.
25033         (remove_from_ending_weak_list); New function to "remove" an item
25034         from the pending weak declarations list.
25036 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25038         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
25040 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
25042         * c-lex.c (GETC): Redefine to call getch.
25043         (UNGETC): Redefine to call put_back.
25044         (putback_buffer): New structure type.
25045         (putback): New static structure.
25046         (getch): New function.
25047         (put_back): New function.
25048         (yylex): Replace unused bytes from bad multibyte character.
25050 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
25052         * cpplib.c (do_define): Cast `alloca' return value.
25053         (do_include, do_undef, do_pragma): Likewise.
25054         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
25055         values.
25056         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
25057         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
25059 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25061         * sparc.md (abstf2): This should be an expand.
25062         (split after abstf2_notv9): Fix mode.
25063         (abstf2_hq_v9): New pattern.
25064         (abstf2_v9): Only use when no hard quad.
25065         (absdf2_v9): Fix if target is not the same as source.
25066         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
25067         Add correct output constraints.
25069 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
25071         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
25072         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
25074 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
25076         * mips.h (mips_output_conditional_branch): New function.
25077         (mips_adjust_insn_length): Likewise.
25078         (ASSEMBLER_SCRATCH_REGNUM): New macro.
25079         (ADJUST_INSN_LENGTH): Likewise.
25080         * mips.c (print_operand): Add `F' and `W' for floating-point
25081         comparison opcodes.
25082         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
25083         are now in bytes.
25084         (mips_adjust_insn_length): New function.
25085         (mips_output_conditional_branch): New function.
25086         * mips.md (length): Adjust attribute definition to handle
25087         conditional branches.  Change lengths to bytes, rather than
25088         instructions throughout.  Remove length attribute from
25089         instructions whose length is four bytes, and rely on the default
25090         instead.
25091         (dslot): Fix typo in comment.
25092         Reword conditional branch patterns to use
25093         mips_output_conditional_branch.
25095 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
25097         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
25098         (LIB_SPEC): Likewise.
25099         Link with -lprof1_r for -g/-pg.
25101 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25103         * loop.c (check_dbra_loop): Fix change of Jan 19.
25105 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
25107         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
25108         (STARTFILE_SPEC):  Define, override the svr4.h version.
25109         (ENDFILE_SPEC):  Likewise.
25111 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
25113         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
25114         * fixinc/fixincl.x: Regenerated.
25115         * fixinc/inclhack.sh: Regenerated.
25117 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25119         * sh.c (barrier_align): Don't return early for normal branch/barrier
25120         when optimizing for SH2.
25122 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
25124         * i386/udk.h (LINK_SPEC): Correct linker search path for
25125         system libraries.
25127 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25129         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
25130         (braf_label_ref_operand): Delete.
25131         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
25132         * sh.md (casesi_jump_2): Operand1 is now the inside of a
25133         label_ref, and has no predicate.
25134         The patten has a predicate to guard against invalid substitutions.
25135         (dummy_jump): Delete.
25136         (casesi): Update use of casesi_jump_2.
25138 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25140         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
25141         *fixinc/fixincl.x: regenerate
25142         *fixinc/inclhack.sh: regenerate
25144 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
25146         * dwarf2out.c (add_incomplete_type): New fn.
25147         (gen_struct_or_union_type_die): Call it.
25148         (retry_incomplete_types): New fn.
25149         (dwarf2out_finish): Call it.
25151 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
25153         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
25154         current block starts with a CODE_LABEL and ends with a CALL and
25155         we can not find all the argument setup instructions for the CALL.
25157 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
25159         Revert this change:
25160         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
25161         something is a candidate for optimize_bit_field_compare.
25163 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25165         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
25167 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
25169         * alpha.c (override_options): Thinko in last patch.
25171         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
25172         (LIB_SPEC): Recognize -pthread.
25174 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
25176         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
25177         definition in config/arm/coff.h
25178         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
25180 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25182         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
25183         fixes that need "file=xxx\n" prepended before invocation
25184         (start_fixer - new): starting the fixer process is complex enough
25185         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
25186         (process): uses the new routine; omit usage of putenv()
25187         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
25188         * fixinc/fixincl.x: regenerate
25190 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
25192         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
25193         and version #s (1.1 -> 2.96) as needed.
25194         * README.g77: Kill way out of date file in the toplevel directory.
25196 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
25198         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
25199         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
25200         * configure: Rebuilt.
25201         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
25202         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
25203         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
25204         (SWITCH_TAKES_ARG): Likewise.
25205         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
25206         * config/t-freebsd: Moved from config/i386/ so it can used for all
25207         FreeBSD targets.
25209 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
25211         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
25213 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
25215         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
25216         * configure: Rebuilt.
25218 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
25220         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
25221         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
25222         * rs6000/rs6000.c (rs6000_file_start): Use putc.
25223         (rs6000_output_load_toc_table): Same.
25224         (output_prolog, output_mi_thunk): Same.
25225         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
25226         (ASM_GLOBALIZE_LABEL): Use putc.
25228 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
25230         * alpha.md (reload_*_help): New patterns and splitters.
25231         (reload_*): Use them.
25232         (mov[qh]i): Likewise.
25234 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
25236         * cccp.c (handle_directive): Handle backslash-newlines in quoted
25237         strings correctly.
25239 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
25241         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
25243 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
25245         * flow.c (mark_regs_live_at_end, insn_dead_p,
25246         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
25247         and HARD_FRAME_POINTER_REGNUM special treatment if reload
25248         hasn't run or the frame pointer is needed.
25249         * haifa-sched.c (attach_deaths): Likewise.
25250         * sched.c (attach_deaths): Likewise.
25252 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
25254         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
25255         calculate_can_reach_end returns nonzero.
25257         * configure.in (native gas tests): Search for an assembler in the
25258         same manner that the installed compiler will.
25259         * configure: Rebuilt.
25260         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
25262         * alias.c (find_base_term): Improve handling of addresses
25263         constructed from binary operations.
25265 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
25267         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
25269 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
25271         * function.h (cleanup_label, frame_offset): Declare.
25272         (tail_recursion_label, tail_recursion_reentry): Likewise.
25273         (arg_pointer_save_area, rtl_expr_chain): Likewise.
25274         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
25275         (tail_recursion_label, tail_recursion_reentry): Likewise.
25276         (arg_pointer_save_area, rtl_expr_chain): Likewise.
25278 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
25280         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
25281         defined.
25282         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
25283         (MAX_OFILE_ALIGNMENT): Define.
25285 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
25287         * fixincl.c: Replace local include scheme with #includes of
25288         gansidecl.h and system.h.
25289         * procopen.c:  Likewise.
25290         * server.c:  Likewise.
25292 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
25294         * i386/t-dgux (EXTRA_PARTS): Add crti.o
25295         (crti.o): Add build rule and dependencies.
25296         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
25298 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25300         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
25301         (LIB_LINUX_SPEC): Likewise.
25302         (LIB_LINUX_SPEC): Add support for -pthread
25303         (CPP_OS_LINUX_SPEC): Likewise.
25304         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
25305         specified.
25307 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
25309         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
25310         conditional move.
25311         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
25312         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
25313         for IEEE math and CC_FCOMI.
25314         (put_jump_code): No IEEE if CC_FCOMI is set.
25316 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25318         * fold-const.c (fold_truthop): Make the field reference unsigned
25319         when converting a single bit compare.
25321 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25323         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
25325 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
25327         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
25328         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
25329         version did.
25331         * reload.c (push_reload): Do not call remove_address_replacements
25332         when presented with identical optional reloads.
25334 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
25336         * alpha.h (MASK_FIX, TARGET_FIX): New.
25337         (MASK_*): Reorganize constants.
25338         (CPP_AM_FIX_SPEC): New.
25339         (TARGET_SWITCHES): Add FIX.
25340         (EXTRA_SPECS): Likewise.
25341         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
25342         (SECONDARY_MEMORY_NEEDED): Likewise.
25343         (REGISTER_MOVE_COST): Likewise.
25344         * alpha.c (override_options): Add FIX support.  Always use
25345         ALPHA_TP_PROG for ev6.
25346         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
25347         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
25348         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
25350 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
25352         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
25353         something is a candidate for optimize_bit_field_compare.
25355 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
25357         * gcc.texi (Passes): Document branch-shortening.
25358         * invoke.texi (Debugging Options): Document the fact that `-dp'
25359         outputs length information for instructions.
25361 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
25363         * flow.c: Revert previous delta.
25365 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
25367         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
25368         FRAME_POINTER_REGNUM.
25369         (mark_set_1): Ditto.
25370         (mark_used_regs): Ditto.
25372 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
25374         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
25375         (GOT_PCREL): New macro.  Define to 1 if not already defined.
25376         * arm/elf.h (GOT_PCREL): Define to 0.
25377         * arm.c (arm_finalize_pic): Take into account the setting of
25378         GOT_PCREL.
25380 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
25382         * output.h (STRIP_NAME_ENCODING): Provide default definition.
25383         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
25385         * flow.c (mark_set_1): Do not record BLKmode stores as dead
25386         store elimination candidates.
25388 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25390         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
25391         TARGET_GAS.
25393 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
25395         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
25396         Add use of x-aix41-gld.
25398 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
25400         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
25401         (ASM_OUTPUT_DESTRUCTOR): Define.
25403 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
25405         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
25406         last CODE_LABEL in a loop if we have previously passed a jump
25407         to the top of the loop.
25409 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
25411         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
25412         applying Philip's patch.
25414 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
25416         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
25417         are not VAR_DECLs.
25419 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
25421         * loop.c (strength_reduce): Grow reg_single_usage as needed.
25423 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
25425         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
25426         Also remove a useless comment.
25428 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
25430         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
25432 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
25434         * collect2.c (main): Only generate import or export file and add
25435         to link arguments if non-empty.  Use xmalloc not alloca.
25436         (write_{export,import}_file): Delete.
25437         (write_aix_file): New function.
25438         (locatelib): Use xmalloc not malloc.
25439         (GCC_OK_SYMBOL): Do not check type if aix64.
25441 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
25443         Based on patch by Scott Bambrough and Pat Beirne:
25444         * config/arm/arm.c (making_const_table): New variable.
25445         * config/arm/arm.h (making_const_table): Declare.
25446         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
25447         appropriate.
25448         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
25449         Keep track of when we are building the constant table.
25451 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
25453         * config/arm/arm.c (arm_override_options): Fix erroneous warning
25454         message.
25456 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
25458         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
25459         defined.
25461 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
25463         * tm.texi (FUNCTION_ARG): Correct description of a stack element
25464         in a PARALLEL.
25466 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
25468         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
25470 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25472         * rs6000.c (output_mi_thunk): Enable full support again.
25474 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25476         * sh.h (BRANCH_COST): Define.
25478 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
25480         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
25482 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
25484         * function.c (assign_stack_local): Align stack slot propertly.
25485         (assign_outer_stack_local): Likewise.
25487 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
25489         * expr.h (lang_expand_constant): Declare.
25490         * toplev.c (lang_expand_constant): Define it.
25491         * varasm.c (output_constant): Use it.
25493 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25495         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
25496         Change function definitions to K&R style.
25498 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25500         * fixinc/fixincl.c: We must not ignore SIGCLD now.
25502 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
25504         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
25505         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
25506         (several places): omit static initialization
25507         (process): use single fd, since only the read fd is used
25508         * fixinc/gnu-regex.c: define 'const' away, if not supported
25509         * fixinc/procopen.c(several places): omit static initialization
25510         * fixinc/server.c: define 'volitile' away, if not supported
25512 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
25514         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
25515         asm_fprintf and %L to generate the label name.
25516         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
25517         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
25519 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
25521         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
25522         insn for a conditional jump can not be found.
25524 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
25526         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
25527         on variables in specific sections other than .sbss and .sdata.
25529 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
25531         * stmt.c (expand_return): Call start_cleanup_deferral and
25532         end_cleanup_deferral around conditional code.
25534 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25536         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
25537         filename lists.  Utilizes new "krstr" AutoGen function.
25538         * fixinc/fixincl.x: Rebuilt.
25540 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
25542         * i386.c (output_float_compare): Avoid GNU-C extensions.
25544 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
25546         * version.c: Bump to distinguish mainline tree from the
25547         gcc-2.95 branch.
25549 See ChangeLog.1 for earlier changes.
25551