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