Bump for snapshot
[platform/upstream/gcc.git] / gcc / ChangeLog
1 Mon Sep 14 09:51:05 PDT 1998 Jeff Law  (law@cygnus.com)
2
3         * version.c: Bump for snapshot.
4
5 Sun Sep 13 22:10:18 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
6
7         * invoke.texi (C Dialect Options): Put back missing @end itemize.
8
9 Mon Sep 14 02:33:46 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
10
11         * configure.in: remove usage of `!' to negate the result of a
12         command; some common shells do not support it
13
14 Sun Sep 13 19:17:35 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
15
16         * configure.in: in sparc9-sol2 config, use 'if test' not
17         brackets.
18         * configure: Rebuilt.
19
20         * config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
21         CM_MEDANY.
22         (CPP_CPU_SPEC): Do not define _LP64, header files do this.
23         (CPP_CPU_DEFAULT_SPEC): Likewise.
24         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
25         for arch64 libfuncs.
26         
27         * config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
28         for operand zero.
29
30 Sun Sep 13 09:11:59 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
31
32         * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
33
34         * collect2.c: Don't declare `sys_siglist' here.
35         (my_strsignal): Prototype and define new function.  Use it in
36         place of `sys_siglist' hacks.
37
38         * mips_tfile.c:  Likewise.
39
40         * configure.in (AC_CHECK_FUNCS): Check for strsignal.
41         (GCC_NEED_DECLARATIONS): Likewise.
42
43         * system.h (strsignal): Prototype it, if necessary.
44         (sys_siglist): Declare it, if necessary.
45
46 Sun Sep 13 04:37:28 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
47
48         * loop.c (move_movables): While removing insn sequences, preserve
49         the next pointer of the most recently deleted insn when we skip
50         over a NOTE.
51
52 Sat Sep 12 11:37:19 1998  Michael Meissner  <meissner@cygnus.com>
53
54         * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
55         supported with -mcpu=xxx.
56
57 Fri Sep 11 23:55:54 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
58
59         * flow.c (mark_set_1): Recognize multi-register structure return
60         values in CALL insns.
61         (mark_used_regs): Likewise.
62         (count_reg_sets_1): Likewise.
63         (count_reg_references): Likewise.
64         * rtlanal.c (note_stores): Likewise.
65         (reg_overlap_mentioned_p): Likewise.
66         * haifa-sched.c (check_live_1): Likewise.
67         (update_live_1): Likewise.
68         (sched_analyze_1): Likewise.
69         (sched_note_set): Likewise.
70         (birthing_insn_p): Likewise.
71         (attach_deaths): Likewise.
72
73         * config/sparc/sparc.md (movdf_const_intreg_sp64): Disable.
74
75
76 Fri Sep 11 22:57:55 1998  Eric Dumazet  <dumazet@cosmosbay.com>
77
78         * config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
79
80 Thu Sep 10 22:02:04 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
81
82         * glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
83
84 Thu Sep 10 21:19:10 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
85
86         * configure.in: Add check for GAS subsection -1 support.
87         * acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
88         * configure config.in: Rebuilt.
89         * config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
90         SImode is subsection -1 works, else use DImode.
91         (ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
92         subsection -1 works.
93         * config/sparc/sparc.c (sparc_output_addr_vec,
94         sparc_output_addr_diff_vec): Use them if defined.
95
96 Thu Sep 10 10:46:01 1998  Mark Mitchell  <mark@markmitchell.com>
97
98         * tree.h (DECL_ORIGIN): New macro.
99         * integrate.c (copy_and_set_decl_abstract_origin): New function.
100         (copy_decl_list): Use it.
101         (integrate_parm_decls): Likewise.
102         (integrate_decl_tree): Likewise.
103         * dwarf2out.c (decl_ultimate_origin): Simplify.
104         * dwarfout.c (decl_ultimate_origin): Likewise.
105         * c-decl.c (duplicate_decls): Use DECL_ORIGIN.
106         (pushdecl): Likewise.
107
108 Thu Sep 10 08:01:31 1998  Anthony Green  <green@cygnus.com>
109
110         * config/rs6000/rs6000.c (output_epilog): Add Java support.
111
112 Thu Sep 10 14:48:59 1998  Martin von Löwis  <loewis@informatik.hu-berlin.de>
113
114         * invoke.texi (C++ Dialect Options): Document -fhonor-std.
115
116 Thu Sep 10 01:38:05 1998  Jeffrey A Law  (law@cygnus.com)
117
118         * reg-stack.c (straighten_stack): Do nothing if the virtual stack is
119         empty or has a single entry.
120
121         * toplev.c (rest_of_compilation): Open up the dump file for reg-stack
122         before calling reg_to_stack.
123
124 Thu Sep 10 00:03:34 1998  Richard Henderson  <rth@cygnus.com>
125
126         * alpha.c (alphaev5_insn_pipe): Abort on default case.
127         (alphaev5_next_group): Swallow CLOBBERs and USEs.
128
129         * c-tree.h (warn_long_long): Declare it.
130
131 Wed Sep  9 23:31:36 1998  (Stephen L Moshier) <moshier@world.std.com>
132
133         * emit-rtl.c (gen_lowpart_common): Disable optimization of
134         initialized float-int union if the value is a NaN.
135
136 Wed Sep  9 23:00:48 1998  Nathan Sidwell  <nathan@acm.org>
137
138         * c-lex.c (real_yylex): Don't warn about long long constants if 
139         we're allowing long long
140
141 Wed Sep  9 21:58:41 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
142
143         * except.h (current_function_eh_stub_label): Declare.
144         (current_function_eh_old_stub_label): Declare.
145         * function.h (struct function): New members eh_stub_label and
146         eh_old_stub_label.
147         * except.c (current_function_eh_stub_label): New variable.
148         (current_function_eh_old_stub_label): New variable.
149         (init_eh_for_function): Clear them.
150         (save_eh_status): Save them.
151         (restore_eh_status): Restore them.
152         (expand_builtin_eh_stub): Set current_function_eh_stub_label.
153         (expand_builtin_eh_stub_old): Set current_function_eh_old_stub_label.
154         * flow.c (find_basic_blocks_1): When handling a REG_LABEL note, don't
155         make an edge from the block that contains it to the block starting
156         with the label if this label is one of the eh stub labels.
157         If eh stub labels exist, show they are reachable from the last block
158         in the function.
159
160         * reload1.c (reload): Break out several subroutines and make some
161         variables global.
162         (calculate_needs_all_insns): New function, broken out of reload.
163         (calculate_needs): Likewise.
164         (find_reload_regs): Likewise.
165         (find_group): Likewise.
166         (find_tworeg_group): Likewise.
167         (something_needs_reloads): New global variable, formerly in reload.
168         (something_needs_elimination): Likewise.
169         (caller_save_spill_class): Likewise.
170         (caller_save_group_size): Likewise.
171         (max_needs): Likewise.
172         (group_size): Likewise.
173         (max_groups): Likewise.
174         (max_nongroups): Likewise.
175         (group_mode): Likewise.
176         (max_needs_insn): Likewise.
177         (max_groups_insn): Likewise.
178         (max_nongroups_insn): Likewise.
179         (failure): Likewise.
180
181         * print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.
182
183 Wed Sep  9 13:14:41 1998  Richard Henderson  <rth@cygnus.com>
184
185         * loop.c (load_mems): Copy rtx for output mem.
186
187 Wed Sep  9 15:16:58 1998  Gavin Romig-Koch  <gavin@cygnus.com>
188
189         * mips/abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for
190         mips1 or mips2 either.
191
192 Wed Sep  9 12:31:35 1998  Jeffrey A Law  (law@cygnus.com)
193
194         * pa.c (pa_reorg): New marking scheme for jumps inside switch
195         tables.
196         (pa_adjust_insn_length): Update to work with new marking scheme
197         for jumps inside switch tables. 
198         * pa.md (switch_jump): Remove pattern.
199         (jump): Handle jumps inside jump tables.
200
201         * Makefile.in (profile.o): Depend on insn-config.h
202
203 Wed Sep  9 09:36:51 1998  Jim Wilson  <wilson@cygnus.com>
204
205         * iris6.h (DWARF2_UNWIND_INFO): Undef.
206
207 Wed Sep  9 01:32:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
208
209         Add preliminary native sparcv9 Solaris support.
210         * configure.in: Recognize sparv9-*-solaris2*
211         * configure: rebuilt
212         * config.sub: Recognize sparcv9 just like sparc64.
213         * config/sparc/sol2-c1.asm config/sparc/sol2-ci.asm
214         config/sparc/sol2-cn.asm: Macroize so it can be shared between
215         32-bit and 64-bit Solaris systems.
216         * config/sparc/t-sol2: Assemble those with cpp.
217         * config/sparc/sparc.h (TARGET_CPU_sparcv9): New alias for v9.
218         (*TF*_LIBCALL): If ARCH64 use V9 names.
219         * config/sparc/{xm-sysv4-64,sol2-sld-64}.h: New files.
220
221 Wed Sep  9 01:07:30 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
222
223         * config/sparc/sparc.h (TARGET_CM_MEDMID): Fix documentation.
224         (CASE_VECTOR_MODE): Set to SImode even if PTR64, when MEDLOW and
225         not doing pic.
226         (ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Check CASE_VECTOR_MODE not
227         Pmode.
228         * config/sparc/sparc.md (tablejump): Likewise, and sign extend op0
229         to Pmode if CASE_VECTOR_MODE is something else.
230
231 Wed Sep  9 00:10:31 1998  Jeffrey A Law  (law@cygnus.com)
232
233         * prefix.c (update_path): Correctly handle cases where PATH is
234         a substring of the builtin prefix, but specifies a different
235         directory location.
236
237 Tue Sep  8 23:46:04 1998  Hans-Peter Nilsson  <hp@axis.se>
238
239         * expr.c: Corrected comment about what MOVE_RATIO does.
240         * config/alpha/alpha.h: Ditto.
241         * config/1750a/1750a.h: Ditto.
242         * config/clipper/clipper.h: Ditto.
243         * config/i386/i386.h: Ditto.
244
245 Tue Sep  8 22:56:12 1998  Jeffrey A Law  (law@cygnus.com)
246
247         * configure.in (m68k-next-nextstep3*): Use collect2.
248         Similarly for x86 NeXT configurations.
249         * configure: Rebuilt.
250
251 Tue Sep  8 01:38:57 1998  Nathan Sidwell  <nathan@acm.org>
252
253         * configure.in: Don't assume srcdir is .../gcc
254         * configure: Rebuilt.
255
256 Sat Sep  5 16:34:34 EDT 1998  John Wehle  (john@feith.com)
257
258         * global.c: Update comments.
259         (global_alloc): Assign allocation-numbers
260         even for registers allocated by local_alloc in case
261         they are later spilled and retry_global_alloc is called.
262         (mark_reg_store, mark_reg_clobber,
263         mark_reg_conflicts, mark_reg_death): Always record a
264         conflict with a pseudo register even if it has been
265         assigned to a hard register.
266         (dump_conflicts): Don't list pseudo registers already assigned to
267         a hard register as needing to be allocated, but do list their
268         conflicts.
269         * local-alloc.c: Update comment.
270
271 Mon Sep  7 23:38:01 1998  Jeffrey A Law  (law@cygnus.com)
272
273         * configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
274         * configure: Rebuilt.
275
276 Mon Sep  7 22:41:46 1998  Michael Meissner  <meissner@cygnus.com>
277
278         * rs6000.c (rs6000_override_options): Fix name for ec603e, to add
279         missing 'c'.
280         * t-ppccomm (MULTILIB_MATCHES_FLOAT): Add support for -mcpu=xxx
281         for all targets that set -msoft-float.
282
283 Mon Sep  7 23:30:07 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
284
285         * toplev.c (print_switch_values): Make static to match prototype.
286
287 Mon Sep  7 19:13:59 1998  Jeffrey A Law  (law@cygnus.com)
288
289         * configure.in: If we are unable to find the "gnatbind" program,
290         then do not configure the ada subdir.
291         * configure: Rebuilt.
292
293 Sun Sep 6 14:03:58 PDT 1998 Jeff Law  (law@cygnus.com)
294
295         * version.c: Bump for snapshot.
296
297 Sun Sep 6 13:28:07 PDT 1998 Jeff Law  (law@cygnus.com)
298
299         * version.c: Bump for snapshot.
300
301 Sun Sep  6 08:54:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
302
303         * Makefile.in (toplev.o): Depend on $(EXPR_H).
304         (insn-extract.o, insn-attrtab.o): Depend on toplev.h.
305
306         * gansidecl.h: Define ATTRIBUTE_NORETURN.
307
308         * genattrtab.c: Have insn-attrtab.c include toplev.h.
309
310         * genextract.c: Have insn-extract.c include toplev.h.
311
312         * rtl.h: Don't prototype `fatal_insn_not_found' and `fatal_insn'.
313
314         * toplev.c: Include expr.h.
315         (really_sorry, fancy_abort): Remove prototypes.
316         (set_target_switch): Add argument in prototype.
317         (vfatal): Mark prototype with ATTRIBUTE_NORETURN.
318         (v_really_sorry): Likewise.
319         (print_version, print_single_switch, print_switch_values): Make
320         static and add prototype arguments.
321         (decl_printable_name): Add prototype arguments.
322         (lang_expand_expr_t): New typedef.
323         (lang_expand_expr): Declare as a lang_expand_expr_t.
324         (incomplete_decl_finalize_hook): Add prototype argument.
325         (decl_name): Mark variable `verbosity' with ATTRIBUTE_UNUSED.
326         (botch): Likewise for variable `s'.
327         (rest_of_type_compilation): Mark variables `type' and `toplev'
328         with ATTRIBUTE_UNUSED if none of DBX_DEBUGGING_INFO,
329         XCOFF_DEBUGGING_INFO or SDB_DEBUGGING_INFO are defined.
330         (display_help): Make variable `i' an `unsigned long'.
331         (main): Remove unused parameter `envp'.
332         Cast assignment to `lang_expand_expr' to a `lang_expand_expr_t'.
333         Cast -1 when comparing it with a `size_t'.
334
335         * toplev.h (fatal, fatal_io_error, pfatal_with_name): Mark
336         prototype with ATTRIBUTE_NORETURN.
337         (fatal_insn_not_found, fatal_insn, really_sorry,
338         push_float_handler, pop_float_handler): Add prototypes.
339         (fancy_abort): Mark prototype with ATTRIBUTE_NORETURN.
340         (do_abort, botch): Add prototypes.
341         
342 Sat Sep  6 12:05:18 1998  John Carr  <jfc@mit.edu>
343
344         * final.c (final): If a label is reached only from a single jump,
345         call NOTICE_UPDATE_CC on the jump and its predecessor before
346         emitting the insn after the label.
347         
348         * i386.h: Add AMD K6 support.
349         Change TARGET_* macros to use table lookup.
350         (INITIALIZE_TRAMPOLINE): Improve trampoline code.
351         (ADJUST_COST): Change definition to call function in i386.c.
352         (ISSUE_RATE): Define as 2 for anything newer than an 80486.
353         * i386.c: Add AMD K6 support.
354         Add constants for feature tests used by TARGET_* macros.
355         (split_di): If before reload, call gen_lowpart and gen_highpart.
356         (x86_adjust_cost): New function.
357         (put_jump_code): New function.
358         (print_operand): New codes 'D' and 'd'.
359         * i386.md: New insn types.  New insn attribute "memory".
360         Redefine scheduling parameters to use new types and add AMD K6
361         support.  Explicitly set type of most insns.
362         (move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
363         Pro and K6 prefer movl $1,reg to incl reg.
364         (adddi3, subdi3): Set cc_status.
365         (DImode shift patterns): Change label counters from HOST_WIDE_INT
366         to int; x86 can't have more than 2^31 DImode shifts per file.
367         (setcc): Combine all setcc patterns.  Allow writing memory.
368         Combine all jump patterns using match_operator.
369         (*bzero): Name pattern.  Emit mutliple stos instructions when that
370         is faster than rep stos.
371         (xordi3, anddi3, iordi3): Simplify DImode logical patterns and
372         add define_split.
373
374 Sun Sep  6 11:17:20 1998  Dave Love  <d.love@dl.ac.uk>
375
376         * config/m68k/x-next (BOOT_LDFLAGS): Define suitably for f771
377         linking.
378
379 Sat Sep  5 22:05:25 1998  Richard Henderson  <rth@cygnus.com>
380
381         * alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
382         not whatever we're generating now.
383
384         * alpha.c (set_frame_related_p, FRP): New.
385         (alpha_expand_prologue): Mark frame related insns.
386         (alpha_expand_epilogue): Likewise, but with a null FRP.
387         * alpha.h (INCOMING_RETURN_ADDR_RTX): New.
388         * alpha.md (exception_receiver): New.
389         * alpha/crtbegin.asm (.eh_frame): New beginning.
390         (__do_frame_setup, __do_frame_takedown): New.
391         * alpha/crtend.asm (.eh_frame): New ending.
392         * alpha/elf.h (DWARF2_DEBUGGING_INFO): Define.
393         (ASM_SPEC): Don't emit both dwarf2 and mdebug.
394         (ASM_FILE_START): Don't emit .file for dwarf2.
395
396         * rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.
397         * rtl.c (reg_note_name): Likewise.
398         * rtl.texi (REG_NOTES): Likewise.
399         * dwarf2out.c (dwarf2out_frame_debug): Use it.  Recognize a store
400         without an offset.
401
402 Sat Sep  5 14:47:17 1998  Richard Henderson  <rth@cygnus.com>
403
404         * i386.h (PREFERRED_RELOAD_CLASS): Standard fp constants load to TOS.
405         * i386.md (movsf, movdf, movxf): Validate memory address returned
406         from force_const_mem.  Kill useless REG_EQUAL setting code.
407
408 Sat Sep  5 14:23:31 1998  Torbjorn Granlund <tege@matematik.su.se>
409
410         * m68k.md (zero_extendsidi2): Fix typo.
411
412 Sat Sep  5 13:40:24 1998  Krister Walfridsson  <cato@df.lth.se>
413
414         * configure.in: Removed references to the removed file
415         * config/xm-netbsd.h. Use ${cpu_type}/xm-netbsd.h for
416         * arm*-*-netbsd* and ns32k-*-netbsd*.
417         * config/i386/xm-netbsd.h: Removed unnecessary file.
418         * config/m68k/xm-netbsd.h: Likewise.
419         * config/sparc/xm-netbsd.h: Likewise.
420         * config/mips/xm-netbsd.h: Likewise.
421
422 Sat Aug 29 13:32:58 1998  Mumit Khan  <khan@xraylith.wisc.edu>
423
424         * i386/cygwin32.h (BIGGEST_ALIGNMENT): Define.
425         (PCC_BITFIELD_TYPE_MATTERS): Define to be 0.
426
427         * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't check for
428         for exact section attributions.
429
430         * i386/mingw32.h (CPP_PREDEFINES): Add __MSVCRT__ for msvc
431         runtime.
432         * i386/crtdll.h (CPP_PREDEFINES): Define.
433
434 Sat Sep  5 03:23:05 1998  Jeffrey A Law  (law@cygnus.com)
435
436         * m68k.md (5200 movqi): Do not allow byte sized memory references
437         using address regs.
438         * m68k.c (output_move_qimode): Do not use byte sized operations on
439         address registers.
440
441         * Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
442         explicit rules for building.  Similarly for alloca, vfprintf,
443         choose-temp and mkstemp, getopt, getopt1, and obstack.
444         (INCLUDES): Add $(srcdir)/../include.
445         * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete.
446         * getopt.h, getopt.c getopt1.c, obstack.c, obstack.h: Likewise.
447
448 Fri Sep  4 11:57:50 1998  Tom Tromey  <tromey@cygnus.com>
449
450         * gcc.c (do_spec_1): [case 'o'] Account for
451         lang_specific_extra_outfiles.
452         (main): Correctly clear all slots in outfiles for
453         lang_specific_extra_outfiles.  Set input_file_number before
454         calling lang_specific_pre_link.
455
456 Fri Sep  4 10:37:07 1998  Jim Wilson  <wilson@cygnus.com>
457
458         * loop.c (load_mems): Fix JUMP_LABEL field after for_each_rtx call.
459
460 Fri Sep  4 02:01:05 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
461
462         * config/sparc/sparc.c (output_double_int): In all V9 symbolic
463         cases, use xword.
464         (sparc_output_deferred_case_vectors): If no work to do, return.
465         Fix thinko in Sept 1 change.
466
467 1998-09-03  SL Baur  <steve@altair.xemacs.org>
468
469         * Makefile.in: add semicolon in BISON definition for portability.
470
471 Thu Sep  3 13:34:41 1998  Toon Moene  <toon@moene.indiv.nluug.nl>
472
473         * config/nextstep.c (handle_pragma): Correct name of third
474         argument.
475
476 Tue Sep  1 11:30:33 1998  Nick Clifton  <nickc@cygnus.com>
477
478         * config/m32r/m32r.md: Change (reg:CC 17) to (reg:SI 17).
479         * config/m32r/m32r.h: Make register 17 be fixed.
480         * config/m32r/m32r.c: Use SImode for cc operations.
481
482 Thu Sep  3 18:17:34 1998 Benjamin Kosnik  <bkoz@cygnus.com>
483
484         * invoke.texi (Warning Options): Add -Wnon-template-friend
485         documentation.
486
487 Thu Sep  3 18:16:16 1998  Michael Meissner  <meissner@cygnus.com>
488
489         * rs6000.c (rs6000_override_options): Add -mcpu={401,e603e}.
490
491 Thu Sep  3 18:05:16 1998  David Edelsohn  <edelsohn@mhpcc.edu>
492
493         * rs6000.md (movsf): Disable explicit secondary-reload-like
494         functionality if TARGET_POWERPC64.
495         (movdf): Remove TARGET_POWERPC64 explicit secondary-reload-like
496         functionality.
497
498 Thu Sep  3 11:41:40 1998  Robert Lipe   <robertl@dgii.com>
499
500         * fixinc.sco: Borrow code to wrap 'bool' typedefs from tinfo.h
501         and term.h from fixinc.wrap.
502
503 Thu Sep  3 09:47:31 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
504
505         * aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is
506         safe to include both string.h and strings.h together.
507         (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding
508         which headers to search for function declarations.  Continue to
509         prefer string.h over strings.h when both are not acceptable.
510
511         * acconfig.h (STRING_WITH_STRINGS): Add stub.
512
513         * configure.in: Call GCC_HEADER_STRING.
514
515         * system.h: Test STRING_WITH_STRINGS when deciding which headers
516         to include.  Continue to prefer string.h over strings.h when both
517         are not acceptable.
518
519 Wed Sep  2 23:56:29 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
520
521         * config/sparc/sparc.c (output_double_int): If V9 and MEDLOW, do
522         not assume top 32-bits of symbolic addresses are zero if
523         flag_pic.
524
525 Thu Sep  3 00:23:21 1998  Richard Henderson  <rth@cygnus.com>
526
527         * ginclude/va-alpha.h: Protect entire second portion of the
528         file against double inclusion.
529
530 Thu Sep  3 00:37:55 1998  Ovidiu Predescu  <ovidiu@aracnet.com>
531
532         Added support for the Boehm's garbage collector.
533         * configure.in: Handle --enable-objc-gc.
534         * configure: Rebuilt.
535         * Makefile.in (CHECK_TARGETS): Add check-objc.
536         (check-objc): New rule.
537         * objc/Make-lang.in: Build a different Objective-C library that
538         runs with the Boehm's collector.
539         * objc/encoding.c (objc_round_acc_size_for_types): New function.
540         * objc/encoding.c: Correctly compute the size of compound types in
541         the presence of bitfields. Skip the variable name of the type if
542         any. Added support for long long.
543         * objc/encoding.h (_C_GCINVISIBLE): New specifier.
544         (_F_GCINVISIBLE): New mask.
545         * objc/gc.c: New file. Compute the type memory mask associated with
546         a class based on the runtime information.
547         * objc/misc.c: Added the hooks that use the Boehm's collector
548         allocation functions.
549         * objc/objc-act.c (build_class_template): Generate a new class
550         member (gc_object_type) to hold the class' type memory mask.
551         (build_shared_structure_initializer): Initialize the new member to
552         NULL.
553         (encode_complete_bitfield): New function. Generate the new
554         encoding.
555         (encode_field_decl): Generate the new encoding only for the GNU
556         runtime.
557         * objc/objc-api.h (_C_LNG_LNG, _C_ULNG_LNG): New specifiers for the
558         long long types.
559         (class_get_gc_object_type): New function to mark a pointer instance
560         variable as a weak pointer.
561         * objc/objc-features.texi: New file.
562         * objc/objc.h (gc_object_type): New class member.
563         * objc/objects.c (class_create_instance): Create a typed memory
564         object when compiled with Boehm's collector support.
565         * objc/sendmsg.c (__objc_init_install_dtable): Call
566         __objc_send_initialize instead of setting the initialize flag.
567         (__objc_send_initialize): Call __objc_generate_gc_type_description
568         to generate the class type memory mask. Rewrite the code that
569         sends the +initialize so that it is called only once (bug report
570         and fix from Ronald Pijnacker <Ronald.Pijnacker@best.ms.philips.com>).
571         * testsuite/objc: New testsuite for Objective-C type encoding.
572         * testsuite/lib/objc-torture.exp: New file.
573         * testsuite/lib/objc.exp: New file.
574
575 Wed Sep  2 14:47:36 1998  Jim Wilson  <wilson@cygnus.com>
576
577         * jump.c (jump_optimize): In if/then/else transformations, add
578         another call to modified_between_p for the jump insn.
579
580 Wed Sep  2 14:16:49 1998  Jeffrey A Law  (law@cygnus.com)
581
582         * fix-header.c (symlink): Treat like readlink.
583
584 Wed Sep  2 19:30:06 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
585
586         * dwarfout.c (fundamental_type_code): Encode 32 bit floats/doubles
587         as FT_float.
588
589 Wed Sep  2 10:06:07 1998  Nick Clifton  <nickc@cygnus.com>
590
591         * config/nextstep.h:    Update HANDLE_PRAGMA macro.
592         * config/h8300/h8300.h: Update HANDLE_PRAGMA macro.
593         * config/i960/i960.h:   Update HANDLE_PRAGMA macro.
594         
595         * config/nextstep.c (handle_pragma): Take three arguments, as per
596         the new HANDLE_PRAGMA macro specification.
597         * config/h8300/h8300.c (handle_pragma): Take three arguments, as
598         per the new HANDLE_PRAGMA macro specification.
599         * config/i960/i960.c (process_pragma): Take three arguments, as
600         per the new HANDLE_PRAGMA macro specification.
601
602 Wed Sep  2 09:25:29 1998  Nick Clifton  <nickc@cygnus.com>
603
604         * c-lex.c (check_newline):  Call HANDLE_PRAGMA before
605         HANDLE_SYSV_PRAGMA if both are defined.  Generate warning messages
606         if unknown pragmas are encountered.
607         (handle_sysv_pragma): Interpret return code from
608         handle_pragma_token ().  Return success/failure indication rather
609         than next unprocessed character. 
610         (pragma_getc): New function: retrieves characters from the
611         input stream.  Defined when HANDLE_PRAGMA is enabled.
612         (pragma_ungetc): New function: replaces characters back into the
613         input stream.  Defined when HANDLE_PRAGMA is enabled.
614         
615         * c-pragma.c (handle_pragma_token): Return success/failure status
616         of the parse.
617         
618         * c-pragma.h: Change prototype of handle_pragma_token().
619
620         * varasm.c: (handle_pragma_weak): Only create this function if
621         HANDLE_PRAGMA_WEAK is defined.
622
623         * c-common,c (decl_attributes): If defined call the expression
624         contained within the INSERT_ATTRIBUTES macro before adding
625         attributes to a decl.
626
627         * tm.texi (HANDLE_PRAGMA): Document the new verion of
628         HANDLE_PRAGMA, which takes three arguments.
629         (INSERT_ATTRIBUTES): Document this new macro.  
630
631         * LANGUAGES: Document the new version of HANDLE_PRAGMA and the
632         new INSERT_ATTRIBUTES macro.
633
634 Wed Sep  2 02:03:23 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
635
636         * config/sparc/sparc.md (movdf): Only generate special RTL for
637         LABEL_REFs when PIC.
638         (move_label_di): Remove
639         (movdi_pic_label_ref, movdi_high_pic_label_ref,
640         movdi_lo_sum_pic_label_ref): New patterns for 64-bit label
641         references when PIC.
642         * config/sparc/sparc.h (ASM_OUTPUT_ADDR_VEC_ELT,
643         ASM_OUTPUT_ADDR_DIFF_ELT): Don't do anything special for MEDLOW,
644         output an .xword for all 64-bit cases.
645         
646 Tue Sep  1 15:55:17 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
647
648         * config/sparc/sparc.c (finalize_pic): Don't output arbitrary
649         alignment, use FUNCTION_BOUNDARY instead.
650         (sparc_output_deferred_case_vectors): Likewise.
651
652 Mon Aug 31 17:25:41 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
653
654         * config/sparc/sparc.md (movsf_const_intreg): Kill warning.
655         (movtf_insn_sp64, movtf_no_e_insn_sp64): Reorder alternatives.
656
657 Mon Aug 31 13:57:55 1998  Richard Henderson  <rth@cygnus.com>
658
659         * alpha/va_list.h: New file.
660         * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.
661
662 Mon Aug 31 14:55:02 1998  Jeffrey A Law  (law@cygnus.com)
663
664         * NEWS: Add SCO Openserver and Unixware 7 notes.
665
666         * NEWS: Fix typos.
667
668 Mon Aug 31 15:42:18 1998  Dave Brolley  <brolley@cygnus.com>
669
670         * varasm.c (compare_constant_1): Handle RANGE_EXPR.
671         (record_constant_1): Handle RANGE_EXPR.
672
673 Mon Aug 31 10:54:03 1998  Richard Henderson  <rth@cygnus.com>
674
675         * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
676         * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
677         and NOTE_INSN_RANGE_END specially.
678         (reemit_notes): Likewise.
679
680 Mon Aug 31 10:18:52 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
681
682         * sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
683         (ultrasparc_sched_init): Remove unneeded &.
684
685 Mon Aug 31 10:47:16 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
686
687         * config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040
688         for m68020-60, to prevent the use of fintrz.
689
690 Sun Aug 30 22:17:20 1998  Mark Mitchell  <mark@markmitchell.com>
691
692         * configure.in: If the native compiler is GCC use $(WARN_CFLAGS) 
693         even in stage1. 
694         * Makefile.in: Likewise.
695         * configure: Regenerated.
696
697 Sun Aug 30 22:15:41 1998  H.J. Lu  (hjl@gnu.org)
698
699         * configure.in (gxx_include_dir): Changed to
700         '${prefix}/include/g++'-${libstdcxx_interface}.
701         * configure: Rebuilt.
702
703 Sun Aug 30 20:19:43 1998  Hans-Peter Nilsson  <hp@axis.se>
704
705         * expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use
706         consistent.
707         * tm.texi (Costs): Say MOVE_RATIO is number of mem-mem move
708         *sequences* *below* which scalar moves will be used.
709
710 Sun Aug 30 17:18:43 1998  Jeffrey A Law  (law@cygnus.com)
711
712         * collect2.c (mktemp): Delete unused declaration.
713
714         * config/xm-netbsd.h: Remove unnecessary file.
715         * config/*/xm-netbsd.h: Do not include the generic xm-netbsd.h
716         file anymore, it is not needed.
717
718 Sun Aug 30 16:05:45 1998  Mark Mitchell  <mark@markmitchell.com>
719
720         * convert.c (convert_to_integer): Issue an error on conversions to
721         incomplete types.
722
723 Sun Aug 30 16:47:20 1998  Martin von Lvwis  <loewis@informatik.hu-berlin.de>
724
725         * Makefile.in: Add lang_tree_files and gencheck.h.
726         * configure.in: Generate them.
727         * gencheck.c: Include gencheck.h.
728
729 Sat Aug 29 21:38:24 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
730
731         * config/sparc/sparc.md (pic_lo_sum_di, pic_sethi_di): Rename to
732         movdi_lo_sum_pic and movdi_high_pic and make visible.
733         * config/sparc/sparc.c (legitimize_pic_address): For -fPIC,
734         emit these when Pmode is not SImode.
735         * config/sparc/linux64.h (SPARC_DEFAULT_CMODEL): Make CM_MEDLOW.
736
737 Sat Aug 29 14:59:32 1998  Mumit Khan  <khan@xraylith.wisc.edu>
738
739         * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
740         .linkonce directive after the first time.
741
742 Sat Aug 29 12:39:56 1998  Jeffrey A Law  (law@cygnus.com)
743
744         * m68k.md (beq0_di): Generate correct (and more efficient) code when
745         the clobbered operand overlaps with an input.
746         (bne0_di): Similarly.
747
748         * Makefile.in (INSTALL): Remove "--no-header" argument.
749
750         * NEWS: Various updates.
751
752 Fri Aug 28 19:00:44 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
753
754         * config/sparc/sparc.c (arith_operand, const64_operand,
755         const64_high_operand, arith_double_4096_operand): Mark mode as
756         unused.
757         (create_simple_focus_bits): Remove unused arg highest_bit_set, all
758         callers changed.
759         (sparc_emit_set_const64): Remove unused variable i.
760         (sparc_splitdi_legitimate): Likewise for addr_part.
761         (ultra_code_from_mask): Likewise for mask.
762         (ultra_cmove_results_ready_p): Fixup entry modulo calc. and
763         reverse return values so it matches usage and comments.
764         (ultra_flush_pipeline): Likewise.
765         (ultra_fpmode_conflict_exists): Likewise, remove unused variable
766         this_type, and allow loads and stores of differing FP modes as
767         they do not create a conflict.
768         (ultra_find_type): Initialize fpmode to SFmode, fix
769         parenthesization thinkos in large conditional.
770         (ultrasparc_sched_init): Mark dump and sched_verbose as unused.
771         Init free_slot_mask after ultra_cur_hist is reset, not before.
772         (ultrasparc_rescan_pipeline_state): Remove unused variable ucode.
773         (ultrasparc_sched_reorder): Don't bzero current pipeline state,
774         use ultra_flush_pipeline instead, then re-init group pointer.
775         Fix statement with no effect.  If no progress made in, and no
776         instructions scheduled at all, advance to new pipeline cycle else
777         we get into an endless loop.
778         (ultrasparc_adjust_cost): Remove previous arg.
779         * config/sparc/sparc.h (ADJUST_COST): Update to reflect that.
780         
781 Fri Aug 28 13:52:35 1998  Jim Wilson  <wilson@cygnus.com>
782
783         * sparc.md (DImode, DFmode, TFmode splits): Delete self_reference
784         code.  Use reg_overlap_mentioned_p to detect when source and
785         destination overlap.
786         (negtf2_notv9+1): Use DFmode instead of SFmode in last two operands.
787
788 1998-08-28  Brendan Kehoe  <brendan@cygnus.com>
789
790         * loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
791         COMPARISON_VAL, into invariant_p.
792
793 Fri Aug 28 15:13:25 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
794
795         * regmove.c (regclass_compatible_p): New function.
796         (regmove_optimize): Use it.
797
798         Use NREGS parameter insted of calling max_reg_num.
799
800         (fixup_match_1): Don't use code = MINUS when later tieing with
801         a hard register is likely.
802
803 Fri Aug 28 14:54:07 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
804
805         * loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when
806         COMPARISON_VAL was normalized.
807
808 Thu Aug 27 20:10:46 1998  Jeffrey A Law  (law@cygnus.com)
809
810         * loop.c (check_dbra_loop): The loop ending comparison value
811         must be an invariant or we can not reverse the loop.
812
813         * loop.c (scan_loop): Count down from max_reg_num - 1 to
814         FIRST_PSEUDO_REGISTER to avoid calling max_reg_num each iteration
815         of the loop.
816         (load_mems_and_recount_loop_regs_set): Likewise.
817
818         * i386.c (print_operand): Remove obsolete 'c' docs.
819
820 Wed Aug 26 17:13:37 1998  Tom Tromey  <tromey@cygnus.com>
821
822         * gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.
823         * frame.c (init_object_mutex): New function.
824         (init_object_mutex_once): Likewise.
825         (find_fde): Call it.
826         (__register_frame_info): Likewise.
827         (__register_frame_info_table): Likewise.
828         (__deregister_frame_info): Likewise.
829
830 Thu Aug 27 15:14:18 1998  Jeffrey A Law  (law@cygnus.com)
831
832         * haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
833
834 Thu Aug 27 16:34:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
835
836         * loop.c (check_dbra_loop): Enable code for reversal
837         of some loops without a known constant loop end.
838
839 Wed Aug 26 18:38:15 1998  Richard Henderson  <rth@cygnus.com>
840
841         * haifa-sched.c (last_clock_var): New.
842         (schedule_block): Initialize it.
843         (schedule_insn): Use it to fill insn modes with issue information.
844
845         * alpha.c (alpha_handle_trap_shadows): Remove do-nothing exit.
846         Tag trapb and next insn with TImode.
847         (alphaev5_insn_pipe, alphaev5_next_group, alphaev5_align_insns): New.
848         (alpha_reorg): Add conditional for alpha_handle_trap_shadows.
849         Invoke alphaev5_align_insns as appropriate.
850         * alpha.h (LABEL_ALIGN_AFTER_BARRIER): Was ALIGN_LABEL_AFTER_BARRIER.
851         (MD_SCHED_VARIABLE_ISSUE): New.
852         * alpha.md (attr type): Add multi.
853         (define_asm_attributes): New.
854         (prologue_stack_probe_loop, builtin_setjmp_receiver): Set type multi.
855         (arg_home): Likewise.
856         (fnop, unop, realign): New.
857
858 Wed Aug 26 15:55:41 1998  Jim Wilson  <wilson@cygnus.com>
859
860         * iris5.h (PREFERRED_DEBUGGING_TYPE): Undef.
861         * iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
862
863         * configure.in (powerpc-ibm-aix4.[12]*): Change from 4.[12].*.
864         (rs6000-ibm-aix4.[12]*): Likewise.
865         * configure: Regnerate.
866
867 Wed Aug 26 09:30:59 1998  Nick Clifton  <nickc@cygnus.com>
868
869         * config/arm/thumb.c (thumb_exit): Do not move a4 into lr if it
870         already contains the return address.
871
872 Wed Aug 26 12:57:09 1998  Jeffrey A Law  (law@cygnus.com)
873
874         * calls.c (expand_call): Use bitfield instructions to extract/deposit
875         word sized hunks when loading unaligned args into registers.
876
877         * haifa-sched.c (sched_analyze_insn): Only create scheduling
878         barriers for LOOP, EH and SETJMP notes on the loop_notes list.
879
880         * mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
881
882 Wed Aug 26 16:35:37 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
883
884         * loop.c (check_dbra_loop): Add some code that would allow reversal
885         of some loops without a known constant loop end if it were enabled.
886
887 Wed Aug 26 11:08:44 1998  Gavin Romig-Koch  <gavin@cygnus.com>
888
889         * mips.md (lshrsi3_internal2+2): Fix type-o.
890
891 Wed Aug 26 10:53:03 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
892
893         * system.h: Include stdarg.h/varargs.h, make sure they are ordered
894         correctly with regards to stdio.h.
895         
896         * calls.c: Remove stdarg.h/varargs.h.
897         * cccp.c: Likewise.
898         * cexp.y: Likewise.
899         * combine.c: Likewise.
900         * cpperror.c: Likewise.
901         * cpplib.c: Likewise.
902         * cpplib.h: Likewise.
903         * doprint.c: Likewise.
904         * emit-rtl.c: Likewise.
905         * final.c: Likewise.
906         * fix-header.c: Likewise.
907         * gcc.c: Likewise.
908         * genattr.c: Likewise.
909         * genattrtab.c: Likewise.
910         * gencodes.c: Likewise.
911         * genconfig.c: Likewise.
912         * genemit.c: Likewise.
913         * genextract.c: Likewise.
914         * genflags.c: Likewise.
915         * genopinit.c: Likewise.
916         * genoutput.c: Likewise.
917         * genpeep.c: Likewise.
918         * genrecog.c: Likewise.
919         * mips-tfile.c: Likewise.
920         * prefix.c: Likewise.
921         * protoize.c: Likewise.
922         * regmove.c: Likewise.
923         * toplev.c: Likewise.
924         * tree.c: Likewise.
925
926 Wed Aug 26 05:09:27 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
927
928         * config/sparc/sparc.c (sparc_override_options): If not
929         TARGET_FPU, turn off TARGET_VIS.
930         * config/sparc/sparc.h (TARGET_SWITCHES): Add no-vis.
931         (LEGITIMATE_CONSTANT_P): Allow SF/DF mode zero when TARGET_VIS.
932         * config/sparc/sparc.md (movsi_insn): Use fzeros not fzero.
933         (movdi_insn_sp64): Add VIS fzero alternative.
934         (clear_sf, clear_df): New VIS patterns.
935         (movsf, movdf expanders): Allow fp_zero_operand flat out when
936         TARGET_VIS.
937         (one_cmpldi2_sp64): Provide new fnot1 VIS alternative.
938         
939 Tue Aug 25 10:57:41 1998  Mark Mitchell  <mark@markmitchell.com>
940
941         * loop.c (n_times_set, n_times_used, may_not_optimize,
942         reg_single_usage): Convert to varrays.  All uses changed.
943         (insert_loop_mem): Return a value.
944         (scan_loop): Tweak AVOID_CC_MODE_COPIES code.
945         (load_mems_and_recount_loop_regs_set): Likewise.  Grow the arrays, if
946         necessary.
947
948 Tue Aug 25 23:57:12 1998  Jeffrey A Law  (law@cygnus.com)
949
950         * From Alexandre:
951         * configure.in: Do not set thread_file to "irix" since no such
952         support exists yet.
953
954         * sparc.md (float abs/neg splits): Check reload_completed before
955         calling alter_subreg.
956
957 Tue Aug 25 19:17:59 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
958
959         * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): New
960         function.
961         * config/sparc/sparc.h: Declare it.
962         * config/sparc/sparc.md (float abs/neg splits): Use it.
963         (all other splits): Handle SUBREGs properly where necessary.
964         (unnamed (1<<x)-1 V8PLUS pattern): Disable for now.
965
966 Tue Aug 25 19:48:46 1998  Jeffrey A Law  (law@cygnus.com)
967
968         * reorg.c (fill_simple_delay_slots): Do not abort if we encounter
969         an insn on the unfilled_slots_list that has no delay slots.
970         (fill_eager_delay_slots): Similarly.
971
972 Tue Aug 25 13:35:20 1998  Nick Clifton  <nickc@cygnus.com>
973
974         * config/v850/v850.c (movsi_source_operand): Treat CONSTANT_P_RTX
975         as an ordinary operand.
976
977 Tue Aug 25 12:54:57 1998  Jason Merrill  <jason@yorick.cygnus.com>
978
979         * tree.c (valid_machine_attribute): Don't apply attributes to both
980         decl and type.
981
982 Tue Aug 25 12:23:20 PDT 1998  Richard Henderson  <rth@cygnus.com>
983
984         * reload.c (operands_match_p): Handle rtvecs.
985
986         * i386.c (legitimate_pic_address_disp_p): New.
987         (legitimate_address_p): Use it.
988         (legitimize_pic_address): Use unspecs to represent @GOT and @GOTOFF.
989         Handle constant pool symbols just like statics.
990         (emit_pic_move): Use Pmode not SImode for clarity.
991         (output_pic_addr_const) [SYMBOL_REF]: Remove @GOT and @GOTOFF hacks.
992         [UNSPEC]: New, handling what we killed above.
993         [PLUS]: Detect and abort on invalid symbol arithmetic.
994         * i386.h (CONSTANT_ADDRESS_P): Remove HIGH.
995
996 Tue Aug 25 12:02:23 1998  Mark Mitchell  <mark@markmitchell.com>
997
998         * alias.c: Include output.h.
999         (DIFFERENT_ALIAS_SETS_P): Don't treat alias sets as
1000         different if we're in a varargs function.
1001         * Makefile.in (alias.o): Depend on output.h
1002         
1003 Tue Aug 25 19:20:12 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1004
1005         * sh.h (GIV_SORT_CRITERION): Delete.
1006
1007 Tue Aug 25 13:19:46 1998  Dave Brolley  <brolley@cygnus.com>
1008
1009         * regclass.c (regclass): Use xmalloc/free instead of alloca.
1010         * stupid.c (stupid_life_analysis): Ditto.
1011         * reload1.c (reload): Ditto.
1012
1013 Tue Aug 25 05:48:18 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
1014
1015         * config/sparc/sparc.c (arith_4096_operand, arith_add_operand,
1016         arith_double_4096_operand, arith_double_add_operand): New
1017         predicates.
1018         * config/sparc/sparc.h (PREDICATE_CODES): Add them, declare them.
1019         * config/sparc/sparc.md (adddi3, addsi3, subdi3, subsi3): Use
1020         them to transform add/sub 4096 into add/sub -4096.
1021
1022 Mon Aug 24 23:31:03 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1023
1024         * loop.c (scan_loop): Allocate some slop to handle pseudos
1025         generated by move_movables.
1026         (load_mems_and_recount_loop_regs_set): Honor AVOID_CC_MODE_COPIES
1027         here too.
1028
1029 Mon Aug 24 19:45:40 1998  Jim Wilson  <wilson@cygnus.com>
1030
1031         * tree.def (DECL_RESULT): Correct documentation.
1032
1033 Tue Aug 25 01:15:27 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1034
1035         * reload1.c (reload_reg_free_before_p): New argument EQUIV;  Changed
1036         all callers.  Abort for RELOAD_FOR_INSN.  RELOAD_FOR_OUTADDR_ADDR:
1037         conflicts will all RELOAD_FOR_OUTPUT reloads.
1038
1039         * reload1.c (reload_cse_regs_1): When deleting a no-op move that
1040         loads the function result, substitute with a USE.
1041
1042 Mon Aug 24 15:20:19 1998  David Edelsohn  <edelsohn@mhpcc.edu>
1043
1044         * rs6000.h (GO_IF_LEGITIMATE_ADDRESS): Use TARGET_POWERPC64
1045         when testing LEGITIMATE_INDEXED_ADDRESS_P DFmode and DImode.
1046         (LEGITIMIZE_ADDRESS): Use TARGET_POWERPC64 for INDEXED fixup.
1047         * rs6000.c (print_operand, case 'L'): Add UNITS_PER_WORD, not 4.
1048         (print_operand, cases 'O' and 'T'): Fix typos in lossage strings.
1049         * rs6000.md (fix_truncdfsi2_store): Remove %w from non-CONST_INT
1050         operand. 
1051         (movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64): Change
1052         'o' to 'm' for GPR variant constraints.
1053
1054 Mon Aug 24 10:25:46 1998  Jeffrey A Law  (law@cygnus.com)
1055
1056         * loop.c (scan_loop): Honor AVOID_CC_MODE_COPIES.
1057
1058         * h8300.h (STRIP_NAME_ENCODING): Fix typo.
1059
1060         * sparc.md (TFmode splits): Use reg_overlap_mentioned_p to detect
1061         when the source and destination overlap.
1062
1063         * stmt.c (emit_case_nodes): Change rtx_function to rtx_fn to avoid
1064         clash with global type.
1065
1066 Mon Aug 24 00:53:53 1998  Jason Merrill  <jason@yorick.cygnus.com>
1067
1068         * fixinc.irix: Add curses.h handling from fixinc.wrap.
1069
1070         * c-common.c (combine_strings): Also set TREE_READONLY.
1071         Change warn_write_strings to flag_const_strings.
1072         * c-decl.c, c-tree.h: Likewise.
1073
1074 Sun Aug 23 18:39:11 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1075
1076         * config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
1077         CONST_INT, not a symbolic reference, don't use a HIGH/LO_SUM
1078         sequence, use SET/IOR instead so CSE can see it.
1079         * config/sparc/sparc.md (movhi_const64_special,
1080         movsi_const64_special): New patterns necessitated by that change.
1081         (movhi_high): Remove.
1082         (movhi_lo_sum): Change to match an IOR.
1083         (movdf_insn_sp32): Test TARGET_V9 not TARGET_ARCH64.
1084         (movdf_insn_v9only): New pattern for when V9 but not ARCH64.
1085         (movdf_insn_sp64): Test both TARGET_V9 and TARGET_ARCH64.
1086         (movdf splits): Allow when not V9 or when not ARCH64 and integer
1087         registers are involved.
1088         (snesi_zero_extend split): Remove reload_completed test.
1089         (unnamed plus and minus zero_extend sidi splits): Add it.
1090
1091 Sun Aug 23 11:56:08 1998  Mark Mitchell  <mark@markmitchell.com>
1092
1093         * extend.texi: Remove description of extension to explicit
1094         instantiation that is now endorsed by standard C++.
1095
1096 Sun Aug 23 09:39:09 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1097
1098         * config/arc/arc.c (arc_initialize_pic): Remove.
1099         * config/arc/arc.h (INITIALIZE_PIC): Similarly, this routine does
1100         nothing on any platform and is invoked by no-one, it does not even
1101         appear in the documentation.
1102         * config/sparc/sparc.h (INITIALIZE_PIC): Likewise.
1103         * config/sparc/sparc.c (initialize_pic): Likewise.
1104         (find_addr_reg): Remove this as well, no longer referenced after
1105         my rewrite.
1106
1107 Sun Aug 23 00:17:14 1998  Jeffrey A Law  (law@cygnus.com)
1108
1109         * recog.c (validate_replace_rtx_group): New function.
1110         * recog.h (validate_replace_rtx_group): Declare it.
1111         * regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
1112         the entire group of substitutions.
1113
1114 Sat Aug 22 23:31:00 1998  Klaus-Georg Adams  (Klaus-Georg.Adams@chemie.uni-karlsruhe.de)
1115
1116         * loop.c (load_mems): Fix initializers.
1117
1118 Fri Aug 21 23:07:46 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1119
1120         * config/sparc/sparc.md (TFmode splits): Handle destination
1121         registers being referenced in the address correctly.
1122
1123         * expmed.c (make_tree) [CONST_INT]: Sign extend even if
1124         TREE_UNSIGNED, when bitsize of type's mode is larger than
1125         HOST_BITS_PER_WIDE_INT.
1126
1127 Fri Aug 21 19:31:31 1998  Alexandre Petit-Bianco <apbianco@cygnus.com>
1128
1129         * tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
1130         * tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
1131         EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
1132         macros.
1133         * expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
1134         EXIT_BLOCK_EXPR.
1135
1136 Thu Aug 20 19:43:44 1998  Jeffrey A Law  (law@cygnus.com)
1137
1138         * h8300.c (h8300_encode_label): Use '&' for tiny data items.
1139         * h8300.h (TINY_DATA_NAME_P): Likewise.
1140         (STRIP_NAME_ENCODING): Handle '&'.
1141
1142         * mn10200.h (REG_OK_FOR_INDEX_P): Do not check the mode of the
1143         register (it could be accessed via an outer SUBREG).
1144         (REG_OK_FOR_BASE_P): Likewwise.
1145         (GO_IF_LEGITIMATE_ADDRESS): Consistently use REGNO_OK_FOR_BASE_P.
1146
1147         * remove.c (optimize_reg_copy_3): Abort instead of silently generating
1148         bogus rtl.
1149
1150         * jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative.
1151
1152 Thu Aug 20 17:35:20 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1153
1154         * config/sparc/sparc.md (movtf_insn_sp32): All memory operands
1155         must be offsettable so the splits can be made.
1156
1157 Thu Aug 20 13:56:53 1998  Michael Meissner  <meissner@cygnus.com>
1158
1159         * config/i386/winnt.c: Include system.h, not stdio.h to get
1160         sys/param.h pulled in before rtl.h in case the system defines MIN
1161         and MAX.
1162
1163 Thu Aug 20 13:44:20 1998  David Edelsohn  <edelsohn@mhpcc.edu>
1164
1165         * rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
1166
1167 Thu Aug 20 13:15:11 1998  Dave Brolley  <brolley@cygnus.com>
1168
1169         * stor-layout.c (layout_type): Compute TYPE_SIZE_UNIT correctly for
1170         arrays of bits.
1171         * cpplib.c (cpp_define): Handle macros with parameters.
1172
1173 Wed Aug 19 21:33:19 1998  David Edelsohn  <edelsohn@mhpcc.edu>
1174
1175         * rs6000.c (rs6000_output_load_toc_table): Use ld for 64-bit.
1176         (output_toc): Use single TOC slot or llong minimal-toc for DFmode
1177         and DImode 64-bit.  Use llong for minimal-toc SFmode and
1178         SYMBOL_REF / LABEL_REF 64-bit.
1179         (output_function_profiler): Use llong for profiler label and ld to
1180         load 64-bit label address.
1181
1182 Wed Aug 19 17:52:27 1998  Nick Clifton  (nickc@cygnus.com)
1183
1184         * config/arm/thumb.md (extendqisi2_insn): Cope with REG +
1185         OFFSET addressing.
1186
1187 Wed Aug 19 14:13:31 PDT 1998 Jeff Law  (law@cygnus.com)
1188
1189         * version.c: Bump for snapshot.
1190
1191 Wed Aug 19 13:10:30 PDT 1998 Jeff Law  (law@cygnus.com)
1192
1193         * version.c: Bump for snapshot.
1194
1195 Wed Aug 19 13:06:47 1998  Jason Merrill  <jason@yorick.cygnus.com>
1196
1197         * collect2.c (extract_init_priority): Use atoi instead of strtoul.
1198
1199 Wed Aug 19 13:51:35 1998  Hans-Peter Nilsson  <hp@axis.se>
1200
1201         * tm.texi (Misc): Fix typo "teh".
1202
1203         * tm.texi (PIC): Fix typo "PPIC".
1204
1205         * tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
1206         effect when -O2 and higher.
1207         * invoke.texi (Optimize Options): Likewise for -fcaller-saves.
1208
1209 1998-08-19  Michael Hayes  <michaelh@ongaonga.chch.cri.nz>
1210
1211         * regclass.c: Changed register set documentation to be consistent
1212         with GCC behaviour.
1213
1214         * final.c (final_start_function) Removed redundant test for
1215         call_fixed_regs.
1216
1217 Wed Aug 19 13:28:41 1998  Mark Mitchell  <mark@markmitchell.com>
1218
1219         * rtl.h (rtx_function): New type.
1220         (for_each_rtx): New function.
1221         * rtlanal.c (for_each_rtx): Define it.
1222         
1223         * recog.c (change_t): New type.
1224         (change_objects, change_old_codes, change_locs, change_olds):
1225         Replace with ...
1226         (changes): New variable.
1227         (validate_change): Dynamically allocate room for more changes, if
1228         necessary.  Uses changes array instead of change_objects, etc.
1229         (apply_change_group):  Use changes array instead of
1230         change_objects, etc.
1231         
1232         * loop.c (loop_mem_info): New type.
1233         (loop_mems): New variable.
1234         (loop_mems_idx): Likewise.
1235         (looop_mems_allocated): Likewise.
1236         (scan_loop): Remove nregs parameter.
1237         (next_insn_in_loop): New function.
1238         (load_mems_and_recount_loop_regs_set): Likewise.
1239         (load_mems): Likewise.
1240         (insert_loop_mem): Likewise.
1241         (replace_loop_mem): Likewise.
1242         (replace_label): Likewise.
1243         (INSN_IN_RANGE_P): New macro.
1244         (loop_optimize): Don't pass max_reg_num() to scan_loop.
1245         (scan_loop): Remove nregs parameter, compute it after any new
1246         registers are created by load_mems.  Use INSN_IN_RANGE_P and
1247         next_insn_in_loop rather than expanding them inline.  Call
1248         load_mems to load memory into pseudos, if appropriate.
1249         (prescan_loop): Figure out whether or not there are jumps from the
1250         loop to targets other than the label immediately following the
1251         loop.  Call insert_loop_mem to notice all the MEMs used in the
1252         loop, if it could be safe to pull MEMs into REGs for the duration
1253         of the loop.
1254         (strength_reduce): Use next_insn_in_loop.  Tweak comments.
1255
1256 Wed Aug 19 08:29:44 1998  Richard Earnshaw (rearnsha@arm.com)
1257
1258         * arm.c (arm_override_options): Remove lie about ignoring PIC flag.
1259
1260 Wed Aug 19 07:08:15 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1261
1262         * config/sparc/sparc.c (finalize_pic): Check for the correct
1263         nonlocal_goto_receiver UNSPEC number.
1264         * config/sparc/sparc.md (nonlocal_goto_receiver): Add comment
1265         making note of this dependency existing in sparc.c
1266         (negtf2_notv9 split): Give NEG SFmode.
1267         (negsf2): Fix insn output string.
1268         
1269 Tue Aug 18 12:40:27 1998  Richard Henderson  <rth@cygnus.com>
1270
1271         * c-common.c (decl_attributes): Issue an error if the argument
1272         to alias is not a string.
1273
1274 Tue Aug 18 10:33:30 1998  Jeffrey A Law  (law@cygnus.com)
1275
1276         * haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
1277         pending memory flush list.
1278
1279         * combine.c (can_combine_p): Allow combining insns with REG_RETVAL
1280         notes.
1281         (try_combine): Allow combining insns with REG_LIBCALL notes.
1282
1283         * expr.c (emit_block_move): Do not call memcpy as a libcall
1284         instead build up a CALL_EXPR and call it like any other
1285         function.
1286         (clear_storage): Similarly for memset.
1287
1288         * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
1289         on notes.
1290
1291         * Makefile.in (cplus-dem.o): Provide explicit rules for building
1292         cplus-dem.o
1293
1294         * regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
1295         and REG_LIVE_LENGTH as successful substitutions are made.
1296
1297 Tue Aug 18 07:15:27 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1298
1299         * config/sparc/sparc.c (ultra_find_type): Add empty semicolon
1300         statement after end of loop label.
1301
1302 Tue Aug 18 07:13:27 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1303
1304         * config/sparc/sparc.c (ultra_types_avail): New variable.
1305         (ultra_build_types_avail): New function to record mask of insn
1306         types in ready list at this cycle.
1307         (ultrasparc_sched_reorder): Call it.
1308         (ultra_find_type): Use it to quicken the search.  Also simplif
1309         dependency check, don't use rtx_equal_p because we know exactly
1310         what we are looking for.
1311
1312 Tue Aug 18 03:20:53 1998  Richard Earnshaw  (rearnsha@arm.com)
1313
1314         * arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling
1315         for architecture v4.
1316
1317 Mon Aug 17 21:26:38 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1318
1319         * config/sparc/sparc.md (sltu, sgeu): Don't FAIL, call
1320         gen_compare_reg.
1321         (movsf_const_intreg, movsf_const_high, movsf_const_lo,
1322         movdf_const_intreg and helper splits): New patterns to move float
1323         constants into integer registers.
1324         (negtf2, negdf2, abstf2, absdf2): Rework using new patterns and
1325         splits.
1326
1327 Mon Aug 17 11:46:19 1998  Jeffrey A Law  (law@cygnus.com)
1328
1329         * From Graham
1330         * tree.c (build_index_type): Copy TYPE_SIZE_UNIT from sizetype
1331         to itype.
1332         * c-decl.c (finish_enum): Copy TYPE_SIZ_UNIT from enumtype to tem.
1333
1334         * rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
1335         a BASE_REGS register is needed as an intermediate when copying
1336         a symbolic value into any register class other than BASE_REGS.
1337
1338         * expr.c (move_by_pieces): No longer static.  Remove prototype.
1339         * rtl.h (move_by_pieces): Add extern prototype.
1340         * mips.c (expand_block_move): Handle aligned straight line copy by
1341         calling move_by_pieces.
1342
1343         * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
1344         and VAR_DECLs.
1345
1346 Mon Aug 17 10:28:52 1998  Mark Mitchell  <mark@markmitchell.com>
1347
1348         * stmt.c (expand_end_loop): Tidy.  Allow unconditional
1349         jumps out of the loop to be treated as part of the exit test.
1350
1351 Mon Aug 17 10:06:11 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1352                           Jeff Law <law@cygnus.com>
1353
1354         * Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
1355         * cplus-dem.c: Delete.
1356
1357         * Makefile.in (fold-const.o): depend on $(RTL_H).
1358
1359         * fold-const.c: Include rtl.h to get the prototype for
1360         `set_identifier_local_value'.
1361
1362         * loop.c (express_from_1): Remove unused variable `tmp'.
1363         (combine_givs): cast the first argument of bzero to char *.
1364
1365         * toplev.c (display_help): Remove unused variable `looking_for_start'.
1366
1367         * c-decl.c (init_decl_processing): Remove unneeded &.
1368
1369         * alpha.h (alpha_initialize_trampoline): Provide prototype.
1370         
1371         * except.c (set_exception_lang_code, set_exception_version_code):
1372         Change parameter from `short' to `int' to avoid using a gcc
1373         extension.
1374
1375         * except.h (set_exception_lang_code, set_exception_version_code):
1376         Likewise for prototypes.
1377
1378         * flow.c (count_reg_references): Remove unused variables `regno'
1379         and `i'.
1380
1381         * gcse.c (hash_scan_insn): Declare parameter `in_libcall_block'.
1382
1383         * prefix.c (translate_name): Cast the result of `alloca'.
1384
1385         * varray.h (VARRAY_FREE): Reimplement as a `do-while(0)' statement.
1386
1387 Mon Aug 17 09:23:42 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1388
1389         * config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
1390         Include "toplev.h".
1391         (valid_dbcc_comparison_p): Mark mode argument as unused.
1392         (symbolic_operand): Likewise.
1393         (legitimize_pic_address): Likewise.
1394         (const_uint32_operand): Likewise.
1395         (const_sint32_operand): Likewise.
1396         * sched.c [!INSN_SCHEDULING]: Define only dummy function
1397         schedule_insns and comment out rest of file.
1398
1399         * m68k.c (output_move_simode_const): Use subl to move a zero into an
1400         address register.
1401         (output_move_[hq]imode): Likewise.
1402
1403 Mon Aug 17 09:15:47 1998  Jeffrey A Law  (law@cygnus.com)
1404
1405         * toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
1406         * invoke.texi: Corresponding changes.
1407
1408 Mon Aug 17 02:03:55 1998  Richard Henderson  <rth@cygnus.com>
1409
1410         * regclass.c (allocate_reg_info): Respect MIN when clearing data.
1411
1412 Sun Aug 16 17:37:06 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1413
1414         * config/sparc/sparc.c (ultra_code_from_mask,
1415         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
1416         ultra_find_type, ultra_schedule_insn, ultra_flush_pipeline,
1417         ultrasparc_sched_init, ultrasparc_variable_issue,
1418         ultra_rescan_pipeline_state, ultrasparc_sched_reorder): New
1419         functions to describe UltraSPARC pipeline exactly to Haifa.
1420         (ultrasparc_adjust_cost): Indicate IMUL type insns have zero cost,
1421         as there is nothing the scheduler can do about it.  Indicate that
1422         REG_DEP_OUTPUT's collide.  Fixup formatting.
1423         * config/sparc/sparc.h (RTX_COSTS): Fixup integer multiply and
1424         divide costs on Ultra for DImode.
1425         (MD_SCHED_INIT, MD_SCHED_REORDER, MD_SCHED_VARIABLE_ISSUE):
1426         Define.
1427         * config/sparc/sparc.md (ieu_unnamed function unit): Rename to
1428         ieuN and add call_no_delay_slot to type list.
1429         (cti function unit): New unit for branches on UltraSPARC.
1430         (subx/addx insns): Set type to misc.
1431         (sidi zero/sign extension insns on arch64): Set type to shift.
1432         (sign_extendhidi2_insn): Set type to sload.
1433
1434 Sun Aug 16 13:52:00 1998  David Edelsohn  <edelsohn@mhpcc.edu>
1435
1436         * rs6000.c (rs6000_stack_info): Use if == 0 for sizes.
1437         (output_epilog): Use if != 0 for offset.
1438         (rs6000_fatal_bad_address): Prepare for Intl.
1439         * rs6000.h (rs6000_fatal_bad_address): Declare.
1440         * rs6000.md (movsfcc, movdfcc): Use else if.
1441         (elf_high): Use {liu|lis}.
1442         (elf_low): Use {cal|la}.  Remove %a template from old mnemonics.
1443         (movsi): Use rs6000_fatal_bad_address.
1444         
1445 Sun Aug 16 01:53:21 1998  Richard Henderson  <rth@cygnus.com>
1446
1447         * reload.c (find_equiv_reg): Reject equivalences separated
1448         by a volatile instruction.
1449
1450 Sun Aug 16 00:21:44 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 
1451
1452         * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.
1453
1454 Sat Aug 15 20:51:35 1998  Richard Henderson  <rth@cygnus.com>
1455
1456         * alpha.md (movsicc): Fix mode mismatch.
1457
1458 Sat Aug 15 20:22:33 1998  H.J. Lu  (hjl@gnu.org)
1459
1460         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated
1461         return type.
1462         * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.
1463
1464 Sat Aug 15 08:39:49 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1465
1466         * config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove
1467         write-only modifier from operand 1 constraint.
1468
1469 Sat Aug 15 06:28:19 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1470
1471         * config/sparc/sparc.c (sparc_emit_set_const64_quick1): If
1472         emitting a XOR of -1 at the end, emit a NOT instead for combine's
1473         sake.
1474         (sparc_emit_set_const64): Likewise, also when computing trailing
1475         bits do not negate low_bits and make fast_int an int.
1476
1477 Fri Aug 14 21:07:03 1998  Jeffrey A Law  (law@cygnus.com)
1478
1479         * loop.c (add_label_notes): Do not ignore references to labels
1480         before dispatch tables.  Mirrors Apr 8 change to mark_jump_label.
1481         * gcse.c (add_label_notes): Similarly.
1482
1483         * pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.
1484
1485         * m68k.md (adddi_dilshr32): One of the operands must be a register.
1486         (adddi_dishl32): Similarly.
1487
1488 Fri Aug 14 14:12:59 1998  Jason Merrill  <jason@yorick.cygnus.com>
1489
1490         * i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
1491         * alias.c (memrefs_conflict_p): Add braces to shut up warnings.
1492         * cse.c (cse_basic_block): Add parens to shut up warnings.
1493
1494 Fri Aug 14 12:58:21 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1495
1496         * config/sparc/sparc.c (sparc_emit_set_const64_quick2,
1497         sparc_emit_set_const64_longway, const64_is_2insns,
1498         create_simple_focus_bits, sparc_emit_set_const64): Fix more bugs
1499         in 64-bit constant formation.
1500         * config/sparc/sparc.md (snesi_zero_extend split): Generate
1501         rtl for addx not subx.
1502         (define_insn movdi_const64_special): Make available even when
1503         HOST_BITS_PER_WIDE_INT is not 64.
1504         (movdi_lo_sum_sp64_cint, movdi_high_sp64_cint): Remove.
1505         (losum_di_medlow, sethm, setlo): Make op2 symbolic_operand.
1506         (cmp_siqi_trunc_set, cmp_diqi_trunc_set): Encapsulate both
1507         instances of operand 1 inside a QI subreg.
1508         (xordi3_sp64_dbl): Remove '%' constraint for op1.
1509         (one_cmpldi2_sp64): Fix output string.
1510         (one_cmplsi2_not_liveg0): Rewrite to remove unneeded extra
1511         alternative case.
1512         (unnamed arch64 ashift DI): Truncate shift count if greater than
1513         63, not 31.
1514
1515 Fri Aug 14 21:52:53 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1516
1517         * expr.c (store_expr): Don't optimize away load-store pair
1518         when either source or destination have a side effect.
1519
1520 Fri Aug 14 16:50:10 1998  John Carr  <jfc@mit.edu>
1521
1522         * genrecog.c (add_to_sequence): Fatal error if the modes of the
1523         operands of SET are incompatible.
1524
1525         * alpha.md: Fix max and min patterns so modes of SET operands match.
1526
1527 Fri Aug 14 12:22:55 1998  Ian Lance Taylor  <ian@cygnus.com>
1528
1529         * configure.in: Avoid [[ by using test and changequote.
1530         * configure: Rebuild.
1531
1532 Fri Aug 14 01:22:31 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1533
1534         * rtl.def (CONSTANT_P_RTX): Fix typo in string name.
1535
1536         * config/sparc/sparc.md (seqdi_special_trunc, snedi_special_trunc,
1537         seqsi_special_extend, snesi_special_extend, snesi_zero_extend and
1538         split, snedi_zero_trunc and split, seqsi_zero_extend and split,
1539         seqdi_zero_trunc and split, pic_lo_sum_di, pic_sethi_di,
1540         movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc, addx_extend_sp32 and
1541         split, addx_extend_sp64, subx_extend_sp64, subx_extend and split):
1542         Fix mismatching modes in SET operands.
1543         (conditional move patterns): Fix formatting.
1544         (unnamed subx arch64 pattern): Remove duplicate insn.
1545         
1546 Fri Aug 14 00:34:34 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1547
1548         * config/sparc/sparc.c (const64_operand, const64_high_operand):
1549         Get it right when HOST_BITS_PER_WIDE_INT is not 64.
1550         (input_operand): Fixup test for what we accept for constant
1551         integers.
1552         (sparc_emit_set_const32, sparc_emit_set_symbolic_const64): Give
1553         set VOIDmode.
1554         (safe_constDI): Remove.
1555         (sparc_emit_set_safe_HIGH64, gen_safe_SET64, gen_safe_OR64,
1556         gen_safe_XOR64): New functions.
1557         (sparc_emit_set_const64_quick1, sparc_emit_set_const64_quick2,
1558         sparc_emit_set_const64_longway, sparc_emit_set_const64): Use
1559         them.
1560         * config/sparc/sparc.md (define_insn xordi3_sp64_dbl): Only make
1561         available when HOST_BITS_PER_WIDE_INT is not 64.
1562         (define_insn movdi_sp64_dbl, movdi_const64_special): Likewise and
1563         move before movdi_insn_sp64 pattern.
1564         (define_insn movdi_lo_sum_sp64_dbl, movdi_high_sp64_dbl): Remove.
1565         (define_insn sethi_di_medlow, seth44, setm44, sethh): Use
1566         symbolic_operand as predicate for second operand.
1567         (DImode minus split on arch32, negsi2 expander, one_cmplsi2
1568         expander): Give set VOIDmode.
1569         
1570 Fri Aug 14 01:45:06 1998  Mumit Khan  <khan@xraylith.wisc.edu>
1571
1572         * i386/cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
1573
1574 Fri Aug 14 01:40:21 1998  Geoffrey Keating  <geoffk@ozemail.com.au>
1575
1576         * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.
1577
1578 Fri Aug 14 01:23:23 1998  Richard Earnshaw (rearnsha@arm.com)
1579
1580         * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating 
1581         point.
1582         (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.
1583
1584 Fri Aug 14 01:19:08 1998  Robert Lipe  <robertl@dgii.com>
1585
1586         * install.texi: Various SCO OpenServer tweaks.
1587
1588 Thu Aug 13 20:14:40 1998  Jim Wilson  <wilson@cygnus.com>
1589
1590         * reload1.c (eliminate_regs_in_insn): Handle another case when
1591         eliminating the frame pointer to the hard frame pointer.  Add
1592         missing ep->to_rtx check to one existing case.
1593
1594         * mips/mips.md (movhi_internal2+2): Fix typo mem:SI -> mem:HI.
1595
1596 Thu Aug 13 17:08:11 1998  Jason Merrill  <jason@yorick.cygnus.com>
1597
1598         * tree.h: De-conditionalize init_priority code.
1599
1600         * mips.h (NM_FLAGS): Change from -Bp to -Bn.
1601         * collect2.c (NM_FLAGS): Change from -p to -n.
1602
1603         * configure.in: Turn on collect2 for mipstx39-elf.
1604         Handle use_collect2=no properly.
1605
1606         * c-common.c: De-conditionalize init_priority code.
1607         * collect2.c (extract_init_priority, sort_ids): New fns.
1608         (main): Call sort_ids.
1609         Move sequence_number to file scope.
1610
1611         * configure.in: Handle --enable-init-priority.
1612         * c-common.c (attrs): Add A_INIT_PRIORITY.
1613         (init_attributes, decl_attributes): Likewise.
1614         * tree.h (DEFAULT_INIT_PRIORITY, MAX_INIT_PRIORITY): New macros.
1615         * tree.c (get_file_function_name_long): Split out...
1616         (get_file_function_name): ...from here.
1617
1618 Thu Aug 13 16:09:53 1998  Martin von Loewis  <loewis@informatik.hu-berlin.de>
1619
1620         * expr.c (safe_from_p): Change code to ERROR_MARK only when not
1621         accessing nodes.
1622
1623 Thu Aug 13 15:24:48 1998  Jason Merrill  <jason@yorick.cygnus.com>
1624
1625         * toplev.c (display_help): Add braces to shut up warnings.
1626         * tree.c (simple_cst_equal): Likewise.
1627
1628         * fold-const.c (non_lvalue): Don't deal with null pointer 
1629         constants here.
1630         (fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
1631
1632         * c-typeck.c (initializer_constant_valid_p): Allow conversion of 0
1633         of any size to a pointer.
1634
1635 Thu Aug 13 12:53:13 1998  Jim Wilson  <wilson@cygnus.com>
1636
1637         * i386/winnt.c (i386_pe_asm_file_end): Check TREE_SYMBOL_REFERENCED.
1638
1639 Wed Aug 12 17:25:18 1998  Jeffrey A Law  (law@cygnus.com)
1640
1641         * mn10300.c (REG_SAVE_BYTES): Only reserve space for registers
1642         which will be saved.
1643         * mn10300.md (prologue insn): Only save registers which need saving.
1644         (epilogue insn): Similarly.
1645
1646         * mn10300.c, mn10300.h, mn10300.md: Remove "global zero register"
1647         optimizations.
1648
1649 Wed Aug 12 12:39:16 1998  Gavin Romig-Koch  <gavin@cygnus.com>
1650
1651         * mips/mips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for
1652         VAR_DECL's in gp addressable sections.
1653
1654 Tue Aug 11 23:02:31 1998  John Carr  <jfc@mit.edu>
1655
1656         * sparc.c: Change return <exp> to <exp>; return; in functions
1657         returning void.
1658         * sparc.md: Add empty semicolon statement after final label in
1659         move expanders.
1660
1661 Tue Aug 11 22:42:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1662
1663         * config/sparc/sparc.md (define_insn addx_extend): Rename to
1664         addx_extend_sp64, only allow when TARGET_ARCH64.
1665         (define_insn addx_extend_sp32 and split): Version that works when
1666         not TARGET_ARCH64.
1667         (define_insn subx_extend): Likewise.
1668         (define_split adddi3 and subdi3 with zero extension): Fixup and
1669         correct bugs when not TARGET_ARCH64.
1670
1671 Tue Aug 11 16:04:34 1998  John Carr  <jfc@mit.edu>
1672
1673         * except.c (set_exception_lang_code, set_exception_version_code):
1674         Use prototype-style definition if __STDC__, to match declaration
1675         in except.h.
1676
1677         * genemit.c: Change FAIL and DONE macros not to use loops.
1678
1679 Tue Aug 11 12:27:03 1998  Jim Wilson  <wilson@cygnus.com>
1680
1681         * dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use
1682         ASM_OUTPUT_DWARF2_ADDR_CONST if defined.
1683
1684         * mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.
1685
1686 Tue Aug 11 18:12:53 1998  Dave Love  <d.love@dl.ac.uk>
1687
1688         * README.g77: Update from Craig.
1689
1690 Tue Aug 11 04:46:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1691
1692         * config/sparc/sparc.c (sparc_emit_set_const32): INTVAL is of
1693         type HOST_WIDE_INT.
1694         (safe_constDI sparc_emit_set_const64_quick1,
1695         sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
1696         analyze_64bit_constant, const64_is_2insns,
1697         create_simple_focus_bits): Fix some bugs when compiled on real
1698         64-bit hosts.
1699         (function_arg_record_value_3, function_arg_record_value_2,
1700         function_arg_record_value): Add fully prototyped forward decls.
1701         * config/sparc/sparc.md (define_insn cmpsi_insn_sp32): Rename back
1702         to cmpsi_insn and use on both 64 and 32 bit targets.
1703         (define_insn cmpsi_insn_sp64): Remove.
1704         (define_expand zero_extendsidi2): Allow for 32-bit target too.
1705         (define_insn zero_extendsidi2_insn): Rename to
1706         zero_extendsidi2_insn_sp64.
1707         (define_insn zero_extendsidi2_insn_sp32): New pattern and
1708         assosciated forced split for it.
1709
1710         * config/sparc/sparc.c (const64_operand, const64_high_operand):
1711         New predicates.
1712         * config/sparc/sparc.h: Declare them.
1713         (PREDICATE_CODES): Add them.
1714         * config/sparc/sparc.md (movdi_lo_sum_sp64_dbl,
1715         movdi_high_sp64_dbl, xordi3_sp64_dbl): Use them.
1716
1717 Mon Aug 10 22:57:24 1998  John Carr  <jfc@mit.edu>
1718
1719         * config/sparc/sparc.md (define_insn jump): Output ba,pt not b,pt
1720         in v9 case as the latter makes the Solaris assembler crash.
1721
1722 Mon Aug 10 22:39:09 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1723
1724         * config/sparc/sparc.c (input_operand): Do not accept a LO_SUM MEM
1725         for TFmode when !v9.  We require offsettable memory addresses.
1726         * config/sparc/sparc.h (ALTER_HARD_SUBREG): Handle TFmode to
1727         DFmode register number conversions.
1728         * config/sparc/sparc.md (define_split DFmode moves): If register
1729         is a SUBREG do alter_subreg on it before using.
1730         (define_expand movtf): Fixup comment about alignment on v9.
1731         (define_split TFmode moves): Don't use gen_{high,low}part, create
1732         explicit SUBREGs instead.
1733
1734 Mon Aug 10 19:02:55 1998  John Carr  <jfc@mit.edu>
1735
1736         * Makefile.in (mbchar.o): Depend on mbchar.c.
1737
1738 Mon Aug 10 04:28:13 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1739                           Richard Henderson  <rth@cygnus.com>
1740         
1741         Rewrite Sparc backend for better code generation and
1742         improved sparc64 support.
1743         * config/sparc/sp64-elf.h: Set JUMP_TABLES_IN_TEXT_SECTION to
1744         zero.
1745         * config/sparc/sysv4.h: Likewise.
1746         * config/sparc/sparc.c (v8plus_regcmp_p, sparc_operand,
1747         move_operand, v8plus_regcmp_op, emit_move_sequence,
1748         singlemove_string, doublemove_string, mem_aligned_8,
1749         output_move_double, output_move_quad, output_fp_move_double,
1750         move_quad_direction, output_fp_move_quad, output_scc_insn):
1751         Remove.
1752         (small_int_or_double): New predicate.
1753         (gen_compare_reg): Remove TARGET_V8PLUS cmpdi_v8plus emission.
1754         (legitimize_pic_address): Emit movsi_{high,lo_sum}_pic instead of
1755         old pic_{sethi,lo_sum}_si patterns.
1756         (mem_min_alignment): New generic function to replace
1757         mem_aligned_8, which uses REGNO_POINTER_ALIGN information when
1758         available and can test for arbitrary alignments.  All callers
1759         changed.
1760         (save_regs, restore_regs, build_big_number,
1761         output_function_prologue, output_cbranch, output_return,
1762         sparc_flat_save_restore, sparc_flat_output_function_prologue,
1763         sparc_flat_output_function_epilogue): Prettify
1764         insn output.
1765         (output_function_epilogue): Likewise and add code to output
1766         deferred case vectors.
1767         (output_v9branch): Likewise, add new arg INSN and use it to tack
1768         on branch prediction settings.  All callers changed.
1769         (print_operand): Likewise and output %l44 for LO_SUMs when
1770         TARGET_CM_MEDMID.
1771         (sparc_splitdi_legitimate): New function to make sure DImode
1772         splits can be run properly when !arch64.
1773         (sparc_initialize_trampoline, sparc64_initialize_trampoline):
1774         Reformat example code in comments.
1775         (set_extends): Remove UNSPEC/v8plus_clear_high case.
1776         (sparc_addr_diff_list, sparc_addr_list): New statics to keep track
1777         of deferred case vectors we need to output.
1778         (sparc_defer_case_vector): Record a case vector.
1779         (sparc_output_addr_vec, sparc_output_addr_diff_vec,
1780         sparc_output_deferred_case_vectors): New functions to output them.
1781         (sparc_emit_set_const32): New function to form 32-bit constants in
1782         registers when that requires more than one instruction.
1783         (safe_constDI, sparc_emit_set_const64_quick1,
1784         sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
1785         analyze_64bit_constant, const64_is_2insns,
1786         create_simple_focus_bits, sparc_emit_set_const64): New functions
1787         which do the same for 64-bit constants when arch64.
1788         (sparc_emit_set_symbolic_const64): New function to emit address
1789         loading for all code models on v9.
1790         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Do not make
1791         %g1 fixed when arch64, unfix %g0 when TARGET_LIVE_G0.
1792         (ALTER_HARD_SUBREG): Fix thinko, return REGNO + 1 not 1.
1793         (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS): Fix
1794         inaccuracies in comments, add symbolic and text_segment operands
1795         when TARGET_CM_MEDANY and TARGET_CM_EMBMEDANY respectively.  Use
1796         GENERAL_REGS in these cases as a temp REG is needed to load these
1797         addresses into a register properly.
1798         (EXTRA_CONSTRAINT): Document more accurately, remove Q case as it
1799         is no longer used.
1800         (GO_IF_LEGITIMATE_ADDRESS): Allow TFmode for LO_SUM on v9 since fp
1801         quads are guarenteed to have 16-byte alignment.
1802         (LEGITIMIZE_ADDRESS): For SYMBOL_REF, CONST, and LABEL_REF use
1803         copy_to_suggested_reg instead of explicit LO_SUM and HIGH.
1804         (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC): New macros for
1805         deferred case vector implementation.
1806         (ASM_OUTPUT_ADDR_VEC_ELT): Use fputc to output newline.
1807         (ASM_OUTPUT_ADDR_DIFF_ELT): Parenthesize LABEL in macro calls.
1808         Generate "internal label - label" instead of "label - 1b".
1809         (PRINT_OPERAND_ADDRESS): For LO_SUM use %l44 on TARGET_CM_MEDMID.
1810         (PREDICATE_CODES): Remove sparc_operand, move_operand,
1811         v8plus_regcmp_op.  Add small_int_or_double, input_operand, and
1812         zero_operand.
1813         (doublemove_string, output_block_move, output_fp_move_double,
1814         output_fp_move_quad, output_move_double, output_move_quad,
1815         output_scc_insn, singlemove_string, mem_aligned_8, move_operand,
1816         sparc_operand, v8plus_regcmp_op, v8plus_regcmp_p): Remove externs.
1817         (sparc_emit_set_const32, sparc_emit_set_const64,
1818         sparc_emit_set_symbolic_const64, input_operand, zero_operand,
1819         mem_min_alignment, small_int_or_double): Add externs.
1820         * config/sparc/sparc.md: Document the many uses of UNSPEC and
1821         UNSPEC_VOLATILE in this backend.
1822         (define_function_unit ieu): Rename to ieu_unnamed.  Add move and
1823         unary to types which execute in it.
1824         (define_function_unit ieu_shift): Rename to ieu0.
1825         (define_function_unit ieu1): New, executes compare, call, and
1826         uncond_branch type insns.
1827         (define_function_units for type fdivs, fdivd, fsqrt): These
1828         execute in the fpu multiply unit not the adder on UltraSparc.
1829         (define_expand cmpdi): Disallow TARGET_V8PLUS.
1830         (define_insn cmpsi_insn): Rename to cmpsi_insn_sp32.
1831         (define_insn cmpsi_insn_sp64): New, same as sp32 variant except it
1832         allows the arith_double_operand predicate and rHI constraint when
1833         TARGET_ARCH64.
1834         (define_insn cmpdi_sp64, cmpsf_fpe, cmpdf_fpe, cmptf_fpe,
1835         cmpsf_fp, cmpdf_fp, cmptf_fp, sltu_insn, neg_sltu_insn,
1836         neg_sltu_minux_x, neg_sltu_plus_x, sgeu_insn, neg_sgeu_insn,
1837         sltu_plus_x, sltu_plus_x, sltu_plus_x_plus_y, x_minus_sltu,
1838         sgeu_plus_x, x_minus_sgeu, movqi_cc_sp64, movhi_cc_sp64,
1839         movsi_cc_sp64, movdi_cc_sp64, movsf_cc_sp64, movdf_cc_sp64,
1840         movtf_cc_sp64, movqi_cc_reg_sp64, movhi_cc_reg_sp64,
1841         movsi_cc_reg_sp64, movdi_cc_reg_sp64, movsf_cc_reg_sp64,
1842         movdf_cc_reg_sp64, movtf_cc_reg_sp64, zero_extendhisi2_insn,
1843         cmp_siqi_trunc, cmp_siqi_trunc_set, sign_extendhisi2_insn,
1844         sign_extendqihi2_insn, sign_extendqisi2_insn,
1845         sign_extendqidi2_insn, sign_extendhidi2_insn,
1846         extendsfdf2, extendsftf2, extenddftf2, truncdfsf2, trunctfsf2,
1847         trunctfdf2, floatsisf2, floatsidf2, floatsitf2, floatdisf2,
1848         floatdidf2, floatditf2, fix_truncsfsi2, fix_truncdfsi2,
1849         fix_trunctfsi2, fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2,
1850         adddi3_sp64, addsi3, cmp_ccx_plus, cmp_cc_plus_set, subdi_sp64,
1851         subsi3, cmp_minus_ccx, cmp_minus_ccx_set, mulsi3, muldi3,
1852         muldi3_v8plus, cmp_mul_set, mulsidi3, mulsidi3_v8plus,
1853         const_mulsidi3_v8plus, mulsidi3_sp32, const_mulsidi3,
1854         smulsi3_highpart_v8plus, unnamed subreg mult,
1855         const_smulsi3_highpart_v8plus, smulsi3_highpart_sp32,
1856         const_smulsi3_highpart, umulsidi3_v8plus, umulsidi3_sp32,
1857         const_umulsidi3, const_umulsidi3_v8plus, umulsi3_highpart_v8plus,
1858         const_umulsi3_highpart_v8plus, umulsi3_highpart_sp32,
1859         const_umulsi3_highpart, divsi3, divdi3, cmp_sdiv_cc_set, udivsi3,
1860         udivdi3, cmp_udiv_cc_set, smacsi, smacdi, umacdi, anddi3_sp64,
1861         andsi3, and_not_di_sp64, and_not_si, iordi3_sp64, iorsi3,
1862         or_not_di_sp64, or_not_si, xordi3_sp64, xorsi3, xor_not_di_sp64,
1863         xor_not_si, cmp_cc_arith_op, cmp_ccx_arith_op,
1864         cmp_cc_arith_op_set, cmp_ccx_arith_op_set, cmp_ccx_xor_not,
1865         cmp_cc_xor_not_set, cmp_ccx_xor_not_set, cmp_cc_arith_op_not,
1866         cmp_ccx_arith_op_not, cmp_cc_arith_op_not_set,
1867         cmp_ccx_arith_op_not_set, negdi2_sp64, cmp_cc_neg, cmp_ccx_neg,
1868         cmp_cc_set_neg, cmp_ccx_set_neg, one_cmpldi2_sp64, cmp_cc_not,
1869         cmp_ccx_not, cmp_cc_set_not, cmp_ccx_set_not, addtf3, adddf3,
1870         addsf3, subtf3, subdf3, subsf3, multf3, muldf3, mulsf3,
1871         muldf3_extend, multf3_extend, divtf3, divdf3, divsf3, negtf2,
1872         negdf2, negsf2, abstf2, absdf2, abssf2, sqrttf2, sqrtdf2, sqrtsf2,
1873         ashlsi3, ashldi3, unnamed DI ashift, cmp_cc_ashift_1,
1874         cmp_cc_set_ashift_1, ashrsi3, ashrdi3, unnamed DI ashiftrt,
1875         ashrdi3_v8plus, lshrsi3, lshrdi3, unnamed DI lshiftrt,
1876         lshrdi3_v8plus, tablejump_sp32, tablejump_sp64, call_address_sp32,
1877         call_symbolic_sp32, call_address_sp64, call_symbolic_sp64,
1878         call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
1879         call_address_untyped_struct_value_sp32,
1880         call_symbolic_untyped_struct_value_sp32, call_value_address_sp32,
1881         call_value_symbolic_sp32, call_value_address_sp64,
1882         call_value_symbolic_sp64, branch_sp32, branch_sp64,
1883         flush_register_windows, goto_handler_and_restore,
1884         goto_handler_and_restore_v9, goto_handler_and_restore_v9_sp64,
1885         flush, all ldd/std peepholes, return_qi, return_hi, return_si,
1886         return_addsi, return_di, return_adddi, return_sf, all call+jump
1887         peepholes, trap, unnamed trap insns): Prettify output strings.
1888         (define_insn anddi3_sp32, and_not_di_sp32, iordi3_sp32,
1889         or_not_di_sp32, xordi3_sp32, xor_not_di_sp32, one_cmpldi2):
1890         Likewise and force + implement splits for integer cases.
1891         (define_insn return_sf_no_fpu): Likewise and allow to match when
1892         no-fpu because of our subreg SFmode splits.
1893         (define_insn zero_extendqihi2, zero_extendqisi2_insn,
1894         zero_extendqidi2_insn, zero_extendhidi2_insn,
1895         zero_extendsidi2_insn, sign_extendsidi2_insn): Likewise and use
1896         input_operand for second operand.
1897         (cmp_minus_cc, cmp_minus_cc_set): Likewise and use
1898         reg_or_0_operand for operand 2 so new splits can use it.
1899         (cmp_zero_extendqisi2, cmp_zero_extendqisi2_set, cmp_cc_plus,
1900         cmp_cc_xor_not): Likewise and don't forget to check TARGET_LIVE_G0
1901         too.
1902         (cmp_zero_extract, cmp_zero_extract_sp64): Likewise and allow
1903         CONST_DOUBLEs for operand 2.
1904         (define_insn move_label_di): Likewise and label distance
1905         optimization because it no longer works with new deferred case
1906         vector scheme.  To be revisited.
1907         (define_insn x_minus_y_minus_sltu, x_minus_sltu_plus_y): Likewise
1908         and allow reg_or_0_operand and J constraint for second operand.
1909         (define_insn jump): Set branch predict taken on V9.
1910         (define_insn tablejump): Emit LABEL_REF + PLUS memory address for
1911         new deferred case vector scheme.
1912         (define_insn pic_tablejump_32, pic_tablejump_64): Remove.
1913         (define_insn negdi2_sp32): Force + implement splits.
1914         (define_insn negsi2, one_cmplsi2): Rename to negsi2_not_liveg0 and
1915         one_cmplsi2_not_liveg0 respectively, and create expander of original
1916         names which emit special rtl for TARGET_LIVE_G0.
1917         (define_insn cmpdi_v8plus, scc_si, scc_di): Remove.
1918         (define_insn seq, sne, slt, sge, sle, sltu, sgeu): Don't do
1919         gen_compare_reg, FAIL instead.
1920         (define_insn sgtu, sleu): Likewise and check gen_s*() return
1921         values when trying to reverse condition codes, if they FAIL then
1922         do likewise.
1923         (define_insn snesi_zero, neg_snesi_zero, snesi_zero_extend,
1924         snedi_zero, neg_snedi_zero, snedi_zero_trunc, seqsi_zero,
1925         neg_seqsi_zero, seqsi_zero_extend, seqdi_zero, neg_seqdi_zero,
1926         seqdi_zero_trunc, x_plus_i_ne_0, x_minus_i_ne_0, x_plus_i_eq_0,
1927         x_minus_i_eq_0): Add new splits to perform these multi-insn cases,
1928         set output string to # to indicate they are mandatory splits.
1929         (define_insn pic_lo_sum_si, pic_sethi_si, pic_lo_sum_di,
1930         pic_sethi_di, move_pic_label_si): Remove.
1931         (define_insn movsi_low_sum, movsi_high, movsi_lo_sum_pic,
1932         movsi_high_pic, movsi_pic_label_reg): New patterns to take their
1933         place.
1934         (define_expand movsi_pic_label_ref, define_insn
1935         movsi_high_pic_label_ref, movsi_lo_sum_pic_label_ref): New
1936         expander and insns to handle PIC label references and deferred
1937         case vectors.
1938         (define_insn get_pc_via_rdpc): Comment out as it is no longer
1939         used.
1940         (define_expand movqi, movhi, movsi, movdi, movsf, movdf, movtf):
1941         Rewrite to not use emit_move_sequence, make use of new constant
1942         formation code, and new splits for all multi-insn cases.
1943         (define_insn movqi_insn): Remove sethi case, it can never happen.
1944         Use reg_or_zero_operand instead of const0_rtx explicit test,
1945         use input_operand instead of move_operand for source, and use
1946         general_operand now for dest.
1947         (define_insn movhi_insn): Similar but leave sethi case.
1948         (define_insn lo_sum_qi, store_qi, store_hi): Remove.
1949         (define_insn sethi_hi lo_sum_hi): Rename to movhi_high and
1950         movhi_lo_sum respectively, prettify output string.
1951         (define_insn movsi_zero_liveg0): New pattern to put zero into a
1952         register when needed on TARGET_LIVE_G0.
1953         (define_insn movsi_insn): Use general_operand and input_operand
1954         for dest and src respectively.  Simplify applicability test.
1955         Prettify output strings, and add clr alternative for J
1956         constraint.
1957         (define_insn movdi_sp32_v9, movdi_sp32, define_splits for
1958         deprecated std and reg-reg DI moves): Remove and...
1959         (define_insn movdi_insn_sp32, movdi_insn_sp64): Replace with new
1960         implementation which uses forced splits for all non-single insn
1961         cases.
1962         (define_split DI move cases on !arch64): New splits to handle all
1963         situations of 64-bit double register DImode on 32bit, and
1964         unaligned registers and memory addresses for all subtargets.
1965         (define_insn movsf_const_insn, movdf_const_insn, store_sf):
1966         Remove.
1967         (define_insn movsf_insn, movsf_no_f_insn): Use general_operand and
1968         input_operand for dest and src respectively, prettify output
1969         strings.
1970         (define_insn movdf_insn, movdf_no_e_insn, store_df,
1971         movtf_const_insn, movtf_insn, movtf_no_e_insn, store_tf): Remove
1972         and...
1973         (define_insn movdf_insn_sp32, movdf_no_e_insn_sp32,
1974         movdf_insn_sp64, movdf_no_e_insn_sp64, movtf_insn,
1975         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_sp64,
1976         movtf_no_e_insn_sp64) Replace with new
1977         implementation which uses forced splits for all non-single insn
1978         cases.
1979         (define_split DF move cases): New splits in similar vein to DI
1980         move counterparts.
1981         (define_insn sethi_di_medlow, sethi_di_medium_pic,
1982         sethi_di_embmedany_data, sethi_di_embmedany_text, sethi_di_sp64,
1983         movdi_sp64_insn): Remove old v9 code model and constant loading
1984         support insns and..
1985         (define_insn pic_lo_sum_di, pic_sethi_di,
1986         sethi_di_medlow_embmedany_pic, sethi_di_medlow, losum_di_medlow,
1987         seth44, setm44, setl44, sethh, setlm, sethm, setlo,
1988         embmedany_sethi, embmedany_losum, embmedany_brsum,
1989         embmedany_textuhi, embmedany_texthi, embmedany_textulo,
1990         embmedany_textlo, movdi_lo_sum_sp64_cint, movdi_lo_sum_sp64_dbl,
1991         movdi_high_sp64_cint, movdi_high_sp64_dbl): Replace with new
1992         scheme, using unspecs, secondary reloads, and one to one sparc
1993         insn to rtl insn mapping for better scheduling and code gen.
1994         (define_expand reload_indi, reload_outdi): Reload helpers for
1995         MEDANY and EMBMEDANY symbol address loading cases which require a
1996         temporary register.
1997         (define_expand movsicc): Remove v8plus_regcmp cases.
1998         (define_insn movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc,
1999         cmp_zero_extendqidi2, cmp_zero_extendqidi2_set, cmp_qidi_trunc,
2000         cmp_diqi_trunc_set): New patterns used by some of the new scc
2001         splits on arch64.
2002         (define_insn xordi3_sp64_dbl): New pattern used for constant
2003         formation when crossing from 32-bit targets.
2004         (define_insn movsi_cc_reg_v8plus, v8plus_clear_high, and helper
2005         split): Remove.
2006         (define_insn addx, subx): Make visible and prettify.
2007         (define_insn adddi3_insn_sp32): Likewise and force split.
2008         (define_insn addx_extend, subx_extend, unnamed): New patterns for
2009         64bit scc split usage.
2010         (define_insn unnamed plusDI zero_extend, unnamed minusDI
2011         zero_extend, subdi3): Force and implement splits.
2012         
2013         * final.c (final_scan_insn): Don't output labels if target
2014         specifies ASM_OUTPUT_ADDR_{DIFF}_VEC.  Do these macro operations
2015         instead.
2016         
2017         * reorg.c (dbr_schedule): When taking on BR_PRED notes at the end,
2018         don't forget to walk inside SEQUENCESs too as these are what the
2019         delay slot scheduler will create.
2020         
2021 Mon Aug 10 01:21:01 1998  Richard Henderson  <rth@cygnus.com>
2022
2023         * alpha.md (extxl+1,+2): New patterns to work around
2024         combine lossage.
2025
2026 Sat Aug  8 19:20:22 1998 Gary Thomas (gdt@linuxppc.org)
2027
2028         * rs6000.c (rs6000_allocate_stack_space) Fix typo which
2029         caused bad assembly code to be generated.
2030
2031 Sat Aug  8 18:53:28 1998  Jeffrey A Law  (law@cygnus.com)
2032
2033         * netbsd.h: Fix typo.
2034
2035 Mon Aug  3 00:06:42 1998  Robert Lipe  <robertl@dgii.com> 
2036
2037         * config.sub: Fix typo.
2038
2039 Sun Aug  2 22:39:08 1998  Hans-Peter Nilsson  <hp@axis.se>
2040
2041         * invoke.texi (Environment Variables): Typo: Change "ascpects"
2042         into "aspects".
2043         (Running Protoize): Typo: Change "ther" into "other".
2044
2045 Sun Aug  2 00:42:50 1998  Jeffrey A Law  (law@cygnus.com)
2046
2047         * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
2048         * m68k/netbsd.h: Likewise.
2049         * ns32k/netbsd.h: Likewise.
2050         * sparc/netbsd.h: Likewise.
2051
2052 Sat Aug  1 17:59:30 1998  Richard Henderson  <rth@cygnus.com>
2053
2054         * ginclude/va-alpha.h (va_list): Use a typedef, not a define.
2055         * ginclude/va-clipper.h (va_list): Likewise.
2056
2057 Fri Jul 31 20:22:02 1998  Michael Meissner  <meissner@cygnus.com>
2058
2059         * rs6000.c (rs6000_override_options): If big endian and -Os, use
2060         load/store multiple instructions unless user overrides.
2061
2062 Fri Jul 31 17:08:59 1998  Jeffrey A Law  (law@cygnus.com)
2063
2064         * ns32k/netbsd.h: Fix typo.
2065
2066 Fri Jul 31 10:23:55 1998  Doug Evans  <devans@canuck.cygnus.com>
2067
2068         * m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
2069         labels with .debugsym if no parallel insns.
2070
2071 Thu Jul 30 19:15:53 1998  Richard Henderson  <rth@cygnus.com>
2072
2073         * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
2074         (fcmov): Remove ALPHA_TP_INSN patterns -- fcmov doesn't trap.
2075
2076 Thu Jul 30 19:50:15 1998  David Edelsohn  <edelsohn@mhpcc.edu>
2077
2078         * rs6000/x-aix43 (AR_FOR_TARGET_FLAGS): Delete.
2079         (AR_FOR_TARGET): Define.
2080
2081 Thu Jul 30 12:29:12 1998  Mark Mitchell  <mark@markmitchell.com>
2082
2083         * dyn-string.h: New file.
2084         * dyn-string.c: Likewise.
2085         * Makefile.in (OBJS): Add dyn-string.o.
2086         (dwarf2out.o): Add dyn-string.h dependency.
2087         (dyn-string.o): List dependencies.
2088         * dwarf2out.c: Include dyn-string.h.
2089         (ASM_NAME_TO_STRING): Use dyn_string_append, rather than strcpy.
2090         (addr_const_to_string): Take a dyn_string_t, not a char* as a
2091         prototype.  Use dyn_string_append rather than strcat, throughout.
2092         (addr_to_string): Use dyn_string_t.
2093
2094 Thu Jul 30 13:08:07 1998  Ken Raeburn  <raeburn@cygnus.com>
2095
2096         Function entry/exit profiling instrumentation:
2097         * expr.h (profile_function_entry_libfunc,
2098         profile_function_exit_libfunc): Declare new variables.
2099         * optabs.c: Define them here.
2100         (init_optabs): Initialize them.
2101         * tree.h (struct tree_decl): New flag
2102         no_instrument_function_entry_exit.
2103         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT): New accessor macro.
2104         * c-decl.c (duplicate_decls): Merge it.
2105         * c-common.c (enum attrs): New value A_NO_INSTRUMENT_FUNCTION.
2106         (init_attributes): Use it for "no_instrument_function".
2107         (decl_attributes): Handle it, for functions that have not yet been
2108         compiled.  Set decl flag.
2109         * flags.h (flag_instrument_function_entry_exit): Declare new
2110         variable.
2111         * toplev.c (flag_instrument_function_entry_exit): Define it here.
2112         (f_options): New option "instrument-functions".
2113         * function.h (struct function): New field instrument_entry_exit.
2114         * function.c (current_function_instrument_entry_exit): New
2115         variable.
2116         (push_function_context_to, pop_function_context_from): Save and
2117         restore.
2118         (expand_function_start): Set current_ variable, maybe emit return
2119         label and entry profile call.
2120         (expand_function_end): Maybe emit exit profile call.
2121
2122 Thu Jul 30 00:58:34 1998  Jeffrey A Law  (law@cygnus.com)
2123
2124         * i386.md (movqi): When optimizing a load of (const_int 1) into a
2125         NON_QI_REG_P, pretend the register is SImode.
2126
2127 Wed Jul 29 23:49:23 1998  Todd Vierling <tv@netbsd.org>
2128
2129         * configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
2130         Accept arm32 as arm, m68k4k as m68k, mipsle as mips-dec, and any
2131         manufacturer id for ns32k.
2132         * configure: Regenerated.
2133         * config/netbsd.h: When using ASM_WEAKEN_LABEL, make it global too.
2134         * config/t-netbsd: Don't compile libgcc1-test as the fns are in libc.
2135         * config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0.
2136         * config/m68k/netbsd.h: Same.
2137         * config/ns32k/netbsd.h: Same.
2138         * config/sparc/netbsd.h: Same.
2139
2140 Wed Jul 29 22:39:21 1998  Jeffrey A Law  (law@cygnus.com)
2141
2142         * unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO
2143         or UNROLL_COMPLETELY loop that starts with a jump to its
2144         exit code.
2145
2146 Wed Jul 29 22:18:14 1998  David Edelsohn  <edelsohn@mhpcc.edu>
2147
2148         * rs6000/rs6000.md (absdi2 define_split): Swap operands of MINUS.
2149         * rs6000/rs6000.c (mask64_operand): Use HOST_BITS_PER_WIDE_INT.
2150         (print_operand, case 'B'): Don't fall through.
2151         (print_operand, case 'S'): Correct mask begin/end computation.
2152         Use HOST_BITS_PER_WIDE_INT.
2153         * rs6000/rs6000.h (CPP_PREDEFINES): Define _LONG_LONG.
2154         (CONDITIONAL_REGISTER_USAGE): GPR13 fixed if TARGET_64BIT.
2155         * rs6000/aix41.h (CPP_PREDEFINES): Same.
2156         * rs6000/aix43.h (CPP_PREDEFINES): Same.
2157
2158 Wed Jul 29 11:47:10 1998  Nick Clifton  <nickc@cygnus.com>
2159
2160         * config/arm/thumb.md (extendqisi2_insn): Remove earlyclobber
2161         constraint from second alternative.
2162
2163 Tue Jul 28 23:29:04 1998  Jason Merrill  <jason@yorick.cygnus.com>
2164
2165         * configure.in: Fix --without/--disable cases for local-prefix, 
2166         gxx-include-dir and checking.
2167
2168 Tue Jul 28 22:01:23 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2169
2170         * configure.in (enable_haifa): Set by default for sparc64 too.
2171         configure: Rebuilt.
2172
2173 Tue Jul 28 23:29:04 1998  Jason Merrill  <jason@yorick.cygnus.com>
2174
2175         * i386/cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.
2176         * i386/winnt.c (associated_type): New fn.
2177         (i386_pe_valid_type_attribute_p): New fn.
2178         (i386_pe_check_vtable_importexport): Remove.
2179         (i386_pe_dllexport_p): Use associated_type.
2180         (i386_pe_dllimport_p): Likewise.
2181
2182         From Antonio M. O. Neto <anmendes@cruzeironet.com.br>:
2183         * i386.c (i386_valid_type_attribute_p): Also accept
2184         attributes for METHOD_TYPEs.
2185
2186 Tue Jul 28 23:17:39 1998  Peter Gerwinski <peter@gerwinski.de>
2187
2188         * tree.c (build_range_type): Copy TYPE_SIZE_UNIT.
2189
2190 Tue Jul 28 22:31:12 1998  Craig Burley  <burley@gnu.org>
2191
2192         * gcc.c: Fix commentary describing %g, %u, %U, and %O.
2193
2194         * gcc.c (do_spec_1): Fix handling of %g%O and %U%O to prevent
2195         them from generating a new base name for each occurence of
2196         a specific suffix.
2197
2198 1998-07-28  Vladimir N. Makarov  <vmakarov@cygnus.com>
2199
2200         * cse.c (cse_insn): Enable subsitution inside libcall only for REG,
2201         SUBREG, MEM.
2202         * rtlanal.c (replace_rtx): Prohibit replaces in CONST_DOUBLE. 
2203
2204
2205
2206         * cplus-dem.c (type_kind_t): New type.
2207         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
2208         on this paramter, rather than demangling the type again.
2209         (demangle_integral_value): Pass tk_integral.
2210         (demangle_template_: Pass the value returned from do_type.
2211         (do_type): Return a type_kind_t.  Pass tk_integral to
2212         demangle_template_value_parm for array bounds.
2213         (demangle_fund_type): Likewise.
2214         
2215 Mon Jul 27 00:54:41 1998  Jason Merrill  <jason@yorick.cygnus.com>
2216
2217         * tree.c (simple_cst_equal, case CONSTRUCTOR): OK if the elts are
2218         identical.
2219
2220 Mon Jul 27 22:18:36 1998  Jeffrey A Law  (law@cygnus.com)
2221
2222         * pa.c (move_operand): Accept CONSTANT_P_RTX.
2223
2224 Mon Jul 27 17:18:52 1998  Dave Brolley  <brolley@cygnus.com>
2225
2226         * stor-layout.c (layout_type): Handle arrays of bits, for Chill.
2227
2228         * expr.c (get_inner_reference): Handle zero-based, unsigned, array
2229         index conversion.
2230
2231 Mon Jul 27 14:51:33 1998  Jeffrey A Law  (law@cygnus.com)
2232
2233         * mn10300.h (DEBUGGER_AUTO_OFFSET): Define.
2234         (DEBUGGER_ARG_OFFSET): Likewise.
2235
2236         * mn10300.md (movsf): Remove last change.  Not needed.
2237
2238 Mon Jul 27 14:22:36 1998  Dave Brolley  <brolley@cygnus.com>
2239
2240         * c-lex.c (yylex): Fix boundary conditions in character literal and
2241         string literal loops.
2242
2243 Mon Jul 27 11:43:54 1998  Stan Cox  <scox@cygnus.com>
2244
2245         * longlong.h (count_leading_zeros): Sparclite scan instruction was
2246         being invoked incorrectly.
2247
2248         * i386.c (ix86_prologue): Added SUBTARGET_PROLOGUE invocation.
2249         * i386/cygwin32.h (STARTFILE_SPEC, LIB_SPEC, SUBTARGET_PROLOGUE): 
2250         Add -pg support. 
2251         * i386/win32.h: New file.  Hybrid mingw32.h/cygwin32.h configuration.
2252         * configure.in: Added i[34567]86-*-win32
2253         * config.sub: Ditto.
2254         * configure: Rebuilt.
2255         
2256 Sun Jul 26 01:11:12 1998  H.J. Lu  (hjl@gnu.org)
2257
2258         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Return 0 when eliminating
2259         the frame pointer and compiling PIC code and reload has not completed.
2260
2261         * i386.c (output_to_reg): Add code to emulate non-popping DImode
2262         case.
2263
2264 Sun Jul 26 01:01:32 1998  Jeffrey A Law  (law@cygnus.com)
2265
2266         * regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.
2267
2268 Sat Jul 25 23:29:23 1998  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2269
2270         * Makefile.in (install-info): Only try to update the info
2271         directory file if it exists in the first place.
2272
2273 Fri Jul 24 18:58:37 1998  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
2274
2275         * rs6000.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Delete.
2276
2277 Fri Jul 24 14:20:26 1998  Jeffrey A Law  (law@cygnus.com)
2278
2279         * mn10300.md (movqi, movhi, movsi, movsf): Correctly handle
2280         CONST_DOUBLE source.
2281
2282 Fri Jul 24 11:17:04 1998  Nick Clifton  <nickc@cygnus.com>
2283
2284         * config/arm/thumb.c (thumb_print_operand): Decode %_ in asm
2285         strings as the insertion of USER_LABEL_PREFIX.
2286         * config/arm/thumb.h (PRINT_OPERAND_PUNCT_VALID_P): Accept _ as a
2287         valid code.
2288         * config/arm/thumb.md: Use %_ as a prefix to gcc library function
2289         calls. 
2290
2291 Thu Jul 23 18:53:20 1998  Jim Wilson  <wilson@cygnus.com>
2292
2293         * dbxout.c (dbxout_range_type): Only call dbxout_type_index for
2294         already defined type.
2295
2296 Thu Jul 23 13:49:41 1998  Jeffrey A Law  (law@cygnus.com)
2297
2298         * expr.c (check_max_integer_computation_mode): Allow conversions
2299         of constant integers to MAX_INTEGER_COMPUTATION_MODE.
2300         (expand_expr): Likewise.
2301
2302 Thu Jul 23 11:12:06 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2303
2304         * expr.c (expand_expr): Expand RETURN_EXPR.
2305
2306 Thu Jul 23 11:00:29 1998  Jim Wilson  <wilson@cygnus.com>
2307
2308         * dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.
2309
2310 Wed Jul 22 19:10:00 1998  Catherine Moore  <clm@cygnus.com>
2311
2312         * dwarf2out.c (output_aranges):  Call stripattributes
2313         for TEXT_SECTION references.
2314         (output_line_info): Likewise.
2315
2316 Wed Jul 22 14:08:54 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2317
2318         * profile.c (branch_prob): Call allocate_reg_info after outputting
2319         profile rtl in instrument_arcs.
2320
2321 Wed Jul 22 12:47:49 1998  Jim Wilson  <wilson@cygnus.com>
2322
2323         * fixinc.irix (math.h): Install wrapper instead of copying.
2324
2325 Wed Jul 22 12:37:14 1998  Alexandre Petit-Bianco <apbianco@cygnus.com>
2326
2327         * tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
2328         so WFL are expanded correctly when contained in a COMPOUND_EXPR.
2329         * tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
2330         lang_flag_0. Added documentation in the flag table.
2331
2332 Tue Jul 21 23:28:35 1998  Klaus Kaempf <kkaempf@rmi.de>
2333
2334         * cccp.c (do_include): Fix vax c style include handling.
2335
2336 Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
2337
2338         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
2339
2340 Sun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
2341
2342         * fold-const.c (non_lvalue): Don't deal with null pointer 
2343         constants here.
2344         (fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
2345
2346 Tue Jul 21 15:49:31 1998  David Edelsohn  <edelsohn@mhpcc.edu>
2347
2348         * rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
2349         * rs6000.md (movsi, movdi): Add CONSTANT_P_RTX.
2350         * rs6000.c (short_cint_operand): Add CONSTANT_P_RTX.
2351         (u_short_cint_operand): Same.
2352         (reg_or_cint_operand): Same.
2353         (logical_operand): Same.
2354         (input_operand): Same.
2355         (reg_or_short_operand): Use u_short_cint_operand.
2356
2357 Tue Jul 21 08:56:42 1998  Richard Henderson  <rth@cygnus.com>
2358
2359         * alpha.md (fix_truncdfsi2, fix_truncsfsi2): Remove the define_expands,
2360         but keep the insns and splits.  Adjust so when the ultimate destination
2361         is memory, use cvtql.
2362
2363 Tue Jul 21 08:55:09 1998  Richard Henderson  <rth@cygnus.com>
2364
2365         * flow.c (regno_uninitialized): Fixed regs are never uninitialized.
2366
2367 Tue Jul 21 00:31:01 1998  Jeffrey A Law  (law@cygnus.com)
2368
2369         * gcc.c (do_spec): Call "error" not "warning".
2370
2371         * configure.in: Fix minor problems with gas feature detection code.
2372         * configure: Rebuilt.
2373
2374         * gcc.c (do_spec): Issue a warning for '%[]' usage.
2375
2376         * Undo this change.
2377         * gcc.c: Delete %[spec] support.
2378         (do_spec_1, case '('): Likewise.
2379         (do_spec_1, case '['): Call error.
2380
2381 Mon Jul 20 22:34:17 1998  Richard Henderson  <rth@cygnus.com>
2382
2383         * alpha.h (CPP_SPEC): Tidy.  Hook to cpp_cpu and cpp_subtarget.
2384         (CPP_SUBTARGET_SPEC): Default to empty string.
2385         (CPP_AM_*, CPP_IM_*, CPP_CPU_*, CPP_CPU_SPEC): New.
2386         (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): New.
2387         * alpha/elf.h (LD_SPEC): Use %(elf_dynamic_linker).
2388         * alpha/linux-elf.h (SUBTARGET_EXTRA_SPECS): New.
2389         (LIB_SPEC): Tidy.
2390         * alpha/linux.h (CPP_PREDEFINES): Tidy.
2391         * alpha/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): New.
2392         * alpha/netbsd.h (CPP_PREDEFINES): Tidy.
2393         * alpha/osf.h (CPP_PREDEFINES): Remove bits subsumed by CPP_CPU_SPEC.
2394         * alpha/win-nt.h (CPP_PREDEFINES): Likewise.
2395         * alpha/vsf.h (CPP_PREDEFINES): Likewise.
2396         (CPP_SUBTARGET_SPEC): New.  Do this instead of overriding CPP_SPEC.
2397         * alpha/vxworks.h: Likewise.
2398
2399 Mon Jul 20 22:51:57 1998  Ken Raeburn  <raeburn@cygnus.com>
2400
2401         * mips.md (reload_outsi): Added missing REGNO call.
2402         (smulsi3_highpart, umulsi3_highpart): Provide prototype for
2403         function pointer.
2404         (mul_acc_di, mul_acc_64bit_di): Don't use match_op_dup, use
2405         another match_operator and compare the codes.
2406
2407         * mips.h (MASK_DEBUG_E, MASK_DEBUG_I): Set to zero.
2408
2409         * MIPS multiply pattern fixes:
2410         * mips.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
2411         Add union classes for HI, LO, or HILO plus general registers.
2412         (GENERATE_MADD): Deleted.
2413         * mips.md (mulsi3_mult3): Don't disparage output-LO alternative.
2414         Add TARGET_MAD to condition.
2415         (mulsi3): Test HAVE_mulsi3_mult3, not specific flags.
2416         (mul_acc_si): Expand GENERATE_MADD here; it's the only use.  Use
2417         "*d" for accumulator, to give preference to LO initially but not
2418         during reload.
2419
2420 Mon Jul 20 16:16:38 1998  Dave Brolley  <brolley@cygnus.com>
2421
2422         * configure.in (enable_c_mbchar): New configure option.
2423         (extra_cpp_objs): Always available now.
2424
2425         * cexp.y (mbchar.h): #include it.
2426         (yylex): Handle Multibyte characters in character literals.
2427
2428         * cccp.c (mbchar.h): #include it.
2429         (main): Set character set based on LANG environment variable.
2430         (rescan): Handle multibyte characters in comments.
2431         (skip_if_group): See above.
2432         (validate_else): See above.
2433         (skip_to_end_of_comment): See above.
2434         (macarg1): See above.
2435         (discard_comments): See above.
2436         (rescan): Handle multibyte characters in string and character literals.
2437         (collect_expansion): See above.
2438         (skip_quoted_string): See above.
2439         (macroexpand): See above.
2440         (macarg1): See above.
2441         (discard_comments): See above.
2442         (change_newlines): See above.
2443
2444         * c-lex.c (mbchar.h): #include it.
2445         (GET_ENVIRONMENT): New macro.
2446         (init_lex): Set character set based on LANG environment variable.
2447         (yylex): Handle multibyte characters in character literals.
2448         (yylex): Handle multibyte characters in string literals.
2449
2450         * Makefile.in (mbchar.o): New target.
2451         (cccp$(exeext)): @extra_cpp_objs@ is always available.
2452         (cppmain$(exeext)): @extra_cpp_objs@ is always available.
2453
2454         * mbchar.[ch]: New files for multibyte character handling.
2455
2456 Mon Jul 20 01:11:11 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2457
2458         * jump.c (jump_optimize): When simplifying noop moves and
2459         PUSH_ROUNDING, fix thinko so we use same criterion for identifying
2460         the PUSHes to rewrite in second loop as we did in the first.
2461
2462 Sun Jul 19 08:23:53 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2463
2464         * cplus-dem.c (demangle_nested_args): Make function definition
2465         static to match the prototype.
2466
2467 Fri Jul 17 14:58:44 1998  Richard Henderson  <rth@cygnus.com>
2468
2469         * alloca.c: Respect USE_C_ALLOCA.
2470         * gencheck.c (xmalloc): Ignore __GNUC__ for definition.
2471         * gengenrtl.c (xmalloc): Likewise.
2472
2473 Fri Jul 17 14:18:14 1998  Richard Henderson  <rth@cygnus.com>
2474
2475         * loop.h (struct induction): Add no_const_addval.
2476         * loop.c (the_movables, reg_address_cost): New variables.
2477         (init_loop): Init reg_address_cost.
2478         (loop_optimize): Call end_alias_analysis.
2479         (scan_loop): Init the_movables.
2480         (record_giv): Init induction->no_const_addval.
2481         (basic_induction_var) [PLUS]: Use rtx_equal_p instead of ==.
2482         [REG]: Rearrange loop search test to catch more cases.
2483         (general_induction_var): Return success not benefit; take an extra
2484         argument for that.  Change all callers.
2485         (simplify_giv_expr) [PLUS]: Always combine invariants.  Use sge_plus.
2486         [MULT]: Use rtx_equal_p instead of ==.  Combine simple invariants.
2487         [default]: Search the_movables for additional combinations.
2488         (sge_plus_constant, sge_plus): New functions.
2489         (express_from_1): New function.
2490         (express_from): Always define.  Rewrite using express_from_1.
2491         (combine_givs_p): Handle more cases.  Ignore address cost.
2492         (cmp_combine_givs_stats): New function.
2493         (combine_givs_used_once, combine_givs_benefit_from): New functions.
2494         (combine_givs): Rewrite to do best-fit combination.
2495
2496         * fold-const.c (operand_equal_p): Handle RTL_EXPR.
2497         (fold): Do a complete (A*C)+(B*C) association check.
2498
2499 Fri Jul 17 11:21:55 1998  Jim Wilson  <wilson@cygnus.com>
2500
2501         * function.c (fixup_var_refs_insns): Handle CLOBBER of a CONCAT.
2502
2503 Fri Jul 17 11:48:55 1998  Jeffrey A Law  (law@cygnus.com)
2504
2505         * mn10300.c (MODES_TIEABLE_P): Fix typo.
2506
2507 Fri Jul 17 03:26:12 1998  Rihcard Earnshaw (rearnsha@arm.com)
2508
2509         * tree.c (valid_machine_attribute): Only create a new type variant if
2510         there is a decl to use it.
2511
2512 Thu Jul 16 14:48:04 1998  Nick Clifton  <nickc@cygnus.com>
2513
2514         * gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have
2515         a suffix.
2516
2517 Fri Jul 17 03:24:40 1998  Hans-Peter Nilsson  <hp@axis.se>
2518
2519         * extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may
2520         be deleted" 
2521
2522 Thu Jul 16 14:48:47 1998  Jeffrey A Law  (law@cygnus.com)
2523
2524         * mn10300.c (count_tst_insns): New arg oreg_countp.  Callers changed.
2525         Simplify tests for clearing an address register.
2526         (expand_prologue): Corresponding changes.
2527
2528         * mn10300.md (movXX patterns): Make sure the destination is an
2529         ADDRESS_REG when substituting "zero_areg" for (const_int 0).
2530         (logical patterns): Split into expanders + patterns
2531         (zero and sign extension patterns): Similarly.
2532         (shift patterns): Similarly.
2533
2534 Thu Jul 16 01:17:44 1998  Richard Henderson  <rth@cygnus.com>
2535
2536         * loop.c (emit_iv_add_mult): Scan the entire insn list generated
2537         for the sequence, recording base values.
2538
2539 Wed Jul 15 10:49:55 1998  Richard Henderson  <rth@cygnus.com>
2540
2541         * i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).
2542
2543 Tue Jul 14 14:15:30 1998  Nick Clifton  <nickc@cygnus.com>
2544
2545         * gcc.c: Remove ANSI-C ism from --help code.
2546
2547         * toplev.c: Support --help with USE_CPPLIB.
2548
2549 Tue Jul 14 14:46:08 1998  Jeffrey A Law  (law@cygnus.com)
2550
2551         * configure.in: Rework gas feature code to work with symlink based
2552         source trees.
2553
2554         * extend.texi: Clarify some issues related to local variables
2555         assigned to explicit registers.
2556
2557         * mn10300.md (mulsi): Turn into expander + pattern.
2558
2559         * mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
2560         alternative.
2561
2562 Tue Jul 14 07:41:59 1998  Richard Earnshaw (rearnsha@arm.com)
2563
2564         * arm/tcoff.h (USER_LABEL_PREFIX): Make it empty to match coff.h.
2565
2566 Tue Jul 14 03:02:44 1998  Jeffrey A Law  (law@cygnus.com)
2567
2568         * version.c: Bump again to distinguish mainline tree from the
2569         egcs-1.1 branch.
2570
2571 See ChangeLog.0 for earlier changes.
2572
2573 Local Variables:
2574 add-log-time-format: current-time-string
2575 End: