]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
(extract_muldiv): When constructing a multiplier/divisor...
[gcc.git] / gcc / ChangeLog
1 2000-05-24 Nick Clifton <nickc@cygnus.com>
2
3 * fold-const.c (extract_muldiv): When constructing a
4 multiplier/divisor, do not expect const_binop to correctly
5 determine if overflow has occured, so check explicitly.
6
7 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
8
9 * c-decl.c (build_enumerator): Don't modify the value's type,
10 convert it.
11
12 2000-05-24 Andreas Jaeger <aj@suse.de>
13
14 * mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.
15
16 2000-05-24 Eric Christopher <echristo@cygnus.com>
17
18 * configure.in: Redefine inhibit_libc conditions.
19 * libgcc2.c: Remove inhibit_libc conditional define.
20 * configure: Regenerate.
21
22 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
23
24 * configure.in: For --enable-languages=LIST, check for empty LIST.
25 * configure: Regenerate.
26
27 2000-05-24 Lars Brinkhoff <lars@nocrew.org>
28
29 * pdp11.h (STACK_BOUNDARY): Define.
30
31 2000-05-24 Jakub Jelinek <jakub@redhat.com>
32
33 * ifcvt.c (if_convert): Update life info globally.
34
35 2000-05-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
36
37 * emit-rtl.c (unshare_all_decls): New function.
38 (unshare_all_rtl): Call it.
39
40 2000-05-23 Nick Clifton <nickc@cygnus.com>
41
42 * configure.in: Treat 'strongarm' as if it were 'arm' when
43 determining cpu type.
44
45 * configure: Regenerate.
46
47 * config/arm/arm.c: Change 'char *' to 'const char *' for cases
48 where constant strings are involved.
49
50 * config/arm/arm.h (arm_condition_codes): Change type to 'const
51 char *'.
52
53 * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
54 cases where constant strings are involved.
55
56 Tue May 23 15:08:31 2000 Clinton Popetz <cpopetz@cygnus.com>
57
58 * config/sh/sh.c (gen_far_branch, split_branches): Update
59 to reflect new prototypes for redirect_jump and invert_jump.
60 (sh_insn_length_adjustment): Get rid of const warnings.
61
62 2000-05-23 Kazu Hirata <kazu@hxi.com>
63
64 * invoke.texi (Options for Debugging Your Program or GCC): Update
65 the names of dump files.
66
67 Tue May 23 13:58:52 2000 Philippe De Muyter <phdm@macqel.be>
68
69 * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
70 * configure: Regenerated.
71
72 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
73
74 * simplify-rtx.c (SIGN_EXTEND): New macro.
75 (simplify_unary_operation, simplify_binary_operation,
76 simplify_relational_operation): Use SIGN_EXTEND. Make low
77 halves of (low, high) pairs unsigned if they weren't already.
78 (simplify_ternary_operation): Cast INTVAL to unsigned before
79 comparing to a MODE_BITSIZE.
80
81 2000-05-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
82
83 * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
84 rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
85
86 * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
87 gcc_AC_NEED_DECLARATIONS.
88
89 * dwarfout.c: Don't prototype time().
90
91 * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
92
93 * system.h: Likewise.
94
95 * toplev.c: Likewise.
96
97 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
98
99 * c-decl.c (pushdecl): Invert sense of test for non-global types.
100
101 Tue May 23 18:11:42 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
102
103 * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
104
105 2000-05-23 Jonathan Larmour <jlarmour@redhat.co.uk>
106
107 * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
108
109 Tue May 23 06:50:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
110
111 * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
112 (alpha_start_function): Never write ..ng label if VMS or NT.
113 (alpha_align_insns): Remove GP_IN_USE arg.
114 Alignment now unsigned.
115 (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
116 * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
117 and two define_insn's.
118
119 2000-05-22 Richard Henderson <rth@cygnus.com>
120
121 * combine.c (simplify_comparison): Use trunc_int_for_mode.
122
123 2000-05-22 Richard Henderson <rth@cygnus.com>
124
125 * stor-layout.c (place_field): Change rli->size to rli->offset.
126
127 2000-05-22 Richard Henderson <rth@cygnus.com>
128
129 * function.c (thread_prologue_and_epilogue_insns): Make sure
130 existing line number notes appear after the prologue.
131
132 Mon May 22 21:49:00 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
133
134 * config/alpha/alpha.c (alpha_fnname): New static variable.
135 (print_operand, case '~'): New case.
136 (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
137 (alpha_start_function): Set alpha_fnname.
138 Write "ng" label if no ldgp; don't write ldgp insn.
139 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
140 * config/alpha/alpha.md (prologue_ldgp): New define_insn.
141
142 Mon May 22 11:30:48 2000 Clinton Popetz <cpopetz@cygnus.com>
143
144 * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
145 on deleted labels.
146
147 2000-05-22 Zack Weinberg <zack@wolery.cumb.org>
148
149 * varasm.c (eh_frame_section): Revert change to argument list.
150
151 Mon May 22 13:14:03 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
152
153 * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
154 (gen_extend_insn, can_fix_p, can_float_p): Likewise.
155
156 * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
157 dangling "else" that causes "break" to be conditional.
158 Also remove unneeded code at start.
159
160 Mon May 22 17:31:35 2000 Philippe De Muyter <phdm@macqel.be>
161
162 * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
163 * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
164 * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
165
166 2000-05-22 Jakub Jelinek <jakub@redhat.com>
167
168 * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
169 just one argument.
170
171 Mon May 22 06:57:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
172
173 * alias.c (record_component_aliases): New function.
174 * tree.h: Clean up some declarations and comments.
175 (record_component_aliases): New declaration.
176 * tree.c (get_alias_set): If type and has alias set, use it.
177
178 2000-05-22 Richard Henderson <rth@cygnus.com>
179
180 * simplify-rtx.c (simplify_ternary_operation): Try to simplify
181 IF_THEN_ELSE to a setcc form.
182 * jump.c (can_reverse_comparison_p): Be prepared for insn null.
183
184 2000-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
185
186 * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
187 (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
188
189 Sun May 21 16:42:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
190
191 * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
192 not a PARALLEL.
193
194 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
195
196 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
197 * config/mn10300/mn10300.c (print_operand): Likewise.
198
199 * final.c (split_double): Right shift of negative values is not
200 portable.
201
202 * ifcvt.c (if_convert): Scan and kill dead code.
203
204 * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
205
206 2000-05-20 Zack Weinberg <zack@wolery.cumb.org>
207
208 * diagnostic.c: Eliminate implicit int.
209 * except.c, gcc.c: Add static prototypes.
210 * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
211 * gensupport.c (process_rtx): Use XVEC to initialize vector
212 slot of 'split'.
213
214 * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
215 debug_reg_names instead of static reg_names. If not, define
216 global reg_names.
217 * regclass.c: Don't define global reg_names unless
218 DEBUG_REGISTER_NAMES is defined.
219
220 * reload1.c (order_regs_for_reload): Remove unused variable.
221 * varasm.c: Include output.h after defaults.h. Define
222 eh_frame_section as function of no args, not of unspecified args.
223
224 * gcc.c: Constify argbuf; arguments to store_arg,
225 process_command, main; elements of struct command and struct
226 switchstr; local variables in execute, process_command, main.
227
228 2000-05-20 Bruce Korb <bkorb@gnu.org>
229
230 * fixinc/inclhack.def: many applications of c_fix=format + tests
231 * fixinc/check.diff: regenerated
232 * fixinc/fixincl.x: regenerated
233
234 Sat May 20 09:30:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
235
236 * alias.c: Clarify some comments.
237 (record_base_value): REGNO is unsigned.
238 * rtl.h (record_base_value): Likewise.
239
240 * alias.c (aliases_everything_p): Don't special-case QImode here.
241 * c-common.c (c_get_alias_set): Do it here.
242 Handle BIT_FIELD_REF by getting alias info for arg.
243 Use POINTER_TYPE_P.
244
245 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
246
247 * mklibgcc.in: Restore rule to create ${dir}.
248
249 Sat May 20 08:45:41 2000 H.J. Lu <hjl@gnu.org>
250
251 * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
252 GCC_FOR_TARGET used by MULTILIBS.
253 * mklibgcc.in: Make sure each .o file depends on the
254 directory it will be in.
255 Make the multilib directory depends libgcc.
256
257 Sat May 20 08:29:28 2000 H.J. Lu <hjl@gnu.org>
258
259 * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
260
261 Sat May 20 07:27:35 2000 Alexandre Oliva <aoliva@cygnus.com>
262
263 * fold-const.c (make_range): Handle degenerated intervals.
264 Fixes c-torture/execute/991221-1.c
265
266 Fri May 19 18:16:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
267
268 * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
269 * reload.c (find_equiv_reg): Likewise.
270 * alias.c (init_alias_analysis): Likewise.
271 Only call prologue_epilogue_contains on insns.
272 * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
273 * bb-reorder.c (hard-reg-set.h): Include earlier.
274 * haifa-sched.c (hard-reg-set.h): Likewise.
275 * ifcvt.c (hard-reg-set.h): Likewise.
276 * local-alloc.c (hard-reg-set.h): Likewise.
277 * loop.c (hard-reg-set.h): Likewise.
278 * predict.c (hard-reg-set.h): Likewise.
279 * regrename.c (hard-reg-set.h): Likewise.
280 * flow.c (hard-reg-set.h): Likewise.
281 (reg_set_to_hard_reg_set): New function.
282 * bitmap.c (regs.h, basic-block.h): No longer include.
283 (bitmap.h): Now include.
284 * conflict.c (hard-reg-set.h): Include.
285 * profile.c (hard-reg-set.h): Likewise.
286 * print-rtl.c (hard-reg-set.h): Likewise.
287 * sbitmap.c (hard-reg-set.h): Likewise.
288 * toplev.c (hard-reg-set.h): Likewise.
289 * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
290 * hard-reg-set.h (reg_names): Now constant.
291 * regs.h (reg_names): Likewise.
292 * regclass.c (reg_names): Likewise.
293 * loop.h (basic-block.h): No longer include.
294 (bitmap.h): Now include.
295 * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
296 * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
297 (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
298
299 2000-05-19 Jan Hubicka <jh@suse.cz>
300 Richard Henderson <rth@cygnus.com>
301
302 * basic-block.h (struct edge_def): New field "count".
303 (struct basic_block_def): Likewise.
304 * flow.c (entry_exit_blocks): Add count fileds.
305 (split_edge): Keep count information up-to-date.
306 (dump_edge_info, dump_flow_info): Dump count fields.
307
308 * final.c (count_instrumented_edges): Rename to edge from arc.
309 (end_final): Update users.
310 * profile.c: Include expr.h, basic-block.h.
311 (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
312 (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
313 (ignore_next_note, return_label_execution_count): Kill.
314 (bbg_file_name, da_file_name): Kill.
315 (edge_info, bb_info): New structures.
316 (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
317 (count_instrumented_edges, total_num_edges): Rename to edge from arc.
318 (total_num_edges_instrumented): Likewise.
319 (init_arc, expand_spanning_tree): Kill.
320 (fill_spanning_tree, tablejump_entry_p): Kill.
321 (instrument_edges): Rewrite from instrument_arcs to use
322 commit_edge_insertions infrastructure.
323 (compute_branch_probabilities): Remove arguments; rewrite for
324 CFG infrastructure; use rtl_dump_file directly.
325 (branch_prob, find_spanning_tree): Likewise.
326 (union_groups, find_group): New.
327 (init_branch_prob): Make bbg_file_name and da_file_name local.
328 (end_branch_prob): Use rtl_dump_file directly.
329 (init_edge_profiler): Rename to edge from arc.
330 (output_arc_profiler): Kill.
331 (gen_edge_profiler): New.
332 (output_func_start_profiler): Turn off profiling. Make the
333 constructor static when we can.
334 * rtl.h (branch_prob, end_branch_prob): Update prototypes.
335
336 * toplev.c (DFI_flow): Remove.
337 (DFI_cfg, DFI_life): New.
338 (dump_file): Update accordingly.
339 (compile_file): Call end_branch_prob if profile_arc_flag too.
340 (rest_of_compilation): Move flow1 cfg creation to DFI_cfg. Do edge
341 profiling after the CFG is built. Move flow1 life analysis to
342 DFI_life. Always estimate remaining probabilities.
343
344 2000-05-19 Richard Henderson <rth@cygnus.com>
345
346 * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
347
348 * flow.c (make_edges): The sibling call edge to exit is abnormal.
349
350 2000-05-19 Richard Henderson <rth@cygnus.com>
351
352 * jump.c (redirect_jump): Add delete_unused argument. Don't
353 remove labels and code following when LABEL_NUSES goes to zero.
354 (invert_jump): Likewise.
355 (jump_optimize_1): Fix redirect/invert arguments.
356 (do_cross_jump, thread_jumps): Likewise.
357 * flow.c (split_edge): Likewise.
358 * reorg.c (optimize_skip): Likewise.
359 (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
360 * profile.c (instrument_arcs): Likewise.
361 * loop.c (find_and_verify_loops): Likewise. Fix indentation.
362 * rtl.h: Update prototypes.
363
364 Fri May 19 12:05:13 2000 Clinton Popetz <cpopetz@cygnus.com>
365
366 * ssa.c (convert_from_ssa): Tell life_analysis we need death
367 notes.
368 (make_regs_equivalent_over_bad_edges): Only look at abnormal
369 critical edges.
370
371 2000-05-19 Zack Weinberg <zack@wolery.cumb.org>
372
373 * cpphash.c (funlike_macroexpand): Make sure not to walk p1
374 past l1 when deleting whitespace and markers.
375
376 * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
377 * cpplib.c (do_unassert): Put the list to compare against on
378 the stack.
379
380 2000-05-19 Bruce Korb <bkorb@gnu.org>
381
382 * fixinc/README: cleaned up old documentation
383 * fixinc/check.diff: regenerated & verified on OSR5 on ix86
384 * fixinc/check.tpl: compute the list of needed directories
385 emit "#if defined(name)" because of conflict
386 omit machine name differences from output differences
387 * fixinc/inclhack.def( m88k_multi_incl ): Use `wrap' function
388 (machine_name): change test text to use `sed' markers
389 * fixinc/fixincl.x: regen
390
391 Fri May 19 06:49:35 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
392
393 * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
394 a CONSTRUCTOR.
395
396 2000-05-18 Chris Demetriou <cgd@sibyte.com>
397
398 * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
399 it to match the current practice.
400
401 2000-05-18 Mark Mitchell <mark@codesourcery.com>
402
403 * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
404
405 2000-05-18 Richard Henderson <rth@cygnus.com>
406
407 * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
408 * rtl.h (insn_dependant_p): Declare it.
409 * loop.c (strength_reduce): Use it.
410
411 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
412
413 * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
414 16-bit and 64-bit clean-up.
415
416 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
417
418 * configure.in (*-pc-msdosdjgpp): Set float_format to none.
419 * configure: Rebuilt.
420
421 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
422
423 * genopinit.c: Use $ for escape sequences in optab patterns.
424 Remove backslashes from optab patterns. Change $A, $B, $C to
425 expand to (int) whatever instead of just whatever; remove
426 explicit (int) from all optab patterns.
427
428 * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
429 * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
430 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
431 genrecog.c: Remove private copies of xmalloc, xrealloc, and
432 xstrdup.
433
434 2000-05-18 Richard Henderson <rth@cygnus.com>
435
436 * jump.c (jump_optimize_1): Base minimum insn count during
437 find_cross_jump on BRANCH_COST.
438
439 2000-05-18 Jakub Jelinek <jakub@redhat.com>
440
441 * print-rtl.c (print_rtx): Only print note line number as string
442 if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
443 * final.c (final_scan_insn): Do nothing for note line number 0.
444
445 2000-05-18 Jakub Jelinek <jakub@redhat.com>
446
447 * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
448 from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
449 NOTE_INSN_DELETED_LABEL.
450
451 2000-05-18 Nick Clifton <nickc@cygnus.com>
452
453 * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
454 uninitialised data in .rodata not .bss, and do not interpret an
455 error in the initialisation value as meaning that the variable
456 should be placed in the .bss section.
457
458 Thu May 18 12:10:18 2000 Philippe De Muyter <phdm@macqel.be>
459
460 * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
461 not `$ac_cv_prog_cc_cc_c_o'.
462 * configure: Regenerated.
463
464 2000-05-18 Chris Demetriou <cgd@sibyte.com>
465 Richard Henderson <rth@cygnus.com>
466
467 * c-common.h (enum c_tree_index): Add g77 type entries.
468 (g77_integer_type_node, g77_uinteger_type_node): New.
469 (g77_longint_type_node, g77_ulongint_type_node): New.
470 * c-decl.c (init_decl_processing): Initialize them.
471
472 2000-05-18 Richard Henderson <rth@cygnus.com>
473
474 * config/h8300/h8300.md (subs patterns): Use %G to negate.
475
476 * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
477 (small_power_of_two): Likewise; use exact_log2.
478 (adds_subs_operand, one_insn_adds_subs_operand): Remove.
479 (output_adds_subs): Remove.
480 (two_insn_adds_subs_operand): New.
481 (split_adds_subs): New.
482 * config/h8300/h8300-protos.h: Update.
483 * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
484 (CONST_OK_FOR_L): Match strict adds operands.
485 (CONST_OK_FOR_N): Match struct subs operands.
486 * config/h8300/h8300.md (adds_subs insns): Remove.
487 (addhi patterns): Output adds/subs directly.
488 (addsi_h8300h): Likewise.
489 (addhi/addsi splitters): New. Decompose two_insn_adds_subs_operand.
490
491 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
492
493 * cppexp.c (parse_assertion): New.
494 (lex): Call it for CPP_HASH. Remove CPP_ASSERTION case.
495 (_cpp_parse_expr): Remove case '#'. Don't set
496 parsing_if_directive.
497 * cpphash.c (collect_objlike_expansion,
498 collect_funlike_expansion, collect_params,
499 _cpp_create_definition): The list no longer has a trailing
500 VSPACE token.
501 * cpphash.h (enum node_type): Add T_ASSERTION.
502 (struct hashnode): Remove aschain, add pred.
503 (struct predicate): New.
504 Update prototypes.
505
506 * cpplex.c (expand_token_space): Handle both offset and
507 nonoffset lists.
508 (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
509 (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
510 _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
511 _cpp_equiv_toklists): New.
512 (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
513 stop at any single-character token, not just newline.
514 (_cpp_lex_token): Remove special cases for #define and #if.
515 (cpp_get_token): Expect # as a separate token type. Remove
516 DIRECTIVE case.
517 (_cpp_get_directive_token): Remove DIRECTIVE case.
518 (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
519
520 * cpplib.c (_cpp_check_directive): Set dirno and
521 SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
522 (_cpp_handle_directive): Run # <number> through the same logic
523 as normal directives.
524 (do_define): Don't set parsing_define_directive. Use
525 _cpp_scan_until. The list does not have a VSPACE at the end.
526 (do_if): Save, clear, and restore only_seen_white around
527 _cpp_parse_expr.
528 (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
529 (do_assert, do_unassert): Rewrite.
530
531 * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
532 (LIST_OFFSET): New flag.
533 (struct cpp_toklist): Replace dir_handler and dir_flags with
534 dirno and flags.
535 (struct cpp_reader): Remove parsing_if_directive and
536 parsing_define_directive.
537
538 2000-05-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
539
540 * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
541 following the cabs decl which terminate on the following line.
542 Add the corresponding test_text case.
543
544 2000-05-18 Neil Booth <NeilB@earthling.net>
545
546 * cppinit.c (cpp_reader_init): Initialise col_adjust and
547 default tab stop size.
548 (no_num, OPT_ftabstop): New.
549 (handle_option): Handle "ftabstop=" command-line option.
550 (print_help): Document it.
551 * cpplex.c (COLUMN): Remove.
552 (handle_newline): Reset col_adjust.
553 (skip_whitespace): Update col_adjust as tabs encountered.
554 (_cpp_lex_line): Update to use col_adjust. Call
555 skip_whitespace for all whitespace.
556 * cpplib.h (struct cpp_options): New member tabstop.
557 (struct cpp_reader): New member col_adjust.
558 (CPP_BUF_COL): Update.
559 (CPP_BUF_COLUMN): New.
560 * cpp.texi: Document "-ftabstop=" command line option.
561
562 Wed May 17 18:19:41 2000 Philippe De Muyter <phdm@macqel.be>
563
564 * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
565 files.
566 * configure: Rebuilt.
567
568 Wed May 17 18:06:12 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
569
570 * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
571
572 * tree.c (build_common_tree_nodes): Do not build TI nodes unless
573 HOST_BITS_PER_WIDE_INT is >= 64.
574
575 2000-05-17 Richard Henderson <rth@cygnus.com>
576
577 * jump.c (jump_optimize_1): Remove inactive but real insns
578 in jump-to-next-insn optimization.
579
580 2000-05-17 Richard Henderson <rth@cygnus.com>
581
582 * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
583 unless OPTIMIZE_MODE_SWITCHING. Conditionally set no_new_pseudos.
584 Don't call recompute_reg_usage if no_new_pseudos is true.
585 * lcm.c (optimize_mode_switching): Move ifdefs outside function.
586 Return true if we did work; update global life information.
587 * basic-block.h (optimize_mode_switching): Update decl.
588
589 2000-05-17 Neil Booth <neilb@earthling.net>
590
591 * cpplex.c (expand_name_space): Don't use ptrdiff_t.
592
593 2000-05-17 Zack Weinberg <zack@wolery.cumb.org>
594
595 * cpplib.c: New feature, #pragma system_header.
596 * cpp.texi: Document special treatment of system headers, and
597 the various mechanisms to get a header that special treatment.
598
599 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
600
601 * system.h (offsetof): Define at the very end, to ensure we prefer
602 the platform's definition if available.
603
604 2000-05-16 Bruce Korb <bkorb@gnu.org>
605
606 * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
607 * fixinc/server.c: likewise
608 * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
609 + #ifdef debugging code + use #def constant for
610 sub-pattern count
611 * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
612 on C++ math namespace
613
614 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
615
616 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
617 Don't check the return value of sprintf. Use asprintf to avoid
618 buffer overflows.
619
620 Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
621
622 * flags.h (warn_unused_function, warn_unused_label,
623 warn_unused_parameter, warn_unused_variable, warn_unused_value):
624 Replace ``warn_unused''.
625 (set_Wunused): Add declaration.
626 * toplev.c (set_Wunused): New function.
627 (warn_unused_function, warn_unused_label, warn_unused_parameter,
628 warn_unused_variable, warn_unused_value): New variables.
629 (W_options): Add -Wunused-function, -Wunused-function,
630 -Wunused-label, -Wunused-parameter, -Wunused-variable and
631 -Wunused-value. Delete -Wunused. Handled in decode_W_option.
632
633 * toplev.c (decode_W_option): Update -Wunused flags by calling
634 set_Wunused.
635 * c-decl.c (c_decode_option): Ditto for -Wall.
636
637 * stmt.c (expand_expr_stmt, expand_expr_stmt,
638 warn_about_unused_variables): Replace warn_unused with more
639 explicit warn_unused_value et.al.
640 * function.c (expand_function_end): Ditto.
641 * c-typeck.c (internal_build_compound_expr,
642 internal_build_compound_expr): Ditto.
643 * c-decl.c (poplevel, pop_label_level): Ditto.
644 * toplev.c (check_global_declarations): Replace warn_unused with
645 check for either warn_unused_function or warn_unused_variable.
646
647 * gcc.1, invoke.texi (Warning Options): Document
648 -Wunused-function, -Wunused-function, -Wunused-label,
649 -Wunused-parameter, -Wunused-variable and -Wunused-value options.
650
651 Wed May 17 10:28:12 2000 Philippe De Muyter <phdm@macqel.be>
652
653 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
654 $(srcdir), not in the current directory.
655
656 2000-05-16 Richard Henderson <rth@cygnus.com>
657
658 * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
659 assembler supports it.
660 (.fini, .init): Use a gp-relative indirect call.
661 (__do_global_dtors_aux): Preserve the gp; rebundle.
662 (__do_frame_setup): Likewise.
663 * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
664 (.init): Use a gp-relative indirect call.
665 (__do_global_ctors_aux): Preserve the gp.
666
667 2000-05-16 Richard Henderson <rth@cygnus.com>
668
669 * flow.c (commit_one_edge_insertion): Be prepared for a return
670 insn to be inserted on the edge with a normal jump.
671 * jump.c (jump_optimize_1): Don't look to create return isns.
672
673 * flow.c (flow_delete_insn): Don't adjust reference count of notes.
674 * jump.c (jump_optimize_1): Likewise.
675 (returnjump_p): Verify the argument is a JUMP_INSN.
676 * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
677
678 2000-05-16 Nick Clifton <nickc@cygnus.com>
679
680 * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
681 GET_RTX_CLASS (GET_CODE ()) == 'i'.
682 (large_insn_p): Ditto.
683 (m32r_is_insn): New function: Return true if the insn contains
684 an executable instruction.
685 (m32r_adjust_insn): Use m32r_is_insn.
686 (m32r_sched_reorder): Use m32r_is_insn.
687 (m32r_sched_variable_issue): Use m32r_is_insn.
688
689 2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
690
691 * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
692 VAR_DECL.
693
694 * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
695
696 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
697 according to given options.
698
699 Tue May 16 12:17:31 2000 Jeffrey A Law (law@cygnus.com)
700
701 * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
702 if X has VOIDmode either.
703 (LIMIT_RELOAD_CLASS): Similarly.
704
705 * mn10200.md (indirect_jump, tablejump): Use "register_operand",
706 not "general_operand" to match the processor's capabilities.
707
708 2000-05-16 Bruce Korb <bkorb@gnu.org>
709
710 * fixinc/README: corrected return address
711 * fixinc/check.diff: regenerate, now that test works
712 * fixinc/fixfixes.c(format_fix,format_write): reformatted
713 (char_macro_def_fix,char_macro_use_fix): corrected and
714 rewrote to use regex to parse the text
715 * fixinc/inclhack.def: more testing
716 * fixinc/fixincl.x: regenerated
717
718 * fixinc/inclhack.def: added several "test_text" attributes
719 changed several fixes to use `c_fix = format'
720 re-alphabetized the fixes
721
722 * fixinc/check.diff: regenerate
723 * fixinc/fixincl.x: regenerate
724 * fixinc/check.tpl: added `sparc' and `netinet' to the list
725 of created dirs
726
727
728 2000-05-16 Alexandre Oliva <aoliva@cygnus.com>
729
730 * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
731
732 2000-05-15 Richard Henderson <rth@cygnus.com>
733
734 * toplev.c (rest_of_compilation): Run full jump pass before
735 find_basic_blocks of flow2.
736
737 2000-05-15 Richard Henderson <rth@cygnus.com>
738
739 * jump.c: Fix typos and clarify commentary from last change.
740 (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
741 (safe_to_remove_jump_p): Remove.
742 (condjump_label): Use pc_set.
743
744 2000-05-15 Richard Henderson <rth@cygnus.com>
745
746 * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
747 that get in the way after reload.
748 (cond_exec_process_if_block): Skip a label heading THEN block.
749
750 2000-05-15 Richard Henderson <rth@cygnus.com>
751
752 * varasm.c (output_constant_pool): Abort instead of converting
753 (improperly) deleted labels to zero.
754
755 2000-05-16 Neil Booth <NeilB@earthling.net>
756
757 * cpplex.c (parse_string2): Update comment.
758 (cpp_lex_line): No special assertion treatment for '('.
759 * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
760 * cpplib.h (SYNTAX_ASSERT): Remove.
761
762 Mon May 15 21:45:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
763
764 * jump.c (condjump_p): Mark as depreached.
765 (any_condump_p): New.
766 (any_uncondump_p): New.
767 (pc_set): New.
768 (safe_to_remove_jump_p): New.
769 * rtl.h (any_condump_p, any_uncondjump_p, pc_set
770 safe_to_remove_jump_p): Declare.
771
772 Mon May 15 21:07:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
773
774 * calls.c: Re-install both patches reverted by last patch.
775 (struct arg_data): New field tail_call_reg.
776 (initialize_argument_information): Initialize tail_call_reg
777 (load_register_parameters): New argument flags, use
778 tail_call_reg when emiting tail call sequence.
779 (expand_call): Update call of load_register_parameters;
780 copy unadjusted_args_size to adjusted_args_size.
781
782 Mon May 15 19:01:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
783
784 * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
785 and bct_p parameters to flags.
786 * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
787 * rtl.h (loop_optimize): Update prototype.
788 * toplev.c (rest_of_compilation): Update call of loop_optimize.
789
790 2000-05-15 Jakub Jelinek <jakub@redhat.com>
791
792 * calls.c (expand_call): Move expand_start_target_temps call after
793 start_sequence().
794
795 2000-05-15 Neil Booth <NeilB@earthling.net>
796
797 * cpphash.c (trad_stringify, warn_trad_stringify,
798 collect_params): Make some pointers pointers to const.
799 * cpplex.c (auto_expand_name_space) Guaranteed to always
800 expand by at least one character.
801 (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
802 (struct token_spelling): Use const U_CHAR * rather than PTR.
803 (expand_name_space): Fix up token pointers if name space
804 is moved when expanding.
805 (INIT_NAME, cpp_scan_line, parse_name, parse_number,
806 parse_string2, save_comment, spell_token, cpp_output_list):
807 Update so the routines handle tokens with a direct pointer to
808 their text, rather than an offset into the token's list's namebuf.
809 (_cpp_lex_line): Rearrange for clarity.
810
811 * cpplib.c (_cpp_check_directive): Similarly.
812 (do_define): Make SYM a pointer to const.
813 * cpplib.h (struct cpp_name): Replace offset with direct pointer.
814 (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
815 (TOK_OFFSET): Delete.
816 (TOK_NAME): Update.
817
818 2000-05-14 Geoffrey Keating <geoffk@cygnus.com>
819
820 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
821 64-bit ABI.
822
823 * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
824 into account.
825 (logical_u_operand): Delete.
826 (non_logical_cint_operand): Rewrite to take MODE into account.
827 (non_logical_u_cint_operand): Delete.
828 (boolean_operator): New function.
829 (print_operand): Add new %q operand.
830 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
831 remove logical_u_operand and non_logical_u_cint_operand,
832 update logical_operand and non_logical_cint_operand.
833 * config/rs6000/rs6000.md: Rewrite the patterns for performing
834 logical operations to use %q.
835
836 * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
837 (movdi): Make similar to movsi.
838 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
839 is no such thing as a DImode CONST_DOUBLE.
840 * config/rs6000/rs6000.c (output_toc): Likewise.
841
842 * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
843 codes when old mnemonics are in use. Print register names
844 for cc registers when requested.
845
846 * optabs.c (expand_float): Don't allow mode widening that causes
847 double rounding.
848
849 * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
850 flags to their current names -maix64 and -maix32.
851
852 2000-05-14 Bruce Korb <bkorb@gnu.org>
853
854 * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
855 and/or after current text of file
856 * fixinc/fixlib.c(must_malloc):
857 * fixinc/fixlib.h(must_malloc): + reformatting
858 * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
859 with usages of ``c_fix = wrap;''
860 Add several tests and use the ``c_fix = format'' fixer more.
861 * fixinc/fixincl.x: regen
862 * fixinc/check.diff: regen
863 * fixinc/check.tpl: emit the associated header with the missing
864 test message
865
866 Sun May 14 17:58:59 2000 Hans-Peter Nilsson <hp@axis.com>
867
868 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
869 variables $src and $dst.
870
871 2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
872
873 * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
874 (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
875 (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
876 (struct output_buffer: emitted_prefix_p, prefixing_rule): New
877 fields.
878 (set_message_prefixing_rule): Declare.
879
880 * diagnostic.c: (current_prefixing_rule): New variable.
881 (set_message_prefixing_rule): Define.
882 (output_set_prefix): Adjust buffer->emitted_prefix_p.
883 (init_output_buffer): Adjust Initialization.
884 (output_emit_prefix): Rewrite. Take prefixing rules into account.
885
886 Sat May 13 11:05:47 2000 Philippe De Muyter <phdm@macqel.be>
887
888 * ifcvt.c (if_convert): Do not free NULL.
889
890 2000-05-12 Nick Clifton <nickc@cygnus.com>
891
892 * config/fr30/fr30.c (fr30_move_double): New function: Emit code
893 to move a double word value.
894 (di_operand): New function: Return true if the operand is suitbale
895 for a double word move operation.
896 (nonimmediate_di_operand): New function: Return true if the
897 operand is a DImode register or MEM.
898
899 * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
900 nonimmediate_di_operand.
901
902 * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
903 nonimmediate_di_operand.
904
905 * config/fr30/fr30.md (movdi): New pattern. Required because
906 other patterns generate DImode results.
907 (movdi_insn): New pattern.
908
909 2000-05-12 Richard Henderson <rth@cygnus.com>
910
911 * config/alpha/alpha.c (struct shadow_summary): Define
912 bitfields as type unsigned int.
913
914 Sat May 13 00:09:59 2000 Denis Chertykov <denisc@overta.ru>
915
916 * config/avr/t-avr: Added definition of FLOAT while generates
917 fp-bit.c
918
919 * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
920 peepholes for tst+jump = sbrs/sbrc optimization.
921
922 Fry May 12 20:03:00 CEST 2000 Jan Hubicka <jh@suse.cz>
923
924 * expr.c (emit_push_insn): Do not adjust stack pointer when
925 preallocating.
926
927 Fri May 12 19:03:58 2000 Philippe De Muyter <phdm@macqel.be>
928
929 * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
930 * system.h (offsetof): ... to here.
931
932 2000-05-12 Richard Henderson <rth@cygnus.com>
933
934 * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
935 * final.c (final_end_function): Use app_disable. Rearrange note
936 handling into a switch. Emit deleted labels.
937 (output_asm_label): Generate label strings for deleted labels.
938 * flow.c (tail_recursion_label_list): New.
939 (find_basic_blocks_1): Set label_value_list directly. Collect list
940 of tail recursion labels from call_placeholders. Don't add deleted
941 labels to the label value list.
942 (cleanup_cfg): Use free_EXPR_LIST_list.
943 (flow_delete_insn_chain): Turn non-removable labels into notes.
944 (flow_delete_block): Don't disable deleting the block because of
945 a non-removable label.
946 (tail_recursion_label_p): New.
947 (merge_blocks_move_predecessor_nojumps): Don't disable the merge
948 because of a label.
949 (merge_blocks_move_successor_nojumps): Likewise. Also move a
950 jump table.
951 (merge_blocks): Disable a merge because of tail recursion labels.
952 * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
953 Use a more accurate measure of not merging the join block.
954 (find_if_block): Don't disable conversion because of a label.
955 (find_if_case_1, find_if_case_2): Likewise.
956 * jump.c (duplicate_loop_exit_test): Preserve the kind of list
957 element when copying.
958 (squeeze_notes): Also leave EH notes.
959 (mark_jump_label): Ignore deleted labels. Use an INSN_LIST for
960 REG_LABEL notes.
961 (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
962 deleting a label.
963 * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
964 NOTE_INSN_DELETED_LABEL. Print `[# deleted]' for a label_ref
965 referring to a deleted label. Convert tail handling to a switch.
966 * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
967 for NOTE_INSN_DELETED_LABEL.
968 (NOTE): Fix commentary.
969 * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
970 (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
971 (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
972 (LABEL_NUSES, LABEL_REFS): Likewise.
973 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
974
975 2000-05-12 Bruce Korb <bkorb@gnu.org>
976
977 * fixinc/fixfixes.c(format_write): buglet & relaxed rules
978 * fixinc/check.diff: updated
979 * fixinc/inclhack.def: corrected & added some test_text-s
980 * fixinc/genfixes: removed unneeded options to autogen invocation
981 * fixinc/fixincl.tpl: Specified the output file
982 * fixinc/fixfixes.c: visual appearance
983 * fixinc/fixincl.x: regenerate
984
985 2000-05-12 Zack Weinberg <zack@wolery.cumb.org>
986
987 * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
988 CTRL_defn_fix): Delete.
989 (fix_char_macro_defines, fix_char_macro_uses): Rename to
990 char_macro_def_fix and char_macro_use_fix, respectively. Put
991 them into the FIXUP_TABLE. Get the string to search for from
992 a c_fix_arg.
993
994 (format_write): New function.
995 (format_fix): Use it.
996
997 (FIX_PROC_HEAD): Constify text parameter.
998 (machine_name_fix): Constify all char *s.
999 * fixtests.c (skip_quote): Remove double static.
1000
1001 * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
1002 ctrl_use_quotes): Update for new scheme.
1003 * fixincl.x: Regenerate.
1004
1005 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
1006
1007 * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
1008 DWARF2_DEBUG.
1009 (DWARF2_ASM_LINE_DEBUG_INFO): Define.
1010 (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
1011
1012 2000-05-11 Robert Lipe <robertlipe@usa.net>
1013
1014 * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
1015 * fixincl.x: Regenerate.
1016
1017 2000-05-11 Richard Henderson <rth@cygnus.com>
1018
1019 * calls.c: Revert both 05-09 patches.
1020
1021 2000-05-11 Alexandre Oliva <aoliva@cygnus.com>
1022
1023 * config/mn10300/mn10300.c (print_operand): Print FP constants in
1024 hexadecimal.
1025 * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
1026 for FP values.
1027
1028 * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
1029 and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
1030
1031 2000-05-11 Jason Merrill <jason@casey.cygnus.com>
1032
1033 * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
1034
1035 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1036
1037 * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
1038
1039 Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
1040
1041 * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
1042 * config/avr/avr.c (jump_over_one_insn_p): New function.
1043 * config/avr/avr.md: New peepholes added. Output test and
1044 conditional jump to "sbrc" or "sbrs" command.
1045
1046 2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>
1047
1048 * cppmain.c (main): Use IS_DIR_SEPARATOR.
1049
1050 2000-05-11 Jakub Jelinek <jakub@redhat.com>
1051
1052 * except.c (find_exception_handler_labels_1): New function.
1053 (find_exception_handler_labels): Split into two functions, dive
1054 into CALL_PLACEHOLDERs when looking for exception handler labels.
1055
1056 2000-05-11 Stan Cox <scox@cygnus.com>
1057
1058 * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
1059 * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
1060 * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
1061
1062 2000-05-11 Bruce Korb <bkorb@gnu.org>
1063
1064 * fixinc/fixfixes.c (double_slash_fix): obsolete
1065 (else_endif_label_fix): obsolete
1066 (format_fix): new, unused as yet
1067 (main): obsolete
1068 * fixinc/fixlib.h: added fix description struct for use by format_fix
1069 * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
1070 * fixinc/Makefile.in: compile fixfixes.c and fixtests.c as separate
1071 modules. Removed the vestiges of the script version.
1072 Added support for "make check".
1073 * fixinc/check.diff: base diff file (needs work!!)
1074 * fixinc/check.tpl: quiet the fixup output
1075 * fixinc/fixtests.c (main): obsolete
1076 * fixinc/fixincl.sh: don't bother copying fixincl to ..
1077 * fixinc/fixincl.tpl: provide for arguments to c_fix routines
1078
1079 Thu May 11 11:57:02 MET DST 2000 Jan Hubicka <jh@suse.cz>
1080
1081 * toplev.c (rest_of_compilation): Remove dead code after
1082 combine.
1083
1084 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1085
1086 * cpphash.c (collect_funlike_expansion): Make "# is not
1087 followed by a macro argument name" a pedwarn, not an error.
1088 Preserve the # in the output. Suppress the warning if lang_asm.
1089
1090 Thu May 11 01:19:31 2000 Jeffrey A Law (law@cygnus.com)
1091
1092 * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
1093 * configure: Rebuilt.
1094
1095 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
1096
1097 * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
1098
1099 2000-05-10 Kazu Hirata <kazu@hxi.com>
1100
1101 * combine.c (try_combine): Fix a typo.
1102
1103 Wed May 10 21:31:44 2000 Jim Wilson <wilson@cygnus.com>
1104
1105 * config/ia64/ia64.md (insv): Add comment.
1106
1107 2000-05-10 Richard Henderson <rth@cygnus.com>
1108
1109 * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
1110 * mklibgcc.in: Rewrite to not use functions. Don't shortcut
1111 dependancies on FPBIT and DPBIT.
1112
1113 2000-05-10 Nick Clifton <nickc@redhat.com>
1114
1115 * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
1116 when optimising for size.
1117 (mark_used_regs:) Ditto.
1118 (try_pre_increment_1): Ditto.
1119
1120 2000-05-10 Zack Weinberg <zack@wolery.cumb.org>
1121
1122 * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
1123 Make error message friendlier.
1124
1125 * cpphash.h (struct hashnode): Use struct hack for name
1126 member.
1127 * cpphash.c (struct hashdummy): New.
1128 (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
1129 (make_HASHNODE): No need to set ->name pointer. Correct
1130 setting of p.
1131 (cpp_lookup): Make 'dummy' a struct hashdummy. Tidy up a bit.
1132
1133 2000-05-10 Richard Henderson <rth@cygnus.com>
1134
1135 * flow.c (find_basic_blocks_1): Remove any spare bb_note
1136 after completion.
1137
1138 2000-05-10 Bruce Korb <bkorb@gnu.org>
1139
1140 * fixinc/gnu-regex.c: reg_syntax_t re_syntax_options must be static
1141
1142 2000-05-10 Eric Schweitz <schweitz@nortelnetworks.com>
1143
1144 * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
1145 after we enter .debug.
1146
1147 2000-05-10 Jason Merrill <jason@casey.cygnus.com>
1148
1149 * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
1150 abstract instance of a nested inline function.
1151
1152 * stor-layout.c (finish_record_layout): finalize_type_size
1153 before laying out the pending_statics.
1154
1155 Wed 10 May 09:36:47 2000 Neil Booth <NeilB@earthling.net>
1156
1157 * cpplex.c (spell_token): New function.
1158 (spell_string, spell_comment, spell_name): fold into
1159 spell_token.
1160 (I, S): Add macros.
1161 (E, H): Remove macros.
1162 (save_comment): Save comment opening characters too.
1163 (_cpp_lex_file): Update to use spell_token. Tidy up comment
1164 handling.
1165 * cpplib.h (I, S): Add macros.
1166 (E, H): Remove macros.
1167 (TTYPE_TABLE): Update entries for new speller.
1168 (SYNTAX_ASSERT): Remove.
1169
1170 Wed 10 May 09:08:30 2000 Neil Booth <NeilB@earthling.net>
1171
1172 * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
1173 when removing escaped newlines. Reverse sense of test for
1174 escaped newline.
1175
1176 2000-05-09 Richard Henderson <rth@cygnus.com>
1177
1178 * flow.c (find_basic_blocks_1): Do not delete the first
1179 bb_note we run across.
1180 (create_basic_block): Use reorder_insns to move an existing
1181 bb_note to the correct place.
1182
1183 2000-05-09 Richard Henderson <rth@cygnus.com>
1184
1185 * calls.c (expand_call): Increment currently_expanding_call
1186 before calling optimize_tail_recursion.
1187
1188 Tue May 9 18:54:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1189
1190 * reload1.c (reload_combine): Fix errors in last change.
1191
1192 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
1193
1194 * gcc.c (used_arg): Skip over a semicolon at the end of the
1195 split-up loop; don't break out of it.
1196
1197 * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
1198 (tree.o): Depend on output.h.
1199
1200 * c-decl.c (pending_invalid_xref_file,
1201 current_function_prototype_file): Constify.
1202 (pushdecl): Constify a local char *.
1203 (define_label): Constify filename parameter.
1204 * c-lex.c (init_parse): Constify parameter and return value.
1205 * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
1206 * c-tree.h: Update prototypes.
1207 * c-parse.in: Constify filename member of %union, and if_stmt_file.
1208 * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
1209 objc/objc-parse.c: Regenerate.
1210
1211 * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
1212 * dwarfout.h: Update prototypes.
1213 * expr.c (expand_expr): Constify a local char *.
1214 * flags.h: Constify main_input_filename.
1215 * function.c (expand_function_end): Constify filename parameter.
1216 * genrecog.c (make_insn_sequence): Use a character array for
1217 c_test_pos.
1218 (main): Remove unused variables.
1219 * input.h: Constify input_filename, main_input_filename, and
1220 file_stack.name. Update prototypes.
1221 * output.h: Declare first_global_object_name and
1222 weak_global_object_name here, as const char *.
1223 * stmt.c (expand_asm_operands): Constify filename parameter.
1224 * toplev.c (compile_file, push_srcloc, debug_start_source_file):
1225 Constify filename parameter.
1226 (input_filename, main_input_filename): Constify.
1227 * toplev.h: Update prototypes.
1228 * tree.c: Include output.h. Don't declare
1229 first_global_object_name or weak_global_object_name. Clean up string
1230 bashing in get_file_function_name_long.
1231 * tree.h (struct tree_decl): Constify filename member.
1232 (input_filename): Constify.
1233 Update prototypes.
1234 * varasm.c (first_global_object_name, weak_global_object_name):
1235 Constify.
1236 (assemble_start_function, assemble_variable): Clean up string bashing.
1237
1238 * gcc.c: Constify all spec-related strings initialized,
1239 transitively, from string constants. Constify all strings
1240 and string variables related to multilibs.
1241 (set_spec, read_specs): Cast argument to free to PTR.
1242 (used_arg): Do not modify multilib_matches. Use strncmp plus
1243 length comparison to compare multilib switches.
1244 * genmultilib: Constify everything declared in multilib.h.
1245
1246 Tue May 9 22:28:03 2000 Denis Chertykov <denisc@overta.ru>
1247
1248 * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
1249 as deleted.
1250
1251 Tue May 9 20:52:43 2000 Denis Chertykov <denisc@overta.ru>
1252
1253 * config/avr/avr-protos.h (extra_constraint): change a type of
1254 second argument from char to int to avoid warnings.
1255 (asm_output_byte): Likewise.
1256
1257 * config/avr/avr.c (MAX_LD_OFFSET) New macro.
1258 (initial_elimination_offset): Handle elimination from
1259 FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
1260 (legitimate_address_p): Use MAX_LD_OFFSET.
1261 (legitimize_address): Likewise.
1262 (out_movqi_r_mr): Likewise.
1263 (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
1264 (out_movsi_r_mr): Use MAX_LD_OFFSET.
1265 (out_movsi_mr_r): Likewise.
1266 (out_movqi_mr_r): Likewise.
1267 (out_movhi_mr_r): Likewise.
1268 (notice_update_cc): Correct CC for the ashrqi3 with the shift
1269 count as CONST_INT != 6.
1270 (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
1271 shift count is a CONSTANT_P, but not a CONST_INT.
1272 (ashlhi3_out): Coding style modifications.
1273 (ashlsi3_out): Likewise.
1274 (ashrhi3_out): Likewise.
1275 (ashrsi3_out): Likewise.
1276 (lshrhi3_out): Likewise.
1277 (lshrsi3_out): Likewise.
1278 (ashrqi3_out): Generate shift for any known constant count without
1279 scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
1280 but not a CONST_INT.
1281 (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
1282 shift count is a CONSTANT_P, but not a CONST_INT.
1283 (extra_constraint): change a type of
1284 second argument from char to int to avoid warnings.
1285 (asm_output_byte): Likewise.
1286 (asm_file_end): Output size generated commands count as a hex
1287 number too.
1288
1289 * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
1290
1291 * config/avr/avr.md (addhi3): Fragment commented by &&0 is
1292 removed.
1293 (ashlqi3): Values of "length" attribute changed. Shift count
1294 uses constraints 'n' instead of 'i'.
1295 (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
1296 shifts without clobber register.
1297 (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
1298 (call_insn): Correct test for which_alternative == 1 (was 0).
1299 (call_value_insn): Likewise.
1300
1301 * config/avr/t-avr: Remove definition of FLOAT while generates
1302 fp-bit.c
1303
1304 2000-05-09 Bruce Korb <bkorb@gnu.org>
1305
1306 * fixinc/check.tpl: Template for checking fixes
1307 * fixinc/inclhack.def: Added 'test_text' for many fixes
1308 disable hpux8_bogus_inlines on SCO
1309 * fixinc/fixinc.sco: Oh, yes, we don't need this any more.
1310
1311 Tue May 9 16:30:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
1312
1313 * calls.c (expand_call): Reorganize somewhat in order
1314 to avoid unnecesary recalculation inside loop and make
1315 tail call failure code cleaner.
1316
1317 Tue May 9 06:30:20 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1318
1319 * alias.c (nonlocal_reference_p): Minor reformatting.
1320 * reload.c (find_equiv_reg): Simplify logic for
1321 CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
1322 some some reformatting.
1323 * reload1.c (reload_combine): Don't assume everything in
1324 CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
1325
1326 2000-05-08 Richard Henderson <rth@cygnus.com>
1327
1328 * final.c (current_insn_predicate): New.
1329 (final_scan_insn): Set it.
1330 * output.h (current_insn_predicate): Declare.
1331
1332 * ifcvt.c (cond_exec_process_insns): New argument prob_val.
1333 Attach it to call insns.
1334 (cond_exec_process_if_block): Track probability for true and
1335 false branches.
1336 (dead_or_predicable): Likewise.
1337
1338 * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
1339 (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
1340 (PROB_VERY_LIKELY, PROB_ALWAYS): New.
1341 (estimate_probability, expected_value_to_br_prob): Use them.
1342
1343 * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
1344 * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
1345 (ia64_expand_prediction): New.
1346 (emit_insn_group_barriers): Don't look at notes. Emit barriers
1347 as needed after calls.
1348 (ia64_epilogue_uses): Mark b0 used.
1349 * config/ia64/ia64.md (beq_true, beq_false): Remove.
1350 (bne_true, bne_false): Remove.
1351 (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
1352 (br_true, br_false): New. Use predicate_operator and
1353 ia64_expand_prediction.
1354 (return_true, return_false): Likewise.
1355 (call_internal): Use ia64_expand_prediction. Don't emit stop bit.
1356 (call_internal1, call_value_internal): Likewise.
1357 (call_value_internal1, call_multiple_values_internal1): Likewise.
1358
1359 * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
1360
1361 * config/ia64/ia64.md (extendsfdf2): Split only after reload.
1362
1363 2000-05-08 Richard Henderson <rth@cygnus.com>
1364
1365 * rtlanal.c (may_trap_p): Consider old-style and volatile
1366 asms to trap.
1367
1368 Mon May 8 17:16:48 2000 Jim Wilson <wilson@cygnus.com>
1369
1370 * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
1371
1372 2000-05-08 Richard Henderson <rth@cygnus.com>
1373
1374 * config/ia64/ia64.h (predicate_operator): Declare.
1375
1376 * config/ia64/ia64.md (extendsfdf2): Split the nop case out
1377 of existance.
1378
1379 * gensupport.c (process_rtx): Copy and post-process each member
1380 of the define_insn rtvec individually.
1381
1382 Mon 8 May 22:17:35 2000 Neil Booth <NeilB@earthling.net>
1383
1384 * cpplex.c (spell_token): New function.
1385 (TOKEN_LEN): Add 1 for whitespace.
1386 (_cpp_lex_file): Update to use spell_token.
1387 * cpplib.h (E): Remove.
1388 (TTYPE_TABLE): Update CPP_VSPACE entry.
1389
1390 2000-05-08 Richard Henderson <rth@cygnus.com>
1391
1392 * flow.c (init_propagate_block_info): Watch out for conditional
1393 branch to next instruction, and thus one outgoing edge.
1394
1395 * config/ia64/ia64.c (ia64_encode_section_info): Exit early
1396 for global register variables; don't special case __[CD]TOR_LIST__;
1397 mind ggc_p for string allocation.
1398
1399 2000-05-08 Nick Clifton <nickc@cygnus.com>
1400
1401 * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
1402
1403 2000-05-08 Bruce Korb <bkorb@gnu.org>
1404
1405 * fixinc/mkfixinc.sh: fixinc.sco is no longer used
1406 i?86-*-msdosdjgpp* no longer uses fixincludes
1407 * fixinc/genfixes: inclhack.sh and fixincl.sh are no longer generated
1408 * fixinc/inclhack.sh: deleted
1409 * fixinc/hackshell.tpl: deleted
1410 * fixinc/inclhack.tpl: deleted
1411 * fixinc/Makefile.in: Remove dependencies on above
1412 * fixinc/fixincl.sh: "DO NOT EDIT" text modified
1413
1414 2000-05-08 Andreas Jaeger <aj@suse.de>
1415
1416 * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
1417 support.
1418
1419 2000-05-07 Zack Weinberg <zack@wolery.cumb.org>
1420
1421 * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
1422 substitutions.
1423
1424 Sun 7 May 08:43:53 2000 Neil Booth <NeilB@earthling.net>
1425
1426 * cpplex.c: Move new lexer definitions and prototypes
1427 to top. Conditional include these and the code if
1428 NEW_LEXER is defined. Rename functions whose names
1429 clash if this code included.
1430
1431 Sun May 7 00:54:57 EDT 2000 John Wehle (john@feith.com)
1432
1433 * rtl.def (COND_EXEC): Clarify.
1434
1435 * i386.md (extendsidi2): Clobber (reg:CC 17) in the
1436 same fashion as zero_extendsidi2.
1437
1438 2000-05-06 Richard Henderson <rth@cygnus.com>
1439
1440 * config/ia64/ia64.c (predicate_operator): New.
1441 (ia64_print_operand): Handle 'J'.
1442 (rtx_needs_barrier): Handle COND_EXEC.
1443 * config/ia64/ia64.h (BRANCH_COST): Define.
1444 (PREDICATE_CODES): Update.
1445 * config/ia64/ia64.md: Docuement used unspec values.
1446 (attr predicable): New.
1447 (movxf, movxf_internal): New.
1448 (extendsfdf2): Don't comment out nop.
1449 (floatdidf2): Remove.
1450 (truncxfsf2, truncxfdf2, floatdixf2): New.
1451 (abssi2, absdi2): Put the neg in the "true" slot.
1452 (conditional branch instructions): Mark not predicable.
1453 (cmov*_internal): Use predicate_operator. Split to cond_exec.
1454 (abs*_internal): Likewise.
1455 (alloc, set_bsp): Mark not predicable.
1456 (barrier, insn_group_barrier, flush_cache): Likewise.
1457 (define_cond_exec): New.
1458
1459 2000-05-06 Richard Henderson <rth@cygnus.com>
1460
1461 * c-decl.c: Include "tm_p.h".
1462
1463 * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
1464 (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
1465 (ia64_expand_op_and_fetch): Declare.
1466 * config/ia64/ia64.c: Include "toplev.h". Kill trailing whitespace.
1467 (setjmp_operand): Constify variables for XSTR.
1468 (ia64_encode_section_info): Likewise.
1469 (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
1470 values to int.
1471 (ia64_asm_output_external): Constify name.
1472 (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
1473 (process_for_unwind_directive): Provide switch default.
1474 (ia64_expand_compare_and_swap): Remove unused variables.
1475 (ia64_expand_builtin): Likewise.
1476 * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
1477 for printing.
1478
1479 * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
1480 (symbolic_operand, function_operand, setjmp_operand): Likewise.
1481 (shift_count_operand, shift_32bit_count_operand): Likewise.
1482 (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
1483 (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
1484 (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
1485 (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
1486 (ia64_expand_builtin): Likewise.
1487 (call_multiple_values_operation): Make dest_regno unsigned.
1488
1489 2000-05-06 Richard Henderson <rth@cygnus.com>
1490
1491 * rtl.def (DEFINE_COND_EXEC): New.
1492 * md.texi: Document it.
1493
1494 * gensupport.c (input_file): Remove.
1495 (struct queue_elem): Add lineno.
1496 (rtx_ready_queue): Remove.
1497 (errors): New.
1498 (predicable_default): New.
1499 (predicable_true, predicable_false): New.
1500 (define_attr_queue, define_attr_tail): New.
1501 (define_insn_queue, define_insn_tail): New.
1502 (define_cond_exec_queue, define_cond_exec_tail): New.
1503 (other_queue, other_tail): New.
1504 (queue_pattern): New.
1505 (process_rtx): Add patterns to the appropriate queues.
1506 (is_predicable, identify_predicable_attribute): New.
1507 (n_alternatives, collect_insn_data): New.
1508 (alter_predicate_for_insn, alter_test_for_insn): New.
1509 (shift_output_template, alter_output_for_insn): New.
1510 (process_one_cond_exec, process_define_cond_exec): New.
1511 (init_md_reader): Read the entire file. Process define_cond_exec.
1512 (read_md_rtx): Return elements from the queues.
1513
1514 2000-05-06 Richard Henderson <rth@cygnus.com>
1515
1516 * flow.c (mark_set_1): Don't update conditional life info
1517 if the register is not_dead.
1518
1519 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
1520
1521 * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
1522 (mostlyclean): Also delete fixincl, fixinc.sh, and
1523 specs.ready, and make clean in the fixinc subdir.
1524
1525 2000-05-06 Richard Henderson <rth@cygnus.com>
1526
1527 * Makefile.in (gensupport.o): Compile for the host.
1528 (host-prefix gensuuprt.o): Remove.
1529 (genflags.o): Depend on gensupport.h and OBSTACK_H.
1530 (genattrtab.o): Likewise.
1531 (gencodes.o): Depend on gensupport.h.
1532 (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
1533 (genpeep.o, genattr.o, genoutput.o): Likewise.
1534
1535 * gensupport.c (obstack, rtl_obstack): New.
1536 (init_md_reader): Initialize rtl_obstack.
1537 * gensupport.h (rtl_obstack): Declare.
1538 (message_with_line): Declare.
1539
1540 * genattr.c: Remove all traces of obstack manipulation.
1541 * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
1542 * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
1543
1544 * genattrtab.c (obstack, rtl_obstack): Remove.
1545 (main): Don't init rtl_obstack.
1546 * genflags.c: Likewise.
1547
1548 * genrecog.c (message_with_line): Move ...
1549 * gensupport.c: ... here.
1550
1551 2000-05-06 Richard Henderson <rth@cygnus.com>
1552
1553 * c-typeck.c (build_c_cast): Remove dead code.
1554
1555 2000-05-06 Richard Henderson <rth@cygnus.com>
1556
1557 * flow.c (split_edge): Don't allocate global_live_at_start for
1558 the new block unless the old blocks had them as well.
1559
1560 * flow.c (mark_set_1): Respect not_dead when updating reg_live.
1561
1562 * ifcvt.c (noce_process_if_block): Don't use an insn_b from
1563 test_bb if a or b uses x.
1564
1565 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
1566
1567 * cpphash.h: Remove conditional #define of __extension__.
1568 * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
1569 RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
1570 (ENABLE_RTL_CHECKING only).
1571 * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
1572 CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
1573 (ENABLE_TREE_CHECKING only).
1574 * varray.h: Add __extension__ to VARRAY_CHECK macro
1575 (ENABLE_CHECKING only).
1576
1577 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
1578
1579 Use new tail-calling mechanism on ARM.
1580 * arm.md (sibcall, sibcall_value): New expands.
1581 (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
1582 (tailcalling peepholes): Delete.
1583 (push_multi): Simplify.
1584 * arm.c (lr_save_eliminated): Delete definition.
1585 (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
1586 (output_return_instruction): Remove checks on lr_save_eliminated.
1587 (output_arm_prologue): Remove old tail-calling code.
1588 (arm_output_epilogue): New parameter, really_return. All callers
1589 changed. Handle tail-calling epilogues.
1590 * arm.h (lr_save_eliminated): Delete declaration.
1591 (frame_pointer_needed): Delete declaration.
1592 * arm-protos.h (arm_output_epilogue): Adjust prototype.
1593
1594 * arm.md (is_thumb): Examine symbol thumb_code, not expression
1595 TARGET_ARM.
1596 * arm.c (thumb_code): Define it.
1597 (arm_override_options): Set it.
1598 * arm.h (thumb_code): Declare it.
1599
1600 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
1601
1602 * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
1603
1604 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
1605
1606 * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
1607 bogus clobber to insns.
1608 (load_multiple_operation, store_mulitple_operation): Don't check
1609 for it.
1610 * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
1611
1612 * arm.md (and_scc, ior_scc): Add missing mode.
1613
1614 * arm.md (call_value_symbol): Remove predicate from op2.
1615
1616 * arm.h (SPECIAL_MODE_PREDICATES): Define.
1617
1618 Sat May 6 06:25:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1619
1620 * expr.c (get_subtarget): New function.
1621 (force_operand, expand_expr, do_store_flag): Use it.
1622
1623 * toplev.c (compile_file): Don't take strlen of NAME if null.
1624
1625 2000-05-06 David Edelsohn <edelsohn@gnu.org>
1626
1627 * xcoffout.c (xcoff_current_include_file,
1628 xcoff_current_function_file, xcoff_lastfile): Constify char *.
1629 (xcoffout_source_file, xcoffout_source_line): Make filename 'const
1630 char *'.
1631 (xcoffout_declare_function): Make name 'const char *'.
1632 (xcoffout_end_epilogue): Make fname 'const char *'
1633 * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
1634 xcoffout_declare_function, xcoffout_source_line): Match above.
1635
1636 * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
1637 -maix64 is error.
1638 * rs6000.c (print_operand): Fix lossage typo.
1639 (output_cbranch): Remove "cr" decoration for now.
1640 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
1641
1642 Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru>
1643
1644 * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
1645 constant count.
1646
1647 2000-05-05 Bruce Korb <bkorb@gnu.org>
1648
1649 * fixinc/genfixes: Improve the matching for make target names
1650
1651 2000-05-05 Catherine Moore <clm@cygnus.com>
1652
1653 * c-common.c (decl_attributes): For TYPE_DECLs attach the
1654 attribute to the decl.
1655 * c-decl.c (pushdecl): Propagate the USED attribute to the
1656 type copy.
1657
1658 2000-05-05 Richard Henderson <rth@cygnus.com>
1659
1660 * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
1661 same way emit_group_load does.
1662
1663 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
1664
1665 * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
1666
1667 * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
1668 (main): Likewise.
1669
1670 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
1671
1672 * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
1673
1674 Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
1675
1676 * config/openbsd.h (LINK_SPEC): pass correct flags to ld
1677 to support -shared, on platforms with dynamic libraries.
1678
1679 Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
1680
1681 * system.h (S_ISBLK): Provide fallback definition.
1682
1683 2000-05-05 Geoff Berry <geoffb@bops.com>
1684
1685 * extend.texi (Extended Asm): Document inability to give asm
1686 statements access to condition codes.
1687
1688 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl>
1689
1690 * varasm.c (asm_emit_uninitialised): Use 0, not NULL
1691 as arg 2 of UNIQUE_SECTION.
1692
1693 Fri May 5 10:11:41 2000 Jeffrey A Law (law@cygnus.com)
1694
1695 * predict.c: Remove May 4 change.
1696 * bb-reorder.c (make_reorder_chain): Do not perform block movement
1697 if we have predicted the branch at 50-50 probability.
1698
1699 2000-05-05 Richard Henderson <rth@cygnus.com>
1700
1701 * flow.c (init_propagate_block_info): Fix merge error
1702 in HAVE_conditional_execution code.
1703
1704 Fri May 5 07:43:50 2000 Denis Chertykov <denisc@overta.ru>
1705
1706 * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
1707 shift cycle for unknown shift count. Also generates dec + brpl.
1708 (ashlqi3_out): Don't generate dec + brpl which now generates by
1709 `out_shift_with_cnt'.
1710 (ashlhi3_out): Likewise.
1711 (ashlsi3_out): Likewise.
1712 (ashrqi3_out): Likewise.
1713 (ashrhi3_out): Likewise.
1714 (ashrsi3_out): Likewise.
1715 (lshrqi3_out): Likewise.
1716 (lshrhi3_out): Likewise.
1717 (lshrsi3_out): Likewise.
1718
1719 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
1720
1721 * gcc.c (free_split_directories): Correct typo in explanation
1722 of make_relative_prefix.
1723
1724 2000-05-04 Geoff Keating <geoffk@cygnus.com>
1725
1726 * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
1727 comparison codes to branch_comparison_operator.
1728
1729 2000-05-04 Richard Henderson <rth@cygnus.com>
1730
1731 * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
1732
1733 2000-05-04 Richard Henderson <rth@cygnus.com>
1734
1735 * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
1736 (DPBIT_FUNCS): Remove _sf_to_usi.
1737 (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
1738
1739 * ifcvt.c (noce_process_if_block): Fail if A or B modified
1740 between condition and jump.
1741
1742 * libgcc2.c (near eh_context_specific): Comment #endif string.
1743 * longlong.h: Don't use strings with embedded newlines.
1744
1745 2000-05-04 Geoff Keating <geoffk@cygnus.com>
1746
1747 * config/rs6000/rs6000-protos.h: Add output_cbranch.
1748 * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
1749 (print_operand): Delete %t and %T codes.
1750 (output_cbranch): New function. Support branch prediction.
1751 * config/rs6000/rs6000.md: Use output_cbranch for
1752 conditional branches and returns.
1753
1754 2000-05-04 Jason Merrill <jason@casey.cygnus.com>
1755
1756 * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
1757 * stor-layout.c (place_field): Likewise.
1758 * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
1759 * expr.c (store_expr): Make align unsigned.
1760 * explow.c (plus_constant_wide): Make low words unsigned.
1761 * expmed.c (choose_multiplier): Likewise.
1762 * fold-const.c (fold): Likewise.
1763 * tree.h (build_int_2): Likewise.
1764 * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
1765 * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
1766 (init_emit): Change cast to unsigned char*.
1767 * varasm.c (compare_constant_1): Add cast to char*.
1768 * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
1769 * reload1.c (reload): Likewise.
1770
1771 * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
1772
1773 Thu May 4 14:37:23 2000 Jeffrey A Law (law@cygnus.com)
1774
1775 * predict.c (estimate_probability): If no prediction was found, then
1776 predict the successor that is the next physical block (if such a
1777 successor exists).
1778
1779 2000-05-04 Richard Henderson <rth@cygnus.com>
1780
1781 * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
1782
1783 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1784
1785 * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
1786
1787 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
1788
1789 * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
1790 attribute macros from here ...
1791 (CPP_SPEC): to here.
1792 * i386/mingw32.h (CPP_PREDEFINES): Likewise.
1793 (CPP_SPEC): Likewise.
1794 * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
1795
1796 * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
1797 (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
1798
1799 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1800
1801 * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
1802
1803 * diagnostic (vbuild_message_string, build_message_string,
1804 build_location_prefix, output_get_prefix, init_output_buffer,
1805 output_notice, vline_wrapper_message_with_location,
1806 v_message_with_decl, default_print_error_function): De-constify.
1807 (set_real_maximum_length): Prototype.
1808
1809 * diagnostic.h (struct output_buffer, init_output_buffer,
1810 output_get_prefix, output_set_prefix): De-constify.
1811
1812 * function.c (init_function_start): Constify.
1813
1814 * gensupport.c (remove_constraints, process_rtx): Prototype.
1815
1816 * gthr-posix.h: Indent uses of #pragma.
1817
1818 * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
1819 Prototype.
1820
1821 * predict.c (find_expected_value): Delete prototype.
1822 (expected_value_to_br_prob): Initialize variable `ev_reg'.
1823
1824 * sbitmap.h (debug_sbitmap): Prototype.
1825
1826 * ssa.c (compute_coalesced_reg_partition): Prototype.
1827
1828 * stor-layout.c (debug_rli): Prototype.
1829
1830 * tree.h (round_down): Prototype.
1831 (init_function_start): Constify.
1832
1833 2000-05-04 Zack Weinberg <zack@wolery.cumb.org>
1834
1835 * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
1836 (overly conservative). Change extern inline wrappers to
1837 static inline, define them always, use PARAMS properly.
1838 * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
1839 whitespace warnings for \f and \v at the beginning of a line.
1840
1841 Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com)
1842
1843 * haifa-sched.c (schedule_insns): Free the flow edge list when it
1844 is no longer needed
1845
1846 2000-05-04 Bruce Korb <bkorb@gnu.org>
1847
1848 * fixincl/inclhack.def: added broken_cabs -
1849 Remove `extern double cabs' declarations from math.h
1850 * fixincl/inclhack.sh: regen
1851 * fixincl/fixincl.x: regen
1852 * fixincl/fixincl.c: Remove BOGOSITY code
1853 * fixincl/mkfixinc.sh: Remove code for installing "shell" version
1854
1855 Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1856
1857 * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
1858 MEM_ALIAS_SET.
1859 * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
1860 when calling MEM_COPY_ATTRIBUTES.
1861 * emit-rtl.c (operand_subword, change_address): Likewise.
1862 * explow.c (stabilize): Likewise.
1863 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
1864 * integrate.c (copy_rtx_and_substitute): Likewise.
1865 * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
1866 when calling MEM_COPY_ATTRIBUTES.
1867 (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
1868 Likewise.
1869 * cse.c (gen_lowpart_if_possible): Likewise.
1870 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
1871 * optabs.c (gen_move_insn): Likewise.
1872 * recog.c (validate_replace_rtx_1): Likewise.
1873 * simplify-rtx.c (add_mem_for_addr): Likewise.
1874 * stmt.c (expand_anon_union_decl): Likewise.
1875 * config/arm/arm.md: Likewise.
1876 * config/h8300/h7300.c (fix_bit_operand): Likewise.
1877 * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
1878 (block_move_no_loop, block_move_sequence): Likewise.
1879 * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
1880 * config/alpha/alpha.c (get_aligned_mem): Likewise.
1881 Clear MEM_ALIAS_SET.
1882 * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
1883 MEM_COPY_ATTRIBUTES.
1884
1885 2000-05-03 Robert Lipe <robertlipe@usa.net>
1886
1887 * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
1888 to suppress libgcc1.
1889 (i[34567]86-*-sco3.2v5*) Likewise.
1890 (i[34567]86-*-sco3.2v4*) Likewise.
1891 (i[34567]86-*-sco) Likewise.
1892 (i[34567]86-*-solaris2) Likewise.
1893 (i[34567]86-*-sysv5*) Likewise.
1894 (i[34567]86-*-sysv4*) Likewise.
1895 (i[34567]86-*-udk*) Likewise.
1896 (i[34567]86-*-sysv*) Likewise.
1897
1898 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
1899
1900 * cpphash.h (U): New define, to correct type of string constants.
1901 (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
1902 routines, to do casts when passing unsigned strings to libc.
1903 * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
1904
1905 * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
1906 * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
1907 * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
1908 * cpplex.c (parse_ifdef, parse_include, validate_else): Make
1909 second argument an U_CHAR *.
1910
1911 * cppinit.c (builtin_array): Make name and value U_CHAR *, add
1912 length field, clean up initializer.
1913 (ISTABLE): Add __extension__ to designated-
1914 initializers version.
1915 * cpplex.c (CHARTAB): Likewise.
1916
1917 * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
1918 case so the file won't be empty.
1919
1920 Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
1921
1922 * bb-reorder.c (struct reorder_block_def): Member succ removed.
1923 (REORDER_BLOCK_SUCC): Removed.
1924 (enum reorder_skip_type): Removed.
1925 (skip_insns_between_block): Renamed to skip_insns_after_block.
1926 Removed second argument. Removed dead code and cleaned up.
1927 (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1928 (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1929 second parameter to skip_insns_after_block.
1930
1931 Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1932
1933 * tree.c (staticp, case LABEL_DECL): New case.
1934
1935 2000-05-03 Richard Henderson <rth@cygnus.com>
1936
1937 * Makefile.in (start.encap): Do not depend on LIBGCC1.
1938
1939 * mklibgcc1.in: Fix typo last change.
1940
1941 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
1942
1943 * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1944 (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1945 (GCC_CFLAGS): Use it.
1946 (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1947 * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1948 objc/Make-lang.in: Use it.
1949
1950 2000-05-03 Jason R Thorpe <thorpej@zembu.com>
1951
1952 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1953
1954 2000-05-03 Richard Henderson <rth@cygnus.com>
1955
1956 * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
1957 LIBGCC1 empty with libgcc1.null.
1958
1959 Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com>
1960
1961 * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1962 change.
1963
1964 2000-05-03 Greg McGary <gkm@gnu.org>
1965
1966 * tree.h (tree_common): Add bounded_flag member. Remove
1967 inaccurate comment about number of remaining bits.
1968 (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1969 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1970 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1971 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1972 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1973 (TYPE_QUAL_BOUNDED): New constant.
1974 (TYPE_QUALS): Handle bounded qualifier.
1975 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1976 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1977 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1978 TYPE_AMBIENT_BOUNDEDNESS): New macros.
1979 (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1980 (tree_type): Add pointer_depth member. Remove
1981 inaccurate comment about number of remaining bits.
1982 (DECL_POINTER_DEPTH): Add macro.
1983 (tree_decl): Add pointer_depth member.
1984
1985 Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru>
1986
1987 * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1988 * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1989 (lshrhi3_out): Likewise.
1990 (ashrsi3_out): bugfix in shift by 8.
1991 (test_hard_reg_class): New function.
1992 * config/avr/avr.md: Bugfix inside conditions in peepholes.
1993 (ashlhi3): removed define_expand of this pattern.
1994 (*ashlhi3_insn): renamed to ashlhi3.
1995 (ashlsi3): removed define_expand of this pattern.
1996 (*ashlsi3_insn): renamed to ashlsi3.
1997 (ashrqi3): removed define_expand of this pattern.
1998 (*ashrqi3_insn): renamed to ashrqi3.
1999 (ashrhi3): removed define_expand of this pattern.
2000 (*ashrhi3_insn): renamed to ashrhi3.
2001 (ashrsi3): removed define_expand of this pattern.
2002 (*ashrsi3_insn): renamed to ashrsi3.
2003 (lshrhi3): removed define_expand of this pattern.
2004 (*lshrhi3_insn): renamed to lshrhi3.
2005 (lshrsi3): removed define_expand of this pattern.
2006 (*lshrsi3_insn): renamed to lshrsi3.
2007
2008 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
2009
2010 * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
2011 inclusion of "system.h".
2012
2013 Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com>
2014
2015 * config/ia64/ia64.c (ia64_encode_section_info): Add check for
2016 TREE_ASM_WRITTEN.
2017
2018 2000-05-03 David Mosberger <davidm@hpl.hp.com>
2019
2020 * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
2021 if -mauto-pic is on.
2022 (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
2023 -mconstant-gp is in effect and function-descriptors are being used
2024 to make indirect calls.
2025 * config/ia64/ia64.h (MASK_CONST_GP): New macro.
2026 (MASK_AUTO_PIC): Ditto.
2027 (TARGET_CONST_GP): Ditto.
2028 (TARGET_AUTO_PIC): Ditto.
2029 (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
2030 (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
2031 -mno-pic is in effect.
2032 (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
2033 * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
2034 -mauto-pic is in effect.
2035 (gprel64_offset): New pattern.
2036 (load_gprel64): Ditto.
2037 (call): Handle -mauto-pic like -mno-pic (don't use fptr). If
2038 -mconstant-gp is in effect, no need to preserve gp around direct
2039 calls.
2040 (call_value): Ditto.
2041 * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
2042 (FUNCTION_PROFILER): Define.
2043 * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
2044 @fptr() directive when -mno-pic or -mauto-pic is in effect.
2045 (ASM_OUTPUT_DESTRUCTOR): Ditto.
2046
2047 2000-05-03 Richard Henderson <rth@cygnus.com>
2048
2049 * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
2050 (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
2051 (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
2052 (mklibgcc, libgcc.mk): New targets.
2053 (libgcc.a): Use libgcc.mk.
2054 (stmp-multilib): Likewise.
2055 (stmp-multilib-sub): Remove.
2056 (mostlyclean): Don't delete libgcc2 temp files.
2057 * configure.in (AC_PROG_CC_C_O): Add.
2058 (NO_MINUS_C_MINUS_O): Substitute it.
2059 (all_outputs): Add mklibgcc.
2060 * mklibgcc.in: New file.
2061
2062 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
2063
2064 * cppexp.c (op_t): Make an int.
2065
2066 * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
2067
2068 * varasm.c (initializer_constant_valid_p): Fix parenthesis.
2069
2070 * gensupport.c (process_rtx): Fix macros used.
2071
2072 2000-05-03 Richard Henderson <rth@cygnus.com>
2073
2074 * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
2075 call-clobbered registers of a call.
2076
2077 Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com>
2078
2079 * gensupport.c: New file.
2080 * gensupport.h: New file.
2081 * Makefile.in (HOST_RTL): Depend on gensupport.
2082 (gensupport.o) New rule.
2083 * genattr.c: Use gensupport for reading .md files.
2084 * genattrtab.c: Ditto.
2085 * gencodes.c: Ditto.
2086 * genconfig.c: Ditto.
2087 * genemit.c: Ditto.
2088 * genextract.c: Ditto.
2089 * genflags.c: Ditto.
2090 * genopinit.c: Ditto.
2091 * genoutput.c: Ditto.
2092 * genpeep.c: Ditto.
2093 * genrecog.c: Ditto.
2094 * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
2095 * md.texi (Insn Splitting): Document define_insn_and_split.
2096
2097 Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
2098
2099 * flow.c (verify_flow_info): Added two more sanity checks. The
2100 first checks that the blocks are numbered consecutively. The second
2101 checks that n_basic_blocks is actually equal to the number of
2102 basic blocks in the insn chain.
2103
2104 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
2105
2106 * cpplib.h: Add accessor macros for token lists.
2107 * cpplib.c, cpphash.c, cpplex.c: Use them.
2108
2109 Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2110
2111 * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
2112 memory usage if not in a function.
2113 * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
2114 return address if static.
2115
2116 Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
2117
2118 * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
2119 whether address may trap.
2120
2121 Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
2122
2123 * bb-reorder (chain_reorder_blocks): Changed code to test for
2124 EDGE_FALLTHRU rather than making erroneous assumption that the
2125 first outgoing edge is the fall-through edge.
2126
2127 Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
2128
2129 * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
2130 ABI for varargs, across all MIPS. This is incompatible because the
2131 va_list (__builtin_va_list) structure is different, so a compilation
2132 unit passing a va_list and a compilation unit being passed one, should
2133 both be compiled with the same ABI. (The old structure had two
2134 pointers, now it has three.)
2135
2136 Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
2137
2138 * bb-reorder.c (struct reorder_block_def): Remove members end,
2139 block_begin, and block_end.
2140 (REORDER_BLOCK_OLD_END): Delete.
2141 (REORDER_BLOCK_BEGIN): Delete.
2142 (REORDER_BLOCK_END): Delete.
2143 (chain_reorder_blocks): Remove dead code.
2144
2145 Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
2146
2147 * bb-reorder.c (remove_scope_notes): Check for both types of scope
2148 notes as the end of a basic block before deleting.
2149
2150 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
2151
2152 * final.c (final_start_function): Fix spelling of "necessary".
2153
2154 2000-05-02 Jason Merrill <jason@casey.cygnus.com>
2155
2156 * toplev.c (debug_ignore_block): Return int.
2157 * dwarf2out.c (dwarf2out_ignore_block): Likewise.
2158 * toplev.h, dwarf2out.h: Adjust.
2159 * emit-rtl.c (remove_unnecessary_notes): Test return value.
2160
2161 * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
2162 * toplev.c, final.c, rtl.h: Adjust.
2163
2164 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2165
2166 * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
2167 * configure.in: Look for makeinfo in the unified tree, then
2168 for a system makeinfo which is sufficiently new.
2169 * Makefile.in: If configure says makeinfo is too old, don't
2170 build or install Info documentation.
2171
2172 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2173
2174 * cpphash.c (collect_params): Fix off-by-one error.
2175 (dump_hash_helper): Dump all four macro nodetypes.
2176
2177 2000-05-02 Jakub Jelinek <jakub@redhat.com>
2178
2179 * cpphash.c (trad_stringify): Adjust p after stringification as
2180 well.
2181
2182 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2183
2184 * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
2185 (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
2186
2187 * cppfiles.c (file_cleanup): Delete.
2188 * cpphash.c (macro_cleanup): Delete.
2189 (collect_objlike_expansion, collect_funlike_expansion,
2190 macarg, scan_arguments): Remove CPP_POP case.
2191
2192 * cpplex.c (null_cleanup): Delete.
2193 (cpp_pop_buffer): Do the work that was done in the cleanups
2194 here. Call _cpp_unwind_if_stack from here.
2195 (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
2196 cpp_scan_buffer): Run until we see CPP_EOF and the top of
2197 stack is the buffer _below_ the one we stacked.
2198 (cpp_get_token): Always pop an exhausted buffer. Return
2199 CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof.
2200 * cpplib.c (skip_if_group): Don't call cpp_get_token to
2201 increment the line number.
2202 (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
2203
2204 * fix-header.c (read_scan_file) [parsing getchar()]: Run until
2205 we see CPP_EOF and the top of stack is the buffer _below_ the
2206 one we stacked.
2207 * scan-decls.c: Likewise.
2208
2209 2000-05-02 Andrew Haley <aph@cygnus.com>
2210
2211 * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
2212 where this function is called for the second time on a decl that
2213 has had its section info changed in such a way as to move it out
2214 of small data/bss.
2215 * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
2216
2217 2000-05-01 Richard Henderson <rth@cygnus.com>
2218
2219 * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
2220 the sequence we're moving, not to merge_bb->head.
2221
2222 2000-05-01 Richard Henderson <rth@cygnus.com>
2223
2224 * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
2225 reference to alpha/t-linux.
2226 (alpha*-*-linux-gnu*): Likewise.
2227 * configure: Rebuild.
2228
2229 * calls.c (expand_call): Don't emit reg notes for a sibcall.
2230
2231 * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
2232 if not in SSA form.
2233
2234 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
2235
2236 2000-05-01 Jason Merrill <jason@casey.cygnus.com>
2237
2238 * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
2239 TREE_THIS_VOLATILE.
2240
2241 2000-05-01 Richard Henderson <rth@cygnus.com>
2242
2243 * ifcvt.c (noce_emit_cmove): Conditionally compile call to
2244 emit_conditional_move.
2245
2246 2000-05-01 Jakub Jelinek <jakub@redhat.com>
2247
2248 * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
2249 as the dynamic linker.
2250
2251 2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
2252
2253 * cppfiles.c (open_include_file): Open file in blocking mode.
2254 (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
2255 Only exclude block devices and directories.
2256
2257 * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
2258 static. Allocate the hashnode and its string in the same
2259 block of memory.
2260 (del_HASHNODE): Don't free h->name.
2261 (_cpp_lookup): If there is no entry for this string, create
2262 one, of type T_VOID.
2263 (_cpp_lookup_slot): Delete.
2264 * cpphash.h: Update prototypes.
2265
2266 * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
2267 not hp == NULL.
2268 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
2269 do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
2270 node here, just fill in the value field properly. "Delete"
2271 entries by setting the value field to T_VOID. Check for
2272 hp->type == T_VOID, not hp == NULL.
2273
2274 * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
2275 * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
2276 hashtab.h.
2277
2278 2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
2279
2280 * config/mn10300/mn10300.c (print_operand_address): Do not add
2281 zero to SP.
2282
2283 * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
2284 adjusted by less than 256 bytes, use ret regardless of having any
2285 callee-saved register to restore.
2286
2287 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
2288
2289 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
2290
2291 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
2292
2293 * config/i386/djgpp.h (INT_ASM_OP): Define.
2294 (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
2295 (ASM_WEAKEN_LABEL): Define.
2296 (MASK_BNU210): Define.
2297 (SUBTARGET_SWITCHES): Define.
2298 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
2299 (MAKE_DECL_ONE_ONLY): Define.
2300 (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
2301
2302 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu>
2303
2304 * i386/cygwin.h (INT_ASM_OP): Define.
2305
2306 Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
2307
2308 * config/avr/avr.c (address_cost): renamed to avr_address_cost.
2309 * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
2310
2311 Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
2312
2313 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
2314 __tmp_reg__ and __zero_reg__ initialization.
2315
2316 2000-04-30 Richard Henderson <rth@cygnus.com>
2317
2318 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
2319
2320 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
2321 referenced bewteen the condition and the jump. Don't delete
2322 anything but the jump.
2323
2324 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
2325
2326 * bb-reorder.c (scope_def): New struct.
2327 (scope_forest_info): New struct.
2328 (struct reorder_block_def): New member "scope".
2329 (REORDER_BLOCK_SCOPE): New macro.
2330 (relate_bbs_with_scopes): New function and prototype.
2331 (make_new_scope): Likewise.
2332 (build_scope_forest): Likewise.
2333 (remove_scope_notes): Likewise.
2334 (insert_intra_1): Likewise.
2335 (insert_intra_bb_scope_notes): Likewise.
2336 (insert_inter_bb_scope_notes): Likewise.
2337 (rebuild_scope_notes): Likewise.
2338 (free_scope_forest_1): Likewise.
2339 (free_scope_forest): Likewise.
2340 (dump_scope_forest): Likewise.
2341 (dump_scope_forest_1): Likewise.
2342 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
2343 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
2344 block.
2345 (reorder_basic_blocks): Added calls to build_scope_scope_forest
2346 and remove_scope_notes before reordering is done. Added calls to
2347 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
2348 after reordering is done.
2349
2350 2000-40-30 Bruce Korb <bkorb@gnu.org>
2351
2352 * fixinc/inclhack.def: Added definitions needed by OSR5,
2353 removed two stale entries (defined away with OLD_CPP).
2354 * fixinc/inclhack.sh: regen
2355 * fixinc/fixincl.x: regen
2356
2357 2000-04-30 Richard Henderson <rth@cygnus.com>
2358
2359 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
2360 from the last insn in the sequence.
2361
2362 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
2363
2364 * cpplex.c (cpp_idcmp): New function.
2365 * cpplib.h: Prototype it.
2366 * scan_decls.c (scan_decls): Use it to inspect token names.
2367 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
2368 the file being run through the preprocessor.
2369 (check_macro_names): Provide length of token to cpp_defined.
2370
2371 * Makefile.in: Remove stale warning message.
2372
2373 * cppfiles.c (redundant_include_p): Provide length of token to
2374 cpp_defined.
2375 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
2376 values are unsigned int.
2377 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
2378 (_cpp_lookup_slot): Do not calculate the hash, either.
2379 * cpphash.h: Update prototypes.
2380 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
2381 Hashes are unsigned int. Calculate hash here, pass by value
2382 to _cpp_lookup_slot.
2383
2384 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
2385
2386 * simplify-rtx.c (check_value_useless): Delete function.
2387 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
2388 by hand.
2389 (cselib_invalidate_regno): Likewise.
2390 (cselib_invalidate_mem_1): Likewise.
2391 (references_value_p): Recognize useless values by the fact that they
2392 have no locations.
2393 (discard_useless_values): Likewise.
2394 (cselib_record_set): This may turn a useless value
2395 into a useful one.
2396
2397 2000-04-30 Richard Henderson <rth@cygnus.com>
2398
2399 * config/d30v: New port.
2400
2401 * configure.in (d30v-*): Set fp format.
2402 * configure: Rebuild.
2403
2404 2000-04-30 Richard Henderson <rth@cygnus.com>
2405
2406 * ifcvt.c: New file.
2407 * Makefile.in (OBJS): Add it.
2408 (ifcvt.o): New target.
2409 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
2410 and conditional arithmetic.
2411 (find_insert_position): Remove.
2412 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
2413 * toplev.c (DFI_ce, DFI_ce2): New.
2414 (dump_file): Add ce and ce2 dumps.
2415 (rest_of_compilation): Run if_convert a couple o times. Set
2416 cse_not_expected after cse2. Don't set no_new_pseudos until
2417 after sched1 or recompute_reg_usage.
2418
2419 2000-04-30 Richard Henderson <rth@cygnus.com>
2420
2421 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
2422 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
2423
2424 2000-04-30 Richard Henderson <rth@cygnus.com>
2425
2426 * flow.c (struct reg_cond_life_info): New.
2427 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
2428 (init_propagate_block_info): Initialize them.
2429 (free_propagate_block_info): Destruct them.
2430 (mark_set_1): Consider conditional life before killing a register.
2431 (mark_regno_cond_dead): New.
2432 (free_reg_cond_life_info): New.
2433 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
2434 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
2435 (mark_used_reg): Record conditional life.
2436
2437 * haifa-sched.c (schedule_insns): Disable death counting
2438 sanity check for HAVE_conditional_execution.
2439
2440 2000-04-30 Richard Henderson <rth@cygnus.com>
2441
2442 * Makefile.in (TIMEVAR_H): New.
2443 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
2444 (timevar.h): Remove rule.
2445
2446 2000-04-29 Richard Henderson <rth@cygnus.com>
2447
2448 * config/alpha/crtend.asm: Use C comments instead of #.
2449 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
2450
2451 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
2452
2453 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
2454
2455 * cpphash.h (enum node_type: Take out T_MCONST.
2456 (union hashval): Move into struct hashnode.
2457 (struct hashnode): Pack tighter. Remove file, line, col
2458 members.
2459 * cpphash.c: Constify most of the macro-definition structures.
2460 (struct definition): Replace by struct object_defn
2461 and struct funct_defn. Put file, line, column information
2462 here. All users updated to match.
2463 (_cpp_create_definition, _cpp_macroexpand): Remove special
2464 case for #define WORD OTHERWORD.
2465 * cpplib.c (do_undef): Remove T_MCONST case.
2466
2467 * cpphash.h: Move struct reflist, struct definition, and the
2468 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
2469 union hashval. _cpp_free_definition takes a HASHNODE pointer.
2470 * cpphash.c (_cpp_free_definition): Free data pointed to by
2471 MCONST, XCONST, MACRO, and FMACRO nodes properly.
2472 (_cpp_create_definition, del_HASHNODE): Just call
2473 _cpp_free_definition to clear out a hashnode.
2474 * cpplib.c (do_pragma_poison): Likewise.
2475
2476 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
2477
2478 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
2479 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
2480 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
2481 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
2482 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
2483 REGNO_AM33_P): Redefine in terms of the new macros.
2484 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
2485 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
2486 STRUCT_VALUE): Likewise.
2487 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
2488 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
2489
2490 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
2491
2492 * regmove.c (struct record_stack_memrefs_data): New.
2493 (record_stack_memrefs): New function.
2494 (combine_stack_adjustments_for_block): Use it.
2495
2496 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
2497
2498 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
2499 use special_function_p to detect alloca.
2500
2501 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
2502
2503 * gcc.texi: Fixes for makeinfo 4.0 --html.
2504
2505 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
2506
2507 * pcp.h: Delete file.
2508
2509 2000-04-28 Kazu Hirata <kazu@hxi.com>
2510
2511 * h8300.c (function_epilogue): Clean up flags when the last insn
2512 in a function is a barrier.
2513
2514 2000-04-28 Chris Demetriou <cgd@sibyte.com>
2515
2516 * configure.in (sparc-hal-solaris2*): protect [] glob from
2517 my expansion.
2518 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
2519 rather than hard-coded constants in target_cpu_default2.
2520 * configure: Regenerate.
2521
2522 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
2523
2524 * tree.c (get_callee_fndecl): Extract the initial value from
2525 a readonly decl.
2526
2527 2000-04-28 Richard Henderson <rth@cygnus.com>
2528
2529 * varasm.c (record_constant_1): Record the CODE_LABEL when
2530 taking the address of a LABEL_REF.
2531
2532 2000-04-28 Richard Henderson <rth@cygnus.com>
2533 Jan Hubicka <jh@suse.cz>
2534
2535 * calls.c (combine_pending_stack_adjustment_and_call): Return the
2536 adjustment; don't do the stack adjust.
2537 (expand_call): Call compute_argument_block_size right before
2538 allocating the block; update comment; don't do alignment sanity
2539 checking for sibling call; use args_size instead of
2540 unadjusted_args_size before args_size is adjusted. Use
2541 combine_pending_stack_adjustment_and_call to compute stack adjust
2542 for must_preallocate case.
2543
2544 * expr.c (push_block): Remove shadow `temp' in inner scope.
2545
2546 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
2547
2548 * toplev.c (rest_of_compilation): Call
2549 note_deferral_of_defined_inline_function even if the function
2550 can't be inlined.
2551
2552 2000-04-28 Scott Bambrough <scottb@netwinder.org>
2553
2554 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
2555
2556 2000-04-28 Richard Henderson <rth@cygnus.com>
2557
2558 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
2559
2560 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2561
2562 * timevar.c (init_timevar): DeANSIfy function definition.
2563
2564 2000-04-27 Alex Samuel <samuel@codesourcery.com>
2565
2566 * Makefile.in (timevar.o): Depend on flags.h.
2567 * timevar.c (unused_stack_instances): New variable.
2568 (timevar_push): Take a timevar_stack_def from
2569 unused_stack_instances if available.
2570 (timevar_pop): Push the popped timevar_stack_def onto
2571 unused_stack_instances.
2572 (TIMEVAR_ENABLE): New macro.
2573 (timevar_def): Make standalone a 1-bit field. Add field used.
2574 (get_time): Rename parameter to now. Return after clearing it if
2575 not TIMEVAR_ENABLE.
2576 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
2577 (timevar_pop): Likewise.
2578 (timevar_stop): Likewise.
2579 (timevar_push): Likewise. Mark the timing variable as used.
2580 (timevar_start): Likewise.
2581 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
2582 timevars that were never used.
2583
2584 2000-04-27 Mark Mitchell <mark@codesourcery.com>
2585
2586 * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
2587 always TREE_READONLY.
2588
2589 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
2590
2591 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
2592 for call instruction with mode QImode.
2593
2594 2000-04-27 Alex Samuel <samuel@codesourcery.com>
2595
2596 * Makefile.in (OBJS): Add timevar.o.
2597 (toplev.o): Depend on timevar.h.
2598 (ggc-simple.o): Likewise.
2599 (ggc-page.o): Likewise.
2600 (timevar.o): New rule.
2601 (timevar.h): New rule.
2602
2603 * timevar.h: New file.
2604 * timevar.c: Likewise.
2605 * timevar.def: Likewise.
2606
2607 * toplev.h (gc_time, parse_time, varconst_time): Remove.
2608 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
2609 throughout.
2610 (TIMEVAR): Remove macro.
2611 (gc_time, parse_time, varconst_time, integration_time, jump_time,
2612 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
2613 flow_time, combine_time, regmove_time, sched_time,
2614 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
2615 sched2_time, dbr_sched_time, reorder_blocks_time,
2616 rename_registers_time, shorten_branch_time, stack_reg_time,
2617 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
2618 all_time): Remove.
2619 (compile_file): Don't initialize time variables. Call
2620 init_timevar and start TV_TOTAL timer. Call timevar_print instead
2621 of many calls to print_time.
2622 (rest_of_compilation): Add timing for reload_cse_regs.
2623 (get_run_time): Removed to timevar.c.
2624 (print_time): Likewise.
2625 (get_run_time): Implement using TV_TOTAL time variable.
2626 (print_time): Get total run time from get_run_time.
2627 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
2628 computing elapsed time explicitly.
2629 * ggc-simple.c (ggc_collect): Likewise.
2630 (gc_time): Remove declaration.
2631
2632 2000-04-27 Mark Mitchell <mark@codesourcery.com>
2633
2634 * calls.c (combine_pending_stack_adjustment_and_call): New function.
2635 (expand_call): Use it.
2636
2637 2000-04-27 Jan Hubicka <jh@suse.cz>
2638
2639 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
2640 fields.
2641
2642 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
2643
2644 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
2645 registers.
2646
2647 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
2648
2649 * function.c (epilogue_done): Pass whole insn to record_insns.
2650
2651 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
2652
2653 * cse.c (CSE_ADDRESS_COST): Remove.
2654 (find_best_addr): Add new parameter "MODE", use address_cost instead
2655 of CSE_ADDRESS_COST
2656 (address_cost): New.
2657 (fold_rtx): Update call of find_best_addr.
2658 * rtl.h (address_cost): Declare.
2659 * loop.c (general_induction_var): Add new parameter "MODE", use
2660 address_cost instead of ADDRESS_COST
2661 (init_loop): Use address_cost instead of ADDRESS_COST.
2662 (check_insn_for_givs): Update call of general_induction_var.
2663 (find_mem_givs): Likewise.
2664 (consec_sets_giv): Likewise.
2665 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
2666 * i386.c (ix86_address_cost): New.
2667 * i386-protos.h (ix86_address_cost): Declare.
2668
2669 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
2670
2671 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
2672 registers.
2673
2674 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
2675
2676 * expr.c (store_expr): Use clear_storage instead of direct memset
2677 libcall.
2678
2679 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
2680
2681 * config/mn10300/mn10300.c (mn10300_address_cost): Test
2682 ASHIFT, AND and LABEL_REF.
2683
2684 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
2685
2686 * invoke.texi (-foptimize-sibling-calls): Fix.
2687
2688 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
2689
2690 * loop.c (load_mems) Don't use hard registers for the hoisting.
2691
2692 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
2693 calculation; rename const_equiv array in the preconditioning code
2694 from loop_unroll to loop_unroll_precondition
2695
2696 2000-04-27 Richard Henderson <rth@cygnus.com>
2697
2698 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
2699 add new_set.
2700 (propagate_one_insn): Clear it. Don't update reg_live here.
2701 (init_propagate_block_info): Update for pbi member changes.
2702 (free_propagate_block_info): Likewise.
2703 (mark_set_1): Know that zero_extract, sign_extract, and
2704 strict_low_part don't kill their argument. Alter hard subregs.
2705 Update new_set for non-CLOBBER sets. Update reg_live.
2706 (find_auto_inc): Update reg_live, not new_dead.
2707 (mark_used_reg): Update reg_live, not new_live. Examine new_set
2708 to determine if the reg in question was set this insn. Only update
2709 reg info with PROP_REG_INFO.
2710
2711 2000-04-26 Richard Henderson <rth@cygnus.com>
2712
2713 * flow.c (allocate_reg_life_data): Set max_regno here ...
2714 (life_analysis): ... not here.
2715
2716 * flow.c (calculate_global_regs_live): Force stack pointer
2717 live at end.
2718
2719 2000-04-26 Richard Henderson <rth@cygnus.com>
2720
2721 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
2722 commit change group changes.
2723 (invert_exp_1): Similarly.
2724 (redirect_exp, invert_exp): Use them.
2725 (redirect_jump_1): New.
2726 (invert_jump_1): New.
2727 (jump_optimize_1): Remove code subsumed by condexec.c.
2728 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
2729
2730 2000-04-26 Richard Henderson <rth@cygnus.com>
2731
2732 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
2733
2734 * genconfig.c (main): Set all HAVE_foo to 1.
2735
2736 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
2737
2738 2000-04-26 Alex Samuel <samuel@codesourcery.com>
2739
2740 * invoke.texi: Document -fssa flag.
2741
2742 2000-04-26 Richard Henderson <rth@cygnus.com>
2743
2744 * flow.c (count_reg_sets_1): Remove.
2745 (count_reg_sets, count_reg_references): Remove.
2746 (recompute_reg_usage): Implement with update_life_info.
2747 Reallocate life data.
2748
2749 2000-04-26 Richard Henderson <rth@cygnus.com>
2750
2751 * flow.c (update_life_info): Consider blocks null to mean the
2752 universal set.
2753 (calculate_global_regs_live): Likewise.
2754 (life_analysis): Do that instead of collecting all_blocks.
2755
2756 2000-04-26 Richard Henderson <rth@cygnus.com>
2757
2758 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
2759 a still-valid conditional jump.
2760
2761 2000-04-26 Richard Henderson <rth@cygnus.com>
2762
2763 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
2764
2765 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
2766 * flow.c (calculate_loop_depth): Remove.
2767 * output.h (calculate_loop_depth): Don't declare.
2768 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
2769 inline; run estimate_probability at the same time.
2770
2771 2000-04-26 Neil Booth <NeilB@earthling.net>
2772
2773 * cpplib.h: "~=" is not a single pp-token.
2774 * cpplex.c: Correct commentary.
2775
2776 2000-04-26 Richard Henderson <rth@cygnus.com>
2777
2778 * flow.c (mark_set_1): New arguments code and flags; update all
2779 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
2780 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
2781 loop_depth when optimizing for size. Do new_dead update after
2782 emitting REG_UNUSED notes. Merge mark_set_reg code.
2783 (mark_set_reg): Remove.
2784 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
2785 arrange to not emit REG_UNUSED notes.
2786
2787 2000-04-26 Richard Henderson <rth@cygnus.com>
2788
2789 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
2790 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
2791
2792 2000-04-26 Richard Henderson <rth@cygnus.com>
2793
2794 * flow.c (propagate_one_insn): Break out from propagate_block.
2795 (init_propagate_block_info): Likewise.
2796 (free_propagate_block_info): Likewise.
2797 (propagate_block): Use them. Export.
2798 * basic-block.h: Declare them all.
2799
2800 2000-04-26 Richard Henderson <rth@cygnus.com>
2801
2802 * basic-block.h (life_analysis): Declare here ...
2803 * output.h: ... not here.
2804 * flow.c (life_analysis): Remove nregs parameter; replace
2805 remove_dead_code with flags. Remove ssa dead code check.
2806 Only init alias analysis if we'll use it.
2807 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
2808 * ssa.c (convert_to_ssa): Likewise.
2809 (convert_from_ssa): Likewise.
2810 * toplev.c (rest_of_compilation): Likewise.
2811
2812 2000-04-26 Richard Henderson <rth@cygnus.com>
2813
2814 * flow.c (flow_delete_block): Rename from delete_block. Export.
2815 * basic-block.h (flow_delete_block): Declare.
2816
2817 2000-04-26 David S. Miller <davem@redhat.com>
2818
2819 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
2820 taking a PATTERN of it.
2821
2822 2000-04-26 <NeilB@earthling.net>
2823
2824 * cpplex.c (spell_other, spell_char): Remove.
2825 (SPELL_CHAR): New.
2826 (token_spelling, trigraph_map): Use unsigned chars.
2827 (_cpp_lex_line): Tidy up the switch statement.
2828 * cpplib.h: Implement spell_char with spell_string.
2829 (C): New.
2830
2831 2000-04-26 <RodneyBrown@pmsc.com>
2832
2833 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2834 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2835
2836 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2837
2838 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
2839 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
2840 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
2841 dwarf2out_return_save, dwarf2out_return_reg,
2842 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
2843 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
2844 gen_compile_unit_die, dwarf2out_init): Constify a char*.
2845
2846 * dwarf2out.h (dwarf2out_init): Likewise.
2847
2848 * dwarfout.c (filename_entry, primary_filename, last_filename,
2849 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
2850
2851 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
2852 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
2853 dwarf2out_return_reg): Likewise.
2854
2855 2000-04-26 Andreas Jaeger <aj@suse.de>
2856
2857 * extend.texi (Function Attributes): Fix description of pure
2858 attribute.
2859
2860 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
2861
2862 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
2863 before calling rest_of_compilation.
2864
2865 2000-04-26 Andreas Jaeger <aj@suse.de>
2866
2867 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
2868 last patch.
2869
2870 2000-04-25 Richard Henderson <rth@cygnus.com>
2871
2872 * cse.c (cse_insn): Emit barrier after unconditional jump.
2873
2874 * calls.c (expand_call): Disable tail call generation once
2875 rtx_equal_function_value_matters is false.
2876
2877 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
2878 like EDGE_EH edges.
2879
2880 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
2881
2882 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
2883
2884 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
2885
2886 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
2887 is the primary DIE for a member function.
2888 (gen_decl_die): Call set_decl_origin_self here.
2889 * dwarfout.c (output_decl): And here.
2890 * integrate.c (output_inline_function): Not here.
2891 Don't clear DECL_INLINE until after calling rest_of_compilation.
2892 (set_decl_origin_self): No longer static.
2893 * tree.h: Add prototype.
2894 * toplev.c (note_deferral_of_defined_inline_function): Only write
2895 out abstract instance for actual inlines.
2896
2897 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
2898
2899 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
2900 EXTENDED_REGS only if TARGET_AM33.
2901 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
2902 SP_REGS to register allocation and reloading unless absolutely
2903 necessary.
2904 (movsi3): Remove special-case of adding non-constants to SP.
2905
2906 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2907
2908 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
2909 INCLUDES to search and does not provide any of its own. Also it
2910 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
2911 parameters. Also it does not call AC_DEFINE.
2912 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
2913 AC_DEFINE and provides for automatic entries for autoheader.
2914 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
2915
2916 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
2917 so we can pass -I flags and include gansidecl.h/system.h in this
2918 test.
2919
2920 * acconfig.h: Delete all NEED_DECLARATION_* entries.
2921
2922 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2923
2924 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2925 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2926 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2927
2928 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2929 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2930 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2931 for these macros. Clean up spacing and linewraps.
2932
2933 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
2934
2935 * calls.c (expand_call): Use get_callee_fndecl.
2936
2937 * print-tree.c (print_node): Print the chain of an _EXPR.
2938
2939 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
2940 Jim Wilson <wilson@cygnus.com>
2941 Andrew Haley <aph@cygnus.com>
2942
2943 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
2944 and gp save/restore problems.
2945 * config/ia64/crtend.asm: Add IA-64 unwind support.
2946 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2947 in fr_pad_size calculation.
2948 (save_restore_insns): Move PR save area. Correct uses of
2949 RTX_FRAME_RELATED_P.
2950 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2951 (ia64_expand_epilogue): Add eh_epilogue support.
2952 (ia64_function_prologue): Emit .prologue directive.
2953 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2954 (ia64_override_options): Set init_machine_status and
2955 mark_machine_status.
2956 (rtx_needs_barrier): Handle bsp reads and writes.
2957 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2958 New static variables.
2959 (process_set, process_for_unwind_directive): New functions.
2960 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2961 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2962 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2963 macros.
2964 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2965 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2966 (struct machine_function): Define.
2967 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2968
2969 2000-04-25 Bruce Korb <bkorb@gnu.org>
2970
2971 * fixinc/Makefile.in: make the removal of old programs more
2972 robust
2973 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2974 install-bin and install-sh
2975
2976 2000-04-25 Nick Clifton <nickc@cygnus.com>
2977
2978 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2979 defined, define to return zero.
2980 (function_cannot_inline_p): If a function has any target
2981 specific attributes, then use the macro
2982 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2983 whether it can be inlined. If it cannot, issue a suitable
2984 explanation.
2985
2986 * tm.texi: Add a new node 'Inlining' to document the new macro
2987 FUNCTION_ATTRIBUTE_INLINABLE_P.
2988
2989 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
2990
2991 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2992 commentary.
2993
2994 2000-04-25 Neil Booth <NeilB@earthling.net>
2995
2996 Restore previous patch, plus the following fixes:
2997
2998 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2999 flags, not CPP_OPEN_PAREN.
3000 * cpplex.c (expand_token_space, init_token_list,
3001 cpp_free_token_list): Put the dummy token at list->tokens[-1].
3002 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
3003
3004 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3005
3006 * config/i386/freebsd.h (INT_ASM_OP): Define.
3007
3008 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
3009
3010 * loop.c (strength_reduce): Fix typo in the last checkin.
3011
3012 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3013
3014 * stor-layout.c (finalize_record_size): Simplify to use existing
3015 functions.
3016 (compute_record_mode): No longer static.
3017 * tree.h (compute_record_mode): New declaration.
3018
3019 2000-04-25 Neil Booth <NeilB@earthling.net>
3020
3021 * Revert my patch below until cause of build failures
3022 determined.
3023
3024 2000-04-25 Richard Henderson <rth@cygnus.com>
3025
3026 * combine.c (combine_instructions): Add missing argument
3027 to try_combine.
3028
3029 * toplev.c (rest_of_compilation): Delay sibcall optimization
3030 until after emit_eh_context.
3031
3032 2000-04-24 Nick Clifton <nickc@redhat.com>
3033
3034 * combine.c (combine_instructions): Do not try to combine a
3035 sequence of insns when the second insn has been replaced by a
3036 note.
3037
3038 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
3039
3040 * gcc.c (load_specs): New static function.
3041 (read_specs): Use it.
3042
3043 * gcc.c (lookup_compiler): Make multiple passes for case
3044 insensitive filesystems.
3045
3046 2000-04-24 Neil Booth <NeilB@earthling.net>
3047
3048 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
3049 * cpphash.h (_cpp_check_directive): new.
3050 * cpplex.c (handle_newline, cpp_free_token_list,
3051 init_trigraph_map, trigraph_ok, trigraph_replace,
3052 backslash_start, skip_block_comment, skip_line_comment,
3053 skip_whitespace, parse_name, parse_number, parse_string,
3054 copy_comment, _cpp_lex_line, spell_char, spell_string,
3055 spell_comment, spell_name, spell_other, _cpp_lex_file,
3056 _cpp_output_list): new.
3057 (expand_name_space): take length argument.
3058 (init_token_list): add comment list initialisation.
3059 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
3060 instead of HSPACE_BEFORE.
3061
3062 * cpplib.c (_cpp_check_directive): new
3063 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
3064 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
3065 (HSPACE_BEFORE): delete.
3066 (TTYPE_TABLE): rearrange.
3067 (struct cpp_toklist): update.
3068
3069 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3070
3071 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
3072 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
3073 argument form of AC_DEFINE.
3074
3075 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
3076 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
3077 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
3078 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
3079 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
3080
3081 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
3082
3083 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3084
3085 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
3086 deduced.h): Use -isystem, not -I, for including system headers.
3087
3088 2000-04-24 Nick Clifton <nickc@cygnus.com>
3089
3090 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
3091 the source register is the frame pointer or arg pointer.
3092 (addsi3_small_int): Disallow if source register is the frame
3093 pointer or arg pointer.
3094
3095 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3096
3097 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
3098 call to AC_MSG_RESULT.
3099
3100 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3101
3102 * invoke.texi: Correct grammatical errors, document
3103 -fno-gnu-keywords as identical to -fno-asm for C++.
3104
3105 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3106
3107 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
3108 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
3109 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
3110 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
3111 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
3112
3113 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
3114 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
3115 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
3116 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
3117 new macros names.
3118
3119 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
3120
3121 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
3122 (pop_alignment): Likewise.
3123 (handle_pragma_token): Likewise.
3124
3125 2000-04-24 Robert Lipe <robertlipe@usa.net>
3126
3127 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
3128
3129 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
3130
3131 * combine.c (try_combine): Update reg_nonzero_bits of
3132 newi2pat before newpat.
3133
3134 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
3135
3136 * loop.c (strength_reduce): Simplify test to INSN_P.
3137 (record_giv): Attempt to simplify the add value, use CONSTANT_P
3138 expressions instead of CONST_INT.
3139 (express_from_1): Likewise.
3140
3141 2000-04-24 Mark Mitchell <mark@codesourcery.com>
3142
3143 * regs.h (reg_n_max): Don't declare.
3144 * flow.c (reg_n_max): Don't define.
3145 * regclass.c (renumber): Don't initialize to zero.
3146 (regno_allocated): Likewise.
3147 (reg_n_max): Define.
3148 (allocate_reg_info): Don't initialize unnecessarily.
3149
3150 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
3151
3152 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
3153 and blockage_p in the newly allocated attribute.
3154
3155 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
3156
3157 * config/mn10300/mn10300.md (addsi): `inc4' on address
3158 registers does not modify cc, but `inc' on an extended
3159 register does.
3160
3161 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
3162
3163 * reload.c (find_equiv_reg): Checks all valueno regs
3164 as a reload_reg_p regs.
3165
3166 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3167
3168 * cpphash.c (collect_objlike_expansion): Add sanity check.
3169 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
3170 the buffer is the empty string, return. Mark __DATE__ and
3171 __TIME__ as XCONST nodes, not MCONST.
3172 (_cpp_macroexpand): Avoid pushing an empty buffer.
3173 (funlike_macroexpand): Don't pop token_buffer here.
3174
3175 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
3176
3177 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
3178 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
3179 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
3180 (REGNO_OK_FOR_BASE_P): Define in terms of them.
3181 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
3182 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
3183 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
3184
3185 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
3186
3187 * loop.c (simplify_giv_expr): Be more agressive on simplifying
3188 constant MULT givs.
3189
3190 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3191
3192 * cpphash.h (struct definition): Move file, line, col members...
3193 (struct hashnode): ... here. Also add 'disabled' flag.
3194 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
3195 T_IDENTITY. Remove T_DISABLED.
3196 Update prototypes.
3197
3198 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
3199 (collect_expansion): Split into collect_objlike_expansion and
3200 collect_funlike_expansion.
3201 (_cpp_macroexpand): Split out scan_arguments, stringify, and
3202 funlike_macroexpand.
3203 (_cpp_compare_defs): Rename compare_defs, make static.
3204 (_cpp_make_hashnode): Initialize hp->disabled.
3205 (macro_cleanup): Adjust for new token types. Clear
3206 m->disabled.
3207 (_cpp_create_definition): Move code here to determine what
3208 sort of macro it is, and code to check for redefinitions, from
3209 do_define. Implement a few simple cases without creating a
3210 full DEFINITION.
3211 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
3212 Handle the simple cases.
3213 (push_macro_expansion): Set buf->has_escapes and hp->disabled
3214 here.
3215
3216 * cppinit.c (builtin_array): Change MCONST to XCONST
3217 everywhere.
3218 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
3219 fix check for disabled and function-like macros.
3220 * cpplib.c (do_define): Move most logic to
3221 _cpp_create_definition.
3222 (do_undef): Handle new special token types.
3223
3224 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
3225
3226 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
3227 of CONSTANT_P for mult_val; always use validate_change to update insn.
3228
3229 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
3230
3231 * cpphash.c (trad_stringify, add_pat): New functions.
3232 (collect_expansion): Restore support for -traditional syntax.
3233 Use trad_stringify and add_pat.
3234 (_cpp_macroexpand): Restore support for -traditional semantics.
3235 * cpplex.c (_cpp_scan_line): Don't change space_before if we
3236 get a COMMENT token.
3237 (_cpp_lex_token): Provide COMMENT tokens to caller if
3238 traditional and parsing_define_directive.
3239 (skip_comment): Warn about // comments if -Wtraditional.
3240 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
3241 proper node type.
3242 (do_undef): Don't warn about undefining EMPTY nodes.
3243
3244 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
3245
3246 * loop.c (strength_reduce): Fix biv removal code.
3247
3248 2000-04-22 Richard Henderson <rth@cygnus.com>
3249
3250 * predict.c (estimate_probability): Examine both sides of
3251 a branch for no exits. Use 90% not 50% for predict taken.
3252 Reorg for one copy of note generation code.
3253
3254 2000-04-22 Richard Henderson <rth@cygnus.com>
3255
3256 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
3257
3258 2000-04-22 Richard Henderson <rth@cygnus.com>
3259
3260 * diagnostic.c (init_output_buffer): Don't initialize format_args.
3261 (output_clear): Likewise.
3262 (output_printf): Use va_copy.
3263 (vline_wrapper_message_with_location): Likewise.
3264 (v_message_with_decl): Likewise.
3265 (line_wrapper_printf): VA_START infor buffer.format_args directly.
3266 * system.h (va_copy): Provide default implementation.
3267
3268 2000-04-22 Richard Henderson <rth@cygnus.com>
3269
3270 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
3271 the collected condition is not a constant.
3272
3273 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
3274
3275 * diagnostic.h: New file.
3276
3277 * Makefile.in (diagnostic.o): Depends on diagnostic.h
3278
3279 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
3280 various function prototypes.
3281 (diagnostic.h): #include.
3282 (struct output_buffer): Move into diagnostic.h.
3283 (get_output_prefix): Rename to output_get_prefix. Export.
3284 (init_output_buffer): Export. Break out. Ajust intialization.
3285 (output_space_left, output_append): Export.
3286 (output_newline): Rename to output_add_newline. Export.
3287 (output_clear): Nullify additional output_buffer fields.
3288 (output_puts): Rename to output_add_string. Export.
3289 (dump_output): Rename to output_flush_on. Export.
3290 (build_location_prefix): Constify return-type.
3291 (emit_output_prefix): Rename to output_emit_prefix. Export.
3292 (set_real_maximum_length): New function.
3293 (output_set_maximum_length): Ditto
3294 (output_clear): Ditto.
3295 (output_add_character): Ditto.
3296 (output_add_integer): Ditto.
3297 (output_add_space): Ditto.
3298 (output_format): Ditto.
3299 (output_printf): Adjust buffer initialization.
3300 (vline_wrapper_message_with_location): Ditto.
3301 (v_message_with_decl): Ditto. Adjust call to output_puts
3302 and get_output_prefix.
3303 (default_print_error_function): Adjust buffer intialization.
3304
3305 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3306
3307 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
3308 of VOID_TYPE.
3309
3310 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
3311
3312 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
3313 of explicit 0.
3314
3315 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
3316
3317 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
3318 accurate data about SP moves.
3319
3320 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
3321
3322 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
3323 aliases to AM33 registers.
3324
3325 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
3326
3327 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
3328 to all EXTENDED bitmaps.
3329
3330 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
3331
3332 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
3333 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
3334 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
3335
3336 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
3337
3338 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
3339 the operand is not constant.
3340
3341 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
3342
3343 * reload.c (find_equiv_reg): Checks all valueno and regno regs
3344 as a call-clobbered regs.
3345
3346 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3347
3348 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
3349 * rtl.h: Likewise.
3350 * rtl.def: Update comment.
3351 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
3352 * integrate.c (expand_inline_function): Likewise.
3353 * profile.c (branch_prob): Likewise.
3354 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
3355 * print-rtl.c (print_rtx): Likewise.
3356 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
3357 (reemit_notes): Likewise; also use enum insn_note.
3358
3359 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
3360 (place_field): Properly compute know and actual alignment.
3361
3362 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
3363 in proper format.
3364
3365 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
3366 note for REG1.
3367
3368 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
3369
3370 * cpphash.c (struct arg, struct arglist): Const-ify strings.
3371 (warn_trad_stringify, duplicate_arg_p): New helper functions.
3372 (collect_expansion): Rewrite to scan over a token list.
3373 Remove -traditional support.
3374 (collect_formal_parameters): Rename to collect_params; rewrite
3375 to scan over a token list.
3376 (_cpp_create_definition): Adjust to scan a token list.
3377 (_cpp_macroexpand): Remove -traditional support.
3378 (_cpp_compare_defs): Whitespace is now canonicalized.
3379 (comp_def_part): Delete function.
3380
3381 * cpphash.h: Update prototypes.
3382 * cpplex.c (init_token_list): Don't set lineno if there is no
3383 buffer.
3384 (pedantic_whitespace): New function.
3385 (_cpp_scan_line): Mark tokens that had hspace before. Don't
3386 consume a newline. Use pedantic_whitespace.
3387 (_cpp_lex_token): Remove support for -traditional macros.
3388 (_cpp_get_define_token): Delete.
3389 (_cpp_get_directive_token): Do the real work here. Use
3390 pedantic_whitespace.
3391 (_cpp_init_input_buffer): Initialize pfile->directbuf.
3392
3393 * cpplib.c (get_macro_name): Delete.
3394 (do_define): Read the entire line into pfile->directbuf, then
3395 feed the token list to _cpp_create_definition.
3396 * cpplib.h (HSPACE_BEFORE): new define.
3397 (struct cpp_reader): Add a toklist member, "directbuf".
3398
3399 * predict.c (estimate_probability): New heuristic: if a jump
3400 branches around a block with no successors, predict it taken.
3401 Disentangle control flow.
3402
3403 2000-04-20 Richard Henderson <rth@cygnus.com>
3404
3405 * loop.c (emit_iv_add_mult): Revert last change.
3406
3407 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
3408
3409 * cpplib.h (enum cpp_ttype): Add token types for all
3410 punctuators. Distinguish pp-numbers from valid C numbers.
3411 Give some tokens better names. Initialize from macro.
3412 (struct cpp_name, cpp_token, cpp_toklist): New data
3413 structures.
3414 Update prototypes.
3415 * cpplex.c (bump_column, expand_name_space,
3416 expand_token_space, init_token_list, cpp_output_list,
3417 _cpp_scan_line): New functions.
3418 (output_line_command): Add third argument, new line number.
3419 * cpphash.h: Update prototypes.
3420 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
3421 token names.
3422
3423 2000-04-20 Richard Henderson <rth@cygnus.com>
3424
3425 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
3426
3427 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
3428
3429 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
3430 object pointed to.
3431
3432 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
3433
3434 * loop.c (emit_iv_add_mult): Simplify it's input and emit
3435 REG_EQUAL note explaining the calculated value.
3436
3437 * calls.c (expand_call): Avoid unnecesary precalculation
3438 and outgoing parameters space guarding for sibling calls.
3439 (store_one_arg): Likewise.
3440
3441 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3442
3443 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
3444 (rest_of_compilation): Write sibling dump file and account
3445 for time as jump time.
3446 * invoke.texi: Update documentation on dump flags.
3447
3448 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
3449
3450 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
3451
3452 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
3453
3454 * cpphash.c (special_symbol): Represent an empty macro with
3455 "\r \r " not just "\r ".
3456 (_cpp_macroexpand): Correct condition for the foo ( ) special
3457 case.
3458 (unsafe_chars): Handle EOF as second argument.
3459 (push_macro_expansion): Simplify test for removing escape at
3460 end. Do not trim both escapes if there is no text in between.
3461
3462 2000-04-19 Jim Blandy <jimb@redhat.com>
3463
3464 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
3465 of PTR_SIZE, when appropriate.
3466
3467 2000-04-19 Mark Mitchell <mark@codesourcery.com>
3468
3469 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
3470 (USE_ENUM_BITFIELDS): Fix typo.
3471
3472 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3473
3474 * stor-layout.c (place_field): Set rli->offset_align properly.
3475
3476 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3477
3478 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
3479 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
3480 PARM_BOUNDARY): Remove unnecessary casts.
3481
3482 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
3483
3484 * calls.c (precompute_arguments): Remove must_preallocate and
3485 args_size calls.
3486 (expand_call): Update call of precompute_arguments.
3487
3488 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
3489 check_insn_for_givs): Break out from ...
3490 (strength_reduce) ... here; use for_every_insn_in_loop to call
3491 check_insn_for_givs.
3492 * loop.h (for_every_insn_in_loop): Declare.
3493 (loop_insn_callback): New type.
3494
3495 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
3496
3497 * cpplib.c (do_pragma_poison): Strings in the token buffer are
3498 not nul-terminated.
3499
3500 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
3501
3502 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
3503 flag_pic and RELOC.
3504
3505 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
3506
3507 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
3508
3509 * configure.in: Delete --disable-cpplib option and all
3510 references to cpp_main.
3511 * configure: Regenerate.
3512 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
3513 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
3514 cccp.o, cccp, or cppmain. Link cppmain.o straight to
3515 cpp$(exeext). Add --no-headers to makeinfo command line when
3516 generating INSTALL. Install and uninstall cpp.1 manpage, not
3517 cccp.1.
3518 * install.texi: Delete all references to cexp.y/cexp.c.
3519 Delete ancient instructions for compiling GCC on 3b1.
3520 * INSTALL: Regenerate.
3521
3522 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
3523 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
3524 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
3525 cexp.c/cexp.y.
3526 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
3527 which is no longer tested anywhere.
3528
3529 * cppinit.c (handle_option): Don't run error message through
3530 gettext twice.
3531
3532 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3533
3534 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
3535 * cpperror.c (hashtab.h): Now include.
3536 * cppexp.c (hashtab.h): Likewise.
3537 * cpplex.c (hashtab.h): Likewise.
3538 * cppfiles.c (hashtab.h): Likewise.
3539 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
3540 to htab_find_slot_with_hash.
3541 * cpphash.c (hashtab.h): Now include.
3542 (_cpp_lookup_slot): INSERT is now enum insert_option.
3543 * cpphash.h (_cpp_lookup_slot): Likewise.
3544 * cppinit.c (hashtab.h): Include earlier.
3545 (initialize_builtins): Pass enum to htab_find_slot.
3546 * cpplib.c (hashtab.h): Now include.
3547 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
3548 (do_pragma_poison, do_assert): Likewise.
3549 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
3550 htab_find_slot_with_hash.
3551 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
3552 * tree.c (type_hash_add): Likewise.
3553 (build1): Minor cleanup.
3554
3555 * ggc-common.c: Add missing blanks.
3556 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
3557 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
3558
3559 * stmt.c (mark_case_node): New function.
3560 (mark_case_nesting): Call it.
3561
3562 * expmed.c (emit_store_flag): If comparing two-word integer
3563 with zero, can optimize NE, EQ, GE, and LT.
3564
3565 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
3566 * conflict.c: Minor cleanups.
3567 * optabs.c: Add blank line
3568 * simplify-rtx.c: Minor cleanups.
3569
3570 2000-04-18 Stan Cox <scox@cygnus.com>
3571
3572 * gengenrtl.c (genlegend): Fix misspelling.
3573
3574 2000-04-18 Robert Lipe <robertlipe@usa.net>
3575
3576 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
3577 bitfields of the host compiler are not signed quantities.
3578 * config.in: Regenerate.
3579 * configure: Regenerate.
3580 * system.h (USE_ENUM_BITFIELDS): Added.
3581 (ENUM_BITFIELDS): Added.
3582 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
3583 (SHORT_ENUM_BUG): Deleted.
3584 * tree.h (tree_common): Members `code', `mode', `built_in_class',
3585 now ENUM_BITFIELD.
3586 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
3587 (CODE_FIELD_BUG): Likewise.
3588 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
3589 (OLD_CC): Likewise.
3590 * config/m68k/x-ccur (X_CFLAGS): Likewise.
3591
3592 2000-04-18 Mark Mitchell <mark@codesourcery.com>
3593
3594 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
3595 mark is active.
3596
3597 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
3598
3599 * cppexp.c (lex): Don't assume tokens are NUL terminated.
3600 * cpplib.c (do_include, do_import, do_include_next,
3601 read_line_number, detect_if_not_defined): Likewise.
3602 * cpphash.c (collect_expansion): Likewise.
3603 (special_symbol, _cpp_macroexpand): Check return from
3604 cpp_file_buffer.
3605 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
3606 macros. Delete all uses.
3607
3608 * gcc.dg/cpp-mi.c: Add two more test cases.
3609 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
3610
3611 2000-04-17 Richard Henderson <rth@cygnus.com>
3612
3613 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
3614 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
3615
3616 2000-04-17 Mark Mitchell <mark@codesourcery.com>
3617
3618 * function.c (expand_function_start): Use hard_function_value to
3619 compute the RTL to use for DECL_RESULT.
3620
3621 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
3622
3623 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
3624 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3625 x86_memory_mismatch_stall): New global variables.
3626 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
3627 alloved; fix load penalties for Athlon.
3628 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3629 x86_memory_mismatch_stall): Declare.
3630 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
3631 TARGET_MEMORY_MISMATCH_STALL): New.
3632 * i386.md (athlon scheduling parameters): Fix latencies according to
3633 Athlon Optimization Manual.
3634 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
3635 vector.
3636 (fsqrt instruction patterns): Set athlon_decode to direct.
3637 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
3638 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
3639 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
3640 and TARGET_PARTIAL_REGISTER_STALL machines.
3641 (pushdf_nointeger): New pattern.
3642 (pushdf_integer): Rename from pushdf.
3643 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
3644 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
3645
3646 2000-04-17 Richard Henderson <rth@cygnus.com>
3647
3648 * loop.c (canonicalize_condition): Add WANT_REG argument.
3649 Stop the search if we match it.
3650 * expr.h (canonicalize_condition): Update decl.
3651 * predict.c (expected_value_to_br_prob): Use it. Track last
3652 expected value note.
3653 (find_expected_value): Remove.
3654
3655 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
3656
3657 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
3658
3659 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
3660 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
3661 a plain file.
3662 * configure.in: Call AC_FUNC_MMAP_FILE.
3663 * configure: Regenerate.
3664 * config.in: Regenerate.
3665
3666 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
3667 * fixinc/fixincl.c: Likewise.
3668
3669 2000-04-17 Richard Henderson <rth@cygnus.com>
3670
3671 * builtins.c (expand_builtin_expect): New.
3672 (expand_builtin): Call it.
3673 * builtins.def (BUILT_IN_EXPECT): New.
3674 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
3675 * extend.texi: Document it.
3676
3677 * predict.c (expected_value_to_br_prob): New.
3678 (find_expected_value): New.
3679 * basic-block.h (expected_value_to_br_prob): Declare.
3680 * toplev.c (rest_of_compilation): Invoke it.
3681
3682 * rtl.h (NOTE_EXPECTED_VALUE): New.
3683 (NOTE_INSN_EXPECTED_VALUE): New.
3684 * rtl.c (note_insn_name): Update.
3685 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
3686 cases; handle NOTE_INSN_EXPECTED_VALUE.
3687
3688 2000-04-17 Jakub Jelinek <jakub@redhat.com>
3689
3690 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
3691 leaf sibcall delay slot if flag_pic.
3692 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
3693
3694 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3695
3696 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
3697
3698 * fixproto: If fix-header fails, exit with an error.
3699
3700 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
3701
3702 * cse.c (struct check_depdendence_data): New.
3703 (check_dependence): New function.
3704 (invalidate): Use check_depdenence.
3705
3706 2000-04-16 Mark Mitchell <mark@codesourcery.com>
3707
3708 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
3709 UNITS_PER_WORD is unsigned.
3710
3711 * tree.h (struct tree_common): Remove misleading comment.
3712
3713 2000-04-16 Dave Pitts <dpitts@cozx.com>
3714
3715 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
3716 message in quotes. Otherwise, IBM's make program treats the '#' as the
3717 start of a comment and ignores the remainder of the line.
3718
3719 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
3720 upper case.
3721 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
3722 * cexp.y (initialize_random_junk): Likewise.
3723 * cppfiles.c (find_include_file): Cast alloca return value.
3724 * cppinit.c (initialize_standard_includes): Likewise.
3725 * cpplib.c (cpp_define, cpp_undef): Likewise.
3726 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
3727 * final.c (output_asm_insn): Allow for holes in EBCDIC.
3728 * fold-const.c (CHARMASK): New.
3729 (real_hex_to_f): Use it.
3730 * real.c (CHARMASK): New.
3731 (etoasc, asctoeg): Use it.
3732 (asctoeg): EBCDIC lower case characters preceed upper case.
3733
3734 * i370.c (mvs_add_label): Change spacing for coding conventions.
3735 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
3736 outputing case vectors.
3737 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
3738 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
3739 since vector in in the data CSECT.
3740 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
3741 * i370.md (Many patterns): Put the length in the XL directives.
3742 (movdi): Put back STM and MVC in definition.
3743 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
3744 pattern using the TCA.
3745 * oe.h (CPP_SPEC): Added to allow trigraphs.
3746 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
3747 not support the "long long" type.
3748
3749 2000-04-16 Mark Mitchell <mark@codesourcery.com>
3750
3751 * config/mips/mips-protos.h (mips_legitimate_address_p): New
3752 function.
3753 (mips_reg_mode_ok_for_base_p): Likewise.
3754 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
3755 (REG_OK_FOR_INDEX_P): Define unconditionally.
3756 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
3757 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
3758 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
3759 that GET_MODE_SIZE is unsigned.
3760 (mips_reg_mode_ok_for_base_p): Define.
3761 (mips_legitimate_address_p): Likewise. Adjust now
3762 that GET_MODE_SIZE is unsigned.
3763 (block_move_loop): Make the number of bytes unsigned.
3764 (expand_block_move): Likewise.
3765 (function_arg): Make the loop counter unsigned to match the
3766 boundary condition.
3767
3768 2000-04-16 Richard Henderson <rth@cygnus.com>
3769
3770 * rtl.h (enum insn_note): New enumeration. Subsume
3771 NOTE_INSN_DELETED and friends.
3772 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
3773 * rtl.c (note_insn_name): Tweak string order.
3774
3775 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
3776
3777 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
3778 to offset * 2.
3779
3780 * cpplex.c (output_line_command): Remove debugging prints.
3781 (cpp_output_tokens): Don't write out a zero-length buffer or
3782 try to see if it has a newline in it.
3783 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
3784 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
3785 the end of the loop. Use memmove. Don't read past the end of
3786 the buffer. Remove trailing newlines from error messages.
3787
3788 2004-04-16 Neil Booth <NeilB@earthling.net>
3789
3790 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
3791 * cpplib.c: Add new syntax flags to directive table, and
3792 supporting macros.
3793
3794 2000-04-15 Ulrich Drepper <drepper@redhat.com>
3795
3796 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
3797 using ret $N.
3798
3799 2000-04-15 David Edelsohn <edelsohn@gnu.org>
3800
3801 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
3802 * haifa-sched.c: Update -fsched-verbose comments to use "=".
3803
3804 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3805
3806 * Makefile.in (ggc-page.o): Now includes toplev.h.
3807 * ggc-page.c (toplev.h): Now included.
3808 (gc_time): Remove declaration.
3809 (ggc_collect): TIME now long.
3810 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
3811 others static.
3812 * toplev.h (gc_time, parse_time, gc_time): New declarations.
3813
3814 * toplev.c: Make *_time variable long to reduce chance of overflow.
3815 (TIMEVAR): Likewise for `otime'.
3816 (print_time): Arg is now long; compute percentage in FP and round.
3817 * toplev.h (print_time): Arg is long.
3818
3819 * tree.c: Minor whitespace changes.
3820
3821 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
3822 * configure: Rebuilt.
3823 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
3824 (__fixunsxfDI): Renamed from __fixunsxfdi.
3825 (__fixunsdfDI): Renamed from __fixunsdfdi.
3826 (__fixunssfDI): Renamed from __fixunssfdi.
3827 (__floatdisf): Use proper type in REP_BIT macro.
3828 (__fixunsxfSI): Renamed from __fixunsxfsi.
3829 (__fixunsdfSI): Renamed from __fixunsdfsi.
3830 (__fixunssfSI): Renamed from __fixunssfsi.
3831 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
3832 Change location of macros and upper-case some names as above.
3833 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
3834 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
3835
3836 * varasm.c (assemble_variable): Add cast to remove warning.
3837 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
3838
3839 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
3840 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
3841 region number to -1.
3842
3843 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
3844
3845 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
3846 call unshare_all_rtl.
3847
3848 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
3849
3850 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
3851
3852 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
3853 Use .s1 not .s0 for all FP instructions.
3854
3855 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
3856
3857 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
3858 interfaces.
3859 (safe_fwrite, output_line_command): New static functions.
3860 (cpp_expand_to_buffer): Now private to cpplib.
3861 (cpp_scan_buffer): Take a printer.
3862
3863 * cpphash.h: Update prototypes.
3864 * cpplib.h: Update prototypes.
3865 (cpp_printer): New.
3866 (cpp_buffer): Remove last_nominal_fname.
3867 (cpp_reader): Remove lineno.
3868
3869 * cppmain.c: Use a cpp_printer.
3870 * fix-header.c: No need to inhibit line commands. Call
3871 cpp_start_read with no printer.
3872
3873 * cpperror.c (cpp_notice_from_errno): Provide default name.
3874 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
3875 (find_include_file, cpp_read_file): Use make_IHASH.
3876 (file_cleanup): Set control_macro and clear
3877 input_stack_listing_current here.
3878 (_cpp_execute_include): Don't output entering-file marker.
3879 * cpphash.c (special_symbol): Look for the line number in the
3880 buffer, not the reader.
3881 (_cpp_macroexpand): No need to disable line commands.
3882 (_cpp_dump_definition): No need to generate line commands.
3883 (dump_hash_helper): Remove excess newline from output.
3884 * cppinit.c (dump_special_to_buffer): No need to generate line
3885 commands.
3886 (cpp_printer_init): New.
3887 (cpp_start_read): Take a printer, and start it up if it's not
3888 NULL. No need to generate line commands.
3889 (cpp_finish): Expect no buffers stacked at all. Take a
3890 printer argument, and flush the output buffer if it's not
3891 NULL.
3892 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
3893 Don't put two hashes at the beginning of an assertion.
3894 (cpp_get_token): Don't increment pfile->lineno or emit line
3895 commands here. Return EOF if there's no buffer when we get
3896 EOF.
3897 * cpplib.c (do_define, skip_if_group):
3898 No need to disable line commands.
3899 (_cpp_output_line_command): Delete function.
3900 (do_line): Don't emit line commands here, but set things up so
3901 they will be emitted if necessary. Use _cpp_fake_ihash to
3902 make unique nominal_fnames if necessary.
3903 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
3904 with 0 for column, not -1.
3905 (_cpp_handle_eof): Don't set the control macro here. Don't
3906 clear input_stack_listing_current here. Don't emit line
3907 commands.
3908
3909 2000-04-14 Geoff Keating <geoffk@cygnus.com>
3910
3911 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
3912 always, use the default SVR4 start address.
3913
3914 * config/rs6000/linux.h (LINK_SPEC): Don't define.
3915 (LINK_SHLIB_SPEC): Define.
3916 (LINK_START_DEFAULT_SPEC): Define.
3917 (LINK_OS_DEFAULT_SPEC): Define.
3918
3919 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
3920
3921 * config/rs6000/eabi.asm (__eabi): Call __init rather than
3922 __do_global_ctors to handle constructors.
3923 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3924 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3925 (STARTFILE_MVME_SPEC): Likewise.
3926 (STARTFILE_SIM_SPEC): Likewise.
3927 (ENDFILE_ADS_SPEC): Use crtend.
3928 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3929 (ENDFILE_MVME_SPEC): Likewise.
3930 (ENDFILE_SIM_SPEC): Likewise.
3931 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3932 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3933 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3934 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3935 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3936 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3937 (CRTSTUFF_T_CFLAGS_S): Define.
3938 * config/rs6000/eabi-ctors.c: Delete.
3939
3940 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3941 boundary.
3942 (__fini): Likewise.
3943 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3944 boundary.
3945 (__fini): Likewise.
3946
3947 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
3948
3949 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3950 plus mask size is smaller or equal to the mode size.
3951
3952 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3953
3954 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3955 not yet set.
3956
3957 * expr.c (reload.h): Now included.
3958 (emit_block_move): Set volatile_ok when checking for movstr.
3959 (emit_move_1): Check for replacements in addresses in multi-word case.
3960 * Makefile.in (expr.o): Now includes reload.h.
3961
3962 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3963 Never have a LIBCALL end a basic block.
3964 (find_basic_blocks_1): Likewise.
3965 Reorganize CALL_INSN cases.
3966
3967 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3968
3969 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
3970
3971 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3972 completers from mov.ret instruction.
3973
3974 2000-04-14 Richard Henderson <rth@cygnus.com>
3975
3976 * fold-const.c (extract_muldiv): Don't distribute and widen
3977 multiply across plus for non-sizetype unsigned types.
3978
3979 2000-04-14 Richard Henderson <rth@cygnus.com>
3980
3981 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3982 If the original source is dead in the incr insn, it's dead now.
3983
3984 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3985
3986 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3987 see if DECL_BIT_FIELD needs to still be set.
3988
3989 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3990
3991 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3992 print_int_cst_octal with something that's not an INTEGER_CST.
3993
3994 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3995 and not a SUBREG to a FLOAT rtl.
3996
3997 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
3998
3999 * emit-rtl.c (try_split): Avoid infinite loop if the split
4000 results in a sequence that contains the original insn.
4001
4002 2000-04-13 Andreas Jaeger <aj@suse.de>
4003
4004 * config/mips/mips.c (expand_block_move): Pass alignment
4005 argument to move_by_pieces in bits, not bytes.
4006
4007 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
4008 __pic__ for little endian.
4009
4010 2000-04-13 Andreas Jaeger <aj@suse.de>
4011
4012 * config/i386/i386-protos.h: Add prototype for
4013 uno_comparison_operator.
4014
4015 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
4016
4017 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
4018 * calls.c (ECF_PURE): New flag.
4019 (emit_call_1): Handle ECF_PURE calls.
4020 (initialize_argument_information): Unset ECF_PURE flag too.
4021 (precompute_arguments): Precompute for ECF_PURE too.
4022 (expand_call): Handle ECF_PURE calls too.
4023 (emit_library_call_value_1): Rename no_queue argument to fn_type,
4024 accept value of 2 as pure function.
4025 (emit_library_call_value, emit_library_call): Rename no_queue argument
4026 to fn_type.
4027 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
4028
4029 * tree.h (DECL_IS_PURE): New macro.
4030 (struct tree_decl): Add pure_flag.
4031 * c-common.c (enum attrs): Add attribute "pure".
4032 (init_attributes): Initialize attribute "pure"
4033 (decl_attributes): Handle attribute "pure".
4034 * extend.texi (Attribute "pure"): Document.
4035 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
4036 in pure function.
4037 (flags_from_decl_or_type): Support attribute "pure".
4038
4039 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
4040
4041 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
4042 the token except for numbers and identifiers.
4043
4044 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
4045
4046 * i386.c (ix86_expand_binary_operator,
4047 ix86_expand_unary_operator): Check no_new_pseudos
4048 instead of reload_in_progress and reload_completed.
4049 (ix86_split_ashldi, ix86_split_ashrdi,
4050 ix86_split_lshrdi): Check no_new_pseudos instead
4051 of reload_completed.
4052
4053 2000-04-12 Jeffrey A Law (law@cygnus.com)
4054
4055 * function.c (purge_addressof): Unshare any shared rtl created by
4056 purge_addressof and its children.
4057
4058 2000-04-12 Mark Mitchell <mark@codesourcery.com>
4059
4060 * function.c (aggregate_value_p): VOID_TYPE nodes are never
4061 aggregates.
4062
4063 2000-04-05 Andreas Jaeger <aj@suse.de>
4064
4065 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
4066 not compiling PIC code, add flags for mabi=64.
4067 (SUBTARGET_CPP_SIZE_SPEC): New.
4068 (SUBTARGET_CPP_SPEC): New.
4069 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
4070 for MIPS/Linux and lots of code needs these defines.
4071
4072 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
4073
4074 * reorg.c (fill_slots_from_thread): Check side_effects_p when
4075 trying the "opposite arithmetic" approach.
4076
4077 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4078
4079 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
4080 (struct sh_args): Add new field force_mem.
4081 (INIT_CUMULATIVE_ARGS): Initialize it.
4082 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
4083
4084 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
4085
4086 * calls.c (expand_call): Do not reverse args in "equal from" field.
4087 (emit_library_call_value_1): Emit_libcall_block for const and pure
4088 function.
4089
4090 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4091
4092 * reload1.c (reload_combine): Don't enable optimization for fixed
4093 registers when encountering a BARRIER.
4094
4095 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
4096
4097 * builtins.c (expand_builtin_memcmp): Do expansion even with
4098 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
4099
4100 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
4101 stack is propertly aligned; add sanity checking for aligned
4102 stack pointer.
4103 (expand_library_call_value_1): Add sanity checking for aligned
4104 stack pointer.
4105
4106 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
4107
4108 * calls.c (emit_library_call_value_1): Change 3rd arg to
4109 locate_and_pad_parm to disregard the setting of partial.
4110
4111 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4112
4113 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
4114
4115 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
4116 CALL_INSN from the normal case.
4117
4118 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
4119
4120 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4121 New global variables.
4122 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
4123 adjustment.
4124 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4125 Declare,
4126 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
4127 TARGET_ADD_ESP_8): New macros.
4128 * i386.md: Add peep2s to convert esp adjustments to push and pop
4129 instructions.
4130 (pushsi_prologue, popsi_epilogue): New patterns.
4131
4132 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4133
4134 * real.c (toe64): Remove stale #endif from the last change.
4135
4136 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
4137
4138 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
4139 * real.c (toe64): Revert previous change.
4140
4141 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4142
4143 * objc/objc-act.c: Include ggc.h.
4144 (objc_tree_index, objc_global_trees): Convert most of the
4145 static tree variables into a static array with previous names
4146 as defines.
4147 (objc_ellipsis_node): New variable.
4148 (lang_init): Call objc_act_parse_init and c_parse_init.
4149 Create objc_ellipsis_node.
4150 (build_selector_translation_table): Use objc_ellipsis_node instead
4151 of (tree)1.
4152 (hack_method_prototype): Likewise.
4153 (get_arg_type_list): Likewise.
4154 (start_method_def): Likewise.
4155 (continue_method_def): Likewise.
4156 (gen_method_decl): Likewise.
4157 (ggc_mark_imp_list): New function.
4158 (ggc_mark_hash_table): New function.
4159 (objc_act_parse_init): New function.
4160 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
4161 * c-parse.in (c_parse_init): For objc add roots of objc specific
4162 local tree variables.
4163 * objc/objc-parse.y: Rebuilt.
4164 * objc/objc-parse.c: Rebuilt.
4165 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
4166
4167 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
4168
4169 * cse.c (delete_trivially_dead_insns): Also delete insns
4170 that copy a register to itself where the destination is
4171 a strict_low_part.
4172
4173 2000-04-11 Richard Henderson <rth@cygnus.com>
4174
4175 * flow.c (struct propagate_block_info): Add new_dead, new_live.
4176 (propagate_block): Initialize them. Use them in parallel instead
4177 of one tmp variable, ie revert much of the 0408 and 0407 functional
4178 changes, but keep the structural changes.
4179 (mark_set_regs): Take new_dead from propagate_block_info instead.
4180 (mark_set_1, mark_set_reg): Likewise.
4181 (mark_used_regs): Likewise with new_live.
4182 (mark_used_reg): Likewise. Revert 0408 change.
4183
4184 2000-04-11 Nick Clifton <nickc@cygnus.com>
4185
4186 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
4187 restriction.
4188 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
4189
4190 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4191
4192 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
4193 const section to output a CONSTRUCTOR based on the same conditions
4194 used for VAR_DECLs.
4195
4196 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
4197
4198 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
4199 * pa/pa-protos.h (output_call): Add additional argument indicating
4200 if the call is a sibling/tail call.
4201 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
4202 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
4203 (function_arg, function_arg_partial_nregs): Likewise
4204 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
4205 (emit_move_sequence): Zero extend certain constants as needed
4206 for TARGET_64BIT.
4207 (compute_zdepdi_operands, output_64bit_and): New functions.
4208 (output_64bit_ior, function_arg): Likewise.
4209 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
4210 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
4211 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
4212 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
4213 (output_bvb): Likewise.
4214 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
4215 (output_call): New argument 'sibcall'. Generate sibcall sequences
4216 as needed.
4217 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
4218 (ouput_arg_descriptor): Do not emit argument descriptors for
4219 TARGET_64BIT.
4220 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
4221 defined.
4222 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
4223 (FUNCTION_OK_FOR_SIBALL): Define.
4224 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
4225 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
4226 (CPP_SPEC): Use new spec infrastructure.
4227 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
4228 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
4229 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
4230 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
4231 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
4232 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
4233 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
4234 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
4235 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
4236 (FUNCTION_ARG); Call out to C code.
4237 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
4238 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
4239 (MIN_UNITS_PER_WORD): Likewise.
4240 * pa/pa.md (cmpdi): New expander.
4241 (scc patterns, movstrsi): Not available for TARGET_64BIT.
4242 (64bit conditional arithmetic): New patterns.
4243 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
4244 (movsicc): Not available if modes on all the operands to not match.
4245 (movdicc): New expander and associated patterns.
4246 (64bit branches): New patterns.
4247 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
4248 (pre_ldd, post_std): New patterns.
4249 (64bit addil, load low part): New patterns.
4250 (special movsf constant): Not available for TARGET_64BIT.
4251 (movsf, movdf expanders): Force constants into memory.
4252 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
4253 (64bit movdf/movdi patterns): New patterns.
4254 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
4255 for TARGET_64BIT.
4256 (extendqidi2, extendhidi2, extendsidi2): Similarly.
4257 (adddi3 expander): Allow "arith_operand" for second input.
4258 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
4259 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
4260 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
4261 (muldi3): New expander for TARGET_64BIT.
4262 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
4263 for TARGET_64BIT.
4264 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
4265 patterns for TARGET_64BIT.
4266 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
4267 patterns for TARGET_64BIT.
4268 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
4269 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
4270 (sibcall_epilogue): New expander.
4271 (casesi): Tweak for TARGET_64BIT.
4272 (call expanders): Set & use the outgoing argument pointer. Use the
4273 64bit call patterns as needed. Add additional arg to output_call.
4274 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
4275 (sibcall, sibcall_internal_symref): New expanders.
4276 (sibcall_value, sibcall_value_internal_symref
4277 (interspace_jump): Turn into an expander + matching patterns.
4278 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
4279 * pa/pa64-regs.h: Eliminate trigraph sequences.
4280 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
4281
4282 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
4283
4284 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
4285 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
4286 cpp_token with cpp_ttype everywhere.
4287 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
4288 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
4289 CPP_BUF_COL. Line and column numbers are unsigned int, not
4290 long.
4291 * cpplex.c (cpp_buf_line_and_col): Delete.
4292 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
4293 'long lineno' to 'unsigned int lineno'.
4294 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
4295
4296 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4297
4298 * extend.texi: ISO C99 is not a draft anymore.
4299 * invoke.texi: ISO C++ is not a draft anymore.
4300 * cpp.texi: __cplusplus is required by the ISO standard.
4301
4302 * extend.texi (-fthis-is-variable): Undocument.
4303 * flags.h (warn_template_debugging): Remove declaration.
4304 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
4305 -Wenum-clash, -Wtemplate-debugging): Undocument.
4306
4307 2000-04-10 Nick Clifton <nickc@cygnus.com>
4308
4309 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
4310 integer.
4311 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
4312 integer.
4313 (ARM_SIGN_EXTEND): Use HOST_UINT.
4314 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
4315 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
4316 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
4317 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
4318
4319 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
4320 (arm_gen_constant): Use HOST_UINT.
4321 (arm_canonicalize_constant): Use HOST_UINT.
4322 (arm_reload_in_hi): Use HOST_UINT.
4323 (arm_reload_out_hi): Use HOST_UINT.
4324 (output_multi_immediate): Use HOST_UINT.
4325 (int_log2): Use HOST_UINT.
4326 (arm_poke_function_name): Use HOST_UINT.
4327 (arm_output_epilogue): Use arm_volatile_func().
4328 (output_thumb_prologue): Use arm_strip_name_encoding().
4329
4330 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4331
4332 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
4333 of sequence point problems.
4334
4335 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
4336
4337 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
4338 Recomment.
4339 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
4340
4341 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4342
4343 * sbitmap.h: Whitespace changes and use upper-case macro args.
4344 (struct simple_bitmap_def): All sizes now unsigned.
4345 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
4346 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
4347 (sbitmap_vector_alloc): Parms and local vars now unsigned.
4348 (sbitmap_zero): Cast bzero arg to PTR.
4349 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
4350 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
4351 loop to make structure clearer.
4352 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
4353 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
4354 (sbitmap_a_and_b_or_c): Likewise.
4355 (sbitmap_intersection_of_succs): Minor cleanups.
4356 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
4357 (sbitmap_union_of_preds): Likewise.
4358 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
4359 (debug_sbitmap): New function.
4360
4361 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
4362 * c-typeck.c (convert_for_assignment): Likewise.
4363
4364 * expmed.c (init_expmed): Don't free objects we make.
4365 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
4366
4367 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
4368 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
4369
4370 * gcse.c (expr_hash_table_size): Now unsigned.
4371 (compute_ae_gen): Local variable `i' now unsigned.
4372 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
4373 (compute_transout, hoist_code): Likewise.
4374 (compute_local_properties): Likewise, also hash_table_size.
4375 (alloc_expr_hash_table): N_INSNS now unsigned.
4376 (delete_null_pointer_checks): Mark arg F as unused.
4377
4378 * regrename.c: Minor cleanups, including chang some variables
4379 to unsigned int.
4380
4381 2000-04-10 Neil Booth <NeilB@earthling.net>
4382
4383 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
4384 than GETC ().
4385 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
4386
4387 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4388
4389 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
4390 __classof__, and __headof__ from the list of gnu keywords.
4391 (-ansi): Remove -foperator-names from list of implied options.
4392 Do not call it ANSI C++.
4393 (-foperator-names): Document as -fno-operator-names.
4394
4395 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
4396
4397 * cpphash.c (timestamp): Delete.
4398 (del_HASHNODE): If type is T_MCONST, free value.cpval.
4399 (special_symbol): Remove unnecessary braces. Remove
4400 T_VERSION. Treat T_STDC like T_CONST unless
4401 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
4402 when one is encountered, then convert them into T_MCONST
4403 nodes.
4404 * cppinit.c (builtin_array): version_string is T_MCONST.
4405 __STDC__ has a "1" in its cpval. Don't have a terminator
4406 entry. Clean up which entries are dumped.
4407 (initialize_builtins): Only __STDC__ gets the special
4408 -traditional treatment. Count the length of builtin_array.
4409 Render version_string here.
4410 * cpphash.h: Remove T_VERSION. Add T_MCONST.
4411 * cpplib.h (struct cpp_reader): Remove timebuf.
4412
4413 2000-04-09 Richard Henderson <rth@cygnus.com>
4414
4415 * genrecog.c (pred): Update comparison_operator for the unordered
4416 operators.
4417
4418 * config/i386/i386.c (no_comparison_operator): Disallow unordered
4419 operators.
4420 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
4421 (uno_comparison_operator): New.
4422 (put_condition_code): Handle UNORDERED/ORDERED.
4423 (unsigned_comparison): Likewise.
4424 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
4425 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
4426 (ix86_expand_fp_compare): Use them. Take scratch as argument,
4427 update all callers. Handle all 8 unordered operators.
4428 (ix86_expand_setcc): Lose the unordered argument, update all callers.
4429 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
4430 * config/i386/i386.h (PREDICATE_CODES): Update.
4431 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
4432 (ix86_expand_branch, ix86_expand_setcc): Update.
4433 * config/i386/i386.md (sunordered, sordered): New.
4434 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
4435 (bunordered, bordered): New.
4436 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
4437 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
4438 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
4439
4440 2000-04-09 Philip Blundell <philb@gnu.org>
4441
4442 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
4443
4444 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
4445
4446 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
4447 fix_truncxfhi2): New patterns.
4448 * i386.c (output_fix_trunc): Handle converting to HImode.
4449
4450 2000-04-08 Alex Samuel <samuel@codesourcery.com>
4451
4452 * ssa.c (convert_to_ssa): Eliminate dead code when calling
4453 life_analysis.
4454 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
4455 (for_each_successor_phi): Change parameter to basic_block.
4456 (coalesce_regs_in_successor_phi_nodes): Likewise.
4457 (coalesce_regs_in_copies): Likewise.
4458 (compute_coalesced_reg_partition): Use basic_block instead of index.
4459 * rtl.h (convert_to_ssa): Delete.
4460 (convert_from_ssa): Likewise.
4461 (successor_phi_fn): Likewise.
4462 (for_each_successor_phi): Likewise.
4463 (in_ssa_form): Likewise.
4464 * basic-block.h (convert_to_ssa): Moved from rtl.h.
4465 (convert_from_ssa): Likewise.
4466 (successor_phi_fn): Likewise.
4467 (in_ssa_form): Likewise.
4468 (for_each_successor_phi): Likewise. Change parameter to basic_block.
4469 * flow.c (calculate_global_regs_live): Pass a basic_block to
4470 for_each_successor_phi.
4471
4472 2000-04-08 Richard Henderson <rth@cygnus.com>
4473
4474 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
4475 was modified in the current insn.
4476
4477 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
4478
4479 * arm/thumb.md: Delete.
4480 * arm/thumb-protos.h: Delete.
4481
4482 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
4483
4484 Merge changes from merged-arm-thumb-backend-branch onto trunk.
4485
4486 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
4487
4488 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
4489 into branch.
4490
4491 * arm.md (nop): Use the standard RTL expression. Don't code as a
4492 define_expand.
4493 (*arm_nop, *thumb_nop): Delete.
4494
4495 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
4496 constants. Use casts instead.
4497 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
4498 output_multi_immediate, arm_poke_function_name): Likewise.
4499 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
4500 MASK_RETURN_ADDDR): Likewise.
4501
4502 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
4503
4504 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
4505 into branch.
4506
4507 * arm.md (eh_epilogue): New function.
4508 * arm.h (struct machine_function): Move to here ...
4509 * arm.c: ... from here.
4510 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
4511 (thumb_exit): Extra parameter eh_ofs. All callers changed.
4512 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
4513
4514 2000-03-30 Nick Clifton <nickc@cygnus.com>
4515
4516 * config/arm/semi.h (ASM_SPEC): Restore definition.
4517 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4518
4519 * config/arm/elf.h (ASM_SPEC): Restore definition.
4520 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4521
4522 * config/arm/arm.h (ASM_SPEC): Remove definition.
4523 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
4524
4525 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
4526
4527 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
4528
4529 2000-03-24 Nick Clifton <nickc@cygnus.com>
4530
4531 Various formating tidyups, elimination of compile time
4532 warnings and synchronisation with internal sources:
4533
4534 * config/arm/arm-protos.h (assemble_align): Add prototype.
4535 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4536 (gen_comapre_reg): Rename to arm_gen_compare_reg.
4537 (arm_return_addr_rtx): Rename to arm_return_addr.
4538
4539 * config/arm/arm.c: Include except.h.
4540 Define shorter typenames for strict minipool_node and struct
4541 minipool_fix.
4542 (arm_return_in_memory): For WinCE return all structures <= 32 bits
4543 in memory.
4544 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4545 (gen_comapre_reg): Rename to arm_gen_compare_reg.
4546
4547 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4548 already defined.
4549 (ASM_SPEC): Define if not already defined.
4550 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
4551
4552 * config/arm/arm.md: Rename references to gen_rotated_half_load to
4553 arm_gen_rotated_half_load, and references to gen_comapre_reg to
4554 arm_gen_compare_reg.
4555 (indirect_jump): Only accept register operands.
4556 (load_indirect_jump): Keep this pattern since combine can generate
4557 it.
4558
4559 * config/arm/coff.h: Include aout.h.
4560 (MULTILIB_DEFAULTS): Only define if not already defined.
4561
4562 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
4563 into arm.h (so that COFF ports can support thumb based aliases).
4564 (ASM_SPEC): Move definition into arm.h
4565
4566 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
4567 redundant apcs spec.
4568 (ASM_SPEC): Move definition to arm.h
4569
4570 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
4571
4572 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
4573 for entries in the .bss section
4574
4575 2000-03-23 Nick Clifton <nickc@cygnus.com>
4576
4577 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
4578 to thumb_far_jump_used_p.
4579
4580 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
4581 single integer parameter.
4582
4583 * config/arm/arm.c (struct machine_function): Add two new
4584 fields, 'far_jump_used' and 'arg_pointer_live'.
4585 (thumb_far_jump_used_p): Once the decision has been made that
4586 far jumps might be used, always return true.
4587 If being called from the initial elimination offset macro then
4588 do not bother to perform the test if the arg pointer is not
4589 being used.
4590 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
4591 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
4592
4593 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
4594
4595 * arm.c (output_return_instruction): Handle more cases where we can
4596 return from a function with an ldr instruction.
4597 (arm_output_epilogue): Likewise.
4598
4599 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
4600 if we need to push a large stack frame and there are no callee-saved
4601 registers.
4602
4603 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
4604 in ARM code if the frame pointer has been eliminated.
4605
4606 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
4607 unspec_volatile arguments to avoid duplicates.
4608 (consttable_1, consttable_2): Fixes for big-endian mode.
4609
4610 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
4611 as appropriate.
4612
4613 Re-write constant pool code.
4614 * arm.c (minipool_node, minipool_fix): New types.
4615 (minifix): Delete type.
4616 (arm_add_minipool_constant): Delete.
4617 (arm_compute_minipool_offsets, arm_find_barrier,
4618 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
4619 (get_jump_table_size): Now returns HOST_WIDE_INT.
4620 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
4621 functions.
4622 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
4623 (assign_minipool_offsets, arm_print_value): Likewise.
4624 (dump_minipool): Rewrite.
4625 (arm_barrier_cost): New function.
4626 (create_fix_barrier): New function.
4627 (push_minipool_barrier): New function.
4628 (push_minipool_fix): Record additional information about the fixup
4629 required.
4630 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
4631 check the mode of what needs fixing.
4632 (arm_reorg): Rewrite.
4633
4634 2000-03-08 Nick Clifton <nickc@cygnus.com>
4635
4636 * config/arm/arm.md (indirect_jump): Force constant addresses into
4637 a register.
4638
4639 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
4640
4641 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
4642
4643 2000-02-24 Nick Clifton <nickc@cygnus.com>
4644
4645 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
4646 adjust is word aligned.
4647 (thumb_expand_epilogue): Make sure that stack adjust is word
4648 aligned.
4649
4650 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
4651
4652 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
4653
4654 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
4655 pointer relative addresses.
4656
4657 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
4658
4659 * arm.c (find_barrier): Find the last barrier within the allowed
4660 range.
4661
4662 2000-02-09 Nick Clifton <nickc@cygnus.com>
4663
4664 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
4665
4666 2000-02-09 Nick Clifton <nickc@cygnus.com>
4667
4668 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
4669 ARM_FUNCTION_PROFILER.
4670
4671 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
4672 ARM_FUNCTION_PROFILER.
4673
4674 * config/arm/linux-oldld.h: Imported from mainline sources.
4675
4676 2000-02-07 Nick Clifton <nickc@cygnus.com>
4677
4678 * config/arm/lib1funcs.asm: Merge in thumb functions from
4679 lib1thumb.asm.
4680
4681 * config/arm/lib1thumb.asm: Delete.
4682
4683 2000-02-04 Nick Clifton <nickc@cygnus.com>
4684
4685 * config/arm/arm.c: Sychronised with current Red hat local
4686 sources.
4687 * config/arm/arm.h: Ditto.
4688 * config/arm/arm-protos.h: Ditto.
4689
4690 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
4691
4692 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
4693
4694 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
4695 byte stores.
4696
4697 2000-02-02 Nick Clifton <nickc@cygnus.com>
4698
4699 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
4700
4701 * config/arm/arm.md (epilogue): Fix rtl checking abort because
4702 (return) was emited using an emit_insn() call.
4703
4704 2000-01-31 Nick Clifton <nickc@cygnus.com>
4705
4706 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
4707 thumb stack frame.
4708 (thumb_exit): Move frame pointer back into hard frame pointer
4709 register if backtracing is being used.
4710
4711 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
4712
4713 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
4714 into branch.
4715
4716 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
4717
4718 * config/arm/arm.md (neg_pool_offset): Provide default for new
4719 attribute.
4720 (arm_movsi_insn): Add neg_pool_offset attribute.
4721 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
4722 rtx for the insn that starts the scan and an unsigned long for its
4723 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
4724 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
4725 instructions in *PINSERTED.
4726 (struct minipool_fixup): Add MIN_ADDRESS elt.
4727 (sort_fixups): Compute it.
4728 (arm_reorg): Changes to support inserting pools before the insn to be
4729 fixed up.
4730
4731 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
4732
4733 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
4734 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
4735 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
4736
4737 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
4738
4739 * config/arm/semi.h (TARGET_VERSION): Do not define if already
4740 defined.
4741 (TARGET_DEFAULT): Do not define if already defined.
4742
4743 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
4744
4745 * config/arm/arm.md (anddi3): Allow disjoint source operands.
4746 (iordi3): Allow disjoint source operands.
4747 (xordi3): Allow disjoint source operands.
4748 (negdi2): Permit construction for ARM and Thumb.
4749 (arm_negdi2): Renamed version of old negdi2 pattern.
4750 (thumb_negdi2): New pattern: Only permit non-overlapping
4751 source and destination.
4752
4753 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
4754
4755 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
4756 scratch low register so that it will not be deleted.
4757
4758 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
4759
4760 * config/arm/pe.h (ARM_PE): Define.
4761
4762 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
4763 interfacearm attribute if this is a PE toolchain.
4764 (output_return_instruction): Do not emit anything if the function
4765 has the naked attribute set.
4766 (is_called_in_ARM_mode): If the function has the interfacearm
4767 attribute then return true.
4768 (thumb_expand_prologue): Do not generate a prologue for naked
4769 functions.
4770 (thumb_expand_epilogue): Do not generate an epilogie for a naked
4771 function.
4772 (output_thumb_prologue): Do not bother if the function is naked.
4773 Strip PE encoding from function name before emitting.
4774
4775 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
4776
4777 * arm.md (pic_load_addr): Fix constraints.
4778
4779 * arm.md (casesi_insn): Fix mis-applied patch.
4780
4781 * arm.md ("core" function unit): Add rules for single- and
4782 multi-cycle insns.
4783 (All TARGET_THUMB patterns): Add "type" attribute information
4784 where needed.
4785 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
4786 the following insn is a CALL.
4787
4788 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
4789 pointer.
4790 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
4791 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
4792 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
4793
4794 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
4795
4796 * config/arm/linux-gas.h: oops - this file was missed out when the
4797 branch was created...
4798
4799 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
4800
4801 * thumb.c: Deleted. Move contents to ...
4802 * arm.c: ... here.
4803 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
4804 rule for thumb.o
4805 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
4806 * configure: Regen.
4807
4808 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
4809 declare a prototype for asm_output_align();
4810
4811 * arm.c (thumb_condition_code): Delete.
4812 (arm_print_operand): Always use arm_condition_code array.
4813
4814 * arm.c (thumb_return_addr_rtx): Delete.
4815 (arm_save_machine_status, arm_restore_machine_status): Delete.
4816 (arm_init_machine_status, arm_mark_machine_status): New functions.
4817 (arm_init_expanders): Update accordingly.
4818 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
4819 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
4820 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
4821
4822 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
4823
4824 * configure.in : Fix arm-*-aout target to use new t-arm-aout
4825 script.
4826 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
4827 targets.
4828
4829 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
4830
4831 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
4832 stack backtrace structure.
4833
4834 * config/arm/arm-protos.h: Add prototypes for functions defined in
4835 arm/pe.h.
4836
4837 * config/arm/arm.c (arm_override_options): Fix selection of
4838 attributes of default processor.
4839
4840 * config/arm/coff.h: Delete needless #include.
4841
4842 * config/arm/pe.c: Delete unused code.
4843
4844 * config/arm/pe.h (CPP_DEFINES): Delete
4845 (SUBTARGET_CPP_SPEC): Define.
4846 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4847
4848 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
4849
4850 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
4851
4852 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
4853 updated.
4854 (CAN_DEBUG_WITHOUT_FP): Define.
4855 (FIXED_REGISTERS): Make r11 call-saved.
4856 (CALL_USED_REGISTERS): Likewise.
4857 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
4858 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
4859 frame-pointer is required.
4860 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
4861 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
4862 if the target normally needs a stack frame in non-leaf functions.
4863 (use_return_insn): Correct logic for determining when a return
4864 instruction can be used.
4865 (output_return_instruction): Handle the frame-pointer register as
4866 a normal register when not TARGET_APCS_FRAME.
4867 (arm_output_prologue): Likewise.
4868 (arm_output_epilogue): Likewise.
4869 (output_func_epilogue): Likewise.
4870 (arm_expand_prologue): Likewise.
4871 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
4872
4873 * arm.c (use_return_insn): No need to check floating point regs if
4874 TARGET_SOFT_FLOAT.
4875 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
4876 the code of value stored in the minipool array.
4877 (arm_add_minipool_constant): Likewise.
4878
4879 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4880
4881 * basic-block.h (conflict_graph_enum_fn): K&R fix.
4882
4883 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4884
4885 * tree.c (tree_expr_nonnegative_p): New function.
4886
4887 * tree.h (tree_expr_nonnegative_p): Declare.
4888
4889 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
4890 elide some sign_compare warnings.
4891 (build_conditional_expr): Likewise.
4892
4893 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
4894
4895 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
4896
4897 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
4898 * i386.c (print_operand): Use the proper suffix for a 387 HImode
4899 operand. Abort if a 387 operand has an unsupported size.
4900
4901 2000-04-08 Neil Booth <NeilB@earthling.net>
4902
4903 * cppexp.c (parse_charconst): Null does not end character
4904 constants.
4905 * cppinit.c (ISTABLE): Null character handled as whitespace.
4906 * cpplex.c (null_warning): new function.
4907 (skip_string): Emit warning if nulls encountered.
4908 (_cpp_skip_hspace): Emit warning if nulls encountered.
4909 (_cpp_lex_token): Emit warning if nulls encountered. Drop
4910 them.
4911 * cpp.texi: Update.
4912
4913 2000-04-07 Richard Henderson <rth@cygnus.com>
4914
4915 * flow.c (loop_depth): Remove.
4916 (reg_next_use, cc0_live, mem_set_list): Replace with ...
4917 (struct propagate_block_info): New.
4918 (life_analysis): Don't allocate reg_next_use.
4919 (propagate_block_delete_insn): Break out of propagate_block.
4920 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
4921 (propagate_block_delete_libcall): Likewise.
4922 (propagate_block): Create a propagate_block_info struct to pass
4923 to subroutines. Allocate one not two temporary regsets. Don't
4924 clobber memory for const calls. Look for clobbers in
4925 CALL_INSN_FUNCTION_USAGE.
4926 (mark_set_regs): Recognize COND_EXEC.
4927 (mark_set_reg): Break out of mark_set_1.
4928 (mark_used_reg): Break out of mark_used_regs.
4929 (mark_used_regs): Recognize COND_EXEC.
4930 (insn_dead_p): Use propagate_block_info struct.
4931 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4932 (find_auto_inc, try_pre_increment_1): Likewise.
4933 (print_rtl_with_bb): Dump regs live at end too.
4934 (count_reg_sets_1): Pass in loop_depth.
4935 (count_reg_sets, count_reg_references): Likewise.
4936 (recompute_reg_usage): Provide it.
4937
4938 2000-04-07 Richard Henderson <rth@cygnus.com>
4939
4940 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4941 not the raw files.
4942
4943 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
4944
4945 * cpplib.c (do_elif): Skip the rest of the line if we're
4946 not going to bother evaluating it.
4947 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
4948 to avoid pointless calls to the lexer.
4949
4950 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
4951
4952 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4953
4954 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
4955
4956 * calls.c (expand_call): emit_queue if we're trying a sibcall.
4957
4958 2000-04-07 Jakub Jelinek <jakub@redhat.com>
4959
4960 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4961
4962 2000-04-06 Geoff Keating <geoffk@cygnus.com>
4963
4964 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4965 crtend so they can be multilibbed.
4966 (STAGESTUFF): Remove s-crt and s-crtS.
4967
4968 2000-04-07 Richard Henderson <rth@cygnus.com>
4969
4970 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4971 if we discover we need a pseudo and no_new_pseudos is true.
4972 * config/alpha/alpha.md (ne:DI insn): New.
4973 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4974
4975 2000-04-07 Richard Henderson <rth@cygnus.com>
4976
4977 * rtl.def (COND_EXEC): New.
4978 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4979 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4980
4981 * genconfig.c (have_cond_arith_flag): Remove.
4982 (have_cond_exec_flag): New.
4983 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4984 (main): Print HAVE_conditional_execution.
4985
4986 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4987 (sched_analyze_insn, print_pattern): Likewise.
4988 * reload.c (find_equiv_reg): Likewise.
4989 * rtlanal.c (reg_referenced_p): Likewise.
4990 (note_stores, dead_or_set_regno_p): Likewise.
4991 (reg_overlap_mentioned_p): Rewrite to use a switch.
4992
4993 * ggc.h (struct rtx_def): Forward declare.
4994
4995 * print-rtl.c (debug_rtx_range): New.
4996 * rtl.h (debug_rtx_range): Declare.
4997
4998 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4999
5000 * gcse.c (gcse_main): Don't rebuild the CFG here.
5001 (delete_null_pointer_checks): Likewise.
5002 * ssa.c (convert_to_ssa): Likewise.
5003 * toplev.c (rest_of_compilation): Do it here instead. Combine
5004 sequential calls to TIMEVAR. Consistently use `insns' instead of
5005 `get_insns()'. Always split insns after reload when optimizing.
5006
5007 * basic-block.h (merge_blocks_nomove): Declare.
5008 (tidy_fallthru_edge): Declare.
5009 * flow.c (merge_blocks_nomove): Document as merging into previous
5010 blocks. Remove cruft from between blocks; remove all edges out of A.
5011 (tidy_fallthru_edge): Export.
5012
5013 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5014
5015 * ssa.c (compute_conservative_reg_partition): Declare with
5016 void arguments.
5017 * toplev.c (clean_dump_file): Remove previously-deleted function
5018 inadvertantly merged back in.
5019 * conflict.c (conflict_graph_add): Use a single call to
5020 htab_find_slot to look up and insert.
5021
5022 2000-04-06 Richard Henderson <rth@cygnus.com>
5023
5024 * genrecog.c (*): Rename _last_insn to last_insn.
5025 (make_insn_sequence): Set the position of the peephole2 C test
5026 to be at the last insn.
5027
5028 2000-04-06 Richard Henderson <rth@cygnus.com>
5029
5030 * flow.c (compute_flow_dominators): Free worklist.
5031
5032 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
5033
5034 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
5035
5036 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5037
5038 * rtl.h (INSN_P): New macro.
5039 (successor_phi_fn): New typedef.
5040 (for_each_successor_phi): New prototype.
5041 (in_ssa_form): New variable.
5042 (PHI_NODE_P): Likewise.
5043 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
5044 phi nodes in successors.
5045 (mark_used_regs): Add PHI case.
5046 (set_phi_alternative_reg): New function.
5047 (life_analysis): Assert that dead code elimination is not selected
5048 when in SSA form.
5049 * toplev.c (to_ssa_time): New variable.
5050 (from_ssa_time): Likewise.
5051 (compile_file): Zero to_ssa_time and from_ssa_time.
5052 Print time to convert to and from SSA.
5053 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
5054 (print_time): Compute percent fraction as integer.
5055 * ssa.c (PHI_NODE_P): Moved to rtl.h.
5056 (convert_to_ssa): Check if we're already in SSA.
5057 Don't eliminate dead code in life_analysis.
5058 Rerun flow and life analysis at bottom.
5059 (eliminate_phi): Use canonical regnos when adding nodes.
5060 (mark_reg_in_phi): New function.
5061 (mark_phi_and_copy_regs): Likewise.
5062 (convert_from_ssa): Rerun life analysis at top.
5063 Use coalesced partition.
5064 Check for removing a phi node at the end of the block.
5065 (compute_coalesced_reg_partition): New function.
5066 (coalesce_regs_in_copies): Likewise.
5067 (coalesce_reg_in_phi): Likewise.
5068 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
5069 (for_each_successor_phi): Likewise.
5070 (rename_context): New struct.
5071 (rename_block): Use a rename_context with rename_insn_1. When
5072 renaming sets of a subreg, emit a copy of the entire reg first.
5073 (rename_insn_1): Treat data as a rename_context *. Save current
5074 insn in set_data.
5075 (rename_set_data): Add field set_insn.
5076 * Makefile.in (HASHTAB_H): Move up in file.
5077 (OBSTACK_H): New macro.
5078 (collect2.o): Use OBSTACK_H in dependencies.
5079 (sdbout.o): Likewise.
5080 (emit-rtl.o): Likewise.
5081 (simplify-rtx.o): Likewise.
5082 (fix-header.o): Likewise.
5083 (OBJS): Add conflict.o.
5084 (conflict.o): New rule.
5085 * basic-block.h: Include partition.h.
5086 (conflict_graph): New typedef.
5087 (conflict_graph_enum_fn): Likewise.
5088 (conflict_graph_new): New prototype.
5089 (conflict_graph_delete): Likewise.
5090 (conflict_graph_add): Likewise.
5091 (conflict_graph_conflict_p): Likewise.
5092 (conflict_graph_enum): Likewise.
5093 (conflict_graph_merge_regs): Likewise.
5094 (conflict_graph_print): Likewise.
5095 (conflict_graph_compute): Likewise.
5096 * conflict.c: New file.
5097
5098 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
5099
5100 * tlink.c (read_repo_files): Don't look for .rpo info for
5101 linker flags.
5102
5103 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5104
5105 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
5106
5107 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5108
5109 * config/sh/lib1funcs.asm (___udivsi3_i4):
5110 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
5111 only depends on FMOVD_WORKS.
5112
5113 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5114
5115 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
5116 make double constant 8-byte aligned.
5117
5118 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5119
5120 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
5121 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
5122 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
5123 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
5124 Accept storing GENERAL_REGS into offsetable memory.
5125 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
5126 building a TFmode constant other than 0.0L into GENERAL_REGS.
5127
5128 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
5129
5130 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
5131
5132 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
5133
5134 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
5135 (macro_cleanup): No need to cast pbuf->macro.
5136 (collect_expansion): Use _cpp_get_define_token. Goto done if
5137 it returns VSPACE. Remove check for trailing space after
5138 CPP_COMMENT.
5139 (_cpp_create_definition): Don't diddle flags here. Return
5140 directly on error.
5141 (unsafe_chars): Handle c1 being EOF.
5142 (push_macro_expansion): Use unsafe_chars for both accidental-paste
5143 checks. Don't push the buffer till after we're done with
5144 them.
5145 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
5146 (PEEKN, FORWARD, GETC, PEEKC): Use them.
5147 (cpp_push_buffer): Don't set new->alimit. Set new->mark
5148 appropriately.
5149 (_cpp_parse_assertion): Don't NUL terminate.
5150 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
5151 hspace before calling _cpp_parse_assertion. Remove all sets
5152 of only_seen_white. Treat '\f' as hspace. Don't do anything
5153 special with '\n' here.
5154 (maybe_macroexpand): Handle T_EMPTY hash entries without
5155 pushing a buffer at all.
5156 (cpp_get_token): Handle clearing only_seen_white here. Handle
5157 incrementing the line number here. Clear
5158 potential_control_macro as well as only_seen_white, if
5159 appropriate.
5160 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
5161 (_cpp_get_define_token): New function, basically like
5162 _cpp_get_directive_token was but doesn't eat horizontal space.
5163 Don't do anything with only_seen_white here.
5164 (_cpp_get_directive_token): Just call _cpp_get_define_token
5165 repeatedly till it returns non-hspace.
5166
5167 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
5168 (conditional_skip, skip_if_group): Return int.
5169 (DIRECTIVE_TABLE): Change origin of all conditional directives
5170 to "COND".
5171 (TRAD_DIRECT_P): New macro.
5172 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
5173 an error for a bogus directive, unless -lang-asm. Use
5174 TRAD_DIRECT_P. Loop calling handler functions till one returns
5175 zero.
5176 (get_macro_name): Don't diddle flags here.
5177 (do_define): Diddle flags here. Use _cpp_get_directive_token.
5178 Create T_EMPTY nodes for #define macro /* nothing */.
5179 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
5180 Use hp->name when calling pass_thru_directive.
5181 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
5182 Return the result of conditional_skip and/or skip_if_group.
5183 Don't call _cpp_output_line_command.
5184 (consider_directive_while_skipping): Use _cpp_get_directive_token.
5185 Issue -Wtraditional warnings as appropriate. Don't complain
5186 about unrecognized directives. If we are to stop skipping,
5187 return the number of the directive that ended the skip.
5188 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
5189 expansion and line commands while skipping. Return the result
5190 of consider_directive_while_skipping, if nonzero.
5191 (do_endif): Just set potential_control_macro here.
5192 (validate_else): Use _cpp_get_directive_token.
5193 (do_assert, do_unassert): Don't save pointers into the
5194 token_buffer across calls to the lexer. Use
5195 _cpp_get_directive_token.
5196
5197 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
5198 pointer, not an offset. Replace 'data', which was a generic
5199 pointer, with 'macro', which points to a struct hashnode.
5200 (cpp_reader): Add 'potential_control_macro' pointer.
5201 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
5202 (CPP_BUF_GET, CPP_FORWARD): Delete.
5203 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
5204 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
5205 ACTIVE_MARK_P): Update.
5206 (_cpp_get_define_token): New internal function.
5207 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
5208
5209 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
5210
5211 * configure.in: And here.
5212 * configure: Regenerate.
5213 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
5214 --enable-libstdcxx-v3 is passed at configure time.
5215 * config.h.in: Regenerate.
5216
5217 2000-04-05 Mark Mitchell <mark@codesourcery.com>
5218
5219 * final.c (final): Use xcalloc to allocate line_note_exists.
5220 * function.c (free_after_compilation): Free the temp_slots.
5221 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
5222 (combine_temp_slot): Free temp_slots when they get combined.
5223 (purge_addressof): Fix typo in comment.
5224 * stmt.c (mark_goto_fixup): Mark the fixup itself.
5225 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
5226
5227 * ggc.h: Include varray.h.
5228 (ggc_pending_trees): Declare.
5229 (ggc_mark_tree_children): Remove declaration.
5230 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
5231 * ggc-common.c (ggc_pending_trees): New variable.
5232 (ggc_mark_roots): Call ggc_mark_trees.
5233 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
5234 the ggc_pending_trees.
5235 * Makefile.in (GGC_H): New variable. Use it throughout in place
5236 of ggc.h.
5237
5238 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5239
5240 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
5241 GET_MODE_SIZE.
5242
5243 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5244
5245 * sh.c (sh_insn_length_adjustment): New function.
5246 * sh-protos.h (sh_insn_length_adjustment): Declare.
5247 * sh.h (ADJUST_INSN_LENGTH): Use it.
5248
5249 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
5250
5251 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
5252 from the insn where REG_RETVAL is added.
5253 (emit_no_conflict_block): Ditto.
5254
5255 * md.texi (Standard Names): Clarify when movX is needed.
5256
5257 * combine.c (simplify_comparison) [MINUS]: Do not replace
5258 all (op (minus A B) 0) with (op A B).
5259
5260 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
5261 J"orn Rennecke <amylaar@cygnus.co.uk>
5262
5263 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
5264 (block_lump_real): Likewise.
5265
5266 2000-04-05 Chris Demetriou <cgd@netbsd.org>
5267
5268 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
5269 remaining non-zero debugging masks.
5270
5271 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
5272
5273 * basic-block.h (verify_flow_info): Declare.
5274 (flow_loop_outside_edge_p): Declare.
5275 * flow.c (verify_flow_info): Remove declaration.
5276 (clear_log_links, flow_loop_outside_edge_p): Likewise.
5277
5278 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
5279
5280 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
5281 not C++ comments.
5282
5283 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5284
5285 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
5286 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
5287 seqdi_zero_trunc+1): Allow splits only if registers are
5288 different.
5289
5290 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
5291
5292 * acconfig.h: Add HAVE_GAS_HIDDEN.
5293 * config.in: Regenerated.
5294 * configure.in: Add test for .hidden pseudo-op in gas.
5295 * configure: Regenerated.
5296 * crtstuff.c: Include auto-host.h.
5297 Emit additional .hidden pseudo-op for __dso_handle if the
5298 assembler knows about it.
5299
5300 2000-04-04 Philippe De Muyter <phdm@macqel.be>
5301
5302 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
5303 before freeing argnames.
5304 * cpplib.c (do_ifndef): Cast return value of xstrdup.
5305
5306 2000-04-05 Michael Meissner <meissner@redhat.com>
5307
5308 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
5309 Walton <jonboy@gordian.com> to make memory references with update
5310 work wtih -mregnames.
5311
5312 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5313
5314 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
5315 (regrename_optimize): Rename variables `def_uses' and
5316 `ext_basic_blocks' to avoid conflicts with similarly named
5317 typedefs in traditional C.
5318
5319 * calls.c (initialize_argument_information): Fix typo in previous
5320 change.
5321
5322 2000-04-04 Richard Henderson <rth@cygnus.com>
5323
5324 * regrename.c (consider_available): Test fixed_regs not
5325 PIC_OFFSET_TABLE_REGNUM.
5326
5327 2000-04-04 Geoff Keating <geoffk@cygnus.com>
5328
5329 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
5330 crtend.
5331 (CRTSTUFF_T_CFLAGS_S): Delete definition.
5332 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
5333 (ENDFILE_LINUX_SPEC): Always use crtend.
5334 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
5335 (powerpc-*-linux-gnu): Likewise.
5336 * configure: Regenerate.
5337
5338 * config/rs6000/eabi.h: Don't include sysv4.h.
5339 (MULTILIB_DEFAULTS): Don't define.
5340 * config/rs6000/eabiaix.h: Don't include eabi.h.
5341 * config/rs6000/eabile.h: Delete.
5342 * config/rs6000/eabilesim.h: Delete.
5343 * config/rs6000/eabisim.h: Don't include eabi.h.
5344 * config/rs6000/linux.h: Don't include sysv4.h.
5345 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
5346 (MULTILIB_DEFAULTS): Don't redefine.
5347 * config/rs6000/rtems.h: Don't include eabi.h.
5348 * config/rs6000/sol2.h: Don't include sysv4le.h.
5349 * config/rs6000/sysv4le.h: Don't include sysv4.h.
5350 * config/rs6000/t-ppc: Delete.
5351 * config/rs6000/t-ppcgas: Correct comment.
5352 * config/rs6000/t-ppcos: Correct comment. Don't build
5353 multilibs for -fPIC, rather use -fPIC -mstrict-align
5354 as default.
5355 * config/rs6000/t-ppc: Delete.
5356 * config/rs6000/vxppc.h: Don't include sysv4.h.
5357 * config/rs6000/vxppcle.h: Delete.
5358 * configure.in: Use multiple header files for p2pc ELF targets
5359 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
5360 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
5361 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
5362 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
5363 always available for these platforms.
5364
5365 2000-04-04 Richard Henderson <rth@cygnus.com>
5366
5367 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
5368
5369 2000-04-04 Stan Cox <scox@cygnus.com>
5370
5371 * Makefile.in: Add rules for regrename.o
5372 * regrename.c: New file.
5373 * rtl.h (regrename_optimize): Add prototype.
5374 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
5375 (compile_file, decode_d_option): Add support for -frename-registers.
5376 (rest_of_compilation): Call regrename_optimize.
5377 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
5378 New macros.
5379
5380 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5381
5382 * Makefile (gccbug): New target.
5383 (doc): Depend on it.
5384 * gcc.texi (Bugs): Link subnodes.
5385 (gccbug): New node.
5386 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
5387 Document severities, priorities, and classes in bug form.
5388
5389 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
5390
5391 * cpplex.c (trigraph_map, speccase): Combine into single
5392 table, chartab.
5393 (NORMAL, NONTRI): New macros.
5394 (_cpp_read_and_prescan): Change to use unified table. Use
5395 is_hspace to test for whitespace.
5396
5397 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
5398 definition that doesn't provoke the "empty body in an
5399 if-statement" warning.
5400
5401 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
5402
5403 * builtins.c (expand_builtin_strlen): Force the source to
5404 be a memory address.
5405
5406 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5407
5408 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
5409
5410 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
5411
5412 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
5413 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
5414 (ECF_IS_CONST): Rename to ECF_CONST.
5415 (special_function_p): Make static, change interface.
5416 (flags_from_decl_or_type, try_to_integrate): Break out from ...
5417 (expand_call) ... here; convert number of variables to flags.
5418 (emit_library_call_vlue_1): Likewise.
5419 (setjmp_call_p): New function.
5420 (initialize_argument_information): Accepts flags as argument;
5421 return flags.
5422 (precompute_arguments): Likewise.
5423 * tree.h (special_function_p): Remove.
5424 (setjmp_call_p): Add prototype.
5425
5426 2000-04-04 Jakub Jelinek <jakub@redhat.com>
5427
5428 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
5429 so that addresses are offsetable by up to 16 bytes.
5430 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
5431 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
5432 offsetable.
5433
5434 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
5435 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
5436 (movsf): Don't force any constant to memory if target is integer
5437 hard register.
5438 Move fp_zero_operand check below the const0_rtx check.
5439 (movtf): Likewise. Also allow fp_zero_operand for stores into
5440 memory.
5441 (movdf): Likewise. Also allow fp_zero_operand for stores into
5442 memory and into integer hard registers.
5443 (clear_df, clear_dfp, movdf_const_intreg_sp32,
5444 movdf_const_intreg_sp64): Remove.
5445 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
5446 conditions.
5447 (movdf_no_e_insn_v9_sp32): New pattern.
5448 (movdf_insn_v9only): Remove.
5449 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
5450 (movdf_insn_sp64): Remove.
5451 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
5452 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
5453 (following splits): Rewrite conditions. Add two new splits
5454 for storing 0.0 into memory and registers.
5455 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
5456 (movtf_insn_sp32): Redo constraints and conditions.
5457 (movtf_insn_vis_sp32): New pattern.
5458 (movtf_no_e_insn_sp32): Redo constraints and conditions.
5459 (movtf_insn_hq_sp64): Likewise.
5460 (movtf_insn_hq_vis_sp64): New pattern.
5461 (movtf_insn_sp64): Redo constraints and conditions.
5462 (movtf_insn_vis_sp64): New pattern.
5463 (movtf_no_e_insn_sp64): Redo constraints and conditions.
5464 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
5465 or memory.
5466 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
5467 -mvis or -m64 to take down the number of various reload patterns.
5468
5469 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
5470
5471 * pa/pa-64.h: New file.
5472 * pa/pa64-regs.h: New file.
5473 * pa/pa64-start.h: New file.
5474 * pa/t-pa64: New file.
5475 * pa/xm-pa64hpux.h: New file.
5476
5477 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5478
5479 * sparc.c (output_restore_regs): Prototype.
5480 (sparc_emit_float_lib_cmp): Constification.
5481
5482 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
5483
5484 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
5485 Prototype.
5486
5487 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
5488 (get_value_hash, hash_rtx): Likewise.
5489
5490 * ssa.c (compute_conservative_reg_partition): Prototype.
5491
5492 * tree.c (mark_hash_entry): Prototype.
5493
5494 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
5495
5496 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
5497 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
5498 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
5499
5500 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
5501 * objc/lang-specs.h: Likewise.
5502
5503 2000-04-03 Neil Booth <NeilB@earthling.net>
5504
5505 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
5506 and SYNTAX_ERROR2. Replace `' in messages with ''.
5507 (op_to_str): Make re-entrant.
5508 (_cpp_parse_expr): Implement new error macros. Use | rather
5509 than || to logically or 2 boolean integers. Simply expression
5510 checking we have a left operand iff needed.
5511
5512 2000-04-03 Nick Clifton <nickc@cygnus.com>
5513
5514 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
5515
5516 2000-04-03 Philip Blundell <philb@gnu.org>
5517
5518 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
5519
5520 2000-04-03 Felix Lee <flee@cygnus.com>
5521
5522 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
5523 (run_shell): Use it.
5524
5525 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
5526
5527 * Makefile.in (stmp-int-hdrs): Make include subdir here...
5528 (stmp-fixproto): ...rather than here.
5529
5530 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
5531
5532 * pa.c (print_operand): Compute 'base' only inside the code paths
5533 that use it.
5534
5535 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
5536
5537 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
5538 CEIL_DIV_EXPR.
5539
5540 2000-04-03 Philipp Thomas <pthomas@suse.de>
5541
5542 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
5543
5544 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
5545
5546 * Makefile.in (alias.o): Depend on $(TREE_H).
5547
5548 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
5549
5550 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
5551 processing C++.
5552 * cpplib.c (_cpp_handle_directive): Improve warnings for
5553 traditional C and indented directives.
5554
5555 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
5556 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
5557 fixinc/inclhack.def: Indent the # of #include_next one space.
5558 * cp/rtti.c: Un-indent #if and #endif.
5559
5560 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
5561 syntax error, but an error has already been printed.
5562 * cpplex.c (_cpp_parse_assertion): Give a more specific error
5563 message when called with nothing remaining on the line.
5564 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
5565 OTHER token, not an ASSERTION.
5566 * cpplib.c (do_assert): When we create a 'base' node, clear
5567 its aschain pointer.
5568
5569 2000-04-02 Neil Booth <NeilB@earthling.net>
5570
5571 * cppexp.c: New typedef op_t. struct operation and struct
5572 token updated to use it.
5573 (op_to_str): New function.
5574 (_cpp_parse_expr): Error messages modified to use op_to_str.
5575
5576 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5577
5578 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
5579 before checking MUST_PASS_IN_STACK.
5580
5581 2000-04-02 Neil Booth <NeilB@earthling.net>
5582
5583 * cppexp.c: New FINISHED dummy token. Combine operator initial
5584 flags and initial priority into a single constant. New
5585 EQUALITY macro. New operator flag SHORT_CIRCUIT.
5586 (_parse_cpp_expr): Implement new constants. Take left operand
5587 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
5588 parse indicated by reducing FINISHED token. Remove new lines
5589 from cpp_error messages.
5590
5591 2000-04-01 Mark Mitchell <mark@codesourcery.com>
5592
5593 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
5594 permanent obstack.
5595
5596 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
5597
5598 * cpplib.c: Include symcat.h. Add 'origin' field to struct
5599 directive. Add origin values to DIRECTIVE_TABLE. Generate
5600 the strings and function names on the fly. Take the #sccs
5601 entry out of the table if SCCS_DIRECTIVE is not defined.
5602 (_cpp_handle_directive): Decide if the # was at the beginning
5603 of the line here. Issue -pedantic warnings for extended
5604 directives here. Warn about K+R directives with the #
5605 indented, and C89/extended directives with the # not indented,
5606 here.
5607 (do_import, do_include_next, do_warning, do_ident, do_sccs,
5608 do_assert, do_unassert): Don't issue pedantic warning here.
5609
5610 * cpphash.h: Add CPP_WTRADITIONAL macro.
5611 * cpplib.h (struct cpp_options): Rename warn_stringify to
5612 warn_traditional; update comments.
5613 * cppinit.c (handle_option): Set warn_traditional not
5614 warn_stringify.
5615 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
5616 CPP_WTRADITIONAL (pfile).
5617 * cpplex.c (_cpp_lex_token): Don't decide if directives should
5618 be ignored in -traditional mode here.
5619
5620 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
5621 to initialize speccase[] and trigraph_map[]. Delete all
5622 references to pfile->input_speccase. Always treat '?' as a
5623 special character. Remove table-initialization code from
5624 _cpp_init_input_buffer.
5625
5626 * cpplib.h (struct cpp_reader): Remove input_speccase field.
5627 * cppinit.c (cpp_cleanup): Don't free input_speccase.
5628
5629 2000-04-01 Richard Henderson <rth@cygnus.com>
5630
5631 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
5632 (mostlyclean): Likewise.
5633
5634 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
5635 (struct dump_file_info, enum dump_file_index, dump_file): New.
5636 (open_dump_file): Take a dump_file_index not a suffix, and a decl
5637 not a string. Clean out file if we havn't yet done so. Do nothing
5638 if the dump isn't enabled.
5639 (close_dump_file): Do nothing if the dump isn't open. Dump
5640 graph data if requested.
5641 (dump_rtl, clean_dump_file): Remove.
5642 (compile_file): Don't clean the dump files. Only finalize .bp dump
5643 if flag_test_coverage or flag_branch_probabilities. Only finalize
5644 .combine dump if optimizing. Iterate over dump_file to finalize the
5645 graph dumps.
5646 (rest_of_compilation): Update for open_dump_file/close_dump_file.
5647 Convert all uses of dump_rtl.
5648 (decode_d_option): Iterate over dump_file to implement 'a' and to
5649 locate pass-specific dumps.
5650
5651 2000-04-01 Neil Booth <NeilB@earthling.net>
5652
5653 * cppexp.c: Redefine priority constants.
5654 (_cpp_parse_expr): Replace left and right priority scheme with
5655 single priority logic. Move LOGICAL to same place as COMPARE.
5656 Remove bogus check for multiple unary +/- operators.
5657
5658 2000-04-01 Neil Booth <NeilB@earthling.net>
5659
5660 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
5661 within the switch statement. Binary operations break out of
5662 the switch naturally. '(' tokens handled by forcing
5663 immediate shift. ')' handled by forcing immediate reduce to
5664 the previous '('. New error messages.
5665
5666 2000-03-31 Geoff Keating <geoffk@cygnus.com>
5667
5668 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
5669 part', it's already in use. Use %K instead. Add a return at the
5670 end of what is now %K.
5671 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
5672
5673 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
5674
5675 * builtins.c (expand_builtin_apply): Pass proper parameters to
5676 allocate_dynamic_stack_space.
5677 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
5678 update stack_pointer_delta; do not update arg_size_so_far.
5679 (compute_argument_block_size): Use stack_delta instead of
5680 stack_pointer_pending and arg_size_so_far.
5681 (expand_call): Add sanity checking for stack_pointer_delta;
5682 save and restore stack_pointer_delta for SIB, use
5683 stack_pointer_delta for alignment; do not update arg_space_so_far.
5684 (emit_library_call_value): Use stack_pointer_delta for alignment.
5685 (store_one_arg): Do not update arg_space_so_far.
5686 * explow.c (adjust_stack, anti_adjust_stack): Update
5687 stack_pointer_delta.
5688 (allocate_dynamic_stack_space): Add sanity checking for
5689 stack_pointer_delta.
5690 * expr.c (init_expr, clear_pending_stack_adjust): Clear
5691 stack_pointer_delta.
5692 (emit_push_insn): Update stack_pointer_delta.
5693 * function.h (struct expr_status): Add x_stack_pointer_delta;
5694 remove x_arg_space_so_far.
5695 (arg_space_so_far): Remove.
5696 (stack_pointer_delta): New macro.
5697
5698 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
5699
5700 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
5701 Reorder struct cpp_options and struct cpp_reader for better
5702 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
5703 takes two args. Change all 'char' flags to 'unsigned char'.
5704 Move show_column flag into struct cpp_options. Don't
5705 prototype cpp_options_init.
5706 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
5707 cppinit.c, cpplex.c, cpplib.c:
5708 Replace CPP_OPTIONS (pfile)->whatever with
5709 CPP_OPTION (pfile, whatever), and likewise for
5710 opts = CPP_OPTIONS (pfile); ... opts->whatever;
5711
5712 * cppinit.c (merge_include_chains): Take a cpp_reader *.
5713 Extract CPP_OPTION (pfile, pending) and work with that
5714 directly.
5715 (cpp_options_init): Delete.
5716 (cpp_reader_init): Turn on on-by-default options here.
5717 Allocate the pending structure here.
5718 (cl_options, enum opt_code): Define these from the same table,
5719 kept in a large macro. Add -fshow-column and -fno-show-column
5720 options.
5721
5722 * cpperror.c (v_message): If show_column is off, don't print
5723 the column number.
5724
5725 * cppmain.c: Update for new interface.
5726 * fix-header.c: Likewise.
5727
5728 2000-03-30 Geoff Keating <geoffk@cygnus.com>
5729
5730 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
5731 definition.
5732 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
5733 are passed to any invocation of AR_FOR_TARGET.
5734 (AR_CREATE_FOR_TARGET): New macro.
5735 (AR_EXTRACT_FOR_TARGET): New macro.
5736 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
5737 AR_EXTRACT_FOR_TARGET.
5738 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
5739 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
5740 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
5741 AR_EXTRACT_FOR_TARGET to sub-makes.
5742
5743 2000-03-31 Neil Booth <NeilB@earthling.net>
5744
5745 * cppexp.c: Delete SKIP_OPERAND. Correct priority
5746 PAREN_INNER_PRIO.
5747 (_cpp_parse_expr): Check for multiple unary +/- operators.
5748 Correct priorities of ':' and '?'. Treat ')' as having a
5749 value. Ensure conditional expression is not void.
5750
5751 2000-03-31 Mark Mitchell <mark@codesourcery.com>
5752
5753 * alias.c (canon_rtx): Make it global.
5754 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
5755 equality.
5756 * cse.c (struct table_elt): Add canon_exp.
5757 (insert): Clear it.
5758 (invalidate): Canonicalize expressions only once.
5759 * rtl.h (canon_rtx): Declare.
5760
5761 2000-03-30 Mark Mitchell <mark@codesourcery.com>
5762
5763 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
5764 * alias.c (reg_known_value): Add comments.
5765 (init_alias_analysis): Likewise.
5766 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
5767 address.
5768 (cse_basic_block): Fix typo in comment.
5769 * emit-rtl.c: Include hashtab.h.
5770 (const_int_htab): New variable.
5771 (const_int_htab_hash): New function.
5772 (const_int_htab_eq): Likewise.
5773 (rtx_htab_mark_1): Likewise.
5774 (rtx_htab_mark): Likewise.
5775 (gen_rtx_CONST_INT): Cache all CONST_INTs.
5776 (unshare_all_rtx): Fix formatting.
5777 (init_emit_once): Initialize const_int_htab.
5778 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
5779 address.
5780 * rtl.texi: Document the fact that all CONST_INTs with the same
5781 value are shared.
5782
5783 2000-03-30 Richard Henderson <rth@cygnus.com>
5784
5785 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
5786
5787 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
5788
5789 * configure.in: Comment out --enable-c-cpplib stanza.
5790 * configure: Regenerate.
5791
5792 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5793
5794 * expr.c (store_constructor): Properly compute displacement and
5795 alignment when offset is variable.
5796
5797 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
5798 cases of alignment in bytes.
5799
5800 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
5801
5802 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
5803 since it is used to generate c-parse.y.
5804 * objc-parse.c, objc-parse.y: Regenerated.
5805
5806 * function.c (expand_function_end): Pass alignment argument to
5807 emit_block_move in bits, not bytes.
5808
5809 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5810
5811 * expr.c (move_by_pieces_ninsns): Fix one more missing align
5812 correction.
5813
5814 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
5815
5816 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
5817 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
5818 * function.c (assign_parms): Likewise.
5819 * integrate.c (expand_inline_function): Likewise.
5820 * stmt.c (expand_decl): Likewise.
5821 (copy_rtx_and_substitute): Likewise.
5822 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
5823 (clear_by_pieces): Fix error in last change.
5824 * emit-rtl.c (init_emit): Set known registers alignment in bits.
5825 * function.h (regno_pointer_align): Now unsigned.
5826 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
5827 is in bits.
5828 * config/i386/i386.c (aligned_operand): Likewise.
5829 * config/sparc/sparc.c (mem_min_alignment): Likewise.
5830 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
5831 (unaligned_memory_operand): Likewise.
5832 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
5833 Also make alignments and sizes unsigned and some whitespace cleanup.
5834 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
5835
5836 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
5837 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
5838 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5839 (expand_builtin_memset): Likewise, but to clear_storage.
5840 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
5841 (restore_fixed_argument_area): Likewise.
5842 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
5843 (load_register_parameters): Likewise, to emit_group_load.
5844 (expand_call): Likewise, to emit_group_store and emit_block_move.
5845 (emit_library_call_value_1): Likewise, to emit_block_move.
5846 (store_one_arg): Likewise, and to emit_push_insn.
5847 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
5848 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5849 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
5850 (emit_block_move, emit_group_load, emit_group_store): Likewise.
5851 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
5852 (expand_assigment, store_expr, store_constructor_field): Likewise.
5853 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
5854 (store_constructor, store_field, get_inner_reference): Likewise.
5855 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
5856 (expand_expr, case COMPONENT_REF): Likewise.
5857 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
5858 and positions; reindent code.
5859 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
5860 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
5861 (assign_parms): Likewise to emit_group_store.
5862 * optabs.c (prepare_cmp_insn): Alignment is in bits.
5863 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
5864 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
5865 (expand_return): Likewise to {extract,store}_bit_field.
5866 * stor-layout.c (get_mode_alignment): Minor cleanup.
5867 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
5868 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
5869
5870 2000-03-29 Nick Clifton <nickc@cygnus.com>
5871
5872 * config/arm/arm.h: Undo effects of previous delta:
5873 (ASM_SPEC): Do not define.
5874 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
5875
5876 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
5877 typo.
5878
5879 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
5880
5881 * cppinit.c (cpp_start_read): Call initialize_dependency_output
5882 only after reading in the primary source file.
5883
5884 2000-03-29 Geoff Keating <geoffk@cygnus.com>
5885
5886 * c-common.c (c_common_nodes_and_builtins): The first parameter to
5887 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
5888 or a reference to a va_list.
5889 * builtins.c (stabilize_va_list): Simplify now we don't have to
5890 work around C array address decay.
5891 * c-typeck.c (convert_for_assignment): Handle assignment to
5892 a reference parameter by taking the address of the RHS.
5893 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
5894 (va_copy): Likewise.
5895 (__va_copy): Likewise.
5896 * ginclude/varargs.h (va_start): Likewise.
5897 (__va_copy): Likewise.
5898
5899 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
5900
5901 * i386/djgpp.h: Remove extraneous "+".
5902
5903 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
5904
5905 * calls.c (expand_call): Fix typo in last change.
5906
5907 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
5908
5909 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
5910 been expanded.
5911
5912 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5913
5914 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
5915 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
5916 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
5917 * tree.c (bit_position, byte_position): Likewise.
5918 * tree.h: Declare new functions.
5919
5920 2000-03-29 Nick Clifton <nickc@cygnus.com>
5921
5922 * config/arm/arm.c: Minor formatting changes/
5923 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5924 already defined.
5925 (ASM_SPEC): Define if not already defined.
5926
5927 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
5928
5929 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5930 _cpp_calc_hash.
5931
5932 2000-03-29 Jakub Jelinek <jakub@redhat.com>
5933
5934 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5935 value, don't output it as unsigned.
5936
5937 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
5938
5939 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5940
5941 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5942
5943 * c-common.c (c_common_nodes_and_builtins): Don't special case
5944 cplus_mode when declaring builtin bzero/bcmp, always avoid
5945 prototype arguments.
5946
5947 2000-03-29 Bruce Korb <bkorb@gnu.org>
5948
5949 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5950 to a non-file
5951
5952 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
5953
5954 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5955 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5956 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5957 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5958 (save_fixed_argument_area, restore_fixed_argument_area):
5959 conditionize by #ifdef REG_PARM_STACK_SPACE only.
5960 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5961 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5962 (precompute_register_parameters): Avoid #ifdefs on
5963 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5964 (stire_one_args): Likewise.
5965 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5966 (emit_library_call_value_1): Likewise.
5967 (compute_argument_block_size): Align to STACK_BOUNDARY only for
5968 ACCUMULATE_OUTGOING_ARGS.
5969 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5970 value.
5971 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5972 (use_crosses_set_p): Likewise.
5973 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5974 #define ACCUMULATE_OUTGOING_ARGS 1.
5975 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5976 frames.
5977 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5978 constants.
5979 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5980 (TARGET_SWITCHES): Add push-args, no-push-args,
5981 accumulate-outgoing-args and no-accumulate-outgoing-args.
5982 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5983 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5984 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5985 and PUSH_ROUNDING.
5986 (emit_push_insn): Likewise.
5987 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5988 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5989 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5990 (STACK_DYNAMIC_OFFSET): Define correctly for both
5991 ACCUMULATE_OUTGOING_ARGS and normal mode.
5992 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5993 * tm.texi (PUSH_ARGS): Document.
5994 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5995
5996 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
5997
5998 * flags.h (flag_optimize_sibling_calls): Declare.
5999 * calls.c (expand_call): Fail sibcall when
6000 !flag_optimize_sibling_calls
6001 * invoke.texi (flag_optimize_sibling_calls): Document.
6002 * toplev.c (flag_optimize_sibling_calls): New global variable.
6003 (f_options): Add flag_optimize_sibling_calls.
6004 (rest_of_compilation): Conditionize
6005 optimize_sibling_and_tail_recursive_calls by
6006 flag_optimize_sibling_calls.
6007 (main): Set flag_optimize_sibling_calls for -O2.
6008 * stmt.c (expand_return): Conditionize tail recursion by
6009 flag_optimize_sibling_calls.
6010
6011 2000-03-29 Richard Henderson <rth@cygnus.com>
6012
6013 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
6014 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
6015
6016 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
6017
6018 * except.c (add_eh_table_entry): Mark type_info's as referenced.
6019
6020 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6021
6022 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
6023 is given.
6024 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
6025 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
6026 * config/rs6000/aix.h: then modified likewise.
6027
6028 2000-03-28 Richard Henderson <rth@cygnus.com>
6029
6030 * rtl.h: Redistribute enum reg_note documentation.
6031 Kill trailing whitespace.
6032 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
6033 Kill trailing whitespace.
6034
6035 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
6036
6037 * cppfiles.c (hash_IHASH): Just return i->hash.
6038 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
6039 htab_find_with_hash.
6040 (cpp_read_file): Likewise.
6041 (find_include_file): Likewise. Properly initialize
6042 ih->nshort. Share ih->name and ih->nshort if possible.
6043 * cpphash.c (_cpp_calc_hash): New function.
6044 (hash_HASHNODE): Just return h->hash.
6045 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
6046 htab_find_with_hash.
6047 * cpphash.h: Prototype _cpp_calc_hash.
6048 * cppinit.c (initialize_builtins): Provide a valid hash
6049 to _cpp_make_hashnode, using _cpp_calc_hash.
6050
6051 * cpphash.c (collect_expansion): # is not a special character
6052 in object-like macros. In -traditional mode, /**/ is not
6053 token paste at the beginning or end of the line.
6054 * cpplib.c (do_include, do_import, do_include_next): If
6055 parse_include fails, return immediately.
6056
6057 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
6058
6059 * config/arm/arm.md (return peepholes): Update to reflect the new
6060 call insn patterns.
6061 * config/arm/arm.c (arm_volatile_func): Also check
6062 current_function_nothrow.
6063 (output_return_instruction, output_func_prologue): Use it.
6064 (arm_output_epilogue, arm_expand_prologue): Likewise.
6065
6066 2000-03-27 Tom Tromey <tromey@cygnus.com>
6067
6068 * gcc.c (handle_braces): In {x*...} case, break out of loop if
6069 switch is found.
6070
6071 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6072
6073 * expr.c (store_constructor): SIZE now signed.
6074 For EXPR_SIZE, don't evaluate size; just needed if constant.
6075 * fold-const.c (fold): Fix a number of cases when folded tree is
6076 wrong type.
6077 * function.c (flush_addressof): Reenable.
6078 * tree.h (flush_addressof): Likewise.
6079 * toplev.c (independent_decode_option): Look at strings_processed.
6080 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
6081
6082 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
6083
6084 * sibcall.c (indentify_call_return_value): Find last call in the chain;
6085 Allow stack adjustment after function call.
6086
6087 * regmove.c (struct csa_memlist): Make mem field rtx *.
6088 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
6089 (try_apply_stack_adjustment): Replace whole MEM rtx.
6090 (combine_stack_adjustments_for_block): Update calls
6091 to record_one_stack_ref.
6092
6093 2000-03-28 Neil Booth <NeilB@earthling.net>
6094
6095 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
6096 '\\' rather than a null character, so nulls are not special. Fix
6097 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
6098 speed trigraph conversion.
6099 (_cpp_init_input_buffer): Initialize trigraph map.
6100
6101 2000-03-27 Alan Modra <alan@linuxcare.com.au>
6102
6103 * config/i386/i386.c (output_387_binary_op): Correct intel
6104 mode assembly output, and add spaces after commas in AT&T
6105 output. Correct Unixware assembler comment. Document input
6106 constraints. Comment fp operations. Reduce profligate buffer
6107 size. Remove extraneous abort. Localize temp var.
6108 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
6109 (output_fix_trunc): Add spaces after commas in assembly output.
6110
6111 2000-03-27 Richard Henderson <rth@cygnus.com>
6112
6113 * i386-protos.h (ix86_match_ccmode): Declare.
6114 * i386.c (ix86_match_ccmode): New.
6115 (ix86_expand_fp_compare): Update for pattern renames.
6116 (ix86_expand_strlensi_unroll_1): Likewise.
6117 * i386.h (EXTRA_CC_MODES): Add CCZ.
6118 (SELECT_CC_MODE): Use it for EQ/NE zero.
6119 * i386.md (cmpsi_ccz_1): New.
6120 (cmpqi_ccz_1): New.
6121 (*testsi_ccz_1): New.
6122 (testqi_ccz_1): New.
6123 (cmpsi_ccno_1): Rename from cmpsi_0.
6124 (testsi_ccno_1): Rename from testsi_1.
6125 (testqi_ccno_1): Rename from testqi_1.
6126 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
6127 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
6128 (*cmphi_0): Use ix86_match_ccmode.
6129 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
6130 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
6131 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
6132 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
6133 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
6134 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
6135 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
6136 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
6137 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
6138 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
6139 (appropriate peepholes): Likewise.
6140 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
6141 (*subsi_3, *subhi_3, *subqi_3): Remove.
6142 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
6143 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
6144 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
6145 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
6146 (x86_shift_adj_1): Use CCZ.
6147 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
6148
6149 2000-03-27 Stan Cox <scox@cygnus.com>
6150
6151 * resource.h (mark_resource_type): New.
6152 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
6153 find_free_register): Use mark_resource_type.
6154 (mark_set_resources): Change include_delayed_effects
6155 to mark_resource_type.
6156 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
6157 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
6158 Use mark_resource_type.
6159
6160 2000-03-27 Richard Henderson <rth@cygnus.com>
6161
6162 * i386.md (call_pop_0, call_value_pop_0): New.
6163 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
6164 (call_value_pop_1): Likewise.
6165 (call_0, call_value_0): New.
6166 (call_1, call_value_1): Remove constraint from unused arg.
6167
6168 2000-03-27 Nick Clifton <nickc@cygnus.com>
6169
6170 * invoke.texi (Spec Files): Document new spec % command created by
6171 Tom Tromey's recent patch.
6172
6173 2000-03-27 Jakub Jelinek <jakub@redhat.com>
6174
6175 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
6176 if not defined.
6177
6178 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6179
6180 * expr.c (expand_assignment): Fix typo in last change.
6181
6182 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
6183
6184 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6185
6186 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
6187 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
6188 and DECL_INLINE if FUNCTION_DECL.
6189 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
6190 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
6191 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
6192 (combine_parm_decls): Likewise.
6193 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
6194 * print-tree.c (print_node): Likewise.
6195 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
6196 DECL_TRANSPARENT_UNION on proper decl types.
6197 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
6198 * stor-layout.c (layout_decl): Only check DECL_PACKED and
6199 DECL_BIT_FIELD of FIELD_DECL.
6200 * tree.h (DECL_RESULT_FLD): New macro.
6201
6202 * expr.c (expand_assignment): Add code to handle variable-sized
6203 BLKmode case.
6204
6205 2000-03-26 Richard Henderson <rth@cygnus.com>
6206
6207 * calls.c (expand_call): Pass parms not original exp to
6208 optimize_tail_recursion. Mind return value instead of looking
6209 for a barrier.
6210 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
6211 call_expr. Move checks for call_expr and current_function_decl ...
6212 (expand_return): ... here.
6213
6214 2000-03-26 Tom Tromey <tromey@cygnus.com>
6215
6216 * gcc.c (handle_braces): Recognize `%{<S}' construct.
6217 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
6218 defines.
6219 (process_command): Use them.
6220 (check_live_switch): Likewise.
6221 (give_switch): Skip ignored switches.
6222
6223 2000-03-26 Jan Hubicka <jh@suse.cz>
6224
6225 * jump.c (jump_optimize_1): Fix typo in elide optimizations
6226 for minimal jump pass test.
6227
6228 2000-03-26 Mark Mitchell <mark@codesourcery.com>
6229
6230 * integrate.c (function_cannot_inline_p): Do inline functions that
6231 return `void'.
6232
6233 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6234
6235 * stor-layout.c (layout_type, set_sizetype): early_type_list is
6236 now a list of TREE_LIST entries, not types.
6237 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
6238
6239 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
6240 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
6241 int_bit_position.
6242 * config/mips/mips.c (function_arg): Likewise; also remove cast
6243 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
6244 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
6245 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
6246 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
6247 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
6248 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
6249 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
6250 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
6251 num_adjusts now unsigned.
6252 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
6253 * config/sparc/sparc.c (struct function_arg_record_value_parms):
6254 NREGS now unsigned.
6255 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
6256 as is BITPOS variable; use host_integerp and int_bit_position.
6257 (function_arg_record_value_2): Likewise.
6258 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
6259 Variable REGNO now unsigned.
6260 (function_arg_record_value): NREGS now unsigned.
6261
6262 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
6263
6264 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
6265
6266 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6267
6268 * Rework fields used to describe positions of bitfields and
6269 modify sizes to be unsigned and use HOST_WIDE_INT.
6270 * alias.c (reg_known_value_size): Now unsigned.
6271 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
6272 (really_start_incremental_init): Use bitsize_zero_node.
6273 (push_init_level, pop_init_level, output_init_element): Likewise.
6274 Use bitsize_unit_node and bitsize_one_node.
6275 (output_pending_init_elements, process_init_element): Likewise.
6276 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
6277 (make_extraction): Position and length HOST_WIDE_INT and unsigned
6278 HOST_WIDE_INT, respectively.
6279 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
6280 (num_sign_bit_copies): Returns unsigned.
6281 BITWIDTH now unsigned; rework arithmetic.
6282 Remove recursive call from arg to MAX.
6283 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
6284 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
6285 REGNO now unsigned.
6286 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
6287 (find_split_point, expand_compound_operation, make_extraction): LEN
6288 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
6289 (make_field_assignment): Likewise.
6290 (combine_simplify_rtx): Add cast.
6291 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
6292 (force_to_mode): WIDTH now unsigned; add cast.
6293 (if_then_else_cond): SIZE now unsigned.
6294 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
6295 (extended_count): Now returns unsigned.
6296 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
6297 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
6298 (simplify_comparison): MODE_WIDTH now unsigned.
6299 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
6300 (mark_used_regs_combine): Likewise; rework arithmetic.
6301 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
6302 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
6303 (record_promoted_value): REGNO now unsigned.
6304 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
6305 (get_last_value): REGNO now unsigned.
6306 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
6307 (reg_dead_regno, reg_dead_endregno): Now unsigned.
6308 (remove_death): Arg REGNO now unsigned.
6309 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
6310 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
6311 now unsigned.
6312 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
6313 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
6314 (struct cse_reg_info): REGNO now unsigned.
6315 (cached_regno): Now unsigned.
6316 (REGNO_QTY_VALID_P): Add cast.
6317 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
6318 (remove_invalid_regs): Likewise.
6319 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
6320 as are variables END and I.
6321 (get_cse_reg_info, insert): Likewise.
6322 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
6323 (canon_hash): Likewise.
6324 (insert_regs, lookup_for_remove): REGNO now unsigned.
6325 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
6326 New variable RN.
6327 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
6328 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
6329 * emit-rtl.c (subreg_realpart_p): Add cast.
6330 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
6331 (operand_subword_force): Arg I is now unsigned.
6332 * except.c (eh_regs): Variable I is now unsigned.
6333 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
6334 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
6335 length is unsigned HOST_WIDE_INT; likewise for internal variables.
6336 (store_split_bit_field, extract_fixed_bit_field): Likewise.
6337 (extract_split_bit_field, store_bit_field, extract_bit_field):
6338 Likewise.
6339 * expr.c (store_constructor_fields, store_constructor, store_field):
6340 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
6341 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
6342 (do_jump): Likewise.
6343 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
6344 MAX_SIZE is now unsigned.
6345 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
6346 (emit_group_store): Likewise.
6347 (emit_move_insn): I now unsigned.
6348 (store_constructor): Use host_integerp, tree_low_cst, and
6349 bitsize_unit_node.
6350 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
6351 Rework all calculations to use trees and new fields.
6352 * expr.h (promoted_input_arg): Regno now unsigned.
6353 (store_bit_field, extract_bit_field): Adjust types of pos and size.
6354 (mark_seen_cases): Arg is HOST_WIDE_INT.
6355 * flow.c (verify_wide_reg_1): REGNO now unsigned.
6356 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
6357 precisions and alignments are unsigned.
6358 (optimize_bit_field_compare, fold_truthop): Likewise.
6359 (int_const_binop): Adjust threshold for size_int_type_wide call.
6360 (fold_convert): Likewise.
6361 (size_int_type_wide): Make table larger and fix thinko that only
6362 had half of table used.
6363 (all_ones_mask_p, fold): Precisions are unsigned.
6364 * function.c (put_reg_info_stack): REGNO is unsigned.
6365 (instantiate_decl): Size is HOST_WIDE_INT.
6366 (instantiate_virtual_regs): I is unsigned.
6367 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
6368 (promoted_input_arg): REGNO is unsigned.
6369 * function.h (struct function): x_max_parm_reg is now unsigned.
6370 * gcse.c (max_gcse_regno): Now unsigned.
6371 (struct null_pointer_info): min_reg and max_reg now unsigned.
6372 (lookup_set, next_set): REGNO arg now unsigned.
6373 (compute_hash_table): REGNO and I now unsigned.
6374 (handle_avail_expr): regnum_for_replacing now unsigned.
6375 (cprop_insn): REGNO now unsigned.
6376 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
6377 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
6378 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
6379 * hard-reg-set.h (reg_class_size): Now unsigned.
6380 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
6381 * jump.c (mark_modified_reg): I now unsigned; add cast.
6382 (rtx_equal_for_thread_p): Add cast.
6383 * loop.c (max_reg_before_loop): Now unsigned.
6384 (struct_movable): REGNO now unsigned.
6385 (try_copy_prop): REGNO arg unsigned.
6386 (regs_match_p): XN and YN now unsigned.
6387 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
6388 (strength_reduce): Likewise; NREGS also unsigned.
6389 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
6390 * loop.h (struct iv_class): REGNO now unsigned.
6391 (max_reg_before_loop, first_increment_giv, last_increment_giv):
6392 Now unsigned.
6393 * machmode.h (mode_size, mode_unit_size): Now unsigned.
6394 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
6395 * optabs.c (expand_binop): I and NWORDS now unsigned.
6396 (expand_unop): I now unsigned.
6397 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
6398 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
6399 * real.c (significand_size): Now returns unsigned.
6400 * real.h (significand_size): Likewise.
6401 * regclass.c (reg_class_size): Now unsigned.
6402 (choose_hard_reg_mode): Both operands now unsigned.
6403 (record_reg_classes): REGNO and NR now unsigned.
6404 (reg_scan): NREGS now unsigned.
6405 (reg_scan_update): old_max_regno now unsigned.
6406 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
6407 * reload.c (find_valid_class): BEST_SIZE now unsigned.
6408 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
6409 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
6410 Likewise for variable R.
6411 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
6412 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
6413 (find_equiv_reg): Add casts.
6414 (regno_clobbered_p): Arg REGNO now unsigned.
6415 * reload.h (struct reload): NREGS now unsigned.
6416 (refers_to_regno_for_reload_p): Regno args are unsigned.
6417 (regno_clobbered_p): Likewise.
6418 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
6419 (compute_use_by_pseudos): REGNO now unsigned.
6420 (find_reg): I and J now unsigned, new variable K, and change loop
6421 variables accordingly; THIS_NREGS now unsigned.
6422 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
6423 (spill_hard_reg): REGNO arg now unsigned; add casts.
6424 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
6425 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
6426 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
6427 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
6428 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
6429 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
6430 (emit_reload_insns): REGNO now unsigned.
6431 (reload_cse_move2add): Add cast.
6432 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
6433 and rework loop.
6434 * resource.c (mark_referenced_resources, mark_set_resources): New
6435 variable R; REGNO and LAST_REGNO now unsigned.
6436 (mark_target_live_regs): J and REGNO now unsigned.
6437 * rtl.c (mode_size, mode_unit_size): Now unsigned.
6438 * rtl.h (union rtunion_def): New field rtuint.
6439 (XCUINT): New macro.
6440 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
6441 (operand_subword, operand_subword_force): Word number is unsigned.
6442 (choose_hard_reg_mode): Operands are unsigned.
6443 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
6444 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
6445 (regno_use_in, combine_instructions, remove_death): Likewise.
6446 (reg_scan, reg_scan_update): Likewise.
6447 (extended_count): Return is unsigned.
6448 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
6449 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
6450 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
6451 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
6452 (reg_reg_last_1): FIRS and LAST now unsigned.
6453 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
6454 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
6455 now unsigned.
6456 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
6457 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
6458 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
6459 (replace_regs): Arg NREGS now unsigned.
6460 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
6461 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
6462 (simplify_binary_operation): Likewise.
6463 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
6464 THIS_LAST now unsigned.
6465 (cselib_record_set): Add cast.
6466 * ssa.c (ssa_max_reg_num): Now unsigned.
6467 (rename_block): REGNO now unsigned.
6468 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
6469 sizes now unsigned.
6470 (all_cases_count): Just return -1 not -2.
6471 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
6472 Rework tests to use trees whenever possible.
6473 Use host_integerp and tree_low_cst.
6474 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
6475 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
6476 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
6477 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
6478 (smallest_mode_for_size): Likewise.
6479 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
6480 KNOWN_ALIGN is now an alignment, so simplify code.
6481 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
6482 (start_record_layout): Renamed from new_record_layout_info.
6483 Update to new fields.
6484 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
6485 New functions.
6486 (place_union_field): Renamed from layout_union_field.
6487 Update to use new fields in rli.
6488 (place_field): Renamed from layout_field.
6489 Major rewrite to use new fields in rli; pass alignment to layout_decl.
6490 (finalize_record_size): Rework to use new fields in rli and handle
6491 union.
6492 (compute_record_mode): Rework to simplify and to use new DECL fields.
6493 (finalize_type_size): Make rounding more consistent.
6494 (finish_union_layout): Deleted.
6495 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
6496 (layout_type, case RECORD_TYPE): Call new function names.
6497 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
6498 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
6499 (get_best_mode): UNIT is now unsigned; remove casts.
6500 * tree.c (bit_position): Compute from new fields.
6501 (byte_position, int_byte_position): New functions.
6502 (print_type_hash_statistics): Cast to remove warning.
6503 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
6504 (build_index_type): Likewise; make subtype of sizetype.
6505 (build_index_2_type): Pass sizetype to build_range_type.
6506 (build_common_tree_nodes): Use size_int and bitsize_int to
6507 initialize nodes; add bitsize_{zero,one,unit}_node.
6508 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
6509 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
6510 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
6511 (DECL_FIELD_BITPOS): Deleted.
6512 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
6513 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
6514 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
6515 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
6516 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
6517 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
6518 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
6519 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
6520 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
6521 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
6522 (DECL_ALIGN): Adjust to new field in union.
6523 (DECL_OFFSET_ALIGN): New field.
6524 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
6525 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
6526 (union tree_decl): Add struct for both aligns.
6527 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
6528 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
6529 (struct record_layout_info): Rework fields to have offset
6530 alignment and byte and bit position.
6531 (start_record_layout, place_field): Renamed from old names.
6532 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
6533 (byte_position, int_byte_position): Likewise.
6534 (get_inner_reference): Change types of position and length.
6535 * unroll.c (unroll_loop): New variable R; use for some loops.
6536 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
6537 (calculate_giv_inc): Arg REGNO now unsigned.
6538 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
6539 * varasm.c (assemble_variable): Clean up handling of size using
6540 host_integerp and tree_low_cst.
6541 (decode_addr_const): Use byte, not bit, position.
6542 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
6543 use tree_low_cst and int_bit_position.
6544 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
6545
6546 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
6547
6548 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
6549 (reorder_block_def): New members eff_head and eff_end.
6550 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
6551 (verify_insn_chain): New function.
6552 (skip_insns_between_block): Add code to skip deleted insns.
6553 Check for note before using.
6554 (chain_reorder_blocks): Replace calls to skip_insns_between_block
6555 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
6556 Check for note before using.
6557 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
6558 (fixup_reorder_chain): Restructure, clean up, defect removal.
6559 (reorder_basic_blocks): Remove last_insn and references to it.
6560 Moved insn chain verification code into a new function (see above).
6561 Delete defective code that sets last insn.
6562 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
6563 all blocks.
6564
6565 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6566
6567 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
6568
6569 2000-03-24 Richard Henderson <rth@cygnus.com>
6570
6571 * tree.c (lang_safe_for_unsave): Remove.
6572 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
6573 allowing for two levels of unsafeness. Remove lang hook.
6574 * tree.h: Update declarations.
6575 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
6576 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
6577 Always fail sibcalls when there are pending cleanups.
6578
6579 2000-03-24 Geoff Keating <geoffk@cygnus.com>
6580
6581 * flow.c (propagate_block): When we delete an ADDR_VEC,
6582 also delete the BARRIER following it if there is one.
6583
6584 2000-03-24 Richard Henderson <rth@cygnus.com>
6585
6586 * builtins.c (expand_builtin_bzero): Convert `length' argument
6587 to sizetype.
6588
6589 2000-03-24 Jakub Jelinek <jakub@redhat.com>
6590
6591 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
6592 comparison if regno's are equal.
6593 * calls.c (initialize_argument_informat): Add ecf_flags argument.
6594 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6595 (expand_call): Update caller.
6596 Avoid making a sibling call if argument size of the callee is larger
6597 than argument size of the caller.
6598 Call hard_function_value with outgoing set if in sibcall pass.
6599 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6600
6601 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
6602 Change LEAF_REGISTERS from an array initializer to actual array
6603 identifier. Move static global variable into the function.
6604 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
6605 sequences for leaf functions.
6606 * global.c (global_alloc): Likewise.
6607 * tm.texi (LEAF_REGISTERS): Update documentation.
6608
6609 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
6610 TARGET_FLAT leaf disabling hack.
6611 (LEAF_REGISTERS): Changed from an array initializer to actual array
6612 identifier to avoid duplication and remove the above hack.
6613 (FUNCTION_OK_FOR_SIBCALL): Define.
6614 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
6615 always like call attribute.
6616 (eligible_for_sibcall_delay): New attribute.
6617 (sibcall): New delay type.
6618 (sibcall, sibcall_value, sibcall_epilogue): New expands.
6619 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
6620 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
6621 * config/sparc/sparc.c (sparc_leaf_regs): New array.
6622 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
6623 New functions.
6624 (output_function_epilogue): Move part of the code into
6625 output_restore_regs.
6626 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
6627 TYPE_SIBCALL.
6628 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
6629 prototypes.
6630
6631 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
6632 until infrastructure is finished.
6633
6634 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
6635
6636 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
6637 (save_parm_insns): Not here.
6638
6639 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6640
6641 * builtins.c (expand_builtin_bzero): New function.
6642 (expand_builtin): Handle bzero.
6643
6644 * builtins.def: Add BUILT_IN_BZERO.
6645
6646 * c-common.c (c_common_nodes_and_builtins): Provide builtin
6647 prototype & function for bzero.
6648
6649 2000-03-23 Michael Meissner <meissner@redhat.com>
6650
6651 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
6652 change adding TARGET_FP to the TF floating point insns, except for
6653 trunctfsf2, which generates direct calls to truncdfsf2.
6654
6655 2000-03-23 Geoff Keating <geoffk@cygnus.com>
6656
6657 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
6658 try to protect against middle-end changes that break binary
6659 compatibility.
6660 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
6661
6662 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6663
6664 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
6665
6666 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6667
6668 * calls.c (expand_call): If TARGET is passed by reference and
6669 is readonly, write a CLOBBER.
6670
6671 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6672
6673 * builtins.c (expand_builtin): Handle bcmp.
6674
6675 * builtins.def: Add BUILT_IN_BCMP.
6676
6677 * c-common.c (c_common_nodes_and_builtins): Provide builtin
6678 prototype & function for bcmp.
6679
6680 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
6681
6682 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
6683 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
6684 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
6685
6686 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
6687
6688 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
6689 alternative when using -fp64 -gp32.
6690
6691 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
6692
6693 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
6694 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
6695 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
6696
6697 * frame.h (frame_state): Revert last change.
6698 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
6699 * libgcc2.c (throw_helper): Revert last change.
6700
6701 2000-03-22 Richard Henderson <rth@cygnus.com>
6702
6703 * stmt.c (expand_asm_operands): Don't promote the temporary.
6704
6705 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6706
6707 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
6708 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
6709 c_get_alias_set): Likewise.
6710 * c-decl.c (duplicate_decls): Likewise.
6711 * c-typeck.c (default_conversion,build_unary_op): Likewise.
6712 * calls.c (initialize_argument_information): Likewise.
6713 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
6714 Likewise.
6715 * dwarfout.c (decl_class_context,output_type): Likewise.
6716 * expr.c (get_inner_reference): Likewise.
6717 * fold-const.c (simple_operand_p,fold): Likewise.
6718 * function.c (aggregate_value_p): Likewise.
6719 * stmt.c (expand_asm_operands): Likewise.
6720 * varasm.c (named_section): Likewise.
6721
6722 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
6723
6724 Implement dwarf2 exception handling for the ARM.
6725 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
6726 (DWARF_FRAME_RETURN_COLUMN): Define.
6727 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
6728 REG_FRAME_RELATED_EXPR note.
6729 (emit_sfm): Likewise.
6730 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
6731 * dwarf2out.c (reg_save): Handle saving a register to itself.
6732 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
6733 * except.c (eh_regs): Don't use the static chain reg if it's
6734 callee-saved.
6735 * frame.h (frame_state): Add cfa_saved field.
6736 * frame.c (execute_cfa_insn): Set it.
6737 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
6738 the epilogue.
6739 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
6740 Now takes a parm.
6741 (instantiate_virtual_regs): Adjust.
6742 * tm.texi: Adjust.
6743 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6744 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6745 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
6746
6747 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
6748 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
6749
6750 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6751
6752 * builtins.def: New file.
6753
6754 * Makefile.in (TREE_H): Depend on builtins.def.
6755
6756 * builtins.c (built_in_names): Use builtins.def.
6757
6758 * tree.h (built_in_function): Likewise.
6759
6760 2000-03-22 Mark Mitchell <mark@codesourcery.com>
6761
6762 * tree.c (size_in_bytes): Return size_zero_node, not
6763 integer_zero_node.
6764
6765 2000-03-22 Geoff Keating <geoffk@cygnus.com>
6766
6767 * config/fp-bit.c (pack_d): Correct the case when a denormal
6768 is rounded up and stops being denormal.
6769
6770 2000-03-21 Richard Henderson <rth@cygnus.com>
6771
6772 * config/alpha/alpha.c (function_arg): Check for void_type_node
6773 before using MUST_PASS_IN_STACK.
6774
6775 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
6776
6777 * regmove.c (combine_stack_adjustments_for_block): Check that
6778 the stack pointer is a valid memory address.
6779
6780 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
6781
6782 * calls.c: re-install Mar 16 emit_library_call merge.
6783
6784 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6785
6786 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
6787 we cannot be sure that if reload_completed base register will
6788 be properly aligned.
6789
6790 2000-03-21 Richard Henderson <rth@cygnus.com>
6791
6792 * flow.c (delete_block): Fix typo last change.
6793
6794 2000-03-21 Mark Mitchell <mark@codesourcery.com>
6795
6796 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
6797 not COMPLETE_TYPE_P, to check the type of the expression.
6798
6799 2000-03-21 Michael Meissner <meissner@redhat.com>
6800
6801 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
6802 all floating point insns that just tested the macro
6803 TARGET_HAS_XFLOATING_LIBS.
6804 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
6805 used to only use the gprs.
6806
6807 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
6808
6809 * tree.h (COMPLETE_TYPE_P): New macro.
6810 (COMPLETE_OR_VOID_TYPE_P): New macro.
6811 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
6812 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
6813 * c-aux-info.c (gen_type): Use them.
6814 * c-common.c (c_expand_expr_stmt): Likewise.
6815 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
6816 grokdeclarator, grokparms, finish_struct, start_function,
6817 store_parm_decls, combine_parm_decls): Likewise.
6818 * c-parse.y (cast_expr): Likewise.
6819 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
6820 c_size_in_bytes, c_alignof, build_component_ref,
6821 build_indirect_ref, build_array_ref, convert_arguments,
6822 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
6823 * calls.c (initialize_argument_information): Likewise.
6824 * convert.c (convert_to_integer): Likewise.
6825 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
6826 * dwarfout.c (location_or_const_value_attribute,
6827 output_enumeration_type_die, output_structure_type_die,
6828 output_union_type_die, output_type): Likewise.
6829 * expr.c (safe_from_p, expand_expr): Likewise.
6830 * function.c (assign_parms): Likewise.
6831 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
6832 * tree.c (build_array_type, build_function_type,
6833 build_method_type, build_offset_type, build_complex_type): Likewise.
6834 * c-parse.c, c-parse.h: Regenerated.
6835
6836 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6837
6838 * config/c4x/rtems.h: Include config/rtems.h.
6839
6840 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
6841
6842 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
6843 decl is a FUNCTION_DECL
6844
6845 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
6846
6847 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
6848 function uses output registers. Don't save RP for leaf functions.
6849 Do save RP even if no epilogue.
6850 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
6851 (CALL_USED_REGISTERS): Unmark in registers.
6852 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
6853 to near the middle.
6854
6855 2000-03-20 Geoff Keating <geoffk@cygnus.com>
6856
6857 * config/rs6000/rs6000.md (bunordered): New expander.
6858 (bordered): New expander.
6859 (buneq): New expander.
6860 (bunge): New expander.
6861 (bungt): New expander.
6862 (bunle): New expander.
6863 (bunlt): New expander.
6864 (bltgt): New expander.
6865
6866 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
6867 (ccr_bit_negated_p): New function.
6868 (print_operand): For %C, generate appropriate cror for UNEQ,
6869 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
6870
6871 2000-03-20 Andreas Jaeger <aj@suse.de>
6872
6873 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
6874 warning.
6875
6876 * tree.h (safe_for_unsave): Prototype.
6877
6878 2000-03-20 Richard Henderson <rth@cygnus.com>
6879
6880 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
6881 (combine_stack_adjustments_for_block): Don't allow sp references
6882 in the side of a set we're not fixing up.
6883 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
6884 after life_analysis.
6885
6886 2000-03-20 Richard Henderson <rth@cygnus.com>
6887
6888 * calls.c (expand_call): Don't bother generating tail call
6889 sequences if there are pending cleanups. Use
6890 expand_start_target_temps/expand_end_target_temps to elide
6891 cleanups created during sibcall expansion.
6892
6893 2000-03-20 Geoff Keating <geoffk@cygnus.com>
6894
6895 * configure.in: Set $IFS to a value if it doesn't already have one
6896 in the --enable-checking handling.
6897 * configure: Regenerate.
6898
6899 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6900
6901 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
6902 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6903 Regenerated.
6904
6905 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
6906
6907 * jump.c (delete_noop_moves): Remove code attempting to
6908 combine stack adjustments.
6909
6910 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6911
6912 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
6913 * except.c (emit_cleanup_handler): Use them.
6914 (expand_end_all_catch): Likewise.
6915 * function.c (fixup_var_refs): Likewise.
6916 (expand_function_end): Clear catch_clauses_last.
6917 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
6918 * except.h (struct eh_status): New field x_catch_clauses_last.
6919 (catch_clauses_last): New define.
6920
6921 * Makefile.in (tree.o): Depend on HASHTAB_H.
6922 * tree.c: Include hashtab.h.
6923 (struct type_hash): Remove next field.
6924 (TYPE_HASH_SIZE): Remove.
6925 (TYPE_HASH_INITIAL_SIZE): New define.
6926 (type_hash_table): Change type to htab_t.
6927 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6928 mark_hash_entry): New functions.
6929 (init_obstacks): Allocate type hash.
6930 (type_hash_lookup): Use htab functions.
6931 (type_hash_add, mark_type_hash): Likewise.
6932 (dump_tree_statistics): Call print_type_hash_statistics.
6933
6934 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6935
6936 * rs6000/t-aix41: New file.
6937
6938 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6939
6940 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
6941
6942 * tm.texi (Driver): Fix typos and tweak entry for
6943 INCLUDE_DEFAULTS.
6944 Move misplaced STRUCT_FORCE_BLK entry ...
6945 (Storage Layout): ... to here.
6946 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6947
6948 2000-03-19 Richard Henderson <rth@cygnus.com>
6949
6950 * flow.c (delete_block): Delete the addr_vec along with the block.
6951 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6952 reference labels.
6953
6954 * fold-const.c (extract_muldiv): Apply type check for defined
6955 overflow to multiply as well as divide.
6956
6957 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6958
6959 2000-03-18 Mark Mitchell <mark@codesourcery.com>
6960
6961 * emit-rtl.c (remove_unncessary_notes): Check that all
6962 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6963 associated NOTE_BLOCK.
6964 * function.h (identify_blocks): Update comments.
6965 (reorder_blocks): Declare.
6966 * function.c (identify_blocks): Don't take paramters.
6967 (reorder_blocks): Don't take parameters.
6968 * loop.h (find_loop_tree_blocks): Remove.
6969 (unroll_block_trees): Likewise.
6970 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
6971 reorder_blocks instead of unroll_block_trees.h
6972 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6973 * stmt.c (find_loop_tree_blocks): Remove.
6974 (unroll_block_trees): Likewise.
6975 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6976 in whole-function mode.
6977 * tree.h (reorder_blocks): Remove declaration.
6978
6979 * expr.c: Include intl.h.
6980 * Makefile.in (expr.o): Depend on intl.h.
6981
6982 2000-03-18 Richard Henderson <rth@cygnus.com>
6983
6984 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6985
6986 2000-03-18 Mark Mitchell <mark@codesourcery.com>
6987
6988 * tree.h (tree_index): Remove enumerals for integer types.
6989 (integer_type_kind): New type.
6990 (integer_types): New variable.
6991 (char_type_node): Adjust.
6992 (signed_char_type_node): Likewise.
6993 (unsigned_char_type_node): Likewise.
6994 (short_integer_type_node): Likewise.
6995 (short_unsigned_type_node): Likewise.
6996 (integer_type_node): Likewise.
6997 (unsigned_type_node): Likewise.
6998 (long_integer_type_node): Likewise.
6999 (long_unsigned_type_node): Likewise.
7000 (long_long_integer_type_node): Likewise.
7001 (long_long_unsigned_type_node): Likewise.
7002 * tree.c (integer_types): New variable.
7003 (init_obstacks): Register it as a root.
7004
7005 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
7006
7007 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
7008 NEXT_INSN. Update last insn in chain.
7009
7010 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
7011
7012 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
7013 with TYPE_DECL_SUPPRESS_DEBUG set.
7014
7015 2000-03-18 Richard Henderson <rth@cygnus.com>
7016
7017 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
7018
7019 2000-03-18 Richard Henderson <rth@cygnus.com>
7020
7021 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
7022 care for HALF_PIC_P.
7023 (expander_call_insn_operand): Remove.
7024 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
7025 * i386.h (PREDICATE_CODES): Update.
7026 * i386.md (all call expanders): Remove predicates, remove special
7027 handling for half-pic.
7028 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
7029 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
7030 (sibcall_epilogue): New.
7031
7032 2000-03-17 Richard Henderson <rth@cygnus.com>
7033
7034 * rtlanal.c (single_set): Reject if the parallel has anything
7035 except SET or USE or CLOBBER.
7036
7037 2000-03-17 Jeff Law <law@cygnus.com>
7038 Richard Henderson <rth@cygnus.com>
7039
7040 * Makefile.in (OBJS): Add sibcall.o.
7041 (sibcall.o): New.
7042 * sibcall.c: New file.
7043 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
7044 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
7045 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
7046 Emit sibcall patterns when requested. Update all callers.
7047 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
7048 elimination seems feasable.
7049 * final.c (leaf_function_p): Sibling calls don't discount being
7050 a leaf function.
7051 * flow.c (HAVE_sibcall_epilogue): Provide default.
7052 (find_basic_blocks_1): Sibling calls don't throw.
7053 (make_edges): Make edge from sibling call to EXIT.
7054 (propagate_block): Don't remove sibcall_epilogue insns.
7055 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
7056 (sibcall_epilogue): New.
7057 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
7058 (identify_blocks_1): Likewise. Break out from ...
7059 (identify_blocks): ... here.
7060 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
7061 (reorder_blocks): ... here.
7062 (init_function_for_compilation): Zap prologue/epilogue as varrays.
7063 (record_insns): Extend a varray instead of mallocing new memory.
7064 (contains): Read a varray not array of ints.
7065 (sibcall_epilogue_contains): New.
7066 (thread_prologue_and_epilogue_insns): Emit and record
7067 sibcall_epilogue patterns.
7068 (init_function_once): Allocate prologue/epilogue varrays.
7069 * genflags.c (gen_insn): Treat sibcall patterns as calls.
7070 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
7071 Broken out from ...
7072 (save_for_inline_nocopy): ... here.
7073 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
7074 Broken out from ...
7075 (expand_inline_function): ... here.
7076 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
7077 (subst_constants): Handle 'n' formats.
7078 * jump.c (jump_optimize_minimal): New.
7079 (jump_optimize_1): New arg `minimal'; update callers. Elide most
7080 optimizations if it's set.
7081 * rtl.c (copy_rtx): Do copy jump & call for insns.
7082 * rtl.h (struct rtx_def): Document use of jump and call for insns.
7083 (SIBLING_CALL_P): New.
7084 (sibcall_use_t): New.
7085 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
7086 Invoke optimize_sibling_and_tail_recursive_calls.
7087 * tree.c (lang_safe_for_unsave): New.
7088 (safe_for_unsave): New.
7089 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
7090
7091 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
7092 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
7093 (*sibcall_osf_1, *sibcall_value_osf_1): New.
7094
7095 2000-03-17 Mark Mitchell <mark@codesourcery.com>
7096
7097 * objc/objc-act.c (encode_method_prototype): Pass types, not
7098 PARM_DECLs, to int_size_in_bytes.
7099
7100 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
7101
7102 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
7103
7104 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7105 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
7106
7107 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7108
7109 * Clean up usages of TREE_INT_CST_LOW.
7110 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
7111 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
7112 Regenerated.
7113 * c-tree.h (min_precision): Move declaration to here.
7114 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
7115 (build_unary_op, add_pending_init): Use bit_position.
7116 (pending_init_member, process_init_element): Likewise.
7117 (really_start_incremental_init, push_init_level, pop_init_level):
7118 Don't make copies of nodes or modify them in place, use consistent
7119 types when tracking positions, and use tree routines computations.
7120 (set_init_index, output_init_element): Likewise.
7121 (output_pending_init_elements, process_init_element): Likewise.
7122 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
7123 tree_low_cst and int_bit_position; also minor cleanup.
7124 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
7125 (print_cst_octal): Precision is unsigned.
7126 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
7127 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
7128 (simple_type_align_in_bits): Result is unsigned int.
7129 Use tree_int_low_cst and host_integerp.
7130 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
7131 (field_byte_offset): Result is HOST_WIDE_INT.
7132 Change types of internal variables so alignments are unsigned int,
7133 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
7134 Use host_integerp, tree_low_cst, and int_bit_position.
7135 (add_bit_offset_attribute): Likewise.
7136 (add_data_member_location_attribute): Use tree_cst_low.
7137 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
7138 (add_bit_size_attribute): Use tree_low_cst.
7139 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
7140 * dwarfout.c: Similar changes to dwarf2out.c.
7141 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
7142 * genoutput.c (n_occurences): Return -1 for null string.
7143 (strip_whitespace): Accept null string and make into function.
7144 (scan_operands): Reflect above changes.
7145 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
7146 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
7147 * ssa.c (rename_registers): Add missing cast of arg to bzero.
7148 * tree.c (int_size_in_bytes): Check for too big to represent.
7149 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
7150 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
7151 New declarations.
7152 (min_precision): Delete from here.
7153 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
7154 and int_bit_position.
7155 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
7156 (encode_method_def): Likewise.
7157 (build_ivar_list_initializer): Use int_bit_position.
7158 (generate_shared_structures): Convert size.
7159 (encode_type, encode_complete_bitfield): Use integer_zerop.
7160 (encode_bitfield): Use tree_low_cst and int_bit_position.
7161
7162 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7163
7164 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
7165
7166 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7167
7168 * call.c (special_function_p): It is only malloc if it returns
7169 Pmode.
7170
7171 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7172
7173 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
7174 (C33_FLAG, TARGET_C3X): Add macros.
7175 (TARGET_SWITCHES): Add -m33 option.
7176 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
7177
7178 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7179
7180 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
7181 (PARALLEL_PACK_FLAG): Delete.
7182 (TARGET_SWITCHES): Update.
7183 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
7184
7185 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7186
7187 * fold-const.c (fold): Fix a few cases when the returned result
7188 is not of the same type as the input.
7189
7190 2000-03-16 Nick Clifton <nickc@cygnus.com>
7191
7192 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
7193 warning.
7194
7195 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7196
7197 * libgcc2.h: Move prototypes above macros with the same name.
7198 Wrap some function prototypes in the conditional which indicates
7199 whether they are supported, i.e. "BITS_PER_UNIT == 8".
7200
7201 2000-03-16 Richard Henderson <rth@cygnus.com>
7202
7203 * calls.c: Revert last two changes.
7204
7205 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
7206
7207 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
7208 has exponent 0 is a zero.
7209
7210 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
7211 HASH may already be nonzero. Add code/mode into hash value
7212 immediately after repeat label.
7213 (cselib_lookup): Don't leave the hash table in an inconsistent
7214 state before a hash lookup operation.
7215
7216 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
7217
7218 * i386.md (all HI and QI mode non-move patterns): Conditionize
7219 by TARGET_[HQ]IMODE_MATH.
7220 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7221 x86_promote_qi_regs): Declare.
7222 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
7223 TARGET_PROMOTE_QI_REGS): New macros.
7224 (PROMOTE_MODE): New macro.
7225 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7226 x86_promote_qi_regs): New global variables.
7227
7228 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
7229
7230 * calls.c (emit_library_call_value_1): Break out from ...; handle
7231 VOIDmode function calls too.
7232 (emit_library_call_value): ... here.
7233 (emit_library_call): Implement by calling emit_library_call_value_1.
7234
7235 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
7236
7237 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
7238 Update arg_space_so_far on stack adjustments.
7239 (emit_library_call, emit_library_call_value): Likewise; take into
7240 account arg_space_so_far and pending_stack_adjust when calculcating
7241 the boundary.
7242
7243 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
7244
7245 * flow.c: Move all basic block reordering code into its own file.
7246 (create_basic_block): Externalize.
7247 * bb-reorder.c: New file. Copy all basic block reordering code from
7248 flow.c to this file.
7249 (reorder_basic_blocks): Fix fencepost error in for-loop.
7250 (reorder_basic_blocks): Remove braces from single statement for-loops.
7251 * basic-block.h: Add declaration for create_basic_block.
7252 * Makefile.in: Add rules for bb-reorder.o.
7253
7254 2000-03-16 Neil Booth <NeilB@earthling.net>
7255
7256 * cppinit.c (handle_option): Implement #unassert directive
7257 as -A- command line option.
7258 (print_help): Update.
7259 * cpptexi.c: Update.
7260
7261 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
7262
7263 * md.texi (Standard Names): Document `jump'.
7264
7265 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
7266
7267 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
7268 gotos.
7269
7270 2000-03-15 Geoff Keating <geoffk@cygnus.com>
7271
7272 Merge changes from newppc-branch onto trunk.
7273
7274 2000-03-15 Geoff Keating <geoffk@cygnus.com>
7275
7276 * rs6000.c (toc_hash_table): Update for new hash table functions.
7277 (toc_hash_function): Likewise.
7278 (toc_hash_eq): Likewise.
7279 (toc_hash_mark_entry): Likewise.
7280 (toc_hash_mark_table): Likewise.
7281 (output_toc): Likewise.
7282 (rs6000_add_gc_roots): Likewise.
7283
7284 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7285
7286 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
7287 (AR_FLAGS_FOR_TARGET): here. New macro.
7288
7289 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
7290
7291 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
7292 fpmem_operand) Delete.
7293 (xer_operand) New.
7294 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
7295 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
7296 (rs6000_save_machine_status, rs6000_restore_machine_status,
7297 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
7298 references to above variables.
7299 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
7300 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
7301 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
7302 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
7303 (XER_REGNO_P, XER_REGNO): New.
7304 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
7305 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
7306 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
7307 XER_REGNO_P.
7308 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
7309 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
7310 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
7311
7312 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7313
7314 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
7315 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
7316 * rs6000.h: from here.
7317
7318 * rs6000-protos.h (rs6000_select_section): Provide prototype.
7319 (rs6000_select_rtx_section): Likewise.
7320 (rs6000_encode_section_info): Likewise.
7321 (sdata_section): Likewise.
7322 (sdata2_section): Likewise.
7323 (sbss_section): Likewise.
7324 * sysv4.h (rs6000_select_section): Delete prototype.
7325 (rs6000_select_rtx_section): Likewise.
7326 (rs6000_encode_section_info): Likewise.
7327 (sdata_section): Likewise.
7328 (sdata2_section): Likewise.
7329 (sbss_section): Likewise.
7330 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
7331
7332 * sysv4.h: Delete various unnecessary #undef's and put a comment
7333 on the remaining ones.
7334 Change various comments according to coding standard.
7335
7336 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
7337
7338 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
7339 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
7340 (CR0_REGNO_P) Remove.
7341 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
7342 setup_incoming_varargs, mtcrf_operation, print_operand,
7343 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
7344 Use the above macros.
7345
7346 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
7347
7348 * config/rs6000/rs6000.md: Added a new alternative for each
7349 pattern that had a 'x' alternative but no 'y' alternative.
7350 Added a new split for each of the above patterns.
7351
7352 2000-02-18 Geoff Keating <geoffk@cygnus.com>
7353
7354 * aix41.h (ASM_CPU_SPEC): Delete.
7355 (CPP_CPU_SPEC): Delete.
7356
7357 * aix.h (RS6000_OUTPUT_BASENAME): Define.
7358 (ASM_OUTPUT_LABEL): Define.
7359 (ASM_GLOBALIZE_LABEL): Define.
7360 (STRIP_NAME_ENCODING): Define.
7361 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
7362 (STRIP_NAME_ENCODING): Don't define.
7363 (ASM_OUTPUT_LABEL): Don't define.
7364 (ASM_GLOBALIZE_LABEL): Don't define.
7365 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
7366 names, and ASM_OUTPUT_LABEL to output labels, rather than
7367 asm_fprintf.
7368 (ASM_OUTPUT_LABEL): Define.
7369 (ASM_OUTPUT_INT): Use assemble_name.
7370 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
7371 (STRIP_NAME_ENCODING): Don't undefine first.
7372 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
7373 ELF.
7374 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
7375 specified with 'asm' even with -fleading-underscore.
7376 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
7377 (output_epilog): Likewise.
7378 (output_toc): Likewise.
7379 * tramp.asm: Handle -fleading-underscore correctly.
7380
7381 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
7382 -mminimal-toc.
7383 (nonlocal_goto_receiver): Delete.
7384 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
7385
7386 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
7387 (SET_ASM_OP): Define.
7388 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
7389
7390 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
7391 (ASM_LONG): Define.
7392
7393 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
7394 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
7395
7396 * rs6000.h: Add 'u' to more constants.
7397
7398 2000-02-18 David Edelsohn <edelsohn@gnu.org>
7399
7400 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
7401
7402 2000-02-15 David Edelsohn <edelsohn@gnu.org>
7403
7404 * rs6000.c (reg_or_u_cint_operand): New function.
7405 (logical_operand): Handle 64-bit hosts.
7406 (logical_u_operand): New function.
7407 (non_logical_cint_operand): Handle 64-bit hosts.
7408 (non_logical_u_cint_operand): New function.
7409 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
7410 (PREDICATE_CODES): Define new functions.
7411 * rs6000-protos.h: Declare new functions.
7412 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
7413 (movdi_64): Bracket code intended for 64-bit hosts. Create
7414 CONST_DOUBLE for 32-bit values.
7415 (scc insns): Generate DImode compares.
7416 (mfcr insns): Create DImode versions.
7417 (sge matchers): New patterns.
7418
7419 2000-02-15 Gabriel Paubert <paubert@iram.es>
7420
7421 * rs6000.md: Correct instructions length attributes and
7422 constraints on unsigned compare instructions.
7423 (*ne0): Disable for PowerPC64.
7424
7425 2000-02-11 Geoff Keating <geoffk@cygnus.com>
7426
7427 * rs6000.c (output_function_profiler): Use .long for a 32-bit
7428 quantity, fix profile1.C test failure under -fPIC.
7429
7430 * rs6000.c: Add 'u' to many constants to suppress warnings.
7431 (constant_pool_expr_1): Make static.
7432 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
7433 * rs6000.h: Add 'u' to many constants to suppress warnings.
7434
7435 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
7436 for the start of the TOC, instead of LCTOC..0.
7437 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
7438 of the TOC.
7439 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
7440 (load_toc_aix_di): Use LCTOC..1.
7441
7442 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
7443 * rs6000.c (rs6000_legitimize_address): New function from
7444 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
7445 symbols in the constant pool that really are TOC references.
7446 (print_operand_address): For ELF, write TOC offsets under
7447 -fPIC as subtractions in the insn.
7448 (output_toc): For ELF, define symbols in TOC as normal labels,
7449 to match RTL.
7450 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
7451 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
7452 (create_TOC_reference): Prototype only when RTX_CODE is defined.
7453 * rs6000.md (movsi): Only use create_TOC_reference on
7454 symbols in the constant pool that really are TOC references.
7455
7456 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
7457 * rs6000.c (rs6000_reorg): Delete.
7458 * rs6000-protos.h (rs6000_reorg): Delete.
7459
7460 2000-02-09 Geoff Keating <geoffk@cygnus.com>
7461
7462 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
7463
7464 * aix.h (SETUP_FRAME_ADDRESSES): Define.
7465 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
7466 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
7467 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
7468 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
7469 rs6000_aix_emit_builtin_unwind_init.
7470 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
7471 rs6000_emit_eh_toc_restore on AIX.
7472 (return_eh_si): Use r2.
7473 (return_eh_di): Use r2.
7474
7475 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
7476 since we're breaking binary compatibility anyway.
7477
7478 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
7479
7480 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
7481 constant_pool_expr_p): Declare them.
7482 (constant_pool_expr_p): Declare it.
7483 * config/rs6000/rs6000.c (toc_label_name): Define.
7484 (rs6000_override_options): Set toc_label_name.
7485 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
7486 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
7487 uses_TOC): New functions.
7488 (print_operand): Delete old '*' case.
7489 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
7490 and strip off rtl for TOC before calling output_addr_const.
7491 (rs6000_emit_load_toc_table): Use toc_label_name.
7492 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
7493 the default.
7494 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
7495 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
7496 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
7497 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
7498 into explicit TOC_REGISTER offsets.
7499 (TOC_REGISTER): New macro.
7500 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
7501 TARGET_TOC to reference TOC_REGISTER.
7502 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
7503 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
7504 uses_TOC before emitting label references.
7505
7506 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7507
7508 * rs6000.md (stack_tie): Fix warning.
7509
7510 * eabi-ctors.c: Use 'asm' names for the start/end variables,
7511 to handle -fleading-underscore.
7512 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
7513 (USER_LABEL_PREFIX): New macro.
7514 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
7515 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
7516 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
7517 call-linux can use the same multilibs.
7518 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
7519 and call-linux multilibs. Do multilib with -fleading-underscore.
7520 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
7521 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
7522 to call-aix.
7523
7524 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
7525 have MASK_SOFT_FLOAT set.
7526 (CPP_FLOAT_DEFAULT_SPEC): New macro.
7527 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
7528 CPP_FLOAT_DEFAULT_SPEC.
7529
7530 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
7531 * rs6000.md: Whitespace change.
7532 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
7533 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
7534
7535 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7536
7537 * rs6000.md (eh_epilogue): New expander.
7538 (eh_reg_restore): New expand/split/insn combination.
7539 (return_eh_si): New insn.
7540 (return_eh_di): New insn.
7541
7542 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
7543 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
7544 * eabi-ctors.c (__do_global_ctors): Register this object's
7545 frame. Clean up. Call atexit() after the constructors.
7546 (__do_global_dtors): Deregister this object's frame. Clean up.
7547 Allow for recursive calls to exit().
7548 * rs6000.c (fixuplabelno): New variable.
7549 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
7550 TARGET_RELOCATABLE, it slows down exec() under linux.
7551 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
7552
7553 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
7554 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
7555 (ASM_OUTPUT_DWARF_DELTA2): New macro.
7556 (ASM_OUTPUT_DWARF_DELTA4): New macro.
7557 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
7558 (ASM_OUTPUT_DWARF_ADDR): New macro.
7559 (ASM_OUTPUT_DWARF_DATA4): New macro.
7560 (ASM_OUTPUT_DWARF_DATA2): New macro.
7561 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
7562 (ASM_OUTPUT_DWARF_OFFSET): New macro.
7563 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
7564
7565 2000-02-03 Geoff Keating <geoffk@cygnus.com>
7566
7567 * rs6000.c (rs6000_sr_alias_set): New variable.
7568 (rs6000_override_options): Initialise rs6000_sr_alias_set.
7569 (rs6000_emit_stack_tie): New function.
7570 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
7571 in a way that dwarf2out can understand.
7572 (rs6000_frame_related): New function.
7573 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
7574 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
7575 Use rs6000_emit_stack_tie when needed.
7576 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
7577 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
7578 * rs6000.md (stack_tie): New insn.
7579 (return_internal_si): Allow return value to be in the count
7580 register.
7581 (return_internal_di): Likewise.
7582
7583 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
7584
7585 2000-02-03 Geoff Keating <geoffk@cygnus.com>
7586
7587 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
7588
7589 2000-01-31 Geoff Keating <geoffk@cygnus.com>
7590
7591 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
7592
7593 * rs6000.md (stmw): Use the right POWER opcode.
7594 (lmw): Likewise.
7595
7596 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7597
7598 * rs6000-protos.h: New file.
7599
7600 * rs6000.c: Include tm_p.h. Fix compile time warnings.
7601
7602 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
7603 warnings.
7604
7605 * sysv4.h: Likewise.
7606
7607 2000-01-28 Geoff Keating <geoffk@cygnus.com>
7608
7609 * ../../configure.in: Delete powerpcle-*-winnt*
7610 and powerpcle-*-pe|powerpcle-*-cygwin*.
7611 * ../../configure: Regenerated.
7612 * cygwin.h: Delete.
7613 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
7614 (TARGET_WINDOWS_NT): Delete.
7615 (ABI_NT): Delete.
7616 (CALL_NT_DLLIMPORT): Delete.
7617 Delete NT-specific code.
7618 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
7619 * win-nt.h: Delete.
7620 * t-winnt: Delete.
7621 * nt-ci.asm: Delete.
7622 * nt-cn.asm: Delete.
7623 * ntstack.asm: Delete.
7624
7625 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7626
7627 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
7628 (ASM_FILE_START): Likewise.
7629 (ASM_DECLARE_FUNCTION_NAME): Likewise.
7630 (ASM_OUTPUT_LABELREF): Likewise.
7631 (ASM_OUTPUT_SKIP): Likewise.
7632 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
7633 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7634 (ASM_OUTPUT_CASE_LABEL): Likewise.
7635 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
7636 (ASM_OUTPUT_ASCII): Likewise.
7637
7638 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
7639
7640 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
7641 reload_toc_labelno for non-prologue TOC reloads. Also, don't
7642 increment rs6000_pic_labelno here.
7643 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
7644 and increment rs6000_pic_labelno here.
7645
7646 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
7647
7648 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
7649 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
7650 allocation knows (reg) is dead before the insn.
7651
7652 2000-01-21 Geoff Keating <geoffk@cygnus.com>
7653
7654 * rs6000.md (movsi_to_cr): Correct typo in output template.
7655
7656 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
7657
7658 * rs6000.c (rs6000_pic_labelno): Always define.
7659 (rs6000_pic_func_labelno): Delete.
7660 (lmw_operation): Check for a zero base register,
7661 which doesn't mean what we want.
7662 (stmw_operation): New function.
7663 (print_operand): Define new 'l' modifier.
7664 (rs6000_stack_info): We must save all 64 bits of the registers
7665 if TARGET_POWERPC64.
7666 (rs6000_output_load_toc_table): Delete.
7667 (rs6000_emit_load_toc_table): New function.
7668 (rs6000_allocate_stack_space): Delete.
7669 (rs6000_emit_allocate_stack): New function.
7670 (rs6000_emit_prologue): New function.
7671 (output_prolog): Use rs6000_emit_prologue.
7672 (rs6000_emit_epilogue): Change a few variable names to be
7673 more accurate. Restore all 64 bits of the registers if
7674 TARGET_POWERPC64. Only restore the FP registers which were used
7675 if they are being saved/restored one-at-a-time.
7676 (output_mi_thunk): Delete inefficient code generation.
7677 (output_function_profiler): Don't use rs6000_output_load_toc_table.
7678 * rs6000.h: Declare rs6000_emit_load_toc_table,
7679 rs6000_allocate_stack_space, stmw_operation. Don't declare
7680 rs6000_output_load_toc_table.
7681 * rs6000.md (elf_high): Allow register 0, but discourage it
7682 heavily.
7683 (elf_low): Support loading into register 0.
7684 (load_toc_aix_si): New pattern.
7685 (load_toc_aix_di): New pattern.
7686 (load_toc_v4_pic_si): New pattern.
7687 (load_toc_v4_pic_di): New pattern.
7688 (load_toc_v4_PIC_1): New pattern.
7689 (load_toc_v4_PIC_1b): New pattern.
7690 (load_toc_v4_PIC_2): New pattern.
7691 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
7692 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
7693 (prologue): New expander.
7694 (movesi_from_cr): New pattern.
7695 (stmw): New pattern.
7696 (save_fpregs_si): New pattern.
7697 (save_fpregs_di): New pattern.
7698
7699 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7700
7701 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
7702 (movdi): Likewise.
7703 (movhi): Likewise.
7704 (movqi): Likewise.
7705
7706 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7707
7708 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
7709 at present.
7710 (movsi_got_internal): Likewise.
7711 (movsi_got_internal+1): Likewise.
7712 (set_sp): 'unspec 7' does a SImode clobber.
7713
7714 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7715
7716 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
7717 allocate a stack temporary.
7718 (floatsidf2_internal): Likewise.
7719 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
7720 with unspec.
7721 (floatunssidf2): Don't use the fpmem "register", just
7722 allocate a stack temporary.
7723 (floatunssidf2_internal): Likewise.
7724 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
7725 with unspec.
7726 (floatsidf2_loadaddr): Delete.
7727 (floatsidf2_store1): Delete.
7728 (floatsidf2_store2): Delete.
7729 (floatsidf2_load): Delete.
7730 (fix_truncdfsi2): Don't use the fpmem "register", just
7731 allocate a stack temporary.
7732 (fix_truncdfsi2_internal_si): Delete.
7733 (fix_truncdfsi2_internal_di): Delete.
7734 (fix_truncdfsi2_internal): New insn.
7735 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
7736 (fix_truncdfsi2_store): Delete.
7737 (fix_truncdfsi2_load): Delete.
7738 (fctiwz): Produce gen_fctiwz.
7739
7740 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
7741
7742 * eabi.h (INVOKE__main): Define.
7743 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
7744 specially.
7745 (rs6000_emit_prologue): Likewise.
7746 * rs6000.h (struct rs6000_stack): Don't keep track of whether
7747 this is the main program.
7748
7749 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7750
7751 * rs6000.c (rs6000_va_arg): Delete some unused variables.
7752
7753 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7754
7755 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
7756 goes after the argument.
7757
7758 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7759
7760 * rs6000.md: Document 'unspec' values used.
7761 (epilogue): New expander.
7762 (movesi_to_cr_one): New expander.
7763 (movesi_to_cr and following): New pattern.
7764 (lmw): New pattern.
7765 (return_internal_si): New pattern.
7766 (return_internal_di): New pattern.
7767 (return_and_restore_fpregs_si): New pattern.
7768 (return_and_restore_fpregs_di): New pattern.
7769 * rs6000.h: Declare new functions.
7770 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
7771 rather than rs6000_calls_p.
7772 (rs6000_makes_calls): Delete.
7773 (lmw_operation): New function.
7774 (mtcrf_operation): New function.
7775 (rs6000_emit_epilogue): New function.
7776 (output_epilog): Call rs6000_emit_epilogue and final if
7777 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
7778
7779 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7780
7781 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
7782 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
7783 * aix.h (SUBTARGET_SWITCHES): Document switches.
7784 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
7785 sched-prolog and sched-epilog the same. Document all the
7786 switches.
7787 (TARGET_OPTIONS): No longer allow -mdebug-.
7788
7789 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7790
7791 * rs6000.h (ASM_FILE_END): Move to aix.h.
7792 (EXTRA_SECTIONS): Move to aix.h.
7793 (READONLY_DATA_SECTION): Move to aix.h.
7794 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
7795 (SELECT_SECTION): Move to aix.h.
7796 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
7797 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
7798 (LINK_REGISTER_REGNUM): New definition.
7799 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
7800 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
7801 AIX and SVR4.
7802 * sysv4.h: Delete the code between the inclusion of rs6000.h
7803 and svr4.h.
7804 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
7805 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
7806 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
7807 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
7808 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
7809 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
7810 (fix_truncdfsi2_internal_di): New pattern.
7811 (fix_truncdfsi2_store): The second arg here is Pmode too.
7812 (fix_truncdfsi2_load): The second arg here is Pmode too.
7813 (tablejumpdi): Now that switch tables hold only SImode values,
7814 gcc needs to know how to add them to the pc which is DImode.
7815 * rs6000.c (rs6000_stack_info): Use symbolic name for
7816 LINK_REGISTER_REGNUM.
7817 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
7818 (output_toc): Delete unused variables s1 and s2.
7819 (output_ascii): Use fputs not fprintf on a variable string.
7820
7821 2000-01-07 David Edelsohn <edelsohn@gnu.org>
7822
7823 * rs6000.c (processor_target_table): Add power3 as alias for 630.
7824 * aix43.h: Revert Aug 2 change.
7825 (HAS_INIT_SECTION): Define, not visible yet.
7826 (LD_INIT_SWITCH): Define, not visible yet.
7827 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7828
7829 2000-01-04 Joel Sherrill (joel@OARcorp.com>
7830
7831 * config/rs6000/rtems.h: Include config/rtems.h.
7832
7833 2000-01-04 David Edelsohn <edelsohn@gnu.org>
7834
7835 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
7836 (SLOW_UNALIGNED_ACCESS): Define.
7837 (CASE_VECTOR_MODE): Always use 32-bit offsets.
7838 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
7839 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
7840 (toc_section): Likewise and .toc pseudo-op.
7841 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
7842 64-bit mode.
7843 (TEXT_SECTION_ASM_OP): Likewise.
7844 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
7845 32-bit offsets.
7846
7847 1999-12-17 Jakub Jelinek <jakub@redhat.com>
7848
7849 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
7850 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
7851 compiling libgcc2.
7852
7853 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7854
7855 * rs6000.h: Move more stuff from here...
7856 * aix.h: to here.
7857 * sysv4.h: Cleanup accordingly.
7858 * netware.h: Likewise
7859
7860 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7861
7862 * rs6000.h: Continue cleanup.
7863 * aix.h: Likewise.
7864 * lynx.h: Likewise.
7865 * netware.h: Likewise.
7866 * sol2.h: Likewise.
7867 * sysv4.h: Likewise.
7868 * win-nt.h: Likewise.
7869
7870 * rs6000.h (TARGET_SWITCHES): Add descriptions.
7871 (TARGET_OPTIONS): Likewise.
7872
7873 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
7874 (SUBTARGET_OPTIONS): Likewise.
7875
7876 * rs6000.md: Fix compile time warnings.
7877
7878 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7879
7880 vxworks patches from the Cygnus tree originally by
7881 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
7882 <vmakarov@cygnus.com>.
7883 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
7884 (ENDFILE_SPEC): Likewise.
7885 (LIB_VXWORKS_SPEC): New macro.
7886 (STARTFILE_VXWORKS_SPEC): New macro.
7887 (ENDFILE_VXWORKS_SPEC): New macro.
7888 (LINK_START_VXWORKS_SPEC): New macro.
7889 (LINK_OS_VXWORKS_SPEC): New macro.
7890 (CPP_OS_VXWORKS_SPEC): New macro.
7891 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
7892 * vxppc.h: Rewrite to use proper configuration method.
7893 * vxppcle.h: New file.
7894 * ../../configure.in: Add powerpcle-wrs-vxworks*.
7895 * ../../configure: Rebuilt.
7896
7897 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7898
7899 Lots of changes to rs6000.h, sysv4.h, aix.h,
7900 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
7901 with the aim that rs6000.h is the first header
7902 included and the others override it.
7903 * aix.h: New file.
7904
7905 * x-aix41-gld: Remove.
7906 * x-aix43: Remove.
7907 * x-aix41: Remove target-specific switches, and don't specify
7908 -Wl,-bbigtoc as we don't need it any more.
7909 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
7910 Use t-aix43 for AIX 4.3 and above.
7911 * ../../configure: Regenerated.
7912
7913 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
7914 options, that don't do anything yet.
7915 (MASK_SCHED_PROLOG): New macro.
7916 (MASK_SCHED_EPILOG): New macro.
7917 (TARGET_SCHED_PROLOG): New macro.
7918 (TARGET_SCHED_EPILOG): New macro.
7919
7920 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7921
7922 * rs6000.c: Correct comment, the `minimal' TOCs are actually
7923 one per translation unit, not one per function.
7924 (output_toc): Also do duplicate constant elimination
7925 for per-translation-unit TOCs.
7926
7927 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
7928 a comment explaining _exactly_ when this pattern gets used.
7929 (builtin_setjmp_receiver): New pattern for better clarity.
7930 (init_v4_pic): Move it into a section dealing with TOC registers.
7931
7932 1999-12-30 Geoff Keating <geoffk@cygnus.com>
7933
7934 * rs6000.c (toc_hash_table): New variable.
7935 (rs6000_hash_constant): New function.
7936 (toc_hash_function): New function.
7937 (toc_hash_eq): New function.
7938 (toc_hash_mark_entry): New function.
7939 (toc_hash_mark_table): New function.
7940 (output_toc): Don't output duplicate TOC entries in
7941 a single file.
7942 (rs6000_add_gc_roots): Add the hash table as a GC root.
7943 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7944 where they clearly shouldn't be. This may need to be fixed
7945 later when there is a GNU ar for AIX.
7946 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7947 Don't define BOOT_LDFLAGS as it is now not necessary.
7948
7949 1999-12-29 Geoff Keating <geoffk@cygnus.com>
7950
7951 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7952 for va_list on AIX. Use unsigned_char_type_node rather than
7953 constructing our own version on svr4.
7954
7955 1999-12-17 Geoff Keating <geoffk@cygnus.com>
7956
7957 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7958 since patently it's not.
7959
7960 1999-12-08 Geoff Keating <geoffk@cygnus.com>
7961
7962 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7963 define_expand/define_insn pair, and handle restore of the
7964 SVR4 -fpic register.
7965
7966 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
7967
7968 * acconfig.h (HAVE_GAS_WEAK): New define.
7969 * configure.in (assembler weak support): Check for .weak support.
7970 * config.in, configure: Rebuilt.
7971 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7972 HAVE_GAS_WEAK is defined.
7973
7974 2000-03-15 Nick Clifton <nickc@cygnus.com>
7975
7976 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7977 asm_fprintf().
7978
7979 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
7980
7981 * cppfiles.c (open_include_file): New function.
7982 (find_include_file, cpp_read_file): Use it.
7983
7984 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
7985
7986 * cpphash.c (dump_hash_helper): Take the slot, not the element.
7987
7988 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
7989
7990 * flow.c (verify_flow_info): Check for unconditional return.
7991
7992 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
7993
7994 * config/ia64/ia64.md (restore_stack_nonlocal): New.
7995 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7996 (__ia64_restore_stack_nonlocal): New.
7997 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7998
7999 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8000
8001 * cpphash.c (collect_formal_parameters): Do not complain about
8002 parameter names that just start with `__VA_ARGS__'.
8003
8004 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
8005
8006 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
8007 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
8008 * i386.c (pentiumpro_cost): Set mul cost to 4.
8009 (x86_use_movx): Set for PPro.
8010
8011 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
8012
8013 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
8014 STACK_BOUNDARY for empty frames now.
8015
8016 2000-03-14 Mark Mitchell <mark@codesourcery.com>
8017
8018 * stor-layout.c (layout_union): Remove.
8019 (layout_union_field): New function, split out from layout_union.
8020 (finish_union_layout): Likewise.
8021 (layout_field): Handle unions by calling layout_union_field.
8022 (finish_record_layout): Handle unions.
8023 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
8024 QUAL_UNION_TYPE handling.
8025
8026 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
8027
8028 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
8029 end of basic block is jump_insn, not barrier; use create_basic_block
8030 instead of creating basic block by hand.
8031
8032 2000-03-14 Jason Eckhardt <jle@cygnus.com>
8033
8034 * flow.c (reorder_basic_blocks): Account for barriers when writing
8035 over NEXT_INSN (last_bb->end).
8036 (verify_flow_info): Add check for missing barriers.
8037
8038 2000-03-14 Greg McGary <gkm@gnu.org>
8039
8040 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
8041 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
8042 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
8043 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
8044 __unbounded, __unbounded__): New keywords.
8045 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
8046 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
8047 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
8048
8049 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
8050
8051 * cselib.h: New file.
8052 * alias.c: Include "cselib.h".
8053 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
8054 MEMs as two new arguments.
8055 (get_addr): New static function.
8056 (find_base_term): Handle VALUEs.
8057 (memrefs_conflict_p): Likewise.
8058 (true_dependence): Call get_addr on the addresses.
8059 Call fixed_scalar_and_varying_struct_p with addresses that have been
8060 passed through get_addr and canon_rtx.
8061 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
8062 with true_dependence.
8063 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
8064 * loop.c: Include "cselib.h".
8065 (load_mems): Process extended basic block that enters the loop with
8066 cselib. Use that information to change initialization of the shadow
8067 register so that a constant equivalence is seen by later passes.
8068 * reload1.c: Include "cselib.h".
8069 (reload_cse_invalidate_regno): Delete function.
8070 (reload_cse_mem_conflict_p): Likewise.
8071 (reload_cse_invalidate_mem): Likewise.
8072 (reload_cse_invalidate_rtx): Likewise.
8073 (reload_cse_regno_equal_p): Likewise.
8074 (reload_cse_check_clobber): Likewise.
8075 (reload_cse_record_set): Likewise.
8076 (reg_values): Delete static variable.
8077 (invalidate_regno_rtx): Likewise.
8078 (reload_cse_delete_noop_set): New static function.
8079 (reload_cse_simplify): New static function, broken out of
8080 reload_cse_regs_1.
8081 (reload_cse_noop_set_p): Delete unused argument INSN.
8082 Just call rtx_equal_for_cselib_p on set source and destination.
8083 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
8084 reload_cse_delete_noop_set. Delete code to keep track of values; use
8085 cselib functions instead. Delete code to push/pop obstacks.
8086 (reload_cse_simplify_set): Use cselib to find equivalent values.
8087 Delete code to push/pop obstacks.
8088 (reload_cse_simplify_operands): Likewise.
8089 * rtl.def (VALUE): New rtx code.
8090 * rtl.h (union rtunion_def): New elt rt_cselib.
8091 (X0CSELIB, CSELIB_VAL_PTR): New macros.
8092 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
8093 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
8094 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
8095 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
8096 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
8097 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
8098 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
8099 cselib_record_set, cselib_record_sets): New static functions.
8100 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
8101 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
8102 references_value_p): New functions.
8103 (MAX_USELESS_VALUES, REG_VALUES): New macros.
8104 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
8105 n_useless_values, reg_values, callmem, cselib_obstack,
8106 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
8107 New static variables.
8108 * varray.h (union varray_data_tag): New elt te.
8109 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
8110 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
8111 dependencies.
8112
8113 2000-03-14 Nick Clifton <nickc@cygnus.com>
8114
8115 * gcc.c (do_spec_1): Catch the case where %* is used in a
8116 substitution pattern, but it has not been initialised.
8117 Issue a meaningful error message if an unrecognised operator
8118 is encountered in a spec string.
8119
8120 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
8121
8122 * function.c (prepare_function_start): Correctly initialize
8123 cfun->stack_alignment_needed.
8124
8125 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
8126
8127 * cppfiles.c (find_include_file): Don't assume nshort is a
8128 substring of name.
8129
8130 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
8131
8132 * configure.in (hppa configurations): Add pa32-regs.h to the
8133 list of tm files as appropriate.
8134 * configure: Rebuilt.
8135 * pa.c (compute_frame_size): Remove explicit knowledge about FP
8136 register numbering.
8137 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
8138 (fmpyaddoperands, fmpysuboperands): Likewise.
8139 * pa.h: Remove various definitions which depend on knowing
8140 how registers are numbered.
8141 * pa32-regs.h: New file with PA32 register numbering specific
8142 definitions.
8143
8144 2000-03-14 Richard Henderson <rth@cygnus.com>
8145
8146 * regmove.c (combine_stack_adjustments): New.
8147 (stack_memref_p, single_set_for_csa): New.
8148 (free_csa_memlist, record_one_stack_memref): New.
8149 (try_apply_stack_adjustment): New.
8150 (combine_stack_adjustments_for_block): New.
8151 * rtl.h (combine_stack_adjustments): Declare.
8152 * toplev.c (rest_of_compilation): Call it.
8153
8154 * i386.md: Revert 2000-01-16 change.
8155
8156 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8157
8158 * gccbug.in: Add web category, gcc specific classes.
8159
8160 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
8161
8162 * stor-layout.c (finalize_record_size): Fix typo.
8163
8164 2000-03-14 Stan Shebs <shebs@apple.com>
8165
8166 * c-typeck.c (c_alignof): Error on incomplete types.
8167 * extend.texi (Alignment): Document this.
8168
8169 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8170
8171 * cppfiles.c: Include mkdeps.h.
8172 (find_include_file, read_include_file): Remove _cpp_ prefix
8173 from name, make static.
8174 (_cpp_execute_include): New function, broken out of
8175 do_include.
8176
8177 * cpplib.c: Don't include mkdeps.h.
8178 (struct directive): Remove type field. Reorder entries. The
8179 function takes only one argument.
8180 (struct if_stack): Make type field an int.
8181 (directive_table): Rename to dtable. Generate it, the
8182 prototypes of the directive handlers, and the enum for the
8183 directive numbers, from a template macro.
8184 (do_ifndef, do_include_next, do_import): New functions.
8185 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
8186 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
8187 do_ident, do_assert, do_unassert, do_sccs): Take only one
8188 argument.
8189 (do_sccs): Define always, but alter behavior based on
8190 SCCS_DIRECTIVE.
8191 (_cpp_handle_directive, consider_directive_while_skipping):
8192 Restructure for new directive table layout.
8193
8194 (pass_thru_directive): Take a directive number, not a pointer
8195 to a struct directive.
8196 (parse_include): New function, broken out of do_include.
8197 (do_include, do_import, do_include_next): Use parse_include
8198 and _cpp_execute_include.
8199 (do_elif, do_else): Test for T_ELSE specifically when checking
8200 for #elif/#else after #else.
8201 (parse_ifdef): New function, broken out of do_ifdef.
8202 (validate_else): Expect a name arg without a leading #.
8203 (if_directive_name): Delete.
8204 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
8205 directive handlers with only one argument.
8206
8207 * cpphash.h: Update prototypes.
8208 (enum node_type): Remove entries for directives.
8209 * Makefile.in: Update dependencies.
8210
8211 * cpphash.c (dump_hash_helper): Only dump nodes of type
8212 T_MACRO. Emit a newline after each definition.
8213
8214 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8215
8216 * gccbug.in: New file.
8217 * configure.in (all_outputs): Add gccbug.
8218 * Makefile.in (install-common): Install gccbug.
8219 (GCCBUG_INSTALL_NAME): New variable.
8220 * configure: Rebuilt.
8221
8222 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
8223
8224 * function.c (put_var_into_stack): Use type_for_mode to calculate
8225 part_type. Use MEM_SET_IN_STRUCT_P.
8226 * expr.c (store_field): Handle CONCAT.
8227 (store_constructor): Use fields_length.
8228 * tree.c (fields_length): New fn.
8229 * tree.h: Declare it.
8230
8231 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8232
8233 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
8234 (cpplex.o): New target.
8235 * po/POTFILES.in: Add cpplex.c.
8236
8237 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
8238 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
8239 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
8240 skip_block_comment, skip_line_comment, skip_comment,
8241 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
8242 _cpp_parse_name, skip_string, parse_string,
8243 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
8244 _cpp_get_directive_token, find_position,
8245 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
8246 (maybe_macroexpand, _cpp_lex_token): New functions.
8247
8248 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
8249 parse_goto_mark): Delete.
8250 (_cpp_handle_eof): New function.
8251 (_cpp_handle_directive): Rename from handle_directive.
8252 (_cpp_output_line_command): Rename from output_line_command.
8253 (do_if, do_elif): Call _cpp_parse_expr directly.
8254 * cppfiles.c (_cpp_read_include_file): Don't call
8255 init_input_buffer here.
8256 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
8257 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
8258 here; pop the token_buffer and skip the rest of the line here.
8259 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
8260 here.
8261
8262 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
8263 Define here.
8264 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
8265 CPP_GOTO_MARK): New macros.
8266 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
8267 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
8268 _cpp_read_and_prescan, _cpp_init_input_buffer,
8269 _cpp_grow_token_buffer, _cpp_get_directive_token,
8270 _cpp_handle_directive, _cpp_handle_eof,
8271 _cpp_output_line_command): Prototype them here.
8272 * cpplib.h (enum cpp_token): Add CPP_MACRO.
8273 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
8274 quote_string, output_line_command): Remove.
8275
8276 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
8277
8278 * stmt.c (expand_end_case): RANGE may be signed, and when checking
8279 whether it is too large we must also verify that it isn't negative.
8280
8281 2000-03-13 Jakub Jelinek <jakub@redhat.com>
8282
8283 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
8284 (movsi_zero_liveg0): Remove.
8285 (movsf_insn_novis_liveg0): Remove.
8286 (negsi2): Remove.
8287 (negsi2_not_liveg0): Rename to negsi2.
8288 (one_cmplsi2): Remove.
8289 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
8290 (one_cmplsi2_liveg0): Remove.
8291 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
8292 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
8293 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
8294 (PREDICATE_CODES): Remove zero_operand.
8295 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
8296 TARGET_BROKEN_SAVERESTORE.
8297 (zero_operand): Remove.
8298 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
8299 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
8300 options.
8301 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
8302 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
8303 TARGET_BROKEN_SAVERESTORE): Remove.
8304 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8305 Remove.
8306 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8307 Remove.
8308 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8309 Remove.
8310
8311 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
8312
8313 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8314
8315 * cpplib.c (do_pragma_implementation): Fix off-by-one error
8316 truncating a string. Don't assume tokens are nul terminated.
8317 Problem noted by Andreas Jaeger <aj@suse.de>
8318
8319 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
8320
8321 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
8322 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
8323 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
8324
8325 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
8326
8327 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
8328 STRUCTURE_SIZE_BOUNDARY.
8329
8330 2000-03-13 Mark Mitchell <mark@codesourcery.com>
8331
8332 * tree.h (record_layout_info_s): New structure.
8333 (record_layout_info): New type.
8334 (new_record_layout_info): New function.
8335 (layout_field): Likewise.
8336 (finish_record_layout): Likewise.
8337 * stor-layout.c (layout_record): Remove.
8338 (new_record_layout_info): New function.
8339 (layout_field): New function, broken out from layout_record.
8340 (finalize_record_size): Likewise.
8341 (compute_record_mode): Likewise.
8342 (finalize_type_size): New function, broken out from layout_type.
8343 (finish_record_layout): Likewise.
8344 (layout_type): Use them.
8345
8346 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
8347
8348 * cpphash.c: Don't include version.h.
8349 (special_symbol) [case T_VERSION]: Look for the string in
8350 hp->value.cpval; don't use version_string.
8351 * cppinit.c (initialize_builtins): Set hp->value.cpval for
8352 __VERSION__ to version_string.
8353 * Makefile.in (cpphash.o): Update deps.
8354
8355 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
8356
8357 Convert cpplib to use libiberty/hashtab.c.
8358
8359 * cpplib.h (struct cpp_reader): Make hashtab and
8360 all_include_files of type 'struct htab *'. Delete HASHSIZE
8361 and ALL_INCLUDE_HASHSIZE macros.
8362
8363 * cpphash.h: Update prototypes.
8364 (struct hashnode): Remove next, prev, and bucket_hdr members.
8365 Make length a size_t. Add hash member.
8366 (struct ihash): Remove next member. Add hash member. Make
8367 name a flexible array member.
8368
8369 * cppfiles.c: Include hashtab.h.
8370 (include_hash): Delete.
8371 (IHASHSIZE): New macro.
8372 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
8373 (cpp_included): Do the hash lookup here.
8374 (_cpp_find_include_file): Rewrite.
8375 (cpp_read_file): Put the "fake" hash entry into the hash
8376 table. Honor the control_macro, if it turns out we've seen
8377 the file before. Don't push the buffer here.
8378 (_cpp_read_include_file): Push the buffer here.
8379 (OMODES): New macro. Use it whenever we call open(2).
8380
8381 * cpphash.c: Include hashtab.h.
8382 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
8383 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
8384 _cpp_lookup_slot): New functions.
8385 (HASHSIZE): new macro.
8386 (hashf, _cpp_install, _cpp_delete_macro): Delete.
8387 (_cpp_lookup): Use hashtab.h routines.
8388
8389 * cppinit.c: Include hashtab.h.
8390 (cpp_reader_init): Call _cpp_init_macro_hash and
8391 _cpp_init_include_hash. Don't allocate hashtab directly.
8392 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
8393 pfile->all_include_files.
8394 (initialize_builtins): Use _cpp_make_hashnode and
8395 htab_find_slot to add hash entries.
8396 (cpp_finish): Just call _cpp_dump_macro_hash.
8397 * cpplib.c: Include hashtab.h.
8398 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
8399 create hash entries.
8400 (do_pragma_poison, do_assert): Likewise.
8401 (do_include): Don't push the buffer here. Don't increment
8402 system_include_depth unless _cpp_read_include_file succeeds.
8403 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
8404 or htab_remove_elt.
8405 (do_pragma_implementation): Use alloca to create copy.
8406
8407 * Makefile.in: Update dependencies.
8408
8409 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8410
8411 * cppinit.c (cl_directive_handler): More K&R fixing.
8412
8413 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
8414
8415 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
8416 STACK_BOUNDARY.
8417 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
8418
8419 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8420
8421 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
8422 Change from char[] to macros.
8423
8424 2000-03-12 Neil Booth <NeilB@earthling.net>
8425
8426 * cppinit.c (cpp_start_read): Update indirect function
8427 call to K&R C.
8428
8429 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
8430
8431 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
8432 entry.
8433
8434 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
8435 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
8436
8437 2000-03-11 Neil Booth <NeilB@earthling.net>
8438
8439 * cppinit.c (struct pending option): Replace undef with a
8440 pointer to a directive handling routine.
8441 (struct cpp_pending): Replace separate assert_ and define_
8442 lists with one directive_ list.
8443 (new_pending_define): Rename new_pending_directive. Extra
8444 argument is the directive's handling routine.
8445 (handle_option): Update to use new_pending_directive.
8446
8447 2000-03-11 Neil Booth <NeilB@earthling.net>
8448
8449 * cppfiles.c (file_cleanup, _cpp_find_include_file,
8450 remap_filename, _cpp_read_include_file, actual_directory,
8451 hack_vms_include_specification): Replace bcopy(), index() etc
8452 calls. Add casts to some allocations. Make some variables
8453 pointers to const [unsigned] char.
8454 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
8455 collect_formal_parameters): Similarly.
8456 * cppinit.c (struct pending_option, append_include_chain,
8457 cpp_options_init, cpp_reader_init, initialize_standard_includes,
8458 cpp_start_read, new_pending_define, handle_option): Similarly.
8459 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
8460 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
8461 do_pragma_implementation, detect_if_not_defined,
8462 do_ifdef, skip_if_group, cpp_get_token, parse_string,
8463 do_assert, do_unassert): Similarly.
8464 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
8465 function prototypes.
8466 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
8467
8468 2000-03-10 Richard Henderson <rth@cygnus.com>
8469
8470 * builtins.c (expand_builtin_strlen): Revert last change.
8471 Use emit_insn_before if we're at the beginning of a sequence.
8472
8473 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
8474
8475 * builtins.c (expand_builtin_strlen): Make sure that we have something
8476 at the beginning of the sequence.
8477
8478 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
8479 deferred inlines.
8480
8481 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
8482
8483 2000-03-10 Richard Henderson <rth@cygnus.com>
8484
8485 * except.c (can_throw): Use INTVAL on a CONST_INT.
8486 (reachable_handlers): Likewise.
8487 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
8488
8489 2000-03-10 Andreas Jaeger <aj@suse.de>
8490
8491 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
8492 MD_STARTFILE_PREFIX since those are not needed on linux.
8493 (ASM_FILE_START): New, from mips/gnu.h.
8494
8495 2000-03-09 Richard Henderson <rth@cygnus.com>
8496 Alex Samuel <samuel@codesourcery.com> and others
8497
8498 * Makefile.in (ssa.o): New rule.
8499 (OBJS): Add ssa.o.
8500 (STAGESTUFF): Add *.ssa and *.ussa.
8501 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
8502 * rtl.def (PHI): New RTL expression.
8503 * rtl.h (clear_log_links): New declaration.
8504 (convert_to_ssa): Likewise.
8505 (convert_from_ssa): Likewise.
8506 * flow.c (split_edge): If the entry node falls through to the
8507 split edge's source block, split the entry edge.
8508 (clear_log_links): New function.
8509 * toplev.c (ssa_dump): New variable.
8510 (flag_ssa): Likewise.
8511 (f_options): Add "ssa".
8512 (compile_file): Create SSA dump files.
8513 (rest_of_compilation): Go to and from SSA if enabled.
8514 (decide_d_option): Handle -de for SSA dump files.
8515 * ssa.c: New file.
8516
8517 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
8518
8519 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
8520 same as VAR_DECL.
8521
8522 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
8523
8524 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
8525
8526 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
8527
8528 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
8529 (MD_STARTFILE_PREFIX_1): New macro.
8530
8531 2000-03-09 Robert Lipe <robertl@sco.com>
8532
8533 * config/ia64/ia64.c: Include system.h.
8534
8535 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
8536
8537 * except.c (nothrow_function_p): If -fno-exceptions, just return.
8538 (init_eh_nesting_info): Likewise.
8539
8540 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
8541 (TREE_NOTHROW): Rename from TREE_RAISES.
8542 * toplev.c (rest_of_compilation): Set it.
8543 * print-tree.c (print_node): Adjust.
8544 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
8545 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
8546 * calls.c (emit_call_1): Add 'nothrow' parm. Add
8547 REG_EH_REGION note as appropriate.
8548 (libfunc_nothrow): New fn.
8549 (emit_library_call, emit_library_call_value): Use it.
8550 (expand_call): Check TREE_NOTHROW.
8551
8552 * varasm.c (make_decl_rtl): Skip initial '*' when setting
8553 DECL_ASSEMBLER_NAME.
8554
8555 2000-03-09 Andreas Jaeger <aj@suse.de>
8556
8557 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
8558 (TARGET_MEM_FUNCTIONS): Define.
8559
8560 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
8561
8562 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
8563
8564 * except.c (can_throw): See through a SEQUENCE.
8565 (nothrow_function_p): New fn.
8566 * except.h: Declare it.
8567 * function.c (current_function_nothrow): New var.
8568 (prepare_function_start): Initialize it.
8569 * output.h: Declare it.
8570 * toplev.c (rest_of_compilation): Set it.
8571 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
8572
8573 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
8574
8575 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
8576 match. (cpp_compare_defs): Count the nul separator when
8577 advancing over argument names.
8578
8579 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
8580
8581 * recog.c (preprocess_constraints): Matching constraints affect
8582 same alternative/different operand, not same operand/different
8583 alternative.
8584
8585 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
8586 register and a constant specially.
8587
8588 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8589
8590 * libgcc2.h: New file.
8591 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
8592
8593 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
8594
8595 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
8596 * configure: Regenerate.
8597 * config/ia64: New.
8598
8599 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
8600
8601 * Makefile.in (LIBCPP_DEPS): New macro.
8602 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
8603 it to declare deps.
8604 * cpperror.c: Include cpphash.h.
8605 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
8606 dingleberry.
8607 (lex): Don't use CPP_WARN_UNDEF.
8608 (_cpp_parse_expr): Return an int, the truth value.
8609 * cppfiles.c: Include cpphash.h.
8610 (_cpp_merge_include_chains): Move to cppinit.c and make static.
8611 * cppinit.c (include_defaults_array): Disentangle.
8612 (cpp_cleanup): Don't free the if stack here.
8613 (cpp_finish): Pop off all buffers, not just one.
8614 * cpplib.c (eval_if_expr): Return int.
8615 (do_xifdef): Rename do_ifdef.
8616 (handle_directive): Don't use CPP_PREPROCESSED.
8617 (cpp_get_token): Don't use CPP_C89.
8618 * fix-header.c: Don't use CPP_OPTIONS.
8619
8620 * cpplib.h: Move U_CHAR, enum node_type, struct
8621 file_name_list, struct ihash, is_idchar, is_idstart,
8622 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
8623 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
8624 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
8625 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
8626 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
8627 of _cpp_simplify_pathname, _cpp_find_include_file,
8628 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
8629 Move struct if_stack to cpplib.c. Move struct cpp_pending to
8630 cppinit.c.
8631 Change all uses of U_CHAR to be unsigned char instead.
8632 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
8633
8634 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
8635
8636 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
8637 (dwarf2out_begin_prologue): Set it.
8638 (output_call_frame_info): Don't emit EH unwind info for leaves.
8639
8640 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
8641 can occur outside of an EH region.
8642 * except.c: Correct comments about rethrow behavior.
8643 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
8644
8645 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
8646
8647 * flow.c (make_edges): Always call make_eh_edge for calls.
8648
8649 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
8650
8651 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
8652 (struct cpp_buffer): Remove fname and underflow fields.
8653 (struct cpp_reader): Remove get_token field.
8654 (struct include_hash): Rename to struct ihash. Add typedef to
8655 IHASH.
8656 (struct if_stack): Remove fname field.
8657 (IF_STACK_FRAME): Rename to IF_STACK.
8658
8659 * cpperror.c (print_containing_files): Trust that there are no
8660 macro buffers below the top file buffer.
8661 * cppfiles.c: Replace all references to 'struct include_hash'
8662 with 'IHASH'. Rename initialize_input_buffer to
8663 init_input_buffer. Don't set or reference cpp_buffer->fname,
8664 use buffer->ihash->name instead.
8665 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
8666 not CPP_NULL_BUFFER.
8667 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
8668 IF_STACK_FRAME, IHASH not struct include_hash.
8669 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
8670 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
8671 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
8672 references to cpp_buffer->fname (delete entirely, or use
8673 ->ihash->name instead) and IF_STACK->fname.
8674 (cpp_push_buffer): Don't set new->underflow.
8675 (do_include): Use cpp_file_buffer.
8676
8677 * cpphash.c (collect_formal_parameters): Remove duplicate
8678 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
8679 used as a macro argument name. Don't append "..." to namebuf
8680 for varargs macros. After we're done scanning, go through
8681 namebuf and make it NUL separated, not comma separated.
8682 (_cpp_compare_defs): Remove register tag from variables.
8683 Expect defn->argnames to be NUL separated.
8684 (_cpp_dump_definition): Expect defn->argnames to be NUL
8685 separated and in forward order.
8686 * cpphash.h: Update documentation of argnames field.
8687
8688 2000-03-08 Richard Henderson <rth@cygnus.com>
8689
8690 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
8691 to fail. Don't pre-expand the source operand.
8692
8693 * i386.md (strlensi): Initialize eoschar and align before use.
8694
8695 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
8696
8697 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
8698 CONSTRUCTOR element.
8699
8700 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
8701
8702 * mips.c (mips_expand_prologue): If the last
8703 named argument is the vararg marker "va_list", treat it as
8704 an unnamed argument.
8705
8706 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
8707
8708 * dbxout.c (dbxout_parms): When correcting for promoted
8709 big-endian parameters, use the mode of the DECL_RTL rather
8710 than UNITS_PER_WORD.
8711
8712 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
8713
8714 * c-common.h (make_fname_decl): Declare.
8715 * c-common.c (make_fname_decl): Define.
8716 (declare_hidden_char_array): Remove.
8717 (declare_function_name): Use make_fname_decl.
8718 * c-decl.c (c_make_fname_decl): New function.
8719 (init_decl_processing): Set make_fname_decl.
8720
8721 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
8722
8723 * cccp.c (handle_directive): Initialize backslash_newlines_p.
8724
8725 2000-03-07 Philipp Thomas <pthomas@suse.de>
8726
8727 * po/POTFILES.in: Remove cppalloc.c from file list.
8728
8729 2000-03-07 Steve Chamberlain <sac@pobox.com>
8730
8731 * pj.c (pj_expand_prologue): current_function->args_info is
8732 now current_function_args_info.
8733
8734 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
8735 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
8736 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
8737
8738 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8739
8740 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
8741 output as hexadecimal rather than the default octal.
8742
8743 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
8744
8745 * cpphash.c (special_symbol): Fix thinko in previous commit.
8746
8747 2000-03-07 Neil Booth <NeilB@earthling.net>
8748
8749 * cppexp.c (struct operation, left_shift, right_shift,
8750 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
8751 "int"s to "unsigned int"s.
8752 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
8753 Similarly.
8754 * cpplib.h: Update for above.
8755 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
8756 returned from allocations.
8757
8758 * cppinit.c (opt_comp, parse_options): New functions.
8759 (handle_option): Use parse_option to parse a single command
8760 line option, that possibly takes an argument.
8761 (cpp_handle_options): Sort the array of command line options on
8762 first invocation (non-ASCII hosts only).
8763 (print_help): Update.
8764
8765 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
8766
8767 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
8768 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
8769
8770 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
8771 initialized.
8772 * cppinit.c (cpp_cleanup): Free imp->nshort also.
8773
8774 * cpperror.c (cpp_print_containing_files,
8775 cpp_print_file_and_line, v_cpp_message): Rename to
8776 print_containing_files, print_file_and_line, and v_message.
8777 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
8778 to _cpp_parse_expr, parse_escape, and lex.
8779 (parse_charconst): Remove broken multibyte support.
8780 * cppfiles.c (include_hash): Make static.
8781 (cpp_included): New function.
8782 (merge_include_chains, find_include_file, finclude,
8783 simplify_pathname): Rename to _cpp_merge_include_chains,
8784 _cpp_find_include_file, _cpp_read_include_file, and
8785 _cpp_simplify_pathname.
8786 * cpphash.c (cpp_lookup, free_definition, delete_macro,
8787 cpp_install, create_definition, macroexpand, compare_defs,
8788 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
8789 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
8790 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
8791 * cppinit.c (cpp_handle_option): Rename to handle_option, make
8792 static.
8793 * cpplib.c: Remove extern prototype of cpp_parse_expr.
8794
8795 * cpphash.h: Update prototypes.
8796 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
8797
8798 2000-03-07 Andrew Haley <aph@cygnus.com>
8799
8800 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
8801 PTRDIFF_TYPE should be based solely on Pmode.
8802 (SIZE_TYPE): ditto.
8803
8804 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8805
8806 * rtl.h (rtunion_def): Constify member `rtstr'.
8807 (emit_line_note_after, emit_line_note, emit_line_note_force,
8808 emit_note, decode_asm_operands): Constify.
8809
8810 * cse.c (canon_hash): Likewise.
8811
8812 * dbxout.c (dbxout_block): Likewise.
8813
8814 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
8815 v_warning_for_asm): Likewise.
8816
8817 * dwarfout.c (function_start_label): Likewise.
8818
8819 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
8820 emit_line_note_force): Likewise.
8821
8822 * final.c (last_filename, asm_insn_count, final_scan_insn,
8823 output_source_line): Likewise.
8824
8825 * function.h (struct emit_status): Likewise.
8826
8827 * gcse.c (hash_expr_1): Likewise.
8828
8829 * genattr.c (gen_attr, main): Likewise.
8830
8831 * genattrtab.c (struct function_unit, current_alternative_string,
8832 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
8833 attr_numeral, check_attr_test, check_attr_value,
8834 convert_set_attr_alternative, convert_set_attr,
8835 compute_alternative_mask, simplify_by_exploding, gen_attr,
8836 gen_unit): Likewise.
8837
8838 * genflags.c (gen_insn): Likewise.
8839
8840 * gengenrtl.c (type_from_format): Likewise.
8841
8842 * genopinit.c (gen_insn): Likewise.
8843
8844 * genoutput.c (n_occurrences, process_template, process_template):
8845 Likewise.
8846
8847 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8848 Likewise.
8849
8850 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8851 Likewise.
8852
8853 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
8854 ggc_set_mark, ggc_get_size): Likewise.
8855
8856 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
8857
8858 * optabs.c (init_one_libfunc): Likewise.
8859
8860 * output.h (assemble_start_function): Likewise.
8861
8862 * recog.c (decode_asm_operands): Likewise.
8863
8864 * toplev.c (rest_of_compilation): Likewise.
8865
8866 * tree.h (emit_line_note_after, emit_line_note,
8867 emit_line_note_force): Likewise.
8868
8869 * varasm.c (asm_output_bss, asm_output_aligned_bss,
8870 asm_emit_uninitialised, assemble_start_function,
8871 assemble_variable, const_hash, compare_constant_1,
8872 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
8873
8874 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
8875
8876 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
8877
8878 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
8879
8880 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
8881
8882 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
8883 arm_dllimport_name_p): Likewise.
8884
8885 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
8886 Likewise.
8887
8888 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
8889
8890 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8891
8892 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
8893 arm_mark_dllexport, arm_mark_dllimport,
8894 arm_pe_encode_section_info): Likewise.
8895
8896 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
8897 ASM_FINISH_DECLARE_OBJECT): Likewise.
8898
8899 * arm/thumb.c (thumb_function_prologue): Likewise.
8900
8901 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
8902
8903 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8904
8905 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
8906
8907 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
8908
8909 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8910
8911 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8912
8913 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
8914 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
8915
8916 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
8917
8918 * i386/i386.c (asm_output_function_prefix): Likewise.
8919
8920 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
8921
8922 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8923
8924 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8925
8926 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8927 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8928 ASM_OUTPUT_SECTION_NAME): Likewise.
8929
8930 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8931
8932 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8933
8934 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8935
8936 * m32r/m32r.c (m32r_encode_section_info): Likewise.
8937
8938 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8939
8940 * mcore/mcore.c (mcore_encode_section_info): Likewise.
8941
8942 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8943
8944 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8945
8946 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8947
8948 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8949
8950 * mips/mips.md (movdi, movsi): Likewise.
8951
8952 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8953
8954 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8955
8956 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8957
8958 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8959 ASM_OUTPUT_ASCII): Likewise.
8960
8961 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8962 output_mi_thunk, output_toc): Likewise.
8963
8964 * rs6000/rs6000.md (movsi): Likewise.
8965
8966 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8967
8968 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8969
8970 * v850/v850.c (print_operand, print_operand_address,
8971 v850_encode_data_area): Likewise.
8972
8973 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
8974
8975 * config/mips/mips.md (zero_extendsidi2): Always force operand
8976 one to memory for mips16.
8977
8978 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8979
8980 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8981 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8982 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8983 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8984 (min_precision): Result is unsigned.
8985 (add_double, neg_double, mul_double): Low word is unsigned.
8986 (lshift_double, rshift_double, lrotate_double): Likewise.
8987 (rrotate_double, div_and_round_double): Likewise.
8988 (tree_floor_log2, compare_tree_int): New functions.
8989 (preserve_rtl_expr_temps): New declaration.
8990 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8991 (decl_attributes): Use tree_log2 to find alignment.
8992 Check for TREE_INT_CST_HIGH for format args.
8993 (min_precision): Now unsigned.
8994 Use tree_floor_log2.
8995 (truthvalue_conversion): Delete long-disabled code.
8996 * c-decl.c (finish_struct): Clean up tests on field width.
8997 (finish_function): Use compare_tree_int.
8998 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8999 * c-typeck.c (comptypes): Use tree_int_cst_equal.
9000 (default_conversion, digest_init): Use compare_tree_int.
9001 (build_binary_op): Use integer_all_onesp and compare_tree_int.
9002 Fix type errors in forming masks.
9003 * calls.c (initialize_argument_information): Use compare_tree_int.
9004 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
9005 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
9006 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
9007 (store_field): Use compare_tree_int.
9008 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
9009 (expand_expr, case ARRAY_REF): Use compare_tree_int.
9010 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
9011 (do_store_flag): Use compare_tree_int.
9012 * fold-const.c (encode, decode): Low part is always unsigned.
9013 (force_fit_type, add_double, neg_double, mul_double): Likewise.
9014 (lshift_double, rshift_double, lrotate_double): Likewise.
9015 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
9016 (fold_convert): Use compare_tree_int.
9017 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
9018 (invert_truthvalue, case INTEGER_CST): Likewise.
9019 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
9020 * mkdeps.c (deps_dummy_targets): Make I unsigned.
9021 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
9022 (lshift_double, rshift_double, lrotate_double, rrotate_double):
9023 Likewise.
9024 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
9025 (expand_end_case): Use compare_tree_int.
9026 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
9027 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
9028 (layout_decl): Likewise.
9029 (layout_record, layout_union): Make sizes unsigned.
9030 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
9031 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
9032 * tree.c (struct type_hash): hashcode is unsigned.
9033 (build_type_attribute_variant, type_hash_list): Likewise.
9034 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
9035 (attribute_hash_list, build_array_type, build_method_type): Likewise.
9036 (build_complex_type): Likewise.
9037 (real_value_from_int_cst): Remove unneeded casts.
9038 (integer_all_onesp): Add casts.
9039 (tree_floor_log2, compare_tree_int): New functions.
9040 (build_index_type): Use tree_int_cst_sgn.
9041 * varasm.c (assemble_variable): Use compare_tree_int.
9042
9043 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
9044
9045 * cpphash.c (collect_expansion): Also catch ## at start of macro.
9046
9047 * varasm.c (make_decl_rtl): Don't add a number to members of
9048 local classes.
9049 (make_function_rtl): Likewise.
9050
9051 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9052
9053 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
9054 patch from 2000-01-28.
9055
9056 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
9057
9058 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
9059 filled with an insn from the jump target.
9060
9061 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9062
9063 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
9064 (c4x_external_ref): Likewise.
9065 * config/c4x/c4x.c (struct name_list): Likewise.
9066
9067 1999-12-16 Ben Collins <bcollins@debian.org>
9068
9069 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
9070 argument to genmultilib.
9071 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
9072 the contents into the multilib.h header.
9073 * gcc.c: Declare multilib_exclusions for the specs file.
9074 (set_multilib_dir): Use it.
9075 (print_multilib_info): Likewise.
9076 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
9077 to pass to genmultilib.
9078
9079 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9080
9081 * builtins.c (built_in_class_names, built_in_names): Constify a
9082 char*.
9083
9084 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
9085 int.
9086 (_mcleanup): Ensure value matches format specifier in sprintf.
9087
9088 * cpphash.c (special_symbol): Don't needlessly cast away
9089 const-ness.
9090
9091 * cppinit.c (base_name): Delete unused prototype.
9092
9093 * mkdeps.c (deps_init): Make definition K&R safe.
9094
9095 * tree.h (built_in_class_names, built_in_names): Constify a
9096 char*.
9097
9098 2000-03-06 Jakub Jelinek <jakub@redhat.com>
9099
9100 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
9101 floating point instructions for epilogue delay.
9102
9103 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
9104 to gas if it supports .register pseudo.
9105
9106 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
9107 LONG_DOUBLE_TYPE_SIZE if not defined.
9108 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
9109 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
9110 * real.c: Likewise.
9111 * gengenrtl.c: Likewise.
9112 * print-rtl.c: Likewise.
9113 * rtl.c: Likewise.
9114 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
9115 MASK_LONG_DOUBLE_128.
9116 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
9117 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
9118 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
9119 (SUBTARGET_SWITCHES): Define.
9120 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
9121 with -mlong-double-128.
9122 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9123 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9124 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9125 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
9126 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
9127 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
9128 with -mlong-double-128.
9129 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9130 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9131 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9132 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
9133 TARGET_LONG_DOUBLE_128): Define.
9134 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
9135 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
9136 long double on TARGET_ARCH64.
9137
9138 2000-03-06 Mark Mitchell <mark@codesourcery.com>
9139
9140 * function.c (free_temps_for_rtl_expr): Don't free slots
9141 that have been pushed into a higher level.
9142
9143 Revert this patch:
9144 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9145
9146 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9147
9148 * basic-block.h (ALLOCA_REG_SET): Remove.
9149 (INITIALIZE_REG_SET): New macro.
9150 * flow.c (update_life_info): Use it.
9151 (calculate_global_regs_live): Likewise.
9152 (propagate_block): Likewise.
9153 * global.c (build_insn_chain): Likewise.
9154 * haifa-sched.c (schedule_region): Likewise.
9155
9156 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
9157
9158 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
9159 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
9160 (DWARF_ARANGES_PAD_SIZE): New define.
9161 (output_aranges): Use it to pad the address range header.
9162 (DWARF_ROUND): Fix for non power of 2 rounding.
9163
9164 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
9165
9166 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
9167
9168 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9169
9170 * tree.def (RTL_EXPR): Update documentation.
9171 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
9172 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
9173 * function.c (preserve_rtl_expr_temp): New function.
9174 (preserve_rtl_expr_temps): Likewise.
9175 (preserve_rtl_expr_result): Use it.
9176
9177 Revert this patch:
9178 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9179
9180 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
9181
9182 * regmove.c (copy_src_to_dest) Do not create src->dest move
9183 for unchanging destination.
9184
9185 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9186
9187 * function.h (struct sequence_stack): Remove rtl_expr.
9188 (struct emit_staus): Likewise.
9189 (seq_rtl_expr): Remove.
9190 * tree.h (free_temps_for_rtl_expr): Don't declare.
9191 (start_sequence_for_rtl_expr): Likewise.
9192 * rtl.h (preserve_rtl_expr_result): Likewise.
9193 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
9194 (start_sequence_for_rtl_expr): Remove.
9195 (push_topmost_sequence): Don't save sequence_rtl_expr.
9196 (pop_topmost_sequence): Remove comment about not restoring it.
9197 (end_sequence): Don't set seq_rtl_expr.
9198 (init_emit): Don't initialize it.
9199 (mark_sequence_stack): Don't mark it.
9200 (mark_emit_status): Likewise.
9201 * except.c (protect_with_terminate): Use
9202 start_sequence_for_rtl_expr, not start_sequence.
9203 * expr.c (expand_expr, case RTL_EXPR): Don't call
9204 preserve_rtl_expr_result or free_temps_for_rtl_expr.
9205 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
9206 (preserve_rtl_expr_result): Remove.
9207 (free_temps_for_rtl_expr): Likewise.
9208 (pop_temp_slots): Likewise.
9209 (mark_temp_slot): Don't mark the rtl_expr.
9210 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
9211 start_sequence_for_rtl_expr.
9212
9213 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
9214
9215 * mkdeps.c, mkdeps.h: New files.
9216 * po/POTFILES.in: Add them.
9217 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
9218 (cpplib.o, cppinit.o): Depend on mkdeps.h.
9219 (mkdeps.o): New target.
9220
9221 * cppfiles.c: Delete deps_output.
9222 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
9223 OBJECT_SUFFIX, and base_name.
9224 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
9225 the include hash.
9226 (initialize_dependency_output): Use deps_init,
9227 deps_add_target, deps_calc_target, and deps_add_dep. Remove
9228 all the unnecessary string bashing.
9229 (cpp_finish): Use deps_write. Remove an unnecessary nesting
9230 level.
9231 * cpplib.c (do_include): Use deps_add_dep.
9232 * cpplib.h (struct cpp_reader): Replace deps_buffer,
9233 deps_allocated_size, deps_size, deps_column members with
9234 single pointer to a struct deps. Delete prototype of
9235 deps_output.
9236
9237 * cppinit.c: Fix thinko in previous patch.
9238
9239 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9240
9241 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
9242 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
9243 (mode_for_size_tree): New function.
9244 (layout_decl, layout_type): Call it and clean up BLKmode checks.
9245 * tree.h (mode_for_size_tree): New declaration.
9246
9247 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
9248
9249 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
9250
9251 * stmt.c (is_body_block): Move...
9252 * dwarfout.c, dwarf2out.c: ...from here.
9253 * tree.h: Declare it.
9254 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
9255 * final.c (final_start_function): Do call remove_unnecessary_notes
9256 when scheduling.
9257
9258 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
9259
9260 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
9261
9262 * cpplib.h (_dollar_ok): New macro.
9263 (is_idchar, is_idstart): Use it.
9264 (IStable): Rename to _cpp_IStable. Declare it const if
9265 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
9266 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
9267 is_space): Update for renamed IStable.
9268
9269 * cppinit.c: Delete all references to FAKE_CONST and CAT
9270 macros. Define init_IStable as empty macro if gcc >=2.7 or
9271 C99. Change TABLE() to ISTABLE and hardcode name of table.
9272 (cpp_start_read): Don't change the IStable based on
9273 dollars_in_ident.
9274
9275 * cpphash.c (unsafe_chars): Add pfile argument. All callers
9276 changed. Handle '$' for char1 correctly.
9277 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
9278
9279 * cppexp.c (tokentab2): Make const.
9280 (cpp_lex): Make toktab const.
9281 * cppinit.c (include_defaults_array): Make const.
9282 (initialize_standard_includes): Make default_include const.
9283
9284 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
9285
9286 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
9287 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
9288 (gen_decl_die): Likewise.
9289 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
9290 (output_decl): Likewise.
9291
9292 * varasm.c (make_function_rtl): If we change the name used in the
9293 rtl, update DECL_ASSEMBLER_NAME accordingly.
9294 (make_decl_rtl): Likewise.
9295
9296 * toplev.c (rest_of_compilation): Tweak formatting.
9297
9298 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
9299 remove_unnecessary_notes.
9300 (debug_ignore_block): New fn.
9301 * toplev.h: Declare it.
9302 * emit-rtl.c (remove_unncessary_notes): Call it.
9303 * dwarf2out.c (dwarf2out_ignore_block): New fn.
9304 * dwarf2out.h: Declare it.
9305 * final.c (final_start_function): Don't call remove_unnecessary_notes
9306 if we did insn scheduling.
9307
9308 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
9309
9310 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
9311 * cpplib.h: Delete SET_CPP_PEDANTIC.
9312
9313 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9314
9315 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
9316 result is a RECORD_TYPE.
9317
9318 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
9319
9320 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
9321
9322 2000-03-03 Richard Henderson <rth@cygnus.com>
9323
9324 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
9325 addition over compliments over shifts.
9326
9327 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9328
9329 * reload1.c (reload_combine_note_use): Handle return register USEs.
9330 REG case: Handle multi-hard-register hard regs.
9331
9332 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9333
9334 * md.texi: Document use of '*' in insn pattern name.
9335
9336 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
9337
9338 * calls.c (special_function_p): operator new may not be malloc-like.
9339
9340 * gcse.c (dump_hash_table): Really fix error in last change.
9341
9342 2000-03-02 Denis Chertykov <denisc@overta.ru>
9343
9344 * avr.c (print_operand): Use print_operand_address instead of
9345 output_addr_const.
9346 * avr/libgcc.S: Cleanup code.
9347
9348 2000-03-02 Richard Henderson <rth@cygnus.com>
9349
9350 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
9351
9352 2000-03-02 Mark Mitchell <mark@codesourcery.com>
9353
9354 * tree.h (TYPE_ALIGN_UNIT): New macro.
9355
9356 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
9357
9358 * i386.c: (constant_call_address_operand): Reject CONST_INT.
9359
9360 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
9361
9362 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
9363 for the buffer.
9364 (SET_CPP_PEDANTIC): New macro.
9365 * cpplib.c (do_include): Don't bother checking system_header_p.
9366 (do_warning, do_ident, do_assert, do_unassert): Likewise.
9367 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
9368
9369 * function.h (struct expr_status): Add x_arg_space_so_far.
9370 (arg_space_so_far): New macro.
9371 * expr.c (init_expr): Initialize it.
9372 * calls.c (emit_call_1): Reset it.
9373 (compute_argument_block_size, expand_call): Use it.
9374 (expand_call, store_one_arg): Increment it.
9375
9376 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9377
9378 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
9379 a UNION_TYPE.
9380
9381 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
9382
9383 * cppfiles.c (cpp_read_file): New function.
9384
9385 * cpphash.c (collect_expansion): Make sure to reset last_token
9386 to NORM when we hit a string. Handle trailing whitespace
9387 properly when the expansion is empty.
9388 (create_definition): Disable line commands while parsing the
9389 directive line.
9390 (dump_definition): If pfile->lineno == 0, output a line
9391 command ahead of the dump, and add a trailing newline.
9392
9393 * cppinit.c (append_include_chain): Add fifth argument, which
9394 indicates whether or not system headers are C++ aware.
9395 (initialize_standard_includes): New function,
9396 broken out of read_and_prescan. Pass 'cxx_aware' value from
9397 the include_defaults_array on to append_include_chain.
9398 (dump_special_to_buffer): Const-ify char array.
9399 (builtin_array): Don't dump __BASE_FILE__.
9400 (cpp_start_read): Use cpp_read_file. Reorder code for
9401 clarity. Don't output line commands here for -D/-A/-U
9402 switches. Don't call deps_output for files included with
9403 -include or -imacros.
9404
9405 * cpplib.c (do_define): Don't pay any attention to the second
9406 argument.
9407 (cpp_expand_to_buffer): Disable line commands while scanning.
9408 (output_line_command): Work in the file buffer.
9409 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
9410 Fix formatting of comments. Prototype cpp_read_file.
9411
9412 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9413
9414 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
9415 reference the language-equivalent of sizetype.
9416 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
9417 * fold-const.c (size_binop, size_diffop): Put back checks.
9418 * gcse.c (dump_hash_table): Fix minor error in last change.
9419 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
9420 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
9421 all sizetypes.
9422
9423 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
9424
9425 * calls.c (expand_call) Do not attempt to combine stack adjustments
9426 with inhibit_defer_pop set.
9427
9428 2000-03-01 Mark Mitchell <mark@codesourcery.com>
9429
9430 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
9431 the DECL_SIZE for a FIELD_DECL.
9432
9433 2000-03-01 Bruce Korb <bkorb@gnu.org>
9434
9435 * fixinc/inclhack.tpl: remove unused symlinks
9436 * fixinc/README: GCC Maintainer info
9437 * fixinc/inclhack.sh: regen
9438 * fixinc/fixincl.sh: regen
9439
9440 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
9441
9442 * cpphash.c (collect_expansion): Trim trailing white space
9443 from macro definitions, but don't go past the last insertion
9444 point.
9445
9446 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
9447
9448 * i386.md (mulqi3): New pattern.
9449
9450 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
9451
9452 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
9453 token types.
9454 (struct cpp_reader): Add parsing_if_directive and
9455 parsing_define_directive flags.
9456 (struct cpp_options): Remove output_conditionals flag.
9457 (check_macro_name): Delete prototype.
9458
9459 * cpphash.h (struct macrodef): Delete.
9460 (struct reflist): Separate from struct definition.
9461 (struct definition): Remove unused fields. Add column number.
9462 (create_definition): Returns a DEFINITION *. Takes a
9463 cpp_reader * and an int.
9464
9465 * cpphash.c (SKIP_WHITE_SPACE): Delete.
9466 (PEEKC): Copy defn from cpplib.c.
9467 (rest_extension, REST_EXTENSION_LENGTH): Delete.
9468 (struct arg): New.
9469 (struct arglist): Simplify.
9470 (collect_expansion): Rewrite. Get tokens by calling
9471 cpp_get_token. Add more error checking.
9472 (collect_formal_parameters): New function, broken out of
9473 create_definition and reworked to use get_directive_token.
9474 (create_definition): All real work is now in collect_expansion
9475 and collect_formal_parameters. do_define handles finding the
9476 macro name. Return a DEFINITION, not a MACRODEF.
9477 (macroexpand): Replace bcopy with memcpy throughout. Replace
9478 character-at-a-time copy loop with memcpy and pointer increments.
9479 (compare-defs): d1->argnames / d2->argnames might be null.
9480
9481 * cpplib.c (copy_rest_of_line): Delete function.
9482 (skip_rest_of_line): Do all the work ourselves.
9483 (skip_string): New function.
9484 (parse_string): Use skip_string.
9485 (get_macro_name): New function.
9486 (check_macro_name): Delete.
9487 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
9488 (cpp_skip_hspace): Use CPP_BUMP_LINE.
9489 (handle_directive): ICE if we're called on a macro buffer.
9490 (do_define): Determine macro name and type (funlike/objlike)
9491 here. Expunge all uses of MACRODEF.
9492 (cpp_push_buffer): Set line_base to NULL.
9493 (do_undef, read_line_number): Don't worry about getting a POP token.
9494 (eval_if_expression): Set/reset parsing_if_directive around
9495 cpp_parse_expr. Don't clear only_seen_white.
9496 (skip_if_group): Remove output_conditionals logic. Use
9497 skip_rest_of_line.
9498 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
9499 tokens under appropriate conditions.
9500 (cpp_unassert): Call do_unassert not do_assert. Oops.
9501
9502 * cppexp.c (parse_defined): New function, break out of
9503 cpp_lex.
9504 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
9505 ourselves, with cpp_defined.
9506 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
9507
9508 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
9509 * gcc.dg/strpaste-2.c: New.
9510
9511 2000-02-29 Mark Mitchell <mark@codesourcery.com>
9512
9513 * fold-const.c (size_binop): Don't asert inputs are the same and
9514 have TYPE_IS_SIZETYPE set.
9515 (size_diffop): Likewise.
9516
9517 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
9518
9519 * dwarfout.c (output_block): Output abstract blocks even if they
9520 don't have TREE_ASM_WRITTEN set.
9521
9522 * calls.c (emit_library_call): Check for null REG.
9523
9524 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
9525
9526 * c-decl.c (current_function_decl): Move to toplev.c.
9527 (init_decl_processing): Don't add current_function_decl as a ggc
9528 root here.
9529 * dbxout.c (dbxout_symbol): Change return type to int.
9530 (dbxout_symbol_location, dbxout_syms): Likewise.
9531 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
9532 any locals. Use current_function_func_begin_label if set.
9533 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
9534 * dwarf2out.c (dwarf2out_begin_prologue): Set
9535 current_function_func_begin_label.
9536 * final.c (final_start_function): Reset it.
9537 * toplev.c (current_function_decl): Define it here.
9538 (current_function_func_begin_label): New variable.
9539 (main): Add both as ggc roots.
9540 * tree.h (current_function_func_begin_label): Declare.
9541
9542 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9543
9544 * gcse.c: Cleanups throughout: mostly white-space, but also
9545 some minor rearrangement of code.
9546
9547 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
9548
9549 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
9550 returns a PARALLEL. Use emit_group_load and use_group_regs
9551 as needed.
9552 (emit_library_call_value): Similarly.
9553
9554 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
9555 * pa/quadlib.asm: Remove.
9556 * pa/quadlib.c: New file.
9557
9558 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
9559 * configure: Rebuilt.
9560
9561 2000-02-29 Philip Blundell <pb@futuretv.com>
9562
9563 * config/arm/conix-elf.h: New file.
9564 * configure.in (arm*-*-conix*): New configuration.
9565 * configure: Regenerate.
9566
9567 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
9568
9569 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
9570 don't have TREE_ASM_WRITTEN set.
9571
9572 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9573
9574 * Eliminate DECL_FIELD_SIZE.
9575 * builtins.c (built_in_class_names, built_in_names): New variables.
9576 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
9577 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
9578 DECL_SIZE, not DECL_FIELD_SIZE.
9579 * print-tree.c (print_node): Remove code that prints extra blank
9580 lines in some cases.
9581 Properly handle inline and builtin function cases.
9582 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
9583 * tree.h (built_in_class_named, built_in_names): New declarations.
9584 (union tree_decl): Rename internal unions to u1 and u2 and change
9585 some of their components.
9586 Add new field built_in_class.
9587 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
9588 Reflect above changes.
9589 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
9590 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
9591 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
9592 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
9593
9594 2000-02-28 Dmitri Makarov <dim@windriver.com>
9595
9596 * extend.texi: Document ARM's support for long/short calls.
9597
9598 * invoke.texi: Document ARM's -mlong-calls command line switch.
9599
9600 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
9601 (arm_encode_call_attribute): Add prototype.
9602 (arm_set_default_type_attribute): Add prototype.
9603 (arm_strip_name_encoding): Add prototype.
9604
9605 * config/arm/arm.c (arm_init_cumulative_args): replace
9606 initialisation og 'long_calls' field with initialisation of
9607 'call_cookie' field.
9608 (enum arm_pragma_enum): New enum.
9609 (arm_pragma_long_calls): New static variable.
9610 (arm_process_pragma): Also process "#pragma long_calls_off".
9611 (arm_valid_type_attribute_p): Accept short_call attribute.
9612 (arm_comp_type_attributes): Check long/short call attributes.
9613 (arm_encode_call_attribute): New function: Encode long_call
9614 or short_call attribute in function name.
9615 (arm_set_default_type_attributes): New function: Assign
9616 default attributes to newly defined type.
9617 (current_file_function_operand): New function: Return true if
9618 the symbol is a function which has already been compiled.
9619 (arm_is_longcall_p): New function: Return true if the
9620 indicated function should be called via a long call.
9621 (arm_get_strip_length): New function. Returns number of
9622 prefix characters to be stripped from a function's name.
9623 (arm_strip_name_encoding): New function. Strip prefix characters
9624 from a function's name.
9625
9626 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
9627 with 'call_cookie'.
9628 (SHORT_CALL_FAG_CHAR): Define.
9629 (LONG_CALL_FAG_CHAR): Define.
9630 (ENCODED_SHORT_CALL_ATTR_P): Define.
9631 (ENCODED_LONG_CALL_ATTR_P): Define.
9632 (ARM_NAME_ENCODING_LENGTHS): Define.
9633 (STRIP_NAME_ENCODING): Define.
9634 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
9635 (ARM_ENCODE_CALL_TYPE): Define.
9636 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
9637 (ARM_DECLARE_FUNCTION_SIZE): Define.
9638 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
9639
9640 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
9641 if a long call is needed.
9642 (call_value): Ditto.
9643 (call_symbol): Ditto.
9644
9645 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
9646 ARM_DECLARE_FUNCTION_SIZE.
9647
9648 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
9649 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
9650 (ARM_STRIP_NAME_ENCODING): Undefine.
9651 (STRIP_NAME_ENCODING): Undefine.
9652 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
9653 (ASM_DECLARE_FUNCTION_NAME): Ditto.
9654 (ASM_OUTPUT_COMMON): Ditto.
9655 (ASM_DECLARE_OBJECT_NAME): Ditto.
9656
9657 * config/arm/pe.c (arm_dllexport_name_p): Check for
9658 ARM_PE_FLAG_CHAR.
9659 (arm_dllimport_name_p): Ditto.
9660 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
9661 (arm_mark_dllimport): Ditto.
9662
9663 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9664
9665 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
9666
9667 2000-02-28 Mark Mitchell <mark@codesourcery.com>
9668
9669 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
9670
9671 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
9672
9673 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
9674 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
9675 NO_BUILTIN_WCHAR_TYPE is not defined.
9676 (CPP_WCHAR_TYPE): Delete.
9677 * cccp.c (main): Don't change wchar_type if cplusplus.
9678 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
9679
9680 2000-02-28 Nick Clifton <nickc@cygnus.com>
9681
9682 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
9683
9684 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
9685
9686 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
9687 (ASM_WEAKEN_LABEL): Define.
9688
9689 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
9690
9691 * expr.c (store_constructor): Do not emit USE.
9692 * rtl.h (stupid_life_analysis): Remove.
9693
9694 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9695
9696 * function.c (number_blocks): Reset next_block_index based on
9697 what debugging format is used, not what is defined.
9698
9699 * lcm.c: Minor reformatting throughout.
9700 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
9701
9702 * toplev.c (rest_of_compilation): Account for time in
9703 optimize_mode_switching.
9704
9705 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
9706 if only marking labels.
9707
9708 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
9709
9710 * calls.c (expand_call): Attempt to combine stack adjustments with
9711 pending stack adjustments.
9712
9713 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9714
9715 * loop.c (reg_in_basic_block_p): Don't abort when falling through
9716 to the end of the function.
9717
9718 2000-02-27 Mark Mitchell <mark@codesourcery.com>
9719
9720 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
9721 blocks.
9722 * final.c (next_block_index): Remove.
9723 (max_block_depth): Likewise.
9724 (pending_blocks): Likewise.
9725 (init_final): Don't initialize them.
9726 (final_start_function): Don't set next_block_index. Set up
9727 BLOCK_NUMBER.
9728 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
9729 * function.h (number_blocks): New function.
9730 * function.c (get_block_vector): New function.
9731 (identify_blocks): Use it.
9732 (reorder_blocks): Set NOTE_BLOCK.
9733 (number_blocks): New function.
9734 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
9735 * tree.h (BLOCK_NUMBER): New macro.
9736 (tree_block): Add block_num field.
9737 * dbxout.c (next_block_number): Remove.
9738 (dbxout_init): Don't set it.
9739 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
9740 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
9741 block numbers.
9742 * toplev.c (rest_of_compilation): Always call
9743 find_loop_tree_blocks. Fix indentation.
9744 * dwarf2out.c (next_block_number): Remove.
9745 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9746 to determine block numbers.
9747 (gen_inlined_subroutine_die): Likewise.
9748 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
9749 (decls_for_scope): Don't increment next_block_number.
9750 * dwarfout.c (next_block_number): Remove.
9751 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9752 to determine block numbers.
9753 (output_inlined_subroutine_die): Likewise.
9754 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
9755 (output_decls_for_scope): Don't increment next_block_number.
9756 * sdbout.c (next_block_number): Remove.
9757 (sdbout_block): Use BLOCK_NUMBER.
9758 (sdbout_begin_block): Simplify.
9759 * xcoffout.c (next_block_number): Remove.
9760 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
9761 (xcoffout_begin_block): Don't set next_block_number.
9762 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
9763 next_block_number.
9764
9765 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9766
9767 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
9768 (expand_builtin_strcpy): Pass correct type to size_binop.
9769 (expand_builtin_strcmp): Likewise.
9770 Clean up conditional structure.
9771 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
9772 (complete_array_type): Don't use size_binop for MAXINDEX.
9773 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
9774 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
9775 (c_alignof): Use size_one_node.
9776 (build_unary_op): Pass arg of proper type to size_binop.
9777 (really_start_incremental_init, push_init_level): Use sizetype for
9778 constructor{,_bit,_unfilled}_index.
9779 (pop_init_label, output_init_element): Likewise.
9780 (output_pending_init_elements, process_init_element): Likewise.
9781 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
9782 * expr.c (store_expr): Use size_int.
9783 (store_constructor): Use proper types for size_binop args.
9784 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
9785 (expand_expr_unaligned): Likewise.
9786 (string_contant): Return object of sizetype.
9787 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
9788 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
9789 (ARGS_SIZE_TREE): Pass proper types to size_binop.
9790 * fold-const.c (int_const_binop): Refine when size_int is called.
9791 (fold_convert): Likewise.
9792 (size_int_wide): Rework to take KIND as arg, only take low order
9793 bits, handle new sizetype_tab datatype, and chain entries in
9794 size_table.
9795 (size_int_type_wide): New function.
9796 (size_binop): Validate types of arguments.
9797 (ssize_binop): Deleted.
9798 (size_diffop): New function.
9799 (extract_muldiv): Only fold division into multiplication for sizetypes.
9800 * function.c (assign_parms): Use size_diffop and make sure
9801 VAR field is of ssizetype; also pass proper type to size_binop.
9802 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
9803 (round_down): Deleted from here.
9804 * store-layout.c (sizetype_tab): Now an array.
9805 (sizetype_set, early_root_list): New variables.
9806 (variable_size): Use size_one_node.
9807 (round_up): Pass proper type to size_binop.
9808 (round_down): Moved to here and corrected as above.
9809 (layout_record): Pass proper arg types to size_binop.
9810 (layout_type): Likewise.
9811 If sizetype_set is zero, record the type just laid out.
9812 (make_unsigned_type): Don't call set_sizetype;
9813 (make_signed_type): Likewise; also, call fixup_signed_type.
9814 (initialize_sizetypes): New function.
9815 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
9816 set name of bitsizetype to "bit_size_type".
9817 Fix up type of sizes of all types made before call.
9818 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
9819 * tree.c (fix_sizetype): Deleted.
9820 (build_common_tree_nodes): Call initialize_sizetypes.
9821 (build_common_tree_nodes_2): Don't call fix_sizetype.
9822 * tree.h (TYPE_IS_SIZETYPE): New macro.
9823 (initialize_sizetype): New declaration.
9824 (enum size_type_kind): New type.
9825 (struct sizetype_tab): Deleted.
9826 (sizetype_tab): Now array; adjust sizetype macros.
9827 (size_diffop, size_int_type_wide): New functions.
9828 (size_int_wide): Change number of args and type; access macros changed.
9829 (ssize_int, sbitsize_int): New macros.
9830 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
9831 (ROUND_TYPE_SIZE_UNIT): New macro.
9832
9833 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
9834
9835 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
9836
9837 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9838
9839 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
9840 Mark as possibly unused.
9841
9842 * cse.c (cse_insn): Delete dead code involving tablejump.
9843 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
9844
9845 * Makefile.in (libcpp.a): Start by deleting it.
9846
9847 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9848
9849 * cpplib.h (enum file_change_code): Added rename_file.
9850 * cpplib.c (do_line): If a filename is given, set file_change to
9851 rename_file.
9852 (output_line_command): If file_change is rename_file, always
9853 output a # directive with the file name.
9854
9855 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
9856
9857 2000-02-26 Mark Mitchell <mark@codesourcery.com>
9858
9859 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
9860 when copying a PARM_DECL or RESULT_DECL.
9861
9862 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9863
9864 * fix-header.c (recognized_function): Also fix prototypes for
9865 functions taking "void".
9866
9867 2000-02-26 Geoff Keating <geoffk@cygnus.com>
9868
9869 * reload1.c (do_output_reload): Check reg_reloaded_valid before
9870 looking at reg_reloaded_contents.
9871
9872 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
9873
9874 * Makefile.in (STMP_FIXINC): New toggle.
9875 (LIBGCC2_DEPS): Delete all references.
9876 (stmp-headers): Delete target. All references either deleted
9877 or changed to stmp-int-headers.
9878 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
9879 (LIBCPP_OBJS): Take out cppalloc.o.
9880 (cppalloc.o): Delete target.
9881 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
9882 (gen-protos, fix-header): Link with libiberty.a.
9883 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
9884 to empty.
9885
9886 * configure.in: Remove refs to strerror.
9887 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
9888 * system.h: Take out strerror stanza.
9889
9890 * cpperror.c (my_strerror): Delete function.
9891 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
9892 * cppmain.c (main): Call xmalloc_set_program_name first thing.
9893 * cppalloc.c: Delete file.
9894 * gen-protos.c: Don't provide xrealloc.
9895
9896 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
9897 xstrerror throughout.
9898
9899 2000-02-26 Bruce Korb <bkorb@gnu.org>
9900
9901 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
9902 match for DOS headers, too.
9903 * fixinc/inclhack.sh,fixincl.x: Regenerate.
9904
9905 2000-02-26 Geoff Keating <geoffk@cygnus.com>
9906
9907 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
9908 is right for most ELF targets.
9909 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
9910 Let the default file use %U properly.
9911 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
9912 default.
9913
9914 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
9915 numbers.
9916
9917 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9918
9919 * toplev.c (documented_lang_options): Correct spelling error.
9920 (decode_d_option, decode_f_option, main): Likewise.
9921
9922 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
9923
9924 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9925 to tell assembler it is permitted to expand large constants.
9926
9927 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
9928
9929 * protoize.c: (AUX_INFO_SUFFIX): New macro.
9930 (aux_info_suffix): Use.
9931 (SAVE_SUFFIX): New macro.
9932 (save_suffix): Use.
9933 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9934 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9935 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9936
9937 * invoke.texi (Running Protoize): Update documentation.
9938
9939 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9940
9941 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9942
9943 2000-02-25 John Wehle (john@feith.com)
9944
9945 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9946
9947 2000-02-25 Anthony Green <green@cygnus.com>
9948
9949 * toplev.c (rest_of_compilation): Rebuild jump labels if
9950 combine_instructions has created a new direct jump.
9951 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
9952 when appropriate.
9953 (combine_instructions): Call try_combine with new argument.
9954 Return non-null value when new direct jump instruction is created.
9955 * rtl.h: combine_instructions returns an int.
9956
9957 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
9958
9959 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9960 jump when changing a computed jump into a jump to a known
9961 target.
9962
9963 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
9964
9965 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9966 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9967
9968 * i386.md (define_expand "clrstrsi"): Fix typo.
9969
9970 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
9971
9972 * rtl.texi: Fix typo.
9973
9974 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9975
9976 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9977 UNITS_PER_WORD. Change caller initial_elimination_offset.
9978 (rounded_frame_size): Take into account that argument pushed has
9979 changed. Fix TARGET_ALIGN_DOUBLE problem.
9980
9981 2000-02-25 Geoff Keating <geoffk@cygnus.com>
9982
9983 * haifa-sched.c (schedule_block): Explain the real reason
9984 we delete REG_SAVE_NOTEs on the first insn of a block.
9985 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9986
9987 2000-02-24 Mark Mitchell <mark@codesourcery.com>
9988
9989 * input.h (push_srcloc): New function.
9990 (pop_srcloc): Likewise.
9991 * toplev.c (push_srcloc): Define it.
9992 (pop_srcloc): Likewise.
9993
9994 2000-02-24 Richard Henderson <rth@cygnus.com>
9995
9996 * flow.c (life_analysis): When collecting reg info, clear
9997 regs_ever_live.
9998
9999 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10000
10001 Fix bug exposed by reload.c no longer rounding the frame
10002 size to BIGGEST_ALIGNMENT:
10003 * sh.c (rounded_frame_size): New function.
10004 (sh_expand_prologue, sh_expand_epilogue): Use it.
10005 (initial_elimination_offset): Likewise.
10006
10007 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10008
10009 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
10010 * sh-protos.h (sh_need_epilogue): Declare.
10011 * sh.c (sh_need_epilogue_known): New static variable.
10012 (sh_need_epilogue): New function.
10013 (function_epilogue): Clear need_epilogue_known.
10014 * sh.md (return): Split into expander / insn pattern.
10015 Make the expander conditional on ! sh_need_epilogue ().
10016
10017 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
10018
10019 * machmode.h (get_mode_alignment): Declare.
10020 (GET_MODE_ALIGNMENT): Call it.
10021 * stor-layout.c (get_mode_alignment): New function. Make
10022 sure alignment is always power of 2.
10023
10024 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10025
10026 * i386.h: Remove useless definition of "I386" and misleading
10027 comment above it.
10028
10029 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10030
10031 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
10032 under which TREE_PERMANENT will be set.
10033 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
10034 build1): Use TREE_SET_PERMANENT.
10035 * print-tree.c (print_node): Don't report value of
10036 TREE_PERMANENT if ggc_p is true.
10037
10038 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
10039 decide whether to give a type a new alias set.
10040 * objc/objc-act.c (build_objc_string_object): Never copy the string.
10041 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
10042 of value of 'obstack'.
10043
10044
10045 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10046
10047 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
10048
10049 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10050
10051 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
10052 * cpplib.c (cpp_get_token): Produce them.
10053 * cppexp.c (cpp_lex): Handle them.
10054
10055 2000-02-23 Nick Clifton <nickc@cygnus.com>
10056
10057 * config/arm/arm.c (arm_comp_type_attributes): Simply and
10058 comment tests on type attributes.
10059
10060 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10061
10062 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
10063 conform to documentation.
10064 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
10065 to check for special cases.
10066 * sh-protos.h (sh_loop_align): Declare.
10067 * sh.c (sh_loop_align): Define.
10068
10069 2000-02-22 Andrew Haley <aph@cygnus.com>
10070
10071 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
10072 (SIZE_TYPE): Is 32 bits when using -mgp32.
10073 (PTRDIFF_TYPE): Ditto.
10074
10075 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10076
10077 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
10078
10079 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10080
10081 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
10082 BIGGEST_FIELD_ALIGNMENT a constant.
10083
10084 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
10085
10086 * dwarf2out.c (output_line_info): Put the marker for the end of
10087 the line number info at the actual end.
10088 (gen_struct_or_union_type_die): Use decl_function_context
10089 to check for local classes.
10090 * dwarfout.c (output_type): Likewise.
10091
10092 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
10093
10094 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
10095 for arguments with a mode, but no type.
10096 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
10097 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
10098 * pa/long_double.h: New file.
10099 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
10100 both have 128bit wide long doubles.
10101 * configure: Rebuilt.
10102
10103 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10104
10105 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
10106
10107 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
10108 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
10109 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
10110
10111 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
10112
10113 * integrate.c (compare_blocks, find_block): Likewise.
10114
10115 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
10116
10117 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
10118
10119 * stmt.c (stmt_status, set_file_and_line_for_stmt,
10120 expand_asm_operands): Likewise.
10121
10122 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
10123
10124 * predict.c (estimate_probability): Added the pointer heuristic to
10125 the collection of static branch predictors.
10126
10127 2000-02-21 Catherine Moore <clm@cygnus.com>
10128
10129 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
10130 * invoke.texi (-mfix7000): Document.
10131
10132 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
10133
10134 * diagnostic.c (init_output_buffer): Make it possible to output at
10135 least 32 characters if we're given a too long prefix.
10136
10137 2000-02-20 Mark Mitchell <mark@codesourcery.com>
10138
10139 * varasm.c (initializer_constant_valid_p): Call
10140 lang_expand_constant to simplify the constant.
10141
10142 2000-02-20 Bruce Korb <bkorb@gnu.org>
10143
10144 * fixinc/inclhack.def(stdio_va_list):
10145 typedef needs to be disabled.
10146 * fixinc/inclhack.sh: regen
10147 * fixinc/fixincl.x: regen
10148
10149 2000-02-20 Geoff Keating <geoffk@cygnus.com>
10150
10151 * print-rtl.c (print_rtx): Don't print addresses when
10152 flag_dump_unnumbered.
10153
10154 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10155
10156 * sparc.c (sparc_output_scratch_registers): Mark parameter with
10157 ATTRIBUTE_UNUSED.
10158 (sparc_va_arg, sparc_flat_output_function_prologue,
10159 sparc_flat_output_function_epilogue): Cast value to unsigned in
10160 comparison.
10161 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
10162
10163 * sparc.md: Add default case in switch.
10164
10165 2000-02-19 Richard Henderson <rth@cygnus.com>
10166
10167 * c-typeck.c (add_pending_init): Don't abort for multiple
10168 fields at the same offset.
10169 (pending_init_member): Test the correct member.
10170
10171 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10172
10173 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
10174 instead of SImode.
10175 (start_catch_handler) : Same.
10176
10177 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
10178
10179 * Makefile.in: Have flow.o depend on $(EXPR_H)
10180
10181 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10182
10183 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
10184 * c-decl.c (duplicate_decls, finish_enum): Likewise.
10185 (finish_decl): Remove -Wlarger-than code from here.
10186 * flags.h (id_clash_len): Now int.
10187 (larger_than_size): Now HOST_WIDE_INT.
10188 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
10189 Clean up checking to see if in table.
10190 (make_bit_field_ref): Remove extra parm to bitsize_int.
10191 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
10192 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
10193 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
10194 and for computing size of decl.
10195 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
10196 Move -Wlarger-than code to here.
10197 (layout_record): Remove extra arg to bitsize_int.
10198 Set TYPE_BINFO_SIZE_UNIT.
10199 (layout_union): Remove extra arg to bitsize_int.
10200 Use proper type for size of QUAL_UNION.
10201 (layout_type): Remove extra arg to bitsize_int.
10202 * toplev.c (id_clash_len): Now int.
10203 (larger_than_size): Now HOST_WIDE_INT.
10204 (decode_W_option): Clean up id-clash and larger-than- cases.
10205 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
10206 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
10207 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
10208 (struct tree_decl): New field size_unit.
10209 (size_int_wide): No HIGH operand; NUMBER is now signed.
10210 (size_int_2): Deleted.
10211 (size_int, bitsize_int): Don't use it and rework args.
10212 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
10213
10214 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
10215
10216 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
10217
10218 2000-02-18 Geoff Keating <geoffk@cygnus.com>
10219
10220 * invoke.texi (Warning Options): Add an explanation of why
10221 you might want the -Wfloat-equal flag.
10222
10223 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10224
10225 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
10226 * cppinit.c (new_pending_define): Add cast to avoid warning.
10227 * expmed.c (extract_bit_field): Likewise.
10228 * flow.c (enum reorder_skip_type): New type.
10229 (skip_insns_between_blcok): New it.
10230 Rework to avoid warning about possibly undefined variable.
10231 * function.c (assign_parms): Make thisparm_boundary unsigned.
10232 * genrecog.c (write_switch): Cast XWINT result to int.
10233 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
10234 * mips-tfile.c (init_file): Make two versions of FDR intializer:
10235 one for MIPS and one for Alpha.
10236 (get_tag, copy_object): Add casts to avoid warnings.
10237 * optabs.c (init_one_libfunc): Cast NAME to (char *).
10238 * reload.c (find_reloads): Make TYPE enum reload_type.
10239 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
10240 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
10241 * varasm.c (compare_constant_1): Add cast to avoid warning.
10242 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
10243 to (char *).
10244 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
10245 Cast switch operand of size to int.
10246 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
10247 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
10248 in unhandled case.
10249
10250 2000-02-18 Nick Clifton <nickc@cygnus.com>
10251
10252 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
10253 anything for an alignment of zero.
10254
10255 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
10256 anything for an alignment of zero.
10257
10258 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
10259
10260 * gcc.texi (Bug Reporting): Refer to bugs.html.
10261 (Bug Lists): Likewise.
10262 * system.h (GCCBUGURL): New preprocessor define.
10263 * rtl.c (fancy_abort): Use it.
10264 * gcc.c (main): Likewise.
10265
10266 2000-02-18 Richard Henderson <rth@cygnus.com>
10267
10268 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
10269 (life_analysis_1): Subsume into ...
10270 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
10271 Use update_life_info for the relaxation.
10272 (update_life_info): Update REG_BASIC_BLOCK for registers live on
10273 entry and regs_live_at_setjmp.
10274 (set_noop_p): Simplify.
10275 (notice_stack_pointer_modification_1): Renamed from s/_1//.
10276 (record_volatile_insns): Split into ...
10277 (delete_noop_moves): ... here,
10278 (notice_stack_pointer_modification): ... here,
10279 (insn_dead_p): ... and here.
10280 (propagate_block): Don't query INSN_VOLATILE.
10281 (mark_used_regs): Mind !PROP_REG_INFO.
10282 * toplev.c (rest_of_compilation): Call mark_constant_function here,
10283 not in life_analysis.
10284
10285 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
10286
10287 * loop.c (canonicalize_condition): New function,
10288 broken out of get_condition.
10289 (get_condition): Use it.
10290 * expr.h (canonicalize_condition): Prototype it.
10291
10292 * tree.h (tree_int_cst_msb): Declare.
10293 * tree.c (tree_int_cst_msb): New function.
10294
10295 2000-02-17 Mark Mitchell <mark@codesourcery.com>
10296
10297 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
10298 isn't set.
10299
10300 * invoke.texi (-fmessage-length=n): Document.
10301
10302 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
10303
10304 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
10305
10306 2000-02-17 Mark Mitchell <mark@codesourcery.com>
10307
10308 * function.c (thread_prologue_and_epilogue_insns): Put a line note
10309 after the prologue.
10310
10311 2000-02-17 Nick Clifton <nickc@cygnus.com>
10312
10313 * config/arm/thumb.c: Replace includes of system headers with
10314 #include "system.h".
10315
10316 2000-02-16 Richard Henderson <rth@cygnus.com>
10317
10318 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
10319 Add crtbeginS.o and crtendS.o.
10320 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
10321 (ENDFILE_SPEC): Use crtendS.o.
10322 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
10323
10324 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
10325 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
10326 shared and present.
10327 (__dso_handle): New variable.
10328 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
10329 bias to __CTOR_END__.
10330
10331 2000-02-16 Richard Henderson <rth@cygnus.com>
10332
10333 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
10334
10335 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
10336
10337 * longlong.h (__clz_tab): Declare as static to match definition.
10338
10339 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
10340
10341 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
10342 (XREF_FILE_NAME): Define.
10343
10344 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
10345 (EH_FRAME_SECTION_ASM_OP): Define.
10346 (IDENT_ASM_OP): Define.
10347 (TEXT_SECTION_ASM_OP): Define.
10348 (CPP_SPEC): Define.
10349 (CTORS_SECTION_ASM_OP): Define.
10350 (CTOR_SECTION_FUNCTION): Use it.
10351 (DTORS_SECTION_ASM_OP): Define.
10352 (DTOR_SECTION_FUNCTION): Use it.
10353
10354 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
10355
10356 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
10357 NOTE_BASIC_BLOCK.
10358
10359 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
10360 debug_bb_n): New functions.
10361 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
10362 * basic-block.h: Prototype new functions.
10363
10364 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
10365
10366 * configure.in: Add support for avr target.
10367 * configure: Rebuilt.
10368
10369 * invoke.texi: Add AVR invocation docs.
10370 * install.texi: Add information about AVR.
10371 * md.texi: Add AVR constraint letters description.
10372 * extend.texi: Add description for AVR specific attributes.
10373
10374 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
10375
10376 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
10377
10378 2000-02-16 Nick Clifton <nickc@cygnus.com>
10379
10380 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
10381 (make_insn_raw): Move RTL check here.
10382
10383 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10384
10385 * version.c: Include gansidecl.h and version.h.
10386
10387 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
10388
10389 * configure.in (gcc_version): When setting, narrow search to
10390 lines containing `version_string'.
10391
10392 * Makefile.in (mainversion): Likewise.
10393 (GCC_H): New variable.
10394 (gcc.h): Delete target.
10395 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
10396 (version.o): Depend on version.h.
10397 (dbxout.o): Don't depend on gcc.h.
10398
10399 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
10400 Michael Meissner <meissner@cygnus.com>
10401
10402 * md.texi (Simple Constraints): Add item about whitespace.
10403 * genoutput.c (strip_whitespace): New.
10404 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
10405 strip_whitespace for constraints.
10406 Test pointer using NULL, not 0.
10407
10408 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10409
10410 * cpplib.c (do_line): Pedwarn for #line > 32767.
10411
10412 * c-lex.c (readescape): Warn about '\x', but do not reject it.
10413
10414 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
10415
10416 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
10417 to default cpp spec.
10418 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
10419 * cpp.texi: Document __GNUC_PATCHLEVEL__.
10420 * cpp.1: Likewise.
10421
10422 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
10423 default spec.
10424
10425 2000-02-15 Denis Chertykov <denisc@overta.ru>
10426
10427 * configure.in: Add support for avr target.
10428
10429 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10430
10431 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
10432 (sh_addr_diff_vec_mode): Don't declare.
10433 * sh.c (sh_addr_diff_vec_mode): Delete.
10434
10435 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10436
10437 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
10438
10439 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10440
10441 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
10442 (smulsi3_highpart_i): Name.
10443 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
10444 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
10445 (smulsi3_highpart, umulsi3_highpart): Likewise.
10446
10447 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
10448 correctly independent of endianness.
10449 (mulsidi3, umulsidi3): Now define_insn. Hide details that
10450 confuse the optimizers.
10451 (mulsidi3+1, umulsidi3+1): New define_split.
10452
10453 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
10454
10455 * config/sh/sh.md: Guard insn splits against illegal registers.
10456 * config/sh/sh.h: Correct comment about macros.
10457
10458 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10459 Andrew MacLeod <amacleod@cygnus.com>
10460
10461 * Makefile.in (lcm.o): Depend on insn-attr.h.
10462 * basic-block.h (optimize_mode_switching): Declare.
10463 * lcm.c (tm_p.h, insn-attr.h): #include.
10464 (seginfo, bb_info): New structs.
10465 (antic, transp, comp, delete, insert) : New file-scope static variables.
10466 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
10467 (reg_becomes_live, optimize_mode_switching): Likewise.
10468 * tm.texi: Add description of mode switching macros.
10469 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
10470
10471 * sh-protos.h (remove_dead_before_cse): Remove prototype.
10472 (fldi_ok, fpscr_set_from_mem): New prototypes.
10473 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
10474 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
10475 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10476 (sh_flag_remove_dead_before_cse): Remove declaration.
10477 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
10478 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
10479 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
10480 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10481 (barrier_align): Allow for JUMP_INSNS containing a parallel.
10482 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
10483 (fldi_ok): New function.
10484 (get_fpscr_rtx): Add fpscr_rtx as GC root.
10485 (emit_sf_insn): Only generate fpu switches when optimize < 1.
10486 (emit_df_insn): Likewise.
10487 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
10488 (sh_flag_remove_dead_before_cse): Delete.
10489 (get_free_reg, fpscr_set_from_mem): New functions.
10490 * sh.md (movdf, movsf): Remove no_new_pseudos code.
10491 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
10492
10493 2000-02-15 Loren Rittle <ljrittle@acm.org>
10494
10495 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
10496
10497 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10498
10499 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
10500 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
10501
10502 * cccp.c: Include version.h and/or don't declare `version_string'.
10503 * collect2.c: Likewise.
10504 * alpha.c: Likewise.
10505 * arm/aof.h: Likewise.
10506 * arm/coff.h: Likewise.
10507 * arm/elf.h: Likewise.
10508 * arm/pe.h: Likewise.
10509 * arm/tcoff.h: Likewise.
10510 * arm/telf.h: Likewise.
10511 * arm/tpe.h: Likewise.
10512 * arm/vxarm.h: Likewise.
10513 * convex/convex.c: Likewise.
10514 * i386/dgux.c: Likewise.
10515 * i386/sun386.h: Likewise.
10516 * m88k/m88k.c: Likewise.
10517 * mcore/mcore-pe.h: Likewise.
10518 * mips/mips.h: Likewise.
10519 * romp/romp.h: Likewise.
10520 * sh/sh.c: Likewise.
10521 * cpphash.c: Likewise.
10522 * cppinit.c: Likewise.
10523 * dwarf2out.c: Likewise.
10524 * dwarfout.c: Likewise.
10525 * gcc.c: Likewise.
10526 * gcc.h: Likewise.
10527 * mips-tfile.c: Likewise.
10528 * protoize.c: Likewise.
10529 * toplev.c: Likewise.
10530 * tree.h: Likewise.
10531
10532 * version.c (version_string): Constify a char*.
10533
10534 * version.h: New file.
10535
10536 2000-02-14 Nick Clifton <nickc@cygnus.com>
10537
10538 * configure.in: Add mcore-elf and mcore-pe targets.
10539 * configure: Regenerate.
10540
10541 * NEWS: Add note that MCore port has been contributed.
10542
10543 * invoke.texi: Document command line switches for MCore port.
10544 * install.texi: Add MCore to list of supported targets.
10545
10546 2000-02-14 Geoff Keating <geoffk@cygnus.com>
10547
10548 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
10549 then we will need to import the frame handling functions.
10550 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
10551 to import the frames themselves.
10552
10553 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
10554 Jason Eckhardt <jle@cygnus.com>
10555
10556 * basic_block.h: Added prototype for reorder_basic_blocks.
10557 * toplev.c: Changes to add -freorder-blocks and graph dump after
10558 block reordering is done.
10559 * flow.c (reorder_block_def): New structure for use during block
10560 reordering.
10561 (REORDER_BLOCK_*): New macros to access members of above structure.
10562 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
10563 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
10564 functions for block reordering.
10565
10566 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
10567
10568 * gcc.texi (Passes): Fix typo.
10569 * md.texi (Standard Names): Ditto.
10570 * tm.texi (Storage Layout): Ditto.
10571
10572 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
10573
10574 * cpplib.c (do_define): Only free the old definition if it
10575 actually had one.
10576
10577 2000-02-13 Neil Booth <NeilB@earthling.net>
10578
10579 * cppfiles.c (read_and_prescan): When emitting deferred
10580 newlines, test speccase[] again instead of checking each
10581 possible whitespace character in turn. When we encounter \r,
10582 look behind for \n first, then ahead.
10583
10584 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
10585
10586 * cse.c (cse_altered): New internal flag.
10587 (cse_insn): Set it if we changed an insn.
10588 (cse_main): Clear cse_altered before each basic block.
10589 Only garbage collect if cse_altered is true afterward.
10590
10591 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10592
10593 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
10594
10595 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
10596
10597 * combine.c (simplify_comparison): Fix typo.
10598
10599 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
10600
10601 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
10602 consistently.
10603
10604 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10605
10606 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
10607 previously inserted node instead of root node. Caller changed.
10608
10609 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10610
10611 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
10612
10613 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10614
10615 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
10616 __dereg_frame_dtor): Add prototype argument.
10617
10618 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
10619
10620 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
10621
10622 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
10623
10624 * gthr-vxworks.h (__gthread_once): Likewise.
10625
10626 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
10627
10628 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
10629
10630 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
10631 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
10632 stack pointer in functions w/o saved registers, output LEAVE more often
10633 on TARGET_USE_LEAVE machines.
10634
10635 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
10636
10637 * config/arm/arm.c (arm_init_cumulative_args); New function:
10638 Initlaise the CUMULATIE_ARGS strcuture for a function
10639 defintion.
10640 (arm_function_arg): New function: Determine where to place a
10641 function's argument. Also handles deciding the function's
10642 call cookie.
10643 (current_file_function_operand): New function: Return true if
10644 the symbol is a function which has already been compiled.
10645 (arm_is_long_call_p): New function: Return true if the
10646 indicated function should be called via a long call.
10647 (arm_valid_type_attribute_p): New function: Return true if the
10648 attribute is a valid, arm specific, attribute.
10649 (arm_comp_type_attribute): New function: Return true if the
10650 two types have compatable, arm specific, attributes.
10651
10652 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
10653 structure.
10654 (FUNCTION_ARG): Redefine to call arm_function_arg.
10655 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
10656 structure field.
10657 (INIT_CUMULATIVE_ARGS): Redefine to call
10658 arm_init_cumulative_args.
10659 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
10660 field.
10661 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
10662 field.
10663 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
10664 functions.
10665 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
10666 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
10667 (COMP_TYPE_ATTRIBUTES): Define.
10668
10669 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
10670 if a long call is needed.
10671 (call_value): Call arm_is_long_call_p to decide if a long call
10672 is needed.
10673 (call_symbol): Call arm_is_long_call_p to decide if a long call
10674 is needed.
10675
10676 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
10677
10678 2000-02-11 Denis Chertykov <denisc@overta.ru>
10679
10680 * README.AVR: New file with information about the avr ports.
10681 * config/avr: New directory with avr port files.
10682
10683 2000-02-11 Andreas Jaeger <aj@suse.de>
10684
10685 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
10686
10687 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
10688
10689 * cpphash.c: Fix formatting, update commentary.
10690 (dump_definition): Take three separate arguments instead of a
10691 MACRODEF structure argument.
10692 * cpphash.h: Update prototype of dump_definition.
10693 * cppinit.c (cpp_finish): Update call of dump_definition.
10694
10695 * cpplib.c (do_define): Always create new hash entry with
10696 T_MACRO type. Remove redundant check for redefinition of
10697 poisoned identifier. Update call of dump_definition.
10698 (do_undef): Don't call check_macro_name. Rename sym_length to
10699 len.
10700 (do_error, do_warning): Don't use copy_rest_of_line or
10701 SKIP_WHITE_SPACE.
10702 (do_warning): Don't use pedwarn for the actual warning,
10703 only the notice about its not being in the standard. (Fixes
10704 bug with #warning in system headers.)
10705 (do_ident): Stricter argument checking - accept only a single
10706 string after #ident. Also, macro-expand the line.
10707 (do_xifdef): Use cpp_defined. De-obfuscate.
10708
10709 (do_pragma): Split out specific pragma handling to separate
10710 functions. Use get_directive_token. Update commentary. Do
10711 not pass on #pragma once or #pragma poison to the front end.
10712 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
10713 do_pragma_default): New.
10714
10715 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
10716
10717 * jump.c (jump_optimize_1): The first operand in a relational
10718 can be a CONST_INT.
10719 * optabs.c (emit_conditional_move): Handle relationals which
10720 have a known true/false result.
10721
10722 2000-02-11 Geoff Keating <geoffk@cygnus.com>
10723
10724 * function.c (thread_prologue_and_epilogue_insns): Don't insert
10725 a RETURN insn into a block which already ends with a jump.
10726
10727 2000-02-11 Geoff Keating <geoffk@cygnus.com>
10728
10729 * haifa-sched.c (BUF_LEN): Increase a lot.
10730
10731 2000-02-11 Nick Clifton <nickc@cygnus.com>
10732
10733 * configure.in: Add tm_p_file specification for thumb targets.
10734 * configure: Regenerate.
10735
10736 * config/arm/thumb-protos.h: New file: Prototypes for exported
10737 functions defined in thumb.c.
10738
10739 2000-02-11 Robert Lipe <robertl@sco.com>
10740
10741 * Makefile.in (bootstrap-lean): Remove additional files.
10742 (bootstrap2-lean): Likewise.
10743 (VOL_FILES): List of files for above.
10744
10745 2000-02-11 Nathan Sidwell <nathan@acm.org>
10746
10747 * cpphash.c (special_symbol): Remove spurious argument to
10748 cpp_lookup.
10749
10750 2000-02-11 Joel Sherrill (joel@OARcorp.com>
10751
10752 * configure.in: (i*86-*-rtems*): Swapped elf and coff
10753 stanzas.
10754 * configure: Rebuilt.
10755
10756 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
10757
10758 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
10759
10760 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
10761
10762 * pa.c, pa.h: Remove trigraph sequences within comments.
10763
10764 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
10765
10766 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
10767
10768 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
10769
10770 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
10771
10772 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10773
10774 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
10775
10776 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10777
10778 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
10779 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
10780 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
10781 (ASM_FILE_END): Use c4x_file_end.
10782 * config/c4x/c4x.c (c4x_global_label): New function.
10783 (c4x_external_ref, c4x_file_end): Likewise.
10784
10785 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
10786 (c4x_external_ref, c4x_end_file): Likewise.
10787
10788 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
10789
10790 * cppexp.c: Don't include cpphash.h.
10791 (parse_charconst, cpp_lex): Use cpp_defined.
10792 (cpp_lex): Use get_directive_token throughout. Remove
10793 unnecessary cases from switch. Move assertion-handling code
10794 down to OTHER case.
10795 (cpp_parse_expr): If we see '+' or '-', check the context to
10796 determine if they are unary or binary operators. Streamline
10797 the jumps a bit. Do not call skip_rest_of_line.
10798
10799 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
10800 static. Export get_directive_token. Update commentary.
10801 (cpp_defined): New function.
10802 (do_define): Remove reference to T_PCSTRING. Call
10803 free_definition to release memory for old definition, when
10804 redefining a macro.
10805 (eval_if_expression): Set only_seen_white to 0 before calling
10806 cpp_parse_expr. Call skip_rest_of_line after it returns.
10807 (cpp_read_check_assertion): Don't preserve a pointer into the
10808 token buffer across a call to cpp_get_token.
10809
10810 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
10811 * cppfiles.c (redundant_include_p): Use cpp_defined.
10812 * cpphash.c (free_definition): New function.
10813 (delete_macro): Use it. Update commentary.
10814 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
10815 free_definition.
10816 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
10817 from enum node_type. Prototype cpp_defined and get_directive_token.
10818 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
10819
10820 * fix-header.c (check_macro_names): Use cpp_defined.
10821 (read_scan_file): Set inhibit_warnings and inhibit_errors in
10822 the options structure.
10823
10824 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10825
10826 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
10827
10828 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
10829
10830 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
10831 rather than die->die_tag.
10832
10833 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10834
10835 * combine.c (make_extraction, force_to_mode): Avoid warning on
10836 mixed-signedness conditionals.
10837 (make_field_assignment, nonzero_bits): Likewise.
10838 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
10839 (store_split_bit_field, extract_split_bit_field): Likewise.
10840 (extract_fixed_bit_field, store_bit_field,
10841 * expr.c: Change alignment to be unsigned everywhere.
10842 (move_by_pieces, store_constructor_field, store_constructor):
10843 Alignment parm is unsigned.
10844 (emit_block_move, emit_group_load, emit_group_store): Likewise.
10845 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10846 (do_compare_rtx_and_jump): Likewise.
10847 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
10848 Compare align with GET_MODE_ALIGNMENT.
10849 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
10850 (get_inner_reference): Likewise.
10851 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
10852 (expand_assignment): Local vars for alignment now unsigned.
10853 (store_constructor, store_field, expand_expr, do_jump): Likewise.
10854 (do_compare_and_jump): Likewise.
10855 (store_field): Call new function expr_align.
10856 * expr.h (emit_block_move, emit_group_load, emit_group_store):
10857 Alignment arg now unsigned.
10858 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10859 (do_compare_rtx_and_jump, store_bit_field): Likewise.
10860 (extract_bit_field): Likewise.
10861 * fold-const.c (add_double): Add cast to eliminate signedness warning.
10862 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
10863 (get_best_mode): Alignment arg is unsigned.
10864 * rtl.h (move_by_pieces): Likewise.
10865 * store-layout.c (maximum_field_alignment, set_alignment):
10866 Now unsigned.
10867 (layout_decl): Alignment arg is now unsigned.
10868 Remove unneeded casts.
10869 (layout_record, layout_union, layout_type): Remove unneeded casts.
10870 Local alignment variables now unsigned.
10871 (get_best_mode): Alignment arg now unsigned.
10872 * tree.c (expr_align): New function.
10873 * tree.h (expr_align): Likewise.
10874 (maximum_field_alignment, set_alignment): Now unsigned.
10875 (get_inner_reference): Alignment argument is now pointer to unsigned.
10876 * varasm.c (assemble_variable): Add cast to eliminate warning.
10877
10878 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
10879
10880 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
10881 then store directly into op0.
10882
10883 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
10884 the CALL_INSN, and emit the note immediately after it.
10885
10886 2000-02-10 Nick Clifton <nickc@cygnus.com>
10887
10888 * config/arm/thumb.md (epilogue): Include a (return) in the
10889 generated insn, and emit it using emit_jump_insn not
10890 emit_insn.
10891
10892 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
10893
10894 * function.c (assign_temp): Change zero-sized arrays to size 1.
10895 * integrate.c (expand_inline_function): Do not update
10896 stack_alignment_needed
10897 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
10898 add some sanity checking, remove optimization for function with
10899 zero frame size.
10900
10901 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10902
10903 * flow.c (mark_regs_live_at_end): Delete unused variables.
10904
10905 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
10906
10907 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
10908 in macro FRAME_GROWS_DOWNWARD.
10909
10910 * stmt.c (expand_end_bindings): Delete unused variable.
10911
10912 * unroll.c (iteration_info): Mark parameter `loop' with
10913 ATTRIBUTE_UNUSED.
10914
10915 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10916
10917 * fixinc/server.c (load_data): Return NULL if the marker line is
10918 not found.
10919 (run_shell): If load_data returns NULL, retry the command once, in
10920 a new shell.
10921
10922 * configure: Rebuilt.
10923
10924 2000-02-09 Bruce Korb <bkorb@gnu.org>
10925
10926 * gcc/fixincludes: ** DELETED **
10927 * gcc/fixcpp: ** DELETED **
10928 * gcc/fixinc-nt.sed: ** DELETED **
10929 * gcc/just-fixinc: ** DELETED **
10930 * gcc/Makefile.in: Removed out-dated commentary
10931 * gcc/configure.in: Removed fast-fixincludes disablement.
10932 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10933
10934 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
10935 * function.c (thread_prologue_and_epilogue_insns): Uncomment
10936 last change.
10937
10938 2000-02-09 Richard Henderson <rth@cygnus.com>
10939
10940 * jump.c (delete_insn): Don't delete user labels at -O0.
10941
10942 2000-02-09 Robert Lipe <robertl@sco.com>
10943
10944 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10945 Don't link with HOST_LIBS.
10946
10947 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
10948
10949 * configure.in: Correct --help text for --with-dwarf2.
10950 Put tm-dwarf2.h after other tm files, if it's requested.
10951 * configure: Regenerate.
10952 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10953 defining it.
10954
10955 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
10956
10957 * cpplib.h: Provide HASHNODE typedef and forward decl of
10958 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
10959 DEFINITION, struct hashnode, struct macrodef, struct
10960 definition, scan_decls prototype, default defn of
10961 INCLUDE_LEN_FUDGE moved elsewhere.
10962
10963 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10964 definition, and struct hashnode moved here. Remove the unused
10965 'predefined' field from struct definition. Replace the 'args'
10966 union with its sole member. All users updated (cpphash.c).
10967 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
10968 multiple include guard.
10969
10970 * cpphash.c (hashf): Make static; use better algorithm; drop
10971 HASHSIZE parameter; return an unsigned int.
10972 (cpp_lookup): Drop HASH parameter. PFILE parameter is
10973 used. Calculate HASHSIZE modulus here.
10974 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10975 here.
10976 (create_definition): Drop PREDEFINITION parameter.
10977 * cpplib.c (do_define): Don't calculate a hash value here.
10978 Don't pass (keyword == NULL) to create_definition.
10979
10980 * scan.h: Prototype scan_decls here.
10981 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10982 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10983 callers of cpp_lookup and cpp_install updated.
10984
10985 * cpphash.c (macarg): Hoist all the flag diddling out of the
10986 function...
10987 (macroexpand): ... and out of the loop that calls macarg.
10988 Skip over the initial paren before macro arguments with
10989 cpp_get_non_space_token; point may be some distance before
10990 that paren. Abort if it's not there.
10991
10992 * cpplib.c (parse_clear_mark): Delete function.
10993 (parse_set_mark, parse_goto_mark): Make static.
10994 (ACTIVE_MARK_P): New macro.
10995 (skip_block_comment, skip_line_comment): Do not bump the line
10996 if ACTIVE_MARK_P is true.
10997 (cpp_pop_buffer): The buffer to be popped may not have an
10998 active mark.
10999 (cpp_get_token): When looking for the initial paren before
11000 macro arguments, only set a mark in a file buffer, Always
11001 return to that mark before proceeding to call macroexpand or
11002 return a NAME token.
11003
11004 * cpplib.h: Remove prototypes of parse_set_mark,
11005 parse_clear_mark, parse_goto_mark.
11006 (struct cpp_options): Rename 'put_out_comments' to
11007 'discard_comments' and invert its sense.
11008 * cppinit.c, cpphash.c, cpplib.c: All users of
11009 put_out_comments changed to use discard_comments, with
11010 opposite sense.
11011
11012 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
11013
11014 * function.c (thread_prologue_and_epilogue_insns): Don't delete
11015 the edge from a block that both jumps and falls through to the
11016 fallthru block.
11017
11018 2000-02-09 Scott Bambrough <scottb@netwinder.org>
11019
11020 * config/arm/arm.md (movsi): In PIC mode, make sure that a
11021 constant source address is legitimate.
11022
11023 2000-02-09 Philip Blundell <pb@futuretv.com>
11024
11025 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
11026 correctly.
11027
11028 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
11029 generating PIC.
11030 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
11031
11032 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11033
11034 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
11035 ends with a newline and a NUL. Don't be so clever manipulating
11036 strings.
11037
11038 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
11039
11040 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
11041 not to BIGGEST_ALIGNMENT.
11042
11043 2000-02-08 Geoff Keating <geoffk@cygnus.com>
11044
11045 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
11046 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
11047 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
11048 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
11049 * frame.c (execute_cfa_insn): Handle
11050 DW_CFA_GNU_negative_offset_extended.
11051
11052 2000-02-08 Richard Henderson <rth@cygnus.com>
11053
11054 * flow.c (tidy_fallthru_edges): Split out from ...
11055 (delete_unreachable_blocks): ... here.
11056 (find_basic_blocks): Use it.
11057
11058 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11059
11060 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
11061
11062 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
11063
11064 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
11065 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
11066 (fix-header.o): Don't depend on cpphash.h.
11067
11068 * scan.c (hashstr): New function.
11069 * scan.h: Prototype it.
11070 * fix-header.c: Don't include cpphash.h. Use hashstr.
11071 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
11072 hashstr. Report hash table statistics. Add private
11073 definition of xrealloc.
11074
11075 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11076
11077 * i386.h (TARGET_SWITCHES): Fix typo in option name.
11078
11079 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
11080
11081 * function.c (thread_prologue_and_epilogue_insns): Don't replace
11082 jumps with returns unless they are jumps to the fallthru block.
11083
11084 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
11085
11086 * i386.md (addqi3_cc): Fix contraints.
11087
11088 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
11089
11090 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
11091
11092 2000-02-07 Mark Mitchell <mark@codesourcery.com>
11093
11094 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
11095 carriage return after a macro name.
11096
11097 2000-02-07 Fred Fish <fnf@be.com>
11098
11099 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
11100 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
11101
11102 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
11103
11104 * cppfiles.c (deps_output): Count spacers in deps_column.
11105
11106 2000-02-07 Neil Booth <NeilB@earthling.net>
11107
11108 * cppinit.c (initialize_dependency_output): If there is no
11109 suffix, don't try to look for known suffixes. Use strrchr.
11110 (cpp_start_read): Remove duplicate initialization.
11111
11112 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
11113
11114 * calls.c (compute_argument_block_size): New argument
11115 preferred_stack_boundary.
11116 (expand_call): update cfun->preferred_stack_boundary, update call of
11117 compute_argument_block_size
11118 (emit_library_call): Increate cfun->preferred_stack_boundary
11119 to PREFERRED_STACK_BOUNDARY
11120 (emit_library_call_value): Likewise.
11121 * explow.c (allocate_dynamic_stack_spave): Likewise.
11122 * function.c (prepare_function_start): Set
11123 cfun->preferred_stack_boundary
11124 * function.h (struct function): Add preferred_stack_boundary field.
11125 * integrate.c (expand_inline_function): Update
11126 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
11127 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
11128 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
11129
11130 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
11131
11132 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
11133 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
11134 cpp_pedwarn, cpp_pedwarn_with_line,
11135 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
11136 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
11137 v_cpp_error_with_line, v_cpp_warning_with_line,
11138 cpp_message_from_errno, cpp_perror_with_name): Delete.
11139
11140 * cpperror.c (cpp_print_containing_files): Take starting
11141 buffer as argument.
11142 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
11143 (v_cpp_message): Now called directly by all entry points.
11144 Remove -1 case.
11145 (cpp_pfatal_with_name, cpp_message): Delete.
11146 (cpp_notice_from_errno, cpp_ice): New functions.
11147 (cpp_notice): Is now for reporting error conditions, just
11148 without an associated file.
11149 (cpp_error, cpp_error_with_line): Don't do anything if
11150 opts->inhibit_errors is on.
11151 (cpp_pedwarn_with_file_and_line): Take column argument also.
11152
11153 * cpplib.h: Update prototypes of exported functions.
11154 (struct cpp_options): Add inhibit_errors.
11155
11156 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
11157 non-error messages. Include intl.h.
11158
11159 * cppinit.c, cppmain.c: Likewise. Also, use
11160 cpp_notice_from_errno instead of cpp_perror_with_name or
11161 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
11162
11163 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
11164 report internal errors.
11165
11166 * cpplib.c (do_define): Switch bcopy to memcpy.
11167 Give cpp_pedwarn_with_file_and_line a dummy column argument.
11168
11169 * cpplib.c (copy_rest_of_line): Revert previous change: don't
11170 bail out early if we hit a line comment.
11171
11172 2000-02-06 Richard Henderson <rth@cygnus.com>
11173
11174 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
11175 * basic-block.h: Declare them.
11176 * emit-rtl.h (active_insn_p): New.
11177 (next_active_insn, prev_active_insn): Use it.
11178 * rtl.h: Declare it.
11179 * function.c (emit_return_into_block): New.
11180 (thread_prologue_and_epilogue_insns): Insert return insns instead
11181 of epilogues when possible.
11182 * jump.c (jump_optimize_1): Remove code to insert a return insn
11183 on the fallthru to the exit block.
11184
11185 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
11186 and for non-empty stack frames.
11187 * i386.md (return): Expand to return-pop as needed.
11188
11189 2000-02-06 Richard Henderson <rth@cygnus.com>
11190
11191 * simplify-rtx.c (simplify_relational_operation): Canonicalize
11192 constant to op1 for testing.
11193
11194 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11195
11196 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
11197 (fixuns_truncqfqi2): Use it.
11198
11199 2000-02-06 Richard Henderson <rth@cygnus.com>
11200
11201 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
11202 as a TYPE_LEA insn.
11203
11204 * i386.md (widening and peepholes): Mask the constant instead of
11205 using gen_lowpart.
11206
11207 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11208
11209 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
11210 input pointer before possibly branching off to the backslash
11211 code.
11212 * cpphash.c (macroexpand): Correctly delete \r escapes when
11213 stringifying parameters.
11214 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
11215 if we can; bail out early if we hit a line comment.
11216 (handle_directive): Treat '# 123' in an .S file just like
11217 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
11218 Return 1 for '# not_a_directive'.
11219 (get_directive_token): Pop macro buffers here, so that
11220 cpp_get_token can't sneakily move past a newline.
11221 Add sanity checks.
11222 (cpp_get_token): goto randomchar if handle_directive returns 0.
11223
11224 * cppalloc.c: Update copyright.
11225 * cpplib.c: Merge all the static function prototypes into one
11226 block.
11227 * cpplib.h: Remove #if 0 block.
11228
11229 * cpperror.c: Remove #ifdef EMACS block.
11230 * cppmain.c: Likewise.
11231 * cpphash.c: Remove #if 0 blocks.
11232 * cppinit.c: Remove #if 0 blocks, and the -lint option.
11233 * cpplib.c: Remove #if 0 blocks and code referencing
11234 pcp_inside_if or for_lint. Remove duplicate error message.
11235 Fix error messages for #else after #else or #elif. Reformat.
11236 Remove archaic TODO list.
11237 * cpplib.h: Remove pcp_inside_if and for_lint flags.
11238
11239 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11240
11241 * i386/osf1elf.h: Add missing backslash to multiline string.
11242
11243 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11244
11245 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
11246
11247 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11248
11249 * Makefile.in (c-common.o): Depend on $(EXPR_H).
11250
11251 * c-common.c: Include expr.h.
11252
11253 * c-pragma.c (mark_align_stack): Add prototype.
11254
11255 * caller-save.c (add_stored_regs): Likewise.
11256
11257 * combine.c (record_promoted_value): Likewise.
11258
11259 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
11260 Likewise.
11261
11262 * cppinit.c (new_pending_define): Likewise.
11263
11264 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
11265
11266 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
11267 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11268 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
11269 class_scope_p): Likewise.
11270
11271 * dwarf2out.h (dwarf2out_set_demangle_name_func,
11272 dwarf2out_add_library_unit_info): Likewise.
11273
11274 * ggc.h (ggc_page_print_statistics): Likewise.
11275
11276 * haifa-sched.c (propagate_deps): Likewise.
11277
11278 * reg-stack.c (next_flags_user, record_label_references): Likewise.
11279
11280 * rtl.h (set_stack_check_libfunc): Likewise.
11281
11282 * toplev.h (set_fatal_function): Likewise.
11283
11284 * toplev.c (set_fatal_function): Delete prototype.
11285
11286 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
11287
11288 2000-02-05 Geoff Keating <geoffk@cygnus.com>
11289
11290 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
11291 (FUNC_END): Likewise.
11292
11293 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11294
11295 * caller-save.c: Include tm_p.h.
11296
11297 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11298
11299 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
11300
11301 2000-02-04 Neil Booth <NeilB@earthling.net>
11302
11303 * cccp.c (main): Check 'dir' for a NULL pointer before passing
11304 it to strcmp.
11305
11306 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
11307
11308 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
11309 * genflags.c: Use the max_operand_1 logic from genemit.c to
11310 calculate how many arguments gen_insn prototypes have. Remove
11311 NO_MD_PROTOTYPES ifdefs from the generated file.
11312 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
11313 file. Cast gen_insn initializers to insn_gen_fn.
11314 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
11315 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
11316
11317 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11318
11319 * fixinc/Makefile.in (HDR): Add machname.h.
11320 (clean): Likewise.
11321
11322 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11323
11324 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
11325 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
11326 (c4x_cpu_version): Ditto.
11327 * config/c4x/c4x-protos.h: ... here.
11328
11329 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
11330
11331 * dwarf2out.c (add_abstract_origin_attribute): Don't call
11332 gen_abstract_function on our context if we're a nested function.
11333
11334 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11335
11336 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
11337 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
11338
11339 2000-02-04 Bruce Korb <bkorb@gnu.org>
11340
11341 * fixinc/genfixes(machname.h):
11342 Move the functionality from gen-machine.h into this file.
11343 UNdef MN_NAME_PAT if there are no names to change.
11344 Also, be a little kinder when AutoGen is not present.
11345
11346 * fixinc/Makefile.in(machname.h):
11347 Change the generation rule to use genfixes.
11348
11349 * fixinc/fixfixes.c(machine_name):
11350 machine_name_fix's functionality now dependent upon whether
11351 MN_NAME_PAT is defined.
11352
11353 * fixinc/fixtests.c(machine_name):
11354 ditto.
11355
11356 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
11357 of MN_NAME_PAT.
11358
11359 * fixinc/fixlib.h(mn_get_regexps):
11360 ditto
11361
11362 * fixinc/gen-machine.h: DELETED
11363
11364 2000-02-04 Jan Hubicka <jh@suse.cz>
11365 Richard Henderson <rth@cygnus.com>
11366
11367 * i386.c (SAVE_REGS_FIRST): Remove.
11368 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
11369 (ix86_compute_frame_size): Likewise.
11370 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
11371 (ix86_emit_restore_regs): Remove.
11372 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
11373 when a frame pointer is in use.
11374 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
11375 instead of pop to restore a register when profitable; emit leave
11376 when profitable.
11377 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
11378 as a TYPE_LEA insn.
11379 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
11380 * i386.md (prologue_allocate_stack): Remove.
11381 (epilogue_deallocate_stack): Remove.
11382 (pro_epilogue_adjust_stack): New.
11383
11384 2000-02-04 Richard Henderson <rth@cygnus.com>
11385
11386 * function.c (diddle_return_value): Rework to use a callback function.
11387 Use current_function_return_rtx if it's been set up.
11388 (do_clobber_return_reg, clobber_return_register): New.
11389 (do_use_return_reg, use_return_register): New.
11390 (expand_function_end): Use them.
11391 * stmt.c (expand_null_return): Likewise.
11392 * function.h: Declare them.
11393 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
11394 (mark_reg): Change arguments as appropriate for callback.
11395 * integrate.c (expand_inline_function): Revert 19 Jan change.
11396
11397 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
11398
11399 * tm.texi (Values in Registers): Fix typo: "fo" "for".
11400 (Misc): Say the scheduler, not the Haifa scheduler.
11401
11402 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
11403
11404 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
11405 when in_mem is set. Update all callers.
11406
11407 2000-02-04 Richard Henderson <rth@cygnus.com>
11408
11409 * i386/openbsd.h (INT_ASM_OP): Define.
11410
11411 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
11412
11413 * tm.texi: Fix various typos.
11414
11415 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
11416
11417 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
11418 (MD_STARTFILE_PREFIX_1): New macro.
11419
11420 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
11421
11422 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
11423 destination when needed.
11424 (strmovsi, strsetsi): New expander.
11425 (strmovsi_1, strsetsi_1): New pattern.
11426 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
11427 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
11428 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
11429 * invoke.texi (align-stringops, inline-all-stringops): Document.
11430
11431 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
11432
11433 * i386/netbsd.h (INT_ASM_OP): Define.
11434
11435 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
11436
11437 * cpplib.h (cpp_reader): Add new flag, no_directives.
11438 * cpphash.c (macarg): Set it.
11439 * cpplib.c (handle_directive): If no_directives is on and we
11440 find a directive, issue an error and discard the line.
11441
11442 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
11443
11444 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
11445 FP constants. Add ! TARGET_FPU check for FP constants.
11446
11447 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
11448
11449 * flow.c (find_basic_blocks): Don't kill label_value_list
11450 here.
11451 (cleanup_cfg): Kill it here.
11452
11453 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11454
11455 * expr.c (store_field): Ensure ALIGN is no stricter than the
11456 alignment of EXP.
11457
11458 2000-02-02 Richard Henderson <rth@cygnus.com>
11459
11460 * jump.c (delete_insn): Partially revert 19 Jan change;
11461 don't convert unused code labels to notes at -O0.
11462
11463 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11464
11465 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
11466 split_all_insns to recreate REG_LABEL notes for flow2 pass.
11467
11468 2000-02-01 Richard Henderson <rth@cygnus.com>
11469
11470 * i386.c (general_no_elim_operand): New.
11471 (nonmemory_no_elim_operand): New.
11472 (ix86_expand_move): Copy eliminable operands before a push.
11473 * i386-protos.h: Declare new functions.
11474 * i386.h (CAN_ELIMINATE): Simplify.
11475 (PREDICATE_CODES): Update.
11476 * i386.md (push insns): Don't allow eliminable register operands.
11477
11478 2000-02-01 Richard Henderson <rth@cygnus.com>
11479
11480 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
11481 replace BLKmode with DECL_RTL's mode.
11482
11483 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
11484
11485 * frame.c (find_fde): Convert for loop to do-while so compiler
11486 sees it's always executed at least once.
11487 * libgcc2.c (BBINBUFSIZE): Kill.
11488 (__bb_init_prg): Use fgets.
11489 (__bb_exit_trace_func): Don't paste strings.
11490 * unroll.c (unroll_loop): Initialize unroll_type, not
11491 unroll_number, and tweak logic to match.
11492
11493 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
11494 all failure paths.
11495 (ix86_flags_dependant): Likewise. Disentangle control flow.
11496 (ix86_sched_reorder): Break guts out to
11497 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
11498 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
11499 any possible use.
11500
11501 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
11502 use string concatenation. Don't save and restore esi.
11503
11504 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
11505 (machname.h): Remove script to separate file. Use two-step
11506 sequence so target is not created if script fails.
11507 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
11508 identifiers are defined.
11509 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
11510 an empty string, machine_name doesn't need to do anything at
11511 all.
11512 (is_cxx_header): Add more cases to regexp.
11513 * fixinc/fixlib.h: Update prototype.
11514 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
11515 mn_get_regexps.
11516 * fixinc/fixincl.c: Define NO_BOGOSITY.
11517
11518 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
11519 (hp_sysfile): Add missing comma.
11520 (math_exception): Put the wrapper ifdefs at the beginning and
11521 the end of the file.
11522 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
11523
11524 2000-02-01 Richard Henderson <rth@cygnus.com>
11525
11526 * sparc.c (fp_zero_operand): Turn into a normal predicate.
11527 Use CONST0_RTX. Update all callers.
11528 * sparc.h, sparc-protos.h: Update accordingly.
11529 * sparc.md (fp mov insns): Use fp_zero_operand directly
11530 where applicable.
11531
11532 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
11533
11534 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
11535 example.
11536
11537 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11538
11539 * Makefile.in (specs.ready): New target.
11540 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
11541
11542 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11543
11544 * fixinc.irix: Use unique filenames for writing into /tmp,
11545 * fixinc.ptx: Likewise.
11546 * fixinc.sco: Likewise.
11547 * fixinc.svr4: Likewise.
11548 * fixinc.winnt: Likewise.
11549
11550 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11551
11552 * tsystem.h: New file.
11553
11554 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
11555 s-crtS): Depend on tsystem.h.
11556
11557 * crtstuff.c: Include tsystem.h.
11558 * frame.c: Likewise.
11559 * libgcc2.c: Likewise.
11560
11561 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
11562
11563 * builtins.c (expand_builtin_memset): Expand for variable sized
11564 lengths too.
11565
11566 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
11567
11568 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
11569 on ABI.
11570
11571 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
11572
11573 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
11574
11575 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
11576
11577 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
11578
11579 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
11580 case 3->2 combining (combining with splitting) in which 2 is CC0
11581 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
11582 checked at the begining of the function with the aid of calling
11583 function 'can_combine_p'.
11584
11585 2000-01-31 Dave Brolley <brolley@redhat.com>
11586
11587 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
11588
11589 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
11590
11591 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
11592 new label.
11593
11594 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11595
11596 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
11597
11598 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
11599 PROTO -> PARAMS.
11600
11601 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
11602
11603 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
11604 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
11605 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
11606 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
11607 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
11608 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
11609 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
11610 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
11611 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
11612 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
11613
11614 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
11615 Add %(cpp_cpu) to CPP_SPEC.
11616
11617 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
11618 Add %(cc1_cpu) to CC1_SPEC.
11619
11620 2000-01-28 Ulrich Drepper <drepper@redhat.com>
11621
11622 * c-decl.c (c_decode_option): Accept optional numeric argument to
11623 -Wformat and set warn_format.
11624 * c-common.c: Don't emit warning about non-constant printf format
11625 string unless warn_format > 1.
11626
11627 2000-01-30 Richard Henderson <rth@cygnus.com>
11628
11629 * alpha.md (return_internal): Allow after reload only.
11630
11631 2000-01-30 Richard Henderson <rth@cygnus.com>
11632
11633 * i386.c (ix86_compute_frame_size): Omit padding1 if the
11634 local frame size is zero.
11635
11636 2000-01-30 Richard Henderson <rth@cygnus.com>
11637
11638 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
11639 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
11640 * alpha.md (return): Turn into an expander.
11641 (return_internal): Don't use $26.
11642 (epilogue): Emit the return insn.
11643
11644 2000-01-30 Richard Henderson <rth@cygnus.com>
11645
11646 * alpha.md (negtf2, abstf2): Fix word order thinko.
11647 (extendsftf2): New.
11648 (trunctfsf2): Avoid intermediate rounding errors.
11649
11650 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
11651
11652 * cppfiles.c (find_position): Drop 'colp' argument, return the
11653 new line base.
11654 (read_and_prescan): Adjust to match. Don't ever manipulate
11655 line or line_base except via find_position.
11656
11657 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
11658
11659 * c-parse.in: Apply Ulrich's changes from c-parse.y.
11660 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
11661 Regenerate.
11662
11663 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
11664
11665 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
11666 just print "<command line>". If 'filename' is null or an
11667 empty string, print "<stdin>" for the filename.
11668 * cpplib.c (do_define): Don't print the 'location of the
11669 previous definition' message if we're still parsing the
11670 command line.
11671 (cpp_pedwarn_with_file_and_line): Always call
11672 cpp_file_line_for_message.
11673
11674 2000-01-29 Mark Mitchell <mark@codesourcery.com>
11675
11676 * flow.c (mark_regs_live_at_end): Fix typo.
11677
11678 2000-01-28 Ulrich Drepper <drepper@redhat.com>
11679
11680 * c-common.c: Adjust variable names, comments, help strings to c99.
11681 * c-lex.c: Likewise.
11682 * c-parse.y: Likewise.
11683 * c-tree.h: Likewise.
11684 * cccp.c: Likewise.
11685 * cpplib.h: Likewise.
11686 * c-decl.c: Likewise. Recognize options with names "*99" as well.
11687 * cppinit.c: Likewise.
11688
11689 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11690
11691 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
11692 * c4x.c: Define the optab rtx values.
11693 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
11694 (c4x_emit_libcall): Use new optab rtx values.
11695 (c4x_emit_libcall3): Likewise.
11696 (c4x_emit_libcall_mulhi): Likewise.
11697 * c4x-protos.h: Add prototypes for optab rtx values and change
11698 prototypes for above c4x_emit_libcall functions.
11699
11700 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11701
11702 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
11703 syntax is used.
11704 (c4x_function_prologue): Use regnames intead of float_reg_names when
11705 TI syntax is used.
11706 (c4x_function_epilogue): Likewise.
11707 (c4x_print_operand): Likewise.
11708 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
11709 * c4x.md (set_high): Disable for TARGET_TI.
11710
11711 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11712
11713 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
11714 of framepointer + constant to ADDR_REGS class.
11715 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
11716 * c4x.c (std_or_reg_operand): New function.
11717 * c4x-protos.h (std_or_reg_operand): Prototype it.
11718
11719 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11720
11721 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
11722 object names as libgcc2.c.
11723 * libgcc.S: Use newly defined names.
11724
11725 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
11726 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
11727 function.
11728 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
11729 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
11730 (FLOW_LOOP_LAST_BLOCK): Likewise.
11731
11732 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11733
11734 * basic-block.h (struct loop): New fields 'first' and 'last'.
11735 * flow.c (flow_loops_find): Compute loop->first and loop->last.
11736 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
11737 and loop->last to check for NOTE_INSN_LOOP_END.
11738
11739 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
11740
11741 * predict.c (estimate_probability): Use the new FIRST and LAST fields
11742 of the loop descriptor rather than HEADER and LATCH. Also added
11743 missing break statements as well making some coding style modifications
11744 as suggested by Michael Hayes.
11745
11746 2000-01-28 Richard Henderson <rth@cygnus.com>
11747
11748 * flow.c (find_basic_blocks): Remove do_cleanup argument.
11749 Break out that code ...
11750 (cleanup_cfg): ... here.
11751 (commit_one_edge_insertion): Detect a return instruction being
11752 emitted to an edge. Emit a barrier following; clear fallthru.
11753 (commit_edge_insertions): Verify CFG consistency.
11754 * function.c (expand_function_start): Kill unused variable.
11755 (expand_function_end): Likewise.
11756 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
11757 to insert the epilogue.
11758
11759 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
11760 (delete_null_pointer_checks): Likewise.
11761 * output.h: Likewise.
11762 * reg-stack.c (reg_to_stack): Likewise.
11763 * toplev.c (rest_of_compilation): Likewise. Run
11764 thread_prologue_and_epilogue_insns after rebuilding the CFG.
11765
11766 2000-01-28 Richard Henderson <rth@cygnus.com>
11767
11768 * Makefile.in (flow.o): Revert 24 Jan change.
11769 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
11770 FUNCTION_VALUE result to DECL_RESULT's mode.
11771
11772 * haifa-sched.c (schedule_insns): Don't recompute reg info
11773 after reload.
11774
11775 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
11776
11777 * configure.in: Make --enable-cpplib the default.
11778 * configure: Regenerate.
11779 * gcc.dg/990119-1.c: No longer expected to fail.
11780
11781 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
11782
11783 * jump.c (jump_optimize_1): Delete an optimization that is also done
11784 by merge_blocks in flow.
11785
11786 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11787
11788 * diagnostic.c (build_message_string, output_printf,
11789 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
11790 (build_location_prefix): Fix non-literal format string.
11791
11792 2000-01-27 Richard Henderson <rth@cygnus.com>
11793
11794 * alpha.md (trunctfsf2): New.
11795
11796 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
11797
11798 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
11799
11800 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
11801
11802 * cppinit.c (cpp_handle_option): Recognize C++ comments under
11803 -std=gnu89.
11804 * cpplib.c (skip_block_comment, skip_line_comment): Split code
11805 out of...
11806 (skip_comment) ... here. Permit C++ comments in system
11807 headers always. Warn about C++ comments in user code under
11808 -std=gnu89 -pedantic.
11809 (copy_comment): Use skip_comment.
11810 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
11811 return EOF.
11812 (consider_directive_while_skipping, do_else, do_endif): Call
11813 validate_else unconditionally.
11814 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
11815 text after the conditional in a system header.
11816 * cpplib.h (struct cpp_buffer): Add flag
11817 warned_cplusplus_comments.
11818
11819 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
11820
11821 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
11822 Use unshare_all_rtl_1.
11823 (unshare_all_rtl_again): New function.
11824 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
11825
11826 * function.c (purge_addressof_1): Use unshare_all_rtl_again
11827 rather than resetting the 'used' flags ourself.
11828
11829 * toplev.c (rest_of_compilation): Add current_function_decl
11830 to the unshare_all_rtl call.
11831 * tree.h: Prototype unshare_all_rtl.
11832 * rtl.h: Prototype unshare_all_rtl_again here.
11833
11834 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
11835
11836 * genoutput.c (output_prologue): Include ggc.h in generated
11837 files.
11838 * Makefile.in (insn-output.o): Depends on ggc.h.
11839
11840 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
11841 Hans-Peter Nilsson <hp@bitrange.com>
11842
11843 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
11844 Remove redundant include of xm-ns32k.h.
11845 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
11846 Remove redundant include of xm-ns32k.h.
11847 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
11848 Remove redundant include of xm-ns32k.h.
11849 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
11850
11851 * ns32k/ns32k.h: Update comment on multiply-add instructions.
11852 (TARGET_SWITCHES): Add documentation strings.
11853 (DWARF_FRAME_REGNUM): Override default definition.
11854 (REG_CLASS_CONTENTS): Add comments.
11855 (SUBSET_P): Format to reduce line length.
11856 (SMALL_REGISTER_CLASSES): Make a run time option.
11857 (GO_IF_NONINDEXED_ADDRESS): Reformat.
11858 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
11859 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
11860 (regclass_map): fix typo in comment.
11861 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
11862 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
11863 (trace, reg_or_mem_operand): Delete, unused function.
11864 (calc_address_cost): Small offsets are cheaper than large ones.
11865 (expand_block_move): Generate more efficient code when bytes is a
11866 known at compile time.
11867 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
11868 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
11869 instead of reg_or_mem_operand.
11870
11871 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
11872 not general_operand. Similarly use "=rm" or stricter, not "=g".
11873 For input operands, use stricter constraints than "g" if not
11874 general_operand. Similarly use stricter predicate than
11875 "general_operand" when stricter constraints than "g" are present,
11876 except for matching constraints.
11877 (movstrsi): Use "memory_operand" for operands 0 and 1.
11878 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
11879 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
11880 not reg_or_mem_operand.
11881 (udivmoddisi4): Ditto.
11882 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
11883 Use nonimmediate_operand for operand 3, not register_operand.
11884 (udivmoddiqi4_internal): Use register_operand for operand 1, not
11885 reg_or_mem_operand.
11886
11887 2000-01-27 Fred Fish <fnf@be.com>
11888
11889 * gthr-posix.h: Fix typo; compatibily -> compatibility.
11890 * gthr-single.h: Likewise.
11891 * gthr-solaris.h: Likewise.
11892 * gthr-vxworks.h: Likewise.
11893 * gthr-win32.h: Likewise.
11894 * gthr.h: Likewise.
11895
11896 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
11897
11898 * cppinit.c: Add " (cpplib)" to end of string printed by
11899 -v / --version.
11900
11901 2000-01-27 Richard Henderson <rth@cygnus.com>
11902
11903 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
11904 testing for a signed comparison.
11905 (alpha_emit_floatuns): New.
11906 * alpha-protos.h: Declare it.
11907 * alpha.md (floatunsdisf2, floatunsdidf2): New.
11908 (extendsfdf2): Tidy.
11909
11910 2000-01-27 Jakub Jelinek <jakub@redhat.com>
11911
11912 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
11913 no -g option specifying debugging format, default to -gstabs+.
11914
11915 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11916
11917 * calls.c (special_function_p): New argument fork_or_exec.
11918 (expand_call): When profile_arc_flag is set and the function
11919 is in the fork_or_exec group, call __bb_fork_func first.
11920 * libgcc2.c, _bb module (__bb_fork_func): New function.
11921 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
11922 output file.
11923 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11924 * tree.h (special_function_p): Update prototype.
11925
11926 2000-01-26 Richard Henderson <rth@cygnus.com>
11927
11928 * alpha.c (alpha_split_tfmode_pair): New.
11929 * alpha-protos.h: Declare it.
11930 * alpha.md (abstf2, negtf2): New.
11931 (movtf insn): Add input G constraint.
11932 (movtf splitter): Use alpha_split_tfmode_pair.
11933
11934 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11935
11936 * i386/cygwin.h: PROTO -> PARAMS.
11937
11938 2000-01-26 Jakub Jelinek <jakub@redhat.com>
11939
11940 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11941 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11942 using _Qp_cmp/_Q_cmp and testing the return value.
11943 (print_operand): Call reverse_condition_maybe_unordered if
11944 we are handling CCFPmode or CCFPEmode.
11945 Handle ORDERED, UN* and LTGT comparisons.
11946 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11947 if not TARGET_HARD_QUAD.
11948 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11949 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11950 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11951 Adjust gen_b* calls so that they reflect return comparison of
11952 sparc_emit_float_lib_cmp.
11953
11954 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11955
11956 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11957 incoming operands array is large enough for one more operand.
11958 (alpha_emit_xfloating_arith): Likewise.
11959
11960 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
11961
11962 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11963 file with one line and no trailing newline.
11964 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11965 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11966 checking if the match is on the line.
11967 * fixinc/gnu-regex.c: Provide regerror not __regerror.
11968
11969 2000-01-25 Richard Henderson <rth@cygnus.com>
11970
11971 * sparc.c (output_cbranch): Fix accidental squashing of the
11972 fp branch pre-delay nop.
11973
11974 2000-01-25 Richard Henderson <rth@cygnus.com>
11975
11976 * tree.def (UNNE_EXPR): Remove.
11977 * c-typeck.c (build_binary_op): Don't handle it.
11978 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11979
11980 * rtl.def (UNNE): Remove.
11981 (LTGT): Add.
11982 * jump.c (reverse_condition): Update accordingly.
11983 (swap_condition): Likewise.
11984 (comparison_dominates_p): Handle unordered comparisons.
11985 (reverse_condition_maybe_unordered): New.
11986 * rtl.h (reverse_condition_maybe_unordered): Declare.
11987
11988 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11989 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11990 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
11991 * sparc.md (bltgt): New.
11992
11993 2000-01-25 Nick Clifton <nickc@redhat.com>
11994
11995 * emit-rtl.c (emit_insn): Only check machine class insns for
11996 improper emission of a RETURN.
11997
11998 2000-01-25 Richard Henderson <rth@cygnus.com>
11999
12000 * Makefile.in (flow.o): Depend on $(EXPR_H).
12001 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
12002 duplicate the structure of diddle_return_value for keeping regs live.
12003
12004 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12005
12006 * loop.c (current_loop_info): Delete.
12007 (consec_sets_invariant_p): Add loop argument, update callers.
12008 (get_condition_for_loop): Likewise.
12009 (count_nonfixed_reads, update_giv_derive): Likewise.
12010 (simplify_giv_expr, general_induction_var): Likewise.
12011 (consec_sets_giv, recombine_givs): Likewise.
12012 (move_movables): Delete loop_start and loop_end arguments,
12013 add loop argument, and update callers.
12014 (find_mem_givs, check_final_value): Likewise.
12015 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
12016 (loop_invariant_p): Rename from invariant_p, add loop argument, and
12017 update callers.
12018 (basic_induction_var): Add loop argument, delete loop_level argument,
12019 and update callers.
12020 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
12021 add loop argument, and update callers.
12022 (find_splittable_regs, find_splittable_givs): Likewise.
12023 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
12024 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
12025 (biv_total_increment): Delete loop_start and loop_end arguments;
12026 update callers.
12027 (precondition_loop_p): Delete loop_start and loop_info arguments;
12028 update callers.
12029 * loop.h (get_condition_for_loop): Add loop argument.
12030 (biv_total_increment): Delete loop_start and loop_end arguments.
12031 (precondition_loop_p): Delete loop_start and loop_info arguments;
12032 add loop argument.
12033 (final_biv_value): Delete loop_start and loop_end arguments;
12034 add loop argument.
12035 (final_giv_value, back_branch_in_range_p): Likewise.
12036
12037 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12038
12039 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
12040
12041 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12042
12043 * Makefile.in (c-gperf.h) : Change the "See" pointer to
12044 point to the new "generated_files" doc.
12045
12046 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12047
12048 * config/fp-bit.c (_unord_f2): Fix typo.
12049
12050 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12051
12052 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
12053 c-typeck.c, objc/objc-act.c: Remove all references to obstack
12054 functions obsoleted by GC, such as push_obstacks_nochange,
12055 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
12056 and code which existed only to decide whether or not to call
12057 them. Remove now-unused NESTED argument from start_function;
12058 all callers changed. Do not change behavior based on ggc_p.
12059 The use of the ixp_obstack in c-iterate.c and the util_obstack
12060 in objc/objc-act.c remain; these are not obsoleted by garbage
12061 collection.
12062 * c-tree.h: Update prototype for start_function.
12063
12064 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
12065
12066 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12067
12068 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
12069 mips16.
12070
12071 2000-01-25 Richard Henderson <rth@cygnus.com>
12072
12073 * sparc-protos.h (select_cc_mode): Declare.
12074 * sparc.c (select_cc_mode): New. Handle unordered compares.
12075 (output_cbranch): Always reverse via code change. Handle
12076 unordered compares. Factor tests and string updates.
12077 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
12078 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
12079 * sparc.md (bunordered, bordered): New.
12080 (bungt, bunlt, buneq, bunge, bunle): New.
12081
12082 2000-01-25 Richard Henderson <rth@cygnus.com>
12083
12084 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
12085 * ggc-common.c (ggc_add_rtx_varray_root): New.
12086 (ggc_mark_rtx_varray): New.
12087 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
12088 functions down below ggc_mark_foo.
12089 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
12090
12091 2000-01-25 Richard Henderson <rth@cygnus.com>
12092
12093 * alpha.c (secondary_reload_class): Don't allocate a secondary
12094 for integral mode memories into FLOAT_REGS. Rearrange the more
12095 complicated memory expression inward.
12096
12097 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12098
12099 * inclhack.def: Fixes to play nicer with FreeBSD, and
12100 corrections to comments.
12101 (cxx_unready): Add select expression.
12102 (irix_sockaddr): Add bypass expression.
12103 (machine_ansi_h_va_list): New fix.
12104 (stdio_va_list): No need to edit _BSD_VA_LIST_.
12105 Split out addition of "#include <stdarg.h>" to...
12106 (stdio_stdarg_h): ... here.
12107 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
12108 to stdlib.h also. Do not munge _BSD_SIZE_T_.
12109 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
12110 size_t.
12111 (ultrix_ifdef): Tighten up select expression.
12112
12113 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
12114 re_ct and max_mach to avoid use of shell. Make printed names
12115 match names in inclhack.def. Use static copyright date.
12116 Don't count c_test and test expressions as requiring regex_t
12117 slots. Add some commentary.
12118 * inclhack.tpl: Do not include the 'This script contains N
12119 fixup scripts' line if PROGRAM is defined. Use static
12120 copyright date.
12121
12122 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
12123
12124 * dwarf2out.c: include "varray.h", not dyn-string.h.
12125 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
12126 (addr_const_to_string, addr_to_string): Lose.
12127 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
12128 (struct dw_val_struct): val_addr is now an rtx.
12129 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
12130 (used_rtx_varray): New varray.
12131 (dwarf2out_init): Initialize it.
12132 (save_rtx): New fn.
12133 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
12134 addr_to_string.
12135 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
12136 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
12137 * Makefile.in (dwarf2out.o): Update dependencies.
12138
12139 2000-01-24 Richard Henderson <rth@cygnus.com>
12140
12141 * i386.c (i386_dwarf_output_addr_const): New.
12142 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
12143
12144 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
12145 if defined.
12146 * dwarfout.c (output_mem_loc_descriptor): Likewise.
12147 * i386.c (i386_simplify_dwarf_addr): New.
12148 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
12149
12150 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
12151
12152 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
12153 TYPE_STUB_DECL is NULL.
12154
12155 2000-01-24 Richard Henderson <rth@cygnus.com>
12156
12157 * builtins.c (expand_tree_builtin): Move ...
12158 * c-common.c (expand_tree_builtin): ... here.
12159
12160 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12161
12162 * loop.h (LOOP_INFO): New accessor macro.
12163 * basic-block.h (struct loop): Rename field `info' to `aux'.
12164 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
12165 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
12166 * unroll.c (loop_iterations, unroll_loop): Likewise.
12167
12168 2000-01-24 Christopher Faylor <cgf@cygnus.com>
12169
12170 * config/i386/t-cygwin: Accomodate new winsup directory layout
12171 when searching for include files.
12172
12173 2000-01-24 Richard Henderson <rth@cygnus.com>
12174
12175 * rtl.def: Add unordered fp comparisions.
12176 * tree.def: Likewise.
12177 * tree.h: Add ISO C 9x unordered fp comparision builtins.
12178
12179 * builtins.c (expand_tree_builtin): New function.
12180 * c-typeck.c (build_function_call): Use it.
12181 (build_binary_op): Support unordered compares.
12182 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
12183
12184 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
12185 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
12186 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
12187 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
12188 * jump.c (reverse_condition): Don't abort for UNLE etc, but
12189 return UNKNOWN.
12190 (swap_condition): Handle unordered compares.
12191 (thread_jumps): Check can_reverse before reversing.
12192 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
12193 reversed for FP.
12194
12195 * optabs.c (can_compare_p): New argument CODE. Verify branch or
12196 setcc is present before acking for cmp_optab. Update all callers.
12197 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
12198 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
12199 * expr.c (expand_expr): Likewise. Support unordered compares.
12200 (do_jump, do_store_flag): Likewise.
12201 * expr.h (enum libfunc_index): Add unordered compares.
12202
12203 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
12204 (DPBIT_FUNCS): Add _unord_df.
12205 * config/fp-bit.c (_unord_f2): New.
12206 * fp-test.c (main): Try unordered compare builtins.
12207
12208 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
12209 * alpha.c (alpha_comparison_operator): Check mode properly.
12210 (alpha_swapped_comparison_operator): Likewise.
12211 (signed_comparison_operator): Likewise.
12212 (alpha_fp_comparison_operator): New.
12213 (alpha_emit_conditional_branch): Handle unordered compares.
12214 * alpha.h (PREDICATE_CODES): Update.
12215 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
12216 (bunordered, bordered): New.
12217
12218 2000-01-24 Richard Henderson <rth@cygnus.com>
12219
12220 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
12221 * alpha.md (movtf): New expander, insn, and splitter.
12222
12223 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
12224
12225 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12226 dead registers.
12227
12228 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
12229
12230 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
12231 (FIXED_REGISTERS, CALL_USED_REGISTERS,
12232 REG_ALLOC_ORDER): Add frame pointer
12233 (FRAME_POINTER_REGNUM): Set to 20
12234 (HARD_FRAME_POINTER_REGNUM): New macro.
12235 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
12236 to HARD_FRAME_POINTER.
12237 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
12238 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
12239 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
12240 (HI_REGISTER_NAMES): Add "frame".
12241 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
12242 (debug_reg): Handle FRAME_POINTER_REGNUM.
12243 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
12244 GENERAL_REGS and INDEX_REGS.
12245 * i386.c (SAVED_REGS_FIRST): new macro.
12246 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
12247 (ix86_decompose_address, memory_address_length): Likewise.
12248 (regclass_map): Add frame pointer.
12249 (call_insn_operand): Handle frame_pointer_rtx.
12250 (reg_no_sp_operand): Likewise.
12251 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
12252 (print_operand, legitimize_pic_address): Fix formating.
12253 (ix86_compute_frame_size): Make static, update prototype, new
12254 parameters padding1, padding2, use ix86_nsaved_regs, use
12255 stack_alignment_needed.
12256 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
12257 to HARD_FRAME_POINTER_REGNUM conversions.
12258 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
12259 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
12260 (print_reg): Abort on FRAME_POINTER_REGNUM
12261
12262 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
12263
12264 * i386.h (PREDICATE_CODES): Add aligned_operand.
12265 * i386.c (aligned_operand): New function.
12266 (ix86_aligned_p): Kill.
12267 * i386.md (movhi_1): Emit mov for aligned operands.
12268 (promoting peep2s): Use aligned_operand.
12269
12270 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
12271
12272 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
12273 expression to allow underscores in macro names.
12274 (fix_char_macro_defines): Increment scanning pointer.
12275
12276 2000-01-23 Richard Henderson <rth@cygnus.com>
12277
12278 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
12279 * alpha/osf5.h: New file.
12280 * configure.in (alpha-*-osf5): Add it to tm_file.
12281
12282 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
12283
12284 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
12285 (alpha_emit_xfloating_cvt, function_arg): Declare.
12286 * alpha.c (alpha_emit_conditional_branch): Call
12287 alpha_emit_xfloating_compare for TFmode compares.
12288 (alpha_lookup_xfloating_lib_func): New.
12289 (alpha_compute_xfloating_mode_arg): New.
12290 (alpha_emit_xfloating_libcall): New.
12291 (alpha_emit_xfloating_arith): New.
12292 (alpha_emit_xfloating_compare): New.
12293 (alpha_emit_xfloating_cvt): New.
12294 (print_operand): Add default abort case.
12295 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
12296 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
12297 (BIGGEST_ALIGNMENT): Increase to 128 bits.
12298 (RETURN_IN_MEMORY): True for TF/TCmode.
12299 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
12300 (FUNCTION_ARG): Move to function_arg.
12301 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
12302 (ASM_OUTPUT_LONG_DOUBLE): New.
12303 (ASM_OUTPUT_DOUBLE): Always output bits.
12304 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
12305 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
12306 (extenddftf2, trunctfdf2): New.
12307
12308 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12309
12310 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
12311 * config/sparc/sol2.h: ... here.
12312
12313 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12314
12315 * basic-block.h (struct loops): New field `levels'.
12316 * flow.c (flow_loops_level_compute): Traverse all outer loops.
12317 (flow_loop_level_compute): Initialise level to 1.
12318 (flow_loops_find): Set loops->levels.
12319 (flow_loops_dump): Print loops->levels.
12320
12321 2000-01-23 Richard Henderson <rth@cygnus.com>
12322
12323 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
12324 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
12325
12326 2000-01-23 Richard Henderson <rth@cygnus.com>
12327
12328 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
12329 * i386.h (DBX_REGISTER_NUMBER): Use them.
12330 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
12331 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
12332 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
12333 * i386/sequent.h: Kill incorrect comment.
12334
12335 2000-01-23 Mark Mitchell <mark@codesourcery.com>
12336
12337 * ggc-page.c (struct page_entry): Make `context_depth' an
12338 `unsigned short'.
12339 (struct globals): Likewise.
12340
12341 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
12342
12343 * loop.c (check_dbra_loop): When checking a loop for
12344 reversability, check the source of any stores to ensure
12345 they don't depend on an initial value.
12346
12347 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12348
12349 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
12350
12351 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
12352
12353 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
12354 'pz_scan' into scope of entire function. Only affects
12355 compiles with -DDEBUG.
12356
12357 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
12358
12359 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
12360 section naming to that prior to 2000-01-07 patch.
12361 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
12362 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
12363 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
12364 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
12365 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
12366
12367 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
12368
12369 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
12370 constant.
12371
12372 2000-01-21 Jim Wilson <wilson@cygnus.com>
12373
12374 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
12375 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
12376
12377 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
12378
12379 * cpphash.c (change_newlines): Delete function.
12380 (struct argdata): Delete 'newlines' and 'use_count' fields.
12381 (macroexpand): Remove code referencing those fields.
12382
12383 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12384
12385 * loop.c (loops_info): New variable.
12386 (loop_optimize): Allocate loops->array and free it on exit.
12387 Allocate memory for loops_info and assign to each loop,
12388 replacing alloca.
12389 (find_and_verify_loops): Do not allocate loops->array.
12390
12391 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
12392
12393 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
12394
12395 2000-01-21 Jakub Jelinek <jakub@redhat.com>
12396
12397 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
12398 pseudos if expanded after first flow.
12399 (movdi_pic_label_ref): Likewise.
12400
12401 2000-01-20 Richard Henderson <rth@cygnus.com>
12402
12403 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
12404
12405 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
12406
12407 * Makefile.in (fixinc.sh): Depend on specs.
12408 * fixinc/Makefile.in: Add rule to create machname.h.
12409 (fixlib.o): Depend on machname.h.
12410 * fixinc/fixtests.c (machine_name): New test.
12411 * fixinc/fixfixes.c (machine_name): New fix.
12412 * fixinc/fixlib.c (mn_get_regexps): New helper function for
12413 the machine_name test and fix.
12414 * fixinc/fixlib.h: Prototype it.
12415 * fixinc/inclhack.def (machine_name): Use the C test and fix.
12416 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
12417
12418 * gcc.c (do_spec_1) [case P]: Take care not to create
12419 identifiers with three leading or trailing underscores.
12420
12421 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
12422 (fixincl): Don't specify libraries twice on link line.
12423 (gnu-regex.o): Remove special rule.
12424 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
12425 defined by config.h. Do not define _REGEX_RE_COMP.
12426 (regcomp): Allocate and initialize a fastmap.
12427 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
12428
12429 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
12430
12431 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
12432
12433 2000-01-19 Richard Henderson <rth@cygnus.com>
12434
12435 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
12436 arguments with BB. Update all callers. Tidy line wrapping.
12437
12438 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
12439
12440 * emit-rtl.c (try_split): Return last_insn if we split the
12441 last_insn.
12442
12443 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
12444
12445 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
12446 (ix86_initial_elimination_offset): Declare.
12447 * i386.c (ix86_nsaved_regs): Break out from ...
12448 (ix86_can_use_return_insn_p): ... here.
12449 (ix86_emit_save_regs): Break out from ...
12450 (ix86_expand_prologue): ... here.
12451 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
12452 out from ...
12453 (ix86_expand_epilogue): ... here.
12454 (ix86_compute_frame_size): Make static, add prototype.
12455 (ix86_initial_elimination_offset): Break out from ...
12456 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
12457
12458 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12459
12460 * recog.h (OUT_FCN): Delete.
12461
12462 * vax.md: Call `get_insn_template' instead of OUT_FCN.
12463
12464 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12465
12466 * cppalloc.c: PROTO -> PARAMS.
12467 * cpperror.c: Likewise.
12468 * cppfiles.c: Likewise.
12469 * cpplib.c: Likewise.
12470 * cpplib.h: Likewise.
12471
12472 * config/arm/arm-protos.h: PROTO -> PARAMS.
12473 * config/arm/arm.c: Likewise.
12474 * config/c4x/c4x.c: Likewise.
12475 * config/fr30/fr30-protos.h: Likewise.
12476 * config/nextstep.c: Likewise.
12477 * config/pa/pa.c: Likewise.
12478 * config/pj/pj.c: Likewise.
12479 * config/rs6000/rs6000.c: Likewise.
12480 * config/v850/v850-protos.h: Likewise.
12481 * config/v850/v850.c: Likewise.
12482
12483 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12484
12485 * i370-protos.h: New file.
12486
12487 * i370.c: Include tm_p.h. Fix compile time warnings.
12488
12489 * i370.h: Move prototypes to i370-protos.h. Fix compile time
12490 warnings.
12491
12492 * i370.md: Likewise.
12493
12494 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12495
12496 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
12497 (target_isinf, target_isnan, eisnan): Mark parameter with
12498 ATTRIBUTE_UNUSED.
12499 (eiisinf): Wrap in INFINITY.
12500 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
12501 (ibmtoe): Remove unused variable `rndsav'.
12502
12503 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12504
12505 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
12506 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
12507
12508 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
12509
12510 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
12511 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
12512 (fix_char_macro_defines, fix_char_macro_uses): New functions.
12513
12514 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
12515 Recognize Emacs mode markers also.
12516 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
12517 C++ comments in C++ headers. Call is_cxx_header only if
12518 necessary.
12519
12520 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
12521 bypass for ncurses.
12522 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
12523 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
12524 ... these, which use the new C fixes.
12525 (math_exception): Escape literal '+' in bypass expression.
12526
12527 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
12528 Regenerate.
12529
12530 2000-01-19 Geoff Keating <geoffk@cygnus.com>
12531
12532 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
12533 inside the MEM.
12534
12535 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12536
12537 * loop.c (loop_optimize): Allocate loop_info structure for each loop
12538 prior to calling scan_loop.
12539
12540 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12541
12542 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
12543 (split_branches, calc_live_regs): Likewise.
12544
12545 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12546
12547 * sh.md (fpu_single, fp_mode): New attributes.
12548
12549 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12550
12551 * loop.c (current_loop_info): Renamed from loop_info_data
12552 and changed to a pointer.
12553 (loop_optimize): Allocate loop_info structure for each loop
12554 and initialise to zero.
12555 (scan_loop): Set current_loop_info.
12556
12557 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
12558 on iteration_var.
12559
12560 2000-01-19 Richard Henderson <rth@cygnus.com>
12561
12562 * stupid.c: Die die die.
12563 * Makefile.in (OBJS): Remove stupid.o.
12564 (stupid.o): Likewise.
12565
12566 * except.c (emit_eh_context): Don't emit USEs for stupid.
12567 * explow.c (probe_stack_range): Likewise.
12568 * flags.h (obey_regdecls): Remove.
12569 * flow.c (find_basic_blocks): Don't run try_merge_blocks
12570 when not optimizing.
12571 (life_analysis): Limit data collection when not optimizing.
12572 (mark_regs_live_at_end): Always mark the return value registers.
12573 (mark_used_regs): Remove dummy RETURN case.
12574 (print_rtl_with_bb): Don't consult obey_regdecls.
12575 * function.c (use_variable, use_variable_after): Remove.
12576 (assign_parms): Consult optimize not obey_regdecls.
12577 (expand_function_start): Don't emit USEs for stupid.
12578 (expand_function_end): Likewise.
12579 * global.c (build_insn_chain): Export.
12580 * integrate.c (expand_inline_function): Kill return-value USE
12581 handling code.
12582 * jump.c (jump_optimize_1): Do simple jump optimizations and
12583 dead code elimination.
12584 (calculate_can_reach_end): Remove check_deleted argument.
12585 (delete_insn): Patch out insns even when not optimizing.
12586 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
12587 * rtl.h (use_variable, use_variable_after): Remove declarations.
12588 (build_insn_chain): Declare.
12589 * stmt.c (expand_value_return): Don't emit USEs for stupid.
12590 (expand_end_bindings): Likewise.
12591 (expand_decl): Likewise. Consult optimize not obey_regdecls.
12592 * toplev.c (obey_regdecls): Remove.
12593 (rest_of_compilation): Don't set it. Kill stupid in favour of
12594 flow1, local-alloc, and reload.
12595 (main): Don't set obey_regdecls.
12596
12597 * config/nextstep.c (handle_pragma): Likewise.
12598
12599 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
12600
12601 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
12602
12603 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12604
12605 * alpha-protos.h: PROTO -> PARAMS.
12606 * alpha.c: Likewise.
12607 * elf.h: Likewise.
12608 * h8300.c: Likewise.
12609 * i386-protos.h: Likewise.
12610 * i386.c: Likewise.
12611 * m32r-protos.h: Likewise.
12612 * m32r.c: Likewise.
12613 * mips.c: Likewise.
12614 * mips.md: Likewise.
12615 * gmon-sol2.c: Likewise.
12616 * sparc.c: Likewise.
12617
12618 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12619
12620 * ns32k-protos.h: New file.
12621
12622 * ns32k.c: Fix compile time warnings.
12623
12624 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
12625 warnings.
12626
12627 * ns32k.md: Likewise.
12628
12629 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12630
12631 * vax-protos.h: New file.
12632
12633 * vax.c: Fix compile time warnings.
12634
12635 * vax.h: Move prototypes to vax-protos.h. Fix compile time
12636 warnings.
12637
12638 * vax.md: Likewise.
12639
12640 * vaxv.md: Likewise.
12641
12642 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12643
12644 * romp-protos.h: New file.
12645
12646 * romp.c: Fix compile time warnings.
12647
12648 * romp.h: Move prototypes to romp-protos.h. Fix compile time
12649 warnings.
12650
12651 * romp.md: Likewise.
12652
12653 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12654
12655 * we32k-protos.h: New file.
12656
12657 * we32k.c: Fix compile time warnings.
12658
12659 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
12660 warnings.
12661
12662 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12663
12664 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
12665
12666 * except.c (eh_regs): Likewise.
12667
12668 * final.c (output_operand): Likewise.
12669
12670 * fold-const.c (target_isinf, target_isnan): Likewise.
12671
12672 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12673
12674 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
12675 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
12676
12677 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
12678 when optimize_size.
12679 (clrstrsi): Rewrite.
12680 (strsethi, strsetqi): New expanders.
12681 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
12682 (cmpstrsi): Emit compare insn before cmpstrsi_1
12683 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
12684 (strlensi_1): Likewise.
12685 (cmpstrsi_1): Likewise; do not output compare.
12686 (strlen expander): Do not unroll when optimizing for size.
12687 (*subsi3_carry): Rename to subsi3_carry
12688 (addqi3_cc): New pattern.
12689 * i386.h (processor_costs): Add move_ratio field.
12690 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
12691 * i386.c (*_cost): Set move_ratio.
12692 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
12693 (x86_expand_strlensi_1): Rewrite the main loop.
12694
12695 2000-01-17 Richard Henderson <rth@cygnus.com>
12696
12697 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
12698 * cse.c (find_comparison_args, fold_rtx): Likewise.
12699 * integrate.c (subst_constants): Likewise.
12700 * loop.c (get_condition): Likewise.
12701
12702 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
12703
12704 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
12705
12706 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
12707
12708 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
12709 (RESTORE_WARN_FLAGS): Unpack it.
12710 Change semantic type of extension to ttype.
12711 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
12712 * c-parse.y, c-parse.c, objc/objc-parse.y,
12713 objc/objc-parse.c: Regenerate.
12714
12715 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
12716
12717 * fixinc/fixlib.c: Add copyright notice.
12718 (compile_re): New function.
12719 * fixinc/fixlib.h: Prototype compile_re.
12720
12721 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
12722 Use compile_re to compile regular expressions.
12723
12724 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
12725 where the pattern matched.
12726
12727 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
12728 use 'replace'.
12729 (ultrix_ansi_compat): Likewise.
12730 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
12731 add egrep test.
12732 (interactv_add2, interactv_add3): Delete.
12733 (x11_sprintf): Don't use filename glob.
12734 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
12735 Regenerate.
12736
12737 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12738
12739 * print-rtl.c: PROTO -> PARAMS.
12740 * real.c: Likewise.
12741 * reg-stack.c: Likewise.
12742 * resource.c: Likewise.
12743 * sdbout.h: Likewise.
12744 * simplify-rtx.c: Likewise.
12745 * stor-layout.c: Likewise.
12746 * stupid.c: Likewise.
12747 * xcoffout.c: Likewise.
12748 * xcoffout.h: Likewise.
12749
12750 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12751
12752 * toplev.c: PROTO -> PARAMS.
12753 * toplev.h: Likewise.
12754 * tree.c: Likewise.
12755 * tree.h: Likewise.
12756 * unroll.c: Likewise.
12757 * varasm.c: Likewise.
12758 * varray.c: Likewise.
12759 * varray.h: Likewise.
12760
12761 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12762
12763 * reload.c: PROTO -> PARAMS.
12764 * reload.h: Likewise.
12765 * reload1.c: Likewise.
12766 * reorg.c: Likewise.
12767 * resource.h: Likewise.
12768 * rtl.c: Likewise.
12769 * rtl.h: Likewise.
12770 * rtlanal.c: Likewise.
12771 * sbitmap.h: Likewise.
12772 * sdbout.c: Likewise.
12773 * stack.h: Likewise.
12774 * stmt.c: Likewise.
12775 * system.h: Likewise.
12776
12777 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12778
12779 * machmode.h: PROTO -> PARAMS.
12780 * mbchar.h: Likewise.
12781 * mips-tdump.c: Likewise.
12782 * mips-tfile.c: Likewise.
12783 * optabs.c: Likewise.
12784 * output.h: Likewise.
12785 * prefix.c: Likewise.
12786 * profile.c: Likewise.
12787 * protoize.c: Likewise.
12788 * real.h: Likewise.
12789 * recog.c: Likewise.
12790 * recog.h: Likewise.
12791 * regclass.c: Likewise.
12792 * regmove.c: Likewise.
12793 * regs.h: Likewise.
12794
12795 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12796
12797 * ggc-common.c: PROTO -> PARAMS.
12798 * ggc-page.c: Likewise.
12799 * ggc-simple.c: Likewise.
12800 * ggc.h: Likewise.
12801 * global.c: Likewise.
12802 * graph.c: Likewise.
12803 * gthr-win32.h: Likewise.
12804 * haifa-sched.c: Likewise.
12805 * halfpic.h: Likewise.
12806 * integrate.c: Likewise.
12807 * integrate.h: Likewise.
12808 * jump.c: Likewise.
12809 * lcm.c: Likewise.
12810 * local-alloc.c: Likewise.
12811 * loop.c: Likewise.
12812 * loop.h: Likewise.
12813
12814 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12815
12816 * genattr.c: PROTO -> PARAMS.
12817 * genattrtab.c: Likewise.
12818 * gencheck.c: Likewise.
12819 * gencodes.c: Likewise.
12820 * genconfig.c: Likewise.
12821 * genemit.c: Likewise.
12822 * genextract.c: Likewise.
12823 * genflags.c: Likewise.
12824 * gengenrtl.c: Likewise.
12825 * genopinit.c: Likewise.
12826 * genoutput.c: Likewise.
12827 * genpeep.c: Likewise.
12828 * genrecog.c: Likewise.
12829
12830 2000-01-16 Mark Mitchell <mark@codesourcery.com>
12831
12832 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
12833
12834 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12835
12836 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
12837 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
12838 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
12839 * configure, config.in: Rebuilt.
12840
12841 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
12842
12843 * config/i386/i386.md: Add peephole to merge successive stack
12844 adjusts.
12845
12846 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
12847
12848 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
12849 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
12850 when walking backwards to find all the parameter loads when
12851 the basic block ends in a call.
12852
12853 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12854
12855 * loop.c (this_loop_info): Delete.
12856 (uid_loop): Add in place of uid_loop_num. All uses updated.
12857 (loop_number_exit_count): Delete and replace with entry in loop
12858 structure. All uses updated.
12859 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12860 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12861 (loop_outer_loop): Likewise.
12862 (loop_invalid, loop_number_exit_labels): Likewise.
12863 (loop_used_count_register): Delete and replace with entry in
12864 loop_info structure.
12865 (find_and_verify_loops): Add loops argument.
12866 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
12867 loop_end, etc. arguments with loop structure pointer. All callers
12868 changed.
12869 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
12870 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
12871 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
12872 (insert_bct): Likewise.
12873 (basic_induction_var): New argument level.
12874 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
12875 vtop, and cont. Add used_count_register.
12876 (uid_loop): Delete declaration.
12877 (loop_number_exit_count): Likewise.
12878 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12879 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12880 (loop_outer_loop, loop_used_count_register): Likewise.
12881 (loop_invalid, loop_number_exit_labels): Likewise.
12882 (unroll_loop): Replace loop_start and loop_end arguments
12883 with loop structure pointer.
12884 (loop_precondition_p, loop_iterations): Likewise.
12885 Include basic-block.h.
12886 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
12887 with loop structure pointer.
12888 (loop_precondition_p, loop_iterations): Likewise.
12889 * basic-block.h (struct loop): New entries vtop, cont,
12890 cont_dominator, start, end, top, scan_start, exit_labels,
12891 exit_count.
12892 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
12893
12894 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12895
12896 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
12897
12898 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
12899
12900 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
12901
12902 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12903
12904 * pdp11-protos.h: New file.
12905
12906 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
12907 time warnings.
12908
12909 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
12910 warnings.
12911
12912 * pdp11.md: Likewise.
12913
12914 * 2bsd.h: Likewise.
12915
12916 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12917
12918 * mn10300-protos.h: New file.
12919
12920 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
12921 time warnings.
12922
12923 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
12924 warnings.
12925
12926 * mn10300.md: Likewise.
12927
12928 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12929
12930 * mn10200-protos.h: New file.
12931
12932 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
12933 time warnings.
12934
12935 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
12936 warnings.
12937
12938 * mn10200.md: Likewise.
12939
12940 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12941
12942 * h8300-protos.h: New file.
12943
12944 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
12945 time warnings.
12946
12947 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
12948 warnings.
12949
12950 * h8300.md: Likewise.
12951
12952 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12953
12954 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12955 (asm_emit_uninitialised): Likewise.
12956
12957 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
12958
12959 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12960 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12961
12962 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12963
12964 * config/mips/mips.c (override_options): Don't turn on extra
12965 alignment for mips16.
12966
12967 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12968
12969 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12970 eabi, and make sure queued POSTINCREMENT rtl is emitted at
12971 the right point.
12972
12973 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12974
12975 * builtins.c (PAD_VARARGS_DOWN): Define.
12976 (std_expand_builtin_va_arg): Use the above macro.
12977 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12978 * tm.texi (Register Arguments): Document the above macro.
12979
12980 2000-01-14 Nick Clifton <nickc@cygnus.com>
12981
12982 * emit-rtl.c (emit_insn): If checking is enabled, make sure
12983 that this function has not been used to emit a jump
12984 instruction.
12985
12986 * jump.c (return_jump_1): Cope with being passed a null rtx.
12987
12988 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12989
12990 * eh-common.h: PROTO -> PARAMS.
12991 * emit-rtl.c: Likewise.
12992 * errors.c: Likewise.
12993 * errors.h: Likewise.
12994 * except.c: Likewise.
12995 * except.h: Likewise.
12996 * explow.c: Likewise.
12997 * expmed.c: Likewise.
12998 * expr.c: Likewise.
12999 * expr.h: Likewise.
13000 * final.c: Likewise.
13001 * fix-header.c: Likewise.
13002 * flow.c: Likewise.
13003 * fold-const.c: Likewise.
13004 * function.c: Likewise.
13005 * function.h: Likewise.
13006 * gcc.c: Likewise.
13007 * gcov-io.h: Likewise.
13008 * gcov.c: Likewise.
13009 * gcse.c: Likewise.
13010
13011 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13012
13013 * sh-protos.h: New file.
13014
13015 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
13016 Add static prototypes. Fix compile time warnings.
13017
13018 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
13019 * sh.md: Likewise.
13020 * elf.h: Likewise.
13021
13022 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13023
13024 * arc-protos.h: New file.
13025
13026 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
13027 time warnings.
13028
13029 * arc.h: Move prototypes to arc-protos.h. Fix compile time
13030 warnings.
13031
13032 * arc.md: Likewise.
13033
13034 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13035
13036 * dsp16xx-protos.h: New file.
13037
13038 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
13039 time warnings.
13040
13041 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
13042 warnings.
13043
13044 * dsp16xx.md: Likewise.
13045
13046 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13047
13048 * convex-protos.h: New file.
13049
13050 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
13051 time warnings.
13052
13053 * convex.h: Move prototypes to convex-protos.h. Fix compile time
13054 warnings.
13055
13056 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13057
13058 * elxsi-protos.h: New file.
13059
13060 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
13061 time warnings.
13062
13063 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
13064 warnings.
13065
13066 * elxsi.md: Likewise.
13067
13068 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13069
13070 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
13071 case for moving from HI/LO/HI_LO_REG. This makes the behavior
13072 match the comment for MIPS16.
13073
13074 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
13075
13076 * flow.c (split_edge): Do not call set_block_for_insn if we
13077 do not have a basic_block_for_insn structure.
13078
13079 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
13080 and destination functions are 32bit aligned within the trampoline.
13081 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
13082 (TRAMPOLINE_ALIGNMENT): Define.
13083
13084 * cse.c (cse_insn): When changing (set (pc) (reg)) to
13085 (set (pc) (label_ref)), verify the change creates a valid insn.
13086
13087 * fr30.c (call_operand): Tighten and rework to match rules for
13088 call RTL expressions.
13089 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
13090 * fr30.md (call patterns): Improve constraints.
13091
13092 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
13093
13094 * fr30.c (fr30_expand_epilogue): Revert last change.
13095 Use emit_jump_insn for the return insn.
13096
13097 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
13098 Stan Cox <scox@cygnus.com>
13099
13100 * predict.c: New file. Preliminary infrastructure work for static
13101 branch prediction and basic block reordering.
13102 * basic-block.h: Add prototype for estimate_probability.
13103 * Makefile.in: Add rules for predict.o.
13104
13105 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
13106
13107 * fixincludes (va_list): Use __not_va_list__ for the dummy.
13108 * fixinc/*: Likewise.
13109
13110 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13111
13112 * cccp.c: PROTO -> PARAMS.
13113 * cexp.y: Likewise.
13114 * collect2.c: Likewise.
13115 * combine.c: Likewise.
13116 * convert.h: Likewise.
13117 * cse.c: Likewise.
13118 * dbxout.c: Likewise.
13119 * dbxout.h: Likewise.
13120 * diagnostic.c: Likewise.
13121 * doprint.c: Likewise.
13122 * dwarf2out.c: Likewise.
13123 * dwarf2out.h: Likewise.
13124 * dwarfout.c: Likewise.
13125 * dwarfout.h: Likewise.
13126 * dyn-string.h: Likewise.
13127
13128 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13129
13130 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
13131 macro conditionals guarding use.
13132
13133 * dwarf2out.c: Include "tm_p.h".
13134
13135 * function.c (locate_and_pad_parm): Mark parameter with
13136 ATTRIBUTE_UNUSED.
13137 (expand_function_end): Likewise for variable `context'.
13138
13139 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
13140
13141 2000-01-13 Nick Clifton <nickc@cygnus.com>
13142
13143 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
13144 register to prevent compile time warnings.
13145
13146 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
13147
13148 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
13149 to avoid -Wtraditional warning.
13150
13151 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13152
13153 * 1750a-protos.h: New file.
13154
13155 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
13156 time warnings.
13157
13158 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
13159 warnings.
13160
13161 * 1750a.md: Likewise.
13162
13163 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13164
13165 * a29k-protos.h: New file.
13166
13167 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
13168 time warnings.
13169
13170 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
13171 warnings.
13172
13173 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13174
13175 * clipper-protos.h: New file.
13176
13177 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
13178 time warnings.
13179
13180 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
13181 warnings.
13182
13183 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13184
13185 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
13186
13187 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
13188
13189 * configure.in (--enable-new-gxx-abi): New option.
13190 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
13191 * Makefile.in (GXX_ABI_FLAG): New variable.
13192 * configure: Regenerate.
13193
13194 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13195
13196 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
13197 * tm.texi (FORCE_STRUCT_BLK): Document.
13198 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
13199
13200 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
13201
13202 * config/ns32k/ns32k.md: Revert Jan 9 change.
13203
13204 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
13205 to a mode-test, if the predicate is address_operand.
13206
13207 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
13208
13209 * combine.c (if_then_else_cond): Be careful about what kinds
13210 of RTL expressions are passed to operand_subword.
13211
13212 * flow.c (split_edge): If we have to insert a new jump, make
13213 sure to associate it with a basic block.
13214
13215 * flow.c (commit_one_edge_insertion): A block with one successor
13216 can end in a JUMP_INSN that is not a simplejump.
13217
13218 2000-01-12 Robert Lipe <robertl@sco.com>
13219
13220 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
13221 (BUILD_VA_LIST_TYPE): Define.
13222 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
13223 with crtstuff.c.
13224
13225 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
13226
13227 * cccp.c (do_pragma): Add cast to (char *).
13228
13229 2000-01-12 Richard Henderson <rth@cygnus.com>
13230 Fred Fish <fnf@be.com>
13231 Jason Merrill <jason@cygnus.com>
13232
13233 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
13234 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
13235 * i386/beos-elf.h, i386/beos-pe.h: New files.
13236
13237 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
13238 * cross-make (SYSTEM_HEADER_DIR): Define using
13239 CROSS_SYSTEM_HEADER_DIR.
13240
13241 * gcc.c (LIBRARY_PATH_ENV): Provide default.
13242 (process_command): Use it.
13243 (main): Likewise. Kill trailing = from env vars.
13244 (build_search_list): Put it back.
13245 * collect2.c (main): Use LIBRARY_PATH_ENV.
13246
13247 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
13248 * toplev.c: Use NEED_DECLARATION_ENVIRON.
13249
13250 * tm.texi (Frame Layout): Document SMALL_STACK.
13251 * c-common.c (c_common_nodes_and_builtins): Check it.
13252
13253 * system.h: Undef alloca after including glibc's <stdlib.h>,
13254 if USE_C_ALLOCA is defined.
13255
13256 * gcc.c (set_input): New fn.
13257 (main): After all input files are compiled, reset the input file
13258 info to the first.
13259
13260 * aclocal.m4 (rindex, index): If already defined, don't attempt
13261 to redefine.
13262
13263 * ginclude/varargs.h: (__va_list__): Define ifndef.
13264 * ginclude/stdarg.h: Likewise.
13265
13266 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
13267 instead of unsigned char.
13268
13269 * hash.h (true, false, boolean): Undef before enum.
13270
13271 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
13272 proper type of "HOST_WIDE_INT *", rather than their natural type of
13273 "unsigned HOST_WIDE_INT *".
13274
13275 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13276
13277 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
13278
13279 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
13280
13281 * regclass.c (choose_hard_reg_mode): Likewise.
13282
13283 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
13284
13285 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
13286
13287 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13288
13289 * c-common.c: PROTO -> PARAMS.
13290 * c-common.h: Likewise.
13291 * c-decl.c: Likewise.
13292 * c-iterate.c: Likewise.
13293 * c-lang.c: Likewise.
13294 * c-lex.c: Likewise.
13295 * c-lex.h: Likewise.
13296 * c-parse.in: Likewise.
13297 * c-pragma.c: Likewise.
13298 * c-pragma.h: Likewise.
13299 * c-tree.h: Likewise.
13300 * c-typeck.c: Likewise.
13301 * objc/objc-act.c: Likewise.
13302 * objc/objc-act.h: Likewise.
13303
13304 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13305
13306 * m88k-protos.h: New file.
13307
13308 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
13309 time warnings.
13310
13311 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
13312
13313 * m88k.md: Likewise.
13314
13315 * tekXD88.h: Likewise.
13316
13317 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13318
13319 * m68k-protos.h: New file.
13320
13321 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
13322 time warnings.
13323
13324 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
13325
13326 * mot3300.h: Likewise.
13327
13328 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
13329
13330 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
13331 extract_bitlst.
13332 (extract_bitlist): Declare bitlen.
13333
13334 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
13335
13336 * cccp.c: Accept and ignore -lang-fortran.
13337
13338 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
13339 qualifiers don't match at any level of pointerness.
13340
13341 2000-01-12 Robert Lipe <robertl@sco.com>
13342
13343 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
13344
13345 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
13346
13347 * reload1.c (reload_reg_unavailable): New static variable.
13348 (reload_reg_free_p): Test it.
13349 (reload_reg_free_for_value_p): Test it instead of
13350 reload_reg_used.
13351 (choose_reload_regs_init): Compute it.
13352
13353 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
13354
13355 * reorg.c (fill_slots_from_thread): Check modified_in_p
13356 before replacing.
13357
13358 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
13359
13360 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
13361 these nodes even if INTERNALS is not set.
13362
13363 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
13364
13365 * gcse.c (delete_null_pointer_checks_1): Cope when
13366 get_condition cannot determine the condition.
13367
13368 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
13369
13370 * toplev.h (set_message_length): Declare.
13371
13372 * diagnostic.c (obstack_chunk_alloc): Define macro.
13373 (obstack_chunk_free): Likewise.
13374 (struct output_buffer): New data structure.
13375 (vmessage): Remove.
13376 (output_maximum_width): New variable.
13377 (doing_line_wrapping, set_message_length, init_output_buffer,
13378 get_output_prefix, output_space_left, emit_output_prefix,
13379 output_newline, output_append, output_puts, dump_output,
13380 vbuild_message_string, build_message_string, build_location_prefix,
13381 voutput_notice, output_printf, line_wrapper_printf,
13382 vline_wrapper_message_with_location): New functions. Implement
13383 automatic line wrapping.
13384 (v_message_with_decl): Make it handle automatic line wrapping.
13385 (v_error_with_file_and_line): Likewise.
13386 (v_warning_with_file_and_line): Likewise.
13387 (announce_function): Likewise.
13388 (default_print_error_function): Likewise.
13389
13390 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
13391
13392 * cpplib.h (struct cpp_options): Change lang_asm to char.
13393 Add lang_fortran.
13394 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
13395 done in cpp_handle_option now.
13396 (initialize_builtins): Take out special case code used only by
13397 __STDC_VERSION__.
13398 (cpp_handle_option): Turn off trigraphs and trigraph warnings
13399 if -traditional. Recognize -lang-fortran and set
13400 lang_fortran, also turn off cplusplus_comments.
13401 (print_help): Document -lang-fortran.
13402 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
13403 lang_asm. Ignore all directives other than `# 123 "file"' if
13404 CPP_PREPROCESSED.
13405 (cpp_get_token): If -traditional, don't recognize directives
13406 unless the # is in column 1.
13407 (parse_string): If lang_fortran or lang_asm, silently
13408 terminate strings ('' or "") at end of line.
13409 Remove unnecessary braces.
13410
13411 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13412 Richard Henderson <rth@cygnus.com>
13413
13414 * resource.c (mark_referenced_resources): Mark a set strict_low_part
13415 as used.
13416 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
13417 strict_low_part when possible.
13418
13419 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13420
13421 * alias.c: PROTO -> PARAMS.
13422 * basic-block.h: Likewise.
13423 * bitmap.c: Likewise.
13424 * bitmap.h: Likewise.
13425 * builtins.c: Likewise.
13426 * c-aux-info.c: Likewise.
13427 * caller-save.c: Likewise.
13428 * calls.c: Likewise.
13429
13430 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13431
13432 * Makefile.in (toplev.o): Depend on regs.h.
13433
13434 * output.h (tdesc_section): Prototype.
13435
13436 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
13437
13438 * sdbout.c: Include "tm_p.h".
13439
13440 * toplev.c: Include "regs.h".
13441
13442 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
13443
13444 * unroll.c (unroll_loop): Add EH support.
13445
13446 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13447
13448 * pa-protos.h: New file.
13449
13450 * pa.c: Include recog.h and tm_p.h.
13451 (compute_zdepwi_operands, compute_movstrsi_length,
13452 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
13453 find_addr_reg, import_milli): Add static prototypes.
13454 (pa_cpu_string, pa_arch_string): Constify a char*.
13455 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
13456 (read_only_operand): Add argument `mode'.
13457 (singlemove_string, output_move_double, output_fp_move_double,
13458 output_block_move, output_and, output_ior, output_ascii,
13459 remove_useless_addtr_insns, milli_names, output_mul_insn,
13460 output_div_insn, output_mod_insn, output_arg_descriptor,
13461 output_cbranch, output_bb, output_bvb, output_dbra, ,
13462 output_millicode_call, output_call, hppa_encode_label,
13463 output_parallel_movb, output_parallel_addb): Constify a char*.
13464 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
13465 (output_parallel_addb): Remove extra arg to `constrain_operands'
13466
13467 * pa.h: Move all prototypes to pa-protos.h.
13468 (pa_cpu_string, pa_arch_string): Constify a char*.
13469 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
13470
13471 * pa.md: Call `function_label_operand' with mode argument.
13472 Likewise for `read_only_operand'.
13473 Fix nesting of parens in call to `symbolic_operand'.
13474
13475 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13476
13477 * i860-protos.h: New file.
13478
13479 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
13480 time warnings.
13481
13482 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
13483
13484 * i860.md: Likewise.
13485
13486 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
13487
13488 * i386.md (movstrsi expander): Rewrite.
13489 (movstrsi_1 insn): Deleted.
13490 (strmovhi, strmovqi expander): New expanders.
13491 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
13492 * i386.c (x86_single_stringop): New global variable.
13493 * i386.h (x86_single_stringop): Declare.
13494 (TARGET_SINGLE_STRINGOP): New macro.
13495
13496 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
13497
13498 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
13499 integer vararg POSTINCREMENT before the destination of the jump
13500 for the hard fp case.
13501 (function_arg_pass_by_reference): Pass a copy of CUM to
13502 FUNCTION_ARG.
13503
13504 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
13505 for CONSTANT_ADDRESS_P above while loop for subreg.
13506
13507 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
13508
13509 * flow.c (propagate_block): When a prologue/epilogue insn
13510 is marked dead, unconditionally clear libcall_is_dead and
13511 insn_is_dead, and only dump rtl if warnings aren't being
13512 suppressed.
13513
13514 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
13515
13516 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
13517 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
13518 (FIXED_REGISTERS): Set dirflag as fixed.
13519 (CALL_USED_REGISTERS): Set dirflag as used.
13520 (REG_ALLOC_ORDER): Set dirflag as last one.
13521 (DIRFLAG_REG): New macro.
13522 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
13523 (HI_REGISTER_NAMES): Add dirflag.
13524 (DEBUF_PRINT_REG): Handle dirflag.
13525 * i386.md (type attribute): New cld and str types.
13526 (length_opcode attribute): Set cld and str to 1.
13527 (memory attribute): Set str to unknown - it is not clear from the
13528 patterns.
13529 (pent_np function unit): Prefixed string operations takes 12 cycles
13530 minimally; cld takes 2 cycles.
13531 (ppro_uops attribute): Str is "many" and cld is "few".
13532 (ppro_p0 unit): Handle cld here.
13533 (k6_alux unit): Handle cld and str types.
13534 (k6_load unit): It is ocupied by str opcodes.
13535 (k6_store unit): It is ocupied by str opcodes.
13536 (athlon_decode): Str is vector decoded.
13537 (athlon_ieu): Handle str and cld.
13538 (cld pattern): New.
13539 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
13540 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
13541 cmpstrsi_nz_1 insn): Do not output cld instruction
13542
13543 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
13544
13545 * gcc.texi (G++ and GCC): Add Java and Chill.
13546 (Bug Critera): Don't list languages.
13547
13548 * gcc.texi (Incompatibilities): No longer claim most C compilers
13549 are K&R.
13550
13551 * gcc.texi (G++ and GCC): Update other front-ends list.
13552
13553 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
13554
13555 * i386.c (ix86_expand_setcc): Fix typo.
13556 (ix86_expand_movcc): Similarly.
13557
13558 * Band-aid until haifa's bitset implementation is nuked.
13559 * haifa-sched.c (extract_bitlst): New parameter for size of the
13560 bitset in bits. All callers changed. Avoid looking at undefined
13561 bits in the bitset.
13562 (edgeset_bitsize): New variable.
13563 (schedule_region): Initialize edgeset_bitsize.
13564
13565 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13566
13567 * Makefile.in (optabs.o): Depend on real.h
13568 (resource.o): Depend on insn-attr.h
13569
13570 * builtins.c (result_vector): Wrap prototype in macro conditions
13571 governing definition and use.
13572
13573 * c-common.c: Include tm_p.h.
13574
13575 * c-lex.c: Likewise.
13576
13577 * elfos.h: Constify a char*.
13578
13579 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
13580 (get_attr_length, shorten_branches, profile_after_prologue): Mark
13581 parameter with ATTRIBUTE_UNUSED.
13582
13583 * fold-const.c (exact_real_inverse): Wrap variable `i' in
13584 CHECK_FLOAT_VALUE.
13585
13586 * haifa-sched.c (schedule_insns): Mark parameter with
13587 ATTRIBUTE_UNUSED.
13588
13589 * optabs.c: Include real.h.
13590
13591 * real.h (ereal_atof): Add prototype arguments.
13592
13593 * resource.c: Include insn-attr.h.
13594
13595 * sdbout.c (sdbout_queue_anonymous_type,
13596 sdbout_dequeue_anonymous_types): Wrap in macro
13597 SDB_ALLOW_FORWARD_REFERENCES.
13598 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
13599 ATTRIBUTE_UNUSED.
13600
13601 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
13602
13603 * stupid.c: Include tm_p.h.
13604
13605 * tree.c (real_value_from_int_cst): Mark parameter with
13606 ATTRIBUTE_UNUSED.
13607
13608 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13609
13610 * i960-protos.h: New file.
13611
13612 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
13613 time warnings.
13614
13615 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
13616
13617 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13618
13619 * combine.c (expand_field_assignment): Do not discard SUBREGs
13620 while computing nonzero_bits.
13621
13622 2000-01-09 Nick Clifton <nickc@cygnus.com>
13623
13624 * config/arm/arm.c: Fix compile time warnings about signed vs
13625 unsigned constants.
13626 * config/arm/arm.h: Fix compile time warnings about signed vs
13627 unsigned constants.
13628
13629 2000-01-09 Philip Blundell <philb@gnu.org>
13630
13631 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
13632 than `ldm' with only one register.
13633 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
13634 only one register.
13635
13636 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
13637 clobbered.
13638
13639 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
13640
13641 * config/ns32k/ns32k.md (load or push effective address): Operand 1
13642 must have SImode.
13643
13644 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13645
13646 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
13647 assignment used as truth value.
13648
13649 * function.c (assign_temp): Mark parameter `dont_promote' with
13650 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
13651 PROMOTE_FOR_CALL_ONLY.
13652
13653 * genrecog.c (write_subroutine): Mark variable `operands' with
13654 ATTRIBUTE_UNUSED.
13655
13656 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
13657 ATTRIBUTE_UNUSED.
13658
13659 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
13660 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
13661
13662 * toplev.c (note_deferral_of_defined_inline_function): Likewise
13663 for `decl'.
13664
13665 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13666
13667 * config/c4x.h: Tidy up comments.
13668 * config/c4x.c: Likewise.
13669
13670 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
13671
13672 * fold-const.c (lshift_double, rshift_double): Handle
13673 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
13674
13675 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13676
13677 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
13678 in prepare_function_start().
13679
13680 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
13681
13682 * config/v850/v850.c (expand_epilogue): Interrupt functions no
13683 longer allocate extra stack for function calls.
13684
13685 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13686
13687 * config/c4x/c4x.md (*subqf3_set): Fix typo.
13688
13689 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13690
13691 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
13692
13693 2000-01-07 David Edelsohn <edelsohn@gnu.org>
13694
13695 * rs6000.c (processor_target_table): Add power3 as alias for 630.
13696 * aix43.h: Revert Aug 2 change.
13697 (HAS_INIT_SECTION): Define, not visible yet.
13698 (LD_INIT_SWITCH): Define, not visible yet.
13699 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
13700
13701 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
13702
13703 * collect2.c (main): Expand ld2 size further.
13704 (export_object_lst): Cast assignment to avoid warning.
13705 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
13706 (scan_prog_file, COFF): Do not collect initialization or
13707 finalization functions generated for entire shared object if
13708 init/fini support present.
13709
13710 2000-01-07 Nick Clifton <nickc@cygnus.com>
13711
13712 * config/elfos.h: Tidy up formatting of marcos. Make sure
13713 that .section directives are always prefixed by a tab.
13714
13715 * config/svr4.h: Add #include "elfos.h" and remove duplicate
13716 definitions.
13717
13718 2000-01-07 Matt Austern <austern@sgi.com>
13719
13720 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
13721 expon.
13722
13723 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
13724
13725 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
13726 crtstuff.c.
13727 (crtbegin.o, s-crtS): Likewise.
13728
13729 2000-01-06 Richard Henderson <rth@cygnus.com>
13730
13731 * alpha.md (adddi_2+1): Limit offset such that it will be
13732 loadable with a single ldah+lda pair.
13733 (adddi_2+2): Explicitly fail split if we can't make it work.
13734
13735 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
13736
13737 * protoize.c: Conditionally include unistd.h.
13738 (IS_SAME_PATH_CHAR): New macro.
13739 (IS_SAME_PATH): New macro.
13740 (CPLUS_FILE_SUFFIX): New macro.
13741 (cplus_suffix): New static variable.
13742 (is_abspath): New static function.
13743 (in_system_include_dir): Handle DOS style pathnames.
13744 (file_could_be_converted): Likewise.
13745 (file_normally_convertible): Likewise.
13746 (directory_specified_p): Likewise.
13747 (file_excluded_p): Likewise.
13748 (abspath): Likewise.
13749 (shortpath): Likewise.
13750 (referenced_file_is_newer): Likewise.
13751 (save_def_or_dec): Likewise.
13752 (do_processing): Likewise.
13753 (main): Likewise.
13754 (edit_file): Likewise. Use rename instead of link.
13755 (rename_c_file): Likewise. Don't rename syscalls file.
13756 (munge_compile_params): Define null device for DOS based systems.
13757 (process_aux_info_file): Use binary mode if appliable.
13758 (edit_file): Likewise.
13759 * invoke.texi (Running Protoize): Document C++ suffixes used.
13760
13761 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
13762 IS_DIR_SEPARATOR macros.
13763 * collect2.c: Likewise.
13764 * cppinit.c: Likewise.
13765 * dwarf2out.c: Likewise.
13766 * gcc.c: Likewise.
13767 * gcov.c: Likewise.
13768 * prefix.c: Likewise.
13769 * rtl.c: Likewise.
13770 * toplev.c: Likewise.
13771 * system.h: And move to here.
13772
13773 * prefix.c (update_path): Fix typo in variable name.
13774
13775 2000-01-06 Richard Henderson <rth@cygnus.com>
13776
13777 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
13778 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
13779 (count_reg_sets_1, count_reg_references): Likewise.
13780 (flow_loops_level_compute): Start counting actual loop depth at 1.
13781 (flow_loops_find): Likewise.
13782 * local-alloc.c (update_equiv_regs): Likewise.
13783 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
13784
13785 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
13786
13787 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
13788 FIRST_PSEUDO_REGISTER
13789 * dwarf2out.c: Don't include frame.h
13790 * dwarfout.c: Likewise
13791 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
13792 frame.h
13793
13794 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
13795
13796 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
13797 dead registers.
13798
13799 * i386.c (movsf splitter): Fix typo in my last checkin.
13800
13801 2000-01-05 Nick Clifton <nickc@cygnus.com>
13802
13803 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
13804 own definition of this macro.
13805 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
13806 flag_data_sections or UNIQUE_SECTION_P are true.
13807
13808 * tm.texi (UNIQUE_SECTION): Document that it can be called for
13809 unitialised data decls.
13810
13811 * config/i386/winnt.c (i386_pe_unique_section): Cope with
13812 being called for uninitialised data.
13813
13814 * config/i386/interix.c (i386_pe_unique_section): Cope with
13815 being called for uninitialised data.
13816
13817 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
13818 for uninitialised data.
13819
13820 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
13821 for uninitialised data.
13822
13823 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
13824 for uninitialised data.
13825
13826 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
13827 (UNIQUE_SECTION_P): Always generate a unique section if
13828 flag_data_sections is true.
13829 (UNIQUE_SECTION): Also generate unique sections for
13830 uninitialised data.
13831 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
13832 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
13833 named_section().
13834
13835 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13836
13837 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
13838 SI, or DI.
13839
13840 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13841
13842 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
13843 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
13844 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
13845 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
13846 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
13847
13848 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
13849
13850 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
13851
13852 * c-decl.c (finish_enum): Simplify code to determine minimum and
13853 maximum values of the enum, and calculate the type. Remove check
13854 for FUNCTION_DECLs in the values list, which cannot happen. Replace
13855 the DECL_INITIAL of each enumeration constant with a copy converted
13856 to the enumeration type. When updating variant types, don't bother
13857 updating the type itself.
13858
13859 * c-typeck.c (build_binary_op): Simplify conditional expressions
13860 when weeding out spurious signed-unsigned warnings. Add new
13861 spurious warning category: if the unsigned quantity is an enum
13862 and its maximum value fits in signed_type(result_type). Update
13863 commentary.
13864 (build_conditional_expr): Warn here if one alternative is signed
13865 and the other is unsigned.
13866
13867 2000-01-05 Nick Clifton <nickc@cygnus.com>
13868
13869 * config/fr30/fr30.h: Remove extraneous comments.
13870
13871 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
13872
13873 * reload1.c (choose_reload_regs): When disabling a reload, also
13874 set reload_spill_index to -1.
13875
13876 2000-01-04 Joel Sherrill (joel@OARcorp.com>
13877
13878 * configure.in (m68*-*-rtemscoff*): New target, formal name for
13879 old m68*-*-rtems*.
13880 (m68*-*-rtemself*): New target.
13881 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
13882 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
13883 (sparc*-*-rtemself*): New target.
13884 (sparc*-*-rtems*): Now elf not a.out.
13885 * config/i386/rtems.h: Include config/rtems.h.
13886 * config/i386/rtemself.h: Include config/rtems.h.
13887 * config/i960/rtems.h: Include config/rtems.h.
13888 * config/m68k/rtems.h: Include config/rtems.h.
13889 * config/m68k/rtemself.h: Include config/rtems.h.
13890 * config/mips/rtems64.h: Include config/rtems.h.
13891 * config/pa/rtems.h: Include config/rtems.h.
13892 * config/rs6000/rtems.h: Include config/rtems.h.
13893 * config/sh/rtems.h: Include config/rtems.h.
13894 * config/sh/rtemself.h: Include config/rtems.h.
13895 * config/sparc/rtems.h: Include config/rtems.h.
13896 * config/sparc/rtemself.h: Include config/rtems.h
13897
13898 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
13899
13900 * final.c (shorten_branches): Correctly compute length of
13901 asms without operands.
13902
13903 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
13904
13905 * configure.in: Add pj target.
13906 * configure: Regenerate.
13907 * config/pj: New directory.
13908 * config/pj/lib1funcs.S: New file.
13909 * config/pj/linux.h: New file.
13910 * config/pj/pj.c: New file.
13911 * config/pj/pj.md: New file.
13912 * config/pj/pjl.h: New file.
13913 * config/pj/t-pj: New file.
13914 * config/pj/xm-pj.h: New file
13915
13916 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
13917
13918 * toplev.c (rest_of_compilation): Run shorten-branches before
13919 reg-stack for now.
13920
13921 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13922
13923 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13924 macros so that they're consistent with their names.
13925 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13926 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13927
13928 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13929
13930 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13931 modified inadvertently.
13932
13933 2000-01-04 Joel Sherrill <joel@OARcorp.com>
13934
13935 * configure.in (v850*-*-rtems*): New target.
13936 * configure: Regenerate.
13937 * config/v850/rtems.h: New file.
13938
13939 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
13940
13941 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13942 (__gthread_key_create): Likewise.
13943 (__gthread_key_dtor): Likewise.
13944 (__gthread_once): Fix logic.
13945 (__gthread_key_delete): Cast away constness.
13946
13947 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13948 * invoke.texi: Document.
13949 * i386/mingw32.h (CPP_SPEC): Use.
13950 (LIBGCC_SPEC): Likewise.
13951 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13952
13953 2000-01-04 David Edelsohn <edelsohn@gnu.org>
13954
13955 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13956 (HANDLE_PRAGMA_PACK): Undefine.
13957 (SLOW_UNALIGNED_ACCESS): Define.
13958
13959 2000-01-04 David Edelsohn <edelsohn@gnu.org>
13960
13961 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13962 to default definition.
13963 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13964 (store_fixed_bit_field): Call macro with word_mode and alignment.
13965 (extract_bit_field): Call macro with relevant mode and alignment.
13966 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13967 to default definition.
13968 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13969 and alignment.
13970 (move_by_pieces_ninsns): Likewise.
13971 (clear_by_pieces): Likewise.
13972 (emit_push_insn): Likewise.
13973 (store_field): Call macro with relevant mode and alignment.
13974 (expand_expr): Likewise.
13975 (expand_expr_unaligned): Likewise.
13976
13977 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13978 (SLOW_UNALIGNED_ACCESS): Define.
13979 (CASE_VECTOR_MODE): Always use 32-bit offsets.
13980 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13981 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13982 (toc_section): Likewise and .toc pseudo-op.
13983 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
13984 64-bit mode.
13985 (TEXT_SECTION_ASM_OP): Likewise.
13986 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13987 32-bit offsets.
13988
13989 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13990 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13991 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13992 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13993 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13994
13995 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
13996
13997 * regclass.c: Revert my Jan 4 change to loop cost computation.
13998
13999 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14000
14001 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
14002 compilation.
14003
14004 2000-01-04 Stan Cox <scox@cygnus.com>
14005
14006 * haifa-sched.c (build_control_flow): Change unreachable simple
14007 loop test to check if current block has only one predecessor.
14008 (find_rgns): Initialize degree. Use dest as degree index, not src.
14009
14010 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14011
14012 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
14013
14014 * calls.c (expand_call): Likewise for
14015 `old_stack_arg_under_construction'.
14016
14017 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
14018
14019 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
14020 `save_constant'.
14021
14022 * gcc.c (execute): Likewise for `ut' and `st'.
14023
14024 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
14025
14026 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
14027
14028 * jump.c (jump_optimize_1): Likewise for `temp2'.
14029
14030 * local-alloc.c (block_alloc): Likewise for `r1'.
14031
14032 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
14033
14034 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
14035 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
14036
14037 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
14038 and `set2'.
14039
14040 * reload.c (find_reloads): Likewise for `goal_alternative_number'
14041 and `goal_earlyclobber'.
14042
14043 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
14044
14045 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
14046
14047 * stupid.c (stupid_life_analysis): Likewise for `chain'.
14048
14049 * unroll.c (copy_loop_body): Likewise for `copy'.
14050
14051 * varasm.c (output_constructor): Likewise for `byte'.
14052
14053 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14054
14055 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
14056 all FP constants for constant->reg moves.
14057 (ix86_split_to_parts): Try to convert memory address into immediate
14058 when available in the constant pool.
14059 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
14060 moves.
14061 (LEGITIMATE_CONSTANT_P): Return 1.
14062 * i386.md (pushsf): New splitter to convert constant pool memory
14063 reference to immediate.
14064 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
14065 reload.
14066
14067 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
14068
14069 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
14070 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
14071 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
14072 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
14073 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
14074
14075 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
14076
14077 * ginclude/stdbool.h: Support compilation as C++.
14078
14079 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
14080
14081 * fold-const.c (make_range): Don't try to reverse an unbounded range.
14082
14083 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
14084
14085 * regclass.c (regclass): Properly compute loop_cost. Adjust
14086 comments.
14087
14088 * regclass.c: Fix minor whitespace problems.
14089
14090 2000-01-03 Anthony Green <green@cygnus.com>
14091
14092 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
14093 Restore the pic register if required.
14094
14095 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
14096
14097 * c-common.c (format_char_info): Update comment.
14098 (check_format_info): Recognize 'z' modifier in the same way 'Z'
14099 was recognized. Emit warning for formats new in ISO C99 only
14100 if flag_isoc9x is not set.
14101
14102 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
14103
14104 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
14105
14106 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14107
14108 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
14109 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
14110 (make_compound_operation): Choose cheaper alternative between
14111 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
14112
14113 * regclass.c (op_costs): Remove global variable.
14114 (record_reg_classes): New parameter "op_costs" and "reg_pref".
14115 (record_operand_costs): Break out from ...
14116 (scan_one_insn): ... here.
14117 (dump_regclass): Make dumps nicer.
14118 (regclass): Dump preferrences choosed and changes done during passes.
14119
14120 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14121
14122 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
14123
14124 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14125
14126 * config/sparc/sparc.c (gen_df_reg): New function.
14127 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
14128 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
14129 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
14130 movtf_cc_reg_sp64+1): Use it.
14131
14132 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14133
14134 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
14135 copied LABEL_DECLs.
14136
14137 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
14138
14139 * config/i386/i386.c (ix86_expand_unary_operator): Function
14140 definition made void.
14141 (ix86_expand_binary_operator): Update outdated preceding comment.
14142 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
14143 prototype.
14144
14145 * config/i386/i386.c (override_options): Fix option-name typo.
14146
14147 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14148
14149 * system.h (CEIL): Define.
14150 * builtins.c (CEIL): Remove.
14151 * expmed.c (CEIL): Likewise.
14152 * expr.c (CEIL): Likewise.
14153 * stor-layout.c (CEIL): Likewise.
14154
14155 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14156
14157 * expr.c (store_constructor_field): Fix typo introduced with last
14158 gcc2 merge.
14159
14160 2000-01-01 Mark Mitchell <mark@codesourcery.com>
14161
14162 * tree.h (BINFO_N_BASETYPES): New macro.
14163
14164 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
14165
14166 * expmed.c (emit_store_flag): Prevent losing a pending stack
14167 adjust the same way we prevent losing queued increments.
14168
14169 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14170
14171 * function.c (update_temp_slot_address): Handle case where sum of
14172 temporary address plus offset in register is a valid address.
14173
14174 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14175
14176 * genrecog.c (change_state) Corrected typo.
14177
14178 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14179
14180 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
14181 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
14182 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
14183
14184 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
14185
14186 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
14187 case, expand GT comparisons correctly. Fix a comment before this
14188 part of the code.
14189
14190 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
14191
14192 * dwarfout.c: Include "frame.h"
14193 * dwarf2out.c: Likewise.
14194 * Makefile.in (dwarfout.o): Depend on frame.h
14195 (dwarf2out.o): Likewise.
14196
14197 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
14198
14199 Restore i386 binary compatibility in Dwarf EH info.
14200 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
14201 value of FIRST_PSEUDO_REGISTER.
14202 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
14203 (struct frame_state): Use DWARF_FRAME_REGISTERS.
14204 * dwarfout.c (output_reg_number): Ditto.
14205 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
14206 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
14207
14208 1999-12-29 Bruce Korb <autogen@linuxbox.com>
14209
14210 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
14211 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
14212 (<hack>_RE_CT): not needed
14213 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
14214 rewritten to scan the file text once only
14215 "template<..." test added
14216 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
14217 (is_cxx_header): declaration added
14218 * fixinc/fixtests.c(is_cxx_header): removed
14219 (apply_fix_p_t): removed
14220 (double_slash_test): is_cxx_header is only called once now
14221 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
14222 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
14223 within the templates.
14224 The borken spelling of "broken" was fixed.
14225 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
14226 The default level depends on FIXINC_DEBUG.
14227
14228 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14229
14230 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
14231 Otherwise provide a declaration for atexit.
14232 (init_dummy): Make sure dummy call to atexit is nevertheless
14233 called with correct number of args.
14234
14235 * frame.c: Update comments referring to other files.
14236
14237 * libgcc2.c: Likewise.
14238
14239 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14240
14241 * cse.c (free_element, get_element): Remove unused prototypes.
14242
14243 * fold-const.c (extract_muldiv): Initialize variables `op0' and
14244 `op1'.
14245
14246 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
14247 `else' clauses.
14248
14249 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
14250
14251 * configure.in,configure: case arm for mn10200-*-* now sets
14252 float_format=i32 so that float.h will correctly claim "double"
14253 to be 32 bits. Ran autoconf to generate configure from .in file.
14254
14255 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
14256
14257 * pa.md (conditional zero): If op1 is a register, force it into
14258 the same register as op0.
14259
14260 1999-12-28 Mark Mitchell <mark@codesourcery.com>
14261
14262 * tree.h (BINFO_BASETYPES): Improve documentation.
14263
14264 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14265
14266 * configure.in (--enable-checking): Use a more portable `for'
14267 loop syntax.
14268
14269 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14270
14271 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
14272 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
14273
14274 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
14275 Delete files.
14276
14277 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
14278 Delete descriptions.
14279
14280 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
14281 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
14282 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
14283 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
14284 xm-svr4.h: Remove all instances of sys_siglist handling.
14285
14286 1999-12-27 Jakub Jelinek <jakub@redhat.com>
14287
14288 * config/sparc/sparc.md (cmp_zero_qi,
14289 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
14290 cmp_zero_extendqidi2_andcc_set): New patterns.
14291
14292 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
14293
14294 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
14295 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
14296 (fpgnulib.c, xfgnulib.c): Add rules.
14297 * m68k/t-mot3300-gas: Likewise.
14298
14299 1999-12-27 Ian Lance Taylor <ian@zembu.com>
14300
14301 * configure.in: Avoid [[ by using test and changequote. Add
14302 changequote required by 1999-12-14 change.
14303 * configure: Rebuild.
14304
14305 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
14306
14307 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
14308
14309 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
14310
14311 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
14312 * flow.c (find_use_as_address): Likewise.
14313 * function.c (fixup_var_refs_1): Likewise.
14314 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
14315 * jump.c (invert_exp, redirect_exp): Likewise.
14316 * loop.c (replace_call_address): Likewise.
14317 (count_nonfixed_reads): Likewise.
14318 * rtlanal.c (modified_between_p): Likewise.
14319 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
14320 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
14321 * unroll.c (remap_split_bivs): Likewise.
14322
14323 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14324
14325 * diagnostic.c (v_message_with_decl): Use .* format specifier
14326 instead of building the format specifier width manually.
14327
14328 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
14329 determining whether to provide a prototype. Remove the
14330 sys_siglist clause in the conditional.
14331
14332 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14333
14334 * fold-const.c (operand_equal_p): Use memcmp to compare string
14335 constants.
14336 Suggested by D. J. Bernstein
14337
14338 1999-12-17 Jakub Jelinek <jakub@redhat.com>
14339
14340 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
14341 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
14342 compiling libgcc2.
14343 * config/mips/mips.h (TARGET_64BIT): Likewise.
14344 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
14345 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
14346 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
14347 dsps. Give routines proper names if SI/DI modes are not used.
14348 * longlong.h: Use DWunion instead of DIunion.
14349
14350 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
14351
14352 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
14353 GC_CHECKING, GC_ALWAYS_COLLECT.
14354 * configure.in: Allow --enable-checking with an argument
14355 listing check modes to enable.
14356 * config.in, configure: Rebuilt.
14357 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
14358 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
14359 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
14360 ENABLE_GC_ALWAYS_COLLECT.
14361 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
14362 throughout.
14363 * tree.h, tree.c: Change ENABLE_CHECKING to
14364 ENABLE_TREE_CHECKING throughout.
14365
14366 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14367
14368 * fold-const.c (fold_truthop): Properly check for FP RHS.
14369
14370 1999-12-24 Mark Mitchell <mark@codesourcery.com>
14371
14372 * toplev.h (note_deferall_of_defined_inline_function): Declare.
14373 * toplev.c (note_deferral_of_defined_inline_function): New
14374 function, split out from ...
14375 (rest_of_compilation): ... here. Use it.
14376
14377 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14378
14379 * expr.c (store_constructor): Don't call clear_storage if size is
14380 variable.
14381
14382 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14383
14384 * Makefile.in (toplev.o): Depend on loop.h.
14385
14386 * dwarfout.c: Include tm_p.h.
14387
14388 * emit-rtl.c (restore_emit_status): Mark parameter with
14389 ATTRIBUTE_UNUSED.
14390
14391 * final.c (final_scan_insn): Likewise.
14392
14393 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
14394 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
14395 flow_depth_first_order_compute, flow_loop_pre_header_find,
14396 flow_loop_tree_node_add, flow_loops_tree_build,
14397 flow_loop_level_compute, flow_loops_level_compute,
14398 flow_loop_outside_edge_p): Add prototypes.
14399 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
14400
14401 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
14402 Mark with ATTRIBUTE_NORETURN.
14403
14404 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
14405
14406 * local-alloc.c (no_conflict_p): Likewise.
14407
14408 * loop.c (insert_bct): Hide definitions of variables with hidden
14409 usage.
14410 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
14411
14412 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
14413 with ATTRIBUTE_UNUSED.
14414 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
14415 (reg_scan): Likewise.
14416
14417 * reload.c (find_reloads): Remove unused variables `changed'.
14418
14419 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
14420 away const-ness.
14421 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
14422 Remove unused variable `insn'.
14423
14424 * toplev.c: Include loop.h.
14425 (report_file_and_line): Remove unnecessary prototype.
14426
14427 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
14428
14429 * unroll.c (biv_total_increment): Likewise.
14430
14431 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14432
14433 * reload1.c (emit_input_reload_insns): Restore old behaviour
14434 wrt. 'special' reloads.
14435
14436 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
14437
14438 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
14439 hash.h. (cse.c): Don't depend on hashtab.h.
14440
14441 * cse.c: Don't include hashtab.h.
14442 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
14443 of dead functions.
14444 * ggc-simple.c: Don't include hash.h.
14445
14446 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
14447
14448 * dwarf2out.c (add_abstract_origin_attribute): Call
14449 gen_abstract_function on our function context.
14450
14451 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
14452
14453 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
14454
14455 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14456
14457 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
14458 case in switch.
14459
14460 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14461
14462 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
14463 constraints to "a!r".
14464
14465 1999-12-21 Mark Mitchell <mark@codesourcery.com>
14466
14467 * Makefile.in (calls.o): Depend on function.h.
14468 (alias.o): Likewise.
14469
14470 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
14471
14472 * reload1.c (emit_reload_insns): Break out code and variables into...
14473 (input_reload_insns, other_input_address_reload_insns,
14474 other_input_reload_insns, input_address_reload_insns,
14475 inpaddr_address_reload_insns, output_reload_insns,
14476 output_address_reload_insns, outaddr_address_reload_insns,
14477 operand_reload_insns, other_operand_reload_insns,
14478 other_output_reload_insns): ... new static variables, and...
14479 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
14480 do_output_reload): ... new functions.
14481
14482 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14483
14484 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
14485
14486 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14487
14488 * md.texi: Add c4x constraints documentation.
14489
14490 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14491
14492 * config/i386/dgux.c (struct option): Rename to
14493 lang_independent_option.
14494 (struct m_options): Add description field.
14495 (output_options): Rename option type, add sep declaration, output
14496 ix86_cpu_string and ix86_arch_string only if set.
14497 (output_file_start): Rename option type.
14498
14499 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
14500
14501 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
14502 stmp-int-hdrs.
14503 (libgcc2.a): Similarly.
14504
14505 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
14506
14507 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
14508 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
14509 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
14510
14511 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
14512
14513 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
14514 Remove redundant initialization of "frexpon" and "expon".
14515
14516 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14517
14518 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
14519
14520 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
14521 (store_constructor_field, expand_expr): Pass new arg.
14522
14523 1999-12-20 Mark Mitchell <mark@codesourcery.com>
14524
14525 * Makefile.in (explow.o): Depend on function.h.
14526
14527 * stor-layout.c (set_sizetype): Fix typo.
14528
14529 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
14530
14531 * function.c (cfun): Renamed from current_function. All users
14532 changed.
14533 * function.h (cfun): Rename declaration as well.
14534
14535 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
14536 to be of type regset_head, not regset. All users changed by adding
14537 address operator.
14538 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
14539
14540 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14541
14542 * config/c4x/rtems.h: New file.
14543
14544 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
14545
14546 * reload1.c (spill_failure): Take class of failed reload as argument
14547 and print it. Caller changed.
14548
14549 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14550
14551 * rs6000.h (SUBTARGET_DEFAULT): New macro.
14552 (TARGET_SWITCHES): Allow subtargets to default switches.
14553 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
14554
14555 1999-12-18 Mark Mitchell <mark@codesourcery.com>
14556
14557 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
14558 in a main program.
14559
14560 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
14561
14562 * cccp.c (main): Define __STDC_VERSION__ as necessary.
14563 * cppinit.c (cpp_handle_option): Likewise.
14564
14565 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
14566 determine when to define.
14567
14568 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
14569
14570 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
14571 cmove with mismatched test and data modes.
14572
14573 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
14574
14575 * c-typeck.c (c_expand_start_case): Don't warn for long switch
14576 in system headers.
14577
14578 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14579
14580 * alias.c: Minor reformatting.
14581 * flow.c: Likewise.
14582 * regs.h: Likewise.
14583 * stor-layout.c: Likewise.
14584 * fold-const.c: Likewise.
14585 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
14586 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
14587 not arg itself.
14588 (size_int_wide): Cache nodes even if garbage collecting.
14589 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
14590 of SAVE_EXPR has no side effects.
14591 * cse.c: Move a comment.
14592 * tree.c: Minor reformatting.
14593 (int_size_in_bytes): Return -1 if constant overflows.
14594
14595 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14596
14597 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
14598
14599 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
14600
14601 * objc/objc-parse.c: Regenerate. This file must be rebuilt
14602 after any change to c-parse.in, even if objc-parse.y didn't
14603 change. Oops.
14604
14605 1999-12-18 David S. Miller <davem@redhat.com>
14606
14607 * toplev.c (rest_of_compilation): Restore BLOCK tree
14608 reconstruction and branch shortening changes lost in
14609 December 18th change.
14610
14611 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
14612
14613 * config/arm/linux-elf.h: Change all instances of
14614 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
14615 * config/arm/uclinux-elf.h: Likewise.
14616
14617 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
14618
14619 * toplev.c (notice, vmessage, v_message_with_file_and_line,
14620 v_message_with_decl, file_and_line_for_asm,
14621 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
14622 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
14623 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
14624 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
14625 pfatal_with_name, fatal_io_error, need_error_newline,
14626 last_error_function, last_error_tick, announce_function,
14627 default_print_error_function, print_error_function,
14628 report_error_function, fnotice, error_with_file_and_line,
14629 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
14630 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
14631 warning_with_decl, warning_for_asm, warning, pedwarn,
14632 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
14633 diagnostic.c
14634 (compile_file): Use fnotice instead of notice. Adjust call.
14635
14636 * diagnostic.c: New file.
14637
14638 * Makefile.in (OBJS): Include diagnostic.o
14639 (diagnostic.o): Define dependence.
14640
14641 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14642
14643 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
14644 Tweak formatting.
14645
14646 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14647
14648 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
14649
14650 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
14651
14652 * fixtests.c (is_cxx_header): New fn, split out of
14653 double_slash_test.
14654 (else_endif_label): Allow "#endif // comment" in C++ headers,
14655 as determined by is_cxx_header.
14656 * fixfixes.c (else_endif_label_fix): Update comment.
14657 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
14658 a tty.
14659 * genfixes: Correct double thinko in commandline parsing.
14660 * hackshell.tpl: Generate correct sh syntax for bypass
14661 entries.
14662
14663 * inclhack.def (all): Whenever an inserted preprocessor
14664 conditional is split over multiple lines, use double
14665 backslashes in this file so the fixed header will be readable.
14666
14667 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
14668 and add bypass entry for correct version of this header.
14669 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
14670 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
14671
14672 (hpux8_bogus_inlines): New fix, split from...
14673 (ultrix_atof_param) ... here.
14674 (math_expression): Add bypass entry keyed to glibc comment
14675 indicating the problem has been dealt with; disable
14676 unnecessary sed operations; update commentary.
14677 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
14678 add select and bypass entries, simplify shell operation.
14679 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
14680
14681 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
14682 ultrix_atof_param): Add select entry.
14683 (stdio_va_list, sunos_mather_decl): Add bypass entry.
14684 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
14685 comments with the fixes they describe.
14686
14687 * c-parse.in (string action): Do not warn about ANSI string
14688 concatenation in system headers. Affects C parser only.
14689 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
14690
14691 1999-12-16 Jakub Jelinek <jakub@redhat.com>
14692
14693 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
14694 compiling libgcc2 the macro depends always on arch cpp defines.
14695
14696 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
14697
14698 * loop.c (insert_loop_mem): Don't record MEMs from inside
14699 EXPR_LISTs.
14700
14701 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
14702
14703 * regclass.c (regclass): Do not use flowgraph when not optimizing.
14704
14705 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
14706 notes too, create one when replacement failed, attempt to simplify
14707 resulting notes.
14708 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
14709 or REG_EQUIV notes.
14710
14711 1999-12-16 Mark Mitchell <mark@codesourcery.com>
14712
14713 * crtstuff.c (__dso_handle): Declare.
14714 (__cxa_finalize): Likewise.
14715 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
14716 non-NULL.
14717
14718 * invoke.texi: Document -fuse-cxa-atexit.
14719
14720 * tree.h (ptr_type_node): Document.
14721 (const_ptr_type_node): Likewise.
14722
14723 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14724
14725 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
14726 (optimize_reg_copy_2): Likewise.
14727 (optimize_reg_copy_3): Likewise.
14728 (fixup_match_2): Likewise.
14729 (regmove_optimize): Likewise.
14730 (fixup_match_1): Liekwise.
14731
14732 * i386.md (HI to SImode promoting splitters): Rewrite.
14733 (pushsf mem peep2): New.
14734 (testhi to andhi peep2): Remove.
14735 * i386.h (x86_promote_QImode): New.
14736 (TARGET_PROMOTE_QImode): New.
14737 (PREDICATE_CODES): Add promotable_binary_operator.
14738 * i386.c (x86_promote_QImode0: New.
14739 (promotable_binary_operator): New.
14740 * i386-protos.h (promotable_binary_operator): New.
14741
14742 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
14743 condition.
14744 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
14745
14746 1999-12-16 Mark Mitchell <mark@codesourcery.com>
14747
14748 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
14749 * function.c (insert_block_after_note): Remove.
14750 (retrofit_block): Likewise.
14751 (identify_blocks): Fix indentation.
14752 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
14753 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
14754 * function.h (insert_block_after_note): Remove prototype.
14755 (retrofit_block): Likewise.
14756 * integrate.c (expand_inline_function): Don't call
14757 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
14758 just expand_start_bindings. Use the block_map to remap old
14759 NOTE_BLOCKs to new ones.
14760 (integrate_decl_tree): Keep track of remapped blocks.
14761 * integrate.h (struct inline_remap): Add block_map.
14762 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
14763 NOTE_BLOCK on the notes.
14764 (expand_start_bindings): Rename to ...
14765 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
14766 (expand_end_bindings): Set NOTE_BLOCK.
14767 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
14768 reconstruct the BLOCK tree.
14769 * tree.h (expand_start_bindings): Macroize. Call ...
14770 (expand_start_bindings_and_block): New function.
14771
14772 1999-12-16 Jakub Jelinek <jakub@redhat.com>
14773
14774 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
14775 to match the format.
14776
14777 1999-12-16 David S. Miller <davem@redhat.com>
14778
14779 * expr.c (emit_move_insn_1): Only emit clobbers if one of
14780 the outputs is a SUBREG.
14781 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
14782 change.
14783
14784 * config/sparc/sparc.c (epilogue_renumber): Add default case
14785 to switch stmt.
14786
14787 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14788
14789 * toplev.c (rest_of_compilation): Run branch shortening after
14790 reg-stack.
14791
14792 * regclass.c (loop_depth): Remove
14793 (scan_one_insn): Do not handle LOOP_NOTE insns.
14794 (regclass): Go through basic blocks and set loop_cost
14795
14796 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
14797
14798 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
14799
14800 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14801
14802 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
14803 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
14804 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
14805
14806 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
14807
14808 * loop.c (insert_loop_mem): Ignore memory clobbers.
14809
14810 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
14811 to (OP A B).
14812
14813 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
14814
14815 * profile.c: Remove redundant #include "output.h".
14816
14817 * h8300.md (HImode preinc peephole): Fix typo.
14818
14819 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14820
14821 * function.c (retrofit_block): Abort if we don't find a suitable insn.
14822 (insert_block_after_note): Abort if we don't have a previous block.
14823 Remove FN parameter.
14824 * function.h: Adjust.
14825
14826 1999-12-15 Mark Mitchell <mark@codesourcery.com>
14827
14828 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
14829 argument more than once.
14830
14831 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14832
14833 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
14834
14835 1999-12-15 Jakub Jelinek <jakub@redhat.com>
14836
14837 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
14838
14839 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14840
14841 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
14842 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
14843 update stack_alignment_needed.
14844 (prepare_function_start): Initialize stack_alignment_needed
14845 * function.h (struct function): Add field stack_alignment_needed.
14846
14847 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14848
14849 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
14850 Handle live_throughout / dead_or_set instead of live_before /
14851 live_after.
14852 (save_call_clobbered_regs): Get register livenessinformation from
14853 chain->live_throughout.
14854 (add_stored_regs): New function.
14855 (insert_restore, insert_save): Add restored / saved registers to
14856 dead_or_set.
14857 * global.c (reg_dies): New parameter chain.
14858 (reg_becomes_live): Third parameter is regs_set now.
14859 Changed all callers.
14860 (reg_dies): New parameter chain. Changed all callers.
14861 (build_insn_chain): Set live_throughout instead of
14862 live_before / live_after.
14863 * reload.h (struct insn_chain): Replace members live_before /
14864 live_after with live_throughout / dead_or_set.
14865 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
14866 instead of live_before / live_after.
14867 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
14868 (order_regs_for_reload, find_reg, finish_spills): Likewise.
14869 (choose_reload_regs_init): Likewise.
14870 * stupid.c (current_chain, find_clobbered_regs): Delete.
14871 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
14872 instead of chain->live_before / chain->live_after.
14873 (mark_hard_ref): New function.
14874 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
14875
14876 1999-12-15 David S. Miller <davem@redhat.com>
14877
14878 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
14879
14880 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14881
14882 * flow.c (calculate_loop_depth): Make global, remove prototype,
14883 rewrite to use new loop infrastructure.
14884 (find_basic_block): Remove calculate_loop_depth call.
14885 * toplev.c (rest_of_compilation): Call find_basic_block.
14886 * output.h (calculate_loop_depth): Declare.
14887
14888 * flow.c (dump_flow_info): Dump loop_depth.
14889 (flow_loops_nodes_find): Increase loop_depth for basic block in the
14890 body.
14891 (flow_loops_find): Initialize the loop_depth for each basic block.
14892
14893 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14894
14895 * tree.c (decl_function_context): Handle virtual functions.
14896
14897 * tlink.c (scan_linker_output): Don't look in demangled name when
14898 looking for linker output keywords.
14899
14900 * dwarfout.c (output_type): We can defer namespace-scope classes.
14901
14902 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
14903
14904 * regclass.c (record_reg_classes): Update comment for merging
14905 register class preferences in reg->reg copies. Tighten conditions
14906 for merging register class preferences in reg->reg copies.
14907
14908 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
14909
14910 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
14911
14912 1999-12-14 Geoff Keating <geoffk@cygnus.com>
14913
14914 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
14915 (INIT_SECTION_ASM_OP): Delete.
14916 (FINI_SECTION_ASM_OP): Delete.
14917 (STARTFILE_SPEC): Define to hold just crtbegin.o.
14918
14919 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
14920
14921 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
14922 the abstract origin wasn't emitted.
14923
14924 * dwarf2out.c (class_scope_p): New fn.
14925 (gen_subprogram_die): Use it.
14926 (gen_variable_die): Use it. Tweak logic.
14927 (gen_struct_or_union_type_die): Check context_die to determine
14928 if we're function-local.
14929 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14930
14931 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
14932
14933 * loop.c (check_dbra_loop): Can't reverse a biv that has
14934 maybe_multiple set.
14935
14936 1999-12-14 Nick Clifton <nickc@cygnus.com>
14937
14938 * config/arm/arm.c: Add support for -mcpu=arm720 command line
14939 switch.
14940
14941 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14942
14943 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14944 for givs made from biv increments.
14945
14946 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
14947
14948 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14949 * alpha.c (override_options): Recognize -mcpu=ev67.
14950 * alpha.h (CPP_CPU_EV67_SPEC): New.
14951 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14952 (EXTRA_SPECS): Update.
14953
14954 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
14955
14956 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14957 appropriate for -lang-c89 and -std=*.
14958 * cppinit.c (cpp_handle_option): Likewise.
14959 (new_pending_define): New, split out from cpp_handle_option.
14960 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14961 or enable trigraphs for -ansi/-std=*.
14962
14963 * ginclude/stdarg.h (__va_copy): New.
14964 (va_copy): Don't define for C89.
14965
14966 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
14967
14968 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14969 for long long multiply-accumulate.
14970
14971 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14972
14973 * regclass.c (scan_one_insn): Set loop_cost to 1 when
14974 optimizing for size.
14975
14976 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
14977
14978 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14979 if something changed. Back out that part of yesterday's changes.
14980
14981 * loop.c (loop_max_reg): New static variable.
14982 (loop_optimize): Initialize it. Eliminate one unnecessary call to
14983 max_reg_num.
14984 (scan_loop): Call reg_scan_update whenever we may have added new
14985 registers, and update loop_max_reg.
14986
14987 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14988
14989 * regclass.c (record_reg_classes): Do not do the copying preferrencing
14990 when source does not die.
14991
14992 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14993
14994 1999-12-14 Jakub Jelinek <jakub@redhat.com>
14995
14996 * config/sparc/linux64.h (TARGET_LIVE_G0,
14997 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14998 variants on Linux.
14999 * config/sparc/linux.h (TARGET_LIVE_G0,
15000 TARGET_BROKEN_SAVERESTORE): Likewise.
15001 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
15002 TARGET_BROKEN_SAVERESTORE): Likewise.
15003
15004 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
15005 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
15006 not %g2.
15007 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
15008 as sparc64 block profiling register.
15009 * config/sparc/sparc.c (sparc_override_options): Allow block
15010 profiling with -m32.
15011 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
15012 profiling register.
15013 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
15014 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
15015 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
15016
15017 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
15018 for sparc64.
15019 * config/sparc/sparc.h: Likewise.
15020 * config/sparc/xm-sysv4-64.h: Likewise.
15021 * config/float-sparc.h: Likewise.
15022 * glimits.h: Likewise.
15023 * longlong.h: Likewise.
15024
15025 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
15026 (ASM_IDENTIFY_GCC): Remove.
15027
15028 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15029
15030 * combine.c (combine_simplify_rtx): Don't make shared rtl.
15031 (simplify_logical): Likewise.
15032
15033 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15034
15035 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
15036 * cppfiles.c (INO_T_EQ): Likewise.
15037
15038 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15039
15040 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
15041 * i386/mingw32.h (LIB_SPEC): Likewise.
15042 (STARTFILE_SPEC): Likewise.
15043 * i386/uwin.h (LIB_SPEC): Likewise.
15044 (STARTFILE_SPEC): Likewise.
15045
15046 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
15047 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
15048
15049 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
15050
15051 * combine.c (combine_simplify_rtx): Fix order of checks for
15052 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
15053
15054 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
15055
15056 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
15057 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
15058
15059 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15060
15061 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
15062 defined.
15063 * regclass.c (inv_reg_alloc_order): New array.
15064 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
15065
15066 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
15067 counted_for_groups, counted_for_nongroups. Add fields rld and
15068 n_reloads.
15069 * reload.c (push_secondary_reload): Don't set nongroup field of
15070 new reloads.
15071 (push_reload): Likewise.
15072 (find_reloads): Delete code to compute nongroup fields.
15073 * reload1.c (reload_insn_firstobj): New static variable.
15074 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
15075 users changed.
15076 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
15077 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
15078 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
15079 functions.
15080 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
15081 functions.
15082 (struct hard_reg_n_uses): Deleted.
15083 (potential_reload_regs): Deleted.
15084 (init_reload): Initialize spilled_pseudos and pseudos_counted.
15085 (reload): Don't try to allocate reload registers if we already know
15086 we have to make another pass. Call select_reload_regs. Free memory
15087 starting with reload_firstobj when starting another pass.
15088 Don't allocate spilled_pseudos.
15089 (calculate_needs_all_insns): Call copy_reloads for an insn that
15090 needs reloads; don't call calculate_needs.
15091 (spill_cost): New static array.
15092 (used_spill_regs_local): New static variable.
15093 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
15094 to compute potential_reload_regs.
15095 (find_reload_regs): Completely rewritten to use find_reg.
15096 (allocate_reload_reg): Don't test counted_for_groups or
15097 counted_for_nongroups. Lose NOERROR arg and code to give an error;
15098 all cllers changed.
15099 (choose_reload_regs): Add fallback code that uses the existing
15100 register allocation from find_reload_regs.
15101
15102 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
15103
15104 * flow.c (create_edge_list): Cast xmalloc return value.
15105
15106 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
15107
15108 * doprnt.c: Remove incorrect comment closure.
15109
15110 * cse.c: Fix a few minor whitespace goofs.
15111
15112 1999-12-13 Don Bowman <don@pixstream.com>
15113
15114 * mips/vxworks.h: Fix problem with comment termination.
15115 (EXTRA_SECTIONS): Add in_sbss.
15116 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
15117
15118 1999-12-12 David S. Miller <davem@redhat.com>
15119
15120 * cse.c (struct cse_reg_info): Add hash_next member,
15121 reorder rest of struct for better packing on 64-bit
15122 hosts.
15123 (cse_reg_info_tree): Kill.
15124 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
15125 REGHASH_FN): New custom pow2 hash mechanism.
15126 (NBUCKETS): Kill.
15127 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
15128 use a pow2 hash table.
15129 (get_cse_reg_info): Rework to use new REGHASH.
15130 (new_basic_block): Likewise, use HASH_SIZE, and inline
15131 free_element call.
15132 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
15133 and inline free_element call.
15134 (lookup_as_function, insert, flush_hash_table, invalidate,
15135 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
15136 invalidate_for_call, use_related_value, find_comparison_args,
15137 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
15138 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
15139 get_element): Kill.
15140
15141 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
15142
15143 * cse.c (cse_basic_block): Free qty_table consistently.
15144
15145 1999-12-12 David S. Miller <davem@redhat.com>
15146 Jakub Jelinek <jakub@redhat.com>
15147
15148 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
15149 SUBREGs by hand, gen the appropriate hard reg directly.
15150 (movtf reg/mem split): Likewise and alter_subreg on destination
15151 if necessary.
15152 (movtf mem/reg split): Similarly.
15153 (movdf_cc_sp64): Rename from hidden pattern.
15154 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
15155 (movtf_cc_sp64, following split): New pattern and splitter.
15156 (movdf_cc_reg_sp64): Rename from hidden pattern.
15157 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
15158 TARGET_HARD_QUAD.
15159 (movtf_cc_reg_sp64, following split): New pattern and splitter.
15160
15161 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
15162
15163 * loop.c (load_mems): Don't hoist written floating point mem
15164 if -ffloat-store.
15165
15166 1999-12-12 Mark Mitchell <mark@codesourcery.com>
15167
15168 * except.h (struct eh_queue): Add `next' pointer.
15169 (struct eh_status): Make x_ehqueue a pointer.
15170 (push_ehqueue): Declare.
15171 (pop_ehqueue): Likewise.
15172 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
15173 pointer.
15174 (expand_fixup_region_end): Likewise.
15175 (expand_leftover_cleanups): Likewise.
15176 (push_ehqueue): Define.
15177 (pop_ehqueue): Likewise.
15178 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
15179 than doing it inline.
15180 (expand_start_all_catch): Adjust now that ehqueue is a
15181 pointer.
15182 (mark_eh_queue): Mark all level of the queue.
15183 (mark_eh_status): Adjust now that ehqueue is a
15184 pointer.
15185 (init_eh_for_function): Allocate ehqueue.
15186 (free_eh_status): Free it.
15187 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
15188 expansion for a fixup.
15189
15190 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15191
15192 * gthr-single.h (__gthread_active_p): Add prototype arguments.
15193
15194 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
15195 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
15196 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
15197 function_ptr, getpagesize, __enable_execute_stack,
15198 __enable_execute_stack, __clear_insn_cache,
15199 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
15200 _cleanup, _exit, __default_terminate, __terminate_func,
15201 __terminate, __empty, __throw, new_eh_context,
15202 eh_context_initialize, eh_context_static, eh_context_specific,
15203 get_eh_context, __get_eh_context, __get_eh_info,
15204 init_reg_size_table, eh_threads_initialize,
15205 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
15206 __unwinding_cleanup, throw_helper, __throw, __rethrow,
15207 __pure_virtual): Add prototype arguments.
15208 (__bb_exit_func): Cast a sizeof to long when comparing against one.
15209 Cast a signed value to unsigned long when comparing against one.
15210 (new_eh_context): Wrap in _GTHREADS macro.
15211 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
15212 declaration.
15213 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
15214 (throw_helper): Initialize variables `handler_p' and `pc_p'.
15215
15216 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15217
15218 * combine.c (record_promoted_value): Remove unused variable
15219 `links2'.
15220
15221 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
15222
15223 * global.c (record_conflicts): Likewise for `j'.
15224
15225 * genoutput.c (output_insn_data): Don't unnecessarily cast away
15226 const-ness.
15227
15228 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15229
15230 * i386-protos.h (output_387_binary_op, output_fix_trunc,
15231 output_fp_compare): Constify a char*.
15232
15233 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
15234 static prototypes.
15235 (override_options, ix86_comp_type_attributes, print_operand,
15236 output_387_binary_op, output_fix_trunc, output_fp_compare):
15237 Constify a char*.
15238 (ix86_sched_reorder): Mark parameter `clock_var' with
15239 ATTRIBUTE_UNUSED.
15240
15241 * i386.h (DEBUG_PRINT_REG): Constify a char*.
15242
15243 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
15244
15245 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
15246 operand, for use in the Java front-end.
15247
15248 1999-12-10 Ben Collins <bcollins@debian.org>
15249
15250 * configure.in: Fix typo for "-64" in 64bit as check.
15251 * configure: Rebuilt.
15252
15253 1999-12-10 Jakub Jelinek <jakub@redhat.com>
15254
15255 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
15256 appropriate.
15257
15258 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15259
15260 * c-parse.in (string): With -Wtraditional, warn if ANSI string
15261 concatenation is utilized.
15262
15263 * invoke.texi (-Wtraditional): Document it.
15264
15265 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15266
15267 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
15268 Cast a ptrdiff_t to long and pass it to printf with %ld.
15269
15270 1999-12-10 Geoff Keating <geoffk@cygnus.com>
15271
15272 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
15273 68881, we have no 68881 registers at all.
15274 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
15275 value in a 68881 register if it is available.
15276
15277 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
15278
15279 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
15280 for long long multiply-accumulate.
15281
15282 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15283
15284 * loop.c (insert_loop_mem): Undo last change.
15285
15286 1999-12-10 David S. Miller <davem@redhat.com>
15287
15288 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
15289 New functions.
15290 * config/sparc/sparc-protos.h: Add them.
15291 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
15292 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
15293 constraints which use those helpers.
15294 (EXTRA_CONSTRAINT): Use this new macro.
15295 * md.texi: Update sparc target constraints documentation.
15296 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
15297 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
15298 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
15299 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
15300 (movsf high/lo_sum split): Rework for new patterns.
15301 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
15302
15303 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
15304
15305 * c-common.c (c_common_nodes_and_builtins):
15306 Create __builtin_ptrdiff_t and __builtin_size_t.
15307
15308 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
15309
15310 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
15311
15312 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15313
15314 * regclass.c (globalize_reg): Re-instate test that allows
15315 fixed registers to be declared as a variable even after functions
15316 are defined.
15317
15318 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15319
15320 * i386.md (cpu attribute): Add "athlon".
15321 (athlon_decode): New attribute.
15322 (Athlon scheduling units definitions): New.
15323 (fcmp and shld patterns): Set athlon_decode to "vector".
15324 * i386.c (athlon_cost): New.
15325 (m_ATHLON): New.
15326 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
15327 x86_use_sahf): Set for Athlon.
15328 (x86_use_fiop): Unset for Athlon.
15329 (override_options): Define Athlon alignments and "athlon" name.
15330 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
15331 * i386.h (TARGET_ATHLON): New.
15332 (enum processor_type): Add PROCESSOR_ATHLON.
15333 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
15334 for CPU_DEFAULT==5
15335 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
15336
15337 1999-12-09 Andreas Jaeger <aj@suse.de>
15338
15339 * loop.c (record_biv): Declare parameter as int.
15340
15341 * config/i386/i386-protos.h: Declare long_memory_operand.
15342
15343 1999-12-09 Mark Mitchell <mark@codesourcery.com>
15344
15345 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
15346 EXPR_WITH_FILE_LOCATION.
15347
15348 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15349
15350 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
15351 in expander.
15352
15353 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
15354
15355 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
15356 updating code.
15357
15358 1999-12-09 Jakub Jelinek <jakub@redhat.com>
15359
15360 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
15361 default on linux64 again.
15362 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
15363 models for multilibing.
15364 * genmultilib: Accept | as alternative separator within a set in
15365 MULTILIB_OPTIONS.
15366
15367 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
15368
15369 * calls.c (precompute_arguments): Make sure initial_value contains
15370 value pseudo which CSE expects.
15371 * cse.c (struct set): New entry orig_src.
15372 (cse_insn): Set it early on entry, use it for libcall EQUIV note
15373 replacement.
15374
15375 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
15376
15377 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
15378
15379 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
15380
15381 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
15382
15383 1999-12-08 Jakub Jelinek <jakub@redhat.com>
15384
15385 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
15386 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
15387
15388 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
15389 if TARGET_ARCH32.
15390
15391 * longlong.h: Merge in changes from glibc.
15392 Also don't clobber %g2 register in 32bit SPARC assembly, so that
15393 -mno-app-regs libgcc can be compiled.
15394 * libgcc2.c: Add defines so that the updated longlong.h
15395 can be used in libgcc2.a. Also, make sure on most architectures
15396 (at least on all which have optimized code in longlong.h defined
15397 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
15398
15399 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15400
15401 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
15402 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
15403 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
15404 is GNU ld.
15405 * configure: Rebuilt.
15406
15407 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
15408
15409 * alpha.c (secondary_reload_class): For !BWX, sub-simode
15410 outputs require a register.
15411
15412 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
15413
15414 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
15415 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
15416 functions like dptoul will be resolved.
15417 (libgcc2.a): Make sure that the object files from DPBIT are named
15418 differently (prefix `_dp') from those that would be coming from
15419 FPBIT.
15420
15421 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
15422
15423 * configure.in: When target is sparc* and tm_file contains 64,
15424 test for 64bit support in assembler. If not supported, remove
15425 sparc/t-sol2-64 from target-dependent Makefile fragments.
15426 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
15427 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
15428 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
15429 * acconfig.h (AS_SPARC64_FLAG): Added.
15430 * configure, config.in: Rebuilt.
15431 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
15432 support. Use AS_SPARC64_FLAG.
15433
15434 1999-12-07 Jakub Jelinek <jakub@redhat.com>
15435
15436 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
15437 suitable for holding OFmode values so that gcc works with complex
15438 quad long doubles.
15439 (hard_64bit_mode_classes): Likewise.
15440
15441 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
15442 so that it is actually matched.
15443 (sethi_di_medlow): Likewise.
15444
15445 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
15446 as legitimate constant if -mvis.
15447 * config/sparc/sparc.md (movtf): Likewise.
15448 (clear_sf): Use const_double_operand.
15449 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
15450
15451 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
15452 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
15453 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
15454 routines, _Qp_* cannot be handled like that now.
15455 (INIT_TARGET_OPTABS): Likewise.
15456 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
15457 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
15458 sparc_emit_float_lib_cmp if ARCH64 and soft float.
15459 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
15460 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
15461 divtf3, sqrttf3): New expanders.
15462 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
15463 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
15464 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
15465 non-_hq patterns.
15466
15467 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
15468 * configure: Rebuilt.
15469 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
15470 -mcpu is given and we're doing 64bit compiles.
15471
15472 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
15473
15474 * loop.h (struct induction): Add multi_insn_incr.
15475 * loop.c (basic_induction_var): New multi_insn_incr argument.
15476 Set it if we search back through previous insns for the biv.
15477 (record_biv): New multi_insn_incr argument; fill in struct induction.
15478 (strength_reduce): Discard an iv with multiple bivs, any of
15479 which require multiple insns to increment.
15480
15481 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15482
15483 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
15484 documentation.
15485
15486 1999-12-06 David S. Miller <davem@redhat.com>
15487
15488 * combine.c (check_promoted_subreg): Do not conditionalize this upon
15489 PROMOTE_FUNCTION_RETURN.
15490
15491 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
15492
15493 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
15494 and handle REG_UNUSED note on insn.
15495
15496 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
15497 inner_mask instead of mask.
15498
15499 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
15500
15501 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
15502 zero if there was an error.
15503
15504 1999-12-06 Jakub Jelinek <jakub@redhat.com>
15505
15506 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
15507 output string.
15508
15509 * longlong.h: Fix clobbers in SPARC asm statements.
15510
15511 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
15512 valid sethi operations when TARGET_ARCH64.
15513
15514 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
15515 always use move_by_pieces to avoid infinite recursion.
15516 (restore_fixed_argument_area): Likewise.
15517
15518 * combine.c (check_promoted_subreg, record_promoted_value): New
15519 functions.
15520 (combine_instructions): Use them to retain nonzero and sign bit
15521 information after SUBREGs are eliminated by optimizations in
15522 this pass if PROMOTE_FUNCTION_RETURN.
15523
15524 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
15525 .register declaration. Don't use variables with __ prefixes.
15526
15527 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15528
15529 * fold-const.c (optimize_bit_field_compare): Only use one mode
15530 for both RHS and LHS in non-constant case.
15531
15532 1999-12-06 Nathan Sidwell <nathan@acm.org>
15533
15534 * frame.c (start_fde_sort): Only allocate erratic array, if
15535 linear one was allocated. Return allocated flag.
15536 (fde_insert): Only insert, if there's a valid array.
15537 (fde_end_sort): Split, sort and merge if linear and erratic
15538 arrays exist, else just sort linear one.
15539 (search_fdes): New function. Linear search through original fde
15540 structure.
15541 (frame_init): Permit multiple initializations. Cope with
15542 memory shortages.
15543 (find_fde): Fallback on linear search, if failed to sort array.
15544 (__deregister_frame_info): Only free sorted array, if we
15545 allocated it.
15546
15547 1999-12-06 Jakub Jelinek <jakub@redhat.com>
15548
15549 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
15550
15551 1999-12-05 Jakub Jelinek <jakub@redhat.com>
15552
15553 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
15554
15555 1999-12-05 Mark Mitchell <mark@codesourcery.com>
15556
15557 * tree.h (special_function_p): Declare.
15558 * calls.c (special_function_p): Make it global. Don't take `name'
15559 as a parameter. Fix typo in 1999-11-28 change.
15560 (expand_cal): Adjust.
15561
15562 1999-12-04 Mark Mitchell <mark@codesourcery.com>
15563
15564 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
15565 * tree.h (EXPR_WFL_FILENAME): Define in terms of
15566 EXPR_WFL_FILENAME_NODE.
15567 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
15568 the TREE_CHAIN.
15569 * print-tree.c (print_note): Print TREE_PRIVATE and
15570 TREE_PROTECTED.
15571
15572 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
15573 the original die cannot be found.
15574
15575 * varray.h (varray_head_tag): Add elements_used.
15576 (VARRAY_PUSH): New macro.
15577 (VARRAY_POP): Likewise.
15578 (VARRAY_TOP): Likewise.
15579 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
15580 types.
15581 * varray.c (varray_init): Initialize elements_used.
15582 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
15583 (INTEGRATE_H): New variable.
15584 (integrate.o): Depend on INTEGRATE_H.
15585 (unroll.o): Likewise.
15586
15587 * function.h (insert_block_after_note): Declare.
15588 * function.c (insert_block_after_note): Split out from ...
15589 (retrofit_block): ... here.
15590
15591 * stmt.c (expand_fixup): Fix typo in comment.
15592
15593 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15594
15595 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
15596 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
15597 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
15598 (regmove_optimize, fixup_match_1): Likewise.
15599
15600 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15601
15602 * flow.c (flow_loops_dump): Add missing argument when calling
15603 flow_loop_nested_p.
15604
15605 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
15606 Greg McGary <gkm@gnu.org>
15607
15608 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
15609 (init_attributes): Add A_NO_LIMIT_STACK.
15610 (decl_attributes): Handle A_NO_LIMIT_STACK.
15611 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
15612 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
15613 Handle stack bounds checking.
15614 * flags.h (flag_stack_check): Use the word 'probe' rather than
15615 'check', because the flag doesn't actually cause any checking to
15616 be done.
15617 * function.c (expand_function_start): Set
15618 current_function_limit_stack.
15619 * function.h (struct function): Add limit_stack.
15620 (current_function_limit_stack): Define.
15621 * invoke.texi (Code Gen Options): Document new options.
15622 * rtl.h: Declare stack_limit_rtx.
15623 * toplev.c (stack_limit_rtx): New variable.
15624 (decode_f_option): Handle new options -fstack-limit-register=REG,
15625 -fstack-limit-symbol=IDENT, -fno-stack-limit.
15626 (main): Add stack_limit_rtx as GC root.
15627 * tree.h (DECL_NO_LIMIT_STACK): New macro.
15628 (struct tree_decl): New member no_limit_stack.
15629
15630 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
15631 stack_limit_rtx.
15632 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
15633 (conditional_trap+1): Get new mnemonic correct.
15634 (conditional_trap+2): New pattern for DImode traps.
15635
15636 * config/m68k/m68k.c (output_function_prologue): Handle
15637 stack_limit_rtx.
15638 * config/m68k/m68k.md (trap): New insn.
15639 (conditional_trap): New insn.
15640 * md.texi (Standard Names): Document `trap' and
15641 `conditional_trap'.
15642 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
15643 so a cc0 setter doesn't get emitted at some random place in the
15644 function.
15645
15646 * config/i960/i960.md (trap): New insn.
15647 (conditional_trap): New expander.
15648 (conditional_trap+1, conditional_trap+2): New insns for signed
15649 and unsigned cases.
15650 * config/i960/i960.c (i960_function_prologue): Use
15651 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
15652
15653 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
15654 Geoffrey Keating <geoffk@cygnus.com>
15655
15656 * flags.h (warn_padded, warn_packed): Add global var decls.
15657 * toplev.c (warn_padded, warn_packed): Add global var defns.
15658 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
15659 * stor-layout.c (layout_record): Add local variable `type'
15660 to hold often-used TREE_TYPE (field). Add local variable
15661 `unpacked_align' to hold alignment that would be in force
15662 if no `packed' attribute were present. Warn if `packed' attribute
15663 is unnecessary, or even harmful. Warn when gcc inserts padding
15664 to satisfy alignment requirements of members. Use NULL_TREE
15665 when checking whether var_size is set.
15666 * invoke.texi: Document new flags.
15667
15668 1999-12-03 Nathan Sidwell <nathan@acm.org>
15669
15670 * frame.c (fde_split): Reimplement to avoid variable sized array.
15671
15672 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15673
15674 * combine.c (try_combine): Before fixing up LOG_LINKS for the
15675 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
15676
15677 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
15678
15679 * invoke.texi: Document the mips option -mno-crt0
15680
15681 1999-12-02 Mike Karr <mkarr@mathworks.com>
15682
15683 * cccp.c (argdata): Added free_ptr member.
15684 (macroexpand): Initialize free_ptr of each argument. When an
15685 argument's buffers are freed, if the argument's free_ptr corresponds
15686 to a buffer on the input stack, then return the free_ptr to that stack
15687 frame, otherwise, free it.
15688 (macarg): If an argument begins and ends on the same input stack level,
15689 then transfer the free_ptr of that buffer to the argument in case
15690 the stack is popped during the processing of a subsequent argument.
15691
15692 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
15693
15694 * loop.c (note_reg_stored): New function.
15695 (struct note_reg_stored_arg): New structure.
15696 (try_copy_prop): Change to be more conservative; only replace within
15697 one extended basic block and stop replacing if a store to the
15698 replacement reg is seen.
15699
15700 1999-12-02 Nick Clifton <nickc@cygnus.com>
15701
15702 * config/fp-bit.c: Initialise all fields of the NAN
15703 constants.
15704
15705 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
15706 to HANDLE_PRAGMA.
15707
15708 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
15709
15710 * i386.md (extend?f?f2): Force the input into a register, not
15711 the output.
15712
15713 1999-12-01 Jakub Jelinek <jakub@redhat.com>
15714
15715 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
15716 regclass' sake.
15717 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
15718 alternative because setting up 64bit constant is usually costly,
15719 especially when reload is in progress or completed.
15720 (movdf_const_intreg_sp64): Likewise.
15721 (movdf_const_intreg split): Fix building up constants when
15722 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
15723
15724 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
15725
15726 * combine.c (if_then_else_cond): Use const_true_rtx instead of
15727 const1_rtx for return values in EQ/NE comparison against (const_int 0)
15728 case.
15729
15730 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
15731 (asm_file_start): Emit .am33 into assembly file when compiling for
15732 the AM33.
15733 (print_operand_address): Handle POST_INC addresses.
15734 (can_use_return_insn, initial_offset): Check AM33 registers too.
15735 (expand_prologue): Check & save AM33 registers too.
15736 (expand_epilogue): Similarly.
15737 (secondary_reload_class): Handle AM33 specific secondary reloads.
15738 (output_tst): Emit efficient code for the AM33 too.
15739 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
15740 (TARGET_SWITCHES): Add -mam33 switch.
15741 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
15742 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
15743 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
15744 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
15745 (enum reg_class, REG_CLASS_NAMES): Likewise.
15746 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
15747 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
15748 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
15749 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
15750 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
15751 (HAVE_POST_INCREMENT): Define.
15752 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
15753 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
15754 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
15755 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
15756 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
15757 (zero_extend to SI from QI/HI): Likewise.
15758 (sign_extend to SI from QI/HI): Likewise.
15759 (mulsidi3, umulsidi3): New patterns for the AM33.
15760 (tstsi with zero extension from QI/HI): Add AM33 variants.
15761 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
15762 (return_internal_regs, store_movm): Handle new AM33 registers.
15763 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
15764 (LIBGCC, INSTALL_LIBGCC): Likewise.
15765 * invoke.texi: Document new flags.
15766
15767 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15768
15769 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
15770 (addsi3_carry): Likewise.
15771 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
15772 (sbbsi3_carry): Likewise.
15773 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
15774 (mulhi3): Likewise.
15775 (test?i_1): Ensure that only one operand is memory.
15776 (conditional move patterns): likewise.
15777 (shift and rotate patterns): Rewrite to expander, add
15778 "binary_operator_ok" to the condition.
15779
15780 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
15781 * i386.h (procesor_costs): Add movzbl_load field.
15782 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
15783 non-Q registers, accept DImode registers anywhere.
15784 (Q_CLASS_P): New.
15785 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
15786 * i386.c (*_cost): Set value for movxbl_load field.
15787
15788 * (addsi): New add to lea splitter.
15789 (ashlsi): Likewise.
15790 (lea to add/shift peep2): New.
15791
15792 1999-12-01 Mark Salter <msalter@cygnus.com>
15793
15794 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
15795 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
15796 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
15797
15798 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15799
15800 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
15801 * i386.md (movsi_xor): New.
15802 (movsi_or): New.
15803 (movsi_1, movhi_1, movqi_1): Remove.
15804 (movsi_2): Rename to movsi_1.
15805 (movhi_2): Rename to movhi_1.
15806 (movqi_2): Rename to movqi_1.
15807 (movdi_1): Remove; remove splitter.
15808 (movdi_2): Rename to movdi_1.
15809 (divmodsi4 splitter): Do not emit clobbers for move patterns.
15810 (long move peep2): Do not create QI or HI mode mov0s
15811 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
15812
15813 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
15814 rewrite splitters.
15815
15816 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
15817 (abs?f2_if): Likewise.
15818
15819 1999-11-30 Alex Samuel <samuel@codesourcery.com>
15820
15821 * ggc.h (ggc_test_and_set_mark): New macro.
15822 (ggc_mark_rtx): Use ggc_test_and_set_mark.
15823 (ggc_mark_tree): Likewise.
15824 (ggc_mark_rtvec): Likewise.
15825 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
15826
15827 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
15828
15829 * dwarf2out.c (scope_die_for): Only handle types. Only search for
15830 containing types.
15831 (decl_scope_table): Just an array of trees now.
15832 (push_decl_scope): Simplify.
15833 (dwarf2out_init): Adjust.
15834 (local_scope_p): New fn.
15835 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
15836 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
15837 (gen_typedef_die): Likewise.
15838 (gen_lexical_block_die): Don't call push/pop_decl_scope.
15839 (gen_inlined_subroutine_die): Likewise.
15840 (gen_abstract_function): Set current_function_decl temporarily.
15841 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
15842 Handle block extern declarations. Don't call push/pop_decl_scope.
15843 (gen_decl_die): Fix logic for block externs.
15844
15845 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15846
15847 * calls.c (special_function_p): Remove `realloc' and add `strdup'
15848 to the list of functions which have attribute malloc by default.
15849
15850 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15851
15852 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
15853 integer constant does not match the traditional type, limit the
15854 warnings to cases where the base of the type is ten.
15855
15856 * invoke.texi (-Wtraditional): Document it.
15857
15858 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15859
15860 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
15861 * rs6000.md: Only access a CONST_INT with INTVAL
15862
15863 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
15864
15865 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
15866 (compute_nearerout): Likewise.
15867 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
15868 size_t to unsigned long for formatting.
15869
15870 1999-11-30 Jakub Jelinek <jakub@redhat.com>
15871
15872 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
15873 Allow the user to override call-used/fixed state of %g2-5
15874 registers from the command line (with the exception of %g4 for
15875 embedded model).
15876 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
15877 there is a higher chance of having a leaf function.
15878 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
15879 for ARCH64 which has %ccr register.
15880 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
15881 patterns.
15882 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
15883 insn accept into delay slot any insn which does not use %[ol]
15884 registers. Accept some LO_SUM and shift left by 1 for the normal
15885 restore case.
15886 (output_function_epilogue): Likewise.
15887 (epilogue_renumber): Added argument which inhibits any renumbering
15888 and just tests if the rtx does not use any %[ol] registers.
15889 (output_return): Reflect above change.
15890
15891 1999-11-30 Jakub Jelinek <jakub@redhat.com>
15892
15893 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
15894 aggregate passing for sizes <= 16 bytes.
15895
15896 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
15897
15898 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
15899 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
15900 * reload.c (find_dummy_reload): Likewise.
15901 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
15902 * reload1.c (reload_as_needed): Likewise.
15903 * stupid.c (stupid_find_reg): Likewise.
15904 * tm.texi (Obsolete Register Macros): Delete section.
15905 * gmicro.h: Remove all traces of the two macros.
15906 * i386.h: Likewise.
15907 * m88k.h: Likewise.
15908 * mips.h: Likewise.
15909
15910 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
15911
15912 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
15913 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
15914 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
15915 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
15916 units for the sparclite86x chip.
15917 (flush): Revert October 14th change; add SImode specifically.
15918 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
15919 * invoke.texi: Document it.
15920
15921 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
15922
15923 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15924 psimode_truncation_operand.
15925
15926 * config/mn10200/mn10200.c (psimode_truncation_operand): New
15927 function. Return true if the operand is either a MEM valid
15928 for a PSImode address or not a MEM at all.
15929
15930 * config/mn10200/mn10200.md (truncsipsi2): Use
15931 psimode_truncation_operand.
15932
15933 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15934
15935 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15936 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15937 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15938 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15939 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15940 (flow_loop_level_compute, low_loops_level_compute): Likewise.
15941 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15942 * basic-block.h: Protect from multiple inclusion.
15943 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15944 (struct loops, struct loop): Define structures.
15945 * sbitmap.c (sbitmap_a_subset_b_p): New function.
15946 * sbitmap.h: Protect from multiple inclusion.
15947 (sbitmap_a_subset_b_p): Add prototype.
15948 * Makefile.in (LOOP_H): New macro.
15949 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15950
15951 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
15952
15953 * cppinit.c (CAT): The argument list of this macro may not contain
15954 spaces !
15955
15956 1999-11-29 David S. Miller <davem@redhat.com>
15957
15958 Move quantity tables and register equivalence chains into
15959 per-qty and per-register structure arrays respectively.
15960 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15961 qty_const_insn, qty_comparison_code, qty_comparison_const,
15962 qty_comparison_qty): Delete, replace with...
15963 (qty_table): this structure table.
15964 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15965 (reg_eqv_table): this structure table.
15966 (make_new_qty): Add argument MODE. Caller updated.
15967 Update to use qty_table and reg_eqv_table.
15968 (make_regs_eqv, delete_reg_equiv, insert_regs,
15969 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15970 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15971 cse_process_notes, cse_main, cse_basic_block): Likewise.
15972
15973 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15974
15975 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15976 operation if C is negative.
15977 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15978 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15979 law for some divisions if constant is negative and change other
15980 divisions to the opposite rounding.
15981
15982 * expr.c (store_constructor_field): If bit position is not multiple
15983 of alignment of TARGET's mode, use BLKmode.
15984
15985 * expr.c (expand_expr_unaligned): Add more code from full case
15986 that is needed when OP0 is in a register.
15987
15988 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15989
15990 * dwarfout.c (field_byte_offset): Size can be zero if there was
15991 an error.
15992
15993 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
15994
15995 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15996 (associate_trees): Delete unused var TEM.
15997 (extract_muldiv): Delete unused var CANCEL_P.
15998
15999 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
16000 (target_isinf, target_isnan, target_negative): Add return types to
16001 function definitions.
16002
16003 1999-11-29 Bruce Korb <autogen@linuxbox.com>
16004
16005 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
16006 * fixinc/hackshell.tpl: ditto
16007 * fixinc/fixtests.c(double_slash_test): more C++ header testing
16008 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
16009
16010 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
16011
16012 * reload.c (push_reload): When looking for a register to put into
16013 reg_rtx, make sure all hard regs in a multi-reg register are in the
16014 right class and nonfixed.
16015
16016 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
16017 pending_read_insns, pending_write_insns, pending_read_mems,
16018 pending_write_mems, pending_list_length, last_pending_memory_flush,
16019 last_function_call, sched_before_next_call): Move static variables
16020 into a structure.
16021 (bb_ prefixed versions): Replace with single array bb_deps.
16022 (struct deps): New structure.
16023 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
16024 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
16025 argument of type "struct deps *"; use that instead of global
16026 variables. All callers changed.
16027 (init_rgn_data_dependencies): Delete function.
16028 (init_rtx_vector): Delete function.
16029 (init_deps): New function.
16030
16031 (free_pending_lists): Simplify, we always use the bb_deps array even
16032 if only one basic block.
16033 (compute_block_backward_dependences): Likewise.
16034 (schedule_region): Likewise.
16035
16036 (propagate_deps): New function, broken out of
16037 compute_block_backward_dependences.
16038 (compute_block_backward_dependences): Use it.
16039
16040 * alpha.md: Delete useless patterns that tried to work around
16041 register elimination problems.
16042
16043 * unroll.c (loop_iterations): Don't abort if iteration variable
16044 was made by loop.
16045
16046 From Joern Rennecke:
16047 * reload1.c (reloads_conflict): Reverse test comparing operand
16048 numbers when testing for conflict between output/outaddr reloads.
16049
16050 1999-11-29 David S. Miller <davem@redhat.com>
16051
16052 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
16053 arg.
16054 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
16055
16056 1999-11-28 Robert Lipe <robertl@cygnus.com>
16057
16058 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
16059 table from .fini into .dtor.
16060
16061 1999-11-28 Anthony Green <green@cygnus.com>
16062
16063 * tree.h (struct tree_decl): Add malloc_flag.
16064 (DECL_IS_MALLOC): Define.
16065 * c-common.c (attrs): Add A_MALLOC attribute.
16066 (init_attributes): Add this attribute to the table.
16067 (decl_attributes): Handle malloc attribute.
16068 * calls.c (special_function_p): Check for the malloc attribute.
16069 * extend.texi (Function Attributes): Document malloc attribute.
16070
16071 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
16072
16073 * pa.md (reload shift-add patterns): Remove.
16074
16075 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16076
16077 * reorg.c (dbr_schedule) Print more statistics. Corrected
16078 problem when printing info when 3 delay slots are filled.
16079
16080 1999-11-28 Jakub Jelinek <jakub@redhat.com>
16081
16082 * combine.c (setup_incoming_promotions): Pass an outgoing
16083 regno to FUNCTION_ARG_REGNO_P which it expects.
16084
16085 1999-11-28 Andreas Jaeger <aj@suse.de>
16086
16087 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
16088
16089 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
16090
16091 * cccp.c (do_include): Avoid initialization of automatic variable.
16092
16093 * integrate.c (mark_stores): Function definition made void, to match
16094 previous declaration.
16095 * regclass.c (dump_regclass): Ditto.
16096 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
16097
16098 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16099
16100 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
16101 known to be multiple of divisor.
16102
16103 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
16104
16105 * combine.c (try_combine): Add code to try to merge a set of a
16106 two-word pseudo to a constant with a setting of one of those words
16107 to a constant.
16108
16109 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
16110 (split_tree): Completely rework to make more general.
16111 (make_range, fold): Call negate_expr.
16112 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
16113 (fold, associate): Call new split_tree and associate_trees.
16114 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
16115
16116 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
16117
16118 * loop.c (try_copy_prop): Avoid GNU C extension.
16119
16120 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16121
16122 * except.c (init_eh_for_function): Still zero eh_return_context,
16123 eh_return_stack_adjust, and eh_return_handler.
16124
16125 * except.h (eh_status): Adjust documentation for x_protect_list.
16126 (begin_protect_partials): New function.
16127 * except.c (enqueue_eh_entry): Fix formatting.
16128 (get_first_handler): Add consistency check.
16129 (add_partial_entry): Adjust usage of protect_list.
16130 (emit_cleanup_handler): Save and restore ehqueue.
16131 (expand_start_all_catch): Add comment.
16132 (begin_protect_partials): New function.
16133 (end_protect_partials): Adjust usage of protect_list.
16134 (init_eh_for_function): Use xcalloc.
16135
16136 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16137
16138 * c-common.c (check_format_info): Don't call a variadic function
16139 with a non-literal format string.
16140
16141 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
16142
16143 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
16144 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
16145 Likewise.
16146
16147 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
16148 Likewise.
16149
16150 * collect2.c (collect_wait): Likewise.
16151
16152 * dbxout.c (dbxout_type): Likewise.
16153
16154 * gcc.c (do_spec_1): Likewise.
16155
16156 * genemit.c (gen_insn, gen_expand): Likewise.
16157
16158 * genrecog.c (write_switch, write_subroutine): Likewise.
16159
16160 * mips-tfile.c (catch_signal, botch): Likewise.
16161
16162 * print-rtl.c (print_rtx): Likewise.
16163
16164 * toplev.c (default_print_error_function, report_error_function,
16165 _fatal_insn): Likewise.
16166
16167 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16168
16169 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
16170
16171 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16172
16173 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
16174 operations when needed.
16175 * i386.md (fop_?f_comm): New.
16176 (fop_?f_1): Do not accept commutative operands.
16177
16178 1999-11-25 Andreas Jaeger <aj@suse.de>
16179
16180 * config/mips/mips.md (casesi_internal): Add missing brace.
16181
16182 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
16183
16184 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
16185 (splice_child_die): Handle moving a child DIE from the declaration
16186 DIE of a class to its specification.
16187 (gen_struct_or_union_type_die): Use 'complete' consistently.
16188 (gen_decl_die): Generate the virtual context DIE first.
16189 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
16190
16191 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
16192
16193 * config/mips/mips.md (call_value_multiple_interanal1): New.
16194
16195 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16196
16197 * dwarf2out.c (free_AT, free_die): New fns.
16198 (remove_children): Call them.
16199 (output_line_info): Disable removal of duplicate notes.
16200
16201 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
16202 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
16203 means pretend the type isn't defined.
16204 Don't defer emitting types.
16205 (gen_type_die_for_member): New fn.
16206 (gen_decl_die): Call it.
16207 (splice_child_die): New fn.
16208 (gen_member_die): Call it rather than generate duplicate dies.
16209
16210 Defer emitting information for the abstract instance of an inline
16211 until we either inline it or emit an out-of-line copy.
16212 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
16213 from output_inline_function if DECL_ABSTRACT is also set.
16214 (block_ultimate_origin): Likewise.
16215 (gen_abstract_function): New fn.
16216 (gen_decl_die, gen_inlined_subroutine_die): Call it.
16217 (gen_subprogram_die): An abstract instance is not a declaration
16218 just because it doesn't match current_function_decl. Don't abort
16219 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
16220 has an abstract origin.
16221 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
16222 abstract instance here.
16223
16224 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
16225
16226 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
16227 where we need to reload fpul from a system register.
16228
16229 1999-11-24 Andreas Jaeger <aj@suse.de>
16230
16231 * config/mips/linux.h (CPP_PREDEFINES): Added.
16232 (LINK_SPEC): Remove -Y since this is only needed on sparc.
16233
16234 1999-11-24 Andreas Jaeger <aj@suse.de>
16235
16236 * config/mips/linux.h (TARGET_VERSION): Added.
16237 (HANDLE_SYSV_PRAGMA): Added.
16238 (DEFAULT_VTABLE_THUNKS): Added.
16239
16240 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16241
16242 * local-alloc.c (qty): New structure and static variable.
16243 (qty_phys_reg): Remove, all references changed to qty.
16244 (qty_n_refs): Likewise.
16245 (qty_min_class): Likewise.
16246 (qty_birth): Likewise.
16247 (qty_death): Likewise.
16248 (qty_size): Likewise.
16249 (qty_mode): Likewise.
16250 (qty_n_calls_crossed): Likewise.
16251 (qty_alternate_class): Likewise.
16252 (qty_changes_size): Likewise.
16253 (qty_first_reg): Likewise.
16254 (alloc_qty): Rename variable QTY to QTYNO.
16255 (finf_free_reg): Likewise.
16256 (local_alloc): Allocate qty, do not allocate the removed variables.
16257
16258 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
16259
16260 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
16261 when -membedded-pic is passed.
16262
16263 * config/mips/mips.md (casesi): Handle 64-bit case too.
16264 (casesi_internal_di): New insn.
16265
16266 * config/mips/mips.c (embedded_pic_offset): Always make the
16267 embedded-pic subtractions relative to the name of the current
16268 function by use of the magic string "..CURRENT_FUNCTION".
16269 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
16270
16271 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
16272
16273 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
16274 of (const_int 0), when what we really care about is
16275 whether it's a zero constant anyway.
16276 (div_trap_mips16): Likewise.
16277
16278 1999-11-23 Mark Mitchell <mark@codesourcery.com>
16279
16280 * loop.c (loop_optimize): Always find_loop_tree_blocks and
16281 unroll_block_trees when generating debuggable code.
16282
16283 * tree.h (unsave_expr_1): New function.
16284 (lang_unsave): New variable.
16285 (get_callee_fndecl): New function.
16286 * tree.c (unsave_expr_now_r): New function.
16287 (lang_unsave): Define.
16288 (unsave_expr_1): Likewise.
16289 (unsave_expr_now_r): Split out from unsave_expr_now.
16290 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
16291 call unsave_expr_now_r.
16292 (get_callee_fndecl): Define.
16293
16294 * Makefile.in (gencheck): Don't depend on lang_tree_files.
16295 (gencheck.o): Do depend on lang_tree_files.
16296
16297 * integrate.h (copy_decl_for_inlining): New declaration.
16298 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
16299 (copy_decl_for_inlining): New function.
16300 (integrate_parm_decls): Use it.
16301 (integrate_decl_tree): Likewise.
16302
16303 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
16304
16305 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
16306 the second two from the first.
16307 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
16308 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
16309 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
16310 ISA_HAS_FP4.
16311 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
16312 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
16313 ISA_HAS_FP4.
16314
16315 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
16316
16317 * pa.md (call_internal_symref, call_value_internal_symref): No mode
16318 needed on the address operand.
16319 * pa.c (call_operand_address): Check for the correct mode.
16320
16321 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
16322
16323 * loop.c: Include "basic-block.h".
16324 (try_copy_prop, replace_loop_reg): New functions.
16325 (load_mems): Detect registers that just hold copies of the hoisted
16326 mem, and call try_copy_prop to eliminate them.
16327 * Makefile.in (loop.o): Update dependencies.
16328
16329 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
16330
16331 * Makefile.in (gencheck.o): Depend on gencheck.h.
16332 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
16333 (insn-peep.o): Depend on except.h and function.h.
16334 (insn-attrtab.o): Depend on RECOG_H.
16335 (insn-output.o): Depend on toplev.h and flags.h.
16336 (gengenrtl.o): Depend on real.h.
16337 (gen-protos.o): Depend on cpplib.h and cpphash.h.
16338 Unify all dependencies to be on RECOG_H rather than recog.h.
16339
16340 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16341
16342 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
16343 * configure.in: Try building a bi-arch 32/64-bit compiler on
16344 sparc-*-solaris2.7 and higher.
16345 * configure: Rebuild.
16346
16347 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
16348
16349 * config/freebsd.h: New, FreeBSD architecture independent file.
16350 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
16351 independent pieces.
16352 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
16353 directly by i386/freebsd.h.
16354 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
16355 independent configuration file.
16356 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
16357 directly by i386/freebsd.h.
16358 * configure: Rebuilt.
16359
16360 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
16361 which is in the user's namespace.
16362 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
16363 `i386' which is not in our namespace.
16364
16365 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
16366
16367 * invoke.texi (ARM Options): Add in -mno-alignment-traps
16368
16369 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
16370
16371 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
16372 (add_dwarf_attr, add_child_die): Just push onto the front.
16373 (reverse_die_lists): New fn.
16374 (add_sibling_attributes): Use it.
16375 (push_decl_scope): Reorganize.
16376 (add_name_and_src_coords_attributes): Don't set file and line for
16377 an artificial decl.
16378 (gen_subprogram_die): An artificial function doesn't need to match
16379 file and line.
16380 (gen_compile_unit_die): Return the generated die. Only add
16381 AT_comp_dir if the filename is relative.
16382 (remove_AT): Simplify loop. Also free string values.
16383 (output_die): A DIE ref can't be null.
16384 (output_value_format, value_format): Take a dw_attr_ref.
16385 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
16386 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
16387 AT_addr, AT_lbl): New fns.
16388 (various): Use them.
16389 (various): Constify.
16390
16391 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16392
16393 * combine.c (combine_simplify_rtx): When handling a SUBREG,
16394 take SUBREG_WORD into account.
16395 (if_then_else_cond): Likewise.
16396
16397 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
16398
16399 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
16400 clause from BSD license, pursuant with
16401
16402 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
16403
16404 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
16405
16406 * loop.c (load_mems): Reformat slightly.
16407 * basic-block.h (regset_head): New typedef.
16408 (INIT_REG_SET): New macro.
16409
16410 1999-11-22 Bruce Korb <autogen@linuxbox.com
16411
16412 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
16413 (mips-dec-bsd*): non-functional code
16414 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
16415
16416 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
16417 added three replacement fixes
16418 (no_double_slash): removed comments that are not (any longer) pertinent
16419 (bad_lval): this fix currently runs against many files.
16420 The comment seems to indicate that we should select for files
16421 containing 'pragma extern_prefix'.
16422
16423 * fixinc/fixinc.x86-linux-gnu: deleted
16424 * fixinc/inclhack.sh: regen
16425 * fixinc/fixincl.x: regen
16426 * fixinc/fixincl.sh: regen
16427
16428 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
16429
16430 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
16431 its code is INSN and it has no notes.
16432
16433 1999-11-22 Andrew Haley <aph@cygnus.com>
16434
16435 * varasm.c (function_defined): Remove.
16436 (make_function_rtl): Don't set function_defined.
16437 (make_decl_rtl): Remove global register warning.
16438 * regclass.c (no_global_reg_vars): New variable.
16439 (globalize_reg): Warn if function has already been defined.
16440 (regclass_init): Set no_global_reg_vars.
16441
16442 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16443
16444 * regclass.c (reg_pref): New structure and static variable
16445 (prefclass): Delete.
16446 (altclass): Delete.
16447 (all uses of prefclass and altclass): Use reg_pref instead.
16448
16449 1999-11-21 Nick Clifton <nickc@cygnus.com>
16450
16451 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
16452 -malignment-traps.
16453 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
16454 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16455 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16456
16457 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
16458
16459 * varasm.c (output_constructor): Solve problem with long long
16460 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
16461
16462 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16463
16464 * global.c (allocno): New structure and static variable.
16465 (allocno_reg): Remove, all references replaced by allocno.
16466 (allocno_size): Likewise.
16467 (hard_reg_conflicts): Likewise.
16468 (hard_reg_preferences): Likewise.
16469 (hard_reg_copy_preferences): Likewise.
16470 (hard_reg_full_preferences): Likewise.
16471 (regs_someone_prefers): Likewise.
16472 (allocno_calls_crossed): Likewise.
16473 (allocno_n_refs): Likewise.
16474 (allocno_live_length): Likewise.
16475 (find_reg): Rename ALLOCNO to NUM.
16476
16477 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
16478 references updated.
16479 (may_move_out_cost): New variable.
16480 (init_reg_sets_1): Initialize may_move_out_cost.
16481 (record_reg_classes): Use may_move_out_cost.
16482
16483 * regclass.c (dump_regclass): New function.
16484 (regclass): New parameter DUMP, call DUMP_REGCLASS.
16485 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
16486 pass rtl_dump_file to regclass.
16487 * rtl.h (regclass): Update prototype.
16488
16489 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16490
16491 * i386.md (neg, not and abs patterns): Revmap to use
16492 ix86_expand_unary_operator and ix86_unary_operator_ok.
16493 (add?f and sub?f expanders): Force operand 1 to register.
16494 * i386.c (ix86_expand_unary_operator): Rewrite.
16495 (ix86_unary_operator_ok): Ensure that memory operands
16496 match real opcode.
16497 (ix86_binary_operator_ok): Do not allow operand 1 to
16498 come into memory and operand 0 not.
16499 (ix86_expand_binary_operator): Ensure that
16500 src1 is not non-matching memory.
16501
16502 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
16503 to support integer registers and memory.
16504 (abss?2_integer): Likewise.
16505
16506 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
16507 (REG_CLASS_NAMES): Likewise.
16508 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
16509 and GENERAL_REGS.
16510 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
16511 (movsf): Likewise; unify 4th and 5th alternative.
16512 (pushdf): Likewise.
16513 (movdf_1): Likewise; rename to movdf_integer.
16514 (pushxf): Likewise; rename to pushxf_integer; fix output template;
16515 remove redundant splitter.
16516 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
16517 (movdf_nointeger): New.
16518 (movxf_nointeger): New.
16519 (pushxf_nointeger): New.
16520
16521 * i386.md (extend?f?f): Split to expander and pattern, refuse two
16522 memory operands in patterns.
16523 (fop*): Refuse two memory operands.
16524
16525 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
16526 on !TARGET_USE_CLTD CPUs.
16527
16528 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
16529
16530 * extend.texi: Document C++ restricted pointers and references.
16531
16532 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
16533
16534 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
16535 (invalidate_skipped_set): Call it unconditionally.
16536 (cse_set_around_loop): Likewise.
16537
16538 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
16539
16540 * rtl.texi (mem): Add documentation for alias-set argument
16541 to RTX `mem'.
16542
16543 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16544
16545 * i386.h (struct_processor_costs): New fields int_load, int_store,
16546 fp_move, fp_load and fp_store
16547 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
16548 fp->int moves
16549 (MEMORY_MOVE_COST): New macro.
16550 * i386.c (386_cost): Define new fields.
16551 (i486_cost): Likewise.
16552 (pentium_cost): Likewise.
16553 (pentiumpro_cost): Likewise.
16554 (k6_cost): Likewise.
16555
16556 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
16557 Geoffrey Keating <geoffk@cygnus.com>
16558
16559 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
16560
16561 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
16562 MASK_ALIGN_INT.
16563
16564 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
16565 (TARGET_STRICT_ALIGNMENT): New macro.
16566 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
16567 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
16568 * invoke.texi (M680x0 Options): Document -mstrict-align.
16569
16570 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
16571 Richard Henderson <rth@cygnus.com>
16572
16573 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
16574 (ix86_split_long_move): Declare.
16575 * i386.c (split_xf, ix86_split_movdi): Remove.
16576 (ix86_split_to_parts, ix86_split_long_move): New.
16577 * i386.md (dimode move splitters): Use ix86_split_long_move.
16578 (dfmode move splitters): Likewise.
16579 (xfmode move splitters): Likewise.
16580 (movsf_1): Allow F->r.
16581 (movdf_1, movxf_1): Allow F->ro.
16582
16583 1999-11-17 Mark Mitchell <mark@codesourcery.com>
16584
16585 * except.h (struct eh_entry): Add goto_entry_p.
16586 (eh_region_from_symbol): Remove prototype.
16587 * except.c (find_func_region_from_symbol): New function.
16588 (emit_cleanup_handler): Likewise.
16589 (eh_region_from_symbol): Make it static.
16590 (add_new_handler): Verify the argument.
16591 (find_func_region): Update comment.
16592 (expand_eh_region_end): Expand handlers here, rater than waiting
16593 until expand_leftover_cleanups or start_all_catch.
16594 (expand_leftover_cleanups): Don't expand here.
16595 (expand_start_all_catch): Or here.
16596 (expand_rethrow): Check the return value from find_func_region.
16597 * function.c (expand_function_end): Emit the catch_clauses.
16598
16599 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
16600
16601 * integrate.c (expand_inline_function): Add necessary check for NULL.
16602
16603 1999-11-18 Nick Clifton <nickc@cygnus.com>
16604
16605 * toplev.c (main): Correctly detect an unrecognised option.
16606
16607 * cppinit.c (cpp_handle_option): Do not claim to have consumed
16608 a -f option if it has not been recognised.
16609
16610 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
16611
16612 * basic-block.h (update_life_extent): Remove trailing comma on
16613 enumeration type list.
16614
16615 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16616
16617 * varasm.c (output_constructor) Solved problem with long long
16618 bitfields. Corrected calculating this_time and shift. Also
16619 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
16620
16621 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
16622
16623 * flow.c (split_edge): Take looping structure into account when
16624 determining where to put the new block note.
16625
16626 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
16627
16628 * Makefile.in (ggc-none.o): Provide host specific version if
16629 needed.
16630
16631 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
16632
16633 * cse.c (delete_trivially_dead_insns): Identify no-op insns
16634 containing subregs too.
16635
16636 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
16637
16638 * invoke.texi: Add documentation for -muninit-const-in-rodata.
16639 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
16640 (TARGET_UNINIT_CONST_IN_RODATA): Define.
16641 (text_section): Add switches -munint-const-in-rodata and
16642 -mno-uninit-const-in-rodata.
16643 (ASM_OUTPUT_COMMON): Remove.
16644 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
16645 const objects should be placed in read-only data. Otherwise declare
16646 them in common.
16647
16648 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
16649
16650 * jump.c (jump_optimize_1): Revert last change.
16651
16652 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
16653
16654 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
16655 test if optimizing for size.
16656
16657 1999-11-17 Mark Mitchell <mark@codesourcery.com>
16658
16659 * Makefile.in (toplev.o): Depend on except.h.
16660 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
16661
16662 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16663
16664 * i386.md (divmodsi4): Rewrite to expander.
16665 (*divmodsi4_nocltd): New.
16666 (*divmodsi4_cltd): New.
16667 (divmodsi4 splitter): Handle the case when input comes in edx.
16668 (udivmodhi4): Do not use constraints in exander.
16669 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
16670
16671 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
16672
16673 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
16674 for the common case.
16675
16676 1999-11-16 Jakub Jelinek <jakub@redhat.com>
16677
16678 * explow.c (hard_function_value): Add outgoing argument.
16679 * expr.h (hard_function_value): Declare it.
16680 * calls.c (expand_call, emit_library_call_value): Update callers.
16681 * function.c (aggregate_value_p): Ditto.
16682 (diddle_return_value): Must look at the outgoing registers
16683 on archs with register windows.
16684
16685 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
16686
16687 * alpha.c (alpha_build_va_list): Use make_lang_type and
16688 initialize TYPE_NAME for the va_list record.
16689
16690 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
16691
16692 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
16693 for printing.
16694 * ggc.h (struct ggc_statistics): Rearrange elements for better
16695 packing on 64-bit hosts.
16696 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
16697 (compute_nearerout): Likewise.
16698
16699 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
16700
16701 * config/rs6000/rs6000.c (first_reg_to_save): Save
16702 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
16703
16704 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
16705
16706 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
16707 notion of nesting to find the DIE for a type or function.
16708 DIEs can go in limbo even if we got a context_die.
16709 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
16710 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
16711 for local type.
16712 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
16713 (gen_type_die): Writing out the context doesn't cause member class
16714 template instantiations to be written out as well.
16715
16716 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
16717
16718 * rs6000.h (ASM_OUTPUT_DEF): New.
16719 Based on proposed addition from David Edelsohn.
16720
16721 1999-11-15 Robert Lipe <RobertLipe@usa.net>
16722 Bruce Korb <autogen@linuxbox.com>
16723
16724 * fixinc/inclhack.def
16725 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
16726 (unixware7_byteorder_fix): added. Removes conflicts for new defs
16727 in net/inet.h.
16728 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
16729 (svr4_endian): enabled with SVR5
16730 (svr4_mkdev): simplified syntax and enabled with SVR5
16731
16732 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
16733
16734 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
16735 * configure: Rebuilt.
16736 * config/t-freebsd-thread: New file.
16737
16738 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
16739
16740 * i386.c (ix86_decompose_address): Verify the base is a REG
16741 before trying to examine its register number.
16742
16743 * basic-block.h: Remove all #defines and prototypes related to
16744 integer lists.
16745 (free_bb_mem, compute_preds_succs): Remove prototype.
16746 * rtl.h (free_bb_mem): Remove prototype.
16747 * flow.c (alloc_int_list_node); Remove function.
16748 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
16749 (compute_preds_succs, free_bb_mem): Likewise.
16750 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
16751 * toplev.c (rest_of_compilation): Likewise.
16752 * haifa-sched.c (build_control_flow): Use flow generated edge
16753 list to build the haifa specific edge list.
16754 (find_rgns): Use new CFG data structures instead of pred/succ lists.
16755 (schedule_insns): Do not build pred/succ lists anymore. Instead
16756 build the edge table.
16757
16758 * basic-block.h (dump_bb_data): Remove declaration.
16759 * flow.c (dump_bb_data): Remove function.
16760 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
16761 (sbitmap_union_of_predsucc): Likewise.
16762
16763 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
16764 argument. All callers changed.
16765 (delete_null_pointer_checks_1): No longer need to compute the
16766 pred/succ lists.
16767
16768 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
16769 All callers changed.
16770 (pre_expr_reaches_here_p_work): Likewise.
16771 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
16772 * lcm.c (compute_laterin): Fix initialization of LATER.
16773 (compute_nearerout): Similarly for NEARER.
16774
16775 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16776
16777 * cse.c (set_nonvarying_address_components): Delete unused function.
16778 (refers_to_p): Likewise.
16779
16780 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
16781
16782 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
16783 needed.
16784
16785 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16786
16787 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
16788 definition in do while (0).
16789
16790 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
16791
16792 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
16793
16794 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
16795
16796 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
16797
16798 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16799
16800 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
16801 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
16802 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
16803 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
16804
16805 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
16806 saved on the stack. Output more accurate stack frame statistics
16807 into assembler file.
16808
16809 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
16810
16811 * genextract.c (record_insn_name): New function.
16812 (get_insn_name): No longer a stub.
16813 (main): Call record_insn_name for each insn. After each label
16814 written, print the insn name in a comment.
16815
16816 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16817
16818 * output.h (const_section, init_section, fini_section): Add
16819 prototypes.
16820
16821 * alpha/elf.h (const_section): Delete declaration.
16822
16823 * svr4.h (const_section): Likewise.
16824
16825 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
16826
16827 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
16828 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
16829 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
16830 expressions.
16831 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
16832 variable-sized array bounds.
16833
16834 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
16835
16836 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
16837 ASM_OUTPUT_LABEL.
16838
16839 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16840
16841 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
16842 addresses the same way GO_IF_LEGITIMATE_INDEX does.
16843
16844 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16845
16846 * cse.c (hash_arg_in_struct): Delete.
16847 (struct table_elt): Delete elt in_struct.
16848 (struct set): Delete elt src_in_struct.
16849 (merge_equiv_classes): Don't set either hash_arg_in_struct or
16850 the corresponding in_struct elts.
16851 (canon_hash): Likewise.
16852 (safe_hash): Likewise.
16853 (find_best_addr): Likewise.
16854 (record_jump_cond): Likewise.
16855 (cse_insn): Likewise.
16856
16857 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
16858
16859 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
16860
16861 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
16862 unsigned types.
16863
16864 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
16865
16866 * function.c (diddle_return_value): Put back check that the DECL_RTL
16867 for the function is a register.
16868
16869 * function.c (diddle_return_value): Use hard_function_value to
16870 get an rtx suitable for use in the USE/CLOBBER insn.
16871
16872 * global.c (global_conflicts): Update comments.
16873 (record_conflicts): No need to record conflicts between pseudos here.
16874
16875 1999-11-11 Bruce Korb <autogen@linuxbox.com>
16876
16877 * fixinc/fixincl.c: Added verbose levels for status messages
16878
16879 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16880
16881 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
16882 operand as argument to expand_and or expand_binop.
16883
16884 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
16885
16886 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
16887 gcc_add_string_root.
16888
16889 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
16890
16891 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
16892
16893 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
16894
16895 * flow.c (compute_flow_dominators): Initially put all blocks on
16896 the worklist.
16897 * lcm.c (compute_antinout_edge, compute_available): Similarly.
16898 * gcse.c (compute_cprop_avinout): Remove.
16899 (compute_cprop_data): Use compute_available.
16900 (delete_null_pointer_checks_1): Use compute_available.
16901
16902 * basic-block.h (compute_available): Returns a void now.
16903 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
16904 to return a value anymore.
16905 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
16906 worklists. Fix boundary cases. Compute maximal solutions.
16907 (compute_laterin, compute_nearerout): Similarly.
16908
16909 * dwarf2out.c (add_AT_location_description): Allow
16910 (mem (plus (pseudo) (...)) too.
16911
16912 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
16913
16914 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
16915
16916 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
16917 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16918
16919 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
16920
16921 * gansidecl.h: Likewise.
16922
16923 * rtl.c: Likewise.
16924
16925 * rtl.h: Likewise.
16926
16927 * toplev.h: Likewise.
16928
16929 * tree.c: Likewise.
16930
16931 * tree.h: Likewise.
16932
16933 * varray.c: Likewise.
16934
16935 * varray.h: Likewise.
16936
16937 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
16938
16939 * gcov.c (struct arcdata): Add hits and total, remove prob.
16940 (output_branch_counts): New.
16941 (process_args): Set output_branch_counts if -c.
16942 (calculate_branch_probs): Store hits and total instead of
16943 percentage.
16944 (output_data): Emit counts if output_branch_counts is true.
16945 * gcov.texi (Invoking Gcov): Document -c switch..
16946
16947 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
16948
16949 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16950 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16951
16952 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
16953
16954 * invoke.texi (C Dialect Options): Add missing builtins from
16955 c-common.c to list.
16956 * extend.texi (Other Builtins): Copy to this list.
16957
16958 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16959
16960 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16961 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
16962 redundant bitmap.h.
16963
16964 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
16965
16966 * flow.c (compute_flow_dominators): No longer treat basic block 0
16967 or (n_basic_blocks - 1) specially. Clear the AUX field before
16968 starting computation of doms/pdoms. Fix initial state for pdoms.
16969
16970 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16971
16972 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16973 match rtl.o's: added ggc.h and toplev.h
16974 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16975 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16976 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16977
16978 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
16979
16980 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16981 from HAVE_DOS_BASED_FILESYSTEM.
16982 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16983 HAVE_DOS_BASED_FILESYSTEM.
16984 (main): Likewise.
16985 (split_directories): Only special-case DOS file names if
16986 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
16987 instead of explicit tests. Conditionalize on !VMS.
16988 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16989 tests. Conditionalize on !VMS.
16990 (process_command): Only use make_relative_prefix if !VMS.
16991 (free_split_directories): Conditionalize on !VMS.
16992 (DIR_UP): Conditionalize on !VMS.
16993
16994 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
16995
16996 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16997
16998 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
16999
17000 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
17001 case.
17002
17003 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
17004
17005 * invoke.texi (Environment Variables): Document relative path
17006 lookup.
17007 * gcc.c (DIR_UP): If not defined, define as "..".
17008 (standard_bindir_prefix): New static, holds target location to
17009 install binaries.
17010 (split_directories): New function to split a filename into
17011 component directories.
17012 (free_split_directories): New function, release memory allocated
17013 by split_directories.
17014 (make_relative_prefix): New function, make a relative pathname if
17015 the compiler is not in the expected location.
17016 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
17017 can figure out an appropriate prefix from argv[0].
17018 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
17019 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
17020 STANDARD_BINDIR_PREFIX.
17021
17022 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17023
17024 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
17025 in c4x.c.
17026 * config/c4x/c4x.h: Moved prototypes to c4x.h.
17027 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
17028 c4x_secondary_memory_needed) Delete.
17029 (fp_zero_operand): Add mode argument.
17030
17031 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
17032
17033 * reload1.c (reload_reg_free_for_value_p): Don't use a register
17034 that is in reload_reg_used.
17035
17036 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
17037
17038 * config/arm/arm-protos.h: New file: Prototypes for functions
17039 defined in arm.c and pe.c.
17040 * config/arm/arm.h: Fix compile time warnings.
17041 * config/arm/arm.c: Fix compile time warnings.
17042 * config/arm/pe.h: Fix compile time warnings.
17043 * config/arm/aout.h: Fix compile time warnings.
17044
17045 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
17046
17047 * config/m32r/m32r-protos.h: New file: Prototypes for functions
17048 defined in m32r.c
17049
17050 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
17051 Add support for subtargets.
17052 Add prototypes for new predicates.
17053 Add scheduling macros.
17054
17055 * config/m32r/m32r.c: Fix compile time warnings.
17056 (int8_operand): New predicate function.
17057 (reg_or_cmp_int16_operand): New predicate function.
17058 (extend_operand): New predicate function.
17059 (m32r_adjust_code): New scheduling function.
17060 (m32r_adjust_priorty): New scheduling function.
17061 (m32r_sched_init): New scheduling function.
17062 (m32r_sched_reorder): New scheduling function.
17063 (m32r_sched_variable_issue): New scheduling function.
17064 (direct_return): New codegen function.
17065 (m32r_not_same_reg): New rtl testsing function.
17066
17067 * config/m32r/m32r.md: Fix compile time warnings.
17068 Add support for pre decrement and post increment memory
17069 references.
17070 Add S<cc> patterns.
17071 Add fabs patterns.
17072
17073 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17074
17075 * global.c (EXECUTE_IF_CONFLICT): Don't define.
17076 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
17077 (find_reg): Likewise.
17078
17079 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
17080
17081 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
17082 to avoid assembler errors.
17083
17084 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
17085
17086 * config/v850/v850-protos.h: New file: Prototypes for functions
17087 defined in v850.c
17088 * config/v850/v850.h: Move prototypes to v850-protos.h
17089 * config/v850/v850.c: Move prototypes to v850-protos.h
17090 * config/v850/v850.md: Fix compile time warnings.
17091
17092 * config/fr30/fr30-protos.h: New file: Prototypes for functions
17093 defined in fr30.c
17094 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
17095 * config/fr30/fr30.c: Fix compile time warnings.
17096 * config/fr30/fr30.md: Fix compile time warnings.
17097
17098 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
17099
17100 * tree.h (get_containing_scope): Declare it.
17101 * tree.c (get_containing_scope): New fucntion.
17102 (decl_function_context): Use it.
17103 * toplev.c (rest_of_compilation): Use get_containing_scope.
17104
17105 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17106
17107 * Makefile.in (rtl.o): Depend on toplev.h.
17108
17109 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
17110
17111 * cse.c (delete_trivially_dead_insns): Replace alloca with
17112 xmalloc/xcalloc.
17113 * except.c (update_rethrow_references): Likewise.
17114 (init_eh_nesting_info): Likewise.
17115 * function.c (identify_blocks): Likewise.
17116 * gcse.c (dump_hash_table): Likewise.
17117 * graph.c (print_rtl_graph_with_bb): Likewise.
17118 * loop.c (combine_movables): Likewise.
17119 (move_movables): Likewise.
17120 (count_loop_regs_set): Likewise.
17121 (strength_reduce): Likewise.
17122 * profile.c (compute_branch_probabilities): New function, split
17123 out from ...
17124 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
17125 * regclass.c (regclass): Likewise.
17126 * regmove.c (regmove_optimize): Likewise.
17127 * toplev.c (compile_file): Likewise.
17128 (main): Don't mess with the stack rlimit.
17129
17130 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
17131
17132 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
17133 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
17134
17135 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
17136
17137 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
17138
17139 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
17140
17141 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
17142 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
17143 macro expansion.
17144
17145 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
17146
17147 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
17148
17149 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
17150
17151 * gcse.c (post_dominators): Kill.
17152 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
17153 (compute_code_hoist_data): Use compute_flow_dominators. Do not
17154 pass in a pdom array since we do not need pdoms.
17155 * haifa-sched.c (schedule_insns): Similarly.
17156 * flow.c (compute_dominators): Remove dead function.
17157 (compute_flow_dominators): Do not compute doms or pdoms if the
17158 caller does not request them. Split up loop to build doms and
17159 pdoms. Use a worklist to compute doms and pdoms.
17160 * basic-block.h (compute_dominators): Remove prototype.
17161
17162 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
17163
17164 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
17165 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
17166 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
17167 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
17168 (cant_move, fed_by_spec_load, is_load_insn): Remove.
17169 (schedule_region): Remove unused variable.
17170 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
17171
17172 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
17173
17174 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
17175 (update_equiv_regs): Likewise.
17176 (block_alloc): Likewise.
17177 * reg-stack.c (reg_to_stack): Likewise.
17178 (convert_regs_2): Likewise.
17179 * reload1.c (reload_as_needed): Likewise.
17180
17181 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
17182
17183 * Makefile.in (dbxout.o): Depend on ggc.h.
17184 (dwarf2out.o): Likewise.
17185 (xcoffout.o): Likewise.
17186 * dbxout.c: Include ggc.h.
17187 (dbxout_init): Register lastfile as a root.
17188 * dwarf2out.c: Include ggc.h.
17189 (dwarf2out_line): Register lastfile as a root.
17190 * xcoffout.c: Include ggc.h.
17191 (xcoffout_source_line): Register xcoff_lastfile as a root.
17192
17193 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
17194
17195 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
17196
17197 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
17198
17199 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
17200 defined.
17201 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
17202
17203 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17204
17205 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
17206 (EXECUTE_IF_CONFLICT): Likewise.
17207 (ALLOCNO_LIVE_P): Avoid signed division.
17208 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
17209 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
17210 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
17211
17212 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
17213
17214 * haifa-sched.c (schedule_block): Don't crash if there's no
17215 next insn for an interblock movement.
17216 (add_branch_dependences): Don't allow clobber insns to move either.
17217
17218 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
17219
17220 * i386.c (split_xf): New.
17221 * i386-protos.h: Declare it.
17222 * i386.md (movxf_1): Add general regs alternatives.
17223 (movxf_1+1): New splitter for same.
17224
17225 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
17226
17227 * function.c (purge_addressof_1): Add missing return values.
17228
17229 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
17230
17231 * function.c (is_addressof): New function. Returns true if
17232 the given piece of RTL is an ADDRESSOF.
17233 (purge_addressof_1): Make boolean. Return false if the
17234 ADDRESSOFs could not be purged.
17235 (purge_addressof): If ADDRESSOFs could not be purged from the
17236 notes attached to an insn, remove the offending note(s),
17237 unless they are attached to a libcall.
17238
17239 1999-11-05 Andreas Jaeger <aj@suse.de>
17240
17241 * genoutput.c (null_operand =): Initialize all fields.
17242
17243 * errors.h: Add extern to prototypes.
17244
17245 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
17246
17247 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
17248 * configure: Rebuilt.
17249
17250 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17251
17252 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
17253 (mirror_conflicts): New function.
17254 (global_alloc): Call it.
17255 (expand_preferences): Remove redundant CONFLICTP test.
17256 (find_reg, dump_conflicts): Likewise.
17257 (prune_preferences): Process conflicts one word at a time.
17258
17259 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
17260
17261 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
17262 instead of an explicit loop.
17263
17264 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
17265
17266 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
17267 if REG_RETVAL check succeeds, then put classp in src_elt.
17268
17269 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
17270
17271 * function.c (pad_to_arg_alignment): Only update argument_pad
17272 if the argument's alignment is greater than STACK_BOUNDARY.
17273
17274 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
17275
17276 * bitmap.h (BITMAP_XFREE): New.
17277 * flow.c (life_analysis): Use it.
17278 (life_analysis_1): Free blocks.
17279
17280 * combine.c (undo_commit): New.
17281 (try_combine): Use it. Don't zap undobuf.undos.
17282 (combine_instructions): Don't zap undobuf.undos; free the
17283 undobuf.frees list.
17284
17285 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
17286
17287 * stmt.c (cost_table_): New.
17288 (estimate_case_costs): Use it instead of xmalloc.
17289
17290 * toplev.c (compile_file): Reuse dumpname memory instead
17291 of strdup'ing it.
17292
17293 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
17294
17295 * reg-stack.c (convert_regs_1): Initialize target_stack->top
17296 after verifying an EH edge.
17297
17298 * haifa-sched.c (init_rgn_data_dependences): Correctly
17299 size bb_pending_lists_length when zeroing.
17300
17301 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
17302
17303 * function.c (diddle_return_value): New.
17304 (expand_function_end): Use it.
17305 * stmt.c (expand_null_return): Likewise.
17306 (expand_value_return): Likewise.
17307
17308 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
17309
17310 * reload1.c (reload): Don't remove return value clobbers.
17311
17312 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
17313
17314 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
17315
17316 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
17317
17318 * cse.c (cse_main): Use xmalloc, not alloca.
17319 (cse_basic_block): Likewise.
17320 * local-alloc.c (local_alloc): Likewise.
17321
17322 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
17323 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17324
17325 * rtl.c: Include toplev.h.
17326 (fatal): Remove declaration.
17327
17328 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
17329
17330 * haifa-sched.c (schedule_block): Fix thinko.
17331
17332 1999-11-03 James McKelvey <mckelvey@fafnir.com>
17333
17334 * fixinc/fixincl.c(create_file): Allow for systems that do not have
17335 S_IR* defined values
17336
17337 1999-11-03 Philippe De Muyter <phdm@macqel.be>
17338
17339 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
17340 call `malloc' instead.
17341
17342 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
17343
17344 * flags.h (flag_renumber_insns): Declare.
17345 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
17346 renumbering table.
17347 * rtl.h (renumber_insns): Change prototype.
17348 * toplev.c (flag_renumber_insns): Define.
17349 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
17350
17351 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
17352
17353 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
17354 and fpsqrtd. Use them and create fdiv function unit to more
17355 accurately represent fpu sqrt pipeline semantics on UltraSparc.
17356 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
17357
17358 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
17359
17360 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
17361 3 on UltraSparc.
17362 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
17363 insn into ready list, do not use just a raw swap.
17364
17365 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
17366
17367 * rtl.h (renumber_insns): New function.
17368 (remove_unnecessary_notes): Likewise.
17369 * emit-rtl.c (renumber_insns): Define.
17370 (remove_unncessary_notes): Likewise.
17371 * toplev.c (rest_of_compilation): Remove dead code.
17372 Use renumber_insns and remove_unncessary_notes.
17373
17374 * gcse.c (struct null_pointer_info): New type.
17375 (get_bitmap_width): New function.
17376 (current_block): Remove.
17377 (nonnull_local): Likewise.
17378 (nonnull_killed): Likewise.
17379 (invalidate_nonnull_info): Take a null_pointer_info as input.
17380 (delete_null_pointer_checks_1): New function.
17381 (delete_null_pointer_checks): Use it.
17382
17383 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
17384 (split_edges): Likewise.
17385 (schedule_block): Likewise.
17386 (compute_block_backward_dependencies): Likewise.
17387 (schedule_region): Likewise.
17388 (schedule_insns): Likewise.
17389
17390 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
17391
17392 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
17393 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
17394 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
17395 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
17396 * jump.c (delete_unreferenced_labels): Don't delete if
17397 LABEL_ALTERNATE_NAME is set.
17398 * print-rtl.c (print_rtx): Dump alternate name.
17399 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
17400 * rtl.h (LABEL_ALTERNATE_NAME): Define.
17401 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
17402 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
17403
17404 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17405
17406 * fix-header.c (recognized_extern, recognized_function): Constify
17407 a char*.
17408
17409 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
17410 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17411 (compute_available): Remove unused variable `last'.
17412 (compute_nearerout): Remove unused variable `temp_bitmap'.
17413 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17414 Remove unused variable `x'.
17415
17416 * scan.h (recognized_function, recognized_extern): Constify a
17417 char*.
17418
17419 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
17420
17421 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17422
17423 * varasm.c (decode_rtx_const): Use XSTR to access the string
17424 of a SYMBOL_REF.
17425
17426 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
17427
17428 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
17429
17430 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17431
17432 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
17433
17434 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
17435
17436 * pa.c (ireg_operand): New function.
17437 * pa.h (PREDICATE_CODES): Handle ireg_operand.
17438 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
17439 Fix out of date comment.
17440
17441 * pa.md (negdi2): Turn into expander + anonymous pattern.
17442
17443 * reload.c (find_reloads): Fix typos in recent change.
17444
17445 * dwarf2out.c: Do not include ctype.h.
17446
17447 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17448
17449 * regclass.c (record_reg_classes): Always use may_move_cost when
17450 seeing how operand fits with various register classes.
17451
17452 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
17453
17454 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
17455 * toplev.c: Revert Nov 1 13:22 change.
17456
17457 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
17458
17459 * config/pa/pa.md (height reduction patterns): Add checks for
17460 overlapping operands to avoid semantic-destroying splits for
17461 height reduction patterns.
17462
17463 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17464
17465 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
17466 have been an hyphen, fixed.
17467 * configure: Rebuilt.
17468
17469 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
17470
17471 * config/arm/tpe.h: Add prototypes for exported functions.
17472 * config/arm/pe.c: Fix compile time warnings.
17473 * config/arm/semi.h: Fix compile time warnings.
17474 * config/arm/arm.c: Fix compile time warnings.
17475 * config/arm/arm.h: Fix compile time warnings.
17476 * config/arm/arm.md: Fix compile time warnings.
17477 * config/arm/thumb.c: Fix compile time warnings.
17478 * config/arm/thumb.h: Fix compile time warnings.
17479 * config/arm/thumb.md: Fix compile time warnings.
17480
17481 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
17482
17483 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
17484 detection code
17485
17486 * unroll.c (unroll_loop): Remove LOOP notes when loop is
17487 completely unrolled.
17488
17489 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17490
17491 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
17492
17493 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
17494
17495 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
17496 * rtl.h (rtx_equal_p): Move prototype.
17497 * rtl.c (rtx_equal_function_value_matters): Move from
17498 rtlanal.c
17499 (rtx_equal_p): Likewise.
17500 * rtlanal.c (rtx_equal_function_value_matters): Delete.
17501 (rtx_equal_p): Likewise.
17502
17503 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
17504
17505 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
17506 ! HAS_INIT_SECTION.
17507
17508 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
17509
17510 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
17511
17512 * pa.h (ADDR_VEC_ALIGN): Define.
17513
17514 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
17515 notes when presented with "if (foo) break; end_of_loop" and
17516 the break sequence gets moved out of the loop.
17517
17518 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
17519 Remove explicit zero initializations of entries within MAP.
17520
17521 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
17522
17523 * reg-stack.c (convert_regs_1): Handle EH edges specially.
17524
17525 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
17526
17527 * bitmap.h (BITMAP_XMALLOC): New macro.
17528 * flow.c (CLEAN_ALLOCA): Remove.
17529 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
17530 (life_analysis): Likewise.
17531 (update_life_info): Don't use CLEAN_ALLOCA.
17532 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
17533 (calculate_global_regs_live): Likewise.
17534 (print_rtl_with_bb): Likewise.
17535 (verify_flow_info): Likewise.
17536 * global.c (global_alloc): Likewise.
17537 (global_conflicts): Likewise.
17538 * integrate.c (save_for_inline_nocopy): Likewise.
17539 (expand_inline_function): Likewise.
17540 * jump.c (jump_optimize_1): Likewise.
17541 (duplicate_loop_exit_test): Likewise.
17542 (thread_jumps): Likewise.
17543 * loop.c (loop_optimize): Likewise.
17544 (combine_givs): Likewise.
17545 (recombine_givs): Likewise.
17546 * reorg.c (dbr_schedule): Likewise.
17547 * unroll.c (unroll_loop): Likewise.
17548
17549 * combine.c (combine_instructions): Use xmalloc instead of alloca.
17550
17551 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
17552
17553 * toplev.c (rest_of_compilation): Don't optimize the CFG
17554 when rebuilding, just before dbr.
17555
17556 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17557
17558 * output.h (assemble_end_function, assemble_destructor,
17559 assemble_constructor, assemble_gc_entry, assemble_global,
17560 assemble_label, output_constant_pool) Constify a char*.
17561
17562 * varasm.c (assemble_destructor, assemble_constructor,
17563 assemble_gc_entry, assemble_end_function, assemble_global,
17564 assemble_label, output_constant_pool): Likewise.
17565
17566 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
17567
17568 * config/arm/thumb.c (thumb_expand_prologue): Add comments
17569 explaining what is goin on in this function.
17570
17571 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17572
17573 * regclass.c (record_reg_classes): In matching case, recompute
17574 costs since the direction of movement is different.
17575
17576 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
17577
17578 * resource.c (mark_target_live_regs): For unconditional branches,
17579 the resources found at the branch target should be added to the
17580 resources found so far, not intersected.
17581
17582 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
17583
17584 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
17585 old cpp's.
17586 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
17587 (sys/mman.h): Include this file only if #HAVE_MMAP.
17588 (run_compiles): Initialize `esac_fmt' with one old KR string, not
17589 with automatically concatenated ANSI strings.
17590
17591 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
17592
17593 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
17594 (DIV_ROUND_UP): Robustify.
17595 (ggc_recalculate_in_use_p): New function.
17596 (release_pages): Don't inline it.
17597 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
17598 outer contexts.
17599 (ggc_pop_context): Use ggc_recalculate_in_use_p.
17600 (clear_marks): Always save in_use_p.
17601 (sweep_pages): Use ggc_recalculate_in_use_p.
17602 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
17603 Release pages before counting statistics.
17604
17605 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
17606
17607 * toplev.c (rest_of_compilation): Fix thinko in this change:
17608
17609 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
17610
17611 (rest_of_compilation): If inside an inlined external function,
17612 pretend we are just being declared.
17613
17614 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
17615
17616 * flow.c (calculate_global_regs_live): Fix thinko.
17617
17618 * integrate.c (expand_inline_function): Fix bugs in previous
17619 change from Oct 28, 1999.
17620
17621 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
17622
17623 * stmt.c (expand_value_return): Fix typo in this change:
17624
17625 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17626 (expand_value_return): Correctly convert VAL when promoting function
17627 return; support RETURN_REG being a PARALLEL.
17628
17629 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
17630
17631 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
17632
17633 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17634
17635 * hard-reg-set.h (reg_names): Constify a char*.
17636
17637 * regclass.c (reg_names): Likewise.
17638
17639 * regs.h (reg_names): Likewise
17640
17641 * a29k/a29k.c (reg_names): Delete declaration.
17642
17643 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
17644
17645 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
17646 arc_output_function_epilogue): Likewise.
17647
17648 * elxsi/elxsi.c (reg_names): Likewise.
17649
17650 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
17651
17652 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
17653 Likewise.
17654
17655 * m88k/m88k.c (output_function_profiler): Likewise.
17656
17657 * sparc/sparc.c (sparc_flat_output_function_prologue,
17658 sparc_flat_output_function_epilogue): Likewise.
17659
17660 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
17661
17662 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
17663 warning from -Wuninitialized and put it under -W.
17664 * function.c (uninitialized_vars_warning): Warn only when the
17665 corresponding flag is set.
17666
17667 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
17668
17669 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
17670 is nonzero and the single set does not have an elt, then assign
17671 it an elt.
17672
17673 * simplify-rtx.c: New file.
17674 * Makefile.in (OBJS): Add simplify-rtx.o
17675 (simplify-rtx.o): Add dependencies.
17676 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
17677 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
17678 (cse_gen_binary, simplify_unary_operation): Delete.
17679 (simplify_binary_operation, simplify_plus_minus): Likewise.
17680 (check_fold_consts, simplify_relation_operation): Likewise.
17681 (simplify_ternary_operation): Likewise.
17682 (delete_trivially_dead_insns): Simplify the contents of the
17683 REG_EQUAL note before trying to substitute it into the source
17684 of the reg-reg copy at the end of a libcall sequence.
17685
17686 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
17687 references/callers changed.
17688
17689 * mn10200.c (mn10200_va_arg): Force the return value into a
17690 register.
17691
17692 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
17693
17694 * cccp.c (macroexpand): Avoid out of range accesses for omitted
17695 arguments.
17696
17697 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
17698
17699 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
17700
17701 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
17702
17703 * fold-const.c (fold): Fix thinko when optimizing comparisons
17704 against -0.0.
17705
17706 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
17707
17708 * gcc.texi (Passes): Update front-end files to their current
17709 location.
17710
17711 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
17712
17713 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
17714 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
17715 (PREDICATE_CODES): Add addition_operation.
17716 * alpha-protos.h (addition_operation): Declare.
17717 (secondary_reload_class): Likewise.
17718 * alpha.c (addition_operation): New.
17719 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
17720 * alpha.md (adddi3): Turn into expander.
17721 (*lda, *adddi_2): New.
17722 (movsf, movdf patterns): Don't preference integer regs.
17723 (movsi, movdi patterns): Don't preference fp regs.
17724
17725 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
17726
17727 * genrecog.c (write_switch): Check for duplicate CODE cases.
17728
17729 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
17730
17731 * ggc-common.c: Update pre-function commentary.
17732 * ggc-page.c: Likewise.
17733 (poison): Remove.
17734 (poison_pages): Use memset directly.
17735 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
17736 (ggc_collect): Poison before sweeping.
17737 * ggc-simple.c: Update pre-function commentary.
17738 (ggc_alloc_obj): Poison non-zeroed memory.
17739
17740 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
17741
17742 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
17743 match format string, even on 64-bit hosts.
17744 * gcc-page.c (ggc_page_print_statistics): Likewise.
17745
17746 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
17747
17748 * config/i386/i386.c (ix86_cpu): Revert last patch.
17749 * config/i386/i386.h (ix86_cpu): Ditto.
17750
17751 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
17752
17753 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
17754 TYPE_SIZE, convert type of result to sizetype.
17755
17756 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
17757
17758 * flow.c (count_or_remove_death_notes): Equate NULL with the
17759 universal set.
17760
17761 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
17762 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
17763 dbr_schedule.
17764
17765 * i386.c (pic_label_no): Delete.
17766 (ix86_attr_length_default): Don't use single_set to peek
17767 inside a parallel.
17768
17769 * recog.c (peephole2_optimize): Allow recog_next_insn to index
17770 the first insn after bb->end.
17771 * i386.md (push mem peeps): Scratch is live after evaluation
17772 of the memory.
17773 (cmp mem peep): Similarly.
17774
17775 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
17776
17777 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
17778 * function.c (pad_to_arg_alignment): Add missing braces.
17779
17780 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17781
17782 * alpha/alpha-protos.h (literal_section): Add prototype.
17783 (alpha_need_linkage, alpha_start_function,alpha_end_function):
17784 Constify a char*.
17785
17786 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
17787 prototype.
17788 (alpha_start_function, alpha_end_function, float_strings,
17789 alpha_need_linkage): Constify a char*
17790
17791 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
17792
17793 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
17794
17795 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
17796
17797 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
17798
17799 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17800
17801 * flow.c (debug_flow_info): Add prototype.
17802
17803 * gcc.c (main): Likewise.
17804
17805 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
17806 Likewise.
17807
17808 * reload1.c (failed_reload, set_reload_reg): Likewise.
17809
17810 * mips-tfile.c (main): Likewise.
17811 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
17812 with ATTRIBUTE_NORETURN.
17813
17814 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
17815
17816 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
17817 DECL is not a memory ref.
17818
17819 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
17820
17821 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
17822 * config/i386/i386.c (ix86_cpu): Add extern attribute.
17823
17824 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
17825
17826 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
17827 * config/mips/elf64.h: ditto.
17828
17829 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
17830
17831 * expr.c (emit_push_insn): New argument alignment_pad.
17832 Update all callers. Adjust stack pointer based on alignment pad.
17833 * function.c (pad_to_arg_alignment): New argument alignment_pad.
17834 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
17835 (locate_and_pad_parm): New argument alignment_pad. Update all
17836 callers.
17837 * expr.h (emit_push_insn): Update prototype.
17838 (locate_and_pad_parm): Update prototype.
17839 * calls.c (arg_data): Add new field alignment_pad.
17840 (initialize_argument_information): Initialize alignment_pad.
17841
17842 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
17843
17844 * except.c (free_eh_nesting_info): Free the info itself.
17845 * function.c (free_after_compilation): Don't free NULL.
17846 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
17847 (pre_edge_insert): Free inserted.
17848 * stmt.c (free_stmt_status): Don't free NULL.
17849
17850 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
17851
17852 * gcov.c (DIR_SEPARATOR): Provide default.
17853 (output_data): Add test for MS-DOS format absolute filename.
17854 (fancy_abort): Correct program name.
17855 (open_files): Open all files in binary mode.
17856 * libgcc2.c (__bb_exit_func): Likewise.
17857
17858 * profile.c (init_branch_prob): Specify binary when opening files.
17859
17860 * flags.h (flag_unwind_tables): New decl.
17861 * toplev.c (flag_unwind_table): New definition.
17862 (f_options): Add -funwind-tables.
17863 (decode_g_option): Clarify warning when unknown -g option is given.
17864 (rest_of_compilation): If inside an inlined external function,
17865 pretend we are just being declared.
17866
17867 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
17868 (dwarf2out_frame_finish): Likewise.
17869
17870 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
17871
17872 * fold-const.c (merge_ranges): If not in0, but in1, handle
17873 upper bounds equal like subset case.
17874
17875 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
17876
17877 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
17878 passed in a register but moved to the stack.
17879
17880 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
17881
17882 * gcc.c (pass_exit_codes, greatest_status): New variables.
17883 (struct option_map): Add entry for "--pass-exit-codes".
17884 (execute): Update greatest_status if error.
17885 (display_help): Add documentation for -pass-exit-codes.
17886 (process_command): Handle -pass-exit-codes.
17887 (main): Look at pass_exit_codes and greatest_status on call to exit.
17888
17889 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17890
17891 * reload.c (find_reloads): Refine test for no input reload
17892 case to not includes reloads emitted after insn.
17893
17894 * function.c (find_temp_slots_from_address): Handle sum involving
17895 a register that points to a temp slot.
17896 (update_temp_slot_address): Make recursive call if both old and
17897 new are PLUS with a common operand.
17898 * calls.c (expand_call): Mark temp slot for result as having
17899 address taken.
17900
17901 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
17902
17903 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
17904 component as well as "BINUTILS".
17905
17906 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
17907 * integrate.c (copy_rtx_and_substitute): Likewise.
17908 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
17909 All callers changed.
17910 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
17911
17912 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
17913 gdb extensions, write size of type; also be more consistent
17914 in using references when this is a subtype.
17915
17916 * pa.md (extv, extzv, insv): Use define_expand to reject constant
17917 that is out of range.
17918
17919 * loop.c (unknown_constant_address_altered): New variable.
17920 (prescan_loop): Initialize it.
17921 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
17922 (invariant_p, case MEM): Remove handling for volatile and readonly;
17923 check new variable if readonly.
17924 (check_dbra_loop): Chdeck unknown_constant_address_altered.
17925
17926 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17927 (addr_affects_sp_p): Removed from note_mem_written and only
17928 define #ifdef AUTO_INC_DEC.
17929
17930 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17931
17932 * regclass.c (record_reg_classes): Properly handle register move
17933 directions.
17934
17935 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17936 Don't think valid if both operands are invalid.
17937 (struct constant_descriptor): New field RTL.
17938 (mark_const_hash_entry): Mark it.
17939 (record_constant{,_rtx}): Initialize it.
17940 (output_constant_def): Allocate RTL in permanent obstack and
17941 save in table.
17942 ({record,compare}_constant_1): Modes must match for
17943 CONSTRUCTOR of ARRAY_TYPE.
17944
17945 * c-common.h (initializer_constant_valid_p): Delete decl from here.
17946 * output.h (initializer_constant_valid_p): Move decl to here.
17947 * c-common.c (initializer_constant_valid_p): Delete function from here.
17948 * varasm.c (initializer_constant_valid_p): Move function to here.
17949
17950 * tree.h (STRIP_SIGN_NOPS): New macro.
17951 * fold-const.c (optimize_minmax_comparison): New function.
17952 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17953 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17954 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17955 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17956 widening conversions.
17957 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17958 to look at size of mode, not precision of type; also add missing cases.
17959 (optimize_bit_field_compare, decode_field_reference): Don't try to
17960 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17961
17962 * dwarf2out.c (ctype.h): Include.
17963 (dwarf2out_set_demangle_name_func): New function.
17964 (size_of_line_info): Deleted.
17965 (output_line_info): Compute size of line info table from difference
17966 of labels.
17967 (base_type_die, add_name_attribute): Call demangle function, if any.
17968 (field_byte_offset): Use bits per word for variable length fields.
17969 (gen_array_type_die): Add array name.
17970 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17971 (dwarf2out_add_library_unit_info): New function.
17972
17973 * explow.c (set_stack_check_libfunc): New function.
17974 (stack_check_libfunc): New static variable.
17975 (probe_stack_range): Allow front-end to set up a libfunc to call.
17976
17977 * combine.c (simplify_comparison): When making comparison in wider
17978 mode, check for having commuted an AND and a SUBREG.
17979 (contains_muldiv): New function.
17980 (try_combine): Call it when dividing a PARALLEL.
17981 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17982 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17983 a PLUS.
17984 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17985 use one of the CLOBBERs instead.
17986 (if_then_else_cond): If comparing against zero, just return thing
17987 being compared.
17988
17989 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17990 Don't generate shifts and subtract if have conditional arithmetic.
17991
17992 * rtl.h (delete_barrier): New declaration.
17993 * jump.c (jump_optimize): Set up to handle conditional call.
17994 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17995 (delete_barrier): New function.
17996
17997 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17998
17999 * recog.c (nonmemory_operand): Accept ADDRESSOF.
18000
18001 * tree.c (build_type_attribute_variant): Push to obstack of
18002 ttype around type_hash_canon call.
18003
18004 * expr.c (placeholder_list): Move decl to file scope.
18005 (expand_expr): Don't force access to volatile just because its
18006 address is taken.
18007 If ignoring reference operations, just expand the operands.
18008 (expand_expr, case COMPONENT_REF): Propagate
18009 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
18010 Refine test for using bitfield operations vs pointer punning.
18011 (expand_expr, case CONVERT_EXPR): If converting to
18012 BLKmode UNION_TYPE from BLKmode, just return inner object.
18013 Use proper mode in store_field call.
18014 Properly set sizes of object to store and total size in store_field
18015 call for convert to union.
18016 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
18017 memory (like for ADDR_EXPR). Also, don't put constant in register if
18018 we'll want it in memory.
18019 (readonly_fields_p): New function.
18020 (expand_expr, case INDIRECT_REF): Call it if LHS.
18021 (expand_assignment): Handle a RESULT_DECL where
18022 DECL_RTL is a PARALLEL.
18023 (do_jump, case WITH_RECORD_EXPR): New case.
18024 (get_inner_reference): Always go inside a CONVERT_EXPR
18025 and NOP_EXPR if both modes are the same.
18026 (store_field): Use bitfield operations if size of bitsize is not same
18027 as size of RHS's type.
18028 Check for bitpos not a multiple of alignment in BLKmode case.
18029 Do block move in largest possible alignment.
18030 (store_constructor): Set BITSIZE to -1 for variable size and properly
18031 in case of array of BLKmode.
18032 (expand_expr_unaligned): New function.
18033 (do_compare_and_jump): Call it.
18034
18035 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
18036 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
18037 does not include 'o'.
18038
18039 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
18040 both SET_DEST and SET_SRC reference a virtual register.
18041 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
18042
18043 * integrate.c (expand_inline_function): Handle case of setting
18044 virtual stack vars register (from built in setjmp); when parameter
18045 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
18046 (subst_constant): Add new parm, MEMONLY.
18047 (expand_inline_function, integrate_parm_decls): Pass new parm.
18048 (integrate_decl_tree): Likewise.
18049 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
18050 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
18051 (copy_rtx_and_substitute, case SET): Add explicit calls to
18052 copy_rtx_and_substitute for both sides.
18053
18054 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
18055 constraints.
18056 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
18057 within INDEX_TYPE, instead of before.
18058 (fixup_gotos): Use f->target_rtl, not the next insn,
18059 since latter may be from a later fixup.
18060 (expand_value_return): Correctly convert VAL when promoting function
18061 return; support RETURN_REG being a PARALLEL.
18062 (expand_return): When checking for result in regs and having
18063 cleanup, consider PARALLEL in DECL_RTL as being in regs.
18064
18065 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
18066
18067 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
18068 last_nominal_fname): Mark const.
18069 (struct include_hash: name, nshort, control_macro): Mark
18070 const.
18071 (struct macrodef: symnam): Mark const.
18072 (struct if_stack: fname): Mark const.
18073 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
18074 (IStable): New character-syntax array which encompasses all
18075 the old is_foo arrays.
18076 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
18077 is_space): New macros for interrogating IStable.
18078 (check_macro_name): Kill last argument. All callers changed.
18079
18080 * cppinit.c (initialize_char_syntax): Delete.
18081 (is_idchar, is_idstart, is_hor_space, is_space,
18082 trigraph_table): Delete.
18083 (IStable): New. Initialize with clever macros to avoid
18084 information duplication.
18085 (builtin_array): Table of builtins to get rid of explicit list
18086 in initialize_builtins.
18087 (initialize_builtins): Use builtins_array.
18088 (cpp_start_read): Call init_IStable, and set IStable['$'] if
18089 opts->dollars_in_ident.
18090
18091 * cppexp.c: Change all refs to is_xyz[] arrays to use new
18092 is_xyz() macros.
18093 (cpp_parse_expr): Avoid 'format string is not constant'
18094 warning. Use ISGRAPH to identify printable chars.
18095 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
18096 is_xyz() macros.
18097 (read_and_prescan): Map trigraphs to chars with open-coded
18098 if-else-if-... sequence, not a lookup table.
18099 * cpphash.c: Change all refs to is_xyz[] arrays to use new
18100 is_xyz() macros.
18101 * cpplib.c: Change all refs to is_xyz[] arrays to use new
18102 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
18103 (check_macro_name): Remove ability to report an invalid
18104 assertion name, which is never used.
18105 (do_line): Constify a couple of char *'s.
18106 * cppmain.c (main): Call cpp_cleanup before returning.
18107
18108 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
18109
18110 * ggc.h (struct ggc_statistics): New type.
18111 (ggc_get_size): New function.
18112 (ggc_print_statistics): Likewise.
18113 * ggc-common.c (ggc_stats): New variable.
18114 (ggc_mark_rtx_children): Keep statistics.
18115 (ggc_mark_tree_children): Likewise.
18116 (ggc_print_statistics): New function.
18117 * ggc-page.c (struct globals): Add bytes_mapped field.
18118 (alloc_anon): Update it.
18119 (release_pages): Likewise.
18120 (ggc_get_size): New function.
18121 (ggc_page_print_statistics): New function.
18122 * ggc-simple.c (ggc_get_size): New function.
18123
18124 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
18125
18126 * flow.c (propagate_block): When the last reference to a label
18127 before an ADDR_VEC is deleted because the reference is a dead
18128 store, delete the ADDR_VEC.
18129
18130 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
18131
18132 * resource.c (find_free_register): Don't use the frame pointer
18133 if frame_pointer_needed.
18134
18135 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
18136
18137 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
18138 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
18139
18140 * config/i960/i960.c (i960_va_start): New locals base, num.
18141 Use INDIRECT_REF instead of ARRAY_REF on valist.
18142 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
18143
18144 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
18145
18146 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
18147
18148 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
18149
18150 * tree.def (PLACEHOLDER_EXPR): Update comments.
18151
18152 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18153
18154 * c-common.c (check_format_info): Avoid non-literal format string
18155 warnings when `first_arg_num' is zero.
18156
18157 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18158
18159 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
18160
18161 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
18162
18163 * arm.md (casesi_insn): Add a clobber of the condition code
18164 register.
18165
18166 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
18167
18168 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
18169 used by both cc1 and cc1plus.
18170
18171 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
18172
18173 * config/arm/arm.c: Initialise arm_structure_size_boundary to
18174 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
18175 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
18176 to the value 32 if it has not already been defined.
18177 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
18178 Override definition in arm.h with a value of 8.
18179
18180 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
18181
18182 * c-pragma.c (push_alignment): Don't check the return value
18183 of xmalloc.
18184
18185 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
18186
18187 * sparc.h (ADJUST_COST): Fix thinko.
18188
18189 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
18190
18191 * cccp.c (rescan): Fixed obp pointer handling around call to
18192 check_expand subroutine.
18193
18194 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
18195
18196 * gcse.c (delete_null_pointer_checks): Only record non-null info
18197 for pseudos when examining stores.
18198
18199 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
18200 splitters for these patterns. Use "#" for output templates.
18201 (addsi3_carryin_shift): New pattern.
18202
18203 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
18204
18205 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
18206 of the function return register into a plain REG until
18207 after function inlining is done.
18208
18209 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
18210
18211 * jump.c (jump_optimize_1): If we did cross-jumping, and
18212 the data will matter, rebuild the CFG.
18213 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
18214 not optimizing. Don't run shorten_branches.
18215 * toplev.c (rest_of_compilation): Run shorten_branches after
18216 reg_to_stack.
18217
18218 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
18219
18220 * rtl.h (note_stores): Add additional paramter.
18221 * rtlanal.c (reg_set_p_1): Take additional paramter.
18222 (reg_set_last_1): Likewise.
18223 (reg_set_p): Adjust call to note_stores.
18224 (reg_set_last): Likewise.
18225 (note_stores): Pass data parameter to worker function.
18226 * alias.c (record_set): Take additional parameter.
18227 (init_alias_analysis): Pass it.
18228 * caller-save.c (mark_set_regs): Take additional parameter.
18229 (save_call_clobbered_regs): Pass NULL to note_stores.
18230 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
18231 parameter.
18232 (record_dead_and_set_regs_1): Likewise.
18233 (reg_dead_at_p_1): Likewise.
18234 (combine_instructions): Adjust calls to note_stores.
18235 (try_combine): Likewise.
18236 (record_dead_insn): Remove.
18237 (record_dead_and_set_regs): Adjust calls to note_stores.
18238 (reg_dead_at_p): Likewise.
18239 * cse.c (invalidate_skipped_set): Take additional parameter.
18240 (cse_check_loop_start): Likewise.
18241 (cse_check_loop_start_value): Remove.
18242 (cse_set_around_loop): Adjust calls to note_stores.
18243 * flow.c (notice_stack_pointer_modification): Take additional
18244 parameter. Remove duplicate declaration.
18245 (record_volatile_insns): Adjust calls to note_stores.
18246 * gcse.c (record_set_info): Take additional parameter.
18247 (record_last_set_info): Likewise.
18248 (invalidate_nonnull_info): Likewise.
18249 (record_set_insn): Remove.
18250 (compute_sets): Adjust calls to note_stores.
18251 (last_set_insn): Remove.
18252 (compute_hash_table): Adjust calls to note_stores.
18253 (insert_insn_end_bb): Likewise.
18254 (delete_null_pointer_checks): Likewise.
18255 * global.c (mark_reg_store): Take additional parameter.
18256 (mark_reg_clobber): Likewise.
18257 (reg_becomes_live): Likewise.
18258 (global_conflicts): Adjust calls to note_stores.
18259 (build_insn_chain): Likewise.
18260 * integrate.c (note_modified_parmregs): Take additional parameter.
18261 (mark_stores): Likewise. Make it static.
18262 (save_for_inline_nocopy): Adjust calls to note_stores.
18263 (try_constants): Likewise.
18264 * integrate.h (mark_stores): Remove declaration.
18265 * jump.c (mark_modified_reg): Take additional parameter.
18266 (thread_jumps): Adjust calls to note_stores.
18267 * local-alloc.c (validate_equiv_mem_from_store): Take additional
18268 parameter.
18269 (no_equiv): Likewise.
18270 (reg_is_set): Likewise.
18271 (validate_equiv_mem): Adjust calls to note_stores.
18272 (update_equiv_regs): Likewise.
18273 (block_alloc): Likewise.
18274 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
18275 (note_addr_stored): Take additional parameter.
18276 (note_set_pseudo_multiple_uses): Likewise.
18277 (record_initial): Likewise.
18278 (prescan_loop): Adjust calls to note_stores.
18279 (strength_reduce): Likewise.
18280 (check_dbra_loop): Likewise.
18281 * regmove.c (flags_set_1): Take additional paramter.
18282 (mark_flags_life_zones): Adjust calls to note_stores.
18283 * reload1.c (mark_not_eliminable): Take additional parameter.
18284 (forget_old_reloads_1): Likewise.
18285 (reload_cse_invalidate_rtx): Likewise.
18286 (reload_cse_check_clobber): Likewise.
18287 (reload_combine_note_store): Likewise.
18288 (move2add_note_store): Likewise.
18289 (reload): Adjust calls to note_stores.
18290 (reload_as_needed): Likewise.
18291 (emit_reload_insns): Likewise.
18292 (reload_cse_regs_1): Likewise.
18293 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
18294 (reload_combine): Adjust calls to note_stores.
18295 * resource.c (update_live_status): Take additional paramter.
18296 (mark_target_live_regs): Adjust calls to note_stores.
18297 * stupid.c (find_clobbered_regs): Take additional parameter.
18298 (stupid_life_analysis): Adjust calls to note_stores.
18299
18300 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
18301
18302 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
18303 definition.
18304
18305 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
18306 definition.
18307
18308 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
18309 of the variable arm_structure_size_boundary.
18310
18311 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
18312
18313 * alias.c (init_alias_analysis): Allocate reg_known_value and
18314 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
18315 and reg_seen.
18316 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
18317 * cse.c (cse_main): Call end_alias_analysis.
18318 * haifa-sched.c (schedule_insns): Likewise.
18319 * local-alloc. (update_equiv_regs): Likewise.
18320 * reload1.c (reload_cse_regs): Likewise.
18321
18322 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18323
18324 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
18325 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
18326 mapping from MASK_FPU.
18327
18328 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
18329
18330 * sparc.md (call): Don't bound structure return size to 0xfff.
18331
18332 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
18333
18334 * resource.c (mark_target_live_regs): Check that the target
18335 insn wasn't created after compute_bb_for_insn.
18336
18337 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
18338
18339 * ggc-page.c (poison_pages): Don't be overzealous.
18340
18341 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
18342
18343 * alias.c: Update comments for ADDRESS.
18344 (nonlocal_reference_p): Look inside the ADDRESS to determine if
18345 it is a local memory reference.
18346
18347 * c-typeck.c (build_function_call): Check that the built-in
18348 function is of class BUILT_IN_NORMAL before trying to recongize
18349 it as BUILT_IN_ABS.
18350 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
18351 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
18352
18353 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
18354
18355 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
18356 of alloca.
18357 (pre_gcse): Likewise.
18358 (hoist_expr_reaches_here_p): Likewise.
18359 (hoist_code): Likewise.
18360 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
18361 code to ...
18362 (pre_expr_reaches_here_p_work): ... here.
18363 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
18364 code to ...
18365 (expr_reaches_here_p_work): ... here.
18366
18367 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
18368
18369 * resource.c (find_basic_block): Delete.
18370 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
18371 (init_resource_info): Call compute_bb_for_insn.
18372
18373 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
18374
18375 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
18376 with already adjacent blocks, but no fallthru.
18377 (merge_blocks_move_successor_nojumps): Simplify.
18378 (debug_flow_info): New.
18379
18380 * toplev.c (rest_of_compilation): Open jump1 dump file before
18381 jump and close after, as opposed to just using dump_rtl.
18382
18383 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18384
18385 * reload.h (earlyclobber_operand_p): Declare.
18386 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
18387 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
18388 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
18389 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
18390
18391 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
18392 Richard Henderson <rth@cygnus.com>
18393
18394 * emit-rtl.c (emit_block_insn_before): New.
18395 (emit_block_insn_after): New.
18396 * basic-block.h: Declare them.
18397
18398 * bitmap.h: Protect from multiple inclusion.
18399
18400 * recog.c (scratch_operand): Handle VOIDmode correctly.
18401
18402 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
18403
18404 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
18405 * function.c (assign_parms): Likewise.
18406 * global.c (global_conflicts): Clarify STACK_REGS commentary.
18407
18408 * reg-stack.c (max_uid): Remove.
18409 (blocks, block_begin, block_end, block_drops_in): Remove.
18410 (block_stack_in, block_out_reg_set, block_number): Remove.
18411 (struct block_info_def, BLOCK_INFO): New.
18412 (enum emit_where): New.
18413 (current_block): New.
18414 (BLOCK_NUM): Remove.
18415 (mark_regs_pat, record_label_references): Remove.
18416 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
18417 (nan): New.
18418 (goto_block_pat, print_blocks, dump_stack_info): Remove.
18419 (reg_to_stack): Simplified test for existance of fp code. Use
18420 flow.c code. Call shorten_branches after cross-jump opt.
18421 (check_asm_stack_operands): Renamed from record_asm_reg_life.
18422 Return false if the asm doesn't use stack regs. Don't do life
18423 analysis on the asm.
18424 (emit_pop_insn): Replace function pointer arg `when' with
18425 enum `where'. Update all callers.
18426 (change_stack): Likewise. Update basic block end.
18427 (emit_swap_insn): Use current_block->head to limit reverse search
18428 for start of block. Use emit_block_insn_after.
18429 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
18430 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
18431 structure assignment instead of bcopy.
18432 (print_stack): New.
18433 (convert_regs_entry, convert_regs_exit): New.
18434 (convert_regs_1, convert_regs_2): Split out from convert_regs.
18435 Work on basic blocks and the CFG.
18436 (convert_regs): Use them.
18437
18438 * i386.c (output_fix_trunc): Remove code for DImode input operand
18439 not at top-of-stack.
18440 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
18441 appropriate mode.
18442 (fix_truncdi_1): Allow any mode scratch.
18443
18444 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
18445
18446 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
18447 * linux.h, netbsd.h, vms.h: Not here.
18448
18449 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
18450
18451 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
18452 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
18453 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
18454 CONDITIONAL_REGISTER_USEAGE): Use them.
18455 * config/mips/mips.c (mips_move_1word,mips_move_2words,
18456 gen_conditional_branch,override_options) : Use them.
18457 * config/mips/mips.md : Use them.
18458
18459 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
18460
18461 * i386.md (zero_extendqihi2): Use SImode register name with andl.
18462
18463 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
18464
18465 * integrate.c (function_cannot_inline_p): Don't allow inlining
18466 if setjmp is used.
18467
18468 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18469
18470 * c-parse.in (cast_expr): Constify.
18471
18472 * cccp.c (special_symbol): Likewise.
18473
18474 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
18475
18476 * dwarf2out.c (base_type_die): Likewise.
18477
18478 * global.c (allocno_compare): Likewise.
18479
18480 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
18481
18482 * regclass.c (fix_register): Likewise.
18483
18484 * rtl.h (fix_register): Likewise.
18485
18486 * stupid.c (stupid_reg_compare): Likewise.
18487
18488 * toplev.c (decode_f_option): Likewise.
18489
18490 * tree.c (build_complex_type): Likewise.
18491
18492 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
18493
18494 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
18495
18496 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18497
18498 * reload.c (find_reloads): Compute mode and nregs fields of all
18499 reloads.
18500 * reload1.c (calculate_needs_all_insns): Simplify a bit.
18501 (calculate_needs): Use precomputed mode/nregs values.
18502 (allocate_reload_reg): Likewise.
18503 Break out two...
18504 (failed_reload, set_reload_reg): ... new functions.
18505 (choose_reload_regs_init): New function, mostly broken out from...
18506 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
18507 Also lose one #if 0 block.
18508
18509 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
18510
18511 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
18512 substitution.
18513
18514 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
18515
18516 * tree.h (BLOCK_TYPE_TAGS): Remove.
18517 (BLOCK_END_NOTE): Likewise.
18518 (BLOCK_LIVE_RANGE_FLAG): Likewise.
18519 (BLOCK_LIVE_RANGE_START): Likewise.
18520 (BLOCK_LIVE_RANGE_END): Likewise.
18521 (tree_block): Remove live_range_flag, live_range_var_flag, and
18522 type_tags. Remove end_note, live_range_start, and live_range_end.
18523 (remember_end_note): Remove prototype.
18524 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
18525 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
18526 remember_end_note.
18527 * ggc-common.c (ggc_mark_tree_children): Don't mark
18528 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
18529 * integrate.c (adjust_copied_decl_tree): Remove.
18530 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
18531 * stmt.c (last_block_end_note): Remove.
18532 (init_stmt): Don't add a GC root for it.
18533 (expand_fixup): Don't set it.
18534 (remember_end_note): Remove.
18535 (expand_end_bindings): Don't set last_block_end_note.
18536
18537 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18538
18539 * reload1.c (reload_reg_free_for_value_p): Show
18540 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
18541 reloads.
18542
18543 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
18544
18545 * expmed.c (extract_bit_field): Allow for the case of non-integer
18546 objects that are smaller than a word (like SFmode on a 64-bit
18547 machine).
18548
18549 * loop.c (basic_induction_var): A non-integer variable which is
18550 being set by a paradoxical subreg is probably not a biv.
18551
18552 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18553
18554 * prefix.c (translate_name) Check for empty prefix string.
18555
18556 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
18557
18558 * Makefile.in (CPP_CROSS_NAME): New variable.
18559 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
18560 xcpp.
18561 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
18562 names of the files to be uninstalled.
18563
18564 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
18565
18566 * collect2.c (IS_DIR_SEPARATOR): Define.
18567 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
18568
18569 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
18570 functions too.
18571
18572 * haifa-sched.c (add_dependence): Update the true dependency
18573 cache the first time we add a true dependence to the LOG_LINKS chain.
18574
18575 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
18576
18577 * fold-const.c (fold): Fix comment.
18578
18579 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18580
18581 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
18582 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
18583 dbxout_start_new_source_file, dbxout_source_file,
18584 dbxout_source_line, dbxout_finish, dbxout_type_fields,
18585 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
18586 Constify a char*.
18587 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
18588 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
18589 (dbxout_block): Initialize variable `blocknum'.
18590
18591 * dbxout.h (dbxout_init, dbxout_finish,
18592 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
18593 dbxout_args, dbxout_source_line): Constify a char*.
18594
18595 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
18596 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
18597 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
18598 low_pc_attribute, high_pc_attribute, body_begin_attribute,
18599 body_end_attribute, comp_dir_attribute, sf_names_attribute,
18600 src_info_attribute, mac_info_attribute, producer_attribute,
18601 lookup_filename, generate_macinfo_entry, fundamental_type_code,
18602 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
18603 dwarfout_undef): Constify a char*.
18604 (add_incomplete_type, retry_incomplete_types): Add prototypes.
18605
18606 * dwarfout.h (dwarfout_define, dwarfout_undef,
18607 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
18608
18609 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
18610
18611 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
18612 (MULTILIB_ISA_DEFAULT): New.
18613 (MULTILIB_DEFAULTS): Use it.
18614 * config/mips/mips.c (): Remove the now unnecessary definition
18615 of MIPS_ISA_DEFAULT.
18616 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
18617 unnecessary definition.
18618
18619 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
18620
18621 * arm.md (pic_load_addr): Add constraints to operand 1.
18622
18623 1999-10-25 Bruce Korb <autogen@linuxbox.com>
18624
18625 * fixinc/genfixes: Provide a means for specifying -D options to
18626 AutoGen
18627
18628 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
18629
18630 * arm.c (arm_override_options): Correct initialization of
18631 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
18632 arm_is_strong, and arm_is_6_or_7.
18633
18634 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
18635 (note_set_pseudo_multiple_uses): New function.
18636 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
18637 if a pseudo set in the loop exit is used elsewhere.
18638
18639 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
18640
18641 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
18642
18643 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
18644
18645 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
18646 a single load-address pattern.
18647
18648 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
18649
18650 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
18651 depending on whether or not line-number notes are present.
18652
18653 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18654
18655 * cccp.c (progname, file_buf, default_include, include_file,
18656 macrodef, definition, hashval, wchar_type, user_label_prefix,
18657 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
18658 expand_to_temp_buffer, is_system_include, base_name,
18659 absolute_filename, read_name_map, open_include_file,
18660 record_control_macro, check_precompiled, check_preconditions,
18661 pcfinclude, pass_thru_directive, create_definition,
18662 check_macro_name, comp_def_part, collect_expansion,
18663 check_assertion, read_token_list, assertion_install,
18664 assertion_lookup, eval_if_expression, conditional_skip,
18665 validate_else, skip_quoted_string, quote_string, macarg1,
18666 error_from_errno, install, lookup, hashf, dump_defn_1,
18667 perror_with_name, pfatal_with_name, main, trigraph_pcp,
18668 check_white_space, rescan, handle_directive, monthnames,
18669 special_symbol, do_include, remap_include_file, write_output,
18670 arglist, do_assert, do_unassert, do_line, do_error, do_once,
18671 do_ident, do_sccs, do_xifdef, skip_if_group,
18672 output_line_directive, macroexpand, macarg, change_newlines,
18673 initialize_builtins, make_definition): Constify a char*.
18674
18675 * pcp.h (stringdef): Likewise.
18676
18677 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
18678
18679 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
18680 not of pattern.
18681
18682 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
18683 Richard Henderson <rth@cygnus.com>
18684
18685 * alias.c: Include ggc.h.
18686 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
18687 (record_set): Verify enough room in reg_base_value.
18688 (init_alias_analysis): Allocate reg_base_value with xcalloc.
18689 Register it as a GC root.
18690 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
18691 * Makefile.in (alias.o): Depend on ggc.h.
18692
18693 * unroll.c (unroll_loop): Verify the insn before a barrier
18694 is a JUMP_INSN before checking JUMP_LABEL.
18695
18696 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18697
18698 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
18699 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
18700 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
18701 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
18702 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
18703 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
18704
18705 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18706
18707 * output.h (ctors_section, dtors_section, bss_section): Prototype.
18708
18709 * alpha/alpha-interix.h (text_section): Delete prototype.
18710 * alpha/elf.h (text_section): Likewise.
18711 * arm/linux-elf.h (text_section): Likewise.
18712 * arm/linux-telf.h (text_section): Likewise.
18713 * c4x/c4x.h (text_section): Likewise.
18714 * dsp16xx/dsp16xx.h (bss_section): Likewise.
18715 * elfos.h (text_section): Likewise.
18716 * i386/aix386ng.h (text_section): Likewise.
18717 * i386/i386-interix.h (text_section): Likewise.
18718 * i386/sco5.h (text_section): Likewise.
18719 * i386/svr3gas.h (text_section): Likewise.
18720 * nextstep.h (text_section): Likewise.
18721 * psos.h (text_section): Likewise.
18722 * ptx4.h (text_section): Likewise.
18723 * svr3.h (text_section): Likewise.
18724 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
18725
18726 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18727
18728 * final.c (peephole): Delete prototype.
18729
18730 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
18731 (pre_insert_copies): Remove unused variable `bb'.
18732
18733 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
18734 prototypes.
18735
18736 * output.h (peephole): Add prototype.
18737
18738 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
18739
18740 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
18741 -O0.
18742
18743 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
18744
18745 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
18746 for inlined declarations.
18747
18748 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
18749
18750 * arm.c (logical_binary_operator): New fucntion.
18751 * arm.h (logical_binary_operator): Declare it.
18752 (PREDICATE_CODES): Handle logical_binary_operator.
18753 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
18754 output constraints. Add appropriate splitters.
18755 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
18756 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
18757 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
18758
18759 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18760
18761 * genoutput.c (struct operand_data): New elt eliminable.
18762 (output_operand_data): Write it.
18763 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
18764 (compare_operands): Take it into account.
18765 * recog.h (struct insn_operand_data): New elt eliminable.
18766 * reload1.c (check_eliminable_occurrences, elimination_effects): New
18767 functions.
18768 (old_asm_operands_vec, new_asm_operands_vec): Delete.
18769 (eliminate_regs): Move code that detects changes to elimination
18770 target regs into new function elimination_effects.
18771 Delete one #if 0 block.
18772 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
18773 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
18774 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
18775 Only call eliminate_regs for real operands of the insn, not for parts
18776 of its structure or parts matched by things like match_operator.
18777 Use elimination_effects and check_eliminable_occurrences. Use
18778 copy_insn to duplicate the pattern when not in the final pass.
18779
18780 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
18781
18782 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
18783 and fld.
18784
18785 1999-10-22 Bruce Korb <autogen@linuxbox.com>
18786
18787 * fixinc/README: document the "mach" machine matching test
18788 * fixinc/fixfixes.c: Implement the #else/#endif label fix
18789 * fixinc/fixtests.c: Implement the #else/#endif label test
18790 * fixinc/inclhack.def: utilize these tests and fixes
18791 * fixinc/inclhack.sh: regen
18792 * fixinc/fixincl.x: regen
18793 * fixinc/fixincl.sh: regen
18794
18795 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
18796
18797 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
18798 depend on ggc.h.
18799
18800 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
18801
18802 * gcc.1: Document exit codes.
18803
18804 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18805
18806 * calls.c: Include tm_p.h later, so everything we need is defined.
18807 * expr.c: Likewise.
18808 * function.c: Likewise.
18809
18810 * except.c: Include tm_p.h.
18811
18812 * sparc.c: Likewise.
18813 (dwarf2out_cfi_label): Don't prototype.
18814 (check_return_regs, epilogue_renumber,
18815 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
18816 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
18817 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
18818 ultra_schedule_insn): Add static prototype.
18819 (data_segment_operand, text_segment_operand): Call itself with the
18820 proper number of arguments.
18821 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
18822
18823 * sparc.h: Move all declarations to sparc-protos.h.
18824 (SELECT_RTX_SECTION): Pass a missing MODE argument to
18825 symbolic_operand.
18826
18827 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
18828
18829 * config/svr4.h (text_section, ctors_section, dtors_section): Add
18830 Prototypes.
18831 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
18832 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
18833 ASM_OUTPUT_ASCII): Constify a char*.
18834
18835 * sparc-protos.h: New file for sparc prototypes.
18836
18837 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18838
18839 * function.c (record_insns, contains): Always declare and define.
18840 (record_insns): Mark with ATTRIBUTE_UNUSED.
18841
18842 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
18843
18844 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
18845 to .section when outputting a .bss section to deal with multiple
18846 .bss input sections (as happens with -fdata-sections)
18847 Also output %progbits, not @progbits so the assembler doesn't treat as
18848 a comment.
18849 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
18850
18851 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
18852 thumb parts even when building with non-thumb CPUs, by forcing
18853 thumb mode.
18854
18855 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
18856
18857 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
18858 (movdf_const_intreg_sp64): Similarly.
18859
18860 * local-alloc.c (update_equiv_regs): Check the correct insn
18861 for pre-existing REG_EQUIV notes.
18862
18863 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
18864
18865 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
18866 block reached by a branch if we're not going to actually process
18867 this block.
18868
18869 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
18870
18871 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
18872 a local extern function declaration.
18873
18874 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
18875
18876 * i386.c (ix86_expand_prologue): Properly wrap USE around
18877 reg for CALL_INSN_FUNCTION_USAGE.
18878
18879 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
18880
18881 * config/mips/mips.md (movdf_internal1a): Allow floating-point
18882 move between GP_REGs.
18883
18884 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
18885
18886 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
18887 the mode size when finding out if an offset is legal.
18888
18889 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
18890
18891 * basic-block.h (PROP_*): Move constants from ...
18892 * flow.c: ... here.
18893 (compute_bb_for_insn): Free the array before reallocating.
18894 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
18895 (allocate_reg_life_data): Reset all reg variables collected by
18896 propagate_block.
18897 (get_block_head_tail): Don't convert from bb to block.
18898 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
18899 (find_insn_reg_weight): Take block not bb.
18900 (schedule_block): Don't set block num for moved insns.
18901 (schedule_region): Don't update_life_info or find_insn_reg_weight.
18902 (schedule_insns): Do it here instead.
18903 * combine.c (combine_instructions): Invoke compute_bb_for_insn
18904 before update_life_info.
18905 * recog.c (split_all_insns, peephole2_optimize): Update for
18906 new arg to update_life_info.
18907 * rtlanal.c (remove_note): Cope with NULL note.
18908 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
18909 if we did sched1.
18910
18911 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
18912
18913 * jump.c (jump_optimize_1): More accurately detect casesi insns.
18914
18915 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
18916 block records so that merge_blocks_nomove will clean up correctly.
18917 (split_edge): Handle casesi insns.
18918
18919 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
18920
18921 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
18922
18923 * pa.md (call, call_value): Do not emit a blockage after restoring
18924 the PIC register.
18925
18926 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
18927
18928 * c-typeck.c (c_expand_asm_operands): Fix typo.
18929
18930 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18931
18932 * arm.c (fpu_rhs_operand): Verify modes.
18933 (fpu_add_operand): Likewise.
18934 (di_operand): Likewise.
18935 (soft_df_operand): Likewise.
18936
18937 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
18938
18939 * arm.c (arm_return_in_memory): APCS rules state that the elements
18940 of a structure returned in a register must be 'integer-like'.
18941
18942 1999-10-19 Bruce Korb <autogen@linuxbox.com>
18943
18944 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18945 in the source tree when the generated targets are out of date
18946 * fixinc/genfixes: Alter it to run individual fixes for make.
18947 * fixinc/README: rewrite
18948 * fixinc/inclhack.def: moved initial comments to README
18949
18950 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
18951
18952 * toplev.c (main): Do not generate an error message if an
18953 unrecognised command line switch is recognisable by another
18954 language. If extra_warnings are enabled, then generate a
18955 warning message instead.
18956
18957 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
18958
18959 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18960 (insert_pack_attributes): Delete prototype.
18961
18962 * c-pragma.c (default_alignment): New static variable.
18963 (push_alignment): Initialize to current effective alignment.
18964 (pop_alignment): Use to set new alignment.
18965 (insert_pack_attributes): Delete function.
18966 (handle_pragma_token): Set default_alignment as well each time
18967 a #pragma pack(<n>) is encountered.
18968
18969 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
18970
18971 * reg-stack.c (stack_result): Aggregates are not returned in
18972 stack registers.
18973
18974 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
18975
18976 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18977
18978 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
18979
18980 * basic-block.h (set_block_num): Declare.
18981 * flow.c (update_life_info): Don't call compute_bb_for_insn
18982 or free_basic_block_vars.
18983 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18984 (insn_orig_block): Remove.
18985 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
18986 (schedule_block): Keep BLOCK_NUM up-to-date.
18987 (schedule_insns): Use compute_bb_for_insn.
18988 * recog.c (split_all_insns): Likewise.
18989 (peephole2_optimize): Likewise.
18990
18991 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
18992
18993 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18994 if the pic register is used.
18995
18996 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18997
18998 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18999 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
19000 if that tests TREE_PERMANENT.
19001
19002 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
19003
19004 * cse.c (invalidate_for_call): Do not remove memory references from
19005 the table here. It's handled elsewhere.
19006
19007 * haifa-sched.c (add_dependence): Protect references to the
19008 true dependency cache with #ifdef INSN_SCHEDULING.
19009 (remove_dependence): Similarly.
19010
19011 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
19012 to the cfg code that this is a return instruction.
19013 * mn10300.md (return_internal): Similarly.
19014
19015 * combine.c (get_last_value): If the last set of a register
19016 is after subst_low_cuid, then we can not use it to determine
19017 the register's last value.
19018
19019 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19020
19021 * Makefile.in: Back out previous change.
19022
19023 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
19024
19025 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
19026
19027 * haifa-sched.c (add_dependence): Only check/update the cache
19028 if it exists.
19029 (remove_dependence): Likewise.
19030 (schedule_insns): Only create the true_dependency_cache if the
19031 average number of instructions in a basic block is very large.
19032
19033 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19034
19035 * Makefile.in (ggc-common.o): Depend on genrtl.h.
19036 (ggc-simple.o): Likewise.
19037 (ggc-page.o): Likewise.
19038
19039 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
19040
19041 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
19042 Prototype for exported functions.
19043 (pre_lcm, pre_rev_lcm): Remove prototypes.
19044 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
19045 (compute_available): Move to lcm.c, and change parameter order.
19046 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
19047 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
19048 (gcse_main): No longer call compute_preds_succs. Rebuild the
19049 set table after reach pre pass.
19050 (pre_insert_map, pre_delete_map, edge_list): New.
19051 (alloc_pre_mem): Allocate edge vectors.
19052 (free_pre_mem): Delete edge vectors.
19053 (compute_pre_data): Call new edge based lcm routines.
19054 (process_insert_insn): New function.
19055 (insert_insn_end_bb): Use it.
19056 (pre_edge_insert): New function.
19057 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
19058 needed.
19059 (pre_insert_copies): Revamp using new edge based lcm outputs.
19060 (pre_delete): Likewise.
19061 (one_pre_gcse_pass): Insert & remove fake edges to the exit
19062 block.
19063 (compute_code_hoist_vbeinout): New new edge based routines.
19064 * lcm.c: Remove all the old LCM functions. Replace with new ones
19065 that work with the new cfg datastructures and work with edges
19066 instead of blocks.
19067
19068 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19069
19070 * reload.h (struct reload): Add new fields "mode" and "nregs".
19071 * reload1.c: Change all occurrences of reload_mode and reload_nregs
19072 to reference the "mode" and "nregs" field within struct reload.
19073
19074 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
19075
19076 * haifa-sched.c (true_dependency_cache): New.
19077 (add_dependence): Use the true dependency cache to avoid expensive
19078 walks down the LOG_LINKS dependency list. Add entries to the
19079 cache as necessary.
19080 (remove_dependence): Remove entries from the true dependency cache
19081 as needed.
19082 (schedule_insns): Allocate and initialize and free the true
19083 dependency cache.
19084
19085 * haifa-sched.c (schedule_insns): Do not remove inter-block
19086 dependencies anymore.
19087
19088 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19089
19090 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
19091 * i386/t-winnt: Likewise.
19092
19093 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
19094
19095 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
19096
19097 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
19098
19099 * Makefile.in (LANGUAGES): Omit "proto".
19100 (clean): Remove stale comment about removing unprotoize.c.
19101
19102 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19103
19104 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
19105 using arithmetic on void pointers.
19106
19107 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
19108
19109 * haifa-sched.c (compute_block_forward_dependencies): Only check
19110 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
19111
19112 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
19113
19114 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
19115 (expr_equiv_p): Reject memories with different alias sets.
19116
19117 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
19118
19119 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
19120 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
19121 (f_options): Add "bounded-pointers" and "bounds-check" entries.
19122 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
19123 (lang_init): Set default for flag_bounds_check if still "unspecified".
19124
19125 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19126
19127 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
19128
19129 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19130
19131 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
19132 instructions.
19133
19134 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19135
19136 * config/c4x/c4x.md (*db_noclobber,
19137 *decrement_and_branch_until_zero_noclobber): New patterns and
19138 associated splitters.
19139
19140 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19141
19142 * config/c4x/c4x.md (parallel instruction patterns): Rework
19143 constraints to keep reload happy.
19144
19145 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19146
19147 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
19148 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
19149 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
19150 Add new patterns and associated post-reload splitters.
19151
19152 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19153
19154 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
19155
19156 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19157
19158 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
19159 if appropriate.
19160 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
19161
19162 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19163
19164 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
19165 memory mode.
19166
19167 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
19168
19169 * pa.c (move_operand): Rely on memory_address_p to determine the
19170 validity of non-indexed memory addresses.
19171 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
19172 operand in DFmode and SFmode when generating PA2.0 code.
19173
19174 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
19175
19176 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
19177
19178 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
19179
19180 * mips.c (function_prologue): Fix argument types.
19181 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
19182 (casesi_internal): Write to the scratch register.
19183
19184 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
19185
19186 * cppexp.c (cpp_parse_escape): Make static. Change second arg
19187 to U_CHAR **.
19188 (parse_charconst): Delete unnecessary cast when calling
19189 cpp_parse_escape.
19190 (cpplib.h): Kill prototype of cpp_parse_escape.
19191
19192 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
19193
19194 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
19195 * unroll.c (unroll_loop): Cast return value of alloca.
19196 * i370/i370.c: Include function.h and toplev.h.
19197 (i370_label_scan): Remove c++ commented abort.
19198 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
19199 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
19200 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
19201 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
19202
19203 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
19204
19205 * config/t-freebsd: Do not override USER_H.
19206 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
19207
19208 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
19209 Mumit Khan <khan@xraylith.wisc.edu>
19210
19211 * c-parse.in (component_decl): Support anonymous struct/union.
19212 (%expect): Update.
19213 * c-parse.y: Regenerate.
19214 * c-parse.c: Likewise.
19215 * objc/objc-parse.y: Likewise.
19216 * objc/objc-parse.c: Likewise.
19217 * c-decl.c (finish_struct): Don't sort the fields.
19218 (field_decl_cmp): Delete unused function.
19219
19220 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
19221
19222 * sparc.md (movsf_const_intreg): Revert last constraint change.
19223 (movdf_const_intreg_sp32): Likewise.
19224
19225 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
19226
19227 * cse.c: Include hashtab.h instead of splay-tree.h
19228 (struct cse_reg_info): No longer use variant union. Add new
19229 field "regno". All references changed to avoid union.
19230 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
19231 (free_cse_reg_info): Remove.
19232 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
19233 (get_cse_reg_info): Revamp to use expandable hash tables instead
19234 of splay trees. Initialize new fields in cse_reg_info structure.
19235 (new_basic_block): Similarly.
19236
19237 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
19238
19239 * genrecog.c (message_with_line): Prototype.
19240 (validate_pattern): Pass along the set for the dest, not a flag.
19241 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
19242 Check for PC/CC0 as sources.
19243 (nodes_identical): Check for children position match before
19244 allowing the combination.
19245
19246 * rtl.c (read_rtx): Track line number across \\\n.
19247
19248 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
19249
19250 * mips.h (SPECIAL_MODE_PREDICATES): New.
19251 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
19252 (movdi+1, movsi+1): Add output reload constraint.
19253 (casesi_internal): Likewise. Fix commentary.
19254 (return_internal): Use pmode_register_operand.
19255
19256 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
19257
19258 * 1750a.md (movstrqi): Add missing output reload constraint.
19259 (call_value): Likewise.
19260 * a29k.md (cpxxx patterns): Add missing match_operator mode.
19261 (jmpfdec): Add missing inout reload constraint.
19262 * elxsi.md (addsi patterns): Add missing output reload constraint.
19263 (move from sp): Use @ alternates.
19264 (call_value): No constraint on output.
19265 * fr30.md (movsi_pop): Add missing output reload constraint.
19266 (movsf_constant_store): Likewise.
19267 (splits): Remove constraints.
19268 (subsi3): Add missing mode.
19269 * i370.md (cmpstrsi+1): Add missing output reload constraint.
19270 (call_value): Likewise.
19271 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
19272 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
19273 * m32r.md (movsicc_internal): Add output reload constraint.
19274 (movstrsi_internal): Add inout reload constraints.
19275 * m88k.h (reg_names): Don't declare.
19276 (SPECIAL_MODE_PREDICATES): New.
19277 * m88k.md (*): Use register_operand not reg_or_0_operand
19278 on destinations.
19279 * mn10200.h (PREDICATE_CODES): New.
19280 * ns32k.md (ffs pattern): Add output reload constraint.
19281 * pdp11.md (sob pattern): Add inout reload constraint.
19282 * sh.md (splits): Remove constraints.
19283 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
19284 * v850.md (pattern_is_ok_for_epilogue): Likewise.
19285 * vax.md (jgequ pattern): Add inout reload constraint.
19286
19287 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
19288
19289 * configure.in (djgpp): Revert previous patch.
19290 * configure: Rebuit.
19291 * config/i386/djgpp.h: Revert previous patch.
19292
19293 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
19294
19295 * fixinc/inclhack.def: Restore patch lost during last merge of
19296 "no_bogosity" branch.
19297 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
19298
19299 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
19300
19301 * fixincludes: Add a HPUX 11 fix for inttypes.h.
19302 * fixinc/inclhack.def: Same.
19303 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
19304
19305 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
19306
19307 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
19308 as the base of a PLUS.
19309
19310 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19311
19312 * config/c4x/c4x.md: Define mode for remaining unspec operators.
19313 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
19314
19315 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
19316
19317 * pa.md (post_stw+1): Use pmode_register_operand.
19318 (dcacheflush, icacheflush): Likewise.
19319
19320 * i386.md (movstricthi_1): Allow r/r.
19321
19322 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
19323
19324 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
19325 to (not (and (arg0) (arg1))). Similary for and.
19326
19327 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
19328 fallthrough to associate code.
19329 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
19330 bits in common.
19331
19332 * combine.c (simplify_logical): Convert XOR to IOR if operands have
19333 no bits in common; remove XOR to ROTATE conversion.
19334
19335 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19336
19337 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
19338
19339 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19340
19341 * config/c4x/c4x.c (dst_operand): New.
19342 (PREDICATE_CODES): Update.
19343 * config/c4x/c4x.h (dst_operand): Declare it.
19344 * config/c4x/c4x.md: Define mode for each unspec usage.
19345 (move patterns): Use dst_operand predicate instead of src_operand.
19346 (movqi_update, movqf_update): Delete.
19347
19348 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
19349
19350 * recog.c (pmode_register_operand): New.
19351 * recog.h: Declare it.
19352 * genrecog.c (pred_codes): Likewise.
19353 (special_mode_pred_table): Likewise.
19354 (validate_pattern): Don't warn no mode for address_operand.
19355
19356 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
19357 if the operand is not insn-like.
19358
19359 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
19360 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
19361
19362 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
19363
19364 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
19365
19366 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
19367 instead of general_operand in a SET_DEST. Use const_double_operand
19368 instead of an explicit test against CONST_DOUBLE.
19369 (movsf_const_lo): Add missing register mode.
19370 (goto_handler_and_restore): Add auxiliary test for Pmode.
19371 (flush): Adjust to use address_operand.
19372 (return_sf_no_fpu): Add missing output constraint.
19373
19374 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
19375
19376 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
19377 for call return value.
19378 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
19379
19380 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
19381
19382 * toplev.c (main): Only warn about options for other languages.
19383 * collect2.c (main): Pass -w to sub-gcc.
19384
19385 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
19386
19387 * flow.c (propagate_block): Add call-clobbered registers to
19388 significant too.
19389
19390 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
19391 zapping mem_set_list.
19392 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
19393 (mark_set_1, mark_used_regs): Likewise.
19394
19395 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
19396
19397 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
19398
19399 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
19400
19401 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
19402 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
19403 options. Also add a new item "C-only Warning Options" to the
19404 option summary.
19405
19406 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
19407
19408 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
19409 from multiple calls.
19410
19411 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
19412
19413 * i386.md (call value patterns): Move to the end of the file.
19414 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
19415
19416 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
19417
19418 * configure.in (djgpp configuration): Define extra_objects..
19419 * configure: Rebuilt.
19420 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
19421 (DTORS_SECTION_ASM_OP): Define.
19422 (INIT_SECTION_ASM_OP): Define.
19423 (FINI_SECTION_ASM_OP): Define.
19424 (DATA_SECTION_ASM_OP): Define.
19425 (TEXT_SECTION_ASM_OP): Define.
19426 (EH_FRAME_SECTION_ASM_OP): Define.
19427 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
19428 (STARTFILE_SPEC): Add crtbegin.o.
19429 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
19430 to here from LINK_COMMAND_SPEC.
19431 (DO_GLOBAL_CTORS_BODY): Define.
19432 (CRTSTUFF_USE_FINI_SECTION): Define
19433 (HAS_INIT_SECTION): Delete.
19434
19435 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
19436
19437 * Makefile.in (all.cross): Depend on xcpp$(exeext).
19438
19439 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
19440
19441 * pa.h (PREDICATE_CODES): New.
19442
19443 * genrecog.c (validate_pattern): Condense the destination
19444 non-lvalue message.
19445
19446 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
19447
19448 * alpha.md (call-1): Supply missing mode for operator.
19449 (*): Add missing output reload constraints. Remove constraints
19450 from define_splits.
19451
19452 * i386.h (SPECIAL_MODE_PREDICATES): New.
19453 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
19454 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
19455 (addsi_lea_3): Add missing mode for op 3.
19456 (prologue_set_got, prologue_get_pc): Add missing modes.
19457 (*) Add missing output reload constraints.
19458
19459 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
19460
19461 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
19462 check for member bit-size overflow and use var_size if it occurs.
19463 (layout_record): Use bitsize_int() to define the type size in bits.
19464 Likewise for computation and assignment to DECL_FIELD_BITPOS.
19465 (layout_decl): Likewise when assigning to DECL_SIZE.
19466
19467 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
19468
19469 * genrecog.c (validate_pattern): Typo last change. Verify
19470 that output operands have output reloads.
19471
19472 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
19473
19474 * genrecog.c (special_mode_pred_table): New.
19475 (NUM_SPECIAL_MODE_PREDS): New.
19476 (find_operand): New.
19477 (validate_pattern): New argument `insn'. Warn for assignment to
19478 any predicate accepting non-lvalues. Conditionaly warn for
19479 match_operand without a mode. Try much harder to match source
19480 and destination modes on a set.
19481 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
19482
19483 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
19484
19485 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
19486
19487 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
19488
19489 * combine.c (simplify_logical): Recognize xor pattern that encodes
19490 rotation.
19491
19492 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19493
19494 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
19495 alignment.
19496
19497 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
19498
19499 * ggc-page.c (MAP_FAILED): Provide default.
19500
19501 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
19502
19503 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
19504 * sparc.h (PREDICATE_CODES): Update.
19505
19506 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
19507
19508 * alpha.c (some_ni_operand): New.
19509 * alpha-protos.h: Declare it.
19510 * alpha.h (PREDICATE_CODES): Update.
19511 * alpha.md (sXaddq reload insns): Use some_ni_operand
19512 for SET_DEST instead of some_operand.
19513
19514 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
19515 Jim Wilson <wilson@cygnus.com>
19516
19517 * genrecog.c (maybe_both_true_2): Don't compare modes of
19518 two DT_pred tests.
19519 (process_tree): Elide peephole2_insns. Invoke simplify_tests
19520 after find_afterward.
19521 (debug_decision_1): Dump next and afterward codes.
19522
19523 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
19524
19525 * rtl.c (dump_and_abort): Remove.
19526 (fatal_with_file_and_line): New.
19527 (fatal_expected_char): New.
19528 (read_rtx_lineno, read_rtx_filename): New.
19529 (read_skip_spaces): Track line number.
19530 (read_name): Use fatal_with_file_and_line.
19531 (read_rtx): Use fatal_expected_char. Track line number.
19532 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
19533
19534 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
19535 if it isn't a CODE_LABEL.
19536
19537 * genattr.c (main): Set read_rtx_filename.
19538 * genattrtab.c (main): Likewise.
19539 * gencodes.c (main): Likewise.
19540 * genconfig.c (main): Likewise.
19541 * genemit.c (main): Likewise.
19542 * genextract.c (main): Likewise.
19543 * genflags.c (main): Likewise.
19544 * genopinit.c (main): Likewise.
19545 * genoutput.c (main): Likewise.
19546 * genpeep.c (main): Likewise.
19547
19548 * genrecog.c (decision_test.u.insn): Add `lineno'.
19549 (pattern_lineno, error_count): New variables.
19550 (message_with_line): New.
19551 (add_to_sequence): Break out checking code to ...
19552 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
19553 (merge_insn): Use message_with_line.
19554 (make_insn_sequence): Use validate_pattern. Record insn lineno.
19555 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
19556
19557 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19558
19559 * expr.c (store_constructor): Clear union if constructor is empty.
19560
19561 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
19562
19563 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
19564 Add !endian checks. Change %{...} to %(...).
19565
19566 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
19567
19568 * i386.md (*addsi3_cc): Renamed from addcsi3.
19569 (*addsi3_carry): Renamed from addxsi3.
19570 (*subsi3_cc): Renamed from subcsi3.
19571 (*subsi3_carry): Renamed from subxsi3.
19572 (*xorqi_cc_1): Renamed from xorcqi_1.
19573 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
19574 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
19575
19576 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
19577
19578 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
19579 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
19580
19581 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
19582
19583 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
19584 climb up the chain of insns.
19585
19586 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
19587
19588 * genrecog.c (write_subroutine): Careful for null trees.
19589 (process_tree): Don't elide empty functions.
19590
19591 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
19592
19593 * Makefile.in (genrtl.o): Depend on ggc.h.
19594 * configure.in (valloc): Probe for it.
19595 (with-gc): Use ggc-page if valloc present.
19596 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
19597 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
19598 (ggc_alloc_string): Moved from ggc-page.c.
19599 * ggc-none.c (ggc_alloc_obj): New.
19600 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
19601 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
19602 (struct globals): Likewise for dev_zero_fd.
19603 (init_ggc): Likewise for it's initialization.
19604 (ggc_allocated_p): Move careful dereference from ...
19605 (ggc_lookup_page_table): ... here. Delete.
19606 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
19607 (alloc_anon): Use valloc if no mmap.
19608 (release_pages): Use free if using valloc.
19609 (ggc_alloc_obj): Renamed from alloc_obj.
19610 (ggc_set_mark): Renamed from mark_obj.
19611 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
19612 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
19613 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
19614 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
19615 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
19616 (ggc_collect): Use fp printing instead of our own rounding.
19617 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
19618 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
19619 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
19620 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
19621 (struct ggc_string, struct ggc_any): Delete.
19622 (offsetof): Provide default definition.
19623 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
19624 (PTR_KEY): New.
19625 (struct ggc_mem): New, from corpse of ggc_any.
19626 (struct ggc_status): Delete.
19627 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
19628 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
19629 (n_strings_collected, n_anys_collected): Delete.
19630 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
19631 (ggc_alloc_string, ggc_alloc): Delete.
19632 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
19633 (ggc_free_string, ggc_free_any): Delete.
19634 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
19635 (ggc_compare_addresses, ggc_mark_string): Delete.
19636 (ggc_mark_string_if_gcable, ggc_mark): Delete.
19637 (search_data): Delete.
19638 (struct globals): New.
19639 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
19640 (tree_insert, tree_lookup): New.
19641 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
19642 (clear_marks, sweep_objs): New.
19643 (ggc_collect): Gut. Use clear_marks, sweep_objs.
19644 (init_ggc): Set allocated_last_gc.
19645 (ggc_push_context): Gut. Use G.context.
19646 (ggc_pop_context): Likewise.
19647 (ggc_pop_context_1): New.
19648 (debug_ggc_tree): New.
19649 (debug_ggc_balance, tally_leaves): New.
19650 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
19651 (ggc_mark_string_if_gcable): Remove decl.
19652 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
19653 (ggc_mark_rtvec_children): New.
19654 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
19655 (ggc_mark_if_gcable): New decl.
19656 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
19657 (ggc_alloc_tree, ggc_alloc): Likewise.
19658 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
19659 (ggc_alloc_obj): New decl.
19660 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
19661 (ggc_alloc_tree, ggc_alloc): Likewise.
19662 (ggc_set_mark): New decl.
19663 * rtl.h (struct rtx_def): Remove gc_mark.
19664 (struct rtvec_def): Likewise.
19665 * tree.h (struct tree_common): Likewise.
19666
19667 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
19668
19669 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
19670 float_format and thread_file definitions.
19671 * configure: Rebuilt.
19672
19673 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
19674
19675 * extend.texi (Function Names): Document types of function names.
19676
19677 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19678
19679 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
19680 an earlyclobbered output conflict with RELOAD_INPUT reloads.
19681
19682 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19683
19684 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
19685
19686 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19687
19688 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
19689
19690 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
19691
19692 * collect2.c (main): Do prelimnary link on AIX if rflag.
19693
19694 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19695
19696 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
19697 __CTOR_LIST__ in opposite order, which is the correct order for sorted
19698 constructors.
19699 (__do_global_dtors): similarly for __DTOR_LIST__.
19700
19701 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19702 Diego Novillo <dnovillo@cygnus.com>
19703
19704 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
19705 FPUL_REGS.
19706
19707 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
19708
19709 * fixincl/*: Merged "no_bogosity" branch
19710 * fixincl/fixlib.h: protect against doubly defining t_bool
19711 * fixincl/server.h: protect against doubly defining t_bool
19712
19713 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
19714
19715 * genoutput.c: Include toplev.h.
19716
19717 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
19718
19719 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
19720 Undef.
19721 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
19722 * configure: Regenerate.
19723
19724 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
19725
19726 * gcse.c (delete_null_pointer_checks): Returns void.
19727
19728 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19729
19730 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
19731 * emit-rtl.c (copy_insn_1): Likewise.
19732
19733 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
19734
19735 * config/mips/mips.c (mips_build_va_list): Correct
19736 TREE_CHAIN setting when hard-float.
19737 (mips_va_start): Use corrected setting.
19738 (mips_va_arg): Likewise. Also pass a tree to build of
19739 POSTINCREMENT_EXPR rather than a naked 'int'.
19740
19741 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
19742
19743 * ggc.h (ggc_push_context): Fix comment.
19744 (ggc_pop_context): Likewise.
19745 (mark_string_if_gcable): Likewise.
19746 * ggc-common.c (ggc_mark_rtx_children): Use
19747 ggc_mark_string_if_gcable.
19748 * ggc-page.c (ggc_lookup_page_table): New function.
19749 (ggc_allocated_p): Likewise.
19750 (mark_obj): Fix formatting.
19751 (ggc_mark_string_if_gcable): New function.
19752 * ggc-simple.c (ggc_allocated_strings): New variable.
19753 (ggc_strings_used): Likewise.
19754 (ggc_compare_addresses): New function.
19755 (ggc_pop_context): Pop the `any' memory too.
19756 (ggc_mark_string_if_gcable): New function.
19757 (ggc_collect): Initialize and tear down ggc_allocated_strings.
19758
19759 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
19760
19761 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
19762 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
19763 * rs6000.c (expand_block_move): Match movstrsi_?reg register
19764 changes.
19765
19766 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
19767
19768 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
19769 (sched_reg_live_length, sched_reg_basic_block): Delete.
19770 (current_block_num, bb_live_regs, old_live_regs): Delete.
19771 (dead_notes, struct sometimes): Delete.
19772 (sched_note_set, birthing_insn_p): Delete.
19773 (adjust_priority): Gut useless reg lifetime code.
19774 (create_reg_dead_note, attach_deaths): Delete.
19775 (attach_deaths_insn, new_sometimes_live): Delete.
19776 (finish_sometimes_live): Delete.
19777 (find_pre_sched_live, find_post_sched_live): Delete.
19778 (update_reg_usage): Delete.
19779 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
19780 (schedule_insns): Delete reg lifetime code.
19781 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
19782 (unlink_other_notes): Adjust REG_NOTE commentary.
19783 (reemit_notes): Use REG_SAVE_NOTE.
19784 (schedule_block): Likewise.
19785 (schedule_region): Allocate bitmap of blocks in region. Use
19786 count_or_remove_death_notes. Use update_life_info.
19787
19788 * rtl.h (REG_SAVE_NOTE): New.
19789 * rtl.c (reg_note_name): Update.
19790
19791 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
19792
19793 * combine.c (refresh_blocks, need_refresh): New.
19794 (combine_instructions): Allocate refresh_blocks. Invoke
19795 update_life_info if needed.
19796 (distribute_notes): Mark refresh_blocks instead of installing
19797 USE insns.
19798 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
19799 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
19800
19801 * Makefile.in (recog.o): Depend on basic-block.h.
19802
19803 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
19804
19805 * genrecog.c (add_to_sequence): Thinko last change: delete
19806 shadowing allow_const_int variable.
19807
19808 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19809
19810 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
19811 __GNUC__ and __GNUC_MINOR__.
19812
19813 * gansidecl.h: Likewise.
19814
19815 * rtl.c: Likewise.
19816
19817 * rtl.h: Likewise.
19818
19819 * toplev.h: Likewise.
19820
19821 * tree.c: Likewise.
19822
19823 * tree.h: Likewise.
19824
19825 * varray.c: Likewise.
19826
19827 * varray.h: Likewise.
19828
19829 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19830
19831 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
19832 use one before a jump table.
19833
19834 * rtl.def (ADDRESS): Change documentation to match reality.
19835 * md.texi: Don't document it.
19836 * gmicro.md (load address pattern): Use 'p' constraint, delete use
19837 of ADDRESS rtx.
19838
19839 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
19840
19841 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
19842
19843 * genrecog.c (add_to_sequence): Move allow_const_int test outside
19844 known predicate block; default allow_const_int true.
19845 (debug_decision_list): New.
19846
19847 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
19848
19849 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
19850
19851 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
19852
19853 * gcse.c (gcse_main): Avoid global optimizations if we have a
19854 large number of basic blocks and the ratio of edges to blocks
19855 is high.
19856 (delete_null_pointer_checks): Likewise.
19857
19858 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
19859
19860 * c-common.c (check_format_info): Warn if format string isn't a
19861 string literal.
19862
19863 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19864
19865 * configure.in (arm*-*-*): Don't let autoconf remove brackets
19866 * configure: regenerate
19867
19868 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
19869
19870 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
19871 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
19872 (peepholes): Re-enable.
19873
19874 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
19875
19876 * Makefile.in (flow.o): Depend on TREE_H.
19877 * basic-block.h (REG_SET_EQUAL_P): New.
19878 (XOR_REG_SET): New.
19879 (n_edges): Declare.
19880 (free_regset_vector): Remove declaration.
19881 (flow_delete_insn_chain): Declare.
19882 (enum update_life_extent): New.
19883 (update_life_info, count_or_remove_death_notes): Declare.
19884 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
19885 Verify register live at bb->global_live_at_start before adding USE.
19886 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
19887 (CLEAN_ALLOCA): New.
19888 (n_edges): New.
19889 (PROP_*): New flags.
19890 (find_basic_blocks_1): Use alloc_EXPR_LIST.
19891 (clear_edges): Zero n_edges.
19892 (make_edge): Increment n_edges.
19893 (split_edge): Don't allocate bb->local_set. Increment n_edges.
19894 (flow_delete_insn_chain): Export.
19895 (delete_block): Decrement n_edges.
19896 (merge_blocks_nomove): Likewise.
19897 (life_analysis): Give life_analysis_1 PROP flags.
19898 (verify_wide_reg_1, verify_wide_reg): New.
19899 (verify_local_live_at_start): New.
19900 (update_life_info): Rewrite to call into propogate_block.
19901 (mark_reg): New.
19902 (mark_regs_live_at_end): After reload, if epilogue as rtl,
19903 always mark stack pointer. Conditionally mark PIC register.
19904 After reload, mark call-saved registers, return regsiters.
19905 (life_analysis_1): Accept PROP flags not remove_dead_code.
19906 Call mark_regs_live_at_end before zeroing regs_ever_live.
19907 Use calculate_global_regs_live. Copy global_live_at_end before
19908 calling final propagate_block. Zero reg_next_use on exit.
19909 (calculate_global_regs_live): New.
19910 (allocate_bb_life_data): Don't allocate bb->local_set.
19911 (init_regset_vector, free_regset_vector): Remove.
19912 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
19913 Test flags before every operation. Warn if prologue/epilogue insn
19914 would have been deleted.
19915 (mark_set_regs, mark_set_1): Accept and use FLAGS.
19916 Use alloc_EXPR_LIST.
19917 (mark_used_regs): Accept and use FLAGS, not FINAL.
19918 Remove special handling for RETURN.
19919 (try_pre_increment): Use alloc_EXPR_LIST.
19920 (dump_flow_info): Dump n_edges.
19921 (unlink_insn_chain, split_hard_reg_notes): Remove.
19922 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
19923 (find_insn_with_note, new_insn_dead_notes): Remove.
19924 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19925 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19926 (replace_insns): Remove.
19927 (count_or_remove_death_notes): New.
19928 (verify_flow_info): Abort on error after all checks.
19929 (remove_edge): Decrement n_edges.
19930 (remove_fake_edges): Tweak format.
19931 * haifa-sched.c (schedule_insns): Use split_all_insns.
19932 * output.h (update_life_info): Remove declaration.
19933 * recog.c (split_all_insns): From the corpse of split_block_insns,
19934 do the whole function block by block. Use update_life_info.
19935 (recog_last_allowed_insn): New.
19936 (recog_next_insn): Mind it.
19937 (peephole2_optimize): Set it. Walk backwards through blocks.
19938 Use update_life_info.
19939 * rtl.h (update_flow_info, replace_insns): Remove declarations.
19940 (split_all_insns): Declare.
19941 * toplev.c (rest_of_compilation): Thread prologue before flow2.
19942 Use split_all_insns.
19943
19944 * i386.md (or -1 peep2s): Disable.
19945
19946 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
19947
19948 * config/mips/mips.md (movstrsi+[123]) : Combine these into
19949 a single pattern. Scrap the 'd' versions as unnecessary.
19950
19951 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19952 tablejump_mips162,tablejump_internal4): The operands to a
19953 label_ref must be VOIDmode.
19954
19955 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19956
19957 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19958
19959 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
19960
19961 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19962
19963 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
19964
19965 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19966 cache every function if ggc_p.
19967
19968 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19969
19970 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19971 instead of copy_rtx. Accept sequences that contain asm statements.
19972 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19973 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19974 orig_asm_operands_vector, copy_asm_operands_vector,
19975 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19976 variables.
19977 * rtl.h (copy_insn, copy_insn_1): Declare.
19978
19979 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19980
19981 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19982
19983 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19984 arguments to `current_file_function_operand'.
19985
19986 * genrecog.c: Include hard-reg-set.h and resource.h in the
19987 generated output file.
19988
19989 * real.c: Include tm_p.h.
19990
19991 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19992
19993 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19994 output operand.
19995
19996 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
19997
19998 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19999 before the fctiwz insn.
20000
20001 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20002 Mark Mitchell <mark@codesourcery.com>
20003
20004 * tree.c (make_lang_type_fn): New funtion pointer.
20005 (make_lang_type): Call it.
20006 * tree.h (make_lang_type): Declare.
20007 (make_lang_type_fn): Likewise.
20008 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
20009
20010 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
20011
20012 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
20013 make sure that HIGH instructions are copied into BASE_REGS.
20014
20015 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
20016
20017 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
20018
20019 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
20020
20021 * c-decl.c (finish_struct): Use simpler method of
20022 removing elements of a singly-linked list.
20023
20024 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
20025
20026 * alpha.md (peephole2's): Comment out peephole2's that generate
20027 buggy code.
20028
20029 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
20030
20031 * genrecog.c (add_to_sequence): Disable mode check for
20032 wildcard matches.
20033
20034 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20035
20036 * ggc-simple.c (init_ggc): Set empty_string.
20037
20038 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
20039
20040 * configure.in: Detect mmap. Add --with-gc=foo to select
20041 garbage collector; default to page if mmap available.
20042 * Makefile.in (GGC): Substitute.
20043
20044 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
20045
20046 * c-decl.c (ggc_p): Enable.
20047
20048 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20049
20050 * flow.c (verify_flow_info): Make it extern & unconditionally define.
20051
20052 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
20053
20054 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
20055 string for little-endian-data.
20056
20057 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
20058
20059 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
20060 case somebody tries to compile --enable-checking code with gcc
20061 1.34 or such.
20062
20063 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
20064
20065 * genrecog.c (add_to_sequence): Verify operand to label_ref is
20066 VOIDmode.
20067
20068 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
20069
20070 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
20071 * jump.c (jump_optimize_1): Document why.
20072
20073 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20074
20075 * collect2.c (scan_prog_file, scan_libraries): Prototype function
20076 pointers and casts for `int_handler' and `quit_handler'.
20077
20078 * flow.c (verify_flow_info, split_hard_reg_notes,
20079 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
20080 remove_edge, remove_fake_successors): Add static prototypes.
20081 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
20082 (mark_set_1): Initialize variable `regno'.
20083 (unlink_insn_chain): Likewise for variable `curr'.
20084 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
20085
20086 * loop.c (strength_reduce): Initialize variable
20087 `unrolled_insn_copies'.
20088 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
20089 prototypes. Change these functions to take const PTR parameters
20090 to avoid prototype conflict when used as the comparson argument
20091 for qsort.
20092 (check_dbra_loop): Initialize variable `comparison_val'.
20093
20094 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
20095 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
20096 (find_valid_class): Initialize variable `best_class'.
20097 (find_reloads): Call memcpy, not bcopy.
20098
20099 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
20100 (hard_reg_use_compare): Don't needlessly cast away const.
20101 (reload_reg_class_lower): Likewise.
20102 (choose_reload_regs): Initialize variable `regno'.
20103
20104 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
20105
20106 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
20107
20108 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
20109
20110 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
20111 ({,d}discard): Add forward declarations. Declare parameter as
20112 unused.
20113 (main_without_main): Explicitly declare return type to be int.
20114 (memcpy): Properly declare.
20115
20116 * libgcc2.c (toplevel): If inhibit_libc is defined and not
20117 building the trampoline support, declare malloc, free, and
20118 atexit.
20119 (__clear_cache): Mark arguments as potentially unused.
20120
20121 * frame.c (toplevel): If inhibit_libc is defined, declare
20122 malloc and free.
20123
20124 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
20125
20126 * flow.c (make_edge): Accept an optional 2D bitmap in which
20127 to cache edge existence. Update all callers.
20128 (make_label_edge, make_eh_edge): Pass through the edge cache.
20129 (make_edges): Provide the cache.
20130
20131 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20132
20133 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
20134 a char*.
20135 (local_mbtowc): Change the type of variable `i' from int to size_t.
20136
20137 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
20138 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
20139
20140 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
20141
20142 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
20143 after other includes that define the appropriate types. Include
20144 tm_p.h for getting user prototypes.
20145 * ggc-callbacks.c (toplevel): Ditto.
20146 * ggc-none.c (toplevel): Ditto.
20147 * gcc-page.c (toplevel): Ditto.
20148 * ggc-simple.c (toplevel): Ditto.
20149
20150 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
20151 Jonathan Larmour <jlarmour@cygnus.co.uk>
20152
20153 * config/mips/mips.c (mips_move_2words): Split doubles if
20154 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
20155
20156 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
20157
20158 * genrecog.c (struct decision_test): New.
20159 (struct decision): Remove test-related members, sort the rest by size.
20160 (IS_SPLIT): Simplify.
20161 (new_decision, new_decision_test): New.
20162 (add_to_sequence): Use them. No special handling for args of
20163 non-MATCH codes.
20164 (maybe_both_true): Renamed from not_both_true; return sense changed.
20165 (maybe_both_true_1, maybe_both_true_2): New. Broken out
20166 of maybe_both_true and adjusted for decision_test.
20167 (position_merit): Remove.
20168 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
20169 (merge_accept_insn): New, broken out of merge_trees.
20170 (merge_trees): Use them. No special case for c_test; no node
20171 splitting; use test type instead of position_merit.
20172 (factor_tests): New.
20173 (simplify_tests): New.
20174 (break_out_subroutines): Don't write code now.
20175 (find_afterward): New.
20176 (write_afterward, write_switch, write_cond): New.
20177 (write_action, is_unconditional): New.
20178 (write_node): New. Use them.
20179 (write_tree_1): Rewrite. Use the new functions above.
20180 (write_tree): Remove afterward processing.
20181 (write_subroutine): Simplify function variant emission.
20182 (write_subroutines): New.
20183 (same_codes, clear_codes): Remove.
20184 (same_modes, clear_modes): Remove.
20185 (write_header): New, broken out of main.
20186 (make_insn_sequence): Use new_decision and new_decision_test.
20187 (process_tree): New, broken out of main.
20188 (main): Adjust for merge_trees interface change.
20189 Don't #define operands in the output file.
20190 (record_insn_name): New, broken out of make_insn_sequence.
20191 (debug_decision_2, debug_decision_1, debug_decision_0): New.
20192 (debug_decision): New.
20193
20194 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
20195
20196 * resource.c (find_free_register): Mark class_str argument const.
20197 * resource.h: Update prototype to match.
20198
20199 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
20200 * i386.md: Give all anonymous insns names.
20201
20202 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
20203
20204 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
20205 blocks.
20206
20207 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
20208
20209 * toplev.c (dbr_sched_time): Unconditional.
20210 (peephole2_time): New.
20211 (compile_file): Add pass numbers to all of the dump file suffixes.
20212 Dump peephole2_time. Don't dump times for non-applicable passes.
20213 (rest_of_compilation): Add pass numbers to dump file suffixes.
20214 Conditionalize calls to the scheduler.
20215 * invoke.texi: Update.
20216
20217 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
20218
20219 * flow.c (make_edges): Fix insn iteration.
20220 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
20221 (find_basic_blocks_1): Fix spelling mistake.
20222
20223 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
20224
20225 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
20226 always have side-effects. Use memset not bzero.
20227 (make_node): Likewise.
20228
20229 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
20230
20231 * stmt.c (expand_anon_union_decl): When any of the elements of the
20232 union is addressable, so is the entire union.
20233
20234 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
20235
20236 * sbitmap.c (sbitmap_ones): Don't set too many bits.
20237
20238 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
20239 * bitmap.c (bitmap_operation): Return true iff TO changed.
20240 (bitmap_equal_p): New.
20241 (bitmap_bit_p): Tidy arithmetic.
20242 (debug_bitmap_file): Likewise.
20243
20244 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
20245
20246 * toplev.c (rest_of_compilation): Turn on cse_not_expected
20247 before cse2 instead of after.
20248
20249 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
20250
20251 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
20252 register offsets.
20253
20254 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20255
20256 * cppinit.c (is_idchar initializer): Loosen tests to accept
20257 gcc 2.>6 and >2.
20258
20259 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
20260
20261 * mips.md: Define conditional move patterns for floating point
20262 operands and DI mode conditions.
20263
20264 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
20265
20266 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
20267 always have side-effects.
20268
20269 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
20270
20271 * mn10200.c (asm_file_start): Fix typo.
20272
20273 * cppinit.c (is_idchar initializer): Tighten tests for when
20274 to put the table into initialized memory.
20275
20276 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
20277 not an array of rtunion.
20278 * gcc-page.c (ggc_alloc_rtvec): Similarly.
20279 * gcc-simple (ggc_free_rtvec): Similarly.
20280
20281 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
20282 of rtunions.
20283
20284 * mbchar.h: Add missing #endif.
20285
20286 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
20287 (FPBIT, DPBIT): Define.
20288
20289 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20290
20291 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
20292
20293 * profile.c (instrument_arcs, output_gcov_string,
20294 tablejump_entry_p): Add static prototypes.
20295 (output_gcov_string): Constify a char*.
20296
20297 * regmove.c (replacement_quality, fixup_match_2): Add static
20298 prototypes.
20299
20300 * resource.h (reg_dead_p): Add extern prototype.
20301
20302 * rtl.c (trim_filename): Add static prototype.
20303
20304 * scan-decls.c (skip_to_closing_brace): Likewise.
20305
20306 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
20307 (expand_end_case): Initialize variable `range'.
20308 (emit_case_nodes): Remove unused prototype `rtx_fn'.
20309
20310 * varasm.c (asm_emit_uninitialised): Add static prototype.
20311 (asm_emit_uninitialised, assemble_variable): Mark parameter with
20312 ATTRIBUTE_UNUSED.
20313
20314 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20315
20316 * cpplib.c (if_directive_nameo): Add static prototype.
20317
20318 * cse.c (cse_insn): Remove unused variable `p'.
20319
20320 * except.c (create_rethrow_ref, push_entry,
20321 receive_exception_label, new_eh_region_entry, find_func_region,
20322 clear_function_eh_region, process_nestinfo): Add static prototypes.
20323 (get_reg_for_handler): Hide definition.
20324 (process_nestinfo): Initialize variable `extra_handlers'.
20325
20326 * expr.h (expand_builtin_longjmp): Add extern prototype.
20327
20328 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
20329
20330 * function.c (prepare_function_start): Likewise.
20331 (pop_function_context_from): Mark parameter `context' with
20332 ATTRIBUTE_UNUSED.
20333 (push_temp_slots_for_block, flush_addressof): Hide definition.
20334
20335 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
20336 solve_program_flow_graph, calculate_branch_probs,
20337 function_summary, main, fancy_abort): Add prototypes.
20338
20339 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
20340 (add_hash): Constify a char*.
20341
20342 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
20343 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
20344 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
20345
20346 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
20347
20348 * lists.c (free_list, zap_lists): Likewise.
20349
20350 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20351
20352 * alias.c (nonlocal_reference_p): Add static prototype.
20353
20354 * bitmap.c (bitmap_element_allocate): Prototype args in function
20355 pointer cast.
20356
20357 * builtins.c (stabilize_va_list): Add static prototype.
20358 (expand_builtin_va_arg): Constify a char*.
20359
20360 * c-lex.c (getch, put_back, extend_token_buffer_to,
20361 read_line_number, token_getch, token_put_back): Add static
20362 prototypes.
20363
20364 * c-parse.gperf (hash, is_reserved_word): Likewise.
20365
20366 * cccp.c (is_dir_separator): Likewise.
20367
20368 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20369
20370 * graph.h: New file to prototype functions exported by graph.c.
20371
20372 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
20373
20374 * graph.c: Include graph.h.
20375
20376 * toplev.c: Likewise. Remove redundant prototypes.
20377
20378 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
20379
20380 * invoke.texi: Removed duplicated description for -Q.
20381
20382 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
20383
20384 * extend.texi: Grammar fix in __extension__ text.
20385
20386 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
20387
20388 * md.texi (define_peephole2): New section.
20389
20390 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
20391
20392 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
20393 (mov $-1 to or peepholer): Enable for pentium when optimizing for
20394 speed.
20395
20396 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
20397
20398 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
20399
20400 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
20401
20402 * i386.md (ffs expander): Emit Pentium friendly code for
20403 TARGET_PENTIUM.
20404
20405 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
20406
20407 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
20408 for non-trees.
20409 (build1): Likewise.
20410
20411 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20412
20413 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
20414
20415 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
20416
20417 * config/m68k/m68k.c (use_return_insn): Return false if the pic
20418 register is in use.
20419
20420 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20421
20422 * md.texi (No Constraints): Delete section.
20423 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
20424 * final.c (final_scan_insn): We always have register constraints.
20425 * genattrtab.c: Don't include "insn-config.h".
20426 (write_attr_case): We always have register constraints.
20427 * genconfig.c (register_constraint_flag): Delete.
20428 (walk_insn_part): Don't check whether we have register constraints.
20429 (main): Don't write out "#define REGISTER_CONSTRAINTS".
20430 * genoutput.c (have_constraints): Delete.
20431 (main): Don't set it.
20432 (output_operand_data): We always have constraints.
20433 (scan_operands): Likewise.
20434 (compare_operands): Likewise.
20435 * local-alloc.c (block_alloc): We always have constraints.
20436 (requires_inout): Always compile this function.
20437 * recog.c (extract_insn): We always have constraints.
20438 (constrain_operands, reg_fits_class_p): Always compile these
20439 functions.
20440 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
20441 fields.
20442 (struct insn_operand_data): Likewise.
20443 * regclass.c (regclass): We always have constraints.
20444 (record_reg_classes, copy_cost, record_address_regs,
20445 auto_inc_dec_reg_p): Always compile these functions.
20446 * regmove.c (regmove_optimize): We always have constraints.
20447 * reload.c (find_reloads): Likewise.
20448 * reload1.c (reload): Likewise.
20449 (reload_cse_simplify_operands): Likewise.
20450 * i860.c (output_delay_insn): Likewise.
20451
20452 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
20453
20454 * iris6.h (BUILD_VA_LIST_TYPE): Define.
20455
20456 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20457
20458 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
20459 for the va_list record.
20460
20461 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
20462
20463 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
20464 prologues.
20465
20466 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
20467
20468 * alias.c: Include insn-flags.h.
20469 * Makefile.in (alias.o): Update.
20470
20471 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
20472
20473 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
20474 to LTU and GEU. Handle more cases using sbb.
20475
20476 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
20477
20478 * i386.md (truncatexfdf splitters): Do not use subreg.
20479 (fop XFmode patterns): Fix mode in operand testing.
20480
20481 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
20482
20483 * jump.c (jump_optimize_1): Amend last change to test only the
20484 form of the operand, not the insn.
20485
20486 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
20487 not register_operand to determine when B may need preloading.
20488
20489 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
20490
20491 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
20492 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
20493 (call-value patterns): Move to end of file.
20494 (*): Remove mode from label_ref in (pc) context.
20495 (movstrqi): Use memory not general_operand for BLKmode operands.
20496 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
20497 to register_operand operands.
20498 (peep2 patterns): Convert from commented-out peephole patterns.
20499
20500 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20501
20502 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
20503 to BUILT_IN_INIT_DWARF_REG_SIZES.
20504 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
20505 Renamed from BUILT_IN_DWARF_REG_SIZE; call
20506 expand_builtin_init_dwarf_reg_sizes.
20507 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
20508 with __builtin_init_dwarf_reg_size_table.
20509 * dwarf2out.c (struct reg_size_range): Delete.
20510 (expand_builtin_init_dwarf_reg_sizes): New function.
20511 (expand_builtin_dwarf_reg_size): Delete.
20512 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
20513 (expand_builtin_dwarf_reg_size): Don't declare.
20514 * libgcc2.c (dwarf_reg_size_table_initialized): New.
20515 (dwarf_reg_size_table): New.
20516 (init_reg_size_table): New function.
20517 (copy_reg): Use dwarf_reg_size_table.
20518 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
20519 before use.
20520
20521 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
20522
20523 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
20524 Correctly build argument list to constructor and destructor functions.
20525
20526 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
20527
20528 * c-tree.h (warn_float_equal): Declare.
20529 * c-decl.c (warn_float_equal): Define.
20530 (c_decode_option): Recognize -W[no-]float-equal.
20531 * c-typeck.c (build_binary_op): Conditionally warn
20532 about equality tests of floating point types.
20533 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
20534 * invoke.texi: Add docs for -Wfloat-equal warning.
20535
20536 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
20537
20538 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
20539 generating RTL directly.
20540 * mips.h (INIT_TARGET_OPTABS): Likewise.
20541 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
20542
20543 * expr.h (init_mov_optab): Delete declaration
20544
20545 * h8300.c (WORD_REG_USED): Update to avoid useless register
20546 saves in interrupt functions and functions which never return.
20547
20548 * cse.c (struct set): Delete inner_dest_loc field.
20549 (cse_insn): Remove assignments to inner_dest_loc field.
20550
20551 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
20552
20553 * ggc-page.c: Don't include <unistd.h> etc taken care of
20554 by "system.h". Include <sys/mman.h> afterward.
20555
20556 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
20557
20558 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
20559 ggc_alloc_string.
20560
20561 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
20562
20563 * xcoffout.c (xcoffout_declare_function): Add documentation.
20564 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
20565 TARGET_64BIT. Compare constant to -1, not bit pattern.
20566 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
20567 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
20568 gen_movsi typos.
20569
20570 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
20571
20572 * dwarf2out.c (add_abstract_origin_attribute): Abort if
20573 origin_die is NULL.
20574 (gen_inlined_enumeration_type_die): Do not abort if the type has
20575 not been writeen out.
20576 (gen_inlined_structure_type_die): Do not abort if the type has
20577 not been writeen out.
20578 (gen_inlined_union_type_die): Do not abort if the type has
20579 not been writeen out.
20580 (gen_tagged_type_instantiation_die): Do not abort if the type
20581 has not been written out.
20582
20583 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20584
20585 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
20586 call it.
20587 * reg-stack.c (straighten_stack): Copy hard reg set with
20588 COPY_HARD_REG_SET.
20589
20590 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
20591
20592 * builtins.c (stabilize_va_list): Stabilize array type va_list
20593 to a pointer type, not the base record type.
20594 (expand_builtin_va_copy): Dereference the pointers explicitly;
20595 use the correct size for the copy.
20596
20597 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
20598 (rs6000_va_arg): Likewise.
20599
20600 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
20601
20602 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
20603
20604 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
20605
20606 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
20607 field.
20608 (DECL_BUILT_IN_CLASS): Adjust accordingly.
20609
20610 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
20611
20612 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
20613 (init_ggc): Use it instead of a constant.
20614 (ggc_collect): Bound allocated_last_gc by it.
20615
20616 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
20617
20618 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
20619 with va_list.
20620
20621 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
20622
20623 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
20624 (mips*-*-openbsd*): Let big endian configuration be a fragment.
20625 * configure: Regen.
20626 * config/mips/openbsd.h: New, OpenBSD little endian target.
20627 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
20628 * config/mips/xm-openbsd.h: New, OpenBSD host.
20629
20630 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
20631
20632 * config/m68k/m68k.c (output_function_prologue,
20633 output_function_epilogue): Use
20634 current_function_uses_pic_offset_table instead of regs_ever_live
20635 to decide whether to save/restore pic register.
20636 (legitimize_pic_address): Don't modify regs_ever_live any more.
20637
20638 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
20639
20640 * function.h (struct function): Add x_dont_save_pending_sizes_p.
20641 * stor-layout.c (variable_size): Don't add sizes to the pending
20642 sizes list if x_dont_save_pending_sizes_p is set.
20643
20644 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
20645
20646 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
20647 for symbolic_operand().
20648 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
20649
20650 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20651
20652 * combine.c (gen_rtx_combine): Add missing call to va_end().
20653
20654 * final.c (asm_fprintf): Likewise.
20655
20656 * genattrtab.c (attr_rtx): Likewise.
20657
20658 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
20659
20660 * cse.c: Update comments.
20661 (cse_insn): When converting a conditional/computed jump into
20662 an unconditional jump, always make sure a BARRIER immediately
20663 follows the converted jump. Do not delete unreachable code.
20664 (cse_basic_block): Do not delete unreachable code.
20665 * toplev.c (rest_of_compilation): Move call to
20666 delete_trivially_dead_insns after the conditional call to
20667 jump_optimize.
20668
20669 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20670
20671 * collect2.c (make_temp_file): Don't prototype.
20672
20673 * gcc.c (make_temp_file): Likewise.
20674
20675 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
20676
20677 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
20678
20679 * varasm.c (asm_emit_uninitialised): New function: Generate
20680 the assembler statements necessary to declare an uninitialised
20681 variable.
20682 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
20683 variable.
20684 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
20685 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
20686 section.
20687 (assemble_variable): Use asm_emit_uninitialised to emit an
20688 uninitialised variable.
20689
20690 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
20691
20692 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
20693 constant on a 64 bit host. Patch supplied by Geoffrey Keating
20694 <geoffk@cygnus.com>.
20695
20696 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20697
20698 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
20699 * c-common.h (builtin_function): Don't declare.
20700
20701 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
20702 DECL_BUILT_IN.
20703 (pushdecl): Likewise.
20704 (finish_decl): Likewise.
20705 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
20706 int. All callers changed.
20707 Set the builtin's DECL_BUILT_IN_CLASS.
20708 * tree.h (enum built_in_class): New.
20709 (enum built_in_function): Delete NOT_BUILT_IN.
20710 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
20711 in a union.
20712 (DECL_SET_FUNCTION_CODE): Likewise.
20713 (DECL_BUILT_IN_CLASS): New macro.
20714 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
20715 (struct tree_decl): Split builtin function code field into a
20716 struct.
20717 (builtin_function): Declare.
20718
20719 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
20720
20721 * optabs.c (init_traps): Fix typo in last change.
20722
20723 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
20724
20725 * toplev.c (rest_of_decl_compilation): Update comment.
20726
20727 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
20728
20729 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
20730 in .sbss if appropriate.
20731 (EXTRA_SECTION_FUNCTIONS): Add sbss.
20732 (SBSS_SECTION_ASM_OP): New macro.
20733 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
20734 (EXTRA_SECTIONS): Add in_sbss.
20735 * config/mips/mips.h: Prototype sbss_section.
20736
20737 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
20738
20739 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
20740 to disappear.
20741
20742 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
20743
20744 * optabs.c (init_traps): Register trap_rtx as a GC root.
20745
20746 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20747
20748 * config/mips/mips.c (function_arg_pass_by_reference): Define
20749 unconditionally, since it's called unconditionally.
20750
20751 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
20752
20753 * toplev.c (documented_lang_options): Add -fshort-wchar.
20754 * c-decl.c (c_decode_option): Likewise.
20755 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
20756 for wchar_t.
20757 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
20758 * gcc.c (default_compilers): If -fshort-wchar,
20759 override __WCHAR_TYPE__.
20760 * tm.texi (C Dialect Options): Add -fshort-wchar.
20761
20762 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
20763 symbol for a variable.
20764
20765 * cpplib.h (CPP_PREPROCESSED): New macro.
20766 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
20767 we're seeing this input for a second time.
20768
20769 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
20770
20771 * emit-rtl.c (init_emit_once): Initialize modes first.
20772
20773 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
20774
20775 * config/i386/i386.c (pic_label_name): Change to char pointer.
20776 (global_offset_table): New variable.
20777 (load_pic_register): Fill global_offset_table if it hasn't
20778 already been done. Allocate pic_label_name dynamically.
20779 * ggc.h (empty_string): New variable.
20780 * ggc-simple.c (empty_string): Likewise.
20781 (init_ggc): Allocate empty_string and add as root.
20782 * stmt.c (digit_strings): New variable.
20783 (init_stmt): Add last_block_end_note as root. Allocate and
20784 initialize digit_strings.
20785 (expand_asm_operands): Use empty_string instead of string
20786 constant. Use digit_strings instead of string constants.
20787 * profile.c (init_arc_profiler): Allocate string with
20788 ggc_alloc_string instead of xmalloc.
20789 (output_func_start_profiler): Likewise.
20790 * c-typeck.c (digest_init): Check if init is error_mark_node.
20791
20792 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
20793 Richard Henderson <rth@cygnus.com>
20794
20795 * ggc-page.c: New file.
20796 * Makefile.in (ggc-page.o): New.
20797
20798 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
20799
20800 * invoke.texi: Document -fdelete-null-pointer-checks
20801 * toplev.c (flag_delete_null_pointer_checks): New.
20802 (f_options): Add entry for -fdelete-null-pointer-checks.
20803 (rest_of_compilation): Conditionalize null pointer check
20804 elimination on flag_delete_null_pointer_checks.
20805 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
20806
20807 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
20808
20809 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
20810 copyright notice and special exception to GPL.
20811
20812 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20813
20814 * abi64.h (mips_function_value): Add prototype arguments.
20815
20816 * mips-protos.h: New file with mips prototypes.
20817
20818 * mips.c: Include "tm_p.h".
20819 (mktemp, lookup_name): Add prototype arguments.
20820 (extern_list, string_constant, mips_fill_delay_slot,
20821 mips_output_external, mips_output_external_libcall,
20822 mips_output_filename, mips_declare_object, function_prologue,
20823 mips_expand_prologue, function_epilogue, mips16_constant,
20824 build_mips16_function_stub, mips_output_conditional_branch):
20825 Constify a char*.
20826 (mips_va_start): Remove unused variable `u'.
20827 (mips_va_arg): Cast value to unsigned when comparing against one.
20828 (trace): Delete.
20829 (save_restore_insns, mips_expand_prologue): Add missing arg in
20830 call to `large_int'.
20831
20832 * mips.h: Move prototypes to mips-protos.h.
20833 (data_section, memory_address_p, rdata_section,
20834 readonly_data_section, simple_epilogue_p, text_section): Delete
20835 prototypes delcared elsewhere.
20836 (mips_epilogue_delay_slots, print_options): Delete unused decls.
20837 (trace): Delete.
20838 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
20839
20840 * mips.md: Delete extra args in call to `mips_move_2words'.
20841
20842 * xm-iris6.h (alloca): Add prototype argument.
20843
20844 * genpeep.c: Include "tm_p.h" in generated output file.
20845
20846 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20847
20848 * basic-block.h (find_edge_index): Change parameters.
20849 * flow.c (verify_edge_list): Pass basic_block parameters to
20850 find_edge_index instead of integers.
20851
20852 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
20853
20854 * combine.c (simplify_comparison): Use an unsigned shift to adjust
20855 the constant.
20856
20857 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
20858
20859 * gcc.1: Fix a formatting error.
20860
20861 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
20862
20863 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
20864 i786, mn10200, mn10300, pdp11, v850.
20865
20866 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
20867
20868 * libgcc2.c (num_digits): Add prototype with
20869 __attribute__((const)).
20870 (__terminate): Add prototype.
20871
20872 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
20873
20874 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
20875
20876 * alpha/alpha.c (print_operand): Fix type of `code'.
20877 (alpha_output_filename): Constify.
20878 * alpha/alpha.h: Move all function declarations ...
20879 * alpha/alpha-protos.h: ... here. New file.
20880 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
20881 (SECTION_FUNCTION_TEMPLATE): Likewise.
20882
20883 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20884
20885 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
20886 * expr.c (expand_expr): Likewise.
20887 (do_jump): Likewise.
20888 (do_store_flag): Pass ccp_store_flag to can_compare_p.
20889 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
20890 accessor macros.
20891 (enum can_compare_purpose): New.
20892 (can_compare_p): Adjust prototype.
20893 (prepare_cmp_insn, prepare_operand): Declare.
20894 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
20895 * optabs.c (cmp_available_p): Deleted.
20896 (expand_abs): Pass ccp_jump to can_compare_p.
20897 (can_compare_p): New arg PURPOSE. Check for combined optabs.
20898 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
20899 Call can_compare_p rather than cmp_available_p.
20900 (prepare_operand): No longer static.
20901 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
20902 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
20903 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
20904 sequence to use emit_cmp_and_jump_insns.
20905 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
20906
20907 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
20908
20909 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
20910 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
20911 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
20912 (plus (reg) (const_int 0))
20913 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
20914
20915 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
20916
20917 * rs6000.c (expand_block_move): DImode loads and stores require
20918 word-aligned displacements. Increment address registers with
20919 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
20920
20921 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
20922
20923 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20924 is no name for the base type, rather than segfault. If we are
20925 writing out a complex integer type, use DW_ATE_lo_user.
20926
20927 * expr.c (emit_move_insn_1): If we are copying a complex that fits
20928 in one word or less (complex char, complex short, or on 64 bit
20929 systems complex float) to/from a hard register, copy it through
20930 memory instead of dying in gen_{real,imag}part. If we have a
20931 short complex type, prevent inlining since it allocates stack
20932 memory.
20933
20934 * tree.c (build_complex_type): If we are writing dwarf2 output,
20935 generate a name for complex integer types.
20936
20937 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20938
20939 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20940 * flow.c (remove_edge): Remove extra whitespace.
20941 (remove_fake_edges): Fix comment.
20942 (add_noreturn_fake_exit_edges): Use the correct name.
20943
20944 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
20945
20946 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20947 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20948 (clean): Depend on INTL_CLEAN.
20949 (maintainer-clean): Adjust.
20950
20951 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20952
20953 * configure.in (AC_PREREQ): Bump to 2.13.
20954 (AC_C_STRINGIZE): Call this instead of using a custom macro.
20955
20956 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20957
20958 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20959
20960 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20961
20962 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20963 (HAVE_STRINGIZE): Define.
20964
20965 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
20966
20967 * c-parse.in: save and restore warn_pointer_arith on __extension__
20968 along with pedantic.
20969 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20970 Set the type of extension to itype rather than $<itype>1 kludge.
20971 * extend.texi (Alternate Keywords): Adjust documentation.
20972 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20973
20974 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
20975
20976 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20977 most assembler templates.
20978
20979 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20980 FP loads and stores.
20981 (following_call): Always return zero for the PA8000.
20982 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20983 FP loads and stores.
20984 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20985
20986 * pa.h (BRANCH_COST): Define.
20987
20988 * pa.md (return, return_internal): Use bve for PA2.0.
20989
20990 * pa.md (fused multiply): Add variants which reduce height for the
20991 fused multiply, but which still generate 2 insns.
20992 (fnegabs): Similarly.
20993
20994 * pa.md (subsi3): Turn into an expander. Create two anonymous
20995 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
20996 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20997
20998 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20999 for TARGET_PA_20.
21000 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
21001 code generation.
21002 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
21003 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
21004
21005 * regclass.c (init_regs): Add "top_of_stack" as a garbage
21006 collection root.
21007
21008 * flow.c (record_active_eh_regions): Terminate loop after finding
21009 the last insn in the last basic block.
21010
21011 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21012
21013 * config/c4x/c4x.md: Delete parallel instruction peepholes.
21014
21015 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21016
21017 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
21018
21019 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21020
21021 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
21022 splitting to not use output template.
21023
21024 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21025
21026 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
21027 * config/c4x/c4x.c (c4x_va_start): New function.
21028
21029 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
21030
21031 * genrecog.c (not_both_true): Handle correctly cases when called for
21032 tests with different positions in the insn.
21033
21034 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21035
21036 * machmode.h (HOST_PTR_PRINTF): Move from here ...
21037
21038 * system.h (HOST_PTR_PRINTF): ... to here.
21039
21040 * mips-tfile.c: Don't include machmode.h.
21041
21042 * Makefile.in (MACHMODE_H): New variable. Update to use it.
21043 (mips-tfile.o): Don't depend on machmode.h.
21044
21045 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21046
21047 * haifa-sched.c (sched_analyze): Rename local variable `region' to
21048 avoid conflicts with typedef struct `region' at the top level scope.
21049
21050 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
21051
21052 * basic-block.h (basic_block): Add eh_beg, eh_end.
21053 * flow.c (entry_exit_blocks): Update.
21054 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
21055 Call new functions.
21056 (find_basic_blocks_1): Don't record eh_list at each bb. Use
21057 lists.c functions to allocate insn lists.
21058 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
21059 edge creation ...
21060 (make_eh_edge): ... here. New.
21061 (move_stray_eh_region_notes): New.
21062 (record_active_eh_regions): New.
21063 (delete_unreachable_blocks): Split out block merging ...
21064 (try_merge_blocks): ... here. New.
21065 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
21066 Dump debugging data.
21067 (merge_blocks_move_successor_nojumps): Likewise.
21068 (merge_blocks): Use eh_beg+eh_end to validate block movement.
21069
21070 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
21071
21072 * extend.texi (Bound member functions): Document unbound pmf
21073 conversion.
21074
21075 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21076
21077 * flow.c (split_edge): Handle insertion on a fallthrough edge which
21078 has the EXIT_BLOCK as a dest.
21079
21080 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21081
21082 * flow.c (remove_edge): New function to remove an edge from the
21083 flow graph.
21084 (remove_fake_successors): New function to remove fake successor edges.
21085 (remove_fake_edges): New function to remove all fake edges from the
21086 flow graph.
21087 (add_fake_exit_edges): New function to add fake edges from all blocks
21088 with no successors to the exit block.
21089 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
21090 prototypes for new functions.
21091
21092 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21093
21094 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
21095 Use Pmode to determine whether to output .dword or .word.
21096
21097 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
21098
21099 * tree.c (built_in_filename): New variable.
21100 (BUILT_IN_FILENAME): New macro.
21101 (init_tree_codes): Allocate built_in_filename.
21102 (make_node): Use built_in_filename instead of string constant.
21103
21104 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
21105
21106 * configure.in: Add fr30 target.
21107 * configure: Regenerate.
21108 * config/fr30: New directory.
21109 * config/fr30/crti.asm: New file.
21110 * config/fr30/fr30.c: New file.
21111 * config/fr30/crtn.asm: New file.
21112 * config/fr30/fr30.h: New file.
21113 * config/fr30/fr30.md: New file.
21114 * config/fr30/lib1funcs.asm: New file.
21115 * config/fr30/t-fr30: New file.
21116 * config/fr30/xm-fr30.h: New file.
21117
21118 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
21119
21120 * flow.c (merge_blocks_move_successor_nojumps): Delete the
21121 BARRIER at the end of the successor, not the BARRIER before
21122 the successor.
21123
21124 * pa.c (pa_add_gc_roots): Fix thinko in last change.
21125
21126 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
21127
21128 * stmt.c (any_pending_cleanups): Don't crash when
21129 current_function->stmt is unset.
21130
21131 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21132
21133 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
21134 other initializations that may use it for relative offsets.
21135
21136 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21137
21138 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
21139 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
21140 * config/i386/sol2dbg.h: Removed.
21141 * config/i386/sol2gas.h: New file, to enable gas work-around.
21142 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
21143 Don't use sol2dbg.h.
21144 * configure: Rebuilt.
21145
21146 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
21147
21148 * invoke.texi (-fthis-is-variable): Remove documentation.
21149
21150 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
21151
21152 * basic-block.h (compute_bb_for_insn): Declare.
21153 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
21154 to use; set size of basic_block_for_insn directly.
21155 (find_basic_blocks): Update.
21156
21157 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21158
21159 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
21160
21161 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21162
21163 * crtstuff.c (ON_EXIT): Delete empty macro definition.
21164 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
21165
21166 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
21167
21168 * c-decl.c (c_decode_option): Extend comment.
21169
21170 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
21171
21172 * toplev.c (progname): Make 'const char *'
21173 (flag_print_mem): Move out of main.
21174 (version_flag): Move out of main.
21175 (filename): Move out of main.
21176 (debug_args): Remove g prefix from options.
21177 (documented_lang_options): Remove cpplib specific options.
21178 (display_help): Add g prefix to debug options.
21179 (check_lang_option): Delete this function.
21180 (decode_d_option): New function: Decode -d... option.
21181 (decode_f_option): New function: Decode -f... option.
21182 (decode_W_option): New function: Decode -W... option.
21183 (decode_g_option): New function: Decode -g... option.
21184 (independent_decode_option): New function: Decode a language
21185 independent command line option.
21186 (main): Invoke lang_decode_option and then
21187 independent_decode_option on each command line option in
21188 turn.
21189
21190 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
21191
21192 Revert this change. Gavin's patch to operand_equal_p is a better fix.
21193 * fold-const.c (fold_range_test): Do not try to fold the range
21194 test if the rhs or lhs has side effects.
21195
21196 * basic-block.h (compute_flow_dominators): Declare.
21197
21198 * gcse.c (alloc_code_hoist_mem): New function.
21199 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
21200 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
21201 (hoist_code, one_code_hoisting_pass): Likewise.
21202 (gcse_main): If optimizing for size, then hoist expressions
21203 computed in multiple dominated basic blocks.
21204
21205 * gcse.c (invalid_nonnull_info): New function.
21206 (delete_null_pointer_checks): Likewise.
21207 * rtl.h (delete_null_pointer_checks): Declare.
21208 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
21209
21210 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
21211 (merge-blocks_move_successor_nojumps): Likewise.
21212 (merge_blocks): Allow merging of some blocks, even if it requires
21213 physical movement of the blocks, but not if it requires new jumps.
21214
21215 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
21216 Callers and prototype changed.
21217 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
21218
21219 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21220
21221 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
21222 -YP when both -p and -pg are present. From i386/sol2.h.
21223
21224 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21225
21226 * Makefile.in (distclean): Delete tm_p.h.
21227 * configure.in: Create a new file, "tm_p.h", from a list in
21228 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
21229 "i386/i386-protos.h".
21230
21231 * alias.c: Include "tm_p.h".
21232 * c-typeck.c: Likewise.
21233 * calls.c: Likewise.
21234 * cse.c: Likewise.
21235 * emit-rtl.c: Likewise.
21236 * explow.c: Likewise.
21237 * expmed.c: Likewise.
21238 * expr.c: Likewise.
21239 * final.c: Likewise.
21240 * flow.c: Likewise.
21241 * fold-const.c: Likewise.
21242 * function.c: Likewise.
21243 * gcse.c: Likewise.
21244 * global.c: Likewise.
21245 * haifa-sched.c: Likewise.
21246 * integrate.c: Likewise.
21247 * jump.c: Likewise.
21248 * local-alloc.c: Likewise.
21249 * loop.c: Likewise.
21250 * optabs.c: Likewise.
21251 * recog.c: Likewise.
21252 * reg-stack.c: Likewise.
21253 * regclass.c: Likewise.
21254 * regmove.c: Likewise.
21255 * reload.c: Likewise.
21256 * reload1.c: Likewise.
21257 * reorg.c: Likewise.
21258 * resource.c: Likewise.
21259 * stmt.c: Likewise.
21260 * stor-layout.c: Likewise.
21261 * toplev.c: Likewise.
21262 * tree.c: Likewise.
21263 * unroll.c: Likewise.
21264 * genattrtab.c (main): Make generated file include "tm_p.h".
21265 * genemit.c (main): Likewise.
21266 * genoutput.c (main): Likewise.
21267 * genrecog.c (main): Likewise.
21268
21269 * i386.h: Delete all prototypes.
21270 * i386.c: Include "tm_p.h".
21271 (ix86_attr_length_default): Call constant_call_address_operand
21272 with correct number of arguments.
21273 * i386-protos.h: New file.
21274 * i386.md (unnamed patterns): Call constant_call_address_operand
21275 with correct number of arguments.
21276 (exception_receiver): Call load_pic_register with correct number
21277 of arguments.
21278
21279 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
21280
21281 * c-pragma.c (mark_align_stack): Dereference the void* properly.
21282
21283 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
21284
21285 * rtl.h (insns_safe_to_move_p): New function.
21286 * loop.c (find_and_verify_loops): Use it.
21287 * rtlanal.c (insns_safe_to_move_p): Define it.
21288
21289 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
21290
21291 * c-pragma.c: Include ggc.h.
21292 * Makefile.in (c-pragma.o): Update.
21293
21294 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21295
21296 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
21297 (LIB_SPEC): Likewise.
21298 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
21299 Reindent -YP/-p/-pg.
21300 Copied from config/sparc/sol2.h.
21301
21302 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
21303
21304 * c-pragma.c (mark_align_stack): New.
21305 (init_pragma): New.
21306 * c-pragma.h (init_pragma): Declare it.
21307 * c-lex.c (init_parse): Call it.
21308
21309 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21310
21311 * configure.in: Pick up thread library on Solaris/x86 just
21312 like on Solaris/sparc.
21313 * configure: Rebuilt.
21314
21315 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
21316
21317 * rtl.h (global_rtx_index): New enum.
21318 (global_rtl): Change to array of rtx.
21319 (pc_rtx, cc0_rtx): Redefine accordingly.
21320 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
21321 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
21322 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
21323 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
21324 (const_int_rtx): Change to array of rtx.
21325 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
21326 accordingly.
21327 * emit-rtl.c (global_rtl): Change to array of rtx.
21328 (const_int_rtx): Change to aray of rtx.
21329 (gen_rtx_CONST_INT): Redefine accordingly.
21330 (init_emit_once): Allocate and initialize global_rtl. Likewise
21331 for const_int_rtx. Add both as GC roots.
21332 * genattrtab.c (global_rtl): Update declaration.
21333
21334 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
21335
21336 * Makefile (USER_H): Add iso646.h back.
21337
21338 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
21339
21340 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
21341 zapping the LOG_LINKS of sched_before_next_call.
21342
21343 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
21344 * pa.c (insn_refs_are_delayed): Renamed from
21345 insn_sets_and_refs_are_delayed.
21346
21347 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
21348
21349 * functiion.h (struct function): Add x_whole_function_mode_p.
21350 (retrofit_block): Declare.
21351 * function.c (retrofit_block): New function.
21352 (identify_blocks): Add assertions. Allow an incomplete set of
21353 block notes if we're still generating code for the function.
21354 * integrate.c: Include loop.h.
21355 (expand_inline_function): Call find_loop_tree_blocks to map block
21356 notes to blocks when in whole-function mode. Use retrofit_block
21357 to insert new BLOCKs for the inlined function, rather than
21358 insert_block.
21359 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
21360 * Makefile.in (integrate.o): Depend on loop.h.
21361
21362 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
21363
21364 * tree.h (warn_about_unused_variables): Declare.
21365 * stmt.c (warn_about_unused_variables): New function, split out
21366 from ...
21367 (expand_end_bindings): Here.
21368
21369 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
21370
21371 * stmt.c (preserve_subexpressions_p): Don't crash when
21372 current_function->stmt is unset.
21373
21374 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
21375
21376 * stmt.c (expand_start_bindings): Allow callers to pass a flag
21377 indicating that no NOTE_INSN_BLOCK_BEG note is required.
21378 (expand_start_target_temps): Use it.
21379 * except.c (expand_eh_region_start_for_decl): Likewise.
21380 * expr.c (expand_expr): Likewise.
21381
21382 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
21383
21384 * fold-const.c (operand_equal_p): Pay attention to side effects.
21385
21386 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
21387
21388 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
21389 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
21390
21391 * tlink.c (scan_linker_output): Look for keywords before accepting
21392 a mangled name in quotes.
21393
21394 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
21395
21396 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
21397 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
21398
21399 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
21400
21401 * alpha.md: Revert Thu Nov 26 change that came in through the
21402 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
21403 Avoid earlyclobber when possible.
21404
21405 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21406
21407 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
21408
21409 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
21410 Define HAVE_ON_EXIT.
21411
21412 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21413
21414 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
21415 CTYPE_CONV in all ctype macros.
21416
21417 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
21418 from system.h.
21419
21420 * cexp.y (initialize_random_junk): Likewise.
21421
21422 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
21423
21424 * i370.c (handle_pragma): Likewise.
21425
21426 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
21427
21428 * v850.c (override_options): Likewise.
21429
21430 * doprint.c (_doprnt): Likewise.
21431
21432 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
21433 Likewise.
21434
21435 * fixinc/server.c (load_data): Likewise.
21436
21437 * fold-const.c (real_hex_to_f): Likewise.
21438
21439 * genattr.c (write_upcase, gen_attr): Likewise.
21440
21441 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
21442 write_upcase): Likewise.
21443
21444 * genemit.c (print_code): Likewise.
21445
21446 * genopinit.c (gen_insn): Likewise.
21447
21448 * genpeep.c (print_code): Likewise.
21449
21450 * genrecog.c (print_code): Likewise.
21451
21452 * optabs.c (init_libfuncs): Likewise.
21453
21454 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
21455
21456 * haifa-sched.c (sched_analyze): Keep the list of notes organized
21457 in pairs.
21458 (reemit_notes): Likewise.
21459
21460 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
21461
21462 * ggc.h (ggc_root): Move to ggc-common.c.
21463 (roots): Remove.
21464 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
21465 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
21466 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
21467 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
21468 * ggc-common.c (ggc_root): Move from ggc.h.
21469 (roots): Declare, static.
21470 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
21471 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
21472 null or check/set mark bit.
21473 (ggc_mark_roots): New.
21474 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
21475
21476 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
21477
21478 * m32r.c: Include toplev.h.
21479 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
21480 (gen_compare): Rename swap_p to must_swap to match uses.
21481 Add default abort case.
21482 (m32r_output_function_epilogue): Remove unused variables.
21483 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
21484 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
21485 define to empty parameter list. Update all uses.
21486 (predicate decls): Use enum machine_mode not int.
21487 * m32r.md (movsi): Call abort, not fatal_insn.
21488 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
21489
21490 1999-09-14 Andrew Haley <aph@cygnus.com>
21491
21492 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
21493 use $0 instead of 0.
21494
21495 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21496
21497 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
21498 computation out of loop over hard regs.
21499
21500 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
21501
21502 * function.c (identify_blocks): Don't shadow a variable in an
21503 outer scope.
21504 * integrate.c (integrate_decl_tree): Don't use pushlevel,
21505 pushdecl, or poplevel to build up the new BLOCK tree.
21506 (expand_inline_function): Likewise.
21507 (integrate_parm_decls): Likewise.
21508
21509 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
21510
21511 * c-typeck.c (qualify_type): Merge qualifiers from both types.
21512
21513 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
21514
21515 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
21516 * invoke.texi: Document this change.
21517
21518 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
21519
21520 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
21521 Free the struct.
21522 (mark_emit_status): Renamed from mark_emit_state.
21523 * except.c (mark_eh_status): Renamed from mark_eh_state.
21524 Check not null before marking.
21525 (free_eh_status): New.
21526 * expr.c (mark_expr_status, free_expr_status): New.
21527 * function.c (free_machine_status): New.
21528 (free_after_parsing): New.
21529 (free_after_compilation): Move bits to free_after_parsing; call
21530 free_eh_status, free_expr_status; zero the marked members of the
21531 function state.
21532 (prepare_function_start): No can_garbage_collect.
21533 Call init_eh_for_function.
21534 (expand_dummy_function_end): Free up current_function state.
21535 (mark_function_status): Renamed from mark_function_state.
21536 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
21537 * function.h (struct function): No can_garbage_collect.
21538 (free_machine_status, free_after_parsing): Declare.
21539 (free_eh_status, free_expr_status): Declare.
21540 * ggc.h (mark_expr_status): Declare.
21541 * stmt.c (free_stmt_status): Free the struct.
21542 (mark_stmt_status): Renamed from mark_stmt_state.
21543 (init_stmt): Don't call init_eh.
21544 (init_stmt_for_function): Don't call init_eh_for_function.
21545 * toplev.c (compile_file): Call init_eh.
21546 (rest_of_compilation): Free basic block info before ggc_collect.
21547 Call free_after_parsing; conditionally call free_after_compilation.
21548 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
21549 Check not null before marking.
21550 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
21551
21552 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
21553
21554 * c-lex.c (yylex): Initialize warn.
21555
21556 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
21557
21558 * pa.c (emit_move_sequence): Properly set the mode of the scratch
21559 register when performing secondary reloads for the SAR register.
21560
21561 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
21562
21563 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
21564 (NOTE_BLOCK): New macro.
21565 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
21566 * function.h (identify_blocks): Change prototype.
21567 * function.c (identify_blocks): Simplify.
21568 (reorder_blocks): Likewise.
21569 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
21570 NOTE_INSN_BLOCK_{BEG,END}.
21571 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
21572 the list of saved notes if the note isn't a
21573 NOTE_INSN_BLOCK_{BEG,END}.
21574 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
21575 NOTE_BLOCK_NUMBER.
21576 (reemit_notes): Adjust recreation of notes to reflect new saved
21577 note structure.
21578 * print-rtl.c (print_rtx): Print the address of the BLOCK when
21579 printing a block note.
21580 * stmt.c (block_vector): Remove.
21581 (find_loop_tree_blocks): Simplify.
21582 (unroll_block_trees): Likewise.
21583 * tree.h (reorder_block): Change prototype.
21584
21585 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
21586
21587 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
21588 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
21589 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
21590 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
21591 (atexit, exit): Simplify.
21592 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
21593 * config/lots: Remove defns of HAVE_ATEXIT.
21594
21595 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
21596
21597 * calls.c (precompute_arguments): Fix typo in comment.
21598 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
21599 TARGET_EXPR.
21600
21601 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
21602
21603 * dsp16xx.c (override_options): Fix typos in GC root registration.
21604
21605 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
21606
21607 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
21608 from config/svr4.h.
21609 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
21610 (FUNCTION_PROFILER): Redefine appropriately for Linux.
21611 (CC1_SPEC): Likewise.
21612
21613 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21614
21615 * genattr.c (main): Add extern prototype. Call return, not exit.
21616 * genattrtab.c (main): Likewise.
21617 * gencheck.c (main): Likewise.
21618 * gencodes.c (main): Likewise.
21619 * genconfig.c (main): Likewise.
21620 * genemit.c (main): Likewise.
21621 * genextract.c (main): Likewise.
21622 * genflags.c (main): Likewise.
21623 * gengenrtl.c (main): Likewise.
21624 * genopinit.c (main): Likewise.
21625 * genoutput.c (main): Likewise.
21626 * genpeep.c (main): Likewise.
21627 * genrecog.c (main): Likewise.
21628
21629 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
21630 * genattrtab.c (get_insn_name): Likewise.
21631 * gencodes.c (get_insn_name): Likewise.
21632 * genconfig.c (get_insn_name): Likewise.
21633 * genemit.c (get_insn_name): Likewise.
21634 * genextract.c (get_insn_name): Likewise.
21635 * genflags.c (get_insn_name): Likewise.
21636 * genopinit.c (get_insn_name): Likewise.
21637 * genpeep.c (get_insn_name): Likewise.
21638
21639 * gencheck.c (usage): Add static prototype.
21640 * genextract.c (print_path): Constify a char*.
21641 * genopinit.c (optabs): Likewise.
21642 * genoutput.c (operand_data, data, output_predicate_decls,
21643 compare_operands): Likewise.
21644 * genrecog.c (write_tree): Add default case in switch.
21645
21646 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21647
21648 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
21649
21650 * print-rtl.c (get_insn_name): Remove prototype.
21651
21652 * toplev.h (progname): Declare const.
21653
21654 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
21655 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
21656 dump_sched_info, dump_local_alloc, regset_release_memory,
21657 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
21658 error_with_file_and_line, error_with_decl, error_for_asm, error,
21659 fatal, warning_with_file_and_line, warning_with_decl, warning,
21660 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
21661 Remove redundant prototypes.
21662
21663 (notice, check_lang_option, report_file_and_line, vnotice,
21664 mark_file_stack): Add static prototype.
21665 (set_fatal_function): Add prototype.
21666 (vnotice, report_file_and_line, set_fatal_function,
21667 check_lang_option): Constify a char*.
21668 (main): Prototype. Call return, not exit.
21669
21670 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21671
21672 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
21673
21674 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
21675
21676 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
21677
21678 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
21679
21680 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21681
21682 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
21683 behave as if it's zero in all cases.
21684 (expand_function_start): Adjust call to assign_parms.
21685 * tree.h (assign_parms): Adjust prototype.
21686 * objc/objc-act.c (hack_method_prototype): Adjust call to
21687 assign_parms.
21688
21689 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
21690
21691 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
21692 arg_pointer_rtx fixed if the argument pointer register is
21693 not fixed.
21694 (NONZERO_BASE_PLUS_P): Likewise.
21695
21696 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
21697
21698 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
21699 match_insn2 to match_insn.
21700 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
21701
21702 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
21703
21704 * Makefile.in (USER_H): Remove va-foo.h.
21705
21706 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
21707 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
21708 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
21709 va-spur.h,va-v850.h}: Remove.
21710
21711 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
21712
21713 * sparc/sparc.md (eligible_for_return_delay): New attribute.
21714 (in_return_delay): Use it instead of match_insn.
21715
21716 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21717
21718 * config/alpha/va_list.h (va-alpha.h): Do not include.
21719 (__gnuc_va_list): Typedef as in varargs.h.
21720
21721 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
21722
21723 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
21724 DECL_LIVE_RANGE_RTL.
21725
21726 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
21727
21728 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
21729 not NOTE_BLOCK_NUMBER.
21730 (expand_eh_region_end): Likewise.
21731 (find_exception_handler_labels): Likewise.
21732 (scan_region): Likewise.
21733 (exception_optimize): Likewise.
21734 (update_rethrow_references): Likewise.
21735 (set_insn_eh_region): Likewise.
21736 * final.c (final_scan_insn): Likewise.
21737 * flow.c (make_edges): Likewise.
21738 * integrate.c (expand_inline_function): Likewise.
21739 * print-rtl.c (print_rtx): Likewise.
21740
21741 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
21742
21743 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
21744 terms of builtin functions and types.
21745
21746 * mips.c (mips_build_va_list): New.
21747 (mips_va_start, mips_va_arg): New.
21748 * mips.h (BUILD_VA_LIST_TYPE): New.
21749 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21750
21751 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
21752 (sh_build_va_list, sh_va_start, sh_va_arg): New.
21753 * sh.h (BUILD_VA_LIST_TYPE): New.
21754 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21755
21756 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
21757
21758 * recog.h (struct recog_data): Make dup_num, operand_address_p,
21759 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
21760 (struct insn_data): Likewise with n_operands, n_dups,
21761 n_alternatives, output_format.
21762 * regclass.c (scan_one_insn): Cast n_operands to int before
21763 arithmetic inside comparison.
21764
21765 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
21766
21767 * toplev.c (compile_function): Unconditionally emit nop.
21768
21769 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21770
21771 * haifa-sched.c (actual_hazard): Move declaration of variable
21772 `this_cost' into the scope where it is used.
21773
21774 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21775
21776 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
21777 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
21778 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
21779
21780 * genrecog.c (make_insn_sequence): Call memset, not bzero.
21781
21782 * jump.c (find_insert_position): Don't declare or define unless
21783 !HAVE_conditional_arithmetic.
21784 (returnjump_p_1, delete_prior_computation): Add static prototypes.
21785
21786 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
21787
21788 * recog.c (offsettable_address_p): Prototype function pointer.
21789 (preprocess_constraints): Call memset, not bzero.
21790
21791 * tree.c (tree_node_kind_names): Constify a char*. Make static.
21792 (gcc_obstack_init): Don't declare.
21793 (fix_sizetype): Add static prototype.
21794 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
21795 (tree_cons): Call memset, not bzero.
21796
21797 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
21798 definition in macro ASM_WEAKEN_LABEL.
21799 (mark_const_hash_entry): Add static prototype.
21800
21801 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21802
21803 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
21804
21805 * unroll.c (find_common_reg_term, subtract_reg_term,
21806 loop_find_equiv_value): Add static prototypes.
21807 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
21808 (copy_loop_body): Remove unreachable break statement.
21809
21810 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
21811
21812 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
21813
21814 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21815
21816 Undo some changes from the gcc2 merge:
21817 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
21818 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
21819 pointers.
21820
21821 Undo this change:
21822 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
21823 * emit-rtl.c (gen_lowpart_common): Disable optimization of
21824 initialized float-int union if the value is a NaN.
21825
21826 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
21827
21828 * gthr-win32.h: New file.
21829
21830 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
21831 shared as a valid attribute.
21832 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
21833 * extend.texi: Document `shared' variable attribute.
21834
21835 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
21836
21837 * configure.in: Handle --enable-threads on FreeBSD.
21838 * configure: Rebuit.
21839
21840 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
21841
21842 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
21843 thread support.
21844 * configure: Rebuilt.
21845
21846 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
21847 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
21848 Rosimildo DaSilva <rdasilva@connecttel.com>
21849
21850 * configure.in (m68k-*-rtemscoff*): Added.
21851 * configure.in (mips64orion-*-rtems*): Converted to ELF.
21852 * configure.in (sparc-*-rtemsaout*): Added as alias for old
21853 sparc-rtems configuration.
21854 * configure.in (sparc-*-rtemself*): Added.
21855 * configure.in (sparc-*-rtems*): Now ELF not a.out.
21856 * config/i386/rtems.h: Added comment.
21857 * config/sparc/rtemself.h: New file.
21858
21859 * configure.in (m68k-rtemself): Added.
21860 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
21861 and DWARF_DEBUGGING_INFO.
21862 * config/m68k/crti.s: New file.
21863 * config/m68k/crtn.s: New file.
21864 * config/m68k/t-crtstuff: New file.
21865 * config/m68k/rtemself.h: New file.
21866
21867 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
21868 global ctor/dtor and C++ exception handling.
21869 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
21870 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
21871 ENDFILE_SPEC.
21872 * config/i386/t-rtems-i386: New File.
21873
21874 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
21875
21876 * stmt.c (expand_end_case): Return right away if the case stack is
21877 empty.
21878
21879 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
21880
21881 * Makefile.in (version.c): Remove rule incorrectly brought in from
21882 the gcc2 merge.
21883
21884 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
21885
21886 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
21887 * msdos/top.sed: Take into account a prepended $(SHELL) to
21888 move-if-change.
21889 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
21890
21891 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
21892
21893 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21894
21895 * regmove.c (fixup_match_1): Don't change an unchanging register.
21896 (stable_but_for_p): Renamed to:
21897 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
21898 Changed all callers.
21899
21900 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
21901
21902 * loop.c (strength_reduce): Don't call reg_used_between_p if the
21903 insn from BL2 is after the insn from BL.
21904
21905 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
21906
21907 * recog.h (INSN_OUTPUT_FORMAT_*): New.
21908 (struct insn_data): Merge `template' and `outfun' into `output'.
21909 Add `output_format'.
21910 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
21911 (struct data): Remove `outfun'; add `output_format'.
21912 (name_for_index): Remove declaration.
21913 (output_insn_data): Handle output formats.
21914 (process_template): Emit the bare array for @.
21915 (gen_expand, gen_split): Set output_format to NONE.
21916 * output.h (get_insn_template): Declare.
21917 * final.c (get_insn_template): New.
21918 (final_scan_insn): Use it.
21919 * toplev.c (compile_file): Likewise.
21920
21921 * c4x/c4x.c (c4x_process_after_reload): Likewise.
21922 * i860/i860.c (output_delayed_branch): Likewise.
21923 (output_delay_insn): Likewise.
21924
21925 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21926
21927 * rtl.c (obstack_alloc_rtx): Removed.
21928
21929 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
21930
21931 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21932
21933 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
21934
21935 * i386.c (call_insn_operand): Reject const_int.
21936 (expander_call_insn_operand): Use call_insn_operand.
21937
21938 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21939
21940 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21941
21942 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
21943
21944 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21945 Use DImode operation.
21946
21947 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
21948
21949 * gcc.c: Include sys/resource.h.
21950 (report_times): New flag.
21951 (execute): If report_times is set, calculate and report the
21952 CPU time consumed by each subprocess.
21953
21954 (rus, prus): New globals.
21955 (option_map): Add --time.
21956 (display_help): Document -time.
21957 (process_command): Set report_times if -time is given.
21958 Turn off -pipe if -time is given.
21959
21960 * invoke.texi: Document new option -time.
21961
21962 * configure.in: Check for getrusage. Check if we have to
21963 prototype getrusage.
21964 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21965 * configure: Regenerate.
21966 * config.in: Regenerate.
21967
21968 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
21969
21970 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21971 fields.
21972
21973 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
21974
21975 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21976 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21977 (nan): Return _thenan_sf or _thenan_df as appropriate.
21978 (L_thenan_sf): Define _thenan_sf.
21979 (L_thenan_df): Define _thenan_df.
21980
21981 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21982 (DPBIT_FUNCS): Add _thenan_df.
21983
21984 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
21985
21986 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
21987 TYPE_SIZE_UNIT.
21988
21989 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21990
21991 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21992
21993 * gcc.h: New file.
21994 (lang_specific_driver): Don't take a function pointer parameter.
21995 All callers changed.
21996
21997 * gcc.c: Include gcc.h.
21998 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21999 lang_specific_extra_outfiles, fatal): Don't declare.
22000 (multilib_defaults_raw): Constify.
22001 (read_specs): Call memset, rather than bzero.
22002 (main): Call return, not exit.
22003 (lookup_compiler): Call memcpy, not bcopy.
22004 (fatal): Make extern.
22005
22006 * cppspec.c: Include gcc.h.
22007 (lang_specific_driver): Initialize variable `quote'. Constify a
22008 char*. All calls to the function pointer parameter now
22009 explicitly call `fatal'.
22010
22011 * gccspec.c (lang_specific_driver): Include gcc.h.
22012
22013 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
22014
22015 * arm.c (note_invalid_constants): Use recog_data.operand_type
22016 for recog_op_type.
22017
22018 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22019
22020 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
22021 Declare.
22022
22023 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
22024 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
22025 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22026 reload_secondary_in_reload, reload_secondary_out_reload,
22027 reload_secondary_in_icode, reload_secondary_out_icode,
22028 reload_reg_rtx, reload_when_needed): Delete declarations.
22029 (struct reload): New structure.
22030 (rld): Declare new array.
22031 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
22032 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
22033 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22034 reload_secondary_in_reload, reload_secondary_out_reload,
22035 reload_secondary_in_icode, reload_secondary_out_icode,
22036 reload_reg_rtx, reload_when_needed): Delete definitions.
22037 (rld): New array.
22038 (whole file): Replace uses of the deleted arrays with uses of rld.
22039 * reload1.c (whole file): Replace uses of the deleted arrays with
22040 uses of rld.
22041 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
22042 explicit loops, not with bcopy.
22043
22044 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
22045
22046 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
22047 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
22048 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
22049 insn_name): Delete and consolidate into new structures.
22050 (insn_operand_predicate_fn): New.
22051 (insn_output_fn): New.
22052 (insn_gen_fn): New.
22053 (struct insn_operand_data): New.
22054 (struct insn_data): New.
22055 (insn_data): New.
22056 (OUT_FCN): Update for insn_data change.
22057 * builtins.c (expand_builtin_strlen): Likewise.
22058 (expand_builtin_memcmp): Likewise.
22059 * combine.c (make_extraction, simplify_comparison): Likewise.
22060 * cse.c (canon_reg, cse_insn): Likewise.
22061 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
22062 * expmed.c (store_bit_field, extract_bit_field): Likewise.
22063 (emit_store_flag): Likewise.
22064 * expr.c (convert_move, emit_block_move): Likewise.
22065 (clear_storage, emit_push_insn, expand_increment): Likewise.
22066 (do_store_flag): Likewise.
22067 * expr.h (GEN_FCN): Likewise.
22068 (insn_gen_function): Die.
22069 * final.c (final_scan_insn): Update for insn_data change.
22070 (output_asm_name): Likewise.
22071 * function.c (fixup_var_refs_1): Likewise.
22072 * loop.c (check_dbra_loop): Likewise.
22073 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
22074 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
22075 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
22076 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
22077 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
22078 * regmove.c (gen_add3_insn): Likewise.
22079 * reload.c (push_secondary_reload, combine_reloads): Likewise.
22080 (find_reloads, find_reloads_address_1): Likewise.
22081 (debug_reload_to_stream): Likewise.
22082 * reload1.c (emit_reload_insns, gen_reload): Likewise.
22083 * stmt.c (expand_end_case): Likewise.
22084 * toplev.c (compile_file): Likewise.
22085
22086 * c4x/c4x.c (c4x_process_after_reload): Likewise.
22087 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22088
22089 * print-rtl.c (insn_name_ptr): Remove declaration.
22090 (get_insn_name): Declare.
22091 (print_rtx): Use it.
22092 * genoutput.c (insn_name_ptr): Remove.
22093 (next_operand_number): New.
22094 (struct operand_data): New.
22095 (null_operand, odata, odata_end): New.
22096 (struct data): Use struct operand_data.
22097 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
22098 (get_insn_name): Renamed from name_for_index.
22099 (output_prologue): Define NO_MD_PROTOTYPES.
22100 (output_predicate_decls): Break out from output_epilogue.
22101 Iterate over the operands list.
22102 (output_operand_data): Break out from output_epilogue. Emit
22103 just the operands list.
22104 (output_insn_data): Break out from output_epilogue. Emit just
22105 the insn data.
22106 (output_epilogue): Remove.
22107 (output_get_insn_name): New.
22108 (constraints, op_n_alternatives, predicates, address_p): Die.
22109 (modes, strict_low, seen): Die.
22110 (scan_operands): Take new param `d' instead of writing to
22111 seven global variables.
22112 (compare_operands): New.
22113 (place_operands): New.
22114 (validate_insn_alternatives): Update for struct data change.
22115 (gen_insn): Don't zero or copy 7 global arrays. Update for
22116 scan_operands; call place_operands.
22117 (gen_peephole, gen_expand, gen_split): Likewise.
22118 (main): Update for new output routines.
22119
22120 * genattr.c (insn_name_ptr): Remove.
22121 (get_insn_name): New function.
22122 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
22123 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
22124 * genrecog.c: Likewise.
22125
22126 * alpha.md (adddi3): Make `pattern' array static.
22127
22128 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22129
22130 * config/c4x/c4x.h (c4x_rpts_cycles_string,
22131 c4x_cpu_version_string): Constify char *.
22132 * config/c4x/c4x.c (c4x_rpts_cycles_string,
22133 c4x_cpu_version_string): Likewise.
22134
22135 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
22136
22137 * tree.c (save_tree_status): Revert 10 Sep change.
22138 (restore_tree_status): Likewise. Call obstack_free with NULL
22139 before freeing the obstack proper.
22140
22141 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
22142
22143 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
22144
22145 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
22146 surrounding context.
22147
22148 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
22149
22150 * tree.c (type_hash_canon): Put all types in the hash-table, when
22151 GC'ing.
22152
22153 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
22154
22155 * recog.h (struct recog_data, recog_data): New.
22156 (recog_foo variables): Kill.
22157 * recog.c (recog_operand, recog_operand_loc): Kill.
22158 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
22159 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
22160 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
22161 (recog_data): Define.
22162 (extract_insn): Update all recog_foo references to use recog_data.
22163 (preprocess_constraints, constrain_operands): Likewise.
22164 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
22165 * genattrtab.c (main): Likewise.
22166 * genextract.c (main): Likewise.
22167 * genoutput.c: Likewise.
22168 * genrecog.c (write_subroutine, main): Likewise.
22169 * local-alloc.c (block_alloc): Likewise.
22170 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
22171 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
22172 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
22173 * reload.c (find_reloads, find_reloads_toplev): Likewise.
22174 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
22175 (reload_cse_simplify_operands): Likewise.
22176
22177 * arc/arc.c (arc_final_prescan_insn): Likewise.
22178 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
22179 * h8300/h8300.c (notice_update_cc): Likewise.
22180 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
22181 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22182 * mn10200/mn10200.c (notice_update_cc): Likewise.
22183 * mn10300/mn10300.c (notice_update_cc): Likewise.
22184 * romp/romp.c (update_cc): Likewise.
22185 * sparc/sparc.c (check_pic): Likewise.
22186 * v850/v850.c (notice_update_cc): Likewise.
22187
22188 * genemit.c (main): Don't declare recog_operand.
22189
22190 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
22191
22192 * ggc.h (rtvec_def): Forward declare.
22193 (tree_node): Likewise.
22194 (ggc_root): Define.
22195 (roots): Declare.
22196 (ggc_set_mark_rtx): Add prototype.
22197 (ggc_set_mark_rtvec): Likewise.
22198 (ggc_set_mark_tree): Likewise.
22199 * ggc-simple.c (ggc_root): Don't define.
22200 (roots): Don't declare.
22201 (ggc_mark_rtx): Remove.
22202 (ggc_mark_rtvec): Likewise.
22203 (ggc_mark_tree): Likewise.
22204 (ggc_mark_varray): Likewise.
22205 (ggc_mark_tree_hash_table_entry): Likewise.
22206 (ggc_mark_tree_hash_table): Likewise.
22207 (ggc_set_mart_rtx): New function.
22208 (ggc_set_mark_rtvec): Likewise.
22209 (ggc_set_mark_tree): Likewise.
22210 (ggc_add_root): Remove.
22211 (ggc_add_rtx_root): Likewise.
22212 (ggc_remove_tree_root): Likewise.
22213 (ggc_add_string_root): Likewise.
22214 (ggc_add_tree_varray_root): Likewise.
22215 (ggc_add_tree_hash_table_root): Likewise.
22216 (ggc_del_root): Likewise.
22217 (ggc_mark_rtx_ptr): Likewise.
22218 (ggc_mark_tree_ptr): Likewise.
22219 (ggc_mark_string_ptr): Likewise.
22220 (ggc_mark_tree_varray_ptr): Likewise.
22221 (ggc_mark_tree_hash_table_ptr): Likewise.
22222 * ggc-common.c: New file.
22223 * Makefile.in (OBJS): Add ggc-common.o.
22224 (ggc-common.o): List dependencies.
22225
22226 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
22227
22228 * cppalloc.c (xstrdup): Use memcpy.
22229 * cpperror.c (cpp_print_containing_files): Don't use
22230 cpp_notice.
22231 * cpplib.c (conditional_skip): Set temp->lineno.
22232 (do_endif): Make error message less obscure.
22233 (if_directive_name): New function.
22234 (cpp_get_token [case EOF]): Unwind the if stack and generate
22235 error messages for each unterminated conditional in this file.
22236 (parse_string): Do not behave differently if -traditional.
22237
22238 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
22239
22240 * builtins.c (expand_builtin_va_arg): Cope with an array-type
22241 va_list decomposing to pointer-type.
22242 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
22243 (rs6000_va_arg): Likewise.
22244
22245 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
22246
22247 * except.c (start_dynamic_handler): Compute size using
22248 STACK_SAVEAREA_MODE.
22249
22250 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22251
22252 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
22253 include directory headers. Don't define strrchr. Don't provide
22254 my_* replacement functions. Prefer PTR over `pointer_type'.
22255 Don't prototype system functions. Don't redefine getopt.
22256
22257 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
22258 safe_read, safe_write, save_pointers, restore_pointers,
22259 is_id_char, in_system_include_dir, directory_specified_p,
22260 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
22261 find_corresponding_lparen, referenced_file_is_newer,
22262 save_def_or_dec, munge_compile_params, gen_aux_info_file,
22263 process_aux_info_file, identify_lineno, check_source,
22264 seek_to_line, forward_to_next_token_char, output_bytes,
22265 output_string, output_up_to, other_variable_style_function,
22266 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
22267 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
22268 find_static_definition, connect_defs_and_decs, add_local_decl,
22269 add_global_decls, needs_to_be_converted, visit_each_hash_node,
22270 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
22271 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
22272 scan_for_missed_items, edit_file, string_list_cons): Add static
22273 prototypes.
22274 (standard_exec_prefix, target_machine, target_version,
22275 default_syscalls_dir, string_list, string_list_cons, find_file,
22276 do_cleaning): Constify a char*.
22277 (safe_read, safe_write): Use PTR, not a char*.
22278 (is_id_char): Take an int, not a char.
22279 (main): Add prototype. Call return, not exit.
22280
22281 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
22282
22283 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
22284 when comparing types.
22285
22286 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
22287
22288 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
22289 (strength_reduce): Release the varrays from the no-bivs early exit.
22290
22291 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
22292 the loop over the registers.
22293
22294 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
22295 for a new obstack.
22296 (restore_tree_status): Check that instead when freeing the obstack.
22297
22298 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
22299
22300 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
22301 as pointers.
22302
22303 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22304
22305 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
22306 operand size modifiers.
22307
22308 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22309
22310 * c-common.c (c_common_nodes_and_builtins): Don't build
22311 va_list_type_node.
22312 * c-common.h (enum c_tree_index and related accesor macros): Remove
22313 everything now declared in tree.h.
22314 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
22315 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
22316 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
22317 (error_mark_node, void_type_node, char_type_node, integer_type_node,
22318 unsigned_type_node, ptr_type_node, va_list_type_node,
22319 integer_zero_node, null_pointer_node, integer_one_node): Delete.
22320 (init_decl_processing): Call build_common_tree_nodes and
22321 build_common_tree_nodes_2 instead of building their nodes here.
22322 Don't add roots for these nodes.
22323 * stor-layout.c (size_zero_node, size_one_node): Delete.
22324 (set_sizetype): Make a new node for bitsizetype each time.
22325 * tree.c (global_trees): New variable.
22326 (init_obstacks): Add a gc root for it.
22327 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
22328 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
22329 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
22330 (build_common_tree_nodes): New function.
22331 (fix_sizetype): New function.
22332 (build_common_tree_nodes_2): New function.
22333 * tree.h (enum tree_index): New.
22334 (global_trees): Declare.
22335 Add accessor macros for all nodes now moved to global_trees.
22336 Delete their declarations.
22337
22338 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
22339
22340 * c-decl.c (finish_function): When processing a nested function,
22341 push and pop GC context around rest_of_compilation.
22342
22343 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
22344
22345 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
22346 Default ix86_arch to PROCESSOR_I386.
22347 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
22348 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
22349 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
22350 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
22351 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
22352 (EXTRA_SPECS): Remove deleted specs.
22353
22354 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
22355
22356 * function.c (assign_stack_local_1): Allocate from
22357 function->x_frame_offset, not frame_offset.
22358
22359 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
22360
22361 * ggc.h (lang_cleanup_tree): Remove.
22362 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
22363 * ggc-callbacks.c (lang_cleanup_tree): Remove.
22364
22365 * c-decl.c (finish_struct): Use ggc_alloc to allocate
22366 TYPE_LANG_SPECIFIC when garbage collecting.
22367 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
22368 (lang_cleanup_tree): Remove.
22369
22370 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
22371
22372 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
22373 * crtstuff.c: Not here.
22374 * dwarf2out.c: Or here.
22375 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
22376 info.
22377
22378 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
22379
22380 * function.h (free_after_compilation): Remove decl parameter.
22381 (free_varasm_status0: Likewise.
22382 (free_emit_status): Likewise.
22383 (free_stmt_status): Likewise.
22384 (free_after_compilation): Likewise.
22385 (init_lang_status): New variable.
22386 (free_lang_status): Likewise.
22387 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
22388 * function.c (init_lang_status): New variable.
22389 (free_lang_status): Likewise.
22390 (push_function_context_to): Don't set function::decl here.
22391 (free_after_copmilation): Make decl parameter implicit. Call
22392 free_lang_status if defined.
22393 (prepare_function_start): Call init_lang_status if defined.
22394 (init_function_start): Set function::decl here.
22395 * profile.c (output_func_start_profiler): Don't call pushdecl
22396 until we've actually started the function.
22397 * stmt.c (free_stmt_status): Make decl parameter implicit.
22398 * toplev.c (rest_of_compilation): Don't pass decl to
22399 free_after_compilation.
22400 * varasm.c (free_varasm_status): Likewise.
22401
22402 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22403
22404 * except.c (call_get_eh_context): Add root when allocating static
22405 tree variable.
22406
22407 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
22408
22409 * arm.c: Include "ggc.h".
22410 (arm_add_gc_roots): New function.
22411 (arm_override_options): Call it.
22412 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
22413
22414 * arm.md (define_asm_attributes): Add a pool_range attribute.
22415
22416 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
22417
22418 * extend.texi (Volatiles): New node.
22419
22420 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
22421
22422 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
22423 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
22424 (struct ggc_any): Replace `mark' with `magic_mark'.
22425 (ggc_alloc_string): Use memcpy, not bcopy.
22426 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
22427 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
22428 (ggc_free_any): New.
22429 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
22430 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
22431 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
22432 Use IS_MARKED. Use ggc_free_any.
22433
22434 1999-09-09 Scott Bambrough <scottb@netwinder.org>
22435
22436 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
22437
22438 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
22439
22440 * toplev.c (main): Always init_ggc.
22441
22442 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
22443
22444 * except.c (find_all_handler_type_matches): Free the list if
22445 we found no matches.
22446
22447 * combine.c (SUBST): Break out to a real function do_SUBST.
22448 (SUBST_INT): Likewise.
22449 * gcse.c (free_pre_mem): Free `temp_bitmap'.
22450 (pre_insert): Free `inserted'.
22451 * loop.c (basic_induction_var): Always set `location'.
22452
22453 * function.c (expand_function_end): Add initial_trampoline as a root.
22454 * rtl.h (init_varasm_once): Declare.
22455 * toplev.c (compile_file): Call it.
22456 * ggc-simple.c (ggc_mark_string_ptr): New.
22457 (ggc_add_string_root): New.
22458 (ggc_collect): Disable collection avoidance temporarily.
22459 * ggc.h (ggc_add_string_root): Declare.
22460 * except.c (create_rethrow_ref): Use ggc_alloc_string.
22461 * optabs.c (init_libfuncs): Likewise.
22462 * varasm.c (named_section): Use ggc_alloc_string.
22463 (make_function_rtl): Likewise.
22464 (make_decl_rtl): Likewise.
22465 (assemble_static_space): Likewise.
22466 (assemble_trampoline_template): Likewise.
22467 (output_constant_def): Likewise.
22468 (force_const_mem): Likewise.
22469 (mark_const_hash_entry): New.
22470 (mark_pool_sym_hash_table): New.
22471 (mark_varasm_state): Use it.
22472 (init_varasm_once): New.
22473
22474 * expr.h (init_one_libfunc): Declare.
22475 * optabs.c (init_one_libfunc): New.
22476 (init_optabs): Use it.
22477 * config/gofast.h: Likewise.
22478 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
22479 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
22480
22481 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
22482
22483 * Makefile.in (cppexp.o): Depend on cpphash.h.
22484 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
22485 Include cpphash.h.
22486 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
22487 * cpplib.c (do_define): Generalise to handle poisoned definitions,
22488 redefining poisoned identifiers, etc.
22489 (do_undef): Don't allow poisoned identifiers to be undefined.
22490 (do_pragma): Add #pragma poison.
22491 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22492
22493 * cccp.c: Add T_POISON node type.
22494 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
22495 poisoned xxx.
22496 (do_define): Generalise to handle poisoned definitions,
22497 redefining poisoned identifiers, etc.
22498 (do_undef): Don't allow poisoned identifiers to be undefined.
22499 (do_pragma): Add #pragma poison.
22500 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22501
22502 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
22503 * c-pragma.h: Add ps_poison state. We now always have generic
22504 pragmas.
22505
22506 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
22507
22508 * ggc.h (ggc_alloc): New function.
22509 (ggc_mark): Likewise.
22510 * ggc-simple.c (ggc_any): New structure.
22511 (ggc_status): Add anys.
22512 (n_anys_collected): New variable.
22513 (ggc_alloc): Define.
22514 (ggc_mark): Likewise.
22515 (ggc_collect): Collect the anys.
22516
22517 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22518
22519 * c-decl.c (mark_binding_level): Make static to match prototype.
22520
22521 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
22522
22523 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
22524
22525 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
22526
22527 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
22528 will use into account. Expand the max width to 5.
22529 * rtl.c: Likewise.
22530
22531 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
22532
22533 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
22534 for the rtx length.
22535
22536 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
22537
22538 * alpha.md (call value patterns): Remove the result predicates.
22539
22540 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
22541
22542 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
22543 last change.
22544
22545 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22546
22547 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
22548 changed from extern char *, to extern PTR. Also fix typo in
22549 NEED_DECLARATION_REALLOC test.
22550
22551 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
22552
22553 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22554
22555 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
22556 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
22557 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
22558 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
22559
22560 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
22561
22562 * cccp.c (pcfinclude): Likewise.
22563
22564 * global.c (allocno_compare): Likewise.
22565
22566 * haifa-sched.c (rank_for_schedule): Likewise.
22567
22568 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
22569
22570 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
22571
22572 * stupid.c (stupid_reg_compare): Likewise.
22573
22574 * tree.c (_obstack_allocated_p): Likewise.
22575
22576 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
22577
22578 1999-09-08 Bruce Korb autogen@linuxbox.com
22579
22580 * Makefile.in: Give the hapless gperf user a hint about
22581 why "gperf -F" fails.
22582
22583 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
22584
22585 * lists.c: Include ggc.h.
22586 (zap_lists): New.
22587 (init_EXPR_INSN_LIST_cache): Install it.
22588
22589 * ggc-simple.c (init_ggc): Absorb the old init.
22590 (ggc_push_context): Use xcalloc.
22591 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
22592 (ggc_collect): Add [rvts] tags to the collection stats.
22593
22594 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
22595
22596 * cccp.c (main): Fix handling of -include and -imacros options.
22597
22598 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
22599
22600 * cpplib.c (cpp_push_buffer): Fix order of arguments.
22601
22602 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
22603
22604 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
22605 genrtl.c.
22606
22607 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
22608
22609 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
22610 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
22611 and SET_DEST. Update comment.
22612
22613 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22614
22615 * config/c4x/c4x.c: Include ggc.h.
22616 (c4x_add_gc_roots): New function.
22617 (c4x_override_options): Call c4x_add_gc_roots.
22618
22619 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
22620
22621 * defaults.h (TARGET_ESC): Move ...
22622 * system.h: ... here, where Linas had it in the first place. Silly me.
22623
22624 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
22625
22626 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
22627 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
22628 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
22629 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
22630 * defaults.h (TARGET_ESC): Add default.
22631
22632 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
22633
22634 * configure.in: add i370-*-openedition, i370-*-mvs and
22635 i370-*-linux targets
22636
22637 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
22638
22639 * dsp16xxx.c: Include ggc.h
22640 (override_options): Mark GC roots.
22641 * mn10200.c: Include ggc.h.
22642 (asm_file_start): Mark GC roots.
22643 * tahoe.c: Include ggc.h.
22644 (extensible_operand): Mark GC roots.
22645
22646 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
22647
22648 * README: Add section discussing status of ELF ABI.
22649 * i370.c: Fix misc spelling mistakes.
22650 (i370_label_scan): Updated notes, exception handling.
22651 (i370_function_prolog): Simplify ELF stack handling.
22652 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
22653 (STACK_GROWS_DOWNWARD): ELF stack grows down.
22654 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
22655 * i370.md: (movdi): Add notes.
22656 (floatsidf2): Use stack not rtca for scratch float area.
22657 (iorsi3): Correct operand constraints.
22658 * x-oe: Restore TAROUTOPTS which are used by pax.
22659
22660 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
22661
22662 * rs6000.c: Include ggc.h.
22663 (rs6000_add_gc_roots): New function.
22664 (override_options): Call it.
22665
22666 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
22667
22668 * alpha.h (alpha_compare): New.
22669 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
22670 * alpha.c: Likewise for the definitions.
22671 (alpha_emit_conditional_branch): Update for alpha_compare.
22672 (alpha_emit_conditional_move): Likewise.
22673 * alpha.md (cmpdf, cmpdi): Likewise.
22674 (setcc patterns): Likewise. Zero alpha_compare after use.
22675 (sne): Optimize (x != 0) into (0U < x).
22676
22677 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
22678
22679 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
22680 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
22681 (INIT_EXPANDERS): Remove.
22682 * alpha.c: Include ggc.h.
22683 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
22684 (alpha_init_machine_status, alpha_mark_machine_status): New.
22685 (override_options): Install them.
22686 (struct machine_function): Moved to alpha.h.
22687 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
22688 (alpha_init_expanders): Remove.
22689 (alpha_return_addr): Adjust to use current_function->machine.
22690 (alpha_ra_ever_killed): Likewise.
22691 (alpha_expand_epilogue): Likewise.
22692 * alpha.md (eh_epilogue): Likewise.
22693
22694 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
22695 Melissa O'Neill <oneill@cs.sfu.ca>
22696 Geoffrey Keating <geoffk@cygnus.com>
22697
22698 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
22699 call-used registers (call-saved registers must still be contiguous
22700 and end with r31, of course).
22701
22702 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
22703
22704 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
22705 (self_promoting_type_p): Delete.
22706 (self_promoting_args_p): Move ...
22707 * c-common.c: ... here.
22708 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
22709 (simple_type_promotes_to): New.
22710 * builtins.c (lang_type_promotes_to): New.
22711 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
22712 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
22713 * c-common.h: ... here.
22714 (self_promoting_args_p, simple_type_promotes_to): Declare.
22715 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
22716 (grokdeclarator): Likewise.
22717 * tree.h (lang_type_promotes_to): Declare.
22718
22719 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
22720
22721 Add some machine-dependent GC roots.
22722 * sparc.c: Include ggc.h.
22723 (sparc_add_gc_roots): New function.
22724 (mark_ultrasparc_pipeline_state): Likewise.
22725 (override_options): Call sparc_add_gc_roots.
22726 * pa.c: Include ggc.h.
22727 (pa_add_gc_roots): New function.
22728 (mark_deferred_plabels): Likewise.
22729 (override_options): Call pa_add_gc_roots.
22730 * mips.c: Include ggc.h.
22731 (mips_add_gc_roots): New function.
22732 (override_options): Use it.
22733
22734 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22735
22736 * cpperror.c (cpp_file_line_for_message): Constify a char*.
22737
22738 * cppexp.c (parse_number, parse_charconst, cpp_lex,
22739 cpp_parse_expr): Add static prototypes.
22740 (parse_charconst): Don't cast away const-ness.
22741 (token): Constify a char*.
22742
22743 * cppfiles.c (file_name_list, include_hash, find_include_file,
22744 finclude, initialize_input_buffer): Constify a char*.
22745 (file_cleanup, find_position): Add static prototypes.
22746
22747 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
22748 collect_expansion): Add static prototypes.
22749 (cpp_install, create_definition, monthnames): Constify a char*.
22750
22751 * cpphash.h (cpp_install): Likewise.
22752
22753 * cppinit.c (known_suffixes, default_include,
22754 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
22755 (base_name, dump_special_to_buffer, initialize_dependency_output):
22756 Add static prototypes.
22757
22758 * cpplib.c (my_strerror): Constify a char*.
22759 (null_underflow, null_cleanup, skip_comment, copy_comment,
22760 copy_rest_of_line, handle_directive, pass_thru_directive,
22761 get_directive_token, read_line_number, cpp_print_file_and_line,
22762 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
22763 v_cpp_warning_with_line, detect_if_not_defined,
22764 consider_directive_while_skipping): Add static prototypes.
22765 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
22766 cpp_pedwarn_with_file_and_line): Constify a char*.
22767
22768 * cpplib.h (cpp_options, include_hash, progname, definition,
22769 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
22770 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
22771 find_include_file, deps_output, include_hash): Constify a char*.
22772
22773 * cppmain.c (progname): Constify.
22774 (main): Add prototype. Use return, not exit.
22775
22776 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
22777 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
22778 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
22779 check_protection): Add static prototype.
22780 (xfree): Remove.
22781 (progname, recognized_macrom, recognized_extern): Constify a char*.
22782 (main): Add prototype.
22783
22784 * gen-protos.c (progname): Constify a char*.
22785
22786 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
22787
22788 * emit-rtl.c (free_emit_status): Take decl as a parameter.
22789 (init_emit_once): Add more GC roots.
22790 * except.c (mark_func_eh_entry): New function.
22791 (mark_eh_node): Mark false_label and rethrow_label.
22792 (init_eh): Add more GC roots.
22793 * function.c (free_after_compilation): Take decl as a paramter.
22794 Call free_stmt_status.
22795 (mark_function_state): Don't assume x_parm_reg_stack_loc is
22796 non-NULL.
22797 * function.h (free_after_compilation): Change prototype.
22798 (free_varasm_status): Likewise.
22799 (free_emit_status): Likewise.
22800 (free_stmt_status): New function.
22801 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
22802 Remove, replacing with ...
22803 (ggc_status): New structure.
22804 (ggc_chain): New variable.
22805 (init_gcc): Define.
22806 (ggc_push_context): New function.
22807 (ggc_pop_context): Likewise.
22808 (ggc_alloc_rtx): Adjust for use of ggc_chain.
22809 (ggc_alloc_rtvec): Likewise.
22810 (ggc_alloc_tree): Likewise.
22811 (ggc_alloc_string): Likewise.
22812 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
22813 (ggc_mark_tree): Give language-dependent code a chance to mark
22814 `x' nodes.
22815 (ggc_mark_tree_varray): Handle empty arrays.
22816 (ggc_collect): Adjust for use of ggc_chain. Clear
22817 bytes_alloced_since_last_gc.
22818 * ggc.h (ggc_pop_context): New function.
22819 (ggc_push_context): Likewise.
22820 * print-tree.c (print_node): Don't print obstacks when GC'ing.
22821 * stmt.c (free_stmt_status): New function.
22822 (init_stmt_for_function): Clear last_expr_value.
22823 * toplev.c (rest_of_compilation): Always call free_after_compilation.
22824 Conditionalize call to ggc_collect.
22825 (main): Call init_ggc.
22826 * tree.c (push_obstacks): Do the push, even when GC'ing.
22827 (push_obstacks_nochange): Likewise.
22828 (pop_obstacks): Liekwise.
22829 * varasm.c (free_varasm_status): Take decl as a parameter.
22830
22831 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
22832
22833 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
22834 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
22835 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
22836 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
22837
22838 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
22839
22840 * pa/x-pa-mpeix: New file for the MPE port.
22841
22842 * pa/quadlib.asm: New file for long double support.
22843
22844 * configure.in: Add hppa1.0-*-mpeix for MPE port.
22845 * configure: Rebuilt.
22846
22847 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
22848
22849 * final.c (shorten_branches): Fix last change.
22850
22851 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
22852
22853 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
22854
22855 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
22856
22857 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
22858 details.
22859
22860 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22861
22862 * c-aux-info.c (concat): Don't define.
22863
22864 * cccp.c (my_strerror): Likewise. All callers changed to use
22865 xstrerror instead.
22866 (do_include): Call xstrdup, not xmalloc/strcpy.
22867 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
22868 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
22869
22870 * collect2.c (my_strsignal): Likewise. All callers changed to use
22871 strsignal instead.
22872 (locatelib): Call xstrdup, not xmalloc/strcpy.
22873
22874 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
22875
22876 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
22877
22878 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
22879
22880 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
22881
22882 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
22883
22884 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
22885
22886 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
22887 malloc/realloc.
22888 (find_all_handler_type_matches): Likewise. Don't check return
22889 value.
22890 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
22891 xmalloc, not malloc.
22892 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
22893
22894 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
22895 (init_spec): Call xcalloc, not xmalloc/bzero.
22896 (set_spec): Call xstrdup, not save_string.
22897 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
22898 (find_a_file): Call xstrdup, not xmalloc/strcpy.
22899 (process_command): Call xstrdup, not save_string.
22900 (main): Call xcalloc, not xmalloc/bzero.
22901
22902 * gcov.c (xmalloc): Don't define.
22903 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
22904 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
22905 (output_data): Call xcalloc, not xmalloc/bzero.
22906
22907 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
22908
22909 * mips-tdump.c (xmalloc): Don't define.
22910 (print_symbol): Call xmalloc, not malloc.
22911 (read_tfile): Call xcalloc, not calloc.
22912
22913 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
22914 Don't define. All callers of xfree/my_strsignal changed to use
22915 free/strsignal instead.
22916 (allocate_cluster): Call xcalloc, not calloc.
22917
22918 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
22919 Fix memory leak, free allocated memory.
22920
22921 * prefix.c (translate_name): Call xstrdup, not save_string.
22922 (update_path): Likewise.
22923
22924 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22925
22926 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22927 Don't define. Callers of xfree/savestring2 changed to use
22928 free/concat instead.
22929
22930 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22931 (init_elim_table): Likewise.
22932
22933 * resource.c (init_resource_info): Likewise.
22934
22935 * stupid.c (stupid_life_analysis): Likewise.
22936
22937 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22938 (open_dump_file): Call concat, not xmalloc/strcpy/...
22939 (clean_dump_file): Likewise.
22940 (compile_file): Call xstrdup, not xmalloc/strcpy.
22941
22942 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
22943
22944 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22945 * v850.c (v850_va_arg): New.
22946
22947 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22948
22949 * haifa-sched.c: Tidy comments.
22950
22951 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22952
22953 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22954 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22955 $(out_object_file)): Depend on ggc.h.
22956 * c-common.c: Include "ggc.h".
22957 (combine_strings): If doing GC, use ggc_alloc_string.
22958 * c-decl.c: Include "ggc.h".
22959 (ggc_p): Define with value 0.
22960 (mark_binding_level): New function.
22961 (init_decl_processing): Add GC roots.
22962 (mark_c_function_context): New function.
22963 (lang_mark_false_label_stack): New function.
22964 (lang_mark_tree): New function.
22965 (lang_cleanup_tree): New function.
22966 * c-lang.c: Include "ggc.h".
22967 (lang_init): Call c_parse_init.
22968 * c-lex.c: Include "ggc.h".
22969 (check_linenum): If doing GC, don't copy filenames to permanent
22970 obstack.
22971 * c-parse.in: Include "ggc.h".
22972 (c_parse_init): New function.
22973 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22974 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22975
22976 * except.c (mark_eh_state): Mark more state.
22977 * function.c (mark_function_state): Likewise.
22978 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22979 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22980 * toplev.c (mark_file_stack): New function.
22981 (compile_file): If doing GC, use ggc_alloc_string on input filename.
22982 (main): Add root for input_file_stack.
22983
22984 * i386.c: Include "ggc.h".
22985 (ix86_mark_machine_status): New function.
22986 (override_options): Set mark_machine_status.
22987
22988 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22989
22990 * tree.c (copy_node): Copy node contents also if doing GC.
22991
22992 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
22993
22994 * collect2.c (scan_libraries): Fix double-thinko :-).
22995
22996 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
22997
22998 * collect2.c (scan_libraries): Fix thinko.
22999
23000 * cse.c (delete_trivially_dead_insns): Do not skip the last
23001 insn if it is a real insn.
23002
23003 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
23004
23005 * Makefile.in (ggc-simple.o): Depend on hash.h.
23006 * ggc.h (ggc_add_tree_hash_table_root): Declare.
23007 (ggc_mark_tree_varray): Likewise.
23008 (ggc_mark_tree_hash_table): Likewise.
23009 * ggc-simple.c: Include hash.h.
23010 (ggc_mark_tree_hash_table_ptr): New function.
23011 (ggc_mark_tree_hash_table_entry): Likewise.
23012 (ggc_mark_tree_hash_table): Likewise.
23013 (ggc_add_tree_hash_table_root): Likewise.
23014 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
23015 rtx, when defining fields.
23016
23017 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
23018
23019 * profile.c (output_func_start_profiler): Remove apparently
23020 nonsensical call to start_sequence.
23021
23022 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
23023
23024 * clipper/clipper.c (clipper_va_start): Fix typos.
23025
23026 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
23027 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
23028 (spur_va_arg): New stub.
23029
23030 * configure.in: Comment out pyramid.
23031
23032 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
23033
23034 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
23035 don't conflict with the bits that win32, cygwin, and dgux
23036 defines.
23037
23038 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
23039 Bernd Schmidt <bernds@cygnus.co.uk>
23040
23041 * integrate.c (function_cannot_inline_p): Do not inline
23042 functions with forced labels.
23043
23044 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
23045 Bernd Schmidt <bernds@cygnus.co.uk>
23046 Mark Mitchell <mark@codesourcery.com>
23047
23048 * Makefile.in (ggc-simple.o): Depend on varray.h.
23049 (rtl.o): Depend on ggc.h.
23050 (genattrtab.o): Depend on ggc.h.
23051 (print-tree.o): Likewise.
23052 (fold-const.o): Likewise.
23053 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
23054 (make_insn_raw): Don't cache insns when GC'ing.
23055 (emit_insn_before): Likewise.
23056 (emit_insn_after): Likewise.
23057 (emit_insn): Likewise.
23058 (start_sequence): Use xmalloc to allocate the sequence_stack.
23059 (end_sequence): Add free to free it.
23060 (gen_sequence): Don't cache insns when GC'ing.
23061 (clear_emit_caches): Don't use sequence_element_free_list.
23062 (init_emit): Use xcalloc, not xmalloc+bzero.
23063 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
23064 * function.c (pop_function_context_from): Use free to free the
23065 fixup_var_refs_queue.
23066 (put_reg_into_stack): Allocate it with xmalloc.
23067 * genattrtab.c: Include ggc.h.
23068 (operate_exp): Don't use obstack_free when GC'ing.
23069 (simplify_cond): Likewise.
23070 (simplify_text_exp): Likewise.
23071 (optimize_attrs): Likewise.
23072 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
23073 GC'ing.
23074 (gencode): Generate a #include for ggc.h.
23075 * ggc-callbacks.c (ggc_p): Define it to zero.
23076 * ggc-none.c (ggc_p): Likewise.
23077 * ggc-simple.c: Include varray.h.
23078 (ggc_mark_tree_varray): New function.
23079 (ggc_add_tree_varray_root): Likewise.
23080 (ggc_mark_tree_varray_ptr): Likewise.
23081 * ggc.h (ggc_p): Declare.
23082 (varray_head_tag): Likewise.
23083 (ggc_add_tree_varray_root): Declare.
23084 * print-tree.c (print_node): Don't check for TREE_PERMANENT
23085 inconsistencies when GC'ing.
23086 * rtl.c: Include ggc.h.
23087 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
23088 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
23089 (rtx_free): Don't call obstack_free when GC'ing.
23090 * toplev.c (rest_of_compilation): Call ggc_collect after every
23091 pass, if GC'ing.
23092 * tree.c (push_obstacks): Do nothing, if GC'ing.
23093 (pop_obstacks_nochange): Likewise.
23094 (pop_obstacks): Likewise.
23095 (make_node): Use ggc_alloc_tree when GC'ing.
23096 (copy_node): Likewise.
23097 (get_identifier): Use ggc_alloc_string when GC'ing.
23098 (build_string): Likewise.
23099 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
23100 (tree_cons): Likewise.
23101 (build1): Likewise.
23102 (type_hash_canon): Don't call obstack_free when GC'ing.
23103
23104 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
23105
23106 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
23107 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
23108
23109 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
23110 Bernd Schmidt <bernds@cygnus.co.uk>
23111 Mark Mitchell <mark@codesourcery.com>
23112
23113 * Makefile.in (stor-layout.o): Depend on ggc.h.
23114 (expr.o): Depend on ggc.h.
23115 (profile.o): Depend on ggc.h.
23116 (stor-layout.o): Depend on ggc.h.
23117 * emit-rtl.c (init_emit_once): Add gc roots.
23118 * expr.c: Include ggc.h.
23119 (emit_block_move): Add gc roots.
23120 (clear_storage): Likewise.
23121 * expr.h (init_stor_layout_once): New function.
23122 * profile.c: Include ggc.h.
23123 (init_arc_profiler): profiler_label is a root.
23124 * scan.c (make_sstring_space): Trust xrealloc to function
23125 correctly with first parameter NULL.
23126 * stor-layout.c: Include ggc.h.
23127 (set_sizetype): Add gc root.
23128 (init_stor_layout_once): New function.
23129 * toplev.c (compile_file): Call it.
23130
23131 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
23132 Bernd Schmidt <bernds@cygnus.co.uk>
23133 Mark Mitchell <mark@codesourcery.com>
23134
23135 * Makefile.in (tree.o): Depend on ggc.h.
23136 (varasm.o): Likewise.
23137 (function.o): Likewise.
23138 (stmt.o): Likewise.
23139 (except.o): Likewise.
23140 (optabs.o): Likewise.
23141 (emit-rtl.o): Likewise.
23142 * emit-rtl.c: Include ggc.h.
23143 (sequence_element_free_list): Remove, and all references.
23144 (mark_sequence): New functions.
23145 (mark_emit_state): New function.
23146 * except.c: Include ggc.h.
23147 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
23148 (mark_tree_label_node): New functions.
23149 (mark_eh_state): New function.
23150 * function.c: Include ggc.h.
23151 (mark_temp_slot, mark_function_chain): New functions.
23152 (mark_function_state): New function.
23153 (init_function_once): New function.
23154 * function.h (init_function_once): New function.
23155 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
23156 * ggc.h (label_node): Declare.
23157 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
23158 (lang_mark_false_label_stack): New function.
23159 (mark_temp_slot): Remove declaration.
23160 (mark_function_chain): Likewise.
23161 (mark_eh_state): Adjust prototype.
23162 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
23163 Likewise.
23164 * optabs.c: Include ggc.h.
23165 (mark_optab): New function.
23166 (init_optabs): Add gc roots.
23167 * stmt.c: Include ggc.h.
23168 (mark_cond_nesting, mark_loop_nesting): New functions.
23169 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
23170 (mark_stmt_state): New function.
23171 * toplev.c (compile_file): Call init_function_once.
23172 * tree.c: Include ggc.h.
23173 (type_hash): Move declaration earlier in file.
23174 (TYPE_HASH_SIZE, type_hash_table): Likewise.
23175 (init_obstacks): Add gc roots.
23176 (mark_type_hash): New function.
23177 * varasm.c: Include ggc.h.
23178 (mark_pool_constant): New function.
23179 (mark_varasm_state): New function.
23180
23181 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23182
23183 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
23184
23185 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23186
23187 * c-decl.c (struct language_function): Renamed from struct c_function.
23188 Delete elt NEXT.
23189 (c_function_chain): Delete.
23190 (push_c_function_context): New arg F. Don't warn about nested
23191 functions here. Fill LANGUAGE elt of F. Delete code to update
23192 c_function_chain. Don't call push_function_context.
23193 (pop_c_function_context): New arg F. Restore from there instead of
23194 from c_function_chain. Don't call pop_function_context. Clear out
23195 LANGUAGE field of F when done.
23196 * c-lang.c: Include "function.h"
23197 (lang_init): Initialize save_lang_status and restore_lang_status.
23198 * c-parse.in (nested_function, nested_function_notype): Warn about
23199 nested functions. Call push_function_context/pop_function_context
23200 instead of the _c_ variants.
23201 * c-tree.h (push_c_function_context, pop_c_function_context): Update
23202 prototype.
23203 * Makefile.in (c-lang.o): Update dependencies.
23204
23205 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
23206 regno_pointer_flag, regno_pointer_align.
23207 (gen_reg_rtx): Use xrealloc to enlarge them.
23208 (free_emit_status): New function.
23209 * function.c (mark_machine_status, mark_lang_status): New variables.
23210 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
23211 in some bits from assign_stack_local. All callers changed to use new
23212 name.
23213 (assign_stack_local): Just call assign_stack_local_1.
23214 (free_after_compilation): New function.
23215 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
23216 (trampoline_address): Likewise.
23217 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
23218 (prepare_function_start): Explicitly clear some more variables.
23219 * function.h (struct function): New elt can_garbage_collect.
23220 (mark_machine_status, mark_lang_status): Declare variables.
23221 (free_after_compilation, free_emit_status, free_varasm_status,
23222 init_varasm_status): Declare functions.
23223 * toplev.c (rest_of_compilation): Call free_after_compilation when
23224 done with the current function.
23225 * varasm.c (free_varasm_status): New function.
23226
23227 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
23228
23229 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
23230 (EXPAND_BUILTIN_VA_ARG): Define.
23231 * sparc.c (sparc_va_start): New.
23232 (sparc_va_arg): New.
23233
23234 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23235
23236 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
23237
23238 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23239
23240 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
23241
23242 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
23243
23244 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
23245 (OBJS): Add $(GGC).
23246 (ggc-callbacks.o): New target.
23247 * ggc-callbacks.c: New file.
23248
23249 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23250
23251 * expr.h: Collapse individual optab and libfunc vars to arrays.
23252 (optab_index, libfunc_index): New enumerations.
23253 (optab_table, libfunc_table): New arrays.
23254 Add accessor macros for both.
23255
23256 * optabs.c (optab_table, libfunc_table): New.
23257 Delete declarations for individual optab and libfunc vars.
23258
23259 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
23260
23261 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
23262
23263 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
23264
23265 * Makefile.in (GGC, GGC_LIB): New.
23266 (HOST_RTL): Include ggc-none.o.
23267 (ggc-simple.o): New target.
23268 (ggc-none.o): Likewise.
23269 * tree.h (tree_common): Add gc_mark.
23270 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
23271 (struct rtvec_def): Add gc_mark.
23272 * emit-rtl.c (global_rtl): Update static initializers to contain
23273 enough initializers.
23274 * ggc.h, ggc-none.c, ggc-simple.c: New files.
23275 * toplev.c (gc_time): New variable.
23276 (all_time): New variable.
23277 (compile_file): Print gc time.
23278 (print_time): Calculate percentage of the whole.
23279
23280 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23281
23282 Change obstack memory management and varasm constant pool handling so
23283 that nested functions are treated like any other functions.
23284 * function.c (init_machine_status): New variable.
23285 (push_function_context_to): Set contains_functions for the outer
23286 function. Don't call save_varasm_status.
23287 (pop_function_context_from): Don't call restore_varasm_status. Don't
23288 set current_function_contains_functions.
23289 (prepare_function_start): Call init_varasm_status rather than
23290 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
23291 is non-null.
23292 * function.h (struct function) Add field varasm. Delete fields
23293 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
23294 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
23295 (init_machine_status): Declare.
23296 (save_varasm_status, restore_varasm_status): Delete declarations.
23297 (save_tree_status, restore_tree_status): Delete last argument.
23298 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
23299 code. All callers changed.
23300 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
23301 save_constants_in_decl_trees, restore_constants, save_constants,
23302 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
23303 functions.
23304 (inlining): New variable.
23305 (reg_map, label_map, insn_map, orig_asm_operands_vector,
23306 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
23307 variables.
23308 (save_for_inline_nocopy): Don't save constants.
23309 Don't set inl_emit field in current_function.
23310 (expand_inline_function): Use emit field, not inl_emit, of the inlined
23311 function. Set new variable inlining before
23312 calling copy_rtx_and_substitute.
23313 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
23314 constant pool references if inlining is nonzero.
23315 Delete ADDRESS and (most of the) CONST cases.
23316 (output_inline_function): Save and restore current_function/
23317 current_function_decl. Delete restore_constants code. Don't call
23318 init_const_rtx_hash_table.
23319 * output.h (init_const_rtx_hash_table): Don't declare.
23320 * rtl.h (struct function): Declare.
23321 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
23322 * toplev.c (rest_of_compilation): Don't treat nested functions or
23323 functions containing them specially. Delete all code to deal with
23324 save_for_inline_copying.
23325 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
23326 inline_obstacks): Delete variables.
23327 (save_tree_status): Lose arg CONTEXT. All callers changed.
23328 Simply allocate a new function_maybepermanent_obstack for the new
23329 function, delete all the special cases.
23330 Don't save inline_obstacks.
23331 (restore_tree_status): Lose arg CONTEXT. All callers changed.
23332 Delete special handling for function_maybepermanent_obstack; simply
23333 free it if empty.
23334 Don't restore inline_obstacks.
23335 (permanent_allocation): Delete code that frees inline_obstacks.
23336 (print_inline_obstack_statistics): Delete function.
23337 (dump_tree_statistics): Don't call it.
23338 * varasm.c (struct varasm_status): New.
23339 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
23340 last_pool, pool_offset, const_double_chain): Delete global
23341 variables, replace with accessor macros.
23342 (immed_double_const): Don't walk const_double_chain outside a
23343 function, but don't treat nested functions specially anymore.
23344 (immed_real_const_1): Likewise.
23345 (clear_const_double_mem): Don't treat nested functions specially.
23346 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
23347 (save_varasm_status, restore_varasm_status): Delete functions.
23348 (init_varasm_status): New function.
23349 (force_const_mem): Don't treat nested functions specially.
23350 (find_pool_constant): Accept new arg F, search for constants in
23351 that function's pool rather than the current one. All callers
23352 changed.
23353 (get_pool_constant_for_function, get_pool_mode_for_function): New
23354 functions.
23355
23356 * i386.c (init_386_machine_status): New function, mostly from
23357 clear_386_stack_locals.
23358 (struct machine_functions): Rename element names to avoid name
23359 clashes.
23360 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
23361 macros, replacing global variables.
23362 (clear_386_stack_locals, save_386_machine_status,
23363 restore_386_machine_status): Delete functions.
23364 (override_options): Initialize init_machine_status.
23365 * i386.h (INIT_EXPANDERS): Delete macro.
23366 (save_386_machine_status, restore_386_machine_status,
23367 clear_386_stack_locals): Delete declarations.
23368
23369 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23370
23371 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
23372 (doloop_begin): Simplify pattern and use emit_jump_insn.
23373 (doloop_end): Simplify pattern, switch operand order,
23374 and use emit_jump_insn.
23375
23376 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
23377
23378 * function.h (struct function): Add new element LANGUAGE.
23379 (save_lang_status): Declare new variable.
23380 (restore_lang_status): Likewise.
23381 * function.c (save_lang_status): Define.
23382 (restore_lang_status): Likewise.
23383 (push_function_context_to): Call language-specific save function.
23384 (pop_function_context_from): Call language-specific restore function.
23385
23386 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
23387
23388 * i386.md (movsf_1): Check REG_P before use of REGNO.
23389 (movdf_1): Likewise.
23390 (movxf_1): Likewise.
23391 (extendsfdf2): Likewise.
23392 (extendsfxf2): Likewise.
23393 (extenddfxf2): Likewise.
23394
23395 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23396
23397 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
23398 constants into memory.
23399 (c4x_shiftable_constant): New function.
23400 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
23401 (c4x_shiftable_constant): Declare.
23402 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
23403 ashlqi3_noclobber): Add new patterns and associated splitters.
23404
23405 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
23406
23407 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
23408 * dwarf2out.c (dwarf2out_frame_init): Likewise.
23409 * final.c (shorten_branches): Likewise.
23410 * global.c (global_alloc): Likewise.
23411 * haifa-sched.c (build_control_flow): Likewise.
23412 * stmt.c (check_for_full_enumeration_handling): Likewise.
23413 (estimate_case_costs): Likewise.
23414
23415 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
23416
23417 * rtl.h (RTL_CHECKC2): Fix typo in last change.
23418
23419 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
23420
23421 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
23422 (recompute_reg_usage): Likewise.
23423 * rtlanal.c (find_regno_fusage): Likewise.
23424
23425 * rtl.c (rtl_check_failed_code1): New function.
23426 (rtl_check_failed_code2): New.
23427 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
23428 (RTL_CHECKC1, RTL_CHECKC2): New.
23429 (XC*): New accessor macros.
23430 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
23431 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
23432 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
23433 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
23434 (TRAP_*, RANGE_INFO_*): Likewise.
23435
23436 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23437
23438 * Makefile.in (tlink.o): Don't depend on toplev.h.
23439
23440 * collect2.c (c_file, o_file, export_file, import_file, ldout,
23441 output_file, nm_file_name, ldd_file_name, strip_file_name,
23442 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
23443 add_prefix, prefix_from_env, prefix_from_string, do_wait,
23444 fork_execute, maybe_unlink, add_to_list,
23445 extract_init_priority, write_list, dump_list,
23446 dump_prefix_list, write_list_with_asm, write_c_file,
23447 write_c_file_stat, write_c_file_glob, scan_prog_file,
23448 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
23449 ignore_library, extract_string, notice, dump_file, target_machine,
23450 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
23451 read_file, print_load_command): Constify a char*.
23452 (fdopen, error, fatal, fatal_perror): Don't prototype.
23453 (my_strerror): Remove. All callers use xstrerror instead.
23454 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
23455 (main): Add prototype. Constify lots of char* ptrs. Change calls
23456 to xcalloc/strcpy/strcat/... to one call to concat.
23457 (main, scan_prog_file, scan_libraries): Use an intermediate
23458 `const char **' to build an argv array.
23459 (mapfile, libselect, libcompare, locatelib): Add prototypes.
23460
23461 * collect2.h (collect_execute, collect_wait, dump_file,
23462 file_exists): Constify a char*.
23463 (ldout, c_file_name, temporary_obstack, permanent_obstack,
23464 temporary_firstobj, vflag, debug): Add extern declarations.
23465 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
23466
23467 * tlink.c: Don't include toplev.h.
23468 (vflag, debug, ldout, c_file_name, temporary_obstack,
23469 permanent_obstack, temporary_firstobj): Don't declare.
23470 (tlink_execute, frob_extension, symbol_hash_lookup,
23471 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
23472 recompile_files, read_repo_files, demangle_new_symbols,
23473 scan_linker_output): Constify a char*.
23474 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
23475 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
23476
23477 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
23478
23479 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
23480 (relative) rather than jsr (absolute) subroutine call insns.
23481 * config/m68k/m68k-coff.h: Ditto.
23482
23483 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
23484
23485 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
23486 now rework these too.
23487 (arm_reorg): If an insn can't reach the end of the current pool,
23488 ensure that we emit that pool before the insn.
23489
23490 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
23491
23492 * tlink.c (scan_linker_output): Skip the initial underscore in
23493 a mangled name if appropriate.
23494
23495 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23496
23497 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
23498 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
23499 error_with_ivar, gen_declarator, create_builtin_decl,
23500 my_build_string, generate_descriptor_table, generate_ivars_list,
23501 generate_dispatch_table, check_protocols, TAG_GETCLASS,
23502 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
23503 dump_base_name, lang_decode_option, build_encode_expr,
23504 start_class, finish_class, encode_pointer, really_start_method,
23505 gen_declaration, dump_interface, handle_class_ref, handle_impent):
23506 Constify.
23507 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
23508 Add static prototypes.
23509 (build_objc_string_decl, build_selector_reference_decl,
23510 encode_bitfield, build_class_reference_decl): Remove unused
23511 parameter, all callers changed.
23512 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
23513 (objc_printable_name): Likewise. Change second parameter to type int.
23514 (init_objc): Use memcpy, not bcopy, to avoid casts.
23515
23516 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
23517
23518 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
23519 reg notes on a deleted insn.
23520 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
23521
23522 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
23523
23524 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
23525
23526 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23527
23528 * stmt.c (expand_asm_operands): Fix index into inout_mode when
23529 reading it.
23530
23531 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
23532
23533 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
23534 * tm.texi (MD_ASM_CLOBBERS): Document it.
23535
23536 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
23537
23538 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
23539 * except.c (expand_rethrow): Remove unused variable.
23540 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
23541 * flow.c (replace_insns): Likewise.
23542 (create_edge_list, verify_edge_list): Likewise.
23543 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
23544
23545 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
23546 is special code to run.
23547 (main): Don't define operands to emit_operand.
23548 * genrecog.c (main): Don't emit an empty peephole2_insn function.
23549
23550 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
23551
23552 * alpha/alpha.h (normal_memory_operand): Declare.
23553 (reg_no_subreg_operand): Declare.
23554 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
23555
23556 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
23557
23558 * c-parse.in (compstmt_primary_start): New, broken out of first
23559 part of compstmt handling in primary.
23560 (primary): Use it. Add an error clause.
23561 (compstmt_nostart): Renamed from compstmt; remove all
23562 initial invocations of compstmt_start.
23563 (compstmt): New.
23564
23565 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
23566
23567 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
23568 needed.
23569
23570 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
23571
23572 * combine.c (simplify_shift_const): Remove extra semicolon.
23573 * dwarf2out.c (remove_AT): Likewise.
23574 * expmed.c (expand_mult): Likewise.
23575 * gcov.c (create_program_flow_graph): Likewise.
23576 * reorg.c (mostly_true_jump): Likewise.
23577
23578 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
23579
23580 * fold-const.c (fold_range_test): Do not try to fold the range
23581 test if the rhs or lhs has side effects.
23582
23583 * combine.c (simplify_rtx): Recognize another case of a synthesized
23584 sign extension.
23585
23586 * varasm.c (mark_constant_pool): When marking indirect references,
23587 only look at SYMBOL_REFs.
23588
23589 * except.c (expand_fixup_region_end): Do not peek at
23590 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
23591
23592 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
23593
23594 * flags.h: New variables align_loops, align_loops_log,
23595 align_jumps, align_jumps_log, align_labels, align_labels_log,
23596 align_functions, align_functions_log.
23597 * toplev.c: Define them.
23598 (f_options): Handle -falign-* when they have no argument.
23599 (main): Add logic to set variables for -falign-functions,
23600 -falign-jumps, -falign-labels, -falign-loops.
23601 Make it -fsched-verbose=<n> and -finline-limit=<n>.
23602 (display_help): Change help to match options.
23603 * final.c (LABEL_ALIGN): Default to align_labels_log.
23604 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
23605 (LOOP_ALIGN): Default to align_loops_log.
23606 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
23607 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
23608 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
23609 * varasm.c (assemble_start_function): Handle align_functions.
23610
23611 * config/sparc/sparc.h: Don't declare sparc_align_*.
23612 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
23613 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
23614 sparc.c.
23615 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
23616 it's a promise.
23617 * config/sparc/sparc.c: Delete sparc_align_loops,
23618 sparc_align_jumps, sparc_align_funcs and the corresponding string
23619 variables.
23620 (sparc_override_options): Default align_functions on ultrasparc.
23621 Delete -malign-* handling.
23622
23623 * config/mips/mips.c (override_options): On 64-bit targets,
23624 try to align code to 64-bit boundaries.
23625 (print_operand): New substitution, %~,
23626 which aligns labels to align_labels_log.
23627 * config/mips/mips.md (div_trap_normal): Use %~.
23628 (div_trap_mips16): Likewise.
23629 (abssi): Likewise.
23630 (absdi2): Likewise.
23631 (ffssi2): Likewise.
23632 (ffsdi2): Likewise.
23633 (ashldi3_internal): Likewise.
23634 (ashrdi3_internal): Likewise.
23635 (lshrdi3_internal): Likewise.
23636 (casesi_internal): Likewise.
23637
23638 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
23639
23640 Merge new ia32 backend from the branch!
23641
23642 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
23643 See ChangeLog.P2 on new_ia32_branch for details.
23644
23645 * rtl.h (stack_regs_mentioned_p): Delete prototype.
23646 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
23647 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
23648 * i386/gas.h (ASM_FILE_START): Define.
23649 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
23650 for name change of ix86_valid_decl_attribute_p.
23651 (i386_pe_valid_type_attribute_p): Similarly.
23652
23653 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
23654
23655 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
23656 to step through CC modes.
23657
23658 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23659
23660 * regmove.c (fixup_match_1): Don't move INSN in front of P if
23661 it would end up in the shadow of a live flags regsiter.
23662
23663 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23664
23665 * reload1.c: Fix many indentation problems.
23666 * reload.c: Likewise.
23667
23668 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
23669
23670 * alias.c (non_local_reference_p): Constify fmt.
23671
23672 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
23673
23674 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
23675
23676 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
23677
23678 * cse.c (delete_trivially_dead_insns): Do not delete stores to
23679 the internal_arg_pointer.
23680
23681 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
23682
23683 Merge peephole2 from new_ia32_branch:
23684 * Makefile.in (STAGESTUFF): Add *.peephole2.
23685 (mostlyclean): Likewise.
23686 (recog.o): Depend on resource.h.
23687
23688 * final.c (peephole): Conditionalize decl on HAVE_peephole.
23689 (final_scan_insn): Likewise for the invocation of peephole.
23690 * genconfig.c (main): Look for peephole and peephole2 patterns.
23691 Emit HAVE_peephole* accordingly.
23692 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
23693 * flags.h (flag_peephole2): Declare.
23694 * toplev.c: New pass peephole2. New flag -fpeephole2.
23695
23696 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
23697 * gencodes.c (main): Likewise.
23698 * genextract.c (main): Likewise.
23699 * genoutput.c (main): Likewise.
23700 * genemit.c (max_operand_1): Look for the max scratch operand.
23701 (gen_rtx_scratch): New.
23702 (gen_exp): Use it, and pass on new arg subroutine_type.
23703 (gen_expand): Take max scratch into account.
23704 (gen_split): Emit peephole2 functions.
23705 (output_peephole2_scratch): New.
23706 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
23707 * genrecog.c (routine_type): Add PEEPHOLE2.
23708 (IS_SPLIT): New.
23709 (make_insn_sequence): Match outer parallel for peep2. Discard
23710 top level scratches and dups.
23711 (add_to_sequence): New args insn_type and top. Update all callers.
23712 Handle toplevel peep2 matching insns.
23713 (write_subroutine): Handle peep2.
23714 (write_tree_1): Likewise.
23715 (write_tree): Likewise.
23716 (main): Likewise.
23717 (change_state): New arg afterward. Update all callers.
23718 Handle matching separate insns.
23719 * recog.c (recog_next_insn): New.
23720 (peephole2_optimize): New.
23721 * rtl.def (DEFINE_PEEPHOLE2): New.
23722 * resource.c (find_free_register): New argument last_insn. Use it
23723 to find a register available through the entire span.
23724 * resource.h (find_free_register): Update prototype.
23725
23726 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
23727
23728 * i386.c (output_strlen_unroll): Don't write xops[7]
23729 label if it wasn't set.
23730
23731 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
23732
23733 * cpplib.c (struct directive): Const-ify name pointer and
23734 function pointer prototype.
23735 (validate_else, do_define, do_line, do_include, do_undef,
23736 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
23737 do_elif, do_endif, do_sccs, do_assert, do_unassert,
23738 do_warning): Const-ify second arg.
23739 (directive_table): Mark const. Reorder entries by frequency
23740 of usage, record statistics.
23741
23742 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
23743
23744 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
23745 bounds- check RTL accesses if --enable-checking.
23746 (RTVEC_ELT): Bounds check if --enable-checking.
23747 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
23748 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
23749 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
23750 GET_NUM_ELEM.
23751 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
23752 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
23753
23754 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
23755 (NOTE_SOURCE_FILE): Use X0STR.
23756 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
23757 MEM_ALIAS_SET): Use X0INT.
23758 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
23759 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
23760 Use X0EXP.
23761 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
23762 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
23763 (rtl_check_failed_bounds, rtl_check_failed_type1,
23764 rtl_check_failed_type2, rtvec_check_failed_bounds): New
23765 functions.
23766 (fancy_abort): Fix comment.
23767
23768 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
23769 (cse_insn): Decrement LABEL_NUSES for jump target before
23770 deleting jump insn.
23771 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
23772 * final.c (alter_subreg): Compute regno before changing x to
23773 REG; set REGNO(x) after changing it.
23774 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
23775 notes containing CONST_INTs.
23776 (delete_eh_regions): Use NOTE_EH_HANDLER.
23777 * function.c (put_reg_into_stack): Make reg a MEM before
23778 initializing it.
23779 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
23780 delete insn.
23781 (gen_mem_addressof): Make reg a MEM before initializing it.
23782 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
23783 X0WINT.
23784 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
23785 deleting an insn, not after.
23786 (block_alloc): Only look at PATTERN(insn) if we have to, and
23787 only if it's format class 'i'.
23788 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
23789 CONST_INT before using its INTVAL.
23790 * print-rtl.c (print_rtx): Use X0STR.
23791 * regmove.c (fixup_match_1): Don't look at PATTERN of
23792 non-class-'i' insn chain elements.
23793 * reload.c (loc_mentioned_in_p): Take address of
23794 in->fld[1].rtx directly.
23795 * reload1.c (reload): Change reg to a MEM before initializing
23796 it.
23797 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
23798 have no names.
23799 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
23800
23801 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
23802
23803 * config/mips/mips.c (machine_dependent_reorg): Force a
23804 barrier to output the local constant pool if a barrier hasn't
23805 been found at a natural point in the instruction stream.
23806
23807 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23808
23809 * c-parse.in (language_string): Constify.
23810
23811 * dwarf2out.c (language_string): Remove declaration.
23812
23813 * dwarfout.c (language_string): Likewise.
23814
23815 * toplev.c (language_string, init_parse, finish_parse): Likewise.
23816
23817 * tree.h (language_string, init_parse, finish_parse): Declare.
23818
23819 * i386/sun386.h (language_string): Remove declaration.
23820
23821 * mips.h (language_string): Likewise.
23822
23823 * nextstep.h (language_string): Likewise.
23824
23825 * nextstep21.h (language_string): Likewise.
23826
23827 * rs6000.c (language_string): Likewise.
23828
23829 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23830
23831 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
23832 (getpwd.o): Remove target.
23833
23834 * getpwd.c: Delete file. Its in libiberty now.
23835
23836 * dbxout.c (getpwd): Don't prototype.
23837 * dwarf2out.c (getpwd): Likewise
23838 * dwarfout.c (getpwd): Likewise
23839 * final.c (getpwd): Likewise.
23840 * protoize.c (getpwd): Likewise.
23841
23842 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23843
23844 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
23845
23846 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
23847
23848 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
23849 mark_set_resources.
23850
23851 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
23852
23853 * fixinc/Makefile.in (subdir): New.
23854 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
23855 (Makefile): New.
23856
23857 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
23858
23859 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
23860 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
23861 be shared.
23862
23863 * invoke.texi: Fix typo.
23864
23865 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
23866 changed. Handle autoincrement addressing modes.
23867
23868 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
23869 just like we would the virtual incoming args register when
23870 integrating.
23871
23872 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
23873
23874 * rs6000.h (ASM_FILE_START): Specify complete filename, including
23875 path, in .file directive.
23876
23877 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
23878
23879 * gcc.texi (External Bugs): Remove obsolete note about Perl on
23880 SunOS.
23881
23882 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
23883
23884 * stdbool.h: Make the typedef name _Bool, with bool a #defined
23885 alias.
23886
23887 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23888
23889 * tree.c (tree_code_name): Constify a char*.
23890
23891 * tree.h (tree_code_name, decl_printable_name): Likewise.
23892
23893 * function.h (struct function): Likewise.
23894
23895 * toplev.c (decl_name, decl_printable_name): Likewise.
23896
23897 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
23898
23899 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
23900 (init_objc): Remove function pointer cast.
23901
23902 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
23903
23904 * pa.md (interspace_jump): New pattern.
23905 (builtin_longjmp): New expander.
23906
23907 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
23908
23909 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
23910 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
23911 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
23912
23913 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
23914
23915 * jump.c (delete_prior_computation): Also check calls
23916 to constant functions. Don't bother checking for a
23917 REG_UNUSED note before adding it.
23918 (delete_computation): Handle multi-word hard registers
23919 when synthesizing missing REG_DEAD notes for a register
23920 which is both set and used by an insn.
23921
23922 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23923
23924 * loop.c (this_loop_info): New variable.
23925 (loop_has_call, loop_has_volatile, loop_has_tablejump,
23926 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23927 All uses updated.
23928 (prescan_loop, strength_reduce): New argument loop_info. All callers
23929 updated.
23930 (scan_loop): New variable loop_info, initialise to address of
23931 this_loop_info.
23932 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23933 Delete variable loop_has_multiple_exit targets and replace with
23934 field in this_loop_info.
23935 (find_and_verify_loops): Rename this_loop to this_loop_num.
23936 (strength_reduce): Delete loop_iteration_info. Replace variable
23937 loop_info with function argument of same name.
23938 (insert_bct): Rework test for loop being completely unrolled.
23939
23940 * loop.h (struct loop_info): New fields num, loops_enclosed,
23941 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23942 has_indirect_jump, and cont. Redefine use of unroll_number.
23943 (loop_unroll_number): Delete.
23944
23945 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23946 field of loop_info.
23947 (loop_iterations): Delete variable vtop and instead use
23948 loop_info->vtop computed in prescan_loop.
23949
23950 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
23951
23952 * fix-header.c (main): Do not pass a null pointer to strcmp.
23953
23954 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
23955
23956 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23957 filenames.
23958 * configure: Rebuilt.
23959
23960 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
23961
23962 * jump.c (jump_optimize_1): Do not delete assignments to
23963 internal_arg_pointer.
23964 * cse.c (delete_trivially_dead_insns): Always consider a set of
23965 the internal_arg_pointer live.
23966
23967 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
23968
23969 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23970 (update_life_info) [REG_WAS_0]: Search the original insns rather
23971 than the new insns for the note. Fix typos finding note_dest.
23972 If no dest found, discard the note rather than abort.
23973 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23974 (replace_insns): Remove the old insn list after update_life_info
23975 not before.
23976
23977 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
23978
23979 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23980 sched_analyze_insn.
23981 (sched_analyze_1): Let add_dependence care for not adding dups.
23982 (sched_analyze_2): Likewise.
23983 (add_branch_dependences): Likewise.
23984
23985 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
23986
23987 * i386/winnt.c (export_list): New type.
23988 (exports_head): Rename to
23989 (export_head): this.
23990 (i386_pe_record_exported_symbol): Add is_data flag.
23991 (i386_pe_asm_file_end): Emit directive for exported variables.
23992 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23993 prototype.
23994 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23995 (ASM_DECLARE_OBJECT_NAME): Likewise.
23996 (ASM_DECLARE_FUNCTION_NAME): Likewise.
23997 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23998
23999 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
24000
24001 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
24002
24003 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
24004 operand.
24005
24006 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
24007
24008 * config/openbsd.h: Define SET_ASM_OP.
24009 * tm.texi: cross-reference SET_ASM_OP in the index.
24010
24011 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
24012
24013 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
24014 for a CONST_DOUBLE, at compile time. Initialize rtx_length
24015 and class_narrowest_mode at compile time. Kill init_rtl.
24016 Mark rtx_length, mode_class, mode_size, mode_unit_size,
24017 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
24018 rtx_format as const. Kill all references to EXTRA_CC_MODES or
24019 EXTRA_CC_NAMES.
24020 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
24021 format.
24022 * rtl.h: Declare rtx_length and rtx_format as const.
24023 * machmode.def: Define CC(). Use CC() to define CCmode. If
24024 EXTRA_CC_MODES is defined, expand it here.
24025 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
24026 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
24027 const. Kill all references to EXTRA_CC_MODES.
24028
24029 * toplev.c: Don't prototype or call init_rtl.
24030 * optabs.c: Don't call init_mov_optab.
24031 * genemit.c: Don't generate init_mov_optab. Don't call
24032 init_rtl.
24033 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
24034 here.
24035 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
24036 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
24037 genrecog.c: Don't call init_rtl.
24038
24039 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
24040 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
24041 definition of EXTRA_CC_MODES.
24042
24043 * md.texi: Kill ref to EXTRA_CC_NAMES.
24044 * tm.texi: Document new way to define EXTRA_CC_MODES.
24045
24046 * genrecog.c: Do not look up the name of a define_split.
24047 (Unrelated bugfix.)
24048
24049 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
24050
24051 * config/v850/v850.md: Fix typo introduced by previous delta.
24052
24053 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24054
24055 * gcc.c (fatal): Make definition static to match prototype.
24056
24057 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24058
24059 * combine.c (get_last_value): Don't look for earlier sets if the last
24060 known set is somewhere in between the insns being combined.
24061
24062 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
24063
24064 * configure.in: Don't use shell ! to negate exit codes
24065 * configure: Regenerate
24066
24067 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
24068
24069 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
24070 the fact that ALIGN is measured in bits, not bytes.
24071
24072 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
24073
24074 * errors.c: New file; defines functions error, warning, and
24075 fatal, variables have_error and progname.
24076 * errors.h: New file; prototypes and decls for stuff in errors.c.
24077
24078 * Makefile: Add rules to build errors.o and
24079 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
24080 genopinit, genrecog, genextract, genpeep, genattr, and
24081 genoutput with errors.o. Add errors.h to deps of genconfig.o,
24082 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
24083 genpeep.o, genattr.o, and genoutput.o.
24084
24085 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
24086 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
24087 define or prototype fatal. Set progname at beginning of main.
24088 * genoutput.c: Likewise, and don't define or prototype error
24089 either.
24090
24091 * c-typeck.c (c_expand_start_case): Return immediately if exp
24092 is an ERROR_MARK.
24093 * fold-const.c (operand_equal_p): Return immediately if arg1
24094 or arg0 are ERROR_MARKs.
24095 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
24096 fields of type ERROR_MARK when calculating if the record can
24097 go in a register.
24098
24099 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
24100 with much help from Jeffrey A Law and Richard Henderson
24101
24102 * i386.md: In the 6 insns which call output_fix_trunc,
24103 earlyclobber operands[0].
24104
24105 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
24106
24107 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
24108 creating new registers.
24109
24110 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
24111
24112 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
24113 i386_reg_alloc_order, i386_regparm_string,
24114 i386_align_loops_string, i386_align_jumps_string,
24115 i386_align_funcs_string, i386_preferred_stack_boundary_string,
24116 and i386_branch_cost_string as type "const char *".
24117 * i386.c: Define all above strings as type "const char *".
24118
24119 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
24120
24121 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
24122 when emitting alignment padding. Emit padding byte of 0 instead of 4.
24123
24124 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
24125
24126 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
24127 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
24128
24129 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
24130
24131 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
24132 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
24133 (dwarf2out_line, dwarf2out_finish): Likewise.
24134 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
24135
24136 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
24137
24138 * tree.c (lang_unsave_expr_now) : Correct return type.
24139 * tree.h (lang_unsave_expr_now) : Same.
24140
24141 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
24142
24143 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
24144 instead of duplicating code.
24145
24146 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24147
24148 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
24149
24150 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
24151
24152 * tree.h: fancy_abort always takes three args.
24153 * resource.c: Move include of system.h before toplev.h.
24154
24155 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
24156
24157 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
24158 as SYMBOL_REFs.
24159
24160 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
24161
24162 * system.h: Don't redefine abort or trim_filename.
24163 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
24164 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
24165 whether or not __FUNCTION__ is available.
24166 * tree.h: Duplicate rtl.h's definition of abort, for files
24167 that don't include rtl.h. Delete all code to perform type
24168 checking with a compiler other than GCC.
24169 * varray.h: Delete all code to perform type checking with a
24170 compiler other than GCC. Make VARRAY_CHECK() always evaluate
24171 its arguments exactly once, using a statement expression.
24172 Adjust the VARRAY_<type> accessor macros to match.
24173 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
24174 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
24175 caller's location. Define fatal_insn and fatal_insn_not_found
24176 as macros that use _fatal_insn and _fatal_insn_not_found.
24177 (fancy_abort, trim_filename): Kill prototypes.
24178
24179 * rtl.c (trim_filename): Move here from toplev.c.
24180 (fancy_abort): New function.
24181 (DIR_SEPARATOR): Provide default definition.
24182 * tree.c (tree_check_failed, tree_class_check_failed): Go
24183 through fancy_abort.
24184 (tree_check, tree_class_check, cst_or_constructor_check,
24185 expr_check): Delete.
24186 * varray.c (varray_check_failed): New function.
24187 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
24188 _fatal_insn and _fatal_insn_not_found. Go through
24189 fancy_abort.
24190 (trim_filename, fancy_abort): Delete.
24191
24192 * builtins.c (expand_builtin_args_info): Report ICE with abort.
24193 * except.c (start_catch_handler): Report ICE with error/abort
24194 combo.
24195 * final.c (output_operand_lossage): Likewise.
24196 * flow.c (verify_flow_info): Likewise.
24197
24198 * gcc.c: Prototype fatal.
24199 * gengenrtl.c: Undef abort after including rtl.h not system.h.
24200 * genattr.c, genattrtab.c, genemit.c, genextract.c,
24201 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
24202 Don't define fancy_abort.
24203
24204 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
24205
24206 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
24207 canonization.
24208
24209 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
24210
24211 * m88k.h (VERSION_INFO2): Kill.
24212 (VERSION_STRING): Kill.
24213 (TM_RCS_ID): Kill.
24214 (VERSION_INFO1): Tidy.
24215 (TARGET_VERSION): Update.
24216 * m88k/dgux.h (VERSION_INFO2): Kill.
24217 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
24218 * m88k/luna.h (VERSION_INFO1): Tidy.
24219 * m88k/sysv4.h (VERSION_INFO1): Likewise.
24220 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
24221 (output_file_start): Adjust for death of VERSION_STRING.
24222
24223 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
24224
24225 * cpplib.c (detect_if_not_defined): New function.
24226 (do_if): Use it to detect potential once-only headers.
24227
24228 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
24229
24230 * c-common.c (combine_strings): Always set TREE_CONSTANT.
24231
24232 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
24233
24234 * combine.c (nonzero_bits) : Allow single-ly set registers to be
24235 anywere in the function only if they are pseudos and set before
24236 being used (not live at the start of the function).
24237 (num_sign_bit_copies) : Same.
24238 (get_last_value_validate) : Same.
24239 (get_last_value) : Same.
24240
24241 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
24242
24243 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
24244 where N and M are constant and N is an integer multiple of M.
24245
24246 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24247
24248 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
24249 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
24250 sbitmap_union_of_preds): Add prototypes.
24251 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
24252 the intersection of successors with the new flow graph structures.
24253 (sbitmap_intersection_of_preds): New function to compute the
24254 intersection of predecessors with the new flow graph structures.
24255 (sbitmap_union_of_succs): New function to compute the union of
24256 successors with the new flow graph structures.
24257 (sbitmap_union_of_preds): New function to compute the union of
24258 predecessors with the new flow graph structures.
24259 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
24260 (expr_reaches_here_p): Use edge and basic_block structures instead
24261 of s_preds and s_succs.
24262 (compute_cprop_avinout): Use new sbitmap routines.
24263 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
24264 of s_preds and s_succs.
24265 * flow.c (compute_flow_dominators): Compute dominators using
24266 edges and basic blocks instead of s_preds and s_succs.
24267
24268 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24269
24270 * lists.c (unused_insn_list, unused_expr_list): New file for
24271 maintaining various types of lists. New statics for maintaining a
24272 cache of available INSN_LIST and EXPR_LIST nodes.
24273 (free_list): Static function for freeing a list of INSN/EXPR nodes.
24274 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
24275 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
24276 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
24277 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
24278 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
24279 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
24280 (free_INSN_LIST_node): Free an individual INSN_LIST node.
24281 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
24282 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
24283 (remove_dependence, free_pending_lists): Use new global routines.
24284 (flush_pending_lists, sched_analyze_insn): Use new global routines.
24285 (sched_analyze, compute_block_backward_dependences): Use new routines.
24286 (sched_analyze_1, sched_analyze_2): Use new routines.
24287 (schedule_insns): Use new global routines.
24288 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
24289 prototypes.
24290 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
24291 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
24292 prototypes.
24293 * toplev.c (rest_of_compilation): Initialize node cache.
24294 * Makefile.in (OBJS): Add lists.o to list of object files.
24295 (lists.o): Add dependancies.
24296
24297 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
24298
24299 * config/v850/v850.md: Fix compile time warning messages.
24300 * config/v850/v850.c: Fix compile time warning messages.
24301 * config/v850/v850.h: Fix compile time warning messages.
24302
24303 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24304
24305 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
24306 Remove unused prototype for `init_lengths'.
24307
24308 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24309
24310 * calls.c (emit_call_1): Mark parameter `stack_size' with
24311 ATTRIBUTE_UNUSED.
24312 (expand_call): Initialize variable `insn'.
24313 (emit_library_call): Likewise for variable `high_to_save'.
24314 (emit_library_call_value): Likewise.
24315 (store_one_arg): Likewise for variables `lower_bound' and
24316 `upper_bound'.
24317
24318 * combine.c (try_combine): Likewise for variables `i2_code_number'
24319 and `other_code_number'.
24320 (find_split_point): Likewise for variables `pos', `unsignedp' and
24321 `inner'.
24322 (simplify_if_then_else): Likewise for variables `op' and `c1'.
24323 (simplify_and_const_int): Remove unused variable `width'.
24324 (merge_outer_ops): Likewise.
24325
24326 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
24327 HOST_WIDE_INT' when comparing against one.
24328 (simplify_relational_operation): Likewise.
24329 (cse_insn): Initialize variables `src_eqv_volatile',
24330 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
24331
24332 * final.c (init_final): Constify parameter `filename'.
24333 (final_start_function): Mark parameter `optimize' with
24334 ATTRIBUTE_UNUSED.
24335 (profile_function): Likewise for parameters `first' and `optimize'.
24336 (output_source_line): Likewise for parameter `file'.
24337
24338 * integrate.c (subst_constants): Cast a value to `size_t' when
24339 comparing against one.
24340 (mark_stores): Initialize variable `mode'. Cast a value to
24341 `size_t' when comparing against one.
24342
24343 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
24344
24345 * loop.c (move_movables): Initialize variable `first'.
24346 (strength_reduce): Likewise for variable `increment'.
24347 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
24348 value to `size_t' when comparing against one.
24349 (load_mems): Initialize variable `end_label'.
24350
24351 * output.h (init_final): Constify parameter.
24352
24353 * reload.c (decompose): Initialize variable `base'.
24354
24355 * reload1.c (reload): Likewise for variable `is_scalar'.
24356 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
24357 (choose_reload_regs): Initialize variable `mode'.
24358 (emit_reload_insns): Likewise for variable `store_insn'.
24359 (reload_cse_noop_set_p): Mark parameter `insn' with
24360 ATTRIBUTE_UNUSED.
24361 (reload_combine): Initialize variable `set'.
24362
24363 * unroll.c (unroll_loop): Likewise for variable `local_label'.
24364 (copy_loop_body): Cast a value to `size_t' when comparing against
24365 one.
24366
24367 * varasm.c (assemble_variable): Initialize variable `size_tree'.
24368 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
24369 (remove_from_pending_weak_list): Mark parameter `name' with
24370 ATTRIBUTE_UNUSED.
24371
24372 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24373
24374 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
24375 gcse dump file.
24376
24377 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
24378
24379 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
24380 (ASM_DECLARE_FUNCTION_NAME): Define.
24381 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
24382 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
24383 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
24384 not already defined.
24385
24386 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
24387
24388 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
24389 of n_popped when call/call_value are not defined.
24390
24391 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
24392
24393 * tm.texi: GNU CC -> GCC conversion.
24394 (CC1_SPEC): Indicate it is used for all language front ends.
24395
24396 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
24397
24398 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
24399 NOTE_INSN_EH_REGION_END correctly.
24400
24401 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
24402 Jeff Law <law@cygnus.com>
24403
24404 * loop.c (strength_reduce): Automatically unroll loops if the
24405 unrolled loop size is smaller than the rolled loop size.
24406
24407 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
24408 and delete comment that code should be rewritten.
24409
24410 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
24411
24412 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
24413 as reachable.
24414
24415 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
24416
24417 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
24418
24419 * fixinc/mkfixinc.sh: Don't fix uwin headers.
24420 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
24421 (LINK_SPEC): Add -u _main when building executables.
24422 (ASM_DECLARE_FUNCTION): Update from Cygwin.
24423 (ASM_FILE_END): Use the default for ix86-pe.
24424 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
24425
24426 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
24427
24428 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
24429 and ASM_CLOSE_PAREN are empty strings.
24430
24431 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
24432 Geoffrey Keating <geoffk@cygnus.com>
24433
24434 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
24435 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
24436 (unprotoize.o): Ditto.
24437 (test-protoize-simple): Don't define STD_PROTO_DIR.
24438 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
24439 changes to make 'test-protoize-simple' pass.
24440 (STD_PROTO_DIR): Remove define.
24441 (STANDARD_EXEC_PREFIX): Supply default define.
24442 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
24443 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
24444 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
24445 (GET_ENV_PATH_LIST): New macro.
24446 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
24447 (do_processing): Initialize default_syscalls_dir using new
24448 macros. Use it to initialize syscalls_absolute_filename.
24449
24450 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
24451
24452 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
24453 B into a register before emit_conditional_move.
24454
24455 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
24456
24457 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
24458 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
24459 multiplicand out of (+ (* a b) (* c d)).
24460
24461 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
24462 Richard Henderson <rth@cygnus.com>
24463
24464 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
24465 (new_insn_dead_notes): Likewise.
24466 (update_n_sets): Likewise.
24467 (update_flow_info): Move to flow.c, renamed to update_life_info;
24468 extend to handle multiple source insns.
24469 * flow.c: Include resource.h
24470 (unlink_insn_chain): New.
24471 (split_hard_reg_notes): New.
24472 (maybe_add_dead_note): New.
24473 (maybe_add_dead_note_use): New.
24474 (find_insn_with_note): New.
24475 (new_insn_dead_notes): New.
24476 (update_n_sets): New.
24477 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
24478 (maybe_remove_dead_notes): New.
24479 (update_life_info): New.
24480 (prepend_reg_notes): New.
24481 (replace_insns): New.
24482 * output.h (update_life_info): Declare.
24483 * recog.c (split_block_insns): Use update_life_info.
24484 * resource.c (find_free_register): Use reg_alloc_order, don't use
24485 fixed regs, make sure the mode is supported, don't use new regs.
24486 (reg_dead_p): New.
24487 * rtl.h (replace_insns): Declare.
24488
24489 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
24490
24491 * expr.c (expand_expr): Cope with COND_EXPRs with one
24492 non-returning branch.
24493
24494 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
24495
24496 * expr.c (store_expr): Always pass down the target, even when not
24497 doing CSE.
24498
24499 1999-08-24 Nick Clifton <nickc@cygnus.com>
24500
24501 * configure.in: Define target_cpu_default for v850 targets.
24502 * configure: Regenerate
24503
24504 * config/v850/v850.h (TARGET_CPU_generic): Define.
24505 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
24506 addresses are 4 byte aligned.
24507
24508 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
24509 addresses.
24510
24511 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24512
24513 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
24514 (main): Add prototypes.
24515
24516 * genattrtab.c (substitute_address, write_const_num_delay_slots,
24517 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
24518 (write_attr_get): Emit prototypes along with function definition.
24519 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
24520 (write_complex_function): Emit static prototype along with
24521 function definition.
24522
24523 * genemit.c (gen_split): Emit prototypes along with function
24524 definition.
24525
24526 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
24527 Likewise for predicates and `insn_operand_predicate'.
24528 (process_template): Emit static prototype along with function
24529 definition.
24530
24531 * genrecog.c (make_insn_sequence): Constify a char*. Add
24532 prototypes for get_split_*().
24533 (write_subroutine): Emit prototypes along with function
24534 definition.
24535
24536 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24537
24538 * gcse.c (find_avail_set): Follow chains of register-register copies.
24539 Use oprs_not_set_p to guarantee that the returned value can be
24540 substituted.
24541 (cprop_insn): Don't verify the return value of find_avail_set with
24542 oprs_not_set_p.
24543
24544 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
24545 (cprop_cc0_jump): New function.
24546 (cprop_insn): Break out new function cprop_jump and use it.
24547 Also use cprop_cc0_jump for machines with CC0.
24548 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
24549
24550 * tree.h (current_function_calls_setjmp,
24551 current_function_calls_longjmp): Delete declarations.
24552 * dsp16xx.c: Include "function.h".
24553 * elxsi.c: Likewise.
24554 * gmicro.c: Likewise.
24555 * h8300.c: Likewise.
24556 * i370.c: Likewise.
24557 * m32r.c: Likewise.
24558 * mn10200.c: Likewise.
24559 * mn10300.c: Likewise.
24560 * ns32k.c: Likewise.
24561 * spur.c: Likewise.
24562 * v850.c: Likewise.
24563
24564 * rtl.h (rtx_equal_function_value_matters): Declare.
24565 * toplev.c (rtx_equal_function_value_matters): Don't declare.
24566 * cse.c: Likewise.
24567 * function.c: Likewise.
24568 * emit-rtl.c: Likewise.
24569
24570 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
24571
24572 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
24573 call.
24574
24575 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24576
24577 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
24578 exactly.
24579
24580 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
24581
24582 * cpp.texi: Add a node documenting macro varargs (copied
24583 from extend.texi).
24584
24585 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
24586
24587 * cppspec.c: Put a null pointer at the end of the new argv.
24588
24589 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
24590
24591 * configure.in: Remove code to select/de-select the haifa
24592 scheduler. Every scheduled port gets haifa now.
24593 * configure: Rebuilt.
24594 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
24595 * sched.c Deleted.
24596 * Makefile.in: Corresponding changes.
24597
24598 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24599
24600 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
24601 All callers changed.
24602 (prepare_float_lib_cmp): Likewise.
24603 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
24604 * expr.h (emit_float_lib_cmp): Delete declaration.
24605 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
24606 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
24607 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
24608 specially.
24609 (cmptf): Now conditional on TARGET_HARD_QUAD.
24610
24611 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
24612
24613 * resource.c (mark_target_live_regs): Use
24614 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
24615
24616 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24617
24618 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
24619
24620 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
24621
24622 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
24623
24624 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24625
24626 * rtl.h (rtx_format): Constify a char*.
24627
24628 * rtl.c (rtx_format): Likewise.
24629 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
24630 (init_rtl): Use accessor macro, not `rtx_format'.
24631
24632 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
24633 char*.
24634
24635 * caller-save.c (mark_referenced_regs): Likewise.
24636
24637 * combine.c (subst, make_compound_operation, known_cond,
24638 gen_rtx_combine, update_table_tick, get_last_value_validate,
24639 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
24640
24641 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
24642 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
24643 count_reg_usage): Likewise.
24644
24645 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
24646 Likewise.
24647
24648 * final.c (leaf_renumber_regs_insn): Likewise.
24649
24650 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
24651 dump_edge_info, count_reg_references): Likewise.
24652
24653 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
24654 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
24655 Likewise.
24656
24657 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
24658 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
24659 add_label_notes): Likewise.
24660
24661 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
24662 clear_struct_flag, count_sub_rtxs, count_alternatives,
24663 compares_alternatives_p, contained_in_p, walk_attr_value,
24664 write_expr_attr_cache): Likewise.
24665
24666 * genconfig.c (walk_insn_part): Likewise.
24667
24668 * genemit.c (max_operand_1, gen_exp): Likewise.
24669
24670 * genextract.c (walk_rtx): Likewise.
24671
24672 * genflags.c (num_operands): Likewise.
24673
24674 * genoutput.c (scan_operands): Likewise.
24675
24676 * genpeep.c (match_rtx): Likewise.
24677
24678 * genrecog.c (add_to_sequence): Likewise.
24679
24680 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
24681 Likewise.
24682
24683 * integrate.c (save_constants, copy_for_inline,
24684 copy_rtx_and_substitute, subst_constants, restore_constants):
24685 Likewise.
24686
24687 * jump.c (mark_jump_label, invert_exp, redirect_exp,
24688 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
24689
24690 * local-alloc.c (contains_replace_regs, memref_referenced_p):
24691 Likewise.
24692
24693 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
24694 add_label_notes, replace_call_address, count_nonfixed_reads,
24695 invariant_p, find_single_use_in_loop, find_mem_givs,
24696 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
24697 Likewise.
24698
24699 * print-rtl.c (reg_names, print_rtx): Likewise.
24700
24701 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
24702
24703 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
24704 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
24705 print_blocks): Likewise.
24706
24707 * regclass.c (fix_register, record_address_regs,
24708 reg_scan_mark_refs): Likewise.
24709
24710 * regmove.c (stable_but_for_p): Likewise.
24711
24712 * reload.c (loc_mentioned_in_p, operands_match_p,
24713 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
24714 copy_replacements, refers_to_regno_for_reload_p,
24715 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
24716 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
24717 Likewise.
24718
24719 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
24720 delete_address_reloads_1, count_occurrences,
24721 reload_cse_mem_conflict_p, reload_combine_note_use,
24722 add_auto_inc_notes): Likewise.
24723
24724 * resource.c (mark_referenced_resources, mark_set_resources):
24725 Likewise.
24726
24727 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
24728 reg_mentioned_p, regs_set_between_p, modified_between_p,
24729 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
24730 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
24731 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
24732 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
24733
24734 * sched.c (sched_analyze_2, attach_deaths): Likewise.
24735
24736 * stupid.c (stupid_mark_refs): Likewise.
24737
24738 * unroll.c (remap_split_bivs): Likewise.
24739
24740 * varasm.c (mark_constants): Likewise.
24741
24742 * a29k/a29k.c (uses_local_reg_p): Likewise.
24743
24744 * alpha/alpha.c (summarize_insn): Likewise.
24745
24746 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
24747 eliminate_lr2ip): Likewise.
24748
24749 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
24750
24751 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
24752 reg_mentioned_in_mem): Likewise.
24753
24754 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
24755 symbolic_reference_mentioned_p): Likewise.
24756
24757 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
24758
24759 * sh/sh.c (regs_used, mark_use): Likewise.
24760
24761 * vax/vax.c (vax_rtx_cost): Likewise.
24762
24763 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24764
24765 * machmode.h (mode_name): Constify a char*.
24766
24767 * rtl.c (mode_name): Likewise.
24768
24769 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
24770
24771 * optabs.c (init_libfuncs): Constify a char*.
24772
24773 * print-tree.c (mode_name): Remove redundant declaration.
24774 (print_node): Use accessor macro, not `mode_name'.
24775
24776 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
24777 not `mode_name'.
24778 (new_spill_reg): Constify a char*.
24779
24780 * tree.c (mode_name): Remove redundant declaration.
24781
24782 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24783
24784 * rtl.c (rtx_name): Constify a char*.
24785
24786 * rtl.h (rtx_name, fix_sched_param): Likewise.
24787
24788 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
24789 (mypr): Use accessor macro, not `rtx_name'.
24790
24791 * genemit.c (print_code): Constify a char*.
24792
24793 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
24794
24795 * genpeep.c (print_code): Constify a char*.
24796
24797 * genrecog.c (print_code): Likewise.
24798
24799 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
24800 end_bb): Add static prototype.
24801 (draw_edge): Constify a char*.
24802 (end_bb): Remove unused parameter.
24803
24804 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
24805 print_block_visualization): Constify a char*.
24806
24807 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
24808
24809 * c-common.c (c_get_alias_set): Update comment.
24810
24811 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
24812
24813 * linux.h (LIB_SPEC): Added.
24814
24815 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24816
24817 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
24818
24819 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
24820
24821 * tree.c (expr_check): Fix typo in last change.
24822
24823 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
24824
24825 * rtl.def (NOTE): Change format to "iuu0n".
24826 (ADDR_DIFF_VEC): Change format to "eEee0".
24827 (ADDRESSOF): Change format to "eit".
24828
24829 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
24830 (RTVEC_ELT): Change to match.
24831 (XVECEXP): Use XVEC and RTVEC_ELT.
24832 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
24833 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
24834 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
24835 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
24836 TRAP_CONDITION, TRAP_CODE): Use XEXP.
24837 (INTVAL): Use XWINT.
24838 (ADDRESSOF_DECL): Use XTREE.
24839 (SET_ADDRESSOF_DECL): Delete.
24840 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
24841 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
24842 ifdefed out since 2.6 at least.
24843 (gen_rtvec_vv): Delete prototype.
24844
24845 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
24846 not rtunion.
24847 (copy_most_rtx): Handle 't' format letter.
24848 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
24849 (gen_rtvec_vv): Delete function. All callers changed to use
24850 gen_rtvec_v instead.
24851 * print-rtl.c (print_rtx): Move special casing of NOTEs to
24852 the '0' format letter.
24853
24854 * function.c (gen_mem_addressof): Don't use
24855 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
24856 instead.
24857 * integrate.c (copy_rtx_and_substitute): Likewise.
24858 Copy 't' slots with XTREE.
24859 (subst_constants): Treat 't' slots like '[swi]' slots.
24860 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
24861 * jump.c (rtx_equal_for_thread_p): Likewise.
24862 * rtlanal.c (rtx_equal_p): Likewise.
24863 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
24864 only four arguments.
24865 * gengenrtl.c (type_from_format): Provide correct types for
24866 'b' and 't' slots.
24867
24868
24869 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
24870 If a recent gcc is in use (always in stage2 and beyond), use
24871 statement expressions, so we don't make a function call unless
24872 the check fails. Evaluate arguments exactly once.
24873 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
24874 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
24875 Delete.
24876 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
24877 they evaluate their arguments exactly once, irrespective of
24878 the compiler in use.
24879
24880 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
24881 is used by the currently-enabled check macros. This is:
24882 (tree_check_failed, tree_class_check_failed): For gcc.
24883 (tree_check, tree_class_check, cst_or_constructor_check,
24884 expr_check): For other compilers.
24885
24886 * gencheck.c: Do not define any *_CHECK1 macros.
24887
24888 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
24889 Mark Mitchell <mark@codesourcery.com>
24890
24891 * c-common.c (c_get_alias_set): Fix support for poitners and
24892 references.
24893
24894 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
24895
24896 * alias.c: Include tree.h.
24897 (nonlocal_reference_p, mark_constant_function): New functions.
24898 * flow.c (life_analysis): Call mark_constant_function.
24899 * rtl.h (mark_constant_function): Declare it.
24900
24901 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
24902
24903 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
24904 unrecognisable switches.
24905
24906 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24907
24908 * loop.c (recombine_givs): Set ix field after sorting.
24909 (recombine_givs): Remove bogus index / giv lockstep looping.
24910
24911 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24912
24913 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
24914 on CODE.
24915 (emit_store_flag_force): Use do_compare_rtx_and_jump.
24916 (do_cmp_and_jump): Formatting fixes.
24917 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
24918 do_compare_rtx_and_jump instead of compare_from_rtx.
24919 (do_compare_rtx_and_jump): New function; mostly copied from
24920 compare_from_rtx.
24921 (do_jump_for_compare): Delete.
24922 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
24923 MIN_EXPR.
24924 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24925 of compare/do_jump_for_compare pairs.
24926 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24927 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24928 compare_from_rtx/do_jump_for_compare pairs.
24929 (do_jump_by_parts_equality): Likewise.
24930 (do_jump_by_parts_equality_rtx): Likewise.
24931 * expr.h (do_compare_rtx_and_jump): Declare.
24932 * optabs.c (prepare_cmp_insn): New function, contains most of the code
24933 that used to be in emit_cmp_insn.
24934 (cmp_available_p): New function.
24935 (prepare_operand): New function.
24936 (emit_cmp_and_jump_insn_1): New function, contains some code that used
24937 to be in emit_cmp_insn.
24938 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24939 parameters to be pointers; don't emit final compare but modify some of
24940 the values pointed to by the args so the caller can perform the
24941 correct comparison.
24942 (expand_binop): Call emit_store_flag_force with signed forms of
24943 comparison code.
24944 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24945 emit_jump_insn pair.
24946 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24947 emit_cmp_and_jump_insn_1. Call emit_queue.
24948 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24949 arg.
24950 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24951 jump sets cc0 before deleting it.
24952 * integrate.c (expand_inline_function): Likewise.
24953 * unroll.c (unroll_loop): Similar changes in several places.
24954 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24955 before deleting it.
24956
24957 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24958
24959 * Makefile.in (insn-recog.o): Update dependencies.
24960 * genrecog.c (main): Make generated file include "function.h".
24961
24962 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
24963
24964 * cse.c (cse_insn): Call never_reached_warning when a jump is
24965 changed to be unconditional.
24966 * flags.h: Declare warn_notreached.
24967 * flow.c (delete_block): Call never_reached_warning when
24968 a block is deleted.
24969 * jump.c (delete_barrier_successors): Call never_reached_warning
24970 when we delete everything after a BARRIER.
24971 (never_reached_warning): New function.
24972 * rtl.h: Declare never_reached_warning.
24973 * toplev.c (warn_notreached): New variable.
24974 (lang_independent_options): Set warn_notreached
24975 when -Wunreachable-code.
24976 (compile_file): We need line numbers for -Wunreachable-code.
24977
24978 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
24979
24980 * haifa-sched.c (insn_unit): Fix typo on out of range test.
24981 * sched.c (insn_unit): Likewise.
24982
24983 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
24984
24985 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24986
24987 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24988
24989 * flow.c (create_edge_list): Use xmalloc, not malloc.
24990
24991 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
24992
24993 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24994 C-style comments. Do not lose the character before double slash.
24995
24996 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24997
24998 * basic-block.h (struct edge_list): Stucture to maintain a vector
24999 of edges.
25000 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
25001 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
25002 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
25003 New function prototypes.
25004 * flow.c (create_edge_list): Function to create an edge list.
25005 (free_edge_list): Discards memory used by an edge list.
25006 (print_edge_list): Debug output showing an edge list.
25007 (verify_edge_list): Internal consistency check for an edge list.
25008 (find_edge_index): Function to find an edge index for a pred and succ.
25009
25010 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
25011
25012 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
25013 hashtable.
25014
25015 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
25016
25017 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
25018
25019 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
25020
25021 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25022
25023 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
25024
25025 * toplev.c (rest_of_compilation): Allow machine dependent
25026 reorganisation pass to place information into the RTL dump
25027 file if it so wishes.
25028
25029 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
25030
25031 * explow.c (hard_function_value): Use VOIDmode instead of
25032 MAX_MACHINE_MODE.
25033 * stmt.c (expand_return): Likewise.
25034 * stor-layout.c (get_best_mode): Likewise.
25035
25036 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
25037 emit call instead of emit_insn call.
25038
25039 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
25040
25041 * configure.in: Handle --disable/enable-win32-registry.
25042 * install.texi: Document --disable/enable-win32-registry.
25043 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
25044 (WIN32_REGISTRY_KEY): New macro.
25045 * prefix.c: Use to enable/disable win32-specific code.
25046 (lookup_key): Use versioned key.
25047 * configure: Regenerate.
25048 * config.in: Likewise.
25049
25050 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
25051
25052 * cpplib.c (read_line_number): New fn, split out of...
25053 (do_line): Here.
25054
25055 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
25056
25057 tree.c (lang_unsave_expr_now) : New.
25058 (unsave_expr_now): Call lang_unsave_expr_now.
25059 tree.h (lang_unsave_expr_now) : New.
25060
25061 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
25062
25063 * toplev.c (flag_new_exceptions): On by default.
25064
25065 1999-08-13 Michael Meissner <meissner@cygnus.com>
25066
25067 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
25068
25069 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
25070
25071 * dwarfout.c (fundamental_type_code): Return FT_boolean for
25072 INTEGER_TYPE with precision==1, it's __java_boolean.
25073
25074 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25075
25076 * global.c (prune_preferences): Move some invariants out of the
25077 inner loop.
25078
25079 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
25080
25081 * configure.in (alpha*-dec-osf*): Add osf5.
25082
25083 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
25084
25085 * configure.in: Rework handling of ARM GNU/Linux slightly.
25086 (arm*-*-linux-gnuoldld): New target.
25087 * configure: Regenerate.
25088 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
25089 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
25090 * config/arm/linux-oldld.h: New file.
25091 * config/arm/linux-elf26.h: Don't include linux-elf.h.
25092 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
25093 Don't define.
25094 * config/arm/linux-elf.h (ASM_SPEC): Define.
25095 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
25096 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
25097 for 26-bit APCS and old linker.
25098 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
25099 `arm_elf'.
25100 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
25101 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
25102 don't define `arm' or `arm_elf'.
25103 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
25104 MULTILIB_DIRNAMES): Define. Fix typo in comment.
25105
25106 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
25107
25108 * rtl.texi: Fix typo.
25109
25110 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
25111
25112 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
25113
25114 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
25115
25116 * extend.texi (C++ Signatures): Remove node.
25117 * invoke.texi: Remove discussion of -fhandle-signatures,
25118 signature, sigof, __signature__, and __sigof__.
25119
25120 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
25121
25122 * Makefile.in (JAVAGC): Removed.
25123
25124 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
25125
25126 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25127
25128 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
25129
25130 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25131
25132 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
25133
25134 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
25135 a register that is already known to be a pointer.
25136
25137 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
25138
25139 * fixinc/inclhack.tpl: Only install assert.h conditionally.
25140 * fixinc/inclhack.sh: Regenerated.
25141 * fixinc/fixincl.sh: Regenerated.
25142
25143 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
25144
25145 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
25146 Fix documentation of -ansi flag to describe its C++ behavior.
25147 Remove bogus reference to GCC 2.9.
25148
25149 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
25150
25151 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
25152 note if it is non-NULL.
25153
25154 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25155
25156 * except.h (eh_nesting_info): Add new structure defintion.
25157 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
25158 (reachable_handlers, update_rethrow_references): Add function
25159 prototypes.
25160 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
25161 a rethrow symbol instead of an integer exception region number.
25162 * flow.c (Make_edges): Use new exception nesting routines to determine
25163 which handlers are reachable from a CALL or asynchronous insn.
25164 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
25165 goto receivers.
25166 (delete_eh_regions): Update rethrow labels, and don't delete
25167 regions which are the target of a rethrow.
25168 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
25169 avoid overloading the SYMBOL_REF_USED flag.
25170 (rethrow_symbol_map): Use new rethrow_ref field.
25171 (rethrow_used): Use new rethrow_ref field.
25172 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
25173 of an integer. Fix formatting.
25174 (output_exception_table_entry): Use new rethrow_ref field.
25175 (can_throw): Check for EH_REGION_NOTE before deciding
25176 whether a CALL can throw or not.
25177 (scan_region): Call rethrow_used() instead of accessing data structure.
25178 (update_rethrow_references): New function to make sure only regions
25179 which are still targets of a rethrow are flagged as such.
25180 (process_nestinfo): New static function to initialize a handler
25181 list for a specific region.
25182 (init_eh_nesting_info): New function to allocate and initialize
25183 the list of all EH handlers reachable from all regions.
25184 (reachable_handlers): New function to retrieve the list of handlers
25185 reachable from a specific region and insn.
25186 (free_eh_nesting_info): New function to dispose of a list of
25187 reachable handlers.
25188
25189 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25190
25191 * flow.c (split_edge): Set JUMP_LABEL field.
25192 (commit_one_edge_insertion): Set head correctly for insert_before.
25193 When inserting insns, update insn block numbers if allocated.
25194
25195 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25196
25197 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
25198 retry_incomplete_types): Add static prototype.
25199 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
25200 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
25201 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
25202 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
25203 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
25204 Constify a char*.
25205
25206 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
25207 dwarf2out_start_source_file, dwarf2out_line): Likewise.
25208
25209 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25210
25211 * output.h (assemble_name): Constify a char*.
25212
25213 * varasm.c (UNIQUE_SECTION, assemble_start_function,
25214 assemble_variable, assemble_name): Likewise.
25215
25216 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
25217
25218 * arm/pe.c (arm_pe_unique_section): Likewise.
25219
25220 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
25221
25222 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
25223
25224 * i386/interix.c (i386_pe_unique_section): Likewise.
25225
25226 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
25227
25228 * i386/winnt.c (i386_pe_unique_section): Likewise.
25229
25230 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
25231
25232 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
25233
25234 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
25235
25236 * pa/pa.c (output_call): Likewise.
25237
25238 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
25239
25240 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
25241
25242 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
25243 Likewise.
25244
25245 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
25246 Likewise.
25247
25248 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
25249
25250 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
25251 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
25252
25253 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
25254
25255 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25256
25257 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
25258
25259 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25260
25261 * tree.h (lang_identify): Constify a char*.
25262 (print_error_function): Add extern prototype. Constify a char*.
25263
25264 * c-lang.c (lang_identify): Constify a char*.
25265
25266 * objc/objc-act.c (lang_identify): Constify a char*.
25267
25268 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25269
25270 * genpeep.c (main): Make generated file include "function.h".
25271 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
25272
25273 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25274
25275 * Makefile.in: Update dependencies.
25276 * alias.c: Include "function.h"
25277 * c-decl.c: Likewise.
25278 * caller-save.c: Likewise.
25279 * calls.c: Likewise.
25280 * combine.c: Likewise.
25281 * cse.c: Likewise.
25282 * explow.c: Likewise.
25283 * final.c: Likewise.
25284 * global.c: Likewise.
25285 * graph.c: Likewise.
25286 * local-alloc.c: Likewise.
25287 * loop.c: Likewise.
25288 * optabs.c: Likewise.
25289 * profile.c: Likewise.
25290 * recog.c: Likewise.
25291 * regclass.c: Likewise.
25292 * regmove.c: Likewise.
25293 * reload.c: Likewise.
25294 * reorg.c: Likewise.
25295 * resource.c: Likewise.
25296 * sched.c: Likewise.
25297 * stupid.c: Likewise.
25298 * config/1750a/1750a.c: Likewise.
25299 * config/a29k/a29k.c: Likewise.
25300 * config/arc/arc.c: Likewise.
25301 * config/arm/arm.c: Likewise.
25302 * config/arm/thumb.c: Likewise.
25303 * config/c4x/c4x.c: Likewise.
25304 * config/clipper/clipper.c: Likewise.
25305 * config/convex/convex.c: Likewise.
25306 * config/fx80/fx80.c: Likewise.
25307 * config/i860/i860.c: Likewise.
25308 * config/m68k/m68k.c: Likewise.
25309 * config/m88k/m88k.c: Likewise.
25310 * config/mips/mips.c: Likewise.
25311 * config/pdp11/pdp11.c: Likewise.
25312 * config/pyr/pyr.c: Likewise.
25313 * config/romp/romp.c: Likewise.
25314 * config/sh/sh.c: Likewise.
25315 * config/tahoe/tahoe.c: Likewise.
25316 * config/vax/vax.c: Likewise.
25317 * config/we32k/we32k.c: Likewise.
25318 * config/sparc/sparc.c: Include "function.h".
25319 (mem_min_alignment): Test current_function rather than
25320 regno_pointer_align.
25321 * config/pa/pa.c: Likewise.
25322 (compute_frame_size): Delete declaration of
25323 current_function_outgoing_args_size.
25324 * config/arc/arc.h (current_function_varargs): Delete declaration.
25325 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
25326 declaration.
25327 * config/i370/i370.h (current_function_outgoing_args_size): Delete
25328 declaration.
25329 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
25330 current_function_uses_pic_offset_table.
25331 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
25332 of current_function_returns_pointer.
25333 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25334 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25335 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25336 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25337 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25338 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25339 * config/m88k/m88k.c: Include "function.h"
25340 (call_used_regs, current_function_pretend_args_size,
25341 current_function_outgoing_args_size, frame_pointer_needed): Delete
25342 declarations.
25343 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
25344 declaration.
25345 * config/mips/mips.h (current_function_calls_alloca): Delete
25346 declaration.
25347 * config/mn10200/mn10200.h (current_function_needs_context,
25348 rtx_equal_function_value_matters): Delete declarations.
25349 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
25350 flag_pic): Delete declarations.
25351 * config/pa/pa.h (current_function_pretend_args_size,
25352 current_function_decl): Delete declarations.
25353 * config/pa/som.h (current_function_varargs): Delete declaration.
25354 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
25355 declaration.
25356 * config/pyr/pyr.h (current_function_pretend_args_size,
25357 current_function_args_size, current_function_calls_alloca): Delete
25358 declarations.
25359 * config/sh/sh.h (current_function_varargs): Delete declaration.
25360 * config/sparc/sparc.h (current_function_outgoing_args_size,
25361 current_function_calls_alloca, current_function_decl): Delete
25362 declarations.
25363 * config/spur/spur.h (current_function_pretend_args_size,
25364 current_function_calls_alloca): Delete declarations.
25365 * config/v850/v850.c (current_function_outgoing_args_size): Delete
25366 declaration.
25367 * config/vax/vms.h (current_function_name): Delete declaration.
25368 * gcse.c: Include "function.h".
25369 (current_function_name, current_function_calls_setjmp): Delete
25370 declarations.
25371 * haifa-sched.c: Include "function.h".
25372 (forced_labels): Delete declaration.
25373 * jump.c: Likewise.
25374 * reg-stack.c: Likewise.
25375 * reload1.c: Likewise.
25376 * genemit.c (main): Make generated file include function.h.
25377 * genoutput.c (output_prologue): Likewise.
25378
25379 * builtins.c (saveregs_value, apply_args_value): Delete variables.
25380 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
25381 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
25382 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
25383 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
25384 macros for some of them.
25385 (emit_filename, emit_lineno): Delete declarations.
25386 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
25387 regno_pointer_* variables through current_function.
25388 (gen_inline_header_rtx): Delete function.
25389 (save_emit_status): Delete function.
25390 (set_new_last_label_num): New function.
25391 (clear_emit_caches): New function.
25392 (restore_emit_status): Just clear last_labelnum and call
25393 clear_emit_caches.
25394 (get_last_insn_anywhere): Variable sequence_stack is now accessed
25395 through macro seq_stack.
25396 (add_insn_after): Likewise.
25397 (add_insn_before): Likewise.
25398 (remove_insn): Likewise.
25399 (pop_topmost_sequence): Likewise.
25400 (in_sequence_p): Likewise.
25401 (start_sequence_for_rtl_expr): Likewise.
25402 (start_sequence): Likewise, and likewise for
25403 sequence_rtl_expr/seq_rtl_expr.
25404 (push_topmost_sequence): Likewise.
25405 (end_sequence): Likewise.
25406 (init_virtual_regs): Now takes a "struct emit_status *" argument.
25407 All callers changed. Store into that pointer instead of globals.
25408 (init_emit): Allocate emit elt of current_function.
25409 Changes for sequence_rtl_expr/sequence_stack renaming.
25410 Call clear_emit_caches instead of doing it in-line.
25411 Access regno_pointer_* variables through current_function.
25412 (init_emit_once) Don't clear sequence_stack.
25413
25414 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
25415 Delete variables.
25416 (arg_pointer_save_area): Delete declaration.
25417 (finish_expr_for_function): Renamed from init_queue; no longer static.
25418 (init_expr): Don't call init_queue.
25419 (save_expr_status, restore_expr_status): Delete functions.
25420 (expand_expr): Changes to reflect new layout of struct function.
25421 Don't access current_function_check_memory_usage when current_function
25422 is 0.
25423 * expr.h (forced_labels, save_expr_regs, saveregs_value,
25424 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
25425 current_function_outgoing_args_size, current_function_arg_offset_rtx,
25426 current_function_uses_const_pool, function_call_count,
25427 current_function_uses_pic_offset_table, nonlocal_labels,
25428 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
25429 current_function_check_memory_usage, nonlocal_goto_handler_slots,
25430 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
25431 declarations.
25432 (finish_expr_for_function): Declare.
25433 * flags.h (current_function_has_nonlocal_label,
25434 current_function_has_nonlocal_goto, current_function_is_thunk,
25435 current_function_has_computed_jump): Delete declarations.
25436 * flow.c (forced_labels): Delete declaration.
25437 * function.c (current_function_pops_args,
25438 current_function_returns_struct, current_function_returns_pcc_struct,
25439 current_function_needs_context, current_function_calls_setjmp,
25440 current_function_calls_longjmp, current_function_has_nonlocal_label,
25441 current_function_has_nonlocal_goto, current_function_is_thunk,
25442 current_function_has_computed_jump, current_function_calls_alloca,
25443 current_function_contains_functions, current_function_returns_pointer,
25444 current_function_epilogue_delay_list, current_function_args_size,
25445 current_function_pretend_args_size, current_function_arg_offset_rtx,
25446 current_function_outgoing_args_size, current_function_varargs,
25447 current_function_stdarg, current_function_args_info, cleanup_label,
25448 current_function_name, current_function_uses_const_pool,
25449 current_function_instrument_entry_exit, current_function_return_rtx,
25450 current_function_uses_pic_offset_table, nonlocal_labels,
25451 current_function_internal_arg_pointer, current_function_cannot_inline,
25452 current_function_check_memory_usage, function_call_count,
25453 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
25454 nonlocal_goto_stack_level, return_label, save_expr_regs,
25455 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
25456 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
25457 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
25458 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
25459 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
25460 Delete variables.
25461 (push_function_context_to): Don't save them. Don't call
25462 save_storage_status, save_emit_status or save_expr_status.
25463 (pop_function_context_from): Don't restore them. Don't call
25464 restore_storage_status or restore_expr_status.
25465 (get_func_frame_size): New function.
25466 (get_frame_size): Use it.
25467 (assign_outer_stack_local): Reflect some member name changes in struct
25468 function.
25469 (put_reg_into_stack): Likewise.
25470 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
25471 seq_rtl_expr.
25472 (fixup_var_refs): Likewise.
25473 (fix_lexical_addr): Likewise.
25474 (trampoline_address): Likewise.
25475 (prepare_function_start): Clear field inlinable of current_function.
25476 (init_function_for_compilation): New function.
25477 (expand_dummy_function_end): New function.
25478 (expand_function_end): Call finish_expr_for_function.
25479 * function.h (struct emit_status): New; fields moved here from struct
25480 function and from global variables. Add accessor macros for some of
25481 the fields.
25482 (struct expr_status): Likewise.
25483 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
25484 (struct function): Add fields expr and emit, inlinable, inl_emit,
25485 original_arg_vector, original_decl_initial, inl_last_parm_insn,
25486 inl_max_label_num. Add many comments.
25487 Add accessor macros for all elts of struct function that no longer
25488 have a global variable.
25489 (cleanup_label, return_label, frame_offset, tail_recursion_label,
25490 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
25491 stack_slot_list): Delete declarations.
25492 (get_func_frame_size): Declare.
25493 (save_expr_status, restore_expr_status, save_emit_status,
25494 save_storage_status, restore_storage_status): Delete declarations.
25495 (init_virtual_regs): Declare.
25496 * output.h (current_function_pops_args,
25497 current_function_returns_struct, current_function_returns_pcc_struct,
25498 current_function_needs_context, current_function_calls_setjmp,
25499 current_function_calls_longjmp, current_function_calls_alloca,
25500 current_function_has_nonlocal_label, current_function_varargs,
25501 current_function_has_computed_jump, current_function_returns_pointer,
25502 current_function_contains_functions, current_function_args_size,
25503 current_function_pretend_args_size, current_function_stdarg,
25504 current_function_outgoing_args_size, current_function_args_info,
25505 current_function_name, current_function_return_rtx,
25506 current_function_epilogue_delay_list,
25507 current_function_uses_const_pool, current_function_cannot_inline):
25508 Delete declarations.
25509 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
25510 regno_reg_rtx): Delete declaration.
25511 (REGNO_POINTER_FLAG): Delete macro.
25512 * stmt.c (expand_goto): Changes to reflect that some fields in struct
25513 function were renamed.
25514 * stor-layout.c (save_storage_status, restore_storage_status): Delete
25515 functions.
25516 * toplev.c: Include "function.h".
25517 (current_function_decl): Delete declaration.
25518 (compile_file): Call init_dummy_function_start and
25519 expand_dummy_function_end around some initializations that need to
25520 emit rtl.
25521 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
25522 Call init_function_for_compilation.
25523 * unroll.c: Include "function.h"
25524 (unroll_loop): Access regno_pointer_* variables through
25525 current_function.
25526
25527 * tree.h (struct tree_decl): Add elt f to saved_insns member.
25528 (DECL_SAVED_INSNS): use it.
25529 (expand_dummy_function_end): Declare.
25530 (init_function_for_compilation): Declare.
25531 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
25532 that it's no longer an INLINE_HEADER.
25533 (expand_call): Likewise.
25534 * integrate.c (finish_inline): Delete function.
25535 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
25536 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
25537 args. Don't generate an INLINE_HEADER rtx, just return the arg
25538 vector. All callers changed.
25539 (save_for_inline_copying): Create a duplicate struct emit_status to
25540 hold the emit state for compiling the current function. Use this and
25541 the other new fields in struct function that are for integration
25542 instead of an INLINE_HEADER.
25543 Use memcpy instead of bcopy.
25544 Store the current struct function in DECL_SAVED_INSNS of fndecl.
25545 (save_for_inline_nocopy): Similar changes, except no new emit_status
25546 is needed here.
25547 (expand_inline_function): Get information from function structure,
25548 not from an inline header rtx.
25549 (output_inline_function): Lose code to extract the necessary
25550 information from an inline header; simply put back the function
25551 structure into current_function. Clear its inlinable elt.
25552 * rtl.def (INLINE_HEADER): Delete.
25553 * rtl.h: Delete all accessors for an INLINE_HEADER.
25554 (gen_inline_header_rtx): Delete declaration.
25555 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
25556 Delete declarations.
25557 (REGNO_POINTER_ALIGN): Delete.
25558 (clear_emit_caches): Declare.
25559 (set_new_last_label_num): Declare.
25560
25561 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
25562
25563 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
25564
25565 * except.c (expand_eh_region_start_for_decl): Always start a new block.
25566 * stmt.c (is_eh_region): Make sure current_function is present, too.
25567
25568 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
25569
25570 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
25571 for 64bit PA targets.
25572
25573 * pa.h (SELECT_SECTION): Define.
25574 * som.h (SELECT_SECTION): Delete.
25575
25576 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25577
25578 * alias.c (init_alias_analysis): Wrap call to
25579 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
25580
25581 1999-08-07 Bruce Korb <autogen@linuxbox.com>
25582
25583 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
25584 <sys/asm.h> contains an asm comment with an apostrophe
25585 * fixinc/inclhack.sh: regen
25586 * fixinc/fixincl.x: regen
25587
25588 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
25589
25590 * function.c (init_function_start): Clear prologue & epilogue.
25591 (prologue_epilogue_contains): New function.
25592 * alias.c (init_alias_analysis): Use it.
25593 * rtl.h (prologue_epilogue_contains): Declare it.
25594
25595 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
25596
25597 * jump.c (onlyjump_p): New function.
25598 * rtl.h: Declare it.
25599 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
25600 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
25601
25602 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
25603
25604 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
25605 to invert loops. Simplify block scanning.
25606
25607 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25608
25609 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
25610 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
25611
25612 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
25613
25614 * config/sparc/liteelf.h: New file to support sparclite-elf target
25615 * config/sparc/t-sp86x: New file to support sparc86x targets
25616 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
25617 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
25618 * configure.in: Support above target triplets
25619 * configure: Regenerated
25620
25621 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
25622
25623 * fixinc/server.c (server_setup): Do not prefix function used as
25624 parameter with `&'.
25625
25626 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
25627
25628 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
25629 Remove fp reg alternatives.
25630
25631 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
25632
25633 * Makefiin (TAROUTOPTS): Kill.
25634 (install-headers-tar): Use "xpf" for tar headerfile extraction
25635 * i370/x-oe (TAROUTOPTS): Delete.
25636 * m68k/x-apollo68 (TAROUTOPTS): Delete.
25637 * m68k/x-hp320 (TAROUTOPTS): Delete.
25638 * m68k/x-hp320g (TAROUTOPTS): Delete.
25639 * gcc.texi: Update bug reporting text.
25640
25641 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25642
25643 * reg-stack.c (change_stack) Fixed problem with negative array index.
25644
25645 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
25646
25647 * extend.texi, install.texi: Fix spelling mistakes.
25648
25649 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
25650 (s-attrtab); No longer try to use pre-made insn-attrtab file.
25651 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
25652 PREMADE_ATTRTAB_MD.
25653 * mips/t-ecoff: Likewise.
25654 * mips/t-elf: Likewise.
25655 * mips/t-mips: Likewise.
25656 * mips/t-osfrose: Likewise.
25657 * mips/t-r3900: Likewise.
25658 * mips/t-svr3: Likewise.
25659 * mips/t-svr4: Likewise.
25660 * mips/t-ultrix: Likewise.
25661
25662 * gcc.texi: Document recommend means to provide software floating
25663 point libraries in libgcc.a
25664
25665 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
25666
25667 * c-lex.c (yylex): We can have a number with no digits.
25668
25669 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
25670
25671 * jump.c (delete_prior_computation): New function, broken
25672 out of delete_computation. Check for side effects with
25673 side_effects_p instead of FIND_REG_INC_NOTE. Handle
25674 multi-word hard registers.
25675 (delete_computation): Use it. Check for side effects with
25676 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
25677 missing REG_DEAD note for a register which is both set and
25678 used by an insn.
25679
25680 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
25681
25682 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
25683 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
25684 (ASM_FILE_START): Import _mcount with the right type.
25685 (ASM_DECLARE_FUNCTION_NAME): Define.
25686 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
25687 * pa.c (output_function_prologue): Always emit the function's label
25688 here.
25689 * pa.h (TEXT_SPACE_P): Define.
25690 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25691 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
25692 * som.h (TEXT_SPACE_P): Delete.
25693 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25694 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
25695
25696 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
25697
25698 * expr.c (emit_group_load): Allow src to be a CONCAT.
25699
25700 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25701
25702 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
25703 (___mulsi3): Use '!' comment character.
25704
25705 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25706
25707 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
25708
25709 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
25710
25711 * gcc.c: Update URLs and mail addresses.
25712 * gcc.texi: Likewise.
25713
25714 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
25715
25716 * rs6000.c (current_file_function_operand): Return zero for
25717 weak functions.
25718 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
25719 weak symbols.
25720 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
25721 for weak symbols.
25722
25723 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
25724
25725 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
25726 allocate space in the stack frame for the PIC register.
25727
25728 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
25729
25730 * m68k.md (xordi3, anddi3): These patterns are not available on
25731 the coldfire.
25732
25733 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
25734
25735 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
25736 (PUT_REAL): Likewise.
25737
25738 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25739
25740 * final.c (shorten_branches): Don't add an alignment for loops
25741 that have no label inside.
25742
25743 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25744
25745 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
25746 prototypes in macro HAVE_cmpstrsi.
25747
25748 * cpplib.c (cpp_get_token): Remove unused label `op3'.
25749
25750 * emit-rtl.c (operand_subword): Remove unused variable
25751 `bits_per_word'.
25752
25753 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
25754
25755 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
25756
25757 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
25758
25759 * cpphash.c (macroexpand): Delete leading whitespace when arg
25760 is concatenated before.
25761 (unsafe_chars): Correct test for whether + and - can extend a
25762 token.
25763
25764 * cppinit.c (cpp_start_read): Do dependencies for
25765 -include/-imacros files also.
25766
25767 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
25768 tokenizing non-directive lines.
25769 (cpp_expand_to_buffer): Temporarily disable no-output mode.
25770 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
25771 the input file.
25772
25773 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
25774
25775 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
25776
25777 * c-lex.c: Sync with C++ frontend.
25778 (linemode): New variable.
25779 (parse_float): imag, conversion_errno, and type are output only.
25780 (yylex): Adjust. Move initial '.' case into main switch.
25781 Use linemode.
25782 (handle_generic_pragma): Just deal with tokens.
25783 (readescape): Use ISXDIGIT and ISGRAPH.
25784 * c-parse.in: Add END_OF_LINE token.
25785
25786 * c-lex.c (lang_init): Generalize.
25787 (nextchar): Remove. Replace uses with UNGETC.
25788 (skip_white_space): Handle linemode here. Optimize for cpplib.
25789 (skip_white_space_on_line): Remove.
25790 (extend_token_buffer_to): New fn.
25791 (extend_token_buffer): Use it.
25792 (read_line_number, check_newline): Just deal with tokens.
25793 (token_getch, token_put_back): New fns.
25794 (yylex): Use them. More cpplib optimizations. Simplify.
25795
25796 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
25797 Jason Merrill <jason@yorick.cygnus.com>
25798
25799 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
25800 (consume_string): Make this smart about USE_CPPLIB.
25801 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
25802 (yylex): Rewrite to be intelligent about USE_CPPLIB.
25803 Also, clean up cases where we redundantly set token_buffer[0].
25804 (read_line_number): New fn.
25805 (ignore_escape_flag): New variable.
25806
25807 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
25808
25809 * a29k/t-a29kbare: Fix some comments.
25810 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
25811 (FPBIT, DPBIT): Define.
25812 * a29k/t-vx29k: Likewise.
25813 * arc/t-arc: Likewise.
25814 * arm/t-arm-elf: Likewise.
25815 * arm/t-bare: Likewise.
25816 * arm/t-pe: Likewise.
25817 * arm/t-pe-thumb: Likewise.
25818 * arm/t-semi: Likewise.
25819 * arm/t-thumb: Likewise.
25820 * arm/t-thumb-elf: Likewise.
25821 * arm/t-thumb-linux: Likewise.
25822 * h8300/t-h8300: Likewise.
25823 * i960/t-i960: Likewise.
25824 * i960/t-vxworks960: Likewise.
25825 * m32r/t-m32r: Likewise.
25826 * mips/t-ecoff: Likewise.
25827 * mips/t-elf: Likewise.
25828 * mips/t-r3900: Likewise.
25829 * pa/t-pro: Likewise.
25830 * rs6000/t-aix43: Likewise.
25831 * rs6000/t-beos: Likewise.
25832 * rs6000/t-newas: Likewise.
25833 * rs6000/t-ppccomm: Likewise.
25834 * rs6000/t-rs6000: Likewise.
25835 * rs6000/t-winnt: Likewise.
25836 * rs6000/t-xnewas: Likewise.
25837 * rs6000/t-xrs6000: Likewise.
25838 * sh/t-sh: Likewise.
25839 * sparc/t-elf: Likewise.
25840 * sparc/t-sparcbare: Likewise.
25841 * sparc/t-sparclite: Likewise.
25842 * sparc/t-splet: Likewise.
25843 * v850/t-v850: Likewise.
25844 * mn10200/t-mn10200: Fix comments.
25845 * mn10300/t-mn10300: Likewise.
25846
25847 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
25848 dummy operand. Allocate a new pseudo for the dummy operand.
25849 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
25850
25851 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
25852
25853 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
25854
25855 * configure: Rebuilt.
25856 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
25857
25858 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
25859
25860 * recog.c (preproces_constraints): Zero recog_op_alt before
25861 processing the constraints.
25862
25863 * arm.c (typedef minipool_node): Renamed from pool_node.
25864 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
25865 (add_minipool_constant): New function.
25866 (dump_minipool): New function.
25867 (find_barrier): Remove special case for getting the insn size of
25868 an insn that references the constant pool.
25869 (minipool_fixup): New structure.
25870 (push_minipool_barrier): New function.
25871 (push_minipool_fix): New function.
25872 (note_invalid_constants): New function.
25873 (add_pool_constant, dump_table, fixit, broken_move): Delete.
25874 (arm_reorg): Rewrite code to fix up the constant pool into a
25875 series of mini-pools embedded in the insn stream.
25876 (arm_output_epilogue): New function, made mainly from the body
25877 of output_func_epilogue.
25878 (output_func_epilogue): Move insn generation part of epilogue code
25879 to arm_output_epilogue.
25880 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
25881 * arm.md (pool_range): New attribute.
25882 (zero_extendqidi2): Add attribute pool_range.
25883 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
25884 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
25885 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
25886 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
25887 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
25888 (epilogue): New expand.
25889 (epilogue_insn): New insn. Call arm_output_epilogue.
25890
25891 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
25892 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
25893
25894 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
25895
25896 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25897
25898 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
25899
25900 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
25901
25902 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
25903
25904 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
25905
25906 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
25907
25908 * global.c: Fix comment.
25909
25910 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
25911
25912 * gcc.c (access_check): New static function.
25913 (find_a_file): Use it when searching a directory list.
25914 * collect2.c (find_a_file): Don't accept directories found when
25915 searching a directory list.
25916
25917 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
25918
25919 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
25920 function parameters with `&'.
25921 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
25922
25923 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
25924
25925 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25926 or tidy_fallthru_edge if the last insn in the block is not
25927 an unconditional jump or a simple conditional jump.
25928
25929 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25930
25931 * Makefile.in (c-decl.o): Depends on defaults.h.
25932
25933 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
25934
25935 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25936 PA1.1 and above.
25937 (CLASS_MAX_NREGS): Likewise.
25938
25939 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
25940
25941 * cse.c (cse_insn): Fix dumb thinko in last change.
25942
25943 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25944
25945 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25946 "const char *".
25947
25948 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
25949
25950 * dwarf2out.c (add_location_or_const_value_attribute): Correct
25951 test for sizes of passed and declared parameter types.
25952
25953 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25954
25955 * fixincludes: Fix the return type of bsearch, char* -> void*.
25956
25957 * fixinc/inclhack.def: Likewise.
25958
25959 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
25960
25961 * invoke.texi (-fdump-translation-unit): New option.
25962
25963 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
25964
25965 * expr.h (PROMOTE_PROTOTYPES): Move ...
25966 * defaults.h: ... to here.
25967 * c-decl.c: Include defaults.h instead of expr.h.
25968 * c-typeck.c: Include defaults.h.
25969
25970 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
25971
25972 * toplev.h (errorcount): Declare.
25973 (warningcount): Likewise.
25974 (sorrycount): Likewise.
25975 * c-lex.c (errorcount): Don't declare.
25976 * dwarf2out.c (errorcount): Don't declare.
25977
25978 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
25979
25980 * config/libgloss.h: Add a note discouraging use with ELF.
25981 * configure.in: Don't use libgloss.h for ELF targets.
25982 Always use_collect2 on a.out targets.
25983
25984 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
25985
25986 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25987 (force_to_mode, case ASHIFTRT): Add shiftrt label.
25988
25989 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25990
25991 * loop.c (strength_reduce): When doing biv->giv conversion, update
25992 reg note of NEXT->insn.
25993
25994 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25995
25996 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25997
25998 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25999
26000 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
26001 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
26002 Ensure expr.h is included.
26003 * c-typecheck.c (convert_arguments): Ditto.
26004
26005 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
26006
26007 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
26008 * config/convex/convex.h: Ditto.
26009 * config/dsp16xx/dsp16xx.h: Ditto.
26010 * config/fx80/fx80.h: Ditto.
26011 * config/gmicro/gmicro.h: Ditto.
26012 * config/i370/i370.h: Ditto.
26013 * config/i386/i386.h: Ditto.
26014 * config/m32r/m32r.h: Ditto.
26015 * config/m68k/m68k.h: Ditto.
26016 * config/m88k/m88k.h: Ditto.
26017 * config/mips/mips.h: Ditto.
26018 * config/pa/pa.h: Ditto.
26019 * config/pyr/pyr.h: Ditto.
26020 * config/tahoe/tahoe.h: Ditto.
26021 * config/we32k/we32k.h: Ditto.
26022
26023 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
26024 based on arch size.
26025
26026 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
26027
26028 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
26029 from comment.
26030
26031 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
26032
26033 1999-08-02 Richard Henderson <rth@cygnus.com>
26034
26035 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
26036 for the register spill block.
26037 (m32r_va_arg): New.
26038 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
26039 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
26040
26041 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
26042 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
26043 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
26044
26045 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26046
26047 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
26048 MAX_WCHAR_TYPE defined in sparc.h.
26049 * config/sparc/linuxaout.h: Likewise.
26050 * config/sparc/linux64.h: Likewise.
26051 Also default to -mvis if CPU is UltraSPARC.
26052
26053 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26054
26055 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
26056 (RTX_OK_FOR_OLO10): Likewise.
26057 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
26058 %lo(), allow it in addresses...
26059 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
26060 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
26061 does not make sense.
26062 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
26063 (sparc_output_scratch_registers): New function.
26064 (output_function_prologue, sparc_flat_output_function_prologue): Use
26065 it.
26066 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
26067 defined.
26068 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
26069 * configure.in: Add check for .register pseudo-op support in as and
26070 check for offsetable %lo().
26071 * acconfig.h: Add templates for the above checks.
26072 * configure: Regenerate.
26073
26074 1999-08-02 Richard Henderson <rth@cygnus.com>
26075
26076 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
26077 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
26078 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
26079
26080 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26081
26082 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26083 reg_biv_class.
26084
26085 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26086
26087 * config/float-sparc.h: New file.
26088 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
26089 sparc-*-linux-gnu and sparc64-*-linux*.
26090
26091 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26092
26093 * rs6000.c (rs6000_va_list): Type is an array.
26094 (rs6000_va_start): Don't doubly adjust for varargs.
26095 (rs6000_va_arg): Evaluate long long GPR adjustment.
26096
26097 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
26098
26099 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
26100 -maix64 and -maix32.
26101 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
26102 LINK_SPEC): Change appropriately.
26103 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
26104 (u_short_cint_operand): Likewise.
26105 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
26106 for 64-bit hosts.
26107 * rs6000/t-aix43 (MULTILIB): Change to -m64.
26108
26109 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
26110
26111 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
26112
26113 * rs6000/rs6000.c (num_insns_constant_wide): Correct
26114 for type promotion.
26115 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
26116 (non_add_cint_operand): Likewise.
26117 (logical_operand): Likewise.
26118 (non_logical_cint_operand): Likewise.
26119 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
26120 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
26121 (rs6000_select_rtx_section): Suppress warning.
26122 (small_data_operand): Suppress warning.
26123 (rs6000_got_register): Suppress warning.
26124 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
26125 type, so `J' is generally the wrong constraint for a SImode value;
26126 use `L' instead.
26127 (andsi3_internal2): Likewise.
26128 (andsi3_internal3): Likewise.
26129 (iorsi3_internal1): Likewise.
26130 (xorsi3_internal1): Likewise.
26131 (movsi): Likewise.
26132 (movsf_softfloat): Likewise.
26133 (scc insns): Likewise.
26134 (movsi+2): Preserve sign bits of SImode constant.
26135 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
26136 (movdf+1): Sign-extend properly.
26137 (movdi_32+1): Sign-extend properly.
26138 (scc insns): Sign-extend properly.
26139
26140 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
26141 K, L, and T.
26142
26143 1999-08-02 Richard Henderson <rth@cygnus.com>
26144
26145 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
26146 -mcpu parsing code.
26147 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
26148 * alpha.md (all fp insns): Likewise.
26149
26150 1999-08-02 Nick Clifton <nickc@cygnus.com>
26151
26152 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
26153 already defined.
26154
26155 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
26156
26157 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
26158 pic_load_label generator directly.
26159 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
26160 No longer a named pattern.
26161
26162 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
26163
26164 * explow.c (force_reg): Call force_operand if X does not
26165 satisfy general_operand.
26166
26167 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
26168
26169 * fix-header.c (main): When testing for CONTINUED, use string
26170 equality, not pointer equality.
26171
26172 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
26173
26174 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
26175
26176 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
26177
26178 * cse.c (cse_insn): Fix loop which deletes insns after a jump
26179 that has become an unconditional jump.
26180
26181 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
26182 (output_function_epilogue): Similarly.
26183
26184 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26185
26186 * tree.h (init_dummy_function_start): Declare.
26187
26188 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26189
26190 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
26191 last_expr_type, last_expr_value, block_start_count, block_stack,
26192 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
26193 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
26194 dynamically in stmt elt of struct function for each function.
26195 (struct nesting): Rename function_call_count elt to n_function_calls,
26196 target_temp_slot_level to block_target_temp_slot_level. All users
26197 changed.
26198 (struct stmt_status): New structure definition.
26199 Add many accessor macros for stmt_status elements which previously
26200 were global variables.
26201 (init_stmt_for_function): Allocate stmt elt for current_function.
26202 Reflect that block_start_count was renamed to
26203 current_block_start_count.
26204 (save_stmt_status, restore_stmt_status): Delete functions.
26205 (preserve_subexpressions_p): Don't access loop_stack when outside
26206 a function.
26207 (expand_start_bindings): Reflect that block_start_count was renamed to
26208 current_block_start_count.
26209 (expand_fixup): Likewise.
26210 (expand_decl): Don't access block_stack when outside a function.
26211 (expand_decl_cleanup): Likewise.
26212 (expand_dcc_cleanup): Likewise.
26213 (expand_dhc_cleanup): Likewise.
26214 (expand_anon_union_decl): Likewise.
26215 (set_file_and_line_for_stmt): New function.
26216 (in_control_zone_p): New function.
26217
26218 * function.h (struct function): Add new elt stmt.
26219 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
26220 case_stack, nesting_stack, nesting_depth, block_start_count,
26221 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
26222 emit_lineno, goto_fixup_chain.
26223 (save_eh_status, restore_eh_status, save_stmt_status,
26224 restore_stmt_status): Delete declarations.
26225 * function.c (push_function_context_to): Don't call save_stmt_status.
26226 (pop_function_context_to): Don't call restore_stmt_status.
26227 * tree.h (in_control_zone_p): Declare.
26228 * rtl.h (set_file_and_line_for_stmt): Declare.
26229
26230 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
26231 call set_file_and_line_for_stmt.
26232
26233 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
26234
26235 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
26236 Also update copyright.
26237
26238 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26239
26240 * c-pragma.c: Don't include "except.h".
26241 * emit-rtl.c: Likewise.
26242 * stor-layout.c: Likewise.
26243 * tree.c: Likewise.
26244 * varasm.c: Likewise.
26245
26246 * flow.c: Include "function.h".
26247 * tree.h (init_dummy_function_start): Declare new function.
26248
26249 * except.h (struct eh_status): New structure.
26250 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
26251 been included.
26252 (eh_return_stub_label, ehstack, catchstack, ehqueue,
26253 catch_clauses, false_label_stack, caught_return_label_stack,
26254 protect_list, current_function_ehc): Add accessor macros for the
26255 corresponding fields in current_function->eh; delete declarations
26256 for all items that used to be declared here.
26257 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
26258 catch_clauses, false_label_stack, caught_return_label_stack,
26259 protect_list, current_function_ehc): Delete variables.
26260 (init_eh_for_function): Allocate current_function->eh.
26261 (save_eh_status, restore_eh_status): Delete functions.
26262
26263 * function.h (struct function): Add fields next_global and eh.
26264 Delete all exception handling related fields.
26265 * function.c (current_function): New variable.
26266 (all_functions): New variable.
26267 (push_function_context_to): Don't allocate a struct function,
26268 use current_function instead. Call init_dummy_function_start when
26269 outside a function. Clear current_function before returning.
26270 (pop_function_context_from): Restore current_function.
26271 Don't free the restored struct function.
26272 (prepare_function_start): New function.
26273 (init_dummy_function_start): New function.
26274 (init_function_start): Break out some code into prepare_function_start
26275 and call it here.
26276
26277 * stmt.c (save_stmt_status): Don't call save_eh_status.
26278 (restore_stmt_status): Don't call restore_eh_status.
26279
26280 * Makefile.in: Update dependencies.
26281
26282 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
26283
26284 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
26285 of depending on a magic constant value. Update comments.
26286 (hppa_expand_prologue): Similarly.
26287
26288 * pa.md (reload_indi, reload_outdi): Allow any register for the
26289 original reload register.
26290
26291 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
26292
26293 * cccp.c (print_help): Change marcos to macros.
26294
26295 1999-07-30 Richard Henderson <rth@cygnus.com>
26296
26297 * c-typeck.c (initializer_constant_valid_p): Move ...
26298 * c-common.c (initializer_constant_valid_p): ... here. Use
26299 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
26300 of label addresses.
26301 * c-common.h (initializer_constant_valid_p): Declare.
26302 * c-tree.h (initializer_constant_valid_p): Remove.
26303
26304 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
26305
26306 * config/i386/sol2-c1.asm: Align the stack.
26307 * config/i386/sol2-gc1.asm: Likewise.
26308
26309 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
26310
26311 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
26312 -Asparclite for sparc86x.
26313 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
26314 sparc86x.
26315 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
26316
26317 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
26318
26319 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
26320 the user if using the non-default arch size in BI_ARCH configuration.
26321 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
26322
26323 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
26324 Fix patterns so that they actually match.
26325 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
26326 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
26327 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
26328 TARGET_HARD_MUL32.
26329 (mulsidi3): Reflect this in the expand.
26330 (smulsi3_highpart): Only on TARGET_ARCH32.
26331 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
26332 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
26333 (umulsidi3): Reflect this in the expand.
26334 (umulsi3_highpart): Only on TARGET_ARCH32.
26335 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
26336 don't require g0 to be zero.
26337 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
26338 ({,u}divsi3): New expands.
26339 ({,u}divsi3_sp64): New patterns.
26340 (after lshrdi3_v8plus): Four new patterns to help combiner
26341 optimizing nested mixed mode shifts.
26342
26343 * config/sparc/sparc.c (sparc_override_options): Use deprecated
26344 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
26345 speed things up. Don't use them by default on plain v9 in 64bit
26346 mode, according to what SPAMv9 sais.
26347
26348 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
26349 top 32 bits of %[og][0-7] in signal handlers.
26350 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
26351
26352 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
26353
26354 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
26355 (ashlsi3): Corresponding changes.
26356
26357 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
26358
26359 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
26360
26361 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
26362
26363 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26364
26365 * arm.h (Hint): Delete macro.
26366 Substitute HOST_WIDE_INT for Hint in some prototypes.
26367 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
26368
26369 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
26370
26371 * builtins.c (expand_builtin_setjmp): Use force_operand to
26372 make sure that the buffer address is in a suitable form to be
26373 passed to force_reg.
26374
26375 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
26376
26377 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
26378 them here.
26379
26380 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
26381
26382 * pa.md (indirect_jump): Remove mode from match_operand. Verify
26383 proper mode in the condition string.
26384 (icacheflush, dcacheflush): Remove modes from match_operands.
26385
26386 * pa.c (emit_move_sequence): Always convert scratch_reg to the
26387 proper mode before using it.
26388
26389 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
26390 pair.
26391
26392 * pa.c (store_reg): Do not call add_high_const generator directly.
26393 (load_reg, set_reg_plus_d): Likewise.
26394 * pa.md (add_high_const): No longer a named pattern.
26395
26396 * pa.c (legitimize_address): Consistently use Pmode rather than
26397 SImode. Do not call gen_pic2_highpart directly anymore.
26398 * pa.md (pic2_highpart): No longer a named pattern.
26399 (pic2_lo_sum): Similarly. Reformat to make more readable.
26400
26401 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
26402 needed.
26403
26404 * README: Update.
26405
26406 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26407
26408 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
26409
26410 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
26411
26412 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
26413 and tag the spill mems.
26414 (hppa_va_start): New.
26415 (hppa_va_arg): New.
26416 * pa.h (EXPAND_BUILTIN_VA_START): New.
26417 (EXPAND_BUILTIN_VA_ARG): New.
26418
26419 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
26420
26421 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
26422 and tag the spill mems.
26423 (mn10300_va_start): New.
26424 (mn10300_va_arg): New.
26425 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
26426 (EXPAND_BUILTIN_VA_ARG): New.
26427
26428 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
26429
26430 * mn10200.c (mn10200_va_arg): New.
26431 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
26432
26433 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
26434
26435 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
26436 rather than play with TREE_INT_CST_LOW.
26437
26438 1999-07-27 Philip Blundell <pb@nexus.co.uk>
26439
26440 * config/arm/telf.h: Include dbxelf.h.
26441 (CPP_PREDEFINES): Only define if not already defined.
26442 (ASM_IDENTIFY_GCC): Likewise.
26443 (SUBTARGET_EXTRA_SECTIONS): Likewise.
26444 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
26445 * config/arm/thumb.h (LINK_SPEC): Only define if not already
26446 defined.
26447 (DBX_DEBUGGING_INFO): Don't define.
26448 * config/arm/linux-telf.h: New file.
26449 * config/arm/linux-tgas.h: New file.
26450 * config/arm/t-thumb-linux: New file.
26451 * config/arm/uclinux-elf.h: New file.
26452 * config/arm/uclinux-telf.h: New file.
26453 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
26454 thumb-*-uclinux): New targets.
26455 * configure: Regenerate.
26456
26457 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
26458
26459 * pa.md (post_store, pre_load): New expanders.
26460 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
26461 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
26462 need to directly generate RTL for them.
26463 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
26464 changes.
26465
26466 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
26467
26468 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
26469 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
26470 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
26471 (secndary_reload_class): Make TARGET_ELF conditional compile.
26472 (print_operand_address): Similar.
26473 (output_toc): Print all values as hex.
26474 (get_issue_rate): Rearrange and add RS64A and PPC630.
26475 * rs6000.h (processor_type): Add RS64A and PPC630.
26476 (PROCESSOR_POWERPC64): New.
26477 (PROMOTE_MODE): Use word_mode.
26478 (RTX_COSTS): Add RS64A and PPC630.
26479 * rs6000.md (scheduling information): Add lmul and ldiv
26480 representing 64-bit integer multiply and divide. Add rs64a and
26481 PPC630 information.
26482 (ashldi3): Add support for "rldic" instruction.
26483 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
26484
26485 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
26486
26487 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
26488 instead of V8 for sparclite86x in cpu_table.
26489
26490 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26491
26492 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
26493 output_file_directive.
26494
26495 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
26496
26497 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
26498 tree for op1, not the rtl.
26499
26500 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
26501
26502 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
26503 to m88k_va_start, leaving only the register spill.
26504 (m88k_build_va_list): New.
26505 (m88k_va_start): New.
26506 (m88k_va_arg): New.
26507 * m88k.h (BUILD_VA_LIST_TYPE): New.
26508 (EXPAND_BUILTIN_VA_START): New.
26509 (EXPAND_BUILTIN_VA_ARG): New.
26510
26511 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
26512
26513 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
26514 Rename from expand_builtin_saveregs.
26515 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
26516
26517 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
26518
26519 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
26520 for the register spill block.
26521 (i960_build_va_list): New.
26522 (i960_va_start): New.
26523 (i960_va_arg): New.
26524 * i960.h (BUILD_VA_LIST_TYPE): New.
26525 (EXPAND_BUILTIN_VA_START): New.
26526 (EXPAND_BUILTIN_VA_ARG): New.
26527 * i960.md (store_multiple): Use change_address on individul mems.
26528
26529 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
26530
26531 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
26532 an ARRAY_TYPE.
26533 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
26534 (expand_builtin_va_end): Evaluate arg for side effects.
26535 * c-common.c (c_common_nodes_and_builtins): Construct a
26536 va_list_arg_type_node to handle array decomposition to pointer.
26537
26538 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
26539
26540 * except.c (st_dynamic_cleanup): Use force_operand on the
26541 buffer's address.
26542
26543 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
26544
26545 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
26546 * c4x.c (c4x_va_arg): New.
26547
26548 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
26549
26550 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
26551 has manual_pop set.
26552
26553 1999-07-26 Nathan Sidwell <nathan@acm.org>
26554
26555 * eh-common.h (__eh_matcher): Prototype correctly.
26556
26557 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
26558
26559 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
26560 (TARGET_SINGLE_PIC_BASE): Likewise.
26561 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
26562 definitions.
26563 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
26564 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
26565 (TARGET_OPTIONS): Add -mpic-register=N.
26566 (OUTPUT_INT_ADDR_CONST): New macro.
26567 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
26568 LEGITIMATE_PIC_OPERAND_P): Likewise.
26569 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
26570 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
26571 output_addr_const directly.
26572 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
26573 ARM port.
26574 (thumb_pic_register, thumb_pic_register_string): Declare.
26575
26576 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
26577 from arm.c.
26578 (label_mentioned_p): New function: Imported from arm.c.
26579 (legitimize_pic_address): New function: Imported from arm.c.
26580 (is_pic):New function: Imported from arm.c.
26581 (thumb_finalize_pic):New function: Imported from arm.c.
26582 (add_constant): Cope with PIC constants.
26583 (fixit): Cope with PIC constants.
26584 (output_return): Do not treat the PIC register as live if
26585 TARGET_SINGLE_PIC_BASE is true.
26586 (thumb_function_prologue): Do not treat the PIC register as live if
26587 TARGET_SINGLE_PIC_BASE is true.
26588 (thumb_expand_prologue): Do not treat the PIC register as live if
26589 TARGET_SINGLE_PIC_BASE is true.
26590 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
26591 TARGET_SINGLE_PIC_BASE is true.
26592 (thumb_print_operand): Accept '|'.
26593 (thumb_override_options): Process PIC options.
26594
26595 * config/arm/thumb.md (movsi): Support PIC.
26596 (call_insn): Change "i" constraint to "X".
26597 (call_value_insn): Likewise.
26598 (consttable_4, consttable_8, consttable_end): Set and clear
26599 "making_const_table" as appropriate.
26600 (pic_load_addr, pic_add_dot_plus_four): New insns.
26601
26602 * invoke.texi (Thumb Options): Fix spelling. Document new
26603 options -msingle-pic-base and -mpic-register=.
26604
26605 1999-07-26 Andrew Haley <aph@cygnus.com>
26606
26607 * config/m32r/initfini.c (__init): Use a full word immediate for
26608 __fini: this allows it to be placed in any memory region.
26609
26610 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
26611 -mmodel=medium. This is OK for all memory models.
26612
26613 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
26614
26615 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
26616 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
26617
26618 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
26619
26620 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
26621 defined.
26622
26623 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
26624
26625 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
26626
26627 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
26628 (BUILD_VA_LIST_TYPE): New.
26629 (EXPAND_BUILTIN_VA_START): New.
26630 (EXPAND_BUILTIN_VA_ARG): New.
26631 * i860.c (output_delayed_branch): Disable.
26632 (output_delay_insn): Likewise.
26633 (i860_saveregs): New.
26634 (i860_build_va_list): New.
26635 (i860_va_start): New.
26636 (i860_va_arg): New.
26637 * i860.md: Disable all peepholes using output_delayed_branch.
26638 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
26639
26640 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
26641
26642 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
26643 (BUILD_VA_LIST_TYPE): New.
26644 (EXPAND_BUILTIN_VA_START): New.
26645 (EXPAND_BUILTIN_VA_ARG): New.
26646 * clipper.c (clipper_builtin_saveregs): Only dump registers.
26647 Return the address of the save area.
26648 (clipper_build_va_list): New.
26649 (clipper_va_start): New.
26650 (clipper_va_arg): New.
26651
26652 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
26653
26654 * arc.h (EXPAND_BUILTIN_VA_START): New.
26655 (EXPAND_BUILTIN_VA_ARG): New.
26656 * arc.c (arc_setup_incoming_varargs): Set alias set of
26657 varargs save area.
26658 (arc_va_start): New.
26659 (arc_va_arg): New.
26660
26661 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
26662
26663 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
26664 (BUILD_VA_LIST_TYPE): New.
26665 (EXPAND_BUILTIN_VA_START): New.
26666 (EXPAND_BUILTIN_VA_ARG): New.
26667 * alpha.c (alpha_builtin_saveregs): Delete.
26668 (alpha_build_va_list): New.
26669 (alpha_va_start): New.
26670 (alpha_va_arg): New.
26671
26672 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
26673
26674 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
26675 column zero.
26676 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
26677 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
26678
26679 * gcc.texi: More changes related to list conversion.
26680 * invoke.texi: Likewise.
26681
26682 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
26683
26684 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
26685 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
26686 (expand_builtin_next_arg): Accept ARGLIST not EXP.
26687 (stabilize_va_list): New function.
26688 (std_expand_builtin_va_start): New function.
26689 (expand_builtin_va_start): New function.
26690 (get_varargs_alias_set): New function.
26691 (std_expand_builtin_va_arg): New function.
26692 (expand_builtin_va_arg): New function.
26693 (expand_builtin_va_end): New function.
26694 (expand_builtin_va_copy): New function.
26695 (expand_builtin): Call them.
26696 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
26697 __builtin_{varargs_start,stdarg_start,end,copy}.
26698 (build_va_arg): New function.
26699 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
26700 (build_va_arg): Declare.
26701 * c-decl.c (ptr_type_node, va_list_type_node): New.
26702 * c-parse.gperf (__builtin_va_arg): New.
26703 * c-parse.in (VA_ARG): New token.
26704 (unary_expr): Recognize it.
26705 * expr.c (expand_expr): Expand VA_ARG_EXPR.
26706 * expr.h (std_expand_builtin_va_start): Declare.
26707 (std_expand_builtin_va_arg): Declare.
26708 (expand_builtin_va_arg): Declare.
26709 (get_varargs_alias_set): Declare.
26710 * tree.def (VA_ARG_EXPR): New.
26711 * tree.h (BUILT_IN_VARARGS_START): New.
26712 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
26713 (ptr_type_node, va_list_type_node): Declare.
26714 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
26715 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
26716 * m88k.h, m88k.c: Likewise.
26717 * mn10300.h, mn10300.c: Likewise.
26718 * pa.h, pa.c: Likewise.
26719 * rs6000.h, rs6000.c: Likewise.
26720 * sh.h, sh.c: Likewise.
26721 * sparc.h, sparc.c: Likewise.
26722
26723 * emit-rtl.c (operand_subword): Copy alias set.
26724 (change_address): Likewise.
26725
26726 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
26727
26728 * pa.c (compute_frame_size): Scan all the used callee saved registers,
26729 not just the first one.
26730
26731 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
26732
26733 * config/arm/arm.h (TARGET_SWITCHES): Add
26734 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
26735 (TARGET_OPTIONS): Add -mpic-register=.
26736 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
26737 (arm_pic_register_string): Declare.
26738 (NEED_PLT_GOT): Delete, replace with ...
26739 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
26740 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
26741 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
26742 * config/arm/arm.c (arm_override_options): Add new option
26743 -mpic-register=N.
26744 (arm_pic_register_string): New variable.
26745 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
26746 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
26747 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
26748 (output_return_instruction): Likewise.
26749 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
26750 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
26751 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
26752
26753 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
26754 mention of -msched-prolog. Document new options -msingle-pic-base
26755 and -mpic-register=.
26756
26757 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
26758
26759 * haifa-sched.c (reemit_notes): Tidy.
26760 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
26761 haifa's routine.
26762
26763 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
26764
26765 * explow.c (trunc_int_for_mode): New function.
26766 (plus_constant_wide): Use it.
26767 * combine.c (simplify_and_const_int): Likewise.
26768 (merge_outer_ops): Likewise.
26769 (simplify_shift_const): Likewise.
26770 * cse.c (simplify_unary_operation): Likewise.
26771 (simplify_binary_operation): Likewise.
26772 * emit-rtl.c (operand_subword): Likewise.
26773 * rtl.h: Declare it.
26774
26775 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26776
26777 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
26778 (use NUM_REGS instead of NUM_INTS).
26779
26780 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26781
26782 * builtins.c: New file.
26783 * expr.c (saveregs_value, apply_args_value): Delete definition,
26784 moved into builtins.c.
26785 (string_constant): No longer static.
26786 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
26787 apply_args_size, apply_result_size, result_vector,
26788 expand_builtin_apply_args, expand_builtin_apply,
26789 expand_builtin_return): Delete functions, moved into builtins.c.
26790 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
26791 * expr.h (saveregs_value, apply_args_value): Declare variables.
26792 (expand_builtin, string_constant): Declare functions.
26793 * Makefile.in: Update to build builtin.o.
26794
26795 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
26796
26797 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
26798 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
26799 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
26800 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
26801 false.
26802 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
26803 Define to zero.
26804
26805 1999-07-21 Michael Meissner <meissner@cygnus.com>
26806
26807 * print-rtl.c (print_rtx): Print the names of the virtual
26808 registers.
26809
26810 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
26811
26812 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
26813 introduced in previous delta.
26814
26815 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26816
26817 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
26818 to avoid name clash.
26819
26820 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
26821
26822 * c-lex.c (yylex) : Correct the test for overflow when lexing
26823 integer literals.
26824
26825 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
26826
26827 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
26828 (adjust_priority): Always call ADJUST_PRIORITY.
26829 (schedule_insn): Only put insns into the ready at cost 0.
26830 (schedule_block): Remove redundant initial sort. Give clock_var
26831 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
26832 is not 0.
26833 * tm.texi (MD_SCHED_REORDER): Update docs.
26834
26835 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
26836 * sparc.c (ultra_reorder_called_this_block): Delete.
26837 (ultrasparc_sched_init): Don't set it.
26838 (ultrasparc_sched_reorder): Don't check it.
26839
26840 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
26841
26842 * rs6000.h (struct rs6000_args): Add sysv_gregno.
26843 * rs6000.c (init_cumulative_args): Init sysv_gregno.
26844 (function_arg_boundary): Align DFmode.
26845 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
26846 to get fp reg and stack overflow correct.
26847 (function_arg): Likewise.
26848 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
26849 (setup_incoming_varargs): Restructure for ABI_V4; use
26850 function_arg_advance to skip final named argument.
26851 (expand_builtin_saveregs): Properly unskip the last integer arg
26852 when doing varargs. Adjust overflow location calculation.
26853
26854 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
26855 explicitly unsigned.
26856 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
26857 (__VA_GP_REGSAVE): Similarly.
26858 (__va_longlong_p): Delete.
26859 (__va_arg_type_violation): New declaration.
26860 (va_arg): Restructure. Flag promotion errors. Align double.
26861 TFmode passed by reference.
26862
26863 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
26864 in the HOST_BITS_PER_WIDE_INT > 32 case.
26865
26866 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
26867
26868 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
26869
26870 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
26871
26872 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
26873 * toplev.c (documented_lang_options): Add -fpreprocessed.
26874 * cpplib.h (struct cpp_buffer): Add preprocessed.
26875 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
26876 (cpp_start_read): Don't expand macros or emit an initial #line
26877 directive if -fpreprocessed.
26878
26879 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
26880
26881 * cpplib.h (struct cpp_buffer): Added manual_pop for
26882 better C++ tokenization.
26883 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
26884 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
26885 * c-common.c (cpp_token): Make non-static.
26886
26887 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26888
26889 * c-common.h: New file.
26890 * c-common.c (permanent_obstack): Delete unused declaration.
26891 (c_global_trees): New array.
26892 (c_common_nodes_and_builtins): New function; split off common code
26893 from init_decl_processing in both c-decl.c and cp/decl.c.
26894 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
26895 c_global_trees and accessor macros defined in c-common.h.
26896 Include c-common.h.
26897 * c-decl.c: Delete definitions for tree nodes that were replaced by
26898 c_global_trees.
26899 (init_decl_processing): Build void_list_node.
26900 Call c_common_nodes_and_builtins; delete code to generate the common
26901 builtins here.
26902 * objc/objc-act.c (build_module_descriptor): Rename variable
26903 void_list_node to avoid clash with c-common.h.
26904
26905 * Makefile.in: Update dependencies.
26906 * objc/Make-lang.in: Likewise.
26907
26908 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
26909
26910 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
26911 (UNIQUE_SECTION_P): Likewise.
26912 (UNIQUE_SECTION): Likewise.
26913
26914 1999-07-19 Linas Vepstas <linas@linas.org>
26915
26916 * config/i370/README: New file.
26917 * config/i370/linux.h: New file.
26918 * config/i370/mvs.h: New file.
26919 * config/i370/oe.h: New file.
26920 * config/i370/t-linux: New file.
26921 * config/i370/t-mvs: New file.
26922 * config/i370/t-oe: New file.
26923 * config/i370/x-oe: New file.
26924 * config/i370/xm-linux.h: New file.
26925 * config/i370/xm-mvs.h: New file.
26926 * config/i370/xm-oe.h: New file.
26927
26928 * i370.c (label_node_t): Add first_ref_page, label_addr,
26929 label_first_ref, label_last_ref members.
26930 (mvs_need_base_reload): Renamed from mvs_label_emitted.
26931 (MAX_MVS_LABEL_SIZE): Define.
26932 (MAX_LONG_LABEL_SIZE): Define.
26933 (alias_node_t, alias_anchor, alias_number): New.
26934 (mvs_function_table): Reorder for EBCDIC.
26935 (ascebc, ebcasc): Unconditionally define.
26936 (i370_branch_dest, i370_branch_length): New functions.
26937 (i370_short_branch, i370_label_scan): New functions.
26938 (mvs_get_label): Renamed from mvs_add_label. Search for
26939 an existing label before creating a new one.
26940 (mvs_add_label): New function.
26941 (mvs_get_label_page): New function.
26942 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
26943 over the entire list.
26944 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26945 (mvs_check_page) [TARGET_ELF_ABI]: New function.
26946 (mvs_add_alias, mvs_need_alias): New functions.
26947 (mvs_get_alias, mvs_check_alias): New functions.
26948 (handle_pragma): New function.
26949 (mvs_function_check): New function.
26950 (unsigned_jump_follows_p): Search harder.
26951 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
26952 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26953 * i370.h (TARGET_VERSION): Delete.
26954 (CPP_SPEC, CPP_PREDEFINES): Delete.
26955 (mvs_label_emitted): Delete.
26956 (TARGET_EBCDIC): Delete.
26957 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26958 (HANDLE_PRAGMA): Define.
26959 (HARD_REGNO_NREGS): Handle complex modes.
26960 (HARD_REGNO_MODE_OK): Likewise.
26961 (CLASS_MAX_NREGS): Likewise.
26962 (RET_REG): Likewise.
26963 (EXTRA_CONSTRAINT): Define.
26964 (RETURN_IN_MEMORY): True for DImode.
26965 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26966 (FUNCTION_PROFILER): Delete.
26967 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26968 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26969 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26970 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26971 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26972 (ASM_FILE_START): Add "RMODE ANY".
26973 (ASM_OUTPUT_EXTERNAL): Check for aliases.
26974 (ASM_GLOBALIZE_LABEL): Likewise.
26975 (ASM_OUTPUT_LABELREF): Likewise.
26976 (ASM_OUTPUT_COMMON): Likewise.
26977 (PRINT_OPERAND): Handle 'K', 'W', default.
26978 (PRINT_OPERAND_ADDRESS): New.
26979 (Lots of defines): Add support for TARGET_ELF_ABI.
26980 * i370.md (attr length): New. Define for all patterns.
26981 (*): Lots of tweeks to assembly output and constraints.
26982
26983 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
26984
26985 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26986 Disable patterns performing SImode comparisons with SImode values
26987 if TARGET_POWERPC64 and instruction does not sign-extend or does
26988 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26989 differ for signed quantities.
26990 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26991 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26992 (decrement_and_branch_on_count): Add 64-bit variant.
26993
26994 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26995
26996 * final.c (output_asm_insn): When searching for the matching string
26997 for a given dialect, don't run past the end of the list of
26998 alternatives if there are fewer alternatives in the template than
26999 dialects.
27000
27001 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
27002
27003 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
27004 Removed paragraph about compression of files and size limitation,
27005 duplicated in the FAQ. Use gcc-patches for posting patches.
27006 * gcc.c (main): Updated URL with bug reporting instructions to
27007 gcc.gnu.org. Removed e-mail address.
27008 * system.h (abort): Likewise.
27009
27010 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27011
27012 * Makefile.in (stmp-multilib-sub): Make the files extracted
27013 from $(LIBGCC1) writable.
27014
27015 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
27016
27017 * config/arm/aout.h: Reformat for improved readability.
27018
27019 * config/arm/arm.h: Reformat for improved readability.
27020 Replace uses of fprintf with asm_fprintf where appropriate.
27021 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
27022 function declaration assembler actions.
27023 (NUM_INTS): New macro: Convert from bytes to words.
27024 (NUM_REGS): New macro: Compute number of registers required to
27025 hold a quanitity of tyep MODE.
27026 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
27027 types.
27028 (NUM_ARG_REGS): New macro: The number of argument registers
27029 available.
27030 (ARG_REGISTER): New macro: Compute the register number of the Nth
27031 argument register.
27032 (LAST_ARG_REGNUM): New macro: The number of the last argument
27033 register.
27034 (SP_REGNUM): New macro: Register number of the stack pointer.
27035 (FP_REGNUM): New macro: Register number of the frame pointer.
27036 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
27037 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
27038 CUMULATIVE_ARGS so that it counts registers not bytes.
27039
27040 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
27041 TARGET_INTERWORK.
27042 Replace uses of fprintf with asm_fprintf where appropriate.
27043 (output_ascii_pseudo_op): Replace with version from thumb.c
27044
27045 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
27046
27047 * config/arm/elf.h (CPP_PREDEFINES): Replace with
27048 SUBTARGET_CPP_SPEC.
27049 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
27050 (ASM_FILE_START): Emit ASM_APP_OFF.
27051
27052 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
27053
27054 * pa.c (compute_frame_size): Round frame according to
27055 STACK_BOUNDARY rather than a hardwired value.
27056
27057 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
27058
27059 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
27060 of "1".
27061 * configure: Rebuilt.
27062
27063 * configure.in (hppa*-*-linux*): New configuration.
27064 * configure: Rebuilt.
27065 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
27066 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
27067 * pa/pa-linux.h: New file.
27068 * pa/t-linux: New file.
27069 * pa/xm-linux.h: New file.
27070
27071 * pa.c (hppa_legitimize_address): Change references from SImode to
27072 either Pmode or word_mode as appropriate.
27073 (emit_move_sequence, store_reg, load_reg): Likewise.
27074 (set_reg_plus_d, hppa_expand_prologue): Likewise.
27075 (output_mul_insn): Likewise.
27076 * pa.h (PROMOTE_MODE): Likewise.
27077 (INITIALZE_TRAMPOLINE): Likewise.
27078 (Pmode): Define to word_mode.
27079
27080 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
27081 value of 4. Allocate 8 bytes for each FP register save.
27082 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
27083 value of 4.
27084 (hppa_expand_prologue): Likewise.
27085 * pa.h (PROMOTE_MODE): Likewise.
27086 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
27087 (FUNCTION_ARG_BOUNDARY): Likewise.
27088
27089 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
27090
27091 * pa.c (out_of_line_prologue_epilogue): Delete.
27092 (override_options): Remove -mspace related code.
27093 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
27094 (compute_frame_size): Only allocate space for register that
27095 actually need to be saved.
27096 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
27097 (TARGET_SWITCHES): Remove -mspace, -mno-space
27098 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
27099 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
27100 * pa/ee.asm, pa/ee_fp.asm: Delete.
27101
27102 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
27103
27104 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
27105 directive in column zero.
27106
27107 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
27108
27109 * m68k.c (output_function_prologue): Fix computation of save mask
27110 when generating PIC code.
27111
27112 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
27113
27114 * tree.c (build_type_attribute_variant): Move current_obstack restore
27115 after build_qualified_type call.
27116
27117 1999-07-15 Mark Mitchell <mark@codesourcery.com>
27118
27119 * configure.in: Use t-iris6, even with GNU LD.
27120 * config/mips/iris6gld.h: Fix typo in linker spec.
27121 * config/mips/t-iris6gld: Remove.
27122
27123 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
27124
27125 * rs6000.md (insv, extzv): Remove SImode dependence in named
27126 patterns. Explicitly generate DImode RTL if PowerPC64 and
27127 operand is DImode.
27128 (insvdi): Reverse start and size in instruction template.
27129
27130 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
27131
27132 * invoke.texi: Typo fixes.
27133
27134 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
27135
27136 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
27137 handle at this time instead of silently generating incorrect code.
27138 (gen_imagpart): Likewise.
27139
27140 * reload.c (find_reloads): Emit a USE for a pseudo register without
27141 a hard register if we could not create an optional reload for the
27142 pseudo.
27143
27144 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27145
27146 * c-typeck.c (output_init_element, process_init_element):
27147 When advancing constructor_unfilled_fields for a RECORD_TYPE,
27148 check for nameless bit fields.
27149
27150 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
27151
27152 * regclass.c (scan_one_insn): Notice subregs that change the
27153 size of their operand.
27154 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
27155
27156 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
27157
27158 * configure.in (alpha*-*-*): Include alpha/t-ieee.
27159 * configure: Rebuilt.
27160 * alpha/t-ieee: New file.
27161
27162 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
27163
27164 * rs6000.c (find_addr_reg): Do not select r0 as an address
27165 register.
27166
27167 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
27168
27169 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
27170
27171 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
27172
27173 * rs6000.md (movsf): Do not force easy FP constants into memory.
27174
27175 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
27176 immed_double_const to ensure they are properly truncated then
27177 sign extended.
27178
27179 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
27180
27181 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
27182 always unless NO_DEBUG is used. Compile this code
27183 unconditionally.
27184 (replace_symbols_in_block): Compile it unconditionally.
27185
27186 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
27187
27188 * configure.in (i?86-*-elf*): New target.
27189 * configure: Rebuilt.
27190 * i386/i386elf.h, i386/t-i386elf: New files.
27191
27192 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
27193
27194 * toplev.c (main): Don't complain about saying -gdwarf.
27195 (rest_of_compilation): Remove redundant code.
27196
27197 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
27198
27199 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
27200
27201 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
27202
27203 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
27204 "Li960R:", to avoid name clash.
27205
27206 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27207
27208 * loop.c (check_dbra_loop): When reversing a loop, delete all
27209 REG_EQUAL notes referencing the reversed biv except those which are
27210 for a giv based on it.
27211
27212 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
27213
27214 * version.c: Drop "gcc-" prefix from version #.
27215
27216 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
27217
27218 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
27219 the label if we're being verbose.
27220
27221 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
27222
27223 * m68k.c (output_function_prologue): Add pic register to mask
27224 if live and flag_pic.
27225 (output_function_epilogue): Likewise.
27226
27227 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
27228
27229 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
27230 directives in column zero.
27231
27232 * pa/elf.h (ASM_FILE_START): Define.
27233 * pa/som.h (ASM_FILE_START): Include .level directives.
27234 * pa/hpux10.h (ASM_FILE_START): Delete.
27235 * pa/hpux11.h (ASM_FILE_START): Delete.
27236
27237 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
27238
27239 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27240
27241 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
27242 when reload_out equals reload_in.
27243
27244 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
27245
27246 * invoke.texi (Spec Files): New node: Describe the contents of
27247 spec files.
27248
27249 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
27250
27251 * invoke.texi (DEC Alpha Options): Put @end table at
27252 beginning of line, to avoid confusing texi2html.
27253
27254 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
27255
27256 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
27257 introduced in previous delta.
27258
27259 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27260
27261 * reload1.c (gen_reload): When synthesizing a 3 operand add
27262 sequence, improve test for when to reload OP1 into the reload
27263 register instead of OP0.
27264
27265 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
27266
27267 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
27268
27269 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
27270
27271 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
27272 string literal.
27273
27274 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
27275
27276 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
27277 (va_dcl): Use __builtin_va_alist_t.
27278
27279 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
27280
27281 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
27282 on the permanent_obstack.
27283 * dwarfout.c (output_type): Likewise.
27284
27285 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
27286
27287 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27288 Merged from c-typeck.c and cp/typeck.c.
27289 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27290 Merged into c-common.
27291
27292 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
27293
27294 * c-lex.c (errorcount): Declare it.
27295 (finish_parse): Update errorcount when using CPPLIB.
27296
27297 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
27298
27299 * fixinc/inclhack.def(end_else_label): Double the backslash so
27300 sed gets a chance to see it.
27301 * fixinc/inclhack.sh: regen
27302 * fixinc/fixincl.x: regen
27303
27304 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
27305
27306 Add framework to support armv5 architecture when it becomes
27307 available:
27308
27309 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
27310 (arm_arch5): New variable.
27311 (all_architectures): Add armv5 line.
27312 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
27313 -march=armv5 is specified on the command line.
27314 (arm_arch5): Export this variable.
27315 * invoke.texi: Document new string accepted by -march= switch for
27316 ARM ports.
27317
27318 * config/arm/arm.h: Replace use of constant 12 as a register
27319 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
27320 * config/arm/arm.c: Replace use of constant 12 as a register
27321 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
27322
27323 * config/arm/elf.h: Tidy up.
27324 * config/arm/coff.h: Tidy up.
27325
27326 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
27327
27328 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
27329 * gcc/config/mips/t-iris6gld: New file.
27330 * gcc/config/mips/iris6gld.h: Likewise.
27331
27332 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
27333
27334 * c-decl.c (widest_integer_literal_type_node,
27335 widest_unsigned_literal_type) : New.
27336 (init_decl_processing): Handle/use the two new types.
27337 * c-common.c (type_for_size,type_for_mode) : Same.
27338 * c-lex.c (yylex) : Same.
27339 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27340 Same.
27341 * c-tree.h (widest_integer_literal_type_node,
27342 widest_unsigned_literal_type) : New.
27343
27344 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
27345
27346 * dwarfout.c (field_byte_offset): Correctly compute the object's
27347 byte offset for the first bit of a field which crosses an alignment
27348 boundary on a !BYTES_BIG_ENDIAN target.
27349
27350 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
27351
27352 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
27353 ntohs.
27354
27355 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
27356 Jeff Law <law@cygnus.com>
27357
27358 * ginclude/varargs.h (va_dcl): Use word_mode for type of
27359 __builtin_va_list.
27360
27361 * except.c: Include intl.h.
27362 (expand_eh_return): Set current_function_cannot_inline.
27363 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
27364 * function.h (struct function): Add eh_return_stub_label.
27365 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
27366 * Makefile.in (except.o): Depend on intl.h.
27367
27368 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
27369
27370 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
27371 same as offsettable in cases 1 and 2.
27372
27373 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
27374
27375 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
27376 (extlh, extwh): Likewise.
27377
27378 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
27379
27380 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
27381
27382 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
27383
27384 * configure.in: Add arm-pe and thumb-pe targets.
27385 * configure: Regenerate.
27386
27387 * thumb.c (arm_naked_function_p): New function: Determines if
27388 a function is naked (has no gcc generated prologue/epilogue).
27389 (is_called_in_ARM_mode): Return true if the func has the
27390 interfacearm attribute.
27391 (output_return): Do not generate a return for naked functions.
27392 (thumb_function_prologue): Do not generate a prologue for
27393 naked functions.
27394 (thumb_expand_prologue): Do not generate a prologue for naked
27395 functions.
27396 (thumb_expand_epilogue): Do not generate an epilogue for naked
27397 functions.
27398 (arm_valid_machine_decl_attribute): New function, copied from
27399 arm.c: Permit naked and interfacearm attributes.
27400
27401 * config/arm/pe.c: New file: Support code for arm-pe target.
27402 * config/arm/pe.h: New file: Header file for arm-pe target.
27403 * config/arm/tpe.h: New file: Header file for thumb-pe target.
27404 * config/arm/t-thumb-pe: New file: Makefile fragment for
27405 thumb-pe target.
27406
27407 1999-07-01 Mark Kettenis <kettenis@gnu.org>
27408
27409 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
27410 -fPIC or -fpic is specified.
27411
27412 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
27413
27414 * expr.c (emit_block_move): Use copy_to_mode_reg for
27415 !TARGET_MEM_FUNCTIONS case too.
27416
27417 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
27418 appropriate.
27419 * configure: Rebuilt.
27420 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
27421 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
27422 definitions made redundant by dbxelf.h inclusion. Delete
27423 lots of definitions related to assembly output that are
27424 specific to the SOM object format.
27425 * pa.c (output_function_prologue): Do not emit the function's
27426 name for OBJ_ELF.
27427 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
27428 * pa-pro.h: Deleted.
27429 * som.h: New file with SOM specific definitions.
27430 * elf.h: New file with ELF specific definitions.
27431
27432 * elfos.h (const_section): Output a tab before assembler directives.
27433 (ctors_section, dtors_section): Likewise.
27434 (ASM_OUTPUT_SECTION_NAME): Likewise.
27435
27436 * pa/pa1.h: Delete unused file.
27437
27438 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
27439
27440 * configure.in (hppa*-hp-hpux11*): New configuration.
27441 * configure: Rebuilt.
27442 * pa/pa-hpux11.h: New file.
27443 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
27444 command line.
27445
27446 * mips.md (leasi, leadi): New patterns.
27447
27448 * expr.c (emit_block_move): Properly handle case where one of the
27449 block move arguments has a queued increment or decrement.
27450 (clear_storage): Similarly. Fix formatting goof.
27451
27452 1999-06-28 "David O'Brien" <obrien@NUXI.com>
27453
27454 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
27455 semicolon from the BSD VA_LIST replacement expression.
27456
27457 * fixinc/inclhack.sh: regen
27458 * fixinc/fixincl.x: regen
27459
27460 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
27461 now use the fixincl program.
27462
27463 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
27464
27465 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
27466 case. Also make the PIC register call_used.
27467
27468 * m68k.h (FINALIZE_PIC): Delete.
27469 * m68k.c (finalize_pic): Delete.
27470
27471 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
27472
27473 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
27474 to memory.
27475
27476 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
27477
27478 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
27479
27480 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
27481
27482 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
27483
27484 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
27485
27486 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
27487
27488 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
27489
27490 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
27491
27492 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
27493
27494 * rs6000.c (output_toc): Always use hex values for floating-point
27495 constants. Store single-precision values in upper-half of TOC
27496 entry in 64-bit mode.
27497 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
27498 to final constraints.
27499 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
27500 (fctiwz): Improve accuracy of RTL for pattern.
27501
27502 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
27503
27504 * expr.c (expand_expr): Allow RTL_EXPR's through the
27505 MAX_INTEGER_COMPUTATION_MODE checks.
27506
27507 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
27508
27509 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
27510 such that MASK_SUPPORT_ARCH is not negative.
27511
27512 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
27513
27514 * loop.c (verify_dominator): Properly handle ADDR_VEC and
27515 ADDR_DIFF_VEC insns that appear inside loops.
27516
27517 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
27518 Jeff Law <law@cygnus.com>
27519
27520 * rs6000.md (movdf_hardfloat32): Revert previous patch.
27521 Handle LO_SUM the same as offsettable in cases 1 and 2.
27522 * rs6000.c (find_addr_reg): Revert previous patch.
27523
27524 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
27525
27526 * system.h (strstr): New external function declaration.
27527 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
27528 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
27529 * config.in, configure: Rebuilt.
27530
27531 1999-06-24 Tom Tromey <tromey@cygnus.com>
27532
27533 * gcc.c (main): Read user-specified specs files after computing
27534 additional startfile_prefixes.
27535
27536 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
27537
27538 Revert these two patches:
27539
27540 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27541 * loop.c (strength_reduce): When doing biv->giv conversion, update
27542 reg note of NEXT->insn.
27543
27544 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27545 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27546 reg_biv_class.
27547 (recombine_givs): Set ix field after sorting.
27548
27549 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27550
27551 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
27552 for the parts of an UNSPEC / UNSPEC_VOLATILE.
27553
27554 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
27555
27556 *fixinc/inclhack.def: Add fix development commentary
27557 (read_ret_type): reactivate and add selection clause
27558 (zzz_*): tweak output file name to match what is used in hackshell.tpl
27559 *fixinc/{fixincl.x|inclhack.sh}: regen
27560
27561 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
27562
27563 * expr.c (expand_expr): STRIP_NOPS before checking against
27564 MAX_INTEGER_COMPUTATION_MODE
27565 (check_max_integer_computation_mode): Likewise.
27566
27567 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
27568
27569 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
27570
27571 1999-06-22 Jim Wilson <wilson@cygnus.com>
27572
27573 * expr.c (store_expr): When target is a promoted subreg, return a
27574 promoted subreg as a result.
27575
27576 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
27577
27578 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
27579 coding standards.
27580 (dwarf2out_define): Mark unused parameters appropriately.
27581 (gen_unspecified_parameters_die): Ditto.
27582 (gen_subprogram_die): Fix signed/unsigned warnings.
27583 (gen_variable_die): Ditto.
27584
27585 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
27586
27587 * fixinc/inclhack.def(end_else_label): combined else_label
27588 and endif_label and fixed the sed expression.
27589 *fixinc/{fixincl.x|inclhack.sh}: regen
27590
27591 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
27592
27593 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
27594 'x' when handling non-offsettable addresses
27595
27596 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
27597
27598 * final.c (shorten_branches): Don't try to split an insn that has
27599 been deleted.
27600
27601 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
27602
27603 * config/mips/mips.c (symbolic_expression_p): New function.
27604 (mips_select_rtx_section): Put symbolic expressions in the
27605 data section, not the read-only data section.
27606
27607 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
27608
27609 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
27610
27611 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
27612
27613 * collect2.c (main): Log frame table count.
27614 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
27615 (scan_prog_file) [COFF]: Handle frame tables.
27616
27617 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
27618 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
27619 * alpha/elf.h: Undef them again.
27620 * alpha/vms.h: Remove their definitions.
27621
27622 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27623
27624 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
27625 remove the clobber of r0 and change the REG_UNUSED note to
27626 REG_INC.
27627
27628 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
27629
27630 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
27631 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
27632 fits in HOST_WIDE_INT and one uses union to access a long constant
27633 as double.
27634
27635 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
27636
27637 * sparc.c (sparc_override_options): Don't allow profiling for
27638 code models other than medlow.
27639 (sparc_function_profiler): New function from old FUNCTION_PROFILER
27640 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
27641 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
27642 (sparc_block_profiler): Likewise.
27643 (sparc_function_block_profiler_exit): Likewise.
27644 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
27645 (FUNCTION_BLOCK_PROFILER): Likewise.
27646 (BLOCK_PROFILER): Likewise.
27647 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
27648 (MCOUNT_FUNCTION): New.
27649 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
27650 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
27651 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
27652 (MCOUNT_FUNCTION): New.
27653 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
27654 (BLOCK_PROFILER): Delete.
27655 (MCOUNT_FUNCTION): New.
27656
27657 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
27658
27659 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
27660
27661 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
27662
27663 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27664 Add the macros.
27665
27666 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27667 Ditto.
27668
27669 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27670 Ditto.
27671
27672 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27673 Ditto.
27674
27675 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
27676
27677 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
27678 types.
27679
27680 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
27681
27682 * i386/djgpp.h (LIB_SPEC): New.
27683 (STARTFILE_SPEC): New.
27684
27685 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
27686
27687 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
27688
27689 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
27690 compiler flags.
27691
27692 * system.h (WSTOPSIG): New macro.
27693
27694 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
27695
27696 * c-pragma.c (push_alignment): Don't ignore alignments greater than
27697 4 bytes.
27698 (insert_pack_attributes): Take into account member natural
27699 alignment.
27700
27701 * i386/winnt.c (exports_head): New static variable.
27702 (i386_pe_record_exported_symbol): New function.
27703 (i386_pe_asm_file_end): Use.
27704 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
27705 symbols to be emitted at end of assembly.
27706 (ASM_DECLARE_OBJECT_NAME): Likewise.
27707 (ASM_DECLARE_FUNCTION_NAME): Likewise.
27708
27709 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
27710 -iwithprefix.
27711
27712 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
27713
27714 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
27715 in last change.
27716
27717 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
27718
27719 * haifa-sched.c (sched_analyze_1): Use free_list instead of
27720 zapping reg_last_uses directly.
27721 (sched_analyze_2, sched_analyze_insn): Likewise.
27722 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
27723
27724 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
27725
27726 * rs6000.md (movdf_hardfloat32): Use worst case insn length
27727 attributes for cases 1 and 2.
27728
27729 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
27730
27731 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
27732 instead of set.
27733
27734 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
27735
27736 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
27737
27738 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
27739
27740 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
27741 PIC_OFFSET_TABLE_REGNUM for general alloaction.
27742 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
27743 must be stacked if it is used for PIC accesses.
27744 * arm.c (use_return_insn): Handle PIC register specially.
27745 (output_return_instruction): Likewise.
27746 (output_func_{prologue,epilogue}): Likewise.
27747 (output_expand_prologue): Likewise.
27748
27749 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
27750 (*strsi_predec): Renamed from *strqi_predec.
27751 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
27752 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
27753
27754 * arm.c (arm_override_options): Remove warning about PIC code
27755 not being supported.
27756
27757 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
27758
27759 * rs6000.c (find_addr_reg): New function.
27760 * rs6000.h (find_addr_reg): Declare.
27761 (offsettable_addr_operand): Delete.
27762 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
27763 from and stores to GPRs.
27764
27765 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
27766
27767 * alpha.c (alpha_expand_block_move): Use get_insns rather than
27768 gen_sequence as argument to emit_no_conflict_block.
27769
27770 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27771
27772 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
27773 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
27774 *fixinc/fixincl.x: regen
27775 *fixinc/inclhack.sh: regen
27776
27777 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
27778
27779 * added support for -mpcrel (PC relative addressing for m68k)
27780 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
27781 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
27782 * m68k.c (print_operand_address): Handle 32-bit PIC case.
27783 (comments for general_src_operand): Add some explanation
27784 about EXTRA_CONSTRAINTS.
27785 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
27786 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
27787 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
27788 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
27789 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
27790 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
27791 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
27792 if not already set.
27793 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
27794 * m68k.h (TARGET_PCREL): New target flag.
27795 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
27796 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
27797 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
27798 contains a SYMBOL_REF. Relax this constraint during reload, since
27799 we want to use the predicates, not reload's built-in concept of a
27800 valid memory address, to control what insns need reloading.
27801 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
27802 operands (essentially 'g', 'm', and 's' under normal circumstances).
27803 * m68k.c (print_operand): Cause printing of pc-relative addresses
27804 to include pc register.
27805 (print_operand_address): Ditto.
27806 (general_src_operand): Accept operands that are not only
27807 general_operands, but are also valid when used as a pc-relative
27808 source.
27809 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
27810 (memory_src_operand): Similar, for memory_operands.
27811 (pcrel_address): New predicate to accept the special case of a
27812 pc-relative address.
27813 * m68k.md (many patterns): Rewrite common SImode, HImode, and
27814 QImode insns to accept *_src_operand instead of *_operand where
27815 pc-relative operands can fit. For example, a pc-relative operand
27816 can be used as a memory source operand for addsi3, but not as a
27817 memory destination.
27818 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
27819
27820 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
27821
27822 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
27823 .thumb_set pseudo op to mark aliases of thumb functions.
27824
27825 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
27826
27827 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
27828 preference to ASM_OUTPUT_DEF, if it is defined.
27829
27830 * tm.texi: Document new, optional target macro
27831 ASM_OUTPUT_DEF_FROM_DECLS.
27832
27833 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27834
27835 * fixincludes: ISCNTL patch
27836 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
27837 (dgux_int_varargs): new for DG/UX
27838 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
27839
27840 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
27841
27842 * invoke.texi (ia32 options): Fix typo.
27843
27844 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27845
27846 * loop.c (strength_reduce): When doing biv->giv conversion, update
27847 reg note of NEXT->insn.
27848
27849 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
27850
27851 * loop.c (move_movables): Note issues with replacing REGs with
27852 SUBREGs.
27853 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
27854
27855 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
27856
27857 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
27858
27859 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
27860 the reference to `mcount' was not correct for the ELF on FreeBSD.
27861
27862 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27863
27864 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27865 reg_biv_class.
27866
27867 (recombine_givs): Set ix field after sorting.
27868
27869 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
27870
27871 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
27872 to safe to extract a subword out of a REG.
27873
27874 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27875
27876 * sh.md (mulsi3): Don't add a no-op move at the end.
27877
27878 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27879
27880 * cse.c (cse_insn): Don't put hard register source into tables for
27881 the last insn of a libcall.
27882
27883 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27884
27885 * loop.c (strength_reduce): Insert sets of derived givs at every
27886 biv increment, even if it's the only one.
27887
27888 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
27889
27890 * dwarfout.c (add_incomplete_type): New fn.
27891 (output_type): Call it.
27892 (retry_incomplete_types): New fn.
27893 (dwarfout_finish): Call it.
27894
27895 From Eric Raskin <ehr@listworks.com>:
27896 (output_type): Output types for bases.
27897
27898 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
27899
27900 * mips.c (mips_output_conditional_branch): Add `break'
27901 between `default' label and `close braces'.
27902
27903 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
27904
27905 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
27906 specifications and make it realistic.
27907 (LIB_SPEC): Likewise.
27908
27909 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
27910
27911 * config/mips/mips.c (mips_secondary_reload_class): Check for
27912 (PLUS (SP) (REG)) and return appropriate register class.
27913 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
27914 Handle (PLUS (SP) (REG)).
27915 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
27916 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
27917 of emit_insn for tablejump.
27918
27919 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
27920
27921 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
27922 asm_fprintf format string by itself.
27923 (output_function_profiler): Likewise.
27924
27925 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
27926
27927 * combine.c (simplify_logical, case AND): Only call
27928 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27929 or the constant is positive.
27930
27931 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
27932
27933 * configure.in: Fix typo in rs6000-ibm-aix4 case.
27934 * configure: Regenerate.
27935
27936 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
27937
27938 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27939 require a sub-version #.
27940 * configure: Rebuilt.
27941
27942 1999-06-14 Robert Lipe (robertlipe@usa.net)
27943
27944 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27945
27946 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
27947
27948 * c-typeck.c (process_init_element): Detect excess elements in
27949 char array initializer.
27950
27951 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
27952
27953 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27954
27955 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
27956
27957 * invoke.texi (Option Summary): Add -fpermissive flag.
27958
27959 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
27960
27961 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27962 that require PIC code sequences.
27963
27964 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
27965
27966 * configure.in: Add new target: thumb-elf.
27967 * configure: Regenerate.
27968 * config/arm/t-thumb-elf: New file: Makefile fragment for
27969 thumb-elf build.
27970 * config/arm/telf.h: New file: Header file for thumb-elf
27971 build.
27972
27973 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
27974
27975 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27976 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27977 initializers is some circumstances.
27978
27979 * fixinc/inclhack.def (endif_label): Add additional selector for
27980 more bogus stuff after #endif statements.
27981 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27982
27983 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
27984
27985 * i386/cygwin.h (SET_ASM_OP): Define.
27986
27987 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
27988
27989 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27990
27991 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27992
27993 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27994 latter.
27995
27996 * sh.md (ic_invalidate_line_i): Remove second alternative.
27997
27998 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27999
28000 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
28001 test for the presence of valid prototypes. Delete bypass expr.
28002 (ioctl_fix_ctrl): Correct the selection expression.
28003 (no_double_slash): Correct quoting rules
28004 *fixinc/fixincl.x: regen
28005 *fixinc/inclhack.sh: regen
28006
28007 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
28008
28009 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
28010
28011 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28012
28013 * rs6000.md (movsi_got_internal_mem): Delete.
28014 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
28015 (GOT_TOC_REGNUM): Delete.
28016 (PIC_OFFSET_TABLE_REGNUM): Define.
28017 (FINALIZE_PIC): Disable.
28018 * rs6000.c (rs6000_got_register): New code for fixed pic register.
28019 (rs6000_replace_regno): Delete.
28020 (rs6000_finalize_pic): Likewise.
28021 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
28022
28023 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28024
28025 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
28026 is a note; use <= for the compare; advance P while it is
28027 a NOTE.
28028
28029 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
28030
28031 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
28032 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
28033
28034 * varasm.c (remove_from_pending_weak_list): Verify t->name
28035 is non-NULL before passing it to strcmp.
28036
28037 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28038
28039 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
28040 the typed arguments are not part of a comment
28041 (ioctl_fix_ctrl): Added a purpose comment
28042 *fixinc/fixincl.x: regenerate
28043 *fixinc/inclhack.sh: regenerate
28044
28045 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28046
28047 * invoke.texi: Add C4x invocation docs.
28048
28049 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28050
28051 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
28052 Define new macros.
28053 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
28054 TARGET_EXPOSE_LDP.
28055 (c4x_legitimize_reload_address): New function.
28056 * config/c4x/c4x.md: Update docs.
28057
28058 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
28059
28060 * fixincludes: Avoid removing '.'.
28061 * fixinc/fixinc.svr4: Likewise.
28062 * fixinc/fixinc.winnt: Likewise.
28063 * fixinc/inclhack.tpl: Likewise.
28064 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
28065
28066 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28067
28068 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
28069 pattern.
28070 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
28071
28072 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
28073
28074 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
28075 correctly.
28076
28077 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
28078
28079 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
28080 * configure: Regenerate.
28081
28082 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
28083
28084 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
28085 values.
28086
28087 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
28088
28089 * fixinc/inclhack.def (avoid_bool): Also catch
28090 "typedef [unsigned] int bool".
28091 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28092
28093 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
28094 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
28095 * configure: Rebuilt.
28096
28097 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
28098
28099 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
28100 such that we can override its definitions if necessary.
28101 (CPP_SPEC): New define. Support processor specific predefines via
28102 %(cpp_cpu).
28103 (CC1_SPEC): New define. Support processor specific compiler
28104 options via %(cc1_cpu).
28105 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
28106 -static.
28107
28108 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28109
28110 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
28111 between sed's -e flag, and the open-quote following it.
28112 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28113
28114 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
28115 Jeffrey A Law (law@cygnus.com)
28116
28117 * varasm.c (assemble_start_function): Remove the function
28118 from the pending weak decls list when we define a function.
28119 (assemble_variable): Similarly for variables.
28120 (weak_finish): Ignore items on the list with a NULL name.
28121 (remove_from_ending_weak_list); New function to "remove" an item
28122 from the pending weak declarations list.
28123
28124 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28125
28126 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
28127
28128 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
28129
28130 * c-lex.c (GETC): Redefine to call getch.
28131 (UNGETC): Redefine to call put_back.
28132 (putback_buffer): New structure type.
28133 (putback): New static structure.
28134 (getch): New function.
28135 (put_back): New function.
28136 (yylex): Replace unused bytes from bad multibyte character.
28137
28138 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
28139
28140 * cpplib.c (do_define): Cast `alloca' return value.
28141 (do_include, do_undef, do_pragma): Likewise.
28142 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
28143 values.
28144 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
28145 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
28146
28147 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
28148
28149 * sparc.md (abstf2): This should be an expand.
28150 (split after abstf2_notv9): Fix mode.
28151 (abstf2_hq_v9): New pattern.
28152 (abstf2_v9): Only use when no hard quad.
28153 (absdf2_v9): Fix if target is not the same as source.
28154 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
28155 Add correct output constraints.
28156
28157 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
28158
28159 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
28160 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
28161
28162 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
28163
28164 * mips.h (mips_output_conditional_branch): New function.
28165 (mips_adjust_insn_length): Likewise.
28166 (ASSEMBLER_SCRATCH_REGNUM): New macro.
28167 (ADJUST_INSN_LENGTH): Likewise.
28168 * mips.c (print_operand): Add `F' and `W' for floating-point
28169 comparison opcodes.
28170 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
28171 are now in bytes.
28172 (mips_adjust_insn_length): New function.
28173 (mips_output_conditional_branch): New function.
28174 * mips.md (length): Adjust attribute definition to handle
28175 conditional branches. Change lengths to bytes, rather than
28176 instructions throughout. Remove length attribute from
28177 instructions whose length is four bytes, and rely on the default
28178 instead.
28179 (dslot): Fix typo in comment.
28180 Reword conditional branch patterns to use
28181 mips_output_conditional_branch.
28182
28183 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
28184
28185 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
28186 (LIB_SPEC): Likewise.
28187 Link with -lprof1_r for -g/-pg.
28188
28189 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28190
28191 * loop.c (check_dbra_loop): Fix change of Jan 19.
28192
28193 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
28194
28195 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
28196 (STARTFILE_SPEC): Define, override the svr4.h version.
28197 (ENDFILE_SPEC): Likewise.
28198
28199 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
28200
28201 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
28202 * fixinc/fixincl.x: Regenerated.
28203 * fixinc/inclhack.sh: Regenerated.
28204
28205 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28206
28207 * sh.c (barrier_align): Don't return early for normal branch/barrier
28208 when optimizing for SH2.
28209
28210 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
28211
28212 * i386/udk.h (LINK_SPEC): Correct linker search path for
28213 system libraries.
28214
28215 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28216
28217 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
28218 (braf_label_ref_operand): Delete.
28219 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
28220 * sh.md (casesi_jump_2): Operand1 is now the inside of a
28221 label_ref, and has no predicate.
28222 The patten has a predicate to guard against invalid substitutions.
28223 (dummy_jump): Delete.
28224 (casesi): Update use of casesi_jump_2.
28225
28226 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28227
28228 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
28229 *fixinc/fixincl.x: regenerate
28230 *fixinc/inclhack.sh: regenerate
28231
28232 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
28233
28234 * dwarf2out.c (add_incomplete_type): New fn.
28235 (gen_struct_or_union_type_die): Call it.
28236 (retry_incomplete_types): New fn.
28237 (dwarf2out_finish): Call it.
28238
28239 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
28240
28241 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
28242 current block starts with a CODE_LABEL and ends with a CALL and
28243 we can not find all the argument setup instructions for the CALL.
28244
28245 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
28246
28247 Revert this change:
28248 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28249 something is a candidate for optimize_bit_field_compare.
28250
28251 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28252
28253 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
28254
28255 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
28256
28257 * alpha.c (override_options): Thinko in last patch.
28258
28259 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
28260 (LIB_SPEC): Recognize -pthread.
28261
28262 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
28263
28264 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
28265 definition in config/arm/coff.h
28266 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
28267
28268 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28269
28270 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
28271 fixes that need "file=xxx\n" prepended before invocation
28272 (start_fixer - new): starting the fixer process is complex enough
28273 to warrent its own routine. It prepends the "file=xxx\n" stuff.
28274 (process): uses the new routine; omit usage of putenv()
28275 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
28276 * fixinc/fixincl.x: regenerate
28277
28278 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
28279
28280 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
28281 and version #s (1.1 -> 2.96) as needed.
28282 * README.g77: Kill way out of date file in the toplevel directory.
28283
28284 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
28285
28286 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
28287 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
28288 * configure: Rebuilt.
28289 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
28290 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
28291 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
28292 (SWITCH_TAKES_ARG): Likewise.
28293 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
28294 * config/t-freebsd: Moved from config/i386/ so it can used for all
28295 FreeBSD targets.
28296
28297 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
28298
28299 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
28300
28301 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
28302
28303 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
28304 * configure: Rebuilt.
28305
28306 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
28307
28308 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
28309 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
28310 * rs6000/rs6000.c (rs6000_file_start): Use putc.
28311 (rs6000_output_load_toc_table): Same.
28312 (output_prolog, output_mi_thunk): Same.
28313 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
28314 (ASM_GLOBALIZE_LABEL): Use putc.
28315
28316 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
28317
28318 * alpha.md (reload_*_help): New patterns and splitters.
28319 (reload_*): Use them.
28320 (mov[qh]i): Likewise.
28321
28322 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
28323
28324 * cccp.c (handle_directive): Handle backslash-newlines in quoted
28325 strings correctly.
28326
28327 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
28328
28329 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
28330
28331 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
28332
28333 * flow.c (mark_regs_live_at_end, insn_dead_p,
28334 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
28335 and HARD_FRAME_POINTER_REGNUM special treatment if reload
28336 hasn't run or the frame pointer is needed.
28337 * haifa-sched.c (attach_deaths): Likewise.
28338 * sched.c (attach_deaths): Likewise.
28339
28340 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
28341
28342 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
28343 calculate_can_reach_end returns nonzero.
28344
28345 * configure.in (native gas tests): Search for an assembler in the
28346 same manner that the installed compiler will.
28347 * configure: Rebuilt.
28348 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
28349
28350 * alias.c (find_base_term): Improve handling of addresses
28351 constructed from binary operations.
28352
28353 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
28354
28355 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
28356
28357 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
28358
28359 * function.h (cleanup_label, frame_offset): Declare.
28360 (tail_recursion_label, tail_recursion_reentry): Likewise.
28361 (arg_pointer_save_area, rtl_expr_chain): Likewise.
28362 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
28363 (tail_recursion_label, tail_recursion_reentry): Likewise.
28364 (arg_pointer_save_area, rtl_expr_chain): Likewise.
28365
28366 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
28367
28368 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
28369 defined.
28370 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
28371 (MAX_OFILE_ALIGNMENT): Define.
28372
28373 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
28374
28375 * fixincl.c: Replace local include scheme with #includes of
28376 gansidecl.h and system.h.
28377 * procopen.c: Likewise.
28378 * server.c: Likewise.
28379
28380 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
28381
28382 * i386/t-dgux (EXTRA_PARTS): Add crti.o
28383 (crti.o): Add build rule and dependencies.
28384 * fixinc/fixinc.dgux: Use modified _int_varargs.h
28385
28386 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28387
28388 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
28389 (LIB_LINUX_SPEC): Likewise.
28390 (LIB_LINUX_SPEC): Add support for -pthread
28391 (CPP_OS_LINUX_SPEC): Likewise.
28392 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
28393 specified.
28394
28395 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
28396
28397 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
28398 conditional move.
28399 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
28400 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
28401 for IEEE math and CC_FCOMI.
28402 (put_jump_code): No IEEE if CC_FCOMI is set.
28403
28404 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28405
28406 * fold-const.c (fold_truthop): Make the field reference unsigned
28407 when converting a single bit compare.
28408
28409 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28410
28411 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
28412
28413 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
28414
28415 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
28416 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
28417 version did.
28418
28419 * reload.c (push_reload): Do not call remove_address_replacements
28420 when presented with identical optional reloads.
28421
28422 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
28423
28424 * alpha.h (MASK_FIX, TARGET_FIX): New.
28425 (MASK_*): Reorganize constants.
28426 (CPP_AM_FIX_SPEC): New.
28427 (TARGET_SWITCHES): Add FIX.
28428 (EXTRA_SPECS): Likewise.
28429 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
28430 (SECONDARY_MEMORY_NEEDED): Likewise.
28431 (REGISTER_MOVE_COST): Likewise.
28432 * alpha.c (override_options): Add FIX support. Always use
28433 ALPHA_TP_PROG for ev6.
28434 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
28435 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
28436 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
28437
28438 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
28439
28440 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28441 something is a candidate for optimize_bit_field_compare.
28442
28443 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
28444
28445 * gcc.texi (Passes): Document branch-shortening.
28446 * invoke.texi (Debugging Options): Document the fact that `-dp'
28447 outputs length information for instructions.
28448
28449 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
28450
28451 * flow.c: Revert previous delta.
28452
28453 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
28454
28455 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
28456 FRAME_POINTER_REGNUM.
28457 (mark_set_1): Ditto.
28458 (mark_used_regs): Ditto.
28459
28460 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
28461
28462 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
28463 (GOT_PCREL): New macro. Define to 1 if not already defined.
28464 * arm/elf.h (GOT_PCREL): Define to 0.
28465 * arm.c (arm_finalize_pic): Take into account the setting of
28466 GOT_PCREL.
28467
28468 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
28469
28470 * output.h (STRIP_NAME_ENCODING): Provide default definition.
28471 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
28472
28473 * flow.c (mark_set_1): Do not record BLKmode stores as dead
28474 store elimination candidates.
28475
28476 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
28477
28478 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
28479 TARGET_GAS.
28480
28481 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
28482
28483 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
28484 Add use of x-aix41-gld.
28485
28486 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
28487
28488 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
28489 (ASM_OUTPUT_DESTRUCTOR): Define.
28490
28491 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
28492
28493 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
28494 last CODE_LABEL in a loop if we have previously passed a jump
28495 to the top of the loop.
28496
28497 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
28498
28499 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
28500 applying Philip's patch.
28501
28502 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
28503
28504 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
28505 are not VAR_DECLs.
28506
28507 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
28508
28509 * loop.c (strength_reduce): Grow reg_single_usage as needed.
28510
28511 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
28512
28513 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
28514 Also remove a useless comment.
28515
28516 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28517
28518 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
28519
28520 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
28521
28522 * collect2.c (main): Only generate import or export file and add
28523 to link arguments if non-empty. Use xmalloc not alloca.
28524 (write_{export,import}_file): Delete.
28525 (write_aix_file): New function.
28526 (locatelib): Use xmalloc not malloc.
28527 (GCC_OK_SYMBOL): Do not check type if aix64.
28528
28529 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
28530
28531 Based on patch by Scott Bambrough and Pat Beirne:
28532 * config/arm/arm.c (making_const_table): New variable.
28533 * config/arm/arm.h (making_const_table): Declare.
28534 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
28535 appropriate.
28536 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
28537 Keep track of when we are building the constant table.
28538
28539 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
28540
28541 * config/arm/arm.c (arm_override_options): Fix erroneous warning
28542 message.
28543
28544 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
28545
28546 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
28547 defined.
28548
28549 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
28550
28551 * tm.texi (FUNCTION_ARG): Correct description of a stack element
28552 in a PARALLEL.
28553
28554 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
28555
28556 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
28557
28558 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28559
28560 * rs6000.c (output_mi_thunk): Enable full support again.
28561
28562 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28563
28564 * sh.h (BRANCH_COST): Define.
28565
28566 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
28567
28568 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
28569
28570 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
28571
28572 * function.c (assign_stack_local): Align stack slot propertly.
28573 (assign_outer_stack_local): Likewise.
28574
28575 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
28576
28577 * expr.h (lang_expand_constant): Declare.
28578 * toplev.c (lang_expand_constant): Define it.
28579 * varasm.c (output_constant): Use it.
28580
28581 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28582
28583 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
28584 Change function definitions to K&R style.
28585
28586 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28587
28588 * fixinc/fixincl.c: We must not ignore SIGCLD now.
28589
28590 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
28591
28592 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
28593 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
28594 (several places): omit static initialization
28595 (process): use single fd, since only the read fd is used
28596 * fixinc/gnu-regex.c: define 'const' away, if not supported
28597 * fixinc/procopen.c(several places): omit static initialization
28598 * fixinc/server.c: define 'volitile' away, if not supported
28599
28600 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28601
28602 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
28603 asm_fprintf and %L to generate the label name.
28604 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
28605 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
28606
28607 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
28608
28609 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
28610 insn for a conditional jump can not be found.
28611
28612 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
28613
28614 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
28615 on variables in specific sections other than .sbss and .sdata.
28616
28617 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
28618
28619 * stmt.c (expand_return): Call start_cleanup_deferral and
28620 end_cleanup_deferral around conditional code.
28621
28622 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28623
28624 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
28625 filename lists. Utilizes new "krstr" AutoGen function.
28626 * fixinc/fixincl.x: Rebuilt.
28627
28628 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
28629
28630 * i386.c (output_float_compare): Avoid GNU-C extensions.
28631
28632 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
28633
28634 * version.c: Bump to distinguish mainline tree from the
28635 gcc-2.95 branch.
28636
28637 See ChangeLog.1 for earlier changes.
This page took 1.101524 seconds and 6 git commands to generate.