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