]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
integrate.c (expand_inline_function): Don't put a virtual register into the reg map.
[gcc.git] / gcc / ChangeLog
CommitLineData
e2a5f96b
R
1Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
2
3 * integrate.c (expand_inline_function): Don't put a virtual
4 register into the reg map.
5
6 * function.c (fixup_var_refs_1): If force_operand didn't put
7 the address into the target, move it there.
8
2be510b8
MM
92001-01-04 Mark Mitchell <mark@codesourcery.com>
10
11 Special-case tree_decl/tree_list allocations.
12 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
13 (OBJECT_SIZE): New macro.
14 (NUM_EXTRA_ORDER): Likewise.
15 (extra_order_size_table): New variable.
16 (NUM_ORDERS): New macro.
17 (objects_per_page_table): New variable.
18 (object_size_table): New variable.
19 (G.pages): Use NUM_ORDERS to bound the array.
20 (G.page_tails): Likewise.
21 (DIV_ROUND_UP): Remove.
22 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
23 (alloc_page): Use OBJECT_SIZE.
24 (size_lookup): Don't make it const.
25 (ggc_alloc): Use OBJECT_SIZE.
26 (ggc_set_mark): Likewise.
27 (ggc_get_size): Likewise.
28 (init_ggc): Set up the object_size_table, objects_per_page_table,
29 and adjust size_lookup.
30 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
31 (ggc_pop_context): Use NUM_ORDERS.
32 (clear_marks): Likewise.
33 (sweep_pages): Likewise.
34 (poison_pages): Likewise.
35 (ggc_print_statistics): Use OBJECT_SIZE.
36
bf1aaf0a
RK
37Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
38
39 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
40 Only call array_size_for_constructor if last field and array type
41 with no upper bound.
42
ceebdb09
PB
432001-01-04 Philip Blundell <philb@gnu.org>
44
45 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
46 from bit 31 downwards, if this requires no more insns.
47 (count_insns_for_constant): New helper function for above.
48
1fd4f141
AO
492001-01-04 Alexandre Oliva <aoliva@redhat.com>
50
51 * gencodes.c (output_predicate_decls): Remove empty initializer.
52
3af4c257
MM
532001-01-04 Mark Mitchell <mark@codesourcery.com>
54
55 * tree.c (copy_node): Remove documentation about obstacks.
56 (buidl1): Check that nobody tries to build 2-argument nodes this
57 way.
58
30472f46
KG
592001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
60
a41d0855
KG
61 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
62 fp_high_losum_p.
63
30472f46
KG
64 * gencodes.c (output_predicate_decls): Fill empty initializer
65 braces.
66
c3843cea
JJ
672001-01-04 Jakub Jelinek <jakub@redhat.com>
68
69 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
70 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
71 or -MM.
72 (do_include): Handle missing headers like cpp0.
73 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
74 paths with first include pathname. Don't strcat to uninitialized
75 string.
76
f4d578da
BS
772001-01-04 Bernd Schmidt <bernds@redhat.com>
78
79 * regrename.c (regrename_optimize): Don't rename from frame pointer
80 if frame_pointer_needed.
81 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
82 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
83 (ia64_reorg): Use it instead of scheduling if ! optimize.
84 (errata_emit_nops): Properly call asm_noperands.
85 (ia64_sched_reorder): Finish cycle if we see an asm.
86 (ia64_variable_issue): Clear scheduling state after asms.
87
03b9ab42
NB
882001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
89
90 * cpp.texi: Update for -MT.
91 * cppinit.c (initialize_dependency_output): Add a default
92 target if none has been given already.
93 (no_tgt, OPT_MT): New.
94 (cpp_handle_option): Handle -MT. Update -M etc.
95 * cpplib.h (struct cpp_options): Remove deps_target.
96 * gcc.c (cpp_options): Handle -MT.
97 * mkdeps.c (struct deps): Move from mkdeps.h.
98 (deps_calc_target): Rename deps_add_default_target. Add a
99 default target if none has been specified already.
100 * mkdeps.h (struct deps): Move to mkdeps.c.
101 (deps_calc_target): Rename deps_add_default_target.
102
584ef5fe
RH
1032000-01-03 Richard Henderson <rth@redhat.com>
104
105 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
106 Remove dead code.
107 * c-typeck.c (push_init_level): Move checks for flexible array
108 members and zero length arrays ...
109 (pop_init_level): ... here. Silently discard empty initializations.
110 Remove dead code.
111 * varasm.c (output_constructor): Update for sizeof change to
112 zero-length arrays.
113
114 * extend.texi (Zero Length): Clarify semantics.
115
04d430b8
AO
1162001-01-03 Alexandre Oliva <aoliva@redhat.com>
117
118 * configure.in (tm.h): Include isns-codes.h last.
119 * configure: Rebuilt.
120
e55a9a6e
RH
1212001-01-03 Richard Henderson <rth@redhat.com>
122
123 * config/alpha/alpha.md (addvsi3, addvdi3): New.
124 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
125
fa5db828
FS
1262001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
127
128 * tradcpp.c (main): Make sure finclude() is called with a valid
129 indepth value while handling -include.
130
975d393a
AO
1312001-01-03 Alexandre Oliva <aoliva@redhat.com>
132
133 * gencodes.c (output_predicate_decls): New function.
134 (main): Call it.
135 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
136 even if it is not the first time machmode.h is #included.
137 * config/sh/sh.c (fpul_operand): Declare MODE argument.
138 * tm.texi (PREDICATE_CODES): Document predicate declarations.
139 * gcc.texi (Copyright): Added 2001.
140
03dc0325
JM
1412001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
142
143 * c-common.c (c_common_lang_init): New function. Warn if format
144 warning options which only have effects when used with -Wformat
145 are used without -Wformat.
146 * c-common.h (c_common_lang_init): Declare.
147 * c-lang.c (lang_init): Call c_common_lang_init.
148 * objc/objc-act.c (lang_init): Call c_common_lang_init.
149
955be633
JM
1502001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
151
152 * configure.in: Check for the mktemp command.
153 * configure: Regenerate.
154 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
155 $TEMP. Create temporary files with mktemp, if available at
156 configure time; otherwise use set -C. Remove temporary files
157 before exit.
158
fd939e46
JM
1592001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
160
161 * configure.in: Require at least texinfo 4.0. Check for whether
162 Pod::Man is sufficiently recent to regenerate GCC manpages.
163 * configure: Regenerate.
164 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
165 on #!.
166 (GENERATED_MANPAGES): Define.
167 (generated-manpages): New target. Depend on cpp.1 as well as
168 gcov.1.
169 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
170 configure to generated-manpages or empty) rather than on the
171 manpages directly. Remove execute permission from installed
172 gcov.1 as well as cpp.1.
173 * cpp.1, gcov.1: Regenerate.
174
819c1488
KG
1752001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
176
177 * builtins.c (expand_builtin_strncmp): Use host_integerp and
178 tree_low_cst. Allow using cmpstrsi in more cases.
179
f07d22aa
RK
180Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
181
182 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
183 sized types.
184
7ccb4206
AO
185Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
186
187 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
188 * Makefile.in (HOST_CFLAGS): Mention build-make.
189
a338321e
RK
190Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
191
192 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
193 as JUMP_INSN.
194
432fd734
BS
1952001-01-01 Bernd Schmidt <bernds@redhat.com>
196
197 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
198 a REG rtx.
199
2be28ee2
BS
200 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
201 callers changed.
202
713f41f9
BS
203 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
204 reg_base_value and reg_known_value arrays.
205 (init_alias_analysis): Add more cases to detect known values.
206 * sched-deps.c (deps_may_trap_p): New function.
207 (sched_analyze_2): Use it.
208
8f8d8d6e
AO
2092001-01-03 Alexandre Oliva <aoliva@redhat.com>
210
211 * combine.c (simplify_shift_const): Even if we're sign-extracting,
212 don't discard an ASHIFTRT if we're shifting in a wider mode.
213
232a132f
JDA
2142000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
215
216 * toplev.c (rest_of_compilation): Don't print basic block information
217 when CFG isn't up to date.
218
19723541
ME
2192001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
220
221 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
222 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
223 (UNALIGNED_SHORT_ASM_OP): Define.
224 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
225
55560b9d
MM
2262001-01-02 Mark Mitchell <mark@codesourcery.com>
227
228 * fold-const.c (fold_convert): Fix typo.
229
4f78b9a8
RH
2302001-01-02 Richard Henderson <rth@redhat.com>
231
232 * c-common.h (ASM_INPUT_P): New.
233 * c-parse.in (asm): Set it when needed.
234 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
235 existance of an operand.
236
e2134eea
JH
237Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
238
239 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
240 (dwarf2out_frame_debug_expr): Likewise.
241 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
242
2b589241
JH
243Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
244
245 * i386.c (ix86_split_to_parts): Return number of part required;
246 handle TFmodes.
247 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
248 TFmodes.
249 (ix86_split_long_move): Use number of part returned
250 by ix86_split_to_parts
251 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
252 New macros.
253 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
254 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
255 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
256 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
257 (ALIGN_MODE_128): Add TFmode.
258 (IS_STACK_MODE): Likewise.
259 (HARD_REGNO_NREGS): TFmode needs 3 registers.
260 (HARD_REGNO_OK): Support TFmodes.
261 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
262 * i386.md (scheduler definitions): Use memory operand to determine
263 fst/fld instructions; use mode attribute to determine real mode of
264 the instruction.
265 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
266 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
267
330aa9a3
MM
2682001-01-02 Mark Mitchell <mark@codesourcery.com>
269
270 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
271
e0339ef7
RK
272Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
273
274 * expr.c (store_constructor_field): Update ALIGN before calling
275 store_constructor.
276
d07bec95
JO
2772001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
278
279 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
280 host_integerp.
281
3719d27b
JO
2822001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
283
284 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
285 incomplete type.
286
6d1c15cc
RK
287Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
288
289 * c-decl.c (start_function): Don't warn on third parameter to main.
290
16b97540
KG
2912001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
292
293 * tsystem.h: Define HAVE_DECL_GETOPT.
294
8515dc81
PB
2952001-01-02 Philip Blundell <pb@futuretv.com>
296
297 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
298 of input operand.
299
6f85e02b
RH
3002001-01-02 Richard Henderson <rth@redhat.com>
301
302 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
303
21c7361e
AJ
3042001-01-02 Andreas Jaeger <aj@suse.de>
305
306 * c-decl.c (c_decode_option): Remove support of
307 -Wmissing-noreturn.
308
309 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
310 (W_options): Add -Wmissing-noreturn here.
311
312 * flow.c: Define lang_missing_noreturn_ok_p.
313 (check_function_return_warnings): Use it.
314
315 * c-common.h: Declare lang_missing_noreturn_ok_p.
316
317 * c-lang.c (c_missing_noreturn_ok_p): New function.
318 (lang_init): Set lang_missing_noreturn_ok_p.
319
320 * invoke.texi (Warning Options): Document this.
321
5c25e11d
PE
3222000-12-27 Phil Edwards <pme@sources.redhat.com>
323
324 * extend.texi (C++ Extensions): New node for C++ attributes;
325 describe init_priority and com_interface.
326 * invoke.texi: Remove -finit-priority as it now has zero effect.
327 * install.texi: Fix xref syntax.
328 * md.texi: Likewise.
329
d1608933
RK
330Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
331
e428b937
RK
332 * config.gcc (sparc64-wrs-vxworks*): New case.
333 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
334
3276910d
RK
335 * config/sparc/sparc.c (sparc_override_options): Do support different
336 pointer and architecture size.
337 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
338 (POINTERS_EXTEND_UNSIGNED): Define.
339 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
340 (FUNCTION_MODE): Define to be Pmode.
341 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
342
d1608933
RK
343 * function.c (expand_function_end): Properly handle DECL_RESULT
344 and copy when ptr_mode != Pmode.
345 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
346
c2e42aab
KG
3472001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
348
349 * c-common.c (c_common_nodes_and_builtins): Set prototype
350 parameters for __builtin_fputs, __builtin_fputc and
351 __builtin_fwrite. Don't declare plain fputc as a builtin.
352
5b1ef594
JDA
3532001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
354
355 * loop.c (add_label_notes): Increment the label usage count when
356 a note is added to an insn which refers to a CODE_LABEL.
357 * gcse.c (add_label_notes): Likewise.
358
021d7b26
AJ
3592001-01-01 Andreas Jaeger <aj@suse.de>
360
361 * loop.c (scan_loop): Use xmalloc to allocate movables.
362
cf011243
AO
3632001-01-01 Alexandre Oliva <aoliva@redhat.com>
364
365 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
366 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
367 * reload1.c (REGISTER_MOVE_COST): Likewise.
368 * regclass.c (REGISTER_MOVE_COST): Likewise.
369 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
370 dimension. Adjust all users.
371 (init_reg_sets_1): Iterate on all modes.
372 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
373 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
374 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
375 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
376 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
377 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
378 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
379 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
380 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
381 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
382 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
383 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
384 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
385 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
386 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
387 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
388 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
389 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
390 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
391 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
392 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
393 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
394 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
395 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
396 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
397 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
398 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
399
e38fe8e0
BS
4002001-01-01 Bernd Schmidt <bernds@redhat.com>
401
402 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
403 arg VARIES_P. Call it with extra arg.
404 (true_dependence): Likewise.
405 * rtl.h (rtx_addr_can_trap_p): Declare.
406 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
407 prototypes.
408 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
409 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
410 pic offset table register if it's zero. All callers changed.
411 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
412
7a2bf7af
RK
413Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
414
7d797311
RK
415 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
416 STRING_POOL_ADDRESS_P.
417
4746e0fe
RK
418 * config/sparc/sparc.c (input_operand): Properly test for short op.
419
fbd68e5d
RK
420 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
421 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
422 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
423 * config/sparc/elf.h: No longer include sol2.h.
424 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
425 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
426
7a2bf7af
RK
427 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
428
14be28e5
MH
4292001-01-01 Michael Hayes <mhayes@redhat.com>
430
86fee241
MH
431 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
432 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
433 (record_initial): Likewise.
434 * unroll.c (copy_loop_body, loop_iterations): Likewise.
435 (remap_split_bivs): Likewise.
436
21c7361e 4372001-01-01 Michael Hayes <mhayes@redhat.com>
86fee241 438
b2735d9a
MH
439 * loop.c (loop_ivs_free): New function.
440 (strength_reduce): Break out from...
441
4422001-01-01 Michael Hayes <mhayes@redhat.com>
21c7361e 443
14be28e5
MH
444 * loop.h (struct iv): New.
445 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
446 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
447 'reg_biv_class' fields with 'regs' and 'n_regs'.
448 (struct ivs): Rename 'loop_iv_list' field to 'list'.
449 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
450 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
451
1d2215fe
AO
4522000-12-31 Alexandre Oliva <aoliva@redhat.com>
453
454 * resource.c (mark_referenced_resources): Abort() before
455 attempting to mark a pseudo register.
456 (mark_set_resources): Likewise.
457
8b634749
MH
4582001-01-01 Michael Hayes <mhayes@redhat.com>
459
460 * loop.h (REG_IV_CLASS): New accessor macro.
461 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
462 * unroll.c (REG_IV_CLASS): Likewise.
21c7361e 463
b4ae5201
RK
464Sun Dec 31 19:20:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
465
466 * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
467 (loc_descriptor_from_tree, case SAVE_EXPR): New.
468
e304a8e6
MH
4692001-01-01 Michael Hayes <mhayes@redhat.com>
470
471 * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
472 (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
473 (prescan_loop): Set pre_header_has_call in loop_info.
474 * loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
475 (struct loop_info): Add `pre_header_has_call'.
21c7361e 476
6ec73c7c
MH
477 * loop.c (loop_bivs_find): Break out from strength_reduce.
478 (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
479 (loop_givs_check, loop_biv_eliminable_p): Likewise.
21c7361e 480
b8056b46
MH
481 * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
482 (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.
21c7361e 483
8529a489
MH
484 * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
485 * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
486 direct access to uid_luid array.
487 * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.
488
6ec92010
MH
489 * loop.h (struct loop_movables): New.
490 (LOOP_MOVABLES): New.
491 (struct loop_info): Add movables field.
492 * loop.c (struct movables): Delete. Replace all uses
493 with struct loop_movables.
494 (the_movables): Delete. Replace all uses with movables
495 field in loop_info.
496 (loop_movables_add, loop_movables_free): New functions.
497 (scan_loop): Use xmalloc instead of alloca for movables.
498 Call loop_movables_free.
6ec92010 499
685efa54
MH
500 * loop.c (debug_loops): New.
501
e0cf507b
PB
5022000-12-31 Philip Blundell <philb@gnu.org>
503
504 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
505 operands.
506
711d4bb3
RH
5072000-12-30 Richard Henderson <rth@redhat.com>
508
509 * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
510 Initialize variables properly for DBX_LBRAC_FIRST.
511
27fb3e16
RK
5122000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
513
514 * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.
515
019fa094
KG
5162000-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
517
518 * builtins.c (validate_arglist): New function, use it.
519
f18969c0
PB
5202000-12-30 Philip Blundell <philb@gnu.org>
521
21c7361e 522 * config/arm/arm.c (arm_expand_prologue): Fix typos in error
f18969c0
PB
523 message and comment. Note location of testcase for an unhandled
524 situation.
525
2df88e9f
JO
5262000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
527
528 * defaults.h (BUILD_VA_LIST_TYPE): New definition.
529 * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
530 is a copy, not an alias.
531
1da68f56
RK
5322000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
533
b367c416
RK
534 * calls.c (calls_function_1, case CONSTRUCTOR): New case.
535
1da68f56
RK
536 * alias.c (alias_sets_conflict_p): New function.
537 (mems_in_disjoint_alias_sets_p): Use it.
538 (readonly_fields_p): Moved from expr.c; check for record type.
539 (objects_must_conflict_p): New function.
540 * calls.c (expand_call): Use assign_temp as much as possible, use
541 readonly variant if assigned once, and don't set memory attributes.
542 (emit_library_call_value_1, store_one_arg): Likewise.
543 * integrate.c (expand_inline_function): Likewise.
544 * stmt.c (expand_asm_operands, expand_return): Likewise.
545 * expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
546 (store_field, save_noncopied_parts, expand_expr): Likewise.
547 (expand_expr_unaligned): Likewise.
548 (readonly_fields_p): Moved to alias.c.
549 (safe_from_p): Rework handling of SAVE_EXPR.
550 MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
551 * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
552 (assign_stack_for_temp): Use objects_must_confict_p.
553 Set all memory attributes from type, if specified.
554 (mark_temp_slot): Mark TYPE field.
555 * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
556 (objects_must_conflict_p): Likewise.
557
558 * stmt.c (expand_decl): Don't use assign_stack_temp in error case.
559 (add_case_node): No need to copy nodes anymore.
21c7361e 560
b94544e4
AO
5612000-12-30 Alexandre Oliva <aoliva@redhat.com>
562
563 * config/sh/sh.c (split_branches): Don't dereference re-computed
564 `beyond' before checking it's non-NULL.
565
b57d6be8
RL
5662000-12-29 Robert Lipe <robertl@sco.com>
567
568 Remove COFF support from i?86-pc-sco3.2v5.
569 * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
570 (TARGET_ELF): Now always true.
571 (SUBTARGET_SWTICHES: )Remove -mcoff.
572
573 * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
574 MULTILIB_EXCEPTION): Nuke coff.
575 (CRTSTUFF_T_CFLAGS_S): Deleted.
576 (TARGET_LIBGCC2_CFLAGS): Added.
577
e1b4533c
AO
5782000-12-29 Alexandre Oliva <aoliva@redhat.com>
579
580 * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
581 twice. Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
582 modifies them.
583
08394eef
BS
5842000-12-29 Bernd Schmidt <bernds@redhat.com>
585
b5d37c6f
BS
586 * ia64.c (ia64_expand_load_address): Accept additional scratch
587 register argument. All callers & prototype changed.
588 Use scratch register when generating load_symptr insns.
589 * ia64.md (movdi_symbolic): Clobber a scratch register. Use it
590 when calling ia64_expand_load_address.
591 (movdi): Generate movdi_symbolic with additional operand.
592 (load_gprel64): Use pic_offset_table_rtx instead of (reg:DI 1).
593 (load_symptr): Likewise. Use additional operand as a scratch
594 register instead of generating it here.
595
de10dbf5 596 * basic-block.h: Add a comment.
6152c64a
BS
597 * flow.c (PROP_POSTRELOAD): New macro.
598 (update_life_info): Add it to prop_flags.
599 (mark_set_1): If it is set, compute REG_N_SETS for the original
600 register number of a hard reg.
601
08394eef
BS
602 * emit-rtl.c (gen_raw_REG): New function.
603 (gen_rtx_REG, gen_reg_rtx, init_emit_once): Use it instead of
604 gen_rtx_raw_REG.
605 * print-rtl.c (print_rtx): Print ORIGINAL_REGNO.
606 * final.c (alter_subreg): Update it.
607 * regrename.c (do_replace): Likewise. Use gen_raw_REG.
608 * rtl.def (REG): Update comment.
609 * rtl.h (X0UINT, ORIGINAL_REGNO): New macros.
610 (gen_raw_REG): Declare.
611
e1a132c6
RK
6122000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
613
5538d8a0
RK
614 * tree.c (get_set_constructor_bits): Use host_integerp and
615 tree_low_cst.
616
c2fd66f4
RK
617 * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
618
e1a132c6
RK
619 * toplev.c (main): Call xmalloc_set_program_name.
620 * gcc.c (main): Likewise.
621
5184f7c5
PB
6222000-12-29 Philip Blundell <philb@gnu.org>
623
624 * config/arm/arm.c (arm_override_options): Fix typo in warning
625 message.
626
c17f08e1
RH
6272000-12-29 Richard Henderson <rth@redhat.com>
628
629 * config/alpha/alpha.c (alpha_expand_block_move): Initialize
630 src_align and dst_align in bits. Do unaligned quadword loads
631 if possible for BWX too.
632 (alpha_expand_block_clear): Initialize align in bits. Track
633 small leading offsets into a larger alignment. Play games with
634 stq_u for large 4-byte aligned blocks. Use load/mask/store
635 for appropreately aligned heads and tails.
636
f523247a
AO
6372000-12-29 Alexandre Oliva <aoliva@redhat.com>
638
639 * function.c (assign_parms): Convert arguments passed by
640 reference to the right mode.
641
fb8b656c
GK
6422000-12-28 Geoffrey Keating <geoffk@redhat.com>
643
644 * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
645 on the condition of a FOR statement, so that it gets typechecked
646 and optimised.
647
6b5273c3
AO
6482000-12-29 Alexandre Oliva <aoliva@redhat.com>
649
68940175
AO
650 * c-decl.c (grokdeclarator): Prevent crash in case of overflow in
651 array size.
652
6b5273c3
AO
653 * calls.c (emit_library_call_value_1): Add to call_fusage the
654 stack slot assigned to argument passed by reference.
655
328a8516
JO
6562000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
657
658 * toplev.h (extern really_sorry): Remove extern declaration for
659 nonexistent function.
660
212addfa
JO
6612000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
662
663 * varasm.c (initializer_constant_valid_p): Indicate subtraction of
664 pointers to the same string constant is absolute.
665
26f6672d
JM
6662000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
667
668 * c-common.c (enum format_type): Add strfmon_format_type.
669 (decl_attributes): Handle format attributes strfmon and
670 __strfmon__.
671 (FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
672 FMT_FLAG_EMPTY_PREC_OK): Define.
673 (format_char_info): Update comment for flag_chars.
674 (format_flag_spec): Add skip_next_char.
675 (format_kind_info): Add left_precision_char.
676 (printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
677 format_types): Update for these new structure members and flags.
678 (time_char_table): Make const.
679 (strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
680 monetary_char_table): New.
681 (format_types): Add details of strfmon formats.
682 (init_function_format_info): Create default attribute for strfmon.
683 (check_format_info_main): Check the new flags. Handle
684 skip_next_char and left precision.
685 * toplev.c (documented_lang_options): Update description of
686 -Wformat.
687 * extend.texi: Document strfmon format attributes. Document
688 attribute forms such as __printf__. Clarify format_arg attribute
689 documentation.
690 * invoke.texi (-Wformat): Update for strfmon formats.
691
df7978d9
AJ
6922000-12-28 Andreas Jaeger <aj@suse.de>
693
694 * expmed.c (store_bit_field): Fix last patch.
695
78362efb
AO
6962000-12-28 Alexandre Oliva <aoliva@redhat.com>
697
698 * config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
699 the trailing `__'.
700
3ba35c91 7012000-12-28 Alan Lehotsky <lehotsky@tiac.net>
5da1e2c4
AL
702
703 * expmed.c (store_bit_field): Correctly compute smallest mode that
704 is sufficient to contain all bits we are storing.
705
6385a28f
KG
7062000-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
707
708 * builtins.c (build_function_call_expr): New function. Use it
709 everywhere in lieu of manually constructing a CALL_EXPR.
710
57ec4709
CC
7112000-12-27 Chandrakala Chavva <cchavva@redhat.com>
712
713 * calls.c (store_one_arg): If parm is passed both in stack and in
714 register and offset is greater than reg_parm_stack_space, split
21c7361e 715 the offset and call emit_push_insn().
57ec4709 716
37f25cb9
NC
7172000-12-27 Nick Clifton <nickc@redhat.com>
718
719 * ifcvt.c (noce_emit_store_flag): Handle jump insns that are
720 PARALLEL.
721
715e2ab1
AO
7222000-12-27 Alexandre Oliva <aoliva@redhat.com>
723
724 * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
725 flag.
726
47986760
BK
7272000-12-27 Bruce Korb <bkorb@gnu.org>
728
729 * fixinc/Makefile.in: fix for ancient Bourne shell
730 * fixinc/Makefile.BEOS: obsolete
731 * fixinc/Makefile.DOS: obsolete
46159c15 732 * fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing
47986760 733
0a1bb917
BS
7342000-12-27 Bernd Schmidt <bernds@redhat.com>
735
736 * sched-deps.c (get_condition, conditions_mutex_p): New functions.
737 (add_dependence): Use them to avoid adding unnecessary dependencies
738 between conditionally executed insns.
739 (sched_analyze_1, sched_analyze_2, sched_analyze_insn): Don't free
740 dependency lists if current insn is a COND_EXEC.
21c7361e 741
6cbadf36
GK
7422000-12-27 Geoffrey Keating <geoffk@redhat.com>
743
744 * config/rs6000/rs6000.md (define_attr "length"): Correct
745 calculation.
746
a3027199
KH
7472000-12-26 Kazu Hirata <kazu@hxi.com>
748
3e39bdb9
KH
749 * config/h8300/h8300.c: Fix a comment typo.
750 (get_shift_alg): Fix a typo in the assembly code for 12-bit
751 ASHIFTRT in HImode. Do not output extra whitespace after one line
752 of assembly code. Output a tab after an opcode instead of a
753 space.
754 (emit_a_shift): Output a tab after an opcode instead of a space.
a3027199 755
33d5e2dc
MM
7562000-12-23 Marek Michalkiewicz <marekm@linux.org.pl>
757
758 * config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
759 out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
760 %4 in output templates, do not modify operands passed by the caller.
761
29b5ca41
JM
7622000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
763
764 * builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
765 Don't define.
766 * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
767 BUILT_IN_LLABS and BUILT_IN_IMAXABS.
768 * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
769 builtin labs, llabs and imaxabs.
770 (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
771 and BUILT_IN_IMAXABS.
772
fc2aaf30
JM
7732000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
774
775 * c-common.c (builtin_function_2): New function.
776 (c_common_nodes_and_builtins): Use it to define each pair (foo,
777 __builtin_foo) of builtins in one place.
778
0692b39c
JM
7792000-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
780
781 * gccbug.in: Add libgcj and preprocessor categories.
782
394411d5
BS
7832000-12-22 Bernd Schmidt <bernds@redhat.com>
784
785 * config/ia64/ia64.c (itanium_reorder): Only schedule stops in
786 the final scheduling pass.
787
b53ef1a2
NC
7882000-12-22 Nick Clifton <nickc@redhat.com>
789
6f7ebcbb
NC
790 * config/arm/arm.h (struct machine_function): Add new field
791 'lr_save_eliminated'.
792 * config/arm/arm.c (arm_compute_save_reg_mask): Do not include the
793 link register if its save has been eliminated.
794 (output_arm_prologue): Mention if the save of the link register
795 has been eliminated.
796 (output_arm_epilogue): Rename 'live_regs_mask' to
797 'saved_regs_mask'.
798 Test 'saved_regs_mask' for the link register, not regs_ever_live.
799 (arm_expand_prologue): If the link register has not been saved set
800 lr_save_eliminated and emit a USE to prevent later passes from
801 scavenging it.
21c7361e 802
b53ef1a2
NC
803 * dwarf2out_frame_debug_expr: Allow the (scratch) frame
804 pointer to be initialised from the stack pointer plus a
805 constant.
806
fe08a886
BS
8072000-12-22 Bernd Schmidt <bernds@redhat.com>
808
809 * regrename.c (struct du_chain): New field "earlyclobber".
810 (enum scan_actions): Remove unused entry "note_reference".
811 (enum scan_actions_name): Likewise.
812 (note_sets, clear_dead_regs, merge_overlapping_regs): New static
813 functions.
814 (regrename_optimize): Use them to compute unavailable regs; get
815 rid of the more simpleminded code we used to have here.
816 Use a tick array to ensure registers are allocated in a more
817 round-robin way. Disable code that only optimizes registers
818 that were seen more than once.
819 (referenced_regs): Remove variable.
820 (scan_rtx_reg): New arg "earlyclobber". All callers changed.
821 Store its value in newly generated du_chain structures.
822 Add new du_chains at the end, not the start, of the list.
823 Don't handle the "note_reference" action.
824 (scan_rtx): New arg "earlyclobber". All callers changed.
825 (build_def_use): Lose code to keep track of referenced regs.
826
fc608b03
KG
8272000-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
828
829 * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
830
831 * fp-bit.h (usi_to_float): Add prototype.
832
83ab3907
KG
833 * i386.c (ix86_expand_builtin): Delete unused label.
834
835 * dwarf2out.c (file_info_cmp): Prototype.
fc608b03 836 (dwarf2out_line): Hide variable `old_in_use'.
21c7361e 837
fc608b03
KG
838 * objc-act.c (objc_fatal): Delete.
839
840 * sched-vis.c (visualize_stall_cycles): Remove unused variable.
841
842 * system.h (getopt): Fix error in last change.
843
844 * varasm.c (assemble_trampoline_template): Constify.
845
a545190e
JM
8462000-12-22 Jason Merrill <jason@redhat.com>
847
848 * collect2.c (main): Use auto_demangling.
849
fd81f5f6
AO
8502000-12-22 Alexandre Oliva <aoliva@redhat.com>
851
852 * function.c (assign_parms): Update parm's DECL_INCOMING_RTL
853 when optimizing PARALLEL to REG.
854
98c17df2
GS
8552000-12-22 Graham Stott <grahams@redhat.com>
856
857 * reload.c (update_auto_inc_notes): New, broken out from ...
858 (find_reloads_address_1): ... use here, also correct possible
859 use of uninitialised reloadnum.
860
78abb7b1
DB
8612000-12-21 David O'Brien <obrien@FreeBSD.org>
862
863 * config/freebsd.h (LIB_SPEC): remove -kthread option.
864
1fb9c5cd
MH
8652000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
866
867 * resource.c (mark_set_resources): Use MARK_SRC_DEST for
868 PRE_MODIFY and POST_MODIFY cases.
869
870 * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
871
6e4fcc95
MH
8722000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
873
874 * md.texi (Looping Patterns): New node.
875
a60b5209
JM
8762000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
877
878 * gcc.texi, cpp.texi: Update last-updated dates.
879
c165f94f
CC
8802000-12-21 Chandrakala Chavva <cchavva@redhat.com>
881
882 * varasm.c (output_addressed_constants): Use language specific
883 expander on unknown nodes.
884
98c17df2 8852000-12-21 Graham Stott <grahams@redhat.com>
f7cfa78d
GS
886
887 * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
888
2130b7fb
BS
8892000-12-21 Bernd Schmidt <bernds@redhat.com>
890
891 * Makefile.in (out_object_file): Depend on sched-int.h.
892 * rtl.h (single_set_1): New macro.
893 (single_set_2): Renamed from single_set_1 and extra argument added.
894 * rtlanal.c (single_set_2): Likewise.
895
896 * config/ia64/ia64-protos.h (get_bundle_name, ia64_issue_rate,
897 ia64_adjust_cost, ia64_sched_init, ia64_sched_finish,
898 ia64_sched_reorder, ia64_sched_reorder2, ia64_variable_issue):
899 Declare.
900 * config/ia64/ia64.c: Include "sched-int.h".
901 (hard_regno_rename_ok): Also disallow renaming from the various
902 reg_save_* regs.
903 (ia64_safe_itanium_requiers_unit0, ia64_safe_itanium_class,
904 ia64_safe_type, init_insn_group_barriers, group_barrier_needed_p,
905 safe_group_barrier_needed_p, fixup_errata): New static functions.
906 (rtx_needs_barrier): Handle bundle selector and cycle display
907 insns.
908 (emit_insn_group_barriers): Accept additional FILE * arg. All
909 callers changed. Rework to only generate stop bits between
910 basic blocks that haven't been inserted by scheduling.
911 (struct bundle, struct ia64_packet): New structures.
912 (NR_BUNDLES, NR_PACKETS): New macros.
913 (bundle, packets, type_names): New static arrays.
914 (ia64_final_schedule): New variable.
915 (ia64_single_set, insn_matches_slot, ia64_emit_insn_before,
916 gen_nop_type, finish_last_head, rotate_one_bundle, rotate_two_bundles,
917 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
918 find_best_packet, itanium_reorder, dump_current_packet, schedule_stop):
919 New static functions.
920 (ia64_issue_rate, ia64_sched_init, ia64_sched_reorder,
921 ia64_sched_finish, ia64_sched_reorder2, ia64_variable_issue): New
922 functions.
923 (ia64_reorg): Perform a final scheduling pass.
924 * config/ia64/ia64.h (CONST_COSTS): Slightly increase SYMBOL_REF costs.
925 (MAX_CONDITIONAL_EXECUTE, ADJUST_COST, ISSUE_RATE, MD_SCHED_INIT,
926 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_FINISH,
927 MD_SCHED_VARIABLE_ISSUE): Define macros.
928 (ia64_final_schedule): Declare variable.
929 * config/ia64/ia64.md (attr itanium_class): Add some more classes.
930 (attr type): Account for them.
931 (itanium_requires_unit0): New attribute.
932 (function units): Rewrite.
933 (some splitters): Don't create scheduling barriers here.
934 (gr_spill_internal, gr_restore_internal): Don't predicate the
935 pseudo-op.
936 (nop_m, nop_i, nop_f, nop_b, nop_x, cycle_display, cycle_display_1,
937 bundle_selector): New patterns.
938 (insn_group_barrier): Now has an operand.
21c7361e 939
5f446d21
DD
9402000-12-21 DJ Delorie <dj@redhat.com>
941
942 * dwarf2out.c (simple_decl_align_in_bits): new
943 (field_byte_offset): Try both the type align and the
944 decl align, use whichever works, preferring the type align.
945
e98df22a
JM
9462000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
947
948 * gccbug.in: Fix typo.
949
9d680205
BK
9502000-12-20 Benjamin Kosnik <bkoz@redhat.com>
951
952 * Makefile.in (gcc_gxx_target_include_dir): Use instead of
953 build_tooldir and libstdcxx_incdir.
954
01c70ab0
RL
9552000-12-20 Robert Lipe <robertlipe@usa.net>
956
957 * haifa-sched.c (schedule_block): Provide empty source statement
958 if not MD_SCHED_REORDER2.
959
4b01bd16
RH
9602000-12-20 Richard Henderson <rth@redhat.com>
961
962 * rtl.h (REG_NON_LOCAL_GOTO): New.
963 * rtl.c (reg_note_name): Update.
964 * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
965 * builtins.c (expand_builtin_longjmp): Likewise.
966 * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
967 not emit an edge.
968
dfaf5abf
MM
9692000-12-20 Marek Michalkiewicz <marekm@linux.org.pl>
970
971 * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
972 Do not output undefined opcodes where source or destination register
973 overlaps with modified pointer register. Handle (X + d) addresses.
974 * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
975 in alternatives with memory operand.
976
64094f6a
RH
9772000-12-20 Richard Henderson <rth@redhat.com>
978
a545190e
JM
979 * c-typeck.c (build_asm_stmt): New, broken out from ...
980 (c_expand_asm_operands): ... here. Just do rtl expansion.
981 (c_expand_return): Return the new stmt node.
982 (c_start_case, do_case): Likewise.
983 * c-common.c (c_expand_expr_stmt): Likewise.
984 * c-common.h: Update declarations.
985 * c-tree.h: Likewise.
986 * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
987 * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
988 (nested_function, notype_nested_function): Likewise.
989 (compstmt): Return the compound statement not the binding level.
990 (lineno_labeled_stmt): Simplify.
991 (lineno_stmt, lineno_label): Set STMT_LINENO.
992 (stmt, label): Return the new stmt node.
64094f6a 993
fd7bcd6f
BS
9942000-12-20 Bernd Schmidt <bernds@redhat.com>
995
18e720b3
BS
996 * Makefile.in (OBJS): Add sched-ebb.o.
997 (sched-ebb.o): New rule.
998 (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H).
999 (haifa-sched.o): Depend on insn-flags.h.
1000 * haifa-sched.c: Include "insn-flags.h".
1001 (priority): Don't access BLOCK_NUM, use the new contributes_to_priority
1002 callback.
1003 * rtl.h (schedule_ebbs): Declare.
1004 * sched-int.h (struct sched_info): Add new members
1005 contributes_to_priority and compute_jump_reg_dependencies.
1006 * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies):
1007 New functions.
1008 (region_sched_info): Add them.
1009 * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h".
1010 * sched-ebb.c: New file.
1011 * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs.
1012
fd7bcd6f
BS
1013 * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly
1014 handle all relational operators.
1015
99c8c61c
AO
10162000-12-20 Alexandre Oliva <aoliva@redhat.com>
1017
1018 * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
1019 * tm.texi: Document it.
1020
1eddfef1
BK
10212000-12-19 Benjamin Kosnik <bkoz@redhat.com>
1022
1023 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
1024 instead of gcc_tooldir.
1025
051a55e0
JDA
10262000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1027
1028 * system.h (getopt): Update prototype to match include/getopt.h.
1029
b088998d
JDA
10302000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1031
1032 From Jeff Law.
1033 * pa.c (basereg_operand): Simplify.
1034
288c2c9e
BS
10352000-12-19 Bernd Schmidt <bernds@redhat.co.uk>
1036
79c2ffde
BS
1037 * haifa-sched.c (rm_line_notes): Arguments are now head and tail,
1038 not block number. All callers and prototype changed.
1039 (set_priorities): Likewise.
1040 (save_line_notes): Add head and tail arguments; all callers and
1041 prototype changed.
1042 (restore_line_notes): Likewise. Don't crash on insns generated
1043 during scheduling.
1044 (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros.
1045 Call MD_SCHED_INIT with additional argument.
1046 When starting a new cycle, emit cycle_display insns if available.
1047 Don't stop scheduling when encountering a JUMP_INSN, but add another
1048 call to schedule_more_p in the inner loop.
1049 Call MD_SCHED_REORDER2 after scheduling an insn.
1050 Call MD_SCHED_FINISH once all insns are scheduled.
1051 (sched_init): Compensate for the fact that get_block_head_tail
1052 doesn't include leading notes.
1053 * sched-deps.c (free_deps): Free vectors here.
1054 * sched-rgn.c (compute_block_backward_dependencies): Not here.
1055 (last_was_jump): New static variable.
1056 (schedule_more_p): Test it.
1057 (init_ready_list): Initialize it.
1058 (can_schedule_ready_p): Set it if we have a JUMP_INSN.
1059
1060 * config/i386/i386.h (MD_SCHED_INIT): Add new arg.
1061 * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg.
1062 * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg.
1063
1064 * md.texi (cycle_display): Document.
1065 * tm.texi (MD_SCHED_INIT): Document new arg.
1066 (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document.
1067
288c2c9e
BS
1068 * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite
1069 to use different representation. All callers changed.
1070 (and_reg_cond): Renamed from nand_reg_cond; caller changed.
1071 (init_propagate_block_info): Don't test flags to determine
1072 whether to compute conditional lifetimes.
1073 Adjust code for new representation of conditional lifetimes.
1074 (mark_regno_cond_dead): Similar adjustment.
1075 (free_reg_cond_life_info): Similar adjustment.
1076 (elim_reg_cond): New function.
1077 (flush_reg_cond_1): Use it.
1078
6a69653a
CM
10792000-12-19 Catherine Moore <clm@redhat.com>
1080
1081 * reload1.c (reload_combine): Take multi-hard-regs into account
1082 when processing CALL_INSN_FUNCTION_USAGE.
1083
3c0b7970
JM
10842000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
1085
1086 * invoke.texi (-print-search-dirs): Make references to cpp refer
1087 to cpp0 instead.
1088
9d2dc7da
KG
10892000-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1090
1091 * fold-const.c (tree_expr_nonnegative_p): Treat truth values as
1092 non-negative.
1093
d0b6af71
R
1094Tue Dec 19 00:37:08 2000 J"orn Rennecke <amylaar@redhat.com>
1095
1096 * reload.c (push_reload): When using a dying register for the reload
1097 register in an in-out reload, use outmode if wider than inmode.
1098
3173ca64
JM
10992000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
1100
1101 * config/d30v/d30v.h (EXIT_BODY): Update comment.
1102
9e9b9afe
JM
11032000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1104
1105 * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
1106 * tm.texi (EXIT_BODY): Update documentation.
1107 * config/freebsd.h, config/netware.h, config/arm/coff.h,
1108 config/arm/conix-elf.h, config/arm/unknown-elf.h,
1109 config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
1110 sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
1111 commented out) and associated comments.
1112
20d380b1
JM
11132000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1114
1115 * c-common.c (STD_C9L, ADJ_STD): Define.
1116 (printf_length_specs, scanf_length_specs): Mark "ll" as standard
1117 STD_C9L.
1118 (T99_LL): Rename to T9L_LL.
1119 (T99_ULL): Rename to T9L_ULL.
1120 (print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
1121 instead of T99_LL and T99_ULL.
1122 (check_format_info_main): Use ADJ_STD on all format standard
1123 versions being compared.
1124 * c-common.h: Declare warn_long_long.
1125 * c-tree.h: Don't declare warn_long_long.
1126
2cb5082c
JM
11272000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1128
1129 * COPYING: Update to current
1130 ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
1131 to 19yy as example year in copyright notice).
1132
665ad678
NB
11332000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1134
1135 * c-lex.c (cb_file_change): Treat in_system_header as strictly
1136 boolean (0 or 1).
1137
3cab4133
NB
11382000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1139
1140 * cppmain.c: Update print.lineno with -P.
1141
eb1f4d9d
NB
11422000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1143
1144 * c-lex.c: s/change_file/file_change.
1145 * cpplib.h: Similarly.
1146 * cppmain.c: Similarly.
1147 * fix-header.c: Similarly.
1148 * cppfiles.c (stack_include_file): Pass the buffer location and
1149 size to cpp_push_buffer. Generate the file_change callback,
1150 so that sysp is already set.
1151 * cpphash.h: Add _cpp_do_file_change.
1152 * cpplib.c (do_line): Set buffer->sysp directly. Generate the
1153 file_change callback after setting sysp.
1154 (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
1155 here.
1156 (cpp_push_buffer): Don't generate a callback. Clear sysp.
1157 (cpp_pop_buffer): Clean up logic.
1158
e2187d3b
BK
11592000-12-18 Benjamin Kosnik <bkoz@redhat.com>
1160
1161 * configure.in (gcc_gxx_include_dir): Simplify.
1162 (libstdcxx_incdir): Export.
1163 * configure: Regenerate.
1164 * Makefile.in (PREPROCESSOR_DEFINES): Add in
1165 GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
1166 (libstdcxx_incdir): Add.
1167 * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
1168
851ef036
NB
11692000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1170
1171 * c-lex.c (lex_lineno): Remove.
1172 (init_c_lex, c_lex): Remove lex_lineno.
1173 (cb_change_file): Update lineno correctly, both before calling
1174 push_srcloc and before leaving the function.
1175 (cb_def_pragma): Set lineno before outputting diagnostics.
1176
f2aca197
RK
1177Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1178
1179 * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
1180 Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
1181 Use print_node_brief to print bounds.
1182
49fe13f6
NB
11832000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1184
1185 * cpplib.h (struct cpp_reader): Remove references to string_pool
1186 and temp_string_pool.
1187 * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
1188 ident_pool in place.
1189 * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
1190 save_comment, cpp_token_as_text): Similarly.
1191 * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
1192 * cppmacro.c (make_number_token, builtin_macro, lock_pools,
1193 unlock_pools, stringify_arg, paste_tokens): Similarly.
1194
ed972b14
RK
1195Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1196
1197 * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
1198 (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
1199 (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
1200
e108653c
RE
12012000-12-17 Richard Earnshaw <rearnsha@arm.com>
1202
1203 * Makefile.in (check-po): Use $(MAKE).
1204 (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
1205
dfbf62ec
NB
12062000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1207
1208 * cppmain.c (check_multiline_token): New function.
1209 (scan_buffer): Use it.
1210 (cb_change_file): Restructure to avoid warning.
1211 * cpperror.c (print_location): Initialize col.
1212
04650349 12132000-12-14 Philipp Thomas <pthomas@suse.de>
ed972b14 1214
04650349
PT
1215 * protoize.c (main): Correctly set locale categories.
1216 * gcc.c (main): Likewise.
1217 * cppmain.c (general_init): Likewise.
1218 * toplev.c (main): Likewise.
1219 * gcov.c (main): Likewise.
1220 * collect2.c (main): Likewise.
1221
60291474
KG
12222000-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1223
1224 * c-common.c (c_common_nodes_and_builtins): Create a
1225 cstring_endlink, use it. Rename int_ftype_string_string to
1226 int_ftype_cstring_cstring, string_ftype_string_int to
1227 string_ftype_cstring_int, and string_ftype_string_string to
1228 string_ftype_cstring_cstring. Prefer sizetype_endlink and
1229 int_endlink to manually recreating them. Fix the prototype
1230 set for __builtin_strspn/__builtin_strcspn.
1231
cf14485b
MM
12322000-12-12 Marek Michalkiewicz <marekm@linux.org.pl>
1233
1234 * config/avr/avr.c (out_set_stack_ptr): Update comment.
1235 (print_operand): Add support for %~ and %o.
1236
8e0ed3b5
HB
12372000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1238
1239 * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
1240
ad2a084d
NB
12412000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1242
1243 * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
1244 * cpperror.c (print_containing_files): Get right line number.
1245 (print_location): Output column of 1 if 0.
1246 * cppfiles.c (stack_include_file): cpp_push_buffer handles
1247 the callback.
1248 * cpphash.h (_cpp_do_file_change): No longer external.
1249 * cpplib.c (do_file_change): Now local to cpplib.c.
1250 (do_line): Fake a buffer stack for preprocessed files.
1251 (cpp_push_buffer): Create a file_change callback. Handle faked
1252 buffers.
1253 (cpp_pop_buffer): Similarly.
1254 * cpplib.h: BUF_FAKE: New buffer type.
1255 * cppmain.c: Update to handle correct file renaming where a
1256 #line is the first line of the main file, and produce only
1257 the renamed file, not the original file, as output.
1258
3b67042a
MH
12592000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1260
1261 * config/c4x/c4x.md: Remove redundant @s from output patterns.
1262
9f416fac
MH
12632000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1264 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1265
1266 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
1267
1268 * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
1269
1270 * config/c4x/c4x.c (c4x_init_pragma): New function.
1271 (c_lex_func): New variable.
1272 (c4x_parse_pragma): Use c_lex_func.
1273
94eebed9
MH
12742000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1275 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1276
1277 * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
1278 to c4x_init_builtins.
1279
1280 * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
1281
21c7361e 1282 * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
94eebed9 1283 (c4x_output_ascii): Fix.
21c7361e 1284
66f77154 12852000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8a119a7d 1286 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
66f77154 1287
8a119a7d
MH
1288 * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
1289
1290 * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
1291 (c4x_expand_builtin): Likewise.
1292
1293 * config/c4x/c4x.c (c4x_init_builtins): New function.
1294 (c4x_expand_builtin): Likewise.
1295
1296 * config/c4x/c4x.md (floatunsqihf2): New pattern.
1297 (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
1298 (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
1299 (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
1300 (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
1301
13022000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21c7361e 1303
66f77154
MH
1304 * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
1305 * libgcc2.c (__absvsi2): Use Wtype and DWtype.
1306 (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
1307 (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
1308
f11009b7
AO
13092000-12-16 Alexandre Oliva <aoliva@redhat.com>
1310
1311 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
1312 statement in do/while(0).
1313
2bed3391
JH
1314Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz>
1315
1316 * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
1317 lshrhi3_cmpno): Remove redundant '@' from the template.
1318
1319 * i386.md (cmpstrsi_1): Fix type of the compare.
1320
1321 * genattrtab.c (attr_rtx_cost): New function.
1322 (simplify_test_exp): Avoid overactive inlining; use temporary
1323 obstacks for tests.
1324
23cb454a
RK
1325Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1326
b372743a
RK
1327 * diagnostic.c (finish_abort): Deleted.
1328 (fatal): Add code from finish_abort.
1329 (error_recursion, fancy_abort): Call fatal, not finish_abort.
1330 (trim_filename): Remove leading "../".
1331 * diagnostic.h (finish_abort): Deleted.
1332 * toplev.c (crash_signal): Call fatal, not finish_abort.
1333
67011d81
RK
1334 * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
1335 as if size were variable.
1336
23cb454a
RK
1337 * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
1338
3244472d
NB
13392000-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
1340
1341 * tradcpp.c: T_WARNING: New.
1342 (do_warning): New function.
1343 (finclude): Skip past the newline and increase the line number
1344 before calling output_line_command.
21c7361e
AJ
1345 (do_line): Skip the new line after output_line_command. Don't
1346 pre-decrement the line number.
3244472d 1347
112550d3
DN
13482000-12-15 Diego Novillo <dnovillo@redhat.com>
1349
1350 * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
1351 _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
1352
be768055
JJ
13532000-12-15 Jakub Jelinek <jakub@redhat.com>
1354
1355 * gcc.c (cpp_options): Pass -fno-operator-names.
1356 * cpplib.h (struct cpp_options): Add operator_names.
1357 * cppinit.c (cpp_create_reader): Initialize it.
1358 (initialize_builtins): If -fno-operator-names, don't add
1359 C++ alternate operator names.
1360 (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
1361 (cpp_handle_option): Clear operator_names.
1362
745b9093
JM
13632000-12-15 Jason Merrill <jason@redhat.com>
1364
1365 * jump.c (jump_optimize_1): Don't delete the line note after the
1366 prologue even if it seems redundant.
1367
1368 * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
1369 on all insns used to adjust the stack.
1370
ad334b51
JH
1371Fri Dec 15 15:32:16 MET 2000 Jan Hubicka <jh@suse.cz>
1372
1373 * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
1374 hardreg<->reg moves.
1375
29360e56
JH
1376Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz>
1377
1378 * genrecog.c (add_to_sequence): Remove special case for
1379 const_int_operand.
1380 (maybe_both_true): Return 1 when falling out of sequence when
1381 trying to find common possition in the pattern.
1382
dde068d9
JH
1383Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz>
1384
1385 * integrate.c (copy_rtx_and_substitute): Copy mode too.
1386
0bf7d71a
JH
1387Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz>
1388
1389 * flow.c (notice_stack_pointer_modification_1): Cleanup.
1390
b33493e3
AO
13912000-12-15 Alexandre Oliva <aoliva@redhat.com>
1392
1393 * function.c (adjust_trampoline_addr): New function.
1394 (trampoline_address): Call it instead of round_trampoline_addr().
1395 * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
1396
0eda43ce
ZW
13972000-12-14 Zack Weinberg <zack@wolery.stanford.edu>
1398
1399 * cppfiles.c (hack_vms_include_specification): Delete function
1400 (not used since 1998).
1401
4cf37b4a
R
1402Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
1403
1404 * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
1405
1d79fd2c
JW
14062000-12-14 Jim Wilson <wilson@redhat.com>
1407
1408 * alias.c (get_alias_set): Call record_component_aliases for
1409 COMPLEX_TYPE.
1410 (record_component_aliases): Handle COMPLEX_TYPE.
21c7361e 1411
e7103ad2
KG
14122000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1413
1414 * fixinc/gnu-regex.c: Disable NLS.
1415
34c659e2
RH
14162000-12-14 Richard Henderson <rth@redhat.com>
1417
c53f9f5b
RH
1418 * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
1419 comparison operands when that would create non-canonical rtl.
1420
34c659e2
RH
1421 * config/i386/i386.md (umulsi3_highpart): Remove * from name.
1422 (smulsi3_highpart): Likewise.
1423
7667db9b
NB
14242000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1425
1426 * gcc.c (cpp_options): Add -remap.
1427
196a37f4
NB
14282000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1429
1430 * gcc.c (cpp_options): Update to use '&'.
1431 (struct switchstr): Change type of validated to save space.
1432 New member 'ordering'.
21c7361e 1433 (handle_braces, validate_switches): Update to handle '&'.
196a37f4 1434
413c5c85
LB
14352000-12-13 Laurynas Biveinis <lauras@softhome.net>
1436
1437 * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
1438 found in a header.
1439 * fixinc/fixincl.x: regenerated.
1440
60a8ab96
DD
14412000-12-13 DJ Delorie <dj@redhat.com>
1442
1443 * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
1444
14dd2402
TT
14452000-12-13 Tom Tromey <tromey@redhat.com>
1446
1447 * gcc.c (handle_braces): Handle %{<S*} spec correctly.
1448
e68a6ce1
AO
14492000-12-13 Alexandre Oliva <aoliva@redhat.com>
1450
1451 * function.c (assign_parms): Optimize incoming PARALLELs into
1452 REGs if possible.
1453
2629a114
BK
14542000-12-13 Bruce Korb <bkorb@gnu.org>
1455
1456 * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
1457 that cannot handle bi-directional pipes, viz. BeOS and DOS.
1458 * fixinc/fixlib.h(IGNORE_ARG): new macro
1459 (STATIC): define for all of fixinc to use
1460 * fixinc/fixfixes.c(*): eliminate unused arg warnings
1461 * fixinc/fixtests.c(*): ditto
1462 * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
1463 * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
1464 warning. Also, eliminate the ``#ifdef emacs'' stuff.
1465 (re_syntax_options): make global as it is declared so.
1466 * fixinc/mkfixinc.sh: process the argument list more consistently
1467 (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
1468 * fixinc/procopen.c(globals): include "fixlib.h" for std defs
1469 * fixinc/server.c(globals): ditto
1470 * fixinc/server.h(defines): ditto
1471
c36ee164
NB
14722000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1473
1474 * tradcpp.c (special_symbol): Improve test for definedness,
1475 though it is still not perfect.
1476 (do_define): Don't define illegal macro names.
21c7361e 1477
a65fd88a
AH
14782000-12-07 Aldy Hernandez <aldyh@redhat.com>
1479
1480 * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
1481 if changing into .bss section.
1482 * config/mips/elf64.h: same.
1483 * config/mips/iris6.h: same.
1484 * config/mips/netbsd.h: same.
1485 * config/mips/openbsd.h: same.
1486
8767c894
NB
14872000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1488
1489 * cppfiles.c (read_name_map): Return null if open () fails.
1490 (remap_filename): Simplify logic. Add ICE if it doesn't work
1491 as expected. Perform secondary lookup attempt on base filename
1492 only.
1493
a4377974
JH
1494Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz>
1495
1496 * flow.c (notice_stack_pointer_modification_1): Notice midifications
1497 using PRE_MODIFY and POST_MODIFY.
1498
c6d79bee
JH
1499Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
1500
1501 * genoutput.c (process_template): Add sanity checking for '@' templates.
1502
b639e6e4
BS
15032000-12-13 Bernd Schmidt <bernds@redhat.co.uk>
1504
1505 * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
1506 varrays.
1507
ffc0eab4
MS
15082000-12-12 Mike Stump <mrs@wrs.com>
1509
1510 * Makefile.in (distclean): Remove safe-ctype.c as well.
1511
1df97aa4
BL
15122000-12-12 Brad Lucier <lucier@math.purdue.edu>
1513
1514 * tradcpp.c (do_error): Cast difference of pointers to int
1515 for error message.
1516
edf11378
FS
15172000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1518
1519 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
1520 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
1521
4d4182e9
JW
15222000-12-12 Jim Wilson <wilson@redhat.com>
1523
1524 * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
1525
2b60b2cb
AO
15262000-12-12 Alexandre Oliva <aoliva@redhat.com>
1527
1528 * configure.in: Simplify language enabling/disabling code.
1529 * configure: Rebuilt.
1530 * ch/config-lang.in (target_libs): Set.
1531 (build_by_default): Set to no.
1532 * cp/config-lang.in (target_libs): Set.
1533 * f/config-lang.in (target_libs): Set.
1534 * java/config-lang.in (target_libs): Set.
1535 * objc/config-lang.in (target_libs): Set.
1536
e793c609
NB
15372000-12-12 Neil Booth <neil@daikokuya.demon.co.uk>
1538
1539 * tradcpp.c (enum node_type): Add T_ERROR.
1540 (do_error): New function.
1541 (directive_table): Add #error handler.
1542
d033a989
FS
15432000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1544
1545 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
1546 for powerpc*-*-*.
1547 * configure: Regenerated.
edf11378 1548 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
d033a989
FS
1549 * config/rs6000/rs6000.c (rs6000_unique_section): Use
1550 STRIP_NAME_ENCODING.
1551
27b18383
JL
1552Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com)
1553
1554 * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
1555 * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
1556 changes.
1557
37082e6d
BK
15582000-12-11 Bruce Korb <bkorb@gnu.org>
1559
1560 * fixinc/fixincl.tpl: initialize all fields for warnings
1561 * fixinc/fixincl.x: regenerate
1562
4028c3a1
NB
15632000-12-11 Neil Booth <neilb@earthling.net>
1564
1565 * tradcpp.h: For tradcpp, NUL is not whitespace.
1566
af57885e
NB
15672000-12-11 Neil Booth <neilb@earthling.net>
1568
1569 * fix-header.c (read_scan_file): Macro expansion is not a file buffer.
1570
89741abb
MM
15712000-12-05 Marek Michalkiewicz <marekm@linux.org.pl>
1572
1573 * config/avr/avr.c (compare_condition, compare_sign_p): New functions.
1574 (compare_diff_p, compare_eq_p): Call compare_condition.
1575 (out_tsthi, out_tstsi): Call compare_sign_p.
1576 (avr_progmem_p): Check for error_mark_node.
1577
0bda4760
NB
15782000-12-11 Neil Booth <neilb@earthling.net>
1579
745b9093
JM
1580 * cpperror.c (print_location): New function.
1581 (print_containing_files): Simplify.
1582 (_cpp_begin_message): Simplify and use print_location.
1583 * cppfiles.c (stack_include_file): Update.
1584 (_cpp_pop_file_buffer): Update.
1585 * cpphash.h (struct cpp_buffer): New members
21c7361e 1586 include_stack_listed and type.
745b9093
JM
1587 * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
1588 (run_directive): Take buffer type. cpp_push_buffer cannot fail.
1589 (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
1590 handle_assertion): Update.
1591 (cpp_push_buffer): Take a buffer type and file name.
1592 (cpp_pop_buffer): Update. Clear include_stack_listed.
1593 * cpplib.h (input_stack_listing_current): Remove.
1594 (enum cpp_buffer_type): New.
1595 (cpp_push_buffer): New prototype.
1596 * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
1597 * fix-header.c (read_scan_file): Update.
0bda4760 1598
800635c1
RL
15992000-12-10 Robert Lipe <robertlipe@usa.net>
1600
1601 * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
1602 in html version.
1603
c0ea284b
RH
16042000-12-10 Richard Henderson <rth@redhat.com>
1605
1606 * genrecog.c (find_operand): Handle 'V' format code.
1607 (find_matching_operand): New.
1608 (validate_pattern): Accept '=' for an in-out operand if there
1609 is another operand with a matching constraint.
1610
1611 * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
1612 for op1 to op0.
1613
e06d5f0b
RH
16142000-12-10 Richard Henderson <rth@redhat.com>
1615
1616 * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
1617
7297e9fc
RH
16182000-12-09 Richard Henderson <rth@redhat.com>
1619
21c7361e 1620 * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
7297e9fc
RH
1621 STRICT_LOW_PART as SET_DEST have in-out constraints.
1622
e45046ae
JM
16232000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1624
1625 * c-common.c (check_function_format): Don't suggest adding format
1626 attributes to functions with no parameter to which to add them.
1627
8e56560e
NC
16282000-12-09 Nick Clifton <nickc@redhat.com>
1629
1630 * config/arm/arm.c (arm_expand_prologue): Mark the generated
1631 insn not the set as being DWARF2_FRAME_RELATED_P.
1632
193ad8c6
LB
16332000-12-09 Laurynas Biveinis <lauras@softhome.net>
1634
1635 * Makefile.in: use $(build_exeext) for all build
1636 system executable targets.
1637
6a52a2ef
LB
16382000-12-09 Laurynas Biveinis <lauras@softhome.net>
1639
1640 * install.texi: remove i[345]86-*-winnt3.5 section.
1641 * configur.bat: removed.
1642 * config/msdos: directory removed.
1643
28e0f040
NB
16442000-12-09 Neil Booth <neilb@earthling.net>
1645
c0ea284b
RH
1646 * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
1647 * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
1648 * cpplex.c (parse_identifier): Improve diagnostic.
1649 (_cpp_lex_token): Return unconditionally at the end of a directive.
1650 * cpplib.c (read_flag): Verify legality of each flag.
1651 (end_directive): Resotre pfile->skipping before skip_rest_of_line.
1652 (do_line): Use the new read_flag.
1653 * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
1654 check_macro_redefinition, parse_params): Rename var_args to
1655 variadic.
28e0f040 1656
1b32f732
JM
16572000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1658
1659 * .cvsignore: Add info files.
1660
17f4d7aa
LB
16612000-12-08 Laurynas Biveinis <lauras@softhome.net>
1662
1663 * config/winnt: Remove obsolete directory.
1664 * install.texi (Configurations): Remove obsolete documentation for
1665 Windows NT.
1666
17db6582
JM
16672000-12-08 Joseph S. Myers <jsm28@cam.ac.uk>
1668
1669 * configure.in: Don't define INSTALL_INFO.
1670 * configure: Regenerate.
1671 * Makefile.in (INSTALL_INFO): Remove.
1672 (info): Depend on info files in source directory.
1673 (cpp.info, gcc.info, c-tree.info): Build info files in source
1674 directory.
1675 (distclean): Don't remove info files.
1676 (maintainer-clean): Remove info files from source directory.
1677 (install-normal): Depend on install-info.
1678 (install-info): Install info files from source directory, if they
1679 exist.
1680 * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
1681
25fa8bdc
AO
16822000-12-08 Alexandre Oliva <aoliva@redhat.com>
1683
1684 * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
1685 before taking its NOTE_LINE_NUMBER.
1686
6d3d9133
NC
16872000-12-08 Nick Clifton <nickc@redhat.com>
1688
859230d4
NC
1689 * config/arm/arm.md (load_indirect_jump): Add pool ranges.
1690
6d3d9133
NC
1691 * extend.texi: Document ARM "interrupt" function attribute.
1692 Mention that the ARM also support the "naked" function
1693 attribute.
1694
1695 * config/arm/arm-protos.h (arm_current_func_type): Add
1696 prototype.
1697
1698 * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define.
1699 (struct machine_function): Add 'func_type' field.
1700 Define bit values for 'func_type' field.
1701 (ARM_FUNC_TYPE): New macro.
1702 (IS_INTERRUPT): New macro.
1703 (IS_VOLATILE): New macro.
1704 (IS_NAKED): New macro.
1705 (IS_NESTED): New macro.
1706 (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE.
1707
1708 * config/arm/arm.c (isr_attribute_args): New Structure. A
1709 list of "interrupt" function attribute modifiers.
1710 (arm_isr_value): New Function: Returns the type of the current
1711 interrupt function.
1712 (arm_compute_func_type): New Function: Computes the type of
1713 the current function.
1714 (arm_current_func_type): New Function: Returns the type of the
1715 current function.
1716 (use_return_insn): Use arm_current_func_type.
1717 (arm_valid_type_attribute_p): Accept "interrupt" function
1718 attribute.
1719 (arm_comp_type_attributes): Check "interrupt" attributes.
1720 (arm_valid_machine_decl): Accept "interrupt" function
1721 attribute.
1722 (arm_function_ok_for_sibcall): Do not allow interrupt
1723 functions to use sibcalls.
1724 (arm_naked_function_p): Delete.
1725 (print_multi_reg): Remove redundant parameter 'hat'.
1726 (arm_compute_save_reg_mask): New Function: Compute a bit mask
1727 of registers saved during the current function's prologue.
1728 (output_arm_return_instruction): Use arm_current_func_type.
1729 Generate return instruction when LR is not poppsed off the
1730 stack.
1731 (arm_volatile_func): Delete.
1732 (output_arm_prologue): Use arm_current_func_type and
1733 arm_compute_save_reg_mask.
1734 Note presernce of interrupt functions.
1735 (arm_output_epilogue): Use arm_current_func_type and
1736 arm_compute_save_reg_mask.
1737 (arm_expand_prologue): Use arm_current_func_type and
1738 arm_compute_save_reg_mask.
1739 (arm_init_machine_status): Initialise func_type field, if
1740 necessary.
1741 (thumb_expand_prologue): Use arm_current_func_type.
1742 (output_thumb_prologue): Use arm_current_func_type.
1743
2bff3fd5
BL
17442000-12-08 Brad Lucier <lucier@math.purdue.edu>
1745
c0ea284b 1746 * tradcpp.c (do_include): Make pointer differences 64-bit clean.
2bff3fd5 1747
cf9f5da0
R
1748Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com>
1749
1750 * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
1751 for multiplies.
1752
2e35898e
MS
17532000-12-07 Mike Stump <mrs@wrs.com>
1754
1755 * Makefile.in (distclean): Remove alloca.c hashtab.c.
1756
f6bbde28
ZW
17572000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1758
1759 * Makefile.in (HOST_RTL): Add safe-ctype.o.
1760 (safe-ctype.o): New rule.
1761 * system.h: Include safe-ctype.h, not ctype.h. No need to
1762 wrap ctype macros.
1763
1764 * cpphash.h: Zap IStable and related macros. Define is_* in
1765 terms of safe-ctype.h macros.
1766 * cppinit.c: Delete the IStable and all related code.
1767
1768 * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
1769 is_space arrays. Delete initialize_char_syntax. Change all
1770 references to the above arrays to use macros instead.
1771 * tradcpp.h: Define is_idchar, is_idstart, is_space, and
1772 is_nvspace in terms of safe_ctype.h's macros.
1773 * tradcif.y: is_idchar, is_idstart are macros not arrays.
1774
1775 * config/i370/i370.c, config/winnt/dirent.c,
1776 config/winnt/fixinc-nt.c, config/winnt/ld.c:
1777 Use uppercase ctype macros. If we included ctype.h,
1778 include safe-ctype.h instead.
1779
1780 * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test
1781 ISLOWER(c) before calling TOUPPER(c).
1782 * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
1783 * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to
1784 wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x).
1785
54d7f9aa
DD
17862000-12-07 DJ Delorie <dj@redhat.com>
1787
1788 * c-decl.c (grokdeclarator): preserve previous alignments when
1789 rebuilding array types.
1790
642ce434
NB
17912000-12-07 Neil Booth <neilb@earthling.net>
1792
f6bbde28
ZW
1793 * cppfiles.c (struct include_file): Move from cpphash.h.
1794 (_cpp_never_reread): New function.
1795 (open_file, read_include_file): Use it.
1796 (stack_include_file): Set the buffer's sysp according to the
1797 path in which the file was found.
1798 (find_include_file): Don't set sysp.
1799 (cpp_make_system_header, actual_directory): Update.
1800 (_cpp_execute_include): Do #include_next lookup handling here,
1801 not in cpplib.c. Use _cpp_never_reread.
1802 * cpphash.h (struct_include_file): Remove.
1803 (struct cpp_buffer): New member sysp.
1804 (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
1805 (_cpp_never_reread): New.
1806 * cpplib.c (read_line_number): Rename read_flag. Rework slightly.
1807 (end_directive): Clear line_extension flag.
1808 (_cpp_handle_directive): Set line_extension flag for #number.
1809 (do_include_next): Handle path lookup in _cpp_execute_include.
1810 (do_line): Cleanup to use read_flag. Don't allow flags in #line.
1811 (_cpp_do_file_change): Update.
1812 (do_pragma_once): Use cpp_never_reread. Clean up.
1813 * cpplib.h (struct lexer_state): New member line_extension.
642ce434 1814
f846e0de
RH
18152000-12-07 Richard Henderson <rth@redhat.com>
1816
1817 * flow.c (calculate_global_regs_live): Force the stack pointer live
1818 after reload as well.
1819
83c4781c
BK
18202000-12-07 Bruce Korb <bkorb@gnu.org>
1821
1822 * fixinc/Makefile.*(exeext): the variables are exeext, the
1823 substitution expression is build_exeext.
1824
47e4bafa
NB
18252000-12-07 Neil Booth <neilb@earthling.net>
1826
f6bbde28
ZW
1827 * c-common.c (parse_in): Make a cpp_reader *.
1828 * cppfiles.c (_cpp_fake_include): Remove.
1829 * cpphash.h: Similarly.
1830 * cpplib.c (do_line): Don't call _cpp_fake_include. A valid
1831 #line always creates a callback; FC_RENAME if there are no
1832 #line flags.
1833 * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
1834 The first EOF must be our get_char buffer.
47e4bafa 1835
c907e684
JM
18362000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1837
1838 * c-common.c (warn_format_security): New variable.
1839 (check_format_info): Warn about non-literal formats with no format
1840 arguments if either -Wformat-nonliteral or -Wformat-security is
1841 specified.
1842 (set_Wformat): Set warn_format_security for settings other than 1.
1843 * c-common.h (warn_format_security): Declare.
1844 * c-decl.c (c_decode_option): Decode -Wformat-security and
1845 -Wno-format-security.
1846 * invoke.texi: Document -Wformat-security.
1847 * toplev.c (documented_lang_options): Include -Wformat-security
1848 and -Wno-format-security.
1849
1c248308
JM
18502000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1851
1852 * c-common.c (check_format_info): Warn for non-constant format
1853 strings with strftime formats if -Wformat-nonliteral. Where the
1854 format can convert arguments, if the format is not a string
1855 literal and there are no arguments to the format, give a different
1856 warning message from the general non-string-literal case.
1857
014e7f1d
JM
18582000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1859
1860 * c-common.c (format_wanted_type): Add reading_from_flag.
1861 (print_char_table): Mark %s and %S formats with flag "R".
1862 (check_format_info_main): Set up reading_from_flag appropriately.
1863 If aflag, always set writing_in_flag rather than relying on the
1864 format used being a scanf format and so having it set.
1865 (check_format_types): Check for formats reading through null
1866 pointers.
1867
8308e0b7
JM
18682000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1869
1870 * invoke.texi (-Wformat): Document what format features are
1871 checked.
1872
1120a1d3
KH
18732000-12-06 Kazu Hirata <kazu@hxi.com>
1874
1875 * config/h8300/h8300.h: Fix formatting.
1876
bc98ef7f
JS
18772000-12-06 Joel Sherrill <joel@OARcorp.com>
1878
f6bbde28
ZW
1879 * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
1880 h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
1881 * config.gcc (*-rtems*): Add support for gthr-rtems.h.
1882 * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
1883 config/h8300/rtems.h, config/mips/rtems.h: New files.
bc98ef7f 1884
5eeab2e3
MK
18852000-12-06 Mark Kettenis <kettenis@gnu.org>
1886
1887 * config.gcc: Reorganize handling of *-*-gnu*, to share target
1888 specific make details with Linux. Update comments to clarify
f6bbde28 1889 the distinction between GNU/Linux and GNU/Hurd.
5eeab2e3 1890
6b4b8cb9
JL
1891Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com)
1892
1893 * contrib.texi: Fix my email address. Update Per's
1894 list of contributions.
1895
2398fb2a
RB
18962000-12-06 Rodney Brown <RodneyBrown@mynd.com>
1897
f5720527
RB
1898 * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
1899 * collect2.c (scan_libraries): Remove unused `ch'.
1900 (COFF specific stuff): Prototype ldgetname. Declare and prototype
1901 ldbtread and ldclose.
1902
2398fb2a
RB
1903 * config/alpha/osf.h: Standarize copyright statement.
1904 * config/arc/arc.h: Likewise.
1905 * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
1906 * config/arm/arm.c config/arm/arm.h: Likewise.
1907 * config/elxsi/elxsi.h: Likewise.
1908 * config/i386/sco.h: Likewise.
1909 * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
1910 * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
1911 * config/m68k/sun3.h: Likewise.
1912 * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
1913 * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
1914 * config/romp/romp.h: Likewise.
1915 * config/rs6000/aix41.h: Likewise.
1916 * config/sparc/sysv4.h: Likewise.
1917 * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
1918 * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
1919 * cpplib.h cppexp.c cselib.h profile.c: Likewise.
1920 * longlong.h: Likewise.
1921 * libgcc2.c: Likewise.
1922
ff08da30
JL
19232000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1924
1925 * machmode.def: Use correct definition for BITSIZE on targets where
1926 BITS_PER_UNIT != 8.
1927
6047d503
BK
19282000-12-06 Bruce Korb <bkorb@gnu.org>
1929
1930 * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
1931 the number of them.
1932
ff08da30 19332000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca>
becf1647
DA
1934
1935 * pa.c: Include expr.h before c-tree.h.
1936 (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
1937 instead of reverse_condition.
1938 (print_operand): Correct predicates for GT, GE, LT and LE. Add
1939 predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
1940 ORDERED.
1941 (cmpib_comparison_operator): Add GEU and LTU codes.
1942 * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
1943 * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
1944 bordered): New float conditional branch patterns.
1945
2a841588
R
1946Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com>
1947
1948 * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
1949
c673abe4 19502000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
f6bbde28
ZW
1951
1952 * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
1953 backslash and newline, when inside a comment.
c673abe4 1954
ee457005
JM
19552000-12-06 Joseph S. Myers <jsm28@cam.ac.uk>
1956
1957 * invoke.texi: Use @table @samp instead of @itemize @minus for
1958 table of language standards. Fix use of @pxref. From Zack
1959 Weinberg. Also exclude specs documentation from generated
1960 manpage, and create separate ENVIRONMENT section.
1961
b614171e
MM
19622000-12-06 Michael Matz <matzmich@cs.tu-berlin.de>
1963
1964 * gcse.c (compute_pre_data): Kill trapping expressions in
1965 destination blocks of abnormal edges.
1966
f6cd7c62
RS
19672000-12-05 Richard Sandiford <r.sandiford@redhat.com>
1968
1969 * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
1970 (mn10300_get_live_callee_saved_regs): Likewise.
1971 (mn10300_gen_multiple_store): Likewise.
1972 (store_multiple_operation): Likewise.
1973 (expand_prologue): Use mn10300_gen_multiple_store().
1974 * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
1975 (mn10300_get_live_callee_saved_regs): Likewise.
1976 (mn10300_gen_multiple_store): Likewise.
1977 (store_multiple_operation): Likewise.
1978 * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
1979 tied to store_multiple_operation().
1980
dfb2c798
JL
1981Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com)
1982
1983 * builtins.c (expand_builtin_setjmp_setup): Set
1984 current_function_has_nonlocal_label.
1985
3cf3593f
NB
19862000-12-05 Neil Booth <neilb@earthling.net>
1987
f6bbde28
ZW
1988 * cppfiles.c (stack_include_file): Push zero-length buffers
1989 in case of failure. Return void, as we don't fail any more.
1990 (read_include_file): Check for files we shouldn't re-read.
1991 Don't return an error code; errors are implied by marking the
1992 file NEVER_REREAD.
1993 (_cpp_execute_include): Move the recursion and in-macro checks
1994 here. Update for stack_include_file not failing.
1995 * cpplib.c (cpp_push_buffer): Always succeed, since
1996 _cpp_execute_include performs the recursion check. Tidy up.
1997 * cpplib.h (cpp_push_buffer): Update prototype.
3cf3593f 1998
4c42e347
AO
19992000-12-05 Alexandre Oliva <aoliva@redhat.com>
2000
2001 * sched-vis.c (visual_tbl_line_length): New variable.
2002 (get_visual_tbl_length): Set it.
2003 (visualize_stall_cycles): Don't let stalls overrun
2004 visual_tbl_line_length.
2005
06a3a6db
GK
20062000-12-05 Geoffrey Keating <geoffk@redhat.com>
2007
2008 * global.c (global_conflicts): Allow for a REG_UNUSED note
2009 with a different mode to the REG set in the insn.
2010
e7103ad2 20112000-12-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9c101f4a
KG
2012
2013 * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
2014
2015 * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
2016
1435059e
RE
20172000-12-05 Bruce Korb <bkorb@gnu.org>
2018
2019 * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
2020 GNU/Linux.
2021
20222000-12-05 Richard Earnshaw <rearnsha@arm.com>
2023
2024 * fixinc/mkfixinc.sh: Run fixinc on netbsd.
2025 * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
2026 to cope with aliased copies.
2027 * fixinc/fixincl.x: Regenerate.
2028
f56887a7
BS
20292000-12-05 Bernd Schmidt <bernds@redhat.co.uk>
2030
2031 * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
2032 * sched-rgn.c: Likewise.
2033 (rgn_print_insn): Fix output.
2034
4839149c
BK
20352000-12-05 Bruce Korb <bkorb@gnu.org>
2036
2037 * fixinc/Makefile.*: make these more consistent
2038 * fixinc/mkfixincl.sh: enable BeOS fixincludes
2039
eca93b05
RH
20402000-12-05 Richard Henderson <rth@redhat.com>
2041
2042 * stmt.c (warn_if_unused_value): Move side effects test earlier.
2043
de9e5c23
AM
20442000-12-05 Alan Modra <alan@linuxcare.com.au>
2045
2046 * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
2047 when using sjlj.
2048
39c39be9
RH
20492000-12-05 Richard Henderson <rth@redhat.com>
2050
2051 * flow.c (calculate_global_regs_live): Only force stack pointer
2052 live before reload. Force pic register live before reload.
2053 (insn_dead_p): Don't protect pic references from deletion.
2054
9d86bffc
JM
20552000-12-05 Joseph S. Myers <jsm28@cam.ac.uk>
2056
2057 * invoke.texi: Add support for using texi2pod.pl. Don't use
2058 @multitable.
2059
c84df4c5
NC
20602000-12-04 Nick Clifton <nickc@redhat.com>
2061
a67ded0f
NC
2062 * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
2063 'tune_flags' for XScale nature.
f6bbde28 2064 Remove spurious test of HARD_FLOAT and XScale flags.
a67ded0f
NC
2065
2066 * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
2067 contraint, accidentally changed during XScale contribution.
2068
c84df4c5
NC
2069 * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
2070 not create these functions if the target architecture does not
2071 support Thumb instructions.
2072
c4f0b011
JM
20732000-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2074
2075 * ONEWS: New file with the current contents of NEWS up to EGCS
2076 1.1.
2077 * NEWS: Generate automatically from online release notes from EGCS
2078 1.0 to GCC 2.95.2, using ../contrib/gennews.
2079
7682e7bc
NB
20802000-12-04 Neil Booth <neilb@earthling.net>
2081
f6bbde28
ZW
2082 * tradcif.y: Move lexptr to top of file. Add rule to handle
2083 assertions in conditional expressions.
2084 * tradcpp.c (parse_answer): Assertions do not need to go to
2085 end of line in conditional directives.
2086 (parse_assertion): Get first character of identifiers correct.
2087 (test_assertion): New function.
2088 * tradcpp.h (test_assertion): New prototype.
7682e7bc 2089
23a535c4
RB
20902000-12-01 Rodney Brown <RodneyBrown@mynd.com>
2091
2092 * config.gcc: Fix typo for UnixWare 7.
2093
32fb1fb2
PE
20942000-12-03 Phil Edwards <pme@sources.redhat.com>
2095
2096 * invoke.texi: Replace `pedwarns' with clearer text.
2097
e1e0c658
BK
20982000-12-04 Bruce Korb <bkorb@gnu.org>
2099
2100 * fixinc/Makefile.*(clean): don't clean autogenerated files.
2101 (mainainer-clean): clean autogenerated files
2102
55e4756f
DD
21032000-12-04 DJ Delorie <dj@redhat.com>
2104
2105 * md.texi: Add overview, clarify match_dup and define_expand.
2106
7d492372
DD
21072000-12-04 DJ Delorie <dj@redhat.com>
2108
b3869591 2109 * print-tree.c (print_node): Target-specific builtins print
7d492372
DD
2110 numbers, not names.
2111
62c07905
JM
21122000-12-04 Jason Merrill <jason@redhat.com>
2113
2114 * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
2115 MODE_VECTOR_FLOAT.
2116
2117 * diagnostic.c (report_problematic_module): s/function/module/.
2118
2119 * c-lex.h: Remove decl for check_newline.
2120
ae50db03
GP
21212000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2122
2123 * README.APOLLO: Remove obsolete file.
2124
6951bc4a
NB
21252000-12-04 Neil Booth <neilb@earthling.net>
2126
f6bbde28 2127 * cppinternals.texi: New file.
6951bc4a 2128
614c7d37
NB
21292000-12-04 Neil Booth <neilb@earthling.net>
2130
f6bbde28
ZW
2131 * cppfiles.c (cpp_make_system_header): Take 2 booleans,
2132 and operate on current buffer.
2133 (cpp_read_file): Rename _cpp_read_file.
2134 * cpplib.c (do_line, do_pragma_system_header): Update calls to
2135 cpp_make_system_header.
2136 * fix-header.c: Similarly.
2137 * cpphash.h (_cpp_read_file): Move from...
2138 * cpplib.h: ... here.
2139 * cppinit.c (do_includes, cpp_start_read): Update appropriately.
614c7d37 2140
e7103ad2 21412000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
611b1df4
KG
2142
2143 * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
2144 Handle another transformation.
2145
d19fb8e3
NC
21462000-12-03 Nick Clifton <nickc@redhat.com>
2147
2148 * config.gcc: Add support for StrongARM targets.
2149 * config/arm/t-strongarm-elf: New file.
2150 * config/arm/t-strongarm-coff: New file.
2151 * config/arm/t-strongarm-pe: New file.
2152 * config/arm/strongarm-pe.h: New file.
2153
21542000-12-03 Nick Clifton <nickc@redhat.com>
2155
2156 * NEWS: Mention XScale has been added.
2157 * config.gcc: Add support for XScale targets.
2158 * config/arm/arm.h: Add support for XScale processor.
2159 * config/arm/arm.c: Add support for XScale processor.
2160 * config/arm/arm.md: Add support for XScale processor.
2161 * config/arm/t-xscale-elf: New file.
2162 * config/arm/t-xscale-coff: New file.
2163 * config/arm/xscale-elf.h: New file.
2164 * config/arm/xscale-coff.h: New file.
2165
250d07b6
RH
21662000-12-03 Richard Henderson <rth@redhat.com>
2167
2168 * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
2169 unless exception handling is enabled, and if not using sjlj.
2170
2171 * builtins.c (expand_builtin_setjmp_setup): New.
2172 (expand_builtin_setjmp_receiver): New.
2173 (expand_builtin_setjmp): Split out _setup and _receiver functions.
2174 Move argument parsing in from ...
2175 (expand_builtin): ... here.
2176 * except.c (receive_exception_label): Branch around receiver
2177 unless new-style exceptions. Call expand_builtin_setjmp_receiver.
2178 (start_dynamic_handler): Call expand_builtin_setjmp_setup.
2179 * expr.h: Update builtin setjmp decls.
2180
5c032c4d
BK
21812000-12-03 Bruce Korb <bkorb@gcc.org>
2182
2183 * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
2184 build machine name. Default to the target.
2185
3769600a
LB
21862000-12-03 Laurynas Biveinis <lauras@softhome.net>
2187
2188 * Makefile.in: use $(build_canonical), not $(canonical_build).
2189
b4ead7d4
BS
21902000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
2191
2192 * Makefile.in (OBJS): Add sched-rgn.o.
2193 (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No
2194 longer static.
2195 (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2196 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2197 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2198 MAX_BLOCKAGE_COST): Move to sched-int.h.
2199 (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
2200 IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
2201 FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
2202 OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
2203 rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
2204 RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
2205 debug_regions, find_single_block_region, find_rgns, too_large,
2206 init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
2207 bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
2208 extract_bitlst, bblst, struct candidate, candidate_table,
2209 bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
2210 SRC_PROB, target_bb, split_edges, compute_trg_info,
2211 debug_candidate, debug_candidates, bbset, bbset_size, dom,
2212 IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
2213 rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
2214 EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
2215 compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
2216 IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
2217 MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
2218 update_live, set_spec_fed, is_pfree, find_conditional_protection,
2219 is_conditionally_protected, may_trap_exp, haifa_classify_insn,
2220 is_prisky, is_exception_free, add_branch_dependences,
2221 propagate_deps, compute_block_backward_dependences,
2222 debug_dependencies, is_cfg_nonregular, build_control_flow,
2223 new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
2224 BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
2225 UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
2226 CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
2227 target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
2228 can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
2229 rgn_rank, region_sched_info): Move to sched-rgn.c.
2230 (debug_reg_vector): Delete useless function.
2231 (get_bb_head_tail): Likewise.
2232 (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
2233 no_real_insns_p, rm_line_notes, save_line_notes,
2234 restore_line_notes, rm_redundant_line_notes, sched_init): No
2235 longer static.
2236 (rm_line_notes, save_line_notes, restore_line_notes,
2237 schedule_block, set_priorities): Change argument to be a real
2238 basic block, not one of haifa's "bb"s. All callers changed
2239 (rm_other_notes): Initialize note_list here, not in
2240 schedule_region.
2241 (sched_finish): New function, called from schedule_insn. * *
2242 sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2243 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2244 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2245 MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
2246 (get_block_head_tail, no_real_insns_p, rm_line_notes,
2247 save_line_notes, restore_line_notes, rm_redundant_line_notes,
2248 rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
2249 sched_init, sched_finish, ready_add, insn_cost): Declare.
2250
f415f5a4
LB
22512000-12-03 Laurynas Biveinis <lauras@softhome.net>
2252 Bruce Korb <bkorb@gnu.org>
2253
f6bbde28
ZW
2254 * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
2255 * fixinc/mkfixinc.sh: accept build system name as an argument.
2256 Use it for choosing the fix build method. Use the target for
f415f5a4
LB
2257 selecting special fix rules.
2258
1708fd40
BS
22592000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
2260
16f6ece6
BS
2261 * Makefile.in (OBJS): Add sched-deps.o.
2262 (sched-deps.o): New rule.
2263 * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
2264 sched-int.h.
2265 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
2266 sched-int.h.
2267 (SIZE_FOR_MODE): Delete unused macro.
2268 (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
2269 reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
2270 anti_dependency_cache, output_dependency_cache,
2271 forward_dependency_cache): Variables moved to sched-deps.c.
2272 (add_dependence, remove_dependence, find_insn_list,
2273 find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
2274 sched_analyze_insn, sched_analyze_1, sched_analyze_2,
2275 sched_analyze, group_leader, compute_forward_dependences,
2276 init_deps, free_deps, init_dependency_caches, free_dependency_caches):
2277 Functions moved to sched-deps.c.
2278 (schedule_region): Call init_deps_global and finish_deps_global
2279 instead of directly manipulating dependency data structures.
2280 * sched-deps.c: New file.
2281 (init_deps_global, finish_deps_global): New functions.
2282 * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
2283 haifa-sched.c.
2284 (h_i_d): Declare.
2285 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
2286 from haifa-sched.c.
2287
c62c2659
BS
2288 * Makefile.in (OBJS): Add sched-vis.o.
2289 (sched-vis.o): New rule.
2290 * haifa-sched.c (get_unit_last_insn): New function.
2291 (sched_dump, insn_unit, actual_hazard_this_instance): No longer
2292 static.
2293 (schedule_block): Call visualize_alloc and visualize_free. Delete
2294 spurious return statement.
2295 (init_target_units, insn_print_units, get_visual_tbl_length,
2296 init_block_visualization, print_block_visualization, safe_concat,
2297 visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
2298 print_exp, print_value, print_pattern, print_insn, target_units,
2299 MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
2300 n_vis_no_unit, vis_no_unit): Move scheduling visualization
2301 functions/variables...
2302 * sched-vis.c: ...here. New file.
2303 (visualize_alloc, visualize_free): New functions.
2304 (visualize_scheduled_insns, visualize_stall_cycles,
2305 print_block_visualization): Lose basic block argument. All callers
2306 changed.
2307 (visualize_scheduled_insns): Use new function get_unit_last_insn.
16f6ece6
BS
2308 * sched-int.h (current_sched_info, sched_dump): Declare.
2309 (init_target_units, insn_print_units, init_block_visualization,
2310 print_block_visualization, visualize_scheduled_inns,
2311 visualize_no_unit, visualize_stall_cycles, visualize_alloc,
2312 visualize_free): Declare functions.
c62c2659 2313
1708fd40
BS
2314 * sched-int.h: New file.
2315 * Makefile.in (haifa-sched.o): Depend on it.
2316 * haifa-sched.c: Include it.
2317 (no_real_insns_p): New function.
2318 (current_sched_info): New static variable.
2319 (__inline, HAIFA_INLINE): Moved to sched-int.h.
2320 (get_block_head_tail): Minor cleanup.
2321 (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
2322 rgn_print_insn, rgn_rank): New functions, broken out of
2323 rank_for_schedule, schedule_insn and schedule_block, where they
2324 are now called through function pointers in current_sched_info.
2325 (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
2326 print_insn): To display uid and block number, call the print_insn
2327 function pointer in current_schedule_info.
2328 (region_sched_info): New static variable.
2329 (sched_target_n_insns, sched_n_insns, target_n_insns): New global
2330 variables, moved out of schedule_block.
2331 (schedule_block): Return void. All callers changed.
2332 Move some of the setup code into schedule_region. Get head/tail
2333 from current_sched_info, and update it when done.
2334 (schedule_region): Slightly rearranged, some code moved here from
2335 schedule_block. Call no_real_insns_p to avoid doing work for a
2336 block that consists only of notes and labels.
2337 (schedule_insns): Initialize current_sched_info.
2338
8aaef6e0
NB
23392000-12-03 Neil Booth <neilb@earthling.net>
2340
f6bbde28
ZW
2341 * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
2342 by contexts drops AFTER argument pre-expansion, so that they
2343 remain enabled during argument pre-expansion.
2344 (_cpp_pop_context): Unconditionally re-enable a macro when
2345 dropping a context level.
8aaef6e0 2346
94a3d3b9
MH
23472000-12-03 Manfred Hollstein <manfredh@redhat.com>
2348
2349 * arm/t-linux (MULTILIB_OPTIONS): Comment.
2350 (MULTILIB_DIRNAMES): Likewise.
2351 (EXTRA_MULTILIB_PARTS): Likewise.
2352 (LIBGCC): Likewise.
2353 (INSTALL_LIBGCC): Likewise.
2354
d118937d
KG
23552000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2356
2357 * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
2358 expand_builtin_strspn, expand_builtin_strcspn): New functions.
2359 (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2360 BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
2361
2362 * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2363 BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
2364
2365 * c-common.c (c_common_nodes_and_builtins): Declare builtin
2366 strcat, strncat, strspn and strcspn.
f6bbde28 2367 (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
d118937d
KG
2368
2369 * extend.texi (strcat, strcspn, strncat, strspn): Document new
2370 builtins.
2371
ca8034a0
KG
23722000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2373
2374 * builtins.c (expand_builtin_strcmp): Use const*_rtx when
2375 expanding strcmp at compile-time. Add another transformation.
2376 (expand_builtin_strncmp): Add more transformations. Call
2377 expand_builtin_memcmp, not expand_builtin_strcmp, under
2378 appropriate conditions if HAVE_cmpstrsi.
2379
6c873122
DE
23802000-12-02 David Edelsohn <edelsohn@gnu.org>
2381
2382 * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
2383 instruction.
2384 (cr logic): Really make operands sequential.
2385
690c96c8
GK
23862000-12-02 Geoffrey Keating <geoffk@redhat.com>
2387
2388 * c-common.c (combine_strings): When the ISO C standard specifies
21c7361e
AJ
2389 the maximum length of a string, it doesn't include the trailing
2390 zero byte.
b43db0b3
GK
2391
2392 * cpplib.c (do_ifdef): Add check_eol() call.
2393 (do_ifndef): Likewise.
2394
283da1d3 23952000-12-02 Daniel Berlin <dberlin@redhat.com>
f6bbde28 2396 Bruce Korb <bkorb@gnu.org>
283da1d3 2397
f6bbde28
ZW
2398 * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
2399 * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
2400 * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
2401 * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
2402 use the "__need_" hackery. It breaks them.
2403 * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
2404 Sometimes on DOS and BeOS the temp output file cannot be opened.
2405 Skip the file noisily. Ought to be fixed instead.
283da1d3 2406
6864a6c6
BK
24072000-12-02 Bruce Korb <bkorb@gnu.org>
2408
2409 From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2410
2411 * fixfixes.c (emit_gnu_type, format_write): Prototype.
2412 (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
2413 custom uppercase ctype macros.
2414 * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
2415 Use gcc's custom uppercase ctype macros.
2416 (main): Prototype.
2417 (machine_matches): Add static prototype and constify variable.
2418 (create_file, test_test, egrep_test): Add static prototype.
2419 (quoted_file_exists): Likewise, and constify parameters.
2420 (extract_quoted_files, internal_fix, start_fixer, fix_applies,
2421 write_replacement, test_for_changes): Add static prototype.
2422 (write_replacement, test_for_changes): Delete excess argument to
2423 `create_file'.
2424 * fixtests.c (test): Make static.
2425 * server.c (load_data, sig_handler, server_setup, find_shell): Add
2426 static prototype.
2427 (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
2428
d7156fee
BK
24292000-12-02 Bruce Korb <bkorb@gnu.org>
2430
2431 * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
2432 (per Laurynas Biveinis <lauras@softhome.net>)
2433
f1008e52
RE
24342000-12-02 Richard Earnshaw <rearnsha@arm.com>
2435
2436 * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
2437 macros.
2438 (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
2439 (REGNO_OK_FOR_FOR_BASE_P): Delete.
2440 (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
2441 both strict and non-strict uses.
2442 (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
2443 (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
2444 (REG_OK_FOR_INDEX_P): Define in terms of above.
2445 (REG_OK_FOR_BASE_P): Delete.
2446 (REG_OK_FOR_PRE_POST_P): Delete.
2447 (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
2448 (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
2449 (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
2450 (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
2451 (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM
2452 specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P
2453 in pre/post increment cases.
2454 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
2455 (ARM_LEGITIMIZE_ADDRESS): Similarly.
2456 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
2457 * arm.c (legitimate_pic_address): Similarly.
2458
4eb191f3
NB
24592000-12-02 Neil Booth <neilb@earthling.net>
2460
f6bbde28
ZW
2461 * tradcpp.c (struct answer, parse_assertion, parse_answer,
2462 canonicalize_text, find_answer): New.
2463 (do_assert, do_unassert): Provide appropriate function bodies.
2464 (union hashval): New member answers.
4eb191f3 2465
84e6f1ba
MM
24662000-11-23 Marek Michalkiewicz <marekm@linux.org.pl>
2467
2468 * config/avr/avr.md: Document UNSPEC usage.
2469 (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
2470 Make operand 0 input only, clobber it. Use UNSPEC, not a bogus
2471 MEM for program memory word reference. Do not add the label to
2472 the table index in each of the asm output templates, instead ...
2473 (casesi): ... do it in RTL. Adjust to match the above change.
2474
a88f02e7
BS
24752000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2476
0884b60c
BS
2477 * c-common.c (PTRDIFF_TYPE): Provide default here, ...
2478 * c-decl.c: ... not here.
2479
a88f02e7
BS
2480 * haifa-sched.c (sched_dump): Renamed from dump. All users changed.
2481 (old_max_uid): New variable.
2482 (compute_forward_dependences): Renamed from
2483 compute_block_forward_dependences; changed to accept block head and
2484 tail instead of block number. Caller changed.
2485 (free_deps, init_dependency_caches, free_dependency_caches,
2486 init_regions, sched_init): New functions, split out from
2487 schedule_insns and compute_block_backward_dependences.
2488
fef1de5d
NB
24892000-12-02 Neil Booth <neilb@earthling.net>
2490
f6bbde28 2491 * cppexp.c (parse_number): Update diagnostic test.
fef1de5d 2492
88edcc06
BS
24932000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2494
2495 * reload1.c (free_for_value_p): New function, frontend to
2496 reload_reg_free_for_value_p. All callers of the latter now call
2497 this function with an additional mode argument.
2498
a325caa0
GP
24992000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2500
2501 * install.texi (Configurations): Remove obsolete documentation for
2502 hppa*-*-*.
2503
3808a17d
GP
25042000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2505
2506 * install.texi (Installation): Remove obsolete description for
2507 libstdc++ which is now an integral part of GCC.
f6bbde28 2508
27646dba
JB
25092000-12-01 Jim Blandy <jimb@redhat.com>
2510
2511 * dbxout.c (dbxout_parms): Correctly describe parameters passed by
21c7361e
AJ
2512 invisible reference in registers, but then spilled to the stack.
2513 Remove code to emit a second stab for such parameters; it attempts
2514 to describe the value's location by introducing a synthetic C++
2515 `reference' type, and then saying the stack slot has that
2516 reference type. This loses type information (breaking GDB's
2517 `ptype' command, among other things) just to describe a location
2518 which stabs can represent correctly in other ways.
27646dba 2519
cb51ecd2
AO
25202000-12-01 Alexandre Oliva <aoliva@redhat.com>
2521
08106825
AO
2522 * final.c (output_addr_const) <PLUS>: Don't assume at least one
2523 operand is a CONST_INT.
2524
cb51ecd2
AO
2525 * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
2526 (machine_dependent_reorg): Split all insns.
2527 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
2528 reg_class_contents[SIBCALL_REGS].
2529 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
2530 * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
2531 call_value_pcrel, call, call_value, sibcall): Match even when
2532 not optimizing.
2533 (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k'
2534 for call address.
2535 (sibcalli): Likewise.
2536
4d808927
JM
25372000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2538
2539 * c-common.c (warn_format, warn_format_y2k,
2540 warn_format_extra_args, warn_format_nonliteral): Define.
2541 (check_format_info): Check warn_format_nonliteral and
2542 warn_format_extra_args.
2543 (check_format_info_main): Check warn_format_y2k.
2544 (set_Wformat): New function.
2545 * c-common.h (warn_format_y2k, warn_format_extra_args,
2546 warn_format_nonliteral, set_Wformat): Declare.
2547 * c-decl.c (warn_format): Remove definition.
2548 (c_decode_option): Handle -Wformat-nonliteral,
2549 -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
2550 Use set_Wformat.
2551 * invoke.texi: Document these new options and -Wformat=2.
2552 * toplev.c (documented_lang_options): Add these new options.
2553
e78f4a97
JM
25542000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2555
2556 * builtins.def (BUILT_IN_IMAXABS): Add.
2557 * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
2558 * c-common.c (c_common_nodes_and_builtins): Create builtin
2559 functions __builtin_imaxabs, and plain imaxabs unless
2560 flag_no_nonansi_builtin outside C99 mode.
2561 (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
2562 * extend.texi: Document builtin imaxabs.
2563
5fd8e536
JM
25642000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2565
2566 * c-common.c: Include "defaults.h".
2567 (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
2568 (c_common_nodes_and_builtins): Create string_type_node,
2569 const_string_type_node, wint_type_node, intmax_type_node,
2570 uintmax_type_node, default_function_type, ptrdiff_type_node and
2571 unsigned_ptrdiff_type_node.
2572 * c-common.h (identifier_global_value): Declare.
2573 * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
2574 (init_decl_processing): Don't create string_type_node,
2575 const_string_type_node, wint_type_node, intmax_type_node,
2576 uintmax_type_node, default_function_type, ptrdiff_type_node and
2577 unsigned_ptrdiff_type_node.
2578 (identifier_global_value): New function.
2579
8d9e9a08
NB
25802000-12-01 Neil Booth <neilb@earthling.net>
2581
f6bbde28
ZW
2582 * cppinit.c (initialize): Forgotten prototype.
2583 * cpplex.c (_cpp_lex_token): Loop until not skipping.
2584 Always clear PREV_WHITE upon meeting a new line.
2585 * cpplib.c (end_directive): Set pfile->skipping after
2586 skip_rest_of_line.
2587 * cpplib.h (cpp_reader): Remove macro_pos.
2588 * cppmacro.c (cpp_get_line): Don't do anything special inside
2589 macros.
2590 (parse_arg): Add PREV_WHITE if a token appears after new lines.
2591 (funlike_invocation_p): Save and restore the output position
2592 over a successful check for a '('.
2593 (enter_macro_context): Delete uses of macro_pos.
2594 (cpp_get_token): Don't use pfile->skipping.
8d9e9a08 2595
c4765d18
PE
25962000-12-01 Phil Edwards <pme@sources.redhat.com>
2597
2598 * diagnostic.c: Fix typos in comments.
2599 * diagnostic.h: Likewise.
2600
815d683e
PE
26012000-11-30 Phil Edwards <pme@sources.redhat.com>
2602
2603 * rtl.texi (Machine Modes): Document BImode and OImode.
2604
ae24178a
JM
26052000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2606
2607 * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
2608 .FPP.
2609
c7b82833
JM
26102000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2611
2612 * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
2613 incomplete element type.
2614 (grokparms): Before checking for incomplete parameter type, check
2615 the type isn't error_mark_node.
2616
ab937357
JJ
26172000-12-01 Jakub Jelinek <jakub@redhat.com>
2618
2619 * builtins.c (target_char_cast): New function.
2620 (expand_builtin_strchr): Use it.
2621 (expand_builtin_strrchr): Use it.
2622 (builtin_memset_read_str): New function.
2623 (expand_builtin_memset): Use target_char_cast.
2624 Try to optimize memset with second argument non-zero using
2625 store_by_pieces.
2626
3a69a7d5
MM
26272000-11-30 Marek Michalkiewicz <marekm@linux.org.pl>
2628
2629 * install.texi (avr): Replace incomplete list of supported MCU
2630 types with a link to the current one ...
2631 * invoke.texi (AVR Options): ... here. Update -mmcu= to list
2632 all supported MCU types. Document -minit-stack= default.
2633 Document new options -mno-tablejump, -mtiny-stack.
2634 * md.texi (AVR family): Fix typo in 'w' constraint letter
2635 description. Document 'q'. Update 'O'.
2636
53895717
BS
26372000-12-01 Bernd Schmidt <bernds@redhat.co.uk>
2638
2639 * combine.c (cant_combine_insn_p): Only disallow insns involving
2640 hard regs if they are reg-reg moves.
2641 (try_combine, can_combine_p, combinable_i3pat): Delete old
2642 SMALL_REGISTER_CLASSES tests.
2643
f00018dd
AO
26442000-12-01 Alexandre Oliva <aoliva@redhat.com>
2645
3d422cb1
AO
2646 * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
2647 whether X is a CONST_INT.
2648 (addsubcosts): Likewise.
2649
f00018dd
AO
2650 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
2651 mis-used XINT.
2652 (ARG_POINTER_REGNUM): Set to AP_REG.
2653
95ac07b0
AO
26542000-11-30 Alexandre Oliva <aoliva@redhat.com>
2655
ecfdeaeb
AO
2656 * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
2657 splits): Only match on TARGET_SH4.
2658
95ac07b0
AO
2659 * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
2660 of subsequent insns.
2661
f2720858
RH
26622000-11-30 Richard Henderson <rth@redhat.com>
2663
2664 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
2665 * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
2666
ef7d91cd
RH
26672000-11-30 Richard Henderson <rth@redhat.com>
2668
2669 * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
2670 (DO_SELECT_SECTION): New.
2671 (SELECT_SECTION): Use it.
2672 (UNIQUE_SECTION_P): New.
2673 (UNIQUE_SECTION): New.
2674
29ced803
AO
26752000-11-30 Alexandre Oliva <aoliva@redhat.com>
2676
2677 * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
2678 from va_list before using it.
2679
25e4379f
MM
26802000-11-30 Michael Matz <matzmich@cs.tu-berlin.de>
2681
2682 * flow.c (make_edge): Early out, if no flags to set.
2683 (calculate_global_regs_live): Clear out garbage only when necessary.
2684
2685 * simplify-rtx.c (varray_type used_regs): New.
2686 (clear_table): Use it to only clear necessary items.
2687 (cselib_lookup, cselib_record_set): Remember newly set items.
2688 (cselib_update_varray_sizes, cselib_init): Initialize and grow
2689 used_regs.
2690
2691 * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
2692 Move clearing of dead regs out of insn-loop.
2693
41c39533
RH
26942000-11-30 Richard Henderson <rth@redhat.com>
2695
2696 * calls.c (expand_call): Emit queued insns before creating
2697 the tail recursion sequence.
2698
039df8c7 26992000-11-30 J. David Anglin <dave.anglin@nrc.ca>
f6bbde28 2700 Bruce Korb <bkorb@gnu.org>
039df8c7
DA
2701
2702 * fixinc/inclhack.def(): prevent dual double definition protection
2703 * fixinc/fixincl.x: regenerate
2704
42cfed37
LR
27052000-11-29 Loren J. Rittle <ljrittle@acm.org>
2706
f6bbde28
ZW
2707 * fixinc/Makefile.in (fixincl.x): Explicitly state the
2708 location of the generated file.
42cfed37 2709
a6bb9efa
GP
27102000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2711
2712 * README.FRESCO: Remove obsolete file.
2713
255b8a49
JL
27142000-11-30 Mark Kettenis <kettenis@gnu.org>
2715
255b8a49
JL
2716 * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
2717 TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from
2718 config/t-linux for the Hurd.
2719
27202000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
75273d08
SC
2721
2722 * config/mn10200/udivmod.c, config/mn10200/divmod.c,
2723 config/mn10200/udivmodsi4.c: Moved from here.
2724 * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
2725 * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
2726 C division functions.
2727 * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
2728
15c2086a
JL
2729Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com)
2730
2731 * pa.md (conditional moves): Avoid holes in operand list.
2732 (mod, umod patterns): Similarly.
2733 (variable extract/shift patterns): Similarly.
2734
9105f671
NB
27352000-11-30 Neil Booth <neilb@earthling.net>
2736
f6bbde28
ZW
2737 * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
2738 maybe_objc_check_decl, build_objc_string_object,
2739 objc_declare_alias, objc_declare_class, build_message_expr,
2740 build_protocol_expr, build_selector_expr, build_encode_expr,
2741 get_class_ivars, start_class, start_protocol): Remove
2742 redundant code, assuming doing_objc_thang is true.
9105f671 2743
31a7659b
JDA
27442000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2745
1f80ea95
JDA
2746 * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
2747 (record_unscaled_index_insn_codes): Likewise.
2748 (unscaled_index_insn_codes): Delete.
2749 (max_unscaled_index_insn_codes_uid): Delete.
2750 (output_function_prologue, output_function_epilogue, pa_reorg):
2751 Don't use the unscaled index insn hack.
2752
d16ca6a6
JDA
2753 * pa.md: Remove hack from all index insns to reverse the operand
2754 order of frame and stack pointer references incorrectly created
2755 in the reload pass.
2756
3502dc9c
JDA
2757 * function.h (emit_status): Delete member regno_pointer_flag and
2758 rename regno_pointer_flag_length to regno_pointer_align_length.
2759 Delete define for REGNO_POINTER_FLAG.
2760 * integrate.h (inline_remap): Delete member regno_pointer_flag.
2761 Add member x_regno_reg_rtx.
2762 * rtl.h (rtx_def): Use frame_related bit to indicate register is
2763 a pointer in REG expressions. Define REG_POINTER macro.
2764 * alias.c (find_base_value, find_base_term): Use REG_POINTER
2765 instead of REGNO_POINTER_FLAG.
2766 * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
2767 * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
2768 of regno_pointer_flag_length. Remove code which refers to
2769 regno_pointer_flag.
2770 (mark_reg_pointer): Use REG_POINTER.
2771 (free_emit_status): Remove code which refers to regno_pointer_flag.
2772 (init_emit, mark_emit_status): Likewise.
2773 * flow.c (dump_flow_info): Likewise.
2774 * function.c (preserve_temp_slots): Likewise.
2775 * integrate.c (expand_inline_function, copy_rtx_and_substitute):
2776 Use x_regno_reg_rtx instead of regno_pointer_flag for function
2777 pointer determination in map.
2778 * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
2779 * predict.c (estimate_probability): Likewise.
2780 * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
2781 * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
2782 regno_pointer_flag for function pointer determination in map.
2783 * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
2784 REG_POINTER.
2785 * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
2786 Use REG_POINTER.
2787 (restore_unscaled_index_insn_codes): Revise comment.
2788
31a7659b
JDA
2789 * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
2790
9f1bbeaa
JM
27912000-11-30 Joseph S. Myers <jsm28@cam.ac.uk>
2792
2793 * extend.texi: Update documentation for attributes.
2794
74e5aa4b
DB
27952000-11-29 David O'Brien <obrien@FreeBSD.org>
2796
2797 * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
2798 (ASM_DECLARE_OBJECT_NAME): Same.
2799 (ASM_FILE_END): Same.
2800 (ASM_FINISH_DECLARE_OBJECT): Same.
2801 (ASM_IDENTIFY_GCC): Same.
2802 (ASM_IDENTIFY_LANGUAGE): Same.
2803 (ASM_OUTPUT_CONSTRUCTOR): Same.
2804 (ASM_OUTPUT_DEF): Same.
2805 (ASM_OUTPUT_DESTRUCTOR): Same.
2806 (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
2807 (ASM_OUTPUT_SECTION_NAME): Same.
2808 (ASM_WEAKEN_LABEL): Same.
2809 (BSS_SECTION_ASM_OP): Same.
2810 (COMMON_ASM_OP): Same.
2811 (CONST_SECTION_ASM_OP): Same.
2812 (CONST_SECTION_FUNCTION): Same.
2813 (CTORS_SECTION_ASM_OP): Same.
2814 (DTORS_SECTION_ASM_OP): Same.
2815 (ESCAPES): Same.
2816 (FINI_SECTION_ASM_OP): Same.
2817 (IDENT_ASM_OP): Same.
2818 (IDENT_ASM_OP): Same.
2819 (INIT_SECTION_ASM_OP): Same.
2820 (INT_ASM_OP): Same.
2821 (MAX_OFILE_ALIGNMENT): Same.
2822 (SBSS_SECTION_ASM_OP): Same.
2823 (SDATA_SECTION_ASM_OP): Same.
2824 (SECTION_FUNCTION_TEMPLATE): Same.
2825 (SELECT_SECTION): Same.
2826 (SE_CONST_SECTION): Same.
2827 (SIZE_ASM_OP): Same.
2828 (SKIP_ASM_OP): Same.
2829 (STRING_ASM_OP): Same.
2830 (STRING_LIMIT): Same.
2831 (TYPE_ASM_OP): Same.
2832 (TYPE_OPERAND_FMT): Same.
2833
0eaed3c6
NB
28342000-11-29 Neil Booth <neilb@earthling.net>
2835
f6bbde28
ZW
2836 * c-decl.c (c_decode_option): Don't handle -lang-objc.
2837 * objc/lang-options.h: Remove -lang-objc.
2838 * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
2839 * objc/objc-act.c (lang_init_options): Set c_language.
0eaed3c6 2840
98166639
JJ
28412000-11-29 Jakub Jelinek <jakub@redhat.com>
2842
2843 * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
2844 tests.
2845
f3b55474
NB
28462000-11-29 Neil Booth <neilb@earthling.net>
2847
f6bbde28 2848 * c-pragma.c (init_pragma): Update for parse_in type change.
f3b55474 2849
b86ecfa9
LB
28502000-11-29 Laurynas Biveinis <lauras@softhome.net>
2851
2852 * configure.in: recognize DOS-style absolute paths.
2853
57814e5e
JJ
28542000-11-29 Jakub Jelinek <jakub@redhat.com>
2855
2856 * expr.h (store_by_pieces): Add prototype.
2857 (can_store_by_pieces): Likewise.
2858 * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
2859 (can_store_by_pieces): New.
2860 (store_by_pieces): New.
2861 (clear_by_pieces): New.
2862 (clear_by_pieces_1): New.
2863 (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
2864 arbitrary compiler generated constants into memory block.
2865 (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
2866 * builtins.c (c_readstr): New.
2867 (builtin_memcpy_read_str): New.
2868 (expand_builtin_memcpy): If src is string constant and
2869 emit_block_move would move it by pieces, compute integer constants
2870 from the string and store it into memory block instead.
2871 (builtin_strncpy_read_str): New.
2872 (expand_builtin_strncpy): If N is not constant zero and c_strlen does
2873 not return INTEGER_CST, don't optimize.
2874 If N is larger than strlen(src) + 1, try to copy the string
2875 including padding with store_by_pieces.
2876 (expand_builtin_strcmp): If both arguments have side effects, don't
2877 optimize.
2878 (expand_builtin_fputs): If STR has side effects, don't optimize.
2879
76b7dad3
RE
28802000-11-29 Richard Earnshaw <rearnsha@arm.com>
2881
2882 * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
2883 Add use of link register.
2884
b722c82c
JM
28852000-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
2886
2887 * extend.texi: Update documentation for default format attributes.
2888
01fa3508
JL
2889Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com)
2890
2891 * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
2892 a list, to keep track of the sections.
2893
4bec9f7d
NC
28942000-11-28 Nick Clifton <nickc@redhat.com>
2895
2896 * config/arm/arm.md (pic_load_addr): Split into
2897 pic_load_addr_arm and pic_load_addr_thumb.
2898
2899 * config/arm/arm.c (legitimize_pic_address): Generate either
2900 ARM or Thumb versions of pic_load_addr.
2901 (arm_finalize_pic): Generate either ARM or Thumb versions of
2902 pic_load_addr.
2903
54fef245
RH
29042000-11-28 Richard Henderson <rth@redhat.com>
2905
2906 * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
2907 after sibcall do_pending_stack_adjust.
2908
f423a6a7
R
2909Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com>
2910
2911 * jump.c (delete_insn): Check that REG_LABEL note actually contains
2912 a CODE_LABEL.
2913
eaf299c6
NB
29142000-11-28 Neil Booth <neilb@earthling.net>
2915
01933a51 2916 * c-common.h: Remove flag_digraphs.
f6bbde28
ZW
2917 * c-decl.c: Remove flag_digraphs.
2918 (c_decode_option): Don't set it.
01933a51 2919 * c-lex.c (init_c_lex): Don't do anything for digraphs.
eaf299c6 2920
7dfe7bd6
RH
29212000-11-28 Richard Henderson <rth@redhat.com>
2922
2923 * c-parse.in (finish_parse): Update for parse_in type change.
2924 (_yylex): Likewise.
2925
8dc4676d
NB
29262000-11-28 Neil Booth <neilb@earthling.net>
2927
01933a51
JM
2928 * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
2929 indicating whether to scan all buffers on the stack or
2930 just one.
2931 * cppinit.c (do_includes): Update.
2932 * cppmain.c (main): Update.
2933 * cpplib.h: Update prototype.
8dc4676d 2934
c77e04ae
RH
29352000-11-28 Richard Henderson <rth@redhat.com>
2936
2937 * genoutput.c (validate_insn_operands): New.
2938 (gen_insn): Call it.
2939
2940 * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
2941 (divmoddi_internal): Likewise.
2942 * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
2943 * config/i960/i960.md (branch patterns): Likewise.
2944 * config/ia64/ia64.md (tbit_and_0): Likewise.
2945 (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
2946 * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
2947 * config/mips/mips.md (divmodsi4_internal): Likewise.
2948 (divmoddi4_internal): Likewise.
2949 * config/rs6000/rs6000.md (call patterns): Likewise.
2950 * config/sh/sh.md (movsi_y): Likewise.
2951 * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
2952
79bc4669
RH
29532000-11-28 Richard Henderson <rth@redhat.com>
2954
2955 * config.gcc: Kill residual pyramid support.
2956
cf44ea52
NB
29572000-11-28 Neil Booth <neilb@earthling.net>
2958
2959 * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
2960 * c-decl.c (c_decode_option): Update to match.
2961 * c-lex.c (init_c_lex, yyparse): Update to match.
2962 * c-lang.c (lang_init_options): Use cpp_create_reader.
2963 * cppinit.c (cpp_init): Rename initialize.
2964 (cpp_reader_init): Rename cpp_create_reader. Create the
2965 reader. Initialize cpplib if appropriate.
2966 * cpplib.h (cpp_create_reader) New prototype.
2967 (cpp_init, cpp_reader_init): Delete prototypes.
2968 * cppmain.c (general_init, setup_callbacks): New functions.
2969 (main): Use them.
2970 * fix-header.c (scan_in): Change type to cpp_reader *.
2971 (read_scan_file): Update for new cpplib interface and scan_in type.
2972
2973 * cp/decl.c (parse_in): Change to cpp_reader *.
2974 (lang_decode_option): Update.
2975 * cp/lex.c (lang_init_options): Use new cpplib interface.
2976 (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
2977 * cp/spew.c (read_token): Update.
2978 * objc/objc-act.c (lang_init_options): Update new cpplib interface.
2979
48c4d691
JJ
29802000-11-28 Jakub Jelinek <jakub@redhat.com>
2981
2982 * loop.c (load_mems): Avoid using next_label to find end_label. If
2983 jumping outside of the loop (other than loop end), don't hoist MEMs
2984 out of loop.
2985
fb158467
JH
29862000-11-28 Jan Hubicka <jh@suse.cz>
2987
2988 * calls.c (expand_call): Don't disable tail recursion based
2989 on the loop nest.
2990
40bd4395
NB
29912000-11-28 Neil Booth <neilb@earthling.net>
2992
01933a51
JM
2993 * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
2994 (struct directive): Drop 4th argument from handlers.
2995 (do_define, do_line, do_include, do_undef, do_else, do_elif,
2996 do_endif): Similarly.
2997 (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
2998 (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
2999 (make_definition, make_undef): Take a const char*.
3000 (make_assertion): New function.
3001 (struct directive_table): Update.
3002 (main): Handle -A command line argument.
3003 (handle_directive): Drop fourth handler argument.
40bd4395 3004
77ea49a4
BS
30052000-11-28 Bernd Schmidt <bernds@redhat.co.uk>
3006
3007 * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
3008 is anything but REG or MEM, but look inside STRICT_LOW_PART.
3009
c5c0b3d9
RK
3010Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3011
3012 * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
3013 (IS_ABSOLUTE_PATHNAME): New macro.
3014 * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
3015
dd80b906
JJ
30162000-11-28 Jakub Jelinek <jakub@redhat.com>
3017
3018 * config/i386/i386.md (truncxfsf2_2): Fix predicate.
3019
102870fb
JW
30202000-11-27 Jim Wilson <wilson@redhat.com>
3021
3022 * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
3023
9734e80c
MK
30242000-11-27 Matthias Klose <doko@cs.tu-berlin.de>
3025
3026 * extend.texi (Nested Functions): Update URL of Usenix paper.
3027
cf77f15f
MM
30282000-11-27 Mark Mitchell <mark@codesourcery.com>
3029
3030 * function.c (free_after_compilation): Clear x_clobber_return_insn.
3031
6a6b1628
NB
30322000-11-27 Neil Booth <neilb@earthling.net>
3033
f6bbde28 3034 * cppinit.c (cpp_reader_init): Remove handling of warn_paste
01933a51
JM
3035 command line options.
3036 (cpp_handle_option): Similarly.
3037 * cpplib.h (struct cpp_options): Remove warn_paste.
3038 * cppmacro.c (paste_tokens): Apart from assembler, make
3039 unpasteable token warning mandatory.
6a6b1628 3040
fb6a7b08
NB
30412000-11-27 Neil Booth <neilb@earthling.net>
3042
01933a51
JM
3043 * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
3044 (main): Allocate a pending directive set of these. Use it.
3045 Merge handling of -D and -U. Update handling of pending
3046 directives. Free the memory after use.
fb6a7b08 3047
7dfc0fbe
BS
30482000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
3049
3050 * flow.c (entry_exit_blocks): Add entry for cond_local_set.
3051 (struct propagate_block_info): Add new member cond_local_set.
3052 (propagate_block): Accept new arg cond_local_set. All callers
3053 changed.
3054 (init_propagate_block_info): Likewise.
3055 (calculate_global_regs_live): Allocate & free cond_local_set. Always
3056 rescan if there's overlap between cond_local_set and new_live_at_end.
3057 (mark_set_1): Set bits either in cond_local_set or local_set, as
3058 appropriate.
3059 * basic-block.h (struct basic_block_def): New field cond_local_set.
3060 (propagate_block, init_propagate_block_info): Update prototypes.
3061
5f6fa212
KK
3062Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp>
3063
3064 * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
3065 T register.
3066
8bb9536a
RE
30672000-11-27 Richard Earnshaw <rearnsha@arm.com>
3068
3069 * arm.c (select_dominance_cc_mode): Handle new way that combine
3070 canonicalizes conditional compares.
3071 (arm_select_cc_mode): Likewise.
3072 * arm.md: Garbage collect some dead code.
21c7361e 3073 (cmp_and, cmp_ior): New patterns.
8bb9536a
RE
3074 (splitter for conditional move with inverted false): Use cond_exec
3075 and handle unordered comparisons.
3076
4211a8fb
JH
3077Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz>
3078
3079 * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
3080 * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
3081 * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
3082 ix86_force_to_memory and ix86_free_from_memory.
3083
bb6ae783
RE
30842000-11-27 Richard Earnshaw <rearnsha@arm.com>
3085
3086 * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
3087 arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
f6bbde28 3088 anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
bb6ae783 3089 one_cmpldi2): Merge with splitters to create define_insn_and_split
21c7361e 3090 patterns. Remove redundant splits.
bb6ae783
RE
3091 (peephole2 for add:SI of invalid immediate): New.
3092 (peephole2 for minus:SI of invalid immediate): New.
3093 (peephole2 for ior:SI of invalid immediate): New.
3094 (peephole for merge of move and compare): Convert ot peephole2.
3095 (addsf3, adddf3): Mark as commutative.
3096
3097 * arm.md (thumb peephole for merging stack adjustments): Convert to
3098 peephole2.
3099
70bbeb8b
BS
31002000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
3101
375de5b6
BS
3102 * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
3103
70bbeb8b
BS
3104 * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
3105 (reload_cse_simplify_operands): Do nothing about operands where both
3106 the operand and the match_operand fail to give us a mode.
3107 * simplify-rtx.c (wrap_constant): New function.
3108 (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
3109 CONST describing the proper mode.
3110 (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
3111 cselib_lookup.
3112 (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
3113 htab_find_slot_with_hash.
3114 (cselib_lookup): Likewise.
3115
7dbe6ae9
BS
3116 Based on a patch from Geoff Keating <geoffk@redhat.com>:
3117 * loop.c (basic_induction_var): If a REG is set from something
3118 that is not a biv, then the REG is not a biv. Even if it is
3119 earlier set from something that is a biv.
3120
6b2adea9
AO
31212000-11-27 Alexandre Oliva <aoliva@redhat.com>
3122
3123 * configure.in (extra_objs): Enclose extra_headers in quotes.
3124 * configure: Rebuilt.
3125
27e2564a
NB
31262000-11-27 Neil Booth <neilb@earthling.net>
3127
01933a51
JM
3128 * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
3129 Combine into the new function cb_change_file.
3130 (init_c_lex): Update.
3131 * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
3132 (cpp_syshdr_flags): Delete.
3133 * cpphash.h (_cpp_do_file_change): New prototype.
3134 Move struct cpp_buffer here from...
3135 * cpplib.h (struct cpp_buffer): ... here.
3136 (enum cpp_fc_reason, struct cpp_file_loc,
3137 struct_cpp_file_change, change_file): New.
3138 (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
3139 * cpplib.c (do_line): Update for new cb_change_file callback.
3140 (_cpp_do_file_change): New function.
3141 (_cpp_pop_buffer): Update to use it.
3142 * cppmain.c (move_printer): Delete.
3143 (main): Set up single callback cb_change_file.
3144 (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
3145 (cb_change_file): New.
3146 * fix-header.c (cur_file, cb_change_file): New.
3147 (recognized_function, read_scan_file): Update.
3148 * scan-decls.c (scan_decls): Update.
3149 * scan.h (recognized_function): Update prototype.
27e2564a 3150
9ccb25d5
MM
31512000-11-26 Mark Mitchell <mark@codesourcery.com>
3152
3153 * tree.h (mark_tree_hashtable): New function.
3154 * tree.c (mark_tree_hashtable_entry): New function.
3155 (mark_tree_hashtable): Likewise.
3156
5fcd86dd
MM
31572000-11-27 Michael Meissner <meissner@redhat.com>
3158
3159 * d30v-protos.h (srelational_si_operator): Correctly spell
3160 function.
3161 (urelational_si_operator): Ditto.
3162 (relational_si_operator): Ditto.
3163 (d30v_expand_prologue): Add prototype.
3164 (d30v_expand_epilogue): Ditto.
3165
3166 * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
3167
3168 * d30v.md (movcccc_*): Delete now unused patterns.
3169 (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
3170 IF_THEN_ELSE.
3171 (define_cond_exec): Use 'b' to select branch flags.
3172
da9e9f08
KG
31732000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3174
3175 * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
3176 functions.
3177 (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
3178
3179 * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
3180
3181 * c-common.c (c_common_nodes_and_builtins): Declare builtin
3182 strncpy and strncmp.
3183
3184 * extend.texi (strncmp, strncpy): Document new builtins.
3185
231db5f4
MM
31862000-11-26 Mark Mitchell <mark@codesourcery.com>
3187
3188 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3189 a list, to keep track of the sections.
3190 * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
3191 parameter provided will always be a canonical string.
3192
7463ef45
NB
31932000-11-26 Neil Booth <neilb@earthling.net>
3194
5fcd86dd
MM
3195 * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
3196 current buffer.
7463ef45 3197
1ccfb3dd
JM
31982000-11-26 Joseph S. Myers <jsm28@cam.ac.uk>
3199
3200 * makefile.vms: Remove EGCS references.
3201
0b34cf1e
UD
32022000-11-26 Ulrich Drepper <drepper@redhat.com>
3203
3204 * dwarf2out.c (output_file_names): New function. Compute minimal
3205 combination of directory and file name table and emit them.
3206 (output_line_info): Remove code to emit directory and file name
3207 table and call output_file_names instead.
3208 (file_info_cmp): Helper function to sort directory names.
3209
5fcd86dd 32102000-11-26 Neil Booth <neilb@earthling.net>
bdb05a7b 3211
5fcd86dd
MM
3212 * cpplib.h (struct cpp_reader): Remove lang_asm.
3213 (struct cpp_options): Remove c89. New members lang,
3214 extended_numbers.
f6bbde28 3215 * cppexp.c (parse_number): Use them.
5fcd86dd
MM
3216 * cpphash.h (VALID_SIGN): Use them.
3217 * cppinit.c (set_lang, cpp_start_read): Update.
3218 * cpplex.c (parse_string, _cpp_lex_token): Update.
3219 * cpplib.c (_cpp_handle_directive): Update.
3220 * cppmacro.c (parse_args): Update.
3221 * cppmain.c (scan_buffer): Update.
bdb05a7b 3222
72bd1f9e
RK
3223Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3224
3225 * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
3226 proper type.
3227
5fcd86dd
MM
32282000-11-26 Neil Booth <neilb@earthling.net>
3229
3230 * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
3231 * c-decl.c: Remove parse_in declaration.
3232 * c-lang.c: Similarly.
3233 * c-lex.c: Similarly.
3234 * c-parse.in: Similarly.
3235 * c-pragma.c: Similarly.
3236 * configure.in: Similarly.
3237 * cp/Make-lang.in: Similarly.
3238 * cp/spew.c: Similarly.
3239 * cp/decl2.c: Remove check for lang-c++ option.
3240 * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
3241 * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
3242 * c-lex.h: Add declaration of parse_in.
3243 * cppinit.c: Call set_lang after allocating pfile->pending.
3244 * configure: Regenerate.
056487e7 3245
1786009e
ZW
32462000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
3247
3248 * combine.c (try_combine): Remove redundant test.
3249
3645c4dc
RH
32502000-11-25 Richard Henderson <rth@redhat.com>
3251
3252 * c-common.h (DECL_C_HARD_REGISTER): New.
3253 * c-decl.c (finish_decl): Set it for asm register variables.
3254 * c-semantics.c (emit_local_var): Test it when instantiating one.
3255
a17a5850
RH
32562000-11-25 Richard Henderson <rth@redhat.com>
3257
3258 * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
3259 lineno for the start of the function.
3260
2e18bbae
RH
32612000-11-25 Richard Henderson <rth@redhat.com>
3262
3263 * dwarf2out.c (file_table, file_table_allocated): Remove.
3264 (file_table_allocated): Remove.
3265 (struct file_table): New.
3266 (decl_file_table, line_file_table): New.
3267 (print_dwarf_line_table): Use them.
3268 (size_of_line_prolog): Likewise.
3269 (output_line_info): Likewise.
3270 (add_src_coords_attributes): Likewise.
3271 (gen_subprogram_die): Likewise.
3272 (gen_variable_die): Likewise.
3273 (dwarf2out_add_library_unit_info): Likewise.
3274 (dwarf2out_line): Likewise.
3275 (lookup_filename): Take a struct file_table argument.
3276 (init_file_table): New.
3277 (dwarf2out_init): Use it.
3278
163686bd
JM
32792000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3280
3281 * invoke.texi: Update sequence points references.
3282
a32f2771
NB
32832000-11-25 Neil Booth <neilb@earthling.net>
3284
01933a51
JM
3285 * c-common.c: Remove USE_CPPLIB conditional inclusions.
3286 * c-common.h: Similarly.
3287 * c-decl.c: Similarly.
a32f2771
NB
3288 * c-lang.c: Similarly.
3289 * c-lex.c: Similarly.
01933a51
JM
3290 * c-parse.in: Similarly.
3291 * c-pragma.c: Similarly.
3292 * c-pragma.h: Similarly.
3293 * gcc.c: Similarly.
3294 * toplev.c: Similarly.
3295 * cp/cp-tree.h: Similarly.
3296 * cp/decl2.c: Similarly.
3297 * cp/lang-specs.h: Similarly.
3298 * cp/lex.c: Similarly.
3299 * cp/lex.h: Similarly.
3300 * cp/spew.c: Similarly.
3301 * java/lang-options.h: Similarly.
3302 * objc/lang-specs.h: Similarly.
3303 * objc/objc-act.c: Similarly.
3304
3305 * configure.in: Remove configure option.
3306 * config.in: Regenerate.
3307 * configure: Regenerate.
a32f2771 3308
3e8aa6e3
RH
33092000-11-25 Richard Henderson <rth@redhat.com>
3310
3311 * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
3312 Revert 2000-11-22 change.
3313
59a9e22e
BS
33142000-11-25 Bernd Schmidt <bernds@redhat.co.uk>
3315
3316 * config/i386/i386.h (FIXED_REGS): Make the three flags registers
3317 fixed.
3318
2be36552
PT
33192000-11-25 Philipp Thomas <pthomas@suse.de>
3320 * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
3321 * configure: Rebuilt.
3322
4df1190a
JJ
33232000-11-25 Jakub Jelinek <jakub@redhat.com>
3324
3325 * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
3326 Handle CONST_INT as second argument.
3327 * config/sparc/sparc.c (set_extends): Remove first argument.
3328 Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
3329 MOV.
3330 (sparc_check_64): Abort if first argument is not REG.
3331 If it is DImode REG, look at the lower register of the register
3332 pair.
3333
3334 * config/sparc/sparc.c (load_pic_register, restore_regs,
3335 output_return, sparc_v8plus_shift, sparc_function_profiler,
3336 sparc_function_block_profiler, sparc_block_profiler): Fix output
3337 formatting.
3338
6915629f
AO
33392000-11-25 Alexandre Oliva <aoliva@redhat.com>
3340
ae010e43
AO
3341 * config/sh/sh.h (TARGET_NONE): New.
3342 (TARGET_SWITCHES): For all variant-selecting switch, use
3343 TARGET_NONE to reset all other variant-selecting switch. Added
3344 empty strings to avoid warnings.
3345 (TARGET_DEFAULT): Set to SH1_BIT.
3346
8618466f
AO
3347 * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
3348 insn-codes.h.
3349
5db5a888
AO
3350 * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
3351 (sibcall_pcrel): New insn_and_split.
3352 (sibcall, sibcall_value, sibcall_epilogue): New expands.
3353
6915629f
AO
3354 * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
3355 symPLT_label2reg, call, call_value): Don't set
3356 current_function_uses_pic_offset_table.
3357 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
3358 PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
3359 takes it into account.
3360 (FINALIZE_PIC): Delete, useless.
3361 (LEGITIMATE_CONSTANT_P): Delete, unused.
3362 * config/sh/sh.c (sh_expand_prologue): Don't use
3363 current_function_uses_pic_offset_table. Don't special-case
3364 PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
3365 PIC is enabled.
3366 (sh_expand_epilogue, initial_elimination_offset): Don't
3367 special case PIC_OFFSET_TABLE_REGNUM.
3368
2d01e445
AO
33692000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org>
3370
3371 * config/sh/sh-protos.h (symbol_ref_operand): Declare.
3372 * config/sh/sh.md (UNSPEC_CALLER): New constant.
3373 (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
3374 (call_pcrel, call_value_pcrel): New insn_and_splits.
3375 (call, call_value): Use them.
3376 (call_site): New expand.
3377 (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
3378 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
3379 Output call_site label.
3380 (PREDICATE_CODES): Added symbol_ref_operand.
3381 * config/sh/sh.c (symbol_ref_operand): Define.
3382 * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
3383 to CALL_INSNs in the split sequence.
3384
c3edd394
NC
33852000-11-24 Nick Clifton <nickc@redhat.com>
3386
3387 * config.gcc (v850-*-*): Define c_target_objs and
f6bbde28 3388 cxx_target_objs.
c3edd394
NC
3389
3390 * config/v850/t-v850: Define how to build v850-c.o
3391
3392 * config/v850/v850.h (struct data_area_stack_element): Move
3393 definition here from v850.c.
3394
3395 * config/v850v850.c: Include gcc.h to avoid compile time
3396 warning.
3397 (push_data_area): Move to v850-c.c.
3398 (pop_data_area): Move to v850-c.c.
3399 (mark_current_function_as_interrupt): Move to v850-c.c.
3400 (GHS_default_section_names): Allow to be exported.
3401 (GHS_current_section_names): Allow to be exported.
3402 (data_area_stack_elements): Allow to be exported.
3403 (ghs_pragma_section): Move to v850-c.c.
3404 (ghs_pragma_interrupt): Move to v850-c.c.
3405 (ghs_pragma_starttda): Move to v850-c.c.
3406 (ghs_pragma_startsda): Move to v850-c.c.
3407 (ghs_pragma_startzda): Move to v850-c.c.
3408 (ghs_pragma_endtda): Move to v850-c.c.
3409 (ghs_pragma_endsda): Move to v850-c.c.
3410 (ghs_pragma_endzda): Move to v850-c.c.
3411
3412 * config/v850/v850-c.c: New file: Contains v850 specific
3413 pragma parsing functions.
3414
aac69a49
NC
34152000-11-24 Nick Clifton <nickc@redhat.com>
3416
3417 * config.gcc (extra_objs): Remove duplicate description.
3418 (c_target_objs): New variable. Contains target specific
3419 object files for the gcc C compiler only.
f6bbde28 3420 (cxx_target_objs): New variable. Contains target specific
aac69a49
NC
3421 object files for the gxx C++ compiler only.
3422
3423 * configure.in (c_target_objs): Substitute in the makefile.
3424 (cxx_target_objs): Substitute in the makefile.
3425 * configure: Regenerate.
3426
3427 * Makefile.in (C_TARGET_OBJS): Define and initialise from
3428 c_target_objs.
3429 (CXX_TARGET_OBJS): Define and initialise from
3430 cxx_target_objs.
3431 (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
3432
3433 * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
3434
3435 * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
3436 about how the use of the 'c_lex' function requires the use of
3437 the target specific, language specific object files feature of
3438 the configuration mechanism.
3439
7257bbc6
RK
3440Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3441
3442 * gcc.c (process_command): Use F_OK, not R_OK.
3443
c3ff75c4
AK
34442000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr>
3445
3446 * flow.c (print_rtl_and_abort): Remove ANSIism.
3447
104ee20b
AO
3448Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com>
3449
3450 * config/sh/sh.h (GENERAL_REGISTER_P,
3451 GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
3452 FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
3453 all over.
3454 (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
3455 * config/sh/sh.c: Use new macros.
3456 * config/sh/sh.md: Likewise.
3457
5d00b10a
AO
3458Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com>
3459
3460 * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
3461 instead of just MACH_REG in DImode. Always refer to FPSCR_REG
3462 in PSImode.
3463
33f77355
DC
3464Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru>
3465
3466 * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
3467 fixed.
3468 (machine_dependent_reorg): Wrong optimization based on
f6bbde28 3469 NOTICE_UPDATE_CC removed.
33f77355 3470
692dc9c6
R
3471Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com>
3472
3473 * jump.c (delete_computation): Re-instate deletion of feeding insn.
3474 (delete_insn): Look for REG_LABEL notes.
3475 (redirect_tablejump): Delete feeding insns.
3476
c3410241
BS
34772000-11-24 Bernd Schmidt <bernds@redhat.co.uk>
3478
90d10fb9
BS
3479 * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
3480 call_value_pop_1): Make sure operand numbers are contiguous.
3481
7cf5c9e1
BS
3482 * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
3483
ff6534ad
BS
3484 * reload1.c (conflicts_with_override): New function.
3485 (emit_input_reload_insns): Use it to tighten test for validity
3486 of substituting into output of previous insn.
3487
176f9a7b
BS
3488 * haifa-sched.c (struct ready_list): New.
3489 (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
3490 functions.
3491 (schedule_insn): Replace args READY and N_READY with a pointer to a
3492 ready_list; return void. Use the new functions to access the ready
3493 list. All callers changed.
3494 (queue_to_ready, debug_ready_list): Likewise.
3495 (schedule_block): Initialize a ready_list structure. Use new
3496 functions to access it.
3497 (max_priority): Remove unused variable.
3498 (schedule_insn): Don't set it.
3499
52a84e42
BS
3500 * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
3501
c3410241
BS
3502 * combine.c (cant_combine_insn_p): New function.
3503 (try_combine): Use it.
3504
235cfbc4
BS
3505 * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
3506 * c-common.c (c-obstack.c): Include "obstack.h".
3507 (struct reverse_tree): Delete.
3508 (reverse_list, reverse_max_depth): Delete.
3509 (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
3510 (struct tlist, struct tlist_cache): New.
3511 (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
3512 (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
3513 warn_for_collisions, warn_for_collisions_1, new_tlist): New
3514 static functions.
3515 (verify_sequence_points): Rewritten.
3516 * fold-const.c (fold): Don't lose possibly important sequence
3517 points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
3518
58ecb5e2
RS
35192000-11-24 Richard Sandiford <rsandifo@redhat.com>
3520
3521 * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
3522 when reversing a register-to-register copy. Reversal now disabled
3523 when the previous instruction has a REG_EQUIV.
3524
2f401cc8
NS
35252000-11-24 Nathan Sidwell <nathan@codesourcery.com>
3526
3527 * c-parse.in (unary_expr): Move VA_ARG from here ...
3528 (primary): ... to here.
3529
963a2a84
GS
35302000-11-23 Graham Stott <grahams@redhat.com>
3531
3532 * expr.c (store_constructor): If a field is non addressable and
3533 the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
3534
f9b697bf
BS
35352000-11-23 Bernd Schmidt <bernds@redhat.co.uk>
3536
3537 * flow.c (print_rtl_and_abort): New function.
3538 (verify_wide_reg, verify_local_live_at_start): Try to dump more
3539 information before aborting.
3540
69295d6d
AO
35412000-11-23 Alexandre Oliva <aoliva@redhat.com>
3542
3543 * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
3544 is narrower than requested mode.
3545 (gen_highpart): Abort if register mode is narrower than
3546 requested mode.
3547
99a9c946
GS
35482000-11-23 Graham Stott <grahams@redhat.com>
3549
3550 * cse.c (cse_insn): Initialise all regcost variables.
3551 Fix a typo add missing '='.
3552 Only compare costs if there is a replacement insn.
3553
422be3c3
AO
3554Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com>
3555
3556 * final.c (output_addr_const) [LABEL_REF]: Simplify.
3557 [MINUS]: Enclose non-CONST_INTs in parentheses.
3558 [default]: Try OUTPUT_ADDR_CONST_EXTRA.
3559 * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
3560 * varasm.c (decode_rtx_const) [CONST]: If it's not something
3561 PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
3562 instead of abort()ing.
3563 * sh.c (output_pic_addr_const): Removed. Fixed all callers.
3564 * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
3565 formerly handled in output_pic_addr_const.
3566 * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
3567 operands of MINUS in CONSTs so that decode_rtx_const() will
3568 accept them.
3569
43c05634
AO
3570Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com>
3571
3572 * config/sh/sh.md (mova_const): New pattern.
3573 (GOTaddr2picreg): Use it.
3574 * config/sh/sh.c (broken_move): Match it.
3575 (mova_p): Don't match it.
3576 (machine_dependent_reorg): Adjust it.
3577
4773afa4
AO
3578Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com>
3579
3580 * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
3581 Moved most register-number #defines...
3582 * config/sh/sh.md (define_constants): ... here. Use macros to
3583 refer to registers and unspecs.
3584 * config/sh/sh.c: Likewise.
3585
9196ece5
R
3586Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com>
3587
3588 * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
3589 (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
3590 (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3591 (splay-tree.o, hash.o): Likewise.
3592 GCONFIG_H: New.
3593 (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
3594 (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3595 (hashtab.o): Likewise.
3596 (gcov.o): Depend on $(CONFIG_H).
3597 * configure.in: #include insn-codes.h in tm.h.
3598
48a08b9c
NC
35992000-11-22 Nick Clifton <nickc@redhat.com>
3600
57f56af4
NC
3601 * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
3602 const char * to avoid a compile time warning.
3603
48a08b9c
NC
3604 * config/arm/arm.md (define_constants): Define symbolic names for
3605 the link register, last integer register and the fake CC register.
3606 Update patterns to use these symbolic names.
3607
4a5b68a2
NB
36082000-11-22 Neil Booth <neilb@earthling.net>
3609
3610 * cpplex.c (trigraph_ok): Ensure we don't warn twice.
3611 * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
f6bbde28 3612
a165f034
RH
36132000-11-22 Richard Henderson <rth@redhat.com>
3614
3615 * haifa-sched.c (sched_analyze_1): Don't special-case calls
3616 for clobbering registers.
3617 (sched_analyze_2): Likewise.
3618 (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
3619
f6bbde28 36202000-11-22 Chris Demetriou <cgd@sibyte.com>
a165f034 3621 Neil Booth <neilb@earthling.net>
10ebf5fe 3622
a165f034 3623 * gcc.c (validate_switches): Validate multiple switches named
f6bbde28 3624 in '|' (or) expressions in specs.
a165f034
RH
3625 (handle_braces): If more than 1 alternative in a '|' spec
3626 matches, call do_spec1 just once.
10ebf5fe 3627
fb0b2546
MM
36282000-11-22 Michael Meissner <meissner@redhat.com>
3629
3630 * d30v.h (TARGET_SWITCHES): Add documentation strings.
3631 (TARGET_OPTIONS): Ditto.
3632 (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
3633 -O3.
f6bbde28 3634
67d6f2fc
JL
3635Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com)
3636
3637 * pa.c (hppa_encode_label): Account for addition of encoding
3638 character when allocating persistent space for the new label
3639 name.
3640
d1209685
ZW
36412000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
3642
3643 * Makefile.in, config.gcc, configure.in: Expunge remaining
3644 traces of facility for running MD files through C preprocessor.
3645
c01a508e
JM
36462000-11-22 Joseph S. Myers <jsm28@cam.ac.uk>
3647
3648 * gcov.texi: Add magic comments for texi2pod.pl.
3649 * Makefile.in: Add rules to generate and install gcov.1.
3650 * gcov.1: New (generated) file.
3651
a125d855
RH
36522000-11-21 Richard Henderson <rth@redhat.com>
3653
3654 * regrename.c (scan_rtx_reg): Terminate the chain rather than
3655 abort on mark_read with NO_REGS.
3656
ed311407
MS
36572000-11-21 Mike Stump <mrs@wrs.com>
3658
3659 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
3660 compilation with older compilers, such as /bin/cc on SunOS.
3661 * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
3662
cac16ef9
RH
36632000-11-21 Richard Henderson <rth@redhat.com>
3664
3665 * varasm.c (record_constant): Pad the constructed
3666 constant_descriptor appropriately.
3667
c25c12b8
R
3668Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com>
3669
3670 * rtl.h (traverse_md_constants): Declare.
3671 (struct md_constant): Define.
3672 * Makefile.in (HOST_RTL): Add hashtab.o .
3673 (OBJS): Add hashtab.o .
3674 (hashtab.o): New rule.
3675 (rtl.o): Depends on HASHTAB_H.
3676 * rtl.c (hashtab.h): #include.
3677 (md_constants): New static variable.
3678 (def_hash, def_name_eq_p, read_constants): New static functions.
3679 (traverse_md_constants): New function.
3680 (read_name): Do constant expansion.
3681 (read_rtx): Recognize define_constants.
3682 * gencodes.c (print_md_constant): New function.
3683 (main): Emit #defines for all constant definitions encountered.
3684 * md.texi (Constant Definitions): New node.
3685 * gensupport.c (xcalloc): New function.
3686
f940c352
RH
36872000-11-21 Richard Henderson <rth@redhat.com>
3688
3689 * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
3690 * config/alpha/alpha-protos.h: Declare it.
3691 * config/alpha/alpha.md (abstf_internal): Use it.
3692 (negtf_internal): Likewise.
3693 (andnotdi3): Unstar the name.
3694 (movtf_internal): Add o/G alternative.
3695
dfc55970
ZW
36962000-11-21 Zack Weinberg <zack@wolery.stanford.edu>
3697
3698 * stringpool.c (stringpool_statistics): Also report number and
3699 percentage of entries which are identifiers.
3700
d1cc928a
DN
37012000-11-21 Diego Novillo <dnovillo@redhat.com>
3702
3703 * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
3704 visited before visiting it.
3705
70f24e49
NC
37062000-11-21 Nick Clifton <nickc@redhat.com>
3707
3708 * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
3709 TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
3710
3711 * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
f6bbde28 3712
3fe30ff6
RH
37132000-11-21 Richard Henderson <rth@redhat.com>
3714
3715 * c-common.c (c_unsafe_for_reeval): New function.
3716 (add_c_tree_codes): Register it.
3717 * c-common.h: Declare it.
3718 * tree.c (lang_unsafe_for_reeval): New hook.
3719 (unsafe_for_reeval): Call it.
3720 * tree.h: Declare it.
3721
3adbce3d
RH
37222000-11-21 Richard Henderson <rth@redhat.com>
3723
3724 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
3725 references as well.
3726
0736a307
NB
37272000-11-21 Neil Booth <neilb@earthling.net>
3728
a165f034 3729 * do_includes: Revert to using cpp_read_file.
0736a307 3730
52e12ad0
BS
37312000-11-21 Bernd Schmidt <bernds@redhat.co.uk>
3732
847dde95
BS
3733 * loop.c (consec_sets_giv): If the reg we're examining is anything
3734 but UNKNOWN_INDUCT, do nothing.
3735 Reset the reg's type to UNKNOWN_INDUCT before returning.
3736
52e12ad0
BS
3737 Mostly from Vladimir Makarov (vmakarov@redhat.com)
3738 * ia64.md (attr itanium_class): Define insn types as described in
3739 Itanium docs.
3740 (all insn patterns): Use itanium_class, not type attributes.
3741 Occasionally split alternatives as necessary.
3742 (attr type): Compute from new attr itanium_class.
f6bbde28 3743
b3e2d1eb
KG
37442000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3745
3746 * tradcpp.c (output_line_command): Mark system headers as such in
3747 `line' commands.
3748
0faf814f
JJ
37492000-11-21 Jakub Jelinek <jakub@redhat.com>
3750
3751 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
3752 support in as as well.
3753 * configure: Regenerate.
3754
3aac38d7
RH
37552000-11-20 Richard Henderson <rth@redhat.com>
3756
3757 * c-lex.c (orig_filename): New variable.
3758 (init_c_lex): Set it. Move call to cpp_start_read ...
3759 (yyparse): ... here. New function.
3760 * c-parse.in (yyparse_1): Rename the parser entry point.
3761 * c-tree.h: Declare it.
3762
6b16805e
JJ
37632000-11-21 Jakub Jelinek <jakub@redhat.com>
3764
3765 * expr.c (do_compare_and_jump): If op0 was replaced by promoted
3766 integer constant, use type of op1 for comparison.
3767
18922061
SS
37682000-11-20 Stan Shebs <shebs@apple.com>
3769
3770 * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
3771 * config/rs6000/x-darwin: New file, Darwin host fragment.
3772 * config.gcc (powerpc-*-darwin*): New host.
3773 * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be
3774 overridden by a config file.
3775
d63eefbf
NB
37762000-11-20 Neil Booth <neilb@earthling.net>
3777
3778 * cppmacro.c (paste_tokens): Rename from paste_payloads.
3779 Change token type after pasting spellings.
3780 (paste_all_tokens): Use it.
3781 * gcc.dg/cpp/paste2.c: Update test.
3782 * objc/execute/paste.m: New test.
3783
21bc13c9
RH
37842000-11-20 Richard Henderson <rth@redhat.com>
3785
3786 * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
3787 dwarf_subscr_data_formats bits.
3788 * dwarfout.c (simple_type_size_in_bits): Handle a type with
3789 no computed size as size zero.
3790 (field_byte_offset): Likewise.
3791 (subscript_data_attribute): Handle a range with no upper bound.
3792
250333d0
KG
37932000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3794
3795 * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
3796
1d7ff272
JM
37972000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
3798
3799 * c-typeck.c (build_conditional_expr): When merging type
3800 qualifiers for conditional expressions between a pointer and a
3801 pointer to a void type, merge the qualifiers on the target types
3802 rather than the pointer type. Remove obsolete conditioned out
3803 code.
3804
dd07b884
NB
38052000-11-20 Neil Booth <neilb@earthling.net>
3806
3807 * c-lang.c (lang_init_options): Update call to
3808 cpp_reader_init.
3809 * cppmain.c (main): Similarly.
3810 * fix-header.c (read_scan_file): Similarly.
3811 * cp/lex.c (lang_init_options): Similarly.
3812 * objc/objc-act.c (lang_init_options): Similarly.
3813 * cppexp.c (parse_number): Only warn for unextended C89.
3814 * cppinit.c (set_lang): New function.
3815 (cpp_reader_init): Take a LANG argument and pass it to set_lang.
3816 (COMMAND_LINE_OPTIONS): New option std=c++98.
3817 (cpp_handle_option): Use set_lang.
3818 * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
3819 * cppib.h (enum_c_lang): New enumeration. Update comments.
3820
8d50dfb8
WC
38212000-11-20 Will Cohen <wcohen@redhat.com>
3822
3823 * calls.c (expand_call): Clear target only when target is in
3824 hard register and current_function_check_memory_usage is set.
3825
bd675859
BS
38262000-11-20 Bernd Schmidt <bernds@redhat.co.uk>
3827
3828 * toplev.c (rest_of_compilation): Run optimize_mode_switching even
3829 if not optimizing.
3830 * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
3831
3df18884
RH
38322000-11-19 Richard Henderson <rth@redhat.com>
3833
52403abb
RH
3834 * crtstuff.c (force_to_data): Use array size 1 not 0.
3835
3df18884
RH
3836 * dwarf2out.c (simple_type_size_in_bits): Handle a type with
3837 no computed size as size zero.
3838 (field_byte_offset): Likewise.
3839
cfd1c7ea
JM
38402000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
3841
3842 * config.gcc: Fix another typo.
3843
a25f1211
RH
38442000-11-19 Richard Henderson <rth@redhat.com>
3845
3846 * c-decl.c (grokdeclarator): Support flexible array members.
3847 Use open-ended ranges for these and zero-length arrays.
3848 * c-typeck.c (push_init_level): Validate the context of
3849 initialization of a zero-length array.
3850 * tree.c (int_fits_type_p): Be prepared for missing bounds.
3851 * varasm.c (array_size_for_constructor): New.
3852 (output_constructor): Use it for arrays of unspecified length.
3853 * extend.texi (Zero Length): Mention C99 flexible array members.
3854 Document initialization in a top-level struct as valid.
3855
65fa2185
JM
38562000-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
3857
9e8fc4b8
JM
3858 * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
3859
65fa2185
JM
3860 * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
3861 stdarg and varargs functions.
3862
2e59adac
ZW
38632000-11-19 Zack Weinberg <zack@wolery.stanford.edu>
3864
3865 * gcc.c (process_command): Define 'j' variable when
3866 MODIFY_TARGET_NAME is defined.
3867
856442b6
RH
38682000-11-19 Richard Henderson <rth@redhat.com>
3869
3870 * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
3871
88c1e412
FS
38722000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3873
3874 * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
3875 calculation and allocation.
3876
ce1cc601
KG
38772000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3878
3879 * builtins.c (c_getstr): Constify variable.
3880 * gmon-sol2.c (_mcleanup): Comment out #endif labels.
3881 * conflict.c (const_conflict_graph_arc): New typedef.
3882 (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
3883 * cppmacro.c (builtin_macro): Likewise.
3884 * dwarf2out.c (output_comp_unit): Constify variable.
3885 * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
3886 * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
3887 * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
3888 away const-ness.
3889 * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
f6bbde28 3890 ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
ce1cc601
KG
3891 * varasm.c (const_str_htab_hash, const_str_htab_eq,
3892 compare_constant_1, record_constant_1): Constify.
3893
967e627a
RH
38942000-11-18 Richard Henderson <rth@redhat.com>
3895
3896 * c-decl.c (grokdeclarator): Special case the creation of an
3897 index for a zero-length array.
3898 * tree.c (build_index_type): Revert Oct 20 change.
3899
e9284adf
MM
39002000-11-18 Marek Michalkiewicz <marekm@linux.org.pl>
3901
3902 * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
3903 * config/avr/avr.c (jump_tables_size): New variable.
3904 (function_prologue): Initialize it as 0.
3905 (function_epilogue): Add it to function_size.
3906 (avr_output_addr_vec_elt): New function. Count words in jump
3907 tables in jump_tables_size. Move code ...
3908 * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
3909 Call avr_output_addr_vec_elt instead.
3910 * config/avr/avr.md (tablejump): Remove disabled define_expand.
3911
67c72a63
MM
39122000-11-18 Mark Mitchell <mark@codesourcery.com>
3913
3914 * configure.in: Make --enable-new-gxx-abi the default.
3915 * configure: Likewise.
3916
0a8ad417
KG
39172000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3918
3919 * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
3920
3921 * tradcif.y: Include tradcpp.h. Constify. Make functions static.
3922 Move extern function declarations to tradcpp.h.
3923
3924 * tradcpp.c: Likewise.
3925
3926 * tradcpp.h: New file.
3927
77c4d6c0
JM
39282000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
3929
3930 * c-decl.c (check_for_loop_decls): New function.
3931 * c-parse.in (for_init_stmt): New.
3932 (select_or_iter_stmt): Use for_init_stmt.
3933 * c-tree.h (check_for_loop_decls): New declaration.
3934
4a58aab6
NB
39352000-11-18 Neil Booth <neilb@earthling.net>
3936
3937 * cppinit.c: Update comments.
3938 (cpp_reader_init): Make -imacro and -include use the standard
3939 #include "" search path.
3940 (do_includes): New function.
3941
c3e2d242
BE
39422000-11-18 Ben Elliston <bje@redhat.com>
3943
3944 * config/sh/crt1.asm (start_l): Move PC-relative move instruction
3945 out of a branch delay slot.
3946
48adb36e
RH
39472000-11-17 Richard Henderson <rth@redhat.com>
3948
3949 * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
3950 (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
3951 (ASM_FILE_START): Only write out ecoff .file directive if
3952 emitting mdebug debugging.
3953
9d147085
RH
39542000-11-17 Richard Henderson <rth@redhat.com>
3955
3956 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
3957 whether as accepts .file/.loc and produces dwarf2 line info.
3958 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
3959 the assembler supports it.
3960 * config.in, configure: Regenerate.
3961
5b87e928
RH
39622000-11-17 Richard Henderson <rth@redhat.com>
3963
3964 * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
3965
95c8e04b
JW
39662000-11-17 Jim Wilson <wilson@redhat.com>
3967
f6bbde28 3968 * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
95c8e04b
JW
3969 Don't clear need_barrier is next_insn is a CALL_INSN, or has
3970 instruction type B or UNKNOWN.
3971
14fbab6d
NB
39722000-11-17 Neil Booth <neilb@earthling.net>
3973
a25f1211 3974 * cpperror.c (print_file_and_line): Don't display line number if 0.
14fbab6d 3975
a8a05998
ZW
39762000-11-17 Zack Weinberg <zack@wolery.stanford.edu>
3977
3978 * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
3979 digit_vector and digit_string.
3980 * stringpool.c (digit_vector): New.
3981 (ggc_alloc_string): Use digit_string.
3982
3983 * stmt.c (digit_strings): Delete.
3984 (init_stmt): Do not initialize digit_strings.
3985 (expand_asm_operands): Use ggc.h's digit_string macro.
3986 * toplev.c (mark_file_stack): Delete.
3987 (compile_file): Don't call init_tree_codes.
3988 (main): No need to make the file stack a GC root.
3989 * tree.c (init_tree_codes): Delete.
3990 * tree.h (init_tree_codes): Delete.
3991
3992 * c-lex.c: Don't include ggc.h.
3993 (mark_splay_tree_node, mark_splay_tree): Delete.
3994 (init_c_lex): No need to ggc_strdup string constant. Don't add
3995 file_info_tree to GGC roots.
3996 (cb_enter_file, cb_rename_file): No need to ggc_strdup
3997 ip->nominal_fname.
3998
3999 * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
4000
4001 * dbxout.c (dbxout_init),
4002 dwarf2out.c (dwarf2out_line),
4003 ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
4004 varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
4005 xcoffout.c (xcoffout_source_file),
4006 i386.c (load_pic_register):
4007 Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
4008
4009 * except.c (create_rethrow_ref),
4010 profile.c (init_edge_profiler),
4011 toplev.c (compile_file),
4012 varasm.c (named_section, assemble_static_space,
4013 assemble_trampoline_template, output_constant_def, force_const_mem),
4014 i386.c (load_pic_register),
4015 ia64.c (ia64_encode_section_info),
4016 rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
4017 rs6000_emit_prologue, rs6000_emit_epilogue),
4018 rs6000.md (load_toc_aix_si, load_toc_aix_di):
4019 Change ggc_alloc_string (var, -1) to ggc_strdup (var).
4020
4021 * profile.c (output_func_start_profiler),
4022 tree.c (make_node),
4023 i386.c (load_pic_register): No need to ggc_strdup string constant.
4024
61ed06c3
HPN
40252000-11-17 Hans-Peter Nilsson <hp@axis.com>
4026
4027 * Makefile.in (config.status): Depend on config.gcc.
4028 * configure.in <for machine in $build $host $target>: Move
4029 contents of loop into config.gcc, removing autoconf quoting.
4030 Fix changequote bug for alpha*-*-vxworks*.
4031 * configure: Regenerate.
4032 * config.gcc: New.
4033
520a57c8
ZW
40342000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
4035
4036 * c-parse.in (if_prefix): Find the filename and line number at
4037 $-2 and $-1 respectively.
4038 * diagnostic.c (error_recursion): Add missing newline, use
4039 fputs, translate string.
4040
40412000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
4042
4043 * stringpool.c: New file.
4044 * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
4045 (ggc_alloc_string): Now in stringpool.o.
4046 * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
4047 * ggc.h: Delete prototype of ggc_add_string_root. #define
4048 ggc_add_string_root and ggc_mark_string to nothing. Prototype
4049 init_stringpool and stringpool_statistics.
4050 (ggc_alloc_string): Returns a const char *.
4051 * tree.c (hash_table, do_identifier_warnings): Delete.
4052 (init_obstacks): Don't initialize the identifier hash table.
4053 (get_identifier, maybe_get_identifier, start_identifier_warnings,
4054 set_identifier_size): Now in stringpool.c.
4055 * tree.h (struct tree_string): Constify pointer field.
4056 (approx_sqrt): Prototype.
4057
4058 * Makefile.in (stringpool.o): Add rule, mention in OBJS.
4059
4060 * toplev.c (approx_sqrt): New function.
4061 (compile_file): Call stringpool_statistics if mem_report is on.
4062 (main): Call init_stringpool.
4063
4064 * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
4065 (process_directive), c-typeck.c (constructor_asmspec, struct
4066 initializer_stack, start_init), except.c (create_rethrow_ref),
4067 stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
4068 (built_in_filename), varasm,c (in_named_name,
4069 assemble_static_space, struct constant_descriptor, struct
4070 deferred_string, struct pool_constant, force_const_mem),
4071 i386.c (pic_label_name, global_offset_table_name), rs6000.c
4072 (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
4073
4074 * c-common.c (combine_strings): Combine strings in scratch
4075 buffer, then pass to build_string.
4076 * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
4077 output_func_start_profiler), stmt.c (init_stmt), alpha.c
4078 (alpha_need_linkage), arm.c (arm_encode_call_attribute),
4079 i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
4080 rs6000.c (rs6000_encode_section_info): Create string in
4081 scratch buffer, then pass to ggc_alloc_string.
4082
4083 * stmt.c (expand_asm_operands): If we must adjust the
4084 constraint strings, do so by creating a new one, not by
4085 modifying the old one in place. Constify some char *s.
4086 * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
4087 argument. Create string in scratch buffer, then pass to
4088 ggc_alloc_string.
4089 * config/pa/pa-protos.h: Update prototype.
4090 * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
4091 hppa_encode_label takes only one argument.
4092
dd3b81b4
KG
40932000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4094
4095 * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
4096 malloc/realloc.
4097
4098 * cpplib.c (glue_header_name): Likewise.
4099
4100 * fixincl.c (run_compiles, start_fixer): Likewise.
4101
4102 * fixlib.c (load_file_data): Likewise.
4103
4104 * mkdeps.c (munge): Likewise.
4105
5074c1fe
HPN
41062000-11-17 Hans-Peter Nilsson <hp@axis.com>
4107
4108 * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
4109 trailing ';'. Fix formatting.
4110
74fe26b2
JW
41112000-11-16 Jim Wilson <wilson@redhat.com>
4112
35d9f39d
JW
4113 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
4114 Shift masks left by one to avoid conflict.
4115
74fe26b2
JW
4116 * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
4117 DECL_EXTERNAL set.
4118
68dfd979
NC
41192000-11-16 Nick Clifton <nickc@redhat.com>
4120
4121 * config/arm/arm.c (output_arm_prologue): Note nested functions.
4122 (arm_expand_prologue): For nested functions preserve the
4123 static chain register during stack frame creation.
4124
4125 * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
4126 (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
4127 with a stack frame there is a 4 byte gap between the arg
4128 pointer and the hard frame pointer (used to preserve the
4129 static chain register during stack frame creation).
4130
3ab9a08f
DD
41312000-11-16 DJ Delorie <dj@redhat.com>
4132
4133 * rtl.c (read_rtx): Provide suitable names for unnamed
4134 define_insn and define_insn_and_split patterns, based on file
4135 and line numbers.
4136
fe6c2db9
NB
41372000-11-15 Neil Booth <neilb@earthling.net>
4138
a8a05998
ZW
4139 * cpplib.c (start_directive, end_directive): New functions.
4140 (_cpp_handle_directive, run_directive): Use them.
4141 (_cpp_handle_directive): Don't -Wtraditional on indented
4142 null directives.
4143 (_cpp_push_buffer): Don't re-clear was_skipping.
4144 * cpplib.h (struct cpp_reader): New member la_saved.
4145 * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
4146 directives.
fe6c2db9 4147
a8a05998
ZW
4148 gcc.dg/cpp/_Pragma1.c: Update.
4149 gcc.dg/cpp/_Pragma2.c: New test.
fe6c2db9 4150
62136084
MM
41512000-11-15 Mark Mitchell <mark@codesourcery.com>
4152
4153 * toplev.c (wrapup_global_declarations): Don't write out
4154 artificial static variables that aren't needed.
4155
099dde21
BS
41562000-11-15 Bernd Schmidt <bernds@redhat.co.uk>
4157
4158 * ia64.c (struct group): New structure.
4159 (last_group): New static array.
4160 (group_idx): New static variable.
4161 (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
4162 New static functions.
4163 (emit_insn_group_barriers): Initialize and keep track of group_idx
4164 and last_group.
4165 Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
4166 Replace all calls to emit_insn_after that emit a group barrier to use
4167 emit_group_barrier_after.
4168 * ia64.h (MASK_B_STEP): New.
4169 (other MASK_XXX macros): Renumbered.
4170 (TARGET_B_STEP): New.
4171 (TARGET_SWITCHES): Add -mb-step.
4172
4e7b85ed
FF
41732000-11-15 Fred Fish <fnf@be.com>
4174
4175 * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
4176 machines for which fixincludes is not needed.
4177 * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
4178
ee3400e8
JM
41792000-11-15 Jason Merrill <jason@redhat.com>
4180
4181 * diagnostic.c (finish_abort): New fn.
4182 (fancy_abort, error_recursion): Use it.
4183 * toplev.c (crash_signal): Likewise.
4184 * diagnostic.h: Declare it.
4185
12e1243e
AH
41862000-11-13 Andrew Haley <aph@redhat.com>
4187
4188 * tree.c (build_type_no_quals): New function.
4189 * tree.h (build_type_no_quals): Declare.
4190 * c-common.c (c_get_alias_set): When considering type
4191 compatibility for pointer types, ignore cv-qualifiers anywhere in
4192 a pointer chain.
4193
695e4773
GS
41942000-11-15 Graham Stott <grahams@redhat.com>
4195
4196 * regrename.c (scan_rtx_rtx): Skip to the next chain on
4197 encountering a terminated chain.
4198
5a7c1037
MM
41992000-11-14 Mark Mitchell <mark@codesourcery.com>
4200
4201 * configure.in: Move check for V3 above check for C++ header-file
4202 directory.
4203 * configure: Regenerated.
a8a05998 4204
568c5140
DD
42052000-11-14 DJ Delorie <dj@redhat.com>
4206
4207 * config/v850/v850.c: Remove obstacks.
4208
1268b05f
MM
4209Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru>
4210
4211 * config/avr/avr.c (avr_case_values_threshold): New.
4212 (avr_override_options): Set it depending on options, make it large
4213 when not optimizing to work around "unable to generate reloads".
4214
4215 * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
4216 (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
4217 executable if not AVR_MEGA. Make sure jump tables are word-aligned.
4218 (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
4219 (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
4220 (avr_case_values_threshold): Declare as extern int.
4221 (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
4222
4223 * config/avr/avr.md (tablejump): Removed.
4224 (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
4225 (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
4226 index in the table, not multiplied by 2.
4227 (casesi): Change to match the above insns. Always enable.
4228
4229 * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
4230 Change to expect the word address of the table, multiply it by 2
4231 here and not in the caller. Change "adiw" to faster "inc".
4232
7f2f1a66
NB
42332000-11-14 Neil Booth <neilb@earthling.net>
4234
4235 * cppexp.c (parse_defined): Call cpp_get_token not
4236 _cpp_get_token.
4237 (lex): Similarly.
4238 * cpplex.c (cpp_output_line): Similarly.
4239 * cpplib.c (glue_header_name, do_line, do_ident,
4240 parse_answer, parse_assertion): Similarly.
4241 (_cpp_handle_diretive): Don't save to lookaheads
4242 when processing directives.
4243 * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
4244 _cpp_get_token.
4245 (funlike_invocation_p): Don't save to lookaheads
4246 when pre-expanding arguments.
4247 (_cpp_get_token): Delete.
4248 (cpp_get_token): Merge contents of _cpp_get_token.
4249
f36d6244
JJ
42502000-11-14 Jakub Jelinek <jakub@redhat.com>
4251
4252 * builtins.c (expand_builtin_setjmp): Set
4253 current_function_calls_setjmp.
4254 (expand_builtin_longjmp): Set current_function_calls_longjmp.
4255
4256 * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
4257 (do_builtin_setjmp_setup): New insn.
4258
3401c26b
RK
4259Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4260
4261 * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
4262 (int_fits_type_p): For variable bounds, call force_fit_type.
4263
bd7cf17e
JJ
42642000-11-14 Jakub Jelinek <jakub@redhat.com>
4265
4266 * varasm.c (struct deferred_string): New structure.
4267 (const_str_htab): New variable.
4268 (STRHASH): New macro.
4269 (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
4270 constr_str_htab_eq, const_str_htab_del): New functions.
4271 (output_constant_def): Add DEFER argument, defer string
4272 constants until mark_constant_pool time if requested.
4273 (mark_constant_pool): Walk the insn chain even if const_str_htab is
4274 not empty.
4275 (mark_constants): If a SYMBOL_REF for deferred string is found,
4276 output it and remove from hash table.
4277 (output_addressed_constants): Set DEFER to 0 in call to
4278 output_constant_def.
4279 * rtl.h (STRING_POOL_ADDRESS_P): Define.
4280 (output_constant_def): Adjust prototype.
4281 * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
4282
10e927ef
CC
42832000-11-14 Chandrakala Chavva <cchavva@redhat.com>
4284
4285 * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
4286 signed types if flag_trapv.
4287
ef90743a
ZW
42882000-11-14 Zack Weinberg <zack@wolery.stanford.edu>
4289
4290 * tradcpp.c, tradcif.y: Update FSF mailing address, delete
4291 reference to GPLv1.
4292
fe8ca71f
JM
42932000-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
4294
4295 * c-common.h (CTI_C_SIZE_TYPE): Update comment.
4296
94b01be3
JJ
42972000-11-14 Jakub Jelinek <jakub@redhat.com>
4298
4299 * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
4300 to array of pool_constnat pointers.
4301 (struct pool_constant): Add next_sym and label members.
4302 (struct pool_sym): Remove.
4303 (init_varasm_status): Change pool_sym into pool_constant.
4304 (mark_pool_constant): Mark pc->label string as well.
4305 (mark_pool_sym_hash_table): Remove.
4306 (mark_varasm_status): Remove it from caller as well.
4307 (free_varasm_status): Don't free pool_sym structures.
4308 (force_const_mem): Don't allocate pool_sym structure, instead
4309 fill pool->label and chain it into rtx_sym hash table.
4310 (find_pool_constant, mark_constant_pool): Use pool_constant instead
4311 of pool_sym.
4312
716120a7
JJ
43132000-11-14 Jakub Jelinek <jakub@redhat.com>
4314
4315 * reload1.c (emit_input_reload_insns): Honour forcing of constants
4316 into memory by PREFERRED_RELOAD_CLASS NO_REGS.
4317
f8032688
MM
43182000-11-14 Michael Matz <matzmich@cs.tu-berlin.de>
4319
4320 * dominance.c: New file.
4321 * Makefile.in (OBJS): Add dominance.o.
4322
4323 * flow.c (compute_flow_dominators): Remove.
4324 (compute_immediate_dominators): Remove.
4325 (compute_immediate_postdominators): Remove.
4326 * basic-block.h: Remove their prototypes.
4327 (calculate_dominance_info): Add prototype.
4328
4329 * dce.c (eliminate_dead_code): Change calls to above functions.
4330 Don't compute dominators but only immediate dominators.
4331 * flow.c (flow_loops_find): Change callers.
4332 * gcse.c (compute_code_hoist_data): Likewise.
4333 * haifa-sched.c (schedule_insns): Likewise.
4334 * ifcvt.c (if_convert): Likewise.
4335 * ssa.c (convert_to_ssa): Likewise, and only compute immediate
4336 dominators.
4337
0caa3c8e
RH
43382000-11-14 Richard Henderson <rth@redhat.com>
4339
6f122550
RH
4340 * stmt.c (warn_if_unused_value): Don't warn if the expression
4341 has side effects.
4342
0caa3c8e
RH
4343 * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
4344 (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
4345
a78cc542
FS
43462000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4347
4348 * loop.c (basic_induction_var): Revert accidental checkin.
4349
d9068c61
HPN
43502000-11-13 Hans-Peter Nilsson <hp@axis.com>
4351
4352 * c-lex.c (cb_leave_file): Harmonize conditions and order of
4353 statements to those of process_directive for (action == act_pop).
4354
4355 * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
4356
4357 * local-alloc.c (equiv_init_movable_p): References to CC0 are not
4358 movable.
4359
ebf02523
JM
43602000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4361
4362 * c-parse.in (stmts_and_decls): Deprecate use of label at end of
4363 compound statement.
4364
29b10746
NB
43652000-11-13 Neil Booth <neilb@earthling.net>
4366
ee3400e8
JM
4367 * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
4368 cases return without MI check.
4369 * cpplib.c (do_diagnostic): Take boolean of whether to
4370 print the directive name.
4371 (do_error, do_warning): Update.
4372 (do_pragma_dependency): Use it.
4373 * cpplib.h (VARARGS_FIRST): Delete.
4374 (struct cpp_token): Delete integer.
4375 * cppmacro.c (enter_macro_context): Move disabled check
4376 to _cpp_get_token.
4377 (_cpp_get_token): Simplify into a single loop.
29b10746 4378
8105825d
RE
43792000-11-13 Richard Earnshaw <rearnsha@arm.com>
4380
4381 * configure.in: Use 'test -f' not '[ -e'.
4382 * configure: Regenerated.
4383
481a6b4a
DD
43842000-11-13 DJ Delorie <dj@redhat.com>
4385
4386 * config/mn10300/mn10300.md (store_movm): Note which registers are
4387 really used or clobbered.
4388
b7438415
JM
43892000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4390
4391 * c-parse.in (ends_in_label): Remove from %union and %type.
4392 (decls, stmts, lineno_stmt_or_labels, xstmts,
4393 lineno_stmt_or_label, stmt_or_label): Remove.
4394 (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
4395 lineno_stmt_decl_or_labels_ending_decl,
4396 lineno_stmt_decl_or_labels_ending_label,
4397 lineno_stmt_decl_or_labels_ending_error,
4398 lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
4399 lineno_stmt, lineno_label): New.
4400 (compstmt_nostart): Use compstmt_contents_nonempty.
4401
19552aa5
JM
44022000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4403
4404 * c-common.c (boolean_increment): New function.
4405 * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
4406 CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
4407 (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
4408 (boolean_increment): Declare.
4409 * c-convert.c (convert): Allow for BOOLEAN_TYPE.
4410 * c-decl.c (init_decl_processing): Create boolean nodes.
4411 (finish_struct): Allow for _Bool bitfields.
4412 * c-parse.in (reswords): Add _Bool.
4413 (rid_to_yy): Allow for RID_BOOL.
4414 * c-typeck.c (default_conversion): Make booleans promote to int.
4415 (convert_arguments, build_unary_op, build_modify_expr,
4416 convert_for_assignment): Allow for booleans.
4417 * ginclude/stdbool.h: Make conforming to C99.
4418
444ca59f
JM
44192000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4420
4421 * c-parse.in (c99_block_start, c99_block_end,
4422 c99_block_lineno_labeled_stmt): New.
4423 (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
4424 (stmt): Split off selection and iteration statements into...
4425 (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt.
4426
f2ecb02d
JM
44272000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4428
4429 * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
4430 -time): Update.
4431
b082bfdb
RE
44322000-11-13 Richard Earnshaw <rearnsha@arm.com>
4433
4434 * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
4435 Rewrite to avoid use of match_dup. Don't try to tie registers that
4436 are not in the same mode.
4437
b9265ec1
JM
44382000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4439
4440 * invoke.texi: Update lists of languages and suffixes supported.
4441
cc1e60ea
JM
44422000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4443
4444 * configure.in: Take toplevel configure arguments from the
4445 environment to create configargs.h and substitute
4446 gcc_config_arguments, taking account of any existing configargs.h
4447 if reconfiguring.
4448 * configure: Regenerate.
4449 * gccbug.in: Include toplevel configure arguments in gccbug.
4450
37357796
RE
44512000-11-13 Richard Earnshaw <rearnsha@arm.com>
4452
4453 * varasm.c (struct constant_descriptor): Put CONTENTS inside a
4454 union to make it well-aligned. Update all uses.
4455
26d4fec7
JM
44562000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4457
4458 * c-parse.in (initelt): Give appropriate pedantic warnings,
4459 depending on flag_isoc99, for non-ISO syntax and for C99 syntax
4460 outside C99 mode.
4461 (designator): If pedantic, pedwarn for a designator specifying a
4462 range of elements.
4463 * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
4464 these cases.
4465 * extend.texi: Document the C99 syntax as the preferred syntax,
4466 and the pre-2.5 syntax as obsolete. Mention use of designator
4467 lists for nested subobjects.
4468
88f3c477
JM
44692000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4470
4471 * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
4472 Add ATTRIBUTE_PRINTF.
4473 * tradcpp.c (v_message, warning, error, fatal, error_with_line):
4474 Add ATTRIBUTE_PRINTF*.
4475
db5fbfb4
MM
44762000-11-12 Mark Mitchell <mark@codesourcery.com>
4477
4478 * function.c (assign_parms): When calling put_var_into_stack, make
4479 sure that there are no hidden pending sequences.
4480
c7b6c6cd
KG
44812000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4482
4483 * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
4484 BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and
4485 BUILT_IN_STRRCHR.
4486
4487 * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
4488
4489 * c-common.c (c_common_nodes_and_builtins): Declare index and
4490 rindex when nonansi builtins are allowed.
4491
4492 * extend.texi (index, rindex): Document new builtins.
4493
2f86842d
MM
44942000-11-12 Mark Mitchell <mark@codesourcery.com>
4495
34f6fbdb
MM
4496 * configure.in: Turn on libstdc++ V3 by default.
4497 * configure: Regenerated.
a8a05998 4498
2f86842d
MM
4499 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
4500
0c0ba09c
JJ
45012000-11-12 Jakub Jelinek <jakub@redhat.com>
4502
4503 * reload1.c (set_label_offsets): Go inside of PARALLELs.
4504
84a0e7b8
JM
45052000-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
4506
4507 * invoke.texi: Clean up option summary.
4508
4816b8e4
NC
45092000-11-12 Nick Clifton <nickc@redhat.com>
4510
4511 * config/mcore/mcore.c: Fix comment formating, and adjust sequence
4512 of #include headers.
4513
ee7692d2 45142000-11-12 Marc Espie <espie@openbsd.org>
a8a05998 4515
ee7692d2
ME
4516 * configure.in: Fix filds test.
4517 * configure: Regen.
4518
f8c4f860
MM
45192000-11-12 Mark Mitchell <mark@codesourcery.com>
4520
4521 * jump.c (delete_computation): Don't assume that just becuase an
4522 instruction sets a register, that register is dead.
4523
b528a07e
NB
45242000-11-12 Neil Booth <neilb@earthling.net>
4525
a8a05998
ZW
4526 * cppexp.c: Don't worry about pfile->skipping.
4527 * cpplib.c (struct if_stack): Make was_skipping unsigned char.
4528 (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
4529 for handled directives.
4530 (skip_rest_of_line): Use _cpp_lex_token after popping contexts
4531 and releasing lookaheads.
4532 (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
4533 (do_else, do_elif, push_conditional): Update logic.
4534 (do_endif): Set buffer->was_skipping rather than pfile->skipping.
4535 (unwind_if_stack): Inline into cpp_pop_buffer.
4536 (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
4537 * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle
4538 multiple-include optimisation.
4539 * cpplib.h (struct cpp_buffer): New member was_skipping.
4540 * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This
4541 works because skipping == 0 in directives.
4542 (_cpp_release_lookahead): Renamed from release_lookahead.
4543 (cpp_get_token): No need to check skipping as _cpp_get_token does
4544 this for us. No need to handle MI optimisation.
b528a07e 4545
995c461c
MM
4546Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com>
4547
4548 * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
4549 declarations that use `__MATH_EXCEPTION' in their prototypes, too.
4550 * fixinc/fixincl.x: Regenerated.
a8a05998 4551
56a77e1e
BK
45522000-11-11 Bruce Korb <bkorb@gnu.org>
4553
4554 * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
4555 (avoid_wchar_t_type): ditto
4556 * fixinc/fixinc.irix: obsoleted
4557
72aaffbd
ZW
45582000-11-11 Zack Weinberg <zack@wolery.stanford.edu>
4559
4560 * configure.in: Don't add $outputs to all_lang_makefiles. Add
4561 $srcdir/$s/Makefile.in if it exists.
4562 * configure: Regenerate.
4563
bbdd639d
MM
4564Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com>
4565
4566 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
4567
d96a6d1a
JM
45682000-11-11 Jason Merrill <jason@redhat.com>
4569
a8a05998 4570 * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
d96a6d1a
JM
4571 give the parm a register and then call put_var_into_stack.
4572 * stmt.c (expand_decl): Likewise.
4573
8ee322c9
JM
45742000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4575
4576 * gcc.texi: Adjust wording.
4577
8b4c8a86
MM
45782000-11-11 Mark Mitchell <mark@codesourcery.com>
4579
4580 * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
4581 * fininc/fixincl.x: Regenerated.
4582
639726ba
JM
45832000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4584
4585 * invoke.texi: Correct spelling of -foptimize-register-move.
4586
4c2b647d
NB
45872000-11-11 Neil Booth <neilb@earthling.net>
4588
4589 Remove CPP_PLACEMARKERs.
4590
4591 * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
4592 * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
4593 * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
a8a05998 4594 Similarly.
4c2b647d
NB
4595 * cpplib.h: Remove CPP_PLACEMARKER.
4596 (struct lexer_state): Rename skip_newlines to next_bol.
4597 * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
4598 Simplify prev_white handling as a result.
4599 (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
4600 (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
4601 (parse_args): Similarly. Update argument count tests.
4602 (enter_macro_context): Return 2 to indicate an empty macro.
4603 (replace_args): Don't bother pre-expanding an empty argument.
4604 Handle placemarkers and ## extension during pre-expansion.
4605 (cpp_get_token): Handle empty macro expansions. Don't worry
4606 about CPP_PLACEMARKERs.
4607 (_cpp_create_definition): Empty macros are now empty.
4608 (cpp_macro_defintion): Don't special case empty macros.
4609 * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
4610 * c-lex.c: Similarly.
4611
c1030c7c
JM
46122000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4613
4614 * gcc.texi, invoke.texi: Add new section discussing language
4615 standards; link to it where appropriate; refer to ISO C instead of
4616 ANSI C.
4617
93a77848
AO
46182000-11-11 Alexandre Oliva <aoliva@redhat.com>
4619
3650b695
AO
4620 * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
4621 into account.
4622
93a77848
AO
4623 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
4624 modes.
4625
9a5a13c9
JM
46262000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4627
4628 * gcc.texi, gcov.texi: Update dates and version numbers.
4629
1e608388
ZW
46302000-11-10 Zack Weinberg <zack@wolery.stanford.edu>
4631
4632 * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
4633 flex and bison, specifically, first in a unified build and
4634 then installed on the system.
4635 * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
4636 LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
4637 match.
4638
4639 (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
4640 cppdefault.o): Remove pointless sed munging of source file
4641 name.
4642
9532e31f
BS
46432000-11-10 Bernd Schmidt <bernds@redhat.co.uk>
4644
4645 * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
4646 for address reloads. Push replacements for REG_INC notes.
4647 (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All
4648 callers changed.
4649 * reload1.c (choose_reload_regs): Registers set in the insn can't be
4650 used for RELOAD_OTHER reloads.
4651
721de836
MM
46522000-11-10 Mark Mitchell <mark@codesourcery.com>
4653
4654 * c-dump.h: New file.
4655
4e135bdd
KG
46562000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4657
4658 * alpha.c (check_float_value): Use memcpy, not bcopy.
4659 * arm.c (output_move_double): Likewise.
4660 * arm.md: Likewise.
4661 * m88k.c (legitimize_operand): Likewise.
4662 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
4663 * m88k.md: Likewise.
4664 * mips.c (override_options): Likewise.
4665 * mips.md: Likewise.
4666 * romp.c (output_fpops): Likewise.
4667 * rs6000.c (rs6000_override_options): Likewise.
4668 * sh.md: Likewise.
4669 * vax.c (check_float_value): Likewise.
4670
4671 * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
4672 * expmed.c (synth_mult): Likewise.
4673 * final.c (add_bb_string): Likewise.
4674 * genattr.c (main): Likewise.
4675 * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
4676 Likewise.
4677 * jump.c (thread_jumps): Likewise.
4678 * prefix.c (save_string): Likewise.
4679 * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
4680 * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
4681 * reload1.c (reload, eliminate_regs): Likewise.
4682
c8abeb44
JM
46832000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4684
4685 * gcc.texi (Service): Update to reflect current practice and
4686 location of the GNU service directory.
4687
6fb85418
BS
46882000-11-09 Bernd Schmidt <bernds@redhat.co.uk>
4689
4690 * regrename.c (build_def_use): Mark contents of REG_INC notes as
4691 needing replacement.
4692
0c478921
BS
4693 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
4694 a no-op move if regs are equal.
4695 * toplev.c (rest_of_compilation): Do the noop moves elimination pass
a8a05998 4696 when calling jump after post-reload splitting.
0c478921 4697
3b7a2e58
JM
46982000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl>
4699
a8a05998
ZW
4700 * c-tree.texi: Fix typos.
4701 * extend.texi: Likewise
4702 * gcov.texi: Likewise
4703 * rtl.texi: Likewise
4704 * tm.texi: Likewise
3b7a2e58 4705
59257980
HPN
47062000-11-09 Hans-Peter Nilsson <hp@axis.com>
4707
4708 * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
4709 in_system_header and flags[1] before dereferencing flags[2].
4710
881a8969
MH
47112000-11-09 Matthew Hiller <hiller@redhat.com>
4712
4713 * reload1.c (reload_combine): Fixed calculation of
4714 first_index_reg, last_index_reg.
4715
0a7394bc
MM
47162000-11-09 Mark Mitchell <mark@codesourcery.com>
4717
13507bd8
MM
4718 * c-dump.c (dequeue_and_dump): Dump function bodies.
4719
0a7394bc
MM
4720 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
4721 (c-dump.o): New target.
4722 * c-common.h (flag_dump_translation_unit): New variable.
4723 (C_TYPE_QUALS): New macro.
4724 (strip_array_types): New function.
4725 (DECL_C_BIT_FIELD): New macro.
4726 (SET_DECL_C_BIT_FIELD): Likewise.
4727 (CLEAR_DECL_C_BIT_FIELD): Likewise.
4728 (dump_info_p): New typedef.
4729 (dump_tree_fn): Likewise.
4730 (lang_dump_tree): New variable.
4731 (dump_node_to_file): New function.
4732 * c-common.c (flag_dump_translation_unit): Define it.
4733 (strip_array_types): New function.
4734 * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
a8a05998 4735 * c-lang.c (finish_file): Call dump_node_to_file if
0a7394bc
MM
4736 flag_dump_translation_unit.
4737 * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
4738 * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
4739 * c-dump.c: New file.
a8a05998 4740
abffe289
CF
47412000-11-09 Christopher Faylor <cgf@cygnus.com>
4742
4743 * config/i386/cygwin.h: Add mingw startfile prefix.
4744
1288c070
RH
47452000-11-09 Richard Henderson <rth@redhat.com>
4746
4747 * flow.c (invalidate_mems_from_set): Split out from ...
4748 (mark_set_1): ... here.
4749 (try_pre_increment_1): Use it. Use propagate_block_delete_insn
4750 instead of turning insn into a NOTE_INSN_DELETED.
4751
01702459
JM
47522000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4753
4754 * extend.texi, invoke.texi: Move documentation of builtin versions
4755 of C library functions to one place and update.
4756
30355eaa
RH
47572000-11-09 Richard Henderson <rth@redhat.com>
4758
4759 * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
4760 the types themselves to discover type equivalence.
4761
5fcee6f3
MS
47622000-11-09 Mike Stump <mrs@wrs.com>
4763
4764 * Makefile.in (distclean): Remove a few extra leftovers.
4765
377b6fce
RH
47662000-11-09 Richard Henderson <rth@redhat.com>
4767
c0e3f87d
RH
4768 * recog.c (validate_replace_rtx_1): Consider subregs when
4769 replacing a register with a constant inside a sign/zero_extend.
4770
377b6fce
RH
4771 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
4772
b52114d2
GK
47732000-11-09 Geoffrey Keating <geoffk@redhat.com>
4774
4775 * c-decl.c (finish_struct): When a structure is completed,
4776 check all its variant types for completeness.
4777
a949941c
NB
47782000-11-09 Neil Booth <neilb@earthling.net>
4779
4780 * cpphash.c: Move cpp_defined here from cpplib.c.
4781 * cpplib.c: Update comments, move cpp_defined to cpphash.c.
4782 * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
4783 * cppmacro.c (cpp_get_token): Update comments, no need now
4784 to catch the CPP_EOF meaning EOL case.
4785
9a0662b4
GK
47862000-11-08 Geoffrey Keating <geoffk@redhat.com>
4787
4788 * config/sparc/sparc.c (sparc_va_arg): When the required alignment
4789 is more than that provided, copy to a temporary.
4790
6c80a645
AO
47912000-11-09 Alexandre Oliva <aoliva@redhat.com>
4792
4793 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
4794 interpreting $out as a macro assignment.
4795 * Makefile.in (T_TARGET): New auxiliary macro and target.
4796 (all): Add a target right in the beginning, so that we don't build
4797 T_TARGET by default.
4798
6a4afa6c
GS
47992000-11-09 Graham Stott <grahams@redhat.com>
4800
a8a05998 4801 * config/i386/i386.md (mmx_pinsrw): Output operands in correct
6a4afa6c
GS
4802 order for -mintel-syntax. Remove comment now that the operand
4803 order has been checked.
4804 (mmx_pextrw): Likewise.
4805 (mmx_pshufw): Likewise.
4806
2dee4af1
JJ
48072000-11-09 Jakub Jelinek <jakub@redhat.com>
4808
4809 * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
4810 (c_getstr): New function.
4811 (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
4812 If both arguments are constant string, optimize out.
4813 (expand_builtin_strchr, expand_builtin_strrchr): New functions.
4814 (expand_builtin_strpbrk): Use c_getstr, do nothing if
4815 -fcheck-memory-usage.
4816 (expand_builtin_fputs): Likewise.
4817 (expand_builtin_strcmp): Add MODE argument.
4818 Use even if !HAVE_cmpstrsi.
4819 Optimize the case when both arguments are constant strings.
4820 (expand_builtin): Adjust expand_builtin_strcmp caller.
4821 Call expand_builtin_strchr and expand_builtin_strrchr.
4822 * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
4823 builtins.
4824 * builtins.def (BUILT_IN_STRRCHR): Add.
4825
97dc9fc0
GP
48262000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4827
4828 * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
4829
2e09e75a
JM
48302000-11-09 Joseph S. Myers <jsm28@cam.ac.uk>
4831
4832 * calls.c (expand_call, emit_library_call_value_1), collect2.c
4833 (scan_prog_file), config/a29k/a29k.c (print_operand),
4834 config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
4835 instead of bcopy ().
4836 * real.h: Use memcmp () instead of bcmp ().
4837 * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
4838 (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
4839 ultrasparc_sched_init, ultrasparc_sched_reorder),
4840 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
4841 instead of bzero ().
4842 * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
4843 instead of rindex ().
4844 * configure.in: Don't check for bzero, bcmp, index or rindex.
4845 * configure, config.in: Regenerate.
4846 * system.h: Don't include declarations for bzero, bcmp, index or
4847 rindex.
4848 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
4849 bzero, bcmp, index or rindex.
4850
03fb4780
CF
4851Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com>
4852
4853 * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin
4854 include and library paths from -mcygwin case. Parameterize some
4855 declarations to avoid warnings. Use standard locations for include and
4856 lib dirs.
4857
ca68ea18
NC
48582000-11-08 Nick Clifton <nickc@redhat.com>
4859
4860 * config/arm/arm.md (mulsidi3adddi): Change output operand
eb68ad7c 4861 constraint from "=&" to "+&".
ca68ea18 4862 (umulsidi3adddi): Change output operand constraint from "=&" to
eb68ad7c 4863 "+&".
ca68ea18 4864
c32e1e6f
RH
48652000-11-08 Richard Henderson <rth@redhat.com>
4866
4867 * flow.c (init_propagate_block_info): Protect the rtx stored in
4868 mem_set_list from modification by find_auto_inc.
4869 (mark_set_1): Likewise.
4870
adb84b42
NB
48712000-11-08 Neil Booth <neilb@earthling.net>
4872
a8a05998
ZW
4873 Move directive handling into the lexer itself.
4874
4875 * cpplex.c (_cpp_lex_token): Handle directives directly.
4876 In the case of a directive interrupting a function-like
4877 macro invocation, use extra_char since read_ahead is
4878 used to store the '#'. Return a CPP_EOF in this case.
4879 * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
4880 (cpp_get_token): Don't handle directives here.
4881 * cpplib.h: Remove CPP_DHASH token type.
adb84b42 4882
756d6f0c
JH
4883Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz>
4884
4885 * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
4886 formed using PRE_MODIFY too.
4887
c39c0db3
MM
48882000-11-08 Mark Mitchell <mark@codesourcery.com>
4889
69908851
MM
4890 * c-tree.texi (VAR_DECL): Describe representation of GCC's
4891 extension for placing variables in particular registers.
4892
c39c0db3
MM
4893 * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
4894 unprototyped C functions with no parameters.
4895
6cada0cd
JJ
48962000-11-08 Jakub Jelinek <jakub@redhat.com>
4897
4898 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
4899 before passing to fprintf.
4900
768f0669
JJ
49012000-11-08 Jakub Jelinek <jakub@redhat.com>
4902
4903 * function.c (expand_function_start): Cast GET_MODE_SIZE to
4904 HOST_WIDE_INT before negating it.
4905
df6018fd
JJ
49062000-11-08 Jakub Jelinek <jakub@redhat.com>
4907
4908 * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
4909 passed in multiple non-contiguous locations.
4910
14ae1d50 49112000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
a8a05998 4912
14ae1d50
GP
4913 * README.gnat: Remove file.
4914
673887d5
AO
49152000-11-08 Alexandre Oliva <aoliva@redhat.com>
4916
4917 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
4918 in-place.
4919
66234570
RH
49202000-11-07 Richard Henderson <rth@redhat.com>
4921
4922 * dwarfout.c (INSN_LABEL_FMT): Remove.
4923 (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
4924 (dwarfout_label): Remove.
4925 * dwarfout.h: Remove it's prototype.
4926 * dwarf2out.c (INSN_LABEL_FMT): Remove.
4927 (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
4928 (dwarf2out_label): Remove.
4929 * dwarf2out.h: Remove it's prototype.
4930 * final.c (final_scan_insn): Don't call dwarf[2]out_label.
4931
81b75d96
RH
49322000-11-07 Richard Henderson <rth@redhat.com>
4933
cd5c4048
RH
4934 * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
4935 search on the unwind region section.
4936
4937 * config/ia64/ia64.md (movbi): Add r/r alternative.
4938 (cmovdi_internal_astep): Describe all combinations of register
4939 classes for sources & destinations; remove matching constraints.
4940 (cmovdi_internal): Likewise.
4941
81b75d96
RH
4942 * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
4943
6dbaddf9
RH
49442000-11-07 Richard Henderson <rth@redhat.com>
4945
4946 * c-lang.c (start_cdtor, finish_cdtor): New functions.
4947 (finish_file): Use them in building constructor/destructor functions.
4948
a8a05998 4949 * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
6dbaddf9
RH
4950 LD_FINI_SWITCH): Move ...
4951 * config/alpha/osf.h: ... here.
4952 * config/alpha/alpha-interix.h: Don't undef them.
4953
99b13084
JO
49542000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
4955
4956 * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is
4957 included in libgcc.a.
4958 (DPBIT): Likewise.
4959 (dp-bit.c): Likewise.
4960 (fp-bit.c): Likewise.
4961
d7cac874
NC
49622000-11-07 Nick Clifton <nickc@redhat.com>
4963
4964 * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
4965 (INTERNAL_ASM_OP): Add missing tab.
4966
961192e1
JM
49672000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
4968
4969 * alias.c (init_alias_analysis), calls.c (expand_call,
4970 emit_library_call_value_1), combine.c (init_reg_last_arrays),
4971 cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
4972 (init_output_buffer, set_diagnostic_context), dwarf2out.c
4973 (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
4974 (init_emit_once), fold-const.c (mul_double, div_and_round_double),
4975 function.c (assign_parms), gcse.c (compute_can_copy,
4976 alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
4977 compute_hash_table, compute_set_hash_table,
4978 compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
4979 (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
4980 clear_units, schedule_block), integrate.c (initialize_for_inline,
4981 expand_inline_function), jump.c (thread_jumps), local-alloc.c
4982 (local_alloc), loop.c (combine_movables, count_loop_regs_set,
4983 load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
4984 regclass.c (init_reg_sets, init_reg_sets_1, regclass,
4985 record_reg_classes, allocate_reg_info), reload.c
4986 (get_secondary_mem, remove_address_replacements, find_reloads),
4987 reload1.c (reload, set_initial_label_offsets, finish_spills,
4988 reload_as_needed, choose_reload_regs_init,
4989 reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
4990 (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
4991 (rename_registers), stmt.c (expand_end_case), unroll.c
4992 (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
4993 () instead of bzero ().
4994
e3cc3581
NB
49952000-11-07 Neil Booth <neilb@earthling.net>
4996
4997 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
4998
f8136648
KG
49992000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5000
5001 * c-common.c (combine_strings): Only warn about long strings for C.
5002
71fd5a51
R
5003Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
5004
5005 * combine.c (distribute_notes): Fix typo in last change.
5006
bdaa0181
GK
50072000-11-07 Geoff Keating <geoffk@redhat.com>
5008
5009 * config/rs6000/rs6000.md (movdi_internal32+1): Use
5010 operand_subreg_force rather than gen_rtx_SUBREG.
5011 (movdi_internal32+2): Likewise.
5012
bc56a125
PB
50132000-11-07 Philip Blundell <philb@gnu.org>
5014
5015 * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
5016 * config/arm/linux-aout.h: Likewise.
5017 * configure: Regenerate.
5018
a71d3613
PT
50192000-11-07 Philipp Thomas <pthomas@suse.de>
5020
5021 * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
5022 accepted my the gettext maintainer.
5023
26a87cab
KG
50242000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5025
5026 * builtins.c (expand_builtin_strpbrk): New function.
5027 (expand_builtin): Handle BUILT_IN_STRPBRK.
5028
5029 * builtins.def (BUILT_IN_STRPBRK): New entry.
5030
5031 * c-common.c (c_common_nodes_and_builtins): Declare builtin
5032 strpbrk.
5033
ace54f91
DB
50342000-11-07 David O'Brien <obrien@dragon.nuxi.com>
5035
5036 * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
5037 * POTFILES.in: Add config/alpha/freebsd.h
5038 * configure.in: Add alpha*-freebsd support.
5039 * configure: Regenerate.
5040
0dec5df9
JM
50412000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
5042
5043 * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
5044 copy of ptr_type_node rather than ptr_type_node itself.
5045
bf103ec2
R
5046Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com>
5047
5048 * combine.c (recog_for_combine): Allocate uninitialized vector with
5049 rtvec_alloc.
5050 * recog.c (apply_change_group): Likewise.
5051
c762163e
R
5052Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com>
5053
5054 * flow.c (verify_local_live_at_start): Back out last change.
5055 * combine.c (distribute_notes): When parts of a hard reg are
5056 neither set nor referenced in PLACE, search backwards for a
5057 place to put a REG_UNUSED note; if none found, ask for flow
5058 info refresh.
5059
f34c06e5
R
5060Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com>
5061
5062 * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
5063 with (clobber (match_scratch...)).
5064
2b892489
NB
50652000-11-06 Neil Booth <neilb@earthling.net>
5066
5067 * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
5068 error status.
5069
ea33bfc5
NB
50702000-11-06 Neil Booth <neilb@earthling.net>
5071
a8a05998 5072 * tradcpp.c (special_symbol): Assign an null string rather
ea33bfc5
NB
5073 than writing to an unallocated buffer.
5074
56051c0a
NB
50752000-11-06 Neil Booth <neilb@earthling.net>
5076
5077 * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
5078 CPP_MACRO_ARG case.
5079
6c53ebff
NB
50802000-11-06 Neil Booth <neilb@earthling.net>
5081
5082 * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
5083 tok.val.arg_no as appropriate.
5084 * cppexp.c (lex): Similarly.
5085 * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
5086 cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
5087 * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
5088 cpp_macro_definition): Similarly.
5089 * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
5090
8b1c5fd0
JJ
50912000-11-06 Jakub Jelinek <jakub@redhat.com>
5092
5093 * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
5094 operands[1] is constant, calculate the sum and generate movdi.
5095 (addsi3): Similarly. Use SImode in call to arith_4096_operand.
5096 (subsi3): Use SImode in call to arith_4096_operand.
5097
a0115140
JJ
50982000-11-06 Jakub Jelinek <jakub@redhat.com>
5099
5100 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
5101 adjust %o1, not %o0 if the return type is large structure.
5102
9ea2bda9
JJ
51032000-11-06 Jakub Jelinek <jakub@redhat.com>
5104
5105 * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
5106 update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
5107
1cf7847f
DC
5108Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
5109
5110 * expmed.c (expand_divmod): For signed divide by 2, prefer
5111 a branch and fewer shifts if branches are very cheap.
5112
436a88a6
JM
51132000-11-05 Joseph S. Myers <jsm28@cam.ac.uk>
5114
5115 * Makefile.in: Remove all targets related to building
5116 distributions and diffs, or INSTALL.
5117 * INSTALL, install1.texi: Remove.
5118 * configure.in: Remove mention of distdir.
5119 * configure: Regenerate.
5120 * objc/Make-lang.in: Remove mention of distdir.
5121
9cf11a47
NB
51222000-11-04 Neil Booth <neilb@earthling.net>
5123
5124 * cpp.texi: Update for _Pragma.
5125
f148ca88
JM
51262000-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
5127
5128 * gcc.texi (Contributing): Update URL for projects web page.
5129
16eb2788
NB
51302000-11-04 Neil Booth <neilb@earthling.net>
5131
a8a05998
ZW
5132 * cpplex.c (parse_string): Don't allow multiline strings in
5133 #include family directives.
16eb2788 5134
9232b7d9
NB
51352000-11-04 Neil Booth <neilb@earthling.net>
5136
5137 * cpplib.c (do_line): Only warn pedantically if not reading
a8a05998 5138 preprocessed input.
9232b7d9 5139
f132f529
AO
51402000-11-04 Alexandre Oliva <aoliva@redhat.com>
5141
5142 * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
5143 RETURN_POPS_ARGS().
5144
0e9295cf
ZW
51452000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
5146
5147 * builtins.c (expand_builtin_strlen): Remove unused mode
5148 argument.
5149 * gcc.c (process_command): Remove unused variable.
5150 * fold-const.c: Include expr.h.
5151 * recog.c: Include reload.h.
5152 * Makefile.in (recog.o, fold-const.o): Update deps.
5153
f2682362
GK
51542000-11-02 Geoffrey Keating <geoffk@cygnus.com>
5155
5156 * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
5157
25f80eae
MM
5158Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com>
5159
5160 * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
5161 handling.
5162 (STARTFILE_SPEC): Likewise.
5163 (LINK_SPEC): Likewise.
5164
426159a4
KG
51652000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5166
5167 * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
5168 (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
5169 (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
5170
da61dec9
JM
51712000-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
5172
5173 * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
5174 (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
5175 perm_calloc, get_identifier, maybe_get_identifier,
5176 real_value_from_int_cst, simple_cst_equal), varasm.c
5177 (assemble_name, assemble_real, immed_real_const_1,
5178 compare_constant_1, decode_rtx_const, output_constant_pool): Use
5179 strrchr () instead of rindex (). Use memcmp () instead of bcmp
5180 (). Use memcpy () instead of bcopy (). Use memset () instead of
5181 bzero ().
5182
def3263a
NS
51832000-11-03 Nathan Sidwell <nathan@codesourcery.com>
5184
5185 * cppfiles.c (open_file): If already read, then don't reopen.
5186 Immediately close an empty file.
5187
94e9dc13
BS
51882000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
5189
5190 * expr.h (fold_builtin): Move declaration...
5191 * tree.h (fold_builtin): ... here.
5192
6c6a14b5
R
5193Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com>
5194
5195 * flow.c (verify_local_live_at_start): Allow hard regs to die.
5196
5b569332
NB
51972000-11-02 Neil Booth <neilb@earthling.net>
5198
5199config:
5200 * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
5201 alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
5202 alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
5203 alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
5204 arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
5205 arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
5206 c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
5207 elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
5208 i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
5209 i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
5210 i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
5211 i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
5212 i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
5213 i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
5214 i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5215 i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
5216 i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
5217 i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
5218 i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
5219 i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
5220 i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
5221 ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
5222 m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
5223 m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
5224 m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
5225 m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
5226 m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
5227 m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
5228 m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
5229 m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
5230 m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
5231 m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
5232 mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
5233 mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
5234 mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
5235 mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
5236 mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
5237 mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
5238 ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
5239 ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
5240 pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
5241 pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
5242 romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
5243 rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
5244 rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
5245 rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
5246 sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
5247 sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
5248 sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
5249 sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
5250 sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
5251 sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
5252 sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
5253 v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
5254 vax/vaxv.h, vax/vms.h, we32k/we32k.h
a8a05998 5255
5b569332
NB
5256 Replace -A() with -A=, the new assertion syntax.
5257
03afaf36
R
5258Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com>
5259
5260 * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
5261 elim_i1.
5262 In REG_DEAD handling: When handling parts of multi-hard-reg hard
5263 registers, increment the loop counter by the size of the parts;
5264 use recursion to handle individual parts.
5265
04e3be98
NB
52662000-11-02 Neil Booth <neilb@earthling.net>
5267
5268 * configure.in: Make integrated CPP the default.
5269 * configure: Regenerate.
5270
0192d704
R
5271Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com>
5272
5273 * reload.c (find_equiv_reg): Test all hard registers for membership
5274 in the requested class.
5275
9473c522
JM
52762000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
5277
5278 * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
5279 process_command, main), gcov.c (open_files, output_data), tlink.c
5280 (frob_extension, scan_linker_output), toplev.c
5281 (file_name_nondirectory): Use strchr () and strrchr () instead of
5282 index () and rindex ().
5283
0304bbad
JM
52842000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
5285
5286 * c-common.c (get_flag_spec, check_format_info_main,
5287 check_format_types): Use strchr () instead of index (). Compare
5288 against error_mark_node instead of comparing the TREE_CODE against
5289 ERROR_MARK.
5290
23356f93
ZW
52912000-11-02 Zack Weinberg <zackw@Stanford.EDU>
5292
a8a05998
ZW
5293 Integrated CPP.
5294
5295 * c-lex.c (init_c_lex): Update cpp_start_read call.
5296 (cb_ident): Update for new callback prototype.
5297 (cb_def_pragma): Update for new cpp_get_token prototype.
5298 (c_lex): Similarly. Use cpp_get_line.
5299
5300 * c-parse.in (finish_parse): Update for new cpp_finish
5301 prototype.
5302
5303 * cp/lex.c (finish_parse): Similarly.
23356f93 5304
7a099817
GK
53052000-11-01 Geoff Keating <geoffk@cygnus.com>
5306
5307 * machmode.def: Add V16QImode.
5308
a97c9600
RH
53092000-11-01 Richard Henderson <rth@redhat.com>
5310
5311 * dwarf2out.c (loc_descriptor_from_tree): Check for null result
5312 from rtl_for_decl_location.
5313 (add_location_or_const_value_attribute): Likewise.
5314
a0a9606d
NB
53152000-11-01 Neil Booth <neilb@earthling.net>
5316
a8a05998
ZW
5317 * cpplib.c (run_directive): Use correct line number for output
5318 of _Pragma. Remember any in-progress directive.
5319
5320 * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
a0a9606d 5321
ba89764a
RH
53222000-11-01 Richard Henderson <rth@redhat.com>
5323
5324 * stmt.c (expand_start_null_loop): Set continue_label.
5325
b0b3afb2
BS
53262000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
5327
5328 * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
5329 (expand_builtin_constant_p): Move parts of the code into
5330 fold_builtin_constant_p.
5331 (expand_builtin_strlen): Move parts of the code into fold_builtin.
5332 * expr.h (fold_builtin): Declare.
5333 * fold-const.c (fold): Handle builtin calls.
5334
5335 * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
5336
f0de0c5d
RH
53372000-11-01 Richard Henderson <rth@redhat.com>
5338
5339 * stmt.c (expand_start_null_loop): New.
a8a05998 5340 (expand_end_null_loop): New.
f0de0c5d
RH
5341 * c-semantics.c (genrtl_do_stmt): Use them.
5342 * tree.h: Declare them.
5343
3a59c77c
RH
53442000-11-01 Richard Henderson <rth@redhat.com>
5345
5346 * cppmain.c (scan_buffer): Don't avoid paste for assembly.
5347
12c4f523
NB
53482000-11-01 Neil Booth <neilb@earthling.net>
5349
5350 * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
5351 * cp/spew.c: Similarly.
5352 * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
5353 * cppmacro.c (stringify_arg): Similarly.
5354 * cpplib.h (CPP_BACKSLASH): Delete.
5355
78e7629e
KG
53562000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5357
5358 * builtins.c (expand_builtin_strstr): New function.
5359 (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
5360
5361 * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
5362
5363 * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
5364 and builtin strchr.
5365
32ee391b
RH
53662000-10-31 Richard Henderson <rth@redhat.com>
5367
5368 * config/i386/i386.c (fcmov_comparison_operator): Check for
5369 CCFPmode or CCFPUmode instead of CCmode.
5370 (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
5371 unordered operations as well.
5372
5f10ef5b
RH
53732000-10-31 Richard Henderson <rth@redhat.com>
5374
5375 * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
5376 of integer_zero_node.
5377
d599b81f
RH
53782000-10-31 Richard Henderson <rth@redhat.com>
5379
5380 * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
5381
1426f761
NC
53822000-10-31 Nick Clifton <nickc@redhat.com>
5383
5384 * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
5385 -fdata-sections to override the section attribute of a DECL.
5386
a8c0159a
CD
53872000-10-31 Chris Demetriou <cgd@sibyte.com>
5388
5389 * libgcc2.c (__shtab): Remove __shtab variable.
5390 * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
5391 * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
5392 members.
5393
8215347e
JW
53942000-10-31 Jim Wilson <wilson@redhat.com>
5395
5396 * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
5397 * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
5398 * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
5399 instead of ASM_OUTPUT_INTERNAL_LABEL.
5400 (dwarf2out_end_block, dwarf2out_label): Likewise.
5401 * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
5402 * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
a8a05998 5403
d8041cc8
RH
54042000-10-31 Richard Henderson <rth@redhat.com>
5405
5406 * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
5407 (size_of_locs): Set it.
5408 (output_loc_operands): Use it to compute branch displacement.
5409 (int_loc_descriptor): New.
5410 (mem_loc_descriptor): Dereference memory in the proper size.
5411 Use DW_OP_plus_uconst when possible. Use int_loc_descriptor.
5412 (loc_descriptor_from_tree): New.
5413 (rtl_for_decl_location): Break out from ...
5414 (add_location_or_const_value_attribute): ... here.
5415 (add_bound_info): Use loc_descriptor_from_tree.
5416
86368122
NB
54172000-10-31 Neil Booth <neilb@earthling.net>
5418
5419 * cpp.texi: Update for new command line assertion syntax.
5420 * cpplib.c (cpp_define): Simplify a bit.
5421 (cpp_assert, cpp_unassert): Use handle_assertion.
5422 (handle_assertion): New function; accept new command line
5423 syntax with '='.
5424 * testsuite/gcc.dg/cpp/assert3.c: New tests.
5425
e1998242
NB
54262000-10-31 Neil Booth <neilb@earthling.net>
5427
5428 * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
5429 undefined. Remove #ifdef check.
5430 * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
5431 Define STDC_0_IN_SYSTEM_HEADERS to 1.
5432
7e08e190
JH
54332000-10-31 Jan Hubicka <jh@suse.cz>
5434 Jakub Jelinek <jakub@redhat.com>
5435
5436 * config/i386/i386.h: Clarify CCNOmode description in comment.
5437 (EXTRA_CC_MODES): Remove CCRCmode.
5438 * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
5439 (put_condition_code, ix86_match_ccmode): Likewise.
5440 (ix86_cc_mode): Likewise. Fix comment.
5441 (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
5442 * config/i386/i386.md: Add unspec 12 description.
5443 (adddi3 split): Use unspec 12 instead of CCRCmode.
5444 (addsi3_carry_rc): Remove.
5445 (addsi3_cc, addqi3_cc): New patterns.
5446 (addsi_3): Swap operands, match CCZmode.
5447 (addsi_4): Rewritten.
5448 (addsi_5): Renamed from addsi_6.
5449 (addsi_6): Removed.
5450 (addhi_3): Swap operands, match CCZmode.
5451 (addhi_4): Rewritten.
5452 (addhi_5): Renamed from addhi_6.
5453 (addhi_6): Removed.
5454 (addqi_3): Swap operands, match CCZmode.
5455 (addqi_4): Rewritten.
5456 (addqi_5): Renamed from addqi_6. Use =q constraint for clobber.
5457 (subsi3_carry_rc): Removed.
5458 (iorqi_3): Use =q constraint for clobber.
5459 (xorqi_cc_2): Likewise.
5460 (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
5461 (x86_movsicc_0_m1_rc): Removed.
5462 (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode.
5463
93cc1c69
JM
54642000-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
5465
5466 * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
5467 and decrement of complex types.
5468
bcb38cc1
KG
54692000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5470
5471 * builtins.c (expand_builtin_fputs): When deleting NOP calls to
5472 builtin fputs, ensure we still evaluate the stream in case it
5473 has side-effects.
5474
681cb233
JJ
54752000-10-31 Jakub Jelinek <jakub@redhat.com>
5476
5477 * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
5478 to expand_shift.
5479
4b9580a5
R
5480Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com>
5481
5482 * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
5483 (fp_extended_operand, emit_fpscr_use): Likewise.
5484 * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
5485 (fpul_operand): New function.
5486 * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
5487 fp_extended_operand. Add fpul_operand.
5488 * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
5489 (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
5490 (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
5491 (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
5492 (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
5493 (divdf3_i): Likewise.
5494 (floatsisf2): Likewise. Use fpul_operand for 'y' operand.
5495 (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
5496 (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
5497 (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
5498 (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
5499
332316cd
BS
55002000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
5501
a8a05998 5502 * config/i386/i386.c (ix86_init_builtins): Correct return type
332316cd
BS
5503 building v4hi_ftype_v4hi_int_int tree node.
5504 (ix86_expand_builtin): Use correct operand numbers 0 and 1.
5505 Copy operand 0 into a Pmode register, don't generate a MEM rtx.
5506
5507 * config/i386/i386.md (sse_movntdi): Use mmx register constraint
5508 for operand 1.
5509 (mmx__uavgv8qi3): Correct insn mnemonic.
5510 (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2.
5511 (mmx_punpckhwd): Correct insn mnemonic.
5512 (mmx_punpckhdq): Likewise.
5513 (mmx_punpcklwd): Likewise.
5514 (mmx_punpckldq): Likewise.
5515 (prefetch): Use immediare_operand and 'n' constraint for operand 1.
5516 Renumber case labels to match the _mm_prefetch constants defined in
5517 xmmintrin.h.
5518
1d766db0
BS
5519 * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
5520 if the splitter didn't emit new insns.
5521 Make sure we call cleanup_subreg_operands even when splitting the last
5522 insn in a basic block.
5523
8bb16620
BS
5524 * invoke.texi (Debugging Options): Describe -do.
5525 * toplev.c (enum_dump_file_index): New entry DFI_postreload.
5526 (dump_file): Likewise.
5527 (rest_of_compilation): Split .greg dump into .greg and .postreload.
5528
a5c3cccd
NB
55292000-10-30 Neil Booth <neilb@earthling.net>
5530
5531 * cppfiles.c (stack_include_file): Check for stacked contexts
5532 here.
5533 * cpphash.h (_cpp_do__Pragma): New prototype.
5534 * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
5535
5536 * cpplex.c (skip_escaped_newlines): Only process trigraphs and
5537 escaped newlines if !(buffer->from_stage3).
5538 (_cpp_lex_token): Warn about missing newlines iff
5539 !buffer->from_stage3.
5540
5541 * cpplib.c (get__Pragma_string, destringize,
5542 _cpp_do__Pragma): New functions.
5543 (run_directive): Set output_line for _Pragma to avoid line
5544 markers in output. Set from_stage3 and prevent macro expansion
5545 for _Pragma and command-line options. Check buffer exhaustion.
5546 (cpp_push_buffer): Don't check for stacked macro contexts, as
5547 this is perfectly legitimate for _Pragma. Move the check to
5548 stack_include_file instead. Set from_stage3 iff buffer is
5549 preprocessed input.
5550
5551 * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
5552 unsigned. New boolean from_stage3.
5553 (struct spec_nodes): Add n__Pragma.
5554
5555 * cppmacro.c (enter_macro_context): Flip sense of return value.
5556 (_cpp_get_token): Handle _Pragma operator.
5557
dbdaea41
PE
55582000-10-30 Phil Edwards <pme@sources.redhat.com>
5559
5560 * gcc.texi: The C++ standard isn't "draft" anymore.
5561
8a47978d
MM
55622000-10-30 Mark Mitchell <mark@codesourcery.com>
5563
5564 * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
5565
1641a823
NB
55662000-10-29 Neil Booth <neilb@earthling.net>
5567
5568 * cpplib.c (skip_rest_of_line): Use _cpp_get_token.
5569
8c7b74b9
JM
55702000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5571
526aba28
JM
5572 * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
5573 fixinc/inclhack.def: Change comments mentioning C9X to refer to
5574 C99 instead.
5575
8c7b74b9
JM
5576 * invoke.texi: Document that -V will only work for very similar
5577 versions of driver and compiler.
5578
44ed91a1
NB
55792000-10-29 Neil Booth <neilb@earthling.net>
5580
5581 * cppmacro.c (_cpp_create_definition): Optimize the case of
a8a05998 5582 a macro defined to itself.
44ed91a1 5583
3542203b
NB
55842000-10-29 Neil Booth <neilb@earthling.net>
5585
5586 * cpplex.c (save_comment): Don't store new lines in C++ comments.
5587
6f268adf
MH
55882000-10-29 Michael Hayes <mhayes@redhat.com>
5589
5590 * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
5591
926c5678
GK
55922000-10-28 Geoffrey Keating <geoffk@cygnus.com>
5593
5594 * cpphash.c (cpp_forall_identifiers): Add context variable
5595 for callback routine.
5596 * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
5597 change.
5598 (main): Call cpp_forall_identifiers with null context.
5599 * cpplib.h (cpp_forall_identifiers): Update prototype.
5600
5601 * cppmain.c: Make `parse_in' and `print' static.
5602
69f4cc4b
AM
56032000-10-28 Alan Modra <alan@linuxcare.com.au>
5604
5605 * c-decl.c (finish_function): Clear c_function_name_declared_p.
5606
ce73761f
RH
56072000-10-28 Richard Henderson <rth@redhat.com>
5608
5609 * regrename.c (scan_rtx_address): Frob action, not class,
5610 when trying to disable optimization.
5611
2c21b247
MM
56122000-10-28 Mark Mitchell <mark@codesourcery.com>
5613
5614 * c-semantics.c (make_rtl_for_local_static): Don't clobber
5615 DECL_ASSEMBLER_NAME.
5616
8763704d
JM
56172000-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5618
5619 * configure.in: Determine and substitute gcc_version_full.
5620 * configure: Regenerate.
5621 * gccbug.in: Use it to give full version. Don't allow
5622 confidential PRs.
5623
85941a0a
RH
56242000-10-28 Richard Henderson <rth@redhat.com>
5625
5626 * recog.c (split_all_insns): Run cleanup_subreg_operands
5627 after reload.
5628
5629 * regrename.c (regrename_optimize): Verify that all registers of
5630 a multiple register mode are available.
5631 (scan_rtx_address): Accept the mode of the address; all callers
5632 changed.
5633
5634 * cpplib.c (run_directive): Fix prototype.
5635
69add2a8
BS
56362000-10-28 Bernd Schmidt <bernds@redhat.co.uk>
5637
5638 * reload.c (find_reloads): Distinguish "wins" so that we know whether
5639 a given operand won because of a matching constraint or not; then use
5640 that information to compute goal_alternative_matched properly.
4c3a2649
BS
5641 * reload1.c (choose_reload_regs): Never set reload_override_in for an
5642 optional reload.
69add2a8 5643
005f39ce
BS
5644 * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
5645 accurate value for MULT.
55d8cb78
BS
5646 * config/ia64/ia64.c (ia64_print_operand): Require probability to be
5647 2% or > 98% before using static branch prediction bits.
005f39ce 5648
93c80368
NB
56492000-10-28 Neil Booth <neilb@earthling.net>
5650
5651 New macro expander.
a8a05998 5652
93c80368
NB
5653 * cpplib.c (struct answer): New.
5654 (struct if_stack): Use cpp_lexer_pos rather than line and col.
5655 Rename cmacro mi_cmacro.
5656 (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
5657 IN_I): New directive and flags.
5658 (skip_rest_of_line, check_eol, run_directive, glue_header_name,
5659 parse_answer, parse_assertion, find_answer): New functions.
5660 (parse_ifdef, detect_if_not_defined, validate_else): Remove.
5661 (lex_macro_node): New function to replace parse_ifdef and
5662 get_define_node.
5663
5664 (_cpp_handle_directive): New function, combines _cpp_check_directive
5665 and _cpp_check_linemarker.
5666
5667 (do_define, do_undef, parse_include, do_include, do_import,
5668 do_include_next, read_line_number, do_line, do_ident, do_pragma,
5669 do_pragma_once, do_pragma_poison, do_pragma_dependency):
5670 Update for new token getting interface.
5671
5672 (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
5673 : Update for new multiple-include optimisation technique.
5674 (do_elif): Don't forget to invalidate controlling macros.
5675
5676 (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
5677 (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
5678 Functions to handle assertions with the new token interface.
5679 (do_assert, do_unassert): Use them.
5680
5681 (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
5682 Use run_directive.
5683
5684 (_cpp_init_stacks): Register directive names. Don't register special
5685 nodes.
5686
5687 * cpperror.c (print_containing_files, _cpp_begin_message): Update to
5688 new position recording regime.
5689 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
5690 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5691 cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
5692 (cpp_type2name): Move to cpplex.c.
5693
5694 * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
5695 (parse_defined): Update to handle new multiple include optimisation
5696 method. Remove poisoned identifier warning.
5697 (parse_assertion, TYPE_NAME): Delete.
5698 (lex): Update for multiple include optimisation, removal of
5699 CPP_DEFINED, to use _cpp_test_assertion for assertions and
5700 cpp_token_as_text.
5701 (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
5702 (op_as_text): New function, to wrap cpp_token_as_text.
5703
5704 * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
5705 Update for MI optimisation.
5706 (_cpp_execute_include): Take a token rather than 3 arguments. Fix
5707 segfault on diagnostic.
5708 (_cpp_compare_file_date): Take a token rather than 3 args.
5709 (cpp_read_file): Work correctly for zero-length files.
5710
5711 * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
5712 _cpp_init_hashtable and _cpp_cleanup_hashtable.
5713 (cpp_lookup): Place identifiers at front of identifier pool
5714 for _cpp_lookup_with_hash.
5715 (_cpp_lookup_with_hash): Require identifiers to be at the front of
5716 the identifier pool. Commit the memory if not already in the
5717 hash table.
5718
5719 * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
5720 Initialise various members of cpp_reader, memory pools, and the
5721 special nodes.
5722 (cpp_printer_init): Delete.
5723 (cpp_cleanup): Update.
5724 (struct builtin, builtin_array, initialize_builtins): Update for new
5725 hashnode definition and builtin handling.
5726 (cpp_start_read, cpp_finish): Don't take or initialise a
5727 printer. Update.
5728
5729 * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
5730 PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
5731 T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
5732 T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
5733 (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
5734 struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
5735 NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
5736 struct toklist, struct cpp_context, struct specnodes,
5737 TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
5738 NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
5739 enum builtin_type, cpp_can_paste): New.
5740 (struct cpp_token): Delete line and col members.
5741 (struct cpp_buffer): New member output_lineno.
5742 (struct lexer_state): Delete indented, in_lex_line, seen_dot.
5743 Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
5744 (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
5745 ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
5746 base_context, context, directive, mi_state, mi_if_not_defined,
5747 mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
5748 mlstring_pos, macro_buffer, macro_buffer_len.
5749 Delete members mls_line, mls_column, token_list, potential_control_macro,
5750 temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
5751 context_cap, cur_context, no_expand_level, paste_level, contexts, args,
5752 save_parameter_spellings, need_newline, .
5753 Change type of date, time and spec_nodes members.
5754 Change prototypes for include and ident callbacks.
5755 (struct cpp_hashnode): Change type of name. Remove union members
5756 expansion and code. Add members macro, operator and builtin.
5757
5758 (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
5759 cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
5760 cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
5761 cpp_stop_lookahead): New prototypes.
5762 (cpp_printer_init, cpp_dump_definition): Delete prototypes.
5763
5764 (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
5765 Move from cpphash.h.
5766
5767 * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
5768 ufputs): Move to cpplib.h.
5769 (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
5770 TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
5771 COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
5772 struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
5773 _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
5774 _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
5775 _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
5776 _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
5777 _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
5778 _cpp_parse_assertion, _cpp_find_answer): Delete.
5779 (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
5780 POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
5781 _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
5782 _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
5783 _cpp_handle_directive, DSC): New.
5784 (struct include_file): New member defined.
5785
5786 (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
5787 _cpp_compare_file_date): Update.
5788 (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
5789 (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
5790 _cpp_cleanup_hashtable.
5791
5792 * Makefile.in: Remove cppoutput.c.
a8a05998 5793
93c80368
NB
5794 * cppoutput.c: Delete
5795
5796 * fixheader.c (read_scan_file): Update for new cpp_get_token
5797 prototype.
5798 (recognized_function): New argument LINE.
5799
5800 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
5801 new cpp_get_token prototype.
5802
5803 * scan.h (recognized_function): Update prototype.
5804
5805 * po/POTFILES.in: Remove cppoutput.c.
a8a05998 5806
229a2e65
MM
58072000-10-27 Mark Mitchell <mark@codesourcery.com>
5808
5809 * c-typeck.c (check_init_type_bitfields): Remove.
5810 (constructor_incremental): Likewise.
5811 (struct constructor_stack): Remove incremental bit.
5812 (struct initializer_stack): Likewise.
5813 (start_init): Don't play with constructor_incremental.
5814 (finish_init): Likewise.
5815 (really_start_incremental_init): Likewise.
5816 (push_init_level): Likewise.
5817 (pop_init_level): Likewise.
5818 (output_init_level): Likewise.
5819 (output_pending_init_elements): Likewise.
5820
63eb1269
MC
58212000-10-21 Mike Coleman <mcoleman2@kc.rr.com>
5822
5823 * c-pragma.c (handle_pragma_pack): Initialize align to -1.
a8a05998 5824 Improve error messages. Correct parsing of
63eb1269
MC
5825 #pragma pack(pop [,id]). Do not check the user-supplied
5826 alignment if we're popping.
5827
5828 * gcc.dg/pack-test-1.c: New test case.
5829 * gcc.dg/pack-test-2.c: New test case.
5830 * gcc.dg/pack-test-1.h: New file.
5831
ae2eceaa
NB
58322000-10-27 Neil Booth <neilb@earthling.net>
5833
5834 * cpp.texi: Update.
5835
04e149ab
KC
58362000-10-27 Kelley Cook <kelley.cook@home.com>
5837
5838 * invoke.texi: Document -mintel-syntax
5839
2b2a8f1f
RH
58402000-10-27 Richard Henderson <rth@redhat.com>
5841
5842 * invoke.texi: Document -frename-registers. Add it to -O3.
5843 * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
5844 (enum dump_file_index, dump_file): Update order.
5845 (main): Set flag_rename_registers at -O3.
5846
10c9f189
RH
58472000-10-27 Richard Henderson <rth@redhat.com>
5848
93c89ab3
RH
5849 * config/alpha/alpha.h (enum reg_class): Add PV_REG.
5850 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5851 (REG_CLASS_FROM_LETTER): Assign it to 'c'.
5852 * config/alpha/alpha.md (call_osf_1): Use it.
5853 (call_value_osf_1): Likewise.
5854
10c9f189
RH
5855 * config/ia64/ia64.c: Revert 10-23 patch.
5856 (ia64_hard_regno_rename_ok): New.
5857 * config/ia64/ia64-protos.h: Declare it.
5858 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
5859
541f7d56
BS
58602000-10-27 Bernd Schmidt <bernds@redhat.co.uk>
5861 Richard Henderson <rth@redhat.com>
5862
a8a05998
ZW
5863 * regrename.c: Rewrite to handle multi-register modes and
5864 cond_exec instructions.
5865 * Makefile.in (regrename.o): Update dependancies.
5866 * recog.h (struct operand_alternative): Add is_address.
5867 * recog.c (preprocess_constraints) [case 'p']: Set it.
541f7d56 5868
b8dad04b
ZW
58692000-10-27 Zack Weinberg <zack@wolery.stanford.edu>
5870
5871 * configure.in: If not NO_MINUS_C_MINUS_O, substitute
5872 OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
5873 top level. Kill oldstyle_subdirs. Do not include
5874 $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
5875 $outputs. Do not run configure.lang from config.status.
5876 Rearrange warning-flag logic to correspond to what the
5877 makefile wants. Put special vax stage1 options in
5878 @stage1_flags@ not @stage1_warn_cflags@. Don't do anything
5879 with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
5880 (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
5881 switch is given, nothing otherwise.
5882 * configure.lang: Delete.
5883
a8a05998
ZW
5884 * Makefile.in: Expunge all traces of extra_c_objs,
5885 extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
5886 @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
5887 warning options via a three level scheme so that -pedantic and
5888 -Wtraditional are not used for non-C front ends: LOOSE_WARN,
5889 STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
5890 WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
b8dad04b
ZW
5891 Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
5892 Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
a8a05998
ZW
5893 LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
5894 generation rules. Wrap all rules that change the current
5895 directory in parentheses; pmake doesn't spawn a new shell for
5896 each command. Expunge all references to $(P). When one
5897 command depends on another and they're run all at once, use &&
5898 to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
5899 deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
5900 and beyond.
b8dad04b
ZW
5901
5902 * objc/Make-lang.in: Wrap all rules that change the current
5903 directory in parentheses. Expunge all references to $(P).
5904 When one command depends on another and they're run all at
5905 once, use && to separate them, not ;. Add OUTPUT_OPTION to
5906 all object-file generation rules. Delete obsolete variables.
5907 * objc/Makefile.in: Delete.
5908
fadb729c
JJ
59092000-10-27 Jakub Jelinek <jakub@redhat.com>
5910
5911 * calls.c (expand_call): If sibcall_failure is set during pass 1,
5912 clear tail_call_insns as well.
5913
254bb256
NC
59142000-10-27 Nick Clifton <nickc@redhat.com>
5915
5916 * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
5917 prototype.
5918
8eb99146
RH
59192000-10-26 Richard Henderson <rth@redhat.com>
5920
b8dad04b 5921 * calls.c (expand_call): Supress sibcall if we have a
8eb99146
RH
5922 BLKmode return in registers.
5923
036099eb
BS
59242000-10-26 Bernd Schmidt <bernds@redhat.co.uk>
5925
5926 * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
5927 into memory.
5928
13c6f0d5
NS
59292000-10-26 Nathan Sidwell <nathan@codesourcery.com>
5930
5931 * tree.c (make_node, case 't'): Set alignment to that of
5932 char_type_node.
5933 * expr.c (move_by_pieces_ninsns): Abort if some length remains.
5934
be5aeb60
MM
59352000-10-25 Mark Mitchell <mark@codesourcery.com>
5936
5937 * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
5938 * configure.in (enable-libstdcxx-v3): Arrange to have
5939 HAVE_LIBSTDCXX_V3 substituted into the output files.
5940
78192b09
RH
59412000-10-25 Richard Henderson <rth@redhat.com>
5942
4667f705
RH
5943 * recog.c (constrain_operands): Initialize which_alternative
5944 before no alternatives early exit.
5945
78192b09
RH
5946 * cse.c (find_comparison_args): Check that we can reverse a
5947 comparison if needed before accepting the substitution.
5948
081b49f1
RH
5949 * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
5950
d4f1c1fa
RH
5951 * simplify-rtx.c (simplify_relational_operation): Sign extend
5952 low words before sign extending to high words.
5953
bc27e96c
NC
59542000-10-25 Nick Clifton <nickc@redhat.com>
5955
5956 * config/mcore/mcore.c: Include config.h before system.h.
5957
59582000-10-25 Ray Essick <essick@ddna.labs.mot.com>
5959
5960 * config/mcore/mcore.md (return): Force function epilogue to
5961 always be generated to work around epilogue suppression bug in
5962 M*Core backend.
5963
e0c9fbb7
JM
59642000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
5965
5966 * c-decl.c (grokdeclarator): Move warning for qualified void
5967 return types with -pedantic to when the function type is
5968 constructed. At -W, warn in general for qualified function return
5969 types, except for volatile void.
5970 * invoke.texi: Document this new warning at -W.
5971
138e79e7
NB
59722000-10-25 Neil Booth <neilb@earthling.net>
5973
b8dad04b
ZW
5974 * cpp.texi: Update with implementation-defined behavior and
5975 internal limits.
138e79e7 5976
dc5041ab
JJ
59772000-10-25 Jakub Jelinek <jakub@redhat.com>
5978
5979 * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
5980 incomplete type force it into alias set 0.
5981
e004f2f7
JW
5982Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com)
5983
5984 * alias.c: Include basic-block.h.
5985 (loop_p): New function.
5986 (mark_constant_function): Use it.
5987 * Makefile.in (alias.o): Update dependencies.
5988
15c09738
AH
59892000-10-24 Aldy Hernandez <aldyh@redhat.com>
5990
5991 * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
5992 like memory.
b8dad04b 5993
a8ca7756
JW
59942000-10-24 Jim Wilson <wilson@cygnus.com>
5995
5996 * expmed.c (store_bit_field): Move integer pun code down after
5997 code that calls emit_move_insn for entire register move.
5998 * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
5999 Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE.
b8dad04b 6000
c0fc376b
RH
60012000-10-24 Richard Henderson <rth@cygnus.com>
6002
6003 * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
6004 register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
6005
d7836e38
AH
60062000-10-24 Aldy Hernandez <aldyh@redhat.com>
6007
b8dad04b
ZW
6008 * gcse.c (cprop_insn): do not propagate constants into jump_insn
6009 for machines with CC0 more than once.
d7836e38 6010
5e2c51ba
RH
60112000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
6012
b8dad04b
ZW
6013 * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
6014 pseudos just like memory.
5e2c51ba 6015
c71e1201
AO
60162000-10-24 Alexandre Oliva <aoliva@redhat.com>
6017
6018 * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
6019 when deleting libcall sequence collapsed to a single instruction.
6020
5129d2ce
AH
60212000-10-24 Andrew Haley <aph@cygnus.co.uk>
6022
6023 * expr.c (do_store_flag): Don't crash if either side of a
6024 comparison is error_mark_node.
6025
f85b5d65
JJ
60262000-10-24 Jakub Jelinek <jakub@redhat.com>
6027
6028 * sibcall.c (purge_mem_unchanging_flag): New function.
6029 (optimize_sibling_and_tail_recursive_calls): Call it.
6030
4adee315
PT
60312000-10-24 Philipp Thomas <pthomas@suse.de>
6032
6033 * Makefile.in (check-po): New target for doing checks in the po
6034 subdir if all languages configured.
6035 (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
6036 configure if NLS is enabled.
6037 * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
6038 otherwise leave empty.
6039 * configure: Regenerate.
6040
fb204271
DN
60412000-10-23 Diego Novillo <dnovillo@cygnus.com>
6042
6043 * i386.c (print_operand): Handle new 'A' formatting code.
6044 387 opcodes need suffixes even with -mintel-syntax.
6045 Check for explicit size override (codes 'b', 'w' and 'k').
6046 (print_operand_address): Check if register prefix is needed when
6047 emitting `ds' segment override.
6048 * i386.h: Add comment about new 'A' formatting code.
6049 * i386.md (jump and call patterns): Emit absolute references using %A.
6050
8a959ea5
RH
60512000-10-23 Richard Henderson <rth@cygnus.com>
6052
b8dad04b 6053 * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
8a959ea5
RH
6054 output registers as fixed.
6055 (ia64_function_epilogue): Undo output fixation.
6056
964686de
RH
60572000-10-23 Richard Henderson <rth@cygnus.com>
6058
6059 * config/alpha/alpha.md: Add names for all unnamed insns; use
6060 define_insn_and_split in some obvious places.
6061 (lda): Remove.
6062 (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
6063 (zero_extendqisi2, zero_extendqidi2): Likewise.
6064 (zero_extendhisi2, zero_extendhidi2): Likewise.
6065 (abs splitters): Fix match_scratch operand number.
6066 (bcc_reverse): Swap pc & label instead of non-canonical compare.
6067
18a3c539
JW
60682000-10-23 Jim Wilson <wilson@cygnus.com>
6069
6070 * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle
6071 CONST_INT.
6072 * ia64.md (cmpsi_adjusted): Use %r3.
6073 (cmpdi_adjusted): Likewise.
6074
57dd137f
DN
60752000-10-23 Diego Novillo <dnovillo@cygnus.com>
6076
6077 * config/i386/att.h (ASM_FILE_START): Define.
6078
d984704d
DN
60792000-10-23 Diego Novillo <dnovillo@cygnus.com>
6080
6081 * config/i386/linux.h (ASM_FILE_START): Define.
6082
261f21e7
DL
6083Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com>
6084
6085 * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
6086 since this (only) drags in a crt0.o reference that the .ld files
6087 also introduce.
6088
96af667a
GK
60892000-10-23 Geoff Keating <geoffk@cygnus.com>
6090
2af88768
GK
6091 * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
6092 overwrite the value in a RELOAD_FOR_INPUT and other kinds of
6093 reloads just like an RELOAD_FOR_OUTPUT would.
6094
96af667a
GK
6095 * local-alloc.c (update_equiv_regs): Add an abort(). When
6096 deleting or moving insns, update reg_equiv[regno].init_insns.
6097
d252a515
MM
60982000-10-23 Mark Mitchell <mark@codesourcery.com>
6099
6100 * c-tree.texi: Improve documentation for IF_STMTs and related
6101 conditional statements.
6102
f9808f81
MM
61032000-10-22 Mark Mitchell <mark@codesourcery.com>
6104
6105 * expr.c (do_preexpand_calls): Remove.
6106 (same_from_p): Don't use CALL_EXPR_RTL.
6107 (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
6108 (preexpand_calls): Remove.
6109 * tree.c (first_rtl_op): Remove CALL_EXPR case.
6110 (unsave_expr_1): Likewise.
6111 * tree.def (CALL_EXPR): Give it only two slots.
6112 * tree.h (CALL_EXPR_RTL): Remove.
6113
ae4bd622
CC
61142000-10-21 Chandrakala Chavva <cchavva@redhat.com>
6115
6116 * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3,
b8dad04b
ZW
6117 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6118 New functions.
ae4bd622 6119
3e555c7d
AO
61202000-10-22 Alexandre Oliva <aoliva@redhat.com>
6121
6122 * calls.c (combine_pending_stack_adjustment_and_call): Don't
6123 adjust stack when unadjusted_alignment ends up as zero.
6124
99bdaa68
JM
61252000-10-22 Joseph S. Myers <jsm28@cam.ac.uk>
6126
6127 * fixinc/genfixes: Remove EGCS reference.
6128 * install.texi: Remove EGCS reference.
6129 * INSTALL: Regenerate.
6130
e36308b0
MM
61312000-10-22 Mark Mitchell <mark@codesourcery.com>
6132
6133 * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
6134
bf6eb15f
JM
61352000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
6136
6137 * diagnostic.c: Remove EGCS reference in comment.
6138
e62ff0c3
RK
6139Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6140
6141 * loop.c (strength_reduce): Fix error in last change.
6142
0ad7574f
DE
61432000-10-20 David Edelsohn <edelsohn@gnu.org>
6144
6145 * Makefile.in (SHLIB_NM_FLAGS): New.
6146 (libgcc.mk): Pass it.
6147 * mklibgcc.in (libgcc.map): Use it.
6148
6149 * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
6150 SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
6151
8f54374e
KG
61522000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6153
6154 * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
6155
6156 * sparc.c (load_pic_register): Delete unused varaible.
6157
6158 * libgcc2.c (__addvsi3): Delete unused variable.
6159
6160 * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
6161 __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
6162 __negvdi2): Prototype.
6163
6164 * ssa.c (apply_delayed_renames): Avoid undefined operation.
6165
6166 * toplev.c (display_target_options): Make static to match
6167 prototype. Delete empty declaration.
6168
3f568531
TT
61692000-10-20 Tom Tromey <tromey@cygnus.com>
6170
6171 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6172 * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6173
235783d1
RK
6174Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6175
6176 * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
6177 returned MEM.
6178 (expand_expr_unaligned, case ARRAY_REF): Check that index is
6179 a constant before comparing it; use tree_low_cst.
6180 * tree.c (save_expr): Set TREE_READONLY.
6181 (substitute_expr): Return inside of NON_LVALUE_EXPR.
6182 (build, build1): Set TREE_READONLY if all operands are.
6183 (build_index_type): If upper bound is a negative number, lower
6184 bound is zero and sizetype is unsigned, use upper bound of one and
6185 lower of zero.
6186
2e44948d
DE
61872000-10-20 David Edelsohn <edelsohn@gnu.org>
6188
6189 * gcc.c (process_command, main): Use "because" instead of
6190 "since" in error messages.
6191
44475138
RK
6192Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6193
382110c0
RK
6194 * stor-layout.c (compute_record_mode): Use tree_low_cst.
6195 Don't use mode of field for record unless sizes are the same.
6196 (layout_type, case ARRAY_TYPE): Remove special bounds handling
6197 previously added for Ada; also change to using host_integerp
6198 and tree_low_cst.
6199
1dcdb0df
RK
6200 * loop.c (strength_reduce): Show when new register made for
6201 giv is known to be a pointer and its aligment if so and known.
6202 (loop_dump_aux): Show VERBOSE parameter unused.
6203
ebb13e7e
RK
6204 * gcse.c (set_hash_table_size): Now unsigned.
6205 * sdbout.c (template_name_p): Add "const" to avoid warnings.
6206 (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
6207 (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
6208 (sdbout_end_epilogue): Remove variable NAME.
6209 * system.h (getopt): Add default definition.
6210 * config/alpha/alpha.c (print_operand): Don't continue processing
6211 after issuing error.
6212 (summarize_insn): Avoid use of UL in constant.
6213
1468899d
RK
6214 * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
6215
44475138
RK
6216 * fold-const.c (force_fit_type): Unsigned values can overflow
6217 if they are sizetype.
6218 (int_const_binop): Don't use cache if overflows.
391db8c9 6219
23ccfa6d
RH
62202000-10-20 Richard Henderson <rth@cygnus.com>
6221
6222 * function.c (locate_and_pad_parm): Zero alignment_pad.
6223
4ca0f257
RH
6224 * regrename.c (rr_replace_reg): Rewrite to use recog_data to
6225 perform substitutions, and apply_change_group to see if it worked.
6226
0345195a
RK
6227Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6228
d57e164f
RK
6229 * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
6230
0345195a
RK
6231 * combine.c (struct undo): Change int to unsigned int.
6232 (do_SUBST_INT): Args are unsigned int.
6233 (make_extraction, force_to_mode): Use proper type when forming mask.
6234 (make_field_assignment): Likewise.
6235
2f74f7e9
JM
62362000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
6237
6238 * c-common.c (check_format_info_recurse): Extract string constant
6239 initializers from non-volatile constant arrays and check them as
6240 formats.
6241 * c-typeck.c (decl_constant_value): Don't check pedantic or check
6242 for DECL_MODE (decl) != BLKmode.
6243 (decl_constant_value_for_broken_optimization): New function which
6244 includes these checks.
6245 (default_conversion, convert_for_assignment, digest_init): Use
6246 decl_constant_value_for_broken_optimization instead of
6247 decl_constant_value.
6248
971774bb
MM
62492000-10-20 Mark Mitchell <mark@codesourcery.com>
6250
6251 * tree.h (DECL_ALIGN_UNIT): New macro.
6252
afee2a52
MM
62532000-10-14 Marek Michalkiewicz <marekm@linux.org.pl>
6254
6255 * config/avr/avr-protos.h (avr_output_bld): New.
6256 (out_shift_with_cnt): Add t_len argument.
6257 * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
6258 (output_movqi, output_movhi, output_movsisf): Optimize loading
6259 any constant with exactly one bit set to NO_LD_REGS.
6260 (out_shift_with_cnt): Optimize output code for size or speed,
6261 depending on optimize_size. Handle small shift counts as well
6262 (if not hand-optimized in ?sh??i3_out). Shifts can be done
6263 with or without a scratch register, with help of __tmp_reg__
6264 or __zero_reg__ if necessary. Add T_LEN argument to pass the
6265 length of TEMPLATE in words, return total insn length in *LEN.
6266 (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
6267 out_shift_with_cnt to work with the above change.
6268 (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
6269 lshrsi3_out): Likewise. Optimize more known shift count cases.
6270 Remove cases already well optimized in out_shift_with_cnt.
6271 (avr_output_bld): New function.
6272 * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
6273 (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
6274 * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
6275 Add reload_completed to insn condition - only for peepholes.
6276 (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
6277 in a register or memory.
6278 (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
6279 Do not require a scratch register.
6280 (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
6281 *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
6282 Optimize shifts by known count using a scratch register, but only
6283 if one is still available after register allocation.
6284
831f9339 62852000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
b8dad04b 6286
831f9339
DA
6287 * t-vax: New file. Don't build modules from libgcc1.c.
6288
bf6d9fd7
JW
6289Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com)
6290
6291 * alias.c: (mark_constant_function): Don't check pure functions.
6292 Initialize and end alias analysis.
6293 (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
6294 Don't make a special exception for recursion. Handle
6295 UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local
6296 unless it's volatile.
6297
6298 * local-alloc.c (equivalence): New structure.
6299 (reg_equiv): Define.
6300 (contains_replace_regs): Remove array and use
6301 field in reg_equiv.
6302 (memref_referenced_p): Likewise.
6303 (no_equiv): Likewise.
6304 (update_equiv_regs): Likewise.
6305
6306 (equiv_init_varies_p,
6307 equiv_init_movable_p): New functions.
6308 (update_equiv_regs): Use them. Use rtx_varies_p
6309 instead of function_invariant_p. Process insns
6310 from end to beginning. Allow a REG_EQUIV insn
6311 within the same loop as a use to be moved, also
6312 allow it to be moved out of a loop. Update
6313 REG_DEAD notes when substituting into an insn.
6314
ef375129
JW
63152000-10-19 Jim Wilson <wilson@cygnus.com>
6316
f4fce7ed
JW
6317 * c-decl.c (start_decl): Check for error_mark_node type before using
6318 COMPLETE_TYPE_P.
6319 (finish_decl): Likewise. Don't give an error if decl type is
6320 already error_mark_node.
6321
ef375129
JW
6322 * haifa-sched.c (compute_trg_info): Add explanatory comments.
6323 New local update_blocks. Use update_blocks to remove duplicates
6324 when computing update blocks. Check for bblst_table overflow.
6325 (schedule_block): Add explanatory comment. Reduce bblst_size by
6326 factor of 2.
6327 * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
6328 notes.
b8dad04b 6329
3cf37281
CC
63302000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6331
6332 * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
6333
e6b4d09d
CC
63342000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6335
6336 * expmed.c: Minor corrections in comments.
6337 * invoke.texi: Added desciption for the new option -ftrapv.
6338
3d2adde6
CC
63392000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6340
6341 * libgcc2.c: Added the missing #endif.
6342
1aa9fd24
JH
6343Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
6344
6345 * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
6346
91ce572a
CC
63472000-10-18 Chandrakala Chavva <cchavva@redhat.com>
6348
b8dad04b
ZW
6349 * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
6350 Use smulv_optab for -ftrapv.
6351 (expand_mult_highpart): Use unsigned multiply.
6352 (expand_divmod): Special-case division by -1.
6353 For EXACT_DIV_EXPR, do right shift first, then the multiply.
6354 For complex divide, use abs with unsigned result.
6355 * expr.c (force_operand): Use unsigned multiply.
6356 (expand_expr): Use overflow-trapping optabs for signed types if
6357 flag_trapv.
6358 If flag_trapv, don't generate a recursive call with EXPAND_SUM
6359 if the type is signed and the original call wasn't EXPAND_SUM or
6360 EXPAND_INITIALIZER.
6361 * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
6362 (negv_optab, absv_optab): Declare.
6363 * flags.h (flag_trapv): Declare.
6364 * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
6365 smulv_optab, sdivv_optab, negv_optab and absv_optab.
91ce572a 6366 (gen_insn): Interpret '$P' as requiring an integer mode,
b8dad04b
ZW
6367 including partial integer modes.
6368 * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
6369 (product_cheap_p): Use unsigned expand_mult.
6370 * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
6371 (negv_optab, absv_optab): Define.
6372 (expand_binop): Use overflow-trapping optabs for signed types if
6373 flag_trapv.
6374 Handle negv_optab libe neg_optab.
6375 (expand_abs): Take result_unsignedp argument instead of unsignedp one.
6376 Use overflow-trapping optabs for signed result if flag_trapv.
6377 (expand_complex_abs): Use overflow-trapping optabs for signed types if
6378 flag_trapv.
6379 Don't open-code complex absolute-value operation for flag_trapv.
6380 (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
6381 sdivv_optab, negv_optab and absv_optab.
6382 * toplev.c (flag_trapv): Define.
6383 (lang_independent_options f_options): Include flag_trapv.
6384 * tree.h (TYPE_TRAP_SIGNED): Define.
6385 * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
6386 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6387 New functions.
6388 * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
6389 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
91ce572a 6390
4c2c5712
GK
63912000-10-18 Geoffrey Keating <geoffk@cygnus.com>
6392 David V. Henkel-Wallace <gumby@cygnus.com>
6393
6394 * config/i386/t-netware: Bring in from the Red Hat tree.
6395 * config/i386/netware.h: Likewise.
6396 * config/netware.h: Likewise.
6397 * config/rs6000/netware.h: Delete.
6398 * configure.in: Add i[34567]86-*-netware.
6399 * configure: Hand-edit to match configure.in change.
6400
6bcedb4e
MM
64012000-10-18 Mark Mitchell <mark@codesourcery.com>
6402
6403 * c-common.h (flag_no_builtin): Declare.
6404 (flag_no_nonansi_builtin): Likewise.
6405 (c_common_nodes_and_builtins): Change prototype.
6406 * c-common.c (flag_no_builtin): New variable.
6407 (flag_no_nonansi_builtin): Likewise.
6408 (c_common_nodes_and_builtins): Remove parameters. Adjust
6409 accordingly.
6410 * c-decl.c (flag_no_builtin): Remove.
6411 (flag_no_nonansi_builtin): Likewise.
6412 (init_decl_processing): Adjust call to
6413 c_common_nodes_and_builtins.
b8dad04b 6414
989b26a7
ME
64152000-10-18 Marc Espie <espie@openbsd.org>
6416
6417 * tm.texi (LIBGCC_SPEC): Synch with reality.
6418
81cf47b2
JM
64192000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6420
6421 * c-common.c (check_format_types): Check for writing through a
6422 NULL pointer argument.
6423
27c35f4b
HPN
64242000-10-18 Hans-Peter Nilsson <hp@axis.com>
6425
6426 * tm.texi (Exception Region Output): Document
6427 DWARF_CIE_DATA_ALIGNMENT.
6428 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
6429 #ifndef.
6430 [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
6431 DWARF_CIE_DATA_ALIGNMENT.
6432
4a7da9b5
MH
64332000-10-18 Michael Hayes <mhayes@cygnus.com>
6434
6435 * basic-block.h (struct loop): Delete fields pre_header_root
6436 and pre_header_trace and replace with pre_header_edges
6437 and num_pre_header_edges.
6438 * flow.c (flow_loop_dump): Dump pre_header_edges.
6439 (flow_loops_free): Free pre_header_edges.
6440 (flow_loop_pre_header_scan): Calculate pre_header_edges.
6441
42c10750
GP
64422000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6443
6444 * contrib.texi: Update references to steering committee members
6445 and Jeff Law's entry.
6446
ade7d3cc
JM
64472000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6448
6449 * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
6450 (maybe_read_dollar_number, check_format_info_main): Use them for
6451 pedantic warning messages.
6452
c5251260
JM
64532000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6454
6455 * c-common.c (check_format_info_main): Minor cleanup: move
6456 variables into inner scopes; initialize declarations where
6457 appropriate; don't hardcode "scanf" name on warning for zero
6458 width.
6459
67673f5c
MM
64602000-10-17 Mark Mitchell <mark@codesourcery.com>
6461
6462 * c-common.c (back_end_hook): New variable.
6463 * c-common.h (back_end_hook): Declare it.
6464 * c-lang.c (finish_file): Use it.
6465
6466 * emit-rtl.c (init_emit_once): Initialize the const_int_htab
6467 earlier.
b8dad04b 6468
1aa9fd24 64692000-10-18 Jan Hubicka <jh@suse.cz>
265dab10 6470
b8dad04b
ZW
6471 * i386.c (ix86_comparison_operator, put_condition_code,
6472 ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
6473 (ix86_expand_strlensi_unroll_1): Use CCRCmode.
6474 * i386.h (EXTRA_CC_MODES): Add CCRCmode.
6475 * i386.md (adddi and negdi splitter): Use CCRCmode.
6476 (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
6477 (subsi3_carry): add '*'
6478 (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
6479 (cmp to add peep2): Use CCRCmode; swap operands.
265dab10 6480
b054460b
KH
64812000-10-18 Kazu Hirata <kazu@hxi.com>
6482
8682223f
KH
6483 * h8300.c: Fix a comment typo.
6484 (round_frame_size): New.
6485 (compute_saved_regs): Likewise.
6486 (push): Likewise.
6487 (pop): Likewise.
6488 (push_order): Remove.
6489 (pop_order): Likewise.
6490 (function_prologue): Rearrange code for readability.
6491 (function_epilogue): Likewise.
6492
b054460b
KH
6493 * config/h8300/h8300.md: Remove an unnecessary sign_extend
6494 expander that is used when not optimizing. Output a tab after
6495 each assembly insns.
6496
f27e6bb2
KH
6497 * reorg.c: Fix formatting.
6498
19ca869b
JR
64992000-10-17 Joern Rennecke <amylaar@redhat.co.uk>
6500
6501 * reload1.c (move2add_note_store): Check for simple
6502 auto-inc in destination.
6503
2ddb1ca1
MC
65042000-10-17 Michael Chastain <chastain@redhat.com>
6505
6506 * config/i386/i386-aout.h: define INT_ASM_OP.
6507
11881f37
AM
6508Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au>
6509
6510 * pa.c (print_operand): Handle case 'c' for .vtable_inherit
6511
33e39e38
MB
6512Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org>
6513
6514 * i370.md: Fix spelling typo.
6515
832ea3b3
FS
65162000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6517
6518 * function.c (locate_and_pad_parm): Don't align stack unconditionally.
2b7fb034 6519 Fixes execute/20001017-1.c on powerpc-linux-gnu.
832ea3b3
FS
6520
6521 * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
2b7fb034 6522 * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
832ea3b3
FS
6523 LABEL_REF.
6524
6525 * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
6526 ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
6527 here...
6528 * rs6000/aix.h: ...to here.
6529 * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
6530
4c646291
JJ
65312000-10-17 Jakub Jelinek <jakub@redhat.com>
6532
6533 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
6534
6535 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
6536 sure linker can relax even the delay slot mov %g1,%o7, fix output
6537 formating.
6538
07e0fe3d
KH
65392000-10-17 Kazu Hirata <kazu@hxi.com>
6540
6541 * config/h8300/h8300.md: Remove an unnecessary zero_extend
6542 expander that is used when not optimizing. Output a tab after
6543 each assembly insns.
6544
10501d8f
CC
65452000-10-17 Chandrakala Chavva <cchavva@redhat.com>
6546
6547 * gcc.c: New options --target-help.
6548 (process_command): Added code to parse this new option.
6549 * toplev.c (display_target_options): New function to support the
6550 above new option.
6551 * cppinit.c (new_pending_directive) : New option OPT_target__help.
6552 (cpp_handle_option): Support this new option.
6553 * invoke.texi: Added notes about --target-help option.
b8dad04b 6554
c330e9c1 65552000-10-17 Graham Stott <grahams@redhat.com>
b8dad04b 6556
c330e9c1
GS
6557 * config/i386/i386.md (testqi_1): Add missing operand prefix
6558 for operand 0.
6559 * config/i386/i386-protos.h: Add missing prototype.
b8dad04b 6560
69ac4831
DN
65612000-10-17 Diego Novillo <dnovillo@cygnus.com>
6562
6563 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
6564 _GLOBAL_OFFSET_TABLE should not have a $ prefix when
6565 using -mintel-syntax.
6566
b691cb00
JM
65672000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6568
6569 * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
6570 (format_types): Use it for printf.
6571 (maybe_read_dollar_number): Add parameter for the kind of format
6572 involved. Warn for multiple use for arguments if this is
6573 inappropriate for the kind of format involved.
6574 (check_format_info_main): Update calls to maybe_read_dollar_number.
6575
948eab23
DA
65762000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6577
6578 * inclhack.def (hpux_maxint): Also apply fix to values.h.
6579 * fixincl.x: Rebuilt.
6580
1651ab85
AO
65812000-10-17 Alexandre Oliva <aoliva@redhat.com>
6582
6583 * genrecog.c (write_switch): Return the first condition that needs a
6584 label.
6585
2683ed8d
BS
65862000-10-17 Bernd Schmidt <bernds@redhat.co.uk>
6587
6588 * c-tree.h (warn_sequence_point): Move declaration to...
6589 * c-common.h (warn_sequence_point): ... here.
6590 * c-decl.c (warn_sequence_point): Move definition to...
6591 * c-common.c (warn_sequence_point): ... here.
6592 (struct reverse_tree): New.
6593 (reverse_list, reverse_max_depth): New static variables.
6594 (build_reverse_tree, common_ancestor, modify_ok
6595 verify_sequence_points): New functions.
6596 (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
6597 * c-typeck.c (check_modify_expr): Delete.
6598 (build_modify_expr): Don't call it.
6599
74ff4629
JM
66002000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6601
6602 * c-common.h (warn_missing_format_attribute): New variable.
6603 * c-decl.c (warn_missing_format_attribute): New variable.
6604 (c_decode_option): Decode -Wmissing-format-attribute and
6605 -Wno-missing-format-attribute.
6606 * c-common.c (check_function_format): If
6607 -Wmissing-format-attribute, give a warning where a vprintf or
6608 vscanf function is called by a function without its own printf or
6609 scanf attribute.
6610 * toplev.c (documented_lang_options): Add
6611 -Wmissing-format-attribute.
6612 * invoke.texi: Document -Wmissing-format-attribute.
6613
1d3b0e2c
ME
66142000-10-17 Marc Espie <espie@openbsd.org>
6615
6616 * invoke.texi (-shared): Insist on requiring code generation flags
6617 to be used along with -shared, and document the subtle failure that
6618 may occur otherwise.
6619
1c217171
DA
66202000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6621
6622 * pa.md (return_internal): Move `use' after `return'.
6623
11f3dc89
TP
66242000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6625
6626 * machmode.def: Correct comment.
6627
0952f89b
RB
66282000-10-16 Rodney Brown <RodneyBrown@mynd.com>
6629
47c10e9b
RB
6630 * print-rtl.c (print_rtx_head): Constify.
6631 * rtl.h (print_rtx_head): Similarly.
6632
0952f89b
RB
6633 * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
6634 Constify char * return value.
6635 * config/pa/pa/pa.c
6636 (output_64bit_and, output_64bit_ior): Constify char * return value.
6637 (pa_can_combine_p): Make static.
6638 (function_arg): Decorate unused `named' argument. Fix comment typo.
6639 (function_arg_partial_nregs): Decorate unused `named' argument.
6640
6d2e1454
JM
66412000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
6642
6643 * c-common.c (format_check_results): New structure.
6644 (finish_dollar_format_checking): Adjust to take a
6645 format_check_results * parameter.
6646 (check_format_info, check_format_info_recurse,
6647 check_format_info_main): Split check_format_info into three
6648 functions, the main checking going in check_format_info_main.
6649 Recurse when any reduction of the format string argument towards a
6650 string literal is done; go down both branches of a conditional
6651 expression. Don't warn for extra format arguments or empty format
6652 strings if they only occur in some branches of a conditional
6653 expression.
6654
4d231df7
KH
66552000-10-16 Kazu Hirata <kazu@hxi.com>
6656
f2a9645f 6657 * config/h8300/h8300.c: Remove obstack. Include ggc.h.
4d231df7 6658
55143861
JJ
66592000-10-16 Jakub Jelinek <jakub@redhat.com>
6660
6661 * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
6662
406df25c
DN
66632000-10-15 Diego Novillo <dnovillo@cygnus.com>
6664
6665 * i386.md (*movsi_or): Switch operand order for intel syntax.
6666
e8beb821
JM
66672000-10-14 Joseph S. Myers <jsm28@cam.ac.uk>
6668
2f6256e7
JM
6669 * PROBLEMS: Remove.
6670
e8beb821
JM
6671 * gcc.texi (Contributing): Update.
6672
c1f9de5a
DN
66732000-10-13 Diego Novillo <dnovillo@cygnus.com>
6674
6675 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
6676 appropriate assembler dialect.
6677
f58e0b0c
AO
66782000-10-13 Alexandre Oliva <aoliva@redhat.com>
6679
6680 * c-common.c (c_expand_builtin): PARAMS-ize prototype.
6681
08f81276
MM
66822000-10-12 Marek Michalkiewicz <marekm@linux.org.pl>
6683
6684 * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
6685 constants 1 and 2 to NO_LD_REGS.
6686
4b945402
KG
66872000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6688
6689 * Makefile.in (c-parse.c, tradcif.c): Create atomically.
b8dad04b 6690
4b945402
KG
6691 * objc/Make-lang.in (objc-parse.c): Likewise.
6692
c7319d87
RE
66932000-10-13 Richard Earnshaw <rearnsha@arm.com>
6694
6695 * arm.c: Include obstack.h
6696 (minipool_obstack, minipool_startobj): Define.
6697 (arm_add_gc_roots): Initialize them.
6698 (create_fix_barrier): Use our new obstack.
6699 (push_minipool_barrier, push_minipool_fix): Likewise.
6700 (arm_reorg): Release obstack memory.
6701
fccf9848
JJ
67022000-10-13 Jakub Jelinek <jakub@redhat.com>
6703
6704 * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
6705 (prologue, exception_receiver, builtin_setjmp_receiver): New
6706 patterns.
6707 * config/sparc/sparc.h (FINALIZE_PIC): Remove.
6708 * config/sparc/sparc-protos.h (finalize_pic): Remove.
6709 (load_pic_register): New prototype.
6710 * config/sparc/sparc.c (pic_setup_code): Remove.
6711 (finalize_pic): Rename to...
6712 (load_pic_register): ...this function.
6713 Don't look for nonlocal_goto_receivers and emit pic setup code
6714 directly. Don't check current_function_uses_pic_offset_table.
6715
7584b89f
RE
67162000-10-13 Richard Earnshaw <rearnsha@arm.com>
6717
6718 * tree.h (struct obstack): Declare.
6719
1f8f4a0b
MM
67202000-10-12 Mark Mitchell <mark@codesourcery.com>
6721
b8dad04b 6722 Remove obstacks.
1f8f4a0b 6723 * Makefile.in (ggc-callbacks.o): Remove target.
b8dad04b 6724 (flow.o): Depend on GGC_H.
1f8f4a0b
MM
6725 * alias.c (init_alias_analysis):
6726 Remove ggc_p conditionals.
b8dad04b 6727 (end_alias_analysis): Likewise.
1f8f4a0b 6728 * basic-block.h (init_flow): New function.
b8dad04b 6729 (allocate_reg_life_data): Declare.
1f8f4a0b
MM
6730 * bb-reorder.c (function_obstack): Replace with ...
6731 (flow_obstack): ... new variable.
b8dad04b 6732 (fixup_reorder_chain): Use it.
1f8f4a0b 6733 * c-decl.c (ggc_p): Remove.
b8dad04b 6734 (caller-save.c): Don't call oballoc/obfree.
1f8f4a0b
MM
6735 * combine.c (struct
6736 undobuf): Remove storage.
6737 (try_combine): Don't call oballoc.
b8dad04b 6738 (undo_all): Don't call obfree.
1f8f4a0b
MM
6739 * cse.c (insert): Use xmalloc, not
6740 oballoc.
b8dad04b 6741 (cse_main): Adjust accordingly.
1f8f4a0b
MM
6742 * dwarf2out.c (save_rtx): Remove
6743 obstack code.
b8dad04b 6744 (dwarf2out_init): Remove ggc_p conditionals.
1f8f4a0b
MM
6745 * emit-rtl.c (rtl_obstack): Remove.
6746 (gen_rtx_CONST_INT): Remove ggc_p conditionals.
6747 (make_insn_raw): Likewise.
6748 (emit_insn_before): Likewise.
6749 (emit_insn_after): Likewise.
6750 (emit_insn): Likewise.
6751 (gen_sequence): Likewise.
6752 (copy_insn_1): Remove handling of `b' RTL components.
b8dad04b 6753 (init_emit_once): Remove ggc_p conditionals.
1f8f4a0b
MM
6754 * except.c (create_rethrow_ref): Don't fool with obstacks.
6755 (add_partial_entry): Likewise.
6756 (call_get_eh_context): Likewise.
6757 (begin_protect_partials): Likewise.
b8dad04b 6758 (protect_with_terminate): Likewise.
1f8f4a0b 6759 * explow.c
b8dad04b 6760 (plus_constant_wide): Likewise.
1f8f4a0b
MM
6761 * expr.c (init_expr_once):
6762 Likewise.
6763 (emit_block_move): Likewise.
6764 (clear_storage): Likewise.
b8dad04b 6765 (expand_expr): Likewise.
1f8f4a0b
MM
6766 * flow.c (function_obstack): Remove.
6767 (flow_obstack): New variable.
6768 (flow_firstobj): Likewise.
6769 (create_base_block): Use the flow_obstack.
6770 (split_block): Likewise.
6771 (split_edge): Likewise.
6772 (calculate_global_regs_live): Likewise.
6773 (allocate_bb_life_data): Make it static. Likewiwse.
6774 (init_flow): New function.
b8dad04b 6775 (size_int_type_wide): Remove ggc_p conditionals.
1f8f4a0b
MM
6776 * function.c
6777 (push_function_context_to): Don't call save_tree_status.
6778 (pop_function_context_from): Or restore_tree_status.
6779 (assign_stack_local_1): Don't call push_obstacks.
6780 (find_fixup_replacement): Use xmalloc.
6781 (fixup_var_refs_insns): Free the storage.
6782 (insns_for_mem_walk): Don't mess with obstacks.
6783 (instantiate_decls): Likewise.
6784 (trampoline_address): Likewise.
b8dad04b 6785 (expand_function_end): Likewise.
1f8f4a0b
MM
6786 * function.h (sturct function):
6787 Remove obstack-related variables.
6788 (save_tree_status): Don't declare.
b8dad04b 6789 (restore_tree_status): Likewise.
1f8f4a0b 6790 * gcse.c (compute_can_copy):
b8dad04b 6791 Don't call oballoc/obfree.
1f8f4a0b
MM
6792 * genattrtab.c (operate_exp): Remove
6793 ggc_p conditionals.
6794 (simplify_cond): Likewise.
6795 (simplify_test_exp): Don't mess with obstacks.
b8dad04b 6796 (optimize_attrs): Likewise.
1f8f4a0b 6797 * gengenrtl.c (gendef): Don't include
b8dad04b
ZW
6798 ggc_p conditionals.
6799 * ggc-callbacks.c (ggc_p): Remove.
6800 * ggc-none.c (ggc_p): Remove.
6801 * ggc.h (ggc_p): Don't declare.
265dab10 6802 * integrate.c (save_for_inline): Don't mess with obstacks.
1f8f4a0b 6803 (integrate_decl_tree): Likewise.
b8dad04b 6804 (output_inline_function): Likewise.
1f8f4a0b 6805 * lists.c
b8dad04b 6806 (init_EXPR_INSN_LIST_cache): Likewise.
1f8f4a0b
MM
6807 * loop.c (temp_obstack):
6808 Remove.
6809 (rtl_obstack): Likewise.
6810 (init_loop): Don't mess with obstacks.
6811 (reg_address_cost): Free BIVs and GIVs.
6812 (check_insns_for_bivs): Use xmalloc, not oballoc.
6813 (find_mem_givs): Likewise.
6814 (record_biv): Likewise.
6815 (general_induction_var): Likewise.
b8dad04b 6816 (product_cheap_p): Likewse.
1f8f4a0b 6817 * optabs.c (init_one_libfunc): Remove
b8dad04b 6818 ggc_p conditional.
1f8f4a0b
MM
6819 * print-tree.c (debug_tree): Don't use
6820 oballoc/obfree.
b8dad04b 6821 (print_node): Likewise.
1f8f4a0b 6822 * profile.c (output_func_start_profiler):
b8dad04b 6823 Remove call to temporary_allocation.
1f8f4a0b 6824 * reload1.c
b8dad04b 6825 (eliminate_regs_in_insn): Don't mess with obstacks.
1f8f4a0b
MM
6826 * resource.c
6827 (mark_target_live_regs): Use xmalloc.
b8dad04b 6828 (free_resource_info): Free the memory.
1f8f4a0b
MM
6829 * rtl.c (rtl_obstack):
6830 Remove.
6831 (rtvec_alloc): Don't mess with obstacks.
6832 (rtx_alloc): Likewise.
6833 (rtx_free): Remove.
6834 (copy_rtx): Don't handle `b' cases.
b8dad04b 6835 (read_rtx): Use a local rtl_obstack.
1f8f4a0b
MM
6836 * rtl.h (oballoc): Remove.
6837 (obfree): Likewise.
6838 (pop_obstacks): Likewise.
6839 (push_obstacks): Likewise.
6840 (allocate_bb_life_data): Likewise.
6841 (allocate_reg_life_data): Likewise.
b8dad04b 6842 (rtx_free): Likewise.
1f8f4a0b 6843 * sdbout.c (sdbout_queue_anonymous_type):
b8dad04b 6844 Use tree_cons, not saveable_tree_cons.
1f8f4a0b 6845 * simplify-rtx.c
b8dad04b 6846 (cselib_init): Don't mess with obstacks.
1f8f4a0b
MM
6847 * stmt.c
6848 (mark_block_nesting): Mark the label_chain.
6849 (epxand_label): Use ggc_alloc, not oballoc.
6850 (clear_last_expr): Don't mess with obstacks.
6851 (expand_decl_cleanup): Likewise.
6852 (expand_dcc_cleanup): Likewise.
6853 (expand_dhc_cleanup): Likewise.
6854 (expand_anon_union_decl): Likewise.
6855 (add_case_node): Use xmalloc, not oballoc.
6856 (free_case_nodes): New function.
b8dad04b 6857 (expand_end_case): Call it.
1f8f4a0b
MM
6858 * stor-layout.c (layout_type): Don't
6859 mess with obstacks.
b8dad04b 6860 (layout_type): Likewise.
1f8f4a0b
MM
6861 * toplev.c (wrapup_global_declarations):
6862 Likewise.
6863 (compile_file): Remove ggc_p conditionals.
6864 (rest_of_compilation): Call init_flow. Remove ggc_p conditionals.
b8dad04b 6865 (decode_f_option): Remove ggc_p conditionals.
1f8f4a0b
MM
6866 * tree.c
6867 (function_maybepermanent_obstack): Remove.
6868 (maybepermanent_obstack): Likewise.
6869 (function_obstack): Likewise.
6870 (tmeporary_obstack): Likewise.
6871 (momentary_obstack): Likewise.
6872 (temp_decl_obstack): Likewise.
6873 (saveable_obstack): Likewise.
6874 (rtl_obstack): Likewise.
6875 (current_obstack): Likewise.
6876 (expression_obstack): Likewise.
6877 (struct obstack_stack): Likewise.
6878 (obstack_stack): Likewise.
6879 (obstack_stack_obstack): Likewise.
6880 (maybepermanent_firstobj): Likewise.
6881 (temporary_firstobj): Likewise.
6882 (momentary_firstobj): Likewise.
6883 (temp_decl_firstobj): Likewise.
6884 (momentary_function_firstobj): Likewise.
6885 (all_types_permanent): Likewise.
6886 (struct momentary_level): Likewise.
6887 (momentary_stack): Likewise.
6888 (init_obstacks): Remove initialization of removed obstacks.
6889 (save_tree_status): Remove.
6890 (restore_tree_status): Likewise.
6891 (temporary_allocation): Liekwise.
6892 (end_temporary_allocation): Liekwise.
6893 (resume_temporary_allocation): Likewise.
6894 (saveable_allocation): Likewise.
6895 (push_obstacks): Likewise.
6896 (push_obstacks_nochange): Likewise.
6897 (pop_obstacks): Likewise.
6898 (allocation_temporary_p): Likewise.
6899 (permanent_allocation): Likewise.
6900 (preserve_data): Likewise.
6901 (preserve_initializer): Likewise.
6902 (rtl_in_current_obstack): Likewise.
6903 (rtl_in_saveable_obstack): Likewise.
6904 (oballoc): Likewise.
6905 (obfree): Likewise.
6906 (savealloc): Likewise.
6907 (expralloc): Likewise.
6908 (print_obstack_name): Likewise.
6909 (debug_obstack): Likewise.
6910 (object_permanent_p): Likewise.
6911 (push_momentary): Likewise.
6912 (perserve_momentary): Likewise.
6913 (clear_momentary): Likewise.
6914 (pop_momentary): Likewise.
6915 (pop_momentary_nofree): Likewise.
6916 (suspend_momentary): Likewise.
6917 (resume_momentary): Likewise.
6918 (make_node): Don't set TREE_PERMANENT.
6919 (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK.
6920 Don't set TREE_PERMANENT.
6921 (get_identifier): Remove ggc_p conditionals.
6922 (build_string): Likewise.
6923 (make_tree_vec): Likewise.
6924 (build_decl_list): Remove.
6925 (build_expr_list): Likewise.
6926 (tree_cons): Remove ggc_p conditionals.
6927 (decl_tree_cons): Remove.
6928 (expr_tree_cons): Likewise.
6929 (perm_tree_cons): Likewise.
6930 (temp_tree_cons): Likewise.
6931 (saveable_tree_cons): Likewise.
6932 (build1): Remove ggc_p conditionals.
6933 (build_parse_node): Likewise.
6934 (build_type_attribute_variant): Don't mess with obstacks.
6935 (build_type_copy): Likewise.
6936 (type_hash_canon): Likewise.
6937 (build_pointer_type): Likewise.
6938 (build_reference_type): Likewise.
6939 (build_index_type): Likewise.
6940 (build_range_type): Likewise.
b8dad04b 6941 (dump_tree_statistics): Don't print obstack information.
1f8f4a0b
MM
6942 * tree.h
6943 (struct tree_common): Remove permanent_flag.
6944 (TREE_PERMANENT): Remove.
6945 (TREE_SET_PERMANENT): Likewise.
6946 (TYPE_OBSTACK): Likewise.
6947 (struct tree_type): Remove obstack.
6948 (oballoc): Remove.
6949 (savealloc): Likewise.
6950 (build_decl_list): Likewise.
6951 (build_expr_list): Likewise.
6952 (perm_tree_cons): Likewise.
6953 (temp_tree_cons): Likewise.
6954 (saveable_tree_cons): Likewise.
6955 (decl_tree_cons): Likewise.
6956 (expr_tree_cons): Likewise.
6957 (suspend_momentary): Likewise.
6958 (allocation_temporary_p): Likewise.
6959 (resume_momentary): Likewise.
6960 (push_obstacks_nochange): Likewise.
6961 (permanent_allocation): Likewise.
6962 (push_momentary): Likewise.
6963 (clear_momentary): Likewise.
6964 (pop_momentary): Likewise.
6965 (end_temporary_allocation): Likewise.
6966 (pop_obstacks): Likewise.
6967 (push_obstacks): Likewise.
6968 (pop_momentary_nofree): LIkewise.
6969 (preserve_momentary): Likewise.
6970 (saveable_allocation): Likewise.
6971 (temporary_allocation): Likewise.
6972 (resume_temporary_allocation): Likewise.
6973 (perserve_initializer): Likewise.
6974 (debug_obstack): Likewise.
6975 (rtl_in_current_obstack): Likewise.
6976 (rtl_in_saveable_obstack): Likewise.
b8dad04b 6977 (obfree): Likewise.
1f8f4a0b
MM
6978 * varasm.c (current_obstack): Remove.
6979 (saveable_obstack): Remove.
6980 (rtl_obstack): Remove.
6981 (immed_double_const): Don't mess with obstacks.
6982 (immed_real_cons): Likewise.
6983 (output_constant_def): Likewise.
6984 (init_varasm_status): Use xcalloc.
6985 (mark_pool_constant): Mark the pool constant itself.
6986 (free_varasm_status): Free memory.
6987 (decode_rtx_const): Call bzero directly, rather than expanding it
6988 inline.
6989 (record_rtx_const): Don't mess with obstacks.
6990 (force_const_mem): Likewise.
6991 * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
6992 conditionals.
6993 (aof_pic_entry): Likewise.
6994 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
6995 * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
6996 * config/pa/pa.c (saveable_obstack): Remove.
6997 (rtl_obstack): Likewise.
6998 (current_obstack): Likewise.
6999 (output_call): Don't mess with obstacks.
7000 (hppa_encode_label): Remove ggc_p conditionals.
7001 * config/romp/romp.c (get_symref): Don't mess with obstacks.
7002 * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
7003 (rs6000_encode_section_info): Likewise.
7004 * config/sh/sh.c (get_fpscr_rtx): Likewise.
b8dad04b 7005
9dcbdc7e
JH
7006Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz>
7007
7008 * i386.md (adddi3, subdi3 splitters): Update for new pattern.
7009 (addsi3_cc, addqi3_cc, subsi3_cc): Remove
7010 (addsi3_carry): Canonicalize.
7011 (addqi_5): Remove '*'.
7012 (sbb pattern): Canonicalize.
7013
7014 * i386.md (cmp to inc/add peep2): New.
7015
74490e05
RE
70162000-10-12 Richard Earnshaw <rearnsha@arm.com>
7017
7018 * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
7019 the exit block.
7020
bc87c1c8
JM
70212000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7022
7023 * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
7024 * README.TRAD, TESTS.FLUNK: Remove.
7025
9fa8f75d
JM
70262000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7027
7028 * c-common.c (decl_attributes): Don't allow strftime formats with
7029 first_arg_num nonzero.
7030 (check_format_info): Set wanted_type and wanted_type_name to zero
7031 before they are possibly assigned and used.
7032
4831bc84
JM
70332000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7034
7035 * c-common.c (scanf_flag_specs): Add flags ' and I.
7036 (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
7037 or the ^ and # flags together.
7038 (scan_char_table): Handle the ' and I flags.
7039 (format_types): Add ' and I flags for scanf.
7040
2f7026a0
JM
70412000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7042
7043 * c-common.c (print_char_table): Use the unpromoted type for
7044 lengths "h" and "hh" with conversions dioxXu.
7045 (check_format_types): Apply the default argument promotions where
7046 the wanted type is not a pointer target.
7047
bb58bec5 70482000-10-11 Michael Meeks <mmeeks@gnu.org>
b8dad04b 7049 Joseph S. Myers <jsm28@cam.ac.uk>
bb58bec5
JM
7050
7051 * c-typeck.c (check_modify_expr): New function.
7052 (build_modify_expr): Call it if warn_sequence_point.
7053 * c-decl.c (warn_sequence_point): New variable.
7054 (c_decode_option): Handle -Wsequence-point and
7055 -Wno-sequence-point. Enable -Wsequence-point as part of -Wall.
7056 * c-tree.h (warn_sequence_point): Declare.
7057 * invoke.texi (-Wsequence-point): Document.
7058 * toplev.c (documented_lang_options): Add -Wsequence-point and
7059 -Wno-sequence-point.
7060 Original work by Michael Meeks, 16 Jun 1998.
7061
0fba7208
RK
7062Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7063
7064 * tree.c (get_narrower): Don't look at precision of field if
7065 not laid out yet.
7066
67e570ea
DC
7067Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru>
7068
7069 * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
7070 declaration for data with "progmem" attribute.
7071
80b8585d
MM
70722000-10-09 Marek Michalkiewicz <marekm@linux.org.pl>
7073
7074 * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
7075 Correct insn length if shift count is a memory operand.
7076 * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
7077 (*iorhi3_clobber): Change lo8 to hi8.
7078 (zero_extendhisi2): Change %B0 to %A1.
7079 (ashlhi3, ashrhi3): Correct insn length.
7080 (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
7081 from "clobber" to "set_n" in some alternatives.
7082
462561b7
JJ
70832000-10-10 Jakub Jelinek <jakub@redhat.com>
7084
7085 * reload1.c (calculate_needs_all_insns): If deleting an instruction,
7086 remove its insn_chain structure as well.
7087
0b8833aa
DA
70882000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7089
7090 * dbxout.c (dbxout_source_line): Remove extra tab.
7091
c690f089
HPN
70922000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
7093
7094 * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
7095
1854631b
RH
70962000-10-09 Richard Henderson <rth@cygnus.com>
7097
7098 * Makefile.in (LANG_LIB2FUNCS): Remove.
7099 (LIB2FUNCS): Remove _pure.
7100 (LIB2ADD): Remove LANG_LIB2FUNCS.
7101 (stage_a): Don't set LANG_LIB2FUNCS.
7102 * libgcc2.c (__terminate): Mark noreturn.
7103 (__pure_virtual): Remove.
7104 * mklibgcc.in: Remove LIB2ADD .txt processing.
7105
880c4dcb
RE
71062000-10-09 Richard Earnshaw <rearnsha@arm.com>
7107
7108 * arm.md (push_multi): Revert unintended change.
7109
5895f793
RE
71102000-10-09 Richard Earnshaw <rearnsha@arm.com>
7111
b8dad04b 7112 * arm.c: Miscellaneous white space and comment clean-ups. No
5895f793
RE
7113 functional change.
7114 * arm.md: Likewise.
7115
1092710d
KG
71162000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7117
7118 * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
7119 STRING_CST by calling combine_strings.
7120
ca356f3a
RE
71212000-10-09 Richard Earnshaw <rearnsha@arm.com>
7122
7123 * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
7124 (thumb_output_move_mem_multiple): Support new insn format.
7125 * arm.md (movmem12b): Use SSA compatible format.
7126 (movmem8b): Likewise.
7127
cca0a211
RE
71282000-10-09 Richard Earnshaw <rearnsha@arm.com>
7129
7130 * arm.md (predicable): New attribute, default to "no".
7131 (all patterns): Mark as predicable if appropriate.
7132 (conditional execution splits): Split using predication format.
7133 (define_cond_exec): Define.
7134 * arm.c (arm_print_operand): handle insn predicate.
b8dad04b 7135
1146cfde
GP
71362000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7137
7138 * README.NS32K: Remove file.
7139
71402000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7141
7142 * README-bugs: Remove file.
7143
4d0230e1
PT
71442000-10-08 Philipp Thomas <pthomas@suse.de>
7145 * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
7146 for test.
7147 * configure: Rebuilt.
7148
9fdf713f
PT
71492000-10-08 Philipp Thomas <pthomas@suse.de>
7150 * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
7151 disable catalog building if no suitable program was found.
7152 Move warning message from here
7153 (AM_GNU_GETTEXT): To here.
7154 * configure: Rebuilt.
7155
00036f5c
PT
71562000-10-08 Philipp Thomas <pthomas@suse.de>
7157 * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
7158 different cache variables.
7159 (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
7160 uses different cache variables.
7161 (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
7162 * configure: Regenerated.
b8dad04b 7163
aefa45d3
RH
71642000-10-08 Richard Henderson <rth@cygnus.com>
7165
7166 * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
7167 * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
7168 * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
7169 Use SHLIB_EXT.
7170
7171 * config/t-linux (SHLIB_EXT): New.
7172 (SHLIB_LINK): Use the entire build command, with substitutions.
7173 (SHLIB_LIBS): Remove.
7174 * config/alpha/t-osf4: Likewise.
7175 * config/mips/t-iris6: Likewise.
7176 * config/sparc/t-sol2: Likewise, but move shlib stuff...
7177 * config/sparc/t-slibgcc-sld: ...here.
7178 * config/sparc/t-slibgcc: New file.
7179
b15ad712
JM
71802000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
7181
7182 * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
7183 * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
7184 CTI_UINTMAX_TYPE.
7185 (intmax_type_node, uintmax_type_node): Define.
7186 * c-common.c (decl_attributes): If pedantic, warn if `mode'
7187 attributes create a type wider than intmax_t.
7188 (T_IM, T_UIM): Define properly.
7189 * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
7190 defined.
7191 (init_decl_processing): Initialize intmax_type_node and
7192 uintmax_type_node.
7193 * c-lex.c (lex_number): When pedantic and warning for integer
7194 constants that are too large, in C99 mode warn for those that have
7195 a type wider than long long.
7196
2588e44e
JM
71972000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
7198
7199 * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
7200 FMT_FLAG_FANCY_PERCENT_OK): Define.
7201 (format_char_info): Add flag "4" to comment.
7202 (format_flag_spec, format_flag_pair): New structures.
7203 (format_kind_info): Add additional fields to control format
7204 checking.
7205 (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
7206 scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
7207 arrays.
7208 (time_char_table): Use "4" flag to handle %Ey.
7209 (format_types): Add entries for new fields.
7210 (get_flag_spec): New function.
7211 (check_format_info): Increase size of flag_chars[] to 256.
7212 Control format checking using the new fields of a format_kind_info
7213 and the new tables; remove all conditionals on printf_format_type,
7214 scanf_format_type or strftime_format_type. Handle all details of
7215 bad combinations of flags (including width, precision and strftime
7216 modifiers) through data rather than ad hoc code. Handle all
7217 details of standard versions in which flags appeared through
7218 data. Use the "4" flag.
7219
7b7de7c0
WC
72202000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com>
7221
7222 * config/h8300/h8300.md: Remove the memory alternative and correct
7223 the insn lengths in the templates for sign extention and zero
7224 extention.
7225
9a1ba437
RH
72262000-10-07 Richard Henderson <rth@cygnus.com>
7227
7228 * calls.c (expand_call): Disallow sibcalls to noreturn functions.
7229 * flow.c (make_edges): Revert last change.
7230
7231 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
7232 TREE_THIS_VOLATILE.
7233 * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
7234
d38d55b4
DB
72352000-10-06 David O'Brien <obrien@dragon.nuxi.com>
7236
7237 * config/alpha/elf.h: Standardize the formatting.
7238
94984e91
DB
72392000-10-06 David O'Brien <obrien@FreeBSD.org>
7240
7241 * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
7242 #undef.
7243
3e4eac3f
RH
72442000-10-06 Richard Henderson <rth@cygnus.com>
7245
7246 * function.c (diddle_return_value): Examine
7247 current_function_return_rtx instead of the DECL_RESULT.
7248 (expand_function_end): Handle reloading DECL_RESULT from memory
7249 into a hard register. Query promote_mode for sign of mismatched
7250 modes.
7251
4071f896
VM
72522000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7253
7254 * haifa-sched.c (schedule_insns): Fix typo in freeing
7255 forward_dependency_cache.
7256
eb69f95c
AO
72572000-10-06 Alexandre Oliva <aoliva@redhat.com>
7258
7259 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
7260 `TARGET_SH2' as a condition.
7261
178b88b9
VM
72622000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7263
7264 * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
7265 forward_dependency_cache): New variables.
7266 (add_dependence, remove_dependence): Use anti_dependency_cache and
7267 output_dependency_cache.
7268 (compute_block_forward_dependences): Use forward_dependency_cache.
7269 (schedule_insns): Allocate and free memory for anti/output/forward
7270 dependencies caches.
b8dad04b 7271
827bdee4
AO
72722000-10-06 Alexandre Oliva <aoliva@redhat.com>
7273
7274 * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
7275 `! TARGET_SH1'. Reindent.
7276
c70eaeaf
KG
72772000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7278
7279 * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
7280 Move functions from here ...
7281
7282 * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
7283 ... to here.
7284 (c_expand_builtin): New function.
7285 (init_function_format_info): Don't set `check_function_format_ptr'.
7286 (c_common_nodes_and_builtins): Set built_in_class type for
7287 printf/__builtin_printf to BUILT_IN_FRONTEND.
7288 (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
7289
7290 * c-common.h (build_function_call): Declare.
7291
7292 * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
7293 to `lang_expand_expr' rather than `expand_builtin'.
7294
7295 * tree.c (check_function_format_ptr): Delete.
7296
7297 * tree.h (check_function_format_ptr): Likewise.
7298
f299afab
HPN
72992000-10-06 Hans-Peter Nilsson <hp@bitrange.com>
7300
7301 * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
7302 DW_OP_bregx when cfa->reg > 31.
7303
7304 * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
7305 break.
7306
b313a0fe
RH
73072000-10-05 Richard Henderson <rth@cygnus.com>
7308
7309 * c-decl.c (warn_missing_noreturn): Remove.
7310 (c_expand_body): Don't set or check can_reach_end.
7311 * c-tree.h (warn_missing_noreturn): Move ...
7312 * flags.h: ... here.
7313 (can_reach_end): Remove.
7314 * flow.c (check_function_return_warnings): New.
7315 (make_edges): No edge to exit for noreturn sibcalls.
7316 * function.c (expand_function_end): Save the return value
7317 clobber instruction.
7318 (mark_function_status): Mark it.
7319 * function.h (struct function): Add x_clobber_return_insn.
7320 * jump.c (can_reach_end): Remove.
7321 (calculate_can_reach_end): Remove.
7322 (jump_optimize_1): Don't call it.
7323 * output.h (check_function_return_warnings): Declare.
7324 * toplev.c (warn_missing_noreturn): Move from c-decl.c
7325 (rest_of_compilation): Call check_function_return_warnings.
7326
83dad10c
RH
73272000-10-05 Richard Henderson <rth@cygnus.com>
7328
7329 * Makefile.in (NM_FOR_TARGET): New.
7330 (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
7331 (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
7332 * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the
7333 shared library build on that and EXTRA_MULTILIB_PARTS.
7334 * mkmap-flat.awk: New file.
7335 * mkmap-symver.awk: New file.
7336 * libgcc-std.ver: New file.
7337 * config/libgcc-glibc.ver: New file.
7338 * config/ia64/libgcc-ia64.ver: New file.
7339 * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7340 (SHLIB_LINK): Add --version-script.
7341 * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
7342 * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7343 * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7344 (SHLIB_LINK): Add -M.
7345
d6eacd48
RH
73462000-10-05 Richard Henderson <rth@cygnus.com>
7347
7348 * Makefile.in (LIB2FUNCS): Add _clz.
7349 * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
7350 (__clz_tab): Put in its own unit, non-static.
7351 * libgcc2.h: Always include longlong.h.
7352
29279975
RH
7353 * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
7354 a zero instead of -1.
7355 (count_trailing_zeros): Likewise.
7356
c74fa144
RH
73572000-10-05 Richard Henderson <rth@cygnus.com>
7358
7359 * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
7360 when second op1 is const0_rtx. Validate op0 as a register.
7361 * config/alpha/alpha.md (setcc_internal): Don't allow constants
7362 in the first argument of the compare.
7363 (setcc_swapped_internal): Likewise.
7364 (setne_internal): Likewise.
7365
c5620996
GK
73662000-10-05 Geoff Keating <geoffk@cygnus.com>
7367
7368 * tree.c (tree_size): New function split out of copy_node.
7369 (make_node): Remove obstack handling. Use tree_size.
7370 (copy_node): Use tree_size.
7371 * tree.h: Prototype tree_size.
7372
331fe257
RH
73732000-10-05 Richard Henderson <rth@cygnus.com>
7374
7375 * diagnostic.c (output_format): Add missing break.
7376
cc0cbae1
JW
73772000-10-05 Jim Wilson <wilson@cygnus.com>
7378
7379 * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
7380 SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
7381 sequence insn to INSN, and delete last sequence insn.
7382
f5fa9a5b
PE
73832000-10-05 Phil Edwards <pme@gcc.gnu.org>
7384
7385 * gcc.c (main): Include generated configargs.h header
7386 and use arguments in '-v' output.
7387
2296d164
RK
7388Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7389
7390 * gcc.c: Move data on prefixes forward in file and reorganize.
7391 (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
7392 Always define, but make null if no value.
7393 (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
7394 and "md_startfile_prefix_1".
7395 (main): Check whether md_exec_prefix and the others are the
7396 null string rather than whether the macro is defined.
7397
43d75418
R
7398Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk>
7399
7400 * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
7401 from PSImode to SImode.
7402
e389897b
JJ
74032000-10-05 Jakub Jelinek <jakub@redhat.com>
7404
7405 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
7406 from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
7407 * dwarf2out.c (add_const_value_attribute): Divide by 4, not
7408 sizeof(long).
7409
b8fbe62c
RK
7410Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7411
7412 * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
7413 negation in proper type.a
7414
50503ac8
RH
74152000-10-04 Richard Henderson <rth@cygnus.com>
7416
7417 * configure.in (enable-shared): New.
7418 * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
7419 (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
7420 * mklibgcc.in: Use them to link shared a libgcc.
7421 * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
7422 * config/alpha/t-ieee (SHLIB_MULTILIB): New.
7423 * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
7424 * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
7425
7426 * configure.in (alpha-osf*): Use t-osf and x-osf.
7427 * config/alpha/t-osf: New file.
7428 * config/alpha/t-osf4: New file.
7429 * config/alpha/x-osf: New file.
7430 * config/alpha/x-alpha: Remove file.
7431
4b606faf
WC
74322000-10-04 Will Cohen <wcohen@redhat.com>
7433
7434 * c-typeck.c (process_init_element): Added warning for zero-length
7435 array.
7436
7437 * extend.texi (Zero Length): State that static initializers for
7438 zero-length arrays are not allowed.
7439
c9b89a21
JH
7440Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz>
7441
7442 * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
7443 to come last.
7444
81bce466
MH
74452000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7446
7447 * config/float-c4x.h: New.
7448 * configure.in (c4x-*): Set float_format to c4x.
b8dad04b 7449 * configure: Regenerate.
81bce466 7450
72882e08
KG
74512000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7452
7453 * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
7454 compilation for solaris versions 2.7 and greater.
7455
ea205a52
ME
74562000-10-02 Marc Espie <espie@openbsd.org>
7457
7458 * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
7459 instead of redefining from scratch.
7460
618ec0d7
DB
74612000-10-02 David O'Brien <obrien@dragon.nuxi.com>
7462
7463 * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
7464
f15b9af9
MM
74652000-10-01 Mark Mitchell <mark@codesourcery.com>
7466
776749c5
MM
7467 * config/ns32k/genix.h: Remove.
7468 * config/ns32k/x-genix: Likewise.
7469 * config/ns32k/xm-genix.h: Likewise.
7470 * config/fx80: Remove all filee in directory.
7471 * config/pyr: Likewise.
7472 * config/tahoe: Likewise.
7473 * config/gmicro: Likewise.
7474 * config/spur: Likewise.
7475 * configure.in: Remove configury bits for above targets.
7476 * configure: Regenerated.
b8dad04b 7477
a7b4171a
MM
7478 * configure.in: Don't configure chill by default.
7479 * configure: Regenerated.
b8dad04b 7480
f15b9af9
MM
7481 * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
7482 (lang_mark_false_label_stack): Remove.
7483 * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate
7484 <top level> string in GC area.
7485 (mark_splay_tree_node): New function.
7486 (mark_splay_tree): Likewise.
7487 * except.c (mark_eh_status): Only call lang_mark_false_label_stack
7488 if it exists.
7489 * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
7490 * ggc-common.c (lang_mark_false_label_stack): Change type.
7491 * ggc.h (ggc_alloc_string): Add comment.
7492 (ggc_strdup): New function.
b8dad04b 7493
51296ba0
DC
7494Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru>
7495
7496 * config/avr/avr.h (BRANCH_COST): Define as 0.
7497
7498 * config/pdp11/pdp11.c: #include "tree.h" added.
7499
adcd8f77
MM
75002000-09-30 Marek Michalkiewicz <marekm@linux.org.pl>
7501
7502 * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
7503 ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
7504 with known shift count.
7505 * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
7506 New alternative for shift count 2 with no scratch register.
7507 (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
7508 "set_n" for shift counts 1 and 2.
7509
e35b9579
GK
75102000-09-30 Geoff Keating <geoffk@cygnus.com>
7511
7512 * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate
7513 the mask value from the individual SET operations.
7514 (return_internal_si): Move the USE after the RETURN.
7515 (return_internal_di): Likewise.
7516 (return_and_restore_fpregs_si): Likewise.
7517 (return_and_restore_fpregs_di): Likewise.
7518 (return_eh_si): Likewise.
7519 (return_eh_di): Likewise.
7520 * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
7521 or check, the USE.
7522 (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
7523 Don't generate a PARALLEL around a single operation movsi_to_cr.
7524 Generate the RETURN first in any PARALLELs.
7525
7526 * rtlanal.c (single_set_1): Use fatal_insn to display the
7527 invalid insn. Check for more cases when a USE or CLOBBER occurs
7528 before a SET.
7529 * Makefile.in: Update dependencies for rtlanal.o.
7530
1fba7553
JM
75312000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7532
7533 * i386.c: Move include of "config.h" to before that of <setjmp.h>.
7534
28e6b1c2
JM
75352000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7536
7537 * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
7538 Consistently use @email for formatting email addresses.
7539
f2fa288f
RH
75402000-09-29 Richard Henderson <rth@cygnus.com>
7541
7542 * cse.c (notreg_cost): New argument outer.
7543 (COST): Pass in SET to notreg_cost
7544 (COST_IN): New.
7545 (fold_rtx): Use COST_IN. Prefer constants when costs
7546 are the same.
7547
a1c63101
DE
75482000-09-29 David Edelsohn <edelsohn@gnu.org>
7549
7550 * fixinc/inclhack.def (broken_cabs): Generalize regex.
7551 * fixinc/fixincl.x: Regenerate.
7552
70dd0f7f
FS
75532000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7554
7555 * loop.c (check_final_value): A GIV is not replaceable if used
7556 before set.
7557
0c6129af
JL
7558Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com)
7559
7560 * version.c: Bump to gcc-2.97.
7561
7562Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz>
6c698a6d
JH
7563
7564 * final.c (final_scan_insn): Remove extra extract_insn call;
7565 Use caching for constrain_operands.
7566 (cleanup_subreg_operands): Use caching for extract_insn.
7567 * recog.c (constrain_operands_cached): New.
7568 * recog.h (constrain_operands_cached): Declare.
7569 * i386.c (ix86_attr_length_immediate_default,
7570 ix86_attr_length_address_default, ix86_agi_dependant): Cache
7571 extract_insn call.
7572
7573 * recog.c (asm_noperands): Tweak.
7574 (extract_insn): Do not call asm_noperads for non-asm instructions.
7575
7576Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
7577
7578 * recog.c (recog_memoized): Rename to recog_memoized_1.
7579 * recog.h (recog_memoized): Rename to recog_memoized_1.
7580 (recog_memoized): New macro.
7581 * rtl.h (single_set): Rename to single_set_1
7582 (single_set): New macro.
7583 * rtlanal.c (single_set): Rename to single_set_1; expect clobbers
7584 to be last.
7585
7586 * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
7587 Do not use match_dup of input operands at outputs.
7588 Use register_operand for memory expression.
7589 (rep_movsi): Put use last, canonicalize.
7590 Use register_operand for memory expression.
7591 (rep_movqi): Put use last.
7592 Use register_operand for memory expression.
7593 (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
7594 of input operands at outputs. Use register_operand for memory
7595 expression.
7596 (rep_stossi): Put use last; canonicalize; fix match_dup in
7597 the address expression
7598 (rep_stosqi): Likewise.
7599 (memcmp expander): Update calls.
7600 (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
7601 the clobbers.
7602
7603 * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
7604 VOIDmode.
7605 (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
7606
41e5a1f5
DB
76072000-09-28 David O'Brien <obrien@FreeBSD.org>
7608
7609 * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
7610 Contains the old contents of config/i386/freebsd.h
7611 * config/i386/freebsd.h: Now the ELF rather than a.out config file.
7612 Contains the old contents of config/i386/freebsd-elf.h
7613 * config/i386/freebsd-elf.h: Retire this file -- contents moved to
7614 config/i386/freebsd.h.
7615 * configure.in: Adjust for above changes.
7616 * po/POTFILES.in: Likewise.
7617 * po/en_GB.po: Likewise.
7618 * po/gcc.pot: Likewise.
7619 * configure: Rebuilt.
7620
1db88ef9 76212000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
70dd0f7f 7622
1db88ef9
FS
7623 * doloop.c (doloop_modify): Prevent delete_insn() from
7624 deleting too much. Prefer loop->top over loop->start as
7625 target for the new JUMP insn.
7626 (doloop_valid_p): Ignore loop with exit_count != 0.
7627
6a07a77f
PT
76282000-09-28 Philipp Thomas <pthomas@suse.de>
7629
7630 * invoke.texi (i386 Options): Add athlon to table of possible
7631 choices for -mcpu=.
7632
b5dd2c76
GDR
76332000-09-28 Gabriel Dos Reis <gdr@codesourcery.com>
7634
7635 * diagnostic.h (output_clear_message_text): New function.
7636 (output_message_text): New macro.
7637
7638 * diagnostic.c (clear_text_info): Rename to
b8dad04b 7639 output_clear_message_text.
b5dd2c76
GDR
7640 (output_clear): Adjust.
7641 (output_finish): Rename to output_finalize_message. Tweek.
b8dad04b 7642 (output_to_stream): Adjust.
b5dd2c76 7643
d8090680
NB
76442000-09-28 Neil Booth <neilb@earthling.net>
7645
7646 * cpperror.c (_cpp_begin_message): Do the test for suppression
b8dad04b
ZW
7647 of warnings and pedantic warnings before the "is a warning an
7648 error" tests.
d8090680
NB
7649 * cppinit.c (cpp_handle_option): Remove surplus \n.
7650 * cpplex.c (ON_REST_ARG): Delete.
7651 (skip_block_comment): Initialise prevc.
7652 (parse_args): Improve error messages.
7653 (maybe_paste_with_next): Use CONTEXT_VARARGS rather
7654 than ON_REST_ARG.
7655 * cpplib.c (cpp_push_buffer): Fix grammar in message.
7656 * cppmain.c (main): Set callbacks for #ident and #pragma
7657 only if no_output option is false.
7658 (do_pragma_implementation): Only call the #pragma handler
7659 if it is set in the cpp_reader structure.
7660
e93eff94
DL
7661Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com>
7662
7663 * integrate.c (copy_insn_list): if an ignored return value
7664 is being clobbered, skip cloning that into the inline copy.
7665
59c5d27a
JM
76662000-09-27 Joseph S. Myers <jsm28@cam.ac.uk>
7667
7668 * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
7669 use @uref for formatting URLs.
7670
15ca066d
ME
76712000-09-27 Mark Elbrecht <snowball3@bigfoot.com>
7672
7673 * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
7674 name and prefix.
7675
5a8e2650
NB
7676Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net>
7677
7678 * gcc.c (cpp_options): Add spec for -ftabstop=.
7679 (invoke_as): New spec that handles invoking as.
7680 Update specs to handle -save-temps and -traditional.
7681 * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
7682 Use invoke_as.
7683 * cp/lang-specs.h, objc/lang-specs.h: Update to use
7684 invoke_as, and handle -save-temps and -traditional (if
7685 appropriate).
7686
380f6ad3
JJ
76872000-09-26 Jakub Jelinek <jakub@redhat.com>
7688
7689 * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
7690 op0 is a SUBREG.
7691 (function_arg_slotno): Accept TImode/CTImode.
7692 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
7693 to UNITS_PER_WORD.
7694
ef120fc0
MH
76952000-09-26 Michael Hayes <mhayes@cygnus.com>
7696
7697 * flow.c (flow_loop_pre_header_scan): Punt if loop enters
7698 from entry block.
7699
cf606f45
JW
77002000-09-25 Jim Wilson <wilson@cygnus.com>
7701
7702 * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
7703 (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
7704 (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
7705 (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
7706
a94c1199
NB
7707Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net>
7708
b8dad04b 7709 * cpplex.c (parse_args): Don't set VOID_REST flag.
a94c1199
NB
7710 (CONTEXT_VARARGS): New flag.
7711 (maybe_paste_with_next): Set context earlier in loop. Use
7712 it. Do varargs test with CONTEXT_VARARGS flag.
7713 (push_arg_context): Set CONTEXT_VARARGS flag if we're
7714 pushing an argument context for a varargs argument.
7715 * cpplib.h (VOID_REST): Delete.
b8dad04b 7716 * gcc.dg/cpp/vararg1.c: Add test case.
a94c1199 7717
317639a8
BC
77182000-09-25 Branko Cibej <branko.cibej@hermes.si>
7719
b8dad04b
ZW
7720 * flags.h: Declare warning flag warn_system_headers.
7721 * toplev.c: Define it.
7722 (W_options): Add option -Wsystem-headers.
7723 * diagnostic.c (count_error): Test warn_system_headers.
7724 * invoke.texi: Add description for -Wsystem-headers.
317639a8
BC
7725 * cpplib.h (cpp_options): New member warn_system_headers.
7726 * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
7727 CPP_IN_SYSTEM_HEADER.
7728 * cpplib.c (do_import, do_pragma_once): Likewise.
7729 * cpperror.c (_cpp_begin_message): Test warn_system_headers
7730 and CPP_IN_SYSTEM_HEADER.
7731 * cppinit.c (handle_option): Recognize -Wsystem_headers.
7732 (print_help): Describe -Wsystem_headers.
7733 * cpplex.c (lex_line): Reorganize condition so that warnings
7734 about C++ comments in system headers can be enabled. Remove
7735 label do_line_comment.
7736
1c6d33ef
NB
7737Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net>
7738
7739 * cpplex.c (save_comment): Only store the initial '/'
7740 now.
7741 (lex_token): Combine handling of the two comment types.
b8dad04b 7742 Pass everything but the initial '/' to save_comment.
1c6d33ef 7743
7de4d004
NB
7744Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net>
7745
7746 * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
7747 _cpp_can_paste): New library-internal prototypes.
7748 * cpplex.c (dump_param_spelling, output_line_command,
7749 output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
7750 cpp_printf, cpp_output_list): Move to cppoutput.c.
7751 (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
7752 * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
7753 cppoutput.c.
7754 * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
7755 dump_param_spelling, output_line_command, cpp_scan_buffer,
7756 cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
7757 from elsewhere.
7758 * Makefile.in: Add cppoutput.c.
7759 * po/POTFILES.in: Add cppoutput.c.
7760
66db6b45
RH
77612000-09-25 Richard Henderson <rth@cygnus.com>
7762
7763 * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
7764 * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
7765 split until after reload.
7766 (rotlsi3, rotldi3): New.
7767
4b40f758
GDR
77682000-09-25 Gabriel Dos Reis <gdr@codesourcery.com>
7769
7770 * diagnostic.c (output_last_position): Define.
7771 (set_real_maximum_length): Tweek.
7772 * diagnostic.h (output_last_position): Declare.
7773
0f290768
KH
77742000-09-25 Kazu Hirata <kazu@hxi.com>
7775
7776 * config/i386/i386.c: Fix formatting.
7777
90e9ee6c
AL
77782000-09-24 Alan Lehotsky <alehotsky@cygnus.com>
7779
7780 * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
7781 UNITS_PER_WORD is small.
7782
0e00b68b
JM
77832000-09-25 Joseph S. Myers <jsm28@cam.ac.uk>
7784
7785 * c-common.c (format_char_info): Add flags2; update comments.
7786 (print_char_table, scan_char_table, time_char_table): Split some
7787 flags out into flags2.
7788 (check_format_info): Use flags2 for those flags, for identifying
7789 the initial character of a scanf scanset, and for identifying
7790 printf formats where the '0' flag is ignored with precision.
7791
0a3e1f45
HPN
77922000-09-25 Hans-Peter Nilsson <hp@axis.com>
7793
7794 Changes below marked "here" add TABs on either or both sides,
7795 covering start of line, up to any operand for all noted .*ASM.*_OP
e8638df0 7796 definitions. All callers changed.
047c1c92
HPN
7797 * tm.texi: Make documented *_ASM.*_OP:s include spacing
7798 (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
7799 BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
7800 ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
7801 ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
7802 Fix typos in description for LONG_LONG_TYPE_SIZE and
7803 FINI_SECTION_ASM_OP.
0a3e1f45
HPN
7804 * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
7805 why these defaults don't have leading spacing.
7806 * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
7807 * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7808 UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
7809 * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
21c7361e 7810 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
0a3e1f45
HPN
7811 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
7812 * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
7813 * varasm.c (ASM_STABS_OP): Here.
7814 * xcoffout.h (ASM_STABS_OP): Here.
e662a129
HPN
7815 * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
7816 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
7817 INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
7818 STRING_ASM_OP): Here.
7819 * config/freebsd.h (IDENT_ASM_OP): Here.
7820 * config/linux-aout.h (SET_ASM_OP): Here.
7821 * config/linux.h (SET_ASM_OP): Here.
7822 * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7823 INT_ASM_OP): Here.
7824 * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
7825 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
7826 * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
7827 * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7828 INT_ASM_OP): Here.
7829 * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
7830 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
7831 INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
7832 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
7833 FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
7834 * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7835 CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
8c13c7b3
HPN
7836 * config/a29k/udi.h (INT_ASM_OP): Here.
7837 * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
7838 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
7839 SET_ASM_OP): Here.
7840 * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
7841 READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7842 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7843 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
7844 ASM_STABD_OP): Here.
7845 * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
7846 COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
7847 CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7848 BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
7849 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
7850 SIZE_ASM_OP, STRING_ASM_OP): Here.
7851 * config/alpha/vms.h (LINK_SECTION_ASM_OP,
7852 READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
7853 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
7854 * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
8202cda0 7855 (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
8c13c7b3
HPN
7856 * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
7857 Here.
7858 * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7859 BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
7860 * config/arm/coff.h (INT_ASM_OP): Here.
7861 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
7862 * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
7863 * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
7864 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
7865 * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
7866 * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7867 ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
7868 STRING_ASM_OP): Here. Update documentation copy in comments.
4e8aa65c
HPN
7869 * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
7870 * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
7871 DATA_SECTION_ASM_OP): Here.
7872 * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
7873 Here.
7874 * config/convex/convex.h (TEXT_SECTION_ASM_OP,
7875 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
7876 * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7877 BSS_SECTION_ASM_OP): Here.
7878 * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7879 BSS_SECTION_ASM_OP): Here.
7880 * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7881 Here.
7882 * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
7883 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
7884 * config/h8300/h8300.h (ASM_WORD_OP): Here.
71d48a01
HPN
7885 * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7886 BSS_SECTION_ASM_OP): Here.
7887 * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
7888 * config/i386/bsd.h (ASM_BYTE_OP): Here.
7889 * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
7890 * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
7891 * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
7892 Here.
7893 * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
7894 * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
7895 Here.
7896 * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
7897 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7898 * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
7899 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
7900 SET_ASM_OP): Here.
7901 * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
7902 * config/i386/netbsd.h (INT_ASM_OP): Here.
7903 * config/i386/openbsd.h (INT_ASM_OP): Here.
7904 * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
7905 IDENT_ASM_OP): Here.
7906 * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
7907 ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
7908 LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
7909 SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
7910 * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
7911 SHARED_BSS_SECTION_ASM_OP): Here.
7912 * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
7913 * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
7914 DATA_SECTION_ASM_OP): Here.
7915 * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7916 CONST_SECTION_ASM_OP): Here.
7917 * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
7918 * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7919 BSS_SECTION_ASM_OP): Here.
de323aa1
HPN
7920 * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
7921 * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
7922 * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
7923 BSS_ASM_OP): Here, but use trailing spaces.
7924 * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
7925 DATA_SECTION_ASM_OP): Here.
7926 * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
7927 Here.
7928 * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
7929 DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
7930 * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7931 TDESC_SECTION_ASM_OP): Here.
7932 * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
7933 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7934 * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7935 Here.
7936 * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7937 BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
7938 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7939 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
7940 * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
7941 COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
7942 FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7943 SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
6e7b07a7
HPN
7944 * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
7945 * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
7946 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
7947 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
7948 SET_ASM_OP): Here.
7949 * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
7950 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7951 * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
7952 * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
7953 * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
7954 * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
7955 * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
7956 * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7957 GLOBAL_ASM_OP): Here.
7958 * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
7959 BSS_SECTION_ASM_OP): Here.
7960 * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
7961 * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7962 ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
7963 DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
7964 SKIP_ASM_OP): Here.
7965 * config/m68k/newsgas.h (SET_ASM_OP): Here.
7966 * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
7967 FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
7968 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
7969 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
7970 SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
7971 but use trailing spaces.
7972 * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
7973 DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
7974 FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
7975 Here.
7976 * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
7977 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
7978 * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7979 CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
7980 DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7981 IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
7982 GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
7983 BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
7984 CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
7985 SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
7986 VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7987 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
7988 ASM_BYTE_OP): Here.
7989 * config/m88k/openbsd.h (SET_ASM_OP): Here.
7990 * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7991 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
78d057d8
HPN
7992 * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
7993 UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
7994 DTORS_SECTION_ASM_OP): Here.
7995 * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
7996 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7997 * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
7998 BSS_SECTION_ASM_OP): Here.
7999 * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
8000 * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
8001 * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
8002 POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
8003 CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
8004 DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8005 * config/mips/mips.c (ABICALLS_ASM_OP): Here.
8006 * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
8007 Here.
8008 * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
8009 Here.
8010 * config/mips/osfrose.h (SET_ASM_OP): Here.
8011 * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
76bbee81
HPN
8012 * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
8013 * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
8014 * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8015 Here.
8016 * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
8017 * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
8018 * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
8019 * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
8020 * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
8021 * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8022 Here.
8023 * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8024 Here.
8025 * config/rs6000/rs6000.h (SET_ASM_OP): Here.
8026 * config/rs6000/sol2.h (ASM_STABN_OP): Here.
8027 * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
8028 Here.
471b6f1b
HPN
8029 * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
8030 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
8031 * config/sparc/linux.h (COMMON_ASM_OP): Here.
8032 * config/sparc/linux64.h (COMMON_ASM_OP,
8033 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8034 * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
8035 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8036 * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
8037 * config/sparc/pbd.h (ASM_INT_OP): Here.
8038 * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
8039 * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8040 DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
8041 * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
8042 UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
8043 * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
8044 UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
8045 UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
8046 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
8047 CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8048 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8049 EH_FRAME_SECTION_ASM_OP): Here.
8050 * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
8051 * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8052 Here.
8053 * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8054 Here.
8055 * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
8056 TCOMMON_ASM_OP): Here.
8057 * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8058 Here.
8059 * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8060 ASM_BYTE_OP): Here.
0a3e1f45 8061
ea9ea008
RH
80622000-09-25 Richard Henderson <rth@cygnus.com>
8063
8064 * expmed.c (store_bit_field): Adjust last change to not consider
8065 any word-sized field naturally aligned.
8066
9e495700
RH
80672000-09-24 Richard Henderson <rth@cygnus.com>
8068
8069 * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
8070 TFmode unordered compares properly. Revalidate integer compare
8071 operands.
8072 (alpha_emit_setcc): New.
8073 (alpha_emit_conditional_move): Revalidate integer compare operands.
8074 * config/alpha/alpha-protos.h: Update.
8075 * config/alpha/alpha.md (cmpdi): Allow general operands.
8076 (sne): Use alpha_emit_setcc.
8077 (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
8078 (sunordered, sordered): New.
8079
2ed4af6f
RH
80802000-09-24 Richard Henderson <rth@cygnus.com>
8081
8082 * config/ia64/ia64-protos.h: Update.
8083 * config/ia64/ia64.c (call_multiple_values_operation): Remove.
8084 (ia64_expand_call): New.
8085 (ia64_expand_prologue): Emit an alloc if we need extra input
8086 registers.
8087 (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
8088 instruction if true.
8089 (struct reg_flags): Add is_sibcall.
8090 (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs.
8091 (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks
8092 for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
8093 * config/ia64/ia64.h (PREDICATE_CODES): Update.
8094 * config/ia64/ia64.md (call): Use ia64_expand_call.
8095 (call_value): Likewise.
8096 (sibcall, sibcall_value): New.
8097 (call patterns): Remove extra expanders; tidy.
8098 (sibcall_epilogue): New.
8099 (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC.
8100
e1389cac
RH
81012000-09-24 Richard Henderson <rth@cygnus.com>
8102
8103 * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
8104
fd442cef
RH
8105 * sibcall.c (skip_pic_restore): New.
8106 (identify_call_return_value): Use it.
8107
c06aa51e
MM
81082000-09-24 Mark Mitchell <mark@codesourcery.com>
8109
8110 * c-tree.texi: Moved here from cp/ir.texi. Documented nested
8111 functions. Generalize to handle both C and C++.
8112 * Makefile.in (c-tree.info): New target.
8113 (info): Add c-tree.info.
b8dad04b 8114
bd5dab53
RK
8115Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8116
8117 * expr.c (store_field): If BITSIZE is negative, use size of type.
8118 (expand_expr, case COMPONENT_EXPR): Likewise.
8119
838f313b
NB
8120Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net>
8121
8122 * cpplex.c: Update TODO comment.
8123 * cpplib.c (do_error, do_warning): Merge common code of
8124 do_error and do_warning into do_diagnostic. Use it.
8125 (do_diagnostic): New function.
8126 * cpplib.h: Fix comment typo.
8127
c5412f06
JM
81282000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
8129
8130 * c-common.c (check_format_info): Warn for a wide character string
8131 used as a non-wide format argument.
8132
1c44c45d
JM
81332000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
8134
8135 * builtins.def (BUILT_IN_LLABS): Add.
8136 * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
8137 * c-common.c (c_common_nodes_builtins): Create builtin functions
8138 __builtin_llabs, and plain llabs unless no_nonansi_builtins
8139 outside of C99 mode.
8140 (expand_tree_builtin): Handle BUILT_IN_LLABS.
8141
cbcff6df
NB
8142Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net>
8143
8144 * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
8145 CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
8146 * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
8147 _cpp_free_toklist): No need to worry about extra dummy token
8148 at the start of token lists any more.
8149 (trigraph_ok): Only warn outside comments.
8150 (skip_block_comment): Set and clear lexing_comment.
8151 (skip_line_comment): Take a cpp_reader not cpp_buffer.
8152 Set and clear lexing_comment.
8153 (parse_number): Handle leading '.' indicated by pfile->seen_dot.
8154 (check_long_token): Delete.
8155 (lex_percent, lex_dot): New subroutines of lex_token to
8156 handle lexing of '.' and '%' without lookback.
8157 (lex_token): Use lex_dot and lex_percent.
8158 (lex_line): Don't check for LIST_OFFSET.
8159 (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
8160 * cpplib.c (_cpp_parse_assertion): Similarly.
8161 (cpp_push_buffer): Initialize extra_char.
8162 * cpplib.h (LIST_OFFSET): Delete.
8163 (struct cpp_buffer): New member extra_char.
8164 (struct lexer_state): New members lexing_comment and seen_dot.
8165
2abdcaee
JM
81662000-09-23 Jason Merrill <jason@redhat.com>
8167
8168 * config/rs6000/x-aix41 (CLIB): Define here.
8169 * config/rs6000/t-aix43: Not here.
8170 * config/rs6000/t-aix41: Or here. Remove.
8171 * configure.in: Don't use it.
8172
981d4858
JM
81732000-09-22 Jason Merrill <jason@redhat.com>
8174
2abdcaee
JM
8175 * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
8176 * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
8177 * config.in: Regenerate.
8178
981d4858
JM
8179 * configure.in: Fix checks for assembler features when using a
8180 one-tree assembler that has not yet been built.
8181 Fix --disable-threads.
8182
afa223c6
GK
81832000-09-19 Geoff Keating <geoffk@cygnus.com>
8184
8185 * stmt.c (expand_asm_operands): Allow # in constraints.
8186
a3a834aa
JM
81872000-09-22 Jason Merrill <jason@redhat.com>
8188
8189 * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
8190
8191 * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
8192 function-local names.
8193
18424ae1
BL
81942000-09-22 Brad Lucier <lucier@math.purdue.edu>
8195 Mark Mitchell <mark@codesourcery.com>
8196
b8dad04b
ZW
8197 * toplev.c (warn_disabled_optimization): Declare new warning flag.
8198 * flags.h (warn_disabled_optimization): Add it here.
8199 * gcse.c (gcse_main): Add warning when disabled.
8200 * invoke.texi: Document -Wdisabled-optimization.
18424ae1 8201
1bfb5f8f
JM
82022000-09-21 Jason Merrill <jason@redhat.com>
8203
8204 * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
8205
8206 * dwarf2out.c (tree_add_const_value_attribute): New fn.
8207 (gen_variable_die): Call it for non-definitions.
8208
8209 * dwarf2out.c (die_struct): Add die_mark field.
8210 (mark_dies, unmark_dies): New fns.
8211 (clear_die_sizes): Remove.
8212 (print_die): Check die_symbol rather than die_offset.
8213 (build_abbrev_table, output_pubnames, output_aranges): Check
8214 die_mark rather than die_offset.
8215 (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
8216 Call mark_dies.
8217
2047e26f
NB
8218Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net>
8219
8220 * cppfiles.c (lookup_include_file): Rename to open_file.
8221 Always create a splay tree value, even on syscall failures.
8222 Negative entries indicated by fd == -2.
8223 Re-open files closed in the meantime.
8224 (_cpp_fake_include): Create a negative splay tree entry.
8225 (find_include_file, cpp_read_file): Update for function name
8226 change.
8227 * gcc.gd/cpp/mi4.c: Testcase.
8228
f27cd94d
NC
82292000-09-21 Nick Clifton <nickc@redhat.com>
8230
2359a5e1
NC
8231 * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
8232 ARM and THUMB modes.
8233
f27cd94d 8234 * config/mcore/mcore.c: Fix compile time warnings.
b8dad04b 8235 * config/mcore/mcore-protos.h: Fix compile time warnings.
f27cd94d 8236
7373064a
DA
82372000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
8238
8239 * configure.in: Correct test of gcc_cv_glibc.
8240 * configure: Rebuilt.
8241 * config.in: Rebuilt.
8242
07328167
KG
82432000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8244
8245 * builtins.c (expand_builtin_fputs): Also expand when length!=1.
8246 (expand_builtin): Handle BUILT_IN_FWRITE.
8247
8248 * builtins.def (BUILT_IN_FWRITE): New entry.
8249
8250 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
8251
5fa7c8ce
RK
8252Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8253
dc36ec2c
RK
8254 * gcc.c (modify_target): New variable and struct.
8255 (process_command): Handle MODIFY_TARGET_NAME.
8256 * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
8257 * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
8258
5fa7c8ce
RK
8259 * c-decl.c (finish_decl): Add else's to avoid referencing
8260 TYPE_DOMAIN of an ERROR_MARK.
8261
155b14a8
DC
8262Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru>
8263
8264 * config/avr/avr.c (adjust_insn_length): Adjust lengths of
8265 `reload_in*' insns.
8266
82672000-09-19 Marek Michalkiewicz <marekm@linux.org.pl>
8268
8269 * config/avr/avr.md (neghi2): Add alternative for input and output
8270 operands in different registers, as in negsi2.
8271 (*negsi2): Remove '*' from the name. Use "movw" if available.
8272
fd09c61f
JW
82732000-09-19 Jim Wilson <wilson@cygnus.com>
8274
8275 * config/ia64/crtbegin.asm (__dso_handle): Delete use of
8276 HAVE_GAS_HIDDEN macro.
8277
7eea5554
NB
8278Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net>
8279
8280 * cpplex.c (lex_line): Drop the EOF token for unknown
8281 directives in assembler.
8282
a473fe45
DE
82832000-09-19 David Edelsohn <edelsohn@gnu.org>
8284
8285 * configure.in: Allow enable_threads_flag value of "aix". Define
fd60bf96 8286 thread_file as "aix" for AIX 4.3 and above.
a473fe45 8287 * configure: Regenerated.
fd60bf96
DE
8288
8289 * gthr-aix.h: New file.
8290
a473fe45
DE
8291 * rs6000/t-aix43: Replace soft-float multilib with pthread.
8292 Remove 403 processor multilib match. Fix rios2 processor multilib
8293 match.
8294
fd60bf96
DE
8295 * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
8296 to return to appropriate csect.
8297
ad3fd36f
KG
82982000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8299
8300 * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
8301 functions.
8302 (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
8303 (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
8304 BUILT_IN_PRINTF.
8305
8306 * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
8307 New entries.
8308
8309 * c-common.c (init_function_format_info): Handle __builtin_printf.
8310 Set `check_function_format_ptr'.
8311 (c_common_nodes_and_builtins): Set `puts_ftype' and
8312 `printf_ftype'. Declare __builtin_putchar, __builtin_puts,
8313 __builtin_printf and printf.
8314
8315 * tree.c, tree.h (check_function_format_ptr): Declare.
8316
6f3d20a0
NB
8317Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net>
8318
b8dad04b 8319 * cppfiles.c (read_include_file): Take no special action for
6f3d20a0
NB
8320 zero-length files.
8321
b4f75276
BS
83222000-09-19 Bernd Schmidt <bernds@redhat.co.uk>
8323
afc6898e
BS
8324 * final.c (insn_current_reference_address): Use INSN_SHUID of seq
8325 rather than that of branch.
8326 (shorten_branches): Don't increment insn_current_address twice.
8327
b4f75276
BS
8328 Undo most of the Wed Jan 27 23:39:53 1999 patch:
8329 * loop.h (struct induction): Delete members derived, ix and last_use.
8330 (struct loop_ivs): Delete members first_increment_giv and
8331 last_increment_giv.
8332 * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
8333 recombine_givs): Delete functions.
8334 (find_and_verify_loops): Don't initialize cont_dominator.
8335 (strength_reduce): Lose code to try to find bivs that can be
8336 expressed as givs of another biv, and to convert biv increments
8337 into givs.
8338 Lose loop_scan_start variable, always use loop->scan_start.
8339 Don't call recombine_givs. Don't handle derived givs.
8340 (record_giv): Don't initialize derived and last_use fields.
8341 (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
8342 givs.
8343 * unroll.c (derived_regs): Delete static variable.
8344 (unroll_loop): Don't initialize it.
8345 (copy_loop_body): Lose code to handle derived givs.
8346 (find_splittable_givs): Don't check for givs made from biv
8347 increments.
8348 Don't set derived_regs.
8349
0f805606
BS
8350 Fix misapplied earlier patch:
8351 * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference
8352 to fpul.
8353 (floatsisf2): Generate floatsisf_ie by default.
8354 (floatsisf_i4): Conditional on TARGET_SH4.
8355
8356 (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
8357 predicate for the expanders.
8358
8aa0e194
RH
83592000-09-19 Richard Henderson <rth@cygnus.com>
8360
0d97fd9e
RH
8361 * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
8362 in addition to pentium and pentiumpro symbols.
8363 (CPP_CPU_DEFAULT_SPEC): Likewise.
8364
39b726dd
RH
8365 * c-typeck.c (c_expand_asm_operands): Restore the output tree
8366 after expanding.
8367
9790cefd
RH
8368 * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
8369 if the tree has side effects.
8370 (warn_if_unused_value): Do not warn about void constructs.
8371
8e5a0fcb
RH
8372 * c-decl.c (poplevel): Invoke warn_about_unused_variables.
8373
8aa0e194
RH
8374 * unroll.c (copy_loop_body): Update LABEL_NUSES before
8375 calling invert_jump.
8376
62f7f1f5
GK
83772000-09-18 Geoff Keating <geoffk@cygnus.com>
8378
8379 * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
8380 into anything.
8381
3f80e6ac
KG
83822000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8383
8384 * Makefile.in (c-common.o): Depend on diagnostic.h.
8385
8386 * c-common.c: Include diagnostic.h.
8387 (tfaff): Delete.
8388 (status_warning): New function.
8389 (check_format_info, maybe_read_dollar_number, check_format_types,
8390 finish_dollar_format_checking, check_function_format): Accept a
8391 `status' parameter. All callers changed.
8392
8393 * c-common.h (check_function_format): Accept a `status' parameter.
8394
8395 * c-typeck.c: Update call to `check_function_format'.
8396
cfbd829c
RH
83972000-09-18 Richard Henderson <rth@cygnus.com>
8398
8399 * c-decl.c (c_expand_body): Call mark_varargs before
8400 expand_function_start.
8401
c21d86e1
GK
84022000-09-18 Geoff Keating <geoffk@cygnus.com>
8403
8404 * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
8405 * config/rs6000/eabi-ci.asm: Likewise.
8406
f0417c82
RH
84072000-09-18 Richard Henderson <rth@cygnus.com>
8408
8409 * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
8410 for BImode.
8411
226ed43f
JW
84122000-09-18 Jim Wilson <wilson@cygnus.com>
8413
5c3c320e
JW
8414 * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
8415 before passing it to fold_rtx_mult_add.
8416
ec919c98
JW
8417 * unroll.c (final_giv_value): Pass increment through
8418 extend_value_for_giv before passing it to emit_iv_add_mult.
8419
226ed43f
JW
8420 * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
8421 paradoxical subreg, then directly substitute the replacement and
8422 return.
8423
b542c0fb
NB
8424Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net>
8425
b4f75276 8426 * cpp.texi: Update documentation, including some clarifications,
b542c0fb
NB
8427 the treatment of various newline combinations, and space between
8428 backslash and newline.
8429
800a6a0c
R
8430Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8431
8432 * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
8433 Replace ASM_OUTPUT_LABELREF with assemble_name.
8434
50ceefc2
R
8435Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8436
8437 * sh.c (addsubcosts): CONST is not cheap.
8438 (find_barrier): For Sh1, take alignment after jumps into account.
8439
659e47fb
AH
84402000-09-15 Andrew Haley <aph@redhat.com>
8441
8442 * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
8443 remove all SETs of SUBREGs of hard registers.
7373064a 8444 * function.c (purge_hard_subreg_sets): New function.
659e47fb
AH
8445 (purge_single_hard_subreg_set): New function.
8446 * rtl.h: (purge_hard_subreg_sets): New function.
8447
f2f90c63
RH
84482000-09-18 Richard Henderson <rth@cygnus.com>
8449
8450 * config/ia64/ia64-protos.h: Update.
8451 * config/ia64/ia64.c (signed_inequality_operator): New.
8452 (ia64_expand_compare): New.
8453 (ia64_register_move_cost): Handle PR_REGS moves.
8454 (ia64_secondary_reload_class): Require a GR when moving to a PR.
8455 (struct reg_write_state): Add written_by_and/or.
8456 (struct reg_flags): Add is_and/or.
8457 (rws_update): Set them.
8458 (rws_access_regno): Test them to allow parallel comparisons.
8459 (rtx_needs_barrier): Recognize parallel comparisons.
8460 (emit_insn_group_barriers): Set prev_insn after a call stop bit.
8461 Call recog_memoized; ignore pred_rel_mutex.
8462 (emit_predicate_relation_info): Don't call find_basic_blocks here.
8463 (ia64_reorg): Do it here instead.
8464 * config/ia64/ia64.h: s/CCmode/BImode/g
8465 (MODES_TIEABLE_P): Don't tie BImode.
8466 (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
8467 (CONST_COSTS): Pick sensible values for CONST_INT based on context.
8468 (RTX_COSTS): Make multiply 4 insns.
8469 (MEMORY_MOVE_COST): New.
8470 (PREDICATE_CODES): Update.
8471 * config/ia64/ia64.md: s/CCmode/BImode/g
8472 (movcci, movbi): New.
8473 (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
8474 (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
8475 (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
8476 (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
8477 (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
8478 (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
8479 (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
8480 (mulsi, muldi): Use xmpy not xma.
8481 (cmpbi): New.
8482 (movcc, movcc_internal): Remove.
8483 (branch expanders): Use ia64_expand_compare.
8484 (setcc expanders): Likewise.
8485 (cmov insns): Use move_operand and ia64_move_ok.
8486 (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the
8487 scheduler from moving it past a use.
8488 * config/ia64/build.hacks: Remove.
8489
0d9f234d
NB
8490Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net>
8491
8492 * cpphash.h (HASHSTEP): Take character rather than pointer
8493 to character.
8494 (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
8495
8496 * cpphash.c (cpp_loookup): Update for new HASHSTEP.
8497
8498 * cpplex.c (auto_expand_name_space, trigraph_replace,
8499 backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
8500 IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
8501 BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
8502 KNOWN_DIRECTIVE): Delete.
8503
8504 (handle_newline, check_long_token, skip_escaped_newlines,
8505 unterminated): New functions.
8506 (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
8507
8508 (parse_identifier): Was parse_name, new implementation.
8509 (skip_line_comment, skip_block_comment, skip_whitespace,
8510 parse_number, parse_string, trigraph_ok, save_comment,
8511 adjust_column, _cpp_get_line): New implementations.
8512
8513 (lex_token): New function. Lexes a token at a time, looking
8514 forwards. Contains most of the guts of the old lex_line.
8515 (lex_line): New implementation, using lex_token to obtain
8516 individual tokens.
8517 (cpp_scan_buffer): Use the token's line, not the list's line.
8518
8519 * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
8520 New implementations.
8521 (do_assert): Don't bother setting the answer's list's line.
8522 (cpp_push_buffer): Initialise new pfile and read_ahead members
8523 of struct cpp_buffer.
8524
8525 * cpplib.h (cppchar_t): New typedef.
8526 (struct cpp_buffer): read_ahead, pfile and col_adjust are
8527 new members.
8528 (struct lexer_state): New structure that determines the state
8529 and behaviour of the lexer.
8530 (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
8531 (struct cpp_reader): New member "state". Rename
8532 multiline_string_line and multiline_string_column. Delete
8533 col_adjust, in_lex_line members.
8534 (CPP_BUF_COLUMN): Update.
8535
a191f0ee
RH
85362000-09-18 Richard Henderson <rth@cygnus.com>
8537
9f8e169e
RH
8538 * combine.c (simplify_comparison): Shift a NOT out of a single
8539 bit test.
8540
1f3f36d1
RH
8541 * combine.c (if_then_else_cond): Canonicalize BImode true to
8542 STORE_FLAG_VALUE.
8543 * explow.c (trunc_int_for_mode): Likewise.
8544
5bd60ce6
RH
8545 * combine.c (combine_simplify_rtx): Use gen_unary to distribute
8546 the NOT for De Morgan's rule.
8547 * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
8548 of a comparison to the reverse comparison.
8549
d340408c
RH
8550 * combine.c (try_combine): Allow split to create a single insn.
8551
a191f0ee
RH
8552 * machmode.def: Add BImode. Add a column for bitsize.
8553 * machmode.h (DEF_MACHMODE): Adjust for extra column.
8554 (GET_MODE_BITSIZE): Use it.
8555 * rtl.c (DEF_MACHMODE): Adjust for extra column.
8556 (mode_bitsize): New.
8557 (mode_mask_array): Use bitsize.
8558 * combine.c (combine_simplify_rtx): Require inner and outer
8559 modes to match on nonzero_bits optimizations.
8560
5d77a50c
BS
85612000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8562
8563 * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
8564 its entry in spill_reg_store.
0fb8cb90 8565 * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
2e361e59
BS
8566 * sh.c (reg_no_subreg_operand): New function.
8567 * sh-protos.h (reg_no_subreg_operand): Declare it.
8568 * sh.h (PREDICATE_CODES): Add it.
8569 * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
8570 input operand that needs to be in fpul.
8571 (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
42d5d0f1
BS
8572 * sh.c (find_barrier): Take into account that machine_dependent_reorg
8573 might add new insns.
5d77a50c 8574
55eec660
AO
85752000-09-18 Alexandre Oliva <aoliva@redhat.com>
8576
40fc375d
AO
8577 * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
8578 MAYBE_DEAD.
8579 (sh_expand_epilogue): Take the PIC register into account when
8580 computing the frame size.
8581
55eec660
AO
8582 * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
8583 * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
8584 LABEL_REFs with a PIC-safe unspec.
8585
fc6df7e1
JM
85862000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8587
8588 * c-common.c (check_format_info): Properly save the argument
8589 number and parameter for $ operand number formats in case width
8590 and precision arguments are also used. Allow printf width and
8591 precision arguments to have operand numbers even if none was
8592 specified for the main format, since this is OK for %*.*m. Only
8593 object to missing $ operand number if the format used requires an
8594 argument.
8595
effa5541
JM
85962000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8597
8598 * c-common.c (format_char_info): Add 'W' flag to comment.
8599 (print_char_table, scan_char_table): Use it.
8600 (check_format_info): Use the 'W' flag to determine whether a
8601 format argument is written into.
8602
99303ae4
JM
86032000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8604
8605 * c-common.c (check_format_types): Reorganise and clean up,
8606 checking earlier for ERROR_MARKs and making cur_type into its
8607 TYPE_MAIN_VARIANT where convenient.
8608
9231abf2
JM
86092000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8610
8611 * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
8612
cf67d231
BS
86132000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8614
8615 * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
8616
bd793c65
BS
8617 * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
8618 * i386.c (struct builtin_description): New.
8619 (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
8620 (mmx_reg_operand): Declare MODE arg as unused.
8621 (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
8622 ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
8623 ix86_expand_binop_builtin, ix86_expand_store_builtin,
8624 ix86_init_builtins, ix86_expand_builtin): New functions.
8625 * i386.h (ix86_builtins): New enumeration.
8626 (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
8627 * i386.md (attr length_immediate): 0 for mmx/sse types.
8628 (attr prefix_0f): 1 for mmx/sse types.
8629 (setcc_2): Remove "*" so we get gen_setcc_2.
8630 (emms): Account for changed register numbering. Set "memory" attr
8631 to unknown.
8632 (sfence): Set "memory" attr to unknown.
8633
4070d885
AJ
86342000-09-18 Andreas Jaeger <aj@suse.de>
8635
8636 * configure.in: Define _GNU_SOURCE only when using the GNU C
8637 Library.
a191f0ee
RH
8638 * configure: Regenerated.
8639 * config.in: Regenerated.
4070d885 8640
2ac86f90
MM
86412000-09-17 Mark Mitchell <mark@codesourcery.com>
8642
31a1fdad
MM
8643 * cppinit.c (cpp_init): Don't use ANSI prototypes.
8644 * flow.c (flow_dump_loop): Likewise.
8645 (flow_loops_dump): Likewise.
8646
2ac86f90
MM
8647 * c-typeck.c (c_start_case): Fix typo.
8648
60e9d01c
JM
86492000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8650
8651 * c-decl.c (grokdeclarator): Don't give a warning about defaulting
8652 to int for plain complex which defaults to complex double. Do
8653 warn about defaulting to complex double if pedantic. Warn about
8654 complex integer types if pedantic. Warn about complex types if
8655 pedantic and not in C99 mode.
8656 * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
8657 for complex conjugation.
8658
bc5006c7
JM
86592000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8660
8661 * contrib.texi: Update my entry.
8662
7e3bd81e
DC
8663Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru>
8664
23cb1766
RK
8665 * config/avr/avr.md (mcu_enhanced): New attribute.
8666 (mcu_mega): Likewise.
8667 (extendhisi2): Use mcu_enhanced.
8668 (zero_extendhisi2): Likewise.
8669 (call_insn): Use mcu_enhanced and mcu_mega.
8670 (call_value_insn): Likewise.
8671 (*sbrx_branch): Use mcu_mega.
8672 (*sbrx_and_branchsi): Likewise.
8673 (*sbrx_and_branchhi): Likewise.
8674 (*tablejump_lib): Likewise.
7e3bd81e 8675
6a51f4a0
RK
8676Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8677
ec569656
RK
8678 * alias.c (true_dependence): Allow non-unchanging read to conflict
8679 with unchanging write.
8680
23cb1766
RK
8681 * expr.c (store_constructor_field): Accept ALIAS_SET arg.
8682 (store_constructor): Pass alias_set to it.
8683
a52fb89b
RK
8684 * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
8685 TYPE_MAIN_VARIANT of ERROR_MARK.
8686 * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
8687
6a51f4a0
RK
8688 * simplify-rtx.c (simplify_unary_operation): Add cases
8689 FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
8690
ebb1b59a
BS
86912000-09-17 Bernd Schmidt <bernds@redhat.co.uk>
8692
a191f0ee 8693 * expr.h (emit_library_call, emit_library_call_value): Delete
ebb1b59a
BS
8694 declarations.
8695 * rtl.h (enum libcall_type): New.
8696 (emit_library_call, emit_library_call_value): Change fn_type arg to
a191f0ee 8697 be of type enum libcall_type.
ebb1b59a
BS
8698 * calls.c: Likewise for the function definitions. Several callers
8699 throughout changed to use the new enumeration appropriately.
8700 (emit_library_call_value_1): Likewise. Put back code to make libcall
a191f0ee 8701 blocks of equal form, but only use it for the two new higher
ebb1b59a
BS
8702 enumeration values.
8703
8f17b5c5
MM
87042000-09-16 Mark Mitchell <mark@codesourcery.com>
8705
8706 Convert the C front-end to use function-at-a-time mode.
8707 * c-common.h: Include splay-tree.h.
8708 (C_DECLARED_LABEL_FLAG): New macro.
8709 (struct language_function): Add x_scope_stmt_stack and
8710 x_function_name_declared_p.
8711 (RECHAIN_STMTS): Move definition.
8712 (lang_statment_code_p): Likewise.
8713 (lang_expand_stmt): Likewise.
8714 (lang_expand_decl_stmt): New variable.
8715 (lang_expand_function_end): Likewise.
8716 (current_scope_stmt_stack): New function.
8717 (add_decl_stmt): Likewise.
8718 (add_scope_stmt): Likewise.
8719 (mark_stmt_tree): Likewise.
8720 (struct c_lang_decl): New structure.
8721 (DECL_SAVED_TREE): Define.
8722 (c_mark_lang_decl): New function.
8723 (c_expand_start_cond): Change prototype.
8724 (c_finish_then): New function.
8725 (c_finish_else): Likewise.
8726 (current_function_name_declared): Remove.
8727 (set_current_function_name_declared): Likewise.
8728 (mark_c_language_function): Declare.
8729 (case_compare): Likewise.
8730 (c_add_case_label): Likewise.
8731 (c_expand_expr): Likewise.
8732 (c_safe_from_p): Likewise.
8733 * c-common.c (lang_expand_function_end): New variable.
8734 (struct if_elt): Add if_stmt.
8735 (c_expand_start_cond): Add the if-statement to the statement-tree,
8736 rather than generating RTL.
8737 (c_finish_then): New function.
8738 (c_expand_start_else): Don't generate RTL.
8739 (c_finish_else): New function.
8740 (c_expand_expr_stmt): Don't generate RTL.
8741 (statement_code_p): Add SCOPE_STMT.
8742 (case_compare): New function.
8743 (c_add_case_label): Likewise.
8744 (mark_stmt_tree): Likewise.
8745 (c_mark_lang_decl): Likewise.
8746 (mark_c_language_function): Likewise.
8747 (c_expand_expr): Likewise.
8748 (c_safe_from_p): Likewise.
8749 * c-decl.c (c_stmt_tree): New variable
8750 (c_scope_stmt_stack): Likewise.
8751 (c_function_name_declared_p): Likewise.
8752 (lang_expand_expr_stmt): Remove.
8753 (poplevel): Don't call output_inline_function for nested
8754 functions.
8755 (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
8756 `extern' function.
8757 (redeclaration_error_message): Change means of computing whether
8758 or not a function is nested.
8759 (lookup_label): Don't call label_rtx.
8760 (init_decl_processing): Add more GC roots.
8761 (start_decl): Add DECL_STMTs to the statement-tree, rather than
8762 calling rest_of_decl_compilation.
8763 (finish_decl): Don't call expand_decl.
8764 (store_parm_decls): Begin the statement-tree, but don't generate
8765 RTL.
8766 (finish_function): Tie off the statement-tree. Call c_expand_body
8767 if appropriate.
8768 (c_expand_body): New function.
8769 (push_c_function_context): Save more information.
8770 (pop_c_function_contxt): Likewise.
8771 (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
8772 (lang_mark_tree): Mark it.
8773 (current_stmt_tree): Adjust.
8774 (current_scope_stmt_stack): New function.
8775 (do_case): Remove.
8776 (set_current_name_declared): Likewise.
8777 (c_begin_compound_stmt): Define.
8778 (c_expand_decl_stmt): Likewise.
8779 * c-lang.c: Include rtl.h and expr.h.
8780 (lang_init): Set more language-specific hooks.
8781 * c-lex.c: Include expr.h.
8782 * c-parse.in: Changes throughout to add statements to the
8783 statement-tree, rather than generating RTL after every statement.
8784 * c-semantics.c (lang_expand_decl_stmt): Define.
8785 (add_decl_stmt): New function.
8786 (add_scope_stmt): Likewise.
8787 (finish_stmt_tree): Tweak.
8788 (genrtl_expr_stmt): Likewise.
8789 (genrtl_decl_stmt): Handle local labels, and call
8790 lang_expand_decl_stmt if required.
8791 (genrtl_for_stmt): Fix line-number handling.
8792 (genrtl_case_label): Handle cleanups.
8793 (genrtl_asm_stmt): Don't call combine_strings.
8794 (genrtl_compound_stmt): Simplify.
8795 (expand_stmt): Handle SCOPE_STMTs.
8796 * c-tree.h (struct lang_decl): New structure.
8797 (C_DECLARED_LABEL_FLAG): Remove.
8798 (c_begin_compound_stmt): Declare.
8799 (c_expand_decl_stmt): Likewise.
8800 (c_expand_start_case): Rename to c_start_case.
8801 (c_finish_case): New function.
8802 * c-typeck.c (start_init): Tweak setting of
8803 constructor_incremental.
8804 (c_expand_asm_operands): Tweak error-handling. Add to the
8805 statement-tree.
8806 (c_expand_return): Add to the statement-tree.
8807 (c_expand_start_case): Rename to ...
8808 (c_start_case): ... this.
8809 (struct c_switch): New type.
8810 (switch_stack): New variable.
8811 (do_case): Simplify.
8812 (c_finish_case): New function.
8813 * dependence.c: Include expr.h.
8814 (enum dependence_type): Change spelling of enumerals.
8815 (check_node_dependence): Adjust.
8816 * expr.h (lang_safe_from_p): Declare.
8817 (safe_from_p): Likewise.
8818 * expr.c (lang_safe_from_p): New variable.
8819 (safe_from_p): Give it external linkage. Use lang_safe_from_p.
8820 * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
8821 * toplev.c (rest_of_decl_compilation): Robustify.
8822 * tree.c (contains_placeholder_p): Likewise.
8823 * Makefile.in: Update dependencies.
8824 * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
8825 * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
8826 (objc_expand_function_end): New function.
8827 (finish_method_def): Use it.
8828 (init_objc): Initialize more language-specific hooks.
8829 * objc/Make-lang.in: Update dependencies.
7373064a 8830
4797e955
GK
88312000-09-16 Geoffrey Keating <geoffk@cygnus.com>
8832
8833 * configure.in: Define macros that affect features before
8834 testing for features. Don't define _XOPEN_SOURCE.
8835 * configure: Regenerated.
8836 * config.in: Regenerated.
8837
ae0fb1b9
JW
8838Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com)
8839
8840 * rtlanal.c (rtx_varies_p): Volatile asms vary.
8841 (rtx_unstable_p): Restructure code. Volatile asms
8842 are unstable.
8843
5748b2cb 8844Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
ae0f4dee 8845
87c31d6b
RK
8846 * function.h (no_debugging_symbols): New field.
8847 * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
8848 Initialize no_debugging_symbols.
8849 (output_inline_function): Save and restore write_symbols and set from
8850 no_debugging_symbols.
8851 * toplev.c (rest_of_compilation): Call save_for_inline.
8852 * tree.h: Update comment.
7373064a 8853
5748b2cb
RK
8854 * stor-layout.c (place_field): Don't do anything if field or
8855 its type are ERROR_MARK.
8856
8857Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net>
8858
8859 * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
8860 (read_include_file): Ensure inc->mmaped is initialized.
ae0f4dee 8861
6f84c9bd
RH
88622000-09-16 Richard Henderson <rth@cygnus.com>
8863
8864 * cppiles.c (purge_cache): Use PTR not caddr_t.
8865
50c57e7b
HPN
88662000-09-16 Hans-Peter Nilsson <hp@axis.com>
8867
8868 * gcc.c: In description for %{<S}, say the option removed is -S.
8869 * invoke.texi (Spec Files): Ditto.
8870
dd745546
AJ
88712000-09-16 Andreas Jaeger <aj@suse.de>
8872
8873 * configure.in: Always define _GNU_SOURCE to make interfaces
8874 visible that were hidden by only defining _GNU_SOURCE.
8875 * configure: Regenerated.
8876
08ebc1c5
NB
8877Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net>
8878
8879 * cpplex.c (push_macro_context): Set an argument's level after
8880 calling parse_args. We could loop infinitely otherwise.
8881
16abe34a
TT
88822000-09-15 Tom Tromey <tromey@cygnus.com>
8883
8884 * configure, config.in: Rebuilt.
8885 * configure.in: Check for iconv.h. Define _XOPEN_SOURCE.
8886
61c16b10
GM
88872000-09-15 Greg McGary <greg@mcgary.org>
8888
8889 * cppmacro.c (check_trad_stringification): Check token
8890 text pointers against limit before dereferencing.
8891
6a357625
JM
88922000-09-15 Joseph S. Myers <jsm28@cam.ac.uk>
8893
8894 * c-common.c (format_wanted_type): New structure.
8895 (check_format_types): New function.
8896 (check_format_info): Pass all checking of types of format
8897 arguments, including width and precision arguments, to this new
8898 function.
8899
6a1d1088
GP
89002000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8901
8902 * BUGS: Remove file.
8903
a3b815cb
JJ
89042000-09-15 Jakub Jelinek <jakub@redhat.com>
8905
54f5c4b0
JJ
8906 * config/alpha/alpha.c (override_options): ev6 cache latencies
8907 from Richard Henderson. Don't allow -mmemory-latency=L0.
8908
a3b815cb
JJ
8909 * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
8910 (TARGET_OPTIONS): Add tune=.
8911 (alpha_tune_string): Declare.
8912 * config/alpha/alpha.c (override_options): Add cpu_table.
8913 Use alpha_cpu_string first to set both alpha_cpu and target_flags
8914 and then alpha_tune_string to set alpha_cpu only.
8915 Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
8916 * config/alpha/elf.h (ASM_FILE_START): Likewise.
8917 * config/alpha/osf.h (ASM_FILE_START): Likewise.
8918 * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
8919
9076b9c1
JH
8920Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
8921
8922 * i386-protos.h (no_comparison_operator, uno_comparison_operator):
8923 Remove.
8924 (ix86_comparison_operator, ix86_cc_mode): Declare
8925 * i386.h (CCGC, CCGCO): New modes.
8926 (SELECT_CC_MODE): Move offline to ....
8927 * i386.c (ix86_cc_mode): .... here; use new modes.
8928 (ix86_comparison_operator): New.
8929 (fcmov_comparison_operator): Ensure proper mode.
8930 (put_condition_mode): More sanity checking.
8931 (ix86_match_ccmode): Handle new modes.
8932 (ix86_expand_fp_compare): GEU requires CCmode.
8933 (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
8934 doing it by hand.
8935 * i386.md (cmp?i_ccz_1): Remove
8936 (cmp?i_ccno_1): Use ix86_match_ccmode.
8937 (cmp?i_minus_1): New.
8938 (cmpsi_1): New expander.
8939 (cmpqi_ext_1): Use match_ccmode
8940 (cmpqi_ext_3): New expander.
8941 (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
8942 (cmpqi_ext_4): Use match_ccmode.
8943 (add?i_?): Use match_ccmode.
8944 (add?i_6): New.
8945 (test?i_ccz_1): Remove
8946 (test?i_1): New.
8947 (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
8948 (testqi_ext_0): Use ix86_match_ccmode.
8949 (*xorqi_cc_ext_1): Use ix86_match_ccmode.
8950 (xorqi_cc_ext_1): New expander.
8951 (shift patterns): Use CCGOCmode for all shifts except for sar.
8952 (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
8953 (setcc_3, jcc_3, miv?icc_c): Remove.
8954
3724ec07
WC
89552000-09-15 Will Cohen <wcohen@redhat.com>
8956
8957 * dwarf2out.c (add_const_value_attribute): Changed array into a
8958 xmalloced object, so it exists after function exit.
8959 (free_AT): Added case for dw_val_class_float to free allocated
8960 memory.
8961
182a4620
KH
89622000-09-15 Kazu Hirata <kazu@hxi.com>
8963
8964 * config/i386/i386.md: Fix a comment typo.
d25a45d4 8965 * gcc.c: Fix formatting.
182a4620 8966
aff2c2d3
BS
89672000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
8968
8969 * optabs.c (emit_libcall_block): If target is a user variable,
8970 copy to a temporary first.
642dfa8b
BS
8971 * expr.c (convert_move): When generating a libcall, make a libcall
8972 block.
188c5e6c
BS
8973 * calls.c (emit_library_call_value_1): Don't create a libcall
8974 sequence here; our caller will in most cases do it.
aff2c2d3 8975
0c4c9b16
BS
8976 * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
8977 MACH into FPUL.
8978 (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
8979 * sh.md (reload_outsf): Generate recognizable patterns for
8980 TARGET_SH3E.
8981 (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
8982 fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
8983 fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
8984 truncdfsf2_i4): Change not to use explicit references to fpul.
8985 (floatsisf2_ie): Remove USE of fpscr.
8986 (floatsisf2): Change default expansion to match this.
8987 (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
8988 unused patterns.
8989
308ecea0
RH
89902000-09-15 Richard Henderson <rth@cygnus.com>
8991
8992 * expmed.c (store_bit_field): Consider naturally aligned
8993 memory for direct reference.
8994
e01acbb1
RH
89952000-09-15 Richard Henderson <rth@cygnus.com>
8996
8997 * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
8998 AND addresses into alias set 0.
8999 (alpha_expand_unaligned_store): Likewise.
9000 (alpha_expand_unaligned_load_words): Likewise.
9001 (alpha_expand_unaligned_store_words): Likewise.
9002
c363a0c0
BS
90032000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
9004
9005 * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
9006 * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
9007 is defined.
dd193c79
BS
9008 * config/mips/mips.c (mips_va_arg): Args passed by reference have a
9009 rsize of UNITS_PER_WORD.
c363a0c0 9010
ff94c747
NB
9011Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
9012
9013 * cpplex.c (ON_REST_ARG): Correct the test.
9014 (maybe_paste_with_next): Duplicate a token that fail pasting,
9015 and clear its PASTE_LEFT flag, so that nested pasting attempts
9016 do not occur.
9017
b437f1a7
RH
90182000-09-14 Richard Henderson <rth@cygnus.com>
9019
9020 * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
9021 * cse.c (rtx_cost): Likewise.
9022 * optabls.c (expand_binop): Likewise.
9023 (expand_twoval_binop, prepare_cmp_insn): Likewise.
9024 * regclass.c (copy_cost): Likewise.
9025 * reload1.c (reload_cse_move2add): Likewise.
9026
d9dbd9b1
JM
90272000-09-14 Joseph S. Myers <jsm28@cam.ac.uk>
9028
9029 * c-parse.in (reswords): Add _Complex.
9030
9207d3b1
DA
90312000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9032
9033 * gcc.1: Delete documentation for -undef preprocessor option.
9034
395a451c
AO
90352000-09-14 Alexandre Oliva <aoliva@redhat.com>
9036
9037 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9038 STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
9039 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9040 Remove undefine before config/elfos.h.
9041 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
9042
17f0f8fa
KH
90432000-09-14 Kazu Hirata <kazu@hxi.com>
9044
9045 * invoke.texi (H8/300 Options): Add -ms2600.
9046 * config/h8300.c (h8300_init_once): Output an error when -ms2600
9047 is used without -ms.
9048 * config/h8300.h (TARGET_MAC): New.
9049 (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
9050 (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
9051 machine other than H8/S2600.
9052 * config/h8300.md: Accept mac instructions on the H8/S2600 instead
9053 of the H8/S2000.
9054
9e8f528c
AO
90552000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk>
9056
9057 * reload.c (find_reloads_address_1): Generate reloads for auto_inc
9058 pseudos that refer to the original pseudos, not only to their
9059 equivalent memory locations.
9060
9985f210
RK
9061Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9062
fe7a8445
RK
9063 * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
9064 when making new MEM.
9065
9985f210
RK
9066 * Makefile.in (LN): Remove duplicate definition.
9067
2f93c5c3
BS
90682000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9069
9070 From Joern Rennecke:
9071 * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
9072 on an insn and function_invariant_p returns nonzero for the source,
9073 add a REG_EQUAL note.
9074
b24ea077
JW
9075Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com)
9076
9077 * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
9078 conflict with frame_pointer_rtx.
9079
fd5d5b07
KH
90802000-09-13 Kazu Hirata <kazu@hxi.com>
9081
9082 * loop.c: Fix formatting.
9083 * loop.h: Likewise.
9084
26102535
RH
90852000-09-13 Richard Henderson <rth@cygnus.com>
9086
9087 * config/ia64/ia64.md (divsf3): New.
9088 (divsf3_internal_lat, divsf3_internal_thr): New.
9089 (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
9090 (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
9091 (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
9092 (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
9093 (nmadddf4_alts, nmadddf4_trunc): New.
9094 (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
9095 (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
9096 (multf3_truncsf_alts, multf3_truncdf_alts): New.
9097 (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
9098 (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
9099 (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
9100 (nmaddtf4_truncdf_alts): New.
9101 (recip_approx): Don't predicate.
9102
938566fb
RH
91032000-09-13 Richard Henderson <rth@cygnus.com>
9104
9105 * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
9106
c349e40b
SC
91072000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9108
9109 * flags.h (flag_dump_rtl_in_asm): Declare.
9110 * toplev.c (flag_dump_rtl_in_asm): Define.
9111 (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
9112 if -dP is specified.
9113 * rtl.h (print_rtx_head): Declare.
9114 * print-rtl.c (print_rtx_head): Define.
9115 (print_rtx): Print the string pointed to by print_rtx_head
9116 at beginning of each dump line.
9117 (print_rtl): Likewise.
9118 (print_rtl_single): Likewise.
9119 * final.c (final_scan_insn): Dump the insn in the assembly
9120 file for debugging.
9121 * gcc.1: Document -dP option.
9122 * invoke.texi (Debugging Options): Likewise.
9123
2856c3e3
SC
91242000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9125
9126 * md.texi (Machine Constraints): Document the 68HC11 constraints.
9127 * install.texi (Configurations): Document the 68HC11&68HC12 port.
9128 * invoke.texi (Option Summary, M68hc1x Options): Document the options.
9129
1ca04dc8
DC
9130Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
9131
9132 * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
9133 * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
9134 (*clrstrqi): Likewise.
9135 (xorhi3,xorsi3,absqi2): Likewise.
9136 (one_cmplhi2,one_cmplsi2): Likewise.
9137 (addsi3): Two stupid constraint alternatives removed.
9138 (extendhisi2): Use `movw' for enhanced avr cores.
9139 (zero_extendhisi2): Likewise.
9140
bb07060a
JW
9141Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
9142
9143 * alias.c (find_base_term): Use frame_pointer_rtx
9144 when handling an ADDRESSOF.
9145
9146 * cse.c (canon_hash): Handle USE of BLKmode memory.
9147 (cse_insn): Outgoing arguments for a libcall don't
9148 affect any recorded expressions.
9149
d21445e7
TT
91502000-09-12 Tom Tromey <tromey@cygnus.com>
9151
9152 * configure, config.in: Rebuilt.
9153 * configure.in: Check for iconv, nl_langinfo, langinfo.h.
9154
5c80f6e6
JJ
91552000-09-12 Jakub Jelinek <jakub@redhat.com>
9156
9157 * c-lex.c (lex_string): Use charwidth to compute bytemask.
9158 * expr.c (expand_expr): Don't optimize constant array references
9159 initialized with wide string constants.
9160
635a2a90
MH
91612000-09-13 Michael Hayes <mhayes@cygnus.com>
9162
a191f0ee 9163 * loop.c (note_set_pseudo_multiple_uses): Correct.
635a2a90 9164
cc2999aa
JW
91652000-09-12 Jim Wilson <wilson@cygnus.com>
9166
9167 * ifcvt.c (noce_process_if_block): If A and B are the same, and no
9168 else block, and X has side-effects, then fail.
9169
a0b6cdee
GM
91702000-09-12 Greg McGary <greg@mcgary.org>
9171
9172 * config/mips/mips-protos.h
9173 (trap_cmp_op, mips_gen_conditional_trap): New func decls.
9174 * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
9175 (PREDICATE_CODES): Add "trap_cmp_op".
9176 * config/mips/mips.c
9177 (trap_cmp_op, mips_gen_conditional_trap): New functions.
9178 * config/mips/mips.md (trap, conditional_trap): New patterns.
9179
24948ccc
BS
91802000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9181
9182 * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
9183 pointer.
9184
3ff5f682
KG
91852000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9186
9187 * builtins.c (built_in_decls): New array.
9188 (expand_builtin_fputs): New function.
9189 (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
9190
9191 * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
9192
9193 * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
9194
9195 * tree.h (built_in_decls): New array.
9196
208b0ab1
JL
9197Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com)
9198
9199 * convex.md: Use "+" instead of "=" for outputs wrapped in a
9200 STRICT_LOW_PART.
9201 * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
9202
a86dc4a3
KH
92032000-09-12 Kazu Hirata <kazu@hxi.com>
9204
7a403706
KH
9205 * haifa-sched.c: Fix formatting.
9206
c9541287
KH
9207 * genattrtab.c: Fix formatting.
9208
a86dc4a3
KH
9209 * unroll.c: Fix formatting.
9210
3af556f7
BK
92112000-09-12 Bruce Korb <bkorb@gnu.org>
9212
9213 * fixinc/fixfixes.c: make a type for the fix procedure & use it,
9214 remove obsolete code
9215 * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch.
9216 * fixinc/fixincl.tpl: make non-exported arrays static scope
9217 * fixinc/fixincl.x: regenerate
9218 * fixinc/fixlib.h: Use PARAMS, not _P_
9219 * fixinc/fixtests.c: make a type for the test proc & use it
9220 * fixinc/server.h: Use PARAMS, not _P_
9221
32892c52
KG
92222000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9223
9224 * c-typeck.c (process_init_element): Avoid union init warnings on
9225 floating point zero. Don't crash on unions containing structs.
9226
ae0a1c23
AO
92272000-09-12 Alexandre Oliva <aoliva@redhat.com>
9228
9229 * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
9230 general_movsrc_operand, and remove CONST_INT from
9231 general_movdst_operand.
9232
f1c1dfc3
BS
92332000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9234
9235 * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
9236 if a reference to non-fixed hardreg is seen. Otherwise, count hard
9237 regs with a higher cost.
9238 (preferrable): Deal with cases where either cost or regcost is
9239 MAX_COST.
9240 (cse_insn): Use MAX_COST rather than 10000. Always initialize
9241 regcost values.
9242 (COSTS_N_INSNS): Move definition...
9243 * rtl.h: ...here.
9244 (MAX_COST): New macro.
9245 * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
9246 constant.
9247
f444e36b
MM
92482000-09-11 Mark Mitchell <mark@codesourcery.com>
9249
9250 * c-common.h (genrtl_clear_out_block): Remove.
9251 * c-semantics.c (genrtl_clear_out_block): Remove.
9252 (genrtl_while_stmt): Don't call it.
9253 (genrtl_for_stmt): Likewise.
9254
a58d32c2
ZW
92552000-09-11 Zack Weinberg <zack@wolery.cumb.org>
9256
9257 * cppfiles.c: Move all default-#defines to top of file.
9258 (open_include_file): Replace by lookup_include_file.
9259 (read_with_read, read_file): Merged into read_include_file.
9260 (stack_include_file, purge_cache): New functions.
9261 (close_cached_fd): Delete.
dd745546 9262 (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
a58d32c2
ZW
9263 Cache the in-memory buffer, not the file descriptor.
9264
9265 * cpphash.h (struct include_file): Add buffer, st, refcnt,
9266 mapped fields.
9267 (xcnew): New utility macro.
9268 (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
9269 * cpplib.h (struct cpp_buffer): Remove mapped field.
9270
92712000-09-11 Zack Weinberg <zack@wolery.cumb.org>
9272
9273 * cpplex.c (parse_string): Accept backslash space newline as a
9274 line continuation.
9275 (lex_line): Likewise.
9276 (_cpp_get_token): Remove hard limit on macro nesting.
9277
bfa29b63
PT
92782000-09-12 Philipp Thomas <pthomas@suse.de>
9279
9280 * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
9281 * configure: Rebuilt.
9282
97ca9316
MH
92832000-09-13 Michael Hayes <mhayes@cygnus.com>
9284
9285 * flow.c (split_block): Fix update of registers live at
9286 end of split block.
9287
d90ffc8d
JH
9288Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
9289
9290 * i386.md (add?i_3, add?i_5): New.
9291 (add?i_4): Rename from add?i_3; Fix compare pattern.
9292 (sub?i_3, xor?i_3, ior?i_3): New.
9293
9294 * genrecog.c (write_tree): Output code to clear insn_extract cache.
9295 * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
9296 instead of extract_insn and extract_constrain_insn_cache instead of
9297 extract_insn and constrain_operands.
9298 * recog.c (extract_insn_cached, extract_constrain_insn_cached):
9299 New functions.
9300 (extract_insn): Clear which_alternative.
9301 (constrain_operands): Set which_alternative to -1 when failed.
9302 * recog.h (extract_constrain_insn_cached, extract_insn_cached):
9303 Declare.
9304
4843bda9
MH
93052000-09-11 Matthew Hiller <hiller@redhat.com>
9306
9307 * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
9308 on operand 0 to '+'.
9309 (movstricthi): Likewise.
9310
ed5bb68d
MH
93112000-09-12 Michael Hayes <mhayes@cygnus.com>
9312
9313 * loop.h (LOOP_IVS): New macro.
9314 (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
9315 (struct loop_ivs): New.
9316 (struct loop_info): Add ivs field.
9317 (reg_iv_type, reg_iv_info): Delete prototype.
9318 (reg_biv_class, loop_iv_list): Likewise.
9319 * loop.c (record_biv, find_life_end): Pass loop argument.
9320 (reg_iv_type): Remove global array and use
9321 field in loop_regs structure within loop_ivs structure.
9322 (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
9323 (first_increment_giv, last_increment_giv): Use entry in
9324 loop_ivs structure.
9325 (record_initial): Pass ivs pointer.
9326 * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
9327
1ecd860b
MH
93282000-09-12 Michael Hayes <mhayes@cygnus.com>
9329
9330 * loop.h (LOOP_REGS): New macro.
9331 (struct loop_regs): New.
9332 (struct loop_info): Add regs field.
dd745546 9333 * loop.c (set_in_loop): Remove global array and store
1ecd860b
MH
9334 in loop_regs structure as part of loop_info structure.
9335 (n_times_set, may_not_optimize): Likewise.
9336 (reg_single_usage, moved_once): Likewise.
9337 (count_one_set): Add regs argument.
9338 (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
9339 (set_pseudo_multiple_uses): Pass regs pointer.
9340
0a5b41f2
MH
93412000-09-12 Michael Hayes <mhayes@cygnus.com>
9342
9343 * unroll.c (iteration_info): Subsume into loop_iterations.
9344 * loop.h (loop_info): New field iv.
9345
5d6a16e2
MH
93462000-09-12 Michael Hayes <mhayes@cygnus.com>
9347
9348 * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
9349 (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
9350 (flow_loops_update): New prototype.
9351 (flow_loops_find): Add flags to prototype.
9352 (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
9353 * flow.c (flow_loop_pre_header_scan): New.
9354 (flow_loop_dump): Dump pre-header root and trace and exit dominators.
9355 (flow_loop_free): Free pre-header root and trace and exit dominators.
9356 (flow_loops_find): New argument flags.
9357 (flow_loops_update): New function.
9358 * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
9359
c586192c
MH
93602000-09-12 Michael Hayes <mhayes@cygnus.com>
9361
9362 * basic-block.h (split_block, update_bb_for_insn): New prototypes.
9363 * flow.c (split_block, update_bb_for_insn): New functions.
9364
a5e5cf67
RH
93652000-09-11 Richard Henderson <rth@cygnus.com>
9366
9367 * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
9368
655f2eb9
RH
93692000-09-11 Richard Henderson <rth@cygnus.com>
9370
9371 * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
9372 * config/ia64/ia64.c (fr_nonimmediate_operand): New.
9373 (ia64_override_options): Prevent optimizing division for both
9374 latency and throughput.
9375 (rtx_needs_barrier): Handle frcpa.
9376 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
9377 (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
9378 (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
9379 (TARGET_SWITCHES): Add -minline-divide-min-latency and
9380 -minline-divide-max-throughput.
9381 (PREDICATE_CODES): Update.
9382 * config/ia64/ia64.md (extendsidi2): Remove * from f case.
9383 (zero_extendsidi2): Likewise. Fix typo in f case insn.
9384 (extendsfdf2): Add cases for gr<->fr and fr<->mem.
9385 (extendsftf2): Likewise.
9386 (extenddftf2): Likewise.
9387 (fix_trunctfdi2_alts): New.
9388 (fixuns_trunctfdi2_alts): New.
9389 (madd*4): Rename from madd*3.
9390 (divsi3, modsi3, udivsi3, umodsi3): New.
9391 (divsi3_internal): New.
9392 (divdi3, moddi3, udivdi3, umoddi3): New.
9393 (divdi3_internal_lat, divdi3_internal_thr): New.
9394 (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
9395 (recip_approx): New.
9396
b5d7770c
AO
93972000-09-11 Alexandre Oliva <aoliva@redhat.com>
9398
9399 * print-rtl.c (debug_call_placeholder_verbose): New variable.
9400 (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
9401 set.
9402 * integrate.c (copy_rtx_and_substitute): Don't share
9403 LEAF_REG_REMAPpable registers with the inlined function. Don't
9404 share the function value with calling sequences.
9405
6ff85fd8
JJ
94062000-09-11 Jakub Jelinek <jakub@redhat.com>
9407
2a1da89b
JJ
9408 * c-decl.c (do_case): Fix a typo.
9409
6ff85fd8
JJ
9410 * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
9411 to a if the comparison is floating mode and not -ffast-math.
9412 * simplify-rtx.c (simplify_ternary_operation): Likewise.
9413
4102c782
R
9414Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9415
9416 * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
9417 gen_ic_invalidate_line.
9418
52a21fc6
PB
94192000-09-11 Philip Blundell <pb@futuretv.com>
9420
9421 * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
9422
669ed2b1
UD
9423Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com>
9424
9425 * install.texi (LANGUAGES): Update to include new languages.
9426 * INSTALL: Rebuilt.
9427
50936d27
DD
94282000-09-11 DJ Delorie <dj@redhat.com>
9429
9430 * gcc.c (main): Don't warn about unused -B prefixes
9431 (unused_prefix_warnings): remove
9432
00174bdf
KH
94332000-09-11 Kazu Hirata <kazu@hxi.com>
9434
f5d927c0
KH
9435 * final.c: Fix formatting.
9436
00174bdf
KH
9437 * integrate.c: Fix formatting.
9438
b14066a9
GK
94392000-09-11 Geoff Keating <geoffk@cygnus.com>
9440
9441 * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
9442
e695931e
BS
94432000-09-11 Bernd Schmidt <bernds@redhat.co.uk>
9444
9445 * reload.c (regno_clobbered_p): Fix thinko in previous change.
9446
456aadaa
SC
94472000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9448
9449 * gcc.1: Document 68hc11 specific options.
9450
9cb8fcaf
GK
94512000-09-10 Geoff Keating <geoffk@cygnus.com>
9452
e0f7170a
GK
9453 * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
9454 (TARGET_LONG_DOUBLE_128): Define.
9455 (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
9456 (LONG_DOUBLE_TYPE_SIZE): Redefine.
9457 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9458 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
9459 of __LONG_DOUBLE_128__.
9460 (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
9461 passed.
9462 (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
9463 (CPP_SYSV_DEFAULT_SPEC): Define.
9464 (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
9465 (INIT_TARGET_OPTABS): Define.
9466
9cb8fcaf
GK
9467 * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
9468 (RS6000_UITRUNC): Likewise.
9469 (INIT_TARGET_OPTABS): New macro.
9470 * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
9471 (trunc_defined): Delete.
9472 (output_prolog): Don't output .extern definitions for fp->int
9473 conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
9474 * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
9475 (trunc_defined): Delete.
9476 (RS6000_ITRUNC): Moved to aix.h.
9477 (RS6000_UITRUNC): Likewise.
9478 * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
9479 only emit a libcall.
9480 (fixuns_truncdfsi2): Delete.
9481 (trunc_call): Delete.
9482 (trunc_call_rtl): Delete.
9483
8f820299
ZW
94842000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9485
9486 * varasm.c (make_decl_rtl): Restore leading star on
dd745546 9487 DECL_ASSEMBLER_NAME set for decls with an asmspec.
8f820299 9488
4337bc93
ZW
94892000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9490
9491 * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
9492 won't give a spurious error for '#pragma pack()'. Simplify
9493 control flow for readability. 'reset' action is not necessary.
9494
d8ea8f28
ZW
94952000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9496
9497 * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
9498 SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
9499 LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
9500 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
9501
9502 * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
9503 profile.c, sdbout.c, tradcif.y, tree.c:
9504 Include defaults.h if not already included.
9505 Don't define the above macros.
9506
9507 * Makefile.in: Update dependencies.
9508
56cb9733
MM
95092000-09-10 Mark Mitchell <mark@codesourcery.com>
9510
9511 * c-common.h (add_stmt): Change prototype.
9512 (RECHAIN_STMTS): New macro.
9513 (CASE_LABEL_DECL): Likewise.
9514 (genrtl_case_label): Change prototype.
9515 (c_expand_start_case): Remove prototype.
9516 (build_case_label): Change prototype.
9517 (decl_constant_value): Declare.
9518 * c-common.c (check_case_value): Handle C++'s extensions to C
9519 semantics.
9520 * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
d8ea8f28 9521 field.
56cb9733
MM
9522 * c-parse.in (stmt): Adjust handling of return statements and case
9523 laels.
9524 * c-semantics.c (add_stmt): Return the new statement.
9525 (genrtl_return_stmt): Take the RETURN_STMT as input, not the
9526 returned expression. Directly generate RTL, rather than calling
9527 c_expand_return.
9528 (genrtl_switch_stmt): Don't call c_expand_start_case.
9529 (build_case_label): Take the LABEL_DECL as input, too.
9530 (genrtl_case_label): Just call add_case_node.
9531 (expand_stmt): Adjust calls to genrtl_return_stmt and
9532 genrtl_case_label.
9533 * c-tree.h (c_expand_start_case): Declare.
9534 * c-typeck.c (decl_constant_value): Give it external linkage.
9535 (c_expand_return): Don't call expand_return or expand_null_return;
9536 use genrtl_return_stmt instead.
9537 * stmt.c (struct nesting): Remove num_ranges field.
9538 (add_case_node): Give it external linkage.
9539 (expand_start_case): Don't set num_ranges.
9540 (expand_start_case_dummy): Don't clear it.
9541 (pushcase): Rely on add_case_node to handle `default' labels.
9542 (add_case_node): Handle `default' labels.
9543 * tree.c (tree_int_cst_compare): New function.
9544 * tree.h (tree_int_cst_compare): Declare.
9545 (add_case_node): Likewise.
9546
aac02f4e
RH
95472000-09-10 Richard Henderson <rth@cygnus.com>
9548
9549 * c-parse.in: Revert last change.
9550 (init_reswords): Do not enter disabled keywords into the ridpointers
9551 table, modulo objc weirdness.
9552 (_yylex): Return the canonical spelling for a keyword.
9553
75d8aea7
PB
95542000-09-10 Philip Blundell <philb@gnu.org>
9555
9556 * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
9557 * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
9558
d982e46e
JW
9559Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com)
9560
9561 * alias.c (find_base_term): Handle ADDRESSOF.
9562 (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
9563
212d447c
DC
95642000-09-10 Denis Chertykov <denisc@overta.ru>
9565
9566 * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
9567 outputting templates with many lines.
9568
a746dbf5
SC
95692000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9570
9571 * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
9572 to decide whether 64-bit support must be generated.
9573
1d0f6d89
RH
95742000-09-10 Richard Henderson <rth@cygnus.com>
9575
9576 * c-parse.in (asm patterns): Fix volatile check.
9577
e1aa5140
KG
95782000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9579
9580 * cppmacro.c (check_trad_stringification): New function.
9581 (save_expansion): If -Wtraditional, warn about stringification of
9582 macro arguments.
9583
afa1738b
MH
95842000-09-11 Michael Hayes <mhayes@cygnus.com>
9585
9586 * loop.h (struct loop_mem_info): Move from loop.c
9587 (struct loop_info): Add fields store_mems, mems, mems_idx,
9588 mems_allocated, unknown_address_altered,
9589 unknown_constant_address_altered, num_mem_sets, and
9590 first_loop_store_insn.
9591
9592 * loop.c (loop_store_mems): Replace with field in loop_info struct.
9593 (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
9594 (unknown_address_altered, unknown_constant_address_altered): Likewise.
9595 (num_mem_sets): Likewise.
dd745546 9596 (replace_loop_mems, replace_loop_regs): New.
afa1738b
MH
9597 (struct loop_replace_args): New.
9598 (load_mems): Use replace_loop_mems.
9599 (try_copy_prop): Use replace_loop_regs.
9600 (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
9601
63883fc3
SC
96022000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9603
9604 * configure.in: Recognize m6811-elf and m6812-elf.
9605 * configure: Regenerate.
9606
808788fe
GK
96072000-09-09 Geoff Keating <geoffk@cygnus.com>
9608
9609 * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
9610 to operand_subword.
9611
02055ad6
MH
96122000-09-10 Michael Hayes <mhayes@cygnus.com>
9613
9614 * loop.c (struct movables): New.
9615 (num_movables): Move into struct movables.
9616 (the_movables): Change type to struct movables.
9617 (ignore_some_movables): Change struct movable arg to struct movables.
dd745546 9618 (force_movables, combine_movables, regs_match_p): Likewise.
02055ad6
MH
9619 (rtx_equal_for_loop_p, move_movables): Likewise.
9620 (scan_loop): Change movables to be of type struct movables.
9621 Replace last_movable with field in movables structure.
9622
ae54392b
ZW
96232000-09-08 Zack Weinberg <zack@wolery.cumb.org>
9624
9625 * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
9626 (init_pragma): Avoid warning if pfile happens to be unused.
9627 * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never
9628 define init_pragma to nothing. Always prototype
9629 init_pragma. Prototype dispatch_pragma if !USE_CPPLIB.
9630
9631 * c-lex.c (process_directive): Always call dispatch_pragma.
9632 Initialize entering_c_header to 0.
9633
385c9217
SC
96342000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9635
9636 * config/m68hc11/m68hc11.md: New file, machine description for
9637 68HC11 & 68HC12.
9638 * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
9639 * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
9640 * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
9641 * config/m68hc11/m68hc11-protos.h: New file.
9642 * config/m68hc11/m68hc11-crt0.S: New file, startup code.
9643 * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
9644 * config/m68hc11/xm-m68hc11.h: New file, target defs.
9645 * config/m68hc11/larith.asm: New file, libgcc routines.
9646
dfaf3cdb
SC
96472000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9648
9649 * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
9650 (FPBIT_FUNCS): Add _usi_to_sf.
9651 * config/fp-bit.c (usi_to_float): New function.
9652 * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
9653 (usi_to_float): Add appropriate #define.
9654
915119a5
BS
96552000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9656
9657 * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
9658 new functions.
9659 * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
9660 * i386.md (attr "type"): Add sse and mmx types.
9661 (attr "memory"): Handle them without a crash.
9662 (movsi_1, movdi_2): Allow MMX regs.
9663 (movdi splits): Don't split moves involving MMX regs.
9664 (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
9665 (movv4sf_internal, movv4si_internal, movv8qi_internal,
9666 movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
9667 movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
9668 sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
9669 sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
9670 sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
9671 addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
9672 divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
9673 sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
dd745546
AJ
9674 sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
9675 vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
915119a5
BS
9676 smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
9677 cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
9678 addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
9679 subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
9680 mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
9681 mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
9682 mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
9683 eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
9684 smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
9685 lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
9686 mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
9687 mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
9688 mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
9689 mmx_clrdi): New patterns.
9690
8e49e00a
RE
96912000-09-08 Richard Earnshaw <rearnsha@arm.com>
9692
9693 * arm.c: Don't include tm.h directly.
9694
bd5621a3
JH
9695Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz>
9696
9697 * recog.c (validate_replace_rtx_1): Fix confusion about equality
9698 testing; simplify subregs of constants and nested subregs.
e65d02cf 9699
6b3783de
AO
97002000-09-08 Alexandre Oliva <aoliva@redhat.com>
9701
9702 * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
9703
82be40f7
BS
97042000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9705
9706 * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
9707 VEC_CONCAT.
9af354b7
BS
9708 * rtl.texi (description of USE): Add note about possible pitfalls
9709 with this rtx.
ce701d1b
BS
9710 From Richard Henderson:
9711 * reload1.c (choose_reload_regs): Compute need_mode properly.
82be40f7 9712
4287b5f1
RH
97132000-09-07 Richard Henderson <rth@cygnus.com>
9714
9715 * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
9716 (__modsi3, __umodsi3): Likewise.
9717 (__udivsi3): Likewise. Normalize the TFmode values.
9718
c5d71f39
GK
97192000-09-07 Geoff Keating <geoffk@cygnus.com>
9720
9721 * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
9722 with a prototype.
9723 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
9724 warning.
9725
712646d0
R
9726Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9727
9728 * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
9729 (cmpeqdi_t): Add output pattern.
9730 (cmpeqdi_t+1): Don't split when not optimizing.
9731 Restore proper splitting operation.
9732
30acbc3e
RH
97332000-09-07 Richard Henderson <rth@cygnus.com>
9734
9735 * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
9736 do not call dispatch_pragma.
9737
46146529
JW
97382000-09-07 Jim Wilson <wilson@cygnus.com>
9739
9740 * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
9741 to CLASS_CANNOT_CHANGE_MODE.
9742 * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
9743 mode classes are different.
9744
6db83155
ZW
97452000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9746
9747 * cpplib.h (struct cpp_options): Add user_label_prefix member,
9748 left out of commit which removed cppulp.c.
9749
0d45144b
RH
97502000-09-07 Richard Henderson <rth@cygnus.com>
9751
9752 * bb-reorder.c (fixup_reorder_chain): Add jump in new block
9753 after switch for CASE_DROPS_THROUGH.
9754
e8cb4873
RH
97552000-09-07 Richard Henderson <rth@cygnus.com>
9756
9757 * loop.c (strength_reduce): Call check_ext_dependant_givs.
9758 Properly extend the biv initial value for the giv.
9759 (record_biv): Zero ext_dependant.
9760 (record_giv): New argument ext_val. Update all callers.
9761 (general_induction_var): Likewise.
9762 (consec_sets_giv): Likewise.
9763 (simplify_giv_expr): Likewise. Fill in ext_val if we find
9764 a sign-extend, zero-extend, or truncate.
9765 (combine_givs_p): Make sure modes are compatible.
9766 (check_ext_dependant_givs): New.
9767 (extend_value_for_giv): New.
9768 * loop.h (struct induction): Add ext_dependant.
9769 * unroll.c (iteration_info): Extend the biv initial value for the giv.
9770 (find_splittable_givs): Likewise.
9771 (final_giv_value): Likewise.
9772
8b97c5f8
ZW
97732000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9774
9775 * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
9776 REGISTER_TARGET_PRAGMAS is defined. Duplicate some
9777 definitions from cpplib.h.
9778 * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
9779 already done it.
9780 * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add
9781 documentation for REGISTER_TARGET_PRAGMAS.
9782
9783 * c-lex.c: Include cpplib.h before c-pragma.h. Define a
9784 default-pragma callback to implement -Wunknown-pragmas if
9785 USE_CPPLIB.
9786 * c-parse.in: Move all includes to top of file.
9787 * c-pragma.c: Include cpplib.h before c-pragma.h. Include
9788 tm_p.h.
9789 (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
9790 warning.
9791 (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
9792
9793 * arm.h, arm-protos.h, arm.c,
9794 c4x.h, c4x-protos.h, c4x.c,
9795 h8300.h, h8300-protos.h, h8300.c,
9796 i370.h, i370-protos.h, i370.c,
9797 i960.h, i960-protos.h, i960.c,
d8ea8f28 9798 sh.h, sh-protos.h, sh.c,
8b97c5f8
ZW
9799 v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
9800 pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
9801
9802 * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add
9803 multiple include guard.
9804 * i370.md (untyped_call): Use GEN_CALL.
9805 (umodsi3): Remove unused variable.
9806 * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
9807 * v850.c (output_move_single, output_move_double): Constify
9808 return value.
9809 (print_operand): Constify a char *.
9810 * v850.h (struct small_memory_info): Constify name member.
9811
1898584f
KH
98122000-09-07 Kazu Hirata <kazu@hxi.com>
9813
9814 * config/h8300.h: Fix comment typos.
9815 * config/h8300/h8300.md: Likewise.
9816 * config/h8300/lib1funcs.asm: Likewise.
9817
771c4df3
NB
9818Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net>
9819
9820 * Makefile.in: Remove references to cppulp.{c,o}.
9821 * cppinit.c (initialize_builtins, cpp_start_read,
9822 cpp_handle_option): Update to use cpp_options structure.
9823 * cppulp.c: Remove.
9824
2496f0b5
JM
98252000-09-07 Joseph S. Myers <jsm28@cam.ac.uk>
9826
9827 * c-common.c (time_char_table): Allow %#b and %#h.
9828
bf6302f0
HB
98292000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9830
9831 * reorg.c (find_end_label): If the basic block reorder pass moves the
9832 return insn to some other place try to locate it again and put our
9833 end_of_function_label there.
9834 * reorg.c (relax_delay_slots): Check if find_end_label created a
9835 new label that invalidates the current optimazation.
9836
4598ffe9
CM
98372000-09-07 Catherine Moore <clm@redhat.com>
9838
e8cb4873
RH
9839 * unroll.c (unroll_loop): Check for unconditional jumps
9840 to loop continuation. Delete if n_iterations is 1.
9841 (ujump_to_loop_cont): New routine.
4598ffe9 9842
ff427764
BS
98432000-09-07 Bernd Schmidt <bernds@redhat.co.uk>
9844
9845 * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
9846 MODE_VECTOR_FLOAT.
8441bc30
BS
9847 * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
9848 to handle multiword modes correctly. All callers and the declaration
9849 changed.
d8ea8f28 9850
54f7877c
MM
98512000-09-06 Mark Mitchell <mark@codesourcery.com>
9852
9853 * c-common.h (prep_stmt): Declare.
9854 (lang_expand_stmt): Likewise.
9855 * c-decl.c (lang_expand_stmt): Remove.
9856 * c-semantics.c (lang_expand_stmt): Define.
9857 (prep_stmt): New function.
9858 (expand_stmt): Handle common statement types here.
d8ea8f28 9859
93ca1662
NY
98602000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
9861
9862 * configure.in (sh-*-linux*): Added.
9863 * configure: Rebuilt.
9864 * config/sh/t-linux: New file.
9865 * config/sh/sh.h (USERMODE_BIT): Define.
9866 (TARGET_USERMODE): Likewise.
9867 (TARGET_SWITCHES): New switches for the bits above.
9868 (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
9869 * config/sh/linux.h: New file.
9870 * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
9871 underscore on linux.
9872 (L_sdivsi3, L_udivsi3): Define for linux.
9873 (L_ic_invalidate): Define.
9874 * invoke.texi (SH Options): Document -musermode.
9875
71105114
AO
98762000-09-07 Alexandre Oliva <aoliva@redhat.com>
9877
4979c2a9
AO
9878 * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
9879 CSE unless generating PIC.
9880
71105114
AO
9881 * config/sh/sh.md (symPLT_label2reg): Force the initialization of
9882 the PIC register.
9883
d5cfb451
L
98842000-09-06 H.J. Lu (hjl@gnu.org)
9885
9886 * Makefile.in (clean_s1): Depend on stage_b.
9887 (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
9888 stage2. They are used for "make compare".
9889
ae499cce
MM
98902000-09-06 Mark Mitchell <mark@codesourcery.com>
9891
9892 Move statement-tree facilities from C++ to C front-end.
9893 * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
9894 (void_zero_node): New macro.
9895 (struct stmt_tree_s): New type.
9896 (stmt_tree): New typedef.
9897 (struct language_function): New type.
9898 (last_tree): New macro.
9899 (last_expr_type): Likewise.
9900 (walk_tree_fn): New typedef.
9901 (current_stmt_tree): New function.
9902 (begin_stmt_tree): Likewise.
9903 (add_stmt): Likewise.
9904 (finish_stmt_tree): Likewise.
9905 (statement_code_p): Likewise.
9906 (lang_statement_code_p): New variable.
9907 (walk_stmt_tree): New function.
9908 (STMT_IS_FULL_EXPR_P): New macro.
9909 * c-common.c (lang_statement_code_p): New variable.
9910 (c_common_nodes_and_builtins): Initialize void_zero_node.
9911 (statement_code_p): New function.
9912 (walk_stmt_tree): Likewise.
9913 * c-decl.c (language_function): Rename to ...
9914 (c_language_function): ... this. Include language_function.
9915 (push_c_function_context): Adjust accordingly.
9916 (pop_c_function_context): Likewise.
9917 (mark_c_function_context): Likewise.
9918 (current_stmt_tree): Define.
9919 * c-semantics.c (begin_stmt_tree): New function.
9920 (add_stmt): Likewise.
9921 (prune_unused_decls): Likewise.
9922 (finish_stmt_tree): Likewise.
9923
4f4b88d0
HB
99242000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9925
e8cb4873 9926 * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
4f4b88d0 9927
f725a3ec
KH
99282000-09-06 Kazu Hirata <kazu@hxi.com>
9929
9930 * calls.c: Fix formatting.
9931
0806f95f
GS
99322000-09-06 Graham Stott <grahams@cygnus.co.uk>
9933
e8cb4873 9934 * config/i386/i386.h (ADDRESS_COST): Fix typo.
0806f95f 9935
0e5921e8
ZW
99362000-09-06 Zack Weinberg <zack@wolery.cumb.org>
9937
9938 Integrated preprocessor.
9939
9940 * Makefile.in: Remove all references to c-parse.gperf,
9941 c-gperf.h, and c-parse.h. Remove -d from yacc command line
9942 generating c-parse.c. Update dependencies.
9943 * c-parse.gperf, c-gperf.h: Delete.
9944
9945 * c-common.c: Don't define parse_options, cpp_token, yy_cur,
9946 yy_lim, or yy_get_token. Don't define get_directive_line if
9947 USE_CPPLIB.
9948 * c-common.h: Add multiple include guard. Define RID values
9949 for every keyword in C, C++, and Objective C. Put all the
9950 modifiers first.
9951 (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
9952 * c-decl.c (c_decode_option): Handle -lang-objc here.
9953 (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
9954 (grokdeclarator): Adjust for new RID scheme.
9955 (extract_interface_info): New stub.
9956 * c-lang.c: Don't declare yy_cur or parse_options.
9957 (lang_init_options): Call cpp_init. Don't call
9958 cpp_options_init.
9959 (lang_init): Don't call check_newline if USE_CPPLIB.
9960
9961 * c-lex.c: Don't include c-parse.h. Do include timevar.h.
9962 Elide lots of unnecessary code if USE_CPPLIB. Delete code
9963 rendered unnecessary by new architecture. Move routines not
9964 shared with C++ to c-parse.in. Maintain a local idea of the
9965 line number. Handle C++ as well as C.
9966 [USE_CPPLIB]: Declare and register callbacks for #ident and
9967 for entering/leaving files.
9968 (init_c_lex, c_lex): Are now the entry points to this file.
9969 (check_newline): Break out directive handling to
9970 process_directive.
9971 (read_ucs, is_extended_char, utf8_extend_token): Moved here
9972 from C++ front end.
9973 (readescape, parse_float): Overhaul.
9974 (lex_number, lex_string, lex_charconst): Break out of c_lex
9975 (n'ee yylex).
9976 (get_fileinfo, update_header_times, dump_one_header,
9977 dump_time_statistics): New and/or moved here from C++.
9978 Support per-file data needed by C++ and per-header timing
9979 statistics (C++ only, at the moment).
9980 * c-lex.h: Update prototypes. Add multiple include guard.
9981 * c-tree.h (struct lang_identifier): Add rid_code field.
9982 (C_IS_RESERVED_WORD, C_RID_CODE): New.
9983
9984 * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
9985 reinit_parse_for_function and/or position_after_white_space.
9986 (save_filename, save_lineno): Look ahead before saving.
9987 (label -> identifier ':'): Save file and line before shifting ':'.
9988 (reservedwords): No need to call get_identifier.
9989 (init_parse, finish_parse, yyerror, yylex, yyprint,
9990 make_pointer_declarator): Are now here for C/ObjC.
9991 (rid_to_yy): Conversion table from RID constants to Yacc codes.
9992
9993 * c-pragma.c: Rewrite parsing logic to fit with cpplib's
9994 #pragma registry. Provide dummy implementation of that
9995 interface if !USE_CPPLIB.
9996 * c-pragma.h: Update to match.
9997
9998 * flags.h: Add multiple include guard.
9999 (flag_detailed_statistics): Moved here from C++.
10000 * toplev.c: Define flag_detailed_statistics.
10001
10002 * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
10003 #if USE_CPPLIB.
10004 * timevar.def (TV_CPP, TV_LEX): New.
10005 * timevar.h: Add multiple include guard.
10006
10007 * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
10008 #if USE_CPPLIB.
10009 * objc/objc-act.c: Don't mention yy_cur or parse_options.
10010 Initialize cpplib properly. Force lineno to 0 after first
10011 call to check_newline. Don't handle -lang-objc here.
10012 Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
10013
5638268e
DE
100142000-09-06 David Edelsohn <edelsohn@gnu.org>
10015
10016 * rs6000.md: Correct function unit definitions for cr_logical and
10017 mtjmpr.
10018 (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
10019 and use portable method for >=0 and floating point >=. Remove
10020 associated matchers.
10021
44835fdd
MM
100222000-09-06 Mark Mitchell <mark@codesourcery.com>
10023
10024 * extend.texi: Mark named return value extension as deprecated.
10025
bab6226b
GK
100262000-09-06 Geoff Keating <geoffk@cygnus.com>
10027
10028 * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
10029 the result.
10030
e6513023
GDR
100312000-09-06 Gabriel Dos Reis <gdr@codesourcery.com>
10032
10033 * toplev.c (display_help): Fix thinko in documentation.
10034
10035 * diagnostic.h (output_buffer::indent_skip): New fields.
10036 (output_indentation): New macro.
10037
10038 * diagnostic.c (output_indent): New function.
10039 (output_set_prefix, clear_diagnostic_info): Use.
10040 (output_emit_prefix): Predict future indentation.
10041
112c7aea
DD
100422000-09-06 DJ Delorie <dj@redhat.com>
10043
10044 * Makefile.in (stage_*): add more dependencies to ensure parallel
10045 builds build correctly
10046
1bac0fb4
MH
100472000-09-06 Manfred Hollstein <manfredh@redhat.com>
10048
10049 * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
10050 not bootstrap-lean_f.
10051
f472a17c
AS
100522000-09-06 Andreas Schwab <schwab@suse.de>
10053
10054 * mklibgcc.in: Emit rule for libgcc-stage-start.
10055 * Makefile.in (stage1-start, stage2-start, stage3-start,
10056 stage4-start): Don't handle libgcc here, use libgcc.mk instead.
10057
630c79be 100582000-09-06 Bernd Schmidt <bernds@redhat.co.uk>
611bbf2a
BS
10059
10060 * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
10061 (update_equiv_regs): Likewise, except for the mn10200 kludge.
10062 (combine_regs): Likewise.
10063
630c79be
BS
10064 * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
10065 * cse.c: Include "basic-block.h".
10066 (struct table_elt): New field REGCOST.
10067 (CHEAP_REG): Delete macro.
10068 (COST): Return 0 for REGs.
10069 (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
10070 (notreg_cost): Return 0 for appropriate SUBREGs.
10071 (COSTS_N_INSNS): Return N * 2.
10072 (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
10073 SUBREGs.
10074 (CHEAPER): Use new function preferrable.
10075 (insert): Initialize REGCOST member.
10076 (find_best_addr): Use approx_reg_cost for estimation of register
10077 usage.
10078 (cse_insn): Likewise.
10079 * loop.c (iv_add_mult_cost): New function.
10080 (add_cost, shift_cost, mult_cost): Delete variables.
10081 (init_loop): Don't initialize add_cost; reduce copy_cost by half.
10082 (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
10083 Make code that detects autoinc opportunities slightly less optimistic.
10084 (simplify_giv_expr): If expression contains other reg that is also a
10085 giv, only increment benefit if this is the only use of that reg.
10086 (consec_sets_giv): Take that change into account.
10087 (combine_givs): Slightly more verbose output.
10088
10089 * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
10090 not the cost of an equivalent shift.
10091 * sh-protos.h (addsubcosts): Declare.
10092 * sh.c (addsubcosts): New function.
10093 * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
10094 (RTX_COSTS): Tweak. Use addsubcosts.
10095 (ADDRESS_COST): Return higher cost for reg+reg addressing.
10096
39a10a29
GK
100972000-09-06 Geoff Keating <geoffk@cygnus.com>
10098
10099 * config/rs6000/rs6000.c (validate_condition_mode): New function.
10100 (branch_comparison_operator): Call validate_condition_mode to
10101 abort rather than returning 0.
10102 (branch_positive_comparison_operator): New function.
10103 (scc_comparison_operator): Call validate_condition_mode to abort
10104 rather than returning 0.
10105 (ccr_bit): Call validate_condition_mode. Update for
10106 new branch scheme.
10107 (print_operand): Delete %C modifier. Update %E case
10108 to use EQ bit not SO bit.
10109 (rs6000_reverse_condition): New function.
10110 (rs6000_generate_compare): New function.
10111 (rs6000_emit_sCOND): New function.
10112 (rs6000_emit_cbranch): New function.
10113 (output_cbranch): The length of a long branch insn is
10114 now only 8 bytes. Add validate_condition_mode. Use
10115 rs6000_reverse_condition. Remove cror generation.
bab6226b 10116
39a10a29
GK
10117 * config/rs6000/rs6000.h: Update comments.
10118 (PREDICATE_CODES): Add new predicate. Update codes used
10119 by branch_comparison_operator and scc_comparison_operator.
10120 * config/rs6000/rs6000-protos.h: Add prototypes for
10121 new external functions.
10122 * config/rs6000/rs6000.md: Add new scheduling parameters
10123 for cr_logical instructions. Change length of branch
10124 instructions.
10125 (bCOND patterns): Call rs6000_emit_cbranch.
10126 (sCOND patterns): Call rs6000_emit_sCOND.
10127 (branch patterns): Change lengths to 4.
10128 (cr logical patterns): New.
10129
2a4bbffa
RH
101302000-09-06 Richard Henderson <rth@cygnus.com>
10131
10132 * config/i386/i386.md (call_pop): Fix test for setting
10133 current_function_uses_pic_offset_table.
10134 (call, call_value_pop, call_value): Likewise.
10135
eab828ba
ZW
101362000-09-06 Zack Weinberg <zack@wolery.cumb.org>
10137
10138 * timevar.c (timevar_add): Delete.
10139 (timevar_get): Also count time since the selected timer was
10140 last updated. Do not examine the timevar stack if the
10141 selected timer is standalone.
10142
f1d6a533
DA
101432000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10144
10145 * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
10146
53c5b5d7
JM
101472000-09-05 Jason Merrill <jason@redhat.com>
10148
10149 * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
10150 for 'extern' arrays.
10151
3392dafc
RH
101522000-09-05 Richard Henderson <rth@cygnus.com>
10153
10154 * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
10155 Eliminate final copy from non-trapping case.
10156 (__divdf3, __divsf3): Likewise.
10157
2a7ffc85
RH
101582000-09-05 Richard Henderson <rth@cygnus.com>
10159
10160 * config/ia64/ia64.md (mulhi3): Fix typo last change.
10161 * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
10162
204093e6
DT
101632000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net>
10164
10165 * Makefile.in: Restructure bootstrap stages to allow clean
10166 restart after failure.
10167
514f96e6
RH
101682000-09-05 Richard Henderson <rth@cygnus.com>
10169
10170 * config/ia64.md (movsi and movdi patterns): Allow moves from
10171 8-bit constants to AR registers.
10172
cf1f6ae3
RH
101732000-09-05 Richard Henderson <rth@cygnus.com>
10174
10175 * config/ia64/ia64.md (mulhi3): New.
10176
d8d7a286
RH
101772000-09-05 Richard Henderson <rth@cygnus.com>
10178
10179 * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
10180 * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
10181 Optimization Guide, minimum latency alternative.
10182 (__moddi3, __udivdi3, __umoddi3): Likewise.
10183 (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
10184
a6efbece
BK
101852000-09-05 Bruce Korb <bkorb@gnu.org>
10186
0e5921e8
ZW
10187 * fixinc/fixincl.c (load_file): always read header files
10188 with sizes that are a multiple of the page size.
dc46505a 10189 & use libiberty's getpagesize for determining that.
a6efbece 10190
c0712acb
AO
101912000-09-05 Alexandre Oliva <aoliva@redhat.com>
10192
10193 * gcse.c (hash_string_1): Add prototype.
10194 * cse.c (canon_hash_string): Likewise.
10195
af7f0fde
CN
101962000-09-04 Craig Newell <CraigN@ieee.org>
10197
10198 * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
10199
4993ddc1
AS
102002000-09-04 Andreas Schwab <schwab@suse.de>
10201
10202 * Makefile.in (STAGESTUFF): Remove libgcc.
10203 (stage1-start, stage2-start, stage3-start): Copy the contents of
10204 the libgcc directory explicitly.
10205 (mostlyclean): Clean libgcc.
10206
5e640c56
AH
102072000-09-04 Andrew Haley <aph@redhat.com>
10208
10209 * dwarf2out.c: (stack_adjust_offset): New prototype.
10210
25ffb1f6
JH
10211Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz>
10212
10213 * combine.c (make_extraction): Fix rtx_cost comparison to
10214 match the comment.
10215
10216Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz>
10217
0e5921e8 10218 * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
25ffb1f6
JH
10219 umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
10220 Add '*' to insn pattern name.
10221
29844fa7
JJ
102222000-09-04 Jakub Jelinek <jakub@redhat.com>
10223
10224 * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
10225 use posn - 1 to index into tokens array.
10226 (maybe_paste_with_next): Adjust caller.
10227
0d86f538
GK
102282000-09-03 Geoff Keating <geoffk@cygnus.com>
10229
bff46771
GK
10230 * invoke.texi: Document the -mvxworks option for rs6000 ELF.
10231
0d86f538
GK
10232 * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
10233 (REGNO_REG_CLASS): Use symbolic register
10234 names.
10235
4e67550b
RE
102362000-09-03 Richard Earnshaw <rearnsha@arm.com>
10237
0e5921e8 10238 * arm.c (final_prescan_insn): If the form of a jump insn isn't
4e67550b
RE
10239 recognized, don't try to conditionally execute it.
10240
150f4100
DC
10241Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru>
10242
10243 * config/avr/avr.md ("*tablejump_lib"): New pattern.
10244 (call_value_insn): Right length claculation.
10245 (call_insn): Likewise.
10246
5fecfd8d
MM
102472000-09-02 Marek Michalkiewicz <marekm@linux.org.pl>
10248
10249 * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
10250 gas_output_limited_string, gas_output_ascii, output_movqi,
10251 output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
10252 out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
10253 out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
10254 ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
10255 lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
10256 out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
10257 Add "const" as needed to remove warnings.
10258
10259 * config/avr/avr.c (avr_override_options, avr_init_once,
10260 function_prologue, function_epilogue, frame_pointer_required_p,
10261 class_likely_spilled_p, order_regs_for_local_alloc,
10262 avr_address_cost, avr_ret_register): Use K&R style arguments.
10263 (initial_elimination_offset, gas_output_limited_string):
10264 Remove ATTRIBUTE_UNUSED from the used arguments.
10265 (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
10266 Use local variables src, dest, base to access operands[].
10267 Rename reg_dest to reg_src if that's what it is.
10268 (output_movhi, output_movsisf): Optimize loading 8-bit immediate
10269 constants to LD_REGS if reg_was_0.
10270 (output_reload_insisf): Change arg 3 to insn length and set it.
10271 (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
10272 access to 16-bit I/O register pairs.
10273 (avr_address_cost): Lower cost for the above case.
10274 (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
10275 may be clobbered, also for LD_REGS.
10276 (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
10277 with a CONST_INT.
10278
10279 * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
10280
10281 * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
10282 macro to test_hard_reg_class function.
10283 (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
10284 for loading immediate constants to LD_REGS.
10285 (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
10286
10287
bad3869a
MM
10288Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10289
10290 * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
10291 * config/avr/libgcc.S: Lost part of the previous patch.
10292
802a8181
DA
102932000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10294
10295 * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
10296 object before calling pthread_mutex_init.
10297
1a66cd67
AO
102982000-09-02 Alexandre Oliva <aoliva@redhat.com>
10299
10300 * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
10301 config/sh/crtn.asm: New files.
10302 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
10303 (crt1.o, crti.o, crtn.o): New targets.
10304 * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
10305 sh/t-elf.
10306 * configure: Rebuilt.
10307 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
10308 STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
10309 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
10310 Undefine for config/elfos.h to redefine.
10311 (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
10312
103132000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
10314
10315 * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
10316 legitimize_pic_address, output_pic_addr_const): Declare.
10317 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
10318 (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
10319 (TARGET_SWITCHES): New switch -mprefergot.
10320 (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
10321 (PIC_OFFSET_TABLE_REGNUM): Define.
10322 (GOT_SYMBOL_TABLE): Likewise.
10323 (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
10324 (ENCODE_SECTION_INFO): Define.
10325 (FINALIZE_PIC): New macros.
10326 (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
10327 (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
10328 * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
10329 (prepare_move_operands): Call emit_pic_move or
10330 emit_pic_const_move if appropriate.
10331 (output_far_jump): For PIC, use braf and output long offset.
0e5921e8 10332 (machine_dependent_reorg):
1a66cd67
AO
10333 (sh_expand_prologue): Save and initialize the PIC register.
10334 (sh_expand_epilogue): Restore it.
10335 (initial_elimination_offset): Account for it.
10336 (nonpic_symbol_mentioned_p): New function.
10337 (legitimize_pic_address): Likewise.
10338 (output_pic_addr_const): Likewise.
10339 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
10340 (call, call_value): Use them.
10341 (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
10342 symPLT_label2reg): New expands.
10343 * invoke.texi (SH Options): Document -mprefergot.
10344
6462bb43
AO
103452000-09-01 Alexandre Oliva <aoliva@redhat.com>
10346
10347 * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
10348 * gcse.c (hash_string_1): New function.
10349 (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
10350 (expr_equiv_p) <ASM_OPERANDS>: Likewise.
10351 * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
10352 (canon_hash_string): New function.
10353 (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
10354 (exp_equiv_p) <ASM_OPERANDS>: Likewise.
10355 (fold_rtx): Use ASM_OPERANDS accessor macros.
10356 * emit-rtl.c (copy_insn_1): Likewise.
10357 * integrate.c (copy_rtx_and_substitute): Likewise.
10358 * stmt.c (expand_asm_operands): Likewise. Give an
10359 ASM_OPERANDS rtx the mode of the output reg being set from it.
10360
1b4f90cd
FF
103612000-09-01 Fred Fish <fnf@be.com>
10362
10363 * fix-header.c (write_rbrac): Add putc and getc to list of
10364 functions to protect against prior definition as a macro.
0e5921e8 10365
3c786c69
JM
103662000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
10367
10368 * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
10369 (c_size_type_node): Define.
10370 * c-decl.c (init_decl_processing): Initialize c_size_type_node.
10371 * c-common.c (enum format_lengths, enum format_std_version,
10372 format_length_info, format_type_detail, BADLEN, NOLENGTHS,
10373 format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
10374 T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
10375 T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
10376 T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
10377 TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
10378 format_types): Define.
10379 (format_char_info, print_char_table, scan_char_table,
10380 time_char_table): Rearrange for new organization of information
10381 about format length modifiers and standard versions.
10382 (T_ST): Redefine to use c_size_type_node.
10383 (check_format_info): Obtain information about length modifiers and
10384 standard versions from tables. Adjust warning message wordings.
10385 Use the name from the user's program for `ll' and `hh' length
10386 modifiers in warning messages. Use more informative names for
10387 wanted types where available (for wchar_t, wint_t, size_t, signed
10388 size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
10389
8a09bb27
JW
103902000-09-01 Jim Wilson <wilson@cygnus.com>
10391
ca3920ad
JW
10392 * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
10393 * combine.c (distribute_notes): Handle REG_NORETURN.
10394 * rtl.c (reg_note_name): Add REG_NORETURN.
10395 * rtl.h (enum reg_note): Likewise.
10396
10397 * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
10398 ia64_file_start.
10399 * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
10400 (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
10401 (emit_predicate_relation_info): Handle conditional calls with
10402 REG_NORETURN.
10403 * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
10404 instead of ia64_file_start.
10405 * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
10406 * config/ia64/ia64.md (safe_across_calls_all,
10407 save_across_calls_normal): New patterns.
10408
8a09bb27
JW
10409 * loop.c (check_final_value): Check for biv use before checking for
10410 giv use. Check for both biv and giv uses. Always set last_giv_use
10411 if there is a giv use.
10412
11a13704
RH
104132000-09-01 Richard Henderson <rth@cygnus.com>
10414
10415 * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
10416 (madddi3): Likewise.
10417 (maddsi3): New.
10418
6324d2bb
RK
10419Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10420
fcf1b822
RK
10421 * expr.c (clear_storage): Don't use emit_move_insn unless
10422 either BLKmode or proper size.
10423 (store_constructor): Don't call clear_storage if REG of wrong size.
10424
6324d2bb
RK
10425 * flow.c (init_propagate_block_info): Don't mark frame dead at end
10426 of function if returns wiht stack pointer depressed.
10427
1ba5ae8f
AH
104282000-09-01 Andrew Haley <aph@redhat.com>
10429
0e5921e8
ZW
10430 * dwarf2out.c (stack_adjust_offset): New function.
10431 (dwarf2out_stack_adjust): Break out stack adjust logic into
10432 new stack_adjust_offset function. Look inside parallels and
10433 sequences for stack adjustments.
1ba5ae8f 10434
893f3d5b
JL
104352000-08-31 Jeff Law <law@cygnus.com>
10436
94c51f7a
JL
10437 * arm.md: Use no_new_pseudos to determine when it is safe
10438 to create new pseudo registers.
10439
0e5921e8
ZW
10440 * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
10441 when we can safely allocate new registers.
893f3d5b 10442
1b3d8f8a
GK
104432000-08-31 Geoffrey Keating <geoffk@cygnus.com>
10444
10445 * stmt.c (expand_asm_operands): Twiddle generating_concat_p
10446 so that CONCATs are not generated for ASMs.
10447 * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
10448 not generating_concat_p.
10449 * function.c (pop_function_context_from): Reset
10450 generating_concat_p.
10451 (prepare_function_start): Likewise.
10452 * rtl.c (generating_concat_p): Define.
10453 * rtl.h (generating_concat_p): Declare.
10454 * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
10455
4e8bd75f 104562000-08-22 Philipp Thomas <pthomas@suse.de>
0e5921e8 10457 Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
4e8bd75f
PT
10458
10459 * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
10460 for translation.
10461
b145ee27
GM
104622000-08-30 Greg McGary <greg@mcgary.org>
10463
10464 * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
10465 * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
10466 * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
10467
2afaa41c
GM
104682000-08-30 Greg McGary <greg@mcgary.org>
10469
10470 * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
10471 (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
10472 (TREE_INT_CST): New macro.
10473 * varasm.c (const_hash, compare_constant_1, record_constant_1):
10474 Use new macro TREE_INT_CST.
10475
1d92b3e1
NB
10476Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net>
10477
10478 * contrib.texi: Add self.
10479
b23ca156
AO
104802000-08-30 Alexandre Oliva <aoliva@redhat.com>
10481
10482 * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
10483 (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
10484 and labels.
10485
aef9fbbf
DA
104862000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10487
10488 * fixinc/gnu-regex.c: Don't define `const'.
10489
85f3d674
RK
10490Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10491
10492 * expr.c (store_constructor): Allow variable bounds of array type.
10493 (expand_expr): Don't blow up if type is ERROR_MARK.
10494 * varasm.c (output_constructor): Don't access lower bound of array
10495 type unless need it if index is supplied (so it can be a variable
10496 if no index is supplied).
10497 Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
10498 Other minor cleanups.
10499
5b67ad6f
DA
105002000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10501
10502 * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
10503 for compilations in stage 1 and subsequent stages, respectively.
10504 * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
10505 * configure: Rebuilt.
10506 * x-vax, x-vax-gcc: Deleted.
10507
63ad61ed
ZW
105082000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10509
10510 * c-common.c (declare_function_name): Use func_id_node,
10511 function_id_node, and pretty_function_id_node. Do not make
0e5921e8 10512 __func__ visible at file scope.
63ad61ed
ZW
10513 * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
10514 CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
10515 (function_id_node, pretty_function_id_node, func_id_node): New
10516 macros.
10517 * c-decl.c (init_decl_processing): Initialize function_id_node,
10518 pretty_function_id_node, and func_id_node.
10519 (c_make_fname_decl): Correct comment.
10520
10521 * tree.h (struct tree_identifier): Constify pointer member.
10522
10523 * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
10524 * c-pragma.h (struct weak_syms): Constify name and value members.
0e5921e8 10525 (add_weak): Constify arguments.
63ad61ed
ZW
10526
10527 * calls.c (special_function_p): Constify a char *.
10528 (expand_call): Remove variable which is initialized and then
10529 never used.
10530 * dependence.c (struct def_use, struct induction, struct subscript):
10531 Constify 'variable' member.
10532 (get_low_bound, have_induction_variable): Constify char * argument.
10533 (find_induction_variable): Add braces to avoid dangling else.
10534 (classify_dependence): Constify char * arrays.
10535 * profile.c (output_func_start_profiler): Constify a char *.
10536 * stor-layout.c (finalize_record_size): Constify a char *.
10537 * tree.c (is_attribute_p): Constify a char *.
10538 * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
10539
10540 * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
10541 for comprehensibility. Do not call get_identifier if we did
10542 not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to
10543 create temporary string constants, not ggc_alloc_string. No
10544 need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const
10545 char * to hold IDENTIFIER_POINTERs.
10546
cee58bc0
RH
105472000-08-29 Richard Henderson <rth@cygnus.com>
10548
10549 * config/ia64/ia64.md (muldi3): Use grfr_register_operand
10550 for the inputs.
10551
94aaab7a
RH
105522000-08-29 Richard Henderson <rth@cygnus.com>
10553
10554 * reload.c (push_secondary_reload): Allow class == reload_class
10555 if we're using a reload_in/out pattern.
10556
60a3c181
RH
10557 * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use
10558 the half that does not conflict with the reload register.
10559 (reload_outti): Likewise.
10560
9218435e
KH
105612000-08-29 Kazu Hirata <kazu@hxi.com>
10562
4381f7c2
KH
10563 * reload.c: Fix formatting.
10564
10565 * stmt.c: Fix formatting.
10566
9218435e
KH
10567 * gcc.c: Fix formatting.
10568
fba0bfd4
ZW
105692000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10570
10571 * flags.h (time_report, mem_report): New global flags.
10572 * toplev.c: Define time_report and mem_report.
10573 (f_options): Add -ftime-report and -fmem-report.
10574 (compile_file): Turn on time_report if quiet_flag is off.
10575 Call ggc_print_statistics at very end if mem_report is on.
10576 * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
10577
10578 * ggc-common.c (ggc_print_statistics): Rename to
10579 ggc_print_common_statistics; all callers changed. Scale
10580 quantities above 10K to kilobytes and above 10M to megabytes.
10581 * ggc-page.c (ggc_page_print_statistics): Rename to
10582 ggc_print_statistics. Report memory consumed by internal data
10583 structures for each allocation bucket. Scale quantities above
10584 10K to kilobytes and above 10M to megabytes.
10585 * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
10586 Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
10587 Define tally_leaves always.
10588 (ggc_print_statistics): New function.
10589 * ggc.h: Adjust for renamed functions.
10590
612105a6
DC
10591Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru>
10592
10593 * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
10594 output_movsisf instead of which_alternative.
10595
10596 * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
10597
6bec29c9
DC
10598Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
10599
10600 * config/avr/avr-protos.h: (avr_output_ascii) Removed.
10601 (avr_progmem_p): New prototype.
10602 (output_movsisf): Prototype declaration changed.
10603 (output_movqi): New prototype.
10604 (output_movhi): New prototype.
10605 (call_insn_operand): Likewise.
0e5921e8 10606 (final_prescan_insn): Likewise.
6bec29c9
DC
10607 (avr_simplify_comparision_p): Likewise.
10608 (avr_normalize_condition): Likewise.
10609 (compare_eq_p): Likewise.
10610 (out_shift_with_cnt): Likewise.
10611 (const_int_pow2_p): Likewise.
10612 (output_reload_inhi): Prototype declaration changed.
10613
10614 * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
10615 (ldi_reg_rtx): New. rtx for r31.
10616 (avr_init_stack): Initialize as "__stack".
10617 (function_prologue): Use it.
10618 Replace all TARGET_ENHANCED with AVR_ENHANCED.
10619 (avr_mcu_name): Initialize as "avr2".
10620 (avr_enhanced_p, avr_mega_p): New variables.
10621 (mcu_types, avr_override_options): Handle all known MCU types.
10622 Also handle avr1 (only preprocess, assemble and link).
10623 (print_operand): Using of `%K' in output template removed.
10624 (out_movqi_r_mr): Optimized.
10625 (out_movhi_r_mr): Likewise.
10626 (output_movqi): New function.
10627 (output_movhi): Likewise.
10628 (out_movsi_r_mr): Optimized.
10629 (output_movsisf): Compute insn length for `adjust_insn_length'
10630 (out_movqi_mr_r): Optimized.
10631 (out_movhi_mr_r): Optimized.
10632 (adjust_insn_length): Use output_movsisf, output_movqi,
10633 output_movhi for insn length adjusting.
10634 (reg_unused_after): Use dead_or_set_p.
10635 (preferred_reload_class): Now havn't any restriction.
10636 (reg_was_0): New function.
10637 (io_address_p): Likewise.
10638 (const_int_pow2_p): Likewise.
10639 (output_reload_inhi): Likewise.
10640 (output_reload_insisf): Likewise.
10641
10642 * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
10643 (LIB_SPEC): Use -lc for all supported devices.
10644 (LIBGCC_SPEC): Use -lgcc for all supported devices.
10645 (AVR_MEGA): Define as avr_mega_p.
10646 (AVR_ENHANCED): New, define as avr_enhanced_p.
10647 (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
10648 (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
10649 (CRT_BINUTILS_SPECS): Handle all known MCU types.
10650 Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
10651 (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
10652 (ASM_SPEC): Pass -mmcu=... to the assembler.
10653 Change all -DAVR_* to -D__AVR_*__.
10654 (INIT_TARGET_OPTABS), config/avr/libgcc.S:
10655 Rename library functions to start with two underscores.
10656 (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
10657 alignment.
10658 (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
10659 (SUPPORTS_WEAK): Likewise.
10660 (LDI_REG_REGNO): New. Register r31 will be used as temporary
10661 register for loading constants to r0-r14.
10662
10663 * config/avr/avr.md: Replace all TARGET_ENHANCED with
10664 AVR_ENHANCED.
10665 (*mov_r_sp): Removed. Handled by output_movhi.
10666 (*mov_sp_r): Likewise.
10667 (*mov_sp_r_no_interrupts): Likewise
10668 (*mov_sp_r_tiny): Likewise.
10669 (*movqi): Use output_movqi.
10670 (*reload_inqi): New.
10671 (*movhi): Use output_movhi.
10672 (*reload_inhi): New.
10673 (*negsi2): Optimized.
10674 (*negsf2): Likewise.
10675 Added peepholes (define_peephole2) for loading constants to r0-r14
10676 and for using `cpse' command.
10677
10678 * config/avr/libgcc.S: Rename library functions to start with two
10679 underscores.
10680 Add support for enhanced core.
10681 (_moqhi3): Fix typo, now _modqi3.
10682 (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
10683 (__prologue_saves__): Remove test for stack adjust by 0.
10684 (__tablejump__): New.
10685
10686 * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
10687 Add multilib support.
10688
20bd7bfa
JW
10689Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com)
10690
10691 * loop.c (prescan_loop): Don't check unknown_address_altered
10692 when deciding if insert_loop_mem is safe. Add BLKmode MEMs
10693 to loop_store_mems as necessary.
10694 (loop_invariant_p): Don't check unknown_address_altered
10695 or unknown_constant_address_altered.
10696
76f941a8
DA
106972000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10698
10699 * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
10700
2c8f0515
ZW
107012000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10702
10703 * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
10704 print just the filename.
10705 * cpplex.c (_cpp_run_directive): Add additional argument, the
10706 name to give the synthetic buffer. This defaults to
10707 translated "<command line>".
10708 * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
10709 Adjust to match.
10710 (_cpp_define_builtin): New function.
10711 * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
10712 * cpphash.h: Update prototypes.
10713
10714 * tradcpp.c (main): Process -D and -U simultaneously, in the
10715 order they appeared on the command line.
10716
6ad79f1b
KG
107172000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10718
10719 * c-decl.c (define_label): Call warning_with_file_and_line and
10720 error_with_file_and_line instead of plain warning or error.
10721
10722 * c-parse.in (label): Use save_filename/save_lineno to ensure
10723 correct values for calls to define_label.
10724
4361b41d
MM
107252000-08-29 Mark Mitchell <mark@codesourcery.com>
10726
10727 * calls.c (expand_call): Don't create a VAR_DECL just to throw it
10728 away.
10729 * expr.c (expand_expr, case TARGET_EXPR): Don't call
10730 mark_addressable.
10731 * tree.h (get_file_function_name): Remove two duplicate
10732 declarations.
10733
abf9af02
KH
107342000-08-28 Kazu Hirata <kazu@hxi.com>
10735
dc478a5d
KH
10736 * tree.c: Fix formatting.
10737
abf9af02
KH
10738 * xcoffout.c: Fix formatting.
10739
5f632b5e
JM
107402000-08-28 Jason Merrill <jason@redhat.com>
10741
10742 * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
10743
107442000-08-28 Daniel Berlin <dberlin@redhat.com>
10745
10746 * dwarf2out.c (dwarf2out_finish): Don't bother calling
10747 break_out_includes if it won't do anything.
10748
38323cc3
RH
107492000-08-28 Richard Henderson <rth@cygnus.com>
10750
10751 * reload.c (push_secondary_reload): Revert 2000-08-16 change.
10752 (find_reloads): Likewise.
10753 * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
10754 (reload_inhi): Likewise.
10755
e1ff012c
RH
107562000-08-28 Richard Henderson <rth@cygnus.com>
10757
10758 * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
10759 (call_insn_operand): Don't expect a surrounding mem.
10760 (constant_call_address_operand): Likewise.
10761 * config/i386/i386.h (PREDICATE_CODES): Update.
10762 * config/i386/i386.md (call patterns): Move the match_operand
10763 for the call destination inside the mem.
10764
c2cba7a9
RH
107652000-08-28 Richard Henderson <rth@cygnus.com>
10766
10767 * local-alloc.c (requires_inout): Don't use reserved range for
10768 EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
10769 * recog.c (asm_operand_ok): Likewise.
10770 (preprocess_constraints, constrain_operands): Likewise.
10771 * regclass.c (record_reg_classes): Likewise.
10772 * reload.c (find_reloads): Likewise.
10773 * reload1.c (maybe_fix_stack_asms): Likewise.
10774 (reload_cse_simplify_operands): Likewise.
10775 * stmt.c (expand_asm_operands): Likewise.
10776
10777 * md.texi: Update constraints documentation.
10778 * tm.texi (EXTRA_CONSTRAINT): Update.
10779
5f632b5e
JM
107802000-08-28 Daniel Berlin <dberlin@redhat.com>
10781
10782 * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
10783 (print_die): If we don't know the offset of the
10784 target die, try the symbol. Add a trailing newline.
10785 (reverse_all_dies): New fn.
10786 (dwarf2out_finish): Call it.
10787 (break_out_includes): Reorganize for clarity.
10788 (add_sibling_attributes): Don't call reverse_die_lists.
10789 (output_comp_unit): Rename from output_comdat_comp_unit. Use for
10790 primary CU, too.
10791 * flags.h: Add flag_eliminate_dwarf2_dups.
10792 * toplev.c (f_options): Support -feliminate-dwarf2-dups.
10793
5de0e8d4
JM
107942000-08-28 Jason Merrill <jason@redhat.com>
10795
5f632b5e
JM
10796 * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
10797 * dwarf2out.c: #include "md5.h".
10798 (DIE_LABEL_PREFIX): New macro.
10799 (dw_val_struct): Add 'external' flag to val_die_ref.
10800 (add_AT_die_ref, AT_ref): Adjust.
10801 (AT_ref_external, set_AT_ref_external): New fns.
10802 (build_abbrev_table): Call set_AT_ref_external.
10803 (value_format): Call AT_ref_external.
10804 (die_struct): Add die_symbol field.
10805 (new_die): Clear it.
10806 (dwarf_tag_name): Handle BINCL/EINCL.
10807 (dwarf2out_start_source_file): Add BINCL DIE.
10808 (dwarf2out_end_source_file): Add EINCL DIE.
10809 (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
10810 (loc_checksum, attr_checksum, die_checksum): New fns.
10811 (is_type_die, is_comdat_die, is_symbol_die): New fns.
10812 (compute_section_prefix, assign_symbol_names): New fns.
10813 (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
10814 (output_die): Call output_die_symbol and AT_ref_external.
10815 (output_comdat_comp_unit): New fn, split out from...
0e5921e8 10816 (dwarf2out_finish): ...here. Also call add_sibling_attributes for
5f632b5e
JM
10817 secondary CUs.
10818 (output_pubnames, output_aranges): Abort if we see entries from
10819 secondary CUs.
10820 * toplev.h: Declare file_name_nondirectory.
10821 * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
10822 (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
10823 (debug_start_source_file): Call dwarf2out_start_source_file
10824 regardless of debug verbosity.
10825 (debug_end_source_file): Similarly.
10826 * tree.h: Declare clean_symbol_name.
10827 * tree.c (clean_symbol_name): Split out from...
10828 (get_file_function_name_long): ...here.
10829
5de0e8d4
JM
10830 * dwarf2out.c (new_loc_descr): Use calloc.
10831 (splice_child_die): Remove the die from the right parent.
10832 (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
10833
04324727
RK
10834Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10835
10836 * toplev.c (decode_g_option): Don't give warning for unknown -g
10837 option; return 0 instead.
10838 (main): If -g option is not recognized by front end or
10839 language-independent code, give warning.
10840
9e3e266c
GM
108412000-08-28 Greg McGary <greg@mcgary.org>
10842
10843 * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
10844 * config/i386/i386.c (ix86_expand_compare): Remove `static'.
10845 * config/i386/i386.md (trap, conditional_trap): New insn & expand.
10846
a0bff95f
GM
108472000-08-27 Greg McGary <greg@mcgary.org>
10848
10849 * cpplex.c (parse_string): Don't look for backslash
10850 before first char in `namebuf'.
10851 * loop.c (strength_reduce): Skip NOTEs.
10852
edb4c415
JM
108532000-08-27 Jason Merrill <jason@redhat.com>
10854
10855 * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
10856 DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or
10857 TREE_ASM_WRITTEN, either.
10858 (finish_decl): Adjust.
10859
6e88e75c
PT
108602000-08-28 Philipp Thomas <pthomas@suse.de>
10861
10862 * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
10863 they have been incorporated into the gettext CVS. Change the text to
10864 reflect the current status of NLS. Add instructions for accessing
10865 the gettext CVS and add the patch from Martin v. Loewis.
10866
e53ca51f
GK
108672000-08-27 Geoff Keating <geoffk@cygnus.com>
10868
10869 * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
10870 by using gen_lowpart_common.
10871 (movdi_internal64+6): Likewise.
10872
a0a6fdc8
AO
108732000-08-26 Alexandre Oliva <aoliva@redhat.com>
10874
1b2dd04a
AO
10875 * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
10876 Document.
10877
a0a6fdc8
AO
10878 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
10879 numbers to the ranges used by GDB.
10880
26a110f5
RH
108812000-08-25 Richard Henderson <rth@cygnus.com>
10882
10883 * config/ia64/ia64.h (struct machine_function): Add n_varargs.
10884 * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
10885 (ia64_expand_prologue): Likewise.
10886 (ia64_setup_incoming_varargs): Set it. Properly skip the current
10887 argument for stdargs.
10888
ecff20d4
JM
108892000-08-25 Jason Merrill <jason@redhat.com>
10890
10891 * integrate.c (expand_inline_function): Pull out the original decl.
10892
caa511fd
JW
108932000-08-25 Jim Wilson <wilson@cygnus.com>
10894
d51ff7cb
JW
10895 * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
10896
caa511fd
JW
10897 * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
10898
9a56f4f6
GM
108992000-08-25 Greg McGary <greg@mcgary.org>
10900
10901 * flow.c (dump_edge_info): Use ARRAY_SIZE.
10902 * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
10903
31448271
RE
109042000-08-25 Richard Earnshaw <rearnsha@arm.com>
10905
10906 * arm.h (STRUCT_VALUE): Define to 0, not NULL.
10907
b949ea8b
JW
10908Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com)
10909
10910 * i386.c (ix86_find_base_term): New.
10911 * i386-protos.h (ix86_find_base_term): Prototype.
10912 * i386.h (FIND_BASE_TERM): Define.
10913 * alias.c (find_base_term): Use it.
10914 * tm.texi (FIND_BASE_TERM): Document it.
10915
10916 * alias.c (true_dependence, write_dependence_p): Unchanging
10917 memory can't conflict with non-unchanging memory.
10918
10919 * alias.c (memrefs_conflict_p): A BLKmode reference
10920 to a symbol (or CONST_INT address) always conflicts
10921 with a reference to another symbol.
10922
343b7260
JM
109232000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
10924
10925 * c-common.c (time_char_table): Don't allow width and flags with
10926 "z" format.
10927
1f9124e4
JJ
109282000-08-25 Jakub Jelinek <jakub@redhat.com>
10929
10930 * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
10931 way as LT and LTU when the second operand has 0 in low word.
10932
6057c0e6
MH
109332000-08-26 Michael Hayes <mhayes@cygnus.com>
10934
135ebc36
MH
10935 * basic-block.h (struct loop): Rename `exits' field to
10936 `exit_edges'. Add `entry_edges' and `num_entries' fields.
10937
10938 * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
10939 (flow_loop_entry_edges_find): Add.
10940 (flow_edge_list_print): Rename from flow_exits_print.
10941 (flow_loops_find): Call flow_loop_entry_edges_find.
10942 (flow_loop_dump): Dump entry_edges list.
10943 (flow_loops_free): Free entry_edges.
0e5921e8 10944
135ebc36 109452000-08-26 Michael Hayes <mhayes@cygnus.com>
0e5921e8 10946
6057c0e6
MH
10947 * loop.c (loop_dump_aux, debug_loop): New functions.
10948 (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
10949
10950 * flow.c (flow_loops_dump): Add callback parameter.
10951 (flow_loop_dump): Add callback parameter and call it. Move
10952 loop note debugging code to loop_dump_aux.
10953
10954 * basic-block.h (flow_loop_dump): Add callback parameter
10955 (flow_loops_dump): Likewise.
10956
10957 * toplev.c (rest_of_compilation): Add NULL callback function pointer
10958 to call to flow_loops_dump.
0e5921e8 10959
028fc6e7
MH
109602000-08-26 Michael Hayes <mhayes@cygnus.com>
10961
10962 * loop.c (count_loop_regs_set): Replace start and end arguments
10963 with loop argument. All callers udated.
0e5921e8 10964
371502a8 109652000-08-26 Michael Hayes <mhayes@cygnus.com>
0e5921e8 10966
371502a8
MH
10967 * loop.c (constant_high_bytes): Delete.
10968
e375c819
MH
109692000-08-26 Michael Hayes <mhayes@cygnus.com>
10970
10971 * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
10972 and NOTE_INSN_LOOP_VTOP to...
10973 (find_and_verify_loops) ...here.
10974
036cfb36
AO
10975Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com>
10976
10977 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
10978 (fini_dummy, init_dummy): Use it.
10979
c2e20542
NB
10980Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net>
10981
10982 * cpplex.c (is_macro_disabled): Caller has already checked
10983 that we're not a preprocessed file.
10984
83bab8db
MM
109852000-08-24 Mark Mitchell <mark@codesourcery.com>
10986
10987 * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
10988 (c-iterate.o): Remove target.
10989 * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
10990 * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
10991 (finish_decl): Don't handle iterators.
10992 (grokdeclarator): Likewise.
10993 * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
10994 * gcc/c-gperf.h: Regenerated.
10995 * gcc/c-iterate.c: Removed.
10996 * gcc/c-lex.c (init_lex): Don't handle iterators.
10997 * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
10998 (compstmt_primary_start): Remove push_iterator_stack call.
10999 (stmt): Don't allow iterator statements. Replace iterator_expand
11000 with expand_expr_stmt.
11001 (all_iter_stmt): Remove.
11002 (all_iter_stmt_simple): Likewise.
11003 (all_iter_stmt_with_decl): Likewise.
11004 * gcc/c-tree.h (ITERATOR_P): Remove.
11005 (ITERATOR_BOUND_P): Likewise.
11006 (init_iterators): Remove declaration.
11007 (iterator_expand): Likewise.
11008 (iterator_for_loop_start): Likewise.
11009 (iterator_for_loop_end): Likewise.
11010 (iterator_for_loop_record): Likewise.
11011 (push_iterator_stack): Likewise.
11012 (pop_iterator_stack): Likewise.
11013 * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
11014 (readonly_warning): Likewise.
11015 * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
0e5921e8 11016
aee3c6b0
JW
110172000-08-24 Jim Wilson <wilson@cygnus.com>
11018
11019 * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
11020 Copy type in a TYPE_DECL, just like pushdecl does.
11021
58d8c980
RH
110222000-08-24 Richard Henderson <rth@cygnus.com>
11023
11024 * toplev.c (main): Enable flag_reorder_blocks at -O2.
11025
054f5e69
ZW
110262000-08-24 Zack Weinberg <zack@wolery.cumb.org>
11027
0e5921e8 11028 * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
054f5e69
ZW
11029 asked for one page, allocate GGC_QUIRE_SIZE of them and put
11030 the extras on the free list.
11031 (release_pages): Clean up.
11032 (ggc_set_mark): Don't adjust G.allocated here...
11033 (sweep_pages): ... do it here.
11034
110352000-08-24 Zack Weinberg <zack@wolery.cumb.org>
11036
11037 * cppfiles.c (read_include_file): Rearrange initializations.
11038
0551c32d
RH
110392000-08-24 Richard Henderson <rth@cygnus.com>
11040
11041 * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
11042
11043 * config/ia64/ia64-protos.h: Update.
11044 * config/ia64/ia64.c (gr_register_operand): New.
11045 (fr_register_operand, grfr_register_operand): New.
11046 (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
11047 (grfr_reg_or_8bit_operand): New.
0e5921e8 11048 (gr_reg_or_0_operand): Rename from reg_or_0_operand and
0551c32d
RH
11049 use gr_register_operand.
11050 (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
11051 (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
11052 (gr_reg_or_8bit_and_adjusted_operand): Likewise.
11053 (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
11054 (fr_reg_or_fp01_operand): Likewise.
11055 (not_postinc_memory_operand): New.
11056 (ia64_split_timode): Remove unused variables.
11057 (rtx_needs_barrier): Check arguments to cmpxchg.
11058 (builtin_description): Remove.
11059 (bdesc_2argsi, bdesc_2argdi): Remove.
11060 (ia64_init_builtins): Declare all builtins directly.
11061 (ia64_expand_fetch_and_op): Rewrite to be called from
11062 ia64_expand_builtin directly. Use expand_binop and co.
11063 (ia64_expand_op_and_fetch): Likewise.
11064 (ia64_expand_compare_and_swap): Likewise.
11065 (ia64_expand_binop_builtin): Remove.
11066 (ia64_expand_lock_test_and_set): New.
11067 (ia64_expand_lock_release): New.
11068 (ia64_expand_builtin): Use them.
11069 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
11070 (EXTRA_CONSTRAINT): Use it.
11071 (PREDICATE_CODES): Update.
11072 * config/ia64/ia64.md (*): Use gr_register_operand and co.
11073 (mf): Indicate that we set memory as well as use it.
11074 (fetchadd_acq_si): Show memory being modified as well.
0e5921e8 11075 (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
0551c32d
RH
11076 (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
11077 (lock_test_and_set_si, lock_test_and_set_di): Remove.
11078 (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
11079 (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
11080 (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
11081 (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
11082 (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
11083 (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
11084 (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
11085 (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
11086 * config/ia64/ia64intrin.h (*): Cast result to the appropriate
11087 return type. Pretty print definitions.
11088
7c866fb5
JW
110892000-08-24 Jim Wilson <wilson@cygnus.com>
11090
11091 * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
11092 we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
11093
40e8cc95
JM
110942000-08-24 Jason Merrill <jason@redhat.com>
11095
11096 * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
11097 AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
0e5921e8 11098 (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
40e8cc95
JM
11099 get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
11100
b6a1cbae
GM
111012000-08-24 Greg McGary <greg@mcgary.org>
11102
11103 * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
11104 and extendtab within their proper array boundaries.
11105 * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
11106 for the entire array.
11107
11108 * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
11109 * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
11110 * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
11111 * config/fr30/fr30.c (fr30_print_operand): Likewise.
11112 * config/i386/dgux.c (output_options): Likewise.
11113 * config/i386/dgux.h (ASM_FILE_START): Likewise.
11114 * config/m88k/m88k.c (output_options): Likewise.
11115 * config/m88k/m88k.h (ASM_FILE_START): Likewise.
11116 * config/mcore/mcore.c (mcore_output_inline_const_forced,
11117 layout_mcore_frame, handle_structs_in_regs): Likewise.
11118 * config/mips/mips.c (output_block_move): Likewise.
11119 * config/rs6000/rs6000.c (rs6000_override_options,
11120 rs6000_file_start): Likewise.
11121 * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
11122 * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
11123 * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
11124 * builtins.c (expand_builtin_setjmp): Likewise.
11125 * expr.c (safe_from_p): Likewise.
11126 * flow.c (life_analysis): Likewise.
11127 * fold-const.c (size_int_type_wide): Likewise.
11128 * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
11129 * genattrtab.c (make_length_attrs): Likewise.
11130 * genopinit.c (gen_insn): Likewise.
11131 * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
11132 * global.c (global_alloc): Likewise.
11133 * local-alloc.c (find_free_reg): Likewise.
11134 * mips-tdump.c (print_symbol): Likewise.
11135 * mips-tfile.c (parse_def, parse_input): Likewise.
11136 * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
11137 * stmt.c (expand_nl_goto_receiver): Likewise.
11138 * stor-layout.c (set_sizetype): Likewise.
11139 * varasm.c (decode_reg_name): Likewise.
11140 * toplev.c (decode_f_option, decode_W_option,
11141 set_target_switch, print_switch_values): Likewise.
11142 (NUM_ELEM): Remove macro.
11143 (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
11144
5b47282c
GM
111452000-08-24 Greg McGary <greg@mcgary.org>
11146
11147 * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
11148 (MAIN_NAME_P, main_identifier_node): New macros.
11149 * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
11150 * c-decl.c (start_decl, grokdeclarator, start_function,
11151 store_parm_decls, finish_function): Use MAIN_NAME_P.
11152 * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
11153 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
11154 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11155 * config/pdp11/pdp11.c (output_function_prologue): Likewise.
11156
87ae0c74
GM
111572000-08-24 Greg McGary <greg@mcgary.org>
11158
11159 * cppfiles.c (actual_directory): Don't write beyond `dir'
11160 when it contains "".
11161 * real.c (asctoeg): Stay within bounds of etens[][].
11162
b148aeaa
KG
111632000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11164
11165 * dependence.c (dependence_string, direction_string,
11166 dump_one_node, dump_node_dependence): Hide unused identifiers.
11167 (get_low_bound, normalize_coefficients): Match definition to
11168 static prototype.
11169 (get_one_coefficient): Initialize variables `value0_is_idx' and
11170 `value1_is_idx'.
11171 (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
11172 (ziv_test): Delete variable `idx', use parameter `sub' instead.
11173 (direction_merge): Avoid automatic aggregate initialization.
11174 (have_dependence_p): Use `src' not `dest' to set `src_idx'.
11175 Initialize variables `dest_idx' and `src_idx'.
11176 (end_dependence_analysis): Avoid C89 style function definition.
11177
4894ecce
JM
111782000-08-24 Joseph S. Myers <jsm28@cam.ac.uk>
11179
11180 * c-common.c (time_char_table): Don't allow width with %F.
11181 (check_format_info): Don't allow "Z" length with scanf.
11182
2ab99c46
GDR
111832000-08-24 Gabriel Dos Reis <gdr@codesourcery.com>
11184
11185 * diagnostic.c (finish_diagnostic): Define.
11186 (output_do_printf): Use wrap_text instead of output_add_string.
11187 (default_print_error_function): Avoid embedded '\n'.
11188
11189 * diagnostic.h (flush_diagnostic_buffer): Declare.
11190
335e59bd
AO
111912000-08-23 Alexandre Oliva <aoliva@redhat.com>
11192
11193 * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
11194
d9fe00bb
HPN
111952000-08-23 Hans-Peter Nilsson <hp@axis.com>
11196
11197 * Makefile.in (GCC_PASSES): Add specs.
11198
b97644fc
JW
111992000-08-23 Jim Wilson <wilson@cygnus.com>
11200
11201 * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
11202 * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
11203 EHANDLER nor UHANDLER bit is set.
11204 (__get_except_table): Likewise.
11205
64a7723d
NC
112062000-08-23 Nick Clifton <nickc@redhat.com>
11207
02689e18
NC
11208 * config/arm/lib1funcs.asm: Replace upper case condition codes
11209 with lower case versions.
11210
64a7723d
NC
11211 * config/arm/arm.h (STRUCT_VALUE): Define.
11212 (STRUCT_VALUE_REGNUM): Delete.
11213
bbdac7d0
ZW
112142000-08-23 Zack Weinberg <zack@wolery.cumb.org>
11215
11216 * cpphash.h (IN_I): New flag for directive table.
11217 * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
11218 #pragma with IN_I.
11219 (_cpp_check_directive): If -fpreprocessed, execute directives
11220 marked with IN_I. Issue no warnings in this case.
11221 * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
11222
d8eceea4
JM
112232000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
11224
11225 * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
11226 %u.
11227 (check_format_info): Support printf 'I' flag; warn about it with
11228 -pedantic.
11229
e04c2d6c
RE
112302000-08-23 Richard Earnshaw (rearnsha@arm.com)
11231
11232 * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
11233 barrier can't be ignored by the alias analysis code.
11234
f4306baa
EZ
112352000-08-12 Eli Zaretskii <eliz@is.elta.co.il>
11236
11237 * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
11238 works inside fixincl.
11239
95d0e5f1
AO
11240Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com>
11241
11242 * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
11243 simplify_relational_operation() unless both operands are of
11244 VOIDmode.
11245 * cse.c (fold_rtx): Likewise.
11246
55efb413
JW
11247Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com)
11248
11249 * rtlanal.c (rtx_unstable_p): The pic register is stable
11250 (within one function) and the actual rtx should be used
11251 when checking the registers.
11252 (rtx_addr_can_trap_p): Pic memory addresses can't trap.
11253
11254 * alias.c (true_dependence, write_dependence_p): Fix
11255 bug in previous patch.
11256
11257 * i386.c (ix86_GOT_alias_set): New.
11258 (legitimize_pic_address): Use it.
11259
11260 * rtlanal.c (rtx_unstable_p): An unchanging MEM is
11261 only stable if its address is stable.
11262 (rtx_varies_p): An unchanging MEM can't vary if
11263 its address doesn't vary.
11264
aac625ac
KG
112652000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11266
11267 * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
11268
62432849
DA
112692000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca>
11270
11271 * vax.h (ASM_SPEC): Pass `-J' to assembler.
11272 * x-vax-gcc: New file for bootstrapping with gcc.
dd745546 11273 * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
62432849
DA
11274 * configure.in: Use x-vax-gcc with gcc.
11275 * configure: Rebuilt.
11276
1eb994b7
R
11277Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11278
11279 * toplev.c (rest_of_compilation): Rebuild label notes after
11280 post-reload splitting pass if new labels have been created.
11281
f6a542de
GDR
112822000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
11283
11284 * diagnostic.h (output_buffer_state): New macro.
11285 * diagnostic.c (diagnostic_for_decl, sorry,
11286 default_print_error_function, output_do_verbatim,
11287 report_diagnostic, report_problematic_module): Use it.
11288 (wrap_text): Tweak.
11289 (output_format): Use wrap_text instead of maybe_wrap_text.
11290
888e552f
NC
112912000-08-22 Nick Clifton <nickc@redhat.com>
11292
11293 * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
11294 Common code for ARM divide and modulus functions.
11295 (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
11296 ARM_DIV_MOD_BODY.
11297 (FUNC_END): New macro: Common code at the end of the division and
11298 modulo functions.
11299 (THUMB_FUNCTION_START): New macro: Common code at the start of
11300 Thumb functions.
11301 (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
0e5921e8 11302
89e43e33
KK
11303Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11304
11305 * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
11306
11307 * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
11308 sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
11309 const0_rtx.
11310
7405dc37
NC
113112000-08-22 Nick Clifton <nickc@redhat.com>
11312
11313 * config/arm/lib1funcs.asm (__umodsi3): Before performing any
11314 restorative additions, test for bottom bits of IP being set,
11315 rather than relying upon the RORs not matching.
11316 (__modsi3): Ditto.
11317
9861b0c9
DE
113182000-08-22 David Edelsohn <edelsohn@gnu.org>
11319
11320 * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
60a3c181 11321 text_section() as appropriate instead of emitting text csect
9861b0c9
DE
11322 pseudo-op directly.
11323 (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
11324 (UNIQUE_SECTION): Define macro.
11325 (ASM_OUTPUT_SECTION_NAME): Define macro.
11326 * rs6000.c (rs6000_override_options): Disable -ffunction-sections
60a3c181 11327 on AIX if debugging and -fdata-sections always.
9861b0c9
DE
11328
113292000-08-22 Steven King <sxking@uswest.net>
df3a88f0
SK
11330
11331 * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
11332 machinery.
11333 (LDBL_MAX): Same here.
11334
b578dbd7
RH
113352000-08-22 Richard Henderson <rth@cygnus.com>
11336
11337 * flow.c (tidy_fallthru_edge): Update b->end properly.
11338
d061bc1e
SC
113392000-08-22 Stan Cox <scox@redhat.com>
11340
60a3c181
RH
11341 * Makefile.in (OBJS): Add dependence.o.
11342 * dependence.c: New file.
0e5921e8 11343
23d16877 113442000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca>
3cadd778 11345
d60eab50
AO
11346 * calls.c (check_sibcall_argument_overlap_1): Adjust for
11347 ARGS_GROW_DOWNWARD.
11348 (check_sibcall_argument_overlap): Likewise.
11349
23d16877
AO
113502000-08-22 Alexandre Oliva <aoliva@redhat.com>
11351
3cadd778
AO
11352 * invoke.texi (SH Options): Document -m4-nofpu,
11353 -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
11354 -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
11355
23e4d028
JM
113562000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
11357
11358 * c-common.c (check_format_info): Give the 'some locales' warning
11359 for strftime %Ey rather than the unconditional 'only last 2 digits
11360 of year' one.
11361
bc82c87c
RH
113622000-08-22 Richard Henderson <rth@cygnus.com>
11363
11364 * alias.c (init_alias_analysis): Do not register
11365 struct_value_incoming_rtx or static_chain_rtx as pointing
11366 to stack memory.
11367
7db9125f
JL
11368Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com)
11369
11370 * protoize.c (munge_compile_params): Fix typo and formatting buglets.
11371
b413d64d
GDR
113722000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
11373
11374 * diagnostic.h (report_problematic_module): Declare.
11375 * diagnostic.c (report_problematic_module): New function.
11376 (report_error_function): Tweak.
11377
c4a6c0f3
RK
11378Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11379
11380 * stmt.c (expand_goto_internal, fixup_gotos): Only check
11381 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
11382
770a7feb
RH
113832000-08-21 Richard Henderson <rth@cygnus.com>
11384
11385 * flow.c (calculate_global_regs_live): Mark frame pointer live
11386 everywhere before reload.
11387
280db205
JW
113882000-08-21 Jim Wilson <wilson@cygnus.com>
11389
11390 * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
11391 INTEL_EXTENDED_IEEE_FORMAT.
11392 (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally
11393 clear last two bytes of output FP value.
11394
94c21c17
GS
113952000-08-21 Graham Stott <grahams@cygnus.co.uk>
11396
11397 * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
11398
6315f068
JJ
113992000-08-21 Jakub Jelinek <jakub@redhat.com>
11400
11401 * unroll.c (loop_find_equiv_value): If ret is modified between
11402 insn and loop_start, ret might not be equivalent to reg.
11403
5804a754
JM
114042000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11405
11406 * c-common.c (init_dollar_format_checking,
11407 maybe_read_dollar_number, finish_dollar_format_checking): New
11408 functions.
11409 (dollar_arguments_used, dollar_arguments_count,
11410 dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
11411 New variables.
11412 (check_format_info): Support $ formats for scanf and printf width
11413 and precision. Always increment format_chars to advance past the
11414 '*' of precision, not just when the format parameters are
11415 available to check.
11416
95adab8e
KG
114172000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11418
11419 * mips.c (block_move_loop, expand_block_move,
11420 function_arg_partial_nregs, save_restore_insns, function_prologue,
11421 mips_expand_prologue, RA_MASK): Avoid using the `U' integer
11422 constant suffix.
11423 (function_arg_advance, function_arg): Match argument to format
11424 specifier `%p'.
11425
49009afd
JL
114262000-08-21 Nix <nix@esperi.demon.co.uk>
11427
11428 * gcc.c (do_spec_1): Implement %j spec flag.
11429 Remove dead comment.
11430
11431 * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
60a3c181
RH
11432 * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
11433 * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
11434 * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
49009afd 11435
60a3c181 11436 * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
49009afd
JL
11437 writable) instead of hardcoded value.
11438
11439 * toplev.c (compile_file): Output to a file even if -fsyntax-only.
11440
60a3c181
RH
11441 * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
11442 MKTEMP_EACH_FILE.
49009afd 11443
60a3c181 11444 * gcc.c (cc1_options): Do not process -o or run the assembler if
49009afd 11445 -fsyntax-only.
05a3d06e 11446 * objc/lang-spec.h: Likewise.
49009afd
JL
11447
114482000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
dc13bad7
EZ
11449
11450 * fixinc/fixincl.c (fix_with_system): Pipe the output of
11451 "external" fixes through `cat', to avoid truncating the input
11452 file by redirection.
11453
cb694d2c
JJ
114542000-08-21 Jakub Jelinek <jakub@redhat.com>
11455
11456 * config/i386/i386.md (lea_general_1): Copy insn condition to split
11457 condition.
11458 (lea_general_2, lea_general_3): Likewise.
11459
cde6e684
KG
114602000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11461
11462 * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
11463 warnings to user code.
11464
11465 * c-lex.c (readescape, yylex): Likewise.
11466
11467 * c-typeck.c (store_init_value, process_init_element): Likewise
11468 (c_expand_start_case): Format.
11469
120dc6cd
MR
114702000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
11471
11472 * mips/linux.h (LINK_SPEC): Use %(endian_spec).
11473
11474 * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
0e5921e8 11475 and linker_endian_spec to endian_spec.
120dc6cd
MR
11476 (ENDIAN_SPEC): Add %{EB} and %{EL}.
11477 (LINK_SPEC): Remove %{EB} and %{EL}.
0e5921e8 11478 (ASM_SPEC): Likewise. Use %(endian_spec).
120dc6cd 11479
93e2382f
JM
114802000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11481
11482 * c-tree.h (flag_hosted): Move declaration from here...
11483 * c-common.h (flag_hosted): ... to here.
11484 (flag_noniso_default_format_attributes): New declaration.
11485 * c-decl.c (flag_noniso_default_format_attributes): New variable.
11486 (c_decode_option): Set it appropriately for options choosing
11487 language standard variant.
11488 * c-common.c (init_function_format_info): Only provide default
11489 format attributes if flag_hosted. Only provide the gettext
11490 formats if flag_noniso_default_format_attributes. Update
11491 comments.
11492 (check_format_info): Disable treatment of %a as a scanf flag in
11493 C99 mode.
11494
f3d360aa
JM
114952000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11496
11497 * c-common.c (scan_char_table): Add 'w' to flags for all formats
11498 except 'n'.
11499 (check_format_info): Set 'wide' for scanf format widths. Warn for
11500 a zero scanf width. Make the check for writing into a constant
11501 object at the first level of indirection; at later levels, warn if
11502 any type qualifiers are encountered.
11503
e04ca094
JL
11504Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com)
11505
e6ea3b5f
JL
11506 * reload.c (reload_inner_reg_of_subreg): New function broken out of
11507 push_reload.
11508 (push_reload): Use reload_inner_reg_of_subreg.
11509 (combine_reloads): Do not combine reloads if the input reload
11510 is a SUBREG in which the inner part will need reloading.
11511
e04ca094
JL
11512 * global.c (global_alloc): Avoid passing dumpfile argument to
11513 reload routines.
11514 * toplev.c (rest_of_compilation): Likewise.
11515 * reload.h (reload): Remove dumpfile argument. Callers changed.
11516 (debug_reload, debug_reload_to_stream): Move prototypes here.
11517 * rtl.h (reload): Remove dumpfile argument.
11518 * reload.c (debug_reload): Remove prototype.
11519 (debug_reload_to_stream): Likewise.
11520 * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
11521 instead.
11522
24805e80
GDR
115232000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
11524
11525 * diagnostic.c (context_as_prefix): Export.
11526 (need_error_newline): Remove.
11527 (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
11528 (error_module_changed, record_last_error_module,
11529 error_function_changed, record_last_error_function): New functions.
11530 (initialize_diagnostics): Default intialize
11531 lang_diagnostic_starter, lang_diagnostic_finalizer.
11532 (init_output_buffer): Tweak.
11533 (file_name_as_prefix): New function.
11534 (announce_function, default_print_error_function,
11535 report_error_function, set_diagnostic_context): Tweak.
11536
056b6841
RE
115372000-08-21 Richard Earnshaw <rearnsha@arm.com>
11538
11539 * flow.c (init_propagate_block_info): Handle SUBREG in a jump
11540 condition expression.
11541
7171b491
RH
115422000-08-20 Richard Henderson <rth@cygnus.com>
11543
11544 * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
11545
3cb553b4
ZW
115462000-08-20 Zack Weinberg <zack@wolery.cumb.org>
11547
11548 * cppinit.c (cpp_init): Set global flag when called.
11549 (cpp_reader_init): Bomb out if cpp_init hasn't been called.
11550
9861b0c9 11551Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
3cb553b4 11552
60a3c181
RH
11553 * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
11554 before `process_directive' so that newlines won't be missed
11555 for directives.
11556 (cpp_printf): Increment `print->lineno' when newline is emitted.
3cb553b4 11557
60a3c181
RH
11558 * cppmain.c (cb_ident): Likewise.
11559 (cb_define): Likewise.
11560 (cb_undef): Likewise.
11561 (cb_include): Likewise.
11562 (cb_def_pragma): Likewise.
11563 (dump_macros_helper): Likewise.
3cb553b4 11564
9c668921
RH
115652000-08-20 Richard Henderson <rth@cygnus.com>
11566
11567 * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
11568 assigned before a loop.
11569
11570 * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
11571 (ashrsi3, lshrsi3): Likewise.
11572
4e1e6a01
GDR
115732000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11574
11575 * c-lang.c: #include diagnostic.h
11576 (c_tree_printer): New function.
11577 (lang_init): Initialize lang_printer.
11578
11579 * Makefile.in (c-lang.o): Depends on diagnostic.h
11580
e2840263
GDR
115812000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11582
11583 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
11584
11585 * diagnostic.c (default_diagnostic_starter,
11586 default_diagnostic_finalizer): New functions.
11587 (diagnostic_for_asm, diagnostic_for_decl): Tweak.
11588 (pedwarn, pedwarn_with_file_and_line, error,
11589 error_with_file_and_line, fatal, warning,
11590 warning_with_file_and_line): Adjust call to report_diagnostic.
11591 (report_diagnostic): Rework.
11592 (set_diagnostic_context): New function.
11593
11594 * diagnostic.h (struct diagnostic_context): New data structure.
11595 (diagnostic_message, diagnostic_argument_list,
11596 diagnostic_file_location, diagnostic_line_location,
11597 diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
11598 diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
11599 (set_diagnostic_context): Declare.
11600 (report_diagnostic): Change prototype.
11601
574f7425
NB
11602Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net>
11603
11604 * fix-header.c (main): Initialize cpplib.
11605
f1e42c81
MM
116062000-08-19 Michael Meissner <meissner@redhat.com>
11607
34c9e848
MM
11608 * ifcvt.c (find_if_block): Do not assume that a THEN block has any
11609 instructions in it before checking for indirect jumps.
11610
f1e42c81
MM
11611 * ifcvt.c (find_if_block): Do not consider a THEN block that ends
11612 in a indirect jump as a potential for conditional execution.
11613
11614 * d30v.h (d30v_init_expanders): Don't declare here.
11615 * d30v-protos.h (d30v_init_expanders): Declare here with a valid
11616 prototype.
11617
9d6c2770
NB
11618Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net>
11619
11620 * cpp.texi: Add @section for assertions.
11621
e76d9acb
JW
11622Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com)
11623
11624 * loop.c (scan_loop): Use CONST_CALL_P instead of
11625 checking for REG_LIBCALL / REG_RETVAL.
11626
f49957d6
JL
11627Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com)
11628
850aac53
JL
11629 * reload1.c (reload_as_needed): Accept dumpfile argument,
11630 pass it to emit_reload_insns.
11631 (emit_reload_insns): Add new dumpfile argument. If non-null
11632 then dump the reloads for each insn into the dumpfile.
11633 (reload): Pass dumpfile to reload_as_needed.
11634
f49957d6
JL
11635 * invoke.texi: Clean up linux-gnu vs linux comments.
11636
041f25e6
RH
116372000-08-19 Richard Henderson <rth@cygnus.com>
11638
11639 * config/ia64/ia64.c (reg_or_5bit_operand): New.
11640 (ia64_depz_field_mask): New.
11641 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
11642 (PREDICATE_CODES): Update.
11643 * config/ia64/ia64.md: Update commentary.
11644 (depz_internal): New.
11645 (ashlsi3): Implement directly.
11646 (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
11647 (ashldi3): Use shladd.
11648 * config/ia64/ia64-protos.h: Update.
11649
319ea138
ZW
116502000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11651
11652 * toplev.c (independent_decode_option): Always process -g.
11653 Remove third argument, now unused. Adjust caller to match.
11654
8231ad94
RH
116552000-08-18 Richard Henderson <rth@cygnus.com>
11656
11657 * combine.c (make_compound_operation): Break after creating
11658 the extraction.
11659
6e19bb38
ZW
116602000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11661
11662 * cpplib.c (cpp_register_pragma_space): Just return if the
11663 namespace is already registered.
11664
477d303f
RE
116652000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com>
11666
11667 * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
11668 constant amount. Do not generate ROTL instruction.
11669
ffe51c8a
AO
11670Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com>
11671
11672 * config/sh/elf.h: Do not include sh/sh.h.
11673 * config/sh/rtems.h: Likewise.
11674 * config/sh/rtemself.h: Do not include sh/elf.h.
11675 * configure.in: Get them included with `tm_file's.
11676 * configure: Rebuilt.
11677
8845e874
AO
11678 * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
11679 * config/sh/sh.c (fpscr_set_from_mem): Use them.
11680
3f546a53
RK
11681Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11682
7d2950e5
RK
11683 * stor-layout.c (compute_record_type): Don't use mode of single
11684 field as mode of record if not integer mode of same type.
11685
a1c1fdd0
RK
11686 * regmove.c (perhaps_ends_bb_p): New function.
11687 (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
11688 (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
11689 (fixup_match_1): Likewise.
11690 (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
11691 avoid signed/unsigned warnings.
0e5921e8 11692
3f546a53
RK
11693 * function.c (fixup_var_refs_1, case MEM): Update CODE after
11694 updating X.
11695
61d0346d
NB
11696Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net>
11697
11698 * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
11699 (_cpp_trigraph_map): Declaration moved from cpplex.c
11700
11701 * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1
11702 instead of 256. Use consistent test for designated initializers.
11703 (cpp_init): Initialize trigraph_map.
11704 (initialize_standard_includes, parse_option): Use memcmp
11705 instead of strncmp.
11706
11707 * cpplex.c (init_trigraph_map): Remove.
11708 (trigraph_ok, trigraph_replace, lex_line): Refer to
11709 _cpp_trigraph_map.
11710
11711 * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
11712 (do_unassert): Remove unused "next" local.
11713
11714 * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
11715
ef42b1dd
EM
117162000-08-18 Emmanuel Marty <emarty@suntech.fr>
11717
11718 * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
11719 insn.
11720
bc08aefe
RH
117212000-08-17 Richard Henderson <rth@cygnus.com>
11722
11723 * config/ia64/ia64.c (spill_restore_mem): Handle emitting
11724 the first insn in a sequence.
11725
49982682
JW
11726Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
11727
11728 * alias.c (true_dependence, write_dependence_p): A read
11729 involving a label_ref or the constant pool doesn't create
11730 a dependency.
11731
11732 * rtl.h (unchanging): Improve documentation.
11733
889e5964
RB
117342000-08-17 Rodney Brown <RodneyBrown@mynd.com>
11735
11736 * cse.c (insert_regs): Remove unused `regno'.
11737
dd69c71b
NB
117382000-08-17 Neil Booth <NeilB@earthling.net>
11739
11740 * (cppinit.c) merge_include_chains: Use remove_dup_dir,
11741 remove_dup_dirs. If qtail == brack, remove brack not
11742 qtail.
11743 (remove_dup_dir, remove_dup_dirs): New functions.
11744
709e9e50
NB
117452000-08-17 Neil Booth <NeilB@earthling.net>
11746
11747 * cppinit.c (cpp_cleanup): Free include dir chains.
11748 * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
11749 (do_unassert): Free the assert with _cpp_free_definition.
11750 * cppmacro.c (_cpp_free_definition): Free memory allocated for
11751 assertions. Make the node a T_VOID node.
11752
e33f6253
NB
117532000-08-17 Neil Booth <NeilB@earthling.net>
11754
11755 * cppinit.c (path_include, append_include_chain):
11756 Remove 2nd parameter (struct cpp_pending *).
11757 (path_include, initialize_standard_includes, cpp_handle_option):
11758 Update callers appropriately.
11759 (cpp_handle_option): Use pend.
11760
c154ba66
NB
117612000-08-17 Neil Booth <NeilB@earthling.net>
11762
11763 * cppinit.c (sort_options): Remove, put functionality in
11764 cpp_init.
11765 (cpp_init): New.
11766 (initialize_builtins): Free memory.
11767 (cpp_start_read): Move init_IStable to cpp_init.
11768
11769 * cpplib.h (cpp_init): New prototype.
11770 * cppmain.c (main): Call cpp_init.
11771
9c82ac6b
JW
11772Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com)
11773
11774 * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
11775 (rtx_unstable_p, rtx_varies_p): Process vectors.
11776
acd50a92
NY
117772000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
11778
11779 * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all
11780 references to GLOBAL symbols. Use LOCAL where appropriate.
11781
cfedbb1f
KG
117822000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11783
11784 * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always
11785 use t-aix41 when host == target.
11786
31989264
RH
117872000-08-16 Richard Henderson <rth@cygnus.com>
11788
11789 * reload.c (push_secondary_reload): Revert last change.
11790 If we use a reload_in/out pattern, make the when the same
11791 as the primary reload.
11792 (find_reloads): Likewise.
11793
d84c5634
MH
117942000-08-16 Manfred Hollstein <manfredh@redhat.com>
11795
11796 * configure.in (libstdcxx-v3): Fix test.
11797 * configure: Regenerate.
11798
43db0363
RK
11799Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11800
11801 * calls.c (calls_function_1, expand_call): Only test
11802 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
11803 * function.c (thread_prologue_and_epilogue_insns): Likewise.
11804
853d8828
RH
118052000-08-16 Richard Henderson <rth@cygnus.com>
11806
11807 * combine.c (simplify_shift_const): Revert previous two
11808 changes. If SHIFT_COUNT_TRUNCATED, crop the shift count
11809 before the main loop.
11810
3e626beb
RH
118112000-08-15 Richard Henderson <rth@cygnus.com>
11812
11813 * combine.c (simplify_shift_const): Bound shift count when
11814 combining shifts.
11815
f507188a
RK
11816Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11817
7393c642
RK
11818 * calls.c (ECF_SP_DEPRESSED): New macro.
11819 (calls_function_1): Treat calling sp-depressed function as alloca.
11820 (emit_call_1): Don't adjust SP if calling sp-depressed function.
11821 (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
11822 If sp-depressed, ensure block saves and restores SP.
11823 * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
11824 for INTEGER_TYPE.
11825 * function.c (keep_stack_depressed): New function.
11826 (thread_prologue_and_epilogue_insns): Call it.
11827 * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
11828 to print DECL_OFFSET_ALIGN.
11829 Print no-force-blk and transparent-union flags properly.
11830 * stmt.c (expand_goto_internal): Don't restore stack if last block
11831 and function returns with sp depressed.
11832 (fixup_gotos): Likewise.
11833 (save_stack_pointer): New function, from code in expand_decl.
11834 (expand_decl): Call new function.
11835 * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
11836 (TYPE_RETURNS_STACK_DEPRESSED): New macro.
11837 (save_stack_pointer): New declaration.
11838
f507188a
RK
11839 * diagnostic.c (fatal_function): New variable.
11840 (set_fatal_function): New function.
11841 (fatal): Call it.
11842 * diagnostic.h (set_fatal_function): New declaration.
11843
56847207
WC
118442000-08-15 William Cohen <wcohen@redhat.com>
11845
11846 * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
11847 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
11848 (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
11849
7791b7f9
RH
118502000-08-15 Richard Henderson <rth@cygnus.com>
11851
11852 * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
11853
f99fce0c
RE
118542000-08-15 Richard Earnshaw <rearnsha@arm.com>
11855
11856 * arm.c (arm_function_ok_for_sibcall): New function.
11857 * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
11858 * arm.md (call expanders): Don't check here for calls that can't
11859 be sibling calls.
11860
74da3101
RE
118612000-08-15 Richard Earnshaw <rearnsha@arm.com>
11862
11863 * arm.md (splits generating cond_exec): Disable.
11864
2c210617
RE
118652000-08-15 Richard Earnshaw <rearnsha@arm.com>
11866
11867 * arm/linux-elf.h (text_section): Delete declaration.
11868
05ed98a1
RE
118692000-08-15 Richard Earnshaw <rearnsha@arm.com>
11870
11871 ARM support for unordered FP operations.
11872 * arm-protos.h (arm_comparison_operator): Declare.
11873 * arm.c (arm_comparison_operator): New function.
11874 (arm_select_cc_mode): Add unordered comparison codes.
11875 (get_arm_condition_code): Likewise.
11876 (arm_final_prescan_insn): Can't handle unordered jumps that can't
11877 be done in one insn.
11878 * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
11879 * arm.md (all uses of comparison_operator): Replace with
11880 arm_comparison_operator.
11881 (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
11882 expands.
11883 (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
11884 patterns.
0e5921e8 11885
ed78c862
OP
11886Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
11887
11888 * gthr-posix.h: Conditionally include <sched.h>; include
11889 <config.h> from libobjc/.
11890
4859dd36
RH
118912000-08-14 Richard Henderson <rth@cygnus.com>
11892
11893 * config/i386/i386.c (legitimize_pic_address): Use Pmode
11894 for all CONSTs.
11895
3f622353
RH
118962000-08-14 Richard Henderson <rth@cygnus.com>
11897
11898 * configure.in (ia64-*): Set float_format for i386 long double.
11899
11900 * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
11901 as we would for i386 XFmode.
11902 (PUT_REAL): Likewise.
11903 (endian, ereal_atof, real_value_truncate): Likewise.
11904 (ereal_isneg, toe64, etens, make_nan): Likewise.
11905 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
11906
11907 * config/ia64/ia64-protos.h: Update.
11908 * config/ia64/ia64.c (general_tfmode_operand): New.
11909 (destination_tfmode_operand): New.
11910 (tfreg_or_fp01_operand): New.
11911 (ia64_split_timode): New.
11912 (spill_tfmode_operand): New.
11913 (ia64_expand_prologue): Use TFmode not XFmode.
11914 (ia64_expand_epilogue): Likewise.
11915 (ia64_function_arg): Likewise.
11916 (ia64_function_arg_advance): Likewise.
11917 (ia64_return_in_memory): Likewise.
11918 (ia64_function_value): Likewise.
11919 (ia64_print_operand): Likewise.
11920 (ia64_register_move_cost): Set GR<->FR to 5.
11921 (ia64_secondary_reload_class): Get GR for TImode memory op.
11922 * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
11923 (ROUND_TYPE_ALIGN): Remove.
11924 (LONG_DOUBLE_TYPE_SIZE): Set to 128.
11925 (INTEL_EXTENDED_IEEE_FORMAT): Define.
11926 (HARD_REGNO_NREGS): Use TFmode, not XFmode.
11927 (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs.
11928 (MODES_TIEABLE_P): Use TFmode, not XFmode.
11929 (CLASS_MAX_NREGS): Likewise.
11930 (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
11931 (PREDICATE_CODES): Update.
11932 * config/ia64/ia64.md (movti): New.
11933 (movti_internal): Use a clobber for memory alternatives.
11934 (reload_inti, reload_outti): New.
11935 (movsfcc_astep): Predicate properly.
11936 (movdfcc_astep): Likewise.
11937 (movxf): Remove.
11938 (movtf): New.
11939 (extendsftf2, extenddftf2): New.
11940 (trunctfsf2, trunctfdf2): New.
11941 (floatditf2, fix_trunctfdi2): New.
11942 (floatunsditf2, fixuns_trunctfdi2): New.
11943 (addtf3, subtf3, multf3, abstf2): New.
11944 (negtf2, nabstf2, mintf3, maxtf3): New.
11945 (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
11946 (cmptf): New.
11947 (fr_spill): Use TFmode, not XFmode.
11948 (fr_restore): Likewise.
11949 * config/ia64/lib1funcs.asm (__divtf3): New.
11950 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
11951
e49a1d2e
KG
119522000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11953
11954 * cse.c (fold_rtx): Avoid empty body in an if-statement.
0e5921e8 11955
e49a1d2e
KG
11956 * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
11957 `U' integer constant suffix.
11958
11959 * dwarf2out.c (add_subscript_info): Avoid empty body in an
11960 else-statement.
11961
11962 * sparc/sol2.h (__enable_execute_stack): Prototype.
11963
78fbdbf7
DE
119642000-08-14 David Edelsohn <edelsohn@gnu.org>
11965
11966 * collect2.c: Remove use of AIX import file.
11967
11968 * longlong.h: Test ARCH_PWR not ARCH_POWER.
11969
11970 * rs6000.c (print_operand, case 'E'): Add else.
11971
9a89adb8
RH
119722000-08-14 Richard Henderson <rth@cygnus.com>
11973
11974 * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
11975 (movdi_symbolic): New.
11976
00e149c7
JW
119772000-08-14 Jim Wilson <wilson@cygnus.com>
11978
11979 * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
11980 to GNU as. For Intel as, pass -M const_gp and -M no_plabel.
11981 * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
11982 to GNU as.
11983
2ee5437b
RH
119842000-08-14 Richard Henderson <rth@cygnus.com>
11985
11986 * expr.c (emit_group_load): Don't force constants into registers.
11987 Special case source already in the correct mode.
11988
57119aa9
ZW
119892000-08-14 Zack Weinberg <zack@wolery.cumb.org>
11990
11991 * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
11992 * fixinc/inclhack.def: Likewise.
0e5921e8 11993 * fixinc/mkfixinc.sh: Likewise.
57119aa9
ZW
11994 * configure: Regenerate.
11995 * fixinc/fixincl.x: Regenerate.
11996 * install.texi: Document equivalence of linux and linux-gnu.
11997
d9f20424
R
11998Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11999
12000 * cse.c (insert_regs): Also in REG case: When finding an invalid
12001 value, and we make a new quantity, make sure that it won't be
12002 mistaken by for a valid one by mention_regs.
12003
c8fa6556
RG
12004