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