* flags.h: New variables align_loops, align_loops_log,
[official-gcc.git] / gcc / ChangeLog
blob457141881e6b1eb9b5b998e9d0035f9dfb7e8dd6
1 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
3         * flags.h: New variables align_loops, align_loops_log,
4         align_jumps, align_jumps_log, align_labels, align_labels_log,
5         align_functions, align_functions_log.
6         * toplev.c: Define them.
7         (f_options): Handle -falign-* when they have no argument.
8         (main): Add logic to set variables for -falign-functions,
9         -falign-jumps, -falign-labels, -falign-loops.
10         Make it -fsched-verbose=<n> and -finline-limit=<n>.
11         (display_help): Change help to match options.
12         * final.c (LABEL_ALIGN): Default to align_labels_log.
13         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
14         (LOOP_ALIGN): Default to align_loops_log.
15         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
16         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
17         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
18         * varasm.c (assemble_start_function): Handle align_functions.
20         * config/sparc/sparc.h: Don't declare sparc_align_*.
21         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
22         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
23         sparc.c.
24         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
25         it's a promise.
26         * config/sparc/sparc.c: Delete sparc_align_loops,
27         sparc_align_jumps, sparc_align_funcs and the corresponding string
28         variables.
29         (sparc_override_options): Default align_functions on ultrasparc.
30         Delete -malign-* handling.
32         * config/mips/mips.c (override_options):  On 64-bit targets,
33         try to align code to 64-bit boundaries.
34         (print_operand): New substitution, %~,
35         which aligns labels to align_labels_log.
36         * config/mips/mips.md (div_trap_normal): Use %~.
37         (div_trap_mips16): Likewise.
38         (abssi): Likewise.
39         (absdi2): Likewise.
40         (ffssi2): Likewise.
41         (ffsdi2): Likewise.
42         (ashldi3_internal): Likewise.
43         (ashrdi3_internal): Likewise.
44         (lshrdi3_internal): Likewise.
45         (casesi_internal): Likewise.
47 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
49         Merge new ia32 backend from the branch!
51         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
52         See ChangeLog.P2 on new_ia32_branch for details.
54         * rtl.h (stack_regs_mentioned_p): Delete prototype.
55         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
56         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
57         * i386/gas.h (ASM_FILE_START): Define.
58         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
59         for name change of ix86_valid_decl_attribute_p.
60         (i386_pe_valid_type_attribute_p): Similarly.
62 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
64         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
65         to step through CC modes.
67 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
69         * regmove.c (fixup_match_1): Don't move INSN in front of P if
70         it would end up in the shadow of a live flags regsiter.
72 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
74         * reload1.c: Fix many indentation problems.
75         * reload.c: Likewise.
77 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
79         * alias.c (non_local_reference_p): Constify fmt.
81 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
83         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
85 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
87         * cse.c (delete_trivially_dead_insns): Do not delete stores to
88         the internal_arg_pointer.
90 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
92         Merge peephole2 from new_ia32_branch:
93         * Makefile.in (STAGESTUFF): Add *.peephole2.
94         (mostlyclean): Likewise.
95         (recog.o): Depend on resource.h.
97         * final.c (peephole): Conditionalize decl on HAVE_peephole.
98         (final_scan_insn): Likewise for the invocation of peephole.
99         * genconfig.c (main): Look for peephole and peephole2 patterns.
100         Emit HAVE_peephole* accordingly.
101         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
102         * flags.h (flag_peephole2): Declare.
103         * toplev.c: New pass peephole2.  New flag -fpeephole2.
105         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
106         * gencodes.c (main): Likewise.
107         * genextract.c (main): Likewise.
108         * genoutput.c (main): Likewise.
109         * genemit.c (max_operand_1): Look for the max scratch operand.
110         (gen_rtx_scratch): New.
111         (gen_exp): Use it, and pass on new arg subroutine_type.
112         (gen_expand): Take max scratch into account.
113         (gen_split): Emit peephole2 functions.
114         (output_peephole2_scratch): New.
115         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
116         * genrecog.c (routine_type): Add PEEPHOLE2.
117         (IS_SPLIT): New.
118         (make_insn_sequence): Match outer parallel for peep2.  Discard
119         top level scratches and dups.
120         (add_to_sequence): New args insn_type and top.  Update all callers.
121         Handle toplevel peep2 matching insns.
122         (write_subroutine): Handle peep2.
123         (write_tree_1): Likewise.
124         (write_tree): Likewise.
125         (main): Likewise.
126         (change_state): New arg afterward.  Update all callers.
127         Handle matching separate insns.
128         * recog.c (recog_next_insn): New.
129         (peephole2_optimize): New.
130         * rtl.def (DEFINE_PEEPHOLE2): New.
131         * resource.c (find_free_register): New argument last_insn.  Use it
132         to find a register available through the entire span.
133         * resource.h (find_free_register): Update prototype.
135 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
137         * i386.c (output_strlen_unroll): Don't write xops[7]
138         label if it wasn't set.
140 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
142         * cpplib.c (struct directive): Const-ify name pointer and
143         function pointer prototype.
144         (validate_else, do_define, do_line, do_include, do_undef,
145         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
146         do_elif, do_endif, do_sccs, do_assert, do_unassert,
147         do_warning): Const-ify second arg.
148         (directive_table): Mark const.  Reorder entries by frequency
149         of usage, record statistics.
151 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
153         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
154         bounds- check RTL accesses if --enable-checking.
155         (RTVEC_ELT): Bounds check if --enable-checking.
156         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
157         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
158         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
159         GET_NUM_ELEM.
160         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
161         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
163         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
164         (NOTE_SOURCE_FILE): Use X0STR.
165         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
166         MEM_ALIAS_SET): Use X0INT.
167         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
168         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
169         Use X0EXP.
170         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
171         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
172         (rtl_check_failed_bounds, rtl_check_failed_type1,
173         rtl_check_failed_type2, rtvec_check_failed_bounds): New
174         functions.
175         (fancy_abort): Fix comment.
177         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
178         (cse_insn): Decrement LABEL_NUSES for jump target before
179         deleting jump insn.
180         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
181         * final.c (alter_subreg): Compute regno before changing x to
182         REG; set REGNO(x) after changing it.
183         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
184         notes containing CONST_INTs.
185         (delete_eh_regions): Use NOTE_EH_HANDLER.
186         * function.c (put_reg_into_stack): Make reg a MEM before
187         initializing it.
188         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
189         delete insn.
190         (gen_mem_addressof): Make reg a MEM before initializing it.
191         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
192         X0WINT.
193         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
194         deleting an insn, not after.
195         (block_alloc): Only look at PATTERN(insn) if we have to, and
196         only if it's format class 'i'.
197         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
198         CONST_INT before using its INTVAL.
199         * print-rtl.c (print_rtx): Use X0STR.
200         * regmove.c (fixup_match_1): Don't look at PATTERN of
201         non-class-'i' insn chain elements.
202         * reload.c (loc_mentioned_in_p): Take address of
203         in->fld[1].rtx directly.
204         * reload1.c (reload): Change reg to a MEM before initializing
205         it.
206         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
207         have no names.
208         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
210 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
212         * config/mips/mips.c (machine_dependent_reorg): Force a
213         barrier to output the local constant pool if a barrier hasn't
214         been found at a natural point in the instruction stream.
216 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
218         * c-parse.in (language_string): Constify.
220         * dwarf2out.c (language_string): Remove declaration.
222         * dwarfout.c (language_string): Likewise.
224         * toplev.c (language_string, init_parse, finish_parse): Likewise.
226         * tree.h (language_string, init_parse, finish_parse): Declare.
228         * i386/sun386.h (language_string): Remove declaration.
230         * mips.h (language_string): Likewise.
232         * nextstep.h (language_string): Likewise.
234         * nextstep21.h (language_string): Likewise.
236         * rs6000.c (language_string): Likewise.
238 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
240         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
241         (getpwd.o): Remove target.
243         * getpwd.c: Delete file.  Its in libiberty now.
245         * dbxout.c (getpwd): Don't prototype.
246         * dwarf2out.c (getpwd): Likewise
247         * dwarfout.c (getpwd): Likewise
248         * final.c (getpwd): Likewise.
249         * protoize.c (getpwd): Likewise.
251 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
253         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
255 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
257         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
258         mark_set_resources.
260 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
262         * fixinc/Makefile.in (subdir): New.
263         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
264         (Makefile): New.
266 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
268         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
269         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
270         be shared.
272         * invoke.texi: Fix typo.
274         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
275         changed.  Handle autoincrement addressing modes.
277         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
278         just like we would the virtual incoming args register when
279         integrating.
281 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
283         * rs6000.h (ASM_FILE_START): Specify complete filename, including
284         path, in .file directive.
286 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
288         * gcc.texi (External Bugs): Remove obsolete note about Perl on
289         SunOS.
291 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
293         * stdbool.h: Make the typedef name _Bool, with bool a #defined
294         alias.
296 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
298         * tree.c (tree_code_name): Constify a char*.
300         * tree.h (tree_code_name, decl_printable_name): Likewise.
302         * function.h (struct function): Likewise.
304         * toplev.c (decl_name, decl_printable_name): Likewise.
306         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
308         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
309         (init_objc): Remove function pointer cast.
311 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
313         * pa.md (interspace_jump): New pattern.
314         (builtin_longjmp): New expander.
316 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
318         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
319         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
320         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
322 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
324         * jump.c (delete_prior_computation): Also check calls
325         to constant functions.  Don't bother checking for a
326         REG_UNUSED note before adding it.
327         (delete_computation): Handle multi-word hard registers
328         when synthesizing missing REG_DEAD notes for a register
329         which is both set and used by an insn.
331 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
333         * loop.c (this_loop_info): New variable.
334         (loop_has_call, loop_has_volatile, loop_has_tablejump,
335         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
336         All uses updated.
337         (prescan_loop, strength_reduce): New argument loop_info.  All callers
338         updated.
339         (scan_loop): New variable loop_info, initialise to address of
340         this_loop_info.
341         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
342         Delete variable loop_has_multiple_exit targets and replace with
343         field in this_loop_info.
344         (find_and_verify_loops): Rename this_loop to this_loop_num.
345         (strength_reduce): Delete loop_iteration_info.  Replace variable
346         loop_info with function argument of same name.
347         (insert_bct): Rework test for loop being completely unrolled.
349         * loop.h (struct loop_info): New fields num, loops_enclosed,
350         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
351         has_indirect_jump, and cont.  Redefine use of unroll_number.
352         (loop_unroll_number): Delete.
354         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
355         field of loop_info.
356         (loop_iterations): Delete variable vtop and instead use
357         loop_info->vtop computed in prescan_loop.
359 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
361         * fix-header.c (main): Do not pass a null pointer to strcmp.
363 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
365         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
366         filenames.
367         * configure: Rebuilt.
369 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
371         * jump.c (jump_optimize_1): Do not delete assignments to
372         internal_arg_pointer.
373         * cse.c (delete_trivially_dead_insns): Always consider a set of
374         the internal_arg_pointer live.
376 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
378         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
379         (update_life_info) [REG_WAS_0]: Search the original insns rather
380         than the new insns for the note.  Fix typos finding note_dest.
381         If no dest found, discard the note rather than abort.
382         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
383         (replace_insns): Remove the old insn list after update_life_info
384         not before.
386 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
388         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
389         sched_analyze_insn.
390         (sched_analyze_1): Let add_dependence care for not adding dups.
391         (sched_analyze_2): Likewise.
392         (add_branch_dependences): Likewise.
394 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
396         * i386/winnt.c (export_list): New type.
397         (exports_head): Rename to
398         (export_head):  this.
399         (i386_pe_record_exported_symbol): Add is_data flag.
400         (i386_pe_asm_file_end): Emit directive for exported variables.
401         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
402         prototype.
403         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
404         (ASM_DECLARE_OBJECT_NAME): Likewise.
405         (ASM_DECLARE_FUNCTION_NAME): Likewise.
406         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
408 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
410         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
412         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
413         operand.
415 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
417         * config/openbsd.h: Define SET_ASM_OP.
418         * tm.texi: cross-reference SET_ASM_OP in the index.
420 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
422         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
423         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
424         and class_narrowest_mode at compile time.  Kill init_rtl.
425         Mark rtx_length, mode_class, mode_size, mode_unit_size,
426         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
427         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
428         EXTRA_CC_NAMES.
429         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
430         format.
431         * rtl.h: Declare rtx_length and rtx_format as const.
432         * machmode.def: Define CC().  Use CC() to define CCmode.  If
433         EXTRA_CC_MODES is defined, expand it here.
434         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
435         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
436         const.  Kill all references to EXTRA_CC_MODES.
438         * toplev.c: Don't prototype or call init_rtl.
439         * optabs.c: Don't call init_mov_optab.
440         * genemit.c: Don't generate init_mov_optab.  Don't call
441         init_rtl.
442         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
443         here.
444         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
445         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
446         genrecog.c: Don't call init_rtl.
448         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
449         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
450         definition of EXTRA_CC_MODES.
452         * md.texi: Kill ref to EXTRA_CC_NAMES.
453         * tm.texi: Document new way to define EXTRA_CC_MODES.
455         * genrecog.c: Do not look up the name of a define_split.
456         (Unrelated bugfix.)
458 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
460         * config/v850/v850.md: Fix typo introduced by previous delta.
462 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
464         * gcc.c (fatal): Make definition static to match prototype.
466 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
468         * combine.c (get_last_value): Don't look for earlier sets if the last
469         known set is somewhere in between the insns being combined.
471 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
473         * configure.in: Don't use shell ! to negate exit codes
474         * configure: Regenerate
476 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
478         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
479         the fact that ALIGN is measured in bits, not bytes.
481 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
483         * errors.c: New file; defines functions error, warning, and
484         fatal, variables have_error and progname.
485         * errors.h: New file; prototypes and decls for stuff in errors.c.
487         * Makefile: Add rules to build errors.o and
488         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
489         genopinit, genrecog, genextract, genpeep, genattr, and
490         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
491         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
492         genpeep.o, genattr.o, and genoutput.o.
494         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
495         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
496         define or prototype fatal.  Set progname at beginning of main.
497         * genoutput.c:  Likewise, and don't define or prototype error
498         either.
500         * c-typeck.c (c_expand_start_case): Return immediately if exp
501         is an ERROR_MARK.
502         * fold-const.c (operand_equal_p): Return immediately if arg1
503         or arg0 are ERROR_MARKs.
504         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
505         fields of type ERROR_MARK when calculating if the record can
506         go in a register.
508 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
509         with much help from Jeffrey A Law and Richard Henderson
511         * i386.md: In the 6 insns which call output_fix_trunc,
512         earlyclobber operands[0].
514 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
516         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
517         creating new registers.
519 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
521         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
522         i386_reg_alloc_order, i386_regparm_string,
523         i386_align_loops_string, i386_align_jumps_string,
524         i386_align_funcs_string, i386_preferred_stack_boundary_string,
525         and i386_branch_cost_string as type "const char *".
526         * i386.c: Define all above strings as type "const char *".
528 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
530         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
531         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
533 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
535         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
536         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
538 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
540         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
541         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
542         (dwarf2out_line, dwarf2out_finish): Likewise.
543         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
545 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
547         * tree.c (lang_unsave_expr_now) : Correct return type.
548         * tree.h (lang_unsave_expr_now) : Same.
550 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
552         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
553         instead of duplicating code.
555 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
557         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
559 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
561         * tree.h: fancy_abort always takes three args.
562         * resource.c: Move include of system.h before toplev.h.
564 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
566         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
567         as SYMBOL_REFs.
569 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
571         * system.h: Don't redefine abort or trim_filename.
572         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
573         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
574         whether or not __FUNCTION__ is available.
575         * tree.h: Duplicate rtl.h's definition of abort, for files
576         that don't include rtl.h.  Delete all code to perform type
577         checking with a compiler other than GCC.
578         * varray.h: Delete all code to perform type checking with a
579         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
580         its arguments exactly once, using a statement expression.
581         Adjust the VARRAY_<type> accessor macros to match.
582         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
583         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
584         caller's location.  Define fatal_insn and fatal_insn_not_found
585         as macros that use _fatal_insn and _fatal_insn_not_found.
586         (fancy_abort, trim_filename): Kill prototypes.
588         * rtl.c (trim_filename): Move here from toplev.c.
589         (fancy_abort): New function.
590         (DIR_SEPARATOR): Provide default definition.
591         * tree.c (tree_check_failed, tree_class_check_failed): Go
592         through fancy_abort.
593         (tree_check, tree_class_check, cst_or_constructor_check,
594         expr_check): Delete.
595         * varray.c (varray_check_failed): New function.
596         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
597         _fatal_insn and _fatal_insn_not_found.  Go through
598         fancy_abort.
599         (trim_filename, fancy_abort): Delete.
601         * builtins.c (expand_builtin_args_info): Report ICE with abort.
602         * except.c (start_catch_handler): Report ICE with error/abort
603         combo.
604         * final.c (output_operand_lossage): Likewise.
605         * flow.c (verify_flow_info): Likewise.
607         * gcc.c: Prototype fatal.
608         * gengenrtl.c: Undef abort after including rtl.h not system.h.
609         * genattr.c, genattrtab.c, genemit.c, genextract.c,
610         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
611         Don't define fancy_abort.
613 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
615         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
616         canonization.
618 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
620         * m88k.h (VERSION_INFO2): Kill.
621         (VERSION_STRING): Kill.
622         (TM_RCS_ID): Kill.
623         (VERSION_INFO1): Tidy.
624         (TARGET_VERSION): Update.
625         * m88k/dgux.h (VERSION_INFO2): Kill.
626         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
627         * m88k/luna.h (VERSION_INFO1): Tidy.
628         * m88k/sysv4.h (VERSION_INFO1): Likewise.
629         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
630         (output_file_start): Adjust for death of VERSION_STRING.
632 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
634         * cpplib.c (detect_if_not_defined): New function.
635         (do_if): Use it to detect potential once-only headers.
637 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
639         * c-common.c (combine_strings): Always set TREE_CONSTANT.
641 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
643         * combine.c (nonzero_bits) : Allow single-ly set registers to be
644         anywere in the function only if they are pseudos and set before
645         being used (not live at the start of the function).
646         (num_sign_bit_copies) : Same.
647         (get_last_value_validate) : Same.
648         (get_last_value) : Same.
650 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
652         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
653         where N and M are constant and N is an integer multiple of M.
655 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
657         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
658         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
659         sbitmap_union_of_preds): Add prototypes.
660         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
661         the intersection of successors with the new flow graph structures.
662         (sbitmap_intersection_of_preds): New function to compute the
663         intersection of predecessors with the new flow graph structures.
664         (sbitmap_union_of_succs): New function to compute the union of
665         successors with the new flow graph structures.
666         (sbitmap_union_of_preds): New function to compute the union of
667         predecessors with the new flow graph structures.
668         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
669         (expr_reaches_here_p): Use edge and basic_block structures instead
670         of s_preds and s_succs.
671         (compute_cprop_avinout): Use new sbitmap routines.
672         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
673         of s_preds and s_succs.
674         * flow.c (compute_flow_dominators): Compute dominators using
675         edges and basic blocks instead of s_preds and s_succs.
677 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
679         * lists.c (unused_insn_list, unused_expr_list): New file for
680         maintaining various types of lists. New statics for maintaining a
681         cache of available INSN_LIST and EXPR_LIST nodes.
682         (free_list): Static function for freeing a list of INSN/EXPR nodes.
683         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
684         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
685         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
686         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
687         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
688         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
689         (free_INSN_LIST_node): Free an individual INSN_LIST node.
690         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
691         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
692         (remove_dependence, free_pending_lists): Use new global routines.
693         (flush_pending_lists, sched_analyze_insn): Use new global routines.
694         (sched_analyze, compute_block_backward_dependences): Use new routines.
695         (sched_analyze_1, sched_analyze_2): Use new routines.
696         (schedule_insns): Use new global routines.
697         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
698         prototypes.
699         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
700         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
701         prototypes.
702         * toplev.c (rest_of_compilation): Initialize node cache.
703         * Makefile.in (OBJS): Add lists.o to list of object files.
704         (lists.o): Add dependancies.
706 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
708         * config/v850/v850.md: Fix compile time warning messages.
709         * config/v850/v850.c: Fix compile time warning messages.
710         * config/v850/v850.h: Fix compile time warning messages.
712 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
714         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
715         Remove unused prototype for `init_lengths'.
717 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
719         * calls.c (emit_call_1): Mark parameter `stack_size' with
720         ATTRIBUTE_UNUSED.
721         (expand_call): Initialize variable `insn'.
722         (emit_library_call): Likewise for variable `high_to_save'.
723         (emit_library_call_value): Likewise.
724         (store_one_arg): Likewise for variables `lower_bound' and
725         `upper_bound'.
727         * combine.c (try_combine): Likewise for variables `i2_code_number'
728         and `other_code_number'.
729         (find_split_point): Likewise for variables `pos', `unsignedp' and
730         `inner'.
731         (simplify_if_then_else): Likewise for variables `op' and `c1'.
732         (simplify_and_const_int): Remove unused variable `width'.
733         (merge_outer_ops): Likewise.
735         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
736         HOST_WIDE_INT' when comparing against one.
737         (simplify_relational_operation): Likewise.
738         (cse_insn): Initialize variables `src_eqv_volatile',
739         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
741         * final.c (init_final): Constify parameter `filename'.
742         (final_start_function): Mark parameter `optimize' with
743         ATTRIBUTE_UNUSED.
744         (profile_function): Likewise for parameters `first' and `optimize'.
745         (output_source_line): Likewise for parameter `file'.
747         * integrate.c (subst_constants): Cast a value to `size_t' when
748         comparing against one.
749         (mark_stores): Initialize variable `mode'.  Cast a value to
750         `size_t' when comparing against one.
752         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
754         * loop.c (move_movables): Initialize variable `first'.
755         (strength_reduce): Likewise for variable `increment'.
756         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
757         value to `size_t' when comparing against one.
758         (load_mems): Initialize variable `end_label'.
760         * output.h (init_final): Constify parameter.
762         * reload.c (decompose): Initialize variable `base'.
764         * reload1.c (reload): Likewise for variable `is_scalar'.
765         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
766         (choose_reload_regs): Initialize variable `mode'.
767         (emit_reload_insns): Likewise for variable `store_insn'.
768         (reload_cse_noop_set_p): Mark parameter `insn' with
769         ATTRIBUTE_UNUSED.
770         (reload_combine): Initialize variable `set'.
772         * unroll.c (unroll_loop): Likewise for variable `local_label'.
773         (copy_loop_body): Cast a value to `size_t' when comparing against
774         one.
776         * varasm.c (assemble_variable): Initialize variable `size_tree'.
777         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
778         (remove_from_pending_weak_list): Mark parameter `name' with
779         ATTRIBUTE_UNUSED.
781 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
783         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
784         gcse dump file.
786 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
788         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
789         (ASM_DECLARE_FUNCTION_NAME): Define.
790         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
791         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
792         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
793         not already defined.
795 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
797         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
798         of n_popped when call/call_value are not defined.
800 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
802         * tm.texi: GNU CC -> GCC conversion.
803         (CC1_SPEC): Indicate it is used for all language front ends.
805 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
807         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
808         NOTE_INSN_EH_REGION_END correctly.
810 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
811                           Jeff Law <law@cygnus.com>
813         * loop.c (strength_reduce): Automatically unroll loops if the
814         unrolled loop size is smaller than the rolled loop size.
816         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
817         and delete comment that code should be rewritten.
819 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
821         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
822         as reachable.
824         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
826 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
828         * fixinc/mkfixinc.sh: Don't fix uwin headers.
829         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
830         (LINK_SPEC): Add -u _main when building executables.
831         (ASM_DECLARE_FUNCTION): Update from Cygwin.
832         (ASM_FILE_END): Use the default for ix86-pe.
833         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
835 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
837         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
838         and ASM_CLOSE_PAREN are empty strings.
840 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
841                           Geoffrey Keating <geoffk@cygnus.com>
843         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
844         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
845         (unprotoize.o): Ditto.
846         (test-protoize-simple): Don't define STD_PROTO_DIR.
847         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
848         changes to make 'test-protoize-simple' pass.
849         (STD_PROTO_DIR): Remove define.
850         (STANDARD_EXEC_PREFIX): Supply default define.
851         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
852         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
853         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
854         (GET_ENV_PATH_LIST): New macro.
855         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
856         (do_processing): Initialize default_syscalls_dir using new
857         macros.  Use it to initialize syscalls_absolute_filename.
859 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
861         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
862         B into a register before emit_conditional_move.
864 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
866         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
867         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
868         multiplicand out of (+ (* a b) (* c d)).
870 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
871                           Richard Henderson  <rth@cygnus.com>
873         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
874         (new_insn_dead_notes): Likewise.
875         (update_n_sets): Likewise.
876         (update_flow_info): Move to flow.c, renamed to update_life_info;
877         extend to handle multiple source insns.
878         * flow.c: Include resource.h
879         (unlink_insn_chain): New.
880         (split_hard_reg_notes): New.
881         (maybe_add_dead_note): New.
882         (maybe_add_dead_note_use): New.
883         (find_insn_with_note): New.
884         (new_insn_dead_notes): New.
885         (update_n_sets): New.
886         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
887         (maybe_remove_dead_notes): New.
888         (update_life_info): New.
889         (prepend_reg_notes): New.
890         (replace_insns): New.
891         * output.h (update_life_info): Declare.
892         * recog.c (split_block_insns): Use update_life_info.
893         * resource.c (find_free_register): Use reg_alloc_order, don't use
894         fixed regs, make sure the mode is supported, don't use new regs.
895         (reg_dead_p): New.
896         * rtl.h (replace_insns): Declare.
898 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
900         * expr.c (expand_expr): Cope with COND_EXPRs with one
901         non-returning branch.
903 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
905         * expr.c (store_expr): Always pass down the target, even when not
906         doing CSE.
908 1999-08-24  Nick Clifton  <nickc@cygnus.com>
910         * configure.in: Define target_cpu_default for v850 targets.
911         * configure: Regenerate
913         * config/v850/v850.h (TARGET_CPU_generic): Define.
914         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
915         addresses are 4 byte aligned.
917         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
918         addresses.
920 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
922         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
923         (main): Add prototypes.
925         * genattrtab.c (substitute_address, write_const_num_delay_slots,
926         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
927         (write_attr_get): Emit prototypes along with function definition.
928         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
929         (write_complex_function): Emit static prototype along with
930         function definition.
932         * genemit.c (gen_split): Emit prototypes along with function
933         definition.
935         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
936         Likewise for predicates and `insn_operand_predicate'.
937         (process_template): Emit static prototype along with function
938         definition.
940         * genrecog.c (make_insn_sequence): Constify a char*.  Add
941         prototypes for get_split_*().
942         (write_subroutine): Emit prototypes along with function
943         definition.
945 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
947         * gcse.c (find_avail_set): Follow chains of register-register copies.
948         Use oprs_not_set_p to guarantee that the returned value can be
949         substituted.
950         (cprop_insn): Don't verify the return value of find_avail_set with
951         oprs_not_set_p.
953         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
954         (cprop_cc0_jump): New function.
955         (cprop_insn): Break out new function cprop_jump and use it.
956         Also use cprop_cc0_jump for machines with CC0.
957         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
959         * tree.h (current_function_calls_setjmp,
960         current_function_calls_longjmp): Delete declarations.
961         * dsp16xx.c: Include "function.h".
962         * elxsi.c: Likewise.
963         * gmicro.c: Likewise.
964         * h8300.c: Likewise.
965         * i370.c: Likewise.
966         * m32r.c: Likewise.
967         * mn10200.c: Likewise.
968         * mn10300.c: Likewise.
969         * ns32k.c: Likewise.
970         * spur.c: Likewise.
971         * v850.c: Likewise.
973         * rtl.h (rtx_equal_function_value_matters): Declare.
974         * toplev.c (rtx_equal_function_value_matters): Don't declare.
975         * cse.c: Likewise.
976         * function.c: Likewise.
977         * emit-rtl.c: Likewise.
979 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
981         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
982         call.
984 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
986         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
987         exactly.
989 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
991         * cpp.texi: Add a node documenting macro varargs (copied
992         from extend.texi).
994 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
996         * cppspec.c: Put a null pointer at the end of the new argv.
998 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
1000         * configure.in: Remove code to select/de-select the haifa
1001         scheduler.  Every scheduled port gets haifa now.
1002         * configure: Rebuilt.
1003         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
1004         * sched.c Deleted.
1005         * Makefile.in: Corresponding changes.
1007 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1009         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
1010         All callers changed.
1011         (prepare_float_lib_cmp): Likewise.
1012         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
1013         * expr.h (emit_float_lib_cmp): Delete declaration.
1014         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
1015         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
1016         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
1017         specially.
1018         (cmptf): Now conditional on TARGET_HARD_QUAD.
1020 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
1022         * resource.c (mark_target_live_regs): Use
1023         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
1025 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1027         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
1029         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
1031         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
1033 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1035         * rtl.h (rtx_format): Constify a char*.
1037         * rtl.c (rtx_format): Likewise.
1038         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
1039         (init_rtl): Use accessor macro, not `rtx_format'.
1041         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
1042         char*.
1044         * caller-save.c (mark_referenced_regs): Likewise.
1046         * combine.c (subst, make_compound_operation, known_cond,
1047         gen_rtx_combine, update_table_tick, get_last_value_validate,
1048         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
1050         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
1051         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
1052         count_reg_usage): Likewise.
1054         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
1055         Likewise.
1057         * final.c (leaf_renumber_regs_insn): Likewise.
1059         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
1060         dump_edge_info, count_reg_references): Likewise.
1062         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
1063         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
1064         Likewise.
1066         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
1067         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
1068         add_label_notes): Likewise.
1070         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
1071         clear_struct_flag, count_sub_rtxs, count_alternatives,
1072         compares_alternatives_p, contained_in_p, walk_attr_value,
1073         write_expr_attr_cache): Likewise.
1075         * genconfig.c (walk_insn_part): Likewise.
1077         * genemit.c (max_operand_1, gen_exp): Likewise.
1079         * genextract.c (walk_rtx): Likewise.
1081         * genflags.c (num_operands): Likewise.
1083         * genoutput.c (scan_operands): Likewise.
1085         * genpeep.c (match_rtx): Likewise.
1087         * genrecog.c (add_to_sequence): Likewise.
1089         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
1090         Likewise.
1092         * integrate.c (save_constants, copy_for_inline,
1093         copy_rtx_and_substitute, subst_constants, restore_constants):
1094         Likewise.
1096         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
1097         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
1099         * local-alloc.c (contains_replace_regs, memref_referenced_p):
1100         Likewise.
1102         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
1103         add_label_notes, replace_call_address, count_nonfixed_reads,
1104         invariant_p, find_single_use_in_loop, find_mem_givs,
1105         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
1106         Likewise.
1108         * print-rtl.c (reg_names, print_rtx): Likewise.
1110         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
1112         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
1113         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
1114         print_blocks): Likewise.
1116         * regclass.c (fix_register, record_address_regs,
1117         reg_scan_mark_refs): Likewise.
1119         * regmove.c (stable_but_for_p): Likewise.
1121         * reload.c (loc_mentioned_in_p, operands_match_p,
1122         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
1123         copy_replacements, refers_to_regno_for_reload_p,
1124         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
1125         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
1126         Likewise.
1128         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
1129         delete_address_reloads_1, count_occurrences,
1130         reload_cse_mem_conflict_p, reload_combine_note_use,
1131         add_auto_inc_notes): Likewise.
1133         * resource.c (mark_referenced_resources, mark_set_resources):
1134         Likewise.
1136         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
1137         reg_mentioned_p, regs_set_between_p, modified_between_p,
1138         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
1139         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
1140         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
1141         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
1143         * sched.c (sched_analyze_2, attach_deaths): Likewise.
1145         * stupid.c (stupid_mark_refs): Likewise.
1147         * unroll.c (remap_split_bivs): Likewise.
1149         * varasm.c (mark_constants): Likewise.
1151         * a29k/a29k.c (uses_local_reg_p): Likewise.
1153         * alpha/alpha.c (summarize_insn): Likewise.
1155         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
1156         eliminate_lr2ip): Likewise.
1158         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
1160         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
1161         reg_mentioned_in_mem): Likewise.
1163         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
1164         symbolic_reference_mentioned_p): Likewise.
1166         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
1168         * sh/sh.c (regs_used, mark_use): Likewise.
1170         * vax/vax.c (vax_rtx_cost): Likewise.
1172 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1174         * machmode.h (mode_name): Constify a char*.
1176         * rtl.c (mode_name): Likewise.
1178         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
1180         * optabs.c (init_libfuncs): Constify a char*.
1182         * print-tree.c (mode_name): Remove redundant declaration.
1183         (print_node): Use accessor macro, not `mode_name'.
1185         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
1186         not `mode_name'.
1187         (new_spill_reg): Constify a char*.
1189         * tree.c (mode_name): Remove redundant declaration.
1191 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1193         * rtl.c (rtx_name): Constify a char*.
1195         * rtl.h (rtx_name, fix_sched_param): Likewise.
1197         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
1198         (mypr): Use accessor macro, not `rtx_name'.
1200         * genemit.c (print_code): Constify a char*.
1202         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
1204         * genpeep.c (print_code): Constify a char*.
1206         * genrecog.c (print_code): Likewise.
1208         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
1209         end_bb): Add static prototype.
1210         (draw_edge): Constify a char*.
1211         (end_bb): Remove unused parameter.
1213         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
1214         print_block_visualization): Constify a char*.
1216 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
1218         * c-common.c (c_get_alias_set): Update comment.
1220 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1222         * linux.h (LIB_SPEC): Added.
1224 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1226         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
1228 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
1230         * tree.c (expr_check): Fix typo in last change.
1232 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
1234         * rtl.def (NOTE): Change format to "iuu0n".
1235         (ADDR_DIFF_VEC): Change format to "eEee0".
1236         (ADDRESSOF): Change format to "eit".
1238         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
1239         (RTVEC_ELT): Change to match.
1240         (XVECEXP): Use XVEC and RTVEC_ELT.
1241         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
1242         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
1243         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
1244         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
1245         TRAP_CONDITION, TRAP_CODE): Use XEXP.
1246         (INTVAL): Use XWINT.
1247         (ADDRESSOF_DECL): Use XTREE.
1248         (SET_ADDRESSOF_DECL): Delete.
1249         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
1250         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
1251         ifdefed out since 2.6 at least.
1252         (gen_rtvec_vv): Delete prototype.
1254         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
1255         not rtunion.
1256         (copy_most_rtx): Handle 't' format letter.
1257         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
1258         (gen_rtvec_vv): Delete function.  All callers changed to use
1259         gen_rtvec_v instead.
1260         * print-rtl.c (print_rtx): Move special casing of NOTEs to
1261         the '0' format letter.
1263         * function.c (gen_mem_addressof): Don't use
1264         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
1265         instead.
1266         * integrate.c (copy_rtx_and_substitute): Likewise.
1267         Copy 't' slots with XTREE.
1268         (subst_constants): Treat 't' slots like '[swi]' slots.
1269         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
1270         * jump.c (rtx_equal_for_thread_p): Likewise.
1271         * rtlanal.c (rtx_equal_p): Likewise.
1272         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
1273         only four arguments.
1274         * gengenrtl.c (type_from_format): Provide correct types for
1275         'b' and 't' slots.
1278         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
1279         If a recent gcc is in use (always in stage2 and beyond), use
1280         statement expressions, so we don't make a function call unless
1281         the check fails.  Evaluate arguments exactly once.
1282         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
1283         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
1284         Delete.
1285         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
1286         they evaluate their arguments exactly once, irrespective of
1287         the compiler in use.
1289         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
1290         is used by the currently-enabled check macros.  This is:
1291         (tree_check_failed, tree_class_check_failed): For gcc.
1292         (tree_check, tree_class_check, cst_or_constructor_check,
1293         expr_check): For other compilers.
1295         * gencheck.c: Do not define any *_CHECK1 macros.
1297 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
1298                           Mark Mitchell <mark@codesourcery.com>
1300         * c-common.c (c_get_alias_set): Fix support for poitners and
1301         references.
1303 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
1305         * alias.c: Include tree.h.
1306         (nonlocal_reference_p, mark_constant_function): New functions.
1307         * flow.c (life_analysis): Call mark_constant_function.
1308         * rtl.h (mark_constant_function): Declare it.
1310 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
1312         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
1313         unrecognisable switches.
1315 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1317         * loop.c (recombine_givs): Set ix field after sorting.
1318         (recombine_givs): Remove bogus index / giv lockstep looping.
1320 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1322         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
1323         on CODE.
1324         (emit_store_flag_force): Use do_compare_rtx_and_jump.
1325         (do_cmp_and_jump): Formatting fixes.
1326         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
1327         do_compare_rtx_and_jump instead of compare_from_rtx.
1328         (do_compare_rtx_and_jump): New function; mostly copied from
1329         compare_from_rtx.
1330         (do_jump_for_compare): Delete.
1331         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
1332         MIN_EXPR.
1333         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
1334         of compare/do_jump_for_compare pairs.
1335         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
1336         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
1337         compare_from_rtx/do_jump_for_compare pairs.
1338         (do_jump_by_parts_equality): Likewise.
1339         (do_jump_by_parts_equality_rtx): Likewise.
1340         * expr.h (do_compare_rtx_and_jump): Declare.
1341         * optabs.c (prepare_cmp_insn): New function, contains most of the code
1342         that used to be in emit_cmp_insn.
1343         (cmp_available_p): New function.
1344         (prepare_operand): New function.
1345         (emit_cmp_and_jump_insn_1): New function, contains some code that used
1346         to be in emit_cmp_insn.
1347         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
1348         parameters to be pointers; don't emit final compare but modify some of
1349         the values pointed to by the args so the caller can perform the
1350         correct comparison.
1351         (expand_binop): Call emit_store_flag_force with signed forms of
1352         comparison code.
1353         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
1354         emit_jump_insn pair.
1355         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
1356         emit_cmp_and_jump_insn_1.  Call emit_queue.
1357         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
1358         arg.
1359         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
1360         jump sets cc0 before deleting it.
1361         * integrate.c (expand_inline_function): Likewise.
1362         * unroll.c (unroll_loop): Similar changes in several places.
1363         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
1364         before deleting it.
1366 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1368         * Makefile.in (insn-recog.o): Update dependencies.
1369         * genrecog.c (main): Make generated file include "function.h".
1371 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
1373         * cse.c (cse_insn): Call never_reached_warning when a jump is
1374         changed to be unconditional.
1375         * flags.h: Declare warn_notreached.
1376         * flow.c (delete_block): Call never_reached_warning when
1377         a block is deleted.
1378         * jump.c (delete_barrier_successors): Call never_reached_warning
1379         when we delete everything after a BARRIER.
1380         (never_reached_warning): New function.
1381         * rtl.h: Declare never_reached_warning.
1382         * toplev.c (warn_notreached): New variable.
1383         (lang_independent_options): Set warn_notreached
1384         when -Wunreachable-code.
1385         (compile_file): We need line numbers for -Wunreachable-code.
1387 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
1389         * haifa-sched.c (insn_unit): Fix typo on out of range test.
1390         * sched.c (insn_unit): Likewise.
1392 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
1394         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
1396 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1398         * flow.c (create_edge_list): Use xmalloc, not malloc.
1400 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
1402         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
1403         C-style comments.  Do not lose the character before double slash.
1405 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1407         * basic-block.h (struct edge_list): Stucture to maintain a vector
1408         of edges.
1409         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
1410          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
1411         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
1412         New function prototypes.
1413         * flow.c (create_edge_list): Function to create an edge list.
1414         (free_edge_list): Discards memory used by an edge list.
1415         (print_edge_list): Debug output showing an edge list.
1416         (verify_edge_list): Internal consistency check for an edge list.
1417         (find_edge_index): Function to find an edge index for a pred and succ.
1419 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
1421         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
1422         hashtable.
1424 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
1426         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
1428 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1430         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1432 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
1434         * toplev.c (rest_of_compilation): Allow machine dependent
1435         reorganisation pass to place information into the RTL dump
1436         file if it so wishes.
1438 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
1440         * explow.c (hard_function_value): Use VOIDmode instead of
1441         MAX_MACHINE_MODE.
1442         * stmt.c (expand_return): Likewise.
1443         * stor-layout.c (get_best_mode): Likewise.
1445         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
1446         emit call instead of emit_insn call.
1448 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1450         * configure.in: Handle --disable/enable-win32-registry.
1451         * install.texi: Document --disable/enable-win32-registry.
1452         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
1453         (WIN32_REGISTRY_KEY): New macro.
1454         * prefix.c: Use to enable/disable win32-specific code.
1455         (lookup_key): Use versioned key.
1456         * configure: Regenerate.
1457         * config.in: Likewise.
1459 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
1461         * cpplib.c (read_line_number): New fn, split out of...
1462         (do_line): Here.
1464 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1466         tree.c (lang_unsave_expr_now) : New.
1467         (unsave_expr_now): Call lang_unsave_expr_now.
1468         tree.h (lang_unsave_expr_now) : New.
1470 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
1472         * toplev.c (flag_new_exceptions): On by default.
1474 1999-08-13  Michael Meissner  <meissner@cygnus.com>
1476         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
1478 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
1480         * dwarfout.c (fundamental_type_code): Return FT_boolean for
1481         INTEGER_TYPE with precision==1, it's __java_boolean.
1483 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1485         * global.c (prune_preferences): Move some invariants out of the
1486         inner loop.
1488 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
1490         * configure.in (alpha*-dec-osf*): Add osf5.
1492 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
1494         * configure.in: Rework handling of ARM GNU/Linux slightly.
1495         (arm*-*-linux-gnuoldld): New target.
1496         * configure: Regenerate.
1497         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
1498         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
1499         * config/arm/linux-oldld.h: New file.
1500         * config/arm/linux-elf26.h: Don't include linux-elf.h.
1501         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
1502         Don't define.
1503         * config/arm/linux-elf.h (ASM_SPEC): Define.
1504         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
1505         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
1506         for 26-bit APCS and old linker.
1507         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
1508         `arm_elf'.
1509         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
1510         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
1511         don't define `arm' or `arm_elf'.
1512         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
1513         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
1515 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
1517         * rtl.texi: Fix typo.
1519 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
1521         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
1523 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
1525         * extend.texi (C++ Signatures): Remove node.
1526         * invoke.texi: Remove discussion of -fhandle-signatures,
1527         signature, sigof, __signature__, and __sigof__.
1529 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
1531         * Makefile.in (JAVAGC): Removed.
1533 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1535         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
1537 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
1539         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
1541 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
1543         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
1544         a register that is already known to be a pointer.
1546 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
1548         * fixinc/inclhack.tpl: Only install assert.h conditionally.
1549         * fixinc/inclhack.sh: Regenerated.
1550         * fixinc/fixincl.sh: Regenerated.
1552 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
1554         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
1555         Fix documentation of -ansi flag to describe its C++ behavior.
1556         Remove bogus reference to GCC 2.9.
1558 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
1560         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
1561         note if it is non-NULL.
1563 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1565         * except.h (eh_nesting_info): Add new structure defintion.
1566         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
1567         (reachable_handlers, update_rethrow_references): Add function
1568         prototypes.
1569         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
1570         a rethrow symbol instead of an integer exception region number.
1571         * flow.c (Make_edges): Use new exception nesting routines to determine
1572         which handlers are reachable from a CALL or asynchronous insn.
1573         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
1574         goto receivers.
1575         (delete_eh_regions): Update rethrow labels, and don't delete
1576         regions which are the target of a rethrow.
1577         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
1578         avoid overloading the SYMBOL_REF_USED flag.
1579         (rethrow_symbol_map): Use new rethrow_ref field.
1580         (rethrow_used): Use new rethrow_ref field.
1581         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
1582         of an integer.  Fix formatting.
1583         (output_exception_table_entry): Use new rethrow_ref field.
1584         (can_throw): Check for EH_REGION_NOTE before deciding
1585         whether a CALL can throw or not.
1586         (scan_region): Call rethrow_used() instead of accessing data structure.
1587         (update_rethrow_references): New function to make sure only regions
1588         which are still targets of a rethrow are flagged as such.
1589         (process_nestinfo): New static function to initialize a handler
1590         list for a specific region.
1591         (init_eh_nesting_info): New function to allocate and initialize
1592         the list of all EH handlers reachable from all regions.
1593         (reachable_handlers): New function to retrieve the list of handlers
1594         reachable from a specific region and insn.
1595         (free_eh_nesting_info): New function to dispose of a list of
1596         reachable handlers.
1598 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
1600         * flow.c (split_edge): Set JUMP_LABEL field.
1601         (commit_one_edge_insertion): Set head correctly for insert_before.
1602         When inserting insns, update insn block numbers if allocated.
1604 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1606         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
1607         retry_incomplete_types): Add static prototype.
1608         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
1609         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
1610         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
1611         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
1612         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
1613         Constify a char*.
1615         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
1616         dwarf2out_start_source_file, dwarf2out_line): Likewise.
1618 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1620         * output.h (assemble_name): Constify a char*.
1622         * varasm.c (UNIQUE_SECTION, assemble_start_function,
1623         assemble_variable, assemble_name): Likewise.
1625         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
1627         * arm/pe.c (arm_pe_unique_section): Likewise.
1629         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
1631         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
1633         * i386/interix.c (i386_pe_unique_section): Likewise.
1635         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
1637         * i386/winnt.c (i386_pe_unique_section): Likewise.
1639         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
1641         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
1643         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
1645         * pa/pa.c (output_call): Likewise.
1647         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
1649         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
1651         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
1652         Likewise.
1654         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
1655         Likewise.
1657         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1659         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
1660         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
1662         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
1664 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1666         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
1668 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1670         * tree.h (lang_identify): Constify a char*.
1671         (print_error_function): Add extern prototype.  Constify a char*.
1673         * c-lang.c (lang_identify): Constify a char*.
1675         * objc/objc-act.c (lang_identify): Constify a char*.
1677 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1679         * genpeep.c (main): Make generated file include "function.h".
1680         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
1682 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
1684         * Makefile.in: Update dependencies.
1685         * alias.c: Include "function.h"
1686         * c-decl.c: Likewise.
1687         * caller-save.c: Likewise.
1688         * calls.c: Likewise.
1689         * combine.c: Likewise.
1690         * cse.c: Likewise.
1691         * explow.c: Likewise.
1692         * final.c: Likewise.
1693         * global.c: Likewise.
1694         * graph.c: Likewise.
1695         * local-alloc.c: Likewise.
1696         * loop.c: Likewise.
1697         * optabs.c: Likewise.
1698         * profile.c: Likewise.
1699         * recog.c: Likewise.
1700         * regclass.c: Likewise.
1701         * regmove.c: Likewise.
1702         * reload.c: Likewise.
1703         * reorg.c: Likewise.
1704         * resource.c: Likewise.
1705         * sched.c: Likewise.
1706         * stupid.c: Likewise.
1707         * config/1750a/1750a.c: Likewise.
1708         * config/a29k/a29k.c: Likewise.
1709         * config/arc/arc.c: Likewise.
1710         * config/arm/arm.c: Likewise.
1711         * config/arm/thumb.c: Likewise.
1712         * config/c4x/c4x.c: Likewise.
1713         * config/clipper/clipper.c: Likewise.
1714         * config/convex/convex.c: Likewise.
1715         * config/fx80/fx80.c: Likewise.
1716         * config/i860/i860.c: Likewise.
1717         * config/m68k/m68k.c: Likewise.
1718         * config/m88k/m88k.c: Likewise.
1719         * config/mips/mips.c: Likewise.
1720         * config/pdp11/pdp11.c: Likewise.
1721         * config/pyr/pyr.c: Likewise.
1722         * config/romp/romp.c: Likewise.
1723         * config/sh/sh.c: Likewise.
1724         * config/tahoe/tahoe.c: Likewise.
1725         * config/vax/vax.c: Likewise.
1726         * config/we32k/we32k.c: Likewise.
1727         * config/sparc/sparc.c: Include "function.h".
1728         (mem_min_alignment): Test current_function rather than
1729         regno_pointer_align.
1730         * config/pa/pa.c: Likewise.
1731         (compute_frame_size): Delete declaration of
1732         current_function_outgoing_args_size.
1733         * config/arc/arc.h (current_function_varargs): Delete declaration.
1734         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
1735         declaration.
1736         * config/i370/i370.h (current_function_outgoing_args_size): Delete
1737         declaration.
1738         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
1739         current_function_uses_pic_offset_table.
1740         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
1741         of current_function_returns_pointer.
1742         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1743         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1744         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1745         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1746         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1747         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1748         * config/m88k/m88k.c: Include "function.h"
1749         (call_used_regs, current_function_pretend_args_size,
1750         current_function_outgoing_args_size, frame_pointer_needed): Delete
1751         declarations.
1752         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
1753         declaration.
1754         * config/mips/mips.h (current_function_calls_alloca): Delete
1755         declaration.
1756         * config/mn10200/mn10200.h (current_function_needs_context,
1757         rtx_equal_function_value_matters): Delete declarations.
1758         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
1759         flag_pic): Delete declarations.
1760         * config/pa/pa.h (current_function_pretend_args_size,
1761         current_function_decl): Delete declarations.
1762         * config/pa/som.h (current_function_varargs): Delete declaration.
1763         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
1764         declaration.
1765         * config/pyr/pyr.h (current_function_pretend_args_size,
1766         current_function_args_size, current_function_calls_alloca): Delete
1767         declarations.
1768         * config/sh/sh.h (current_function_varargs): Delete declaration.
1769         * config/sparc/sparc.h (current_function_outgoing_args_size,
1770         current_function_calls_alloca, current_function_decl): Delete
1771         declarations.
1772         * config/spur/spur.h (current_function_pretend_args_size,
1773         current_function_calls_alloca): Delete declarations.
1774         * config/v850/v850.c (current_function_outgoing_args_size): Delete
1775         declaration.
1776         * config/vax/vms.h (current_function_name): Delete declaration.
1777         * gcse.c: Include "function.h".
1778         (current_function_name, current_function_calls_setjmp): Delete
1779         declarations.
1780         * haifa-sched.c: Include "function.h".
1781         (forced_labels): Delete declaration.
1782         * jump.c: Likewise.
1783         * reg-stack.c: Likewise.
1784         * reload1.c: Likewise.
1785         * genemit.c (main): Make generated file include function.h.
1786         * genoutput.c (output_prologue): Likewise.
1788         * builtins.c (saveregs_value, apply_args_value): Delete variables.
1789         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
1790         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
1791         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
1792         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
1793         macros for some of them.
1794         (emit_filename, emit_lineno): Delete declarations.
1795         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
1796         regno_pointer_* variables through current_function.
1797         (gen_inline_header_rtx): Delete function.
1798         (save_emit_status): Delete function.
1799         (set_new_last_label_num): New function.
1800         (clear_emit_caches): New function.
1801         (restore_emit_status): Just clear last_labelnum and call
1802         clear_emit_caches.
1803         (get_last_insn_anywhere): Variable sequence_stack is now accessed
1804         through macro seq_stack.
1805         (add_insn_after): Likewise.
1806         (add_insn_before): Likewise.
1807         (remove_insn): Likewise.
1808         (pop_topmost_sequence): Likewise.
1809         (in_sequence_p): Likewise.
1810         (start_sequence_for_rtl_expr): Likewise.
1811         (start_sequence): Likewise, and likewise for
1812         sequence_rtl_expr/seq_rtl_expr.
1813         (push_topmost_sequence): Likewise.
1814         (end_sequence): Likewise.
1815         (init_virtual_regs): Now takes a "struct emit_status *" argument.
1816         All callers changed.  Store into that pointer instead of globals.
1817         (init_emit): Allocate emit elt of current_function.
1818         Changes for sequence_rtl_expr/sequence_stack renaming.
1819         Call clear_emit_caches instead of doing it in-line.
1820         Access regno_pointer_* variables through current_function.
1821         (init_emit_once) Don't clear sequence_stack.
1823         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
1824         Delete variables.
1825         (arg_pointer_save_area): Delete declaration.
1826         (finish_expr_for_function): Renamed from init_queue; no longer static.
1827         (init_expr): Don't call init_queue.
1828         (save_expr_status, restore_expr_status): Delete functions.
1829         (expand_expr): Changes to reflect new layout of struct function.
1830         Don't access current_function_check_memory_usage when current_function
1831         is 0.
1832         * expr.h (forced_labels, save_expr_regs, saveregs_value,
1833         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
1834         current_function_outgoing_args_size, current_function_arg_offset_rtx,
1835         current_function_uses_const_pool, function_call_count,
1836         current_function_uses_pic_offset_table, nonlocal_labels,
1837         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
1838         current_function_check_memory_usage, nonlocal_goto_handler_slots,
1839         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
1840         declarations.
1841         (finish_expr_for_function): Declare.
1842         * flags.h (current_function_has_nonlocal_label,
1843         current_function_has_nonlocal_goto, current_function_is_thunk,
1844         current_function_has_computed_jump): Delete declarations.
1845         * flow.c (forced_labels): Delete declaration.
1846         * function.c (current_function_pops_args,
1847         current_function_returns_struct, current_function_returns_pcc_struct,
1848         current_function_needs_context, current_function_calls_setjmp,
1849         current_function_calls_longjmp, current_function_has_nonlocal_label,
1850         current_function_has_nonlocal_goto, current_function_is_thunk,
1851         current_function_has_computed_jump, current_function_calls_alloca,
1852         current_function_contains_functions, current_function_returns_pointer,
1853         current_function_epilogue_delay_list, current_function_args_size,
1854         current_function_pretend_args_size, current_function_arg_offset_rtx,
1855         current_function_outgoing_args_size, current_function_varargs,
1856         current_function_stdarg, current_function_args_info, cleanup_label,
1857         current_function_name, current_function_uses_const_pool,
1858         current_function_instrument_entry_exit, current_function_return_rtx,
1859         current_function_uses_pic_offset_table, nonlocal_labels,
1860         current_function_internal_arg_pointer, current_function_cannot_inline,
1861         current_function_check_memory_usage, function_call_count,
1862         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
1863         nonlocal_goto_stack_level, return_label, save_expr_regs,
1864         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
1865         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
1866         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
1867         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
1868         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
1869         Delete variables.
1870         (push_function_context_to): Don't save them.  Don't call
1871         save_storage_status, save_emit_status or save_expr_status.
1872         (pop_function_context_from): Don't restore them.  Don't call
1873         restore_storage_status or restore_expr_status.
1874         (get_func_frame_size): New function.
1875         (get_frame_size): Use it.
1876         (assign_outer_stack_local): Reflect some member name changes in struct
1877         function.
1878         (put_reg_into_stack): Likewise.
1879         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
1880         seq_rtl_expr.
1881         (fixup_var_refs): Likewise.
1882         (fix_lexical_addr): Likewise.
1883         (trampoline_address): Likewise.
1884         (prepare_function_start): Clear field inlinable of current_function.
1885         (init_function_for_compilation): New function.
1886         (expand_dummy_function_end): New function.
1887         (expand_function_end): Call finish_expr_for_function.
1888         * function.h (struct emit_status): New; fields moved here from struct
1889         function and from global variables.  Add accessor macros for some of
1890         the fields.
1891         (struct expr_status): Likewise.
1892         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
1893         (struct function): Add fields expr and emit, inlinable, inl_emit,
1894         original_arg_vector, original_decl_initial, inl_last_parm_insn,
1895         inl_max_label_num.  Add many comments.
1896         Add accessor macros for all elts of struct function that no longer
1897         have a global variable.
1898         (cleanup_label, return_label, frame_offset, tail_recursion_label,
1899         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
1900         stack_slot_list): Delete declarations.
1901         (get_func_frame_size): Declare.
1902         (save_expr_status, restore_expr_status, save_emit_status,
1903         save_storage_status, restore_storage_status): Delete declarations.
1904         (init_virtual_regs): Declare.
1905         * output.h (current_function_pops_args,
1906         current_function_returns_struct, current_function_returns_pcc_struct,
1907         current_function_needs_context, current_function_calls_setjmp,
1908         current_function_calls_longjmp, current_function_calls_alloca,
1909         current_function_has_nonlocal_label, current_function_varargs,
1910         current_function_has_computed_jump, current_function_returns_pointer,
1911         current_function_contains_functions, current_function_args_size,
1912         current_function_pretend_args_size, current_function_stdarg,
1913         current_function_outgoing_args_size, current_function_args_info,
1914         current_function_name, current_function_return_rtx,
1915         current_function_epilogue_delay_list,
1916         current_function_uses_const_pool, current_function_cannot_inline):
1917         Delete declarations.
1918         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
1919         regno_reg_rtx): Delete declaration.
1920         (REGNO_POINTER_FLAG): Delete macro.
1921         * stmt.c (expand_goto): Changes to reflect that some fields in struct
1922         function were renamed.
1923         * stor-layout.c (save_storage_status, restore_storage_status): Delete
1924         functions.
1925         * toplev.c: Include "function.h".
1926         (current_function_decl): Delete declaration.
1927         (compile_file): Call init_dummy_function_start and
1928         expand_dummy_function_end around some initializations that need to
1929         emit rtl.
1930         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
1931         Call init_function_for_compilation.
1932         * unroll.c: Include "function.h"
1933         (unroll_loop): Access regno_pointer_* variables through
1934         current_function.
1936         * tree.h (struct tree_decl): Add elt f to saved_insns member.
1937         (DECL_SAVED_INSNS): use it.
1938         (expand_dummy_function_end): Declare.
1939         (init_function_for_compilation): Declare.
1940         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
1941         that it's no longer an INLINE_HEADER.
1942         (expand_call): Likewise.
1943         * integrate.c (finish_inline): Delete function.
1944         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
1945         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
1946         args.  Don't generate an INLINE_HEADER rtx, just return the arg
1947         vector.  All callers changed.
1948         (save_for_inline_copying):  Create a duplicate struct emit_status to
1949         hold the emit state for compiling the current function.  Use this and
1950         the other new fields in struct function that are for integration
1951         instead of an INLINE_HEADER.
1952         Use memcpy instead of bcopy.
1953         Store the current struct function in DECL_SAVED_INSNS of fndecl.
1954         (save_for_inline_nocopy): Similar changes, except no new emit_status
1955         is needed here.
1956         (expand_inline_function): Get information from function structure,
1957         not from an inline header rtx.
1958         (output_inline_function): Lose code to extract the necessary
1959         information from an inline header; simply put back the function
1960         structure into current_function.  Clear its inlinable elt.
1961         * rtl.def (INLINE_HEADER): Delete.
1962         * rtl.h: Delete all accessors for an INLINE_HEADER.
1963         (gen_inline_header_rtx): Delete declaration.
1964         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
1965         Delete declarations.
1966         (REGNO_POINTER_ALIGN): Delete.
1967         (clear_emit_caches): Declare.
1968         (set_new_last_label_num): Declare.
1970 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
1972         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
1974         * except.c (expand_eh_region_start_for_decl): Always start a new block.
1975         * stmt.c (is_eh_region): Make sure current_function is present, too.
1977 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
1979         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
1980         for 64bit PA targets.
1982         * pa.h (SELECT_SECTION): Define.
1983         * som.h (SELECT_SECTION): Delete.
1985 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1987         * alias.c (init_alias_analysis): Wrap call to
1988         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
1990 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
1992         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
1993         <sys/asm.h> contains an asm comment with an apostrophe
1994         * fixinc/inclhack.sh:  regen
1995         * fixinc/fixincl.x:  regen
1997 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
1999         * function.c (init_function_start): Clear prologue & epilogue.
2000         (prologue_epilogue_contains): New function.
2001         * alias.c (init_alias_analysis): Use it.
2002         * rtl.h (prologue_epilogue_contains): Declare it.
2004 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
2006         * jump.c (onlyjump_p): New function.
2007         * rtl.h: Declare it.
2008         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
2009         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
2011 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
2013         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
2014         to invert loops.  Simplify block scanning.
2016 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
2018         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
2019         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
2021 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
2023         * config/sparc/liteelf.h: New file to support sparclite-elf target
2024         * config/sparc/t-sp86x: New file to support sparc86x targets
2025         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
2026         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
2027         * configure.in: Support above target triplets
2028         * configure: Regenerated
2030 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
2032         * fixinc/server.c (server_setup): Do not prefix function used as
2033         parameter with `&'.
2035 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
2037         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
2038         Remove fp reg alternatives.
2040 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
2042         * Makefile.in (TAROUTOPTS): Kill.
2043         (install-headers-tar): Use "xpf" for tar headerfile extraction
2044         * i370/x-oe (TAROUTOPTS): Delete.
2045         * m68k/x-apollo68 (TAROUTOPTS): Delete.
2046         * m68k/x-hp320 (TAROUTOPTS): Delete.
2047         * m68k/x-hp320g (TAROUTOPTS): Delete.
2048         * gcc.texi: Update bug reporting text.
2050 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2052         * reg-stack.c (change_stack) Fixed problem with negative array index.
2054 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
2056         * extend.texi, install.texi: Fix spelling mistakes.
2058         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
2059         (s-attrtab); No longer try to use pre-made insn-attrtab file.
2060         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
2061         PREMADE_ATTRTAB_MD.
2062         * mips/t-ecoff: Likewise.
2063         * mips/t-elf: Likewise.
2064         * mips/t-mips: Likewise.
2065         * mips/t-osfrose: Likewise.
2066         * mips/t-r3900: Likewise.
2067         * mips/t-svr3: Likewise.
2068         * mips/t-svr4: Likewise.
2069         * mips/t-ultrix: Likewise.
2071         * gcc.texi: Document recommend means to provide software floating
2072         point libraries in libgcc.a
2074 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
2076         * c-lex.c (yylex): We can have a number with no digits.
2078 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
2080         * jump.c (delete_prior_computation): New function, broken
2081         out of delete_computation.  Check for side effects with
2082         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
2083         multi-word hard registers.
2084         (delete_computation): Use it.  Check for side effects with
2085         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
2086         missing REG_DEAD note for a register which is both set and
2087         used by an insn.
2089 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
2091         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
2092         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
2093         (ASM_FILE_START): Import _mcount with the right type.
2094         (ASM_DECLARE_FUNCTION_NAME): Define.
2095         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
2096         * pa.c (output_function_prologue): Always emit the function's label
2097         here.
2098         * pa.h (TEXT_SPACE_P): Define.
2099         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
2100         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
2101         * som.h (TEXT_SPACE_P): Delete.
2102         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
2103         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
2105 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
2107         * expr.c (emit_group_load): Allow src to be a CONCAT.
2109 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2111         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
2112         (___mulsi3): Use '!' comment character.
2114 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2116         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
2118 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
2120         * gcc.c: Update URLs and mail addresses.
2121         * gcc.texi: Likewise.
2123 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
2125         * rs6000.c (current_file_function_operand): Return zero for
2126         weak functions.
2127         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
2128         weak symbols.
2129         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
2130         for weak symbols.
2132 Thu Aug  5 00:56:30 1999  Geoffrey Keating   <geoffk@cygnus.com>
2134         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
2135         allocate space in the stack frame for the PIC register.
2137 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
2139         * m68k.md (xordi3, anddi3): These patterns are not available on
2140         the coldfire.
2142 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
2144         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
2145         (PUT_REAL): Likewise.
2147 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2149         * final.c (shorten_branches): Don't add an alignment for loops
2150         that have no label inside.
2152 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2154         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
2155         prototypes in macro HAVE_cmpstrsi.
2157         * cpplib.c (cpp_get_token): Remove unused label `op3'.
2159         * emit-rtl.c (operand_subword): Remove unused variable
2160         `bits_per_word'.
2162         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
2164         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
2166 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
2168         * cpphash.c (macroexpand): Delete leading whitespace when arg
2169         is concatenated before.
2170         (unsafe_chars): Correct test for whether + and - can extend a
2171         token.
2173         * cppinit.c (cpp_start_read): Do dependencies for
2174         -include/-imacros files also.
2176         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
2177         tokenizing non-directive lines.
2178         (cpp_expand_to_buffer): Temporarily disable no-output mode.
2179         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
2180         the input file.
2182 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
2184         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
2186         * c-lex.c: Sync with C++ frontend.
2187         (linemode): New variable.
2188         (parse_float): imag, conversion_errno, and type are output only.
2189         (yylex): Adjust.  Move initial '.' case into main switch.
2190         Use linemode.
2191         (handle_generic_pragma): Just deal with tokens.
2192         (readescape): Use ISXDIGIT and ISGRAPH.
2193         * c-parse.in: Add END_OF_LINE token.
2195         * c-lex.c (lang_init): Generalize.
2196         (nextchar): Remove.  Replace uses with UNGETC.
2197         (skip_white_space): Handle linemode here.  Optimize for cpplib.
2198         (skip_white_space_on_line): Remove.
2199         (extend_token_buffer_to): New fn.
2200         (extend_token_buffer): Use it.
2201         (read_line_number, check_newline): Just deal with tokens.
2202         (token_getch, token_put_back): New fns.
2203         (yylex): Use them.  More cpplib optimizations.  Simplify.
2205 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
2206                           Jason Merrill  <jason@yorick.cygnus.com>
2208         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
2209         (consume_string): Make this smart about USE_CPPLIB.
2210         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
2211         (yylex): Rewrite to be intelligent about USE_CPPLIB.
2212         Also, clean up cases where we redundantly set token_buffer[0].
2213         (read_line_number): New fn.
2214         (ignore_escape_flag): New variable.
2216 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
2218         * a29k/t-a29kbare: Fix some comments.
2219         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
2220         (FPBIT, DPBIT): Define.
2221         * a29k/t-vx29k: Likewise.
2222         * arc/t-arc: Likewise.
2223         * arm/t-arm-elf: Likewise.
2224         * arm/t-bare: Likewise.
2225         * arm/t-pe: Likewise.
2226         * arm/t-pe-thumb: Likewise.
2227         * arm/t-semi: Likewise.
2228         * arm/t-thumb: Likewise.
2229         * arm/t-thumb-elf: Likewise.
2230         * arm/t-thumb-linux: Likewise.
2231         * h8300/t-h8300: Likewise.
2232         * i960/t-i960: Likewise.
2233         * i960/t-vxworks960: Likewise.
2234         * m32r/t-m32r: Likewise.
2235         * mips/t-ecoff: Likewise.
2236         * mips/t-elf: Likewise.
2237         * mips/t-r3900: Likewise.
2238         * pa/t-pro: Likewise.
2239         * rs6000/t-aix43: Likewise.
2240         * rs6000/t-beos: Likewise.
2241         * rs6000/t-newas: Likewise.
2242         * rs6000/t-ppccomm: Likewise.
2243         * rs6000/t-rs6000: Likewise.
2244         * rs6000/t-winnt: Likewise.
2245         * rs6000/t-xnewas: Likewise.
2246         * rs6000/t-xrs6000: Likewise.
2247         * sh/t-sh: Likewise.
2248         * sparc/t-elf: Likewise.
2249         * sparc/t-sparcbare: Likewise.
2250         * sparc/t-sparclite: Likewise.
2251         * sparc/t-splet: Likewise.
2252         * v850/t-v850: Likewise.
2253         * mn10200/t-mn10200: Fix comments.
2254         * mn10300/t-mn10300: Likewise.
2256         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
2257         dummy operand.  Allocate a new pseudo for the dummy operand.
2258         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
2260         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
2262 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
2264         * configure: Rebuilt.
2265         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
2267 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
2269         * recog.c (preproces_constraints): Zero recog_op_alt before
2270         processing the constraints.
2272         * arm.c (typedef minipool_node): Renamed from pool_node.
2273         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
2274         (add_minipool_constant): New function.
2275         (dump_minipool): New function.
2276         (find_barrier): Remove special case for getting the insn size of
2277         an insn that references the constant pool.
2278         (minipool_fixup): New structure.
2279         (push_minipool_barrier): New function.
2280         (push_minipool_fix): New function.
2281         (note_invalid_constants): New function.
2282         (add_pool_constant, dump_table, fixit, broken_move): Delete.
2283         (arm_reorg): Rewrite code to fix up the constant pool into a
2284         series of mini-pools embedded in the insn stream.
2285         (arm_output_epilogue): New function, made mainly from the body
2286         of output_func_epilogue.
2287         (output_func_epilogue): Move insn generation part of epilogue code
2288         to arm_output_epilogue.
2289         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
2290         * arm.md (pool_range): New attribute.
2291         (zero_extendqidi2): Add attribute pool_range.
2292         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
2293         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
2294         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
2295         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
2296         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
2297         (epilogue): New expand.
2298         (epilogue_insn): New insn.  Call arm_output_epilogue.
2300         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
2301         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
2303 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
2305         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2307 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
2309         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
2311 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
2313         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
2315 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
2317         * global.c: Fix comment.
2319 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
2321         * gcc.c (access_check): New static function.
2322         (find_a_file): Use it when searching a directory list.
2323         * collect2.c (find_a_file): Don't accept directories found when
2324         searching a directory list.
2326 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
2328         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
2329         function parameters with `&'.
2330         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
2332 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
2334         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
2335         or tidy_fallthru_edge if the last insn in the block is not
2336         an unconditional jump or a simple conditional jump.
2338 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2340         * Makefile.in (c-decl.o): Depends on defaults.h.
2342 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
2344         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
2345         PA1.1 and above.
2346         (CLASS_MAX_NREGS): Likewise.
2348 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
2350         * cse.c (cse_insn): Fix dumb thinko in last change.
2352 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2354         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
2355         "const char *".
2357 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
2359         * dwarf2out.c (add_location_or_const_value_attribute): Correct
2360         test for sizes of passed and declared parameter types.
2362 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2364         * fixincludes: Fix the return type of bsearch, char* -> void*.
2366         * fixinc/inclhack.def: Likewise.
2368 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
2370         * invoke.texi (-fdump-translation-unit): New option.
2372 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
2374         * expr.h (PROMOTE_PROTOTYPES): Move ...
2375         * defaults.h: ... to here.
2376         * c-decl.c: Include defaults.h instead of expr.h.
2377         * c-typeck.c: Include defaults.h.
2379 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
2381         * toplev.h (errorcount): Declare.
2382         (warningcount): Likewise.
2383         (sorrycount): Likewise.
2384         * c-lex.c (errorcount): Don't declare.
2385         * dwarf2out.c (errorcount): Don't declare.
2387 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
2389         * config/libgloss.h: Add a note discouraging use with ELF.
2390         * configure.in: Don't use libgloss.h for ELF targets.
2391         Always use_collect2 on a.out targets.
2393 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
2395         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
2396         (force_to_mode, case ASHIFTRT): Add shiftrt label.
2398 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2400         * loop.c (strength_reduce): When doing biv->giv conversion, update
2401         reg note of NEXT->insn.
2403 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2405         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
2407 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2409         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
2410         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
2411         Ensure expr.h is included.
2412         * c-typecheck.c (convert_arguments): Ditto.
2414         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
2416         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
2417         * config/convex/convex.h: Ditto.
2418         * config/dsp16xx/dsp16xx.h: Ditto.
2419         * config/fx80/fx80.h: Ditto.
2420         * config/gmicro/gmicro.h: Ditto.
2421         * config/i370/i370.h: Ditto.
2422         * config/i386/i386.h: Ditto.
2423         * config/m32r/m32r.h: Ditto.
2424         * config/m68k/m68k.h: Ditto.
2425         * config/m88k/m88k.h: Ditto.
2426         * config/mips/mips.h: Ditto.
2427         * config/pa/pa.h: Ditto.
2428         * config/pyr/pyr.h: Ditto.
2429         * config/tahoe/tahoe.h: Ditto.
2430         * config/we32k/we32k.h: Ditto.
2432         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
2433         based on arch size.
2435         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
2437         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
2438         from comment.
2440         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
2442 1999-08-02  Richard Henderson  <rth@cygnus.com>
2444         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
2445         for the register spill block.
2446         (m32r_va_arg): New.
2447         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
2448         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
2450         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
2451         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
2452         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
2454 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2456         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
2457         MAX_WCHAR_TYPE defined in sparc.h.
2458         * config/sparc/linuxaout.h: Likewise.
2459         * config/sparc/linux64.h: Likewise.
2460         Also default to -mvis if CPU is UltraSPARC.
2462 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2464         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
2465         (RTX_OK_FOR_OLO10): Likewise.
2466         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
2467         %lo(), allow it in addresses...
2468         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
2469         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
2470         does not make sense.
2471         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
2472         (sparc_output_scratch_registers): New function.
2473         (output_function_prologue, sparc_flat_output_function_prologue): Use
2474         it.
2475         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
2476         defined.
2477         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
2478         * configure.in: Add check for .register pseudo-op support in as and
2479         check for offsetable %lo().
2480         * acconfig.h: Add templates for the above checks.
2481         * configure: Regenerate.
2483 1999-08-02  Richard Henderson  <rth@cygnus.com>
2485         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
2486         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
2487         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
2489 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2491         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
2492         reg_biv_class.
2494 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2496         * config/float-sparc.h: New file.
2497         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
2498         sparc-*-linux-gnu and sparc64-*-linux*.
2500 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2502         * rs6000.c (rs6000_va_list): Type is an array.
2503         (rs6000_va_start): Don't doubly adjust for varargs.
2504         (rs6000_va_arg): Evaluate long long GPR adjustment.
2506 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
2508         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
2509         -maix64 and -maix32.
2510         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
2511         LINK_SPEC): Change appropriately.
2512         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
2513         (u_short_cint_operand): Likewise.
2514         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
2515         for 64-bit hosts.
2516         * rs6000/t-aix43 (MULTILIB): Change to -m64.
2518         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
2520 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
2522         * rs6000/rs6000.c (num_insns_constant_wide): Correct
2523         for type promotion.
2524         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
2525         (non_add_cint_operand): Likewise.
2526         (logical_operand): Likewise.
2527         (non_logical_cint_operand): Likewise.
2528         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
2529         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
2530         (rs6000_select_rtx_section): Suppress warning.
2531         (small_data_operand): Suppress warning.
2532         (rs6000_got_register): Suppress warning.
2533         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
2534         type, so `J' is generally the wrong constraint for a SImode value;
2535         use `L' instead.
2536         (andsi3_internal2): Likewise.
2537         (andsi3_internal3): Likewise.
2538         (iorsi3_internal1): Likewise.
2539         (xorsi3_internal1): Likewise.
2540         (movsi): Likewise.
2541         (movsf_softfloat): Likewise.
2542         (scc insns): Likewise.
2543         (movsi+2): Preserve sign bits of SImode constant.
2544         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
2545         (movdf+1): Sign-extend properly.
2546         (movdi_32+1): Sign-extend properly.
2547         (scc insns): Sign-extend properly.
2549         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
2550         K, L, and T.
2552 1999-08-02  Richard Henderson  <rth@cygnus.com>
2554         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
2555         -mcpu parsing code.
2556         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
2557         * alpha.md (all fp insns): Likewise.
2559 1999-08-02  Nick Clifton  <nickc@cygnus.com>
2561         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
2562         already defined.
2564 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
2566         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
2567         pic_load_label generator directly.
2568         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
2569         No longer a named pattern.
2571 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
2573         * explow.c (force_reg): Call force_operand if X does not
2574         satisfy general_operand.
2576 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
2578         * fix-header.c (main): When testing for CONTINUED, use string
2579         equality, not pointer equality.
2581 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
2583         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
2585 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
2587         * cse.c (cse_insn): Fix loop which deletes insns after a jump
2588         that has become an unconditional jump.
2590         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
2591         (output_function_epilogue): Similarly.
2593 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2595         * tree.h (init_dummy_function_start): Declare.
2597 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2599         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
2600         last_expr_type, last_expr_value, block_start_count, block_stack,
2601         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
2602         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
2603         dynamically in stmt elt of struct function for each function.
2604         (struct nesting): Rename function_call_count elt to n_function_calls,
2605         target_temp_slot_level to block_target_temp_slot_level.  All users
2606         changed.
2607         (struct stmt_status): New structure definition.
2608         Add many accessor macros for stmt_status elements which previously
2609         were global variables.
2610         (init_stmt_for_function): Allocate stmt elt for current_function.
2611         Reflect that block_start_count was renamed to
2612         current_block_start_count.
2613         (save_stmt_status, restore_stmt_status): Delete functions.
2614         (preserve_subexpressions_p): Don't access loop_stack when outside
2615         a function.
2616         (expand_start_bindings): Reflect that block_start_count was renamed to
2617         current_block_start_count.
2618         (expand_fixup): Likewise.
2619         (expand_decl): Don't access block_stack when outside a function.
2620         (expand_decl_cleanup): Likewise.
2621         (expand_dcc_cleanup): Likewise.
2622         (expand_dhc_cleanup): Likewise.
2623         (expand_anon_union_decl): Likewise.
2624         (set_file_and_line_for_stmt): New function.
2625         (in_control_zone_p): New function.
2627         * function.h (struct function): Add new elt stmt.
2628         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
2629         case_stack, nesting_stack, nesting_depth, block_start_count,
2630         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
2631         emit_lineno, goto_fixup_chain.
2632         (save_eh_status, restore_eh_status, save_stmt_status,
2633         restore_stmt_status): Delete declarations.
2634         * function.c (push_function_context_to): Don't call save_stmt_status.
2635         (pop_function_context_to): Don't call restore_stmt_status.
2636         * tree.h (in_control_zone_p): Declare.
2637         * rtl.h (set_file_and_line_for_stmt): Declare.
2639         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
2640         call set_file_and_line_for_stmt.
2642 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
2644         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
2645         Also update copyright.
2647 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2649         * c-pragma.c: Don't include "except.h".
2650         * emit-rtl.c: Likewise.
2651         * stor-layout.c: Likewise.
2652         * tree.c: Likewise.
2653         * varasm.c: Likewise.
2655         * flow.c: Include "function.h".
2656         * tree.h (init_dummy_function_start): Declare new function.
2658         * except.h (struct eh_status): New structure.
2659         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
2660         been included.
2661         (eh_return_stub_label, ehstack, catchstack, ehqueue,
2662         catch_clauses, false_label_stack, caught_return_label_stack,
2663         protect_list, current_function_ehc): Add accessor macros for the
2664         corresponding fields in current_function->eh; delete declarations
2665         for all items that used to be declared here.
2666         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
2667         catch_clauses, false_label_stack, caught_return_label_stack,
2668         protect_list, current_function_ehc): Delete variables.
2669         (init_eh_for_function): Allocate current_function->eh.
2670         (save_eh_status, restore_eh_status): Delete functions.
2672         * function.h (struct function): Add fields next_global and eh.
2673         Delete all exception handling related fields.
2674         * function.c (current_function): New variable.
2675         (all_functions): New variable.
2676         (push_function_context_to): Don't allocate a struct function,
2677         use current_function instead.  Call init_dummy_function_start when
2678         outside a function.  Clear current_function before returning.
2679         (pop_function_context_from): Restore current_function.
2680         Don't free the restored struct function.
2681         (prepare_function_start): New function.
2682         (init_dummy_function_start): New function.
2683         (init_function_start): Break out some code into prepare_function_start
2684         and call it here.
2686         * stmt.c (save_stmt_status): Don't call save_eh_status.
2687         (restore_stmt_status): Don't call restore_eh_status.
2689         * Makefile.in: Update dependencies.
2691 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
2693         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instea_ABI]: New function.
2694         (mvs_add_alias, mvs_need_alias): New functions.
2695         (mvs_get_alias, mvs_check_alias): New functions.
2696         (handle_pragma): New function.
2697         (mvs_function_check): New function.
2698         (unsigned_jump_follows_p): Search harder.
2699         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
2700         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
2701         * i370.h (TARGET_VERSION): Delete.
2702         (CPP_SPEC, CPP_PREDEFINES): Delete.
2703         (mvs_label_emitted): Delete.
2704         (TARGET_EBCDIC): Delete.
2705         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
2706         (HANDLE_PRAGMA): Define.
2707         (HARD_REGNO_NREGS): Handle complex modes.
2708         (HARD_REGNO_MODE_OK): Likewise.
2709         (CLASS_MAX_NREGS): Likewise.
2710         (RET_REG): Likewise.
2711         (EXTRA_CONSTRAINT): Define.
2712         (RETURN_IN_MEMORY): True for DImode.
2713         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
2714         (FUNCTION_PROFILER): Delete.
2715         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
2716         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
2717         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
2718         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
2719         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
2720         (ASM_FILE_START): Add "RMODE ANY".
2721         (ASM_OUTPUT_EXTERNAL): Check for aliases.
2722         (ASM_GLOBALIZE_LABEL): Likewise.
2723         (ASM_OUTPUT_LABELREF): Likewise.
2724         (ASM_OUTPUT_COMMON): Likewise.
2725         (PRINT_OPERAND): Handle 'K', 'W', default.
2726         (PRINT_OPERAND_ADDRESS): New.
2727         (Lots of defines): Add support for TARGET_ELF_ABI.
2728         * i370.md (attr length): New.  Define for all patterns.
2729         (*): Lots of tweeks to assembly output and constraints.
2731 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
2733         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
2734         Disable patterns performing SImode comparisons with SImode values
2735         if TARGET_POWERPC64 and instruction does not sign-extend or does
2736         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
2737         differ for signed quantities.
2738         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
2739         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
2740         (decrement_and_branch_on_count): Add 64-bit variant.
2742 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2744         * final.c (output_asm_insn): When searching for the matching string
2745         for a given dialect, don't run past the end of the list of
2746         alternatives if there are fewer alternatives in the template than
2747         dialects.
2749 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
2751         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
2752         Removed paragraph about compression of files and size limitation,
2753         duplicated in the FAQ.  Use gcc-patches for posting patches.
2754         * gcc.c (main): Updated URL with bug reporting instructions to
2755         gcc.gnu.org.  Removed e-mail address.
2756         * system.h (abort): Likewise.
2758 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2760         * Makefile.in (stmp-multilib-sub): Make the files extracted
2761         from $(LIBGCC1) writable.
2763 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
2765         * config/arm/aout.h: Reformat for improved readability.
2767         * config/arm/arm.h: Reformat for improved readability.
2768         Replace uses of fprintf with asm_fprintf where appropriate.
2769         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
2770         function declaration assembler actions.
2771         (NUM_INTS): New macro: Convert from bytes to words.
2772         (NUM_REGS): New macro: Compute number of registers required to
2773         hold a quanitity of tyep MODE.
2774         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
2775         types.
2776         (NUM_ARG_REGS): New macro: The number of argument registers
2777         available.
2778         (ARG_REGISTER): New macro: Compute the register number of the Nth
2779         argument register.
2780         (LAST_ARG_REGNUM): New macro: The number of the last argument
2781         register.
2782         (SP_REGNUM): New macro: Register number of the stack pointer.
2783         (FP_REGNUM): New macro: Register number of the frame pointer.
2784         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
2785         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
2786         CUMULATIVE_ARGS so that it counts registers not bytes.
2788         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
2789         TARGET_INTERWORK.
2790         Replace uses of fprintf with asm_fprintf where appropriate.
2791         (output_ascii_pseudo_op): Replace with version from thumb.c
2793         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
2795         * config/arm/elf.h (CPP_PREDEFINES): Replace with
2796         SUBTARGET_CPP_SPEC.
2797         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2798         (ASM_FILE_START): Emit ASM_APP_OFF.
2800 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
2802         * pa.c (compute_frame_size): Round frame according to
2803         STACK_BOUNDARY rather than a hardwired value.
2805         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
2807         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
2808         of "1".
2809         * configure: Rebuilt.
2811         * configure.in (hppa*-*-linux*): New configuration.
2812         * configure: Rebuilt.
2813         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
2814         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
2815         * pa/pa-linux.h: New file.
2816         * pa/t-linux: New file.
2817         * pa/xm-linux.h: New file.
2819         * pa.c (hppa_legitimize_address): Change references from SImode to
2820         either Pmode or word_mode as appropriate.
2821         (emit_move_sequence, store_reg, load_reg): Likewise.
2822         (set_reg_plus_d, hppa_expand_prologue): Likewise.
2823         (output_mul_insn): Likewise.
2824         * pa.h (PROMOTE_MODE): Likewise.
2825         (INITIALZE_TRAMPOLINE): Likewise.
2826         (Pmode): Define to word_mode.
2828         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
2829         value of 4.  Allocate 8 bytes for each FP register save.
2830         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
2831         value of 4.
2832         (hppa_expand_prologue): Likewise.
2833         * pa.h (PROMOTE_MODE): Likewise.
2834         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
2835         (FUNCTION_ARG_BOUNDARY): Likewise.
2837         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
2839         * pa.c (out_of_line_prologue_epilogue): Delete.
2840         (override_options): Remove -mspace related code.
2841         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2842         (compute_frame_size): Only allocate space for register that
2843         actually need to be saved.
2844         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
2845         (TARGET_SWITCHES): Remove -mspace, -mno-space
2846         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
2847         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
2848         * pa/ee.asm, pa/ee_fp.asm: Delete.
2850         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
2852         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
2853         directive in column zero.
2855 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
2857         * m68k.c (output_function_prologue): Fix computation of save mask
2858         when generating PIC code.
2860 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
2862         * tree.c (build_type_attribute_variant): Move current_obstack restore
2863         after build_qualified_type call.
2865 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
2867         * configure.in: Use t-iris6, even with GNU LD.
2868         * config/mips/iris6gld.h: Fix typo in linker spec.
2869         * config/mips/t-iris6gld: Remove.
2871 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
2873         * rs6000.md (insv, extzv): Remove SImode dependence in named
2874         patterns.  Explicitly generate DImode RTL if PowerPC64 and
2875         operand is DImode.
2876         (insvdi): Reverse start and size in instruction template.
2878 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
2880         * invoke.texi: Typo fixes.
2882 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
2884         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
2885         handle at this time instead of silently generating incorrect code.
2886         (gen_imagpart): Likewise.
2888         * reload.c (find_reloads): Emit a USE for a pseudo register without
2889         a hard register if we could not create an optional reload for the
2890         pseudo.
2892 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2894         * c-typeck.c (output_init_element, process_init_element):
2895         When advancing constructor_unfilled_fields for a RECORD_TYPE,
2896         check for nameless bit fields.
2898 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
2900         * regclass.c (scan_one_insn): Notice subregs that change the
2901         size of their operand.
2902         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
2904 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
2906         * configure.in (alpha*-*-*): Include alpha/t-ieee.
2907         * configure: Rebuilt.
2908         * alpha/t-ieee: New file.
2910 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
2912         * rs6000.c (find_addr_reg): Do not select r0 as an address
2913         register.
2915 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
2917         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
2919 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
2921         * rs6000.md (movsf): Do not force easy FP constants into memory.
2923         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
2924         immed_double_const to ensure they are properly truncated then
2925         sign extended.
2927 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
2929         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
2930         always unless NO_DEBUG is used.  Compile this code
2931         unconditionally.
2932         (replace_symbols_in_block): Compile it unconditionally.
2934 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
2936         * configure.in (i?86-*-elf*): New target.
2937         * configure: Rebuilt.
2938         * i386/i386elf.h, i386/t-i386elf: New files.
2940 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
2942         * toplev.c (main): Don't complain about saying -gdwarf.
2943         (rest_of_compilation): Remove redundant code.
2945 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
2947         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
2949 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
2951         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
2952         "Li960R:", to avoid name clash.
2954 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
2956         * loop.c (check_dbra_loop): When reversing a loop, delete all
2957         REG_EQUAL notes referencing the reversed biv except those which are
2958         for a giv based on it.
2960 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
2962         * version.c: Drop "gcc-" prefix from version #.
2964 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
2966         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
2967         the label if we're being verbose.
2969 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
2971         * m68k.c (output_function_prologue): Add pic register to mask
2972         if live and flag_pic.
2973         (output_function_epilogue): Likewise.
2975 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
2977         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
2978         directives in column zero.
2980         * pa/elf.h (ASM_FILE_START): Define.
2981         * pa/som.h (ASM_FILE_START): Include .level directives.
2982         * pa/hpux10.h (ASM_FILE_START): Delete.
2983         * pa/hpux11.h (ASM_FILE_START): Delete.
2985         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
2987 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2989         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
2990         when reload_out equals reload_in.
2992 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
2994         * invoke.texi (Spec Files): New node: Describe the contents of
2995         spec files.
2997 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
2999         * invoke.texi (DEC Alpha Options): Put @end table at
3000         beginning of line, to avoid confusing texi2html.
3002 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
3004         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
3005         introduced in previous delta.
3007 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3009         * reload1.c (gen_reload): When synthesizing a 3 operand add
3010         sequence, improve test for when to reload OP1 into the reload
3011         register instead of OP0.
3013 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
3015         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
3017 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
3019         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
3020         string literal.
3022 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
3024         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
3025         (va_dcl): Use __builtin_va_alist_t.
3027 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
3029         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
3030         on the permanent_obstack.
3031         * dwarfout.c (output_type): Likewise.
3033 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3035         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3036         Merged from c-typeck.c and cp/typeck.c.
3037         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3038         Merged into c-common.
3040 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
3042         * c-lex.c (errorcount): Declare it.
3043         (finish_parse): Update errorcount when using CPPLIB.
3045 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
3047         * fixinc/inclhack.def(end_else_label): Double the backslash so
3048         sed gets a chance to see it.
3049         * fixinc/inclhack.sh: regen
3050         * fixinc/fixincl.x: regen
3052 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
3054         Add framework to support armv5 architecture when it becomes
3055         available:
3057         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
3058         (arm_arch5): New variable.
3059         (all_architectures): Add armv5 line.
3060         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
3061         -march=armv5 is specified on the command line.
3062         (arm_arch5): Export this variable.
3063         * invoke.texi: Document new string accepted by -march= switch for
3064         ARM ports.
3066         * config/arm/arm.h: Replace use of constant 12 as a register
3067         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
3068         * config/arm/arm.c: Replace use of constant 12 as a register
3069         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
3071         * config/arm/elf.h: Tidy up.
3072         * config/arm/coff.h: Tidy up.
3074 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
3076         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
3077         * gcc/config/mips/t-iris6gld: New file.
3078         * gcc/config/mips/iris6gld.h: Likewise.
3080 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3082         * c-decl.c (widest_integer_literal_type_node,
3083         widest_unsigned_literal_type) : New.
3084         (init_decl_processing): Handle/use the two new types.
3085         * c-common.c (type_for_size,type_for_mode) : Same.
3086         * c-lex.c (yylex) : Same.
3087         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3088         Same.
3089         * c-tree.h (widest_integer_literal_type_node,
3090         widest_unsigned_literal_type) : New.
3092 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
3094         * dwarfout.c (field_byte_offset): Correctly compute the object's
3095         byte offset for the first bit of a field which crosses an alignment
3096         boundary on a !BYTES_BIG_ENDIAN target.
3098 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
3100         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
3101         ntohs.
3103 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
3104                           Jeff Law <law@cygnus.com>
3106         * ginclude/varargs.h (va_dcl): Use word_mode for type of
3107         __builtin_va_list.
3109         * except.c: Include intl.h.
3110         (expand_eh_return): Set current_function_cannot_inline.
3111         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
3112         * function.h (struct function): Add eh_return_stub_label.
3113         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
3114         * Makefile.in (except.o): Depend on intl.h.
3116 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
3118         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
3119         same as offsettable in cases 1 and 2.
3121 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
3123         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
3124         (extlh, extwh): Likewise.
3126 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3128         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
3130 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
3132         * configure.in: Add arm-pe and thumb-pe targets.
3133         * configure: Regenerate.
3135         * thumb.c (arm_naked_function_p): New function: Determines if
3136         a function is naked (has no gcc generated prologue/epilogue).
3137         (is_called_in_ARM_mode): Return true if the func has the
3138         interfacearm attribute.
3139         (output_return): Do not generate a return for naked functions.
3140         (thumb_function_prologue): Do not generate a prologue for
3141         naked functions.
3142         (thumb_expand_prologue): Do not generate a prologue for naked
3143         functions.
3144         (thumb_expand_epilogue): Do not generate an epilogue for naked
3145         functions.
3146         (arm_valid_machine_decl_attribute): New function, copied from
3147         arm.c:  Permit naked and interfacearm attributes.
3149         * config/arm/pe.c: New file: Support code for arm-pe target.
3150         * config/arm/pe.h: New file: Header file for arm-pe target.
3151         * config/arm/tpe.h: New file: Header file for thumb-pe target.
3152         * config/arm/t-thumb-pe: New file: Makefile fragment for
3153         thumb-pe target.
3155 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
3157         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
3158         -fPIC or -fpic is specified.
3160 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
3162         * expr.c (emit_block_move): Use copy_to_mode_reg for
3163         !TARGET_MEM_FUNCTIONS case too.
3165         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
3166         appropriate.
3167         * configure: Rebuilt.
3168         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
3169         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
3170         definitions made redundant by dbxelf.h inclusion.  Delete
3171         lots of definitions related to assembly output that are
3172         specific to the SOM object format.
3173         * pa.c (output_function_prologue): Do not emit the function's
3174         name for OBJ_ELF.
3175         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
3176         * pa-pro.h: Deleted.
3177         * som.h: New file with SOM specific definitions.
3178         * elf.h: New file with ELF specific definitions.
3180         * elfos.h (const_section): Output a tab before assembler directives.
3181         (ctors_section, dtors_section): Likewise.
3182         (ASM_OUTPUT_SECTION_NAME): Likewise.
3184         * pa/pa1.h: Delete unused file.
3186 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
3188         * configure.in (hppa*-hp-hpux11*): New configuration.
3189         * configure: Rebuilt.
3190         * pa/pa-hpux11.h: New file.
3191         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
3192         command line.
3194         * mips.md (leasi, leadi): New patterns.
3196         * expr.c (emit_block_move): Properly handle case where one of the
3197         block move arguments has a queued increment or decrement.
3198         (clear_storage): Similarly.  Fix formatting goof.
3200 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
3202         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
3203         semicolon from the BSD VA_LIST replacement expression.
3205         * fixinc/inclhack.sh: regen
3206         * fixinc/fixincl.x: regen
3208         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
3209         now use the fixincl program.
3211 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
3213         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
3214         case.  Also make the PIC register call_used.
3216         * m68k.h (FINALIZE_PIC): Delete.
3217         * m68k.c (finalize_pic): Delete.
3219 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
3221         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
3222         to memory.
3224 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
3226         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
3228 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
3230         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
3232 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
3234         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
3236 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
3238         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
3240 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
3242         * rs6000.c (output_toc): Always use hex values for floating-point
3243         constants.  Store single-precision values in upper-half of TOC
3244         entry in 64-bit mode.
3245         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
3246         to final constraints.
3247         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
3248         (fctiwz): Improve accuracy of RTL for pattern.
3250 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3252         * expr.c (expand_expr): Allow RTL_EXPR's through the
3253         MAX_INTEGER_COMPUTATION_MODE checks.
3255 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
3257         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
3258         such that MASK_SUPPORT_ARCH is not negative.
3260 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
3262         * loop.c (verify_dominator): Properly handle ADDR_VEC and
3263         ADDR_DIFF_VEC insns that appear inside loops.
3265 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
3266                           Jeff Law <law@cygnus.com>
3268         * rs6000.md (movdf_hardfloat32): Revert previous patch.
3269         Handle LO_SUM the same as offsettable in cases 1 and 2.
3270         * rs6000.c (find_addr_reg): Revert previous patch.
3272 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
3274         * system.h (strstr): New external function declaration.
3275         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
3276         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
3277         * config.in, configure: Rebuilt.
3279 1999-06-24  Tom Tromey  <tromey@cygnus.com>
3281         * gcc.c (main): Read user-specified specs files after computing
3282         additional startfile_prefixes.
3284 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
3286         Revert these two patches:
3288         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3289         * loop.c (strength_reduce): When doing biv->giv conversion, update
3290         reg note of NEXT->insn.
3292         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3293         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3294         reg_biv_class.
3295         (recombine_givs): Set ix field after sorting.
3297 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3299         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
3300         for the parts of an UNSPEC / UNSPEC_VOLATILE.
3302 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
3304         *fixinc/inclhack.def:  Add fix development commentary
3305         (read_ret_type): reactivate and add selection clause
3306         (zzz_*): tweak output file name to match what is used in hackshell.tpl
3307         *fixinc/{fixincl.x|inclhack.sh}: regen
3309 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
3311         * expr.c (expand_expr): STRIP_NOPS before checking against
3312         MAX_INTEGER_COMPUTATION_MODE
3313         (check_max_integer_computation_mode): Likewise.
3315 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
3317         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
3319 1999-06-22  Jim Wilson  <wilson@cygnus.com>
3321         * expr.c (store_expr): When target is a promoted subreg, return a
3322         promoted subreg as a result.
3324 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
3326         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
3327         coding standards.
3328         (dwarf2out_define): Mark unused parameters appropriately.
3329         (gen_unspecified_parameters_die): Ditto.
3330         (gen_subprogram_die): Fix signed/unsigned warnings.
3331         (gen_variable_die): Ditto.
3333 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
3335         * fixinc/inclhack.def(end_else_label): combined else_label
3336         and endif_label and fixed the sed expression.
3337         *fixinc/{fixincl.x|inclhack.sh}: regen
3339 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
3341         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
3342         'x' when handling non-offsettable addresses
3344 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
3346         * final.c (shorten_branches): Don't try to split an insn that has
3347         been deleted.
3349 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
3351         * config/mips/mips.c (symbolic_expression_p): New function.
3352         (mips_select_rtx_section): Put symbolic expressions in the
3353         data section, not the read-only data section.
3355 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
3357         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
3359 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
3361         * collect2.c (main): Log frame table count.
3362         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
3363         (scan_prog_file) [COFF]: Handle frame tables.
3365         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
3366         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
3367         * alpha/elf.h: Undef them again.
3368         * alpha/vms.h: Remove their definitions.
3370 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3372         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
3373         remove the clobber of r0 and change the REG_UNUSED note to
3374         REG_INC.
3376 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
3378         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
3379         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
3380         fits in HOST_WIDE_INT and one uses union to access a long constant
3381         as double.
3383 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
3385         * sparc.c (sparc_override_options): Don't allow profiling for
3386         code models other than medlow.
3387         (sparc_function_profiler): New function from old FUNCTION_PROFILER
3388         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
3389         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
3390         (sparc_block_profiler): Likewise.
3391         (sparc_function_block_profiler_exit): Likewise.
3392         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
3393         (FUNCTION_BLOCK_PROFILER): Likewise.
3394         (BLOCK_PROFILER): Likewise.
3395         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
3396         (MCOUNT_FUNCTION): New.
3397         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
3398         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
3399         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
3400         (MCOUNT_FUNCTION): New.
3401         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
3402         (BLOCK_PROFILER): Delete.
3403         (MCOUNT_FUNCTION): New.
3405 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
3407         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
3409 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
3411         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3412         Add the macros.
3414         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3415         Ditto.
3417         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3418         Ditto.
3420         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3421         Ditto.
3423 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
3425         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
3426         types.
3428 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
3430         * i386/djgpp.h (LIB_SPEC): New.
3431         (STARTFILE_SPEC): New.
3433         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
3435 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
3437         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
3438         compiler flags.
3440         * system.h (WSTOPSIG): New macro.
3442 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3444         * c-pragma.c (push_alignment): Don't ignore alignments greater than
3445         4 bytes.
3446         (insert_pack_attributes): Take into account member natural
3447         alignment.
3449         * i386/winnt.c (exports_head): New static variable.
3450         (i386_pe_record_exported_symbol): New function.
3451         (i386_pe_asm_file_end): Use.
3452         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
3453         symbols to be emitted at end of assembly.
3454         (ASM_DECLARE_OBJECT_NAME): Likewise.
3455         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3457         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
3458         -iwithprefix.
3460 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
3462         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
3463         in last change.
3465 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
3467         * haifa-sched.c (sched_analyze_1): Use free_list instead of
3468         zapping reg_last_uses directly.
3469         (sched_analyze_2, sched_analyze_insn): Likewise.
3470         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
3472 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
3474         * rs6000.md (movdf_hardfloat32): Use worst case insn length
3475         attributes for cases 1 and 2.
3477 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
3479         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
3480         instead of set.
3482 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
3484         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
3486 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
3488         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
3489         PIC_OFFSET_TABLE_REGNUM for general alloaction.
3490         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
3491         must be stacked if it is used for PIC accesses.
3492         * arm.c (use_return_insn): Handle PIC register specially.
3493         (output_return_instruction): Likewise.
3494         (output_func_{prologue,epilogue}): Likewise.
3495         (output_expand_prologue): Likewise.
3497         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
3498         (*strsi_predec): Renamed from *strqi_predec.
3499         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
3500         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
3502         * arm.c (arm_override_options): Remove warning about PIC code
3503         not being supported.
3505 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
3507         * rs6000.c (find_addr_reg): New function.
3508         * rs6000.h (find_addr_reg): Declare.
3509         (offsettable_addr_operand): Delete.
3510         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
3511         from and stores to GPRs.
3513 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
3515         * alpha.c (alpha_expand_block_move): Use get_insns rather than
3516         gen_sequence as argument to emit_no_conflict_block.
3518 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
3520         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
3521         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
3522         *fixinc/fixincl.x: regen
3523         *fixinc/inclhack.sh: regen
3525 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
3527         * added support for -mpcrel (PC relative addressing for m68k)
3528         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
3529         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
3530         * m68k.c (print_operand_address): Handle 32-bit PIC case.
3531         (comments for general_src_operand): Add some explanation
3532         about EXTRA_CONSTRAINTS.
3533         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
3534         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
3535         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
3536         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
3537         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
3538         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
3539         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
3540         if not already set.
3541         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
3542         * m68k.h (TARGET_PCREL): New target flag.
3543         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
3544         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
3545         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
3546         contains a SYMBOL_REF.  Relax this constraint during reload, since
3547         we want to use the predicates, not reload's built-in concept of a
3548         valid memory address, to control what insns need reloading.
3549         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
3550         operands (essentially 'g', 'm', and 's' under normal circumstances).
3551         * m68k.c (print_operand): Cause printing of pc-relative addresses
3552         to include pc register.
3553         (print_operand_address): Ditto.
3554         (general_src_operand): Accept operands that are not only
3555         general_operands, but are also valid when used as a pc-relative
3556         source.
3557         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
3558         (memory_src_operand): Similar, for memory_operands.
3559         (pcrel_address): New predicate to accept the special case of a
3560         pc-relative address.
3561         * m68k.md (many patterns): Rewrite common SImode, HImode, and
3562         QImode insns to accept *_src_operand instead of *_operand where
3563         pc-relative operands can fit.  For example, a pc-relative operand
3564         can be used as a memory source operand for addsi3, but not as a
3565         memory destination.
3566         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
3568 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
3570         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
3571         .thumb_set pseudo op to mark aliases of thumb functions.
3573 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
3575         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
3576         preference to ASM_OUTPUT_DEF, if it is defined.
3578         * tm.texi: Document new, optional target macro
3579         ASM_OUTPUT_DEF_FROM_DECLS.
3581 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
3583         * fixincludes: ISCNTL patch
3584         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
3585         (dgux_int_varargs): new for DG/UX
3586         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
3588 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
3590         * invoke.texi (ia32 options): Fix typo.
3592 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3594         * loop.c (strength_reduce): When doing biv->giv conversion, update
3595         reg note of NEXT->insn.
3597 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
3599         * loop.c (move_movables): Note issues with replacing REGs with
3600         SUBREGs.
3601         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
3603 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
3605         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
3607         * i386/freebsd-