]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
config.sub: Add support for i[34567]86-pc-udk.
[gcc.git] / gcc / ChangeLog
CommitLineData
f0c76b51
JL
1Wed Sep 30 19:33:07 1998 Jeffrey A Law (law@cygnus.com)
2
3 * reorg.c (check_annul_list_true_false): Remove unused variables.
4 (steal_delay_list_from_target): Add missing "used_annul" variable.
5 (try_merge_delay_insns): Close out half formed comment.
6
6fa72945
ZW
7Wed Sep 30 19:13:20 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
8
aa90b111
ZW
9 * cpplib.c (macroexpand): If arg->raw_before or
10 arg->raw_after, remove any no-reexpansion escape at the
11 beginning of the pasted token. Correct handling of whitespace
12 markers and no-reexpand markers at the end if arg->raw_after.
13
6fa72945
ZW
14 * toplev.c (documented_lang_options): Recognize -include,
15 -imacros, -iwithprefix, -iwithprefixbefore.
16 * cpplib.c (cpp_start_read): Process -imacros and -include
17 switches at the same time and in command-line order, after
18 initializing the dependency-output code. Emit properly nested
19 #line directives for them. Emit a #line for the main file
20 before processing these switches, and don't do it again
21 afterward.
22
f7b6d104
RH
23Wed Sep 30 18:03:22 1998 Richard Henderson <rth@cygnus.com>
24
25 * function.c (purge_addressof_1): Use bitfield manipulation
26 routines to handle mem mode < reg mode.
27
96960d10
HB
28Wed Sep 30 18:43:32 1998 Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
29
30 * reorg.c (try_merge_delay_insns): Account for resources referenced
31 in each instruction in INSN's delay list before trying to eliminate
32 useless instructions. Similarly when looking at a trial insn's delay
33 slots.
34
35 * reorg.c (check_annul_list_true_false): New function.
36 (steal_delay_list_from_{target,fallthrough}): Call it and also
37 refine tests for when we may annul if already filled a slot.
38 (fill_slots_from_thread): Likewise.
39 (delete_from_delay_slot): Return newly-created thread.
40 (try_merge_delay_isns): Use its new return value.
41
c5cbf81e
JL
42Wed Sep 30 18:29:26 1998 Jeffrey A Law (law@cygnus.com)
43
44 * loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is
45 used to compute a giv or as some other non-counting use.
46
8d5c8167
JL
47Wed Sep 30 18:19:27 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
48
1e326708
MH
49 * regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
50 * local-alloc.c (find_free_reg): Use it.
51 * global.c (find_reg): Likewise.
52 * tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.
53
8d5c8167
JL
54 * regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
55 * caller-save.c (init_caller_save): Use it.
56 * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.
57
58Wed Sep 30 12:57:30 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81a440f
ZW
59
60 * configure.in: Add --enable-cpplib option which uses cpplib
61 for cpp, but doesn't link cpplib into cc1. Make help text
62 capitalization consistent.
63 * configure: Rebuilt.
64
95ca22f4
MM
65Wed Sep 30 10:09:39 1998 Mark Mitchell <mark@markmitchell.com>
66
67 * function.c (gen_mem_addressof): If the address REG is
68 REG_USERVAR_P make the new REG be so also.
69 * loop.c (scan_loop): Apply DeMorgan's laws and add documentation
70 in an attempt to clarify slightly.
71
ee06cc21
JL
72Wed Sep 30 09:57:40 1998 Jeffrey A Law (law@cygnus.com)
73
74 * expr.c (expand_expr): Handle COMPONENT_REF, BIT_FIELD_REF ARRAY_REF
75 and INDIRECT_REF in code to check MAX_INTEGER_COMPUTATION_MODE.
76
257441db
CM
77Wed Sep 30 10:13:39 1998 Catherine Moore <clm@cygnus.com>
78
79 * toplev.c: Fix last patch.
80
dc5737cf
JW
81Tue Sep 29 20:03:18 1998 Jim Wilson <wilson@cygnus.com>
82
83 * loop.c (get_condition): Fix typo in May 9 change.
84
89ed4e9d
AM
85Tue Sep 29 11:11:38 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
86
87 * invoke.texi (-fexceptions): Merge 2 different descriptions.
88
630962bf
KG
89Mon Sep 28 22:08:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
90
91 * toplev.c (documented_lang_options): Spelling corrections.
92
ab339d62
AO
93Mon Sep 28 19:41:24 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
94
95 * configure.in: new flags --with-ld and --with-as, equivalent
96 to setting LD and AS environment variables. Test whether
97 specified arguments are GNU commands, and report them with
98 checking messages. Use the specified AS for configure
99 tests too.
100 * configure: ditto
101 * acconfig.h: add DEFAULT_ASSEMBLER and DEFAULT_LINKER
102 * config.in: ditto
103 * gcc.c (find_a_file): when looking for `as' and `ld', return
104 the DEFAULT program if it exists
105 * collect2.c (main): use DEFAULT_LINKER if it exists
106
107 * gcc.c (find_a_file): the test for existence of a full
108 pathname was reversed
109
42820a49
MM
110Mon Sep 28 17:34:35 1998 Michael Meissner <meissner@cygnus.com>
111
112 * rs6000.h (ASM_OUTPUT_MI_THUNK): Only define on ELF systems.
113 * rs6000.c (output_mi_thunk): Always use a raw jump for now.
114
8ff0c1af
MM
115Mon Sep 28 14:24:03 1998 Mark Mitchell <mark@markmitchell.com>
116
117 * tree.h (TYPE_BINFO): Document.
118
9588f31b
SC
119Mon Sep 28 12:55:49 1998 Stan Cox <scox@cygnus.com>
120
121 * i386-coff.h (dbxcoff.h): Added.
122
fd868572
CM
123Mon Sep 28 12:51:00 1998 Catherine Moore <clm@cygnus.com>
124
125 * toplev.c: fix bad patch around flag_data_sections.
126
1f2b04b3
NC
127Mon Sep 28 10:32:28 1998 Nick Clifton <nickc@cygnus.com>
128
129 * reload1.c (reload): Use reload_address_index_reg_class and
130 reload_address_base_reg_class when setting
131 caller_save_spill_class. (Patch generated by Jim Wilson:
132 wilson@cygnus.com).
133
ece32014
MM
134Mon Sep 28 07:43:34 1998 Mark Mitchell <mark@markmitchell.com>
135
136 * c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs
137 and ARRAY_TYPEs. Tidy up. Improve support for type-punning.
138 * expr.c (store_field): Add alias_set parameter. Set the
139 MEM_ALIAS_SET accordingly, if the target is a MEM.
140 (expand_assignment): Use it.
141 (store_constructor_field): Pass 0.
142 (expand_expr): Likewise.
143
7d0756fb
CM
144Mon Sep 28 07:54:03 1998 Catherine Moore <clm@cygnus.com>
145
146 * flags.h: Add flag_data_sections.
147 * toplev.c: Add option -fdata-sections. Add flag_data_sections.
148 (compile_file): Error if flag_data_sections not supported.
149 * varasm.c (assemble_variable): Handle flag_data_sections.
150 * config/svr4.h: Modify prefixes for UNIQUE_SECTION_NAME.
151 * config/mips/elf.h: Likewise.
152 * config/mips/elf64.h: Likewise.
153 * invoke.texi: Describe -fdata-sections.
154
6fd74494
CB
155Mon Sep 28 04:15:44 1998 Craig Burley <burley@melange.gnu.org>
156
157 * invoke.texi (-ffloat-store): Clarify that this option
158 does not affect intermediate results -- only variables.
159
fcce5756
JL
160Mon Sep 28 04:11:35 1998 Jeffrey A Law (law@cygnus.com)
161
162 * cpp.texi: Update for Fortran usage from Craig.
163
2310f99a
DE
164Fri Sep 25 22:09:47 1998 David Edelsohn <edelsohn@mhpcc.edu>
165
166 * rs6000.c (function_arg_boundary): Revert accidental change on
167 September 18.
168
17167fd8
MM
169Fri Sep 25 20:30:00 1998 Michael Meissner <meissner@cygnus.com>
170
171 * rs6000.h (ASM_OUTPUT_MI_THUNK): Declare, call output_mi_thunk.
172 (output_mi_thunk): Declare.
173
174 * rs6000.c (output_mi_thunk): Function to create thunks for MI.
175 (output_function_profiler): Use r12 for temp, instead of r11 so
176 that we preserve the static chain register.
177
46fb0d7d
JW
178Fri Sep 25 14:18:33 1998 Jim Wilson <wilson@cygnus.com>
179
180 * sdbout.c (sdbout_one_type): Don't look at TYPE_BINFO field of enums.
181
913d8e13
R
182Fri Sep 25 19:30:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
183
184 * sh.c (gen_shl_sext): Fix case 5.
185
2abbc1bd
R
186Fri Sep 25 17:35:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
187
188 * reload1.c (reload_combine): Re-add line that got accidentally lost.
189
36611067
KG
190Fri Sep 25 10:43:47 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
191
192 * cccp.c (pedwarn_with_file_and_line): For !__STDC__ case, avoid
193 accessing variables until they are initialized via va_arg().
194
85ccbba3
DM
195Thu Sep 24 22:12:16 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
196
197 * reload1.c (reload_combine): Initialize set before using.
198
0dbb7a10
JM
199Thu Sep 24 18:53:20 1998 Jason Merrill <jason@yorick.cygnus.com>
200
201 * sdbout.c (sdbout_field_types): Don't emit the types of fields we
202 won't be emitting.
203
da959950
NC
204Thu Sep 24 17:05:30 1998 Nick Clifton <nickc@cygnus.com>
205
206 * config/arm/arm.md (insv): Add comment. In CONST_INT case, and
207 operand3 with mask before using it. Patch provided by Jim Wilson.
208
3c6088d2
JJ
209Thu Sep 24 15:08:08 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
210
211 * config/sparc/sparc.c (function_value): Perform the equivalent of
212 PROMOTE_MODE for ARCH64.
213 (eligible_for_epilogue_delay): Allow DImode operations in delay
214 slot of a return for ARCH64.
215
71187870
R
216Thu Sep 24 22:17:54 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
217
218 * sh.md (sqrtsf2): Fix mode of sqrt.
219
b29514ee
R
220Thu Sep 24 21:48:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
221
222 * reload1.c (choose_reload_regs): Also try inheritance when
223 reload_in is a stack slot of a pseudo, even if we already got a
224 reload reg.
225
5adf6da0
R
226Thu Sep 24 21:22:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
227
228 * reload1.c (reload_cse_regs_1): Renamed from reload_cse_regs.
229 (reload_cse_regs): New function body: call reload_cse_regs_1,
230 reload_combine, reload_cse_move2add.
231 When doing expensive_optimizations, call reload_cse_regs_1 a
232 second time after reload_cse_move2add.
233 (reload_combine, reload_combine_note_store): New functions.
234 (reload_combine_note_use): New function.
235 (reload_cse_move2add, move2add_note_store): New functions.
236
c10638c9
R
237Thu Sep 24 18:48:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
238
239 * reload.c (find_reloads): In code to promote RELOAD_FOR_X_ADDR_ADDR
240 reloads to RELOAD_FOR_X_ADDRESS reloads, test for reload sharing.
241
242 Properly keep track of first RELOAD_FOR_X_ADDRESS also for
243 more than 3 such reloads.
244
245 If there is not more than one RELOAD_FOR_X_ADDRESS, don't change
246 RELOAD_FOR_X_ADDR_ADDR reload.
247
34c73909
R
248Thu Sep 24 17:45:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
249
250 * expr.c (store_constructor): When initializing a field that is smaller
251 than a word, at the start of a word, try to widen it to a full word.
252
253 * cse.c (cse_insn): When we are about to change a register,
254 remove any invalid references to it.
255
256 (remove_invalid_subreg_refs): New function.
257 (mention_regs): Special treatment for SUBREGs.
258 (insert_regs): Don't strip SUBREG for call to mention_regs.
259 Check if reg_tick needs to be bumped up before that call.
260 (lookup_as_function): Try to match known word_mode constants when
261 looking for a norrower constant.
262 (canon_hash): Special treatment for SUBREGs.
263
345a6161
DM
264Thu Sep 24 01:35:34 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
265
266 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Define.
267 * config/sparc/sparc.c (sparc64_initialize_trampoline): If that is
268 defined, emit libcall to __enable_execute_stack. Also fix opcodes
269 and offsets in actual stack trampoline code so they match the
270 commentary and actually work.
271
272Thu Sep 24 01:19:02 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
273
274 * configure.in (sparcv9-*-solaris): Use t-sol2 and t-sol2-64 for
275 tmake_file.
276 (sparc64-*-linux): Use t-linux and sparc/t-linux64 for
277 tmake_file. Set extra_parts to needed crt objects.
278 * configure: Rebuilt.
279 * config/sparc/linux64.h (SPARC_BI_ARCH): Define.
280 (TARGET_DEFAULT): Set if default is v9 or ultra.
281 (STARTFILE_SPEC32, STARTFILE_SPEC64): New macros.
282 (STARTFILE_SPEC): Set to those upon SPARC_BI_ARCH.
283 (ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_SPEC): Likewise.
284 (SUBTARGET_EXTRA_SPECS, LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
285 LINK_SPEC, LINK_ARCH_SPEC): Likewise.
286 (TARGET_VERSION): Define.
287 (MULTILIB_DEFAULT): Define.
288 * config/sparc/sparc.h (CPP_CPU_DEFAULT_SPEC): Rearrange so that
289 mixed 32/64 bit compilers based upon SPARC_BI_ARCH work.
290 (CPP_CPU64_DEFAULT_SPEC, CPP_CPU32_DEFAULT_SEC): Define
291 appropriately.
292 (TARGET_SWITCHES): Allow ptr32/ptr64 options once more.
293 * config/sparc/sparc.c (sparc_override_options): If arch and
294 pointer size disagree, emit diagnostic and fix it up. If
295 SPARC_BI_ARCH and TARGET_ARCH32, set cmodel to CM_32. Turn off
296 V8PLUS in 64-bit mode.
297 * config/sparc/t-linux64: New file.
298 * config/sparc/t-sol2-64: New file.
299 * config/sparc/t-sol2: Adjust build rules to use MULTILIB_CFLAGS.
300 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Define.
301 (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC,
302 CPP_CPU32_DEFAULT_SPEC, CPP_CPU64_DEFAULT_SPEC): Define.
303 (ASM_SPEC, CPP_CPU_SPEC): Set appropriately based upon those.
304 (STARTFILE_SPEC32, STARTFILE_SPEC32, STARTFILE_ARCH_SPEC):
305 Define.
306 (STARTFILE_SPEC): Set approriately based upon those.
307 (CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Set based upon
308 disposition of DEFAULT_ARCH32_P.
309 (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Define.
310 (LINK_ARCH_SPEC, LINK_ARCH_DEFAULT_SPEC): Set based upon those.
311 (CC1_SPEC, MULTILIB_DEFAULTS): Set based upon DEFAULT_ARCH32_P.
312 (MD_STARTFILE_PREFIX): Set correctly based upon SPARC_BI_ARCH.
313 * config/sparc/xm-sysv4-64.h (HOST_BITS_PER_LONG): Only set on
314 arch64/v9.
315 * config/sparc/xm-sp64.h (HOST_BITS_PER_LONG): Likewise.
316
59ec66dc
MM
317Wed Sep 23 22:32:31 1998 Mark Mitchell <mark@markmitchell.com>
318
319 * rtl.h (init_virtual_regs): New function.
320 * emit-rtl.c (init_virtual_regs): Define.
321 (insn_emit): Use it.
322 * integrate.c (save_for_inline_copying): Likewise.
323
f916eeb6
NC
324Wed Sep 23 16:22:01 1998 Nick Clifton <nickc@cygnus.com>
325
a5f42165
NC
326 * config/arm/thumb.h: The following patches were made by Jim Wilson:
327 (enum reg_class): Add NONARG_LO_REGS support.
328 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
329 PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Likewise.
330 (GO_IF_LEGITIMATE_ADDRESS): Disable REG+REG addresses before reload
331 completes. Re-enable HImode REG+OFFSET addresses.
332 (LEGITIMIZE_RELOAD_ADDRESS): Define.
333
f916eeb6
NC
334 * expmed.c (extract_bit_field): Add comment from Jim Wilson.
335
80db34d8
RH
336Wed Sep 23 13:26:02 1998 Richard Henderson <rth@cygnus.com>
337
338 * alpha.c (get_aligned_mem): Revert Sep 20 change.
339 (alpha_set_memflags, alpha_set_memflags_1): Likewise.
340 (alpha_align_insns): Properly calculate initial offset wrt max_align.
341
7551cbc7
RE
342Wed Sep 23 10:45:44 1998 Richard Earnshaw (rearnsha@arm.com)
343
344 * arm.c (find_barrier): Revert change of Apr 23. Handle table
345 jumps as a single entity, taking into account the size of the
346 table.
347
eaec171c
APB
348Tue Sep 22 15:13:34 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
349
350 * tree.def (SWITCH_EXPR): New tree node definition.
351
83d6aca1
JL
352Mon Sep 21 23:40:38 PDT 1998 Jeff Law (law@cygnus.com)
353
354 * version.c: Bump for snapshot.
355
4d7f493b
JL
356Mon Sep 21 22:31:14 PDT 1998 Jeff Law (law@cygnus.com)
357
358 * version.c: Bump for snapshot.
359
31f0adf8
JL
360Mon Sep 21 22:48:09 1998 Jeffrey A Law (law@cygnus.com)
361
362 * configure.in: Recognize i[34567]86-*-openbsd* and handle it like
363 NetBSD.
364
6c7c0e9f
JL
365Mon Sep 21 22:05:28 1998 Jeffrey A Law (law@cygnus.com)
366
367 * Revert this patch.
368 * reload.c (find_reloads): Do not replace a pseudo with
369 (MEM (reg_equiv_addr)) in the initializing insn for the
370 pseudo.
371
7ad7f828
JC
372Mon Sep 21 20:19:41 1998 John Carr <jfc@mit.edu>
373
374 * final.c (final_scan_insn): Disable tracking CC across branches.
375
43566944
AM
376Mon Sep 21 17:15:26 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
377
378 * expr.h (eh_rtime_match_libfunc): New extern declaration.
379 * optabs.c (init_optabs): Set eh_rtime_match_libfunc.
380 * except.c (start_catch_handler): Use eh_rtime_match_libfunc.
381 * libgcc2.c (__eh_rtime_match): Always return 0 if the matcher is
382 NULL. Only include <stdio.h> if inhibit_libc is not defined.
383
1cbe6eb6
JM
384Mon Sep 21 14:10:51 1998 Jason Merrill <jason@yorick.cygnus.com>
385
386 * toplev.c (rest_of_compilation): Skip compiling anything with
387 DECL_EXTERNAL set, not just if it has DECL_INLINE as well.
388
d06c6389
JW
389Mon Sep 21 13:51:05 1998 Jim Wilson <wilson@cygnus.com>
390
391 * flow.c (find_basic_blocks): Delete check for in_libcall_block when
392 prev_code is a CALL_INSN. Change check for REG_RETVAL note to
393 use in_libcall_block.
394 (find_basic_blocks_1): Delete check for in_libcall_block when prev_code
395 is a CALL_INSN. If CALL_INSN and in_libcall_block, then change code
396 to INSN.
397
724001bb
RL
398Mon Sep 21 14:02:23 1998
399
400 * i386.h: (TARGET_SWITCHES) Improve doc for align-double. Fix
401 typo in no-fancy-math-387 description.
402
64ca6edd
JL
403Mon Sep 21 09:27:18 PDT 1998 Jeff Law (law@cygnus.com)
404
405 * version.c: Bump for snapshot.
406
216f3a58
SC
407Mon Sep 21 09:24:49 1998 Stan Cox <scox@cygnus.com>
408
409 * i386-coff.h (DBX_DEBUGGING_INFO): Added.
410
c03f9fe3
RL
411Mon Sep 21 09:14:49 1998 Robert Lipe <robertl@dgii.com>
412
413 * i386.h: (TARGET_SWITCHES) Add description fields for flags
414 documented in install.texi.
415 (TARGET_OPTIONS) Likewise.
416
cc61dfb8
JL
417Mon Sep 21 01:39:03 PDT 1998 Jeff Law (law@cygnus.com)
418
419 * version.c: Bump for snapshot.
420
b2a1e458
FL
421Mon Sep 21 01:53:05 1998 Felix Lee <flee@cygnus.com>
422
423 * c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
424 * cccp.c (main): Likewise.
b2a1e458
FL
425
426 * cccp.c, collect2.c, cpplib.c, gcc.c, config/i386/xm-cygwin32.h:
427 Rename GET_ENVIRONMENT to GET_ENV_PATH_LIST, and fix some
428 macro-use bugs.
429
7e2231e7
PB
430Mon Sep 21 00:52:12 1998 Per Bothner <bothner@cygnus.com>
431
432 * Makefile.in (LIBS): Link in libiberty.a.
c03f9fe3 433 * c-common.c, gcc.c, toplev.c: Replace (some) bcopy calls by memcpy.
7e2231e7 434
c93b03c2
RH
435Sun Sep 20 23:28:11 1998 Richard Henderson <rth@cygnus.com>
436
437 * reload1.c (emit_reload_insns): Accept a new arg for the bb. Use
438 it to update bb boundaries. Update caller.
439 * function.c (reposition_prologue_and_epilogue_notes): Update
440 bb boundaries wrt the moved note.
441
823642df
RL
442Sun Sep 20 20:57:02 1998 Robert Lipe <robertl@dgii.com>
443
444 * configure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder
445 problems.
446 * configure: Regenerate.
447
2ba57343
RH
448Sun Sep 20 19:01:51 1998 Richard Henderson <rth@cygnus.com>
449
3873d24b
RH
450 * alpha.c (alpha_sr_alias_set): New variable.
451 (override_options): Set it.
452 (alpha_expand_prologue, alpha_expand_epilogue): Use it.
453 (mode_mask_operand): Fix signed-unsigned comparision warning.
454 (alpha_expand_block_move): Likewise.
455 (print_operand): Likewise.
456 (get_aligned_mem): Use change_address.
457 (alpha_set_memflags, alpha_set_memflags_1): Set the alias set.
458 (alphaev4_insn_pipe, alphaev4_next_group): New functions.
459 (alphaev4_next_nop, alphaev5_next_nop): New functions.
460 (alpha_align_insns): Remade from old alphaev5_align_insns
461 to handle multiple processors.
462 (alpha_reorg): Call alpha_align_insns for both ev4 and ev5.
463 * output.h (label_to_alignment): Prototype.
464
2ba57343
RH
465 * tree.c (new_alias_set): New function.
466 * tree.h (new_alias_set): Declare it.
467 * c-common.c (c_get_alias_set): Use it.
468
899f1ed6
RH
469Sun Sep 20 12:35:55 1998 Richard Henderson <rth@cygnus.com>
470
471 * fold-const.c (fold): Yet another COND_EXPR bug: when folding
472 to an ABS expr, convert an unsigned input to signed.
473
c479c2ac
JL
474Sun Sep 20 12:14:45 1998 Jeffrey A Law (law@cygnus.com)
475
476 * fold-const.c (fold): Fix another type in COND_EXPR handling code.
477
62616695
MH
4781998-09-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
479
480 * configure.in: Add support for c4x targets.
481 * configure: Rebuilt.
482
f5c97640
RH
483Sun Sep 20 00:00:51 1998 Richard Henderson <rth@cygnus.com>
484
485 * combine.c (distribute_notes): If an insn is a cc0 user, only
486 delete it if we can also delete the cc0 setter.
487
a58bd508
MT
488Sun Sep 20 00:22:23 1998 Michael Tiemann <michael@impact.tiemann.org>
489
490 * fold-const.c (fold): Fix typo in COND_EXPR handling code.
491 (invert_truthvalue): Enable truthvalue inversion for
492 floating-point operands if -ffast-math.
493
750930c1
MN
494Sat Sep 19 23:58:07 1998 Melissa O'Neill <oneill@cs.sfu.ca>
495
496 * configure.in: Disable collect2 for nextstep. Instead use
497 crtbegin/crtend.
498 * configure: Rebuilt.
499 * config/nextstep.h (STARTFILE_SPEC): Add crtbegin.
500 (ENDFILE_SPEC): Define.
501 (OBJECT_FORMAT_MACHO): Define.
502 (EH_FRAME_SECTION_ASM_OP): Define.
503 * crtstuff.c: Handle MACHO.
504
655d03a8
RL
505Sun Sep 20 00:24:24 1998 Robert Lipe <robertl@dgii.com>
506
507 * config/i386/sco5.h (TARGET_MEM_FUNCTIONS): Define.
508
b567319f
TG
5091998-09-19 Torbjorn Granlund <tege@matematik.su.se>
510
511 * fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
512 (_fpadd_parts): Get sign right for 0.
513
9949a9f2
MH
5141998-09-19 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
515
516 * ginclude/varargs.h: Add support for C4x target.
517 * ginclude/stdargs.h: Likewise.
518
3fe5612d
RH
519Sat Sep 19 12:05:09 1998 Richard Henderson <rth@cygnus.com>
520
521 * alpha.c (alpha_return_addr): SET should be VOIDmode.
522 (alpha_emit_set_long_const): Rewrite to be callable from reload
523 and 32-bit hosts.
524 (alpha_expand_epilogue): Update for alpha_emit_set_long_const.
525 * alpha.md (movdi): Likewise.
526
332072db
RE
527Sat Sep 19 07:33:36 1998 Richard Earnshaw (rearnsha@arm.com)
528
529 * arm.c (add_constant): New parameter address_only, change caller.
530 Set it non-zero if taking the address of an item in the pool.
531 (arm_reorg): Handle cases where we need the address of an item in
532 the pool.
533
9c8cc54f
RE
534 * arm.c (bad_signed_byte_operand): Check both arms of a sum in
535 a memory address.
536 * arm.md (splits for *extendqihi_insn and *extendqisi_insn): Handle
537 memory addresses that are not in standard canonical form.
538
cb0ca284
MH
539Sat Sep 19 01:00:32 1998 Michael Hayes (mph@elec.canterbury.ac.nz)
540
541 * README.C4X: New file with information about the c4x ports.
542 * ginclude/va-c4x.h: New file for c4x varargs support.
543 * config/c4x: New directory with c4x port files.
544
f10df53c
JL
545Fri Sep 18 22:52:05 1998 Jeffrey A Law (law@cygnus.com)
546
547 * reload.c (find_reloads): Do not replace a pseudo with
548 (MEM (reg_equiv_addr)) in the initializing insn for the
549 pseudo.
550
5accd822
DE
551Fri Sep 18 23:50:56 1998 David Edelsohn <edelsohn@mhpcc.edu>
552
553 * toplev.c (rest_of_compilation): Set bct_p on second call to
554 loop_optimize.
555 * loop.c (loop_optimize, scan_loop, strength_reduce): New argument
556 bct_p.
557 (strength_reduce): Only call analyze_loop_iterations and
558 insert_bct if bct_p set.
559 (check_dbra_loop): Fix typo.
560 (insert_bct): Use word_mode instead of SImode.
561 (instrument_loop_bct): Likewise. Do not delete iteration count
562 condition code generation insn. Initialize iteration count before
563 loop start.
564 * rtl.h (loop_optimize): Update prototype.
565
566 * ginclude/va-ppc.h (va_arg): longlong types in overflow area are
567 not doubleword aligned.
568
569 * rs6000.c (optimization_options): New function.
570 (secondary_reload_class): Only call true_regnum for PSEUDO_REGs.
571 * rs6000.h (OPTIMIZATION_OPTIONS): Define.
572 (REG_ALLOC_ORDER): Allocate highest numbered condition regsiters
573 first; cr1 can be used for FP record condition insns.
574
d2a73f8e
NC
575Fri Sep 18 09:44:55 1998 Nick Clifton <nickc@cygnus.com>
576
577 * config/m32r/m32r.h (m32r_block_immediate_operand): Add to
578 PREDICATE_CODES.
579
580 * config/m32r/m32r.md: Add "movstrsi" and "movstrsi_internal"
581 patterns.
582
583 * config/m32r/m32r.c (m32r_print_operand): Add 's' and 'p'
584 operators.
585 (block_move_call): New function: Call a library routine to copy a
586 block of memory.
587 (m32r_expand_block_move): New function: Expand a "movstrsi"
588 pattern into a sequence of insns.
589 (m32r_output_block_move): New function: Expand a
590 "movstrsi_internal" pattern into a sequence of assembler opcodes.
591 (m32r_block_immediate_operand): New function: Return true if the
592 RTL is an integer constant, less than or equal to MAX_MOVE_BYTES.
593
7ac2148b
AM
594Thu Sep 17 16:42:16 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
595
596 * except.c (start_catch_handler): Issue 'fatal' instead of 'error' and
597 re-align some code.
598 * libgcc2.c (__eh_rtime_match): fprintf a runtime error. Use <stdio.h>.
599
9d2106a4
R
600Thu Sep 17 12:24:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
601
602 * regmove.c (copy_src_to_dest): Check that modes match.
603
086afc19
RL
604Wed Sep 16 22:10:42 1998 Robert Lipe <robertl@dgii.com>
605
606 * config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
607
b66a3ac1
RH
608Wed Sep 16 15:24:54 1998 Richard Henderson <rth@cygnus.com>
609
610 * i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
611 narrower than FLOAT_REGS.
612
0d7138a1
AO
613Wed Sep 16 17:51:00 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
614
615 * cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
616 * cccp.c: ditto
617 * Makefile.in (old_gxx_include_dir): removed
618
f43a85ca
NC
619Wed Sep 16 12:29:22 1998 Nick Clifton <nickc@cygnus.com>
620
621 * config/sh/sh.h: Update definition of HANDLE_PRAGMA to match
622 new specification.
623
624 * config/sh/sh.c (handle_pragma): Rename to sh_handle_pragma().
625 (sh_handle_pragma): Change function arguments to match new
626 specification for HANDLE_PRAGMA.
627
88dab4f6
KG
628Wed Sep 16 12:43:19 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
629
630 * gen-protos.c (parse_fn_proto): Cast argument of ISALNUM to
631 `unsigned char'.
632 (main): Mark parameter `argc' with ATTRIBUTE_UNUSED.
633 When generating output, initialize missing struct member to zero.
634
1a8fca8a
R
635Wed Sep 16 14:47:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
636
637 * regmove.c (copy_src_to_dest): Don't copy if that requires
638 (a) new register(s).
639
f15ebf65
BS
640Wed Sep 16 01:29:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
641
642 * global.c (reg_allocno): Now static.
643 * reload1.c (reg_allocno): Delete declaration.
644 (order_regs_for_reload): Take no arguments. Don't treat regs
645 allocated by global differently than those allocated by local-alloc.
646
3dbf3a22
KI
647Wed Sep 16 01:09:01 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
648
b0e982be
KI
649 * m68k/m68k.c (output_function_prologue): Reverse NO_ADDSUB_Q
650 condition, fix format strings.
651 (output_function_epilogue): Likewise.
652
3dbf3a22
KI
653 * m68k/m68k.c: Don't include <stdlib.h> directly.
654
b86ba9c8
GK
655Wed Sep 16 00:30:56 1998 Geoff Keating <geoffk@ozemail.com.au>
656
657 * gcse.c: New definition NEVER_SET for reg_first_set, reg_last_set,
658 mem_first_set, mem_last_set; because 0 can be a CUID.
659 (oprs_unchanged_p): Use new definition.
660 (record_last_reg_set_info): Likewise.
661 (record_last_mem_set_info): Likewise.
662 (compute_hash_table): Likewise.
663
54d65918
JL
664Tue Sep 15 22:59:52 1998 Jeffrey A Law (law@cygnus.com)
665
6f573ff9
JL
666 * rs6000.c (output_epilogue): Handle Chill.
667
fa88e837
JL
668 * mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
669 * mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
670
0d8e55d8
JL
671 * combine.c (make_extraction): If no mode is specified for
672 an operand of insv, extv, or extzv, default it to word_mode.
673 (simplify_comparison): Similarly.
674 * expmed.c (store_bit_field): Similarly.
675 (extract_bit_field): Similarly.
676 * function.c (fixup_var_regs_1): Similarly.
677 * recog.c (validate_replace_rtx_1): Similarly.
678 * mips.md (extv, extzv, insv expanders): Default modes for most
679 operands. Handle TARGET_64BIT.
680 (movdi_uld, movdi_usd): New patterns.
681
54d65918
JL
682 * pa.c (emit_move_sequence): Do not replace a pseudo with its
683 equivalent memory location unless we have been provided a scratch
684 register. Similarly do not call find_replacement unless a
685 scratch register has been provided.
686
c09a3c2e
BS
687Tue Sep 15 19:23:01 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
688
689 * i386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants,
690 return FLOAT_REGS.
691
71038426
RH
692Tue Sep 15 19:09:06 1998 Richard Henderson <rth@cygnus.com>
693
694 * tree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused. Kill.
695 (BUILT_IN_FP, BUILT_IN_SP, BUILT_IN_SET_RETURN_ADDR_REG): Kill.
696 (BUILT_IN_EH_STUB_OLD, BUILT_IN_EH_STUB, BUILT_IN_SET_EH_REGS): Kill.
697 (BUILT_IN_EH_RETURN, BUILT_IN_DWARF_CFA): New.
698 * c-decl.c (init_decl_processing): Update accordingly.
699 * expr.c (expand_builtin): Likewise.
700
701 * rtl.h (global_rtl): Add cfa entry.
702 (virtual_cfa_rtx, VIRTUAL_CFA_REGNUM): New.
703 (LAST_VIRTUAL_REGISTER): Update.
704 * emit-rtl.c (global_rtl): Add cfa entry.
705 (init_emit): Initialize it.
706 * function.c (cfa_offset): New.
707 (instantiate_virtual_regs): Initialize it.
708 (instantiate_virtual_regs_1): Instantiate virtual_cfa_rtx.
709 (expand_function_end): Call expand_eh_return.
710 * tm.texi (ARG_POINTER_CFA_OFFSET): New.
711
712 * except.c (current_function_eh_stub_label): Kill.
713 (current_function_eh_old_stub_label): Likwise; update all references.
714 (expand_builtin_set_return_addr_reg): Kill.
715 (expand_builtin_eh_stub_old, expand_builtin_eh_stub): Kill.
716 (expand_builtin_set_eh_regs): Kill.
717 (eh_regs): Produce a third reg for the actual handler address.
718 (eh_return_context, eh_return_stack_adjust): New.
719 (eh_return_handler, eh_return_stub_label): New.
720 (init_eh_for_function): Initialize them.
721 (expand_builtin_eh_return, expand_eh_return): New.
722 * except.h: Update prototypes.
723 * flow.c (find_basic_blocks_1): Update references to the stub label.
724 * function.h (struct function): Kill stub label elements.
725
726 * libgcc2.c (in_reg_window): For REG_SAVED_REG, check that the
727 register number is one that would be in the previous window.
728 Provide a dummy definition for non-windowed targets.
729 (get_reg_addr): New function.
730 (get_reg, put_reg, copy_reg): Use it.
731 (__throw): Rely on in_reg_window, not INCOMING_REGNO. Kill stub
732 generating code and use __builtin_eh_return. Use __builtin_dwarf_cfa.
733
734 * alpha.c (alpha_eh_epilogue_sp_ofs): New.
735 (alpha_init_expanders): Initialize it.
736 (alpha_expand_epilogue): Use it.
737 * alpha.h: Declare it.
738 * alpha.md (eh_epilogue): New.
739
740 * m68h.h (ARG_POINTER_CFA_OFFSET): New.
741 * sparc.h (ARG_POINTER_CFA_OFFSET): New.
742
bb210aaf
MM
743Tue Sep 15 19:31:58 1998 Michael Meissner <meissner@cygnus.com>
744
745 * i960.h (CONST_COSTS): Fix thinko. Test flag, not the constant
746 flag bit mask.
747
bf71cd2e
AM
748Tue Sep 15 14:10:54 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
749
750 * except.h (struct eh_entry): Add false_label field.
751 (end_catch_handler): Add prototype.
752 * except.c (push_eh_entry): Set false_label field to NULL_RTX.
753 (start_catch_handler): When using old style exceptions, issue
754 runtime typematch code before continuing with the handler.
755 (end_catch_handler): New function, generates label after handler
756 if needed by older style exceptions.
757 (expand_start_all_catch): No need to check for new style exceptions.
758 (output_exception_table_entry): Only output the first handler label
759 for old style exceptions.
760 * libgcc2.c (__eh_rtime_match): New routine to lump runtime matching
761 mechanism into one function, if a runtime matcher is provided.
762
8a21007c
AM
763Tue Sep 15 13:53:59 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
764
765 * config/i960/i960.h (SLOW_BYTE_ACCESS): Change definition to 1.
766
11d09c08
MM
767Tue Sep 15 09:59:01 1998 Mark Mitchell <mark@markmitchell.com>
768
769 * integrate.c (copy_decl_list): Fix typo.
770
2d81c9bf
DM
771Tue Sep 15 04:18:52 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
772
773 * config/sparc/sparc.md (movdf_const_intreg_sp32): Fix length
774 attribute.
775
e12994ab
JL
776Mon Sep 14 14:02:53 PDT 1998 Jeff Law (law@cygnus.com)
777
778 * version.c: Bump for snapshot.
779
028d0b2a
JL
780Mon Sep 14 10:33:56 PDT 1998 Jeff Law (law@cygnus.com)
781
782 * version.c: Bump for snapshot.
783
466973ed
JL
784Mon Sep 14 09:51:05 PDT 1998 Jeff Law (law@cygnus.com)
785
786 * version.c: Bump for snapshot.
787
ad299d9b
DM
788Sun Sep 13 22:10:18 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
789
790 * invoke.texi (C Dialect Options): Put back missing @end itemize.
791
1b015bec
AO
792Mon Sep 14 02:33:46 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
793
794 * configure.in: remove usage of `!' to negate the result of a
795 command; some common shells do not support it
796
d7496fbb
DM
797Sun Sep 13 19:17:35 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
798
799 * configure.in: in sparc9-sol2 config, use 'if test' not
800 brackets.
801 * configure: Rebuilt.
802
803 * config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
804 CM_MEDANY.
805 (CPP_CPU_SPEC): Do not define _LP64, header files do this.
806 (CPP_CPU_DEFAULT_SPEC): Likewise.
807 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
808 for arch64 libfuncs.
809
073149a2
DM
810 * config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
811 for operand zero.
812
007e8d2a
KG
813Sun Sep 13 09:11:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
814
815 * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
816
817 * collect2.c: Don't declare `sys_siglist' here.
818 (my_strsignal): Prototype and define new function. Use it in
819 place of `sys_siglist' hacks.
820
821 * mips_tfile.c: Likewise.
822
823 * configure.in (AC_CHECK_FUNCS): Check for strsignal.
824 (GCC_NEED_DECLARATIONS): Likewise.
825
826 * system.h (strsignal): Prototype it, if necessary.
827 (sys_siglist): Declare it, if necessary.
828
9655bf95
DM
829Sun Sep 13 04:37:28 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
830
831 * loop.c (move_movables): While removing insn sequences, preserve
832 the next pointer of the most recently deleted insn when we skip
833 over a NOTE.
834
fbe39e48
BE
835Sun Sep 13 08:13:39 1998 Ben Elliston <bje@cygnus.com>
836
837 * objc/config-lang.in: Do not output the name of the selected
838 thread file when building the front-end. The Makefile for the
839 runtime library will do this.
840
841 * objc/Make-lang.in: Do not build the runtime library or install
842 the Objective C header files. The Makefile for the runtime
843 library will do this.
844
845 * objc/Makefile.in (all.indirect): Only build the front-end.
846 (compiler): Rename to `frontend'.
847 (obj-runtime): Remove target.
848 (copy-headers): Likewise.
849 (clean): No need to remove `libobjc.a' any longer.
850
b91d2c10
MM
851Sat Sep 12 11:37:19 1998 Michael Meissner <meissner@cygnus.com>
852
853 * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
854 supported with -mcpu=xxx.
855
86465af7
DM
856Fri Sep 11 23:55:54 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
857
858 * flow.c (mark_set_1): Recognize multi-register structure return
859 values in CALL insns.
860 (mark_used_regs): Likewise.
861 (count_reg_sets_1): Likewise.
862 (count_reg_references): Likewise.
863 * rtlanal.c (note_stores): Likewise.
c0222c21
DM
864 (reg_overlap_mentioned_p): Likewise.
865 * haifa-sched.c (check_live_1): Likewise.
866 (update_live_1): Likewise.
867 (sched_analyze_1): Likewise.
868 (sched_note_set): Likewise.
869 (birthing_insn_p): Likewise.
870 (attach_deaths): Likewise.
871
872 * config/sparc/sparc.md (movdf_const_intreg_sp64): Disable.
873
86465af7 874
37a29ee7
ED
875Fri Sep 11 22:57:55 1998 Eric Dumazet <dumazet@cosmosbay.com>
876
45259482 877 * config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
37a29ee7 878
75bba2a6
DM
879Thu Sep 10 22:02:04 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
880
881 * glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
882
d1accaa3
JJ
883Thu Sep 10 21:19:10 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
884
885 * configure.in: Add check for GAS subsection -1 support.
886 * acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
887 * configure config.in: Rebuilt.
888 * config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
889 SImode is subsection -1 works, else use DImode.
890 (ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
891 subsection -1 works.
892 * config/sparc/sparc.c (sparc_output_addr_vec,
893 sparc_output_addr_diff_vec): Use them if defined.
894
02e24c7a
MM
895Thu Sep 10 10:46:01 1998 Mark Mitchell <mark@markmitchell.com>
896
897 * tree.h (DECL_ORIGIN): New macro.
898 * integrate.c (copy_and_set_decl_abstract_origin): New function.
899 (copy_decl_list): Use it.
900 (integrate_parm_decls): Likewise.
901 (integrate_decl_tree): Likewise.
902 * dwarf2out.c (decl_ultimate_origin): Simplify.
903 * dwarfout.c (decl_ultimate_origin): Likewise.
904 * c-decl.c (duplicate_decls): Use DECL_ORIGIN.
905 (pushdecl): Likewise.
906
9517ead8
AG
907Thu Sep 10 08:01:31 1998 Anthony Green <green@cygnus.com>
908
909 * config/rs6000/rs6000.c (output_epilog): Add Java support.
910
95c81fb8
ML
911