]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
[gcc.git] / gcc / ChangeLog
CommitLineData
b567319f
TG
11998-09-19 Torbjorn Granlund <tege@matematik.su.se>
2
3 * fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
4 (_fpadd_parts): Get sign right for 0.
5
9949a9f2
MH
61998-09-19 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7
8 * ginclude/varargs.h: Add support for C4x target.
9 * ginclude/stdargs.h: Likewise.
10
3fe5612d
RH
11Sat Sep 19 12:05:09 1998 Richard Henderson <rth@cygnus.com>
12
13 * alpha.c (alpha_return_addr): SET should be VOIDmode.
14 (alpha_emit_set_long_const): Rewrite to be callable from reload
15 and 32-bit hosts.
16 (alpha_expand_epilogue): Update for alpha_emit_set_long_const.
17 * alpha.md (movdi): Likewise.
18
332072db
RE
19Sat Sep 19 07:33:36 1998 Richard Earnshaw (rearnsha@arm.com)
20
21 * arm.c (add_constant): New parameter address_only, change caller.
22 Set it non-zero if taking the address of an item in the pool.
23 (arm_reorg): Handle cases where we need the address of an item in
24 the pool.
25
9c8cc54f
RE
26 * arm.c (bad_signed_byte_operand): Check both arms of a sum in
27 a memory address.
28 * arm.md (splits for *extendqihi_insn and *extendqisi_insn): Handle
29 memory addresses that are not in standard canonical form.
30
cb0ca284
MH
31Sat Sep 19 01:00:32 1998 Michael Hayes (mph@elec.canterbury.ac.nz)
32
33 * README.C4X: New file with information about the c4x ports.
34 * ginclude/va-c4x.h: New file for c4x varargs support.
35 * config/c4x: New directory with c4x port files.
36
f10df53c
JL
37Fri Sep 18 22:52:05 1998 Jeffrey A Law (law@cygnus.com)
38
39 * reload.c (find_reloads): Do not replace a pseudo with
40 (MEM (reg_equiv_addr)) in the initializing insn for the
41 pseudo.
42
5accd822
DE
43Fri Sep 18 23:50:56 1998 David Edelsohn <edelsohn@mhpcc.edu>
44
45 * toplev.c (rest_of_compilation): Set bct_p on second call to
46 loop_optimize.
47 * loop.c (loop_optimize, scan_loop, strength_reduce): New argument
48 bct_p.
49 (strength_reduce): Only call analyze_loop_iterations and
50 insert_bct if bct_p set.
51 (check_dbra_loop): Fix typo.
52 (insert_bct): Use word_mode instead of SImode.
53 (instrument_loop_bct): Likewise. Do not delete iteration count
54 condition code generation insn. Initialize iteration count before
55 loop start.
56 * rtl.h (loop_optimize): Update prototype.
57
58 * ginclude/va-ppc.h (va_arg): longlong types in overflow area are
59 not doubleword aligned.
60
61 * rs6000.c (optimization_options): New function.
62 (secondary_reload_class): Only call true_regnum for PSEUDO_REGs.
63 * rs6000.h (OPTIMIZATION_OPTIONS): Define.
64 (REG_ALLOC_ORDER): Allocate highest numbered condition regsiters
65 first; cr1 can be used for FP record condition insns.
66
d2a73f8e
NC
67Fri Sep 18 09:44:55 1998 Nick Clifton <nickc@cygnus.com>
68
69 * config/m32r/m32r.h (m32r_block_immediate_operand): Add to
70 PREDICATE_CODES.
71
72 * config/m32r/m32r.md: Add "movstrsi" and "movstrsi_internal"
73 patterns.
74
75 * config/m32r/m32r.c (m32r_print_operand): Add 's' and 'p'
76 operators.
77 (block_move_call): New function: Call a library routine to copy a
78 block of memory.
79 (m32r_expand_block_move): New function: Expand a "movstrsi"
80 pattern into a sequence of insns.
81 (m32r_output_block_move): New function: Expand a
82 "movstrsi_internal" pattern into a sequence of assembler opcodes.
83 (m32r_block_immediate_operand): New function: Return true if the
84 RTL is an integer constant, less than or equal to MAX_MOVE_BYTES.
85
7ac2148b
AM
86Thu Sep 17 16:42:16 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
87
88 * except.c (start_catch_handler): Issue 'fatal' instead of 'error' and
89 re-align some code.
90 * libgcc2.c (__eh_rtime_match): fprintf a runtime error. Use <stdio.h>.
91
9d2106a4
R
92Thu Sep 17 12:24:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
93
94 * regmove.c (copy_src_to_dest): Check that modes match.
95
086afc19
RL
96Wed Sep 16 22:10:42 1998 Robert Lipe <robertl@dgii.com>
97
98 * config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
99
b66a3ac1
RH
100Wed Sep 16 15:24:54 1998 Richard Henderson <rth@cygnus.com>
101
102 * i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
103 narrower than FLOAT_REGS.
104
0d7138a1
AO
105Wed Sep 16 17:51:00 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
106
107 * cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
108 * cccp.c: ditto
109 * Makefile.in (old_gxx_include_dir): removed
110
f43a85ca
NC
111Wed Sep 16 12:29:22 1998 Nick Clifton <nickc@cygnus.com>
112
113 * config/sh/sh.h: Update definition of HANDLE_PRAGMA to match
114 new specification.
115
116 * config/sh/sh.c (handle_pragma): Rename to sh_handle_pragma().
117 (sh_handle_pragma): Change function arguments to match new
118 specification for HANDLE_PRAGMA.
119
88dab4f6
KG
120Wed Sep 16 12:43:19 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
121
122 * gen-protos.c (parse_fn_proto): Cast argument of ISALNUM to
123 `unsigned char'.
124 (main): Mark parameter `argc' with ATTRIBUTE_UNUSED.
125 When generating output, initialize missing struct member to zero.
126
1a8fca8a
R
127Wed Sep 16 14:47:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
128
129 * regmove.c (copy_src_to_dest): Don't copy if that requires
130 (a) new register(s).
131
f15ebf65
BS
132Wed Sep 16 01:29:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
133
134 * global.c (reg_allocno): Now static.
135 * reload1.c (reg_allocno): Delete declaration.
136 (order_regs_for_reload): Take no arguments. Don't treat regs
137 allocated by global differently than those allocated by local-alloc.
138
3dbf3a22
KI
139Wed Sep 16 01:09:01 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
140
b0e982be
KI
141 * m68k/m68k.c (output_function_prologue): Reverse NO_ADDSUB_Q
142 condition, fix format strings.
143 (output_function_epilogue): Likewise.
144
3dbf3a22
KI
145 * m68k/m68k.c: Don't include <stdlib.h> directly.
146
b86ba9c8
GK
147Wed Sep 16 00:30:56 1998 Geoff Keating <geoffk@ozemail.com.au>
148
149 * gcse.c: New definition NEVER_SET for reg_first_set, reg_last_set,
150 mem_first_set, mem_last_set; because 0 can be a CUID.
151 (oprs_unchanged_p): Use new definition.
152 (record_last_reg_set_info): Likewise.
153 (record_last_mem_set_info): Likewise.
154 (compute_hash_table): Likewise.
155
54d65918
JL
156Tue Sep 15 22:59:52 1998 Jeffrey A Law (law@cygnus.com)
157
6f573ff9
JL
158 * rs6000.c (output_epilogue): Handle Chill.
159
fa88e837
JL
160 * mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
161 * mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
162
0d8e55d8
JL
163 * combine.c (make_extraction): If no mode is specified for
164 an operand of insv, extv, or extzv, default it to word_mode.
165 (simplify_comparison): Similarly.
166 * expmed.c (store_bit_field): Similarly.
167 (extract_bit_field): Similarly.
168 * function.c (fixup_var_regs_1): Similarly.
169 * recog.c (validate_replace_rtx_1): Similarly.
170 * mips.md (extv, extzv, insv expanders): Default modes for most
171 operands. Handle TARGET_64BIT.
172 (movdi_uld, movdi_usd): New patterns.
173
54d65918
JL
174 * pa.c (emit_move_sequence): Do not replace a pseudo with its
175 equivalent memory location unless we have been provided a scratch
176 register. Similarly do not call find_replacement unless a
177 scratch register has been provided.
178
c09a3c2e
BS
179Tue Sep 15 19:23:01 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
180
181 * i386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants,
182 return FLOAT_REGS.
183
71038426
RH
184Tue Sep 15 19:09:06 1998 Richard Henderson <rth@cygnus.com>
185
186 * tree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused. Kill.
187 (BUILT_IN_FP, BUILT_IN_SP, BUILT_IN_SET_RETURN_ADDR_REG): Kill.
188 (BUILT_IN_EH_STUB_OLD, BUILT_IN_EH_STUB, BUILT_IN_SET_EH_REGS): Kill.
189 (BUILT_IN_EH_RETURN, BUILT_IN_DWARF_CFA): New.
190 * c-decl.c (init_decl_processing): Update accordingly.
191 * expr.c (expand_builtin): Likewise.
192
193 * rtl.h (global_rtl): Add cfa entry.
194 (virtual_cfa_rtx, VIRTUAL_CFA_REGNUM): New.
195 (LAST_VIRTUAL_REGISTER): Update.
196 * emit-rtl.c (global_rtl): Add cfa entry.
197 (init_emit): Initialize it.
198 * function.c (cfa_offset): New.
199 (instantiate_virtual_regs): Initialize it.
200 (instantiate_virtual_regs_1): Instantiate virtual_cfa_rtx.
201 (expand_function_end): Call expand_eh_return.
202 * tm.texi (ARG_POINTER_CFA_OFFSET): New.
203
204 * except.c (current_function_eh_stub_label): Kill.
205 (current_function_eh_old_stub_label): Likwise; update all references.
206 (expand_builtin_set_return_addr_reg): Kill.
207 (expand_builtin_eh_stub_old, expand_builtin_eh_stub): Kill.
208 (expand_builtin_set_eh_regs): Kill.
209 (eh_regs): Produce a third reg for the actual handler address.
210 (eh_return_context, eh_return_stack_adjust): New.
211 (eh_return_handler, eh_return_stub_label): New.
212 (init_eh_for_function): Initialize them.
213 (expand_builtin_eh_return, expand_eh_return): New.
214 * except.h: Update prototypes.
215 * flow.c (find_basic_blocks_1): Update references to the stub label.
216 * function.h (struct function): Kill stub label elements.
217
218 * libgcc2.c (in_reg_window): For REG_SAVED_REG, check that the
219 register number is one that would be in the previous window.
220 Provide a dummy definition for non-windowed targets.
221 (get_reg_addr): New function.
222 (get_reg, put_reg, copy_reg): Use it.
223 (__throw): Rely on in_reg_window, not INCOMING_REGNO. Kill stub
224 generating code and use __builtin_eh_return. Use __builtin_dwarf_cfa.
225
226 * alpha.c (alpha_eh_epilogue_sp_ofs): New.
227 (alpha_init_expanders): Initialize it.
228 (alpha_expand_epilogue): Use it.
229 * alpha.h: Declare it.
230 * alpha.md (eh_epilogue): New.
231
232 * m68h.h (ARG_POINTER_CFA_OFFSET): New.
233 * sparc.h (ARG_POINTER_CFA_OFFSET): New.
234
bb210aaf
MM
235Tue Sep 15 19:31:58 1998 Michael Meissner <meissner@cygnus.com>
236
237 * i960.h (CONST_COSTS): Fix thinko. Test flag, not the constant
238 flag bit mask.
239
bf71cd2e
AM
240Tue Sep 15 14:10:54 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
241
242 * except.h (struct eh_entry): Add false_label field.
243 (end_catch_handler): Add prototype.
244 * except.c (push_eh_entry): Set false_label field to NULL_RTX.
245 (start_catch_handler): When using old style exceptions, issue
246 runtime typematch code before continuing with the handler.
247 (end_catch_handler): New function, generates label after handler
248 if needed by older style exceptions.
249 (expand_start_all_catch): No need to check for new style exceptions.
250 (output_exception_table_entry): Only output the first handler label
251 for old style exceptions.
252 * libgcc2.c (__eh_rtime_match): New routine to lump runtime matching
253 mechanism into one function, if a runtime matcher is provided.
254
8a21007c
AM
255Tue Sep 15 13:53:59 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
256
257 * config/i960/i960.h (SLOW_BYTE_ACCESS): Change definition to 1.
258
11d09c08
MM
259Tue Sep 15 09:59:01 1998 Mark Mitchell <mark@markmitchell.com>
260
261 * integrate.c (copy_decl_list): Fix typo.
262
2d81c9bf
DM
263Tue Sep 15 04:18:52 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
264
265 * config/sparc/sparc.md (movdf_const_intreg_sp32): Fix length
266 attribute.
267
e12994ab
JL
268Mon Sep 14 14:02:53 PDT 1998 Jeff Law (law@cygnus.com)
269
270 * version.c: Bump for snapshot.
271
028d0b2a
JL
272Mon Sep 14 10:33:56 PDT 1998 Jeff Law (law@cygnus.com)
273
274 * version.c: Bump for snapshot.
275
466973ed
JL
276Mon Sep 14 09:51:05 PDT 1998 Jeff Law (law@cygnus.com)
277
278 * version.c: Bump for snapshot.
279
ad299d9b
DM
280Sun Sep 13 22:10:18 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
281
282 * invoke.texi (C Dialect Options): Put back missing @end itemize.
283
1b015bec
AO
284Mon Sep 14 02:33:46 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
285
286 * configure.in: remove usage of `!' to negate the result of a
287 command; some common shells do not support it
288
d7496fbb
DM
289Sun Sep 13 19:17:35 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
290
291 * configure.in: in sparc9-sol2 config, use 'if test' not
292 brackets.
293 * configure: Rebuilt.
294
295 * config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
296 CM_MEDANY.
297 (CPP_CPU_SPEC): Do not define _LP64, header files do this.
298 (CPP_CPU_DEFAULT_SPEC): Likewise.
299 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
300 for arch64 libfuncs.
301
073149a2
DM
302 * config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
303 for operand zero.
304
007e8d2a
KG
305Sun Sep 13 09:11:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
306
307 * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
308
309 * collect2.c: Don't declare `sys_siglist' here.
310 (my_strsignal): Prototype and define new function. Use it in
311 place of `sys_siglist' hacks.
312
313 * mips_tfile.c: Likewise.
314
315 * configure.in (AC_CHECK_FUNCS): Check for strsignal.
316 (GCC_NEED_DECLARATIONS): Likewise.
317
318 * system.h (strsignal): Prototype it, if necessary.
319 (sys_siglist): Declare it, if necessary.
320
9655bf95
DM
321Sun Sep 13 04:37:28 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
322
323 * loop.c (move_movables): While removing insn sequences, preserve
324 the next pointer of the most recently deleted insn when we skip
325 over a NOTE.
326
fbe39e48
BE
327Sun Sep 13 08:13:39 1998 Ben Elliston <bje@cygnus.com>
328
329 * objc/config-lang.in: Do not output the name of the selected
330 thread file when building the front-end. The Makefile for the
331 runtime library will do this.
332
333 * objc/Make-lang.in: Do not build the runtime library or install
334 the Objective C header files. The Makefile for the runtime
335 library will do this.
336
337 * objc/Makefile.in (all.indirect): Only build the front-end.
338 (compiler): Rename to `frontend'.
339 (obj-runtime): Remove target.
340 (copy-headers): Likewise.
341 (clean): No need to remove `libobjc.a' any longer.
342
b91d2c10
MM
343Sat Sep 12 11:37:19 1998 Michael Meissner <meissner@cygnus.com>
344
345 * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
346 supported with -mcpu=xxx.
347
86465af7
DM
348Fri Sep 11 23:55:54 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
349
350 * flow.c (mark_set_1): Recognize multi-register structure return
351 values in CALL insns.
352 (mark_used_regs): Likewise.
353 (count_reg_sets_1): Likewise.
354 (count_reg_references): Likewise.
355 * rtlanal.c (note_stores): Likewise.
c0222c21
DM
356 (reg_overlap_mentioned_p): Likewise.
357 * haifa-sched.c (check_live_1): Likewise.
358 (update_live_1): Likewise.
359 (sched_analyze_1): Likewise.
360 (sched_note_set): Likewise.
361 (birthing_insn_p): Likewise.
362 (attach_deaths): Likewise.
363
364 * config/sparc/sparc.md (movdf_const_intreg_sp64): Disable.
365
86465af7 366
37a29ee7
ED
367Fri Sep 11 22:57:55 1998 Eric Dumazet <dumazet@cosmosbay.com>
368
45259482 369 * config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
37a29ee7 370
75bba2a6
DM
371Thu Sep 10 22:02:04 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
372
373 * glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
374
d1accaa3
JJ
375Thu Sep 10 21:19:10 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
376
377 * configure.in: Add check for GAS subsection -1 support.
378 * acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
379 * configure config.in: Rebuilt.
380 * config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
381 SImode is subsection -1 works, else use DImode.
382 (ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
383 subsection -1 works.
384 * config/sparc/sparc.c (sparc_output_addr_vec,
385 sparc_output_addr_diff_vec): Use them if defined.
386
02e24c7a
MM
387Thu Sep 10 10:46:01 1998 Mark Mitchell <mark@markmitchell.com>
388
389 * tree.h (DECL_ORIGIN): New macro.
390 * integrate.c (copy_and_set_decl_abstract_origin): New function.
391 (copy_decl_list): Use it.
392 (integrate_parm_decls): Likewise.
393 (integrate_decl_tree): Likewise.
394 * dwarf2out.c (decl_ultimate_origin): Simplify.
395 * dwarfout.c (decl_ultimate_origin): Likewise.
396 * c-decl.c (duplicate_decls): Use DECL_ORIGIN.
397 (pushdecl): Likewise.
398
9517ead8
AG
399Thu Sep 10 08:01:31 1998 Anthony Green <green@cygnus.com>
400
401 * config/rs6000/rs6000.c (output_epilog): Add Java support.
402
95c81fb8
ML
403