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