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