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