]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
function.c (assign_stack_temp_for_type): Fix change of Mar 5 for the fact that ALIGN...
[gcc.git] / gcc / ChangeLog
CommitLineData
010529e5
AS
1Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
2
3 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
4 the fact that ALIGN is measured in bits, not bytes.
5
e89a9554
ZW
61999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
7
8 * c-typeck.c (c_expand_start_case): Return immediately if exp
9 is an ERROR_MARK.
10 * fold-const.c (operand_equal_p): Return immediately if arg1
11 or arg0 are ERROR_MARKs.
12 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
13 fields of type ERROR_MARK when calculating if the record can
14 go in a register.
15
7759f25b
JK
16Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
17 with much help from Jeffrey A Law and Richard Henderson
18
19 * i386.md: In the 6 insns which call output_fix_trunc,
20 earlyclobber operands[0].
21
5ca8e6f7
PB
22Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
23
24 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
25 creating new registers.
26
9c23aa47
ZW
271999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
28
29 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
30 i386_reg_alloc_order, i386_regparm_string,
31 i386_align_loops_string, i386_align_jumps_string,
32 i386_align_funcs_string, i386_preferred_stack_boundary_string,
33 and i386_branch_cost_string as type "const char *".
34 * i386.c: Define all above strings as type "const char *".
35
b122caab
JW
36Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
37
38 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
39 when emitting alignment padding. Emit padding byte of 0 instead of 4.
40
c3da6f12
MM
41Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
42
43 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
44 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
45
b2244e22
JW
46Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
47
48 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
49 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
50 (dwarf2out_line, dwarf2out_finish): Likewise.
51 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
52
4ef8e8f5
GRK
53Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
54
55 * tree.c (lang_unsave_expr_now) : Correct return type.
56 * tree.h (lang_unsave_expr_now) : Same.
57
b85ed4fc
JL
58Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
59
59de811e 60 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
b85ed4fc
JL
61 instead of duplicating code.
62
21e3a717
BS
63Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
64
65 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
66
8ce25479
ZW
671999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
68
69 * tree.h: fancy_abort always takes three args.
70 * resource.c: Move include of system.h before toplev.h.
71
368f4cd6
NC
72Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
73
74 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
75 as SYMBOL_REFs.
76
987009bf
ZW
771999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
78
79 * system.h: Don't redefine abort or trim_filename.
80 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
81 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
82 whether or not __FUNCTION__ is available.
83 * tree.h: Duplicate rtl.h's definition of abort, for files
84 that don't include rtl.h. Delete all code to perform type
85 checking with a compiler other than GCC.
86 * varray.h: Delete all code to perform type checking with a
87 compiler other than GCC. Make VARRAY_CHECK() always evaluate
88 its arguments exactly once, using a statement expression.
89 Adjust the VARRAY_<type> accessor macros to match.
90 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
91 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
92 caller's location. Define fatal_insn and fatal_insn_not_found
93 as macros that use _fatal_insn and _fatal_insn_not_found.
94 (fancy_abort, trim_filename): Kill prototypes.
95
96 * rtl.c (trim_filename): Move here from toplev.c.
97 (fancy_abort): New function.
98 (DIR_SEPARATOR): Provide default definition.
99 * tree.c (tree_check_failed, tree_class_check_failed): Go
100 through fancy_abort.
101 (tree_check, tree_class_check, cst_or_constructor_check,
102 expr_check): Delete.
103 * varray.c (varray_check_failed): New function.
104 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
105 _fatal_insn and _fatal_insn_not_found. Go through
106 fancy_abort.
107 (trim_filename, fancy_abort): Delete.
108
109 * builtins.c (expand_builtin_args_info): Report ICE with abort.
110 * except.c (start_catch_handler): Report ICE with error/abort
111 combo.
112 * final.c (output_operand_lossage): Likewise.
113 * flow.c (verify_flow_info): Likewise.
114
115 * gcc.c: Prototype fatal.
116 * gengenrtl.c: Undef abort after including rtl.h not system.h.
117 * genattr.c, genattrtab.c, genemit.c, genextract.c,
118 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
119 Don't define fancy_abort.
120
5879933a
RH
121Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
122
123 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
124 canonization.
125
2cb3d06c
RH
126Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
127
128 * m88k.h (VERSION_INFO2): Kill.
129 (VERSION_STRING): Kill.
130 (TM_RCS_ID): Kill.
131 (VERSION_INFO1): Tidy.
132 (TARGET_VERSION): Update.
133 * m88k/dgux.h (VERSION_INFO2): Kill.
134 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
135 * m88k/luna.h (VERSION_INFO1): Tidy.
136 * m88k/sysv4.h (VERSION_INFO1): Likewise.
137 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
138 (output_file_start): Adjust for death of VERSION_STRING.
139
1d0e51ba
JM
1401999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
141
142 * cpplib.c (detect_if_not_defined): New function.
143 (do_if): Use it to detect potential once-only headers.
144
ccd4c832
JM
145Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
146
147 * c-common.c (combine_strings): Always set TREE_CONSTANT.
148
57cf50a4
GRK
149Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
150
151 * combine.c (nonzero_bits) : Allow single-ly set registers to be
152 anywere in the function only if they are pseudos and set before
153 being used (not live at the start of the function).
154 (num_sign_bit_copies) : Same.
155 (get_last_value_validate) : Same.
156 (get_last_value) : Same.
157
e0485b85
RH
158Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
159
160 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
161 where N and M are constant and N is an integer multiple of M.
162
36349f8b
AM
163Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
164
165 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
166 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
167 sbitmap_union_of_preds): Add prototypes.
168 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
169 the intersection of successors with the new flow graph structures.
170 (sbitmap_intersection_of_preds): New function to compute the
171 intersection of predecessors with the new flow graph structures.
172 (sbitmap_union_of_succs): New function to compute the union of
173 successors with the new flow graph structures.
174 (sbitmap_union_of_preds): New function to compute the union of
175 predecessors with the new flow graph structures.
176 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
177 (expr_reaches_here_p): Use edge and basic_block structures instead
178 of s_preds and s_succs.
179 (compute_cprop_avinout): Use new sbitmap routines.
180 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
181 of s_preds and s_succs.
182 * flow.c (compute_flow_dominators): Compute dominators using
183 edges and basic blocks instead of s_preds and s_succs.
184
5a4f6418
AM
185Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
186
187 * lists.c (unused_insn_list, unused_expr_list): New file for
188 maintaining various types of lists. New statics for maintaining a
189 cache of available INSN_LIST and EXPR_LIST nodes.
190 (free_list): Static function for freeing a list of INSN/EXPR nodes.
191 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
192 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
193 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
194 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
195 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
196 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
197 (free_INSN_LIST_node): Free an individual INSN_LIST node.
198 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
199 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
200 (remove_dependence, free_pending_lists): Use new global routines.
201 (flush_pending_lists, sched_analyze_insn): Use new global routines.
202 (sched_analyze, compute_block_backward_dependences): Use new routines.
203 (sched_analyze_1, sched_analyze_2): Use new routines.
204 (schedule_insns): Use new global routines.
205 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
206 prototypes.
207 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
208 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
209 prototypes.
210 * toplev.c (rest_of_compilation): Initialize node cache.
211 * Makefile.in (OBJS): Add lists.o to list of object files.
212 (lists.o): Add dependancies.
213
b54480a7
NC
214Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
215
216 * config/v850/v850.md: Fix compile time warning messages.
217 * config/v850/v850.c: Fix compile time warning messages.
218 * config/v850/v850.h: Fix compile time warning messages.
219
ffee6d93
KG
220Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
221
222 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
223 Remove unused prototype for `init_lengths'.
224
6a651371
KG
225Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
226
227 * calls.c (emit_call_1): Mark parameter `stack_size' with
228 ATTRIBUTE_UNUSED.
229 (expand_call): Initialize variable `insn'.
230 (emit_library_call): Likewise for variable `high_to_save'.
231 (emit_library_call_value): Likewise.
232 (store_one_arg): Likewise for variables `lower_bound' and
233 `upper_bound'.
234
235 * combine.c (try_combine): Likewise for variables `i2_code_number'
236 and `other_code_number'.
237 (find_split_point): Likewise for variables `pos', `unsignedp' and
238 `inner'.
239 (simplify_if_then_else): Likewise for variables `op' and `c1'.
240 (simplify_and_const_int): Remove unused variable `width'.
241 (merge_outer_ops): Likewise.
242
243 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
244 HOST_WIDE_INT' when comparing against one.
245 (simplify_relational_operation): Likewise.
246 (cse_insn): Initialize variables `src_eqv_volatile',
247 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
248
249 * final.c (init_final): Constify parameter `filename'.
250 (final_start_function): Mark parameter `optimize' with
251 ATTRIBUTE_UNUSED.
252 (profile_function): Likewise for parameters `first' and `optimize'.
253 (output_source_line): Likewise for parameter `file'.
254
255 * integrate.c (subst_constants): Cast a value to `size_t' when
256 comparing against one.
257 (mark_stores): Initialize variable `mode'. Cast a value to
258 `size_t' when comparing against one.
259
260 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
261
262 * loop.c (move_movables): Initialize variable `first'.
263 (strength_reduce): Likewise for variable `increment'.
264 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
265 value to `size_t' when comparing against one.
266 (load_mems): Initialize variable `end_label'.
267
268 * output.h (init_final): Constify parameter.
269
270 * reload.c (decompose): Initialize variable `base'.
271
272 * reload1.c (reload): Likewise for variable `is_scalar'.
273 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
274 (choose_reload_regs): Initialize variable `mode'.
275 (emit_reload_insns): Likewise for variable `store_insn'.
276 (reload_cse_noop_set_p): Mark parameter `insn' with
277 ATTRIBUTE_UNUSED.
278 (reload_combine): Initialize variable `set'.
279
280 * unroll.c (unroll_loop): Likewise for variable `local_label'.
281 (copy_loop_body): Cast a value to `size_t' when comparing against
282 one.
283
284 * varasm.c (assemble_variable): Initialize variable `size_tree'.
285 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
286 (remove_from_pending_weak_list): Mark parameter `name' with
287 ATTRIBUTE_UNUSED.
288
e5ad6436
BS
289Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
290
291 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
292 gcse dump file.
293
c9304747
NC
294Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
295
296 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
297 (ASM_DECLARE_FUNCTION_NAME): Define.
298 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
299 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
300 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
301 not already defined.
302
8bcafee3
JDA
303Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
304
305 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
306 of n_popped when call/call_value are not defined.
307
a3a15b4d
JL
308Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
309
310 * tm.texi: GNU CC -> GCC conversion.
311 (CC1_SPEC): Indicate it is used for all language front ends.
312
3ad47811
MM
313Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
314
315 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
316 NOTE_INSN_EH_REGION_END correctly.
317
66b9b71f 318Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
73049ebc
MT
319 Jeff Law <law@cygnus.com>
320
321 * loop.c (strength_reduce): Automatically unroll loops if the
322 unrolled loop size is smaller than the rolled loop size.
66b9b71f
MT
323
324 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
325 and delete comment that code should be rewritten.
326
8f04d345
JL
327Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
328
50f71e6f
JL
329 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
330 as reachable.
331
8f04d345
JL
332 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
333
411c6851
MK
334Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
335
336 * fixinc/mkfixinc.sh: Don't fix uwin headers.
337 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
338 (LINK_SPEC): Add -u _main when building executables.
339 (ASM_DECLARE_FUNCTION): Update from Cygwin.
340 (ASM_FILE_END): Use the default for ix86-pe.
341 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
342
b6c8689d
AH
343Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
344
345 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
346 and ASM_CLOSE_PAREN are empty strings.
347
d059a239
FF
348Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
349 Geoffrey Keating <geoffk@cygnus.com>
350
351 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
352 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
353 (unprotoize.o): Ditto.
354 (test-protoize-simple): Don't define STD_PROTO_DIR.
355 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
356 changes to make 'test-protoize-simple' pass.
357 (STD_PROTO_DIR): Remove define.
358 (STANDARD_EXEC_PREFIX): Supply default define.
359 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
360 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
361 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
362 (GET_ENV_PATH_LIST): New macro.
363 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
364 (do_processing): Initialize default_syscalls_dir using new
365 macros. Use it to initialize syscalls_absolute_filename.
366
1f081ffb
RH
367Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
368
369 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
370 B into a register before emit_conditional_move.
371
abe4f192
RH
372Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
373
374 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
375 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
376 multiplicand out of (+ (* a b) (* c d)).
377
f2a1bc02
BM
378Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
379 Richard Henderson <rth@cygnus.com>
380
381 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
382 (new_insn_dead_notes): Likewise.
383 (update_n_sets): Likewise.
384 (update_flow_info): Move to flow.c, renamed to update_life_info;
385 extend to handle multiple source insns.
386 * flow.c: Include resource.h
387 (unlink_insn_chain): New.
388 (split_hard_reg_notes): New.
389 (maybe_add_dead_note): New.
390 (maybe_add_dead_note_use): New.
391 (find_insn_with_note): New.
392 (new_insn_dead_notes): New.
393 (update_n_sets): New.
394 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
395 (maybe_remove_dead_notes): New.
396 (update_life_info): New.
397 (prepend_reg_notes): New.
398 (replace_insns): New.
399 * output.h (update_life_info): Declare.
400 * recog.c (split_block_insns): Use update_life_info.
401 * resource.c (find_free_register): Use reg_alloc_order, don't use
402 fixed regs, make sure the mode is supported, don't use new regs.
403 (reg_dead_p): New.
404 * rtl.h (replace_insns): Declare.
405
2ac84cfe
NS
406Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
407
408 * expr.c (expand_expr): Cope with COND_EXPRs with one
409 non-returning branch.
410
1da93fe0
MM
411Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
412
413 * expr.c (store_expr): Always pass down the target, even when not
414 doing CSE.
415
7a846a6c
NC
4161999-08-24 Nick Clifton <nickc@cygnus.com>
417
418 * configure.in: Define target_cpu_default for v850 targets.
419 * configure: Regenerate
420
421 * config/v850/v850.h (TARGET_CPU_generic): Define.
422 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
423 addresses are 4 byte aligned.
424
425 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
426 addresses.
427
69277eec
KG
428Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
429
430 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
431 (main): Add prototypes.
432
433 * genattrtab.c (substitute_address, write_const_num_delay_slots,
434 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
435 (write_attr_get): Emit prototypes along with function definition.
436 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
437 (write_complex_function): Emit static prototype along with
438 function definition.
439
440 * genemit.c (gen_split): Emit prototypes along with function
441 definition.
442
443 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
444 Likewise for predicates and `insn_operand_predicate'.
445 (process_template): Emit static prototype along with function
446 definition.
447
448 * genrecog.c (make_insn_sequence): Constify a char*. Add
449 prototypes for get_split_*().
450 (write_subroutine): Emit prototypes along with function
451 definition.
452
bf6bb899
BS
453Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
454
cafba495
BS
455 * gcse.c (find_avail_set): Follow chains of register-register copies.
456 Use oprs_not_set_p to guarantee that the returned value can be
457 substituted.
458 (cprop_insn): Don't verify the return value of find_avail_set with
459 oprs_not_set_p.
460
abd535b6
BS
461 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
462 (cprop_cc0_jump): New function.
463 (cprop_insn): Break out new function cprop_jump and use it.
464 Also use cprop_cc0_jump for machines with CC0.
465 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
466
bf6bb899
BS
467 * tree.h (current_function_calls_setjmp,
468 current_function_calls_longjmp): Delete declarations.
469 * dsp16xx.c: Include "function.h".
470 * elxsi.c: Likewise.
471 * gmicro.c: Likewise.
472 * h8300.c: Likewise.
473 * i370.c: Likewise.
474 * m32r.c: Likewise.
475 * mn10200.c: Likewise.
476 * mn10300.c: Likewise.
477 * ns32k.c: Likewise.
478 * spur.c: Likewise.
479 * v850.c: Likewise.
480
481 * rtl.h (rtx_equal_function_value_matters): Declare.
482 * toplev.c (rtx_equal_function_value_matters): Don't declare.
483 * cse.c: Likewise.
484 * function.c: Likewise.
485 * emit-rtl.c: Likewise.
486
d60eaeff
JL
487Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
488
489 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
490 call.
491
5dd34fe0
HB
4921999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
493
494 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
495 exactly.
496
21c8d03d
MK
497Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
498
499 * cpp.texi: Add a node documenting macro varargs (copied
500 from extend.texi).
501
3ed4f5ed
ZW
5021999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
503
504 * cppspec.c: Put a null pointer at the end of the new argv.
505
7b5efe21
JL
506Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
507
508 * configure.in: Remove code to select/de-select the haifa
509 scheduler. Every scheduled port gets haifa now.
510 * configure: Rebuilt.
511 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
512 * sched.c Deleted.
513 * Makefile.in: Corresponding changes.
514
c5c60e15
BS
515Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
516
517 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
518 All callers changed.
519 (prepare_float_lib_cmp): Likewise.
520 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
521 * expr.h (emit_float_lib_cmp): Delete declaration.
522 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
523 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
524 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
525 specially.
526 (cmptf): Now conditional on TARGET_HARD_QUAD.
527
8328efa3
JW
528Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
529
530 * resource.c (mark_target_live_regs): Use
531 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
532
1f9a015e
KG
533Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
534
535 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
536
537 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
538
539 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
540
6f7d635c
KG
541Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
542
543 * rtl.h (rtx_format): Constify a char*.
544
545 * rtl.c (rtx_format): Likewise.
546 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
547 (init_rtl): Use accessor macro, not `rtx_format'.
548
549 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
550 char*.
551
552 * caller-save.c (mark_referenced_regs): Likewise.
553
554 * combine.c (subst, make_compound_operation, known_cond,
555 gen_rtx_combine, update_table_tick, get_last_value_validate,
556 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
557
558 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
559 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
560 count_reg_usage): Likewise.
561
562 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
563 Likewise.
564
565 * final.c (leaf_renumber_regs_insn): Likewise.
566
567 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
568 dump_edge_info, count_reg_references): Likewise.
569
570 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
571 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
572 Likewise.
573
574 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
575 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
576 add_label_notes): Likewise.
577
578 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
579 clear_struct_flag, count_sub_rtxs, count_alternatives,
580 compares_alternatives_p, contained_in_p, walk_attr_value,
581 write_expr_attr_cache): Likewise.
582
583 * genconfig.c (walk_insn_part): Likewise.
584
585 * genemit.c (max_operand_1, gen_exp): Likewise.
586
587 * genextract.c (walk_rtx): Likewise.
588
589 * genflags.c (num_operands): Likewise.
590
591 * genoutput.c (scan_operands): Likewise.
592
593 * genpeep.c (match_rtx): Likewise.
594
595 * genrecog.c (add_to_sequence): Likewise.
596
597 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
598 Likewise.
599
600 * integrate.c (save_constants, copy_for_inline,
601 copy_rtx_and_substitute, subst_constants, restore_constants):
602 Likewise.
603
604 * jump.c (mark_jump_label, invert_exp, redirect_exp,
605 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
606
607 * local-alloc.c (contains_replace_regs, memref_referenced_p):
608 Likewise.
609
610 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
611 add_label_notes, replace_call_address, count_nonfixed_reads,
612 invariant_p, find_single_use_in_loop, find_mem_givs,
613 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
614 Likewise.
615
616 * print-rtl.c (reg_names, print_rtx): Likewise.
617
618 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
619
620 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
621 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
622 print_blocks): Likewise.
623
624 * regclass.c (fix_register, record_address_regs,
625 reg_scan_mark_refs): Likewise.
626
627 * regmove.c (stable_but_for_p): Likewise.
628
629 * reload.c (loc_mentioned_in_p, operands_match_p,
630 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
631 copy_replacements, refers_to_regno_for_reload_p,
632 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
633 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
634 Likewise.
635
636 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
637 delete_address_reloads_1, count_occurrences,
638 reload_cse_mem_conflict_p, reload_combine_note_use,
639 add_auto_inc_notes): Likewise.
640
641 * resource.c (mark_referenced_resources, mark_set_resources):
642 Likewise.
643
644 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
645 reg_mentioned_p, regs_set_between_p, modified_between_p,
646 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
647 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
648 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
649 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
650
651 * sched.c (sched_analyze_2, attach_deaths): Likewise.
652
653 * stupid.c (stupid_mark_refs): Likewise.
654
655 * unroll.c (remap_split_bivs): Likewise.
656
657 * varasm.c (mark_constants): Likewise.
658
659 * a29k/a29k.c (uses_local_reg_p): Likewise.
660
661 * alpha/alpha.c (summarize_insn): Likewise.
662
663 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
664 eliminate_lr2ip): Likewise.
665
666 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
667
668 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
669 reg_mentioned_in_mem): Likewise.
670
671 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
672 symbolic_reference_mentioned_p): Likewise.
673
674 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
675
676 * sh/sh.c (regs_used, mark_use): Likewise.
677
678 * vax/vax.c (vax_rtx_cost): Likewise.
679
a4ec8d12
KG
680Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
681
682 * machmode.h (mode_name): Constify a char*.
683
684 * rtl.c (mode_name): Likewise.
685
686 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
687
688 * optabs.c (init_libfuncs): Constify a char*.
689
690 * print-tree.c (mode_name): Remove redundant declaration.
691 (print_node): Use accessor macro, not `mode_name'.
692
693 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
694 not `mode_name'.
695 (new_spill_reg): Constify a char*.
696
697 * tree.c (mode_name): Remove redundant declaration.
698
5f06c983
KG
699Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
700
701 * rtl.c (rtx_name): Constify a char*.
702
703 * rtl.h (rtx_name, fix_sched_param): Likewise.
704
705 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
706 (mypr): Use accessor macro, not `rtx_name'.
707
708 * genemit.c (print_code): Constify a char*.
709
710 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
711
712 * genpeep.c (print_code): Constify a char*.
713
714 * genrecog.c (print_code): Likewise.
715
716 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
717 end_bb): Add static prototype.
718 (draw_edge): Constify a char*.
719 (end_bb): Remove unused parameter.
720
721 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
722 print_block_visualization): Constify a char*.
723
b61148dd
MM
724Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
725
726 * c-common.c (c_get_alias_set): Update comment.
727
48a1ecfc
AJ
7281999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
729
730 * linux.h (LIB_SPEC): Added.
731
ad69db4a
MH
732Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
733
734 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
735
efe0774e
ZW
7361999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
737
738 * tree.c (expr_check): Fix typo in last change.
739
8f985ec4
ZW
7401999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
741
742 * rtl.def (NOTE): Change format to "iuu0n".
743 (ADDR_DIFF_VEC): Change format to "eEee0".
744 (ADDRESSOF): Change format to "eit".
745
746 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
747 (RTVEC_ELT): Change to match.
748 (XVECEXP): Use XVEC and RTVEC_ELT.
749 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
750 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
751 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
752 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
753 TRAP_CONDITION, TRAP_CODE): Use XEXP.
754 (INTVAL): Use XWINT.
755 (ADDRESSOF_DECL): Use XTREE.
756 (SET_ADDRESSOF_DECL): Delete.
757 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
758 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
759 ifdefed out since 2.6 at least.
760 (gen_rtvec_vv): Delete prototype.
761
762 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
763 not rtunion.
764 (copy_most_rtx): Handle 't' format letter.
765 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
766 (gen_rtvec_vv): Delete function. All callers changed to use
767 gen_rtvec_v instead.
768 * print-rtl.c (print_rtx): Move special casing of NOTEs to
769 the '0' format letter.
770
771 * function.c (gen_mem_addressof): Don't use
772 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
773 instead.
774 * integrate.c (copy_rtx_and_substitute): Likewise.
775 Copy 't' slots with XTREE.
776 (subst_constants): Treat 't' slots like '[swi]' slots.
777 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
778 * jump.c (rtx_equal_for_thread_p): Likewise.
779 * rtlanal.c (rtx_equal_p): Likewise.
780 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
781 only four arguments.
782 * gengenrtl.c (type_from_format): Provide correct types for
783 'b' and 't' slots.
784
785
786 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
787 If a recent gcc is in use (always in stage2 and beyond), use
788 statement expressions, so we don't make a function call unless
789 the check fails. Evaluate arguments exactly once.
790 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
791 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
792 Delete.
793 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
794 they evaluate their arguments exactly once, irrespective of
795 the compiler in use.
796
797 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
798 is used by the currently-enabled check macros. This is:
799 (tree_check_failed, tree_class_check_failed): For gcc.
800 (tree_check, tree_class_check, cst_or_constructor_check,
801 expr_check): For other compilers.
802
803 * gencheck.c: Do not define any *_CHECK1 macros.
804
02af3af6 805Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
1d0e51ba 806 Mark Mitchell <mark@codesourcery.com>
02af3af6
MS
807
808 * c-common.c (c_get_alias_set): Fix support for poitners and
809 references.
810
7790df19
JW
811Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
812
813 * alias.c: Include tree.h.
814 (nonlocal_reference_p, mark_constant_function): New functions.
815 * flow.c (life_analysis): Call mark_constant_function.
816 * rtl.h (mark_constant_function): Declare it.
817
4406229e
NC
818Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
819
820 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
821 unrecognisable switches.
822
0aa487d5
R
823Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
824
825 * loop.c (recombine_givs): Set ix field after sorting.
826 (recombine_givs): Remove bogus index / giv lockstep looping.
827
b30f05db
BS
828Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
829
830 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
831 on CODE.
832 (emit_store_flag_force): Use do_compare_rtx_and_jump.
833 (do_cmp_and_jump): Formatting fixes.
834 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
835 do_compare_rtx_and_jump instead of compare_from_rtx.
836 (do_compare_rtx_and_jump): New function; mostly copied from
837 compare_from_rtx.
838 (do_jump_for_compare): Delete.
839 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
840 MIN_EXPR.
841 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
842 of compare/do_jump_for_compare pairs.
843 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
844 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
845 compare_from_rtx/do_jump_for_compare pairs.
846 (do_jump_by_parts_equality): Likewise.
847 (do_jump_by_parts_equality_rtx): Likewise.
848 * expr.h (do_compare_rtx_and_jump): Declare.
849 * optabs.c (prepare_cmp_insn): New function, contains most of the code
850 that used to be in emit_cmp_insn.
851 (cmp_available_p): New function.
852 (prepare_operand): New function.
853 (emit_cmp_and_jump_insn_1): New function, contains some code that used
854 to be in emit_cmp_insn.
855 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
856 parameters to be pointers; don't emit final compare but modify some of
857 the values pointed to by the args so the caller can perform the
858 correct comparison.
859 (expand_binop): Call emit_store_flag_force with signed forms of
860 comparison code.
861 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
862 emit_jump_insn pair.
863 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
864 emit_cmp_and_jump_insn_1. Call emit_queue.
865 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
866 arg.
867 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
868 jump sets cc0 before deleting it.
869 * integrate.c (expand_inline_function): Likewise.
870 * unroll.c (unroll_loop): Similar changes in several places.
871 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
872 before deleting it.
873
3648099b
BS
874Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
875
876 * Makefile.in (insn-recog.o): Update dependencies.
877 * genrecog.c (main): Make generated file include "function.h".
878
312f6255
GK
879Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
880
881 * cse.c (cse_insn): Call never_reached_warning when a jump is
882 changed to be unconditional.
883 * flags.h: Declare warn_notreached.
884 * flow.c (delete_block): Call never_reached_warning when
885 a block is deleted.
886 * jump.c (delete_barrier_successors): Call never_reached_warning
887 when we delete everything after a BARRIER.
888 (never_reached_warning): New function.
889 * rtl.h: Declare never_reached_warning.
890 * toplev.c (warn_notreached): New variable.
891 (lang_independent_options): Set warn_notreached
892 when -Wunreachable-code.
893 (compile_file): We need line numbers for -Wunreachable-code.
894
77f3d48a
JH
895Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
896
897 * haifa-sched.c (insn_unit): Fix typo on out of range test.
898 * sched.c (insn_unit): Likewise.
899
0e403ec3
AS
900Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
901
902 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
903
57ad4479
AM
904Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
905
906 * flow.c (create_edge_list): Use xmalloc, not malloc.
907
c78896f0
LR
908Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
909
910 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
911 C-style comments. Do not lose the character before double slash.
912
410538ea
AM
913Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
914
915 * basic-block.h (struct edge_list): Stucture to maintain a vector
916 of edges.
917 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
918 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
919 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
920 New function prototypes.
921 * flow.c (create_edge_list): Function to create an edge list.
922 (free_edge_list): Discards memory used by an edge list.
923 (print_edge_list): Debug output showing an edge list.
924 (verify_edge_list): Internal consistency check for an edge list.
925 (find_edge_index): Function to find an edge index for a pred and succ.
926
63ebc275
MM
927Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
928
929 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
930 hashtable.
931
87d9d860
R
932Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
933
934 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
935
861313f2
GP
936Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
937
938 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
939
88924698
NC
940Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
941
942 * toplev.c (rest_of_compilation): Allow machine dependent
943 reorganisation pass to place information into the RTL dump
944 file if it so wishes.
945
d3ca5cdd
JW
946Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
947
0c61f541
JW
948 * explow.c (hard_function_value): Use VOIDmode instead of
949 MAX_MACHINE_MODE.
950 * stmt.c (expand_return): Likewise.
951 * stor-layout.c (get_best_mode): Likewise.
952
d3ca5cdd
JW
953 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
954 emit call instead of emit_insn call.
955
f4ab28e3
MK
956Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
957
958 * configure.in: Handle --disable/enable-win32-registry.
959 * install.texi: Document --disable/enable-win32-registry.
960 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
961 (WIN32_REGISTRY_KEY): New macro.
962 * prefix.c: Use to enable/disable win32-specific code.
963 (lookup_key): Use versioned key.
964 * configure: Regenerate.
965 * config.in: Likewise.
966
d3a34a0a
JM
967Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
968
969 * cpplib.c (read_line_number): New fn, split out of...
970 (do_line): Here.
971
0a818f84
GRK
972Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
973
974 tree.c (lang_unsave_expr_now) : New.
975 (unsave_expr_now): Call lang_unsave_expr_now.
976 tree.h (lang_unsave_expr_now) : New.
977
6e487a49
JM
978Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
979
980 * toplev.c (flag_new_exceptions): On by default.
981
afe60c51
MM
9821999-08-13 Michael Meissner <meissner@cygnus.com>
983
984 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
985
e139d296
AO
986Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
987
988 * dwarfout.c (fundamental_type_code): Return FT_boolean for
989 INTEGER_TYPE with precision==1, it's __java_boolean.
990
ea1637e9
R
991Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
992
993 * global.c (prune_preferences): Move some invariants out of the
994 inner loop.
995
7bc69973
JP
996Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
997
998 * configure.in (alpha*-dec-osf*): Add osf5.
999
402fd873
PB
1000Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
1001
1002 * configure.in: Rework handling of ARM GNU/Linux slightly.
1003 (arm*-*-linux-gnuoldld): New target.
1004 * configure: Regenerate.
1005 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
1006 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
1007 * config/arm/linux-oldld.h: New file.
1008 * config/arm/linux-elf26.h: Don't include linux-elf.h.
1009 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
1010 Don't define.
1011 * config/arm/linux-elf.h (ASM_SPEC): Define.
1012 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
1013 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
1014 for 26-bit APCS and old linker.
1015 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
1016 `arm_elf'.
1017 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
1018 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
1019 don't define `arm' or `arm_elf'.
1020 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
1021 MULTILIB_DIRNAMES): Define. Fix typo in comment.
1022
305f3003
AS
1023Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
1024
1025 * rtl.texi: Fix typo.
1026
631cf95d
JM
1027Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
1028
1029 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
1030
6eabb241
MM
1031Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
1032
1033 * extend.texi (C++ Signatures): Remove node.
1034 * invoke.texi: Remove discussion of -fhandle-signatures,
1035 signature, sigof, __signature__, and __sigof__.
1036
94304469
JL
1037Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
1038
1039 * Makefile.in (JAVAGC): Removed.
1040
0181177d
JL
1041Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
1042
1043 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
1044
10451999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
1bf560bd
ME
1046
1047 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
1048
00995e78
RE
10491999-08-11 Richard Earnshaw (rearnsha@arm.com)
1050
1051 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
1052 a register that is already known to be a pointer.
1053
7aed7b70
BK
10541999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
1055
1056 * fixinc/inclhack.tpl: Only install assert.h conditionally.
1057 * fixinc/inclhack.sh: Regenerated.
1058 * fixinc/fixincl.sh: Regenerated.
1059
0c2d1a2a
JB
1060Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
1061
1062 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
1063 Fix documentation of -ansi flag to describe its C++ behavior.
1064 Remove bogus reference to GCC 2.9.
1065
ab1672a3
JW
1066Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
1067
1068 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
1069 note if it is non-NULL.
1070
1ef1bf06
AM
1071Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1072
1073 * except.h (eh_nesting_info): Add new structure defintion.
1074 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
1075 (reachable_handlers, update_rethrow_references): Add function
1076 prototypes.
1077 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
1078 a rethrow symbol instead of an integer exception region number.
1079 * flow.c (Make_edges): Use new exception nesting routines to determine
1080 which handlers are reachable from a CALL or asynchronous insn.
1081 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
1082 goto receivers.
1083 (delete_eh_regions): Update rethrow labels, and don't delete
1084 regions which are the target of a rethrow.
1085 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
1086 avoid overloading the SYMBOL_REF_USED flag.
1087 (rethrow_symbol_map): Use new rethrow_ref field.
1088 (rethrow_used): Use new rethrow_ref field.
1089 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
1090 of an integer. Fix formatting.
1091 (output_exception_table_entry): Use new rethrow_ref field.
1092 (can_throw): Check for EH_REGION_NOTE before deciding
1093 whether a CALL can throw or not.
1094 (scan_region): Call rethrow_used() instead of accessing data structure.
1095 (update_rethrow_references): New function to make sure only regions
1096 which are still targets of a rethrow are flagged as such.
1097 (process_nestinfo): New static function to initialize a handler
1098 list for a specific region.
1099 (init_eh_nesting_info): New function to allocate and initialize
1100 the list of all EH handlers reachable from all regions.
1101 (reachable_handlers): New function to retrieve the list of handlers
1102 reachable from a specific region and insn.
1103 (free_eh_nesting_info): New function to dispose of a list of
1104 reachable handlers.
1105
a8688bd6
AM
1106Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1107
1108 * flow.c (split_edge): Set JUMP_LABEL field.
1109 (commit_one_edge_insertion): Set head correctly for insert_before.
1110 When inserting insns, update insn block numbers if allocated.
1111
d560ee52
KG
1112Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1113
1114 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
1115 retry_incomplete_types): Add static prototype.
1116 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
1117 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
1118 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
1119 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
1120 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
1121 Constify a char*.
1122
1123 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
1124 dwarf2out_start_source_file, dwarf2out_line): Likewise.
1125
ec940faa
KG
1126Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1127
1128 * output.h (assemble_name): Constify a char*.
1129
1130 * varasm.c (UNIQUE_SECTION, assemble_start_function,
1131 assemble_variable, assemble_name): Likewise.
1132
1133 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
1134
1135 * arm/pe.c (arm_pe_unique_section): Likewise.
1136
1137 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
1138
1139 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
1140
1141 * i386/interix.c (i386_pe_unique_section): Likewise.
1142
1143 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
1144
1145 * i386/winnt.c (i386_pe_unique_section): Likewise.
1146
1147 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
1148
1149 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
1150
1151 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
1152
1153 * pa/pa.c (output_call): Likewise.
1154
1155 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
1156
1157 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
1158
1159 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
1160 Likewise.
1161
1162 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
1163 Likewise.
1164
1165 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1166
1167 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
1168 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
1169
1170 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
1171
eefc2c6e
KG
1172Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1173
1174 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
1175
c9591059
KG
1176Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1177
1178 * tree.h (lang_identify): Constify a char*.
1179 (print_error_function): Add extern prototype. Constify a char*.
1180
1181 * c-lang.c (lang_identify): Constify a char*.
1182
1183 * objc/objc-act.c (lang_identify): Constify a char*.
1184
ad171e80
BS
1185Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1186
1187 * genpeep.c (main): Make generated file include "function.h".
1188 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
1189
49ad7cfa
BS
1190Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1191
1192 * Makefile.in: Update dependencies.
1193 * alias.c: Include "function.h"
1194 * c-decl.c: Likewise.
1195 * caller-save.c: Likewise.
1196 * calls.c: Likewise.
1197 * combine.c: Likewise.
1198 * cse.c: Likewise.
1199 * explow.c: Likewise.
1200 * final.c: Likewise.
1201 * global.c: Likewise.
1202 * graph.c: Likewise.
1203 * local-alloc.c: Likewise.
1204 * loop.c: Likewise.
1205 * optabs.c: Likewise.
1206 * profile.c: Likewise.
1207 * recog.c: Likewise.
1208 * regclass.c: Likewise.
1209 * regmove.c: Likewise.
1210 * reload.c: Likewise.
1211 * reorg.c: Likewise.
1212 * resource.c: Likewise.
1213 * sched.c: Likewise.
1214 * stupid.c: Likewise.
1215 * config/1750a/1750a.c: Likewise.
1216 * config/a29k/a29k.c: Likewise.
1217 * config/arc/arc.c: Likewise.
1218 * config/arm/arm.c: Likewise.
1219 * config/arm/thumb.c: Likewise.
1220 * config/c4x/c4x.c: Likewise.
1221 * config/clipper/clipper.c: Likewise.
1222 * config/convex/convex.c: Likewise.
1223 * config/fx80/fx80.c: Likewise.
1224 * config/i860/i860.c: Likewise.
1225 * config/m68k/m68k.c: Likewise.
1226 * config/m88k/m88k.c: Likewise.
1227 * config/mips/mips.c: Likewise.
1228 * config/pdp11/pdp11.c: Likewise.
1229 * config/pyr/pyr.c: Likewise.
1230 * config/romp/romp.c: Likewise.
1231 * config/sh/sh.c: Likewise.
1232 * config/tahoe/tahoe.c: Likewise.
1233 * config/vax/vax.c: Likewise.
1234 * config/we32k/we32k.c: Likewise.
1235 * config/sparc/sparc.c: Include "function.h".
1236 (mem_min_alignment): Test current_function rather than
1237 regno_pointer_align.
1238 * config/pa/pa.c: Likewise.
1239 (compute_frame_size): Delete declaration of
1240 current_function_outgoing_args_size.
1241 * config/arc/arc.h (current_function_varargs): Delete declaration.
1242 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
1243 declaration.
1244 * config/i370/i370.h (current_function_outgoing_args_size): Delete
1245 declaration.
1246 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
1247 current_function_uses_pic_offset_table.
1248 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
1249 of current_function_returns_pointer.
1250 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1251 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1252 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1253 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1254 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1255 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1256 * config/m88k/m88k.c: Include "function.h"
1257 (call_used_regs, current_function_pretend_args_size,
1258 current_function_outgoing_args_size, frame_pointer_needed): Delete
1259 declarations.
1260 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
1261 declaration.
1262 * config/mips/mips.h (current_function_calls_alloca): Delete
1263 declaration.
1264 * config/mn10200/mn10200.h (current_function_needs_context,
1265 rtx_equal_function_value_matters): Delete declarations.
1266 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
1267 flag_pic): Delete declarations.
1268 * config/pa/pa.h (current_function_pretend_args_size,
1269 current_function_decl): Delete declarations.
1270 * config/pa/som.h (current_function_varargs): Delete declaration.
1271 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
1272 declaration.
1273 * config/pyr/pyr.h (current_function_pretend_args_size,
1274 current_function_args_size, current_function_calls_alloca): Delete
1275 declarations.
1276 * config/sh/sh.h (current_function_varargs): Delete declaration.
1277 * config/sparc/sparc.h (current_function_outgoing_args_size,
1278 current_function_calls_alloca, current_function_decl): Delete
1279 declarations.
1280 * config/spur/spur.h (current_function_pretend_args_size,
1281 current_function_calls_alloca): Delete declarations.
1282 * config/v850/v850.c (current_function_outgoing_args_size): Delete
1283 declaration.
1284 * config/vax/vms.h (current_function_name): Delete declaration.
1285 * gcse.c: Include "function.h".
1286 (current_function_name, current_function_calls_setjmp): Delete
1287 declarations.
1288 * haifa-sched.c: Include "function.h".
1289 (forced_labels): Delete declaration.
1290 * jump.c: Likewise.
1291 * reg-stack.c: Likewise.
1292 * reload1.c: Likewise.
1293 * genemit.c (main): Make generated file include function.h.
1294 * genoutput.c (output_prologue): Likewise.
1295
1296 * builtins.c (saveregs_value, apply_args_value): Delete variables.
1297 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
1298 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
1299 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
1300 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
1301 macros for some of them.
1302 (emit_filename, emit_lineno): Delete declarations.
1303 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
1304 regno_pointer_* variables through current_function.
1305 (gen_inline_header_rtx): Delete function.
1306 (save_emit_status): Delete function.
1307 (set_new_last_label_num): New function.
1308 (clear_emit_caches): New function.
1309 (restore_emit_status): Just clear last_labelnum and call
1310 clear_emit_caches.
1311 (get_last_insn_anywhere): Variable sequence_stack is now accessed
1312 through macro seq_stack.
1313 (add_insn_after): Likewise.
1314 (add_insn_before): Likewise.
1315 (remove_insn): Likewise.
1316 (pop_topmost_sequence): Likewise.
1317 (in_sequence_p): Likewise.
1318 (start_sequence_for_rtl_expr): Likewise.
1319 (start_sequence): Likewise, and likewise for
1320 sequence_rtl_expr/seq_rtl_expr.
1321 (push_topmost_sequence): Likewise.
1322 (end_sequence): Likewise.
1323 (init_virtual_regs): Now takes a "struct emit_status *" argument.
1324 All callers changed. Store into that pointer instead of globals.
1325 (init_emit): Allocate emit elt of current_function.
1326 Changes for sequence_rtl_expr/sequence_stack renaming.
1327 Call clear_emit_caches instead of doing it in-line.
1328 Access regno_pointer_* variables through current_function.
1329 (init_emit_once) Don't clear sequence_stack.
1330
1331 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
1332 Delete variables.
1333 (arg_pointer_save_area): Delete declaration.
1334 (finish_expr_for_function): Renamed from init_queue; no longer static.
1335 (init_expr): Don't call init_queue.
1336 (save_expr_status, restore_expr_status): Delete functions.
1337 (expand_expr): Changes to reflect new layout of struct function.
1338 Don't access current_function_check_memory_usage when current_function
1339 is 0.
1340 * expr.h (forced_labels, save_expr_regs, saveregs_value,
1341 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
1342 current_function_outgoing_args_size, current_function_arg_offset_rtx,
1343 current_function_uses_const_pool, function_call_count,
1344 current_function_uses_pic_offset_table, nonlocal_labels,
1345 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
1346 current_function_check_memory_usage, nonlocal_goto_handler_slots,
1347 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
1348 declarations.
1349 (finish_expr_for_function): Declare.
1350 * flags.h (current_function_has_nonlocal_label,
1351 current_function_has_nonlocal_goto, current_function_is_thunk,
1352 current_function_has_computed_jump): Delete declarations.
1353 * flow.c (forced_labels): Delete declaration.
1354 * function.c (current_function_pops_args,
1355 current_function_returns_struct, current_function_returns_pcc_struct,
1356 current_function_needs_context, current_function_calls_setjmp,
1357 current_function_calls_longjmp, current_function_has_nonlocal_label,
1358 current_function_has_nonlocal_goto, current_function_is_thunk,
1359 current_function_has_computed_jump, current_function_calls_alloca,
1360 current_function_contains_functions, current_function_returns_pointer,
1361 current_function_epilogue_delay_list, current_function_args_size,
1362 current_function_pretend_args_size, current_function_arg_offset_rtx,
1363 current_function_outgoing_args_size, current_function_varargs,
1364 current_function_stdarg, current_function_args_info, cleanup_label,
1365 current_function_name, current_function_uses_const_pool,
1366 current_function_instrument_entry_exit, current_function_return_rtx,
1367 current_function_uses_pic_offset_table, nonlocal_labels,
1368 current_function_internal_arg_pointer, current_function_cannot_inline,
1369 current_function_check_memory_usage, function_call_count,
1370 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
1371 nonlocal_goto_stack_level, return_label, save_expr_regs,
1372 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
1373 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
1374 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
1375 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
1376 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
1377 Delete variables.
1378 (push_function_context_to): Don't save them. Don't call
1379 save_storage_status, save_emit_status or save_expr_status.
1380 (pop_function_context_from): Don't restore them. Don't call
1381 restore_storage_status or restore_expr_status.
1382 (get_func_frame_size): New function.
1383 (get_frame_size): Use it.
1384 (assign_outer_stack_local): Reflect some member name changes in struct
1385 function.
1386 (put_reg_into_stack): Likewise.
1387 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
1388 seq_rtl_expr.
1389 (fixup_var_refs): Likewise.
1390 (fix_lexical_addr): Likewise.
1391 (trampoline_address): Likewise.
1392 (prepare_function_start): Clear field inlinable of current_function.
1393 (init_function_for_compilation): New function.
1394 (expand_dummy_function_end): New function.
1395 (expand_function_end): Call finish_expr_for_function.
1396 * function.h (struct emit_status): New; fields moved here from struct
1397 function and from global variables. Add accessor macros for some of
1398 the fields.
1399 (struct expr_status): Likewise.
1400 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
1401 (struct function): Add fields expr and emit, inlinable, inl_emit,
1402 original_arg_vector, original_decl_initial, inl_last_parm_insn,
1403 inl_max_label_num. Add many comments.
1404 Add accessor macros for all elts of struct function that no longer
1405 have a global variable.
1406 (cleanup_label, return_label, frame_offset, tail_recursion_label,
1407 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
1408 stack_slot_list): Delete declarations.
1409 (get_func_frame_size): Declare.
1410 (save_expr_status, restore_expr_status, save_emit_status,
1411 save_storage_status, restore_storage_status): Delete declarations.
1412 (init_virtual_regs): Declare.
1413 * output.h (current_function_pops_args,
1414 current_function_returns_struct, current_function_returns_pcc_struct,
1415 current_function_needs_context, current_function_calls_setjmp,
1416 current_function_calls_longjmp, current_function_calls_alloca,
1417 current_function_has_nonlocal_label, current_function_varargs,
1418 current_function_has_computed_jump, current_function_returns_pointer,
1419 current_function_contains_functions, current_function_args_size,
1420 current_function_pretend_args_size, current_function_stdarg,
1421 current_function_outgoing_args_size, current_function_args_info,
1422 current_function_name, current_function_return_rtx,
1423 current_function_epilogue_delay_list,
1424 current_function_uses_const_pool, current_function_cannot_inline):
1425 Delete declarations.
1426 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
1427 regno_reg_rtx): Delete declaration.
1428 (REGNO_POINTER_FLAG): Delete macro.
1429 * stmt.c (expand_goto): Changes to reflect that some fields in struct
1430 function were renamed.
1431 * stor-layout.c (save_storage_status, restore_storage_status): Delete
1432 functions.
1433 * toplev.c: Include "function.h".
1434 (current_function_decl): Delete declaration.
1435 (compile_file): Call init_dummy_function_start and
1436 expand_dummy_function_end around some initializations that need to
1437 emit rtl.
1438 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
1439 Call init_function_for_compilation.
1440 * unroll.c: Include "function.h"
1441 (unroll_loop): Access regno_pointer_* variables through
1442 current_function.
1443
1444 * tree.h (struct tree_decl): Add elt f to saved_insns member.
1445 (DECL_SAVED_INSNS): use it.
1446 (expand_dummy_function_end): Declare.
1447 (init_function_for_compilation): Declare.
1448 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
1449 that it's no longer an INLINE_HEADER.
1450 (expand_call): Likewise.
1451 * integrate.c (finish_inline): Delete function.
1452 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
1453 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
1454 args. Don't generate an INLINE_HEADER rtx, just return the arg
1455 vector. All callers changed.
1456 (save_for_inline_copying): Create a duplicate struct emit_status to
1457 hold the emit state for compiling the current function. Use this and
1458 the other new fields in struct function that are for integration
1459 instead of an INLINE_HEADER.
1460 Use memcpy instead of bcopy.
1461 Store the current struct function in DECL_SAVED_INSNS of fndecl.
1462 (save_for_inline_nocopy): Similar changes, except no new emit_status
1463 is needed here.
1464 (expand_inline_function): Get information from function structure,
1465 not from an inline header rtx.
1466 (output_inline_function): Lose code to extract the necessary
1467 information from an inline header; simply put back the function
1468 structure into current_function. Clear its inlinable elt.
1469 * rtl.def (INLINE_HEADER): Delete.
1470 * rtl.h: Delete all accessors for an INLINE_HEADER.
1471 (gen_inline_header_rtx): Delete declaration.
1472 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
1473 Delete declarations.
1474 (REGNO_POINTER_ALIGN): Delete.
1475 (clear_emit_caches): Declare.
1476 (set_new_last_label_num): Declare.
1477
e7b9b18e
JM
1478Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
1479
1480 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
1481
1482 * except.c (expand_eh_region_start_for_decl): Always start a new block.
1483 * stmt.c (is_eh_region): Make sure current_function is present, too.
1484
8f851c1f
JL
1485Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
1486
9275b45e
JL
1487 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
1488 for 64bit PA targets.
1489
8f851c1f
JL
1490 * pa.h (SELECT_SECTION): Define.
1491 * som.h (SELECT_SECTION): Delete.
1492
950fe843
KG
1493Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1494
1495 * alias.c (init_alias_analysis): Wrap call to
1496 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
1497
94cc6036
BK
14981999-08-07 Bruce Korb <autogen@linuxbox.com>
1499
1500 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
1501 <sys/asm.h> contains an asm comment with an apostrophe
1502 * fixinc/inclhack.sh: regen
1503 * fixinc/fixincl.x: regen
1504
5c7675e9
RH
1505Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
1506
1507 * function.c (init_function_start): Clear prologue & epilogue.
1508 (prologue_epilogue_contains): New function.
1509 * alias.c (init_alias_analysis): Use it.
1510 * rtl.h (prologue_epilogue_contains): Declare it.
1511
d0e80719
RH
1512Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
1513
1514 * jump.c (onlyjump_p): New function.
1515 * rtl.h: Declare it.
1516 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
1517 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
1518
021d1677
RH
1519Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
1520
1521 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
1522 to invert loops. Simplify block scanning.
1523
05f6f07c
BS
1524Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1525
1526 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
1527 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
1528
28df4168
JL
15291999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
1530
1531 * config/sparc/liteelf.h: New file to support sparclite-elf target
1532 * config/sparc/t-sp86x: New file to support sparc86x targets
1533 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
1534 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
1535 * configure.in: Support above target triplets
1536 * configure: Regenerated
1537
4bc49b49
PDM
1538Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
1539
1540 * fixinc/server.c (server_setup): Do not prefix function used as
1541 parameter with `&'.
1542
8608bd56
RH
1543Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
1544
1545 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
1546 Remove fp reg alternatives.
1547
80d25530
JL
1548Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
1549
cf52b2f7
JL
1550 * Makefile.in (TAROUTOPTS): Kill.
1551 (install-headers-tar): Use "xpf" for tar headerfile extraction
1552 * i370/x-oe (TAROUTOPTS): Delete.
1553 * m68k/x-apollo68 (TAROUTOPTS): Delete.
1554 * m68k/x-hp320 (TAROUTOPTS): Delete.
1555 * m68k/x-hp320g (TAROUTOPTS): Delete.
80d25530
JL
1556 * gcc.texi: Update bug reporting text.
1557
80832cf2
HB
15581999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1559
1560 * reg-stack.c (change_stack) Fixed problem with negative array index.
1561
8490b533
JL
1562Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
1563
4a21803f
JL
1564 * extend.texi, install.texi: Fix spelling mistakes.
1565
5b4146bd
JL
1566 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
1567 (s-attrtab); No longer try to use pre-made insn-attrtab file.
1568 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
1569 PREMADE_ATTRTAB_MD.
1570 * mips/t-ecoff: Likewise.
1571 * mips/t-elf: Likewise.
1572 * mips/t-mips: Likewise.
1573 * mips/t-osfrose: Likewise.
1574 * mips/t-r3900: Likewise.
1575 * mips/t-svr3: Likewise.
1576 * mips/t-svr4: Likewise.
1577 * mips/t-ultrix: Likewise.
1578
8490b533
JL
1579 * gcc.texi: Document recommend means to provide software floating
1580 point libraries in libgcc.a
1581
adace600
JM
15821999-08-06 Jason Merrill <jason@yorick.cygnus.com>
1583
1584 * c-lex.c (yylex): We can have a number with no digits.
1585
cfe2d2e7
JW
1586Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
1587
1588 * jump.c (delete_prior_computation): New function, broken
1589 out of delete_computation. Check for side effects with
1590 side_effects_p instead of FIND_REG_INC_NOTE. Handle
1591 multi-word hard registers.
1592 (delete_computation): Use it. Check for side effects with
1593 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
1594 missing REG_DEAD note for a register which is both set and
1595 used by an insn.
1596
e7eacc8e
JL
1597Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
1598
1599 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
1600 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
1601 (ASM_FILE_START): Import _mcount with the right type.
1602 (ASM_DECLARE_FUNCTION_NAME): Define.
1603 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
1604 * pa.c (output_function_prologue): Always emit the function's label
1605 here.
1606 * pa.h (TEXT_SPACE_P): Define.
1607 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
1608 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
1609 * som.h (TEXT_SPACE_P): Delete.
1610 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
1611 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
1612
7c4a6db0
JW
1613Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
1614
1615 * expr.c (emit_group_load): Allow src to be a CONCAT.
1616
b28f69a0
R
1617Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1618
1619 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
1620 (___mulsi3): Use '!' comment character.
1621
6b9c6f4f
BS
1622Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1623
1624 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
1625
82fb18dd
JL
1626Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
1627
1628 * gcc.c: Update URLs and mail addresses.
1629 * gcc.texi: Likewise.
1630
8f1b829e
DJ
1631Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
1632
1633 * rs6000.c (current_file_function_operand): Return zero for
1634 weak functions.
1635 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
1636 weak symbols.
1637 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
1638 for weak symbols.
1639
906fb125
GK
1640Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
1641
1642 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
1643 allocate space in the stack frame for the PIC register.
1644
14fe6c70
JL
1645Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
1646
1647 * m68k.md (xordi3, anddi3): These patterns are not available on
1648 the coldfire.
1649
d7afe8ec
MM
1650Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
1651
1652 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
1653 (PUT_REAL): Likewise.
1654
edd6ede7
R
1655Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1656
1657 * final.c (shorten_branches): Don't add an alignment for loops
1658 that have no label inside.
1659
cbbfcb3b
KG
1660Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1661
1662 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
1663 prototypes in macro HAVE_cmpstrsi.
1664
1665 * cpplib.c (cpp_get_token): Remove unused label `op3'.
1666
1667 * emit-rtl.c (operand_subword): Remove unused variable
1668 `bits_per_word'.
1669
1670 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
1671
1672 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
1673
5d83f44b
ZW
1674Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
1675
1676 * cpphash.c (macroexpand): Delete leading whitespace when arg
1677 is concatenated before.
1678 (unsafe_chars): Correct test for whether + and - can extend a
1679 token.
1680
1681 * cppinit.c (cpp_start_read): Do dependencies for
1682 -include/-imacros files also.
1683
1684 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
1685 tokenizing non-directive lines.
1686 (cpp_expand_to_buffer): Temporarily disable no-output mode.
1687 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
1688 the input file.
1689
fbb18613
JM
1690Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1691
2a94e396
JM
1692 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
1693
fbb18613
JM
1694 * c-lex.c: Sync with C++ frontend.
1695 (linemode): New variable.
1696 (parse_float): imag, conversion_errno, and type are output only.
1697 (yylex): Adjust. Move initial '.' case into main switch.
1698 Use linemode.
1699 (handle_generic_pragma): Just deal with tokens.
1700 (readescape): Use ISXDIGIT and ISGRAPH.
1701 * c-parse.in: Add END_OF_LINE token.
1702
1703 * c-lex.c (lang_init): Generalize.
1704 (nextchar): Remove. Replace uses with UNGETC.
1705 (skip_white_space): Handle linemode here. Optimize for cpplib.
1706 (skip_white_space_on_line): Remove.
1707 (extend_token_buffer_to): New fn.
1708 (extend_token_buffer): Use it.
1709 (read_line_number, check_newline): Just deal with tokens.
1710 (token_getch, token_put_back): New fns.
1711 (yylex): Use them. More cpplib optimizations. Simplify.
1712
1713Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
1714 Jason Merrill <jason@yorick.cygnus.com>
1715
1716 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
1717 (consume_string): Make this smart about USE_CPPLIB.
1718 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
1719 (yylex): Rewrite to be intelligent about USE_CPPLIB.
1720 Also, clean up cases where we redundantly set token_buffer[0].
1721 (read_line_number): New fn.
1722 (ignore_escape_flag): New variable.
1723
0aefc57b
JL
1724Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
1725
c91fba50
JL
1726 * a29k/t-a29kbare: Fix some comments.
1727 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
1728 (FPBIT, DPBIT): Define.
1729 * a29k/t-vx29k: Likewise.
1730 * arc/t-arc: Likewise.
1731 * arm/t-arm-elf: Likewise.
1732 * arm/t-bare: Likewise.
1733 * arm/t-pe: Likewise.
1734 * arm/t-pe-thumb: Likewise.
1735 * arm/t-semi: Likewise.
1736 * arm/t-thumb: Likewise.
1737 * arm/t-thumb-elf: Likewise.
1738 * arm/t-thumb-linux: Likewise.
1739 * h8300/t-h8300: Likewise.
1740 * i960/t-i960: Likewise.
1741 * i960/t-vxworks960: Likewise.
1742 * m32r/t-m32r: Likewise.
1743 * mips/t-ecoff: Likewise.
1744 * mips/t-elf: Likewise.
1745 * mips/t-r3900: Likewise.
1746 * pa/t-pro: Likewise.
1747 * rs6000/t-aix43: Likewise.
1748 * rs6000/t-beos: Likewise.
1749 * rs6000/t-newas: Likewise.
1750 * rs6000/t-ppccomm: Likewise.
1751 * rs6000/t-rs6000: Likewise.
1752 * rs6000/t-winnt: Likewise.
1753 * rs6000/t-xnewas: Likewise.
1754 * rs6000/t-xrs6000: Likewise.
1755 * sh/t-sh: Likewise.
1756 * sparc/t-elf: Likewise.
1757 * sparc/t-sparcbare: Likewise.
1758 * sparc/t-sparclite: Likewise.
1759 * sparc/t-splet: Likewise.
1760 * v850/t-v850: Likewise.
1761 * mn10200/t-mn10200: Fix comments.
1762 * mn10300/t-mn10300: Likewise.
1763
6c0c4022
JL
1764 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
1765 dummy operand. Allocate a new pseudo for the dummy operand.
1766 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
1767
0aefc57b
JL
1768 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
1769
430e7edf
TT
1770Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
1771
1772 * configure: Rebuilt.
1773 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
1774
cc3dea85
RE
1775Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
1776
1777 * recog.c (preproces_constraints): Zero recog_op_alt before
1778 processing the constraints.
1779
949d79eb
RE
1780 * arm.c (typedef minipool_node): Renamed from pool_node.
1781 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
1782 (add_minipool_constant): New function.
1783 (dump_minipool): New function.
1784 (find_barrier): Remove special case for getting the insn size of
1785 an insn that references the constant pool.
1786 (minipool_fixup): New structure.
1787 (push_minipool_barrier): New function.
1788 (push_minipool_fix): New function.
1789 (note_invalid_constants): New function.
1790 (add_pool_constant, dump_table, fixit, broken_move): Delete.
1791 (arm_reorg): Rewrite code to fix up the constant pool into a
1792 series of mini-pools embedded in the insn stream.
1793 (arm_output_epilogue): New function, made mainly from the body
1794 of output_func_epilogue.
1795 (output_func_epilogue): Move insn generation part of epilogue code
1796 to arm_output_epilogue.
1797 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
1798 * arm.md (pool_range): New attribute.
1799 (zero_extendqidi2): Add attribute pool_range.
1800 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
1801 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
1802 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
1803 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
1804 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
1805 (epilogue): New expand.
1806 (epilogue_insn): New insn. Call arm_output_epilogue.
1807
1808 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
1809 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
1810
f0ce07b8
JM
1811Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1812
1813 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1814
bc3c01c5
ME
18151999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
1816
1817 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
1818
1fe65930
RH
1819Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
1820
1821 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
1822
318e4b56
JK
1823Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
1824
1825 * global.c: Fix comment.
1826
ca606201
ILT
1827Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
1828
1829 * gcc.c (access_check): New static function.
1830 (find_a_file): Use it when searching a directory list.
1831 * collect2.c (find_a_file): Don't accept directories found when
1832 searching a directory list.
1833
0c26b18a
PDM
1834Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
1835
1836 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
1837 function parameters with `&'.
1838 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
1839
e8fe3cc3
JL
1840Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
1841
1842 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
1843 or tidy_fallthru_edge if the last insn in the block is not
1844 an unconditional jump or a simple conditional jump.
1845
02edc62b
R
1846Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1847
1848 * Makefile.in (c-decl.o): Depends on defaults.h.
1849
156e68b7
JL
1850Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
1851
1852 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
1853 PA1.1 and above.
1854 (CLASS_MAX_NREGS): Likewise.
1855
778e0677
JL
1856Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
1857
1858 * cse.c (cse_insn): Fix dumb thinko in last change.
1859
392dccb7
BS
1860Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1861
1862 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
1863 "const char *".
1864
555b6442
HPN
1865Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
1866
1867 * dwarf2out.c (add_location_or_const_value_attribute): Correct
1868 test for sizes of passed and declared parameter types.
1869
c354f40d
KG
1870Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1871
1872 * fixincludes: Fix the return type of bsearch, char* -> void*.
1873
1874 * fixinc/inclhack.def: Likewise.
1875
f71f87f9
MM
1876Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
1877
1878 * invoke.texi (-fdump-translation-unit): New option.
1879
31534a2c
RH
1880Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
1881
1882 * expr.h (PROMOTE_PROTOTYPES): Move ...
1883 * defaults.h: ... to here.
1884 * c-decl.c: Include defaults.h instead of expr.h.
1885 * c-typeck.c: Include defaults.h.
1886
e1c49ab4
MM
1887Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
1888
1889 * toplev.h (errorcount): Declare.
1890 (warningcount): Likewise.
1891 (sorrycount): Likewise.
1892 * c-lex.c (errorcount): Don't declare.
1893 * dwarf2out.c (errorcount): Don't declare.
1894
7aae67a2
JM
1895Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
1896
1897 * config/libgloss.h: Add a note discouraging use with ELF.
1898 * configure.in: Don't use libgloss.h for ELF targets.
555b6442 1899 Always use_collect2 on a.out targets.
7aae67a2 1900
fae2db47
JW
1901Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
1902
1903 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
1904 (force_to_mode, case ASHIFTRT): Add shiftrt label.
1905
a47f48d8
R
1906Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1907
1908 * loop.c (strength_reduce): When doing biv->giv conversion, update
1909 reg note of NEXT->insn.
1910
f634f682
JJ
19111999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1912
1913 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
1914
7d473569
JJ
19151999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1916
1917 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
1918 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
1919 Ensure expr.h is included.
1920 * c-typecheck.c (convert_arguments): Ditto.
1921
1922 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
1923
1924 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
1925 * config/convex/convex.h: Ditto.
1926 * config/dsp16xx/dsp16xx.h: Ditto.
1927 * config/fx80/fx80.h: Ditto.
1928 * config/gmicro/gmicro.h: Ditto.
1929 * config/i370/i370.h: Ditto.
1930 * config/i386/i386.h: Ditto.
1931 * config/m32r/m32r.h: Ditto.
1932 * config/m68k/m68k.h: Ditto.
1933 * config/m88k/m88k.h: Ditto.
1934 * config/mips/mips.h: Ditto.
1935 * config/pa/pa.h: Ditto.
1936 * config/pyr/pyr.h: Ditto.
1937 * config/tahoe/tahoe.h: Ditto.
1938 * config/we32k/we32k.h: Ditto.
1939
1940 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
1941 based on arch size.
1942
1943 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
1944
1945 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
1946 from comment.
1947
1948 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
1949
40cae311
RH
19501999-08-02 Richard Henderson <rth@cygnus.com>
1951
1952 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
1953 for the register spill block.
1954 (m32r_va_arg): New.
1955 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
1956 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
1957
1958 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
1959 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
1960 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
1961
247cfc5c
JJ
19621999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1963
1964 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
1965 MAX_WCHAR_TYPE defined in sparc.h.
1966 * config/sparc/linuxaout.h: Likewise.
1967 * config/sparc/linux64.h: Likewise.
1968 Also default to -mvis if CPU is UltraSPARC.
1969
1cb36a98
RH
19701999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1971
1972 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
1973 (RTX_OK_FOR_OLO10): Likewise.
1974 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
1975 %lo(), allow it in addresses...
1976 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
1977 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
1978 does not make sense.
1979 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
1980 (sparc_output_scratch_registers): New function.
1981 (output_function_prologue, sparc_flat_output_function_prologue): Use
1982 it.
1983 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
1984 defined.
1985 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
1986 * configure.in: Add check for .register pseudo-op support in as and
1987 check for offsetable %lo().
1988 * acconfig.h: Add templates for the above checks.
1989 * configure: Regenerate.
1990
19911999-08-02 Richard Henderson <rth@cygnus.com>
1992
1993 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
1994 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
1995 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
1996
e76d2376
R
1997Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1998
1999 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
2000 reg_biv_class.
2001
39c440fc
JJ
20021999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2003
2004 * config/float-sparc.h: New file.
2005 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
2006 sparc-*-linux-gnu and sparc64-*-linux*.
2007
dfafc897
FS
20081999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2009
2010 * rs6000.c (rs6000_va_list): Type is an array.
2011 (rs6000_va_start): Don't doubly adjust for varargs.
2012 (rs6000_va_arg): Evaluate long long GPR adjustment.
2013
5f59ecb7
DE
2014Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
2015
2016 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
2017 -maix64 and -maix32.
2018 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
2019 LINK_SPEC): Change appropriately.
2020 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
2021 (u_short_cint_operand): Likewise.
2022 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
2023 for 64-bit hosts.
2024 * rs6000/t-aix43 (MULTILIB): Change to -m64.
2025
2026 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
2027
2028Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
2029
2030 * rs6000/rs6000.c (num_insns_constant_wide): Correct
2031 for type promotion.
2032 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
2033 (non_add_cint_operand): Likewise.
2034 (logical_operand): Likewise.
2035 (non_logical_cint_operand): Likewise.
2036 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
2037 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
2038 (rs6000_select_rtx_section): Suppress warning.
2039 (small_data_operand): Suppress warning.
2040 (rs6000_got_register): Suppress warning.
2041 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
2042 type, so `J' is generally the wrong constraint for a SImode value;
2043 use `L' instead.
2044 (andsi3_internal2): Likewise.
2045 (andsi3_internal3): Likewise.
2046 (iorsi3_internal1): Likewise.
2047 (xorsi3_internal1): Likewise.
2048 (movsi): Likewise.
2049 (movsf_softfloat): Likewise.
2050 (scc insns): Likewise.
2051 (movsi+2): Preserve sign bits of SImode constant.
2052 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
2053 (movdf+1): Sign-extend properly.
2054 (movdi_32+1): Sign-extend properly.
2055 (scc insns): Sign-extend properly.
2056
2057 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
2058 K, L, and T.
2059
981a828e
RH
20601999-08-02 Richard Henderson <rth@cygnus.com>
2061
2062 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
2063 -mcpu parsing code.
2064 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
2065 * alpha.md (all fp insns): Likewise.
2066
ccc0b2f9
NC
20671999-08-02 Nick Clifton <nickc@cygnus.com>
2068
2069 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
2070 already defined.
2071
b3d9ecf0
JL
2072Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
2073
2074 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
2075 pic_load_label generator directly.
2076 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
2077 No longer a named pattern.
2078
96843fa2
NC
2079Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
2080
2081 * explow.c (force_reg): Call force_operand if X does not
2082 satisfy general_operand.
2083
93b9cce7
JL
2084Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
2085
2086 * fix-header.c (main): When testing for CONTINUED, use string
2087 equality, not pointer equality.
2088
110b0302
DN
2089Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
2090
2091 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
2092
63429dd7
JL
2093Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
2094
eec9ef57
JL
2095 * cse.c (cse_insn): Fix loop which deletes insns after a jump
2096 that has become an unconditional jump.
2097
63429dd7
JL
2098 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
2099 (output_function_epilogue): Similarly.
2100
73a8b900
BS
2101Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2102
2103 * tree.h (init_dummy_function_start): Declare.
2104
3f1d071b
BS
2105Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2106
2107 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
2108 last_expr_type, last_expr_value, block_start_count, block_stack,
2109 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
2110 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
2111 dynamically in stmt elt of struct function for each function.
2112 (struct nesting): Rename function_call_count elt to n_function_calls,
2113 target_temp_slot_level to block_target_temp_slot_level. All users
2114 changed.
2115 (struct stmt_status): New structure definition.
2116 Add many accessor macros for stmt_status elements which previously
2117 were global variables.
2118 (init_stmt_for_function): Allocate stmt elt for current_function.
2119 Reflect that block_start_count was renamed to
2120 current_block_start_count.
2121 (save_stmt_status, restore_stmt_status): Delete functions.
2122 (preserve_subexpressions_p): Don't access loop_stack when outside
2123 a function.
2124 (expand_start_bindings): Reflect that block_start_count was renamed to
2125 current_block_start_count.
2126 (expand_fixup): Likewise.
2127 (expand_decl): Don't access block_stack when outside a function.
2128 (expand_decl_cleanup): Likewise.
2129 (expand_dcc_cleanup): Likewise.
2130 (expand_dhc_cleanup): Likewise.
2131 (expand_anon_union_decl): Likewise.
2132 (set_file_and_line_for_stmt): New function.
2133 (in_control_zone_p): New function.
2134
2135 * function.h (struct function): Add new elt stmt.
2136 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
2137 case_stack, nesting_stack, nesting_depth, block_start_count,
2138 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
2139 emit_lineno, goto_fixup_chain.
2140 (save_eh_status, restore_eh_status, save_stmt_status,
2141 restore_stmt_status): Delete declarations.
2142 * function.c (push_function_context_to): Don't call save_stmt_status.
2143 (pop_function_context_to): Don't call restore_stmt_status.
2144 * tree.h (in_control_zone_p): Declare.
2145 * rtl.h (set_file_and_line_for_stmt): Declare.
2146
2147 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
2148 call set_file_and_line_for_stmt.
2149
048fc686
JB
2150Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
2151
2152 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
2153 Also update copyright.
2154
b384405b
BS
2155Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2156
2157 * c-pragma.c: Don't include "except.h".
2158 * emit-rtl.c: Likewise.
2159 * stor-layout.c: Likewise.
2160 * tree.c: Likewise.
2161 * varasm.c: Likewise.
2162
2163 * flow.c: Include "function.h".
2164 * tree.h (init_dummy_function_start): Declare new function.
2165
2166 * except.h (struct eh_status): New structure.
2167 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
2168 been included.
2169 (eh_return_stub_label, ehstack, catchstack, ehqueue,
2170 catch_clauses, false_label_stack, caught_return_label_stack,
2171 protect_list, current_function_ehc): Add accessor macros for the
2172 corresponding fields in current_function->eh; delete declarations
2173 for all items that used to be declared here.
2174 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
2175 catch_clauses, false_label_stack, caught_return_label_stack,
2176 protect_list, current_function_ehc): Delete variables.
2177 (init_eh_for_function): Allocate current_function->eh.
2178 (save_eh_status, restore_eh_status): Delete functions.
2179
2180 * function.h (struct function): Add fields next_global and eh.
2181 Delete all exception handling related fields.
2182 * function.c (current_function): New variable.
2183 (all_functions): New variable.
2184 (push_function_context_to): Don't allocate a struct function,
2185 use current_function instead. Call init_dummy_function_start when
2186 outside a function. Clear current_function before returning.
2187 (pop_function_context_from): Restore current_function.
2188 Don't free the restored struct function.
2189 (prepare_function_start): New function.
2190 (init_dummy_function_start): New function.
2191 (init_function_start): Break out some code into prepare_function_start
2192 and call it here.
2193
2194 * stmt.c (save_stmt_status): Don't call save_eh_status.
2195 (restore_stmt_status): Don't call restore_eh_status.
2196
2197 * Makefile.in: Update dependencies.
2198
1984b4af
JL
2199Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
2200
6261ede7
JL
2201 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
2202 of depending on a magic constant value. Update comments.
2203 (hppa_expand_prologue): Similarly.
2204
1984b4af
JL
2205 * pa.md (reload_indi, reload_outdi): Allow any register for the
2206 original reload register.
2207
278a994d
JW
2208Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
2209
2210 * cccp.c (print_help): Change marcos to macros.
2211
7e8176d7
RH
22121999-07-30 Richard Henderson <rth@cygnus.com>
2213
2214 * c-typeck.c (initializer_constant_valid_p): Move ...
2215 * c-common.c (initializer_constant_valid_p): ... here. Use
2216 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
2217 of label addresses.
2218 * c-common.h (initializer_constant_valid_p): Declare.
2219 * c-tree.h (initializer_constant_valid_p): Remove.
2220
96a0a146
MF
2221Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
2222
2223 * config/i386/sol2-c1.asm: Align the stack.
2224 * config/i386/sol2-gc1.asm: Likewise.
2225
8d72ec32
VM
22261999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
2227
2228 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
2229 -Asparclite for sparc86x.
2230 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
2231 sparc86x.
2232 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
2233
5cb01b65
JJ
2234Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
2235
2236 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
2237 the user if using the non-default arch size in BI_ARCH configuration.
2238 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
2239
2240 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
2241 Fix patterns so that they actually match.
2242 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
2243 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
2244 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
2245 TARGET_HARD_MUL32.
2246 (mulsidi3): Reflect this in the expand.
2247 (smulsi3_highpart): Only on TARGET_ARCH32.
2248 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
2249 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
2250 (umulsidi3): Reflect this in the expand.
2251 (umulsi3_highpart): Only on TARGET_ARCH32.
2252 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
2253 don't require g0 to be zero.
2254 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
2255 ({,u}divsi3): New expands.
2256 ({,u}divsi3_sp64): New patterns.
2257 (after lshrdi3_v8plus): Four new patterns to help combiner
2258 optimizing nested mixed mode shifts.
2259
2260 * config/sparc/sparc.c (sparc_override_options): Use deprecated
2261 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
2262 speed things up. Don't use them by default on plain v9 in 64bit
2263 mode, according to what SPAMv9 sais.
2264
2265 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
2266 top 32 bits of %[og][0-7] in signal handlers.
2267 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
2268
6fda0f5b
JL
2269Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
2270
93b69d0f
JL
2271 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
2272 (ashlsi3): Corresponding changes.
2273
6fda0f5b
JL
2274 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
2275
f6b37354
JL
2276Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
2277
2278 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
2279
3bccbef6
BS
2280Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2281
2282 * arm.h (Hint): Delete macro.
2283 Substitute HOST_WIDE_INT for Hint in some prototypes.
2284 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
2285
7d505b82
NC
2286Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
2287
2288 * builtins.c (expand_builtin_setjmp): Use force_operand to
2289 make sure that the buffer address is in a suitable form to be
2290 passed to force_reg.
2291
be44d23e
GK
2292Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
2293
1d0e51ba
JM
2294 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
2295 them here.
be44d23e 2296
885ae155
JL
2297Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
2298
e58f99c4
JL
2299 * pa.md (indirect_jump): Remove mode from match_operand. Verify
2300 proper mode in the condition string.
2301 (icacheflush, dcacheflush): Remove modes from match_operands.
2302
1d0e51ba
JM
2303 * pa.c (emit_move_sequence): Always convert scratch_reg to the
2304 proper mode before using it.
1b8ad134 2305
9d142e3f
JL
2306 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
2307 pair.
2308
fc82f2f1
JL
2309 * pa.c (store_reg): Do not call add_high_const generator directly.
2310 (load_reg, set_reg_plus_d): Likewise.
2311 * pa.md (add_high_const): No longer a named pattern.
2312
2a0a6f69
JL
2313 * pa.c (legitimize_address): Consistently use Pmode rather than
2314 SImode. Do not call gen_pic2_highpart directly anymore.
2315 * pa.md (pic2_highpart): No longer a named pattern.
2316 (pic2_lo_sum): Similarly. Reformat to make more readable.
2317
f8b20fd0
JL
2318 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
2319 needed.
885ae155 2320
1d0e51ba 2321 * README: Update.
3195128c 2322
895f2336
FS
2323Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2324
2325 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
2326
ca5f4364
RH
2327Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
2328
2329 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
2330 and tag the spill mems.
2331 (hppa_va_start): New.
2332 (hppa_va_arg): New.
2333 * pa.h (EXPAND_BUILTIN_VA_START): New.
2334 (EXPAND_BUILTIN_VA_ARG): New.
2335
fc2acc87
RH
2336Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
2337
2338 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
2339 and tag the spill mems.
2340 (mn10300_va_start): New.
2341 (mn10300_va_arg): New.
2342 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
2343 (EXPAND_BUILTIN_VA_ARG): New.
2344
8bb793f3
RH
2345Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
2346
2347 * mn10200.c (mn10200_va_arg): New.
2348 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
2349
d0be05db
RH
2350Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
2351
2352 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
2353 rather than play with TREE_INT_CST_LOW.
2354
483f6332
PB
23551999-07-27 Philip Blundell <pb@nexus.co.uk>
2356
2357 * config/arm/telf.h: Include dbxelf.h.
2358 (CPP_PREDEFINES): Only define if not already defined.
2359 (ASM_IDENTIFY_GCC): Likewise.
2360 (SUBTARGET_EXTRA_SECTIONS): Likewise.
2361 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
2362 * config/arm/thumb.h (LINK_SPEC): Only define if not already
2363 defined.
2364 (DBX_DEBUGGING_INFO): Don't define.
2365 * config/arm/linux-telf.h: New file.
2366 * config/arm/linux-tgas.h: New file.
2367 * config/arm/t-thumb-linux: New file.
2368 * config/arm/uclinux-elf.h: New file.
2369 * config/arm/uclinux-telf.h: New file.
2370 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
2371 thumb-*-uclinux): New targets.
2372 * configure: Regenerate.
2373
30d1e848
JL
2374Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
2375
2376 * pa.md (post_store, pre_load): New expanders.
2377 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
2378 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
2379 need to directly generate RTL for them.
2380 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
2381 changes.
2382
3cb999d8
DE
2383Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
2384
2385 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
2386 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
2387 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
2388 (secndary_reload_class): Make TARGET_ELF conditional compile.
2389 (print_operand_address): Similar.
2390 (output_toc): Print all values as hex.
2391 (get_issue_rate): Rearrange and add RS64A and PPC630.
2392 * rs6000.h (processor_type): Add RS64A and PPC630.
2393 (PROCESSOR_POWERPC64): New.
2394 (PROMOTE_MODE): Use word_mode.
2395 (RTX_COSTS): Add RS64A and PPC630.
2396 * rs6000.md (scheduling information): Add lmul and ldiv
2397 representing 64-bit integer multiply and divide. Add rs64a and
2398 PPC630 information.
2399 (ashldi3): Add support for "rldic" instruction.
2400 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
2401
d3ec6b06
VM
2402Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
2403
2404 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
2405 instead of V8 for sparclite86x in cpu_table.
2406
f55dcd41
BS
2407Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2408
2409 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
2410 output_file_directive.
2411
a5efcd63
JM
2412Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
2413
2414 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
2415 tree for op1, not the rtl.
2416
a9b8384d
RH
2417Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
2418
2419 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
2420 to m88k_va_start, leaving only the register spill.
2421 (m88k_build_va_list): New.
2422 (m88k_va_start): New.
2423 (m88k_va_arg): New.
2424 * m88k.h (BUILD_VA_LIST_TYPE): New.
2425 (EXPAND_BUILTIN_VA_START): New.
2426 (EXPAND_BUILTIN_VA_ARG): New.
2427
05e4a2ab
GK
2428Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
2429
2430 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
2431 Rename from expand_builtin_saveregs.
cc95be93 2432 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
05e4a2ab 2433
c2749e2d
RH
2434Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
2435
2436 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
2437 for the register spill block.
2438 (i960_build_va_list): New.
2439 (i960_va_start): New.
2440 (i960_va_arg): New.
2441 * i960.h (BUILD_VA_LIST_TYPE): New.
2442 (EXPAND_BUILTIN_VA_START): New.
2443 (EXPAND_BUILTIN_VA_ARG): New.
2444 * i960.md (store_multiple): Use change_address on individul mems.
2445
daf68dd7
RH
2446Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
2447
2448 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
2449 an ARRAY_TYPE.
2450 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
2451 (expand_builtin_va_end): Evaluate arg for side effects.
2452 * c-common.c (c_common_nodes_and_builtins): Construct a
2453 va_list_arg_type_node to handle array decomposition to pointer.
2454
f654e526
RH
2455Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
2456
2457 * except.c (start_dynamic_cleanup): Use force_operand on the
2458 buffer's address.
2459
cc7fd398
RH
2460Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
2461
2462 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
2463 * c4x.c (c4x_va_arg): New.
2464
e7f9deae
JM
2465Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
2466
2467 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
2468 has manual_pop set.
2469
1652ca3e
NS
24701999-07-26 Nathan Sidwell <nathan@acm.org>
2471
2472 * eh-common.h (__eh_matcher): Prototype correctly.
2473
4bdc1ac7
PB
2474Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
2475
2476 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
2477 (TARGET_SINGLE_PIC_BASE): Likewise.
2478 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
2479 definitions.
2480 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
2481 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
2482 (TARGET_OPTIONS): Add -mpic-register=N.
2483 (OUTPUT_INT_ADDR_CONST): New macro.
2484 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
2485 LEGITIMATE_PIC_OPERAND_P): Likewise.
2486 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
2487 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
2488 output_addr_const directly.
2489 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
2490 ARM port.
2491 (thumb_pic_register, thumb_pic_register_string): Declare.
2492
2493 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
2494 from arm.c.
2495 (label_mentioned_p): New function: Imported from arm.c.
2496 (legitimize_pic_address): New function: Imported from arm.c.
2497 (is_pic):New function: Imported from arm.c.
2498 (thumb_finalize_pic):New function: Imported from arm.c.
2499 (add_constant): Cope with PIC constants.
2500 (fixit): Cope with PIC constants.
2501 (output_return): Do not treat the PIC register as live if
2502 TARGET_SINGLE_PIC_BASE is true.
2503 (thumb_function_prologue): Do not treat the PIC register as live if
2504 TARGET_SINGLE_PIC_BASE is true.
2505 (thumb_expand_prologue): Do not treat the PIC register as live if
2506 TARGET_SINGLE_PIC_BASE is true.
2507 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
2508 TARGET_SINGLE_PIC_BASE is true.
2509 (thumb_print_operand): Accept '|'.
2510 (thumb_override_options): Process PIC options.
2511
2512 * config/arm/thumb.md (movsi): Support PIC.
2513 (call_insn): Change "i" constraint to "X".
2514 (call_value_insn): Likewise.
2515 (consttable_4, consttable_8, consttable_end): Set and clear
2516 "making_const_table" as appropriate.
2517 (pic_load_addr, pic_add_dot_plus_four): New insns.
2518
2519 * invoke.texi (Thumb Options): Fix spelling. Document new
2520 options -msingle-pic-base and -mpic-register=.
2521
63063278
AH
25221999-07-26 Andrew Haley <aph@cygnus.com>
2523
2524 * config/m32r/initfini.c (__init): Use a full word immediate for
2525 __fini: this allows it to be placed in any memory region.
2526
2527 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
2528 -mmodel=medium. This is OK for all memory models.
2529
dd18ae56
NC
2530Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
2531
2532 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
2533 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
2534
fe0503ea
NC
2535Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
2536
2537 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
2538 defined.
2539
2540 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
2541
0174469a
RH
2542Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
2543
2544 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
2545 (BUILD_VA_LIST_TYPE): New.
2546 (EXPAND_BUILTIN_VA_START): New.
2547 (EXPAND_BUILTIN_VA_ARG): New.
2548 * i860.c (output_delayed_branch): Disable.
2549 (output_delay_insn): Likewise.
2550 (i860_saveregs): New.
2551 (i860_build_va_list): New.
2552 (i860_va_start): New.
2553 (i860_va_arg): New.
2554 * i860.md: Disable all peepholes using output_delayed_branch.
2555 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
2556
bffe09ec
RH
2557Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
2558
2559 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
2560 (BUILD_VA_LIST_TYPE): New.
2561 (EXPAND_BUILTIN_VA_START): New.
2562 (EXPAND_BUILTIN_VA_ARG): New.
2563 * clipper.c (clipper_builtin_saveregs): Only dump registers.
2564 Return the address of the save area.
2565 (clipper_build_va_list): New.
2566 (clipper_va_start): New.
2567 (clipper_va_arg): New.
2568
965eb474
RH
2569Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
2570
2571 * arc.h (EXPAND_BUILTIN_VA_START): New.
2572 (EXPAND_BUILTIN_VA_ARG): New.
2573 * arc.c (arc_setup_incoming_varargs): Set alias set of
2574 varargs save area.
2575 (arc_va_start): New.
2576 (arc_va_arg): New.
2577
63966b3b
RH
2578Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
2579
2580 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
2581 (BUILD_VA_LIST_TYPE): New.
2582 (EXPAND_BUILTIN_VA_START): New.
2583 (EXPAND_BUILTIN_VA_ARG): New.
2584 * alpha.c (alpha_builtin_saveregs): Delete.
2585 (alpha_build_va_list): New.
2586 (alpha_va_start): New.
2587 (alpha_va_arg): New.
2588
1e1ec633
JL
2589Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
2590
80c83e63
JL
2591 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
2592 column zero.
2593 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
2594 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
2595
1e1ec633
JL
2596 * gcc.texi: More changes related to list conversion.
2597 * invoke.texi: Likewise.
2598
d3707adb
RH
2599Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
2600
2601 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
2602 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
2603 (expand_builtin_next_arg): Accept ARGLIST not EXP.
2604 (stabilize_va_list): New function.
2605 (std_expand_builtin_va_start): New function.
2606 (expand_builtin_va_start): New function.
2607 (get_varargs_alias_set): New function.
2608 (std_expand_builtin_va_arg): New function.
2609 (expand_builtin_va_arg): New function.
2610 (expand_builtin_va_end): New function.
2611 (expand_builtin_va_copy): New function.
2612 (expand_builtin): Call them.
2613 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
2614 __builtin_{varargs_start,stdarg_start,end,copy}.
2615 (build_va_arg): New function.
2616 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
2617 (build_va_arg): Declare.
2618 * c-decl.c (ptr_type_node, va_list_type_node): New.
2619 * c-parse.gperf (__builtin_va_arg): New.
2620 * c-parse.in (VA_ARG): New token.
2621 (unary_expr): Recognize it.
2622 * expr.c (expand_expr): Expand VA_ARG_EXPR.
2623 * expr.h (std_expand_builtin_va_start): Declare.
2624 (std_expand_builtin_va_arg): Declare.
2625 (expand_builtin_va_arg): Declare.
2626 (get_varargs_alias_set): Declare.
2627 * tree.def (VA_ARG_EXPR): New.
2628 * tree.h (BUILT_IN_VARARGS_START): New.
2629 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
2630 (ptr_type_node, va_list_type_node): Declare.
2631 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
2632 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
2633 * m88k.h, m88k.c: Likewise.
2634 * mn10300.h, mn10300.c: Likewise.
2635 * pa.h, pa.c: Likewise.
2636 * rs6000.h, rs6000.c: Likewise.
2637 * sh.h, sh.c: Likewise.
2638 * sparc.h, sparc.c: Likewise.
2639
2640 * emit-rtl.c (operand_subword): Copy alias set.
2641 (change_address): Likewise.
2642
0a35e2fd
JL
2643Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
2644
2645 * pa.c (compute_frame_size): Scan all the used callee saved registers,
2646 not just the first one.
2647
ed0e6530
PB
2648Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
2649
2650 * config/arm/arm.h (TARGET_SWITCHES): Add
2651 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
2652 (TARGET_OPTIONS): Add -mpic-register=.
2653 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
2654 (arm_pic_register_string): Declare.
2655 (NEED_PLT_GOT): Delete, replace with ...
2656 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
2657 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
2658 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
2659 * config/arm/arm.c (arm_override_options): Add new option
2660 -mpic-register=N.
2661 (arm_pic_register_string): New variable.
2662 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
2663 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
2664 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
2665 (output_return_instruction): Likewise.
2666 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
2667 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
2668 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
2669
2670 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
2671 mention of -msched-prolog. Document new options -msingle-pic-base
2672 and -mpic-register=.
2673
19699da4
RH
2674Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
2675
2676 * haifa-sched.c (reemit_notes): Tidy.
2677 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
2678 haifa's routine.
2679
7e4ce834
RH
2680Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
2681
2682 * explow.c (trunc_int_for_mode): New function.
2683 (plus_constant_wide): Use it.
2684 * combine.c (simplify_and_const_int): Likewise.
2685 (merge_outer_ops): Likewise.
2686 (simplify_shift_const): Likewise.
2687 * cse.c (simplify_unary_operation): Likewise.
2688 (simplify_binary_operation): Likewise.
2689 * emit-rtl.c (operand_subword): Likewise.
2690 * rtl.h: Declare it.
2691
5f5780e6
BS
2692Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2693
2694 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
2695 (use NUM_REGS instead of NUM_INTS).
2696
28f4ec01
BS
2697Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2698
2699 * builtins.c: New file.
2700 * expr.c (saveregs_value, apply_args_value): Delete definition,
2701 moved into builtins.c.
2702 (string_constant): No longer static.
2703 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
2704 apply_args_size, apply_result_size, result_vector,
2705 expand_builtin_apply_args, expand_builtin_apply,
2706 expand_builtin_return): Delete functions, moved into builtins.c.
2707 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
2708 * expr.h (saveregs_value, apply_args_value): Declare variables.
2709 (expand_builtin, string_constant): Declare functions.
2710 * Makefile.in: Update to build builtin.o.
2711
b366352b
MM
2712Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
2713
2714 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
2715 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
2716 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
2717 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
2718 false.
2719 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
2720 Define to zero.
2721
a6c7a886
MM
27221999-07-21 Michael Meissner <meissner@cygnus.com>
2723
2724 * print-rtl.c (print_rtx): Print the names of the virtual
2725 registers.
2726
9daca635
NC
2727Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
2728
2729 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
2730 introduced in previous delta.
2731
9c1ce433
BS
2732Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2733
2734 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
2735 to avoid name clash.
2736
cc144655
GRK
2737Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
2738
2739 * c-lex.c (yylex) : Correct the test for overflow when lexing
2740 integer literals.
2741
197043f5
RH
2742Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
2743
2744 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
2745 (adjust_priority): Always call ADJUST_PRIORITY.
2746 (schedule_insn): Only put insns into the ready at cost 0.
2747 (schedule_block): Remove redundant initial sort. Give clock_var
2748 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
2749 is not 0.
2750 * tm.texi (MD_SCHED_REORDER): Update docs.
2751
2752 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
2753 * sparc.c (ultra_reorder_called_this_block): Delete.
2754 (ultrasparc_sched_init): Don't set it.
2755 (ultrasparc_sched_reorder): Don't check it.
2756
03a6745b
RH
2757Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
2758
2759 * rs6000.h (struct rs6000_args): Add sysv_gregno.
2760 * rs6000.c (init_cumulative_args): Init sysv_gregno.
2761 (function_arg_boundary): Align DFmode.
2762 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
2763 to get fp reg and stack overflow correct.
2764 (function_arg): Likewise.
2765 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
2766 (setup_incoming_varargs): Restructure for ABI_V4; use
2767 function_arg_advance to skip final named argument.
2768 (expand_builtin_saveregs): Properly unskip the last integer arg
2769 when doing varargs. Adjust overflow location calculation.
2770
2771 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
2772 explicitly unsigned.
2773 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
2774 (__VA_GP_REGSAVE): Similarly.
2775 (__va_longlong_p): Delete.
2776 (__va_arg_type_violation): New declaration.
2777 (va_arg): Restructure. Flag promotion errors. Align double.
2778 TFmode passed by reference.
2779
2780 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
2781 in the HOST_BITS_PER_WIDE_INT > 32 case.
2782
81f374eb
HPN
2783Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
2784
2785 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
2786
3773a46b
JM
2787Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
2788
2789 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
2790 * toplev.c (documented_lang_options): Add -fpreprocessed.
2791 * cpplib.h (struct cpp_buffer): Add preprocessed.
2792 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
2793 (cpp_start_read): Don't expand macros or emit an initial #line
2794 directive if -fpreprocessed.
2795
2796Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
2797
2798 * cpplib.h (struct cpp_buffer): Added manual_pop for
2799 better C++ tokenization.
2800 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
2801 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
2802 * c-common.c (cpp_token): Make non-static.
2803
7f4edbcb
BS
2804Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2805
2806 * c-common.h: New file.
2807 * c-common.c (permanent_obstack): Delete unused declaration.
2808 (c_global_trees): New array.
2809 (c_common_nodes_and_builtins): New function; split off common code
2810 from init_decl_processing in both c-decl.c and cp/decl.c.
2811 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
2812 c_global_trees and accessor macros defined in c-common.h.
2813 Include c-common.h.
2814 * c-decl.c: Delete definitions for tree nodes that were replaced by
2815 c_global_trees.
2816 (init_decl_processing): Build void_list_node.
2817 Call c_common_nodes_and_builtins; delete code to generate the common
2818 builtins here.
2819 * objc/objc-act.c (build_module_descriptor): Rename variable
2820 void_list_node to avoid clash with c-common.h.
2821
2822 * Makefile.in: Update dependencies.
2823 * objc/Make-lang.in: Likewise.
2824
2d6b61cb
MM
2825Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
2826
2827 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
2828 (UNIQUE_SECTION_P): Likewise.
2829 (UNIQUE_SECTION): Likewise.
2830
92d6db66
LV
28311999-07-19 Linas Vepstas <linas@linas.org>
2832
2833 * config/i370/README: New file.
2834 * config/i370/linux.h: New file.
2835 * config/i370/mvs.h: New file.
2836 * config/i370/oe.h: New file.
2837 * config/i370/t-linux: New file.
2838 * config/i370/t-mvs: New file.
2839 * config/i370/t-oe: New file.
2840 * config/i370/x-oe: New file.
2841 * config/i370/xm-linux.h: New file.
2842 * config/i370/xm-mvs.h: New file.
2843 * config/i370/xm-oe.h: New file.
2844
2845 * i370.c (label_node_t): Add first_ref_page, label_addr,
2846 label_first_ref, label_last_ref members.
2847 (mvs_need_base_reload): Renamed from mvs_label_emitted.
2848 (MAX_MVS_LABEL_SIZE): Define.
2849 (MAX_LONG_LABEL_SIZE): Define.
2850 (alias_node_t, alias_anchor, alias_number): New.
2851 (mvs_function_table): Reorder for EBCDIC.
2852 (ascebc, ebcasc): Unconditionally define.
2853 (i370_branch_dest, i370_branch_length): New functions.
2854 (i370_short_branch, i370_label_scan): New functions.
2855 (mvs_get_label): Renamed from mvs_add_label. Search for
2856 an existing label before creating a new one.
2857 (mvs_add_label): New function.
2858 (mvs_get_label_page): New function.
2859 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
2860 over the entire list.
2861 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
2862 (mvs_check_page) [TARGET_ELF_ABI]: New function.
2863 (mvs_add_alias, mvs_need_alias): New functions.
2864 (mvs_get_alias, mvs_check_alias): New functions.
2865 (handle_pragma): New function.
2866 (mvs_function_check): New function.
2867 (unsigned_jump_follows_p): Search harder.
2868 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
2869 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
2870 * i370.h (TARGET_VERSION): Delete.
2871 (CPP_SPEC, CPP_PREDEFINES): Delete.
2872 (mvs_label_emitted): Delete.
2873 (TARGET_EBCDIC): Delete.
2874 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
2875 (HANDLE_PRAGMA): Define.
2876 (HARD_REGNO_NREGS): Handle complex modes.
2877 (HARD_REGNO_MODE_OK): Likewise.
2878 (CLASS_MAX_NREGS): Likewise.
2879 (RET_REG): Likewise.
2880 (EXTRA_CONSTRAINT): Define.
2881 (RETURN_IN_MEMORY): True for DImode.
2882 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
2883 (FUNCTION_PROFILER): Delete.
2884 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
2885 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
2886 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
2887 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
2888 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
2889 (ASM_FILE_START): Add "RMODE ANY".
2890 (ASM_OUTPUT_EXTERNAL): Check for aliases.
2891 (ASM_GLOBALIZE_LABEL): Likewise.
2892 (ASM_OUTPUT_LABELREF): Likewise.
2893 (ASM_OUTPUT_COMMON): Likewise.
2894 (PRINT_OPERAND): Handle 'K', 'W', default.
2895 (PRINT_OPERAND_ADDRESS): New.
2896 (Lots of defines): Add support for TARGET_ELF_ABI.
2897 * i370.md (attr length): New. Define for all patterns.
2898 (*): Lots of tweeks to assembly output and constraints.
2899
0ad91047
DE
2900Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
2901
2902 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
2903 Disable patterns performing SImode comparisons with SImode values
2904 if TARGET_POWERPC64 and instruction does not sign-extend or does
2905 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
2906 differ for signed quantities.
2907 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
2908 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
2909 (decrement_and_branch_on_count): Add 64-bit variant.
2910
463a8384
BS
2911Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2912
2913 * final.c (output_asm_insn): When searching for the matching string
2914 for a given dialect, don't run past the end of the list of
2915 alternatives if there are fewer alternatives in the template than
2916 dialects.
2917
e67df273 29181999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
1d0e51ba 2919
e67df273
AO
2920 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
2921 Removed paragraph about compression of files and size limitation,
2922 duplicated in the FAQ. Use gcc-patches for posting patches.
2923 * gcc.c (main): Updated URL with bug reporting instructions to
2924 gcc.gnu.org. Removed e-mail address.
2925 * system.h (abort): Likewise.
2926
50908fad
KG
29271999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2928
1d0e51ba
JM
2929 * Makefile.in (stmp-multilib-sub): Make the files extracted
2930 from $(LIBGCC1) writable.
50908fad 2931
6cfc7210
NC
2932Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
2933
2934 * config/arm/aout.h: Reformat for improved readability.
2935
2936 * config/arm/arm.h: Reformat for improved readability.
2937 Replace uses of fprintf with asm_fprintf where appropriate.
2938 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
2939 function declaration assembler actions.
2940 (NUM_INTS): New macro: Convert from bytes to words.
2941 (NUM_REGS): New macro: Compute number of registers required to
2942 hold a quanitity of tyep MODE.
2943 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
2944 types.
2945 (NUM_ARG_REGS): New macro: The number of argument registers
2946 available.
2947 (ARG_REGISTER): New macro: Compute the register number of the Nth
2948 argument register.
2949 (LAST_ARG_REGNUM): New macro: The number of the last argument
2950 register.
2951 (SP_REGNUM): New macro: Register number of the stack pointer.
2952 (FP_REGNUM): New macro: Register number of the frame pointer.
2953 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
2954 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
2955 CUMULATIVE_ARGS so that it counts registers not bytes.
2956
2957 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
2958 TARGET_INTERWORK.
2959 Replace uses of fprintf with asm_fprintf where appropriate.
2960 (output_ascii_pseudo_op): Replace with version from thumb.c
2961
2962 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
2963
2964 * config/arm/elf.h (CPP_PREDEFINES): Replace with
2965 SUBTARGET_CPP_SPEC.
2966 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2967 (ASM_FILE_START): Emit ASM_APP_OFF.
2968
6d32de1a 2969Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
cb16fe9f 2970
b3292eb0
JL
2971 * pa.c (compute_frame_size): Round frame according to
2972 STACK_BOUNDARY rather than a hardwired value.
2973
cb16fe9f 2974 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
30f08b39
JL
2975
2976 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
2977 of "1".
2978 * configure: Rebuilt.
6d32de1a 2979
0e22c1d8
JL
2980 * configure.in (hppa*-*-linux*): New configuration.
2981 * configure: Rebuilt.
2982 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
2983 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
2984 * pa/pa-linux.h: New file.
2985 * pa/t-linux: New file.
2986 * pa/xm-linux.h: New file.
2987
690d4228
JL
2988 * pa.c (hppa_legitimize_address): Change references from SImode to
2989 either Pmode or word_mode as appropriate.
2990 (emit_move_sequence, store_reg, load_reg): Likewise.
2991 (set_reg_plus_d, hppa_expand_prologue): Likewise.
2992 (output_mul_insn): Likewise.
2993 * pa.h (PROMOTE_MODE): Likewise.
2994 (INITIALZE_TRAMPOLINE): Likewise.
2995 (Pmode): Define to word_mode.
2996
d7735a07
JL
2997 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
2998 value of 4. Allocate 8 bytes for each FP register save.
2999 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
3000 value of 4.
3001 (hppa_expand_prologue): Likewise.
3002 * pa.h (PROMOTE_MODE): Likewise.
3003 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
3004 (FUNCTION_ARG_BOUNDARY): Likewise.
3005
c8730d93
JL
3006 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
3007
7123b6ed
JL
3008 * pa.c (out_of_line_prologue_epilogue): Delete.
3009 (override_options): Remove -mspace related code.
3010 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
3011 (compute_frame_size): Only allocate space for register that
3012 actually need to be saved.
3013 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
3014 (TARGET_SWITCHES): Remove -mspace, -mno-space
3015 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
3016 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
3017 * pa/ee.asm, pa/ee_fp.asm: Delete.
3018
15c58c19
JL
3019 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
3020
6d32de1a
JL
3021 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
3022 directive in column zero.
3023
df59fef7
JL
3024Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
3025
3026 * m68k.c (output_function_prologue): Fix computation of save mask
3027 when generating PIC code.
3028
e500a90e
JW
3029Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
3030
3031 * tree.c (build_type_attribute_variant): Move current_obstack restore
3032 after build_qualified_type call.
3033
e3f5cc86
MM
30341999-07-15 Mark Mitchell <mark@codesourcery.com>
3035
3036 * configure.in: Use t-iris6, even with GNU LD.
3037 * config/mips/iris6gld.h: Fix typo in linker spec.
3038 * config/mips/t-iris6gld: Remove.
3039
a78e33fc
DE
3040Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
3041
3042 * rs6000.md (insv, extzv): Remove SImode dependence in named
3043 patterns. Explicitly generate DImode RTL if PowerPC64 and
3044 operand is DImode.
3045 (insvdi): Reverse start and size in instruction template.
3046
1bd31d56
JM
30471999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
3048
3049 * invoke.texi: Typo fixes.
3050
bb183b9e
JL
3051Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
3052
40c0c3cf
JL
3053 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
3054 handle at this time instead of silently generating incorrect code.
3055 (gen_imagpart): Likewise.
3056
bb183b9e
JL
3057 * reload.c (find_reloads): Emit a USE for a pseudo register without
3058 a hard register if we could not create an optional reload for the
3059 pseudo.
3060
9bbecbc4
R
3061Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3062
3063 * c-typeck.c (output_init_element, process_init_element):
3064 When advancing constructor_unfilled_fields for a RECORD_TYPE,
3065 check for nameless bit fields.
3066
cf353617
RH
3067Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
3068
3069 * regclass.c (scan_one_insn): Notice subregs that change the
3070 size of their operand.
3071 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
3072
e345693a
JL
3073Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
3074
3075 * configure.in (alpha*-*-*): Include alpha/t-ieee.
3076 * configure: Rebuilt.
3077 * alpha/t-ieee: New file.
3078
02441cd6
JL
3079Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
3080
3081 * rs6000.c (find_addr_reg): Do not select r0 as an address
3082 register.
3083
86f5dfc8
PDM
3084Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
3085
3086 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
3087
cbbc503e
JL
3088Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
3089
22e228e7
JL
3090 * rs6000.md (movsf): Do not force easy FP constants into memory.
3091
cbbc503e
JL
3092 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
3093 immed_double_const to ensure they are properly truncated then
3094 sign extended.
3095
115b4dd3
VM
3096Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
3097
3098 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
3099 always unless NO_DEBUG is used. Compile this code
3100 unconditionally.
3101 (replace_symbols_in_block): Compile it unconditionally.
3102
9b5c756a
JL
3103Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
3104
3105 * configure.in (i?86-*-elf*): New target.
3106 * configure: Rebuilt.
3107 * i386/i386elf.h, i386/t-i386elf: New files.
3108
539bd34c
JM
3109Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
3110
3111 * toplev.c (main): Don't complain about saying -gdwarf.
3112 (rest_of_compilation): Remove redundant code.
3113
570621d5
JW
3114Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
3115
3116 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
3117
c3c7ea1f
FL
3118Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
3119
3120 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
3121 "Li960R:", to avoid name clash.
3122
22b452e7
BS
3123Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3124
3125 * loop.c (check_dbra_loop): When reversing a loop, delete all
3126 REG_EQUAL notes referencing the reversed biv except those which are
3127 for a giv based on it.
3128
4470c399
JL
3129Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
3130
3131 * version.c: Drop "gcc-" prefix from version #.
3132
ac260b05
JM
3133Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
3134
3135 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
3136 the label if we're being verbose.
3137
ca21e4da
RH
3138Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
3139
3140 * m68k.c (output_function_prologue): Add pic register to mask
3141 if live and flag_pic.
3142 (output_function_epilogue): Likewise.
3143
e541a076
JL
3144Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
3145
d49d43f0
JL
3146 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
3147 directives in column zero.
3148
d8292963
JL
3149 * pa/elf.h (ASM_FILE_START): Define.
3150 * pa/som.h (ASM_FILE_START): Include .level directives.
3151 * pa/hpux10.h (ASM_FILE_START): Delete.
3152 * pa/hpux11.h (ASM_FILE_START): Delete.
3153
e541a076
JL
3154 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
3155
fe92fe26
R
3156Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3157
3158 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
3159 when reload_out equals reload_in.
3160
a743d340
NC
3161Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
3162
3163 * invoke.texi (Spec Files): New node: Describe the contents of
3164 spec files.
3165
ec4b2ecb
CB
3166Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
3167
3168 * invoke.texi (DEC Alpha Options): Put @end table at
3169 beginning of line, to avoid confusing texi2html.
3170
2988a4c3
NC
3171Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
3172
3173 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
3174 introduced in previous delta.
3175
09522f21
FS
3176Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3177
3178 * reload1.c (gen_reload): When synthesizing a 3 operand add
3179 sequence, improve test for when to reload OP1 into the reload
3180 register instead of OP0.
3181
c3fc2b5a
JW
3182Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
3183
3184 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
3185
1d8f2d15
MH
31861999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
3187
3188 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
3189 string literal.
3190
120b9f1f
RH
3191Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
3192
3193 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
3194 (va_dcl): Use __builtin_va_alist_t.
3195
32acdfaf
JM
3196Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
3197
3198 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
3199 on the permanent_obstack.
3200 * dwarfout.c (output_type): Likewise.
3201
693a6128
GRK
3202Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
3203
3204 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3205 Merged from c-typeck.c and cp/typeck.c.
3206 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3207 Merged into c-common.
3208
d2164ac2
DB
3209Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
3210
3211 * c-lex.c (errorcount): Declare it.
3212 (finish_parse): Update errorcount when using CPPLIB.
3213
ef9375a9
BK
32141999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
3215
3216 * fixinc/inclhack.def(end_else_label): Double the backslash so
3217 sed gets a chance to see it.
3218 * fixinc/inclhack.sh: regen
3219 * fixinc/fixincl.x: regen
3220
62b10bbc
NC
3221Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
3222
3223 Add framework to support armv5 architecture when it becomes
3224 available:
3225
3226 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
3227 (arm_arch5): New variable.
3228 (all_architectures): Add armv5 line.
3229 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
3230 -march=armv5 is specified on the command line.
3231 (arm_arch5): Export this variable.
3232 * invoke.texi: Document new string accepted by -march= switch for
3233 ARM ports.
3234
3235 * config/arm/arm.h: Replace use of constant 12 as a register
3236 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
3237 * config/arm/arm.c: Replace use of constant 12 as a register
3238 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
3239
3240 * config/arm/elf.h: Tidy up.
3241 * config/arm/coff.h: Tidy up.
3242
05476613
MM
3243Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
3244
3245 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
3246 * gcc/config/mips/t-iris6gld: New file.
3247 * gcc/config/mips/iris6gld.h: Likewise.
3248
835f9b4d
GRK
3249Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
3250
3251 * c-decl.c (widest_integer_literal_type_node,
3252 widest_unsigned_literal_type) : New.
3253 (init_decl_processing): Handle/use the two new types.
3254 * c-common.c (type_for_size,type_for_mode) : Same.
3255 * c-lex.c (yylex) : Same.
3256 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3257 Same.
3258 * c-tree.h (widest_integer_literal_type_node,
3259 widest_unsigned_literal_type) : New.
3260
84d59453
JL
3261Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
3262
3263 * dwarfout.c (field_byte_offset): Correctly compute the object's
3264 byte offset for the first bit of a field which crosses an alignment
3265 boundary on a !BYTES_BIG_ENDIAN target.
3266
37f7ba0a
RL
3267Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
3268
3269 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
3270 ntohs.
3271
88250fae 3272Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
1d0e51ba 3273 Jeff Law <law@cygnus.com>
88250fae 3274
262b846d
RH
3275 * ginclude/varargs.h (va_dcl): Use word_mode for type of
3276 __builtin_va_list.
3277
88250fae
RH
3278 * except.c: Include intl.h.
3279 (expand_eh_return): Set current_function_cannot_inline.
3280 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
3281 * function.h (struct function): Add eh_return_stub_label.
3282 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
3283 * Makefile.in (except.o): Depend on intl.h.
3284
69f51a21
DE
3285Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
3286
3287 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
3288 same as offsettable in cases 1 and 2.
3289
786d6092
RH
3290Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
3291
3292 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
3293 (extlh, extwh): Likewise.
3294
ed534bdd
GRK
3295Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
3296
3297 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
3298
cb805c2d
NC
3299Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
3300
3301 * configure.in: Add arm-pe and thumb-pe targets.
3302 * configure: Regenerate.
3303
3304 * thumb.c (arm_naked_function_p): New function: Determines if
3305 a function is naked (has no gcc generated prologue/epilogue).
3306 (is_called_in_ARM_mode): Return true if the func has the
3307 interfacearm attribute.
3308 (output_return): Do not generate a return for naked functions.
3309 (thumb_function_prologue): Do not generate a prologue for
3310 naked functions.
3311 (thumb_expand_prologue): Do not generate a prologue for naked
3312 functions.
3313 (thumb_expand_epilogue): Do not generate an epilogue for naked
3314 functions.
3315 (arm_valid_machine_decl_attribute): New function, copied from
3316 arm.c: Permit naked and interfacearm attributes.
3317
3318 * config/arm/pe.c: New file: Support code for arm-pe target.
3319 * config/arm/pe.h: New file: Header file for arm-pe target.
3320 * config/arm/tpe.h: New file: Header file for thumb-pe target.
3321 * config/arm/t-thumb-pe: New file: Makefile fragment for
3322 thumb-pe target.
3323
a071bd35
MK
33241999-07-01 Mark Kettenis <kettenis@gnu.org>
3325
3326 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
3327 -fPIC or -fpic is specified.
3328
57220c8c
JL
3329Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
3330
f3dc586a
JL
3331 * expr.c (emit_block_move): Use copy_to_mode_reg for
3332 !TARGET_MEM_FUNCTIONS case too.
3333
0d381b47
JL
3334 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
3335 appropriate.
3336 * configure: Rebuilt.
3337 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
3338 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
3339 definitions made redundant by dbxelf.h inclusion. Delete
3340 lots of definitions related to assembly output that are
3341 specific to the SOM object format.
3342 * pa.c (output_function_prologue): Do not emit the function's
3343 name for OBJ_ELF.
3344 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
3345 * pa-pro.h: Deleted.
3346 * som.h: New file with SOM specific definitions.
3347 * elf.h: New file with ELF specific definitions.
3348
c7a159aa
JL
3349 * elfos.h (const_section): Output a tab before assembler directives.
3350 (ctors_section, dtors_section): Likewise.
3351 (ASM_OUTPUT_SECTION_NAME): Likewise.
3352
57220c8c
JL
3353 * pa/pa1.h: Delete unused file.
3354
5dd29219
JL
3355Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
3356
fab7be4f
JL
3357 * configure.in (hppa*-hp-hpux11*): New configuration.
3358 * configure: Rebuilt.
3359 * pa/pa-hpux11.h: New file.
3360 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
3361 command line.
3362
be8b493b
JL
3363 * mips.md (leasi, leadi): New patterns.
3364
5dd29219
JL
3365 * expr.c (emit_block_move): Properly handle case where one of the
3366 block move arguments has a queued increment or decrement.
3367 (clear_storage): Similarly. Fix formatting goof.
3368
eca5590f
DB
33691999-06-28 "David O'Brien" <obrien@NUXI.com>
3370
3371 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
3372 semicolon from the BSD VA_LIST replacement expression.
3373
3374 * fixinc/inclhack.sh: regen
3375 * fixinc/fixincl.x: regen
3376
3377 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
3378 now use the fixincl program.
3379
8945f887
JL
3380Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
3381
44e3d967
JL
3382 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
3383 case. Also make the PIC register call_used.
3384
8945f887
JL
3385 * m68k.h (FINALIZE_PIC): Delete.
3386 * m68k.c (finalize_pic): Delete.
3387
9f81f523
RH
3388Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
3389
3390 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
3391 to memory.
3392
c8e7fe58
DE
3393Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
3394
3395 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
3396
9da8a3ae
RH
3397Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
3398
3399 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
3400
19087b1c
DE
3401Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
3402
3403 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
3404
be78cbc9
RH
3405Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
3406
3407 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
3408
31bfaa0b
DE
3409Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
3410
3411 * rs6000.c (output_toc): Always use hex values for floating-point
3412 constants. Store single-precision values in upper-half of TOC
3413 entry in 64-bit mode.
3414 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
3415 to final constraints.
3416 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
3417 (fctiwz): Improve accuracy of RTL for pattern.
3418
6ab46dff
GRK
3419Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
3420
3421 * expr.c (expand_expr): Allow RTL_EXPR's through the
3422 MAX_INTEGER_COMPUTATION_MODE checks.
3423
b75ff53e
RH
3424Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
3425
3426 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
3427 such that MASK_SUPPORT_ARCH is not negative.
3428
2f47f8d0
JL
3429Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
3430
3431 * loop.c (verify_dominator): Properly handle ADDR_VEC and
3432 ADDR_DIFF_VEC insns that appear inside loops.
3433
2b97222d
DE
3434Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
3435 Jeff Law <law@cygnus.com>
3436
3437 * rs6000.md (movdf_hardfloat32): Revert previous patch.
3438 Handle LO_SUM the same as offsettable in cases 1 and 2.
3439 * rs6000.c (find_addr_reg): Revert previous patch.
3440
c22c8e60
PDM
3441Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
3442
3443 * system.h (strstr): New external function declaration.
3444 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
3445 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
3446 * config.in, configure: Rebuilt.
3447
a5ac7533
TT
34481999-06-24 Tom Tromey <tromey@cygnus.com>
3449
3450 * gcc.c (main): Read user-specified specs files after computing
3451 additional startfile_prefixes.
3452
e04ea7d3
MM
3453Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
3454
3455 Revert these two patches:
3456
3457 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3458 * loop.c (strength_reduce): When doing biv->giv conversion, update
3459 reg note of NEXT->insn.
3460
3461 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3462 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3463 reg_biv_class.
3464 (recombine_givs): Set ix field after sorting.
3465
2f9fb4c2
R
3466Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3467
3468 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
3469 for the parts of an UNSPEC / UNSPEC_VOLATILE.
3470
d71ef9d4
BK
34711999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
3472
3473 *fixinc/inclhack.def: Add fix development commentary
3474 (read_ret_type): reactivate and add selection clause
3475 (zzz_*): tweak output file name to match what is used in hackshell.tpl
3476 *fixinc/{fixincl.x|inclhack.sh}: regen
3477
5f652c07
JM
3478Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
3479
3480 * expr.c (expand_expr): STRIP_NOPS before checking against
3481 MAX_INTEGER_COMPUTATION_MODE
3482 (check_max_integer_computation_mode): Likewise.
3483
759c58af
JW
3484Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
3485
3486 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
3487
3dbecef9
JW
34881999-06-22 Jim Wilson <wilson@cygnus.com>
3489
3490 * expr.c (store_expr): When target is a promoted subreg, return a
3491 promoted subreg as a result.
3492
2618f955
MM
3493Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
3494
3495 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
3496 coding standards.
3497 (dwarf2out_define): Mark unused parameters appropriately.
3498 (gen_unspecified_parameters_die): Ditto.
3499 (gen_subprogram_die): Fix signed/unsigned warnings.
3500 (gen_variable_die): Ditto.
3501
15b18336
BK
35021999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
3503
2618f955 3504 * fixinc/inclhack.def(end_else_label): combined else_label
15b18336
BK
3505 and endif_label and fixed the sed expression.
3506 *fixinc/{fixincl.x|inclhack.sh}: regen
3507
79853d16
JL
3508Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
3509
3510 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
3511 'x' when handling non-offsettable addresses
3512
e598cdff
RE
3513Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
3514
3515 * final.c (shorten_branches): Don't try to split an insn that has
3516 been deleted.
3517
d660677d
MM
3518Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
3519
3520 * config/mips/mips.c (symbolic_expression_p): New function.
3521 (mips_select_rtx_section): Put symbolic expressions in the
3522 data section, not the read-only data section.
3523
b2d5abe3
JL
3524Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
3525
3526 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
3527
6690d24c
RH
3528Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
3529
3530 * collect2.c (main): Log frame table count.
3531 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
3532 (scan_prog_file) [COFF]: Handle frame tables.
3533
3534 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
3535 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
3536 * alpha/elf.h: Undef them again.
3537 * alpha/vms.h: Remove their definitions.
3538
b8794099
R
3539Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3540
3541 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
3542 remove the clobber of r0 and change the REG_UNUSED note to
3543 REG_INC.
3544
8fc4af0f
JJ
35451999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
3546
3547 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
3548 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
3549 fits in HOST_WIDE_INT and one uses union to access a long constant
3550 as double.
3551
2be15d0f
RH
3552Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
3553
3554 * sparc.c (sparc_override_options): Don't allow profiling for
3555 code models other than medlow.
3556 (sparc_function_profiler): New function from old FUNCTION_PROFILER
3557 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
3558 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
3559 (sparc_block_profiler): Likewise.
3560 (sparc_function_block_profiler_exit): Likewise.
3561 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
3562 (FUNCTION_BLOCK_PROFILER): Likewise.
3563 (BLOCK_PROFILER): Likewise.
3564 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
3565 (MCOUNT_FUNCTION): New.
3566 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
3567 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
3568 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
3569 (MCOUNT_FUNCTION): New.
3570 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
3571 (BLOCK_PROFILER): Delete.
3572 (MCOUNT_FUNCTION): New.
3573
cf2c48d8
DE
3574Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
3575
3576 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
3577
48b1580e
VM
3578Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
3579
3580 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3581 Add the macros.
3582
3583 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3584 Ditto.
3585
3586 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3587 Ditto.
3588
3589 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3590 Ditto.
3591
60d0536b
NC
3592Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
3593
3594 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
3595 types.
3596
15d76a9b
ME
3597Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
3598
3599 * i386/djgpp.h (LIB_SPEC): New.
3600 (STARTFILE_SPEC): New.
3601
3602 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
3603
cfb6c7ed
PDM
3604Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
3605
3606 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
3607 compiler flags.
3608
3609 * system.h (WSTOPSIG): New macro.
3610
9a6346c1
MK
3611Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
3612
224bb373
MK
3613 * c-pragma.c (push_alignment): Don't ignore alignments greater than
3614 4 bytes.
3615 (insert_pack_attributes): Take into account member natural
3616 alignment.
3617
e43f9c10
MK
3618 * i386/winnt.c (exports_head): New static variable.
3619 (i386_pe_record_exported_symbol): New function.
3620 (i386_pe_asm_file_end): Use.
3621 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
3622 symbols to be emitted at end of assembly.
3623 (ASM_DECLARE_OBJECT_NAME): Likewise.
3624 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3625
9a6346c1
MK
3626 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
3627 -iwithprefix.
3628
78eca9f2
JL
3629Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
3630
3631 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
3632 in last change.
3633
0adb548c
RH
3634Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
3635
3636 * haifa-sched.c (sched_analyze_1): Use free_list instead of
3637 zapping reg_last_uses directly.
3638 (sched_analyze_2, sched_analyze_insn): Likewise.
3639 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
3640
2f76d42c
DE
3641Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
3642
3643 * rs6000.md (movdf_hardfloat32): Use worst case insn length
3644 attributes for cases 1 and 2.
3645
c1cb76e9
RH
3646Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
3647
3648 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
3649 instead of set.
3650
b3b15f14
PB
3651Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
3652
3653 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
3654
6ed30148
RE
3655Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
3656
3657 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
3658 PIC_OFFSET_TABLE_REGNUM for general alloaction.
3659 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
3660 must be stacked if it is used for PIC accesses.
3661 * arm.c (use_return_insn): Handle PIC register specially.
3662 (output_return_instruction): Likewise.
3663 (output_func_{prologue,epilogue}): Likewise.
3664 (output_expand_prologue): Likewise.
3665
73680b07
RE
3666 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
3667 (*strsi_predec): Renamed from *strqi_predec.
3668 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
3669 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
3670
61571dfc
RE
3671 * arm.c (arm_override_options): Remove warning about PIC code
3672 not being supported.
3673
000034eb
DE
3674Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
3675
3676 * rs6000.c (find_addr_reg): New function.
3677 * rs6000.h (find_addr_reg): Declare.
3678 (offsettable_addr_operand): Delete.
3679 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
3680 from and stores to GPRs.
3681
34cea4e9
RH
3682Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
3683
3684 * alpha.c (alpha_expand_block_move): Use get_insns rather than
3685 gen_sequence as argument to emit_no_conflict_block.
3686
e3235aba
BK
3687Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3688
3689 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
51bf846e
BK
3690 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
3691 *fixinc/fixincl.x: regen
3692 *fixinc/inclhack.sh: regen
e3235aba 3693
d4e8d1dc
MM
3694Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
3695
1d0e51ba 3696 * added support for -mpcrel (PC relative addressing for m68k)
d4e8d1dc
MM
3697 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
3698 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
3699 * m68k.c (print_operand_address): Handle 32-bit PIC case.
3700 (comments for general_src_operand): Add some explanation
3701 about EXTRA_CONSTRAINTS.
3702 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
3703 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
3704 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
3705 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
3706 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
3707 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
3708 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
3709 if not already set.
3710 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
3711 * m68k.h (TARGET_PCREL): New target flag.
3712 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
3713 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
3714 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
3715 contains a SYMBOL_REF. Relax this constraint during reload, since
3716 we want to use the predicates, not reload's built-in concept of a
3717 valid memory address, to control what insns need reloading.
3718 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
3719 operands (essentially 'g', 'm', and 's' under normal circumstances).
3720 * m68k.c (print_operand): Cause printing of pc-relative addresses
3721 to include pc register.
3722 (print_operand_address): Ditto.
3723 (general_src_operand): Accept operands that are not only
3724 general_operands, but are also valid when used as a pc-relative
3725 source.
3726 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
3727 (memory_src_operand): Similar, for memory_operands.
3728 (pcrel_address): New predicate to accept the special case of a
3729 pc-relative address.
3730 * m68k.md (many patterns): Rewrite common SImode, HImode, and
3731 QImode insns to accept *_src_operand instead of *_operand where
3732 pc-relative operands can fit. For example, a pc-relative operand
3733 can be used as a memory source operand for addsi3, but not as a
3734 memory destination.
3735 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
3736
9ddab891
NC
3737Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
3738
3739 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
3740 .thumb_set pseudo op to mark aliases of thumb functions.
3741
e4faf1eb
NC
3742Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
3743
3744 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
3745 preference to ASM_OUTPUT_DEF, if it is defined.
3746
3747 * tm.texi: Document new, optional target macro
3748 ASM_OUTPUT_DEF_FROM_DECLS.
3749
180b3d50
BK
3750Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3751
3752 * fixincludes: ISCNTL patch
3753 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
3754 (dgux_int_varargs): new for DG/UX
3755 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
3756
c3bef29f 3757Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
a1c0cf1f 3758
00e59549
R
3759 * invoke.texi (ia32 options): Fix typo.
3760
c3bef29f
JL
3761Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3762
a1c0cf1f
R
3763 * loop.c (strength_reduce): When doing biv->giv conversion, update
3764 reg note of NEXT->insn.
3765
51f0646f
JL
3766Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
3767
3768 * loop.c (move_movables): Note issues with replacing REGs with
3769 SUBREGs.
3770 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
3771
f4b7680b
DB
3772Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
3773
8a8f4bc1
DB
3774 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
3775
f4b7680b
DB
3776 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
3777 the reference to `mcount' was not correct for the ELF on FreeBSD.
3778
41c1b007
R
3779Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3780
3781 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3782 reg_biv_class.
3783
3784 (recombine_givs): Set ix field after sorting.
3785
227d6ce0
JL
3786Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
3787
3788 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
3789 to safe to extract a subword out of a REG.
3790
78d114ef
R
3791Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3792
3793 * sh.md (mulsi3): Don't add a no-op move at the end.
3794
15c68354
R
3795Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3796
3797 * cse.c (cse_insn): Don't put hard register source into tables for
afe95810 3798 the last insn of a libcall.
15c68354 3799
1b786838
R
3800Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3801
3802 * loop.c (strength_reduce): Insert sets of derived givs at every
3803 biv increment, even if it's the only one.
3804
75c613db
JM
3805Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
3806
3807 * dwarfout.c (add_incomplete_type): New fn.
3808 (output_type): Call it.
3809 (retry_incomplete_types): New fn.
3810 (dwarfout_finish): Call it.
3811
3812 From Eric Raskin <ehr@listworks.com>:
3813 (output_type): Output types for bases.
3814
c4e992ae
AO
3815Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
3816
75c613db 3817 * mips.c (mips_output_conditional_branch): Add `break'
c4e992ae
AO
3818 between `default' label and `close braces'.
3819
666260c3
DB
3820Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
3821
3822 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
3823 specifications and make it realistic.
3824 (LIB_SPEC): Likewise.
3825
bf4f78ee
JW
3826Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
3827
3828 * config/mips/mips.c (mips_secondary_reload_class): Check for
3829 (PLUS (SP) (REG)) and return appropriate register class.
3830 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
3831 Handle (PLUS (SP) (REG)).
3832 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
3833 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
3834 of emit_insn for tablejump.
3835
13f1623b
DE
3836Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
3837
3838 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
3839 asm_fprintf format string by itself.
3840 (output_function_profiler): Likewise.
3841
2e8f9abf
DM
3842Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
3843
1d0e51ba
JM
3844 * combine.c (simplify_logical, case AND): Only call
3845 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
2e8f9abf
DM
3846 or the constant is positive.
3847
69c9f0fb
NC
3848Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
3849
3850 * configure.in: Fix typo in rs6000-ibm-aix4 case.
3851 * configure: Regenerate.
3852
7747ddb3
JL
3853Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
3854
3855 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
3856 require a sub-version #.
3857 * configure: Rebuilt.
3858
ecad2425
RL
38591999-06-14 Robert Lipe (robertlipe@usa.net)
3860
3861 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
3862
d739a3bc
NS
3863Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
3864
3865 * c-typeck.c (process_init_element): Detect excess elements in
3866 char array initializer.
3867
8dae700b
AJ
38681999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3869
3870 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
3871
3a6bf921
JQ
3872Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3873
3874 * invoke.texi (Option Summary): Add -fpermissive flag.
3875
691f4e73
JL
3876Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
3877
3878 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
3879 that require PIC code sequences.
3880
c83fe036
NC
3881Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
3882
3883 * configure.in: Add new target: thumb-elf.
3884 * configure: Regenerate.
3885 * config/arm/t-thumb-elf: New file: Makefile fragment for
3886 thumb-elf build.
3887 * config/arm/telf.h: New file: Header file for thumb-elf
3888 build.
3889
5cda1ab6
JL
3890Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
3891
657be7af
JL
3892 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
3893 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
3894 initializers is some circumstances.
3895
5cda1ab6
JL
3896 * fixinc/inclhack.def (endif_label): Add additional selector for
3897 more bogus stuff after #endif statements.
3898 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
3899
8c84eeed
MK
3900Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
3901
3902 * i386/cygwin.h (SET_ASM_OP): Define.
3903
d3b6b80c
MK
3904Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
3905
3906 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
3907
0aa54da2
R
3908Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3909
3910 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
3911 latter.
3912
3913 * sh.md (ic_invalidate_line_i): Remove second alternative.
3914
3175776e
BK
3915Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3916
3917 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
3918 test for the presence of valid prototypes. Delete bypass expr.
3919 (ioctl_fix_ctrl): Correct the selection expression.
b45293b5 3920 (no_double_slash): Correct quoting rules
b4e01caa
BK
3921 *fixinc/fixincl.x: regen
3922 *fixinc/inclhack.sh: regen
3175776e 3923
6cf32035
NC
3924Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
3925
3926 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
3927
8d30c4ee
FS
3928Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3929
3930 * rs6000.md (movsi_got_internal_mem): Delete.
3931 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
3932 (GOT_TOC_REGNUM): Delete.
3933 (PIC_OFFSET_TABLE_REGNUM): Define.
3934 (FINALIZE_PIC): Disable.
3935 * rs6000.c (rs6000_got_register): New code for fixed pic register.
3936 (rs6000_replace_regno): Delete.
3937 (rs6000_finalize_pic): Likewise.
3938 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
3939
7c2772f1
R
3940Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3941
3942 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
3943 is a note; use <= for the compare; advance P while it is
3944 a NOTE.
3945
68281574
JL
3946Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
3947
88b94e29
JL
3948 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
3949 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
3950
ff27cf73 3951 * varasm.c (remove_from_pending_weak_list): Verify t->name
68281574
JL
3952 is non-NULL before passing it to strcmp.
3953
dedfdcb2
BK
3954Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3955
3956 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
3957 the typed arguments are not part of a comment
6deb8ad8 3958 (ioctl_fix_ctrl): Added a purpose comment
07412b07
BK
3959 *fixinc/fixincl.x: regenerate
3960 *fixinc/inclhack.sh: regenerate
dedfdcb2 3961
282a61e6
MH
3962Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3963
3964 * invoke.texi: Add C4x invocation docs.
3965
31445126
MH
3966Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3967
3968 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
3969 Define new macros.
3970 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
3971 TARGET_EXPOSE_LDP.
3972 (c4x_legitimize_reload_address): New function.
3973 * config/c4x/c4x.md: Update docs.
3974
cddc8cd5
JL
3975Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
3976
3977 * fixincludes: Avoid removing '.'.
3978 * fixinc/fixinc.svr4: Likewise.
3979 * fixinc/fixinc.winnt: Likewise.
3980 * fixinc/inclhack.tpl: Likewise.
3981 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
3982
b75b4e92
KG
39831999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3984
3985 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
3986 pattern.
3987 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
3988
3cc0b551
MK
3989Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
3990
3991 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
3992 correctly.
3993
cda19af2
JW
3994Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
3995
3996 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
3997 * configure: Regenerate.
3998
a59a536c
RE
3999Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
4000
4001 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
4002 values.
4003
192c74bc
JL
4004Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
4005
fbc35bc1
JL
4006 * fixinc/inclhack.def (avoid_bool): Also catch
4007 "typedef [unsigned] int bool".
4008 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
4009
192c74bc
JL
4010 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
4011 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
4012 * configure: Rebuilt.
4013
a0852bc0
MK
4014Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
4015
4016 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
4017 such that we can override its definitions if necessary.
4018 (CPP_SPEC): New define. Support processor specific predefines via
4019 %(cpp_cpu).
4020 (CC1_SPEC): New define. Support processor specific compiler
4021 options via %(cc1_cpu).
4022 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
4023 -static.
4024
5aa8e979
KG
40251999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4026
4027 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
4028 between sed's -e flag, and the open-quote following it.
4029 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
4030
ec99e58f 4031Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
1d0e51ba 4032 Jeffrey A Law (law@cygnus.com)
ec99e58f
RL
4033
4034 * varasm.c (assemble_start_function): Remove the function
4035 from the pending weak decls list when we define a function.
4036 (assemble_variable): Similarly for variables.
4037 (weak_finish): Ignore items on the list with a NULL name.
4038 (remove_from_ending_weak_list); New function to "remove" an item
4039 from the pending weak declarations list.
4040
b51c6cc0
JQ
4041Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4042
4043 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
4044
505e0385
DB
4045Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
4046
4047 * c-lex.c (GETC): Redefine to call getch.
4048 (UNGETC): Redefine to call put_back.
4049 (putback_buffer): New structure type.
4050 (putback): New static structure.
4051 (getch): New function.
4052 (put_back): New function.
4053 (yylex): Replace unused bytes from bad multibyte character.
4054
e7553be5
DB
4055Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
4056
4057 * cpplib.c (do_define): Cast `alloca' return value.
4058 (do_include, do_undef, do_pragma): Likewise.
4059 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
4060 values.
4061 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
4062 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
4063
6570c0bd
JJ
4064Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
4065
4066 * sparc.md (abstf2): This should be an expand.
4067 (split after abstf2_notv9): Fix mode.
4068 (abstf2_hq_v9): New pattern.
4069 (abstf2_v9): Only use when no hard quad.
4070 (absdf2_v9): Fix if target is not the same as source.
4071 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
4072 Add correct output constraints.
4073
7001ee2d
CB
4074Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
4075
4076 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
4077 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
4078
0ff83799
MM
4079Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
4080
4081 * mips.h (mips_output_conditional_branch): New function.
4082 (mips_adjust_insn_length): Likewise.
4083 (ASSEMBLER_SCRATCH_REGNUM): New macro.
4084 (ADJUST_INSN_LENGTH): Likewise.
4085 * mips.c (print_operand): Add `F' and `W' for floating-point
4086 comparison opcodes.
4087 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
4088 are now in bytes.
4089 (mips_adjust_insn_length): New function.
4090 (mips_output_conditional_branch): New function.
4091 * mips.md (length): Adjust attribute definition to handle
4092 conditional branches. Change lengths to bytes, rather than
4093 instructions throughout. Remove length attribute from
4094 instructions whose length is four bytes, and rely on the default
4095 instead.
4096 (dslot): Fix typo in comment.
4097 Reword conditional branch patterns to use
4098 mips_output_conditional_branch.
4099
5c5d086f
RO
4100Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4101
4102 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
4103 (LIB_SPEC): Likewise.
4104 Link with -lprof1_r for -g/-pg.
4105
ef1d4aec
AS
41061999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4107
4108 * loop.c (check_dbra_loop): Fix change of Jan 19.
4109
b132bf37
ME
4110Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
4111
4112 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
4113 (STARTFILE_SPEC): Define, override the svr4.h version.
4114 (ENDFILE_SPEC): Likewise.
4115
c25e0aea
JL
4116Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
4117
4118 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
4119 * fixinc/fixincl.x: Regenerated.
4120 * fixinc/inclhack.sh: Regenerated.
4121
4d070fd3
R
4122Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4123
4124 * sh.c (barrier_align): Don't return early for normal branch/barrier
4125 when optimizing for SH2.
4126
4e560f90
RL
4127Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
4128
4129 * i386/udk.h (LINK_SPEC): Correct linker search path for
4130 system libraries.
4131
eb3881bf
R
4132Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4133
4134 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
4135 (braf_label_ref_operand): Delete.
4136 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
4137 * sh.md (casesi_jump_2): Operand1 is now the inside of a
4138 label_ref, and has no predicate.
4139 The patten has a predicate to guard against invalid substitutions.
4140 (dummy_jump): Delete.
4141 (casesi): Update use of casesi_jump_2.
4142
5403593a
BK
4143Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4144
4145 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
4146 *fixinc/fixincl.x: regenerate
4147 *fixinc/inclhack.sh: regenerate
4148
8a8c3656
JM
4149Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
4150
4151 * dwarf2out.c (add_incomplete_type): New fn.
4152 (gen_struct_or_union_type_die): Call it.
4153 (retry_incomplete_types): New fn.
4154 (dwarf2out_finish): Call it.
4155
cd5828a9
JL
4156Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
4157
4158 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
4159 current block starts with a CODE_LABEL and ends with a CALL and
4160 we can not find all the argument setup instructions for the CALL.
4161
9c922ec7
MM
4162Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
4163
1d0e51ba
JM
4164 Revert this change:
4165 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
9c922ec7
MM
4166 something is a candidate for optimize_bit_field_compare.
4167
679dcddb
R
4168Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4169
4170 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
4171
c04635cc
RH
4172Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
4173
4174 * alpha.c (override_options): Thinko in last patch.
4175
4176 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
4177 (LIB_SPEC): Recognize -pthread.
4178
c237e586
NC
4179Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
4180
4181 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
4182 definition in config/arm/coff.h
4183 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
4184
c04635cc 4185Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
bb786201 4186
c04635cc 4187 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
bb786201
BK
4188 fixes that need "file=xxx\n" prepended before invocation
4189 (start_fixer - new): starting the fixer process is complex enough
4190 to warrent its own routine. It prepends the "file=xxx\n" stuff.
4191 (process): uses the new routine; omit usage of putenv()
c04635cc
RH
4192 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
4193 * fixinc/fixincl.x: regenerate
bb786201 4194
079bd08e
JL
4195Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
4196
4197 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
4198 and version #s (1.1 -> 2.96) as needed.
4199 * README.g77: Kill way out of date file in the toplevel directory.
4200
d0550c9b
DB
4201Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
4202
4203 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
4204 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
4205 * configure: Rebuilt.
4206 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
4207 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
4208 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
4209 (SWITCH_TAKES_ARG): Likewise.
4210 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
4211 * config/t-freebsd: Moved from config/i386/ so it can used for all
4212 FreeBSD targets.
4213
332f27af
PDM
4214Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
4215
4216 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
4217
fd9c643f
RL
4218Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
4219
4220 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
4221 * configure: Rebuilt.
4222
949ea356
DE
4223Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
4224
4225 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
4226 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
4227 * rs6000/rs6000.c (rs6000_file_start): Use putc.
4228 (rs6000_output_load_toc_table): Same.
4229 (output_prolog, output_mi_thunk): Same.
4230 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
4231 (ASM_GLOBALIZE_LABEL): Use putc.
4232
e221c183
RH
4233Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
4234
4235 * alpha.md (reload_*_help): New patterns and splitters.
4236 (reload_*): Use them.
4237 (mov[qh]i): Likewise.
4238
2f0a2a5b
MM
4239Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
4240
1d0e51ba
JM
4241 * cccp.c (handle_directive): Handle backslash-newlines in quoted
4242 strings correctly.
2f0a2a5b 4243
305423e8
CD
4244Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
4245
4246 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
4247
e4b8a413
JW
4248Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
4249
4250 * flow.c (mark_regs_live_at_end, insn_dead_p,
4251 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
4252 and HARD_FRAME_POINTER_REGNUM special treatment if reload
4253 hasn't run or the frame pointer is needed.
4254 * haifa-sched.c (attach_deaths): Likewise.
4255 * sched.c (attach_deaths): Likewise.
4256
3c567fae
JL
4257Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
4258
efa90f05
JL
4259 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
4260 calculate_can_reach_end returns nonzero.
4261
779243f7
JL
4262 * configure.in (native gas tests): Search for an assembler in the
4263 same manner that the installed compiler will.
4264 * configure: Rebuilt.
1d0e51ba 4265 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
779243f7 4266
3c567fae
JL
4267 * alias.c (find_base_term): Improve handling of addresses
4268 constructed from binary operations.
4269
79f565f6
JL
4270Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
4271
4272 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
4273
4274Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
4275
4276 * function.h (cleanup_label, frame_offset): Declare.
4277 (tail_recursion_label, tail_recursion_reentry): Likewise.
4278 (arg_pointer_save_area, rtl_expr_chain): Likewise.
4279 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
4280 (tail_recursion_label, tail_recursion_reentry): Likewise.
4281 (arg_pointer_save_area, rtl_expr_chain): Likewise.
4282
00275db1
PB
4283Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
4284
4285 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
4286 defined.
4287 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
4288 (MAX_OFILE_ALIGNMENT): Define.
4289
2583397b
RL
4290Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
4291
4292 * fixincl.c: Replace local include scheme with #includes of
4293 gansidecl.h and system.h.
4294 * procopen.c: Likewise.
4295 * server.c: Likewise.
4296
77b7d851
ER
4297Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
4298
4299 * i386/t-dgux (EXTRA_PARTS): Add crti.o
4300 (crti.o): Add build rule and dependencies.
1392020e 4301 * fixinc/fixinc.dgux: Use modified _int_varargs.h
77b7d851 4302
d540a32c
FS
4303Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4304
1d0e51ba
JM
4305 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
4306 (LIB_LINUX_SPEC): Likewise.
4307 (LIB_LINUX_SPEC): Add support for -pthread
4308 (CPP_OS_LINUX_SPEC): Likewise.
4309 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
4310 specified.
d540a32c 4311
aa2c2771
L
4312Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
4313
4314 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
4315 conditional move.
4316 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
4317 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
4318 for IEEE math and CC_FCOMI.
4319 (put_jump_code): No IEEE if CC_FCOMI is set.
4320
8eba681f
AS
43211999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4322
4323 * fold-const.c (fold_truthop): Make the field reference unsigned
4324 when converting a single bit compare.
4325
2485126f
R
4326Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4327
4328 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
4329
b5c15deb
JL
4330Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
4331
dd559f4e
JL
4332 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
4333 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
4334 version did.
4335
b5c15deb
JL
4336 * reload.c (push_reload): Do not call remove_address_replacements
4337 when presented with identical optional reloads.
4338
de4abb91
RH
4339Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
4340
4341 * alpha.h (MASK_FIX, TARGET_FIX): New.
4342 (MASK_*): Reorganize constants.
4343 (CPP_AM_FIX_SPEC): New.
4344 (TARGET_SWITCHES): Add FIX.
4345 (EXTRA_SPECS): Likewise.
4346 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
4347 (SECONDARY_MEMORY_NEEDED): Likewise.
4348 (REGISTER_MOVE_COST): Likewise.
4349 * alpha.c (override_options): Add FIX support. Always use
4350 ALPHA_TP_PROG for ev6.
4351 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
4352 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
4353 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
4354
b7f2c1fc
MM
4355Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
4356
1d0e51ba 4357 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
b7f2c1fc
MM
4358 something is a candidate for optimize_bit_field_compare.
4359
f20b5577
MM
4360Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
4361
4362 * gcc.texi (Passes): Document branch-shortening.
4363 * invoke.texi (Debugging Options): Document the fact that `-dp'
4364 outputs length information for instructions.
4365
bda435be
NC
4366Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
4367
4368 * flow.c: Revert previous delta.
4369
293ecd7d
NC
4370Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
4371
4372 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
4373 FRAME_POINTER_REGNUM.
4374 (mark_set_1): Ditto.
4375 (mark_used_regs): Ditto.
4376
84306176
PB
4377Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
4378
4379 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
4380 (GOT_PCREL): New macro. Define to 1 if not already defined.
4381 * arm/elf.h (GOT_PCREL): Define to 0.
4382 * arm.c (arm_finalize_pic): Take into account the setting of
4383 GOT_PCREL.
4384
3ce7c5a2
JL
4385Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
4386
98577d03
JL
4387 * output.h (STRIP_NAME_ENCODING): Provide default definition.
4388 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
4389
3ce7c5a2
JL
4390 * flow.c (mark_set_1): Do not record BLKmode stores as dead
4391 store elimination candidates.
4392
d89ccde6
GRK
4393Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
4394
4395 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
4396 TARGET_GAS.
4397
590e30e7
JW
4398Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
4399
4400 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
4401 Add use of x-aix41-gld.
4402
9fc0706f
JJ
4403Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
4404
4405 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
4406 (ASM_OUTPUT_DESTRUCTOR): Define.
4407
ae188a87
JL
4408Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
4409
4410 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
4411 last CODE_LABEL in a loop if we have previously passed a jump
4412 to the top of the loop.
4413
687f77a1
NC
4414Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
4415
4416 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
4417 applying Philip's patch.
4418
e97b5c12
MM
4419Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
4420
4421 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
4422 are not VAR_DECLs.
4423
a366a40a
JL
4424Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
4425
1d0e51ba 4426 * loop.c (strength_reduce): Grow reg_single_usage as needed.
a366a40a
JL
4427
4428Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
4429
4430 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
4431 Also remove a useless comment.
4432
4433Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4434
4435 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
4436
9d4d5d58
DE
4437Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
4438
4439 * collect2.c (main): Only generate import or export file and add
4440 to link arguments if non-empty. Use xmalloc not alloca.
4441 (write_{export,import}_file): Delete.
4442 (write_aix_file): New function.
4443 (locatelib): Use xmalloc not malloc.
4444 (GCC_OK_SYMBOL): Do not check type if aix64.
4445
4446Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
13bd191d
PB
4447
4448 Based on patch by Scott Bambrough and Pat Beirne:
4449 * config/arm/arm.c (making_const_table): New variable.
4450 * config/arm/arm.h (making_const_table): Declare.
4451 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
4452 appropriate.
4453 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
4454 Keep track of when we are building the constant table.
4455
9d4d5d58 4456Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
ed4e4c74
PB
4457
4458 * config/arm/arm.c (arm_override_options): Fix erroneous warning
4459 message.
4460
d1fbba38
NC
4461Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
4462
4463 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
4464 defined.
4465
c980b85b
NC
4466Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
4467
4468 * tm.texi (FUNCTION_ARG): Correct description of a stack element
4469 in a PARALLEL.
4470
4d49638c
MM
4471Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
4472
4473 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
4474
22b4a3b0
FS
4475Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4476
4477 * rs6000.c (output_mi_thunk): Enable full support again.
4478
ec4c28e5
R
4479Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4480
4481 * sh.h (BRANCH_COST): Define.
4482
1474e303
JL
4483Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
4484
4485 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
4486
4487Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
4488
4489 * function.c (assign_stack_local): Align stack slot propertly.
4490 (assign_outer_stack_local): Likewise.
4491
e697e20a
MM
4492Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
4493
4494 * expr.h (lang_expand_constant): Declare.
4495 * toplev.c (lang_expand_constant): Define it.
4496 * varasm.c (output_constant): Use it.
4497
f96b337a
KG
4498Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4499
4500 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
4501 Change function definitions to K&R style.
4502
bf3118d0
BK
4503Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4504
4505 * fixinc/fixincl.c: We must not ignore SIGCLD now.
4506
48ac9ce2
AO
4507Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
4508
4509 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
4510 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
4511 (several places): omit static initialization
4512 (process): use single fd, since only the read fd is used
4513 * fixinc/gnu-regex.c: define 'const' away, if not supported
4514 * fixinc/procopen.c(several places): omit static initialization
4515 * fixinc/server.c: define 'volitile' away, if not supported
4516
3d3fcaef
AS
45171999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4518
4519 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
4520 asm_fprintf and %L to generate the label name.
4521 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
4522 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
4523
b87bc8f3
JL
4524Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
4525
4526 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
4527 insn for a conditional jump can not be found.
4528
1945961b
JL
4529Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
4530
4531 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
4532 on variables in specific sections other than .sbss and .sdata.
4533
1483bddb
MM
4534Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
4535
4536 * stmt.c (expand_return): Call start_cleanup_deferral and
4537 end_cleanup_deferral around conditional code.
4538
c329beb0 4539Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
c2caf527
BK
4540
4541 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
c329beb0 4542 filename lists. Utilizes new "krstr" AutoGen function.
c2caf527
BK
4543 * fixinc/fixincl.x: Rebuilt.
4544
446ba526
JH
4545Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
4546
4547 * i386.c (output_float_compare): Avoid GNU-C extensions.
4548
965f4536 4549Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
c64f913e 4550
965f4536
JL
4551 * version.c: Bump to distinguish mainline tree from the
4552 gcc-2.95 branch.
c64f913e 4553
965f4536 4554See ChangeLog.1 for earlier changes.
52267fcb
JM
4555
4556Local Variables:
4557add-log-time-format: current-time-string
4558End:
This page took 1.07578 seconds and 5 git commands to generate.