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