]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
varasm.c (mark_constant_pool): Improve initial comments.
[gcc.git] / gcc / ChangeLog
CommitLineData
fcbd8ef2
JO
12001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
2
3 * varasm.c (mark_constant_pool): Improve initial comments.
4 (mark_constants): Move marking of constants to mark_constant.
5 (mark_constant): New function to recursively mark all constants
6 referred to by a constant.
7
ebb0cdf3
CM
82001-01-05 Catherine Moore <clm@redhat.com>
9
10 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
11
3b4e6a16
PE
122001-01-05 Phil Edwards <pme@sources.redhat.com>
13
14 * cp/lang-options.h: Bring comment in line with reality.
15 * f/lang-options.h: Likewise.
16 * java/lang-options.h: Likewise.
17 * objc/lang-options.h: Likewise.
18 * ch/lang-options.h: Likewise.
19 * f/g77.texi: And update the manual.
20
dcfb1a36
MM
212001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
22 Denis Chertykov <denisc@overta.ru>
23
24 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
25 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
26 * config/avr/avr.md (all peepholes that request a scratch register):
27 Call it, FAIL the peephole if not safe (in interrupt functions).
28
cef3d50c
MM
292001-01-05 Mark Mitchell <mark@codesourcery.com>
30
31 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
32
341e3d11
JM
332001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
34
35 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
36 Define.
37 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
38 BUILT_IN_CREAL and BUILT_IN_CIMAG.
39 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
40 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
41 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
42 BUILT_IN_CIMAG.
43 * extend.texi: Document these builtins.
44
604bb87d
DB
452001-01-05 Daniel Berlin <dberlin@redhat.com>
46
47 * c-common.c (lang_get_alias_set): Say we know nothing of
48 VECTOR_TYPE aliasing.
49
50 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
51
15fe1a7e
BK
522001-01-05 Bruce Korb <bkorb@gnu.org>
53
54 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
55 their x* equivalent versions for atexit-less systems
56 * fixinc/fixincl.c(main): do not return from main() on atexit-less
57 systems (or any other system any more).
58
b0888988
RE
592001-01-05 Richard Earnshaw <rearnsha@arm.com>
60
61 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
62 output operands. Use arm_hard_register_operand for operand 4.
63 (stmsi_postinc): Similarly.
64 (ldmsi): Use arm_hard_register_operand for opernand 2.
65 (stmsi): Similarly.
66 * arm.c (arm_hard_register_operand): New function.
67 * arm-protos.h (arm_hard_register_operand): Prototype it.
68
69 * arm.h (HARD_REGNO_RENAME_OK): Define.
70
90a74703
JH
71Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
72
73 * simplify-rtx.c (cfc_args): add "unordered" field.
74 (check_fold_consts): Set unordered field.
75 (simplify_relational_operation): Simplify the unordered
76 comparisons.
77
78 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
79 is valid.
80
81 * emit-rtl.c (try_split): Fix code to mark labels.
82 * jump.c (mark_jump_label): Make global.
83 * rtl.h (mark_jump_label): Declare.
84
85 * predict.c (estimate_probability): Handle unordred comparisons.
86
a5a4ce3c
NB
872001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
88
89 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
90 * cppinit.c (initialize_dependency_output): Update.
91 (cpp_finish): Output dummy targets for -MP.
92 (OPT_MP): New.
93 (cpp_handle_option): Handle -MP. Don't quote -MT options.
94 * cpplib.h (struct cpp_options): Add deps_phony_targets.
95 * gcc.c (cpp_options): Update to handle -MP.
96 * mkdeps.c (deps_add_target, deps_add_default_target): Update
97 to quote only the default target.
98 (deps_phony_targets): Insert a preceding newline. Rename from
99 deps_dummy_targets for consistency.
100 * mkdeps.h: Update
101
97fc4caf
AO
1022001-01-05 Alexandre Oliva <aoliva@redhat.com>
103
104 * calls.c (emit_library_call_value_1): Support
105 INIT_CUMULATIVE_LIBCALL_ARGS.
106 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
107
ffc5c6a9
RH
1082001-01-04 Richard Henderson <rth@redhat.com>
109
110 * c-decl.c (finish_struct): Detect flexible array members
111 used in an inappropriate context.
112 * c-typeck.c (really_start_incremental_init): Special case
113 constructor_max_index for zero length arrays.
114 (pop_init_level): Allow initialization of flexible array
115 members. Deprecate initialization of zero length arrays.
116 Don't issue missing initializer warning for flexible array
117 members or zero length arrays.
118 (process_init_element): Don't dereference null DECL_SIZE.
119 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
120 Don't abort for empty constructors. Use size_binop
121 (output_constructor): Add commentary regarding zero length
122 array futures. Abort if we try to initialize an array of
123 unspecified length with a non-empty constructor in the middle
124 of a structure.
125
126 * extend.texi (Zero Length): Update and clarify documentation
127 on static initialization.
128
69f6e760
MH
1292001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
130
131 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
132 with more than 32767 words of local storage.
133
06dd70c6
MH
1342001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
135
136 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
137 for 'abs', 'labs', and 'fabs'.
138 (c4x_expand_builtin): Likewise.
139 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
140
99e87c10
AO
1412001-01-05 Alexandre Oliva <aoliva@redhat.com>
142
143 * config/sh/sh.md (prget, prset): New insn types.
144 (return delay slot): Dont' allow prset.
145 (call, sfunc delay slot): Don't allow prget.
146 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
147 for prset and prget.
148
576d0b54 1492001-01-05 Michael Hayes <mhayes@redhat.com>
06dd70c6 150
f1d4ac80
MH
151 * loop.h (struct loop_reg): New.
152 (struct loop_regs): Change to use array of `struct loop_reg'.
153 * loop.c: Replace assortment of varrays with single regs array.
154 (count_one_set): Delete may_not_move array argument
155 and use regs array instead. All caller's changed.
156 (count_loop_regs_set): Delete may_not_move and single_usage
157 arguments and use regs array instead. All caller's changed.
158 (find_single_use_in_loop): Replace usage array argument with pointer
159 to regs structure. All caller's changed.
160 (loop_optimize): Delete `moved_once' array.
161
1622001-01-05 Michael Hayes <mhayes@redhat.com>
163
576d0b54
MH
164 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
165 Use it instead of loop_info->has_call for scanning loop mems.
166 (check_dbra_loop): Replace loop_info->has_call test with
167 loop_info->has_nonconst_call.
168
616af7ee
MH
1692000-01-04 Matthew Hiller <hiller@redhat.com>
170
171 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
172 for TARGET_SH3E.
173
32812a40
JM
1742001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
175
176 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
177 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
178
eaa7c03f
JM
1792001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
180
181 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
182 (flag_short_double, flag_short_wchar): Define.
183 (c_common_nodes_and_builtins): Create many tree nodes shared
184 between C and C++ here instead of in cp/decl.c and ...
185 * c-decl.c (init_decl_processing): ... here.
186 (SIZE_TYPE, WCHAR_TYPE): Don't define.
187 (flag_short_double, flag_short_wchar): Don't define.
188 (record_builtin_type): New function.
189 (build_void_list_node): New function.
190 * c-common.h (flag_short_double, flag_short_wchar,
191 record_builtin_type, build_void_list_node): Declare.
192
e2a5f96b
R
193Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
194
195 * integrate.c (expand_inline_function): Don't put a virtual
196 register into the reg map.
197
198 * function.c (fixup_var_refs_1): If force_operand didn't put
199 the address into the target, move it there.
200
2be510b8
MM
2012001-01-04 Mark Mitchell <mark@codesourcery.com>
202
203 Special-case tree_decl/tree_list allocations.
204 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
205 (OBJECT_SIZE): New macro.
206 (NUM_EXTRA_ORDER): Likewise.
207 (extra_order_size_table): New variable.
208 (NUM_ORDERS): New macro.
209 (objects_per_page_table): New variable.
210 (object_size_table): New variable.
211 (G.pages): Use NUM_ORDERS to bound the array.
212 (G.page_tails): Likewise.
213 (DIV_ROUND_UP): Remove.
214 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
215 (alloc_page): Use OBJECT_SIZE.
216 (size_lookup): Don't make it const.
217 (ggc_alloc): Use OBJECT_SIZE.
218 (ggc_set_mark): Likewise.
219 (ggc_get_size): Likewise.
220 (init_ggc): Set up the object_size_table, objects_per_page_table,
221 and adjust size_lookup.
222 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
223 (ggc_pop_context): Use NUM_ORDERS.
224 (clear_marks): Likewise.
225 (sweep_pages): Likewise.
226 (poison_pages): Likewise.
227 (ggc_print_statistics): Use OBJECT_SIZE.
228
bf1aaf0a
RK
229Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
230
231 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
232 Only call array_size_for_constructor if last field and array type
233 with no upper bound.
234
ceebdb09
PB
2352001-01-04 Philip Blundell <philb@gnu.org>
236
237 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
238 from bit 31 downwards, if this requires no more insns.
239 (count_insns_for_constant): New helper function for above.
240
1fd4f141
AO
2412001-01-04 Alexandre Oliva <aoliva@redhat.com>
242
243 * gencodes.c (output_predicate_decls): Remove empty initializer.
244
3af4c257
MM
2452001-01-04 Mark Mitchell <mark@codesourcery.com>
246
247 * tree.c (copy_node): Remove documentation about obstacks.
248 (buidl1): Check that nobody tries to build 2-argument nodes this
249 way.
250
30472f46
KG
2512001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
252
a41d0855
KG
253 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
254 fp_high_losum_p.
255
30472f46
KG
256 * gencodes.c (output_predicate_decls): Fill empty initializer
257 braces.
258
c3843cea
JJ
2592001-01-04 Jakub Jelinek <jakub@redhat.com>
260
261 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
262 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
263 or -MM.
264 (do_include): Handle missing headers like cpp0.
265 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
266 paths with first include pathname. Don't strcat to uninitialized
267 string.
268
f4d578da
BS
2692001-01-04 Bernd Schmidt <bernds@redhat.com>
270
271 * regrename.c (regrename_optimize): Don't rename from frame pointer
272 if frame_pointer_needed.
273 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
274 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
275 (ia64_reorg): Use it instead of scheduling if ! optimize.
276 (errata_emit_nops): Properly call asm_noperands.
277 (ia64_sched_reorder): Finish cycle if we see an asm.
278 (ia64_variable_issue): Clear scheduling state after asms.
279
03b9ab42
NB
2802001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
281
282 * cpp.texi: Update for -MT.
283 * cppinit.c (initialize_dependency_output): Add a default
284 target if none has been given already.
285 (no_tgt, OPT_MT): New.
286 (cpp_handle_option): Handle -MT. Update -M etc.
287 * cpplib.h (struct cpp_options): Remove deps_target.
288 * gcc.c (cpp_options): Handle -MT.
289 * mkdeps.c (struct deps): Move from mkdeps.h.
290 (deps_calc_target): Rename deps_add_default_target. Add a
291 default target if none has been specified already.
292 * mkdeps.h (struct deps): Move to mkdeps.c.
293 (deps_calc_target): Rename deps_add_default_target.
294
584ef5fe
RH
2952000-01-03 Richard Henderson <rth@redhat.com>
296
297 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
298 Remove dead code.
299 * c-typeck.c (push_init_level): Move checks for flexible array
300 members and zero length arrays ...
301 (pop_init_level): ... here. Silently discard empty initializations.
302 Remove dead code.
303 * varasm.c (output_constructor): Update for sizeof change to
304 zero-length arrays.
305
306 * extend.texi (Zero Length): Clarify semantics.
307
04d430b8
AO
3082001-01-03 Alexandre Oliva <aoliva@redhat.com>
309
310 * configure.in (tm.h): Include isns-codes.h last.
311 * configure: Rebuilt.
312
e55a9a6e
RH
3132001-01-03 Richard Henderson <rth@redhat.com>
314
315 * config/alpha/alpha.md (addvsi3, addvdi3): New.
316 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
317
fa5db828
FS
3182001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
319
320 * tradcpp.c (main): Make sure finclude() is called with a valid
321 indepth value while handling -include.
322
975d393a
AO
3232001-01-03 Alexandre Oliva <aoliva@redhat.com>
324
325 * gencodes.c (output_predicate_decls): New function.
326 (main): Call it.
327 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
328 even if it is not the first time machmode.h is #included.
329 * config/sh/sh.c (fpul_operand): Declare MODE argument.
330 * tm.texi (PREDICATE_CODES): Document predicate declarations.
331 * gcc.texi (Copyright): Added 2001.
332
03dc0325
JM
3332001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
334
335 * c-common.c (c_common_lang_init): New function. Warn if format
336 warning options which only have effects when used with -Wformat
337 are used without -Wformat.
338 * c-common.h (c_common_lang_init): Declare.
339 * c-lang.c (lang_init): Call c_common_lang_init.
340 * objc/objc-act.c (lang_init): Call c_common_lang_init.
341
955be633
JM
3422001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
343
344 * configure.in: Check for the mktemp command.
345 * configure: Regenerate.
346 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
347 $TEMP. Create temporary files with mktemp, if available at
348 configure time; otherwise use set -C. Remove temporary files
349 before exit.
350
fd939e46
JM
3512001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
352
353 * configure.in: Require at least texinfo 4.0. Check for whether
354 Pod::Man is sufficiently recent to regenerate GCC manpages.
355 * configure: Regenerate.
356 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
357 on #!.
358 (GENERATED_MANPAGES): Define.
359 (generated-manpages): New target. Depend on cpp.1 as well as
360 gcov.1.
361 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
362 configure to generated-manpages or empty) rather than on the
363 manpages directly. Remove execute permission from installed
364 gcov.1 as well as cpp.1.
365 * cpp.1, gcov.1: Regenerate.
366
819c1488
KG
3672001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
368
369 * builtins.c (expand_builtin_strncmp): Use host_integerp and
370 tree_low_cst. Allow using cmpstrsi in more cases.
371
f07d22aa
RK
372Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
373
374 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
375 sized types.
376
7ccb4206
AO
377Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
378
379 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
380 * Makefile.in (HOST_CFLAGS): Mention build-make.
381
a338321e
RK
382Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
383
384 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
385 as JUMP_INSN.
386
432fd734
BS
3872001-01-01 Bernd Schmidt <bernds@redhat.com>
388
389 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
390 a REG rtx.
391
2be28ee2
BS
392 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
393 callers changed.
394
713f41f9
BS
395 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
396 reg_base_value and reg_known_value arrays.
397 (init_alias_analysis): Add more cases to detect known values.
398 * sched-deps.c (deps_may_trap_p): New function.
399 (sched_analyze_2): Use it.
400
8f8d8d6e
AO
4012001-01-03 Alexandre Oliva <aoliva@redhat.com>
402
403 * combine.c (simplify_shift_const): Even if we're sign-extracting,
404 don't discard an ASHIFTRT if we're shifting in a wider mode.
405
232a132f
JDA
4062000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
407
408 * toplev.c (rest_of_compilation): Don't print basic block information
409 when CFG isn't up to date.
410
19723541
ME
4112001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
412
413 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
414 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
415 (UNALIGNED_SHORT_ASM_OP): Define.
416 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
417
55560b9d
MM
4182001-01-02 Mark Mitchell <mark@codesourcery.com>
419
420 * fold-const.c (fold_convert): Fix typo.
421
4f78b9a8
RH
4222001-01-02 Richard Henderson <rth@redhat.com>
423
424 * c-common.h (ASM_INPUT_P): New.
425 * c-parse.in (asm): Set it when needed.
426 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
427 existance of an operand.
428
e2134eea
JH
429Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
430
431 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
432 (dwarf2out_frame_debug_expr): Likewise.
433 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
434
2b589241
JH
435Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
436
437 * i386.c (ix86_split_to_parts): Return number of part required;
438 handle TFmodes.
439 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
440 TFmodes.
441 (ix86_split_long_move): Use number of part returned
442 by ix86_split_to_parts
443 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
444 New macros.
445 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
446 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
447 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
448 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
449 (ALIGN_MODE_128): Add TFmode.
450 (IS_STACK_MODE): Likewise.
451 (HARD_REGNO_NREGS): TFmode needs 3 registers.
452 (HARD_REGNO_OK): Support TFmodes.
453 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
454 * i386.md (scheduler definitions): Use memory operand to determine
455 fst/fld instructions; use mode attribute to determine real mode of
456 the instruction.
457 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
458 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
459
330aa9a3
MM
4602001-01-02 Mark Mitchell <mark@codesourcery.com>
461
462 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
463
e0339ef7
RK
464Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
465
466 * expr.c (store_constructor_field): Update ALIGN before calling
467 store_constructor.
468
d07bec95
JO
4692001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
470
471 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
472 host_integerp.
473
3719d27b
JO
4742001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
475
476 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
477 incomplete type.
478
6d1c15cc
RK
479Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
480
481 * c-decl.c (start_function): Don't warn on third parameter to main.
482
16b97540
KG
4832001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
484
485 * tsystem.h: Define HAVE_DECL_GETOPT.
486
8515dc81
PB
4872001-01-02 Philip Blundell <pb@futuretv.com>
488
489 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
490 of input operand.
491
6f85e02b
RH
4922001-01-02 Richard Henderson <rth@redhat.com>
493
494 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
495
21c7361e
AJ
4962001-01-02 Andreas Jaeger <aj@suse.de>
497
498 * c-decl.c (c_decode_option): Remove support of
499 -Wmissing-noreturn.
500
501 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
502 (W_options): Add -Wmissing-noreturn here.
503
504 * flow.c: Define lang_missing_noreturn_ok_p.
505 (check_function_return_warnings): Use it.
506
507 * c-common.h: Declare lang_missing_noreturn_ok_p.
508
509 * c-lang.c (c_missing_noreturn_ok_p): New function.
510 (lang_init): Set lang_missing_noreturn_ok_p.
511
512 * invoke.texi (Warning Options): Document this.
513
5c25e11d
PE
5142000-12-27 Phil Edwards <pme@sources.redhat.com>
515
516 * extend.texi (C++ Extensions): New node for C++ attributes;
517 describe init_priority and com_interface.
518 * invoke.texi: Remove -finit-priority as it now has zero effect.
519 * install.texi: Fix xref syntax.
520 * md.texi: Likewise.
521
d1608933
RK
522Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
523
e428b937
RK
524 * config.gcc (sparc64-wrs-vxworks*): New case.
525 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
526
3276910d
RK
527 * config/sparc/sparc.c (sparc_override_options): Do support different
528 pointer and architecture size.
529 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
530 (POINTERS_EXTEND_UNSIGNED): Define.
531 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
532 (FUNCTION_MODE): Define to be Pmode.
533 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
534
d1608933
RK
535 * function.c (expand_function_end): Properly handle DECL_RESULT
536 and copy when ptr_mode != Pmode.
537 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
538
c2e42aab
KG
5392001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
540
541 * c-common.c (c_common_nodes_and_builtins): Set prototype
542 parameters for __builtin_fputs, __builtin_fputc and
543 __builtin_fwrite. Don't declare plain fputc as a builtin.
544
5b1ef594
JDA
5452001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
546
547 * loop.c (add_label_notes): Increment the label usage count when
548 a note is added to an insn which refers to a CODE_LABEL.
549 * gcse.c (add_label_notes): Likewise.
550
021d7b26
AJ
5512001-01-01 Andreas Jaeger <aj@suse.de>
552
553 * loop.c (scan_loop): Use xmalloc to allocate movables.
554
cf011243
AO
5552001-01-01 Alexandre Oliva <aoliva@redhat.com>
556
557 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
558 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
559 * reload1.c (REGISTER_MOVE_COST): Likewise.
560 * regclass.c (REGISTER_MOVE_COST): Likewise.
561 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
562 dimension. Adjust all users.
563 (init_reg_sets_1): Iterate on all modes.
564 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
565 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
566 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
567 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
568 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
569 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
570 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
571 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
572 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
573 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
574 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
575 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
576 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
577 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
578 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
579 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
580 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
581 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
582 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
583 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
584 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
585 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
586 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
587 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
588 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
589 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
590 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
591
e38fe8e0
BS
5922001-01-01 Bernd Schmidt <bernds@redhat.com>
593
594 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
595 arg VARIES_P. Call it with extra arg.
596 (true_dependence): Likewise.
597 * rtl.h (rtx_addr_can_trap_p): Declare.
598 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
599 prototypes.
600 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
601 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
602 pic offset table register if it's zero. All callers changed.
603 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
604
7a2bf7af
RK
605Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
606
7d797311
RK
607 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
608 STRING_POOL_ADDRESS_P.
609
4746e0fe
RK
610 * config/sparc/sparc.c (input_operand): Properly test for short op.
611
fbd68e5d
RK
612 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
613 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
614 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
615 * config/sparc/elf.h: No longer include sol2.h.
616 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
617 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
618
7a2bf7af
RK
619 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
620
14be28e5
MH
6212001-01-01 Michael Hayes <mhayes@redhat.com>
622
86fee241
MH
623 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
624 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
625 (record_initial): Likewise.
626 * unroll.c (copy_loop_body, loop_iterations): Likewise.
627 (remap_split_bivs): Likewise.
628
21c7361e 6292001-01-01 Michael Hayes <mhayes@redhat.com>
86fee241 630
b2735d9a
MH
631 * loop.c (loop_ivs_free): New function.
632 (strength_reduce): Break out from...
633
6342001-01-01 Michael Hayes <mhayes@redhat.com>
21c7361e 635
14be28e5
MH
636 * loop.h (struct iv): New.
637 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
638 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
639 'reg_biv_class' fields with 'regs' and 'n_regs'.
640 (struct ivs): Rename 'loop_iv_list' field to 'list'.
641 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
642 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
643
1d2215fe
AO
6442000-12-31 Alexandre Oliva <aoliva@redhat.com>
645
646 * resource.c (mark_referenced_resources): Abort() before
647 attempting to mark a pseudo register.
648 (mark_set_resources): Likewise.
649
8b634749
MH
6502001-01-01 Michael Hayes <mhayes@redhat.com>
651
652 * loop.h (REG_IV_CLASS): New accessor macro.
653 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
654 * unroll.c (REG_IV_CLASS): Likewise.
21c7361e 655
b4ae5201
RK
656Sun Dec 31 19:20:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
657
658 * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
659 (loc_descriptor_from_tree, case SAVE_EXPR): New.
660
e304a8e6
MH
6612001-01-01 Michael Hayes <mhayes@redhat.com>
662
663 * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
664 (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
665 (prescan_loop): Set pre_header_has_call in loop_info.
666 * loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
667 (struct loop_info): Add `pre_header_has_call'.
21c7361e 668
6ec73c7c
MH
669 * loop.c (loop_bivs_find): Break out from strength_reduce.
670 (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
671 (loop_givs_check, loop_biv_eliminable_p): Likewise.
21c7361e 672
b8056b46
MH
673 * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
674 (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.
21c7361e 675
8529a489
MH
676 * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
677 * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
678 direct access to uid_luid array.
679 * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.
680
6ec92010
MH
681 * loop.h (struct loop_movables): New.
682 (LOOP_MOVABLES): New.
683 (struct loop_info): Add movables field.
684 * loop.c (struct movables): Delete. Replace all uses
685 with struct loop_movables.
686 (the_movables): Delete. Replace all uses with movables
687 field in loop_info.
688 (loop_movables_add, loop_movables_free): New functions.
689 (scan_loop): Use xmalloc instead of alloca for movables.
690 Call loop_movables_free.
6ec92010 691
685efa54
MH
692 * loop.c (debug_loops): New.
693
e0cf507b
PB
6942000-12-31 Philip Blundell <philb@gnu.org>
695
696 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
697 operands.
698
711d4bb3
RH
6992000-12-30 Richard Henderson <rth@redhat.com>
700
701 * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
702 Initialize variables properly for DBX_LBRAC_FIRST.
703
27fb3e16
RK
7042000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
705
706 * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.
707
019fa094
KG
7082000-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
709
710 * builtins.c (validate_arglist): New function, use it.
711
f18969c0
PB
7122000-12-30 Philip Blundell <philb@gnu.org>
713
21c7361e 714 * config/arm/arm.c (arm_expand_prologue): Fix typos in error
f18969c0
PB
715 message and comment. Note location of testcase for an unhandled
716 situation.
717
2df88e9f
JO
7182000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
719
720 * defaults.h (BUILD_VA_LIST_TYPE): New definition.
721 * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
722 is a copy, not an alias.
723
1da68f56
RK
7242000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
725
b367c416
RK
726 * calls.c (calls_function_1, case CONSTRUCTOR): New case.
727
1da68f56
RK
728 * alias.c (alias_sets_conflict_p): New function.
729 (mems_in_disjoint_alias_sets_p): Use it.
730 (readonly_fields_p): Moved from expr.c; check for record type.
731 (objects_must_conflict_p): New function.
732 * calls.c (expand_call): Use assign_temp as much as possible, use
733 readonly variant if assigned once, and don't set memory attributes.
734 (emit_library_call_value_1, store_one_arg): Likewise.
735 * integrate.c (expand_inline_function): Likewise.
736 * stmt.c (expand_asm_operands, expand_return): Likewise.
737 * expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
738 (store_field, save_noncopied_parts, expand_expr): Likewise.
739 (expand_expr_unaligned): Likewise.
740 (readonly_fields_p): Moved to alias.c.
741 (safe_from_p): Rework handling of SAVE_EXPR.
742 MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
743 * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
744 (assign_stack_for_temp): Use objects_must_confict_p.
745 Set all memory attributes from type, if specified.
746 (mark_temp_slot): Mark TYPE field.
747 * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
748 (objects_must_conflict_p): Likewise.
749
750 * stmt.c (expand_decl): Don't use assign_stack_temp in error case.
751 (add_case_node): No need to copy nodes anymore.
21c7361e 752
b94544e4
AO
7532000-12-30 Alexandre Oliva <aoliva@redhat.com>
754
755 * config/sh/sh.c (split_branches): Don't dereference re-computed
756 `beyond' before checking it's non-NULL.
757
b57d6be8
RL
7582000-12-29 Robert Lipe <robertl@sco.com>
759
760 Remove COFF support from i?86-pc-sco3.2v5.
761 * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
762 (TARGET_ELF): Now always true.
763 (SUBTARGET_SWTICHES: )Remove -mcoff.
764
765 * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
766 MULTILIB_EXCEPTION): Nuke coff.
767 (CRTSTUFF_T_CFLAGS_S): Deleted.
768 (TARGET_LIBGCC2_CFLAGS): Added.
769
e1b4533c
AO
7702000-12-29 Alexandre Oliva <aoliva@redhat.com>
771
772 * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
773 twice. Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
774 modifies them.
775
08394eef
BS
7762000-12-29 Bernd Schmidt <bernds@redhat.com>
777
b5d37c6f
BS
778 * ia64.c (ia64_expand_load_address): Accept additional scratch
779 register argument. All callers & prototype changed.
780 Use scratch register when generating load_symptr insns.
781 * ia64.md (movdi_symbolic): Clobber a scratch register. Use it
782 when calling ia64_expand_load_address.
783 (movdi): Generate movdi_symbolic with additional operand.
784 (load_gprel64): Use pic_offset_table_rtx instead of (reg:DI 1).
785 (load_symptr): Likewise. Use additional operand as a scratch
786 register instead of generating it here.
787
de10dbf5 788 * basic-block.h: Add a comment.
6152c64a
BS
789 * flow.c (PROP_POSTRELOAD): New macro.
790 (update_life_info): Add it to prop_flags.
791 (mark_set_1): If it is set, compute REG_N_SETS for the original
792 register number of a hard reg.
793
08394eef
BS
794 * emit-rtl.c (gen_raw_REG): New function.
795 (gen_rtx_REG, gen_reg_rtx, init_emit_once): Use it instead of
796 gen_rtx_raw_REG.
797 * print-rtl.c (print_rtx): Print ORIGINAL_REGNO.
798 * final.c (alter_subreg): Update it.
799 * regrename.c (do_replace): Likewise. Use gen_raw_REG.
800 * rtl.def (REG): Update comment.
801 * rtl.h (X0UINT, ORIGINAL_REGNO): New macros.
802 (gen_raw_REG): Declare.
803
e1a132c6
RK
8042000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
805
5538d8a0
RK
806 * tree.c (get_set_constructor_bits): Use host_integerp and
807 tree_low_cst.
808
c2fd66f4
RK
809 * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
810
e1a132c6
RK
811 * toplev.c (main): Call xmalloc_set_program_name.
812 * gcc.c (main): Likewise.
813
5184f7c5
PB
8142000-12-29 Philip Blundell <philb@gnu.org>
815
816 * config/arm/arm.c (arm_override_options): Fix typo in warning
817 message.
818
c17f08e1
RH
8192000-12-29 Richard Henderson <rth@redhat.com>
820
821 * config/alpha/alpha.c (alpha_expand_block_move): Initialize
822 src_align and dst_align in bits. Do unaligned quadword loads
823 if possible for BWX too.
824 (alpha_expand_block_clear): Initialize align in bits. Track
825 small leading offsets into a larger alignment. Play games with
826 stq_u for large 4-byte aligned blocks. Use load/mask/store
827 for appropreately aligned heads and tails.
828
f523247a
AO
8292000-12-29 Alexandre Oliva <aoliva@redhat.com>
830
831 * function.c (assign_parms): Convert arguments passed by
832 reference to the right mode.
833
fb8b656c
GK
8342000-12-28 Geoffrey Keating <geoffk@redhat.com>
835
836 * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
837 on the condition of a FOR statement, so that it gets typechecked
838 and optimised.
839
6b5273c3
AO
8402000-12-29 Alexandre Oliva <aoliva@redhat.com>
841
68940175
AO
842 * c-decl.c (grokdeclarator): Prevent crash in case of overflow in
843 array size.
844
6b5273c3
AO
845 * calls.c (emit_library_call_value_1): Add to call_fusage the
846 stack slot assigned to argument passed by reference.
847
328a8516
JO
8482000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
849
850 * toplev.h (extern really_sorry): Remove extern declaration for
851 nonexistent function.
852
212addfa
JO
8532000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
854
855 * varasm.c (initializer_constant_valid_p): Indicate subtraction of
856 pointers to the same string constant is absolute.
857
26f6672d
JM
8582000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
859
860 * c-common.c (enum format_type): Add strfmon_format_type.
861 (decl_attributes): Handle format attributes strfmon and
862 __strfmon__.
863 (FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
864 FMT_FLAG_EMPTY_PREC_OK): Define.
865 (format_char_info): Update comment for flag_chars.
866 (format_flag_spec): Add skip_next_char.
867 (format_kind_info): Add left_precision_char.
868 (printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
869 format_types): Update for these new structure members and flags.
870 (time_char_table): Make const.
871 (strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
872 monetary_char_table): New.
873 (format_types): Add details of strfmon formats.
874 (init_function_format_info): Create default attribute for strfmon.
875 (check_format_info_main): Check the new flags. Handle
876 skip_next_char and left precision.
877 * toplev.c (documented_lang_options): Update description of
878 -Wformat.
879 * extend.texi: Document strfmon format attributes. Document
880 attribute forms such as __printf__. Clarify format_arg attribute
881 documentation.
882 * invoke.texi (-Wformat): Update for strfmon formats.
883
df7978d9
AJ
8842000-12-28 Andreas Jaeger <aj@suse.de>
885
886 * expmed.c (store_bit_field): Fix last patch.
887
78362efb
AO
8882000-12-28 Alexandre Oliva <aoliva@redhat.com>
889
890 * config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
891 the trailing `__'.
892
3ba35c91 8932000-12-28 Alan Lehotsky <lehotsky@tiac.net>
5da1e2c4
AL
894
895 * expmed.c (store_bit_field): Correctly compute smallest mode that
896 is sufficient to contain all bits we are storing.
897
6385a28f
KG
8982000-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
899
900 * builtins.c (build_function_call_expr): New function. Use it
901 everywhere in lieu of manually constructing a CALL_EXPR.
902
57ec4709
CC
9032000-12-27 Chandrakala Chavva <cchavva@redhat.com>
904
905 * calls.c (store_one_arg): If parm is passed both in stack and in
906 register and offset is greater than reg_parm_stack_space, split
21c7361e 907 the offset and call emit_push_insn().
57ec4709 908
37f25cb9
NC
9092000-12-27 Nick Clifton <nickc@redhat.com>
910
911 * ifcvt.c (noce_emit_store_flag): Handle jump insns that are
912 PARALLEL.
913
715e2ab1
AO
9142000-12-27 Alexandre Oliva <aoliva@redhat.com>
915
916 * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
917 flag.
918
47986760
BK
9192000-12-27 Bruce Korb <bkorb@gnu.org>
920
921 * fixinc/Makefile.in: fix for ancient Bourne shell
922 * fixinc/Makefile.BEOS: obsolete
923 * fixinc/Makefile.DOS: obsolete
46159c15 924 * fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing
47986760 925
0a1bb917
BS
9262000-12-27 Bernd Schmidt <bernds@redhat.com>
927
928 * sched-deps.c (get_condition, conditions_mutex_p): New functions.
929 (add_dependence): Use them to avoid adding unnecessary dependencies
930 between conditionally executed insns.
931 (sched_analyze_1, sched_analyze_2, sched_analyze_insn): Don't free
932 dependency lists if current insn is a COND_EXEC.
21c7361e 933
6cbadf36
GK
9342000-12-27 Geoffrey Keating <geoffk@redhat.com>
935
936 * config/rs6000/rs6000.md (define_attr "length"): Correct
937 calculation.
938
a3027199
KH
9392000-12-26 Kazu Hirata <kazu@hxi.com>
940
3e39bdb9
KH
941 * config/h8300/h8300.c: Fix a comment typo.
942 (get_shift_alg): Fix a typo in the assembly code for 12-bit
943 ASHIFTRT in HImode. Do not output extra whitespace after one line
944 of assembly code. Output a tab after an opcode instead of a
945 space.
946 (emit_a_shift): Output a tab after an opcode instead of a space.
a3027199 947
33d5e2dc
MM
9482000-12-23 Marek Michalkiewicz <marekm@linux.org.pl>
949
950 * config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
951 out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
952 %4 in output templates, do not modify operands passed by the caller.
953
29b5ca41
JM
9542000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
955
956 * builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
957 Don't define.
958 * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
959 BUILT_IN_LLABS and BUILT_IN_IMAXABS.
960 * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
961 builtin labs, llabs and imaxabs.
962 (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
963 and BUILT_IN_IMAXABS.
964
fc2aaf30
JM
9652000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
966
967 * c-common.c (builtin_function_2): New function.
968 (c_common_nodes_and_builtins): Use it to define each pair (foo,
969 __builtin_foo) of builtins in one place.
970
0692b39c
JM
9712000-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
972
973 * gccbug.in: Add libgcj and preprocessor categories.
974
394411d5
BS
9752000-12-22 Bernd Schmidt <bernds@redhat.com>
976
977 * config/ia64/ia64.c (itanium_reorder): Only schedule stops in
978 the final scheduling pass.
979
b53ef1a2
NC
9802000-12-22 Nick Clifton <nickc@redhat.com>
981
6f7ebcbb
NC
982 * config/arm/arm.h (struct machine_function): Add new field
983 'lr_save_eliminated'.
984 * config/arm/arm.c (arm_compute_save_reg_mask): Do not include the
985 link register if its save has been eliminated.
986 (output_arm_prologue): Mention if the save of the link register
987 has been eliminated.
988 (output_arm_epilogue): Rename 'live_regs_mask' to
989 'saved_regs_mask'.
990 Test 'saved_regs_mask' for the link register, not regs_ever_live.
991 (arm_expand_prologue): If the link register has not been saved set
992 lr_save_eliminated and emit a USE to prevent later passes from
993 scavenging it.
21c7361e 994
b53ef1a2
NC
995 * dwarf2out_frame_debug_expr: Allow the (scratch) frame
996 pointer to be initialised from the stack pointer plus a
997 constant.
998
fe08a886
BS
9992000-12-22 Bernd Schmidt <bernds@redhat.com>
1000
1001 * regrename.c (struct du_chain): New field "earlyclobber".
1002 (enum scan_actions): Remove unused entry "note_reference".
1003 (enum scan_actions_name): Likewise.
1004 (note_sets, clear_dead_regs, merge_overlapping_regs): New static
1005 functions.
1006 (regrename_optimize): Use them to compute unavailable regs; get
1007 rid of the more simpleminded code we used to have here.
1008 Use a tick array to ensure registers are allocated in a more
1009 round-robin way. Disable code that only optimizes registers
1010 that were seen more than once.
1011 (referenced_regs): Remove variable.
1012 (scan_rtx_reg): New arg "earlyclobber". All callers changed.
1013 Store its value in newly generated du_chain structures.
1014 Add new du_chains at the end, not the start, of the list.
1015 Don't handle the "note_reference" action.
1016 (scan_rtx): New arg "earlyclobber". All callers changed.
1017 (build_def_use): Lose code to keep track of referenced regs.
1018
fc608b03
KG
10192000-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1020
1021 * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
1022
1023 * fp-bit.h (usi_to_float): Add prototype.
1024
83ab3907
KG
1025 * i386.c (ix86_expand_builtin): Delete unused label.
1026
1027 * dwarf2out.c (file_info_cmp): Prototype.
fc608b03 1028 (dwarf2out_line): Hide variable `old_in_use'.
21c7361e 1029
fc608b03
KG
1030 * objc-act.c (objc_fatal): Delete.
1031
1032 * sched-vis.c (visualize_stall_cycles): Remove unused variable.
1033
1034 * system.h (getopt): Fix error in last change.
1035
1036 * varasm.c (assemble_trampoline_template): Constify.
1037
a545190e
JM
10382000-12-22 Jason Merrill <jason@redhat.com>
1039
1040 * collect2.c (main): Use auto_demangling.
1041
fd81f5f6
AO
10422000-12-22 Alexandre Oliva <aoliva@redhat.com>
1043
1044 * function.c (assign_parms): Update parm's DECL_INCOMING_RTL
1045 when optimizing PARALLEL to REG.
1046
98c17df2
GS
10472000-12-22 Graham Stott <grahams@redhat.com>
1048
1049 * reload.c (update_auto_inc_notes): New, broken out from ...
1050 (find_reloads_address_1): ... use here, also correct possible
1051 use of uninitialised reloadnum.
1052
78abb7b1
DB
10532000-12-21 David O'Brien <obrien@FreeBSD.org>
1054
1055 * config/freebsd.h (LIB_SPEC): remove -kthread option.
1056
1fb9c5cd
MH
10572000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1058
1059 * resource.c (mark_set_resources): Use MARK_SRC_DEST for
1060 PRE_MODIFY and POST_MODIFY cases.
1061
1062 * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
1063
6e4fcc95
MH
10642000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1065
1066 * md.texi (Looping Patterns): New node.
1067
a60b5209
JM
10682000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
1069
1070 * gcc.texi, cpp.texi: Update last-updated dates.
1071
c165f94f
CC
10722000-12-21 Chandrakala Chavva <cchavva@redhat.com>
1073
1074 * varasm.c (output_addressed_constants): Use language specific
1075 expander on unknown nodes.
1076
98c17df2 10772000-12-21 Graham Stott <grahams@redhat.com>
f7cfa78d
GS
1078
1079 * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
1080
2130b7fb
BS
10812000-12-21 Bernd Schmidt <bernds@redhat.com>
1082
1083 * Makefile.in (out_object_file): Depend on sched-int.h.
1084 * rtl.h (single_set_1): New macro.
1085 (single_set_2): Renamed from single_set_1 and extra argument added.
1086 * rtlanal.c (single_set_2): Likewise.
1087
1088 * config/ia64/ia64-protos.h (get_bundle_name, ia64_issue_rate,
1089 ia64_adjust_cost, ia64_sched_init, ia64_sched_finish,
1090 ia64_sched_reorder, ia64_sched_reorder2, ia64_variable_issue):
1091 Declare.
1092 * config/ia64/ia64.c: Include "sched-int.h".
1093 (hard_regno_rename_ok): Also disallow renaming from the various
1094 reg_save_* regs.
1095 (ia64_safe_itanium_requiers_unit0, ia64_safe_itanium_class,
1096 ia64_safe_type, init_insn_group_barriers, group_barrier_needed_p,
1097 safe_group_barrier_needed_p, fixup_errata): New static functions.
1098 (rtx_needs_barrier): Handle bundle selector and cycle display
1099 insns.
1100 (emit_insn_group_barriers): Accept additional FILE * arg. All
1101 callers changed. Rework to only generate stop bits between
1102 basic blocks that haven't been inserted by scheduling.
1103 (struct bundle, struct ia64_packet): New structures.
1104 (NR_BUNDLES, NR_PACKETS): New macros.
1105 (bundle, packets, type_names): New static arrays.
1106 (ia64_final_schedule): New variable.
1107 (ia64_single_set, insn_matches_slot, ia64_emit_insn_before,
1108 gen_nop_type, finish_last_head, rotate_one_bundle, rotate_two_bundles,
1109 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
1110 find_best_packet, itanium_reorder, dump_current_packet, schedule_stop):
1111 New static functions.
1112 (ia64_issue_rate, ia64_sched_init, ia64_sched_reorder,
1113 ia64_sched_finish, ia64_sched_reorder2, ia64_variable_issue): New
1114 functions.
1115 (ia64_reorg): Perform a final scheduling pass.
1116 * config/ia64/ia64.h (CONST_COSTS): Slightly increase SYMBOL_REF costs.
1117 (MAX_CONDITIONAL_EXECUTE, ADJUST_COST, ISSUE_RATE, MD_SCHED_INIT,
1118 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_FINISH,
1119 MD_SCHED_VARIABLE_ISSUE): Define macros.
1120 (ia64_final_schedule): Declare variable.
1121 * config/ia64/ia64.md (attr itanium_class): Add some more classes.
1122 (attr type): Account for them.
1123 (itanium_requires_unit0): New attribute.
1124 (function units): Rewrite.
1125 (some splitters): Don't create scheduling barriers here.
1126 (gr_spill_internal, gr_restore_internal): Don't predicate the
1127 pseudo-op.
1128 (nop_m, nop_i, nop_f, nop_b, nop_x, cycle_display, cycle_display_1,
1129 bundle_selector): New patterns.
1130 (insn_group_barrier): Now has an operand.
21c7361e 1131
5f446d21
DD
11322000-12-21 DJ Delorie <dj@redhat.com>
1133
1134 * dwarf2out.c (simple_decl_align_in_bits): new
1135 (field_byte_offset): Try both the type align and the
1136 decl align, use whichever works, preferring the type align.
1137
e98df22a
JM
11382000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
1139
1140 * gccbug.in: Fix typo.
1141
9d680205
BK
11422000-12-20 Benjamin Kosnik <bkoz@redhat.com>
1143
1144 * Makefile.in (gcc_gxx_target_include_dir): Use instead of
1145 build_tooldir and libstdcxx_incdir.
1146
01c70ab0
RL
11472000-12-20 Robert Lipe <robertlipe@usa.net>
1148
1149 * haifa-sched.c (schedule_block): Provide empty source statement
1150 if not MD_SCHED_REORDER2.
1151
4b01bd16
RH
11522000-12-20 Richard Henderson <rth@redhat.com>
1153
1154 * rtl.h (REG_NON_LOCAL_GOTO): New.
1155 * rtl.c (reg_note_name): Update.
1156 * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
1157 * builtins.c (expand_builtin_longjmp): Likewise.
1158 * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
1159 not emit an edge.
1160
dfaf5abf
MM
11612000-12-20 Marek Michalkiewicz <marekm@linux.org.pl>
1162
1163 * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
1164 Do not output undefined opcodes where source or destination register
1165 overlaps with modified pointer register. Handle (X + d) addresses.
1166 * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
1167 in alternatives with memory operand.
1168
64094f6a
RH
11692000-12-20 Richard Henderson <rth@redhat.com>
1170
a545190e
JM
1171 * c-typeck.c (build_asm_stmt): New, broken out from ...
1172 (c_expand_asm_operands): ... here. Just do rtl expansion.
1173 (c_expand_return): Return the new stmt node.
1174 (c_start_case, do_case): Likewise.
1175 * c-common.c (c_expand_expr_stmt): Likewise.
1176 * c-common.h: Update declarations.
1177 * c-tree.h: Likewise.
1178 * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
1179 * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
1180 (nested_function, notype_nested_function): Likewise.
1181 (compstmt): Return the compound statement not the binding level.
1182 (lineno_labeled_stmt): Simplify.
1183 (lineno_stmt, lineno_label): Set STMT_LINENO.
1184 (stmt, label): Return the new stmt node.
64094f6a 1185
fd7bcd6f
BS
11862000-12-20 Bernd Schmidt <bernds@redhat.com>
1187
18e720b3
BS
1188 * Makefile.in (OBJS): Add sched-ebb.o.
1189 (sched-ebb.o): New rule.
1190 (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H).
1191 (haifa-sched.o): Depend on insn-flags.h.
1192 * haifa-sched.c: Include "insn-flags.h".
1193 (priority): Don't access BLOCK_NUM, use the new contributes_to_priority
1194 callback.
1195 * rtl.h (schedule_ebbs): Declare.
1196 * sched-int.h (struct sched_info): Add new members
1197 contributes_to_priority and compute_jump_reg_dependencies.
1198 * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies):
1199 New functions.
1200 (region_sched_info): Add them.
1201 * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h".
1202 * sched-ebb.c: New file.
1203 * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs.
1204
fd7bcd6f
BS
1205 * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly
1206 handle all relational operators.
1207
99c8c61c
AO
12082000-12-20 Alexandre Oliva <aoliva@redhat.com>
1209
1210 * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
1211 * tm.texi: Document it.
1212
1eddfef1
BK
12132000-12-19 Benjamin Kosnik <bkoz@redhat.com>
1214
1215 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
1216 instead of gcc_tooldir.
1217
051a55e0
JDA
12182000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1219
1220 * system.h (getopt): Update prototype to match include/getopt.h.
1221
b088998d
JDA
12222000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1223
1224 From Jeff Law.
1225 * pa.c (basereg_operand): Simplify.
1226
288c2c9e
BS
12272000-12-19 Bernd Schmidt <bernds@redhat.co.uk>
1228
79c2ffde
BS
1229 * haifa-sched.c (rm_line_notes): Arguments are now head and tail,
1230 not block number. All callers and prototype changed.
1231 (set_priorities): Likewise.
1232 (save_line_notes): Add head and tail arguments; all callers and
1233 prototype changed.
1234 (restore_line_notes): Likewise. Don't crash on insns generated
1235 during scheduling.
1236 (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros.
1237 Call MD_SCHED_INIT with additional argument.
1238 When starting a new cycle, emit cycle_display insns if available.
1239 Don't stop scheduling when encountering a JUMP_INSN, but add another
1240 call to schedule_more_p in the inner loop.
1241 Call MD_SCHED_REORDER2 after scheduling an insn.
1242 Call MD_SCHED_FINISH once all insns are scheduled.
1243 (sched_init): Compensate for the fact that get_block_head_tail
1244 doesn't include leading notes.
1245 * sched-deps.c (free_deps): Free vectors here.
1246 * sched-rgn.c (compute_block_backward_dependencies): Not here.
1247 (last_was_jump): New static variable.
1248 (schedule_more_p): Test it.
1249 (init_ready_list): Initialize it.
1250 (can_schedule_ready_p): Set it if we have a JUMP_INSN.
1251
1252 * config/i386/i386.h (MD_SCHED_INIT): Add new arg.
1253 * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg.
1254 * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg.
1255
1256 * md.texi (cycle_display): Document.
1257 * tm.texi (MD_SCHED_INIT): Document new arg.
1258 (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document.
1259
288c2c9e
BS
1260 * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite
1261 to use different representation. All callers changed.
1262 (and_reg_cond): Renamed from nand_reg_cond; caller changed.
1263 (init_propagate_block_info): Don't test flags to determine
1264 whether to compute conditional lifetimes.
1265 Adjust code for new representation of conditional lifetimes.
1266 (mark_regno_cond_dead): Similar adjustment.
1267 (free_reg_cond_life_info): Similar adjustment.
1268 (elim_reg_cond): New function.
1269 (flush_reg_cond_1): Use it.
1270
6a69653a
CM
12712000-12-19 Catherine Moore <clm@redhat.com>
1272
1273 * reload1.c (reload_combine): Take multi-hard-regs into account
1274 when processing CALL_INSN_FUNCTION_USAGE.
1275
3c0b7970
JM
12762000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
1277
1278 * invoke.texi (-print-search-dirs): Make references to cpp refer
1279 to cpp0 instead.
1280
9d2dc7da
KG
12812000-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1282
1283 * fold-const.c (tree_expr_nonnegative_p): Treat truth values as
1284 non-negative.
1285
d0b6af71
R
1286Tue Dec 19 00:37:08 2000 J"orn Rennecke <amylaar@redhat.com>
1287
1288 * reload.c (push_reload): When using a dying register for the reload
1289 register in an in-out reload, use outmode if wider than inmode.
1290
3173ca64
JM
12912000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
1292
1293 * config/d30v/d30v.h (EXIT_BODY): Update comment.
1294
9e9b9afe
JM
12952000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1296
1297 * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
1298 * tm.texi (EXIT_BODY): Update documentation.
1299 * config/freebsd.h, config/netware.h, config/arm/coff.h,
1300 config/arm/conix-elf.h, config/arm/unknown-elf.h,
1301 config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
1302 sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
1303 commented out) and associated comments.
1304
20d380b1
JM
13052000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1306
1307 * c-common.c (STD_C9L, ADJ_STD): Define.
1308 (printf_length_specs, scanf_length_specs): Mark "ll" as standard
1309 STD_C9L.
1310 (T99_LL): Rename to T9L_LL.
1311 (T99_ULL): Rename to T9L_ULL.
1312 (print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
1313 instead of T99_LL and T99_ULL.
1314 (check_format_info_main): Use ADJ_STD on all format standard
1315 versions being compared.
1316 * c-common.h: Declare warn_long_long.
1317 * c-tree.h: Don't declare warn_long_long.
1318
2cb5082c
JM
13192000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
1320
1321 * COPYING: Update to current
1322 ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
1323 to 19yy as example year in copyright notice).
1324
665ad678
NB
13252000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1326
1327 * c-lex.c (cb_file_change): Treat in_system_header as strictly
1328 boolean (0 or 1).
1329
3cab4133
NB
13302000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1331
1332 * cppmain.c: Update print.lineno with -P.
1333
eb1f4d9d
NB
13342000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1335
1336 * c-lex.c: s/change_file/file_change.
1337 * cpplib.h: Similarly.
1338 * cppmain.c: Similarly.
1339 * fix-header.c: Similarly.
1340 * cppfiles.c (stack_include_file): Pass the buffer location and
1341 size to cpp_push_buffer. Generate the file_change callback,
1342 so that sysp is already set.
1343 * cpphash.h: Add _cpp_do_file_change.
1344 * cpplib.c (do_line): Set buffer->sysp directly. Generate the
1345 file_change callback after setting sysp.
1346 (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
1347 here.
1348 (cpp_push_buffer): Don't generate a callback. Clear sysp.
1349 (cpp_pop_buffer): Clean up logic.
1350
e2187d3b
BK
13512000-12-18 Benjamin Kosnik <bkoz@redhat.com>
1352
1353 * configure.in (gcc_gxx_include_dir): Simplify.
1354 (libstdcxx_incdir): Export.
1355 * configure: Regenerate.
1356 * Makefile.in (PREPROCESSOR_DEFINES): Add in
1357 GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
1358 (libstdcxx_incdir): Add.
1359 * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
1360
851ef036
NB
13612000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
1362
1363 * c-lex.c (lex_lineno): Remove.
1364 (init_c_lex, c_lex): Remove lex_lineno.
1365 (cb_change_file): Update lineno correctly, both before calling
1366 push_srcloc and before leaving the function.
1367 (cb_def_pragma): Set lineno before outputting diagnostics.
1368
f2aca197
RK
1369Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1370
1371 * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
1372 Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
1373 Use print_node_brief to print bounds.
1374
49fe13f6
NB
13752000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1376
1377 * cpplib.h (struct cpp_reader): Remove references to string_pool
1378 and temp_string_pool.
1379 * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
1380 ident_pool in place.
1381 * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
1382 save_comment, cpp_token_as_text): Similarly.
1383 * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
1384 * cppmacro.c (make_number_token, builtin_macro, lock_pools,
1385 unlock_pools, stringify_arg, paste_tokens): Similarly.
1386
ed972b14
RK
1387Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1388
1389 * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
1390 (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
1391 (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
1392
e108653c
RE
13932000-12-17 Richard Earnshaw <rearnsha@arm.com>
1394
1395 * Makefile.in (check-po): Use $(MAKE).
1396 (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
1397
dfbf62ec
NB
13982000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1399
1400 * cppmain.c (check_multiline_token): New function.
1401 (scan_buffer): Use it.
1402 (cb_change_file): Restructure to avoid warning.
1403 * cpperror.c (print_location): Initialize col.
1404
04650349 14052000-12-14 Philipp Thomas <pthomas@suse.de>
ed972b14 1406
04650349
PT
1407 * protoize.c (main): Correctly set locale categories.
1408 * gcc.c (main): Likewise.
1409 * cppmain.c (general_init): Likewise.
1410 * toplev.c (main): Likewise.
1411 * gcov.c (main): Likewise.
1412 * collect2.c (main): Likewise.
1413
60291474
KG
14142000-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1415
1416 * c-common.c (c_common_nodes_and_builtins): Create a
1417 cstring_endlink, use it. Rename int_ftype_string_string to
1418 int_ftype_cstring_cstring, string_ftype_string_int to
1419 string_ftype_cstring_int, and string_ftype_string_string to
1420 string_ftype_cstring_cstring. Prefer sizetype_endlink and
1421 int_endlink to manually recreating them. Fix the prototype
1422 set for __builtin_strspn/__builtin_strcspn.
1423
cf14485b
MM
14242000-12-12 Marek Michalkiewicz <marekm@linux.org.pl>
1425
1426 * config/avr/avr.c (out_set_stack_ptr): Update comment.
1427 (print_operand): Add support for %~ and %o.
1428
8e0ed3b5
HB
14292000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1430
1431 * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
1432
ad2a084d
NB
14332000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
1434
1435 * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
1436 * cpperror.c (print_containing_files): Get right line number.
1437 (print_location): Output column of 1 if 0.
1438 * cppfiles.c (stack_include_file): cpp_push_buffer handles
1439 the callback.
1440 * cpphash.h (_cpp_do_file_change): No longer external.
1441 * cpplib.c (do_file_change): Now local to cpplib.c.
1442 (do_line): Fake a buffer stack for preprocessed files.
1443 (cpp_push_buffer): Create a file_change callback. Handle faked
1444 buffers.
1445 (cpp_pop_buffer): Similarly.
1446 * cpplib.h: BUF_FAKE: New buffer type.
1447 * cppmain.c: Update to handle correct file renaming where a
1448 #line is the first line of the main file, and produce only
1449 the renamed file, not the original file, as output.
1450
3b67042a
MH
14512000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1452
1453 * config/c4x/c4x.md: Remove redundant @s from output patterns.
1454
9f416fac
MH
14552000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1456 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1457
1458 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
1459
1460 * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
1461
1462 * config/c4x/c4x.c (c4x_init_pragma): New function.
1463 (c_lex_func): New variable.
1464 (c4x_parse_pragma): Use c_lex_func.
1465
94eebed9
MH
14662000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1467 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1468
1469 * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
1470 to c4x_init_builtins.
1471
1472 * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
1473
21c7361e 1474 * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
94eebed9 1475 (c4x_output_ascii): Fix.
21c7361e 1476
66f77154 14772000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8a119a7d 1478 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
66f77154 1479
8a119a7d
MH
1480 * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
1481
1482 * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
1483 (c4x_expand_builtin): Likewise.
1484
1485 * config/c4x/c4x.c (c4x_init_builtins): New function.
1486 (c4x_expand_builtin): Likewise.
1487
1488 * config/c4x/c4x.md (floatunsqihf2): New pattern.
1489 (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
1490 (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
1491 (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
1492 (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
1493
14942000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21c7361e 1495
66f77154
MH
1496 * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
1497 * libgcc2.c (__absvsi2): Use Wtype and DWtype.
1498 (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
1499 (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
1500
f11009b7
AO
15012000-12-16 Alexandre Oliva <aoliva@redhat.com>
1502
1503 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
1504 statement in do/while(0).
1505
2bed3391
JH
1506Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz>
1507
1508 * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
1509 lshrhi3_cmpno): Remove redundant '@' from the template.
1510
1511 * i386.md (cmpstrsi_1): Fix type of the compare.
1512
1513 * genattrtab.c (attr_rtx_cost): New function.
1514 (simplify_test_exp): Avoid overactive inlining; use temporary
1515 obstacks for tests.
1516
23cb454a
RK
1517Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1518
b372743a
RK
1519 * diagnostic.c (finish_abort): Deleted.
1520 (fatal): Add code from finish_abort.
1521 (error_recursion, fancy_abort): Call fatal, not finish_abort.
1522 (trim_filename): Remove leading "../".
1523 * diagnostic.h (finish_abort): Deleted.
1524 * toplev.c (crash_signal): Call fatal, not finish_abort.
1525
67011d81
RK
1526 * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
1527 as if size were variable.
1528
23cb454a
RK
1529 * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
1530
3244472d
NB
15312000-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
1532
1533 * tradcpp.c: T_WARNING: New.
1534 (do_warning): New function.
1535 (finclude): Skip past the newline and increase the line number
1536 before calling output_line_command.
21c7361e
AJ
1537 (do_line): Skip the new line after output_line_command. Don't
1538 pre-decrement the line number.
3244472d 1539
112550d3
DN
15402000-12-15 Diego Novillo <dnovillo@redhat.com>
1541
1542 * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
1543 _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
1544
be768055
JJ
15452000-12-15 Jakub Jelinek <jakub@redhat.com>
1546
1547 * gcc.c (cpp_options): Pass -fno-operator-names.
1548 * cpplib.h (struct cpp_options): Add operator_names.
1549 * cppinit.c (cpp_create_reader): Initialize it.
1550 (initialize_builtins): If -fno-operator-names, don't add
1551 C++ alternate operator names.
1552 (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
1553 (cpp_handle_option): Clear operator_names.
1554
745b9093
JM
15552000-12-15 Jason Merrill <jason@redhat.com>
1556
1557 * jump.c (jump_optimize_1): Don't delete the line note after the
1558 prologue even if it seems redundant.
1559
1560 * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
1561 on all insns used to adjust the stack.
1562
ad334b51
JH
1563Fri Dec 15 15:32:16 MET 2000 Jan Hubicka <jh@suse.cz>
1564
1565 * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
1566 hardreg<->reg moves.
1567
29360e56
JH
1568Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz>
1569
1570 * genrecog.c (add_to_sequence): Remove special case for
1571 const_int_operand.
1572 (maybe_both_true): Return 1 when falling out of sequence when
1573 trying to find common possition in the pattern.
1574
dde068d9
JH
1575Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz>
1576
1577 * integrate.c (copy_rtx_and_substitute): Copy mode too.
1578
0bf7d71a
JH
1579Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz>
1580
1581 * flow.c (notice_stack_pointer_modification_1): Cleanup.
1582
b33493e3
AO
15832000-12-15 Alexandre Oliva <aoliva@redhat.com>
1584
1585 * function.c (adjust_trampoline_addr): New function.
1586 (trampoline_address): Call it instead of round_trampoline_addr().
1587 * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
1588
0eda43ce
ZW
15892000-12-14 Zack Weinberg <zack@wolery.stanford.edu>
1590
1591 * cppfiles.c (hack_vms_include_specification): Delete function
1592 (not used since 1998).
1593
4cf37b4a
R
1594Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
1595
1596 * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
1597
1d79fd2c
JW
15982000-12-14 Jim Wilson <wilson@redhat.com>
1599
1600 * alias.c (get_alias_set): Call record_component_aliases for
1601 COMPLEX_TYPE.
1602 (record_component_aliases): Handle COMPLEX_TYPE.
21c7361e 1603
e7103ad2
KG
16042000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1605
1606 * fixinc/gnu-regex.c: Disable NLS.
1607
34c659e2
RH
16082000-12-14 Richard Henderson <rth@redhat.com>
1609
c53f9f5b
RH
1610 * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
1611 comparison operands when that would create non-canonical rtl.
1612
34c659e2
RH
1613 * config/i386/i386.md (umulsi3_highpart): Remove * from name.
1614 (smulsi3_highpart): Likewise.
1615
7667db9b
NB
16162000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1617
1618 * gcc.c (cpp_options): Add -remap.
1619
196a37f4
NB
16202000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1621
1622 * gcc.c (cpp_options): Update to use '&'.
1623 (struct switchstr): Change type of validated to save space.
1624 New member 'ordering'.
21c7361e 1625 (handle_braces, validate_switches): Update to handle '&'.
196a37f4 1626
413c5c85
LB
16272000-12-13 Laurynas Biveinis <lauras@softhome.net>
1628
1629 * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
1630 found in a header.
1631 * fixinc/fixincl.x: regenerated.
1632
60a8ab96
DD
16332000-12-13 DJ Delorie <dj@redhat.com>
1634
1635 * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
1636
14dd2402
TT
16372000-12-13 Tom Tromey <tromey@redhat.com>
1638
1639 * gcc.c (handle_braces): Handle %{<S*} spec correctly.
1640
e68a6ce1
AO
16412000-12-13 Alexandre Oliva <aoliva@redhat.com>
1642
1643 * function.c (assign_parms): Optimize incoming PARALLELs into
1644 REGs if possible.
1645
2629a114
BK
16462000-12-13 Bruce Korb <bkorb@gnu.org>
1647
1648 * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
1649 that cannot handle bi-directional pipes, viz. BeOS and DOS.
1650 * fixinc/fixlib.h(IGNORE_ARG): new macro
1651 (STATIC): define for all of fixinc to use
1652 * fixinc/fixfixes.c(*): eliminate unused arg warnings
1653 * fixinc/fixtests.c(*): ditto
1654 * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
1655 * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
1656 warning. Also, eliminate the ``#ifdef emacs'' stuff.
1657 (re_syntax_options): make global as it is declared so.
1658 * fixinc/mkfixinc.sh: process the argument list more consistently
1659 (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
1660 * fixinc/procopen.c(globals): include "fixlib.h" for std defs
1661 * fixinc/server.c(globals): ditto
1662 * fixinc/server.h(defines): ditto
1663
c36ee164
NB
16642000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1665
1666 * tradcpp.c (special_symbol): Improve test for definedness,
1667 though it is still not perfect.
1668 (do_define): Don't define illegal macro names.
21c7361e 1669
a65fd88a
AH
16702000-12-07 Aldy Hernandez <aldyh@redhat.com>
1671
1672 * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
1673 if changing into .bss section.
1674 * config/mips/elf64.h: same.
1675 * config/mips/iris6.h: same.
1676 * config/mips/netbsd.h: same.
1677 * config/mips/openbsd.h: same.
1678
8767c894
NB
16792000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1680
1681 * cppfiles.c (read_name_map): Return null if open () fails.
1682 (remap_filename): Simplify logic. Add ICE if it doesn't work
1683 as expected. Perform secondary lookup attempt on base filename
1684 only.
1685
a4377974
JH
1686Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz>
1687
1688 * flow.c (notice_stack_pointer_modification_1): Notice midifications
1689 using PRE_MODIFY and POST_MODIFY.
1690
c6d79bee
JH
1691Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
1692
1693 * genoutput.c (process_template): Add sanity checking for '@' templates.
1694
b639e6e4
BS
16952000-12-13 Bernd Schmidt <bernds@redhat.co.uk>
1696
1697 * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
1698 varrays.
1699
ffc0eab4
MS
17002000-12-12 Mike Stump <mrs@wrs.com>
1701
1702 * Makefile.in (distclean): Remove safe-ctype.c as well.
1703
1df97aa4
BL
17042000-12-12 Brad Lucier <lucier@math.purdue.edu>
1705
1706 * tradcpp.c (do_error): Cast difference of pointers to int
1707 for error message.
1708
edf11378
FS
17092000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1710
1711 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
1712 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
1713
4d4182e9
JW
17142000-12-12 Jim Wilson <wilson@redhat.com>
1715
1716 * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
1717
2b60b2cb
AO
17182000-12-12 Alexandre Oliva <aoliva@redhat.com>
1719
1720 * configure.in: Simplify language enabling/disabling code.
1721 * configure: Rebuilt.
1722 * ch/config-lang.in (target_libs): Set.
1723 (build_by_default): Set to no.
1724 * cp/config-lang.in (target_libs): Set.
1725 * f/config-lang.in (target_libs): Set.
1726 * java/config-lang.in (target_libs): Set.
1727 * objc/config-lang.in (target_libs): Set.
1728
e793c609
NB
17292000-12-12 Neil Booth <neil@daikokuya.demon.co.uk>
1730
1731 * tradcpp.c (enum node_type): Add T_ERROR.
1732 (do_error): New function.
1733 (directive_table): Add #error handler.
1734
d033a989
FS
17352000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1736
1737 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
1738 for powerpc*-*-*.
1739 * configure: Regenerated.
edf11378 1740 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
d033a989
FS
1741 * config/rs6000/rs6000.c (rs6000_unique_section): Use
1742 STRIP_NAME_ENCODING.
1743
27b18383
JL
1744Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com)
1745
1746 * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
1747 * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
1748 changes.
1749
37082e6d
BK
17502000-12-11 Bruce Korb <bkorb@gnu.org>
1751
1752 * fixinc/fixincl.tpl: initialize all fields for warnings
1753 * fixinc/fixincl.x: regenerate
1754
4028c3a1
NB
17552000-12-11 Neil Booth <neilb@earthling.net>
1756
1757 * tradcpp.h: For tradcpp, NUL is not whitespace.
1758
af57885e
NB
17592000-12-11 Neil Booth <neilb@earthling.net>
1760
1761 * fix-header.c (read_scan_file): Macro expansion is not a file buffer.
1762
89741abb
MM
17632000-12-05 Marek Michalkiewicz <marekm@linux.org.pl>
1764
1765 * config/avr/avr.c (compare_condition, compare_sign_p): New functions.
1766 (compare_diff_p, compare_eq_p): Call compare_condition.
1767 (out_tsthi, out_tstsi): Call compare_sign_p.
1768 (avr_progmem_p): Check for error_mark_node.
1769
0bda4760
NB
17702000-12-11 Neil Booth <neilb@earthling.net>
1771
745b9093
JM
1772 * cpperror.c (print_location): New function.
1773 (print_containing_files): Simplify.
1774 (_cpp_begin_message): Simplify and use print_location.
1775 * cppfiles.c (stack_include_file): Update.
1776 (_cpp_pop_file_buffer): Update.
1777 * cpphash.h (struct cpp_buffer): New members
21c7361e 1778 include_stack_listed and type.
745b9093
JM
1779 * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
1780 (run_directive): Take buffer type. cpp_push_buffer cannot fail.
1781 (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
1782 handle_assertion): Update.
1783 (cpp_push_buffer): Take a buffer type and file name.
1784 (cpp_pop_buffer): Update. Clear include_stack_listed.
1785 * cpplib.h (input_stack_listing_current): Remove.
1786 (enum cpp_buffer_type): New.
1787 (cpp_push_buffer): New prototype.
1788 * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
1789 * fix-header.c (read_scan_file): Update.
0bda4760 1790
800635c1
RL
17912000-12-10 Robert Lipe <robertlipe@usa.net>
1792
1793 * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
1794 in html version.
1795
c0ea284b
RH
17962000-12-10 Richard Henderson <rth@redhat.com>
1797
1798 * genrecog.c (find_operand): Handle 'V' format code.
1799 (find_matching_operand): New.
1800 (validate_pattern): Accept '=' for an in-out operand if there
1801 is another operand with a matching constraint.
1802
1803 * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
1804 for op1 to op0.
1805
e06d5f0b
RH
18062000-12-10 Richard Henderson <rth@redhat.com>
1807
1808 * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
1809
7297e9fc
RH
18102000-12-09 Richard Henderson <rth@redhat.com>
1811
21c7361e 1812 * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
7297e9fc
RH
1813 STRICT_LOW_PART as SET_DEST have in-out constraints.
1814
e45046ae
JM
18152000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1816
1817 * c-common.c (check_function_format): Don't suggest adding format
1818 attributes to functions with no parameter to which to add them.
1819
8e56560e
NC
18202000-12-09 Nick Clifton <nickc@redhat.com>
1821
1822 * config/arm/arm.c (arm_expand_prologue): Mark the generated
1823 insn not the set as being DWARF2_FRAME_RELATED_P.
1824
193ad8c6
LB
18252000-12-09 Laurynas Biveinis <lauras@softhome.net>
1826
1827 * Makefile.in: use $(build_exeext) for all build
1828 system executable targets.
1829
6a52a2ef
LB
18302000-12-09 Laurynas Biveinis <lauras@softhome.net>
1831
1832 * install.texi: remove i[345]86-*-winnt3.5 section.
1833 * configur.bat: removed.
1834 * config/msdos: directory removed.
1835
28e0f040
NB
18362000-12-09 Neil Booth <neilb@earthling.net>
1837
c0ea284b
RH
1838 * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
1839 * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
1840 * cpplex.c (parse_identifier): Improve diagnostic.
1841 (_cpp_lex_token): Return unconditionally at the end of a directive.
1842 * cpplib.c (read_flag): Verify legality of each flag.
1843 (end_directive): Resotre pfile->skipping before skip_rest_of_line.
1844 (do_line): Use the new read_flag.
1845 * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
1846 check_macro_redefinition, parse_params): Rename var_args to
1847 variadic.
28e0f040 1848
1b32f732
JM
18492000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1850
1851 * .cvsignore: Add info files.
1852
17f4d7aa
LB
18532000-12-08 Laurynas Biveinis <lauras@softhome.net>
1854
1855 * config/winnt: Remove obsolete directory.
1856 * install.texi (Configurations): Remove obsolete documentation for
1857 Windows NT.
1858
17db6582
JM
18592000-12-08 Joseph S. Myers <jsm28@cam.ac.uk>
1860
1861 * configure.in: Don't define INSTALL_INFO.
1862 * configure: Regenerate.
1863 * Makefile.in (INSTALL_INFO): Remove.
1864 (info): Depend on info files in source directory.
1865 (cpp.info, gcc.info, c-tree.info): Build info files in source
1866 directory.
1867 (distclean): Don't remove info files.
1868 (maintainer-clean): Remove info files from source directory.
1869 (install-normal): Depend on install-info.
1870 (install-info): Install info files from source directory, if they
1871 exist.
1872 * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
1873
25fa8bdc
AO
18742000-12-08 Alexandre Oliva <aoliva@redhat.com>
1875
1876 * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
1877 before taking its NOTE_LINE_NUMBER.
1878
6d3d9133
NC
18792000-12-08 Nick Clifton <nickc@redhat.com>
1880
859230d4
NC
1881 * config/arm/arm.md (load_indirect_jump): Add pool ranges.
1882
6d3d9133
NC
1883 * extend.texi: Document ARM "interrupt" function attribute.
1884 Mention that the ARM also support the "naked" function
1885 attribute.
1886
1887 * config/arm/arm-protos.h (arm_current_func_type): Add
1888 prototype.
1889
1890 * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define.
1891 (struct machine_function): Add 'func_type' field.
1892 Define bit values for 'func_type' field.
1893 (ARM_FUNC_TYPE): New macro.
1894 (IS_INTERRUPT): New macro.
1895 (IS_VOLATILE): New macro.
1896 (IS_NAKED): New macro.
1897 (IS_NESTED): New macro.
1898 (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE.
1899
1900 * config/arm/arm.c (isr_attribute_args): New Structure. A
1901 list of "interrupt" function attribute modifiers.
1902 (arm_isr_value): New Function: Returns the type of the current
1903 interrupt function.
1904 (arm_compute_func_type): New Function: Computes the type of
1905 the current function.
1906 (arm_current_func_type): New Function: Returns the type of the
1907 current function.
1908 (use_return_insn): Use arm_current_func_type.
1909 (arm_valid_type_attribute_p): Accept "interrupt" function
1910 attribute.
1911 (arm_comp_type_attributes): Check "interrupt" attributes.
1912 (arm_valid_machine_decl): Accept "interrupt" function
1913 attribute.
1914 (arm_function_ok_for_sibcall): Do not allow interrupt
1915 functions to use sibcalls.
1916 (arm_naked_function_p): Delete.
1917 (print_multi_reg): Remove redundant parameter 'hat'.
1918 (arm_compute_save_reg_mask): New Function: Compute a bit mask
1919 of registers saved during the current function's prologue.
1920 (output_arm_return_instruction): Use arm_current_func_type.
1921 Generate return instruction when LR is not poppsed off the
1922 stack.
1923 (arm_volatile_func): Delete.
1924 (output_arm_prologue): Use arm_current_func_type and
1925 arm_compute_save_reg_mask.
1926 Note presernce of interrupt functions.
1927 (arm_output_epilogue): Use arm_current_func_type and
1928 arm_compute_save_reg_mask.
1929 (arm_expand_prologue): Use arm_current_func_type and
1930 arm_compute_save_reg_mask.
1931 (arm_init_machine_status): Initialise func_type field, if
1932 necessary.
1933 (thumb_expand_prologue): Use arm_current_func_type.
1934 (output_thumb_prologue): Use arm_current_func_type.
1935
2bff3fd5
BL
19362000-12-08 Brad Lucier <lucier@math.purdue.edu>
1937
c0ea284b 1938 * tradcpp.c (do_include): Make pointer differences 64-bit clean.
2bff3fd5 1939
cf9f5da0
R
1940Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com>
1941
1942 * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
1943 for multiplies.
1944
2e35898e
MS
19452000-12-07 Mike Stump <mrs@wrs.com>
1946
1947 * Makefile.in (distclean): Remove alloca.c hashtab.c.
1948
f6bbde28
ZW
19492000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1950
1951 * Makefile.in (HOST_RTL): Add safe-ctype.o.
1952 (safe-ctype.o): New rule.
1953 * system.h: Include safe-ctype.h, not ctype.h. No need to
1954 wrap ctype macros.
1955
1956 * cpphash.h: Zap IStable and related macros. Define is_* in
1957 terms of safe-ctype.h macros.
1958 * cppinit.c: Delete the IStable and all related code.
1959
1960 * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
1961 is_space arrays. Delete initialize_char_syntax. Change all
1962 references to the above arrays to use macros instead.
1963 * tradcpp.h: Define is_idchar, is_idstart, is_space, and
1964 is_nvspace in terms of safe_ctype.h's macros.
1965 * tradcif.y: is_idchar, is_idstart are macros not arrays.
1966
1967 * config/i370/i370.c, config/winnt/dirent.c,
1968 config/winnt/fixinc-nt.c, config/winnt/ld.c:
1969 Use uppercase ctype macros. If we included ctype.h,
1970 include safe-ctype.h instead.
1971
1972 * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test
1973 ISLOWER(c) before calling TOUPPER(c).
1974 * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
1975 * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to
1976 wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x).
1977
54d7f9aa
DD
19782000-12-07 DJ Delorie <dj@redhat.com>
1979
1980 * c-decl.c (grokdeclarator): preserve previous alignments when
1981 rebuilding array types.
1982
642ce434
NB
19832000-12-07 Neil Booth <neilb@earthling.net>
1984
f6bbde28
ZW
1985 * cppfiles.c (struct include_file): Move from cpphash.h.
1986 (_cpp_never_reread): New function.
1987 (open_file, read_include_file): Use it.
1988 (stack_include_file): Set the buffer's sysp according to the
1989 path in which the file was found.
1990 (find_include_file): Don't set sysp.
1991 (cpp_make_system_header, actual_directory): Update.
1992 (_cpp_execute_include): Do #include_next lookup handling here,
1993 not in cpplib.c. Use _cpp_never_reread.
1994 * cpphash.h (struct_include_file): Remove.
1995 (struct cpp_buffer): New member sysp.
1996 (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
1997 (_cpp_never_reread): New.
1998 * cpplib.c (read_line_number): Rename read_flag. Rework slightly.
1999 (end_directive): Clear line_extension flag.
2000 (_cpp_handle_directive): Set line_extension flag for #number.
2001 (do_include_next): Handle path lookup in _cpp_execute_include.
2002 (do_line): Cleanup to use read_flag. Don't allow flags in #line.
2003 (_cpp_do_file_change): Update.
2004 (do_pragma_once): Use cpp_never_reread. Clean up.
2005 * cpplib.h (struct lexer_state): New member line_extension.
642ce434 2006
f846e0de
RH
20072000-12-07 Richard Henderson <rth@redhat.com>
2008
2009 * flow.c (calculate_global_regs_live): Force the stack pointer live
2010 after reload as well.
2011
83c4781c
BK
20122000-12-07 Bruce Korb <bkorb@gnu.org>
2013
2014 * fixinc/Makefile.*(exeext): the variables are exeext, the
2015 substitution expression is build_exeext.
2016
47e4bafa
NB
20172000-12-07 Neil Booth <neilb@earthling.net>
2018
f6bbde28
ZW
2019 * c-common.c (parse_in): Make a cpp_reader *.
2020 * cppfiles.c (_cpp_fake_include): Remove.
2021 * cpphash.h: Similarly.
2022 * cpplib.c (do_line): Don't call _cpp_fake_include. A valid
2023 #line always creates a callback; FC_RENAME if there are no
2024 #line flags.
2025 * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
2026 The first EOF must be our get_char buffer.
47e4bafa 2027
c907e684
JM
20282000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2029
2030 * c-common.c (warn_format_security): New variable.
2031 (check_format_info): Warn about non-literal formats with no format
2032 arguments if either -Wformat-nonliteral or -Wformat-security is
2033 specified.
2034 (set_Wformat): Set warn_format_security for settings other than 1.
2035 * c-common.h (warn_format_security): Declare.
2036 * c-decl.c (c_decode_option): Decode -Wformat-security and
2037 -Wno-format-security.
2038 * invoke.texi: Document -Wformat-security.
2039 * toplev.c (documented_lang_options): Include -Wformat-security
2040 and -Wno-format-security.
2041
1c248308
JM
20422000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2043
2044 * c-common.c (check_format_info): Warn for non-constant format
2045 strings with strftime formats if -Wformat-nonliteral. Where the
2046 format can convert arguments, if the format is not a string
2047 literal and there are no arguments to the format, give a different
2048 warning message from the general non-string-literal case.
2049
014e7f1d
JM
20502000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2051
2052 * c-common.c (format_wanted_type): Add reading_from_flag.
2053 (print_char_table): Mark %s and %S formats with flag "R".
2054 (check_format_info_main): Set up reading_from_flag appropriately.
2055 If aflag, always set writing_in_flag rather than relying on the
2056 format used being a scanf format and so having it set.
2057 (check_format_types): Check for formats reading through null
2058 pointers.
2059
8308e0b7
JM
20602000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
2061
2062 * invoke.texi (-Wformat): Document what format features are
2063 checked.
2064
1120a1d3
KH
20652000-12-06 Kazu Hirata <kazu@hxi.com>
2066
2067 * config/h8300/h8300.h: Fix formatting.
2068
bc98ef7f
JS
20692000-12-06 Joel Sherrill <joel@OARcorp.com>
2070
f6bbde28
ZW
2071 * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
2072 h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
2073 * config.gcc (*-rtems*): Add support for gthr-rtems.h.
2074 * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
2075 config/h8300/rtems.h, config/mips/rtems.h: New files.
bc98ef7f 2076
5eeab2e3
MK
20772000-12-06 Mark Kettenis <kettenis@gnu.org>
2078
2079 * config.gcc: Reorganize handling of *-*-gnu*, to share target
2080 specific make details with Linux. Update comments to clarify
f6bbde28 2081 the distinction between GNU/Linux and GNU/Hurd.
5eeab2e3 2082
6b4b8cb9
JL
2083Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com)
2084
2085 * contrib.texi: Fix my email address. Update Per's
2086 list of contributions.
2087
2398fb2a
RB
20882000-12-06 Rodney Brown <RodneyBrown@mynd.com>
2089
f5720527
RB
2090 * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
2091 * collect2.c (scan_libraries): Remove unused `ch'.
2092 (COFF specific stuff): Prototype ldgetname. Declare and prototype
2093 ldbtread and ldclose.
2094
2398fb2a
RB
2095 * config/alpha/osf.h: Standarize copyright statement.
2096 * config/arc/arc.h: Likewise.
2097 * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
2098 * config/arm/arm.c config/arm/arm.h: Likewise.
2099 * config/elxsi/elxsi.h: Likewise.
2100 * config/i386/sco.h: Likewise.
2101 * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
2102 * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
2103 * config/m68k/sun3.h: Likewise.
2104 * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
2105 * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
2106 * config/romp/romp.h: Likewise.
2107 * config/rs6000/aix41.h: Likewise.
2108 * config/sparc/sysv4.h: Likewise.
2109 * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
2110 * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
2111 * cpplib.h cppexp.c cselib.h profile.c: Likewise.
2112 * longlong.h: Likewise.
2113 * libgcc2.c: Likewise.
2114
ff08da30
JL
21152000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2116
2117 * machmode.def: Use correct definition for BITSIZE on targets where
2118 BITS_PER_UNIT != 8.
2119
6047d503
BK
21202000-12-06 Bruce Korb <bkorb@gnu.org>
2121
2122 * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
2123 the number of them.
2124
ff08da30 21252000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca>
becf1647
DA
2126
2127 * pa.c: Include expr.h before c-tree.h.
2128 (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
2129 instead of reverse_condition.
2130 (print_operand): Correct predicates for GT, GE, LT and LE. Add
2131 predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
2132 ORDERED.
2133 (cmpib_comparison_operator): Add GEU and LTU codes.
2134 * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
2135 * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
2136 bordered): New float conditional branch patterns.
2137
2a841588
R
2138Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com>
2139
2140 * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
2141
c673abe4 21422000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
f6bbde28
ZW
2143
2144 * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
2145 backslash and newline, when inside a comment.
c673abe4 2146
ee457005
JM
21472000-12-06 Joseph S. Myers <jsm28@cam.ac.uk>
2148
2149 * invoke.texi: Use @table @samp instead of @itemize @minus for
2150 table of language standards. Fix use of @pxref. From Zack
2151 Weinberg. Also exclude specs documentation from generated
2152 manpage, and create separate ENVIRONMENT section.
2153
b614171e
MM
21542000-12-06 Michael Matz <matzmich@cs.tu-berlin.de>
2155
2156 * gcse.c (compute_pre_data): Kill trapping expressions in
2157 destination blocks of abnormal edges.
2158
f6cd7c62
RS
21592000-12-05 Richard Sandiford <r.sandiford@redhat.com>
2160
2161 * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
2162 (mn10300_get_live_callee_saved_regs): Likewise.
2163 (mn10300_gen_multiple_store): Likewise.
2164 (store_multiple_operation): Likewise.
2165 (expand_prologue): Use mn10300_gen_multiple_store().
2166 * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
2167 (mn10300_get_live_callee_saved_regs): Likewise.
2168 (mn10300_gen_multiple_store): Likewise.
2169 (store_multiple_operation): Likewise.
2170 * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
2171 tied to store_multiple_operation().
2172
dfb2c798
JL
2173Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com)
2174
2175 * builtins.c (expand_builtin_setjmp_setup): Set
2176 current_function_has_nonlocal_label.
2177
3cf3593f
NB
21782000-12-05 Neil Booth <neilb@earthling.net>
2179
f6bbde28
ZW
2180 * cppfiles.c (stack_include_file): Push zero-length buffers
2181 in case of failure. Return void, as we don't fail any more.
2182 (read_include_file): Check for files we shouldn't re-read.
2183 Don't return an error code; errors are implied by marking the
2184 file NEVER_REREAD.
2185 (_cpp_execute_include): Move the recursion and in-macro checks
2186 here. Update for stack_include_file not failing.
2187 * cpplib.c (cpp_push_buffer): Always succeed, since
2188 _cpp_execute_include performs the recursion check. Tidy up.
2189 * cpplib.h (cpp_push_buffer): Update prototype.
3cf3593f 2190
4c42e347
AO
21912000-12-05 Alexandre Oliva <aoliva@redhat.com>
2192
2193 * sched-vis.c (visual_tbl_line_length): New variable.
2194 (get_visual_tbl_length): Set it.
2195 (visualize_stall_cycles): Don't let stalls overrun
2196 visual_tbl_line_length.
2197
06a3a6db
GK
21982000-12-05 Geoffrey Keating <geoffk@redhat.com>
2199
2200 * global.c (global_conflicts): Allow for a REG_UNUSED note
2201 with a different mode to the REG set in the insn.
2202
e7103ad2 22032000-12-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9c101f4a
KG
2204
2205 * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
2206
2207 * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
2208
1435059e
RE
22092000-12-05 Bruce Korb <bkorb@gnu.org>
2210
2211 * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
2212 GNU/Linux.
2213
22142000-12-05 Richard Earnshaw <rearnsha@arm.com>
2215
2216 * fixinc/mkfixinc.sh: Run fixinc on netbsd.
2217 * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
2218 to cope with aliased copies.
2219 * fixinc/fixincl.x: Regenerate.
2220
f56887a7
BS
22212000-12-05 Bernd Schmidt <bernds@redhat.co.uk>
2222
2223 * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
2224 * sched-rgn.c: Likewise.
2225 (rgn_print_insn): Fix output.
2226
4839149c
BK
22272000-12-05 Bruce Korb <bkorb@gnu.org>
2228
2229 * fixinc/Makefile.*: make these more consistent
2230 * fixinc/mkfixincl.sh: enable BeOS fixincludes
2231
eca93b05
RH
22322000-12-05 Richard Henderson <rth@redhat.com>
2233
2234 * stmt.c (warn_if_unused_value): Move side effects test earlier.
2235
de9e5c23
AM
22362000-12-05 Alan Modra <alan@linuxcare.com.au>
2237
2238 * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
2239 when using sjlj.
2240
39c39be9
RH
22412000-12-05 Richard Henderson <rth@redhat.com>
2242
2243 * flow.c (calculate_global_regs_live): Only force stack pointer
2244 live before reload. Force pic register live before reload.
2245 (insn_dead_p): Don't protect pic references from deletion.
2246
9d86bffc
JM
22472000-12-05 Joseph S. Myers <jsm28@cam.ac.uk>
2248
2249 * invoke.texi: Add support for using texi2pod.pl. Don't use
2250 @multitable.
2251
c84df4c5
NC
22522000-12-04 Nick Clifton <nickc@redhat.com>
2253
a67ded0f
NC
2254 * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
2255 'tune_flags' for XScale nature.
f6bbde28 2256 Remove spurious test of HARD_FLOAT and XScale flags.
a67ded0f
NC
2257
2258 * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
2259 contraint, accidentally changed during XScale contribution.
2260
c84df4c5
NC
2261 * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
2262 not create these functions if the target architecture does not
2263 support Thumb instructions.
2264
c4f0b011
JM
22652000-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
2266
2267 * ONEWS: New file with the current contents of NEWS up to EGCS
2268 1.1.
2269 * NEWS: Generate automatically from online release notes from EGCS
2270 1.0 to GCC 2.95.2, using ../contrib/gennews.
2271
7682e7bc
NB
22722000-12-04 Neil Booth <neilb@earthling.net>
2273
f6bbde28
ZW
2274 * tradcif.y: Move lexptr to top of file. Add rule to handle
2275 assertions in conditional expressions.
2276 * tradcpp.c (parse_answer): Assertions do not need to go to
2277 end of line in conditional directives.
2278 (parse_assertion): Get first character of identifiers correct.
2279 (test_assertion): New function.
2280 * tradcpp.h (test_assertion): New prototype.
7682e7bc 2281
23a535c4
RB
22822000-12-01 Rodney Brown <RodneyBrown@mynd.com>
2283
2284 * config.gcc: Fix typo for UnixWare 7.
2285
32fb1fb2
PE
22862000-12-03 Phil Edwards <pme@sources.redhat.com>
2287
2288 * invoke.texi: Replace `pedwarns' with clearer text.
2289
e1e0c658
BK
22902000-12-04 Bruce Korb <bkorb@gnu.org>
2291
2292 * fixinc/Makefile.*(clean): don't clean autogenerated files.
2293 (mainainer-clean): clean autogenerated files
2294
55e4756f
DD
22952000-12-04 DJ Delorie <dj@redhat.com>
2296
2297 * md.texi: Add overview, clarify match_dup and define_expand.
2298
7d492372
DD
22992000-12-04 DJ Delorie <dj@redhat.com>
2300
b3869591 2301 * print-tree.c (print_node): Target-specific builtins print
7d492372
DD
2302 numbers, not names.
2303
62c07905
JM
23042000-12-04 Jason Merrill <jason@redhat.com>
2305
2306 * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
2307 MODE_VECTOR_FLOAT.
2308
2309 * diagnostic.c (report_problematic_module): s/function/module/.
2310
2311 * c-lex.h: Remove decl for check_newline.
2312
ae50db03
GP
23132000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2314
2315 * README.APOLLO: Remove obsolete file.
2316
6951bc4a
NB
23172000-12-04 Neil Booth <neilb@earthling.net>
2318
f6bbde28 2319 * cppinternals.texi: New file.
6951bc4a 2320
614c7d37
NB
23212000-12-04 Neil Booth <neilb@earthling.net>
2322
f6bbde28
ZW
2323 * cppfiles.c (cpp_make_system_header): Take 2 booleans,
2324 and operate on current buffer.
2325 (cpp_read_file): Rename _cpp_read_file.
2326 * cpplib.c (do_line, do_pragma_system_header): Update calls to
2327 cpp_make_system_header.
2328 * fix-header.c: Similarly.
2329 * cpphash.h (_cpp_read_file): Move from...
2330 * cpplib.h: ... here.
2331 * cppinit.c (do_includes, cpp_start_read): Update appropriately.
614c7d37 2332
e7103ad2 23332000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
611b1df4
KG
2334
2335 * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
2336 Handle another transformation.
2337
d19fb8e3
NC
23382000-12-03 Nick Clifton <nickc@redhat.com>
2339
2340 * config.gcc: Add support for StrongARM targets.
2341 * config/arm/t-strongarm-elf: New file.
2342 * config/arm/t-strongarm-coff: New file.
2343 * config/arm/t-strongarm-pe: New file.
2344 * config/arm/strongarm-pe.h: New file.
2345
23462000-12-03 Nick Clifton <nickc@redhat.com>
2347
2348 * NEWS: Mention XScale has been added.
2349 * config.gcc: Add support for XScale targets.
2350 * config/arm/arm.h: Add support for XScale processor.
2351 * config/arm/arm.c: Add support for XScale processor.
2352 * config/arm/arm.md: Add support for XScale processor.
2353 * config/arm/t-xscale-elf: New file.
2354 * config/arm/t-xscale-coff: New file.
2355 * config/arm/xscale-elf.h: New file.
2356 * config/arm/xscale-coff.h: New file.
2357
250d07b6
RH
23582000-12-03 Richard Henderson <rth@redhat.com>
2359
2360 * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
2361 unless exception handling is enabled, and if not using sjlj.
2362
2363 * builtins.c (expand_builtin_setjmp_setup): New.
2364 (expand_builtin_setjmp_receiver): New.
2365 (expand_builtin_setjmp): Split out _setup and _receiver functions.
2366 Move argument parsing in from ...
2367 (expand_builtin): ... here.
2368 * except.c (receive_exception_label): Branch around receiver
2369 unless new-style exceptions. Call expand_builtin_setjmp_receiver.
2370 (start_dynamic_handler): Call expand_builtin_setjmp_setup.
2371 * expr.h: Update builtin setjmp decls.
2372
5c032c4d
BK
23732000-12-03 Bruce Korb <bkorb@gcc.org>
2374
2375 * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
2376 build machine name. Default to the target.
2377
3769600a
LB
23782000-12-03 Laurynas Biveinis <lauras@softhome.net>
2379
2380 * Makefile.in: use $(build_canonical), not $(canonical_build).
2381
b4ead7d4
BS
23822000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
2383
2384 * Makefile.in (OBJS): Add sched-rgn.o.
2385 (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No
2386 longer static.
2387 (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2388 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2389 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2390 MAX_BLOCKAGE_COST): Move to sched-int.h.
2391 (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
2392 IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
2393 FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
2394 OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
2395 rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
2396 RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
2397 debug_regions, find_single_block_region, find_rgns, too_large,
2398 init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
2399 bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
2400 extract_bitlst, bblst, struct candidate, candidate_table,
2401 bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
2402 SRC_PROB, target_bb, split_edges, compute_trg_info,
2403 debug_candidate, debug_candidates, bbset, bbset_size, dom,
2404 IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
2405 rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
2406 EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
2407 compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
2408 IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
2409 MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
2410 update_live, set_spec_fed, is_pfree, find_conditional_protection,
2411 is_conditionally_protected, may_trap_exp, haifa_classify_insn,
2412 is_prisky, is_exception_free, add_branch_dependences,
2413 propagate_deps, compute_block_backward_dependences,
2414 debug_dependencies, is_cfg_nonregular, build_control_flow,
2415 new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
2416 BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
2417 UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
2418 CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
2419 target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
2420 can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
2421 rgn_rank, region_sched_info): Move to sched-rgn.c.
2422 (debug_reg_vector): Delete useless function.
2423 (get_bb_head_tail): Likewise.
2424 (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
2425 no_real_insns_p, rm_line_notes, save_line_notes,
2426 restore_line_notes, rm_redundant_line_notes, sched_init): No
2427 longer static.
2428 (rm_line_notes, save_line_notes, restore_line_notes,
2429 schedule_block, set_priorities): Change argument to be a real
2430 basic block, not one of haifa's "bb"s. All callers changed
2431 (rm_other_notes): Initialize note_list here, not in
2432 schedule_region.
2433 (sched_finish): New function, called from schedule_insn. * *
2434 sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
2435 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
2436 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
2437 MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
2438 (get_block_head_tail, no_real_insns_p, rm_line_notes,
2439 save_line_notes, restore_line_notes, rm_redundant_line_notes,
2440 rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
2441 sched_init, sched_finish, ready_add, insn_cost): Declare.
2442
f415f5a4
LB
24432000-12-03 Laurynas Biveinis <lauras@softhome.net>
2444 Bruce Korb <bkorb@gnu.org>
2445
f6bbde28
ZW
2446 * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
2447 * fixinc/mkfixinc.sh: accept build system name as an argument.
2448 Use it for choosing the fix build method. Use the target for
f415f5a4
LB
2449 selecting special fix rules.
2450
1708fd40
BS
24512000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
2452
16f6ece6
BS
2453 * Makefile.in (OBJS): Add sched-deps.o.
2454 (sched-deps.o): New rule.
2455 * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
2456 sched-int.h.
2457 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
2458 sched-int.h.
2459 (SIZE_FOR_MODE): Delete unused macro.
2460 (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
2461 reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
2462 anti_dependency_cache, output_dependency_cache,
2463 forward_dependency_cache): Variables moved to sched-deps.c.
2464 (add_dependence, remove_dependence, find_insn_list,
2465 find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
2466 sched_analyze_insn, sched_analyze_1, sched_analyze_2,
2467 sched_analyze, group_leader, compute_forward_dependences,
2468 init_deps, free_deps, init_dependency_caches, free_dependency_caches):
2469 Functions moved to sched-deps.c.
2470 (schedule_region): Call init_deps_global and finish_deps_global
2471 instead of directly manipulating dependency data structures.
2472 * sched-deps.c: New file.
2473 (init_deps_global, finish_deps_global): New functions.
2474 * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
2475 haifa-sched.c.
2476 (h_i_d): Declare.
2477 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
2478 from haifa-sched.c.
2479
c62c2659
BS
2480 * Makefile.in (OBJS): Add sched-vis.o.
2481 (sched-vis.o): New rule.
2482 * haifa-sched.c (get_unit_last_insn): New function.
2483 (sched_dump, insn_unit, actual_hazard_this_instance): No longer
2484 static.
2485 (schedule_block): Call visualize_alloc and visualize_free. Delete
2486 spurious return statement.
2487 (init_target_units, insn_print_units, get_visual_tbl_length,
2488 init_block_visualization, print_block_visualization, safe_concat,
2489 visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
2490 print_exp, print_value, print_pattern, print_insn, target_units,
2491 MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
2492 n_vis_no_unit, vis_no_unit): Move scheduling visualization
2493 functions/variables...
2494 * sched-vis.c: ...here. New file.
2495 (visualize_alloc, visualize_free): New functions.
2496 (visualize_scheduled_insns, visualize_stall_cycles,
2497 print_block_visualization): Lose basic block argument. All callers
2498 changed.
2499 (visualize_scheduled_insns): Use new function get_unit_last_insn.
16f6ece6
BS
2500 * sched-int.h (current_sched_info, sched_dump): Declare.
2501 (init_target_units, insn_print_units, init_block_visualization,
2502 print_block_visualization, visualize_scheduled_inns,
2503 visualize_no_unit, visualize_stall_cycles, visualize_alloc,
2504 visualize_free): Declare functions.
c62c2659 2505
1708fd40
BS
2506 * sched-int.h: New file.
2507 * Makefile.in (haifa-sched.o): Depend on it.
2508 * haifa-sched.c: Include it.
2509 (no_real_insns_p): New function.
2510 (current_sched_info): New static variable.
2511 (__inline, HAIFA_INLINE): Moved to sched-int.h.
2512 (get_block_head_tail): Minor cleanup.
2513 (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
2514 rgn_print_insn, rgn_rank): New functions, broken out of
2515 rank_for_schedule, schedule_insn and schedule_block, where they
2516 are now called through function pointers in current_sched_info.
2517 (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
2518 print_insn): To display uid and block number, call the print_insn
2519 function pointer in current_schedule_info.
2520 (region_sched_info): New static variable.
2521 (sched_target_n_insns, sched_n_insns, target_n_insns): New global
2522 variables, moved out of schedule_block.
2523 (schedule_block): Return void. All callers changed.
2524 Move some of the setup code into schedule_region. Get head/tail
2525 from current_sched_info, and update it when done.
2526 (schedule_region): Slightly rearranged, some code moved here from
2527 schedule_block. Call no_real_insns_p to avoid doing work for a
2528 block that consists only of notes and labels.
2529 (schedule_insns): Initialize current_sched_info.
2530
8aaef6e0
NB
25312000-12-03 Neil Booth <neilb@earthling.net>
2532
f6bbde28
ZW
2533 * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
2534 by contexts drops AFTER argument pre-expansion, so that they
2535 remain enabled during argument pre-expansion.
2536 (_cpp_pop_context): Unconditionally re-enable a macro when
2537 dropping a context level.
8aaef6e0 2538
94a3d3b9
MH
25392000-12-03 Manfred Hollstein <manfredh@redhat.com>
2540
2541 * arm/t-linux (MULTILIB_OPTIONS): Comment.
2542 (MULTILIB_DIRNAMES): Likewise.
2543 (EXTRA_MULTILIB_PARTS): Likewise.
2544 (LIBGCC): Likewise.
2545 (INSTALL_LIBGCC): Likewise.
2546
d118937d
KG
25472000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2548
2549 * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
2550 expand_builtin_strspn, expand_builtin_strcspn): New functions.
2551 (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2552 BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
2553
2554 * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
2555 BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
2556
2557 * c-common.c (c_common_nodes_and_builtins): Declare builtin
2558 strcat, strncat, strspn and strcspn.
f6bbde28 2559 (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
d118937d
KG
2560
2561 * extend.texi (strcat, strcspn, strncat, strspn): Document new
2562 builtins.
2563
ca8034a0
KG
25642000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2565
2566 * builtins.c (expand_builtin_strcmp): Use const*_rtx when
2567 expanding strcmp at compile-time. Add another transformation.
2568 (expand_builtin_strncmp): Add more transformations. Call
2569 expand_builtin_memcmp, not expand_builtin_strcmp, under
2570 appropriate conditions if HAVE_cmpstrsi.
2571
6c873122
DE
25722000-12-02 David Edelsohn <edelsohn@gnu.org>
2573
2574 * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
2575 instruction.
2576 (cr logic): Really make operands sequential.
2577
690c96c8
GK
25782000-12-02 Geoffrey Keating <geoffk@redhat.com>
2579
2580 * c-common.c (combine_strings): When the ISO C standard specifies
21c7361e
AJ
2581 the maximum length of a string, it doesn't include the trailing
2582 zero byte.
b43db0b3
GK
2583
2584 * cpplib.c (do_ifdef): Add check_eol() call.
2585 (do_ifndef): Likewise.
2586
283da1d3 25872000-12-02 Daniel Berlin <dberlin@redhat.com>
f6bbde28 2588 Bruce Korb <bkorb@gnu.org>
283da1d3 2589
f6bbde28
ZW
2590 * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
2591 * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
2592 * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
2593 * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
2594 use the "__need_" hackery. It breaks them.
2595 * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
2596 Sometimes on DOS and BeOS the temp output file cannot be opened.
2597 Skip the file noisily. Ought to be fixed instead.
283da1d3 2598
6864a6c6
BK
25992000-12-02 Bruce Korb <bkorb@gnu.org>
2600
2601 From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2602
2603 * fixfixes.c (emit_gnu_type, format_write): Prototype.
2604 (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
2605 custom uppercase ctype macros.
2606 * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
2607 Use gcc's custom uppercase ctype macros.
2608 (main): Prototype.
2609 (machine_matches): Add static prototype and constify variable.
2610 (create_file, test_test, egrep_test): Add static prototype.
2611 (quoted_file_exists): Likewise, and constify parameters.
2612 (extract_quoted_files, internal_fix, start_fixer, fix_applies,
2613 write_replacement, test_for_changes): Add static prototype.
2614 (write_replacement, test_for_changes): Delete excess argument to
2615 `create_file'.
2616 * fixtests.c (test): Make static.
2617 * server.c (load_data, sig_handler, server_setup, find_shell): Add
2618 static prototype.
2619 (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
2620
d7156fee
BK
26212000-12-02 Bruce Korb <bkorb@gnu.org>
2622
2623 * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
2624 (per Laurynas Biveinis <lauras@softhome.net>)
2625
f1008e52
RE
26262000-12-02 Richard Earnshaw <rearnsha@arm.com>
2627
2628 * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
2629 macros.
2630 (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
2631 (REGNO_OK_FOR_FOR_BASE_P): Delete.
2632 (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
2633 both strict and non-strict uses.
2634 (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
2635 (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
2636 (REG_OK_FOR_INDEX_P): Define in terms of above.
2637 (REG_OK_FOR_BASE_P): Delete.
2638 (REG_OK_FOR_PRE_POST_P): Delete.
2639 (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
2640 (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
2641 (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
2642 (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
2643 (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM
2644 specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P
2645 in pre/post increment cases.
2646 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
2647 (ARM_LEGITIMIZE_ADDRESS): Similarly.
2648 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
2649 * arm.c (legitimate_pic_address): Similarly.
2650
4eb191f3
NB
26512000-12-02 Neil Booth <neilb@earthling.net>
2652
f6bbde28
ZW
2653 * tradcpp.c (struct answer, parse_assertion, parse_answer,
2654 canonicalize_text, find_answer): New.
2655 (do_assert, do_unassert): Provide appropriate function bodies.
2656 (union hashval): New member answers.
4eb191f3 2657
84e6f1ba
MM
26582000-11-23 Marek Michalkiewicz <marekm@linux.org.pl>
2659
2660 * config/avr/avr.md: Document UNSPEC usage.
2661 (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
2662 Make operand 0 input only, clobber it. Use UNSPEC, not a bogus
2663 MEM for program memory word reference. Do not add the label to
2664 the table index in each of the asm output templates, instead ...
2665 (casesi): ... do it in RTL. Adjust to match the above change.
2666
a88f02e7
BS
26672000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2668
0884b60c
BS
2669 * c-common.c (PTRDIFF_TYPE): Provide default here, ...
2670 * c-decl.c: ... not here.
2671
a88f02e7
BS
2672 * haifa-sched.c (sched_dump): Renamed from dump. All users changed.
2673 (old_max_uid): New variable.
2674 (compute_forward_dependences): Renamed from
2675 compute_block_forward_dependences; changed to accept block head and
2676 tail instead of block number. Caller changed.
2677 (free_deps, init_dependency_caches, free_dependency_caches,
2678 init_regions, sched_init): New functions, split out from
2679 schedule_insns and compute_block_backward_dependences.
2680
fef1de5d
NB
26812000-12-02 Neil Booth <neilb@earthling.net>
2682
f6bbde28 2683 * cppexp.c (parse_number): Update diagnostic test.
fef1de5d 2684
88edcc06
BS
26852000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2686
2687 * reload1.c (free_for_value_p): New function, frontend to
2688 reload_reg_free_for_value_p. All callers of the latter now call
2689 this function with an additional mode argument.
2690
a325caa0
GP
26912000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2692
2693 * install.texi (Configurations): Remove obsolete documentation for
2694 hppa*-*-*.
2695
3808a17d
GP
26962000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2697
2698 * install.texi (Installation): Remove obsolete description for
2699 libstdc++ which is now an integral part of GCC.
f6bbde28 2700
27646dba
JB
27012000-12-01 Jim Blandy <jimb@redhat.com>
2702
2703 * dbxout.c (dbxout_parms): Correctly describe parameters passed by
21c7361e
AJ
2704 invisible reference in registers, but then spilled to the stack.
2705 Remove code to emit a second stab for such parameters; it attempts
2706 to describe the value's location by introducing a synthetic C++
2707 `reference' type, and then saying the stack slot has that
2708 reference type. This loses type information (breaking GDB's
2709 `ptype' command, among other things) just to describe a location
2710 which stabs can represent correctly in other ways.
27646dba 2711
cb51ecd2
AO
27122000-12-01 Alexandre Oliva <aoliva@redhat.com>
2713
08106825
AO
2714 * final.c (output_addr_const) <PLUS>: Don't assume at least one
2715 operand is a CONST_INT.
2716
cb51ecd2
AO
2717 * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
2718 (machine_dependent_reorg): Split all insns.
2719 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
2720 reg_class_contents[SIBCALL_REGS].
2721 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
2722 * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
2723 call_value_pcrel, call, call_value, sibcall): Match even when
2724 not optimizing.
2725 (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k'
2726 for call address.
2727 (sibcalli): Likewise.
2728
4d808927
JM
27292000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2730
2731 * c-common.c (warn_format, warn_format_y2k,
2732 warn_format_extra_args, warn_format_nonliteral): Define.
2733 (check_format_info): Check warn_format_nonliteral and
2734 warn_format_extra_args.
2735 (check_format_info_main): Check warn_format_y2k.
2736 (set_Wformat): New function.
2737 * c-common.h (warn_format_y2k, warn_format_extra_args,
2738 warn_format_nonliteral, set_Wformat): Declare.
2739 * c-decl.c (warn_format): Remove definition.
2740 (c_decode_option): Handle -Wformat-nonliteral,
2741 -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
2742 Use set_Wformat.
2743 * invoke.texi: Document these new options and -Wformat=2.
2744 * toplev.c (documented_lang_options): Add these new options.
2745
e78f4a97
JM
27462000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2747
2748 * builtins.def (BUILT_IN_IMAXABS): Add.
2749 * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
2750 * c-common.c (c_common_nodes_and_builtins): Create builtin
2751 functions __builtin_imaxabs, and plain imaxabs unless
2752 flag_no_nonansi_builtin outside C99 mode.
2753 (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
2754 * extend.texi: Document builtin imaxabs.
2755
5fd8e536
JM
27562000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2757
2758 * c-common.c: Include "defaults.h".
2759 (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
2760 (c_common_nodes_and_builtins): Create string_type_node,
2761 const_string_type_node, wint_type_node, intmax_type_node,
2762 uintmax_type_node, default_function_type, ptrdiff_type_node and
2763 unsigned_ptrdiff_type_node.
2764 * c-common.h (identifier_global_value): Declare.
2765 * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
2766 (init_decl_processing): Don't create string_type_node,
2767 const_string_type_node, wint_type_node, intmax_type_node,
2768 uintmax_type_node, default_function_type, ptrdiff_type_node and
2769 unsigned_ptrdiff_type_node.
2770 (identifier_global_value): New function.
2771
8d9e9a08
NB
27722000-12-01 Neil Booth <neilb@earthling.net>
2773
f6bbde28
ZW
2774 * cppinit.c (initialize): Forgotten prototype.
2775 * cpplex.c (_cpp_lex_token): Loop until not skipping.
2776 Always clear PREV_WHITE upon meeting a new line.
2777 * cpplib.c (end_directive): Set pfile->skipping after
2778 skip_rest_of_line.
2779 * cpplib.h (cpp_reader): Remove macro_pos.
2780 * cppmacro.c (cpp_get_line): Don't do anything special inside
2781 macros.
2782 (parse_arg): Add PREV_WHITE if a token appears after new lines.
2783 (funlike_invocation_p): Save and restore the output position
2784 over a successful check for a '('.
2785 (enter_macro_context): Delete uses of macro_pos.
2786 (cpp_get_token): Don't use pfile->skipping.
8d9e9a08 2787
c4765d18
PE
27882000-12-01 Phil Edwards <pme@sources.redhat.com>
2789
2790 * diagnostic.c: Fix typos in comments.
2791 * diagnostic.h: Likewise.
2792
815d683e
PE
27932000-11-30 Phil Edwards <pme@sources.redhat.com>
2794
2795 * rtl.texi (Machine Modes): Document BImode and OImode.
2796
ae24178a
JM
27972000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2798
2799 * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
2800 .FPP.
2801
c7b82833
JM
28022000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2803
2804 * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
2805 incomplete element type.
2806 (grokparms): Before checking for incomplete parameter type, check
2807 the type isn't error_mark_node.
2808
ab937357
JJ
28092000-12-01 Jakub Jelinek <jakub@redhat.com>
2810
2811 * builtins.c (target_char_cast): New function.
2812 (expand_builtin_strchr): Use it.
2813 (expand_builtin_strrchr): Use it.
2814 (builtin_memset_read_str): New function.
2815 (expand_builtin_memset): Use target_char_cast.
2816 Try to optimize memset with second argument non-zero using
2817 store_by_pieces.
2818
3a69a7d5
MM
28192000-11-30 Marek Michalkiewicz <marekm@linux.org.pl>
2820
2821 * install.texi (avr): Replace incomplete list of supported MCU
2822 types with a link to the current one ...
2823 * invoke.texi (AVR Options): ... here. Update -mmcu= to list
2824 all supported MCU types. Document -minit-stack= default.
2825 Document new options -mno-tablejump, -mtiny-stack.
2826 * md.texi (AVR family): Fix typo in 'w' constraint letter
2827 description. Document 'q'. Update 'O'.
2828
53895717
BS
28292000-12-01 Bernd Schmidt <bernds@redhat.co.uk>
2830
2831 * combine.c (cant_combine_insn_p): Only disallow insns involving
2832 hard regs if they are reg-reg moves.
2833 (try_combine, can_combine_p, combinable_i3pat): Delete old
2834 SMALL_REGISTER_CLASSES tests.
2835
f00018dd
AO
28362000-12-01 Alexandre Oliva <aoliva@redhat.com>
2837
3d422cb1
AO
2838 * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
2839 whether X is a CONST_INT.
2840 (addsubcosts): Likewise.
2841
f00018dd
AO
2842 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
2843 mis-used XINT.
2844 (ARG_POINTER_REGNUM): Set to AP_REG.
2845
95ac07b0
AO
28462000-11-30 Alexandre Oliva <aoliva@redhat.com>
2847
ecfdeaeb
AO
2848 * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
2849 splits): Only match on TARGET_SH4.
2850
95ac07b0
AO
2851 * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
2852 of subsequent insns.
2853
f2720858
RH
28542000-11-30 Richard Henderson <rth@redhat.com>
2855
2856 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
2857 * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
2858
ef7d91cd
RH
28592000-11-30 Richard Henderson <rth@redhat.com>
2860
2861 * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
2862 (DO_SELECT_SECTION): New.
2863 (SELECT_SECTION): Use it.
2864 (UNIQUE_SECTION_P): New.
2865 (UNIQUE_SECTION): New.
2866
29ced803
AO
28672000-11-30 Alexandre Oliva <aoliva@redhat.com>
2868
2869 * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
2870 from va_list before using it.
2871
25e4379f
MM
28722000-11-30 Michael Matz <matzmich@cs.tu-berlin.de>
2873
2874 * flow.c (make_edge): Early out, if no flags to set.
2875 (calculate_global_regs_live): Clear out garbage only when necessary.
2876
2877 * simplify-rtx.c (varray_type used_regs): New.
2878 (clear_table): Use it to only clear necessary items.
2879 (cselib_lookup, cselib_record_set): Remember newly set items.
2880 (cselib_update_varray_sizes, cselib_init): Initialize and grow
2881 used_regs.
2882
2883 * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
2884 Move clearing of dead regs out of insn-loop.
2885
41c39533
RH
28862000-11-30 Richard Henderson <rth@redhat.com>
2887
2888 * calls.c (expand_call): Emit queued insns before creating
2889 the tail recursion sequence.
2890
039df8c7 28912000-11-30 J. David Anglin <dave.anglin@nrc.ca>
f6bbde28 2892 Bruce Korb <bkorb@gnu.org>
039df8c7
DA
2893
2894 * fixinc/inclhack.def(): prevent dual double definition protection
2895 * fixinc/fixincl.x: regenerate
2896
42cfed37
LR
28972000-11-29 Loren J. Rittle <ljrittle@acm.org>
2898
f6bbde28
ZW
2899 * fixinc/Makefile.in (fixincl.x): Explicitly state the
2900 location of the generated file.
42cfed37 2901
a6bb9efa
GP
29022000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2903
2904 * README.FRESCO: Remove obsolete file.
2905
255b8a49
JL
29062000-11-30 Mark Kettenis <kettenis@gnu.org>
2907
255b8a49
JL
2908 * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
2909 TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from
2910 config/t-linux for the Hurd.
2911
29122000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
75273d08
SC
2913
2914 * config/mn10200/udivmod.c, config/mn10200/divmod.c,
2915 config/mn10200/udivmodsi4.c: Moved from here.
2916 * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
2917 * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
2918 C division functions.
2919 * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
2920
15c2086a
JL
2921Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com)
2922
2923 * pa.md (conditional moves): Avoid holes in operand list.
2924 (mod, umod patterns): Similarly.
2925 (variable extract/shift patterns): Similarly.
2926
9105f671
NB
29272000-11-30 Neil Booth <neilb@earthling.net>
2928
f6bbde28
ZW
2929 * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
2930 maybe_objc_check_decl, build_objc_string_object,
2931 objc_declare_alias, objc_declare_class, build_message_expr,
2932 build_protocol_expr, build_selector_expr, build_encode_expr,
2933 get_class_ivars, start_class, start_protocol): Remove
2934 redundant code, assuming doing_objc_thang is true.
9105f671 2935
31a7659b
JDA
29362000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2937
1f80ea95
JDA
2938 * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
2939 (record_unscaled_index_insn_codes): Likewise.
2940 (unscaled_index_insn_codes): Delete.
2941 (max_unscaled_index_insn_codes_uid): Delete.
2942 (output_function_prologue, output_function_epilogue, pa_reorg):
2943 Don't use the unscaled index insn hack.
2944
d16ca6a6
JDA
2945 * pa.md: Remove hack from all index insns to reverse the operand
2946 order of frame and stack pointer references incorrectly created
2947 in the reload pass.
2948
3502dc9c
JDA
2949 * function.h (emit_status): Delete member regno_pointer_flag and
2950 rename regno_pointer_flag_length to regno_pointer_align_length.
2951 Delete define for REGNO_POINTER_FLAG.
2952 * integrate.h (inline_remap): Delete member regno_pointer_flag.
2953 Add member x_regno_reg_rtx.
2954 * rtl.h (rtx_def): Use frame_related bit to indicate register is
2955 a pointer in REG expressions. Define REG_POINTER macro.
2956 * alias.c (find_base_value, find_base_term): Use REG_POINTER
2957 instead of REGNO_POINTER_FLAG.
2958 * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
2959 * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
2960 of regno_pointer_flag_length. Remove code which refers to
2961 regno_pointer_flag.
2962 (mark_reg_pointer): Use REG_POINTER.
2963 (free_emit_status): Remove code which refers to regno_pointer_flag.
2964 (init_emit, mark_emit_status): Likewise.
2965 * flow.c (dump_flow_info): Likewise.
2966 * function.c (preserve_temp_slots): Likewise.
2967 * integrate.c (expand_inline_function, copy_rtx_and_substitute):
2968 Use x_regno_reg_rtx instead of regno_pointer_flag for function
2969 pointer determination in map.
2970 * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
2971 * predict.c (estimate_probability): Likewise.
2972 * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
2973 * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
2974 regno_pointer_flag for function pointer determination in map.
2975 * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
2976 REG_POINTER.
2977 * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
2978 Use REG_POINTER.
2979 (restore_unscaled_index_insn_codes): Revise comment.
2980
31a7659b
JDA
2981 * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
2982
9f1bbeaa
JM
29832000-11-30 Joseph S. Myers <jsm28@cam.ac.uk>
2984
2985 * extend.texi: Update documentation for attributes.
2986
74e5aa4b
DB
29872000-11-29 David O'Brien <obrien@FreeBSD.org>
2988
2989 * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
2990 (ASM_DECLARE_OBJECT_NAME): Same.
2991 (ASM_FILE_END): Same.
2992 (ASM_FINISH_DECLARE_OBJECT): Same.
2993 (ASM_IDENTIFY_GCC): Same.
2994 (ASM_IDENTIFY_LANGUAGE): Same.
2995 (ASM_OUTPUT_CONSTRUCTOR): Same.
2996 (ASM_OUTPUT_DEF): Same.
2997 (ASM_OUTPUT_DESTRUCTOR): Same.
2998 (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
2999 (ASM_OUTPUT_SECTION_NAME): Same.
3000 (ASM_WEAKEN_LABEL): Same.
3001 (BSS_SECTION_ASM_OP): Same.
3002 (COMMON_ASM_OP): Same.
3003 (CONST_SECTION_ASM_OP): Same.
3004 (CONST_SECTION_FUNCTION): Same.
3005 (CTORS_SECTION_ASM_OP): Same.
3006 (DTORS_SECTION_ASM_OP): Same.
3007 (ESCAPES): Same.
3008 (FINI_SECTION_ASM_OP): Same.
3009 (IDENT_ASM_OP): Same.
3010 (IDENT_ASM_OP): Same.
3011 (INIT_SECTION_ASM_OP): Same.
3012 (INT_ASM_OP): Same.
3013 (MAX_OFILE_ALIGNMENT): Same.
3014 (SBSS_SECTION_ASM_OP): Same.
3015 (SDATA_SECTION_ASM_OP): Same.
3016 (SECTION_FUNCTION_TEMPLATE): Same.
3017 (SELECT_SECTION): Same.
3018 (SE_CONST_SECTION): Same.
3019 (SIZE_ASM_OP): Same.
3020 (SKIP_ASM_OP): Same.
3021 (STRING_ASM_OP): Same.
3022 (STRING_LIMIT): Same.
3023 (TYPE_ASM_OP): Same.
3024 (TYPE_OPERAND_FMT): Same.
3025
0eaed3c6
NB
30262000-11-29 Neil Booth <neilb@earthling.net>
3027
f6bbde28
ZW
3028 * c-decl.c (c_decode_option): Don't handle -lang-objc.
3029 * objc/lang-options.h: Remove -lang-objc.
3030 * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
3031 * objc/objc-act.c (lang_init_options): Set c_language.
0eaed3c6 3032
98166639
JJ
30332000-11-29 Jakub Jelinek <jakub@redhat.com>
3034
3035 * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
3036 tests.
3037
f3b55474
NB
30382000-11-29 Neil Booth <neilb@earthling.net>
3039
f6bbde28 3040 * c-pragma.c (init_pragma): Update for parse_in type change.
f3b55474 3041
b86ecfa9
LB
30422000-11-29 Laurynas Biveinis <lauras@softhome.net>
3043
3044 * configure.in: recognize DOS-style absolute paths.
3045
57814e5e
JJ
30462000-11-29 Jakub Jelinek <jakub@redhat.com>
3047
3048 * expr.h (store_by_pieces): Add prototype.
3049 (can_store_by_pieces): Likewise.
3050 * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
3051 (can_store_by_pieces): New.
3052 (store_by_pieces): New.
3053 (clear_by_pieces): New.
3054 (clear_by_pieces_1): New.
3055 (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
3056 arbitrary compiler generated constants into memory block.
3057 (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
3058 * builtins.c (c_readstr): New.
3059 (builtin_memcpy_read_str): New.
3060 (expand_builtin_memcpy): If src is string constant and
3061 emit_block_move would move it by pieces, compute integer constants
3062 from the string and store it into memory block instead.
3063 (builtin_strncpy_read_str): New.
3064 (expand_builtin_strncpy): If N is not constant zero and c_strlen does
3065 not return INTEGER_CST, don't optimize.
3066 If N is larger than strlen(src) + 1, try to copy the string
3067 including padding with store_by_pieces.
3068 (expand_builtin_strcmp): If both arguments have side effects, don't
3069 optimize.
3070 (expand_builtin_fputs): If STR has side effects, don't optimize.
3071
76b7dad3
RE
30722000-11-29 Richard Earnshaw <rearnsha@arm.com>
3073
3074 * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
3075 Add use of link register.
3076
b722c82c
JM
30772000-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
3078
3079 * extend.texi: Update documentation for default format attributes.
3080
01fa3508
JL
3081Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com)
3082
3083 * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3084 a list, to keep track of the sections.
3085
4bec9f7d
NC
30862000-11-28 Nick Clifton <nickc@redhat.com>
3087
3088 * config/arm/arm.md (pic_load_addr): Split into
3089 pic_load_addr_arm and pic_load_addr_thumb.
3090
3091 * config/arm/arm.c (legitimize_pic_address): Generate either
3092 ARM or Thumb versions of pic_load_addr.
3093 (arm_finalize_pic): Generate either ARM or Thumb versions of
3094 pic_load_addr.
3095
54fef245
RH
30962000-11-28 Richard Henderson <rth@redhat.com>
3097
3098 * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
3099 after sibcall do_pending_stack_adjust.
3100
f423a6a7
R
3101Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com>
3102
3103 * jump.c (delete_insn): Check that REG_LABEL note actually contains
3104 a CODE_LABEL.
3105
eaf299c6
NB
31062000-11-28 Neil Booth <neilb@earthling.net>
3107
01933a51 3108 * c-common.h: Remove flag_digraphs.
f6bbde28
ZW
3109 * c-decl.c: Remove flag_digraphs.
3110 (c_decode_option): Don't set it.
01933a51 3111 * c-lex.c (init_c_lex): Don't do anything for digraphs.
eaf299c6 3112
7dfe7bd6
RH
31132000-11-28 Richard Henderson <rth@redhat.com>
3114
3115 * c-parse.in (finish_parse): Update for parse_in type change.
3116 (_yylex): Likewise.
3117
8dc4676d
NB
31182000-11-28 Neil Booth <neilb@earthling.net>
3119
01933a51
JM
3120 * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
3121 indicating whether to scan all buffers on the stack or
3122 just one.
3123 * cppinit.c (do_includes): Update.
3124 * cppmain.c (main): Update.
3125 * cpplib.h: Update prototype.
8dc4676d 3126
c77e04ae
RH
31272000-11-28 Richard Henderson <rth@redhat.com>
3128
3129 * genoutput.c (validate_insn_operands): New.
3130 (gen_insn): Call it.
3131
3132 * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
3133 (divmoddi_internal): Likewise.
3134 * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
3135 * config/i960/i960.md (branch patterns): Likewise.
3136 * config/ia64/ia64.md (tbit_and_0): Likewise.
3137 (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
3138 * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
3139 * config/mips/mips.md (divmodsi4_internal): Likewise.
3140 (divmoddi4_internal): Likewise.
3141 * config/rs6000/rs6000.md (call patterns): Likewise.
3142 * config/sh/sh.md (movsi_y): Likewise.
3143 * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
3144
79bc4669
RH
31452000-11-28 Richard Henderson <rth@redhat.com>
3146
3147 * config.gcc: Kill residual pyramid support.
3148
cf44ea52
NB
31492000-11-28 Neil Booth <neilb@earthling.net>
3150
3151 * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
3152 * c-decl.c (c_decode_option): Update to match.
3153 * c-lex.c (init_c_lex, yyparse): Update to match.
3154 * c-lang.c (lang_init_options): Use cpp_create_reader.
3155 * cppinit.c (cpp_init): Rename initialize.
3156 (cpp_reader_init): Rename cpp_create_reader. Create the
3157 reader. Initialize cpplib if appropriate.
3158 * cpplib.h (cpp_create_reader) New prototype.
3159 (cpp_init, cpp_reader_init): Delete prototypes.
3160 * cppmain.c (general_init, setup_callbacks): New functions.
3161 (main): Use them.
3162 * fix-header.c (scan_in): Change type to cpp_reader *.
3163 (read_scan_file): Update for new cpplib interface and scan_in type.
3164
3165 * cp/decl.c (parse_in): Change to cpp_reader *.
3166 (lang_decode_option): Update.
3167 * cp/lex.c (lang_init_options): Use new cpplib interface.
3168 (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
3169 * cp/spew.c (read_token): Update.
3170 * objc/objc-act.c (lang_init_options): Update new cpplib interface.
3171
48c4d691
JJ
31722000-11-28 Jakub Jelinek <jakub@redhat.com>
3173
3174 * loop.c (load_mems): Avoid using next_label to find end_label. If
3175 jumping outside of the loop (other than loop end), don't hoist MEMs
3176 out of loop.
3177
fb158467
JH
31782000-11-28 Jan Hubicka <jh@suse.cz>
3179
3180 * calls.c (expand_call): Don't disable tail recursion based
3181 on the loop nest.
3182
40bd4395
NB
31832000-11-28 Neil Booth <neilb@earthling.net>
3184
01933a51
JM
3185 * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
3186 (struct directive): Drop 4th argument from handlers.
3187 (do_define, do_line, do_include, do_undef, do_else, do_elif,
3188 do_endif): Similarly.
3189 (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
3190 (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
3191 (make_definition, make_undef): Take a const char*.
3192 (make_assertion): New function.
3193 (struct directive_table): Update.
3194 (main): Handle -A command line argument.
3195 (handle_directive): Drop fourth handler argument.
40bd4395 3196
77ea49a4
BS
31972000-11-28 Bernd Schmidt <bernds@redhat.co.uk>
3198
3199 * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
3200 is anything but REG or MEM, but look inside STRICT_LOW_PART.
3201
c5c0b3d9
RK
3202Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3203
3204 * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
3205 (IS_ABSOLUTE_PATHNAME): New macro.
3206 * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
3207
dd80b906
JJ
32082000-11-28 Jakub Jelinek <jakub@redhat.com>
3209
3210 * config/i386/i386.md (truncxfsf2_2): Fix predicate.
3211
102870fb
JW
32122000-11-27 Jim Wilson <wilson@redhat.com>
3213
3214 * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
3215
9734e80c
MK
32162000-11-27 Matthias Klose <doko@cs.tu-berlin.de>
3217
3218 * extend.texi (Nested Functions): Update URL of Usenix paper.
3219
cf77f15f
MM
32202000-11-27 Mark Mitchell <mark@codesourcery.com>
3221
3222 * function.c (free_after_compilation): Clear x_clobber_return_insn.
3223
6a6b1628
NB
32242000-11-27 Neil Booth <neilb@earthling.net>
3225
f6bbde28 3226 * cppinit.c (cpp_reader_init): Remove handling of warn_paste
01933a51
JM
3227 command line options.
3228 (cpp_handle_option): Similarly.
3229 * cpplib.h (struct cpp_options): Remove warn_paste.
3230 * cppmacro.c (paste_tokens): Apart from assembler, make
3231 unpasteable token warning mandatory.
6a6b1628 3232
fb6a7b08
NB
32332000-11-27 Neil Booth <neilb@earthling.net>
3234
01933a51
JM
3235 * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
3236 (main): Allocate a pending directive set of these. Use it.
3237 Merge handling of -D and -U. Update handling of pending
3238 directives. Free the memory after use.
fb6a7b08 3239
7dfc0fbe
BS
32402000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
3241
3242 * flow.c (entry_exit_blocks): Add entry for cond_local_set.
3243 (struct propagate_block_info): Add new member cond_local_set.
3244 (propagate_block): Accept new arg cond_local_set. All callers
3245 changed.
3246 (init_propagate_block_info): Likewise.
3247 (calculate_global_regs_live): Allocate & free cond_local_set. Always
3248 rescan if there's overlap between cond_local_set and new_live_at_end.
3249 (mark_set_1): Set bits either in cond_local_set or local_set, as
3250 appropriate.
3251 * basic-block.h (struct basic_block_def): New field cond_local_set.
3252 (propagate_block, init_propagate_block_info): Update prototypes.
3253
5f6fa212
KK
3254Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp>
3255
3256 * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
3257 T register.
3258
8bb9536a
RE
32592000-11-27 Richard Earnshaw <rearnsha@arm.com>
3260
3261 * arm.c (select_dominance_cc_mode): Handle new way that combine
3262 canonicalizes conditional compares.
3263 (arm_select_cc_mode): Likewise.
3264 * arm.md: Garbage collect some dead code.
21c7361e 3265 (cmp_and, cmp_ior): New patterns.
8bb9536a
RE
3266 (splitter for conditional move with inverted false): Use cond_exec
3267 and handle unordered comparisons.
3268
4211a8fb
JH
3269Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz>
3270
3271 * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
3272 * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
3273 * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
3274 ix86_force_to_memory and ix86_free_from_memory.
3275
bb6ae783
RE
32762000-11-27 Richard Earnshaw <rearnsha@arm.com>
3277
3278 * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
3279 arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
f6bbde28 3280 anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
bb6ae783 3281 one_cmpldi2): Merge with splitters to create define_insn_and_split
21c7361e 3282 patterns. Remove redundant splits.
bb6ae783
RE
3283 (peephole2 for add:SI of invalid immediate): New.
3284 (peephole2 for minus:SI of invalid immediate): New.
3285 (peephole2 for ior:SI of invalid immediate): New.
3286 (peephole for merge of move and compare): Convert ot peephole2.
3287 (addsf3, adddf3): Mark as commutative.
3288
3289 * arm.md (thumb peephole for merging stack adjustments): Convert to
3290 peephole2.
3291
70bbeb8b
BS
32922000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
3293
375de5b6
BS
3294 * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
3295
70bbeb8b
BS
3296 * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
3297 (reload_cse_simplify_operands): Do nothing about operands where both
3298 the operand and the match_operand fail to give us a mode.
3299 * simplify-rtx.c (wrap_constant): New function.
3300 (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
3301 CONST describing the proper mode.
3302 (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
3303 cselib_lookup.
3304 (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
3305 htab_find_slot_with_hash.
3306 (cselib_lookup): Likewise.
3307
7dbe6ae9
BS
3308 Based on a patch from Geoff Keating <geoffk@redhat.com>:
3309 * loop.c (basic_induction_var): If a REG is set from something
3310 that is not a biv, then the REG is not a biv. Even if it is
3311 earlier set from something that is a biv.
3312
6b2adea9
AO
33132000-11-27 Alexandre Oliva <aoliva@redhat.com>
3314
3315 * configure.in (extra_objs): Enclose extra_headers in quotes.
3316 * configure: Rebuilt.
3317
27e2564a
NB
33182000-11-27 Neil Booth <neilb@earthling.net>
3319
01933a51
JM
3320 * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
3321 Combine into the new function cb_change_file.
3322 (init_c_lex): Update.
3323 * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
3324 (cpp_syshdr_flags): Delete.
3325 * cpphash.h (_cpp_do_file_change): New prototype.
3326 Move struct cpp_buffer here from...
3327 * cpplib.h (struct cpp_buffer): ... here.
3328 (enum cpp_fc_reason, struct cpp_file_loc,
3329 struct_cpp_file_change, change_file): New.
3330 (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
3331 * cpplib.c (do_line): Update for new cb_change_file callback.
3332 (_cpp_do_file_change): New function.
3333 (_cpp_pop_buffer): Update to use it.
3334 * cppmain.c (move_printer): Delete.
3335 (main): Set up single callback cb_change_file.
3336 (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
3337 (cb_change_file): New.
3338 * fix-header.c (cur_file, cb_change_file): New.
3339 (recognized_function, read_scan_file): Update.
3340 * scan-decls.c (scan_decls): Update.
3341 * scan.h (recognized_function): Update prototype.
27e2564a 3342
9ccb25d5
MM
33432000-11-26 Mark Mitchell <mark@codesourcery.com>
3344
3345 * tree.h (mark_tree_hashtable): New function.
3346 * tree.c (mark_tree_hashtable_entry): New function.
3347 (mark_tree_hashtable): Likewise.
3348
5fcd86dd
MM
33492000-11-27 Michael Meissner <meissner@redhat.com>
3350
3351 * d30v-protos.h (srelational_si_operator): Correctly spell
3352 function.
3353 (urelational_si_operator): Ditto.
3354 (relational_si_operator): Ditto.
3355 (d30v_expand_prologue): Add prototype.
3356 (d30v_expand_epilogue): Ditto.
3357
3358 * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
3359
3360 * d30v.md (movcccc_*): Delete now unused patterns.
3361 (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
3362 IF_THEN_ELSE.
3363 (define_cond_exec): Use 'b' to select branch flags.
3364
da9e9f08
KG
33652000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3366
3367 * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
3368 functions.
3369 (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
3370
3371 * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
3372
3373 * c-common.c (c_common_nodes_and_builtins): Declare builtin
3374 strncpy and strncmp.
3375
3376 * extend.texi (strncmp, strncpy): Document new builtins.
3377
231db5f4
MM
33782000-11-26 Mark Mitchell <mark@codesourcery.com>
3379
3380 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
3381 a list, to keep track of the sections.
3382 * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
3383 parameter provided will always be a canonical string.
3384
7463ef45
NB
33852000-11-26 Neil Booth <neilb@earthling.net>
3386
5fcd86dd
MM
3387 * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
3388 current buffer.
7463ef45 3389
1ccfb3dd
JM
33902000-11-26 Joseph S. Myers <jsm28@cam.ac.uk>
3391
3392 * makefile.vms: Remove EGCS references.
3393
0b34cf1e
UD
33942000-11-26 Ulrich Drepper <drepper@redhat.com>
3395
3396 * dwarf2out.c (output_file_names): New function. Compute minimal
3397 combination of directory and file name table and emit them.
3398 (output_line_info): Remove code to emit directory and file name
3399 table and call output_file_names instead.
3400 (file_info_cmp): Helper function to sort directory names.
3401
5fcd86dd 34022000-11-26 Neil Booth <neilb@earthling.net>
bdb05a7b 3403
5fcd86dd
MM
3404 * cpplib.h (struct cpp_reader): Remove lang_asm.
3405 (struct cpp_options): Remove c89. New members lang,
3406 extended_numbers.
f6bbde28 3407 * cppexp.c (parse_number): Use them.
5fcd86dd
MM
3408 * cpphash.h (VALID_SIGN): Use them.
3409 * cppinit.c (set_lang, cpp_start_read): Update.
3410 * cpplex.c (parse_string, _cpp_lex_token): Update.
3411 * cpplib.c (_cpp_handle_directive): Update.
3412 * cppmacro.c (parse_args): Update.
3413 * cppmain.c (scan_buffer): Update.
bdb05a7b 3414
72bd1f9e
RK
3415Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3416
3417 * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
3418 proper type.
3419
5fcd86dd
MM
34202000-11-26 Neil Booth <neilb@earthling.net>
3421
3422 * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
3423 * c-decl.c: Remove parse_in declaration.
3424 * c-lang.c: Similarly.
3425 * c-lex.c: Similarly.
3426 * c-parse.in: Similarly.
3427 * c-pragma.c: Similarly.
3428 * configure.in: Similarly.
3429 * cp/Make-lang.in: Similarly.
3430 * cp/spew.c: Similarly.
3431 * cp/decl2.c: Remove check for lang-c++ option.
3432 * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
3433 * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
3434 * c-lex.h: Add declaration of parse_in.
3435 * cppinit.c: Call set_lang after allocating pfile->pending.
3436 * configure: Regenerate.
056487e7 3437
1786009e
ZW
34382000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
3439
3440 * combine.c (try_combine): Remove redundant test.
3441
3645c4dc
RH
34422000-11-25 Richard Henderson <rth@redhat.com>
3443
3444 * c-common.h (DECL_C_HARD_REGISTER): New.
3445 * c-decl.c (finish_decl): Set it for asm register variables.
3446 * c-semantics.c (emit_local_var): Test it when instantiating one.
3447
a17a5850
RH
34482000-11-25 Richard Henderson <rth@redhat.com>
3449
3450 * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
3451 lineno for the start of the function.
3452
2e18bbae
RH
34532000-11-25 Richard Henderson <rth@redhat.com>
3454
3455 * dwarf2out.c (file_table, file_table_allocated): Remove.
3456 (file_table_allocated): Remove.
3457 (struct file_table): New.
3458 (decl_file_table, line_file_table): New.
3459 (print_dwarf_line_table): Use them.
3460 (size_of_line_prolog): Likewise.
3461 (output_line_info): Likewise.
3462 (add_src_coords_attributes): Likewise.
3463 (gen_subprogram_die): Likewise.
3464 (gen_variable_die): Likewise.
3465 (dwarf2out_add_library_unit_info): Likewise.
3466 (dwarf2out_line): Likewise.
3467 (lookup_filename): Take a struct file_table argument.
3468 (init_file_table): New.
3469 (dwarf2out_init): Use it.
3470
163686bd
JM
34712000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3472
3473 * invoke.texi: Update sequence points references.
3474
a32f2771
NB
34752000-11-25 Neil Booth <neilb@earthling.net>
3476
01933a51
JM
3477 * c-common.c: Remove USE_CPPLIB conditional inclusions.
3478 * c-common.h: Similarly.
3479 * c-decl.c: Similarly.
a32f2771
NB
3480 * c-lang.c: Similarly.
3481 * c-lex.c: Similarly.
01933a51
JM
3482 * c-parse.in: Similarly.
3483 * c-pragma.c: Similarly.
3484 * c-pragma.h: Similarly.
3485 * gcc.c: Similarly.
3486 * toplev.c: Similarly.
3487 * cp/cp-tree.h: Similarly.
3488 * cp/decl2.c: Similarly.
3489 * cp/lang-specs.h: Similarly.
3490 * cp/lex.c: Similarly.
3491 * cp/lex.h: Similarly.
3492 * cp/spew.c: Similarly.
3493 * java/lang-options.h: Similarly.
3494 * objc/lang-specs.h: Similarly.
3495 * objc/objc-act.c: Similarly.
3496
3497 * configure.in: Remove configure option.
3498 * config.in: Regenerate.
3499 * configure: Regenerate.
a32f2771 3500
3e8aa6e3
RH
35012000-11-25 Richard Henderson <rth@redhat.com>
3502
3503 * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
3504 Revert 2000-11-22 change.
3505
59a9e22e
BS
35062000-11-25 Bernd Schmidt <bernds@redhat.co.uk>
3507
3508 * config/i386/i386.h (FIXED_REGS): Make the three flags registers
3509 fixed.
3510
2be36552
PT
35112000-11-25 Philipp Thomas <pthomas@suse.de>
3512 * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
3513 * configure: Rebuilt.
3514
4df1190a
JJ
35152000-11-25 Jakub Jelinek <jakub@redhat.com>
3516
3517 * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
3518 Handle CONST_INT as second argument.
3519 * config/sparc/sparc.c (set_extends): Remove first argument.
3520 Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
3521 MOV.
3522 (sparc_check_64): Abort if first argument is not REG.
3523 If it is DImode REG, look at the lower register of the register
3524 pair.
3525
3526 * config/sparc/sparc.c (load_pic_register, restore_regs,
3527 output_return, sparc_v8plus_shift, sparc_function_profiler,
3528 sparc_function_block_profiler, sparc_block_profiler): Fix output
3529 formatting.
3530
6915629f
AO
35312000-11-25 Alexandre Oliva <aoliva@redhat.com>
3532
ae010e43
AO
3533 * config/sh/sh.h (TARGET_NONE): New.
3534 (TARGET_SWITCHES): For all variant-selecting switch, use
3535 TARGET_NONE to reset all other variant-selecting switch. Added
3536 empty strings to avoid warnings.
3537 (TARGET_DEFAULT): Set to SH1_BIT.
3538
8618466f
AO
3539 * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
3540 insn-codes.h.
3541
5db5a888
AO
3542 * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
3543 (sibcall_pcrel): New insn_and_split.
3544 (sibcall, sibcall_value, sibcall_epilogue): New expands.
3545
6915629f
AO
3546 * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
3547 symPLT_label2reg, call, call_value): Don't set
3548 current_function_uses_pic_offset_table.
3549 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
3550 PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
3551 takes it into account.
3552 (FINALIZE_PIC): Delete, useless.
3553 (LEGITIMATE_CONSTANT_P): Delete, unused.
3554 * config/sh/sh.c (sh_expand_prologue): Don't use
3555 current_function_uses_pic_offset_table. Don't special-case
3556 PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
3557 PIC is enabled.
3558 (sh_expand_epilogue, initial_elimination_offset): Don't
3559 special case PIC_OFFSET_TABLE_REGNUM.
3560
2d01e445
AO
35612000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org>
3562
3563 * config/sh/sh-protos.h (symbol_ref_operand): Declare.
3564 * config/sh/sh.md (UNSPEC_CALLER): New constant.
3565 (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
3566 (call_pcrel, call_value_pcrel): New insn_and_splits.
3567 (call, call_value): Use them.
3568 (call_site): New expand.
3569 (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
3570 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
3571 Output call_site label.
3572 (PREDICATE_CODES): Added symbol_ref_operand.
3573 * config/sh/sh.c (symbol_ref_operand): Define.
3574 * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
3575 to CALL_INSNs in the split sequence.
3576
c3edd394
NC
35772000-11-24 Nick Clifton <nickc@redhat.com>
3578
3579 * config.gcc (v850-*-*): Define c_target_objs and
f6bbde28 3580 cxx_target_objs.
c3edd394
NC
3581
3582 * config/v850/t-v850: Define how to build v850-c.o
3583
3584 * config/v850/v850.h (struct data_area_stack_element): Move
3585 definition here from v850.c.
3586
3587 * config/v850v850.c: Include gcc.h to avoid compile time
3588 warning.
3589 (push_data_area): Move to v850-c.c.
3590 (pop_data_area): Move to v850-c.c.
3591 (mark_current_function_as_interrupt): Move to v850-c.c.
3592 (GHS_default_section_names): Allow to be exported.
3593 (GHS_current_section_names): Allow to be exported.
3594 (data_area_stack_elements): Allow to be exported.
3595 (ghs_pragma_section): Move to v850-c.c.
3596 (ghs_pragma_interrupt): Move to v850-c.c.
3597 (ghs_pragma_starttda): Move to v850-c.c.
3598 (ghs_pragma_startsda): Move to v850-c.c.
3599 (ghs_pragma_startzda): Move to v850-c.c.
3600 (ghs_pragma_endtda): Move to v850-c.c.
3601 (ghs_pragma_endsda): Move to v850-c.c.
3602 (ghs_pragma_endzda): Move to v850-c.c.
3603
3604 * config/v850/v850-c.c: New file: Contains v850 specific
3605 pragma parsing functions.
3606
aac69a49
NC
36072000-11-24 Nick Clifton <nickc@redhat.com>
3608
3609 * config.gcc (extra_objs): Remove duplicate description.
3610 (c_target_objs): New variable. Contains target specific
3611 object files for the gcc C compiler only.
f6bbde28 3612 (cxx_target_objs): New variable. Contains target specific
aac69a49
NC
3613 object files for the gxx C++ compiler only.
3614
3615 * configure.in (c_target_objs): Substitute in the makefile.
3616 (cxx_target_objs): Substitute in the makefile.
3617 * configure: Regenerate.
3618
3619 * Makefile.in (C_TARGET_OBJS): Define and initialise from
3620 c_target_objs.
3621 (CXX_TARGET_OBJS): Define and initialise from
3622 cxx_target_objs.
3623 (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
3624
3625 * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
3626
3627 * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
3628 about how the use of the 'c_lex' function requires the use of
3629 the target specific, language specific object files feature of
3630 the configuration mechanism.
3631
7257bbc6
RK
3632Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3633
3634 * gcc.c (process_command): Use F_OK, not R_OK.
3635
c3ff75c4
AK
36362000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr>
3637
3638 * flow.c (print_rtl_and_abort): Remove ANSIism.
3639
104ee20b
AO
3640Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com>
3641
3642 * config/sh/sh.h (GENERAL_REGISTER_P,
3643 GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
3644 FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
3645 all over.
3646 (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
3647 * config/sh/sh.c: Use new macros.
3648 * config/sh/sh.md: Likewise.
3649
5d00b10a
AO
3650Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com>
3651
3652 * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
3653 instead of just MACH_REG in DImode. Always refer to FPSCR_REG
3654 in PSImode.
3655
33f77355
DC
3656Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru>
3657
3658 * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
3659 fixed.
3660 (machine_dependent_reorg): Wrong optimization based on
f6bbde28 3661 NOTICE_UPDATE_CC removed.
33f77355 3662
692dc9c6
R
3663Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com>
3664
3665 * jump.c (delete_computation): Re-instate deletion of feeding insn.
3666 (delete_insn): Look for REG_LABEL notes.
3667 (redirect_tablejump): Delete feeding insns.
3668
c3410241
BS
36692000-11-24 Bernd Schmidt <bernds@redhat.co.uk>
3670
90d10fb9
BS
3671 * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
3672 call_value_pop_1): Make sure operand numbers are contiguous.
3673
7cf5c9e1
BS
3674 * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
3675
ff6534ad
BS
3676 * reload1.c (conflicts_with_override): New function.
3677 (emit_input_reload_insns): Use it to tighten test for validity
3678 of substituting into output of previous insn.
3679
176f9a7b
BS
3680 * haifa-sched.c (struct ready_list): New.
3681 (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
3682 functions.
3683 (schedule_insn): Replace args READY and N_READY with a pointer to a
3684 ready_list; return void. Use the new functions to access the ready
3685 list. All callers changed.
3686 (queue_to_ready, debug_ready_list): Likewise.
3687 (schedule_block): Initialize a ready_list structure. Use new
3688 functions to access it.
3689 (max_priority): Remove unused variable.
3690 (schedule_insn): Don't set it.
3691
52a84e42
BS
3692 * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
3693
c3410241
BS
3694 * combine.c (cant_combine_insn_p): New function.
3695 (try_combine): Use it.
3696
235cfbc4
BS
3697 * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
3698 * c-common.c (c-obstack.c): Include "obstack.h".
3699 (struct reverse_tree): Delete.
3700 (reverse_list, reverse_max_depth): Delete.
3701 (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
3702 (struct tlist, struct tlist_cache): New.
3703 (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
3704 (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
3705 warn_for_collisions, warn_for_collisions_1, new_tlist): New
3706 static functions.
3707 (verify_sequence_points): Rewritten.
3708 * fold-const.c (fold): Don't lose possibly important sequence
3709 points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
3710
58ecb5e2
RS
37112000-11-24 Richard Sandiford <rsandifo@redhat.com>
3712
3713 * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
3714 when reversing a register-to-register copy. Reversal now disabled
3715 when the previous instruction has a REG_EQUIV.
3716
2f401cc8
NS
37172000-11-24 Nathan Sidwell <nathan@codesourcery.com>
3718
3719 * c-parse.in (unary_expr): Move VA_ARG from here ...
3720 (primary): ... to here.
3721
963a2a84
GS
37222000-11-23 Graham Stott <grahams@redhat.com>
3723
3724 * expr.c (store_constructor): If a field is non addressable and
3725 the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
3726
f9b697bf
BS
37272000-11-23 Bernd Schmidt <bernds@redhat.co.uk>
3728
3729 * flow.c (print_rtl_and_abort): New function.
3730 (verify_wide_reg, verify_local_live_at_start): Try to dump more
3731 information before aborting.
3732
69295d6d
AO
37332000-11-23 Alexandre Oliva <aoliva@redhat.com>
3734
3735 * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
3736 is narrower than requested mode.
3737 (gen_highpart): Abort if register mode is narrower than
3738 requested mode.
3739
99a9c946
GS
37402000-11-23 Graham Stott <grahams@redhat.com>
3741
3742 * cse.c (cse_insn): Initialise all regcost variables.
3743 Fix a typo add missing '='.
3744 Only compare costs if there is a replacement insn.
3745
422be3c3
AO
3746Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com>
3747
3748 * final.c (output_addr_const) [LABEL_REF]: Simplify.
3749 [MINUS]: Enclose non-CONST_INTs in parentheses.
3750 [default]: Try OUTPUT_ADDR_CONST_EXTRA.
3751 * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
3752 * varasm.c (decode_rtx_const) [CONST]: If it's not something
3753 PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
3754 instead of abort()ing.
3755 * sh.c (output_pic_addr_const): Removed. Fixed all callers.
3756 * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
3757 formerly handled in output_pic_addr_const.
3758 * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
3759 operands of MINUS in CONSTs so that decode_rtx_const() will
3760 accept them.
3761
43c05634
AO
3762Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com>
3763
3764 * config/sh/sh.md (mova_const): New pattern.
3765 (GOTaddr2picreg): Use it.
3766 * config/sh/sh.c (broken_move): Match it.
3767 (mova_p): Don't match it.
3768 (machine_dependent_reorg): Adjust it.
3769
4773afa4
AO
3770Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com>
3771
3772 * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
3773 Moved most register-number #defines...
3774 * config/sh/sh.md (define_constants): ... here. Use macros to
3775 refer to registers and unspecs.
3776 * config/sh/sh.c: Likewise.
3777
9196ece5
R
3778Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com>
3779
3780 * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
3781 (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
3782 (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3783 (splay-tree.o, hash.o): Likewise.
3784 GCONFIG_H: New.
3785 (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
3786 (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3787 (hashtab.o): Likewise.
3788 (gcov.o): Depend on $(CONFIG_H).
3789 * configure.in: #include insn-codes.h in tm.h.
3790
48a08b9c
NC
37912000-11-22 Nick Clifton <nickc@redhat.com>
3792
57f56af4
NC
3793 * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
3794 const char * to avoid a compile time warning.
3795
48a08b9c
NC
3796 * config/arm/arm.md (define_constants): Define symbolic names for
3797 the link register, last integer register and the fake CC register.
3798 Update patterns to use these symbolic names.
3799
4a5b68a2
NB
38002000-11-22 Neil Booth <neilb@earthling.net>
3801
3802 * cpplex.c (trigraph_ok): Ensure we don't warn twice.
3803 * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
f6bbde28 3804
a165f034
RH
38052000-11-22 Richard Henderson <rth@redhat.com>
3806
3807 * haifa-sched.c (sched_analyze_1): Don't special-case calls
3808 for clobbering registers.
3809 (sched_analyze_2): Likewise.
3810 (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
3811
f6bbde28 38122000-11-22 Chris Demetriou <cgd@sibyte.com>
a165f034 3813 Neil Booth <neilb@earthling.net>
10ebf5fe 3814
a165f034 3815 * gcc.c (validate_switches): Validate multiple switches named
f6bbde28 3816 in '|' (or) expressions in specs.
a165f034
RH
3817 (handle_braces): If more than 1 alternative in a '|' spec
3818 matches, call do_spec1 just once.
10ebf5fe 3819
fb0b2546
MM
38202000-11-22 Michael Meissner <meissner@redhat.com>
3821
3822 * d30v.h (TARGET_SWITCHES): Add documentation strings.
3823 (TARGET_OPTIONS): Ditto.
3824 (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
3825 -O3.
f6bbde28 3826
67d6f2fc
JL
3827Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com)
3828
3829 * pa.c (hppa_encode_label): Account for addition of encoding
3830 character when allocating persistent space for the new label
3831 name.
3832
d1209685
ZW
38332000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
3834
3835 * Makefile.in, config.gcc, configure.in: Expunge remaining
3836 traces of facility for running MD files through C preprocessor.
3837
c01a508e
JM
38382000-11-22 Joseph S. Myers <jsm28@cam.ac.uk>
3839
3840 * gcov.texi: Add magic comments for texi2pod.pl.
3841 * Makefile.in: Add rules to generate and install gcov.1.
3842 * gcov.1: New (generated) file.
3843
a125d855
RH
38442000-11-21 Richard Henderson <rth@redhat.com>
3845
3846 * regrename.c (scan_rtx_reg): Terminate the chain rather than
3847 abort on mark_read with NO_REGS.
3848
ed311407
MS
38492000-11-21 Mike Stump <mrs@wrs.com>
3850
3851 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
3852 compilation with older compilers, such as /bin/cc on SunOS.
3853 * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
3854
cac16ef9
RH
38552000-11-21 Richard Henderson <rth@redhat.com>
3856
3857 * varasm.c (record_constant): Pad the constructed
3858 constant_descriptor appropriately.
3859
c25c12b8
R
3860Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com>
3861
3862 * rtl.h (traverse_md_constants): Declare.
3863 (struct md_constant): Define.
3864 * Makefile.in (HOST_RTL): Add hashtab.o .
3865 (OBJS): Add hashtab.o .
3866 (hashtab.o): New rule.
3867 (rtl.o): Depends on HASHTAB_H.
3868 * rtl.c (hashtab.h): #include.
3869 (md_constants): New static variable.
3870 (def_hash, def_name_eq_p, read_constants): New static functions.
3871 (traverse_md_constants): New function.
3872 (read_name): Do constant expansion.
3873 (read_rtx): Recognize define_constants.
3874 * gencodes.c (print_md_constant): New function.
3875 (main): Emit #defines for all constant definitions encountered.
3876 * md.texi (Constant Definitions): New node.
3877 * gensupport.c (xcalloc): New function.
3878
f940c352
RH
38792000-11-21 Richard Henderson <rth@redhat.com>
3880
3881 * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
3882 * config/alpha/alpha-protos.h: Declare it.
3883 * config/alpha/alpha.md (abstf_internal): Use it.
3884 (negtf_internal): Likewise.
3885 (andnotdi3): Unstar the name.
3886 (movtf_internal): Add o/G alternative.
3887
dfc55970
ZW
38882000-11-21 Zack Weinberg <zack@wolery.stanford.edu>
3889
3890 * stringpool.c (stringpool_statistics): Also report number and
3891 percentage of entries which are identifiers.
3892
d1cc928a
DN
38932000-11-21 Diego Novillo <dnovillo@redhat.com>
3894
3895 * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
3896 visited before visiting it.
3897
70f24e49
NC
38982000-11-21 Nick Clifton <nickc@redhat.com>
3899
3900 * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
3901 TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
3902
3903 * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
f6bbde28 3904
3fe30ff6
RH
39052000-11-21 Richard Henderson <rth@redhat.com>
3906
3907 * c-common.c (c_unsafe_for_reeval): New function.
3908 (add_c_tree_codes): Register it.
3909 * c-common.h: Declare it.
3910 * tree.c (lang_unsafe_for_reeval): New hook.
3911 (unsafe_for_reeval): Call it.
3912 * tree.h: Declare it.
3913
3adbce3d
RH
39142000-11-21 Richard Henderson <rth@redhat.com>
3915
3916 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
3917 references as well.
3918
0736a307
NB
39192000-11-21 Neil Booth <neilb@earthling.net>
3920
a165f034 3921 * do_includes: Revert to using cpp_read_file.
0736a307 3922
52e12ad0
BS
39232000-11-21 Bernd Schmidt <bernds@redhat.co.uk>
3924
847dde95
BS
3925 * loop.c (consec_sets_giv): If the reg we're examining is anything
3926 but UNKNOWN_INDUCT, do nothing.
3927 Reset the reg's type to UNKNOWN_INDUCT before returning.
3928
52e12ad0
BS
3929 Mostly from Vladimir Makarov (vmakarov@redhat.com)
3930 * ia64.md (attr itanium_class): Define insn types as described in
3931 Itanium docs.
3932 (all insn patterns): Use itanium_class, not type attributes.
3933 Occasionally split alternatives as necessary.
3934 (attr type): Compute from new attr itanium_class.
f6bbde28 3935
b3e2d1eb
KG
39362000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3937
3938 * tradcpp.c (output_line_command): Mark system headers as such in
3939 `line' commands.
3940
0faf814f
JJ
39412000-11-21 Jakub Jelinek <jakub@redhat.com>
3942
3943 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
3944 support in as as well.
3945 * configure: Regenerate.
3946
3aac38d7
RH
39472000-11-20 Richard Henderson <rth@redhat.com>
3948
3949 * c-lex.c (orig_filename): New variable.
3950 (init_c_lex): Set it. Move call to cpp_start_read ...
3951 (yyparse): ... here. New function.
3952 * c-parse.in (yyparse_1): Rename the parser entry point.
3953 * c-tree.h: Declare it.
3954
6b16805e
JJ
39552000-11-21 Jakub Jelinek <jakub@redhat.com>
3956
3957 * expr.c (do_compare_and_jump): If op0 was replaced by promoted
3958 integer constant, use type of op1 for comparison.
3959
18922061
SS
39602000-11-20 Stan Shebs <shebs@apple.com>
3961
3962 * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
3963 * config/rs6000/x-darwin: New file, Darwin host fragment.
3964 * config.gcc (powerpc-*-darwin*): New host.
3965 * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be
3966 overridden by a config file.
3967
d63eefbf
NB
39682000-11-20 Neil Booth <neilb@earthling.net>
3969
3970 * cppmacro.c (paste_tokens): Rename from paste_payloads.
3971 Change token type after pasting spellings.
3972 (paste_all_tokens): Use it.
3973 * gcc.dg/cpp/paste2.c: Update test.
3974 * objc/execute/paste.m: New test.
3975
21bc13c9
RH
39762000-11-20 Richard Henderson <rth@redhat.com>
3977
3978 * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
3979 dwarf_subscr_data_formats bits.
3980 * dwarfout.c (simple_type_size_in_bits): Handle a type with
3981 no computed size as size zero.
3982 (field_byte_offset): Likewise.
3983 (subscript_data_attribute): Handle a range with no upper bound.
3984
250333d0
KG
39852000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3986
3987 * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
3988
1d7ff272
JM
39892000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
3990
3991 * c-typeck.c (build_conditional_expr): When merging type
3992 qualifiers for conditional expressions between a pointer and a
3993 pointer to a void type, merge the qualifiers on the target types
3994 rather than the pointer type. Remove obsolete conditioned out
3995 code.
3996
dd07b884
NB
39972000-11-20 Neil Booth <neilb@earthling.net>
3998
3999 * c-lang.c (lang_init_options): Update call to
4000 cpp_reader_init.
4001 * cppmain.c (main): Similarly.
4002 * fix-header.c (read_scan_file): Similarly.
4003 * cp/lex.c (lang_init_options): Similarly.
4004 * objc/objc-act.c (lang_init_options): Similarly.
4005 * cppexp.c (parse_number): Only warn for unextended C89.
4006 * cppinit.c (set_lang): New function.
4007 (cpp_reader_init): Take a LANG argument and pass it to set_lang.
4008 (COMMAND_LINE_OPTIONS): New option std=c++98.
4009 (cpp_handle_option): Use set_lang.
4010 * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
4011 * cppib.h (enum_c_lang): New enumeration. Update comments.
4012
8d50dfb8
WC
40132000-11-20 Will Cohen <wcohen@redhat.com>
4014
4015 * calls.c (expand_call): Clear target only when target is in
4016 hard register and current_function_check_memory_usage is set.
4017
bd675859
BS
40182000-11-20 Bernd Schmidt <bernds@redhat.co.uk>
4019
4020 * toplev.c (rest_of_compilation): Run optimize_mode_switching even
4021 if not optimizing.
4022 * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
4023
3df18884
RH
40242000-11-19 Richard Henderson <rth@redhat.com>
4025
52403abb
RH
4026 * crtstuff.c (force_to_data): Use array size 1 not 0.
4027
3df18884
RH
4028 * dwarf2out.c (simple_type_size_in_bits): Handle a type with
4029 no computed size as size zero.
4030 (field_byte_offset): Likewise.
4031
cfd1c7ea
JM
40322000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
4033
4034 * config.gcc: Fix another typo.
4035
a25f1211
RH
40362000-11-19 Richard Henderson <rth@redhat.com>
4037
4038 * c-decl.c (grokdeclarator): Support flexible array members.
4039 Use open-ended ranges for these and zero-length arrays.
4040 * c-typeck.c (push_init_level): Validate the context of
4041 initialization of a zero-length array.
4042 * tree.c (int_fits_type_p): Be prepared for missing bounds.
4043 * varasm.c (array_size_for_constructor): New.
4044 (output_constructor): Use it for arrays of unspecified length.
4045 * extend.texi (Zero Length): Mention C99 flexible array members.
4046 Document initialization in a top-level struct as valid.
4047
65fa2185
JM
40482000-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
4049
9e8fc4b8
JM
4050 * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
4051
65fa2185
JM
4052 * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
4053 stdarg and varargs functions.
4054
2e59adac
ZW
40552000-11-19 Zack Weinberg <zack@wolery.stanford.edu>
4056
4057 * gcc.c (process_command): Define 'j' variable when
4058 MODIFY_TARGET_NAME is defined.
4059
856442b6
RH
40602000-11-19 Richard Henderson <rth@redhat.com>
4061
4062 * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
4063
88c1e412
FS
40642000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4065
4066 * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
4067 calculation and allocation.
4068
ce1cc601
KG
40692000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4070
4071 * builtins.c (c_getstr): Constify variable.
4072 * gmon-sol2.c (_mcleanup): Comment out #endif labels.
4073 * conflict.c (const_conflict_graph_arc): New typedef.
4074 (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
4075 * cppmacro.c (builtin_macro): Likewise.
4076 * dwarf2out.c (output_comp_unit): Constify variable.
4077 * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
4078 * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
4079 * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
4080 away const-ness.
4081 * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
f6bbde28 4082 ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
ce1cc601
KG
4083 * varasm.c (const_str_htab_hash, const_str_htab_eq,
4084 compare_constant_1, record_constant_1): Constify.
4085
967e627a
RH
40862000-11-18 Richard Henderson <rth@redhat.com>
4087
4088 * c-decl.c (grokdeclarator): Special case the creation of an
4089 index for a zero-length array.
4090 * tree.c (build_index_type): Revert Oct 20 change.
4091
e9284adf
MM
40922000-11-18 Marek Michalkiewicz <marekm@linux.org.pl>
4093
4094 * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
4095 * config/avr/avr.c (jump_tables_size): New variable.
4096 (function_prologue): Initialize it as 0.
4097 (function_epilogue): Add it to function_size.
4098 (avr_output_addr_vec_elt): New function. Count words in jump
4099 tables in jump_tables_size. Move code ...
4100 * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
4101 Call avr_output_addr_vec_elt instead.
4102 * config/avr/avr.md (tablejump): Remove disabled define_expand.
4103
67c72a63
MM
41042000-11-18 Mark Mitchell <mark@codesourcery.com>
4105
4106 * configure.in: Make --enable-new-gxx-abi the default.
4107 * configure: Likewise.
4108
0a8ad417
KG
41092000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4110
4111 * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
4112
4113 * tradcif.y: Include tradcpp.h. Constify. Make functions static.
4114 Move extern function declarations to tradcpp.h.
4115
4116 * tradcpp.c: Likewise.
4117
4118 * tradcpp.h: New file.
4119
77c4d6c0
JM
41202000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
4121
4122 * c-decl.c (check_for_loop_decls): New function.
4123 * c-parse.in (for_init_stmt): New.
4124 (select_or_iter_stmt): Use for_init_stmt.
4125 * c-tree.h (check_for_loop_decls): New declaration.
4126
4a58aab6
NB
41272000-11-18 Neil Booth <neilb@earthling.net>
4128
4129 * cppinit.c: Update comments.
4130 (cpp_reader_init): Make -imacro and -include use the standard
4131 #include "" search path.
4132 (do_includes): New function.
4133
c3e2d242
BE
41342000-11-18 Ben Elliston <bje@redhat.com>
4135
4136 * config/sh/crt1.asm (start_l): Move PC-relative move instruction
4137 out of a branch delay slot.
4138
48adb36e
RH
41392000-11-17 Richard Henderson <rth@redhat.com>
4140
4141 * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
4142 (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
4143 (ASM_FILE_START): Only write out ecoff .file directive if
4144 emitting mdebug debugging.
4145
9d147085
RH
41462000-11-17 Richard Henderson <rth@redhat.com>
4147
4148 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
4149 whether as accepts .file/.loc and produces dwarf2 line info.
4150 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
4151 the assembler supports it.
4152 * config.in, configure: Regenerate.
4153
5b87e928
RH
41542000-11-17 Richard Henderson <rth@redhat.com>
4155
4156 * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
4157
95c8e04b
JW
41582000-11-17 Jim Wilson <wilson@redhat.com>
4159
f6bbde28 4160 * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
95c8e04b
JW
4161 Don't clear need_barrier is next_insn is a CALL_INSN, or has
4162 instruction type B or UNKNOWN.
4163
14fbab6d
NB
41642000-11-17 Neil Booth <neilb@earthling.net>
4165
a25f1211 4166 * cpperror.c (print_file_and_line): Don't display line number if 0.
14fbab6d 4167
a8a05998
ZW
41682000-11-17 Zack Weinberg <zack@wolery.stanford.edu>
4169
4170 * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
4171 digit_vector and digit_string.
4172 * stringpool.c (digit_vector): New.
4173 (ggc_alloc_string): Use digit_string.
4174
4175 * stmt.c (digit_strings): Delete.
4176 (init_stmt): Do not initialize digit_strings.
4177 (expand_asm_operands): Use ggc.h's digit_string macro.
4178 * toplev.c (mark_file_stack): Delete.
4179 (compile_file): Don't call init_tree_codes.
4180 (main): No need to make the file stack a GC root.
4181 * tree.c (init_tree_codes): Delete.
4182 * tree.h (init_tree_codes): Delete.
4183
4184 * c-lex.c: Don't include ggc.h.
4185 (mark_splay_tree_node, mark_splay_tree): Delete.
4186 (init_c_lex): No need to ggc_strdup string constant. Don't add
4187 file_info_tree to GGC roots.
4188 (cb_enter_file, cb_rename_file): No need to ggc_strdup
4189 ip->nominal_fname.
4190
4191 * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
4192
4193 * dbxout.c (dbxout_init),
4194 dwarf2out.c (dwarf2out_line),
4195 ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
4196 varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
4197 xcoffout.c (xcoffout_source_file),
4198 i386.c (load_pic_register):
4199 Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
4200
4201 * except.c (create_rethrow_ref),
4202 profile.c (init_edge_profiler),
4203 toplev.c (compile_file),
4204 varasm.c (named_section, assemble_static_space,
4205 assemble_trampoline_template, output_constant_def, force_const_mem),
4206 i386.c (load_pic_register),
4207 ia64.c (ia64_encode_section_info),
4208 rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
4209 rs6000_emit_prologue, rs6000_emit_epilogue),
4210 rs6000.md (load_toc_aix_si, load_toc_aix_di):
4211 Change ggc_alloc_string (var, -1) to ggc_strdup (var).
4212
4213 * profile.c (output_func_start_profiler),
4214 tree.c (make_node),
4215 i386.c (load_pic_register): No need to ggc_strdup string constant.
4216
61ed06c3
HPN
42172000-11-17 Hans-Peter Nilsson <hp@axis.com>
4218
4219 * Makefile.in (config.status): Depend on config.gcc.
4220 * configure.in <for machine in $build $host $target>: Move
4221 contents of loop into config.gcc, removing autoconf quoting.
4222 Fix changequote bug for alpha*-*-vxworks*.
4223 * configure: Regenerate.
4224 * config.gcc: New.
4225
520a57c8
ZW
42262000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
4227
4228 * c-parse.in (if_prefix): Find the filename and line number at
4229 $-2 and $-1 respectively.
4230 * diagnostic.c (error_recursion): Add missing newline, use
4231 fputs, translate string.
4232
42332000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
4234
4235 * stringpool.c: New file.
4236 * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
4237 (ggc_alloc_string): Now in stringpool.o.
4238 * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
4239 * ggc.h: Delete prototype of ggc_add_string_root. #define
4240 ggc_add_string_root and ggc_mark_string to nothing. Prototype
4241 init_stringpool and stringpool_statistics.
4242 (ggc_alloc_string): Returns a const char *.
4243 * tree.c (hash_table, do_identifier_warnings): Delete.
4244 (init_obstacks): Don't initialize the identifier hash table.
4245 (get_identifier, maybe_get_identifier, start_identifier_warnings,
4246 set_identifier_size): Now in stringpool.c.
4247 * tree.h (struct tree_string): Constify pointer field.
4248 (approx_sqrt): Prototype.
4249
4250 * Makefile.in (stringpool.o): Add rule, mention in OBJS.
4251
4252 * toplev.c (approx_sqrt): New function.
4253 (compile_file): Call stringpool_statistics if mem_report is on.
4254 (main): Call init_stringpool.
4255
4256 * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
4257 (process_directive), c-typeck.c (constructor_asmspec, struct
4258 initializer_stack, start_init), except.c (create_rethrow_ref),
4259 stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
4260 (built_in_filename), varasm,c (in_named_name,
4261 assemble_static_space, struct constant_descriptor, struct
4262 deferred_string, struct pool_constant, force_const_mem),
4263 i386.c (pic_label_name, global_offset_table_name), rs6000.c
4264 (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
4265
4266 * c-common.c (combine_strings): Combine strings in scratch
4267 buffer, then pass to build_string.
4268 * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
4269 output_func_start_profiler), stmt.c (init_stmt), alpha.c
4270 (alpha_need_linkage), arm.c (arm_encode_call_attribute),
4271 i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
4272 rs6000.c (rs6000_encode_section_info): Create string in
4273 scratch buffer, then pass to ggc_alloc_string.
4274
4275 * stmt.c (expand_asm_operands): If we must adjust the
4276 constraint strings, do so by creating a new one, not by
4277 modifying the old one in place. Constify some char *s.
4278 * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
4279 argument. Create string in scratch buffer, then pass to
4280 ggc_alloc_string.
4281 * config/pa/pa-protos.h: Update prototype.
4282 * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
4283 hppa_encode_label takes only one argument.
4284
dd3b81b4
KG
42852000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4286
4287 * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
4288 malloc/realloc.
4289
4290 * cpplib.c (glue_header_name): Likewise.
4291
4292 * fixincl.c (run_compiles, start_fixer): Likewise.
4293
4294 * fixlib.c (load_file_data): Likewise.
4295
4296 * mkdeps.c (munge): Likewise.
4297
5074c1fe
HPN
42982000-11-17 Hans-Peter Nilsson <hp@axis.com>
4299
4300 * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
4301 trailing ';'. Fix formatting.
4302
74fe26b2
JW
43032000-11-16 Jim Wilson <wilson@redhat.com>
4304
35d9f39d
JW
4305 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
4306 Shift masks left by one to avoid conflict.
4307
74fe26b2
JW
4308 * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
4309 DECL_EXTERNAL set.
4310
68dfd979
NC
43112000-11-16 Nick Clifton <nickc@redhat.com>
4312
4313 * config/arm/arm.c (output_arm_prologue): Note nested functions.
4314 (arm_expand_prologue): For nested functions preserve the
4315 static chain register during stack frame creation.
4316
4317 * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
4318 (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
4319 with a stack frame there is a 4 byte gap between the arg
4320 pointer and the hard frame pointer (used to preserve the
4321 static chain register during stack frame creation).
4322
3ab9a08f
DD
43232000-11-16 DJ Delorie <dj@redhat.com>
4324
4325 * rtl.c (read_rtx): Provide suitable names for unnamed
4326 define_insn and define_insn_and_split patterns, based on file
4327 and line numbers.
4328
fe6c2db9
NB
43292000-11-15 Neil Booth <neilb@earthling.net>
4330
a8a05998
ZW
4331 * cpplib.c (start_directive, end_directive): New functions.
4332 (_cpp_handle_directive, run_directive): Use them.
4333 (_cpp_handle_directive): Don't -Wtraditional on indented
4334 null directives.
4335 (_cpp_push_buffer): Don't re-clear was_skipping.
4336 * cpplib.h (struct cpp_reader): New member la_saved.
4337 * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
4338 directives.
fe6c2db9 4339
a8a05998
ZW
4340 gcc.dg/cpp/_Pragma1.c: Update.
4341 gcc.dg/cpp/_Pragma2.c: New test.
fe6c2db9 4342
62136084
MM
43432000-11-15 Mark Mitchell <mark@codesourcery.com>
4344
4345 * toplev.c (wrapup_global_declarations): Don't write out
4346 artificial static variables that aren't needed.
4347
099dde21
BS
43482000-11-15 Bernd Schmidt <bernds@redhat.co.uk>
4349
4350 * ia64.c (struct group): New structure.
4351 (last_group): New static array.
4352 (group_idx): New static variable.
4353 (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
4354 New static functions.
4355 (emit_insn_group_barriers): Initialize and keep track of group_idx
4356 and last_group.
4357 Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
4358 Replace all calls to emit_insn_after that emit a group barrier to use
4359 emit_group_barrier_after.
4360 * ia64.h (MASK_B_STEP): New.
4361 (other MASK_XXX macros): Renumbered.
4362 (TARGET_B_STEP): New.
4363 (TARGET_SWITCHES): Add -mb-step.
4364
4e7b85ed
FF
43652000-11-15 Fred Fish <fnf@be.com>
4366
4367 * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
4368 machines for which fixincludes is not needed.
4369 * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
4370
ee3400e8
JM
43712000-11-15 Jason Merrill <jason@redhat.com>
4372
4373 * diagnostic.c (finish_abort): New fn.
4374 (fancy_abort, error_recursion): Use it.
4375 * toplev.c (crash_signal): Likewise.
4376 * diagnostic.h: Declare it.
4377
12e1243e
AH
43782000-11-13 Andrew Haley <aph@redhat.com>
4379
4380 * tree.c (build_type_no_quals): New function.
4381 * tree.h (build_type_no_quals): Declare.
4382 * c-common.c (c_get_alias_set): When considering type
4383 compatibility for pointer types, ignore cv-qualifiers anywhere in
4384 a pointer chain.
4385
695e4773
GS
43862000-11-15 Graham Stott <grahams@redhat.com>
4387
4388 * regrename.c (scan_rtx_rtx): Skip to the next chain on
4389 encountering a terminated chain.
4390
5a7c1037
MM
43912000-11-14 Mark Mitchell <mark@codesourcery.com>
4392
4393 * configure.in: Move check for V3 above check for C++ header-file
4394 directory.
4395 * configure: Regenerated.
a8a05998 4396
568c5140
DD
43972000-11-14 DJ Delorie <dj@redhat.com>
4398
4399 * config/v850/v850.c: Remove obstacks.
4400
1268b05f
MM
4401Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru>
4402
4403 * config/avr/avr.c (avr_case_values_threshold): New.
4404 (avr_override_options): Set it depending on options, make it large
4405 when not optimizing to work around "unable to generate reloads".
4406
4407 * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
4408 (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
4409 executable if not AVR_MEGA. Make sure jump tables are word-aligned.
4410 (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
4411 (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
4412 (avr_case_values_threshold): Declare as extern int.
4413 (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
4414
4415 * config/avr/avr.md (tablejump): Removed.
4416 (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
4417 (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
4418 index in the table, not multiplied by 2.
4419 (casesi): Change to match the above insns. Always enable.
4420
4421 * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
4422 Change to expect the word address of the table, multiply it by 2
4423 here and not in the caller. Change "adiw" to faster "inc".
4424
7f2f1a66
NB
44252000-11-14 Neil Booth <neilb@earthling.net>
4426
4427 * cppexp.c (parse_defined): Call cpp_get_token not
4428 _cpp_get_token.
4429 (lex): Similarly.
4430 * cpplex.c (cpp_output_line): Similarly.
4431 * cpplib.c (glue_header_name, do_line, do_ident,
4432 parse_answer, parse_assertion): Similarly.
4433 (_cpp_handle_diretive): Don't save to lookaheads
4434 when processing directives.
4435 * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
4436 _cpp_get_token.
4437 (funlike_invocation_p): Don't save to lookaheads
4438 when pre-expanding arguments.
4439 (_cpp_get_token): Delete.
4440 (cpp_get_token): Merge contents of _cpp_get_token.
4441
f36d6244
JJ
44422000-11-14 Jakub Jelinek <jakub@redhat.com>
4443
4444 * builtins.c (expand_builtin_setjmp): Set
4445 current_function_calls_setjmp.
4446 (expand_builtin_longjmp): Set current_function_calls_longjmp.
4447
4448 * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
4449 (do_builtin_setjmp_setup): New insn.
4450
3401c26b
RK
4451Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4452
4453 * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
4454 (int_fits_type_p): For variable bounds, call force_fit_type.
4455
bd7cf17e
JJ
44562000-11-14 Jakub Jelinek <jakub@redhat.com>
4457
4458 * varasm.c (struct deferred_string): New structure.
4459 (const_str_htab): New variable.
4460 (STRHASH): New macro.
4461 (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
4462 constr_str_htab_eq, const_str_htab_del): New functions.
4463 (output_constant_def): Add DEFER argument, defer string
4464 constants until mark_constant_pool time if requested.
4465 (mark_constant_pool): Walk the insn chain even if const_str_htab is
4466 not empty.
4467 (mark_constants): If a SYMBOL_REF for deferred string is found,
4468 output it and remove from hash table.
4469 (output_addressed_constants): Set DEFER to 0 in call to
4470 output_constant_def.
4471 * rtl.h (STRING_POOL_ADDRESS_P): Define.
4472 (output_constant_def): Adjust prototype.
4473 * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
4474
10e927ef
CC
44752000-11-14 Chandrakala Chavva <cchavva@redhat.com>
4476
4477 * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
4478 signed types if flag_trapv.
4479
ef90743a
ZW
44802000-11-14 Zack Weinberg <zack@wolery.stanford.edu>
4481
4482 * tradcpp.c, tradcif.y: Update FSF mailing address, delete
4483 reference to GPLv1.
4484
fe8ca71f
JM
44852000-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
4486
4487 * c-common.h (CTI_C_SIZE_TYPE): Update comment.
4488
94b01be3
JJ
44892000-11-14 Jakub Jelinek <jakub@redhat.com>
4490
4491 * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
4492 to array of pool_constnat pointers.
4493 (struct pool_constant): Add next_sym and label members.
4494 (struct pool_sym): Remove.
4495 (init_varasm_status): Change pool_sym into pool_constant.
4496 (mark_pool_constant): Mark pc->label string as well.
4497 (mark_pool_sym_hash_table): Remove.
4498 (mark_varasm_status): Remove it from caller as well.
4499 (free_varasm_status): Don't free pool_sym structures.
4500 (force_const_mem): Don't allocate pool_sym structure, instead
4501 fill pool->label and chain it into rtx_sym hash table.
4502 (find_pool_constant, mark_constant_pool): Use pool_constant instead
4503 of pool_sym.
4504
716120a7
JJ
45052000-11-14 Jakub Jelinek <jakub@redhat.com>
4506
4507 * reload1.c (emit_input_reload_insns): Honour forcing of constants
4508 into memory by PREFERRED_RELOAD_CLASS NO_REGS.
4509
f8032688
MM
45102000-11-14 Michael Matz <matzmich@cs.tu-berlin.de>
4511
4512 * dominance.c: New file.
4513 * Makefile.in (OBJS): Add dominance.o.
4514
4515 * flow.c (compute_flow_dominators): Remove.
4516 (compute_immediate_dominators): Remove.
4517 (compute_immediate_postdominators): Remove.
4518 * basic-block.h: Remove their prototypes.
4519 (calculate_dominance_info): Add prototype.
4520
4521 * dce.c (eliminate_dead_code): Change calls to above functions.
4522 Don't compute dominators but only immediate dominators.
4523 * flow.c (flow_loops_find): Change callers.
4524 * gcse.c (compute_code_hoist_data): Likewise.
4525 * haifa-sched.c (schedule_insns): Likewise.
4526 * ifcvt.c (if_convert): Likewise.
4527 * ssa.c (convert_to_ssa): Likewise, and only compute immediate
4528 dominators.
4529
0caa3c8e
RH
45302000-11-14 Richard Henderson <rth@redhat.com>
4531
6f122550
RH
4532 * stmt.c (warn_if_unused_value): Don't warn if the expression
4533 has side effects.
4534
0caa3c8e
RH
4535 * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
4536 (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
4537
a78cc542
FS
45382000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4539
4540 * loop.c (basic_induction_var): Revert accidental checkin.
4541
d9068c61
HPN
45422000-11-13 Hans-Peter Nilsson <hp@axis.com>
4543
4544 * c-lex.c (cb_leave_file): Harmonize conditions and order of
4545 statements to those of process_directive for (action == act_pop).
4546
4547 * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
4548
4549 * local-alloc.c (equiv_init_movable_p): References to CC0 are not
4550 movable.
4551
ebf02523
JM
45522000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4553
4554 * c-parse.in (stmts_and_decls): Deprecate use of label at end of
4555 compound statement.
4556
29b10746
NB
45572000-11-13 Neil Booth <neilb@earthling.net>
4558
ee3400e8
JM
4559 * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
4560 cases return without MI check.
4561 * cpplib.c (do_diagnostic): Take boolean of whether to
4562 print the directive name.
4563 (do_error, do_warning): Update.
4564 (do_pragma_dependency): Use it.
4565 * cpplib.h (VARARGS_FIRST): Delete.
4566 (struct cpp_token): Delete integer.
4567 * cppmacro.c (enter_macro_context): Move disabled check
4568 to _cpp_get_token.
4569 (_cpp_get_token): Simplify into a single loop.
29b10746 4570
8105825d
RE
45712000-11-13 Richard Earnshaw <rearnsha@arm.com>
4572
4573 * configure.in: Use 'test -f' not '[ -e'.
4574 * configure: Regenerated.
4575
481a6b4a
DD
45762000-11-13 DJ Delorie <dj@redhat.com>
4577
4578 * config/mn10300/mn10300.md (store_movm): Note which registers are
4579 really used or clobbered.
4580
b7438415
JM
45812000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4582
4583 * c-parse.in (ends_in_label): Remove from %union and %type.
4584 (decls, stmts, lineno_stmt_or_labels, xstmts,
4585 lineno_stmt_or_label, stmt_or_label): Remove.
4586 (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
4587 lineno_stmt_decl_or_labels_ending_decl,
4588 lineno_stmt_decl_or_labels_ending_label,
4589 lineno_stmt_decl_or_labels_ending_error,
4590 lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
4591 lineno_stmt, lineno_label): New.
4592 (compstmt_nostart): Use compstmt_contents_nonempty.
4593
19552aa5
JM
45942000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4595
4596 * c-common.c (boolean_increment): New function.
4597 * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
4598 CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
4599 (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
4600 (boolean_increment): Declare.
4601 * c-convert.c (convert): Allow for BOOLEAN_TYPE.
4602 * c-decl.c (init_decl_processing): Create boolean nodes.
4603 (finish_struct): Allow for _Bool bitfields.
4604 * c-parse.in (reswords): Add _Bool.
4605 (rid_to_yy): Allow for RID_BOOL.
4606 * c-typeck.c (default_conversion): Make booleans promote to int.
4607 (convert_arguments, build_unary_op, build_modify_expr,
4608 convert_for_assignment): Allow for booleans.
4609 * ginclude/stdbool.h: Make conforming to C99.
4610
444ca59f
JM
46112000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4612
4613 * c-parse.in (c99_block_start, c99_block_end,
4614 c99_block_lineno_labeled_stmt): New.
4615 (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
4616 (stmt): Split off selection and iteration statements into...
4617 (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt.
4618
f2ecb02d
JM
46192000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4620
4621 * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
4622 -time): Update.
4623
b082bfdb
RE
46242000-11-13 Richard Earnshaw <rearnsha@arm.com>
4625
4626 * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
4627 Rewrite to avoid use of match_dup. Don't try to tie registers that
4628 are not in the same mode.
4629
b9265ec1
JM
46302000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4631
4632 * invoke.texi: Update lists of languages and suffixes supported.
4633
cc1e60ea
JM
46342000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4635
4636 * configure.in: Take toplevel configure arguments from the
4637 environment to create configargs.h and substitute
4638 gcc_config_arguments, taking account of any existing configargs.h
4639 if reconfiguring.
4640 * configure: Regenerate.
4641 * gccbug.in: Include toplevel configure arguments in gccbug.
4642
37357796
RE
46432000-11-13 Richard Earnshaw <rearnsha@arm.com>
4644
4645 * varasm.c (struct constant_descriptor): Put CONTENTS inside a
4646 union to make it well-aligned. Update all uses.
4647
26d4fec7
JM
46482000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4649
4650 * c-parse.in (initelt): Give appropriate pedantic warnings,
4651 depending on flag_isoc99, for non-ISO syntax and for C99 syntax
4652 outside C99 mode.
4653 (designator): If pedantic, pedwarn for a designator specifying a
4654 range of elements.
4655 * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
4656 these cases.
4657 * extend.texi: Document the C99 syntax as the preferred syntax,
4658 and the pre-2.5 syntax as obsolete. Mention use of designator
4659 lists for nested subobjects.
4660
88f3c477
JM
46612000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4662
4663 * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
4664 Add ATTRIBUTE_PRINTF.
4665 * tradcpp.c (v_message, warning, error, fatal, error_with_line):
4666 Add ATTRIBUTE_PRINTF*.
4667
db5fbfb4
MM
46682000-11-12 Mark Mitchell <mark@codesourcery.com>
4669
4670 * function.c (assign_parms): When calling put_var_into_stack, make
4671 sure that there are no hidden pending sequences.
4672
c7b6c6cd
KG
46732000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4674
4675 * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
4676 BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and
4677 BUILT_IN_STRRCHR.
4678
4679 * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
4680
4681 * c-common.c (c_common_nodes_and_builtins): Declare index and
4682 rindex when nonansi builtins are allowed.
4683
4684 * extend.texi (index, rindex): Document new builtins.
4685
2f86842d
MM
46862000-11-12 Mark Mitchell <mark@codesourcery.com>
4687
34f6fbdb
MM
4688 * configure.in: Turn on libstdc++ V3 by default.
4689 * configure: Regenerated.
a8a05998 4690
2f86842d
MM
4691 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
4692
0c0ba09c
JJ
46932000-11-12 Jakub Jelinek <jakub@redhat.com>
4694
4695 * reload1.c (set_label_offsets): Go inside of PARALLELs.
4696
84a0e7b8
JM
46972000-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
4698
4699 * invoke.texi: Clean up option summary.
4700
4816b8e4
NC
47012000-11-12 Nick Clifton <nickc@redhat.com>
4702
4703 * config/mcore/mcore.c: Fix comment formating, and adjust sequence
4704 of #include headers.
4705
ee7692d2 47062000-11-12 Marc Espie <espie@openbsd.org>
a8a05998 4707
ee7692d2
ME
4708 * configure.in: Fix filds test.
4709 * configure: Regen.
4710
f8c4f860
MM
47112000-11-12 Mark Mitchell <mark@codesourcery.com>
4712
4713 * jump.c (delete_computation): Don't assume that just becuase an
4714 instruction sets a register, that register is dead.
4715
b528a07e
NB
47162000-11-12 Neil Booth <neilb@earthling.net>
4717
a8a05998
ZW
4718 * cppexp.c: Don't worry about pfile->skipping.
4719 * cpplib.c (struct if_stack): Make was_skipping unsigned char.
4720 (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
4721 for handled directives.
4722 (skip_rest_of_line): Use _cpp_lex_token after popping contexts
4723 and releasing lookaheads.
4724 (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
4725 (do_else, do_elif, push_conditional): Update logic.
4726 (do_endif): Set buffer->was_skipping rather than pfile->skipping.
4727 (unwind_if_stack): Inline into cpp_pop_buffer.
4728 (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
4729 * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle
4730 multiple-include optimisation.
4731 * cpplib.h (struct cpp_buffer): New member was_skipping.
4732 * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This
4733 works because skipping == 0 in directives.
4734 (_cpp_release_lookahead): Renamed from release_lookahead.
4735 (cpp_get_token): No need to check skipping as _cpp_get_token does
4736 this for us. No need to handle MI optimisation.
b528a07e 4737
995c461c
MM
4738Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com>
4739
4740 * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
4741 declarations that use `__MATH_EXCEPTION' in their prototypes, too.
4742 * fixinc/fixincl.x: Regenerated.
a8a05998 4743
56a77e1e
BK
47442000-11-11 Bruce Korb <bkorb@gnu.org>
4745
4746 * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
4747 (avoid_wchar_t_type): ditto
4748 * fixinc/fixinc.irix: obsoleted
4749
72aaffbd
ZW
47502000-11-11 Zack Weinberg <zack@wolery.stanford.edu>
4751
4752 * configure.in: Don't add $outputs to all_lang_makefiles. Add
4753 $srcdir/$s/Makefile.in if it exists.
4754 * configure: Regenerate.
4755
bbdd639d
MM
4756Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com>
4757
4758 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
4759
d96a6d1a
JM
47602000-11-11 Jason Merrill <jason@redhat.com>
4761
a8a05998 4762 * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
d96a6d1a
JM
4763 give the parm a register and then call put_var_into_stack.
4764 * stmt.c (expand_decl): Likewise.
4765
8ee322c9
JM
47662000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4767
4768 * gcc.texi: Adjust wording.
4769
8b4c8a86
MM
47702000-11-11 Mark Mitchell <mark@codesourcery.com>
4771
4772 * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
4773 * fininc/fixincl.x: Regenerated.
4774
639726ba
JM
47752000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4776
4777 * invoke.texi: Correct spelling of -foptimize-register-move.
4778
4c2b647d
NB
47792000-11-11 Neil Booth <neilb@earthling.net>
4780
4781 Remove CPP_PLACEMARKERs.
4782
4783 * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
4784 * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
4785 * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
a8a05998 4786 Similarly.
4c2b647d
NB
4787 * cpplib.h: Remove CPP_PLACEMARKER.
4788 (struct lexer_state): Rename skip_newlines to next_bol.
4789 * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
4790 Simplify prev_white handling as a result.
4791 (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
4792 (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
4793 (parse_args): Similarly. Update argument count tests.
4794 (enter_macro_context): Return 2 to indicate an empty macro.
4795 (replace_args): Don't bother pre-expanding an empty argument.
4796 Handle placemarkers and ## extension during pre-expansion.
4797 (cpp_get_token): Handle empty macro expansions. Don't worry
4798 about CPP_PLACEMARKERs.
4799 (_cpp_create_definition): Empty macros are now empty.
4800 (cpp_macro_defintion): Don't special case empty macros.
4801 * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
4802 * c-lex.c: Similarly.
4803
c1030c7c
JM
48042000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4805
4806 * gcc.texi, invoke.texi: Add new section discussing language
4807 standards; link to it where appropriate; refer to ISO C instead of
4808 ANSI C.
4809
93a77848
AO
48102000-11-11 Alexandre Oliva <aoliva@redhat.com>
4811
3650b695
AO
4812 * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
4813 into account.
4814
93a77848
AO
4815 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
4816 modes.
4817
9a5a13c9
JM
48182000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4819
4820 * gcc.texi, gcov.texi: Update dates and version numbers.
4821
1e608388
ZW
48222000-11-10 Zack Weinberg <zack@wolery.stanford.edu>
4823
4824 * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
4825 flex and bison, specifically, first in a unified build and
4826 then installed on the system.
4827 * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
4828 LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
4829 match.
4830
4831 (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
4832 cppdefault.o): Remove pointless sed munging of source file
4833 name.
4834
9532e31f
BS
48352000-11-10 Bernd Schmidt <bernds@redhat.co.uk>
4836
4837 * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
4838 for address reloads. Push replacements for REG_INC notes.
4839 (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All
4840 callers changed.
4841 * reload1.c (choose_reload_regs): Registers set in the insn can't be
4842 used for RELOAD_OTHER reloads.
4843
721de836
MM
48442000-11-10 Mark Mitchell <mark@codesourcery.com>
4845
4846 * c-dump.h: New file.
4847
4e135bdd
KG
48482000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4849
4850 * alpha.c (check_float_value): Use memcpy, not bcopy.
4851 * arm.c (output_move_double): Likewise.
4852 * arm.md: Likewise.
4853 * m88k.c (legitimize_operand): Likewise.
4854 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
4855 * m88k.md: Likewise.
4856 * mips.c (override_options): Likewise.
4857 * mips.md: Likewise.
4858 * romp.c (output_fpops): Likewise.
4859 * rs6000.c (rs6000_override_options): Likewise.
4860 * sh.md: Likewise.
4861 * vax.c (check_float_value): Likewise.
4862
4863 * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
4864 * expmed.c (synth_mult): Likewise.
4865 * final.c (add_bb_string): Likewise.
4866 * genattr.c (main): Likewise.
4867 * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
4868 Likewise.
4869 * jump.c (thread_jumps): Likewise.
4870 * prefix.c (save_string): Likewise.
4871 * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
4872 * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
4873 * reload1.c (reload, eliminate_regs): Likewise.
4874
c8abeb44
JM
48752000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4876
4877 * gcc.texi (Service): Update to reflect current practice and
4878 location of the GNU service directory.
4879
6fb85418
BS
48802000-11-09 Bernd Schmidt <bernds@redhat.co.uk>
4881
4882 * regrename.c (build_def_use): Mark contents of REG_INC notes as
4883 needing replacement.
4884
0c478921
BS
4885 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
4886 a no-op move if regs are equal.
4887 * toplev.c (rest_of_compilation): Do the noop moves elimination pass
a8a05998 4888 when calling jump after post-reload splitting.
0c478921 4889
3b7a2e58
JM
48902000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl>
4891
a8a05998
ZW
4892 * c-tree.texi: Fix typos.
4893 * extend.texi: Likewise
4894 * gcov.texi: Likewise
4895 * rtl.texi: Likewise
4896 * tm.texi: Likewise
3b7a2e58 4897
59257980
HPN
48982000-11-09 Hans-Peter Nilsson <hp@axis.com>
4899
4900 * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
4901 in_system_header and flags[1] before dereferencing flags[2].
4902
881a8969
MH
49032000-11-09 Matthew Hiller <hiller@redhat.com>
4904
4905 * reload1.c (reload_combine): Fixed calculation of
4906 first_index_reg, last_index_reg.
4907
0a7394bc
MM
49082000-11-09 Mark Mitchell <mark@codesourcery.com>
4909
13507bd8
MM
4910 * c-dump.c (dequeue_and_dump): Dump function bodies.
4911
0a7394bc
MM
4912 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
4913 (c-dump.o): New target.
4914 * c-common.h (flag_dump_translation_unit): New variable.
4915 (C_TYPE_QUALS): New macro.
4916 (strip_array_types): New function.
4917 (DECL_C_BIT_FIELD): New macro.
4918 (SET_DECL_C_BIT_FIELD): Likewise.
4919 (CLEAR_DECL_C_BIT_FIELD): Likewise.
4920 (dump_info_p): New typedef.
4921 (dump_tree_fn): Likewise.
4922 (lang_dump_tree): New variable.
4923 (dump_node_to_file): New function.
4924 * c-common.c (flag_dump_translation_unit): Define it.
4925 (strip_array_types): New function.
4926 * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
a8a05998 4927 * c-lang.c (finish_file): Call dump_node_to_file if
0a7394bc
MM
4928 flag_dump_translation_unit.
4929 * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
4930 * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
4931 * c-dump.c: New file.
a8a05998 4932
abffe289
CF
49332000-11-09 Christopher Faylor <cgf@cygnus.com>
4934
4935 * config/i386/cygwin.h: Add mingw startfile prefix.
4936
1288c070
RH
49372000-11-09 Richard Henderson <rth@redhat.com>
4938
4939 * flow.c (invalidate_mems_from_set): Split out from ...
4940 (mark_set_1): ... here.
4941 (try_pre_increment_1): Use it. Use propagate_block_delete_insn
4942 instead of turning insn into a NOTE_INSN_DELETED.
4943
01702459
JM
49442000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4945
4946 * extend.texi, invoke.texi: Move documentation of builtin versions
4947 of C library functions to one place and update.
4948
30355eaa
RH
49492000-11-09 Richard Henderson <rth@redhat.com>
4950
4951 * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
4952 the types themselves to discover type equivalence.
4953
5fcee6f3
MS
49542000-11-09 Mike Stump <mrs@wrs.com>
4955
4956 * Makefile.in (distclean): Remove a few extra leftovers.
4957
377b6fce
RH
49582000-11-09 Richard Henderson <rth@redhat.com>
4959
c0e3f87d
RH
4960 * recog.c (validate_replace_rtx_1): Consider subregs when
4961 replacing a register with a constant inside a sign/zero_extend.
4962
377b6fce
RH
4963 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
4964
b52114d2
GK
49652000-11-09 Geoffrey Keating <geoffk@redhat.com>
4966
4967 * c-decl.c (finish_struct): When a structure is completed,
4968 check all its variant types for completeness.
4969
a949941c
NB
49702000-11-09 Neil Booth <neilb@earthling.net>
4971
4972 * cpphash.c: Move cpp_defined here from cpplib.c.
4973 * cpplib.c: Update comments, move cpp_defined to cpphash.c.
4974 * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
4975 * cppmacro.c (cpp_get_token): Update comments, no need now
4976 to catch the CPP_EOF meaning EOL case.
4977
9a0662b4
GK
49782000-11-08 Geoffrey Keating <geoffk@redhat.com>
4979
4980 * config/sparc/sparc.c (sparc_va_arg): When the required alignment
4981 is more than that provided, copy to a temporary.
4982
6c80a645
AO
49832000-11-09 Alexandre Oliva <aoliva@redhat.com>
4984
4985 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
4986 interpreting $out as a macro assignment.
4987 * Makefile.in (T_TARGET): New auxiliary macro and target.
4988 (all): Add a target right in the beginning, so that we don't build
4989 T_TARGET by default.
4990
6a4afa6c
GS
49912000-11-09 Graham Stott <grahams@redhat.com>
4992
a8a05998 4993 * config/i386/i386.md (mmx_pinsrw): Output operands in correct
6a4afa6c
GS
4994 order for -mintel-syntax. Remove comment now that the operand
4995 order has been checked.
4996 (mmx_pextrw): Likewise.
4997 (mmx_pshufw): Likewise.
4998
2dee4af1
JJ
49992000-11-09 Jakub Jelinek <jakub@redhat.com>
5000
5001 * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
5002 (c_getstr): New function.
5003 (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
5004 If both arguments are constant string, optimize out.
5005 (expand_builtin_strchr, expand_builtin_strrchr): New functions.
5006 (expand_builtin_strpbrk): Use c_getstr, do nothing if
5007 -fcheck-memory-usage.
5008 (expand_builtin_fputs): Likewise.
5009 (expand_builtin_strcmp): Add MODE argument.
5010 Use even if !HAVE_cmpstrsi.
5011 Optimize the case when both arguments are constant strings.
5012 (expand_builtin): Adjust expand_builtin_strcmp caller.
5013 Call expand_builtin_strchr and expand_builtin_strrchr.
5014 * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
5015 builtins.
5016 * builtins.def (BUILT_IN_STRRCHR): Add.
5017
97dc9fc0
GP
50182000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5019
5020 * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
5021
2e09e75a
JM
50222000-11-09 Joseph S. Myers <jsm28@cam.ac.uk>
5023
5024 * calls.c (expand_call, emit_library_call_value_1), collect2.c
5025 (scan_prog_file), config/a29k/a29k.c (print_operand),
5026 config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
5027 instead of bcopy ().
5028 * real.h: Use memcmp () instead of bcmp ().
5029 * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
5030 (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
5031 ultrasparc_sched_init, ultrasparc_sched_reorder),
5032 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
5033 instead of bzero ().
5034 * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
5035 instead of rindex ().
5036 * configure.in: Don't check for bzero, bcmp, index or rindex.
5037 * configure, config.in: Regenerate.
5038 * system.h: Don't include declarations for bzero, bcmp, index or
5039 rindex.
5040 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
5041 bzero, bcmp, index or rindex.
5042
03fb4780
CF
5043Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com>
5044
5045 * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin
5046 include and library paths from -mcygwin case. Parameterize some
5047 declarations to avoid warnings. Use standard locations for include and
5048 lib dirs.
5049
ca68ea18
NC
50502000-11-08 Nick Clifton <nickc@redhat.com>
5051
5052 * config/arm/arm.md (mulsidi3adddi): Change output operand
eb68ad7c 5053 constraint from "=&" to "+&".
ca68ea18 5054 (umulsidi3adddi): Change output operand constraint from "=&" to
eb68ad7c 5055 "+&".
ca68ea18 5056
c32e1e6f
RH
50572000-11-08 Richard Henderson <rth@redhat.com>
5058
5059 * flow.c (init_propagate_block_info): Protect the rtx stored in
5060 mem_set_list from modification by find_auto_inc.
5061 (mark_set_1): Likewise.
5062
adb84b42
NB
50632000-11-08 Neil Booth <neilb@earthling.net>
5064
a8a05998
ZW
5065 Move directive handling into the lexer itself.
5066
5067 * cpplex.c (_cpp_lex_token): Handle directives directly.
5068 In the case of a directive interrupting a function-like
5069 macro invocation, use extra_char since read_ahead is
5070 used to store the '#'. Return a CPP_EOF in this case.
5071 * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
5072 (cpp_get_token): Don't handle directives here.
5073 * cpplib.h: Remove CPP_DHASH token type.
adb84b42 5074
756d6f0c
JH
5075Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz>
5076
5077 * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
5078 formed using PRE_MODIFY too.
5079
c39c0db3
MM
50802000-11-08 Mark Mitchell <mark@codesourcery.com>
5081
69908851
MM
5082 * c-tree.texi (VAR_DECL): Describe representation of GCC's
5083 extension for placing variables in particular registers.
5084
c39c0db3
MM
5085 * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
5086 unprototyped C functions with no parameters.
5087
6cada0cd
JJ
50882000-11-08 Jakub Jelinek <jakub@redhat.com>
5089
5090 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
5091 before passing to fprintf.
5092
768f0669
JJ
50932000-11-08 Jakub Jelinek <jakub@redhat.com>
5094
5095 * function.c (expand_function_start): Cast GET_MODE_SIZE to
5096 HOST_WIDE_INT before negating it.
5097
df6018fd
JJ
50982000-11-08 Jakub Jelinek <jakub@redhat.com>
5099
5100 * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
5101 passed in multiple non-contiguous locations.
5102
14ae1d50 51032000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
a8a05998 5104
14ae1d50
GP
5105 * README.gnat: Remove file.
5106
673887d5
AO
51072000-11-08 Alexandre Oliva <aoliva@redhat.com>
5108
5109 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
5110 in-place.
5111
66234570
RH
51122000-11-07 Richard Henderson <rth@redhat.com>
5113
5114 * dwarfout.c (INSN_LABEL_FMT): Remove.
5115 (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
5116 (dwarfout_label): Remove.
5117 * dwarfout.h: Remove it's prototype.
5118 * dwarf2out.c (INSN_LABEL_FMT): Remove.
5119 (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
5120 (dwarf2out_label): Remove.
5121 * dwarf2out.h: Remove it's prototype.
5122 * final.c (final_scan_insn): Don't call dwarf[2]out_label.
5123
81b75d96
RH
51242000-11-07 Richard Henderson <rth@redhat.com>
5125
cd5c4048
RH
5126 * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
5127 search on the unwind region section.
5128
5129 * config/ia64/ia64.md (movbi): Add r/r alternative.
5130 (cmovdi_internal_astep): Describe all combinations of register
5131 classes for sources & destinations; remove matching constraints.
5132 (cmovdi_internal): Likewise.
5133
81b75d96
RH
5134 * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
5135
6dbaddf9
RH
51362000-11-07 Richard Henderson <rth@redhat.com>
5137
5138 * c-lang.c (start_cdtor, finish_cdtor): New functions.
5139 (finish_file): Use them in building constructor/destructor functions.
5140
a8a05998 5141 * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
6dbaddf9
RH
5142 LD_FINI_SWITCH): Move ...
5143 * config/alpha/osf.h: ... here.
5144 * config/alpha/alpha-interix.h: Don't undef them.
5145
99b13084
JO
51462000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
5147
5148 * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is
5149 included in libgcc.a.
5150 (DPBIT): Likewise.
5151 (dp-bit.c): Likewise.
5152 (fp-bit.c): Likewise.
5153
d7cac874
NC
51542000-11-07 Nick Clifton <nickc@redhat.com>
5155
5156 * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
5157 (INTERNAL_ASM_OP): Add missing tab.
5158
961192e1
JM
51592000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
5160
5161 * alias.c (init_alias_analysis), calls.c (expand_call,
5162 emit_library_call_value_1), combine.c (init_reg_last_arrays),
5163 cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
5164 (init_output_buffer, set_diagnostic_context), dwarf2out.c
5165 (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
5166 (init_emit_once), fold-const.c (mul_double, div_and_round_double),
5167 function.c (assign_parms), gcse.c (compute_can_copy,
5168 alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
5169 compute_hash_table, compute_set_hash_table,
5170 compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
5171 (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
5172 clear_units, schedule_block), integrate.c (initialize_for_inline,
5173 expand_inline_function), jump.c (thread_jumps), local-alloc.c
5174 (local_alloc), loop.c (combine_movables, count_loop_regs_set,
5175 load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
5176 regclass.c (init_reg_sets, init_reg_sets_1, regclass,
5177 record_reg_classes, allocate_reg_info), reload.c
5178 (get_secondary_mem, remove_address_replacements, find_reloads),
5179 reload1.c (reload, set_initial_label_offsets, finish_spills,
5180 reload_as_needed, choose_reload_regs_init,
5181 reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
5182 (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
5183 (rename_registers), stmt.c (expand_end_case), unroll.c
5184 (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
5185 () instead of bzero ().
5186
e3cc3581
NB
51872000-11-07 Neil Booth <neilb@earthling.net>
5188
5189 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
5190
f8136648
KG
51912000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5192
5193 * c-common.c (combine_strings): Only warn about long strings for C.
5194
71fd5a51
R
5195Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
5196
5197 * combine.c (distribute_notes): Fix typo in last change.
5198
bdaa0181
GK
51992000-11-07 Geoff Keating <geoffk@redhat.com>
5200
5201 * config/rs6000/rs6000.md (movdi_internal32+1): Use
5202 operand_subreg_force rather than gen_rtx_SUBREG.
5203 (movdi_internal32+2): Likewise.
5204
bc56a125
PB
52052000-11-07 Philip Blundell <philb@gnu.org>
5206
5207 * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
5208 * config/arm/linux-aout.h: Likewise.
5209 * configure: Regenerate.
5210
a71d3613
PT
52112000-11-07 Philipp Thomas <pthomas@suse.de>
5212
5213 * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
5214 accepted my the gettext maintainer.
5215
26a87cab
KG
52162000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5217
5218 * builtins.c (expand_builtin_strpbrk): New function.
5219 (expand_builtin): Handle BUILT_IN_STRPBRK.
5220
5221 * builtins.def (BUILT_IN_STRPBRK): New entry.
5222
5223 * c-common.c (c_common_nodes_and_builtins): Declare builtin
5224 strpbrk.
5225
ace54f91
DB
52262000-11-07 David O'Brien <obrien@dragon.nuxi.com>
5227
5228 * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
5229 * POTFILES.in: Add config/alpha/freebsd.h
5230 * configure.in: Add alpha*-freebsd support.
5231 * configure: Regenerate.
5232
0dec5df9
JM
52332000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
5234
5235 * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
5236 copy of ptr_type_node rather than ptr_type_node itself.
5237
bf103ec2
R
5238Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com>
5239
5240 * combine.c (recog_for_combine): Allocate uninitialized vector with
5241 rtvec_alloc.
5242 * recog.c (apply_change_group): Likewise.
5243
c762163e
R
5244Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com>
5245
5246 * flow.c (verify_local_live_at_start): Back out last change.
5247 * combine.c (distribute_notes): When parts of a hard reg are
5248 neither set nor referenced in PLACE, search backwards for a
5249 place to put a REG_UNUSED note; if none found, ask for flow
5250 info refresh.
5251
f34c06e5
R
5252Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com>
5253
5254 * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
5255 with (clobber (match_scratch...)).
5256
2b892489
NB
52572000-11-06 Neil Booth <neilb@earthling.net>
5258
5259 * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
5260 error status.
5261
ea33bfc5
NB
52622000-11-06 Neil Booth <neilb@earthling.net>
5263
a8a05998 5264 * tradcpp.c (special_symbol): Assign an null string rather
ea33bfc5
NB
5265 than writing to an unallocated buffer.
5266
56051c0a
NB
52672000-11-06 Neil Booth <neilb@earthling.net>
5268
5269 * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
5270 CPP_MACRO_ARG case.
5271
6c53ebff
NB
52722000-11-06 Neil Booth <neilb@earthling.net>
5273
5274 * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
5275 tok.val.arg_no as appropriate.
5276 * cppexp.c (lex): Similarly.
5277 * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
5278 cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
5279 * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
5280 cpp_macro_definition): Similarly.
5281 * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
5282
8b1c5fd0
JJ
52832000-11-06 Jakub Jelinek <jakub@redhat.com>
5284
5285 * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
5286 operands[1] is constant, calculate the sum and generate movdi.
5287 (addsi3): Similarly. Use SImode in call to arith_4096_operand.
5288 (subsi3): Use SImode in call to arith_4096_operand.
5289
a0115140
JJ
52902000-11-06 Jakub Jelinek <jakub@redhat.com>
5291
5292 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
5293 adjust %o1, not %o0 if the return type is large structure.
5294
9ea2bda9
JJ
52952000-11-06 Jakub Jelinek <jakub@redhat.com>
5296
5297 * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
5298 update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
5299
1cf7847f
DC
5300Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
5301
5302 * expmed.c (expand_divmod): For signed divide by 2, prefer
5303 a branch and fewer shifts if branches are very cheap.
5304
436a88a6
JM
53052000-11-05 Joseph S. Myers <jsm28@cam.ac.uk>
5306
5307 * Makefile.in: Remove all targets related to building
5308 distributions and diffs, or INSTALL.
5309 * INSTALL, install1.texi: Remove.
5310 * configure.in: Remove mention of distdir.
5311 * configure: Regenerate.
5312 * objc/Make-lang.in: Remove mention of distdir.
5313
9cf11a47
NB
53142000-11-04 Neil Booth <neilb@earthling.net>
5315
5316 * cpp.texi: Update for _Pragma.
5317
f148ca88
JM
53182000-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
5319
5320 * gcc.texi (Contributing): Update URL for projects web page.
5321
16eb2788
NB
53222000-11-04 Neil Booth <neilb@earthling.net>
5323
a8a05998
ZW
5324 * cpplex.c (parse_string): Don't allow multiline strings in
5325 #include family directives.
16eb2788 5326
9232b7d9
NB
53272000-11-04 Neil Booth <neilb@earthling.net>
5328
5329 * cpplib.c (do_line): Only warn pedantically if not reading
a8a05998 5330 preprocessed input.
9232b7d9 5331
f132f529
AO
53322000-11-04 Alexandre Oliva <aoliva@redhat.com>
5333
5334 * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
5335 RETURN_POPS_ARGS().
5336
0e9295cf
ZW
53372000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
5338
5339 * builtins.c (expand_builtin_strlen): Remove unused mode
5340 argument.
5341 * gcc.c (process_command): Remove unused variable.
5342 * fold-const.c: Include expr.h.
5343 * recog.c: Include reload.h.
5344 * Makefile.in (recog.o, fold-const.o): Update deps.
5345
f2682362
GK
53462000-11-02 Geoffrey Keating <geoffk@cygnus.com>
5347
5348 * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
5349
25f80eae
MM
5350Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com>
5351
5352 * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
5353 handling.
5354 (STARTFILE_SPEC): Likewise.
5355 (LINK_SPEC): Likewise.
5356
426159a4
KG
53572000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5358
5359 * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
5360 (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
5361 (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
5362
da61dec9
JM
53632000-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
5364
5365 * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
5366 (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
5367 perm_calloc, get_identifier, maybe_get_identifier,
5368 real_value_from_int_cst, simple_cst_equal), varasm.c
5369 (assemble_name, assemble_real, immed_real_const_1,
5370 compare_constant_1, decode_rtx_const, output_constant_pool): Use
5371 strrchr () instead of rindex (). Use memcmp () instead of bcmp
5372 (). Use memcpy () instead of bcopy (). Use memset () instead of
5373 bzero ().
5374
def3263a
NS
53752000-11-03 Nathan Sidwell <nathan@codesourcery.com>
5376
5377 * cppfiles.c (open_file): If already read, then don't reopen.
5378 Immediately close an empty file.
5379
94e9dc13
BS
53802000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
5381
5382 * expr.h (fold_builtin): Move declaration...
5383 * tree.h (fold_builtin): ... here.
5384
6c6a14b5
R
5385Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com>
5386
5387 * flow.c (verify_local_live_at_start): Allow hard regs to die.
5388
5b569332
NB
53892000-11-02 Neil Booth <neilb@earthling.net>
5390
5391config:
5392 * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
5393 alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
5394 alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
5395 alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
5396 arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
5397 arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
5398 c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
5399 elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
5400 i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
5401 i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
5402 i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
5403 i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
5404 i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
5405 i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
5406 i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5407 i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
5408 i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
5409 i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
5410 i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
5411 i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
5412 i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
5413 ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
5414 m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
5415 m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
5416 m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
5417 m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
5418 m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
5419 m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
5420 m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
5421 m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
5422 m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
5423 m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
5424 mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
5425 mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
5426 mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
5427 mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
5428 mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
5429 mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
5430 ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
5431 ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
5432 pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
5433 pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
5434 romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
5435 rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
5436 rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
5437 rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
5438 sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
5439 sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
5440 sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
5441 sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
5442 sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
5443 sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
5444 sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
5445 v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
5446 vax/vaxv.h, vax/vms.h, we32k/we32k.h
a8a05998 5447
5b569332
NB
5448 Replace -A() with -A=, the new assertion syntax.
5449
03afaf36
R
5450Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com>
5451
5452 * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
5453 elim_i1.
5454 In REG_DEAD handling: When handling parts of multi-hard-reg hard
5455 registers, increment the loop counter by the size of the parts;
5456 use recursion to handle individual parts.
5457
04e3be98
NB
54582000-11-02 Neil Booth <neilb@earthling.net>
5459
5460 * configure.in: Make integrated CPP the default.
5461 * configure: Regenerate.
5462
0192d704
R
5463Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com>
5464
5465 * reload.c (find_equiv_reg): Test all hard registers for membership
5466 in the requested class.
5467
9473c522
JM
54682000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
5469
5470 * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
5471 process_command, main), gcov.c (open_files, output_data), tlink.c
5472 (frob_extension, scan_linker_output), toplev.c
5473 (file_name_nondirectory): Use strchr () and strrchr () instead of
5474 index () and rindex ().
5475
0304bbad
JM
54762000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
5477
5478 * c-common.c (get_flag_spec, check_format_info_main,
5479 check_format_types): Use strchr () instead of index (). Compare
5480 against error_mark_node instead of comparing the TREE_CODE against
5481 ERROR_MARK.
5482
23356f93
ZW
54832000-11-02 Zack Weinberg <zackw@Stanford.EDU>
5484
a8a05998
ZW
5485 Integrated CPP.
5486
5487 * c-lex.c (init_c_lex): Update cpp_start_read call.
5488 (cb_ident): Update for new callback prototype.
5489 (cb_def_pragma): Update for new cpp_get_token prototype.
5490 (c_lex): Similarly. Use cpp_get_line.
5491
5492 * c-parse.in (finish_parse): Update for new cpp_finish
5493 prototype.
5494
5495 * cp/lex.c (finish_parse): Similarly.
23356f93 5496
7a099817
GK
54972000-11-01 Geoff Keating <geoffk@cygnus.com>
5498
5499 * machmode.def: Add V16QImode.
5500
a97c9600
RH
55012000-11-01 Richard Henderson <rth@redhat.com>
5502
5503 * dwarf2out.c (loc_descriptor_from_tree): Check for null result
5504 from rtl_for_decl_location.
5505 (add_location_or_const_value_attribute): Likewise.
5506
a0a9606d
NB
55072000-11-01 Neil Booth <neilb@earthling.net>
5508
a8a05998
ZW
5509 * cpplib.c (run_directive): Use correct line number for output
5510 of _Pragma. Remember any in-progress directive.
5511
5512 * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
a0a9606d 5513
ba89764a
RH
55142000-11-01 Richard Henderson <rth@redhat.com>
5515
5516 * stmt.c (expand_start_null_loop): Set continue_label.
5517
b0b3afb2
BS
55182000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
5519
5520 * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
5521 (expand_builtin_constant_p): Move parts of the code into
5522 fold_builtin_constant_p.
5523 (expand_builtin_strlen): Move parts of the code into fold_builtin.
5524 * expr.h (fold_builtin): Declare.
5525 * fold-const.c (fold): Handle builtin calls.
5526
5527 * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
5528
f0de0c5d
RH
55292000-11-01 Richard Henderson <rth@redhat.com>
5530
5531 * stmt.c (expand_start_null_loop): New.
a8a05998 5532 (expand_end_null_loop): New.
f0de0c5d
RH
5533 * c-semantics.c (genrtl_do_stmt): Use them.
5534 * tree.h: Declare them.
5535
3a59c77c
RH
55362000-11-01 Richard Henderson <rth@redhat.com>
5537
5538 * cppmain.c (scan_buffer): Don't avoid paste for assembly.
5539
12c4f523
NB
55402000-11-01 Neil Booth <neilb@earthling.net>
5541
5542 * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
5543 * cp/spew.c: Similarly.
5544 * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
5545 * cppmacro.c (stringify_arg): Similarly.
5546 * cpplib.h (CPP_BACKSLASH): Delete.
5547
78e7629e
KG
55482000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5549
5550 * builtins.c (expand_builtin_strstr): New function.
5551 (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
5552
5553 * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
5554
5555 * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
5556 and builtin strchr.
5557
32ee391b
RH
55582000-10-31 Richard Henderson <rth@redhat.com>
5559
5560 * config/i386/i386.c (fcmov_comparison_operator): Check for
5561 CCFPmode or CCFPUmode instead of CCmode.
5562 (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
5563 unordered operations as well.
5564
5f10ef5b
RH
55652000-10-31 Richard Henderson <rth@redhat.com>
5566
5567 * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
5568 of integer_zero_node.
5569
d599b81f
RH
55702000-10-31 Richard Henderson <rth@redhat.com>
5571
5572 * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
5573
1426f761
NC
55742000-10-31 Nick Clifton <nickc@redhat.com>
5575
5576 * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
5577 -fdata-sections to override the section attribute of a DECL.
5578
a8c0159a
CD
55792000-10-31 Chris Demetriou <cgd@sibyte.com>
5580
5581 * libgcc2.c (__shtab): Remove __shtab variable.
5582 * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
5583 * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
5584 members.
5585
8215347e
JW
55862000-10-31 Jim Wilson <wilson@redhat.com>
5587
5588 * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
5589 * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
5590 * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
5591 instead of ASM_OUTPUT_INTERNAL_LABEL.
5592 (dwarf2out_end_block, dwarf2out_label): Likewise.
5593 * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
5594 * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
a8a05998 5595
d8041cc8
RH
55962000-10-31 Richard Henderson <rth@redhat.com>
5597
5598 * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
5599 (size_of_locs): Set it.
5600 (output_loc_operands): Use it to compute branch displacement.
5601 (int_loc_descriptor): New.
5602 (mem_loc_descriptor): Dereference memory in the proper size.
5603 Use DW_OP_plus_uconst when possible. Use int_loc_descriptor.
5604 (loc_descriptor_from_tree): New.
5605 (rtl_for_decl_location): Break out from ...
5606 (add_location_or_const_value_attribute): ... here.
5607 (add_bound_info): Use loc_descriptor_from_tree.
5608
86368122
NB
56092000-10-31 Neil Booth <neilb@earthling.net>
5610
5611 * cpp.texi: Update for new command line assertion syntax.
5612 * cpplib.c (cpp_define): Simplify a bit.
5613 (cpp_assert, cpp_unassert): Use handle_assertion.
5614 (handle_assertion): New function; accept new command line
5615 syntax with '='.
5616 * testsuite/gcc.dg/cpp/assert3.c: New tests.
5617
e1998242
NB
56182000-10-31 Neil Booth <neilb@earthling.net>
5619
5620 * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
5621 undefined. Remove #ifdef check.
5622 * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
5623 Define STDC_0_IN_SYSTEM_HEADERS to 1.
5624
7e08e190
JH
56252000-10-31 Jan Hubicka <jh@suse.cz>
5626 Jakub Jelinek <jakub@redhat.com>
5627
5628 * config/i386/i386.h: Clarify CCNOmode description in comment.
5629 (EXTRA_CC_MODES): Remove CCRCmode.
5630 * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
5631 (put_condition_code, ix86_match_ccmode): Likewise.
5632 (ix86_cc_mode): Likewise. Fix comment.
5633 (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
5634 * config/i386/i386.md: Add unspec 12 description.
5635 (adddi3 split): Use unspec 12 instead of CCRCmode.
5636 (addsi3_carry_rc): Remove.
5637 (addsi3_cc, addqi3_cc): New patterns.
5638 (addsi_3): Swap operands, match CCZmode.
5639 (addsi_4): Rewritten.
5640 (addsi_5): Renamed from addsi_6.
5641 (addsi_6): Removed.
5642 (addhi_3): Swap operands, match CCZmode.
5643 (addhi_4): Rewritten.
5644 (addhi_5): Renamed from addhi_6.
5645 (addhi_6): Removed.
5646 (addqi_3): Swap operands, match CCZmode.
5647 (addqi_4): Rewritten.
5648 (addqi_5): Renamed from addqi_6. Use =q constraint for clobber.
5649 (subsi3_carry_rc): Removed.
5650 (iorqi_3): Use =q constraint for clobber.
5651 (xorqi_cc_2): Likewise.
5652 (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
5653 (x86_movsicc_0_m1_rc): Removed.
5654 (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode.
5655
93cc1c69
JM
56562000-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
5657
5658 * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
5659 and decrement of complex types.
5660
bcb38cc1
KG
56612000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5662
5663 * builtins.c (expand_builtin_fputs): When deleting NOP calls to
5664 builtin fputs, ensure we still evaluate the stream in case it
5665 has side-effects.
5666
681cb233
JJ
56672000-10-31 Jakub Jelinek <jakub@redhat.com>
5668
5669 * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
5670 to expand_shift.
5671
4b9580a5
R
5672Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com>
5673
5674 * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
5675 (fp_extended_operand, emit_fpscr_use): Likewise.
5676 * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
5677 (fpul_operand): New function.
5678 * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
5679 fp_extended_operand. Add fpul_operand.
5680 * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
5681 (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
5682 (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
5683 (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
5684 (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
5685 (divdf3_i): Likewise.
5686 (floatsisf2): Likewise. Use fpul_operand for 'y' operand.
5687 (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
5688 (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
5689 (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
5690 (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
5691
332316cd
BS
56922000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
5693
a8a05998 5694 * config/i386/i386.c (ix86_init_builtins): Correct return type
332316cd
BS
5695 building v4hi_ftype_v4hi_int_int tree node.
5696 (ix86_expand_builtin): Use correct operand numbers 0 and 1.
5697 Copy operand 0 into a Pmode register, don't generate a MEM rtx.
5698
5699 * config/i386/i386.md (sse_movntdi): Use mmx register constraint
5700 for operand 1.
5701 (mmx__uavgv8qi3): Correct insn mnemonic.
5702 (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2.
5703 (mmx_punpckhwd): Correct insn mnemonic.
5704 (mmx_punpckhdq): Likewise.
5705 (mmx_punpcklwd): Likewise.
5706 (mmx_punpckldq): Likewise.
5707 (prefetch): Use immediare_operand and 'n' constraint for operand 1.
5708 Renumber case labels to match the _mm_prefetch constants defined in
5709 xmmintrin.h.
5710
1d766db0
BS
5711 * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
5712 if the splitter didn't emit new insns.
5713 Make sure we call cleanup_subreg_operands even when splitting the last
5714 insn in a basic block.
5715
8bb16620
BS
5716 * invoke.texi (Debugging Options): Describe -do.
5717 * toplev.c (enum_dump_file_index): New entry DFI_postreload.
5718 (dump_file): Likewise.
5719 (rest_of_compilation): Split .greg dump into .greg and .postreload.
5720
a5c3cccd
NB
57212000-10-30 Neil Booth <neilb@earthling.net>
5722
5723 * cppfiles.c (stack_include_file): Check for stacked contexts
5724 here.
5725 * cpphash.h (_cpp_do__Pragma): New prototype.
5726 * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
5727
5728 * cpplex.c (skip_escaped_newlines): Only process trigraphs and
5729 escaped newlines if !(buffer->from_stage3).
5730 (_cpp_lex_token): Warn about missing newlines iff
5731 !buffer->from_stage3.
5732
5733 * cpplib.c (get__Pragma_string, destringize,
5734 _cpp_do__Pragma): New functions.
5735 (run_directive): Set output_line for _Pragma to avoid line
5736 markers in output. Set from_stage3 and prevent macro expansion
5737 for _Pragma and command-line options. Check buffer exhaustion.
5738 (cpp_push_buffer): Don't check for stacked macro contexts, as
5739 this is perfectly legitimate for _Pragma. Move the check to
5740 stack_include_file instead. Set from_stage3 iff buffer is
5741 preprocessed input.
5742
5743 * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
5744 unsigned. New boolean from_stage3.
5745 (struct spec_nodes): Add n__Pragma.
5746
5747 * cppmacro.c (enter_macro_context): Flip sense of return value.
5748 (_cpp_get_token): Handle _Pragma operator.
5749
dbdaea41
PE
57502000-10-30 Phil Edwards <pme@sources.redhat.com>
5751
5752 * gcc.texi: The C++ standard isn't "draft" anymore.
5753
8a47978d
MM
57542000-10-30 Mark Mitchell <mark@codesourcery.com>
5755
5756 * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
5757
1641a823
NB
57582000-10-29 Neil Booth <neilb@earthling.net>
5759
5760 * cpplib.c (skip_rest_of_line): Use _cpp_get_token.
5761
8c7b74b9
JM
57622000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5763
526aba28
JM
5764 * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
5765 fixinc/inclhack.def: Change comments mentioning C9X to refer to
5766 C99 instead.
5767
8c7b74b9
JM
5768 * invoke.texi: Document that -V will only work for very similar
5769 versions of driver and compiler.
5770
44ed91a1
NB
57712000-10-29 Neil Booth <neilb@earthling.net>
5772
5773 * cppmacro.c (_cpp_create_definition): Optimize the case of
a8a05998 5774 a macro defined to itself.
44ed91a1 5775
3542203b
NB
57762000-10-29 Neil Booth <neilb@earthling.net>
5777
5778 * cpplex.c (save_comment): Don't store new lines in C++ comments.
5779
6f268adf
MH
57802000-10-29 Michael Hayes <mhayes@redhat.com>
5781
5782 * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
5783
926c5678
GK
57842000-10-28 Geoffrey Keating <geoffk@cygnus.com>
5785
5786 * cpphash.c (cpp_forall_identifiers): Add context variable
5787 for callback routine.
5788 * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
5789 change.
5790 (main): Call cpp_forall_identifiers with null context.
5791 * cpplib.h (cpp_forall_identifiers): Update prototype.
5792
5793 * cppmain.c: Make `parse_in' and `print' static.
5794
69f4cc4b
AM
57952000-10-28 Alan Modra <alan@linuxcare.com.au>
5796
5797 * c-decl.c (finish_function): Clear c_function_name_declared_p.
5798
ce73761f
RH
57992000-10-28 Richard Henderson <rth@redhat.com>
5800
5801 * regrename.c (scan_rtx_address): Frob action, not class,
5802 when trying to disable optimization.
5803
2c21b247
MM
58042000-10-28 Mark Mitchell <mark@codesourcery.com>
5805
5806 * c-semantics.c (make_rtl_for_local_static): Don't clobber
5807 DECL_ASSEMBLER_NAME.
5808
8763704d
JM
58092000-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5810
5811 * configure.in: Determine and substitute gcc_version_full.
5812 * configure: Regenerate.
5813 * gccbug.in: Use it to give full version. Don't allow
5814 confidential PRs.
5815
85941a0a
RH
58162000-10-28 Richard Henderson <rth@redhat.com>
5817
5818 * recog.c (split_all_insns): Run cleanup_subreg_operands
5819 after reload.
5820
5821 * regrename.c (regrename_optimize): Verify that all registers of
5822 a multiple register mode are available.
5823 (scan_rtx_address): Accept the mode of the address; all callers
5824 changed.
5825
5826 * cpplib.c (run_directive): Fix prototype.
5827
69add2a8
BS
58282000-10-28 Bernd Schmidt <bernds@redhat.co.uk>
5829
5830 * reload.c (find_reloads): Distinguish "wins" so that we know whether
5831 a given operand won because of a matching constraint or not; then use
5832 that information to compute goal_alternative_matched properly.
4c3a2649
BS
5833 * reload1.c (choose_reload_regs): Never set reload_override_in for an
5834 optional reload.
69add2a8 5835
005f39ce
BS
5836 * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
5837 accurate value for MULT.
55d8cb78
BS
5838 * config/ia64/ia64.c (ia64_print_operand): Require probability to be
5839 2% or > 98% before using static branch prediction bits.
005f39ce 5840
93c80368
NB
58412000-10-28 Neil Booth <neilb@earthling.net>
5842
5843 New macro expander.
a8a05998 5844
93c80368
NB
5845 * cpplib.c (struct answer): New.
5846 (struct if_stack): Use cpp_lexer_pos rather than line and col.
5847 Rename cmacro mi_cmacro.
5848 (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
5849 IN_I): New directive and flags.
5850 (skip_rest_of_line, check_eol, run_directive, glue_header_name,
5851 parse_answer, parse_assertion, find_answer): New functions.
5852 (parse_ifdef, detect_if_not_defined, validate_else): Remove.
5853 (lex_macro_node): New function to replace parse_ifdef and
5854 get_define_node.
5855
5856 (_cpp_handle_directive): New function, combines _cpp_check_directive
5857 and _cpp_check_linemarker.
5858
5859 (do_define, do_undef, parse_include, do_include, do_import,
5860 do_include_next, read_line_number, do_line, do_ident, do_pragma,
5861 do_pragma_once, do_pragma_poison, do_pragma_dependency):
5862 Update for new token getting interface.
5863
5864 (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
5865 : Update for new multiple-include optimisation technique.
5866 (do_elif): Don't forget to invalidate controlling macros.
5867
5868 (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
5869 (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
5870 Functions to handle assertions with the new token interface.
5871 (do_assert, do_unassert): Use them.
5872
5873 (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
5874 Use run_directive.
5875
5876 (_cpp_init_stacks): Register directive names. Don't register special
5877 nodes.
5878
5879 * cpperror.c (print_containing_files, _cpp_begin_message): Update to
5880 new position recording regime.
5881 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
5882 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5883 cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
5884 (cpp_type2name): Move to cpplex.c.
5885
5886 * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
5887 (parse_defined): Update to handle new multiple include optimisation
5888 method. Remove poisoned identifier warning.
5889 (parse_assertion, TYPE_NAME): Delete.
5890 (lex): Update for multiple include optimisation, removal of
5891 CPP_DEFINED, to use _cpp_test_assertion for assertions and
5892 cpp_token_as_text.
5893 (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
5894 (op_as_text): New function, to wrap cpp_token_as_text.
5895
5896 * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
5897 Update for MI optimisation.
5898 (_cpp_execute_include): Take a token rather than 3 arguments. Fix
5899 segfault on diagnostic.
5900 (_cpp_compare_file_date): Take a token rather than 3 args.
5901 (cpp_read_file): Work correctly for zero-length files.
5902
5903 * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
5904 _cpp_init_hashtable and _cpp_cleanup_hashtable.
5905 (cpp_lookup): Place identifiers at front of identifier pool
5906 for _cpp_lookup_with_hash.
5907 (_cpp_lookup_with_hash): Require identifiers to be at the front of
5908 the identifier pool. Commit the memory if not already in the
5909 hash table.
5910
5911 * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
5912 Initialise various members of cpp_reader, memory pools, and the
5913 special nodes.
5914 (cpp_printer_init): Delete.
5915 (cpp_cleanup): Update.
5916 (struct builtin, builtin_array, initialize_builtins): Update for new
5917 hashnode definition and builtin handling.
5918 (cpp_start_read, cpp_finish): Don't take or initialise a
5919 printer. Update.
5920
5921 * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
5922 PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
5923 T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
5924 T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
5925 (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
5926 struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
5927 NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
5928 struct toklist, struct cpp_context, struct specnodes,
5929 TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
5930 NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
5931 enum builtin_type, cpp_can_paste): New.
5932 (struct cpp_token): Delete line and col members.
5933 (struct cpp_buffer): New member output_lineno.
5934 (struct lexer_state): Delete indented, in_lex_line, seen_dot.
5935 Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
5936 (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
5937 ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
5938 base_context, context, directive, mi_state, mi_if_not_defined,
5939 mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
5940 mlstring_pos, macro_buffer, macro_buffer_len.
5941 Delete members mls_line, mls_column, token_list, potential_control_macro,
5942 temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
5943 context_cap, cur_context, no_expand_level, paste_level, contexts, args,
5944 save_parameter_spellings, need_newline, .
5945 Change type of date, time and spec_nodes members.
5946 Change prototypes for include and ident callbacks.
5947 (struct cpp_hashnode): Change type of name. Remove union members
5948 expansion and code. Add members macro, operator and builtin.
5949
5950 (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
5951 cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
5952 cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
5953 cpp_stop_lookahead): New prototypes.
5954 (cpp_printer_init, cpp_dump_definition): Delete prototypes.
5955
5956 (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
5957 Move from cpphash.h.
5958
5959 * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
5960 ufputs): Move to cpplib.h.
5961 (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
5962 TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
5963 COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
5964 struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
5965 _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
5966 _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
5967 _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
5968 _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
5969 _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
5970 _cpp_parse_assertion, _cpp_find_answer): Delete.
5971 (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
5972 POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
5973 _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
5974 _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
5975 _cpp_handle_directive, DSC): New.
5976 (struct include_file): New member defined.
5977
5978 (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
5979 _cpp_compare_file_date): Update.
5980 (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
5981 (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
5982 _cpp_cleanup_hashtable.
5983
5984 * Makefile.in: Remove cppoutput.c.
a8a05998 5985
93c80368
NB
5986 * cppoutput.c: Delete
5987
5988 * fixheader.c (read_scan_file): Update for new cpp_get_token
5989 prototype.
5990 (recognized_function): New argument LINE.
5991
5992 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
5993 new cpp_get_token prototype.
5994
5995 * scan.h (recognized_function): Update prototype.
5996
5997 * po/POTFILES.in: Remove cppoutput.c.
a8a05998 5998
229a2e65
MM
59992000-10-27 Mark Mitchell <mark@codesourcery.com>
6000
6001 * c-typeck.c (check_init_type_bitfields): Remove.
6002 (constructor_incremental): Likewise.
6003 (struct constructor_stack): Remove incremental bit.
6004 (struct initializer_stack): Likewise.
6005 (start_init): Don't play with constructor_incremental.
6006 (finish_init): Likewise.
6007 (really_start_incremental_init): Likewise.
6008 (push_init_level): Likewise.
6009 (pop_init_level): Likewise.
6010 (output_init_level): Likewise.
6011 (output_pending_init_elements): Likewise.
6012
63eb1269
MC
60132000-10-21 Mike Coleman <mcoleman2@kc.rr.com>
6014
6015 * c-pragma.c (handle_pragma_pack): Initialize align to -1.
a8a05998 6016 Improve error messages. Correct parsing of
63eb1269
MC
6017 #pragma pack(pop [,id]). Do not check the user-supplied
6018 alignment if we're popping.
6019
6020 * gcc.dg/pack-test-1.c: New test case.
6021 * gcc.dg/pack-test-2.c: New test case.
6022 * gcc.dg/pack-test-1.h: New file.
6023
ae2eceaa
NB
60242000-10-27 Neil Booth <neilb@earthling.net>
6025
6026 * cpp.texi: Update.
6027
04e149ab
KC
60282000-10-27 Kelley Cook <kelley.cook@home.com>
6029
6030 * invoke.texi: Document -mintel-syntax
6031
2b2a8f1f
RH
60322000-10-27 Richard Henderson <rth@redhat.com>
6033
6034 * invoke.texi: Document -frename-registers. Add it to -O3.
6035 * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
6036 (enum dump_file_index, dump_file): Update order.
6037 (main): Set flag_rename_registers at -O3.
6038
10c9f189
RH
60392000-10-27 Richard Henderson <rth@redhat.com>
6040
93c89ab3
RH
6041 * config/alpha/alpha.h (enum reg_class): Add PV_REG.
6042 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
6043 (REG_CLASS_FROM_LETTER): Assign it to 'c'.
6044 * config/alpha/alpha.md (call_osf_1): Use it.
6045 (call_value_osf_1): Likewise.
6046
10c9f189
RH
6047 * config/ia64/ia64.c: Revert 10-23 patch.
6048 (ia64_hard_regno_rename_ok): New.
6049 * config/ia64/ia64-protos.h: Declare it.
6050 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
6051
541f7d56
BS
60522000-10-27 Bernd Schmidt <bernds@redhat.co.uk>
6053 Richard Henderson <rth@redhat.com>
6054
a8a05998
ZW
6055 * regrename.c: Rewrite to handle multi-register modes and
6056 cond_exec instructions.
6057 * Makefile.in (regrename.o): Update dependancies.
6058 * recog.h (struct operand_alternative): Add is_address.
6059 * recog.c (preprocess_constraints) [case 'p']: Set it.
541f7d56 6060
b8dad04b
ZW
60612000-10-27 Zack Weinberg <zack@wolery.stanford.edu>
6062
6063 * configure.in: If not NO_MINUS_C_MINUS_O, substitute
6064 OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
6065 top level. Kill oldstyle_subdirs. Do not include
6066 $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
6067 $outputs. Do not run configure.lang from config.status.
6068 Rearrange warning-flag logic to correspond to what the
6069 makefile wants. Put special vax stage1 options in
6070 @stage1_flags@ not @stage1_warn_cflags@. Don't do anything
6071 with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
6072 (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
6073 switch is given, nothing otherwise.
6074 * configure.lang: Delete.
6075
a8a05998
ZW
6076 * Makefile.in: Expunge all traces of extra_c_objs,
6077 extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
6078 @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
6079 warning options via a three level scheme so that -pedantic and
6080 -Wtraditional are not used for non-C front ends: LOOSE_WARN,
6081 STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
6082 WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
b8dad04b
ZW
6083 Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
6084 Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
a8a05998
ZW
6085 LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
6086 generation rules. Wrap all rules that change the current
6087 directory in parentheses; pmake doesn't spawn a new shell for
6088 each command. Expunge all references to $(P). When one
6089 command depends on another and they're run all at once, use &&
6090 to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
6091 deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
6092 and beyond.
b8dad04b
ZW
6093
6094 * objc/Make-lang.in: Wrap all rules that change the current
6095 directory in parentheses. Expunge all references to $(P).
6096 When one command depends on another and they're run all at
6097 once, use && to separate them, not ;. Add OUTPUT_OPTION to
6098 all object-file generation rules. Delete obsolete variables.
6099 * objc/Makefile.in: Delete.
6100
fadb729c
JJ
61012000-10-27 Jakub Jelinek <jakub@redhat.com>
6102
6103 * calls.c (expand_call): If sibcall_failure is set during pass 1,
6104 clear tail_call_insns as well.
6105
254bb256
NC
61062000-10-27 Nick Clifton <nickc@redhat.com>
6107
6108 * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
6109 prototype.
6110
8eb99146
RH
61112000-10-26 Richard Henderson <rth@redhat.com>
6112
b8dad04b 6113 * calls.c (expand_call): Supress sibcall if we have a
8eb99146
RH
6114 BLKmode return in registers.
6115
036099eb
BS
61162000-10-26 Bernd Schmidt <bernds@redhat.co.uk>
6117
6118 * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
6119 into memory.
6120
13c6f0d5
NS
61212000-10-26 Nathan Sidwell <nathan@codesourcery.com>
6122
6123 * tree.c (make_node, case 't'): Set alignment to that of
6124 char_type_node.
6125 * expr.c (move_by_pieces_ninsns): Abort if some length remains.
6126
be5aeb60
MM
61272000-10-25 Mark Mitchell <mark@codesourcery.com>
6128
6129 * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
6130 * configure.in (enable-libstdcxx-v3): Arrange to have
6131 HAVE_LIBSTDCXX_V3 substituted into the output files.
6132
78192b09
RH
61332000-10-25 Richard Henderson <rth@redhat.com>
6134
4667f705
RH
6135 * recog.c (constrain_operands): Initialize which_alternative
6136 before no alternatives early exit.
6137
78192b09
RH
6138 * cse.c (find_comparison_args): Check that we can reverse a
6139 comparison if needed before accepting the substitution.
6140
081b49f1
RH
6141 * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
6142
d4f1c1fa
RH
6143 * simplify-rtx.c (simplify_relational_operation): Sign extend
6144 low words before sign extending to high words.
6145
bc27e96c
NC
61462000-10-25 Nick Clifton <nickc@redhat.com>
6147
6148 * config/mcore/mcore.c: Include config.h before system.h.
6149
61502000-10-25 Ray Essick <essick@ddna.labs.mot.com>
6151
6152 * config/mcore/mcore.md (return): Force function epilogue to
6153 always be generated to work around epilogue suppression bug in
6154 M*Core backend.
6155
e0c9fbb7
JM
61562000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
6157
6158 * c-decl.c (grokdeclarator): Move warning for qualified void
6159 return types with -pedantic to when the function type is
6160 constructed. At -W, warn in general for qualified function return
6161 types, except for volatile void.
6162 * invoke.texi: Document this new warning at -W.
6163
138e79e7
NB
61642000-10-25 Neil Booth <neilb@earthling.net>
6165
b8dad04b
ZW
6166 * cpp.texi: Update with implementation-defined behavior and
6167 internal limits.
138e79e7 6168
dc5041ab
JJ
61692000-10-25 Jakub Jelinek <jakub@redhat.com>
6170
6171 * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
6172 incomplete type force it into alias set 0.
6173
e004f2f7
JW
6174Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com)
6175
6176 * alias.c: Include basic-block.h.
6177 (loop_p): New function.
6178 (mark_constant_function): Use it.
6179 * Makefile.in (alias.o): Update dependencies.
6180
15c09738
AH
61812000-10-24 Aldy Hernandez <aldyh@redhat.com>
6182
6183 * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
6184 like memory.
b8dad04b 6185
a8ca7756
JW
61862000-10-24 Jim Wilson <wilson@cygnus.com>
6187
6188 * expmed.c (store_bit_field): Move integer pun code down after
6189 code that calls emit_move_insn for entire register move.
6190 * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
6191 Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE.
b8dad04b 6192
c0fc376b
RH
61932000-10-24 Richard Henderson <rth@cygnus.com>
6194
6195 * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
6196 register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
6197
d7836e38
AH
61982000-10-24 Aldy Hernandez <aldyh@redhat.com>
6199
b8dad04b
ZW
6200 * gcse.c (cprop_insn): do not propagate constants into jump_insn
6201 for machines with CC0 more than once.
d7836e38 6202
5e2c51ba
RH
62032000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
6204
b8dad04b
ZW
6205 * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
6206 pseudos just like memory.
5e2c51ba 6207
c71e1201
AO
62082000-10-24 Alexandre Oliva <aoliva@redhat.com>
6209
6210 * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
6211 when deleting libcall sequence collapsed to a single instruction.
6212
5129d2ce
AH
62132000-10-24 Andrew Haley <aph@cygnus.co.uk>
6214
6215 * expr.c (do_store_flag): Don't crash if either side of a
6216 comparison is error_mark_node.
6217
f85b5d65
JJ
62182000-10-24 Jakub Jelinek <jakub@redhat.com>
6219
6220 * sibcall.c (purge_mem_unchanging_flag): New function.
6221 (optimize_sibling_and_tail_recursive_calls): Call it.
6222
4adee315
PT
62232000-10-24 Philipp Thomas <pthomas@suse.de>
6224
6225 * Makefile.in (check-po): New target for doing checks in the po
6226 subdir if all languages configured.
6227 (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
6228 configure if NLS is enabled.
6229 * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
6230 otherwise leave empty.
6231 * configure: Regenerate.
6232
fb204271
DN
62332000-10-23 Diego Novillo <dnovillo@cygnus.com>
6234
6235 * i386.c (print_operand): Handle new 'A' formatting code.
6236 387 opcodes need suffixes even with -mintel-syntax.
6237 Check for explicit size override (codes 'b', 'w' and 'k').
6238 (print_operand_address): Check if register prefix is needed when
6239 emitting `ds' segment override.
6240 * i386.h: Add comment about new 'A' formatting code.
6241 * i386.md (jump and call patterns): Emit absolute references using %A.
6242
8a959ea5
RH
62432000-10-23 Richard Henderson <rth@cygnus.com>
6244
b8dad04b 6245 * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
8a959ea5
RH
6246 output registers as fixed.
6247 (ia64_function_epilogue): Undo output fixation.
6248
964686de
RH
62492000-10-23 Richard Henderson <rth@cygnus.com>
6250
6251 * config/alpha/alpha.md: Add names for all unnamed insns; use
6252 define_insn_and_split in some obvious places.
6253 (lda): Remove.
6254 (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
6255 (zero_extendqisi2, zero_extendqidi2): Likewise.
6256 (zero_extendhisi2, zero_extendhidi2): Likewise.
6257 (abs splitters): Fix match_scratch operand number.
6258 (bcc_reverse): Swap pc & label instead of non-canonical compare.
6259
18a3c539
JW
62602000-10-23 Jim Wilson <wilson@cygnus.com>
6261
6262 * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle
6263 CONST_INT.
6264 * ia64.md (cmpsi_adjusted): Use %r3.
6265 (cmpdi_adjusted): Likewise.
6266
57dd137f
DN
62672000-10-23 Diego Novillo <dnovillo@cygnus.com>
6268
6269 * config/i386/att.h (ASM_FILE_START): Define.
6270
d984704d
DN
62712000-10-23 Diego Novillo <dnovillo@cygnus.com>
6272
6273 * config/i386/linux.h (ASM_FILE_START): Define.
6274
261f21e7
DL
6275Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com>
6276
6277 * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
6278 since this (only) drags in a crt0.o reference that the .ld files
6279 also introduce.
6280
96af667a
GK
62812000-10-23 Geoff Keating <geoffk@cygnus.com>
6282
2af88768
GK
6283 * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
6284 overwrite the value in a RELOAD_FOR_INPUT and other kinds of
6285 reloads just like an RELOAD_FOR_OUTPUT would.
6286
96af667a
GK
6287 * local-alloc.c (update_equiv_regs): Add an abort(). When
6288 deleting or moving insns, update reg_equiv[regno].init_insns.
6289
d252a515
MM
62902000-10-23 Mark Mitchell <mark@codesourcery.com>
6291
6292 * c-tree.texi: Improve documentation for IF_STMTs and related
6293 conditional statements.
6294
f9808f81
MM
62952000-10-22 Mark Mitchell <mark@codesourcery.com>
6296
6297 * expr.c (do_preexpand_calls): Remove.
6298 (same_from_p): Don't use CALL_EXPR_RTL.
6299 (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
6300 (preexpand_calls): Remove.
6301 * tree.c (first_rtl_op): Remove CALL_EXPR case.
6302 (unsave_expr_1): Likewise.
6303 * tree.def (CALL_EXPR): Give it only two slots.
6304 * tree.h (CALL_EXPR_RTL): Remove.
6305
ae4bd622
CC
63062000-10-21 Chandrakala Chavva <cchavva@redhat.com>
6307
6308 * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3,
b8dad04b
ZW
6309 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6310 New functions.
ae4bd622 6311
3e555c7d
AO
63122000-10-22 Alexandre Oliva <aoliva@redhat.com>
6313
6314 * calls.c (combine_pending_stack_adjustment_and_call): Don't
6315 adjust stack when unadjusted_alignment ends up as zero.
6316
99bdaa68
JM
63172000-10-22 Joseph S. Myers <jsm28@cam.ac.uk>
6318
6319 * fixinc/genfixes: Remove EGCS reference.
6320 * install.texi: Remove EGCS reference.
6321 * INSTALL: Regenerate.
6322
e36308b0
MM
63232000-10-22 Mark Mitchell <mark@codesourcery.com>
6324
6325 * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
6326
bf6eb15f
JM
63272000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
6328
6329 * diagnostic.c: Remove EGCS reference in comment.
6330
e62ff0c3
RK
6331Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6332
6333 * loop.c (strength_reduce): Fix error in last change.
6334
0ad7574f
DE
63352000-10-20 David Edelsohn <edelsohn@gnu.org>
6336
6337 * Makefile.in (SHLIB_NM_FLAGS): New.
6338 (libgcc.mk): Pass it.
6339 * mklibgcc.in (libgcc.map): Use it.
6340
6341 * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
6342 SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
6343
8f54374e
KG
63442000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6345
6346 * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
6347
6348 * sparc.c (load_pic_register): Delete unused varaible.
6349
6350 * libgcc2.c (__addvsi3): Delete unused variable.
6351
6352 * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
6353 __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
6354 __negvdi2): Prototype.
6355
6356 * ssa.c (apply_delayed_renames): Avoid undefined operation.
6357
6358 * toplev.c (display_target_options): Make static to match
6359 prototype. Delete empty declaration.
6360
3f568531
TT
63612000-10-20 Tom Tromey <tromey@cygnus.com>
6362
6363 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6364 * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
6365
235783d1
RK
6366Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6367
6368 * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
6369 returned MEM.
6370 (expand_expr_unaligned, case ARRAY_REF): Check that index is
6371 a constant before comparing it; use tree_low_cst.
6372 * tree.c (save_expr): Set TREE_READONLY.
6373 (substitute_expr): Return inside of NON_LVALUE_EXPR.
6374 (build, build1): Set TREE_READONLY if all operands are.
6375 (build_index_type): If upper bound is a negative number, lower
6376 bound is zero and sizetype is unsigned, use upper bound of one and
6377 lower of zero.
6378
2e44948d
DE
63792000-10-20 David Edelsohn <edelsohn@gnu.org>
6380
6381 * gcc.c (process_command, main): Use "because" instead of
6382 "since" in error messages.
6383
44475138
RK
6384Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6385
382110c0
RK
6386 * stor-layout.c (compute_record_mode): Use tree_low_cst.
6387 Don't use mode of field for record unless sizes are the same.
6388 (layout_type, case ARRAY_TYPE): Remove special bounds handling
6389 previously added for Ada; also change to using host_integerp
6390 and tree_low_cst.
6391
1dcdb0df
RK
6392 * loop.c (strength_reduce): Show when new register made for
6393 giv is known to be a pointer and its aligment if so and known.
6394 (loop_dump_aux): Show VERBOSE parameter unused.
6395
ebb13e7e
RK
6396 * gcse.c (set_hash_table_size): Now unsigned.
6397 * sdbout.c (template_name_p): Add "const" to avoid warnings.
6398 (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
6399 (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
6400 (sdbout_end_epilogue): Remove variable NAME.
6401 * system.h (getopt): Add default definition.
6402 * config/alpha/alpha.c (print_operand): Don't continue processing
6403 after issuing error.
6404 (summarize_insn): Avoid use of UL in constant.
6405
1468899d
RK
6406 * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
6407
44475138
RK
6408 * fold-const.c (force_fit_type): Unsigned values can overflow
6409 if they are sizetype.
6410 (int_const_binop): Don't use cache if overflows.
391db8c9 6411
23ccfa6d
RH
64122000-10-20 Richard Henderson <rth@cygnus.com>
6413
6414 * function.c (locate_and_pad_parm): Zero alignment_pad.
6415
4ca0f257
RH
6416 * regrename.c (rr_replace_reg): Rewrite to use recog_data to
6417 perform substitutions, and apply_change_group to see if it worked.
6418
0345195a
RK
6419Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6420
d57e164f
RK
6421 * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
6422
0345195a
RK
6423 * combine.c (struct undo): Change int to unsigned int.
6424 (do_SUBST_INT): Args are unsigned int.
6425 (make_extraction, force_to_mode): Use proper type when forming mask.
6426 (make_field_assignment): Likewise.
6427
2f74f7e9
JM
64282000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
6429
6430 * c-common.c (check_format_info_recurse): Extract string constant
6431 initializers from non-volatile constant arrays and check them as
6432 formats.
6433 * c-typeck.c (decl_constant_value): Don't check pedantic or check
6434 for DECL_MODE (decl) != BLKmode.
6435 (decl_constant_value_for_broken_optimization): New function which
6436 includes these checks.
6437 (default_conversion, convert_for_assignment, digest_init): Use
6438 decl_constant_value_for_broken_optimization instead of
6439 decl_constant_value.
6440
971774bb
MM
64412000-10-20 Mark Mitchell <mark@codesourcery.com>
6442
6443 * tree.h (DECL_ALIGN_UNIT): New macro.
6444
afee2a52
MM
64452000-10-14 Marek Michalkiewicz <marekm@linux.org.pl>
6446
6447 * config/avr/avr-protos.h (avr_output_bld): New.
6448 (out_shift_with_cnt): Add t_len argument.
6449 * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
6450 (output_movqi, output_movhi, output_movsisf): Optimize loading
6451 any constant with exactly one bit set to NO_LD_REGS.
6452 (out_shift_with_cnt): Optimize output code for size or speed,
6453 depending on optimize_size. Handle small shift counts as well
6454 (if not hand-optimized in ?sh??i3_out). Shifts can be done
6455 with or without a scratch register, with help of __tmp_reg__
6456 or __zero_reg__ if necessary. Add T_LEN argument to pass the
6457 length of TEMPLATE in words, return total insn length in *LEN.
6458 (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
6459 out_shift_with_cnt to work with the above change.
6460 (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
6461 lshrsi3_out): Likewise. Optimize more known shift count cases.
6462 Remove cases already well optimized in out_shift_with_cnt.
6463 (avr_output_bld): New function.
6464 * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
6465 (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
6466 * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
6467 Add reload_completed to insn condition - only for peepholes.
6468 (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
6469 in a register or memory.
6470 (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
6471 Do not require a scratch register.
6472 (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
6473 *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
6474 Optimize shifts by known count using a scratch register, but only
6475 if one is still available after register allocation.
6476
831f9339 64772000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
b8dad04b 6478
831f9339
DA
6479 * t-vax: New file. Don't build modules from libgcc1.c.
6480
bf6d9fd7
JW
6481Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com)
6482
6483 * alias.c: (mark_constant_function): Don't check pure functions.
6484 Initialize and end alias analysis.
6485 (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
6486 Don't make a special exception for recursion. Handle
6487 UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local
6488 unless it's volatile.
6489
6490 * local-alloc.c (equivalence): New structure.
6491 (reg_equiv): Define.
6492 (contains_replace_regs): Remove array and use
6493 field in reg_equiv.
6494 (memref_referenced_p): Likewise.
6495 (no_equiv): Likewise.
6496 (update_equiv_regs): Likewise.
6497
6498 (equiv_init_varies_p,
6499 equiv_init_movable_p): New functions.
6500 (update_equiv_regs): Use them. Use rtx_varies_p
6501 instead of function_invariant_p. Process insns
6502 from end to beginning. Allow a REG_EQUIV insn
6503 within the same loop as a use to be moved, also
6504 allow it to be moved out of a loop. Update
6505 REG_DEAD notes when substituting into an insn.
6506
ef375129
JW
65072000-10-19 Jim Wilson <wilson@cygnus.com>
6508
f4fce7ed
JW
6509 * c-decl.c (start_decl): Check for error_mark_node type before using
6510 COMPLETE_TYPE_P.
6511 (finish_decl): Likewise. Don't give an error if decl type is
6512 already error_mark_node.
6513
ef375129
JW
6514 * haifa-sched.c (compute_trg_info): Add explanatory comments.
6515 New local update_blocks. Use update_blocks to remove duplicates
6516 when computing update blocks. Check for bblst_table overflow.
6517 (schedule_block): Add explanatory comment. Reduce bblst_size by
6518 factor of 2.
6519 * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
6520 notes.
b8dad04b 6521
3cf37281
CC
65222000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6523
6524 * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
6525
e6b4d09d
CC
65262000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6527
6528 * expmed.c: Minor corrections in comments.
6529 * invoke.texi: Added desciption for the new option -ftrapv.
6530
3d2adde6
CC
65312000-10-19 Chandrakala Chavva <cchavva@redhat.com>
6532
6533 * libgcc2.c: Added the missing #endif.
6534
1aa9fd24
JH
6535Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
6536
6537 * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
6538
91ce572a
CC
65392000-10-18 Chandrakala Chavva <cchavva@redhat.com>
6540
b8dad04b
ZW
6541 * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
6542 Use smulv_optab for -ftrapv.
6543 (expand_mult_highpart): Use unsigned multiply.
6544 (expand_divmod): Special-case division by -1.
6545 For EXACT_DIV_EXPR, do right shift first, then the multiply.
6546 For complex divide, use abs with unsigned result.
6547 * expr.c (force_operand): Use unsigned multiply.
6548 (expand_expr): Use overflow-trapping optabs for signed types if
6549 flag_trapv.
6550 If flag_trapv, don't generate a recursive call with EXPAND_SUM
6551 if the type is signed and the original call wasn't EXPAND_SUM or
6552 EXPAND_INITIALIZER.
6553 * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
6554 (negv_optab, absv_optab): Declare.
6555 * flags.h (flag_trapv): Declare.
6556 * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
6557 smulv_optab, sdivv_optab, negv_optab and absv_optab.
91ce572a 6558 (gen_insn): Interpret '$P' as requiring an integer mode,
b8dad04b
ZW
6559 including partial integer modes.
6560 * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
6561 (product_cheap_p): Use unsigned expand_mult.
6562 * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
6563 (negv_optab, absv_optab): Define.
6564 (expand_binop): Use overflow-trapping optabs for signed types if
6565 flag_trapv.
6566 Handle negv_optab libe neg_optab.
6567 (expand_abs): Take result_unsignedp argument instead of unsignedp one.
6568 Use overflow-trapping optabs for signed result if flag_trapv.
6569 (expand_complex_abs): Use overflow-trapping optabs for signed types if
6570 flag_trapv.
6571 Don't open-code complex absolute-value operation for flag_trapv.
6572 (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
6573 sdivv_optab, negv_optab and absv_optab.
6574 * toplev.c (flag_trapv): Define.
6575 (lang_independent_options f_options): Include flag_trapv.
6576 * tree.h (TYPE_TRAP_SIGNED): Define.
6577 * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
6578 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
6579 New functions.
6580 * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
6581 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
91ce572a 6582
4c2c5712
GK
65832000-10-18 Geoffrey Keating <geoffk@cygnus.com>
6584 David V. Henkel-Wallace <gumby@cygnus.com>
6585
6586 * config/i386/t-netware: Bring in from the Red Hat tree.
6587 * config/i386/netware.h: Likewise.
6588 * config/netware.h: Likewise.
6589 * config/rs6000/netware.h: Delete.
6590 * configure.in: Add i[34567]86-*-netware.
6591 * configure: Hand-edit to match configure.in change.
6592
6bcedb4e
MM
65932000-10-18 Mark Mitchell <mark@codesourcery.com>
6594
6595 * c-common.h (flag_no_builtin): Declare.
6596 (flag_no_nonansi_builtin): Likewise.
6597 (c_common_nodes_and_builtins): Change prototype.
6598 * c-common.c (flag_no_builtin): New variable.
6599 (flag_no_nonansi_builtin): Likewise.
6600 (c_common_nodes_and_builtins): Remove parameters. Adjust
6601 accordingly.
6602 * c-decl.c (flag_no_builtin): Remove.
6603 (flag_no_nonansi_builtin): Likewise.
6604 (init_decl_processing): Adjust call to
6605 c_common_nodes_and_builtins.
b8dad04b 6606
989b26a7
ME
66072000-10-18 Marc Espie <espie@openbsd.org>
6608
6609 * tm.texi (LIBGCC_SPEC): Synch with reality.
6610
81cf47b2
JM
66112000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6612
6613 * c-common.c (check_format_types): Check for writing through a
6614 NULL pointer argument.
6615
27c35f4b
HPN
66162000-10-18 Hans-Peter Nilsson <hp@axis.com>
6617
6618 * tm.texi (Exception Region Output): Document
6619 DWARF_CIE_DATA_ALIGNMENT.
6620 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
6621 #ifndef.
6622 [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
6623 DWARF_CIE_DATA_ALIGNMENT.
6624
4a7da9b5
MH
66252000-10-18 Michael Hayes <mhayes@cygnus.com>
6626
6627 * basic-block.h (struct loop): Delete fields pre_header_root
6628 and pre_header_trace and replace with pre_header_edges
6629 and num_pre_header_edges.
6630 * flow.c (flow_loop_dump): Dump pre_header_edges.
6631 (flow_loops_free): Free pre_header_edges.
6632 (flow_loop_pre_header_scan): Calculate pre_header_edges.
6633
42c10750
GP
66342000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6635
6636 * contrib.texi: Update references to steering committee members
6637 and Jeff Law's entry.
6638
ade7d3cc
JM
66392000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6640
6641 * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
6642 (maybe_read_dollar_number, check_format_info_main): Use them for
6643 pedantic warning messages.
6644
c5251260
JM
66452000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6646
6647 * c-common.c (check_format_info_main): Minor cleanup: move
6648 variables into inner scopes; initialize declarations where
6649 appropriate; don't hardcode "scanf" name on warning for zero
6650 width.
6651
67673f5c
MM
66522000-10-17 Mark Mitchell <mark@codesourcery.com>
6653
6654 * c-common.c (back_end_hook): New variable.
6655 * c-common.h (back_end_hook): Declare it.
6656 * c-lang.c (finish_file): Use it.
6657
6658 * emit-rtl.c (init_emit_once): Initialize the const_int_htab
6659 earlier.
b8dad04b 6660
1aa9fd24 66612000-10-18 Jan Hubicka <jh@suse.cz>
265dab10 6662
b8dad04b
ZW
6663 * i386.c (ix86_comparison_operator, put_condition_code,
6664 ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
6665 (ix86_expand_strlensi_unroll_1): Use CCRCmode.
6666 * i386.h (EXTRA_CC_MODES): Add CCRCmode.
6667 * i386.md (adddi and negdi splitter): Use CCRCmode.
6668 (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
6669 (subsi3_carry): add '*'
6670 (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
6671 (cmp to add peep2): Use CCRCmode; swap operands.
265dab10 6672
b054460b
KH
66732000-10-18 Kazu Hirata <kazu@hxi.com>
6674
8682223f
KH
6675 * h8300.c: Fix a comment typo.
6676 (round_frame_size): New.
6677 (compute_saved_regs): Likewise.
6678 (push): Likewise.
6679 (pop): Likewise.
6680 (push_order): Remove.
6681 (pop_order): Likewise.
6682 (function_prologue): Rearrange code for readability.
6683 (function_epilogue): Likewise.
6684
b054460b
KH
6685 * config/h8300/h8300.md: Remove an unnecessary sign_extend
6686 expander that is used when not optimizing. Output a tab after
6687 each assembly insns.
6688
f27e6bb2
KH
6689 * reorg.c: Fix formatting.
6690
19ca869b
JR
66912000-10-17 Joern Rennecke <amylaar@redhat.co.uk>
6692
6693 * reload1.c (move2add_note_store): Check for simple
6694 auto-inc in destination.
6695
2ddb1ca1
MC
66962000-10-17 Michael Chastain <chastain@redhat.com>
6697
6698 * config/i386/i386-aout.h: define INT_ASM_OP.
6699
11881f37
AM
6700Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au>
6701
6702 * pa.c (print_operand): Handle case 'c' for .vtable_inherit
6703
33e39e38
MB
6704Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org>
6705
6706 * i370.md: Fix spelling typo.
6707
832ea3b3
FS
67082000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6709
6710 * function.c (locate_and_pad_parm): Don't align stack unconditionally.
2b7fb034 6711 Fixes execute/20001017-1.c on powerpc-linux-gnu.
832ea3b3
FS
6712
6713 * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
2b7fb034 6714 * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
832ea3b3
FS
6715 LABEL_REF.
6716
6717 * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
6718 ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
6719 here...
6720 * rs6000/aix.h: ...to here.
6721 * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
6722
4c646291
JJ
67232000-10-17 Jakub Jelinek <jakub@redhat.com>
6724
6725 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
6726
6727 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
6728 sure linker can relax even the delay slot mov %g1,%o7, fix output
6729 formating.
6730
07e0fe3d
KH
67312000-10-17 Kazu Hirata <kazu@hxi.com>
6732
6733 * config/h8300/h8300.md: Remove an unnecessary zero_extend
6734 expander that is used when not optimizing. Output a tab after
6735 each assembly insns.
6736
10501d8f
CC
67372000-10-17 Chandrakala Chavva <cchavva@redhat.com>
6738
6739 * gcc.c: New options --target-help.
6740 (process_command): Added code to parse this new option.
6741 * toplev.c (display_target_options): New function to support the
6742 above new option.
6743 * cppinit.c (new_pending_directive) : New option OPT_target__help.
6744 (cpp_handle_option): Support this new option.
6745 * invoke.texi: Added notes about --target-help option.
b8dad04b 6746
c330e9c1 67472000-10-17 Graham Stott <grahams@redhat.com>
b8dad04b 6748
c330e9c1
GS
6749 * config/i386/i386.md (testqi_1): Add missing operand prefix
6750 for operand 0.
6751 * config/i386/i386-protos.h: Add missing prototype.
b8dad04b 6752
69ac4831
DN
67532000-10-17 Diego Novillo <dnovillo@cygnus.com>
6754
6755 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
6756 _GLOBAL_OFFSET_TABLE should not have a $ prefix when
6757 using -mintel-syntax.
6758
b691cb00
JM
67592000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6760
6761 * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
6762 (format_types): Use it for printf.
6763 (maybe_read_dollar_number): Add parameter for the kind of format
6764 involved. Warn for multiple use for arguments if this is
6765 inappropriate for the kind of format involved.
6766 (check_format_info_main): Update calls to maybe_read_dollar_number.
6767
948eab23
DA
67682000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6769
6770 * inclhack.def (hpux_maxint): Also apply fix to values.h.
6771 * fixincl.x: Rebuilt.
6772
1651ab85
AO
67732000-10-17 Alexandre Oliva <aoliva@redhat.com>
6774
6775 * genrecog.c (write_switch): Return the first condition that needs a
6776 label.
6777
2683ed8d
BS
67782000-10-17 Bernd Schmidt <bernds@redhat.co.uk>
6779
6780 * c-tree.h (warn_sequence_point): Move declaration to...
6781 * c-common.h (warn_sequence_point): ... here.
6782 * c-decl.c (warn_sequence_point): Move definition to...
6783 * c-common.c (warn_sequence_point): ... here.
6784 (struct reverse_tree): New.
6785 (reverse_list, reverse_max_depth): New static variables.
6786 (build_reverse_tree, common_ancestor, modify_ok
6787 verify_sequence_points): New functions.
6788 (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
6789 * c-typeck.c (check_modify_expr): Delete.
6790 (build_modify_expr): Don't call it.
6791
74ff4629
JM
67922000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6793
6794 * c-common.h (warn_missing_format_attribute): New variable.
6795 * c-decl.c (warn_missing_format_attribute): New variable.
6796 (c_decode_option): Decode -Wmissing-format-attribute and
6797 -Wno-missing-format-attribute.
6798 * c-common.c (check_function_format): If
6799 -Wmissing-format-attribute, give a warning where a vprintf or
6800 vscanf function is called by a function without its own printf or
6801 scanf attribute.
6802 * toplev.c (documented_lang_options): Add
6803 -Wmissing-format-attribute.
6804 * invoke.texi: Document -Wmissing-format-attribute.
6805
1d3b0e2c
ME
68062000-10-17 Marc Espie <espie@openbsd.org>
6807
6808 * invoke.texi (-shared): Insist on requiring code generation flags
6809 to be used along with -shared, and document the subtle failure that
6810 may occur otherwise.
6811
1c217171
DA
68122000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6813
6814 * pa.md (return_internal): Move `use' after `return'.
6815
11f3dc89
TP
68162000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6817
6818 * machmode.def: Correct comment.
6819
0952f89b
RB
68202000-10-16 Rodney Brown <RodneyBrown@mynd.com>
6821
47c10e9b
RB
6822 * print-rtl.c (print_rtx_head): Constify.
6823 * rtl.h (print_rtx_head): Similarly.
6824
0952f89b
RB
6825 * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
6826 Constify char * return value.
6827 * config/pa/pa/pa.c
6828 (output_64bit_and, output_64bit_ior): Constify char * return value.
6829 (pa_can_combine_p): Make static.
6830 (function_arg): Decorate unused `named' argument. Fix comment typo.
6831 (function_arg_partial_nregs): Decorate unused `named' argument.
6832
6d2e1454
JM
68332000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
6834
6835 * c-common.c (format_check_results): New structure.
6836 (finish_dollar_format_checking): Adjust to take a
6837 format_check_results * parameter.
6838 (check_format_info, check_format_info_recurse,
6839 check_format_info_main): Split check_format_info into three
6840 functions, the main checking going in check_format_info_main.
6841 Recurse when any reduction of the format string argument towards a
6842 string literal is done; go down both branches of a conditional
6843 expression. Don't warn for extra format arguments or empty format
6844 strings if they only occur in some branches of a conditional
6845 expression.
6846
4d231df7
KH
68472000-10-16 Kazu Hirata <kazu@hxi.com>
6848
f2a9645f 6849 * config/h8300/h8300.c: Remove obstack. Include ggc.h.
4d231df7 6850
55143861
JJ
68512000-10-16 Jakub Jelinek <jakub@redhat.com>
6852
6853 * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
6854
406df25c
DN
68552000-10-15 Diego Novillo <dnovillo@cygnus.com>
6856
6857 * i386.md (*movsi_or): Switch operand order for intel syntax.
6858
e8beb821
JM
68592000-10-14 Joseph S. Myers <jsm28@cam.ac.uk>
6860
2f6256e7
JM
6861 * PROBLEMS: Remove.
6862
e8beb821
JM
6863 * gcc.texi (Contributing): Update.
6864
c1f9de5a
DN
68652000-10-13 Diego Novillo <dnovillo@cygnus.com>
6866
6867 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
6868 appropriate assembler dialect.
6869
f58e0b0c
AO
68702000-10-13 Alexandre Oliva <aoliva@redhat.com>
6871
6872 * c-common.c (c_expand_builtin): PARAMS-ize prototype.
6873
08f81276
MM
68742000-10-12 Marek Michalkiewicz <marekm@linux.org.pl>
6875
6876 * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
6877 constants 1 and 2 to NO_LD_REGS.
6878
4b945402
KG
68792000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6880
6881 * Makefile.in (c-parse.c, tradcif.c): Create atomically.
b8dad04b 6882
4b945402
KG
6883 * objc/Make-lang.in (objc-parse.c): Likewise.
6884
c7319d87
RE
68852000-10-13 Richard Earnshaw <rearnsha@arm.com>
6886
6887 * arm.c: Include obstack.h
6888 (minipool_obstack, minipool_startobj): Define.
6889 (arm_add_gc_roots): Initialize them.
6890 (create_fix_barrier): Use our new obstack.
6891 (push_minipool_barrier, push_minipool_fix): Likewise.
6892 (arm_reorg): Release obstack memory.
6893
fccf9848
JJ
68942000-10-13 Jakub Jelinek <jakub@redhat.com>
6895
6896 * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
6897 (prologue, exception_receiver, builtin_setjmp_receiver): New
6898 patterns.
6899 * config/sparc/sparc.h (FINALIZE_PIC): Remove.
6900 * config/sparc/sparc-protos.h (finalize_pic): Remove.
6901 (load_pic_register): New prototype.
6902 * config/sparc/sparc.c (pic_setup_code): Remove.
6903 (finalize_pic): Rename to...
6904 (load_pic_register): ...this function.
6905 Don't look for nonlocal_goto_receivers and emit pic setup code
6906 directly. Don't check current_function_uses_pic_offset_table.
6907
7584b89f
RE
69082000-10-13 Richard Earnshaw <rearnsha@arm.com>
6909
6910 * tree.h (struct obstack): Declare.
6911
1f8f4a0b
MM
69122000-10-12 Mark Mitchell <mark@codesourcery.com>
6913
b8dad04b 6914 Remove obstacks.
1f8f4a0b 6915 * Makefile.in (ggc-callbacks.o): Remove target.
b8dad04b 6916 (flow.o): Depend on GGC_H.
1f8f4a0b
MM
6917 * alias.c (init_alias_analysis):
6918 Remove ggc_p conditionals.
b8dad04b 6919 (end_alias_analysis): Likewise.
1f8f4a0b 6920 * basic-block.h (init_flow): New function.
b8dad04b 6921 (allocate_reg_life_data): Declare.
1f8f4a0b
MM
6922 * bb-reorder.c (function_obstack): Replace with ...
6923 (flow_obstack): ... new variable.
b8dad04b 6924 (fixup_reorder_chain): Use it.
1f8f4a0b 6925 * c-decl.c (ggc_p): Remove.
b8dad04b 6926 (caller-save.c): Don't call oballoc/obfree.
1f8f4a0b
MM
6927 * combine.c (struct
6928 undobuf): Remove storage.
6929 (try_combine): Don't call oballoc.
b8dad04b 6930 (undo_all): Don't call obfree.
1f8f4a0b
MM
6931 * cse.c (insert): Use xmalloc, not
6932 oballoc.
b8dad04b 6933 (cse_main): Adjust accordingly.
1f8f4a0b
MM
6934 * dwarf2out.c (save_rtx): Remove
6935 obstack code.
b8dad04b 6936 (dwarf2out_init): Remove ggc_p conditionals.
1f8f4a0b
MM
6937 * emit-rtl.c (rtl_obstack): Remove.
6938 (gen_rtx_CONST_INT): Remove ggc_p conditionals.
6939 (make_insn_raw): Likewise.
6940 (emit_insn_before): Likewise.
6941 (emit_insn_after): Likewise.
6942 (emit_insn): Likewise.
6943 (gen_sequence): Likewise.
6944 (copy_insn_1): Remove handling of `b' RTL components.
b8dad04b 6945 (init_emit_once): Remove ggc_p conditionals.
1f8f4a0b
MM
6946 * except.c (create_rethrow_ref): Don't fool with obstacks.
6947 (add_partial_entry): Likewise.
6948 (call_get_eh_context): Likewise.
6949 (begin_protect_partials): Likewise.
b8dad04b 6950 (protect_with_terminate): Likewise.
1f8f4a0b 6951 * explow.c
b8dad04b 6952 (plus_constant_wide): Likewise.
1f8f4a0b
MM
6953 * expr.c (init_expr_once):
6954 Likewise.
6955 (emit_block_move): Likewise.
6956 (clear_storage): Likewise.
b8dad04b 6957 (expand_expr): Likewise.
1f8f4a0b
MM
6958 * flow.c (function_obstack): Remove.
6959 (flow_obstack): New variable.
6960 (flow_firstobj): Likewise.
6961 (create_base_block): Use the flow_obstack.
6962 (split_block): Likewise.
6963 (split_edge): Likewise.
6964 (calculate_global_regs_live): Likewise.
6965 (allocate_bb_life_data): Make it static. Likewiwse.
6966 (init_flow): New function.
b8dad04b 6967 (size_int_type_wide): Remove ggc_p conditionals.
1f8f4a0b
MM
6968 * function.c
6969 (push_function_context_to): Don't call save_tree_status.
6970 (pop_function_context_from): Or restore_tree_status.
6971 (assign_stack_local_1): Don't call push_obstacks.
6972 (find_fixup_replacement): Use xmalloc.
6973 (fixup_var_refs_insns): Free the storage.
6974 (insns_for_mem_walk): Don't mess with obstacks.
6975 (instantiate_decls): Likewise.
6976 (trampoline_address): Likewise.
b8dad04b 6977 (expand_function_end): Likewise.
1f8f4a0b
MM
6978 * function.h (sturct function):
6979 Remove obstack-related variables.
6980 (save_tree_status): Don't declare.
b8dad04b 6981 (restore_tree_status): Likewise.
1f8f4a0b 6982 * gcse.c (compute_can_copy):
b8dad04b 6983 Don't call oballoc/obfree.
1f8f4a0b
MM
6984 * genattrtab.c (operate_exp): Remove
6985 ggc_p conditionals.
6986 (simplify_cond): Likewise.
6987 (simplify_test_exp): Don't mess with obstacks.
b8dad04b 6988 (optimize_attrs): Likewise.
1f8f4a0b 6989 * gengenrtl.c (gendef): Don't include
b8dad04b
ZW
6990 ggc_p conditionals.
6991 * ggc-callbacks.c (ggc_p): Remove.
6992 * ggc-none.c (ggc_p): Remove.
6993 * ggc.h (ggc_p): Don't declare.
265dab10 6994 * integrate.c (save_for_inline): Don't mess with obstacks.
1f8f4a0b 6995 (integrate_decl_tree): Likewise.
b8dad04b 6996 (output_inline_function): Likewise.
1f8f4a0b 6997 * lists.c
b8dad04b 6998 (init_EXPR_INSN_LIST_cache): Likewise.
1f8f4a0b
MM
6999 * loop.c (temp_obstack):
7000 Remove.
7001 (rtl_obstack): Likewise.
7002 (init_loop): Don't mess with obstacks.
7003 (reg_address_cost): Free BIVs and GIVs.
7004 (check_insns_for_bivs): Use xmalloc, not oballoc.
7005 (find_mem_givs): Likewise.
7006 (record_biv): Likewise.
7007 (general_induction_var): Likewise.
b8dad04b 7008 (product_cheap_p): Likewse.
1f8f4a0b 7009 * optabs.c (init_one_libfunc): Remove
b8dad04b 7010 ggc_p conditional.
1f8f4a0b
MM
7011 * print-tree.c (debug_tree): Don't use
7012 oballoc/obfree.
b8dad04b 7013 (print_node): Likewise.
1f8f4a0b 7014 * profile.c (output_func_start_profiler):
b8dad04b 7015 Remove call to temporary_allocation.
1f8f4a0b 7016 * reload1.c
b8dad04b 7017 (eliminate_regs_in_insn): Don't mess with obstacks.
1f8f4a0b
MM
7018 * resource.c
7019 (mark_target_live_regs): Use xmalloc.
b8dad04b 7020 (free_resource_info): Free the memory.
1f8f4a0b
MM
7021 * rtl.c (rtl_obstack):
7022 Remove.
7023 (rtvec_alloc): Don't mess with obstacks.
7024 (rtx_alloc): Likewise.
7025 (rtx_free): Remove.
7026 (copy_rtx): Don't handle `b' cases.
b8dad04b 7027 (read_rtx): Use a local rtl_obstack.
1f8f4a0b
MM
7028 * rtl.h (oballoc): Remove.
7029 (obfree): Likewise.
7030 (pop_obstacks): Likewise.
7031 (push_obstacks): Likewise.
7032 (allocate_bb_life_data): Likewise.
7033 (allocate_reg_life_data): Likewise.
b8dad04b 7034 (rtx_free): Likewise.
1f8f4a0b 7035 * sdbout.c (sdbout_queue_anonymous_type):
b8dad04b 7036 Use tree_cons, not saveable_tree_cons.
1f8f4a0b 7037 * simplify-rtx.c
b8dad04b 7038 (cselib_init): Don't mess with obstacks.
1f8f4a0b
MM
7039 * stmt.c
7040 (mark_block_nesting): Mark the label_chain.
7041 (epxand_label): Use ggc_alloc, not oballoc.
7042 (clear_last_expr): Don't mess with obstacks.
7043 (expand_decl_cleanup): Likewise.
7044 (expand_dcc_cleanup): Likewise.
7045 (expand_dhc_cleanup): Likewise.
7046 (expand_anon_union_decl): Likewise.
7047 (add_case_node): Use xmalloc, not oballoc.
7048 (free_case_nodes): New function.
b8dad04b 7049 (expand_end_case): Call it.
1f8f4a0b
MM
7050 * stor-layout.c (layout_type): Don't
7051 mess with obstacks.
b8dad04b 7052 (layout_type): Likewise.
1f8f4a0b
MM
7053 * toplev.c (wrapup_global_declarations):
7054 Likewise.
7055 (compile_file): Remove ggc_p conditionals.
7056 (rest_of_compilation): Call init_flow. Remove ggc_p conditionals.
b8dad04b 7057 (decode_f_option): Remove ggc_p conditionals.
1f8f4a0b
MM
7058 * tree.c
7059 (function_maybepermanent_obstack): Remove.
7060 (maybepermanent_obstack): Likewise.
7061 (function_obstack): Likewise.
7062 (tmeporary_obstack): Likewise.
7063 (momentary_obstack): Likewise.
7064 (temp_decl_obstack): Likewise.
7065 (saveable_obstack): Likewise.
7066 (rtl_obstack): Likewise.
7067 (current_obstack): Likewise.
7068 (expression_obstack): Likewise.
7069 (struct obstack_stack): Likewise.
7070 (obstack_stack): Likewise.
7071 (obstack_stack_obstack): Likewise.
7072 (maybepermanent_firstobj): Likewise.
7073 (temporary_firstobj): Likewise.
7074 (momentary_firstobj): Likewise.
7075 (temp_decl_firstobj): Likewise.
7076 (momentary_function_firstobj): Likewise.
7077 (all_types_permanent): Likewise.
7078 (struct momentary_level): Likewise.
7079 (momentary_stack): Likewise.
7080 (init_obstacks): Remove initialization of removed obstacks.
7081 (save_tree_status): Remove.
7082 (restore_tree_status): Likewise.
7083 (temporary_allocation): Liekwise.
7084 (end_temporary_allocation): Liekwise.
7085 (resume_temporary_allocation): Likewise.
7086 (saveable_allocation): Likewise.
7087 (push_obstacks): Likewise.
7088 (push_obstacks_nochange): Likewise.
7089 (pop_obstacks): Likewise.
7090 (allocation_temporary_p): Likewise.
7091 (permanent_allocation): Likewise.
7092 (preserve_data): Likewise.
7093 (preserve_initializer): Likewise.
7094 (rtl_in_current_obstack): Likewise.
7095 (rtl_in_saveable_obstack): Likewise.
7096 (oballoc): Likewise.
7097 (obfree): Likewise.
7098 (savealloc): Likewise.
7099 (expralloc): Likewise.
7100 (print_obstack_name): Likewise.
7101 (debug_obstack): Likewise.
7102 (object_permanent_p): Likewise.
7103 (push_momentary): Likewise.
7104 (perserve_momentary): Likewise.
7105 (clear_momentary): Likewise.
7106 (pop_momentary): Likewise.
7107 (pop_momentary_nofree): Likewise.
7108 (suspend_momentary): Likewise.
7109 (resume_momentary): Likewise.
7110 (make_node): Don't set TREE_PERMANENT.
7111 (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK.
7112 Don't set TREE_PERMANENT.
7113 (get_identifier): Remove ggc_p conditionals.
7114 (build_string): Likewise.
7115 (make_tree_vec): Likewise.
7116 (build_decl_list): Remove.
7117 (build_expr_list): Likewise.
7118 (tree_cons): Remove ggc_p conditionals.
7119 (decl_tree_cons): Remove.
7120 (expr_tree_cons): Likewise.
7121 (perm_tree_cons): Likewise.
7122 (temp_tree_cons): Likewise.
7123 (saveable_tree_cons): Likewise.
7124 (build1): Remove ggc_p conditionals.
7125 (build_parse_node): Likewise.
7126 (build_type_attribute_variant): Don't mess with obstacks.
7127 (build_type_copy): Likewise.
7128 (type_hash_canon): Likewise.
7129 (build_pointer_type): Likewise.
7130 (build_reference_type): Likewise.
7131 (build_index_type): Likewise.
7132 (build_range_type): Likewise.
b8dad04b 7133 (dump_tree_statistics): Don't print obstack information.
1f8f4a0b
MM
7134 * tree.h
7135 (struct tree_common): Remove permanent_flag.
7136 (TREE_PERMANENT): Remove.
7137 (TREE_SET_PERMANENT): Likewise.
7138 (TYPE_OBSTACK): Likewise.
7139 (struct tree_type): Remove obstack.
7140 (oballoc): Remove.
7141 (savealloc): Likewise.
7142 (build_decl_list): Likewise.
7143 (build_expr_list): Likewise.
7144 (perm_tree_cons): Likewise.
7145 (temp_tree_cons): Likewise.
7146 (saveable_tree_cons): Likewise.
7147 (decl_tree_cons): Likewise.
7148 (expr_tree_cons): Likewise.
7149 (suspend_momentary): Likewise.
7150 (allocation_temporary_p): Likewise.
7151 (resume_momentary): Likewise.
7152 (push_obstacks_nochange): Likewise.
7153 (permanent_allocation): Likewise.
7154 (push_momentary): Likewise.
7155 (clear_momentary): Likewise.
7156 (pop_momentary): Likewise.
7157 (end_temporary_allocation): Likewise.
7158 (pop_obstacks): Likewise.
7159 (push_obstacks): Likewise.
7160 (pop_momentary_nofree): LIkewise.
7161 (preserve_momentary): Likewise.
7162 (saveable_allocation): Likewise.
7163 (temporary_allocation): Likewise.
7164 (resume_temporary_allocation): Likewise.
7165 (perserve_initializer): Likewise.
7166 (debug_obstack): Likewise.
7167 (rtl_in_current_obstack): Likewise.
7168 (rtl_in_saveable_obstack): Likewise.
b8dad04b 7169 (obfree): Likewise.
1f8f4a0b
MM
7170 * varasm.c (current_obstack): Remove.
7171 (saveable_obstack): Remove.
7172 (rtl_obstack): Remove.
7173 (immed_double_const): Don't mess with obstacks.
7174 (immed_real_cons): Likewise.
7175 (output_constant_def): Likewise.
7176 (init_varasm_status): Use xcalloc.
7177 (mark_pool_constant): Mark the pool constant itself.
7178 (free_varasm_status): Free memory.
7179 (decode_rtx_const): Call bzero directly, rather than expanding it
7180 inline.
7181 (record_rtx_const): Don't mess with obstacks.
7182 (force_const_mem): Likewise.
7183 * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
7184 conditionals.
7185 (aof_pic_entry): Likewise.
7186 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
7187 * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
7188 * config/pa/pa.c (saveable_obstack): Remove.
7189 (rtl_obstack): Likewise.
7190 (current_obstack): Likewise.
7191 (output_call): Don't mess with obstacks.
7192 (hppa_encode_label): Remove ggc_p conditionals.
7193 * config/romp/romp.c (get_symref): Don't mess with obstacks.
7194 * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
7195 (rs6000_encode_section_info): Likewise.
7196 * config/sh/sh.c (get_fpscr_rtx): Likewise.
b8dad04b 7197
9dcbdc7e
JH
7198Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz>
7199
7200 * i386.md (adddi3, subdi3 splitters): Update for new pattern.
7201 (addsi3_cc, addqi3_cc, subsi3_cc): Remove
7202 (addsi3_carry): Canonicalize.
7203 (addqi_5): Remove '*'.
7204 (sbb pattern): Canonicalize.
7205
7206 * i386.md (cmp to inc/add peep2): New.
7207
74490e05
RE
72082000-10-12 Richard Earnshaw <rearnsha@arm.com>
7209
7210 * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
7211 the exit block.
7212
bc87c1c8
JM
72132000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7214
7215 * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
7216 * README.TRAD, TESTS.FLUNK: Remove.
7217
9fa8f75d
JM
72182000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7219
7220 * c-common.c (decl_attributes): Don't allow strftime formats with
7221 first_arg_num nonzero.
7222 (check_format_info): Set wanted_type and wanted_type_name to zero
7223 before they are possibly assigned and used.
7224
4831bc84
JM
72252000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7226
7227 * c-common.c (scanf_flag_specs): Add flags ' and I.
7228 (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
7229 or the ^ and # flags together.
7230 (scan_char_table): Handle the ' and I flags.
7231 (format_types): Add ' and I flags for scanf.
7232
2f7026a0
JM
72332000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
7234
7235 * c-common.c (print_char_table): Use the unpromoted type for
7236 lengths "h" and "hh" with conversions dioxXu.
7237 (check_format_types): Apply the default argument promotions where
7238 the wanted type is not a pointer target.
7239
bb58bec5 72402000-10-11 Michael Meeks <mmeeks@gnu.org>
b8dad04b 7241 Joseph S. Myers <jsm28@cam.ac.uk>
bb58bec5
JM
7242
7243 * c-typeck.c (check_modify_expr): New function.
7244 (build_modify_expr): Call it if warn_sequence_point.
7245 * c-decl.c (warn_sequence_point): New variable.
7246 (c_decode_option): Handle -Wsequence-point and
7247 -Wno-sequence-point. Enable -Wsequence-point as part of -Wall.
7248 * c-tree.h (warn_sequence_point): Declare.
7249 * invoke.texi (-Wsequence-point): Document.
7250 * toplev.c (documented_lang_options): Add -Wsequence-point and
7251 -Wno-sequence-point.
7252 Original work by Michael Meeks, 16 Jun 1998.
7253
0fba7208
RK
7254Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7255
7256 * tree.c (get_narrower): Don't look at precision of field if
7257 not laid out yet.
7258
67e570ea
DC
7259Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru>
7260
7261 * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
7262 declaration for data with "progmem" attribute.
7263
80b8585d
MM
72642000-10-09 Marek Michalkiewicz <marekm@linux.org.pl>
7265
7266 * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
7267 Correct insn length if shift count is a memory operand.
7268 * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
7269 (*iorhi3_clobber): Change lo8 to hi8.
7270 (zero_extendhisi2): Change %B0 to %A1.
7271 (ashlhi3, ashrhi3): Correct insn length.
7272 (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
7273 from "clobber" to "set_n" in some alternatives.
7274
462561b7
JJ
72752000-10-10 Jakub Jelinek <jakub@redhat.com>
7276
7277 * reload1.c (calculate_needs_all_insns): If deleting an instruction,
7278 remove its insn_chain structure as well.
7279
0b8833aa
DA
72802000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7281
7282 * dbxout.c (dbxout_source_line): Remove extra tab.
7283
c690f089
HPN
72842000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
7285
7286 * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
7287
1854631b
RH
72882000-10-09 Richard Henderson <rth@cygnus.com>
7289
7290 * Makefile.in (LANG_LIB2FUNCS): Remove.
7291 (LIB2FUNCS): Remove _pure.
7292 (LIB2ADD): Remove LANG_LIB2FUNCS.
7293 (stage_a): Don't set LANG_LIB2FUNCS.
7294 * libgcc2.c (__terminate): Mark noreturn.
7295 (__pure_virtual): Remove.
7296 * mklibgcc.in: Remove LIB2ADD .txt processing.
7297
880c4dcb
RE
72982000-10-09 Richard Earnshaw <rearnsha@arm.com>
7299
7300 * arm.md (push_multi): Revert unintended change.
7301
5895f793
RE
73022000-10-09 Richard Earnshaw <rearnsha@arm.com>
7303
b8dad04b 7304 * arm.c: Miscellaneous white space and comment clean-ups. No
5895f793
RE
7305 functional change.
7306 * arm.md: Likewise.
7307
1092710d
KG
73082000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7309
7310 * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
7311 STRING_CST by calling combine_strings.
7312
ca356f3a
RE
73132000-10-09 Richard Earnshaw <rearnsha@arm.com>
7314
7315 * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
7316 (thumb_output_move_mem_multiple): Support new insn format.
7317 * arm.md (movmem12b): Use SSA compatible format.
7318 (movmem8b): Likewise.
7319
cca0a211
RE
73202000-10-09 Richard Earnshaw <rearnsha@arm.com>
7321
7322 * arm.md (predicable): New attribute, default to "no".
7323 (all patterns): Mark as predicable if appropriate.
7324 (conditional execution splits): Split using predication format.
7325 (define_cond_exec): Define.
7326 * arm.c (arm_print_operand): handle insn predicate.
b8dad04b 7327
1146cfde
GP
73282000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7329
7330 * README.NS32K: Remove file.
7331
73322000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7333
7334 * README-bugs: Remove file.
7335
4d0230e1
PT
73362000-10-08 Philipp Thomas <pthomas@suse.de>
7337 * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
7338 for test.
7339 * configure: Rebuilt.
7340
9fdf713f
PT
73412000-10-08 Philipp Thomas <pthomas@suse.de>
7342 * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
7343 disable catalog building if no suitable program was found.
7344 Move warning message from here
7345 (AM_GNU_GETTEXT): To here.
7346 * configure: Rebuilt.
7347
00036f5c
PT
73482000-10-08 Philipp Thomas <pthomas@suse.de>
7349 * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
7350 different cache variables.
7351 (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
7352 uses different cache variables.
7353 (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
7354 * configure: Regenerated.
b8dad04b 7355
aefa45d3
RH
73562000-10-08 Richard Henderson <rth@cygnus.com>
7357
7358 * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
7359 * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
7360 * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
7361 Use SHLIB_EXT.
7362
7363 * config/t-linux (SHLIB_EXT): New.
7364 (SHLIB_LINK): Use the entire build command, with substitutions.
7365 (SHLIB_LIBS): Remove.
7366 * config/alpha/t-osf4: Likewise.
7367 * config/mips/t-iris6: Likewise.
7368 * config/sparc/t-sol2: Likewise, but move shlib stuff...
7369 * config/sparc/t-slibgcc-sld: ...here.
7370 * config/sparc/t-slibgcc: New file.
7371
b15ad712
JM
73722000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
7373
7374 * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
7375 * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
7376 CTI_UINTMAX_TYPE.
7377 (intmax_type_node, uintmax_type_node): Define.
7378 * c-common.c (decl_attributes): If pedantic, warn if `mode'
7379 attributes create a type wider than intmax_t.
7380 (T_IM, T_UIM): Define properly.
7381 * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
7382 defined.
7383 (init_decl_processing): Initialize intmax_type_node and
7384 uintmax_type_node.
7385 * c-lex.c (lex_number): When pedantic and warning for integer
7386 constants that are too large, in C99 mode warn for those that have
7387 a type wider than long long.
7388
2588e44e
JM
73892000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
7390
7391 * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
7392 FMT_FLAG_FANCY_PERCENT_OK): Define.
7393 (format_char_info): Add flag "4" to comment.
7394 (format_flag_spec, format_flag_pair): New structures.
7395 (format_kind_info): Add additional fields to control format
7396 checking.
7397 (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
7398 scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
7399 arrays.
7400 (time_char_table): Use "4" flag to handle %Ey.
7401 (format_types): Add entries for new fields.
7402 (get_flag_spec): New function.
7403 (check_format_info): Increase size of flag_chars[] to 256.
7404 Control format checking using the new fields of a format_kind_info
7405 and the new tables; remove all conditionals on printf_format_type,
7406 scanf_format_type or strftime_format_type. Handle all details of
7407 bad combinations of flags (including width, precision and strftime
7408 modifiers) through data rather than ad hoc code. Handle all
7409 details of standard versions in which flags appeared through
7410 data. Use the "4" flag.
7411
7b7de7c0
WC
74122000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com>
7413
7414 * config/h8300/h8300.md: Remove the memory alternative and correct
7415 the insn lengths in the templates for sign extention and zero
7416 extention.
7417
9a1ba437
RH
74182000-10-07 Richard Henderson <rth@cygnus.com>
7419
7420 * calls.c (expand_call): Disallow sibcalls to noreturn functions.
7421 * flow.c (make_edges): Revert last change.
7422
7423 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
7424 TREE_THIS_VOLATILE.
7425 * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
7426
d38d55b4
DB
74272000-10-06 David O'Brien <obrien@dragon.nuxi.com>
7428
7429 * config/alpha/elf.h: Standardize the formatting.
7430
94984e91
DB
74312000-10-06 David O'Brien <obrien@FreeBSD.org>
7432
7433 * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
7434 #undef.
7435
3e4eac3f
RH
74362000-10-06 Richard Henderson <rth@cygnus.com>
7437
7438 * function.c (diddle_return_value): Examine
7439 current_function_return_rtx instead of the DECL_RESULT.
7440 (expand_function_end): Handle reloading DECL_RESULT from memory
7441 into a hard register. Query promote_mode for sign of mismatched
7442 modes.
7443
4071f896
VM
74442000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7445
7446 * haifa-sched.c (schedule_insns): Fix typo in freeing
7447 forward_dependency_cache.
7448
eb69f95c
AO
74492000-10-06 Alexandre Oliva <aoliva@redhat.com>
7450
7451 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
7452 `TARGET_SH2' as a condition.
7453
178b88b9
VM
74542000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
7455
7456 * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
7457 forward_dependency_cache): New variables.
7458 (add_dependence, remove_dependence): Use anti_dependency_cache and
7459 output_dependency_cache.
7460 (compute_block_forward_dependences): Use forward_dependency_cache.
7461 (schedule_insns): Allocate and free memory for anti/output/forward
7462 dependencies caches.
b8dad04b 7463
827bdee4
AO
74642000-10-06 Alexandre Oliva <aoliva@redhat.com>
7465
7466 * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
7467 `! TARGET_SH1'. Reindent.
7468
c70eaeaf
KG
74692000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7470
7471 * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
7472 Move functions from here ...
7473
7474 * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
7475 ... to here.
7476 (c_expand_builtin): New function.
7477 (init_function_format_info): Don't set `check_function_format_ptr'.
7478 (c_common_nodes_and_builtins): Set built_in_class type for
7479 printf/__builtin_printf to BUILT_IN_FRONTEND.
7480 (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
7481
7482 * c-common.h (build_function_call): Declare.
7483
7484 * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
7485 to `lang_expand_expr' rather than `expand_builtin'.
7486
7487 * tree.c (check_function_format_ptr): Delete.
7488
7489 * tree.h (check_function_format_ptr): Likewise.
7490
f299afab
HPN
74912000-10-06 Hans-Peter Nilsson <hp@bitrange.com>
7492
7493 * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
7494 DW_OP_bregx when cfa->reg > 31.
7495
7496 * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
7497 break.
7498
b313a0fe
RH
74992000-10-05 Richard Henderson <rth@cygnus.com>
7500
7501 * c-decl.c (warn_missing_noreturn): Remove.
7502 (c_expand_body): Don't set or check can_reach_end.
7503 * c-tree.h (warn_missing_noreturn): Move ...
7504 * flags.h: ... here.
7505 (can_reach_end): Remove.
7506 * flow.c (check_function_return_warnings): New.
7507 (make_edges): No edge to exit for noreturn sibcalls.
7508 * function.c (expand_function_end): Save the return value
7509 clobber instruction.
7510 (mark_function_status): Mark it.
7511 * function.h (struct function): Add x_clobber_return_insn.
7512 * jump.c (can_reach_end): Remove.
7513 (calculate_can_reach_end): Remove.
7514 (jump_optimize_1): Don't call it.
7515 * output.h (check_function_return_warnings): Declare.
7516 * toplev.c (warn_missing_noreturn): Move from c-decl.c
7517 (rest_of_compilation): Call check_function_return_warnings.
7518
83dad10c
RH
75192000-10-05 Richard Henderson <rth@cygnus.com>
7520
7521 * Makefile.in (NM_FOR_TARGET): New.
7522 (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
7523 (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
7524 * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the
7525 shared library build on that and EXTRA_MULTILIB_PARTS.
7526 * mkmap-flat.awk: New file.
7527 * mkmap-symver.awk: New file.
7528 * libgcc-std.ver: New file.
7529 * config/libgcc-glibc.ver: New file.
7530 * config/ia64/libgcc-ia64.ver: New file.
7531 * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7532 (SHLIB_LINK): Add --version-script.
7533 * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
7534 * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7535 * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
7536 (SHLIB_LINK): Add -M.
7537
d6eacd48
RH
75382000-10-05 Richard Henderson <rth@cygnus.com>
7539
7540 * Makefile.in (LIB2FUNCS): Add _clz.
7541 * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
7542 (__clz_tab): Put in its own unit, non-static.
7543 * libgcc2.h: Always include longlong.h.
7544
29279975
RH
7545 * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
7546 a zero instead of -1.
7547 (count_trailing_zeros): Likewise.
7548
c74fa144
RH
75492000-10-05 Richard Henderson <rth@cygnus.com>
7550
7551 * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
7552 when second op1 is const0_rtx. Validate op0 as a register.
7553 * config/alpha/alpha.md (setcc_internal): Don't allow constants
7554 in the first argument of the compare.
7555 (setcc_swapped_internal): Likewise.
7556 (setne_internal): Likewise.
7557
c5620996
GK
75582000-10-05 Geoff Keating <geoffk@cygnus.com>
7559
7560 * tree.c (tree_size): New function split out of copy_node.
7561 (make_node): Remove obstack handling. Use tree_size.
7562 (copy_node): Use tree_size.
7563 * tree.h: Prototype tree_size.
7564
331fe257
RH
75652000-10-05 Richard Henderson <rth@cygnus.com>
7566
7567 * diagnostic.c (output_format): Add missing break.
7568
cc0cbae1
JW
75692000-10-05 Jim Wilson <wilson@cygnus.com>
7570
7571 * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
7572 SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
7573 sequence insn to INSN, and delete last sequence insn.
7574
f5fa9a5b
PE
75752000-10-05 Phil Edwards <pme@gcc.gnu.org>
7576
7577 * gcc.c (main): Include generated configargs.h header
7578 and use arguments in '-v' output.
7579
2296d164
RK
7580Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7581
7582 * gcc.c: Move data on prefixes forward in file and reorganize.
7583 (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
7584 Always define, but make null if no value.
7585 (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
7586 and "md_startfile_prefix_1".
7587 (main): Check whether md_exec_prefix and the others are the
7588 null string rather than whether the macro is defined.
7589
43d75418
R
7590Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk>
7591
7592 * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
7593 from PSImode to SImode.
7594
e389897b
JJ
75952000-10-05 Jakub Jelinek <jakub@redhat.com>
7596
7597 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
7598 from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
7599 * dwarf2out.c (add_const_value_attribute): Divide by 4, not
7600 sizeof(long).
7601
b8fbe62c
RK
7602Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7603
7604 * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
7605 negation in proper type.a
7606
50503ac8
RH
76072000-10-04 Richard Henderson <rth@cygnus.com>
7608
7609 * configure.in (enable-shared): New.
7610 * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
7611 (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
7612 * mklibgcc.in: Use them to link shared a libgcc.
7613 * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
7614 * config/alpha/t-ieee (SHLIB_MULTILIB): New.
7615 * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
7616 * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
7617
7618 * configure.in (alpha-osf*): Use t-osf and x-osf.
7619 * config/alpha/t-osf: New file.
7620 * config/alpha/t-osf4: New file.
7621 * config/alpha/x-osf: New file.
7622 * config/alpha/x-alpha: Remove file.
7623
4b606faf
WC
76242000-10-04 Will Cohen <wcohen@redhat.com>
7625
7626 * c-typeck.c (process_init_element): Added warning for zero-length
7627 array.
7628
7629 * extend.texi (Zero Length): State that static initializers for
7630 zero-length arrays are not allowed.
7631
c9b89a21
JH
7632Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz>
7633
7634 * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
7635 to come last.
7636
81bce466
MH
76372000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7638
7639 * config/float-c4x.h: New.
7640 * configure.in (c4x-*): Set float_format to c4x.
b8dad04b 7641 * configure: Regenerate.
81bce466 7642
72882e08
KG
76432000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7644
7645 * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
7646 compilation for solaris versions 2.7 and greater.
7647
ea205a52
ME
76482000-10-02 Marc Espie <espie@openbsd.org>
7649
7650 * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
7651 instead of redefining from scratch.
7652
618ec0d7
DB
76532000-10-02 David O'Brien <obrien@dragon.nuxi.com>
7654
7655 * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
7656
f15b9af9
MM
76572000-10-01 Mark Mitchell <mark@codesourcery.com>
7658
776749c5
MM
7659 * config/ns32k/genix.h: Remove.
7660 * config/ns32k/x-genix: Likewise.
7661 * config/ns32k/xm-genix.h: Likewise.
7662 * config/fx80: Remove all filee in directory.
7663 * config/pyr: Likewise.
7664 * config/tahoe: Likewise.
7665 * config/gmicro: Likewise.
7666 * config/spur: Likewise.
7667 * configure.in: Remove configury bits for above targets.
7668 * configure: Regenerated.
b8dad04b 7669
a7b4171a
MM
7670 * configure.in: Don't configure chill by default.
7671 * configure: Regenerated.
b8dad04b 7672
f15b9af9
MM
7673 * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
7674 (lang_mark_false_label_stack): Remove.
7675 * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate
7676 <top level> string in GC area.
7677 (mark_splay_tree_node): New function.
7678 (mark_splay_tree): Likewise.
7679 * except.c (mark_eh_status): Only call lang_mark_false_label_stack
7680 if it exists.
7681 * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
7682 * ggc-common.c (lang_mark_false_label_stack): Change type.
7683 * ggc.h (ggc_alloc_string): Add comment.
7684 (ggc_strdup): New function.
b8dad04b 7685
51296ba0
DC
7686Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru>
7687
7688 * config/avr/avr.h (BRANCH_COST): Define as 0.
7689
7690 * config/pdp11/pdp11.c: #include "tree.h" added.
7691
adcd8f77
MM
76922000-09-30 Marek Michalkiewicz <marekm@linux.org.pl>
7693
7694 * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
7695 ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
7696 with known shift count.
7697 * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
7698 New alternative for shift count 2 with no scratch register.
7699 (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
7700 "set_n" for shift counts 1 and 2.
7701
e35b9579
GK
77022000-09-30 Geoff Keating <geoffk@cygnus.com>
7703
7704 * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate
7705 the mask value from the individual SET operations.
7706 (return_internal_si): Move the USE after the RETURN.
7707 (return_internal_di): Likewise.
7708 (return_and_restore_fpregs_si): Likewise.
7709 (return_and_restore_fpregs_di): Likewise.
7710 (return_eh_si): Likewise.
7711 (return_eh_di): Likewise.
7712 * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
7713 or check, the USE.
7714 (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
7715 Don't generate a PARALLEL around a single operation movsi_to_cr.
7716 Generate the RETURN first in any PARALLELs.
7717
7718 * rtlanal.c (single_set_1): Use fatal_insn to display the
7719 invalid insn. Check for more cases when a USE or CLOBBER occurs
7720 before a SET.
7721 * Makefile.in: Update dependencies for rtlanal.o.
7722
1fba7553
JM
77232000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7724
7725 * i386.c: Move include of "config.h" to before that of <setjmp.h>.
7726
28e6b1c2
JM
77272000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7728
7729 * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
7730 Consistently use @email for formatting email addresses.
7731
f2fa288f
RH
77322000-09-29 Richard Henderson <rth@cygnus.com>
7733
7734 * cse.c (notreg_cost): New argument outer.
7735 (COST): Pass in SET to notreg_cost
7736 (COST_IN): New.
7737 (fold_rtx): Use COST_IN. Prefer constants when costs
7738 are the same.
7739
a1c63101
DE
77402000-09-29 David Edelsohn <edelsohn@gnu.org>
7741
7742 * fixinc/inclhack.def (broken_cabs): Generalize regex.
7743 * fixinc/fixincl.x: Regenerate.
7744
70dd0f7f
FS
77452000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7746
7747 * loop.c (check_final_value): A GIV is not replaceable if used
7748 before set.
7749
0c6129af
JL
7750Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com)
7751
7752 * version.c: Bump to gcc-2.97.
7753
7754Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz>
6c698a6d
JH
7755
7756 * final.c (final_scan_insn): Remove extra extract_insn call;
7757 Use caching for constrain_operands.
7758 (cleanup_subreg_operands): Use caching for extract_insn.
7759 * recog.c (constrain_operands_cached): New.
7760 * recog.h (constrain_operands_cached): Declare.
7761 * i386.c (ix86_attr_length_immediate_default,
7762 ix86_attr_length_address_default, ix86_agi_dependant): Cache
7763 extract_insn call.
7764
7765 * recog.c (asm_noperands): Tweak.
7766 (extract_insn): Do not call asm_noperads for non-asm instructions.
7767
7768Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
7769
7770 * recog.c (recog_memoized): Rename to recog_memoized_1.
7771 * recog.h (recog_memoized): Rename to recog_memoized_1.
7772 (recog_memoized): New macro.
7773 * rtl.h (single_set): Rename to single_set_1
7774 (single_set): New macro.
7775 * rtlanal.c (single_set): Rename to single_set_1; expect clobbers
7776 to be last.
7777
7778 * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
7779 Do not use match_dup of input operands at outputs.
7780 Use register_operand for memory expression.
7781 (rep_movsi): Put use last, canonicalize.
7782 Use register_operand for memory expression.
7783 (rep_movqi): Put use last.
7784 Use register_operand for memory expression.
7785 (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
7786 of input operands at outputs. Use register_operand for memory
7787 expression.
7788 (rep_stossi): Put use last; canonicalize; fix match_dup in
7789 the address expression
7790 (rep_stosqi): Likewise.
7791 (memcmp expander): Update calls.
7792 (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
7793 the clobbers.
7794
7795 * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
7796 VOIDmode.
7797 (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
7798
41e5a1f5
DB
77992000-09-28 David O'Brien <obrien@FreeBSD.org>
7800
7801 * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
7802 Contains the old contents of config/i386/freebsd.h
7803 * config/i386/freebsd.h: Now the ELF rather than a.out config file.
7804 Contains the old contents of config/i386/freebsd-elf.h
7805 * config/i386/freebsd-elf.h: Retire this file -- contents moved to
7806 config/i386/freebsd.h.
7807 * configure.in: Adjust for above changes.
7808 * po/POTFILES.in: Likewise.
7809 * po/en_GB.po: Likewise.
7810 * po/gcc.pot: Likewise.
7811 * configure: Rebuilt.
7812
1db88ef9 78132000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
70dd0f7f 7814
1db88ef9
FS
7815 * doloop.c (doloop_modify): Prevent delete_insn() from
7816 deleting too much. Prefer loop->top over loop->start as
7817 target for the new JUMP insn.
7818 (doloop_valid_p): Ignore loop with exit_count != 0.
7819
6a07a77f
PT
78202000-09-28 Philipp Thomas <pthomas@suse.de>
7821
7822 * invoke.texi (i386 Options): Add athlon to table of possible
7823 choices for -mcpu=.
7824
b5dd2c76
GDR
78252000-09-28 Gabriel Dos Reis <gdr@codesourcery.com>
7826
7827 * diagnostic.h (output_clear_message_text): New function.
7828 (output_message_text): New macro.
7829
7830 * diagnostic.c (clear_text_info): Rename to
b8dad04b 7831 output_clear_message_text.
b5dd2c76
GDR
7832 (output_clear): Adjust.
7833 (output_finish): Rename to output_finalize_message. Tweek.
b8dad04b 7834 (output_to_stream): Adjust.
b5dd2c76 7835
d8090680
NB
78362000-09-28 Neil Booth <neilb@earthling.net>
7837
7838 * cpperror.c (_cpp_begin_message): Do the test for suppression
b8dad04b
ZW
7839 of warnings and pedantic warnings before the "is a warning an
7840 error" tests.
d8090680
NB
7841 * cppinit.c (cpp_handle_option): Remove surplus \n.
7842 * cpplex.c (ON_REST_ARG): Delete.
7843 (skip_block_comment): Initialise prevc.
7844 (parse_args): Improve error messages.
7845 (maybe_paste_with_next): Use CONTEXT_VARARGS rather
7846 than ON_REST_ARG.
7847 * cpplib.c (cpp_push_buffer): Fix grammar in message.
7848 * cppmain.c (main): Set callbacks for #ident and #pragma
7849 only if no_output option is false.
7850 (do_pragma_implementation): Only call the #pragma handler
7851 if it is set in the cpp_reader structure.
7852
e93eff94
DL
7853Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com>
7854
7855 * integrate.c (copy_insn_list): if an ignored return value
7856 is being clobbered, skip cloning that into the inline copy.
7857
59c5d27a
JM
78582000-09-27 Joseph S. Myers <jsm28@cam.ac.uk>
7859
7860 * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
7861 use @uref for formatting URLs.
7862
15ca066d
ME
78632000-09-27 Mark Elbrecht <snowball3@bigfoot.com>
7864
7865 * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
7866 name and prefix.
7867
5a8e2650
NB
7868Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net>
7869
7870 * gcc.c (cpp_options): Add spec for -ftabstop=.
7871 (invoke_as): New spec that handles invoking as.
7872 Update specs to handle -save-temps and -traditional.
7873 * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
7874 Use invoke_as.
7875 * cp/lang-specs.h, objc/lang-specs.h: Update to use
7876 invoke_as, and handle -save-temps and -traditional (if
7877 appropriate).
7878
380f6ad3
JJ
78792000-09-26 Jakub Jelinek <jakub@redhat.com>
7880
7881 * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
7882 op0 is a SUBREG.
7883 (function_arg_slotno): Accept TImode/CTImode.
7884 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
7885 to UNITS_PER_WORD.
7886
ef120fc0
MH
78872000-09-26 Michael Hayes <mhayes@cygnus.com>
7888
7889 * flow.c (flow_loop_pre_header_scan): Punt if loop enters
7890 from entry block.
7891
cf606f45
JW
78922000-09-25 Jim Wilson <wilson@cygnus.com>
7893
7894 * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
7895 (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
7896 (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
7897 (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
7898
a94c1199
NB
7899Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net>
7900
b8dad04b 7901 * cpplex.c (parse_args): Don't set VOID_REST flag.
a94c1199
NB
7902 (CONTEXT_VARARGS): New flag.
7903 (maybe_paste_with_next): Set context earlier in loop. Use
7904 it. Do varargs test with CONTEXT_VARARGS flag.
7905 (push_arg_context): Set CONTEXT_VARARGS flag if we're
7906 pushing an argument context for a varargs argument.
7907 * cpplib.h (VOID_REST): Delete.
b8dad04b 7908 * gcc.dg/cpp/vararg1.c: Add test case.
a94c1199 7909
317639a8
BC
79102000-09-25 Branko Cibej <branko.cibej@hermes.si>
7911
b8dad04b
ZW
7912 * flags.h: Declare warning flag warn_system_headers.
7913 * toplev.c: Define it.
7914 (W_options): Add option -Wsystem-headers.
7915 * diagnostic.c (count_error): Test warn_system_headers.
7916 * invoke.texi: Add description for -Wsystem-headers.
317639a8
BC
7917 * cpplib.h (cpp_options): New member warn_system_headers.
7918 * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
7919 CPP_IN_SYSTEM_HEADER.
7920 * cpplib.c (do_import, do_pragma_once): Likewise.
7921 * cpperror.c (_cpp_begin_message): Test warn_system_headers
7922 and CPP_IN_SYSTEM_HEADER.
7923 * cppinit.c (handle_option): Recognize -Wsystem_headers.
7924 (print_help): Describe -Wsystem_headers.
7925 * cpplex.c (lex_line): Reorganize condition so that warnings
7926 about C++ comments in system headers can be enabled. Remove
7927 label do_line_comment.
7928
1c6d33ef
NB
7929Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net>
7930
7931 * cpplex.c (save_comment): Only store the initial '/'
7932 now.
7933 (lex_token): Combine handling of the two comment types.
b8dad04b 7934 Pass everything but the initial '/' to save_comment.
1c6d33ef 7935
7de4d004
NB
7936Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net>
7937
7938 * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
7939 _cpp_can_paste): New library-internal prototypes.
7940 * cpplex.c (dump_param_spelling, output_line_command,
7941 output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
7942 cpp_printf, cpp_output_list): Move to cppoutput.c.
7943 (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
7944 * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
7945 cppoutput.c.
7946 * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
7947 dump_param_spelling, output_line_command, cpp_scan_buffer,
7948 cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
7949 from elsewhere.
7950 * Makefile.in: Add cppoutput.c.
7951 * po/POTFILES.in: Add cppoutput.c.
7952
66db6b45
RH
79532000-09-25 Richard Henderson <rth@cygnus.com>
7954
7955 * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
7956 * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
7957 split until after reload.
7958 (rotlsi3, rotldi3): New.
7959
4b40f758
GDR
79602000-09-25 Gabriel Dos Reis <gdr@codesourcery.com>
7961
7962 * diagnostic.c (output_last_position): Define.
7963 (set_real_maximum_length): Tweek.
7964 * diagnostic.h (output_last_position): Declare.
7965
0f290768
KH
79662000-09-25 Kazu Hirata <kazu@hxi.com>
7967
7968 * config/i386/i386.c: Fix formatting.
7969
90e9ee6c
AL
79702000-09-24 Alan Lehotsky <alehotsky@cygnus.com>
7971
7972 * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
7973 UNITS_PER_WORD is small.
7974
0e00b68b
JM
79752000-09-25 Joseph S. Myers <jsm28@cam.ac.uk>
7976
7977 * c-common.c (format_char_info): Add flags2; update comments.
7978 (print_char_table, scan_char_table, time_char_table): Split some
7979 flags out into flags2.
7980 (check_format_info): Use flags2 for those flags, for identifying
7981 the initial character of a scanf scanset, and for identifying
7982 printf formats where the '0' flag is ignored with precision.
7983
0a3e1f45
HPN
79842000-09-25 Hans-Peter Nilsson <hp@axis.com>
7985
7986 Changes below marked "here" add TABs on either or both sides,
7987 covering start of line, up to any operand for all noted .*ASM.*_OP
e8638df0 7988 definitions. All callers changed.
047c1c92
HPN
7989 * tm.texi: Make documented *_ASM.*_OP:s include spacing
7990 (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
7991 BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
7992 ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
7993 ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
7994 Fix typos in description for LONG_LONG_TYPE_SIZE and
7995 FINI_SECTION_ASM_OP.
0a3e1f45
HPN
7996 * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
7997 why these defaults don't have leading spacing.
7998 * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
7999 * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8000 UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
8001 * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
21c7361e 8002 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
0a3e1f45
HPN
8003 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
8004 * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
8005 * varasm.c (ASM_STABS_OP): Here.
8006 * xcoffout.h (ASM_STABS_OP): Here.
e662a129
HPN
8007 * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8008 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8009 INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
8010 STRING_ASM_OP): Here.
8011 * config/freebsd.h (IDENT_ASM_OP): Here.
8012 * config/linux-aout.h (SET_ASM_OP): Here.
8013 * config/linux.h (SET_ASM_OP): Here.
8014 * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8015 INT_ASM_OP): Here.
8016 * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8017 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
8018 * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
8019 * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8020 INT_ASM_OP): Here.
8021 * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
8022 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
8023 INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
8024 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8025 FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
8026 * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8027 CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
8c13c7b3
HPN
8028 * config/a29k/udi.h (INT_ASM_OP): Here.
8029 * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
8030 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8031 SET_ASM_OP): Here.
8032 * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
8033 READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8034 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8035 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
8036 ASM_STABD_OP): Here.
8037 * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
8038 COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
8039 CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8040 BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
8041 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
8042 SIZE_ASM_OP, STRING_ASM_OP): Here.
8043 * config/alpha/vms.h (LINK_SECTION_ASM_OP,
8044 READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
8045 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
8046 * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
8202cda0 8047 (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
8c13c7b3
HPN
8048 * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
8049 Here.
8050 * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8051 BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
8052 * config/arm/coff.h (INT_ASM_OP): Here.
8053 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8054 * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
8055 * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
8056 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
8057 * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
8058 * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8059 ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
8060 STRING_ASM_OP): Here. Update documentation copy in comments.
4e8aa65c
HPN
8061 * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
8062 * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
8063 DATA_SECTION_ASM_OP): Here.
8064 * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
8065 Here.
8066 * config/convex/convex.h (TEXT_SECTION_ASM_OP,
8067 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8068 * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8069 BSS_SECTION_ASM_OP): Here.
8070 * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8071 BSS_SECTION_ASM_OP): Here.
8072 * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8073 Here.
8074 * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
8075 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
8076 * config/h8300/h8300.h (ASM_WORD_OP): Here.
71d48a01
HPN
8077 * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8078 BSS_SECTION_ASM_OP): Here.
8079 * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
8080 * config/i386/bsd.h (ASM_BYTE_OP): Here.
8081 * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
8082 * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
8083 * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
8084 Here.
8085 * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
8086 * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
8087 Here.
8088 * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
8089 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8090 * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
8091 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
8092 SET_ASM_OP): Here.
8093 * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
8094 * config/i386/netbsd.h (INT_ASM_OP): Here.
8095 * config/i386/openbsd.h (INT_ASM_OP): Here.
8096 * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
8097 IDENT_ASM_OP): Here.
8098 * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
8099 ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
8100 LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
8101 SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
8102 * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
8103 SHARED_BSS_SECTION_ASM_OP): Here.
8104 * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
8105 * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8106 DATA_SECTION_ASM_OP): Here.
8107 * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8108 CONST_SECTION_ASM_OP): Here.
8109 * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
8110 * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8111 BSS_SECTION_ASM_OP): Here.
de323aa1
HPN
8112 * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
8113 * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
8114 * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
8115 BSS_ASM_OP): Here, but use trailing spaces.
8116 * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8117 DATA_SECTION_ASM_OP): Here.
8118 * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
8119 Here.
8120 * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
8121 DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
8122 * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8123 TDESC_SECTION_ASM_OP): Here.
8124 * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
8125 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8126 * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8127 Here.
8128 * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8129 BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
8130 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8131 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8132 * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
8133 COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
8134 FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8135 SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
6e7b07a7
HPN
8136 * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
8137 * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
8138 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
8139 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
8140 SET_ASM_OP): Here.
8141 * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
8142 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8143 * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
8144 * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
8145 * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
8146 * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
8147 * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
8148 * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8149 GLOBAL_ASM_OP): Here.
8150 * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
8151 BSS_SECTION_ASM_OP): Here.
8152 * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
8153 * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8154 ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
8155 DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
8156 SKIP_ASM_OP): Here.
8157 * config/m68k/newsgas.h (SET_ASM_OP): Here.
8158 * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
8159 FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8160 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
8161 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
8162 SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
8163 but use trailing spaces.
8164 * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
8165 DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
8166 FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
8167 Here.
8168 * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
8169 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
8170 * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8171 CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
8172 DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8173 IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
8174 GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
8175 BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
8176 CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
8177 SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
8178 VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8179 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
8180 ASM_BYTE_OP): Here.
8181 * config/m88k/openbsd.h (SET_ASM_OP): Here.
8182 * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8183 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
78d057d8
HPN
8184 * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
8185 UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
8186 DTORS_SECTION_ASM_OP): Here.
8187 * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
8188 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8189 * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
8190 BSS_SECTION_ASM_OP): Here.
8191 * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
8192 * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
8193 * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
8194 POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
8195 CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
8196 DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
8197 * config/mips/mips.c (ABICALLS_ASM_OP): Here.
8198 * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
8199 Here.
8200 * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
8201 Here.
8202 * config/mips/osfrose.h (SET_ASM_OP): Here.
8203 * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
76bbee81
HPN
8204 * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
8205 * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
8206 * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8207 Here.
8208 * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
8209 * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
8210 * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
8211 * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
8212 * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
8213 * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8214 Here.
8215 * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8216 Here.
8217 * config/rs6000/rs6000.h (SET_ASM_OP): Here.
8218 * config/rs6000/sol2.h (ASM_STABN_OP): Here.
8219 * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
8220 Here.
471b6f1b
HPN
8221 * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
8222 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
8223 * config/sparc/linux.h (COMMON_ASM_OP): Here.
8224 * config/sparc/linux64.h (COMMON_ASM_OP,
8225 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
8226 * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
8227 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
8228 * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
8229 * config/sparc/pbd.h (ASM_INT_OP): Here.
8230 * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
8231 * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
8232 DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
8233 * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
8234 UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
8235 * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
8236 UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
8237 UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
8238 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
8239 CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8240 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
8241 EH_FRAME_SECTION_ASM_OP): Here.
8242 * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
8243 * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8244 Here.
8245 * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8246 Here.
8247 * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
8248 TCOMMON_ASM_OP): Here.
8249 * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
8250 Here.
8251 * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8252 ASM_BYTE_OP): Here.
0a3e1f45 8253
ea9ea008
RH
82542000-09-25 Richard Henderson <rth@cygnus.com>
8255
8256 * expmed.c (store_bit_field): Adjust last change to not consider
8257 any word-sized field naturally aligned.
8258
9e495700
RH
82592000-09-24 Richard Henderson <rth@cygnus.com>
8260
8261 * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
8262 TFmode unordered compares properly. Revalidate integer compare
8263 operands.
8264 (alpha_emit_setcc): New.
8265 (alpha_emit_conditional_move): Revalidate integer compare operands.
8266 * config/alpha/alpha-protos.h: Update.
8267 * config/alpha/alpha.md (cmpdi): Allow general operands.
8268 (sne): Use alpha_emit_setcc.
8269 (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
8270 (sunordered, sordered): New.
8271
2ed4af6f
RH
82722000-09-24 Richard Henderson <rth@cygnus.com>
8273
8274 * config/ia64/ia64-protos.h: Update.
8275 * config/ia64/ia64.c (call_multiple_values_operation): Remove.
8276 (ia64_expand_call): New.
8277 (ia64_expand_prologue): Emit an alloc if we need extra input
8278 registers.
8279 (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
8280 instruction if true.
8281 (struct reg_flags): Add is_sibcall.
8282 (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs.
8283 (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks
8284 for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
8285 * config/ia64/ia64.h (PREDICATE_CODES): Update.
8286 * config/ia64/ia64.md (call): Use ia64_expand_call.
8287 (call_value): Likewise.
8288 (sibcall, sibcall_value): New.
8289 (call patterns): Remove extra expanders; tidy.
8290 (sibcall_epilogue): New.
8291 (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC.
8292
e1389cac
RH
82932000-09-24 Richard Henderson <rth@cygnus.com>
8294
8295 * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
8296
fd442cef
RH
8297 * sibcall.c (skip_pic_restore): New.
8298 (identify_call_return_value): Use it.
8299
c06aa51e
MM
83002000-09-24 Mark Mitchell <mark@codesourcery.com>
8301
8302 * c-tree.texi: Moved here from cp/ir.texi. Documented nested
8303 functions. Generalize to handle both C and C++.
8304 * Makefile.in (c-tree.info): New target.
8305 (info): Add c-tree.info.
b8dad04b 8306
bd5dab53
RK
8307Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8308
8309 * expr.c (store_field): If BITSIZE is negative, use size of type.
8310 (expand_expr, case COMPONENT_EXPR): Likewise.
8311
838f313b
NB
8312Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net>
8313
8314 * cpplex.c: Update TODO comment.
8315 * cpplib.c (do_error, do_warning): Merge common code of
8316 do_error and do_warning into do_diagnostic. Use it.
8317 (do_diagnostic): New function.
8318 * cpplib.h: Fix comment typo.
8319
c5412f06
JM
83202000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
8321
8322 * c-common.c (check_format_info): Warn for a wide character string
8323 used as a non-wide format argument.
8324
1c44c45d
JM
83252000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
8326
8327 * builtins.def (BUILT_IN_LLABS): Add.
8328 * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
8329 * c-common.c (c_common_nodes_builtins): Create builtin functions
8330 __builtin_llabs, and plain llabs unless no_nonansi_builtins
8331 outside of C99 mode.
8332 (expand_tree_builtin): Handle BUILT_IN_LLABS.
8333
cbcff6df
NB
8334Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net>
8335
8336 * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
8337 CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
8338 * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
8339 _cpp_free_toklist): No need to worry about extra dummy token
8340 at the start of token lists any more.
8341 (trigraph_ok): Only warn outside comments.
8342 (skip_block_comment): Set and clear lexing_comment.
8343 (skip_line_comment): Take a cpp_reader not cpp_buffer.
8344 Set and clear lexing_comment.
8345 (parse_number): Handle leading '.' indicated by pfile->seen_dot.
8346 (check_long_token): Delete.
8347 (lex_percent, lex_dot): New subroutines of lex_token to
8348 handle lexing of '.' and '%' without lookback.
8349 (lex_token): Use lex_dot and lex_percent.
8350 (lex_line): Don't check for LIST_OFFSET.
8351 (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
8352 * cpplib.c (_cpp_parse_assertion): Similarly.
8353 (cpp_push_buffer): Initialize extra_char.
8354 * cpplib.h (LIST_OFFSET): Delete.
8355 (struct cpp_buffer): New member extra_char.
8356 (struct lexer_state): New members lexing_comment and seen_dot.
8357
2abdcaee
JM
83582000-09-23 Jason Merrill <jason@redhat.com>
8359
8360 * config/rs6000/x-aix41 (CLIB): Define here.
8361 * config/rs6000/t-aix43: Not here.
8362 * config/rs6000/t-aix41: Or here. Remove.
8363 * configure.in: Don't use it.
8364
981d4858
JM
83652000-09-22 Jason Merrill <jason@redhat.com>
8366
2abdcaee
JM
8367 * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
8368 * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
8369 * config.in: Regenerate.
8370
981d4858
JM
8371 * configure.in: Fix checks for assembler features when using a
8372 one-tree assembler that has not yet been built.
8373 Fix --disable-threads.
8374
afa223c6
GK
83752000-09-19 Geoff Keating <geoffk@cygnus.com>
8376
8377 * stmt.c (expand_asm_operands): Allow # in constraints.
8378
a3a834aa
JM
83792000-09-22 Jason Merrill <jason@redhat.com>
8380
8381 * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
8382
8383 * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
8384 function-local names.
8385
18424ae1
BL
83862000-09-22 Brad Lucier <lucier@math.purdue.edu>
8387 Mark Mitchell <mark@codesourcery.com>
8388
b8dad04b
ZW
8389 * toplev.c (warn_disabled_optimization): Declare new warning flag.
8390 * flags.h (warn_disabled_optimization): Add it here.
8391 * gcse.c (gcse_main): Add warning when disabled.
8392 * invoke.texi: Document -Wdisabled-optimization.
18424ae1 8393
1bfb5f8f
JM
83942000-09-21 Jason Merrill <jason@redhat.com>
8395
8396 * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
8397
8398 * dwarf2out.c (tree_add_const_value_attribute): New fn.
8399 (gen_variable_die): Call it for non-definitions.
8400
8401 * dwarf2out.c (die_struct): Add die_mark field.
8402 (mark_dies, unmark_dies): New fns.
8403 (clear_die_sizes): Remove.
8404 (print_die): Check die_symbol rather than die_offset.
8405 (build_abbrev_table, output_pubnames, output_aranges): Check
8406 die_mark rather than die_offset.
8407 (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
8408 Call mark_dies.
8409
2047e26f
NB
8410Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net>
8411
8412 * cppfiles.c (lookup_include_file): Rename to open_file.
8413 Always create a splay tree value, even on syscall failures.
8414 Negative entries indicated by fd == -2.
8415 Re-open files closed in the meantime.
8416 (_cpp_fake_include): Create a negative splay tree entry.
8417 (find_include_file, cpp_read_file): Update for function name
8418 change.
8419 * gcc.gd/cpp/mi4.c: Testcase.
8420
f27cd94d
NC
84212000-09-21 Nick Clifton <nickc@redhat.com>
8422
2359a5e1
NC
8423 * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
8424 ARM and THUMB modes.
8425
f27cd94d 8426 * config/mcore/mcore.c: Fix compile time warnings.
b8dad04b 8427 * config/mcore/mcore-protos.h: Fix compile time warnings.
f27cd94d 8428
7373064a
DA
84292000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
8430
8431 * configure.in: Correct test of gcc_cv_glibc.
8432 * configure: Rebuilt.
8433 * config.in: Rebuilt.
8434
07328167
KG
84352000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8436
8437 * builtins.c (expand_builtin_fputs): Also expand when length!=1.
8438 (expand_builtin): Handle BUILT_IN_FWRITE.
8439
8440 * builtins.def (BUILT_IN_FWRITE): New entry.
8441
8442 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
8443
5fa7c8ce
RK
8444Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8445
dc36ec2c
RK
8446 * gcc.c (modify_target): New variable and struct.
8447 (process_command): Handle MODIFY_TARGET_NAME.
8448 * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
8449 * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
8450
5fa7c8ce
RK
8451 * c-decl.c (finish_decl): Add else's to avoid referencing
8452 TYPE_DOMAIN of an ERROR_MARK.
8453
155b14a8
DC
8454Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru>
8455
8456 * config/avr/avr.c (adjust_insn_length): Adjust lengths of
8457 `reload_in*' insns.
8458
84592000-09-19 Marek Michalkiewicz <marekm@linux.org.pl>
8460
8461 * config/avr/avr.md (neghi2): Add alternative for input and output
8462 operands in different registers, as in negsi2.
8463 (*negsi2): Remove '*' from the name. Use "movw" if available.
8464
fd09c61f
JW
84652000-09-19 Jim Wilson <wilson@cygnus.com>
8466
8467 * config/ia64/crtbegin.asm (__dso_handle): Delete use of
8468 HAVE_GAS_HIDDEN macro.
8469
7eea5554
NB
8470Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net>
8471
8472 * cpplex.c (lex_line): Drop the EOF token for unknown
8473 directives in assembler.
8474
a473fe45
DE
84752000-09-19 David Edelsohn <edelsohn@gnu.org>
8476
8477 * configure.in: Allow enable_threads_flag value of "aix". Define
fd60bf96 8478 thread_file as "aix" for AIX 4.3 and above.
a473fe45 8479 * configure: Regenerated.
fd60bf96
DE
8480
8481 * gthr-aix.h: New file.
8482
a473fe45
DE
8483 * rs6000/t-aix43: Replace soft-float multilib with pthread.
8484 Remove 403 processor multilib match. Fix rios2 processor multilib
8485 match.
8486
fd60bf96
DE
8487 * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
8488 to return to appropriate csect.
8489
ad3fd36f
KG
84902000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8491
8492 * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
8493 functions.
8494 (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
8495 (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
8496 BUILT_IN_PRINTF.
8497
8498 * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
8499 New entries.
8500
8501 * c-common.c (init_function_format_info): Handle __builtin_printf.
8502 Set `check_function_format_ptr'.
8503 (c_common_nodes_and_builtins): Set `puts_ftype' and
8504 `printf_ftype'. Declare __builtin_putchar, __builtin_puts,
8505 __builtin_printf and printf.
8506
8507 * tree.c, tree.h (check_function_format_ptr): Declare.
8508
6f3d20a0
NB
8509Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net>
8510
b8dad04b 8511 * cppfiles.c (read_include_file): Take no special action for
6f3d20a0
NB
8512 zero-length files.
8513
b4f75276
BS
85142000-09-19 Bernd Schmidt <bernds@redhat.co.uk>
8515
afc6898e
BS
8516 * final.c (insn_current_reference_address): Use INSN_SHUID of seq
8517 rather than that of branch.
8518 (shorten_branches): Don't increment insn_current_address twice.
8519
b4f75276
BS
8520 Undo most of the Wed Jan 27 23:39:53 1999 patch:
8521 * loop.h (struct induction): Delete members derived, ix and last_use.
8522 (struct loop_ivs): Delete members first_increment_giv and
8523 last_increment_giv.
8524 * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
8525 recombine_givs): Delete functions.
8526 (find_and_verify_loops): Don't initialize cont_dominator.
8527 (strength_reduce): Lose code to try to find bivs that can be
8528 expressed as givs of another biv, and to convert biv increments
8529 into givs.
8530 Lose loop_scan_start variable, always use loop->scan_start.
8531 Don't call recombine_givs. Don't handle derived givs.
8532 (record_giv): Don't initialize derived and last_use fields.
8533 (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
8534 givs.
8535 * unroll.c (derived_regs): Delete static variable.
8536 (unroll_loop): Don't initialize it.
8537 (copy_loop_body): Lose code to handle derived givs.
8538 (find_splittable_givs): Don't check for givs made from biv
8539 increments.
8540 Don't set derived_regs.
8541
0f805606
BS
8542 Fix misapplied earlier patch:
8543 * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference
8544 to fpul.
8545 (floatsisf2): Generate floatsisf_ie by default.
8546 (floatsisf_i4): Conditional on TARGET_SH4.
8547
8548 (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
8549 predicate for the expanders.
8550
8aa0e194
RH
85512000-09-19 Richard Henderson <rth@cygnus.com>
8552
0d97fd9e
RH
8553 * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
8554 in addition to pentium and pentiumpro symbols.
8555 (CPP_CPU_DEFAULT_SPEC): Likewise.
8556
39b726dd
RH
8557 * c-typeck.c (c_expand_asm_operands): Restore the output tree
8558 after expanding.
8559
9790cefd
RH
8560 * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
8561 if the tree has side effects.
8562 (warn_if_unused_value): Do not warn about void constructs.
8563
8e5a0fcb
RH
8564 * c-decl.c (poplevel): Invoke warn_about_unused_variables.
8565
8aa0e194
RH
8566 * unroll.c (copy_loop_body): Update LABEL_NUSES before
8567 calling invert_jump.
8568
62f7f1f5
GK
85692000-09-18 Geoff Keating <geoffk@cygnus.com>
8570
8571 * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
8572 into anything.
8573
3f80e6ac
KG
85742000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8575
8576 * Makefile.in (c-common.o): Depend on diagnostic.h.
8577
8578 * c-common.c: Include diagnostic.h.
8579 (tfaff): Delete.
8580 (status_warning): New function.
8581 (check_format_info, maybe_read_dollar_number, check_format_types,
8582 finish_dollar_format_checking, check_function_format): Accept a
8583 `status' parameter. All callers changed.
8584
8585 * c-common.h (check_function_format): Accept a `status' parameter.
8586
8587 * c-typeck.c: Update call to `check_function_format'.
8588
cfbd829c
RH
85892000-09-18 Richard Henderson <rth@cygnus.com>
8590
8591 * c-decl.c (c_expand_body): Call mark_varargs before
8592 expand_function_start.
8593
c21d86e1
GK
85942000-09-18 Geoff Keating <geoffk@cygnus.com>
8595
8596 * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
8597 * config/rs6000/eabi-ci.asm: Likewise.
8598
f0417c82
RH
85992000-09-18 Richard Henderson <rth@cygnus.com>
8600
8601 * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
8602 for BImode.
8603
226ed43f
JW
86042000-09-18 Jim Wilson <wilson@cygnus.com>
8605
5c3c320e
JW
8606 * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
8607 before passing it to fold_rtx_mult_add.
8608
ec919c98
JW
8609 * unroll.c (final_giv_value): Pass increment through
8610 extend_value_for_giv before passing it to emit_iv_add_mult.
8611
226ed43f
JW
8612 * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
8613 paradoxical subreg, then directly substitute the replacement and
8614 return.
8615
b542c0fb
NB
8616Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net>
8617
b4f75276 8618 * cpp.texi: Update documentation, including some clarifications,
b542c0fb
NB
8619 the treatment of various newline combinations, and space between
8620 backslash and newline.
8621
800a6a0c
R
8622Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8623
8624 * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
8625 Replace ASM_OUTPUT_LABELREF with assemble_name.
8626
50ceefc2
R
8627Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8628
8629 * sh.c (addsubcosts): CONST is not cheap.
8630 (find_barrier): For Sh1, take alignment after jumps into account.
8631
659e47fb
AH
86322000-09-15 Andrew Haley <aph@redhat.com>
8633
8634 * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
8635 remove all SETs of SUBREGs of hard registers.
7373064a 8636 * function.c (purge_hard_subreg_sets): New function.
659e47fb
AH
8637 (purge_single_hard_subreg_set): New function.
8638 * rtl.h: (purge_hard_subreg_sets): New function.
8639
f2f90c63
RH
86402000-09-18 Richard Henderson <rth@cygnus.com>
8641
8642 * config/ia64/ia64-protos.h: Update.
8643 * config/ia64/ia64.c (signed_inequality_operator): New.
8644 (ia64_expand_compare): New.
8645 (ia64_register_move_cost): Handle PR_REGS moves.
8646 (ia64_secondary_reload_class): Require a GR when moving to a PR.
8647 (struct reg_write_state): Add written_by_and/or.
8648 (struct reg_flags): Add is_and/or.
8649 (rws_update): Set them.
8650 (rws_access_regno): Test them to allow parallel comparisons.
8651 (rtx_needs_barrier): Recognize parallel comparisons.
8652 (emit_insn_group_barriers): Set prev_insn after a call stop bit.
8653 Call recog_memoized; ignore pred_rel_mutex.
8654 (emit_predicate_relation_info): Don't call find_basic_blocks here.
8655 (ia64_reorg): Do it here instead.
8656 * config/ia64/ia64.h: s/CCmode/BImode/g
8657 (MODES_TIEABLE_P): Don't tie BImode.
8658 (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
8659 (CONST_COSTS): Pick sensible values for CONST_INT based on context.
8660 (RTX_COSTS): Make multiply 4 insns.
8661 (MEMORY_MOVE_COST): New.
8662 (PREDICATE_CODES): Update.
8663 * config/ia64/ia64.md: s/CCmode/BImode/g
8664 (movcci, movbi): New.
8665 (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
8666 (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
8667 (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
8668 (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
8669 (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
8670 (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
8671 (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
8672 (mulsi, muldi): Use xmpy not xma.
8673 (cmpbi): New.
8674 (movcc, movcc_internal): Remove.
8675 (branch expanders): Use ia64_expand_compare.
8676 (setcc expanders): Likewise.
8677 (cmov insns): Use move_operand and ia64_move_ok.
8678 (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the
8679 scheduler from moving it past a use.
8680 * config/ia64/build.hacks: Remove.
8681
0d9f234d
NB
8682Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net>
8683
8684 * cpphash.h (HASHSTEP): Take character rather than pointer
8685 to character.
8686 (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
8687
8688 * cpphash.c (cpp_loookup): Update for new HASHSTEP.
8689
8690 * cpplex.c (auto_expand_name_space, trigraph_replace,
8691 backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
8692 IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
8693 BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
8694 KNOWN_DIRECTIVE): Delete.
8695
8696 (handle_newline, check_long_token, skip_escaped_newlines,
8697 unterminated): New functions.
8698 (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
8699
8700 (parse_identifier): Was parse_name, new implementation.
8701 (skip_line_comment, skip_block_comment, skip_whitespace,
8702 parse_number, parse_string, trigraph_ok, save_comment,
8703 adjust_column, _cpp_get_line): New implementations.
8704
8705 (lex_token): New function. Lexes a token at a time, looking
8706 forwards. Contains most of the guts of the old lex_line.
8707 (lex_line): New implementation, using lex_token to obtain
8708 individual tokens.
8709 (cpp_scan_buffer): Use the token's line, not the list's line.
8710
8711 * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
8712 New implementations.
8713 (do_assert): Don't bother setting the answer's list's line.
8714 (cpp_push_buffer): Initialise new pfile and read_ahead members
8715 of struct cpp_buffer.
8716
8717 * cpplib.h (cppchar_t): New typedef.
8718 (struct cpp_buffer): read_ahead, pfile and col_adjust are
8719 new members.
8720 (struct lexer_state): New structure that determines the state
8721 and behaviour of the lexer.
8722 (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
8723 (struct cpp_reader): New member "state". Rename
8724 multiline_string_line and multiline_string_column. Delete
8725 col_adjust, in_lex_line members.
8726 (CPP_BUF_COLUMN): Update.
8727
a191f0ee
RH
87282000-09-18 Richard Henderson <rth@cygnus.com>
8729
9f8e169e
RH
8730 * combine.c (simplify_comparison): Shift a NOT out of a single
8731 bit test.
8732
1f3f36d1
RH
8733 * combine.c (if_then_else_cond): Canonicalize BImode true to
8734 STORE_FLAG_VALUE.
8735 * explow.c (trunc_int_for_mode): Likewise.
8736
5bd60ce6
RH
8737 * combine.c (combine_simplify_rtx): Use gen_unary to distribute
8738 the NOT for De Morgan's rule.
8739 * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
8740 of a comparison to the reverse comparison.
8741
d340408c
RH
8742 * combine.c (try_combine): Allow split to create a single insn.
8743
a191f0ee
RH
8744 * machmode.def: Add BImode. Add a column for bitsize.
8745 * machmode.h (DEF_MACHMODE): Adjust for extra column.
8746 (GET_MODE_BITSIZE): Use it.
8747 * rtl.c (DEF_MACHMODE): Adjust for extra column.
8748 (mode_bitsize): New.
8749 (mode_mask_array): Use bitsize.
8750 * combine.c (combine_simplify_rtx): Require inner and outer
8751 modes to match on nonzero_bits optimizations.
8752
5d77a50c
BS
87532000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8754
8755 * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
8756 its entry in spill_reg_store.
0fb8cb90 8757 * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
2e361e59
BS
8758 * sh.c (reg_no_subreg_operand): New function.
8759 * sh-protos.h (reg_no_subreg_operand): Declare it.
8760 * sh.h (PREDICATE_CODES): Add it.
8761 * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
8762 input operand that needs to be in fpul.
8763 (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
42d5d0f1
BS
8764 * sh.c (find_barrier): Take into account that machine_dependent_reorg
8765 might add new insns.
5d77a50c 8766
55eec660
AO
87672000-09-18 Alexandre Oliva <aoliva@redhat.com>
8768
40fc375d
AO
8769 * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
8770 MAYBE_DEAD.
8771 (sh_expand_epilogue): Take the PIC register into account when
8772 computing the frame size.
8773
55eec660
AO
8774 * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
8775 * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
8776 LABEL_REFs with a PIC-safe unspec.
8777
fc6df7e1
JM
87782000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8779
8780 * c-common.c (check_format_info): Properly save the argument
8781 number and parameter for $ operand number formats in case width
8782 and precision arguments are also used. Allow printf width and
8783 precision arguments to have operand numbers even if none was
8784 specified for the main format, since this is OK for %*.*m. Only
8785 object to missing $ operand number if the format used requires an
8786 argument.
8787
effa5541
JM
87882000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8789
8790 * c-common.c (format_char_info): Add 'W' flag to comment.
8791 (print_char_table, scan_char_table): Use it.
8792 (check_format_info): Use the 'W' flag to determine whether a
8793 format argument is written into.
8794
99303ae4
JM
87952000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8796
8797 * c-common.c (check_format_types): Reorganise and clean up,
8798 checking earlier for ERROR_MARKs and making cur_type into its
8799 TYPE_MAIN_VARIANT where convenient.
8800
9231abf2
JM
88012000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8802
8803 * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
8804
cf67d231
BS
88052000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8806
8807 * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
8808
bd793c65
BS
8809 * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
8810 * i386.c (struct builtin_description): New.
8811 (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
8812 (mmx_reg_operand): Declare MODE arg as unused.
8813 (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
8814 ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
8815 ix86_expand_binop_builtin, ix86_expand_store_builtin,
8816 ix86_init_builtins, ix86_expand_builtin): New functions.
8817 * i386.h (ix86_builtins): New enumeration.
8818 (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
8819 * i386.md (attr length_immediate): 0 for mmx/sse types.
8820 (attr prefix_0f): 1 for mmx/sse types.
8821 (setcc_2): Remove "*" so we get gen_setcc_2.
8822 (emms): Account for changed register numbering. Set "memory" attr
8823 to unknown.
8824 (sfence): Set "memory" attr to unknown.
8825
4070d885
AJ
88262000-09-18 Andreas Jaeger <aj@suse.de>
8827
8828 * configure.in: Define _GNU_SOURCE only when using the GNU C
8829 Library.
a191f0ee
RH
8830 * configure: Regenerated.
8831 * config.in: Regenerated.
4070d885 8832
2ac86f90
MM
88332000-09-17 Mark Mitchell <mark@codesourcery.com>
8834
31a1fdad
MM
8835 * cppinit.c (cpp_init): Don't use ANSI prototypes.
8836 * flow.c (flow_dump_loop): Likewise.
8837 (flow_loops_dump): Likewise.
8838
2ac86f90
MM
8839 * c-typeck.c (c_start_case): Fix typo.
8840
60e9d01c
JM
88412000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8842
8843 * c-decl.c (grokdeclarator): Don't give a warning about defaulting
8844 to int for plain complex which defaults to complex double. Do
8845 warn about defaulting to complex double if pedantic. Warn about
8846 complex integer types if pedantic. Warn about complex types if
8847 pedantic and not in C99 mode.
8848 * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
8849 for complex conjugation.
8850
bc5006c7
JM
88512000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8852
8853 * contrib.texi: Update my entry.
8854
7e3bd81e
DC
8855Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru>
8856
23cb1766
RK
8857 * config/avr/avr.md (mcu_enhanced): New attribute.
8858 (mcu_mega): Likewise.
8859 (extendhisi2): Use mcu_enhanced.
8860 (zero_extendhisi2): Likewise.
8861 (call_insn): Use mcu_enhanced and mcu_mega.
8862 (call_value_insn): Likewise.
8863 (*sbrx_branch): Use mcu_mega.
8864 (*sbrx_and_branchsi): Likewise.
8865 (*sbrx_and_branchhi): Likewise.
8866 (*tablejump_lib): Likewise.
7e3bd81e 8867
6a51f4a0
RK
8868Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8869
ec569656
RK
8870 * alias.c (true_dependence): Allow non-unchanging read to conflict
8871 with unchanging write.
8872
23cb1766
RK
8873 * expr.c (store_constructor_field): Accept ALIAS_SET arg.
8874 (store_constructor): Pass alias_set to it.
8875
a52fb89b
RK
8876 * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
8877 TYPE_MAIN_VARIANT of ERROR_MARK.
8878 * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
8879
6a51f4a0
RK
8880 * simplify-rtx.c (simplify_unary_operation): Add cases
8881 FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
8882
ebb1b59a
BS
88832000-09-17 Bernd Schmidt <bernds@redhat.co.uk>
8884
a191f0ee 8885 * expr.h (emit_library_call, emit_library_call_value): Delete
ebb1b59a
BS
8886 declarations.
8887 * rtl.h (enum libcall_type): New.
8888 (emit_library_call, emit_library_call_value): Change fn_type arg to
a191f0ee 8889 be of type enum libcall_type.
ebb1b59a
BS
8890 * calls.c: Likewise for the function definitions. Several callers
8891 throughout changed to use the new enumeration appropriately.
8892 (emit_library_call_value_1): Likewise. Put back code to make libcall
a191f0ee 8893 blocks of equal form, but only use it for the two new higher
ebb1b59a
BS
8894 enumeration values.
8895
8f17b5c5
MM
88962000-09-16 Mark Mitchell <mark@codesourcery.com>
8897
8898 Convert the C front-end to use function-at-a-time mode.
8899 * c-common.h: Include splay-tree.h.
8900 (C_DECLARED_LABEL_FLAG): New macro.
8901 (struct language_function): Add x_scope_stmt_stack and
8902 x_function_name_declared_p.
8903 (RECHAIN_STMTS): Move definition.
8904 (lang_statment_code_p): Likewise.
8905 (lang_expand_stmt): Likewise.
8906 (lang_expand_decl_stmt): New variable.
8907 (lang_expand_function_end): Likewise.
8908 (current_scope_stmt_stack): New function.
8909 (add_decl_stmt): Likewise.
8910 (add_scope_stmt): Likewise.
8911 (mark_stmt_tree): Likewise.
8912 (struct c_lang_decl): New structure.
8913 (DECL_SAVED_TREE): Define.
8914 (c_mark_lang_decl): New function.
8915 (c_expand_start_cond): Change prototype.
8916 (c_finish_then): New function.
8917 (c_finish_else): Likewise.
8918 (current_function_name_declared): Remove.
8919 (set_current_function_name_declared): Likewise.
8920 (mark_c_language_function): Declare.
8921 (case_compare): Likewise.
8922 (c_add_case_label): Likewise.
8923 (c_expand_expr): Likewise.
8924 (c_safe_from_p): Likewise.
8925 * c-common.c (lang_expand_function_end): New variable.
8926 (struct if_elt): Add if_stmt.
8927 (c_expand_start_cond): Add the if-statement to the statement-tree,
8928 rather than generating RTL.
8929 (c_finish_then): New function.
8930 (c_expand_start_else): Don't generate RTL.
8931 (c_finish_else): New function.
8932 (c_expand_expr_stmt): Don't generate RTL.
8933 (statement_code_p): Add SCOPE_STMT.
8934 (case_compare): New function.
8935 (c_add_case_label): Likewise.
8936 (mark_stmt_tree): Likewise.
8937 (c_mark_lang_decl): Likewise.
8938 (mark_c_language_function): Likewise.
8939 (c_expand_expr): Likewise.
8940 (c_safe_from_p): Likewise.
8941 * c-decl.c (c_stmt_tree): New variable
8942 (c_scope_stmt_stack): Likewise.
8943 (c_function_name_declared_p): Likewise.
8944 (lang_expand_expr_stmt): Remove.
8945 (poplevel): Don't call output_inline_function for nested
8946 functions.
8947 (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
8948 `extern' function.
8949 (redeclaration_error_message): Change means of computing whether
8950 or not a function is nested.
8951 (lookup_label): Don't call label_rtx.
8952 (init_decl_processing): Add more GC roots.
8953 (start_decl): Add DECL_STMTs to the statement-tree, rather than
8954 calling rest_of_decl_compilation.
8955 (finish_decl): Don't call expand_decl.
8956 (store_parm_decls): Begin the statement-tree, but don't generate
8957 RTL.
8958 (finish_function): Tie off the statement-tree. Call c_expand_body
8959 if appropriate.
8960 (c_expand_body): New function.
8961 (push_c_function_context): Save more information.
8962 (pop_c_function_contxt): Likewise.
8963 (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
8964 (lang_mark_tree): Mark it.
8965 (current_stmt_tree): Adjust.
8966 (current_scope_stmt_stack): New function.
8967 (do_case): Remove.
8968 (set_current_name_declared): Likewise.
8969 (c_begin_compound_stmt): Define.
8970 (c_expand_decl_stmt): Likewise.
8971 * c-lang.c: Include rtl.h and expr.h.
8972 (lang_init): Set more language-specific hooks.
8973 * c-lex.c: Include expr.h.
8974 * c-parse.in: Changes throughout to add statements to the
8975 statement-tree, rather than generating RTL after every statement.
8976 * c-semantics.c (lang_expand_decl_stmt): Define.
8977 (add_decl_stmt): New function.
8978 (add_scope_stmt): Likewise.
8979 (finish_stmt_tree): Tweak.
8980 (genrtl_expr_stmt): Likewise.
8981 (genrtl_decl_stmt): Handle local labels, and call
8982 lang_expand_decl_stmt if required.
8983 (genrtl_for_stmt): Fix line-number handling.
8984 (genrtl_case_label): Handle cleanups.
8985 (genrtl_asm_stmt): Don't call combine_strings.
8986 (genrtl_compound_stmt): Simplify.
8987 (expand_stmt): Handle SCOPE_STMTs.
8988 * c-tree.h (struct lang_decl): New structure.
8989 (C_DECLARED_LABEL_FLAG): Remove.
8990 (c_begin_compound_stmt): Declare.
8991 (c_expand_decl_stmt): Likewise.
8992 (c_expand_start_case): Rename to c_start_case.
8993 (c_finish_case): New function.
8994 * c-typeck.c (start_init): Tweak setting of
8995 constructor_incremental.
8996 (c_expand_asm_operands): Tweak error-handling. Add to the
8997 statement-tree.
8998 (c_expand_return): Add to the statement-tree.
8999 (c_expand_start_case): Rename to ...
9000 (c_start_case): ... this.
9001 (struct c_switch): New type.
9002 (switch_stack): New variable.
9003 (do_case): Simplify.
9004 (c_finish_case): New function.
9005 * dependence.c: Include expr.h.
9006 (enum dependence_type): Change spelling of enumerals.
9007 (check_node_dependence): Adjust.
9008 * expr.h (lang_safe_from_p): Declare.
9009 (safe_from_p): Likewise.
9010 * expr.c (lang_safe_from_p): New variable.
9011 (safe_from_p): Give it external linkage. Use lang_safe_from_p.
9012 * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
9013 * toplev.c (rest_of_decl_compilation): Robustify.
9014 * tree.c (contains_placeholder_p): Likewise.
9015 * Makefile.in: Update dependencies.
9016 * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
9017 * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
9018 (objc_expand_function_end): New function.
9019 (finish_method_def): Use it.
9020 (init_objc): Initialize more language-specific hooks.
9021 * objc/Make-lang.in: Update dependencies.
7373064a 9022
4797e955
GK
90232000-09-16 Geoffrey Keating <geoffk@cygnus.com>
9024
9025 * configure.in: Define macros that affect features before
9026 testing for features. Don't define _XOPEN_SOURCE.
9027 * configure: Regenerated.
9028 * config.in: Regenerated.
9029
ae0fb1b9
JW
9030Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com)
9031
9032 * rtlanal.c (rtx_varies_p): Volatile asms vary.
9033 (rtx_unstable_p): Restructure code. Volatile asms
9034 are unstable.
9035
5748b2cb 9036Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
ae0f4dee 9037
87c31d6b
RK
9038 * function.h (no_debugging_symbols): New field.
9039 * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
9040 Initialize no_debugging_symbols.
9041 (output_inline_function): Save and restore write_symbols and set from
9042 no_debugging_symbols.
9043 * toplev.c (rest_of_compilation): Call save_for_inline.
9044 * tree.h: Update comment.
7373064a 9045
5748b2cb
RK
9046 * stor-layout.c (place_field): Don't do anything if field or
9047 its type are ERROR_MARK.
9048
9049Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net>
9050
9051 * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
9052 (read_include_file): Ensure inc->mmaped is initialized.
ae0f4dee 9053
6f84c9bd
RH
90542000-09-16 Richard Henderson <rth@cygnus.com>
9055
9056 * cppiles.c (purge_cache): Use PTR not caddr_t.
9057
50c57e7b
HPN
90582000-09-16 Hans-Peter Nilsson <hp@axis.com>
9059
9060 * gcc.c: In description for %{<S}, say the option removed is -S.
9061 * invoke.texi (Spec Files): Ditto.
9062
dd745546
AJ
90632000-09-16 Andreas Jaeger <aj@suse.de>
9064
9065 * configure.in: Always define _GNU_SOURCE to make interfaces
9066 visible that were hidden by only defining _GNU_SOURCE.
9067 * configure: Regenerated.
9068
08ebc1c5
NB
9069Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net>
9070
9071 * cpplex.c (push_macro_context): Set an argument's level after
9072 calling parse_args. We could loop infinitely otherwise.
9073
16abe34a
TT
90742000-09-15 Tom Tromey <tromey@cygnus.com>
9075
9076 * configure, config.in: Rebuilt.
9077 * configure.in: Check for iconv.h. Define _XOPEN_SOURCE.
9078
61c16b10
GM
90792000-09-15 Greg McGary <greg@mcgary.org>
9080
9081 * cppmacro.c (check_trad_stringification): Check token
9082 text pointers against limit before dereferencing.
9083
6a357625
JM
90842000-09-15 Joseph S. Myers <jsm28@cam.ac.uk>
9085
9086 * c-common.c (format_wanted_type): New structure.
9087 (check_format_types): New function.
9088 (check_format_info): Pass all checking of types of format
9089 arguments, including width and precision arguments, to this new
9090 function.
9091
6a1d1088
GP
90922000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9093
9094 * BUGS: Remove file.
9095
a3b815cb
JJ
90962000-09-15 Jakub Jelinek <jakub@redhat.com>
9097
54f5c4b0
JJ
9098 * config/alpha/alpha.c (override_options): ev6 cache latencies
9099 from Richard Henderson. Don't allow -mmemory-latency=L0.
9100
a3b815cb
JJ
9101 * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
9102 (TARGET_OPTIONS): Add tune=.
9103 (alpha_tune_string): Declare.
9104 * config/alpha/alpha.c (override_options): Add cpu_table.
9105 Use alpha_cpu_string first to set both alpha_cpu and target_flags
9106 and then alpha_tune_string to set alpha_cpu only.
9107 Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
9108 * config/alpha/elf.h (ASM_FILE_START): Likewise.
9109 * config/alpha/osf.h (ASM_FILE_START): Likewise.
9110 * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
9111
9076b9c1
JH
9112Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
9113
9114 * i386-protos.h (no_comparison_operator, uno_comparison_operator):
9115 Remove.
9116 (ix86_comparison_operator, ix86_cc_mode): Declare
9117 * i386.h (CCGC, CCGCO): New modes.
9118 (SELECT_CC_MODE): Move offline to ....
9119 * i386.c (ix86_cc_mode): .... here; use new modes.
9120 (ix86_comparison_operator): New.
9121 (fcmov_comparison_operator): Ensure proper mode.
9122 (put_condition_mode): More sanity checking.
9123 (ix86_match_ccmode): Handle new modes.
9124 (ix86_expand_fp_compare): GEU requires CCmode.
9125 (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
9126 doing it by hand.
9127 * i386.md (cmp?i_ccz_1): Remove
9128 (cmp?i_ccno_1): Use ix86_match_ccmode.
9129 (cmp?i_minus_1): New.
9130 (cmpsi_1): New expander.
9131 (cmpqi_ext_1): Use match_ccmode
9132 (cmpqi_ext_3): New expander.
9133 (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
9134 (cmpqi_ext_4): Use match_ccmode.
9135 (add?i_?): Use match_ccmode.
9136 (add?i_6): New.
9137 (test?i_ccz_1): Remove
9138 (test?i_1): New.
9139 (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
9140 (testqi_ext_0): Use ix86_match_ccmode.
9141 (*xorqi_cc_ext_1): Use ix86_match_ccmode.
9142 (xorqi_cc_ext_1): New expander.
9143 (shift patterns): Use CCGOCmode for all shifts except for sar.
9144 (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
9145 (setcc_3, jcc_3, miv?icc_c): Remove.
9146
3724ec07
WC
91472000-09-15 Will Cohen <wcohen@redhat.com>
9148
9149 * dwarf2out.c (add_const_value_attribute): Changed array into a
9150 xmalloced object, so it exists after function exit.
9151 (free_AT): Added case for dw_val_class_float to free allocated
9152 memory.
9153
182a4620
KH
91542000-09-15 Kazu Hirata <kazu@hxi.com>
9155
9156 * config/i386/i386.md: Fix a comment typo.
d25a45d4 9157 * gcc.c: Fix formatting.
182a4620 9158
aff2c2d3
BS
91592000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
9160
9161 * optabs.c (emit_libcall_block): If target is a user variable,
9162 copy to a temporary first.
642dfa8b
BS
9163 * expr.c (convert_move): When generating a libcall, make a libcall
9164 block.
188c5e6c
BS
9165 * calls.c (emit_library_call_value_1): Don't create a libcall
9166 sequence here; our caller will in most cases do it.
aff2c2d3 9167
0c4c9b16
BS
9168 * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
9169 MACH into FPUL.
9170 (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
9171 * sh.md (reload_outsf): Generate recognizable patterns for
9172 TARGET_SH3E.
9173 (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
9174 fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
9175 fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
9176 truncdfsf2_i4): Change not to use explicit references to fpul.
9177 (floatsisf2_ie): Remove USE of fpscr.
9178 (floatsisf2): Change default expansion to match this.
9179 (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
9180 unused patterns.
9181
308ecea0
RH
91822000-09-15 Richard Henderson <rth@cygnus.com>
9183
9184 * expmed.c (store_bit_field): Consider naturally aligned
9185 memory for direct reference.
9186
e01acbb1
RH
91872000-09-15 Richard Henderson <rth@cygnus.com>
9188
9189 * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
9190 AND addresses into alias set 0.
9191 (alpha_expand_unaligned_store): Likewise.
9192 (alpha_expand_unaligned_load_words): Likewise.
9193 (alpha_expand_unaligned_store_words): Likewise.
9194
c363a0c0
BS
91952000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
9196
9197 * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
9198 * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
9199 is defined.
dd193c79
BS
9200 * config/mips/mips.c (mips_va_arg): Args passed by reference have a
9201 rsize of UNITS_PER_WORD.
c363a0c0 9202
ff94c747
NB
9203Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
9204
9205 * cpplex.c (ON_REST_ARG): Correct the test.
9206 (maybe_paste_with_next): Duplicate a token that fail pasting,
9207 and clear its PASTE_LEFT flag, so that nested pasting attempts
9208 do not occur.
9209
b437f1a7
RH
92102000-09-14 Richard Henderson <rth@cygnus.com>
9211
9212 * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
9213 * cse.c (rtx_cost): Likewise.
9214 * optabls.c (expand_binop): Likewise.
9215 (expand_twoval_binop, prepare_cmp_insn): Likewise.
9216 * regclass.c (copy_cost): Likewise.
9217 * reload1.c (reload_cse_move2add): Likewise.
9218
d9dbd9b1
JM
92192000-09-14 Joseph S. Myers <jsm28@cam.ac.uk>
9220
9221 * c-parse.in (reswords): Add _Complex.
9222
9207d3b1
DA
92232000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9224
9225 * gcc.1: Delete documentation for -undef preprocessor option.
9226
395a451c
AO
92272000-09-14 Alexandre Oliva <aoliva@redhat.com>
9228
9229 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9230 STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
9231 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9232 Remove undefine before config/elfos.h.
9233 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
9234
17f0f8fa
KH
92352000-09-14 Kazu Hirata <kazu@hxi.com>
9236
9237 * invoke.texi (H8/300 Options): Add -ms2600.
9238 * config/h8300.c (h8300_init_once): Output an error when -ms2600
9239 is used without -ms.
9240 * config/h8300.h (TARGET_MAC): New.
9241 (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
9242 (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
9243 machine other than H8/S2600.
9244 * config/h8300.md: Accept mac instructions on the H8/S2600 instead
9245 of the H8/S2000.
9246
9e8f528c
AO
92472000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk>
9248
9249 * reload.c (find_reloads_address_1): Generate reloads for auto_inc
9250 pseudos that refer to the original pseudos, not only to their
9251 equivalent memory locations.
9252
9985f210
RK
9253Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9254
fe7a8445
RK
9255 * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
9256 when making new MEM.
9257
9985f210
RK
9258 * Makefile.in (LN): Remove duplicate definition.
9259
2f93c5c3
BS
92602000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9261
9262 From Joern Rennecke:
9263 * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
9264 on an insn and function_invariant_p returns nonzero for the source,
9265 add a REG_EQUAL note.
9266
b24ea077
JW
9267Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com)
9268
9269 * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
9270 conflict with frame_pointer_rtx.
9271
fd5d5b07
KH
92722000-09-13 Kazu Hirata <kazu@hxi.com>
9273
9274 * loop.c: Fix formatting.
9275 * loop.h: Likewise.
9276
26102535
RH
92772000-09-13 Richard Henderson <rth@cygnus.com>
9278
9279 * config/ia64/ia64.md (divsf3): New.
9280 (divsf3_internal_lat, divsf3_internal_thr): New.
9281 (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
9282 (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
9283 (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
9284 (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
9285 (nmadddf4_alts, nmadddf4_trunc): New.
9286 (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
9287 (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
9288 (multf3_truncsf_alts, multf3_truncdf_alts): New.
9289 (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
9290 (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
9291 (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
9292 (nmaddtf4_truncdf_alts): New.
9293 (recip_approx): Don't predicate.
9294
938566fb
RH
92952000-09-13 Richard Henderson <rth@cygnus.com>
9296
9297 * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
9298
c349e40b
SC
92992000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9300
9301 * flags.h (flag_dump_rtl_in_asm): Declare.
9302 * toplev.c (flag_dump_rtl_in_asm): Define.
9303 (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
9304 if -dP is specified.
9305 * rtl.h (print_rtx_head): Declare.
9306 * print-rtl.c (print_rtx_head): Define.
9307 (print_rtx): Print the string pointed to by print_rtx_head
9308 at beginning of each dump line.
9309 (print_rtl): Likewise.
9310 (print_rtl_single): Likewise.
9311 * final.c (final_scan_insn): Dump the insn in the assembly
9312 file for debugging.
9313 * gcc.1: Document -dP option.
9314 * invoke.texi (Debugging Options): Likewise.
9315
2856c3e3
SC
93162000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9317
9318 * md.texi (Machine Constraints): Document the 68HC11 constraints.
9319 * install.texi (Configurations): Document the 68HC11&68HC12 port.
9320 * invoke.texi (Option Summary, M68hc1x Options): Document the options.
9321
1ca04dc8
DC
9322Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
9323
9324 * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
9325 * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
9326 (*clrstrqi): Likewise.
9327 (xorhi3,xorsi3,absqi2): Likewise.
9328 (one_cmplhi2,one_cmplsi2): Likewise.
9329 (addsi3): Two stupid constraint alternatives removed.
9330 (extendhisi2): Use `movw' for enhanced avr cores.
9331 (zero_extendhisi2): Likewise.
9332
bb07060a
JW
9333Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
9334
9335 * alias.c (find_base_term): Use frame_pointer_rtx
9336 when handling an ADDRESSOF.
9337
9338 * cse.c (canon_hash): Handle USE of BLKmode memory.
9339 (cse_insn): Outgoing arguments for a libcall don't
9340 affect any recorded expressions.
9341
d21445e7
TT
93422000-09-12 Tom Tromey <tromey@cygnus.com>
9343
9344 * configure, config.in: Rebuilt.
9345 * configure.in: Check for iconv, nl_langinfo, langinfo.h.
9346
5c80f6e6
JJ
93472000-09-12 Jakub Jelinek <jakub@redhat.com>
9348
9349 * c-lex.c (lex_string): Use charwidth to compute bytemask.
9350 * expr.c (expand_expr): Don't optimize constant array references
9351 initialized with wide string constants.
9352
635a2a90
MH
93532000-09-13 Michael Hayes <mhayes@cygnus.com>
9354
a191f0ee 9355 * loop.c (note_set_pseudo_multiple_uses): Correct.
635a2a90 9356
cc2999aa
JW
93572000-09-12 Jim Wilson <wilson@cygnus.com>
9358
9359 * ifcvt.c (noce_process_if_block): If A and B are the same, and no
9360 else block, and X has side-effects, then fail.
9361
a0b6cdee
GM
93622000-09-12 Greg McGary <greg@mcgary.org>
9363
9364 * config/mips/mips-protos.h
9365 (trap_cmp_op, mips_gen_conditional_trap): New func decls.
9366 * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
9367 (PREDICATE_CODES): Add "trap_cmp_op".
9368 * config/mips/mips.c
9369 (trap_cmp_op, mips_gen_conditional_trap): New functions.
9370 * config/mips/mips.md (trap, conditional_trap): New patterns.
9371
24948ccc
BS
93722000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9373
9374 * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
9375 pointer.
9376
3ff5f682
KG
93772000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9378
9379 * builtins.c (built_in_decls): New array.
9380 (expand_builtin_fputs): New function.
9381 (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
9382
9383 * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
9384
9385 * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
9386
9387 * tree.h (built_in_decls): New array.
9388
208b0ab1
JL
9389Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com)
9390
9391 * convex.md: Use "+" instead of "=" for outputs wrapped in a
9392 STRICT_LOW_PART.
9393 * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
9394
a86dc4a3
KH
93952000-09-12 Kazu Hirata <kazu@hxi.com>
9396
7a403706
KH
9397 * haifa-sched.c: Fix formatting.
9398
c9541287
KH
9399 * genattrtab.c: Fix formatting.
9400
a86dc4a3
KH
9401 * unroll.c: Fix formatting.
9402
3af556f7
BK
94032000-09-12 Bruce Korb <bkorb@gnu.org>
9404
9405 * fixinc/fixfixes.c: make a type for the fix procedure & use it,
9406 remove obsolete code
9407 * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch.
9408 * fixinc/fixincl.tpl: make non-exported arrays static scope
9409 * fixinc/fixincl.x: regenerate
9410 * fixinc/fixlib.h: Use PARAMS, not _P_
9411 * fixinc/fixtests.c: make a type for the test proc & use it
9412 * fixinc/server.h: Use PARAMS, not _P_
9413
32892c52
KG
94142000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9415
9416 * c-typeck.c (process_init_element): Avoid union init warnings on
9417 floating point zero. Don't crash on unions containing structs.
9418
ae0a1c23
AO
94192000-09-12 Alexandre Oliva <aoliva@redhat.com>
9420
9421 * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
9422 general_movsrc_operand, and remove CONST_INT from
9423 general_movdst_operand.
9424
f1c1dfc3
BS
94252000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
9426
9427 * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
9428 if a reference to non-fixed hardreg is seen. Otherwise, count hard
9429 regs with a higher cost.
9430 (preferrable): Deal with cases where either cost or regcost is
9431 MAX_COST.
9432 (cse_insn): Use MAX_COST rather than 10000. Always initialize
9433 regcost values.
9434 (COSTS_N_INSNS): Move definition...
9435 * rtl.h: ...here.
9436 (MAX_COST): New macro.
9437 * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
9438 constant.
9439
f444e36b
MM
94402000-09-11 Mark Mitchell <mark@codesourcery.com>
9441
9442 * c-common.h (genrtl_clear_out_block): Remove.
9443 * c-semantics.c (genrtl_clear_out_block): Remove.
9444 (genrtl_while_stmt): Don't call it.
9445 (genrtl_for_stmt): Likewise.
9446
a58d32c2
ZW
94472000-09-11 Zack Weinberg <zack@wolery.cumb.org>
9448
9449 * cppfiles.c: Move all default-#defines to top of file.
9450 (open_include_file): Replace by lookup_include_file.
9451 (read_with_read, read_file): Merged into read_include_file.
9452 (stack_include_file, purge_cache): New functions.
9453 (close_cached_fd): Delete.
dd745546 9454 (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
a58d32c2
ZW
9455 Cache the in-memory buffer, not the file descriptor.
9456
9457 * cpphash.h (struct include_file): Add buffer, st, refcnt,
9458 mapped fields.
9459 (xcnew): New utility macro.
9460 (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
9461 * cpplib.h (struct cpp_buffer): Remove mapped field.
9462
94632000-09-11 Zack Weinberg <zack@wolery.cumb.org>
9464
9465 * cpplex.c (parse_string): Accept backslash space newline as a
9466 line continuation.
9467 (lex_line): Likewise.
9468 (_cpp_get_token): Remove hard limit on macro nesting.
9469
bfa29b63
PT
94702000-09-12 Philipp Thomas <pthomas@suse.de>
9471
9472 * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
9473 * configure: Rebuilt.
9474
97ca9316
MH
94752000-09-13 Michael Hayes <mhayes@cygnus.com>
9476
9477 * flow.c (split_block): Fix update of registers live at
9478 end of split block.
9479
d90ffc8d
JH
9480Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
9481
9482 * i386.md (add?i_3, add?i_5): New.
9483 (add?i_4): Rename from add?i_3; Fix compare pattern.
9484 (sub?i_3, xor?i_3, ior?i_3): New.
9485
9486 * genrecog.c (write_tree): Output code to clear insn_extract cache.
9487 * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
9488 instead of extract_insn and extract_constrain_insn_cache instead of
9489 extract_insn and constrain_operands.
9490 * recog.c (extract_insn_cached, extract_constrain_insn_cached):
9491 New functions.
9492 (extract_insn): Clear which_alternative.
9493 (constrain_operands): Set which_alternative to -1 when failed.
9494 * recog.h (extract_constrain_insn_cached, extract_insn_cached):
9495 Declare.
9496
4843bda9
MH
94972000-09-11 Matthew Hiller <hiller@redhat.com>
9498
9499 * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
9500 on operand 0 to '+'.
9501 (movstricthi): Likewise.
9502
ed5bb68d
MH
95032000-09-12 Michael Hayes <mhayes@cygnus.com>
9504
9505 * loop.h (LOOP_IVS): New macro.
9506 (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
9507 (struct loop_ivs): New.
9508 (struct loop_info): Add ivs field.
9509 (reg_iv_type, reg_iv_info): Delete prototype.
9510 (reg_biv_class, loop_iv_list): Likewise.
9511 * loop.c (record_biv, find_life_end): Pass loop argument.
9512 (reg_iv_type): Remove global array and use
9513 field in loop_regs structure within loop_ivs structure.
9514 (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
9515 (first_increment_giv, last_increment_giv): Use entry in
9516 loop_ivs structure.
9517 (record_initial): Pass ivs pointer.
9518 * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
9519
1ecd860b
MH
95202000-09-12 Michael Hayes <mhayes@cygnus.com>
9521
9522 * loop.h (LOOP_REGS): New macro.
9523 (struct loop_regs): New.
9524 (struct loop_info): Add regs field.
dd745546 9525 * loop.c (set_in_loop): Remove global array and store
1ecd860b
MH
9526 in loop_regs structure as part of loop_info structure.
9527 (n_times_set, may_not_optimize): Likewise.
9528 (reg_single_usage, moved_once): Likewise.
9529 (count_one_set): Add regs argument.
9530 (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
9531 (set_pseudo_multiple_uses): Pass regs pointer.
9532
0a5b41f2
MH
95332000-09-12 Michael Hayes <mhayes@cygnus.com>
9534
9535 * unroll.c (iteration_info): Subsume into loop_iterations.
9536 * loop.h (loop_info): New field iv.
9537
5d6a16e2
MH
95382000-09-12 Michael Hayes <mhayes@cygnus.com>
9539
9540 * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
9541 (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
9542 (flow_loops_update): New prototype.
9543 (flow_loops_find): Add flags to prototype.
9544 (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
9545 * flow.c (flow_loop_pre_header_scan): New.
9546 (flow_loop_dump): Dump pre-header root and trace and exit dominators.
9547 (flow_loop_free): Free pre-header root and trace and exit dominators.
9548 (flow_loops_find): New argument flags.
9549 (flow_loops_update): New function.
9550 * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
9551
c586192c
MH
95522000-09-12 Michael Hayes <mhayes@cygnus.com>
9553
9554 * basic-block.h (split_block, update_bb_for_insn): New prototypes.
9555 * flow.c (split_block, update_bb_for_insn): New functions.
9556
a5e5cf67
RH
95572000-09-11 Richard Henderson <rth@cygnus.com>
9558
9559 * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
9560
655f2eb9
RH
95612000-09-11 Richard Henderson <rth@cygnus.com>
9562
9563 * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
9564 * config/ia64/ia64.c (fr_nonimmediate_operand): New.
9565 (ia64_override_options): Prevent optimizing division for both
9566 latency and throughput.
9567 (rtx_needs_barrier): Handle frcpa.
9568 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
9569 (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
9570 (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
9571 (TARGET_SWITCHES): Add -minline-divide-min-latency and
9572 -minline-divide-max-throughput.
9573 (PREDICATE_CODES): Update.
9574 * config/ia64/ia64.md (extendsidi2): Remove * from f case.
9575 (zero_extendsidi2): Likewise. Fix typo in f case insn.
9576 (extendsfdf2): Add cases for gr<->fr and fr<->mem.
9577 (extendsftf2): Likewise.
9578 (extenddftf2): Likewise.
9579 (fix_trunctfdi2_alts): New.
9580 (fixuns_trunctfdi2_alts): New.
9581 (madd*4): Rename from madd*3.
9582 (divsi3, modsi3, udivsi3, umodsi3): New.
9583 (divsi3_internal): New.
9584 (divdi3, moddi3, udivdi3, umoddi3): New.
9585 (divdi3_internal_lat, divdi3_internal_thr): New.
9586 (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
9587 (recip_approx): New.
9588
b5d7770c
AO
95892000-09-11 Alexandre Oliva <aoliva@redhat.com>
9590
9591 * print-rtl.c (debug_call_placeholder_verbose): New variable.
9592 (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
9593 set.
9594 * integrate.c (copy_rtx_and_substitute): Don't share
9595 LEAF_REG_REMAPpable registers with the inlined function. Don't
9596 share the function value with calling sequences.
9597
6ff85fd8
JJ
95982000-09-11 Jakub Jelinek <jakub@redhat.com>
9599
2a1da89b
JJ
9600 * c-decl.c (do_case): Fix a typo.
9601
6ff85fd8
JJ
9602 * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
9603 to a if the comparison is floating mode and not -ffast-math.
9604 * simplify-rtx.c (simplify_ternary_operation): Likewise.
9605
4102c782
R
9606Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9607
9608 * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
9609 gen_ic_invalidate_line.
9610
52a21fc6
PB
96112000-09-11 Philip Blundell <pb@futuretv.com>
9612
9613 * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
9614
669ed2b1
UD
9615Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com>
9616
9617 * install.texi (LANGUAGES): Update to include new languages.
9618 * INSTALL: Rebuilt.
9619
50936d27
DD
96202000-09-11 DJ Delorie <dj@redhat.com>
9621
9622 * gcc.c (main): Don't warn about unused -B prefixes
9623 (unused_prefix_warnings): remove
9624
00174bdf
KH
96252000-09-11 Kazu Hirata <kazu@hxi.com>
9626
f5d927c0
KH
9627 * final.c: Fix formatting.
9628
00174bdf
KH
9629 * integrate.c: Fix formatting.
9630
b14066a9
GK
96312000-09-11 Geoff Keating <geoffk@cygnus.com>
9632
9633 * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
9634
e695931e
BS
96352000-09-11 Bernd Schmidt <bernds@redhat.co.uk>
9636
9637 * reload.c (regno_clobbered_p): Fix thinko in previous change.
9638
456aadaa
SC
96392000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9640
9641 * gcc.1: Document 68hc11 specific options.
9642
9cb8fcaf
GK
96432000-09-10 Geoff Keating <geoffk@cygnus.com>
9644
e0f7170a
GK
9645 * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
9646 (TARGET_LONG_DOUBLE_128): Define.
9647 (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
9648 (LONG_DOUBLE_TYPE_SIZE): Redefine.
9649 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9650 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
9651 of __LONG_DOUBLE_128__.
9652 (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
9653 passed.
9654 (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
9655 (CPP_SYSV_DEFAULT_SPEC): Define.
9656 (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
9657 (INIT_TARGET_OPTABS): Define.
9658
9cb8fcaf
GK
9659 * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
9660 (RS6000_UITRUNC): Likewise.
9661 (INIT_TARGET_OPTABS): New macro.
9662 * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
9663 (trunc_defined): Delete.
9664 (output_prolog): Don't output .extern definitions for fp->int
9665 conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
9666 * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
9667 (trunc_defined): Delete.
9668 (RS6000_ITRUNC): Moved to aix.h.
9669 (RS6000_UITRUNC): Likewise.
9670 * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
9671 only emit a libcall.
9672 (fixuns_truncdfsi2): Delete.
9673 (trunc_call): Delete.
9674 (trunc_call_rtl): Delete.
9675
8f820299
ZW
96762000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9677
9678 * varasm.c (make_decl_rtl): Restore leading star on
dd745546 9679 DECL_ASSEMBLER_NAME set for decls with an asmspec.
8f820299 9680
4337bc93
ZW
96812000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9682
9683 * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
9684 won't give a spurious error for '#pragma pack()'. Simplify
9685 control flow for readability. 'reset' action is not necessary.
9686
d8ea8f28
ZW
96872000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9688
9689 * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
9690 SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
9691 LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
9692 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
9693
9694 * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
9695 profile.c, sdbout.c, tradcif.y, tree.c:
9696 Include defaults.h if not already included.
9697 Don't define the above macros.
9698
9699 * Makefile.in: Update dependencies.
9700
56cb9733
MM
97012000-09-10 Mark Mitchell <mark@codesourcery.com>
9702
9703 * c-common.h (add_stmt): Change prototype.
9704 (RECHAIN_STMTS): New macro.
9705 (CASE_LABEL_DECL): Likewise.
9706 (genrtl_case_label): Change prototype.
9707 (c_expand_start_case): Remove prototype.
9708 (build_case_label): Change prototype.
9709 (decl_constant_value): Declare.
9710 * c-common.c (check_case_value): Handle C++'s extensions to C
9711 semantics.
9712 * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
d8ea8f28 9713 field.
56cb9733
MM
9714 * c-parse.in (stmt): Adjust handling of return statements and case
9715 laels.
9716 * c-semantics.c (add_stmt): Return the new statement.
9717 (genrtl_return_stmt): Take the RETURN_STMT as input, not the
9718 returned expression. Directly generate RTL, rather than calling
9719 c_expand_return.
9720 (genrtl_switch_stmt): Don't call c_expand_start_case.
9721 (build_case_label): Take the LABEL_DECL as input, too.
9722 (genrtl_case_label): Just call add_case_node.
9723 (expand_stmt): Adjust calls to genrtl_return_stmt and
9724 genrtl_case_label.
9725 * c-tree.h (c_expand_start_case): Declare.
9726 * c-typeck.c (decl_constant_value): Give it external linkage.
9727 (c_expand_return): Don't call expand_return or expand_null_return;
9728 use genrtl_return_stmt instead.
9729 * stmt.c (struct nesting): Remove num_ranges field.
9730 (add_case_node): Give it external linkage.
9731 (expand_start_case): Don't set num_ranges.
9732 (expand_start_case_dummy): Don't clear it.
9733 (pushcase): Rely on add_case_node to handle `default' labels.
9734 (add_case_node): Handle `default' labels.
9735 * tree.c (tree_int_cst_compare): New function.
9736 * tree.h (tree_int_cst_compare): Declare.
9737 (add_case_node): Likewise.
9738
aac02f4e
RH
97392000-09-10 Richard Henderson <rth@cygnus.com>
9740
9741 * c-parse.in: Revert last change.
9742 (init_reswords): Do not enter disabled keywords into the ridpointers
9743 table, modulo objc weirdness.
9744 (_yylex): Return the canonical spelling for a keyword.
9745
75d8aea7
PB
97462000-09-10 Philip Blundell <philb@gnu.org>
9747
9748 * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
9749 * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
9750
d982e46e
JW
9751Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com)
9752
9753 * alias.c (find_base_term): Handle ADDRESSOF.
9754 (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
9755
212d447c
DC
97562000-09-10 Denis Chertykov <denisc@overta.ru>
9757
9758 * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
9759 outputting templates with many lines.
9760
a746dbf5
SC
97612000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9762
9763 * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
9764 to decide whether 64-bit support must be generated.
9765
1d0f6d89
RH
97662000-09-10 Richard Henderson <rth@cygnus.com>
9767
9768 * c-parse.in (asm patterns): Fix volatile check.
9769
e1aa5140
KG
97702000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9771
9772 * cppmacro.c (check_trad_stringification): New function.
9773 (save_expansion): If -Wtraditional, warn about stringification of
9774 macro arguments.
9775
afa1738b
MH
97762000-09-11 Michael Hayes <mhayes@cygnus.com>
9777
9778 * loop.h (struct loop_mem_info): Move from loop.c
9779 (struct loop_info): Add fields store_mems, mems, mems_idx,
9780 mems_allocated, unknown_address_altered,
9781 unknown_constant_address_altered, num_mem_sets, and
9782 first_loop_store_insn.
9783
9784 * loop.c (loop_store_mems): Replace with field in loop_info struct.
9785 (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
9786 (unknown_address_altered, unknown_constant_address_altered): Likewise.
9787 (num_mem_sets): Likewise.
dd745546 9788 (replace_loop_mems, replace_loop_regs): New.
afa1738b
MH
9789 (struct loop_replace_args): New.
9790 (load_mems): Use replace_loop_mems.
9791 (try_copy_prop): Use replace_loop_regs.
9792 (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
9793
63883fc3
SC
97942000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9795
9796 * configure.in: Recognize m6811-elf and m6812-elf.
9797 * configure: Regenerate.
9798
808788fe
GK
97992000-09-09 Geoff Keating <geoffk@cygnus.com>
9800
9801 * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
9802 to operand_subword.
9803
02055ad6
MH
98042000-09-10 Michael Hayes <mhayes@cygnus.com>
9805
9806 * loop.c (struct movables): New.
9807 (num_movables): Move into struct movables.
9808 (the_movables): Change type to struct movables.
9809 (ignore_some_movables): Change struct movable arg to struct movables.
dd745546 9810 (force_movables, combine_movables, regs_match_p): Likewise.
02055ad6
MH
9811 (rtx_equal_for_loop_p, move_movables): Likewise.
9812 (scan_loop): Change movables to be of type struct movables.
9813 Replace last_movable with field in movables structure.
9814
ae54392b
ZW
98152000-09-08 Zack Weinberg <zack@wolery.cumb.org>
9816
9817 * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
9818 (init_pragma): Avoid warning if pfile happens to be unused.
9819 * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never
9820 define init_pragma to nothing. Always prototype
9821 init_pragma. Prototype dispatch_pragma if !USE_CPPLIB.
9822
9823 * c-lex.c (process_directive): Always call dispatch_pragma.
9824 Initialize entering_c_header to 0.
9825
385c9217
SC
98262000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9827
9828 * config/m68hc11/m68hc11.md: New file, machine description for
9829 68HC11 & 68HC12.
9830 * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
9831 * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
9832 * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
9833 * config/m68hc11/m68hc11-protos.h: New file.
9834 * config/m68hc11/m68hc11-crt0.S: New file, startup code.
9835 * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
9836 * config/m68hc11/xm-m68hc11.h: New file, target defs.
9837 * config/m68hc11/larith.asm: New file, libgcc routines.
9838
dfaf3cdb
SC
98392000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9840
9841 * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
9842 (FPBIT_FUNCS): Add _usi_to_sf.
9843 * config/fp-bit.c (usi_to_float): New function.
9844 * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
9845 (usi_to_float): Add appropriate #define.
9846
915119a5
BS
98472000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9848
9849 * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
9850 new functions.
9851 * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
9852 * i386.md (attr "type"): Add sse and mmx types.
9853 (attr "memory"): Handle them without a crash.
9854 (movsi_1, movdi_2): Allow MMX regs.
9855 (movdi splits): Don't split moves involving MMX regs.
9856 (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
9857 (movv4sf_internal, movv4si_internal, movv8qi_internal,
9858 movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
9859 movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
9860 sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
9861 sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
9862 sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
9863 addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
9864 divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
9865 sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
dd745546
AJ
9866 sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
9867 vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
915119a5
BS
9868 smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
9869 cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
9870 addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
9871 subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
9872 mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
9873 mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
9874 mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
9875 eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
9876 smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
9877 lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
9878 mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
9879 mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
9880 mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
9881 mmx_clrdi): New patterns.
9882
8e49e00a
RE
98832000-09-08 Richard Earnshaw <rearnsha@arm.com>
9884
9885 * arm.c: Don't include tm.h directly.
9886
bd5621a3
JH
9887Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz>
9888
9889 * recog.c (validate_replace_rtx_1): Fix confusion about equality
9890 testing; simplify subregs of constants and nested subregs.
e65d02cf 9891
6b3783de
AO
98922000-09-08 Alexandre Oliva <aoliva@redhat.com>
9893
9894 * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
9895
82be40f7
BS
98962000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9897
9898 * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
9899 VEC_CONCAT.
9af354b7
BS
9900 * rtl.texi (description of USE): Add note about possible pitfalls
9901 with this rtx.
ce701d1b
BS
9902 From Richard Henderson:
9903 * reload1.c (choose_reload_regs): Compute need_mode properly.
82be40f7 9904
4287b5f1
RH
99052000-09-07 Richard Henderson <rth@cygnus.com>
9906
9907 * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
9908 (__modsi3, __umodsi3): Likewise.
9909 (__udivsi3): Likewise. Normalize the TFmode values.
9910
c5d71f39
GK
99112000-09-07 Geoff Keating <geoffk@cygnus.com>
9912
9913 * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
9914 with a prototype.
9915 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
9916 warning.
9917
712646d0
R
9918Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9919
9920 * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
9921 (cmpeqdi_t): Add output pattern.
9922 (cmpeqdi_t+1): Don't split when not optimizing.
9923 Restore proper splitting operation.
9924
30acbc3e
RH
99252000-09-07 Richard Henderson <rth@cygnus.com>
9926
9927 * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
9928 do not call dispatch_pragma.
9929
46146529
JW
99302000-09-07 Jim Wilson <wilson@cygnus.com>
9931
9932 * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
9933 to CLASS_CANNOT_CHANGE_MODE.
9934 * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
9935 mode classes are different.
9936
6db83155
ZW
99372000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9938
9939 * cpplib.h (struct cpp_options): Add user_label_prefix member,
9940 left out of commit which removed cppulp.c.
9941
0d45144b
RH
99422000-09-07 Richard Henderson <rth@cygnus.com>
9943
9944 * bb-reorder.c (fixup_reorder_chain): Add jump in new block
9945 after switch for CASE_DROPS_THROUGH.
9946
e8cb4873
RH
99472000-09-07 Richard Henderson <rth@cygnus.com>
9948
9949 * loop.c (strength_reduce): Call check_ext_dependant_givs.
9950 Properly extend the biv initial value for the giv.
9951 (record_biv): Zero ext_dependant.
9952 (record_giv): New argument ext_val. Update all callers.
9953 (general_induction_var): Likewise.
9954 (consec_sets_giv): Likewise.
9955 (simplify_giv_expr): Likewise. Fill in ext_val if we find
9956 a sign-extend, zero-extend, or truncate.
9957 (combine_givs_p): Make sure modes are compatible.
9958 (check_ext_dependant_givs): New.
9959 (extend_value_for_giv): New.
9960 * loop.h (struct induction): Add ext_dependant.
9961 * unroll.c (iteration_info): Extend the biv initial value for the giv.
9962 (find_splittable_givs): Likewise.
9963 (final_giv_value): Likewise.
9964
8b97c5f8
ZW
99652000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9966
9967 * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
9968 REGISTER_TARGET_PRAGMAS is defined. Duplicate some
9969 definitions from cpplib.h.
9970 * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
9971 already done it.
9972 * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add
9973 documentation for REGISTER_TARGET_PRAGMAS.
9974
9975 * c-lex.c: Include cpplib.h before c-pragma.h. Define a
9976 default-pragma callback to implement -Wunknown-pragmas if
9977 USE_CPPLIB.
9978 * c-parse.in: Move all includes to top of file.
9979 * c-pragma.c: Include cpplib.h before c-pragma.h. Include
9980 tm_p.h.
9981 (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
9982 warning.
9983 (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
9984
9985 * arm.h, arm-protos.h, arm.c,
9986 c4x.h, c4x-protos.h, c4x.c,
9987 h8300.h, h8300-protos.h, h8300.c,
9988 i370.h, i370-protos.h, i370.c,
9989 i960.h, i960-protos.h, i960.c,
d8ea8f28 9990 sh.h, sh-protos.h, sh.c,
8b97c5f8
ZW
9991 v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
9992 pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
9993
9994 * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add
9995 multiple include guard.
9996 * i370.md (untyped_call): Use GEN_CALL.
9997 (umodsi3): Remove unused variable.
9998 * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
9999 * v850.c (output_move_single, output_move_double): Constify
10000 return value.
10001 (print_operand): Constify a char *.
10002 * v850.h (struct small_memory_info): Constify name member.
10003
1898584f
KH
100042000-09-07 Kazu Hirata <kazu@hxi.com>
10005
10006 * config/h8300.h: Fix comment typos.
10007 * config/h8300/h8300.md: Likewise.
10008 * config/h8300/lib1funcs.asm: Likewise.
10009
771c4df3
NB
10010Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net>
10011
10012 * Makefile.in: Remove references to cppulp.{c,o}.
10013 * cppinit.c (initialize_builtins, cpp_start_read,
10014 cpp_handle_option): Update to use cpp_options structure.
10015 * cppulp.c: Remove.
10016
2496f0b5
JM
100172000-09-07 Joseph S. Myers <jsm28@cam.ac.uk>
10018
10019 * c-common.c (time_char_table): Allow %#b and %#h.
10020
bf6302f0
HB
100212000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10022
10023 * reorg.c (find_end_label): If the basic block reorder pass moves the
10024 return insn to some other place try to locate it again and put our
10025 end_of_function_label there.
10026 * reorg.c (relax_delay_slots): Check if find_end_label created a
10027 new label that invalidates the current optimazation.
10028
4598ffe9
CM
100292000-09-07 Catherine Moore <clm@redhat.com>
10030
e8cb4873
RH
10031 * unroll.c (unroll_loop): Check for unconditional jumps
10032 to loop continuation. Delete if n_iterations is 1.
10033 (ujump_to_loop_cont): New routine.
4598ffe9 10034
ff427764
BS
100352000-09-07 Bernd Schmidt <bernds@redhat.co.uk>
10036
10037 * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
10038 MODE_VECTOR_FLOAT.
8441bc30
BS
10039 * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
10040 to handle multiword modes correctly. All callers and the declaration
10041 changed.
d8ea8f28 10042
54f7877c
MM
100432000-09-06 Mark Mitchell <mark@codesourcery.com>
10044
10045 * c-common.h (prep_stmt): Declare.
10046 (lang_expand_stmt): Likewise.
10047 * c-decl.c (lang_expand_stmt): Remove.
10048 * c-semantics.c (lang_expand_stmt): Define.
10049 (prep_stmt): New function.
10050 (expand_stmt): Handle common statement types here.
d8ea8f28 10051
93ca1662
NY
100522000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
10053
10054 * configure.in (sh-*-linux*): Added.
10055 * configure: Rebuilt.
10056 * config/sh/t-linux: New file.
10057 * config/sh/sh.h (USERMODE_BIT): Define.
10058 (TARGET_USERMODE): Likewise.
10059 (TARGET_SWITCHES): New switches for the bits above.
10060 (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
10061 * config/sh/linux.h: New file.
10062 * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
10063 underscore on linux.
10064 (L_sdivsi3, L_udivsi3): Define for linux.
10065 (L_ic_invalidate): Define.
10066 * invoke.texi (SH Options): Document -musermode.
10067
71105114
AO
100682000-09-07 Alexandre Oliva <aoliva@redhat.com>
10069
4979c2a9
AO
10070 * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
10071 CSE unless generating PIC.
10072
71105114
AO
10073 * config/sh/sh.md (symPLT_label2reg): Force the initialization of
10074 the PIC register.
10075
d5cfb451
L
100762000-09-06 H.J. Lu (hjl@gnu.org)
10077
10078 * Makefile.in (clean_s1): Depend on stage_b.
10079 (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
10080 stage2. They are used for "make compare".
10081
ae499cce
MM
100822000-09-06 Mark Mitchell <mark@codesourcery.com>
10083
10084 Move statement-tree facilities from C++ to C front-end.
10085 * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
10086 (void_zero_node): New macro.
10087 (struct stmt_tree_s): New type.
10088 (stmt_tree): New typedef.
10089 (struct language_function): New type.
10090 (last_tree): New macro.
10091 (last_expr_type): Likewise.
10092 (walk_tree_fn): New typedef.
10093 (current_stmt_tree): New function.
10094 (begin_stmt_tree): Likewise.
10095 (add_stmt): Likewise.
10096 (finish_stmt_tree): Likewise.
10097 (statement_code_p): Likewise.
10098 (lang_statement_code_p): New variable.
10099 (walk_stmt_tree): New function.
10100 (STMT_IS_FULL_EXPR_P): New macro.
10101 * c-common.c (lang_statement_code_p): New variable.
10102 (c_common_nodes_and_builtins): Initialize void_zero_node.
10103 (statement_code_p): New function.
10104 (walk_stmt_tree): Likewise.
10105 * c-decl.c (language_function): Rename to ...
10106 (c_language_function): ... this. Include language_function.
10107 (push_c_function_context): Adjust accordingly.
10108 (pop_c_function_context): Likewise.
10109 (mark_c_function_context): Likewise.
10110 (current_stmt_tree): Define.
10111 * c-semantics.c (begin_stmt_tree): New function.
10112 (add_stmt): Likewise.
10113 (prune_unused_decls): Likewise.
10114 (finish_stmt_tree): Likewise.
10115
4f4b88d0
HB
101162000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10117
e8cb4873 10118 * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
4f4b88d0 10119
f725a3ec
KH
101202000-09-06 Kazu Hirata <kazu@hxi.com>
10121
10122 * calls.c: Fix formatting.
10123
0806f95f
GS
101242000-09-06 Graham Stott <grahams@cygnus.co.uk>
10125
e8cb4873 10126 * config/i386/i386.h (ADDRESS_COST): Fix typo.
0806f95f 10127
0e5921e8
ZW
101282000-09-06 Zack Weinberg <zack@wolery.cumb.org>
10129
10130 Integrated preprocessor.
10131
10132 * Makefile.in: Remove all references to c-parse.gperf,
10133 c-gperf.h, and c-parse.h. Remove -d from yacc command line
10134 generating c-parse.c. Update dependencies.
10135 * c-parse.gperf, c-gperf.h: Delete.
10136
10137 * c-common.c: Don't define parse_options, cpp_token, yy_cur,
10138 yy_lim, or yy_get_token. Don't define get_directive_line if
10139 USE_CPPLIB.
10140 * c-common.h: Add multiple include guard. Define RID values
10141 for every keyword in C, C++, and Objective C. Put all the
10142 modifiers first.
10143 (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
10144 * c-decl.c (c_decode_option): Handle -lang-objc here.
10145 (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
10146 (grokdeclarator): Adjust for new RID scheme.
10147 (extract_interface_info): New stub.
10148 * c-lang.c: Don't declare yy_cur or parse_options.
10149 (lang_init_options): Call cpp_init. Don't call
10150 cpp_options_init.
10151 (lang_init): Don't call check_newline if USE_CPPLIB.
10152
10153 * c-lex.c: Don't include c-parse.h. Do include timevar.h.
10154 Elide lots of unnecessary code if USE_CPPLIB. Delete code
10155 rendered unnecessary by new architecture. Move routines not
10156 shared with C++ to c-parse.in. Maintain a local idea of the
10157 line number. Handle C++ as well as C.
10158 [USE_CPPLIB]: Declare and register callbacks for #ident and
10159 for entering/leaving files.
10160 (init_c_lex, c_lex): Are now the entry points to this file.
10161 (check_newline): Break out directive handling to
10162 process_directive.
10163 (read_ucs, is_extended_char, utf8_extend_token): Moved here
10164 from C++ front end.
10165 (readescape, parse_float): Overhaul.
10166 (lex_number, lex_string, lex_charconst): Break out of c_lex
10167 (n'ee yylex).
10168 (get_fileinfo, update_header_times, dump_one_header,
10169 dump_time_statistics): New and/or moved here from C++.
10170 Support per-file data needed by C++ and per-header timing
10171 statistics (C++ only, at the moment).
10172 * c-lex.h: Update prototypes. Add multiple include guard.
10173 * c-tree.h (struct lang_identifier): Add rid_code field.
10174 (C_IS_RESERVED_WORD, C_RID_CODE): New.
10175
10176 * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
10177 reinit_parse_for_function and/or position_after_white_space.
10178 (save_filename, save_lineno): Look ahead before saving.
10179 (label -> identifier ':'): Save file and line before shifting ':'.
10180 (reservedwords): No need to call get_identifier.
10181 (init_parse, finish_parse, yyerror, yylex, yyprint,
10182 make_pointer_declarator): Are now here for C/ObjC.
10183 (rid_to_yy): Conversion table from RID constants to Yacc codes.
10184
10185 * c-pragma.c: Rewrite parsing logic to fit with cpplib's
10186 #pragma registry. Provide dummy implementation of that
10187 interface if !USE_CPPLIB.
10188 * c-pragma.h: Update to match.
10189
10190 * flags.h: Add multiple include guard.
10191 (flag_detailed_statistics): Moved here from C++.
10192 * toplev.c: Define flag_detailed_statistics.
10193
10194 * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
10195 #if USE_CPPLIB.
10196 * timevar.def (TV_CPP, TV_LEX): New.
10197 * timevar.h: Add multiple include guard.
10198
10199 * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
10200 #if USE_CPPLIB.
10201 * objc/objc-act.c: Don't mention yy_cur or parse_options.
10202 Initialize cpplib properly. Force lineno to 0 after first
10203 call to check_newline. Don't handle -lang-objc here.
10204 Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
10205
5638268e
DE
102062000-09-06 David Edelsohn <edelsohn@gnu.org>
10207
10208 * rs6000.md: Correct function unit definitions for cr_logical and
10209 mtjmpr.
10210 (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
10211 and use portable method for >=0 and floating point >=. Remove
10212 associated matchers.
10213
44835fdd
MM
102142000-09-06 Mark Mitchell <mark@codesourcery.com>
10215
10216 * extend.texi: Mark named return value extension as deprecated.
10217
bab6226b
GK
102182000-09-06 Geoff Keating <geoffk@cygnus.com>
10219
10220 * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
10221 the result.
10222
e6513023
GDR
102232000-09-06 Gabriel Dos Reis <gdr@codesourcery.com>
10224
10225 * toplev.c (display_help): Fix thinko in documentation.
10226
10227 * diagnostic.h (output_buffer::indent_skip): New fields.
10228 (output_indentation): New macro.
10229
10230 * diagnostic.c (output_indent): New function.
10231 (output_set_prefix, clear_diagnostic_info): Use.
10232 (output_emit_prefix): Predict future indentation.
10233
112c7aea
DD
102342000-09-06 DJ Delorie <dj@redhat.com>
10235
10236 * Makefile.in (stage_*): add more dependencies to ensure parallel
10237 builds build correctly
10238
1bac0fb4
MH
102392000-09-06 Manfred Hollstein <manfredh@redhat.com>
10240
10241 * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
10242 not bootstrap-lean_f.
10243
f472a17c
AS
102442000-09-06 Andreas Schwab <schwab@suse.de>
10245
10246 * mklibgcc.in: Emit rule for libgcc-stage-start.
10247 * Makefile.in (stage1-start, stage2-start, stage3-start,
10248 stage4-start): Don't handle libgcc here, use libgcc.mk instead.
10249
630c79be 102502000-09-06 Bernd Schmidt <bernds@redhat.co.uk>
611bbf2a
BS
10251
10252 * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
10253 (update_equiv_regs): Likewise, except for the mn10200 kludge.
10254 (combine_regs): Likewise.
10255
630c79be
BS
10256 * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
10257 * cse.c: Include "basic-block.h".
10258 (struct table_elt): New field REGCOST.
10259 (CHEAP_REG): Delete macro.
10260 (COST): Return 0 for REGs.
10261 (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
10262 (notreg_cost): Return 0 for appropriate SUBREGs.
10263 (COSTS_N_INSNS): Return N * 2.
10264 (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
10265 SUBREGs.
10266 (CHEAPER): Use new function preferrable.
10267 (insert): Initialize REGCOST member.
10268 (find_best_addr): Use approx_reg_cost for estimation of register
10269 usage.
10270 (cse_insn): Likewise.
10271 * loop.c (iv_add_mult_cost): New function.
10272 (add_cost, shift_cost, mult_cost): Delete variables.
10273 (init_loop): Don't initialize add_cost; reduce copy_cost by half.
10274 (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
10275 Make code that detects autoinc opportunities slightly less optimistic.
10276 (simplify_giv_expr): If expression contains other reg that is also a
10277 giv, only increment benefit if this is the only use of that reg.
10278 (consec_sets_giv): Take that change into account.
10279 (combine_givs): Slightly more verbose output.
10280
10281 * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
10282 not the cost of an equivalent shift.
10283 * sh-protos.h (addsubcosts): Declare.
10284 * sh.c (addsubcosts): New function.
10285 * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
10286 (RTX_COSTS): Tweak. Use addsubcosts.
10287 (ADDRESS_COST): Return higher cost for reg+reg addressing.
10288
39a10a29
GK
102892000-09-06 Geoff Keating <geoffk@cygnus.com>
10290
10291 * config/rs6000/rs6000.c (validate_condition_mode): New function.
10292 (branch_comparison_operator): Call validate_condition_mode to
10293 abort rather than returning 0.
10294 (branch_positive_comparison_operator): New function.
10295 (scc_comparison_operator): Call validate_condition_mode to abort
10296 rather than returning 0.
10297 (ccr_bit): Call validate_condition_mode. Update for
10298 new branch scheme.
10299 (print_operand): Delete %C modifier. Update %E case
10300 to use EQ bit not SO bit.
10301 (rs6000_reverse_condition): New function.
10302 (rs6000_generate_compare): New function.
10303 (rs6000_emit_sCOND): New function.
10304 (rs6000_emit_cbranch): New function.
10305 (output_cbranch): The length of a long branch insn is
10306 now only 8 bytes. Add validate_condition_mode. Use
10307 rs6000_reverse_condition. Remove cror generation.
bab6226b 10308
39a10a29
GK
10309 * config/rs6000/rs6000.h: Update comments.
10310 (PREDICATE_CODES): Add new predicate. Update codes used
10311 by branch_comparison_operator and scc_comparison_operator.
10312 * config/rs6000/rs6000-protos.h: Add prototypes for
10313 new external functions.
10314 * config/rs6000/rs6000.md: Add new scheduling parameters
10315 for cr_logical instructions. Change length of branch
10316 instructions.
10317 (bCOND patterns): Call rs6000_emit_cbranch.
10318 (sCOND patterns): Call rs6000_emit_sCOND.
10319 (branch patterns): Change lengths to 4.
10320 (cr logical patterns): New.
10321
2a4bbffa
RH
103222000-09-06 Richard Henderson <rth@cygnus.com>
10323
10324 * config/i386/i386.md (call_pop): Fix test for setting
10325 current_function_uses_pic_offset_table.
10326 (call, call_value_pop, call_value): Likewise.
10327
eab828ba
ZW
103282000-09-06 Zack Weinberg <zack@wolery.cumb.org>
10329
10330 * timevar.c (timevar_add): Delete.
10331 (timevar_get): Also count time since the selected timer was
10332 last updated. Do not examine the timevar stack if the
10333 selected timer is standalone.
10334
f1d6a533
DA
103352000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10336
10337 * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
10338
53c5b5d7
JM
103392000-09-05 Jason Merrill <jason@redhat.com>
10340
10341 * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
10342 for 'extern' arrays.
10343
3392dafc
RH
103442000-09-05 Richard Henderson <rth@cygnus.com>
10345
10346 * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
10347 Eliminate final copy from non-trapping case.
10348 (__divdf3, __divsf3): Likewise.
10349
2a7ffc85
RH
103502000-09-05 Richard Henderson <rth@cygnus.com>
10351
10352 * config/ia64/ia64.md (mulhi3): Fix typo last change.
10353 * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
10354
204093e6
DT
103552000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net>
10356
10357 * Makefile.in: Restructure bootstrap stages to allow clean
10358 restart after failure.
10359
514f96e6
RH
103602000-09-05 Richard Henderson <rth@cygnus.com>
10361
10362 * config/ia64.md (movsi and movdi patterns): Allow moves from
10363 8-bit constants to AR registers.
10364
cf1f6ae3
RH
103652000-09-05 Richard Henderson <rth@cygnus.com>
10366
10367 * config/ia64/ia64.md (mulhi3): New.
10368
d8d7a286
RH
103692000-09-05 Richard Henderson <rth@cygnus.com>
10370
10371 * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
10372 * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
10373 Optimization Guide, minimum latency alternative.
10374 (__moddi3, __udivdi3, __umoddi3): Likewise.
10375 (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
10376
a6efbece
BK
103772000-09-05 Bruce Korb <bkorb@gnu.org>
10378
0e5921e8
ZW
10379 * fixinc/fixincl.c (load_file): always read header files
10380 with sizes that are a multiple of the page size.
dc46505a 10381 & use libiberty's getpagesize for determining that.
a6efbece 10382
c0712acb
AO
103832000-09-05 Alexandre Oliva <aoliva@redhat.com>
10384
10385 * gcse.c (hash_string_1): Add prototype.
10386 * cse.c (canon_hash_string): Likewise.
10387
af7f0fde
CN
103882000-09-04 Craig Newell <CraigN@ieee.org>
10389
10390 * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
10391
4993ddc1
AS
103922000-09-04 Andreas Schwab <schwab@suse.de>
10393
10394 * Makefile.in (STAGESTUFF): Remove libgcc.
10395 (stage1-start, stage2-start, stage3-start): Copy the contents of
10396 the libgcc directory explicitly.
10397 (mostlyclean): Clean libgcc.
10398
5e640c56
AH
103992000-09-04 Andrew Haley <aph@redhat.com>
10400
10401 * dwarf2out.c: (stack_adjust_offset): New prototype.
10402
25ffb1f6
JH
10403Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz>
10404
10405 * combine.c (make_extraction): Fix rtx_cost comparison to
10406 match the comment.
10407
10408Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz>
10409
0e5921e8 10410 * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
25ffb1f6
JH
10411 umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
10412 Add '*' to insn pattern name.
10413
29844fa7
JJ
104142000-09-04 Jakub Jelinek <jakub@redhat.com>
10415
10416 * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
10417 use posn - 1 to index into tokens array.
10418 (maybe_paste_with_next): Adjust caller.
10419
0d86f538
GK
104202000-09-03 Geoff Keating <geoffk@cygnus.com>
10421
bff46771
GK
10422 * invoke.texi: Document the -mvxworks option for rs6000 ELF.
10423
0d86f538
GK
10424 * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
10425 (REGNO_REG_CLASS): Use symbolic register
10426 names.
10427
4e67550b
RE
104282000-09-03 Richard Earnshaw <rearnsha@arm.com>
10429
0e5921e8 10430 * arm.c (final_prescan_insn): If the form of a jump insn isn't
4e67550b
RE
10431 recognized, don't try to conditionally execute it.
10432
150f4100
DC
10433Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru>
10434
10435 * config/avr/avr.md ("*tablejump_lib"): New pattern.
10436 (call_value_insn): Right length claculation.
10437 (call_insn): Likewise.
10438
5fecfd8d
MM
104392000-09-02 Marek Michalkiewicz <marekm@linux.org.pl>
10440
10441 * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
10442 gas_output_limited_string, gas_output_ascii, output_movqi,
10443 output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
10444 out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
10445 out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
10446 ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
10447 lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
10448 out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
10449 Add "const" as needed to remove warnings.
10450
10451 * config/avr/avr.c (avr_override_options, avr_init_once,
10452 function_prologue, function_epilogue, frame_pointer_required_p,
10453 class_likely_spilled_p, order_regs_for_local_alloc,
10454 avr_address_cost, avr_ret_register): Use K&R style arguments.
10455 (initial_elimination_offset, gas_output_limited_string):
10456 Remove ATTRIBUTE_UNUSED from the used arguments.
10457 (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
10458 Use local variables src, dest, base to access operands[].
10459 Rename reg_dest to reg_src if that's what it is.
10460 (output_movhi, output_movsisf): Optimize loading 8-bit immediate
10461 constants to LD_REGS if reg_was_0.
10462 (output_reload_insisf): Change arg 3 to insn length and set it.
10463 (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
10464 access to 16-bit I/O register pairs.
10465 (avr_address_cost): Lower cost for the above case.
10466 (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
10467 may be clobbered, also for LD_REGS.
10468 (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
10469 with a CONST_INT.
10470
10471 * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
10472
10473 * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
10474 macro to test_hard_reg_class function.
10475 (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
10476 for loading immediate constants to LD_REGS.
10477 (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
10478
10479
bad3869a
MM
10480Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10481
10482 * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
10483 * config/avr/libgcc.S: Lost part of the previous patch.
10484
802a8181
DA
104852000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10486
10487 * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
10488 object before calling pthread_mutex_init.
10489
1a66cd67
AO
104902000-09-02 Alexandre Oliva <aoliva@redhat.com>
10491
10492 * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
10493 config/sh/crtn.asm: New files.
10494 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
10495 (crt1.o, crti.o, crtn.o): New targets.
10496 * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
10497 sh/t-elf.
10498 * configure: Rebuilt.
10499 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
10500 STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
10501 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
10502 Undefine for config/elfos.h to redefine.
10503 (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
10504
105052000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
10506
10507 * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
10508 legitimize_pic_address, output_pic_addr_const): Declare.
10509 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
10510 (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
10511 (TARGET_SWITCHES): New switch -mprefergot.
10512 (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
10513 (PIC_OFFSET_TABLE_REGNUM): Define.
10514 (GOT_SYMBOL_TABLE): Likewise.
10515 (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
10516 (ENCODE_SECTION_INFO): Define.
10517 (FINALIZE_PIC): New macros.
10518 (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
10519 (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
10520 * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
10521 (prepare_move_operands): Call emit_pic_move or
10522 emit_pic_const_move if appropriate.
10523 (output_far_jump): For PIC, use braf and output long offset.
0e5921e8 10524 (machine_dependent_reorg):
1a66cd67
AO
10525 (sh_expand_prologue): Save and initialize the PIC register.
10526 (sh_expand_epilogue): Restore it.
10527 (initial_elimination_offset): Account for it.
10528 (nonpic_symbol_mentioned_p): New function.
10529 (legitimize_pic_address): Likewise.
10530 (output_pic_addr_const): Likewise.
10531 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
10532 (call, call_value): Use them.
10533 (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
10534 symPLT_label2reg): New expands.
10535 * invoke.texi (SH Options): Document -mprefergot.
10536
6462bb43
AO
105372000-09-01 Alexandre Oliva <aoliva@redhat.com>
10538
10539 * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
10540 * gcse.c (hash_string_1): New function.
10541 (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
10542 (expr_equiv_p) <ASM_OPERANDS>: Likewise.
10543 * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
10544 (canon_hash_string): New function.
10545 (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
10546 (exp_equiv_p) <ASM_OPERANDS>: Likewise.
10547 (fold_rtx): Use ASM_OPERANDS accessor macros.
10548 * emit-rtl.c (copy_insn_1): Likewise.
10549 * integrate.c (copy_rtx_and_substitute): Likewise.
10550 * stmt.c (expand_asm_operands): Likewise. Give an
10551 ASM_OPERANDS rtx the mode of the output reg being set from it.
10552
1b4f90cd
FF
105532000-09-01 Fred Fish <fnf@be.com>
10554
10555 * fix-header.c (write_rbrac): Add putc and getc to list of
10556 functions to protect against prior definition as a macro.
0e5921e8 10557
3c786c69
JM
105582000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
10559
10560 * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
10561 (c_size_type_node): Define.
10562 * c-decl.c (init_decl_processing): Initialize c_size_type_node.
10563 * c-common.c (enum format_lengths, enum format_std_version,
10564 format_length_info, format_type_detail, BADLEN, NOLENGTHS,
10565 format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
10566 T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
10567 T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
10568 T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
10569 TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
10570 format_types): Define.
10571 (format_char_info, print_char_table, scan_char_table,
10572 time_char_table): Rearrange for new organization of information
10573 about format length modifiers and standard versions.
10574 (T_ST): Redefine to use c_size_type_node.
10575 (check_format_info): Obtain information about length modifiers and
10576 standard versions from tables. Adjust warning message wordings.
10577 Use the name from the user's program for `ll' and `hh' length
10578 modifiers in warning messages. Use more informative names for
10579 wanted types where available (for wchar_t, wint_t, size_t, signed
10580 size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
10581
8a09bb27
JW
105822000-09-01 Jim Wilson <wilson@cygnus.com>
10583
ca3920ad
JW
10584 * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
10585 * combine.c (distribute_notes): Handle REG_NORETURN.
10586 * rtl.c (reg_note_name): Add REG_NORETURN.
10587 * rtl.h (enum reg_note): Likewise.
10588
10589 * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
10590 ia64_file_start.
10591 * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
10592 (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
10593 (emit_predicate_relation_info): Handle conditional calls with
10594 REG_NORETURN.
10595 * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
10596 instead of ia64_file_start.
10597 * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
10598 * config/ia64/ia64.md (safe_across_calls_all,
10599 save_across_calls_normal): New patterns.
10600
8a09bb27
JW
10601 * loop.c (check_final_value): Check for biv use before checking for
10602 giv use. Check for both biv and giv uses. Always set last_giv_use
10603 if there is a giv use.
10604
11a13704
RH
106052000-09-01 Richard Henderson <rth@cygnus.com>
10606
10607 * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
10608 (madddi3): Likewise.
10609 (maddsi3): New.
10610
6324d2bb
RK
10611Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10612
fcf1b822
RK
10613 * expr.c (clear_storage): Don't use emit_move_insn unless
10614 either BLKmode or proper size.
10615 (store_constructor): Don't call clear_storage if REG of wrong size.
10616
6324d2bb
RK
10617 * flow.c (init_propagate_block_info): Don't mark frame dead at end
10618 of function if returns wiht stack pointer depressed.
10619
1ba5ae8f
AH
106202000-09-01 Andrew Haley <aph@redhat.com>
10621
0e5921e8
ZW
10622 * dwarf2out.c (stack_adjust_offset): New function.
10623 (dwarf2out_stack_adjust): Break out stack adjust logic into
10624 new stack_adjust_offset function. Look inside parallels and
10625 sequences for stack adjustments.
1ba5ae8f 10626
893f3d5b
JL
106272000-08-31 Jeff Law <law@cygnus.com>
10628
94c51f7a
JL
10629 * arm.md: Use no_new_pseudos to determine when it is safe
10630 to create new pseudo registers.
10631
0e5921e8
ZW
10632 * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
10633 when we can safely allocate new registers.
893f3d5b 10634
1b3d8f8a
GK
106352000-08-31 Geoffrey Keating <geoffk@cygnus.com>
10636
10637 * stmt.c (expand_asm_operands): Twiddle generating_concat_p
10638 so that CONCATs are not generated for ASMs.
10639 * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
10640 not generating_concat_p.
10641 * function.c (pop_function_context_from): Reset
10642 generating_concat_p.
10643 (prepare_function_start): Likewise.
10644 * rtl.c (generating_concat_p): Define.
10645 * rtl.h (generating_concat_p): Declare.
10646 * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
10647
4e8bd75f 106482000-08-22 Philipp Thomas <pthomas@suse.de>
0e5921e8 10649 Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
4e8bd75f
PT
10650
10651 * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
10652 for translation.
10653
b145ee27
GM
106542000-08-30 Greg McGary <greg@mcgary.org>
10655
10656 * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
10657 * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
10658 * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
10659
2afaa41c
GM
106602000-08-30 Greg McGary <greg@mcgary.org>
10661
10662 * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
10663 (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
10664 (TREE_INT_CST): New macro.
10665 * varasm.c (const_hash, compare_constant_1, record_constant_1):
10666 Use new macro TREE_INT_CST.
10667
1d92b3e1
NB
10668Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net>
10669
10670 * contrib.texi: Add self.
10671
b23ca156
AO
106722000-08-30 Alexandre Oliva <aoliva@redhat.com>
10673
10674 * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
10675 (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
10676 and labels.
10677
aef9fbbf
DA
106782000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10679
10680 * fixinc/gnu-regex.c: Don't define `const'.
10681
85f3d674
RK
10682Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10683
10684 * expr.c (store_constructor): Allow variable bounds of array type.
10685 (expand_expr): Don't blow up if type is ERROR_MARK.
10686 * varasm.c (output_constructor): Don't access lower bound of array
10687 type unless need it if index is supplied (so it can be a variable
10688 if no index is supplied).
10689 Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
10690 Other minor cleanups.
10691
5b67ad6f
DA
106922000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10693
10694 * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
10695 for compilations in stage 1 and subsequent stages, respectively.
10696 * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
10697 * configure: Rebuilt.
10698 * x-vax, x-vax-gcc: Deleted.
10699
63ad61ed
ZW
107002000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10701
10702 * c-common.c (declare_function_name): Use func_id_node,
10703 function_id_node, and pretty_function_id_node. Do not make
0e5921e8 10704 __func__ visible at file scope.
63ad61ed
ZW
10705 * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
10706 CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
10707 (function_id_node, pretty_function_id_node, func_id_node): New
10708 macros.
10709 * c-decl.c (init_decl_processing): Initialize function_id_node,
10710 pretty_function_id_node, and func_id_node.
10711 (c_make_fname_decl): Correct comment.
10712
10713 * tree.h (struct tree_identifier): Constify pointer member.
10714
10715 * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
10716 * c-pragma.h (struct weak_syms): Constify name and value members.
0e5921e8 10717 (add_weak): Constify arguments.
63ad61ed
ZW
10718
10719 * calls.c (special_function_p): Constify a char *.
10720 (expand_call): Remove variable which is initialized and then
10721 never used.
10722 * dependence.c (struct def_use, struct induction, struct subscript):
10723 Constify 'variable' member.
10724 (get_low_bound, have_induction_variable): Constify char * argument.
10725 (find_induction_variable): Add braces to avoid dangling else.
10726 (classify_dependence): Constify char * arrays.
10727 * profile.c (output_func_start_profiler): Constify a char *.
10728 * stor-layout.c (finalize_record_size): Constify a char *.
10729 * tree.c (is_attribute_p): Constify a char *.
10730 * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
10731
10732 * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
10733 for comprehensibility. Do not call get_identifier if we did
10734 not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to
10735 create temporary string constants, not ggc_alloc_string. No
10736 need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const
10737 char * to hold IDENTIFIER_POINTERs.
10738
cee58bc0
RH
107392000-08-29 Richard Henderson <rth@cygnus.com>
10740
10741 * config/ia64/ia64.md (muldi3): Use grfr_register_operand
10742 for the inputs.
10743
94aaab7a
RH
107442000-08-29 Richard Henderson <rth@cygnus.com>
10745
10746 * reload.c (push_secondary_reload): Allow class == reload_class
10747 if we're using a reload_in/out pattern.
10748
60a3c181
RH
10749 * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use
10750 the half that does not conflict with the reload register.
10751 (reload_outti): Likewise.
10752
9218435e
KH
107532000-08-29 Kazu Hirata <kazu@hxi.com>
10754
4381f7c2
KH
10755 * reload.c: Fix formatting.
10756
10757 * stmt.c: Fix formatting.
10758
9218435e
KH
10759 * gcc.c: Fix formatting.
10760
fba0bfd4
ZW
107612000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10762
10763 * flags.h (time_report, mem_report): New global flags.
10764 * toplev.c: Define time_report and mem_report.
10765 (f_options): Add -ftime-report and -fmem-report.
10766 (compile_file): Turn on time_report if quiet_flag is off.
10767 Call ggc_print_statistics at very end if mem_report is on.
10768 * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
10769
10770 * ggc-common.c (ggc_print_statistics): Rename to
10771 ggc_print_common_statistics; all callers changed. Scale
10772 quantities above 10K to kilobytes and above 10M to megabytes.
10773 * ggc-page.c (ggc_page_print_statistics): Rename to
10774 ggc_print_statistics. Report memory consumed by internal data
10775 structures for each allocation bucket. Scale quantities above
10776 10K to kilobytes and above 10M to megabytes.
10777 * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
10778 Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
10779 Define tally_leaves always.
10780 (ggc_print_statistics): New function.
10781 * ggc.h: Adjust for renamed functions.
10782
612105a6
DC
10783Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru>
10784
10785 * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
10786 output_movsisf instead of which_alternative.
10787
10788 * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
10789
6bec29c9
DC
10790Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
10791
10792 * config/avr/avr-protos.h: (avr_output_ascii) Removed.
10793 (avr_progmem_p): New prototype.
10794 (output_movsisf): Prototype declaration changed.
10795 (output_movqi): New prototype.
10796 (output_movhi): New prototype.
10797 (call_insn_operand): Likewise.
0e5921e8 10798 (final_prescan_insn): Likewise.
6bec29c9
DC
10799 (avr_simplify_comparision_p): Likewise.
10800 (avr_normalize_condition): Likewise.
10801 (compare_eq_p): Likewise.
10802 (out_shift_with_cnt): Likewise.
10803 (const_int_pow2_p): Likewise.
10804 (output_reload_inhi): Prototype declaration changed.
10805
10806 * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
10807 (ldi_reg_rtx): New. rtx for r31.
10808 (avr_init_stack): Initialize as "__stack".
10809 (function_prologue): Use it.
10810 Replace all TARGET_ENHANCED with AVR_ENHANCED.
10811 (avr_mcu_name): Initialize as "avr2".
10812 (avr_enhanced_p, avr_mega_p): New variables.
10813 (mcu_types, avr_override_options): Handle all known MCU types.
10814 Also handle avr1 (only preprocess, assemble and link).
10815 (print_operand): Using of `%K' in output template removed.
10816 (out_movqi_r_mr): Optimized.
10817 (out_movhi_r_mr): Likewise.
10818 (output_movqi): New function.
10819 (output_movhi): Likewise.
10820 (out_movsi_r_mr): Optimized.
10821 (output_movsisf): Compute insn length for `adjust_insn_length'
10822 (out_movqi_mr_r): Optimized.
10823 (out_movhi_mr_r): Optimized.
10824 (adjust_insn_length): Use output_movsisf, output_movqi,
10825 output_movhi for insn length adjusting.
10826 (reg_unused_after): Use dead_or_set_p.
10827 (preferred_reload_class): Now havn't any restriction.
10828 (reg_was_0): New function.
10829 (io_address_p): Likewise.
10830 (const_int_pow2_p): Likewise.
10831 (output_reload_inhi): Likewise.
10832 (output_reload_insisf): Likewise.
10833
10834 * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
10835 (LIB_SPEC): Use -lc for all supported devices.
10836 (LIBGCC_SPEC): Use -lgcc for all supported devices.
10837 (AVR_MEGA): Define as avr_mega_p.
10838 (AVR_ENHANCED): New, define as avr_enhanced_p.
10839 (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
10840 (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
10841 (CRT_BINUTILS_SPECS): Handle all known MCU types.
10842 Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
10843 (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
10844 (ASM_SPEC): Pass -mmcu=... to the assembler.
10845 Change all -DAVR_* to -D__AVR_*__.
10846 (INIT_TARGET_OPTABS), config/avr/libgcc.S:
10847 Rename library functions to start with two underscores.
10848 (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
10849 alignment.
10850 (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
10851 (SUPPORTS_WEAK): Likewise.
10852 (LDI_REG_REGNO): New. Register r31 will be used as temporary
10853 register for loading constants to r0-r14.
10854
10855 * config/avr/avr.md: Replace all TARGET_ENHANCED with
10856 AVR_ENHANCED.
10857 (*mov_r_sp): Removed. Handled by output_movhi.
10858 (*mov_sp_r): Likewise.
10859 (*mov_sp_r_no_interrupts): Likewise
10860 (*mov_sp_r_tiny): Likewise.
10861 (*movqi): Use output_movqi.
10862 (*reload_inqi): New.
10863 (*movhi): Use output_movhi.
10864 (*reload_inhi): New.
10865 (*negsi2): Optimized.
10866 (*negsf2): Likewise.
10867 Added peepholes (define_peephole2) for loading constants to r0-r14
10868 and for using `cpse' command.
10869
10870 * config/avr/libgcc.S: Rename library functions to start with two
10871 underscores.
10872 Add support for enhanced core.
10873 (_moqhi3): Fix typo, now _modqi3.
10874 (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
10875 (__prologue_saves__): Remove test for stack adjust by 0.
10876 (__tablejump__): New.
10877
10878 * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
10879 Add multilib support.
10880
20bd7bfa
JW
10881Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com)
10882
10883 * loop.c (prescan_loop): Don't check unknown_address_altered
10884 when deciding if insert_loop_mem is safe. Add BLKmode MEMs
10885 to loop_store_mems as necessary.
10886 (loop_invariant_p): Don't check unknown_address_altered
10887 or unknown_constant_address_altered.
10888
76f941a8
DA
108892000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10890
10891 * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
10892
2c8f0515
ZW
108932000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10894
10895 * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
10896 print just the filename.
10897 * cpplex.c (_cpp_run_directive): Add additional argument, the
10898 name to give the synthetic buffer. This defaults to
10899 translated "<command line>".
10900 * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
10901 Adjust to match.
10902 (_cpp_define_builtin): New function.
10903 * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
10904 * cpphash.h: Update prototypes.
10905
10906 * tradcpp.c (main): Process -D and -U simultaneously, in the
10907 order they appeared on the command line.
10908
6ad79f1b
KG
109092000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10910
10911 * c-decl.c (define_label): Call warning_with_file_and_line and
10912 error_with_file_and_line instead of plain warning or error.
10913
10914 * c-parse.in (label): Use save_filename/save_lineno to ensure
10915 correct values for calls to define_label.
10916
4361b41d
MM
109172000-08-29 Mark Mitchell <mark@codesourcery.com>
10918
10919 * calls.c (expand_call): Don't create a VAR_DECL just to throw it
10920 away.
10921 * expr.c (expand_expr, case TARGET_EXPR): Don't call
10922 mark_addressable.
10923 * tree.h (get_file_function_name): Remove two duplicate
10924 declarations.
10925
abf9af02
KH
109262000-08-28 Kazu Hirata <kazu@hxi.com>
10927
dc478a5d
KH
10928 * tree.c: Fix formatting.
10929
abf9af02
KH
10930 * xcoffout.c: Fix formatting.
10931
5f632b5e
JM
109322000-08-28 Jason Merrill <jason@redhat.com>
10933
10934 * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
10935
109362000-08-28 Daniel Berlin <dberlin@redhat.com>
10937
10938 * dwarf2out.c (dwarf2out_finish): Don't bother calling
10939 break_out_includes if it won't do anything.
10940
38323cc3
RH
109412000-08-28 Richard Henderson <rth@cygnus.com>
10942
10943 * reload.c (push_secondary_reload): Revert 2000-08-16 change.
10944 (find_reloads): Likewise.
10945 * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
10946 (reload_inhi): Likewise.
10947
e1ff012c
RH
109482000-08-28 Richard Henderson <rth@cygnus.com>
10949
10950 * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
10951 (call_insn_operand): Don't expect a surrounding mem.
10952 (constant_call_address_operand): Likewise.
10953 * config/i386/i386.h (PREDICATE_CODES): Update.
10954 * config/i386/i386.md (call patterns): Move the match_operand
10955 for the call destination inside the mem.
10956
c2cba7a9
RH
109572000-08-28 Richard Henderson <rth@cygnus.com>
10958
10959 * local-alloc.c (requires_inout): Don't use reserved range for
10960 EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
10961 * recog.c (asm_operand_ok): Likewise.
10962 (preprocess_constraints, constrain_operands): Likewise.
10963 * regclass.c (record_reg_classes): Likewise.
10964 * reload.c (find_reloads): Likewise.
10965 * reload1.c (maybe_fix_stack_asms): Likewise.
10966 (reload_cse_simplify_operands): Likewise.
10967 * stmt.c (expand_asm_operands): Likewise.
10968
10969 * md.texi: Update constraints documentation.
10970 * tm.texi (EXTRA_CONSTRAINT): Update.
10971
5f632b5e
JM
109722000-08-28 Daniel Berlin <dberlin@redhat.com>
10973
10974 * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
10975 (print_die): If we don't know the offset of the
10976 target die, try the symbol. Add a trailing newline.
10977 (reverse_all_dies): New fn.
10978 (dwarf2out_finish): Call it.
10979 (break_out_includes): Reorganize for clarity.
10980 (add_sibling_attributes): Don't call reverse_die_lists.
10981 (output_comp_unit): Rename from output_comdat_comp_unit. Use for
10982 primary CU, too.
10983 * flags.h: Add flag_eliminate_dwarf2_dups.
10984 * toplev.c (f_options): Support -feliminate-dwarf2-dups.
10985
5de0e8d4
JM
109862000-08-28 Jason Merrill <jason@redhat.com>
10987
5f632b5e
JM
10988 * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
10989 * dwarf2out.c: #include "md5.h".
10990 (DIE_LABEL_PREFIX): New macro.
10991 (dw_val_struct): Add 'external' flag to val_die_ref.
10992 (add_AT_die_ref, AT_ref): Adjust.
10993 (AT_ref_external, set_AT_ref_external): New fns.
10994 (build_abbrev_table): Call set_AT_ref_external.
10995 (value_format): Call AT_ref_external.
10996 (die_struct): Add die_symbol field.
10997 (new_die): Clear it.
10998 (dwarf_tag_name): Handle BINCL/EINCL.
10999 (dwarf2out_start_source_file): Add BINCL DIE.
11000 (dwarf2out_end_source_file): Add EINCL DIE.
11001 (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
11002 (loc_checksum, attr_checksum, die_checksum): New fns.
11003 (is_type_die, is_comdat_die, is_symbol_die): New fns.
11004 (compute_section_prefix, assign_symbol_names): New fns.
11005 (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
11006 (output_die): Call output_die_symbol and AT_ref_external.
11007 (output_comdat_comp_unit): New fn, split out from...
0e5921e8 11008 (dwarf2out_finish): ...here. Also call add_sibling_attributes for
5f632b5e
JM
11009 secondary CUs.
11010 (output_pubnames, output_aranges): Abort if we see entries from
11011 secondary CUs.
11012 * toplev.h: Declare file_name_nondirectory.
11013 * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
11014 (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
11015 (debug_start_source_file): Call dwarf2out_start_source_file
11016 regardless of debug verbosity.
11017 (debug_end_source_file): Similarly.
11018 * tree.h: Declare clean_symbol_name.
11019 * tree.c (clean_symbol_name): Split out from...
11020 (get_file_function_name_long): ...here.
11021
5de0e8d4
JM
11022 * dwarf2out.c (new_loc_descr): Use calloc.
11023 (splice_child_die): Remove the die from the right parent.
11024 (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
11025
04324727
RK
11026Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11027
11028 * toplev.c (decode_g_option): Don't give warning for unknown -g
11029 option; return 0 instead.
11030 (main): If -g option is not recognized by front end or
11031 language-independent code, give warning.
11032
9e3e266c
GM
110332000-08-28 Greg McGary <greg@mcgary.org>
11034
11035 * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
11036 * config/i386/i386.c (ix86_expand_compare): Remove `static'.
11037 * config/i386/i386.md (trap, conditional_trap): New insn & expand.
11038
a0bff95f
GM
110392000-08-27 Greg McGary <greg@mcgary.org>
11040
11041 * cpplex.c (parse_string): Don't look for backslash
11042 before first char in `namebuf'.
11043 * loop.c (strength_reduce): Skip NOTEs.
11044
edb4c415
JM
110452000-08-27 Jason Merrill <jason@redhat.com>
11046
11047 * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
11048 DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or
11049 TREE_ASM_WRITTEN, either.
11050 (finish_decl): Adjust.
11051
6e88e75c
PT
110522000-08-28 Philipp Thomas <pthomas@suse.de>
11053
11054 * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
11055 they have been incorporated into the gettext CVS. Change the text to
11056 reflect the current status of NLS. Add instructions for accessing
11057 the gettext CVS and add the patch from Martin v. Loewis.
11058
e53ca51f
GK
110592000-08-27 Geoff Keating <geoffk@cygnus.com>
11060
11061 * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
11062 by using gen_lowpart_common.
11063 (movdi_internal64+6): Likewise.
11064
a0a6fdc8
AO
110652000-08-26 Alexandre Oliva <aoliva@redhat.com>
11066
1b2dd04a
AO
11067 * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
11068 Document.
11069
a0a6fdc8
AO
11070 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
11071 numbers to the ranges used by GDB.
11072
26a110f5
RH
110732000-08-25 Richard Henderson <rth@cygnus.com>
11074
11075 * config/ia64/ia64.h (struct machine_function): Add n_varargs.
11076 * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
11077 (ia64_expand_prologue): Likewise.
11078 (ia64_setup_incoming_varargs): Set it. Properly skip the current
11079 argument for stdargs.
11080
ecff20d4
JM
110812000-08-25 Jason Merrill <jason@redhat.com>
11082
11083 * integrate.c (expand_inline_function): Pull out the original decl.
11084
caa511fd
JW
110852000-08-25 Jim Wilson <wilson@cygnus.com>
11086
d51ff7cb
JW
11087 * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
11088
caa511fd
JW
11089 * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
11090
9a56f4f6
GM
110912000-08-25 Greg McGary <greg@mcgary.org>
11092
11093 * flow.c (dump_edge_info): Use ARRAY_SIZE.
11094 * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
11095
31448271
RE
110962000-08-25 Richard Earnshaw <rearnsha@arm.com>
11097
11098 * arm.h (STRUCT_VALUE): Define to 0, not NULL.
11099
b949ea8b
JW
11100Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com)
11101
11102 * i386.c (ix86_find_base_term): New.
11103 * i386-protos.h (ix86_find_base_term): Prototype.
11104 * i386.h (FIND_BASE_TERM): Define.
11105 * alias.c (find_base_term): Use it.
11106 * tm.texi (FIND_BASE_TERM): Document it.
11107
11108 * alias.c (true_dependence, write_dependence_p): Unchanging
11109 memory can't conflict with non-unchanging memory.
11110
11111 * alias.c (memrefs_conflict_p): A BLKmode reference
11112 to a symbol (or CONST_INT address) always conflicts
11113 with a reference to another symbol.
11114
343b7260
JM
111152000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
11116
11117 * c-common.c (time_char_table): Don't allow width and flags with
11118 "z" format.
11119
1f9124e4
JJ
111202000-08-25 Jakub Jelinek <jakub@redhat.com>
11121
11122 * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
11123 way as LT and LTU when the second operand has 0 in low word.
11124
6057c0e6
MH
111252000-08-26 Michael Hayes <mhayes@cygnus.com>
11126
135ebc36
MH
11127 * basic-block.h (struct loop): Rename `exits' field to
11128 `exit_edges'. Add `entry_edges' and `num_entries' fields.
11129
11130 * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
11131 (flow_loop_entry_edges_find): Add.
11132 (flow_edge_list_print): Rename from flow_exits_print.
11133 (flow_loops_find): Call flow_loop_entry_edges_find.
11134 (flow_loop_dump): Dump entry_edges list.
11135 (flow_loops_free): Free entry_edges.
0e5921e8 11136
135ebc36 111372000-08-26 Michael Hayes <mhayes@cygnus.com>
0e5921e8 11138
6057c0e6
MH
11139 * loop.c (loop_dump_aux, debug_loop): New functions.
11140 (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
11141
11142 * flow.c (flow_loops_dump): Add callback parameter.
11143 (flow_loop_dump): Add callback parameter and call it. Move
11144 loop note debugging code to loop_dump_aux.
11145
11146 * basic-block.h (flow_loop_dump): Add callback parameter
11147 (flow_loops_dump): Likewise.
11148
11149 * toplev.c (rest_of_compilation): Add NULL callback function pointer
11150 to call to flow_loops_dump.
0e5921e8 11151
028fc6e7
MH
111522000-08-26 Michael Hayes <mhayes@cygnus.com>
11153
11154 * loop.c (count_loop_regs_set): Replace start and end arguments
11155 with loop argument. All callers udated.
0e5921e8 11156
371502a8 111572000-08-26 Michael Hayes <mhayes@cygnus.com>
0e5921e8 11158
371502a8
MH
11159 * loop.c (constant_high_bytes): Delete.
11160
e375c819
MH
111612000-08-26 Michael Hayes <mhayes@cygnus.com>
11162
11163 * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
11164 and NOTE_INSN_LOOP_VTOP to...
11165 (find_and_verify_loops) ...here.
11166
036cfb36
AO
11167Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com>
11168
11169 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
11170 (fini_dummy, init_dummy): Use it.
11171
c2e20542
NB
11172Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net>
11173
11174 * cpplex.c (is_macro_disabled): Caller has already checked
11175 that we're not a preprocessed file.
11176
83bab8db
MM
111772000-08-24 Mark Mitchell <mark@codesourcery.com>
11178
11179 * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
11180 (c-iterate.o): Remove target.
11181 * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
11182 * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
11183 (finish_decl): Don't handle iterators.
11184 (grokdeclarator): Likewise.
11185 * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
11186 * gcc/c-gperf.h: Regenerated.
11187 * gcc/c-iterate.c: Removed.
11188 * gcc/c-lex.c (init_lex): Don't handle iterators.
11189 * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
11190 (compstmt_primary_start): Remove push_iterator_stack call.
11191 (stmt): Don't allow iterator statements. Replace iterator_expand
11192 with expand_expr_stmt.
11193 (all_iter_stmt): Remove.
11194 (all_iter_stmt_simple): Likewise.
11195 (all_iter_stmt_with_decl): Likewise.
11196 * gcc/c-tree.h (ITERATOR_P): Remove.
11197 (ITERATOR_BOUND_P): Likewise.
11198 (init_iterators): Remove declaration.
11199 (iterator_expand): Likewise.
11200 (iterator_for_loop_start): Likewise.
11201 (iterator_for_loop_end): Likewise.
11202 (iterator_for_loop_record): Likewise.
11203 (push_iterator_stack): Likewise.
11204 (pop_iterator_stack): Likewise.
11205 * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
11206 (readonly_warning): Likewise.
11207 * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
0e5921e8 11208
aee3c6b0
JW
112092000-08-24 Jim Wilson <wilson@cygnus.com>
11210
11211 * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
11212 Copy type in a TYPE_DECL, just like pushdecl does.
11213
58d8c980
RH
112142000-08-24 Richard Henderson <rth@cygnus.com>
11215
11216 * toplev.c (main): Enable flag_reorder_blocks at -O2.
11217
054f5e69
ZW
112182000-08-24 Zack Weinberg <zack@wolery.cumb.org>
11219
0e5921e8 11220 * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
054f5e69
ZW
11221 asked for one page, allocate GGC_QUIRE_SIZE of them and put
11222 the extras on the free list.
11223 (release_pages): Clean up.
11224 (ggc_set_mark): Don't adjust G.allocated here...
11225 (sweep_pages): ... do it here.
11226
112272000-08-24 Zack Weinberg <zack@wolery.cumb.org>
11228
11229 * cppfiles.c (read_include_file): Rearrange initializations.
11230
0551c32d
RH
112312000-08-24 Richard Henderson <rth@cygnus.com>
11232
11233 * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
11234
11235 * config/ia64/ia64-protos.h: Update.
11236 * config/ia64/ia64.c (gr_register_operand): New.
11237 (fr_register_operand, grfr_register_operand): New.
11238 (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
11239 (grfr_reg_or_8bit_operand): New.
0e5921e8 11240 (gr_reg_or_0_operand): Rename from reg_or_0_operand and
0551c32d
RH
11241 use gr_register_operand.
11242 (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
11243 (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
11244 (gr_reg_or_8bit_and_adjusted_operand): Likewise.
11245 (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
11246 (fr_reg_or_fp01_operand): Likewise.
11247 (not_postinc_memory_operand): New.
11248 (ia64_split_timode): Remove unused variables.
11249 (rtx_needs_barrier): Check arguments to cmpxchg.
11250 (builtin_description): Remove.
11251 (bdesc_2argsi, bdesc_2argdi): Remove.
11252 (ia64_init_builtins): Declare all builtins directly.
11253 (ia64_expand_fetch_and_op): Rewrite to be called from
11254 ia64_expand_builtin directly. Use expand_binop and co.
11255 (ia64_expand_op_and_fetch): Likewise.
11256 (ia64_expand_compare_and_swap): Likewise.
11257 (ia64_expand_binop_builtin): Remove.
11258 (ia64_expand_lock_test_and_set): New.
11259 (ia64_expand_lock_release): New.
11260 (ia64_expand_builtin): Use them.
11261 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
11262 (EXTRA_CONSTRAINT): Use it.
11263 (PREDICATE_CODES): Update.
11264 * config/ia64/ia64.md (*): Use gr_register_operand and co.
11265 (mf): Indicate that we set memory as well as use it.
11266 (fetchadd_acq_si): Show memory being modified as well.
0e5921e8 11267 (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
0551c32d
RH
11268 (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
11269 (lock_test_and_set_si, lock_test_and_set_di): Remove.
11270 (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
11271 (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
11272 (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
11273 (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
11274 (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
11275 (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
11276 (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
11277 (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
11278 * config/ia64/ia64intrin.h (*): Cast result to the appropriate
11279 return type. Pretty print definitions.
11280
7c866fb5
JW
112812000-08-24 Jim Wilson <wilson@cygnus.com>
11282
11283 * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
11284 we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
11285
40e8cc95
JM
112862000-08-24 Jason Merrill <jason@redhat.com>
11287
11288 * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
11289 AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
0e5921e8 11290 (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
40e8cc95
JM
11291 get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
11292
b6a1cbae
GM
112932000-08-24 Greg McGary <greg@mcgary.org>
11294
11295 * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
11296 and extendtab within their proper array boundaries.
11297 * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
11298 for the entire array.
11299
11300 * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
11301 * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
11302 * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
11303 * config/fr30/fr30.c (fr30_print_operand): Likewise.
11304 * config/i386/dgux.c (output_options): Likewise.
11305 * config/i386/dgux.h (ASM_FILE_START): Likewise.
11306 * config/m88k/m88k.c (output_options): Likewise.
11307 * config/m88k/m88k.h (ASM_FILE_START): Likewise.
11308 * config/mcore/mcore.c (mcore_output_inline_const_forced,
11309 layout_mcore_frame, handle_structs_in_regs): Likewise.
11310 * config/mips/mips.c (output_block_move): Likewise.
11311 * config/rs6000/rs6000.c (rs6000_override_options,
11312 rs6000_file_start): Likewise.
11313 * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
11314 * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
11315 * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
11316 * builtins.c (expand_builtin_setjmp): Likewise.
11317 * expr.c (safe_from_p): Likewise.
11318 * flow.c (life_analysis): Likewise.
11319 * fold-const.c (size_int_type_wide): Likewise.
11320 * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
11321 * genattrtab.c (make_length_attrs): Likewise.
11322 * genopinit.c (gen_insn): Likewise.
11323 * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
11324 * global.c (global_alloc): Likewise.
11325 * local-alloc.c (find_free_reg): Likewise.
11326 * mips-tdump.c (print_symbol): Likewise.
11327 * mips-tfile.c (parse_def, parse_input): Likewise.
11328 * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
11329 * stmt.c (expand_nl_goto_receiver): Likewise.
11330 * stor-layout.c (set_sizetype): Likewise.
11331 * varasm.c (decode_reg_name): Likewise.
11332 * toplev.c (decode_f_option, decode_W_option,
11333 set_target_switch, print_switch_values): Likewise.
11334 (NUM_ELEM): Remove macro.
11335 (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
11336
5b47282c
GM
113372000-08-24 Greg McGary <greg@mcgary.org>
11338
11339 * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
11340 (MAIN_NAME_P, main_identifier_node): New macros.
11341 * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
11342 * c-decl.c (start_decl, grokdeclarator, start_function,
11343 store_parm_decls, finish_function): Use MAIN_NAME_P.
11344 * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
11345 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
11346 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
11347 * config/pdp11/pdp11.c (output_function_prologue): Likewise.
11348
87ae0c74
GM
113492000-08-24 Greg McGary <greg@mcgary.org>
11350
11351 * cppfiles.c (actual_directory): Don't write beyond `dir'
11352 when it contains "".
11353 * real.c (asctoeg): Stay within bounds of etens[][].
11354
b148aeaa
KG
113552000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11356
11357 * dependence.c (dependence_string, direction_string,
11358 dump_one_node, dump_node_dependence): Hide unused identifiers.
11359 (get_low_bound, normalize_coefficients): Match definition to
11360 static prototype.
11361 (get_one_coefficient): Initialize variables `value0_is_idx' and
11362 `value1_is_idx'.
11363 (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
11364 (ziv_test): Delete variable `idx', use parameter `sub' instead.
11365 (direction_merge): Avoid automatic aggregate initialization.
11366 (have_dependence_p): Use `src' not `dest' to set `src_idx'.
11367 Initialize variables `dest_idx' and `src_idx'.
11368 (end_dependence_analysis): Avoid C89 style function definition.
11369
4894ecce
JM
113702000-08-24 Joseph S. Myers <jsm28@cam.ac.uk>
11371
11372 * c-common.c (time_char_table): Don't allow width with %F.
11373 (check_format_info): Don't allow "Z" length with scanf.
11374
2ab99c46
GDR
113752000-08-24 Gabriel Dos Reis <gdr@codesourcery.com>
11376
11377 * diagnostic.c (finish_diagnostic): Define.
11378 (output_do_printf): Use wrap_text instead of output_add_string.
11379 (default_print_error_function): Avoid embedded '\n'.
11380
11381 * diagnostic.h (flush_diagnostic_buffer): Declare.
11382
335e59bd
AO
113832000-08-23 Alexandre Oliva <aoliva@redhat.com>
11384
11385 * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
11386
d9fe00bb
HPN
113872000-08-23 Hans-Peter Nilsson <hp@axis.com>
11388
11389 * Makefile.in (GCC_PASSES): Add specs.
11390
b97644fc
JW
113912000-08-23 Jim Wilson <wilson@cygnus.com>
11392
11393 * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
11394 * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
11395 EHANDLER nor UHANDLER bit is set.
11396 (__get_except_table): Likewise.
11397
64a7723d
NC
113982000-08-23 Nick Clifton <nickc@redhat.com>
11399
02689e18
NC
11400 * config/arm/lib1funcs.asm: Replace upper case condition codes
11401 with lower case versions.
11402
64a7723d
NC
11403 * config/arm/arm.h (STRUCT_VALUE): Define.
11404 (STRUCT_VALUE_REGNUM): Delete.
11405
bbdac7d0
ZW
114062000-08-23 Zack Weinberg <zack@wolery.cumb.org>
11407
11408 * cpphash.h (IN_I): New flag for directive table.
11409 * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
11410 #pragma with IN_I.
11411 (_cpp_check_directive): If -fpreprocessed, execute directives
11412 marked with IN_I. Issue no warnings in this case.
11413 * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
11414
d8eceea4
JM
114152000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
11416
11417 * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
11418 %u.
11419 (check_format_info): Support printf 'I' flag; warn about it with
11420 -pedantic.
11421
e04c2d6c
RE
114222000-08-23 Richard Earnshaw (rearnsha@arm.com)
11423
11424 * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
11425 barrier can't be ignored by the alias analysis code.
11426
f4306baa
EZ
114272000-08-12 Eli Zaretskii <eliz@is.elta.co.il>
11428
11429 * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
11430 works inside fixincl.
11431
95d0e5f1
AO
11432Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com>
11433
11434 * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
11435 simplify_relational_operation() unless both operands are of
11436 VOIDmode.
11437 * cse.c (fold_rtx): Likewise.
11438
55efb413
JW
11439Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com)
11440
11441 * rtlanal.c (rtx_unstable_p): The pic register is stable
11442 (within one function) and the actual rtx should be used
11443 when checking the registers.
11444 (rtx_addr_can_trap_p): Pic memory addresses can't trap.
11445
11446 * alias.c (true_dependence, write_dependence_p): Fix
11447 bug in previous patch.
11448
11449 * i386.c (ix86_GOT_alias_set): New.
11450 (legitimize_pic_address): Use it.
11451
11452 * rtlanal.c (rtx_unstable_p): An unchanging MEM is
11453 only stable if its address is stable.
11454 (rtx_varies_p): An unchanging MEM can't vary if
11455 its address doesn't vary.
11456
aac625ac
KG
114572000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11458
11459 * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
11460
62432849
DA
114612000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca>
11462
11463 * vax.h (ASM_SPEC): Pass `-J' to assembler.
11464 * x-vax-gcc: New file for bootstrapping with gcc.
dd745546 11465 * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
62432849
DA
11466 * configure.in: Use x-vax-gcc with gcc.
11467 * configure: Rebuilt.
11468
1eb994b7
R
11469Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11470
11471 * toplev.c (rest_of_compilation): Rebuild label notes after
11472 post-reload splitting pass if new labels have been created.
11473
f6a542de
GDR
114742000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
11475
11476 * diagnostic.h (output_buffer_state): New macro.
11477 * diagnostic.c (diagnostic_for_decl, sorry,
11478 default_print_error_function, output_do_verbatim,
11479 report_diagnostic, report_problematic_module): Use it.
11480 (wrap_text): Tweak.
11481 (output_format): Use wrap_text instead of maybe_wrap_text.
11482
888e552f
NC
114832000-08-22 Nick Clifton <nickc@redhat.com>
11484
11485 * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
11486 Common code for ARM divide and modulus functions.
11487 (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
11488 ARM_DIV_MOD_BODY.
11489 (FUNC_END): New macro: Common code at the end of the division and
11490 modulo functions.
11491 (THUMB_FUNCTION_START): New macro: Common code at the start of
11492 Thumb functions.
11493 (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
0e5921e8 11494
89e43e33
KK
11495Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11496
11497 * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
11498
11499 * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
11500 sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
11501 const0_rtx.
11502
7405dc37
NC
115032000-08-22 Nick Clifton <nickc@redhat.com>
11504
11505 * config/arm/lib1funcs.asm (__umodsi3): Before performing any
11506 restorative additions, test for bottom bits of IP being set,
11507 rather than relying upon the RORs not matching.
11508 (__modsi3): Ditto.
11509
9861b0c9
DE
115102000-08-22 David Edelsohn <edelsohn@gnu.org>
11511
11512 * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
60a3c181 11513 text_section() as appropriate instead of emitting text csect
9861b0c9
DE
11514 pseudo-op directly.
11515 (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
11516 (UNIQUE_SECTION): Define macro.
11517 (ASM_OUTPUT_SECTION_NAME): Define macro.
11518 * rs6000.c (rs6000_override_options): Disable -ffunction-sections
60a3c181 11519 on AIX if debugging and -fdata-sections always.
9861b0c9
DE
11520
115212000-08-22 Steven King <sxking@uswest.net>
df3a88f0
SK
11522
11523 * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
11524 machinery.
11525 (LDBL_MAX): Same here.
11526
b578dbd7
RH
115272000-08-22 Richard Henderson <rth@cygnus.com>
11528
11529 * flow.c (tidy_fallthru_edge): Update b->end properly.
11530
d061bc1e
SC
115312000-08-22 Stan Cox <scox@redhat.com>
11532
60a3c181
RH
11533 * Makefile.in (OBJS): Add dependence.o.
11534 * dependence.c: New file.
0e5921e8 11535
23d16877 115362000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca>
3cadd778 11537
d60eab50
AO
11538 * calls.c (check_sibcall_argument_overlap_1): Adjust for
11539 ARGS_GROW_DOWNWARD.
11540 (check_sibcall_argument_overlap): Likewise.
11541
23d16877
AO
115422000-08-22 Alexandre Oliva <aoliva@redhat.com>
11543
3cadd778
AO
11544 * invoke.texi (SH Options): Document -m4-nofpu,
11545 -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
11546 -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
11547
23e4d028
JM
115482000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
11549
11550 * c-common.c (check_format_info): Give the 'some locales' warning
11551 for strftime %Ey rather than the unconditional 'only last 2 digits
11552 of year' one.
11553
bc82c87c
RH
115542000-08-22 Richard Henderson <rth@cygnus.com>
11555
11556 * alias.c (init_alias_analysis): Do not register
11557 struct_value_incoming_rtx or static_chain_rtx as pointing
11558 to stack memory.
11559
7db9125f
JL
11560Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com)
11561
11562 * protoize.c (munge_compile_params): Fix typo and formatting buglets.
11563
b413d64d
GDR
115642000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
11565
11566 * diagnostic.h (report_problematic_module): Declare.
11567 * diagnostic.c (report_problematic_module): New function.
11568 (report_error_function): Tweak.
11569
c4a6c0f3
RK
11570Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11571
11572 * stmt.c (expand_goto_internal, fixup_gotos): Only check
11573 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
11574
770a7feb
RH
115752000-08-21 Richard Henderson <rth@cygnus.com>
11576
11577 * flow.c (calculate_global_regs_live): Mark frame pointer live
11578 everywhere before reload.
11579
280db205
JW
115802000-08-21 Jim Wilson <wilson@cygnus.com>
11581
11582 * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
11583 INTEL_EXTENDED_IEEE_FORMAT.
11584 (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally
11585 clear last two bytes of output FP value.
11586
94c21c17
GS
115872000-08-21 Graham Stott <grahams@cygnus.co.uk>
11588
11589 * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
11590
6315f068
JJ
115912000-08-21 Jakub Jelinek <jakub@redhat.com>
11592
11593 * unroll.c (loop_find_equiv_value): If ret is modified between
11594 insn and loop_start, ret might not be equivalent to reg.
11595
5804a754
JM
115962000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11597
11598 * c-common.c (init_dollar_format_checking,
11599 maybe_read_dollar_number, finish_dollar_format_checking): New
11600 functions.
11601 (dollar_arguments_used, dollar_arguments_count,
11602 dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
11603 New variables.
11604 (check_format_info): Support $ formats for scanf and printf width
11605 and precision. Always increment format_chars to advance past the
11606 '*' of precision, not just when the format parameters are
11607 available to check.
11608
95adab8e
KG
116092000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11610
11611 * mips.c (block_move_loop, expand_block_move,
11612 function_arg_partial_nregs, save_restore_insns, function_prologue,
11613 mips_expand_prologue, RA_MASK): Avoid using the `U' integer
11614 constant suffix.
11615 (function_arg_advance, function_arg): Match argument to format
11616 specifier `%p'.
11617
49009afd
JL
116182000-08-21 Nix <nix@esperi.demon.co.uk>
11619
11620 * gcc.c (do_spec_1): Implement %j spec flag.
11621 Remove dead comment.
11622
11623 * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
60a3c181
RH
11624 * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
11625 * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
11626 * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
49009afd 11627
60a3c181 11628 * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
49009afd
JL
11629 writable) instead of hardcoded value.
11630
11631 * toplev.c (compile_file): Output to a file even if -fsyntax-only.
11632
60a3c181
RH
11633 * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
11634 MKTEMP_EACH_FILE.
49009afd 11635
60a3c181 11636 * gcc.c (cc1_options): Do not process -o or run the assembler if
49009afd 11637 -fsyntax-only.
05a3d06e 11638 * objc/lang-spec.h: Likewise.
49009afd
JL
11639
116402000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
dc13bad7
EZ
11641
11642 * fixinc/fixincl.c (fix_with_system): Pipe the output of
11643 "external" fixes through `cat', to avoid truncating the input
11644 file by redirection.
11645
cb694d2c
JJ
116462000-08-21 Jakub Jelinek <jakub@redhat.com>
11647
11648 * config/i386/i386.md (lea_general_1): Copy insn condition to split
11649 condition.
11650 (lea_general_2, lea_general_3): Likewise.
11651
cde6e684
KG
116522000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11653
11654 * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
11655 warnings to user code.
11656
11657 * c-lex.c (readescape, yylex): Likewise.
11658
11659 * c-typeck.c (store_init_value, process_init_element): Likewise
11660 (c_expand_start_case): Format.
11661
120dc6cd
MR
116622000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
11663
11664 * mips/linux.h (LINK_SPEC): Use %(endian_spec).
11665
11666 * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
0e5921e8 11667 and linker_endian_spec to endian_spec.
120dc6cd
MR
11668 (ENDIAN_SPEC): Add %{EB} and %{EL}.
11669 (LINK_SPEC): Remove %{EB} and %{EL}.
0e5921e8 11670 (ASM_SPEC): Likewise. Use %(endian_spec).
120dc6cd 11671
93e2382f
JM
116722000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11673
11674 * c-tree.h (flag_hosted): Move declaration from here...
11675 * c-common.h (flag_hosted): ... to here.
11676 (flag_noniso_default_format_attributes): New declaration.
11677 * c-decl.c (flag_noniso_default_format_attributes): New variable.
11678 (c_decode_option): Set it appropriately for options choosing
11679 language standard variant.
11680 * c-common.c (init_function_format_info): Only provide default
11681 format attributes if flag_hosted. Only provide the gettext
11682 formats if flag_noniso_default_format_attributes. Update
11683 comments.
11684 (check_format_info): Disable treatment of %a as a scanf flag in
11685 C99 mode.
11686
f3d360aa
JM
116872000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11688
11689 * c-common.c (scan_char_table): Add 'w' to flags for all formats
11690 except 'n'.
11691 (check_format_info): Set 'wide' for scanf format widths. Warn for
11692 a zero scanf width. Make the check for writing into a constant
11693 object at the first level of indirection; at later levels, warn if
11694 any type qualifiers are encountered.
11695
e04ca094
JL
11696Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com)
11697
e6ea3b5f
JL
11698 * reload.c (reload_inner_reg_of_subreg): New function broken out of
11699 push_reload.
11700 (push_reload): Use reload_inner_reg_of_subreg.
11701 (combine_reloads): Do not combine reloads if the input reload
11702 is a SUBREG in which the inner part will need reloading.
11703
e04ca094
JL
11704 * global.c (global_alloc): Avoid passing dumpfile argument to
11705 reload routines.
11706 * toplev.c (rest_of_compilation): Likewise.
11707 * reload.h (reload): Remove dumpfile argument. Callers changed.
11708 (debug_reload, debug_reload_to_stream): Move prototypes here.
11709 * rtl.h (reload): Remove dumpfile argument.
11710 * reload.c (debug_reload): Remove prototype.
11711 (debug_reload_to_stream): Likewise.
11712 * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
11713 instead.
11714
24805e80
GDR
117152000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
11716
11717 * diagnostic.c (context_as_prefix): Export.
11718 (need_error_newline): Remove.
11719 (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
11720 (error_module_changed, record_last_error_module,
11721 error_function_changed, record_last_error_function): New functions.
11722 (initialize_diagnostics): Default intialize
11723 lang_diagnostic_starter, lang_diagnostic_finalizer.
11724 (init_output_buffer): Tweak.
11725 (file_name_as_prefix): New function.
11726 (announce_function, default_print_error_function,
11727 report_error_function, set_diagnostic_context): Tweak.
11728
056b6841
RE
117292000-08-21 Richard Earnshaw <rearnsha@arm.com>
11730
11731 * flow.c (init_propagate_block_info): Handle SUBREG in a jump
11732 condition expression.
11733
7171b491
RH
117342000-08-20 Richard Henderson <rth@cygnus.com>
11735
11736 * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
11737
3cb553b4
ZW
117382000-08-20 Zack Weinberg <zack@wolery.cumb.org>
11739
11740 * cppinit.c (cpp_init): Set global flag when called.
11741 (cpp_reader_init): Bomb out if cpp_init hasn't been called.
11742
9861b0c9 11743Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
3cb553b4 11744
60a3c181
RH
11745 * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
11746 before `process_directive' so that newlines won't be missed
11747 for directives.
11748 (cpp_printf): Increment `print->lineno' when newline is emitted.
3cb553b4 11749
60a3c181
RH
11750 * cppmain.c (cb_ident): Likewise.
11751 (cb_define): Likewise.
11752 (cb_undef): Likewise.
11753 (cb_include): Likewise.
11754 (cb_def_pragma): Likewise.
11755 (dump_macros_helper): Likewise.
3cb553b4 11756
9c668921
RH
117572000-08-20 Richard Henderson <rth@cygnus.com>
11758
11759 * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
11760 assigned before a loop.
11761
11762 * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
11763 (ashrsi3, lshrsi3): Likewise.
11764
4e1e6a01
GDR
117652000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11766
11767 * c-lang.c: #include diagnostic.h
11768 (c_tree_printer): New function.
11769 (lang_init): Initialize lang_printer.
11770
11771 * Makefile.in (c-lang.o): Depends on diagnostic.h
11772
e2840263
GDR
117732000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11774
11775 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
11776
11777 * diagnostic.c (default_diagnostic_starter,
11778 default_diagnostic_finalizer): New functions.
11779 (diagnostic_for_asm, diagnostic_for_decl): Tweak.
11780 (pedwarn, pedwarn_with_file_and_line, error,
11781 error_with_file_and_line, fatal, warning,
11782 warning_with_file_and_line): Adjust call to report_diagnostic.
11783 (report_diagnostic): Rework.
11784 (set_diagnostic_context): New function.
11785
11786 * diagnostic.h (struct diagnostic_context): New data structure.
11787 (diagnostic_message, diagnostic_argument_list,
11788 diagnostic_file_location, diagnostic_line_location,
11789 diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
11790 diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
11791 (set_diagnostic_context): Declare.
11792 (report_diagnostic): Change prototype.
11793
574f7425
NB
11794Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net>
11795
11796 * fix-header.c (main): Initialize cpplib.
11797
f1e42c81
MM
117982000-08-19 Michael Meissner <meissner@redhat.com>
11799
34c9e848
MM
11800 * ifcvt.c (find_if_block): Do not assume that a THEN block has any
11801 instructions in it before checking for indirect jumps.
11802
f1e42c81
MM
11803 * ifcvt.c (find_if_block): Do not consider a THEN block that ends
11804 in a indirect jump as a potential for conditional execution.
11805
11806 * d30v.h (d30v_init_expanders): Don't declare here.
11807 * d30v-protos.h (d30v_init_expanders): Declare here with a valid
11808 prototype.
11809
9d6c2770
NB
11810Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net>
11811
11812 * cpp.texi: Add @section for assertions.
11813
e76d9acb
JW
11814Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com)
11815
11816 * loop.c (scan_loop): Use CONST_CALL_P instead of
11817 checking for REG_LIBCALL / REG_RETVAL.
11818
f49957d6
JL
11819Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com)
11820
850aac53
JL
11821 * reload1.c (reload_as_needed): Accept dumpfile argument,
11822 pass it to emit_reload_insns.
11823 (emit_reload_insns): Add new dumpfile argument. If non-null
11824 then dump the reloads for each insn into the dumpfile.
11825 (reload): Pass dumpfile to reload_as_needed.
11826
f49957d6
JL
11827 * invoke.texi: Clean up linux-gnu vs linux comments.
11828
041f25e6
RH
118292000-08-19 Richard Henderson <rth@cygnus.com>
11830
11831 * config/ia64/ia64.c (reg_or_5bit_operand): New.
11832 (ia64_depz_field_mask): New.
11833 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
11834 (PREDICATE_CODES): Update.
11835 * config/ia64/ia64.md: Update commentary.
11836 (depz_internal): New.
11837 (ashlsi3): Implement directly.
11838 (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
11839 (ashldi3): Use shladd.
11840 * config/ia64/ia64-protos.h: Update.
11841
319ea138
ZW
118422000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11843
11844 * toplev.c (independent_decode_option): Always process -g.
11845 Remove third argument, now unused. Adjust caller to match.
11846
8231ad94
RH
118472000-08-18 Richard Henderson <rth@cygnus.com>
11848
11849 * combine.c (make_compound_operation): Break after creating
11850 the extraction.
11851
6e19bb38
ZW
118522000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11853
11854 * cpplib.c (cpp_register_pragma_space): Just return if the
11855 namespace is already registered.
11856
477d303f
RE
118572000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com>
11858
11859 * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
11860 constant amount. Do not generate ROTL instruction.
11861
ffe51c8a
AO
11862Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com>
11863
11864 * config/sh/elf.h: Do not include sh/sh.h.
11865 * config/sh/rtems.h: Likewise.
11866 * config/sh/rtemself.h: Do not include sh/elf.h.
11867 * configure.in: Get them included with `tm_file's.
11868 * configure: Rebuilt.
11869
8845e874
AO
11870 * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
11871 * config/sh/sh.c (fpscr_set_from_mem): Use them.
11872
3f546a53
RK
11873Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11874
7d2950e5
RK
11875 * stor-layout.c (compute_record_type): Don't use mode of single
11876 field as mode of record if not integer mode of same type.
11877
a1c1fdd0
RK
11878 * regmove.c (perhaps_ends_bb_p): New function.
11879 (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
11880 (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
11881 (fixup_match_1): Likewise.
11882 (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
11883 avoid signed/unsigned warnings.
0e5921e8 11884
3f546a53
RK
11885 * function.c (fixup_var_refs_1, case MEM): Update CODE after
11886 updating X.
11887
61d0346d
NB
11888Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net>
11889
11890 * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
11891 (_cpp_trigraph_map): Declaration moved from cpplex.c
11892
11893 * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1
11894 instead of 256. Use consistent test for designated initializers.
11895 (cpp_init): Initialize trigraph_map.
11896 (initialize_standard_includes, parse_option): Use memcmp
11897 instead of strncmp.
11898
11899 * cpplex.c (init_trigraph_map): Remove.
11900 (trigraph_ok, trigraph_replace, lex_line): Refer to
11901 _cpp_trigraph_map.
11902
11903 * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
11904 (do_unassert): Remove unused "next" local.
11905
11906 * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
11907
ef42b1dd
EM
119082000-08-18 Emmanuel Marty <emarty@suntech.fr>
11909
11910 * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
11911 insn.
11912
bc08aefe
RH
119132000-08-17 Richard Henderson <rth@cygnus.com>
11914
11915 * config/ia64/ia64.c (spill_restore_mem): Handle emitting
11916 the first insn in a sequence.
11917
49982682
JW
11918Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
11919
11920 * alias.c (true_dependence, write_dependence_p): A read
11921 involving a label_ref or the constant pool doesn't create
11922 a dependency.
11923
11924 * rtl.h (unchanging): Improve documentation.
11925
889e5964
RB
119262000-08-17 Rodney Brown <RodneyBrown@mynd.com>
11927
11928 * cse.c (insert_regs): Remove unused `regno'.
11929
dd69c71b
NB
119302000-08-17 Neil Booth <NeilB@earthling.net>
11931
11932 * (cppinit.c) merge_include_chains: Use remove_dup_dir,
11933 remove_dup_dirs. If qtail == brack, remove brack not
11934 qtail.
11935 (remove_dup_dir, remove_dup_dirs): New functions.
11936
709e9e50
NB
119372000-08-17 Neil Booth <NeilB@earthling.net>
11938
11939 * cppinit.c (cpp_cleanup): Free include dir chains.
11940 * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
11941 (do_unassert): Free the assert with _cpp_free_definition.
11942 * cppmacro.c (_cpp_free_definition): Free memory allocated for
11943 assertions. Make the node a T_VOID node.
11944
e33f6253
NB
119452000-08-17 Neil Booth <NeilB@earthling.net>
11946
11947 * cppinit.c (path_include, append_include_chain):
11948 Remove 2nd parameter (struct cpp_pending *).
11949 (path_include, initialize_standard_includes, cpp_handle_option):
11950 Update callers appropriately.
11951 (cpp_handle_option): Use pend.
11952
c154ba66
NB
119532000-08-17 Neil Booth <NeilB@earthling.net>
11954
11955 * cppinit.c (sort_options): Remove, put functionality in
11956 cpp_init.
11957 (cpp_init): New.
11958 (initialize_builtins): Free memory.
11959 (cpp_start_read): Move init_IStable to cpp_init.
11960
11961 * cpplib.h (cpp_init): New prototype.
11962 * cppmain.c (main): Call cpp_init.
11963
9c82ac6b
JW
11964Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com)
11965
11966 * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
11967 (rtx_unstable_p, rtx_varies_p): Process vectors.
11968
acd50a92
NY
119692000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
11970
11971 * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all
11972 references to GLOBAL symbols. Use LOCAL where appropriate.
11973
cfedbb1f
KG
119742000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11975
11976 * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always
11977 use t-aix41 when host == target.
11978
31989264
RH
119792000-08-16 Richard Henderson <rth@cygnus.com>
11980
11981 * reload.c (push_secondary_reload): Revert last change.
11982 If we use a reload_in/out pattern, make the when the same
11983 as the primary reload.
11984 (find_reloads): Likewise.
11985
d84c5634
MH
119862000-08-16 Manfred Hollstein <manfredh@redhat.com>
11987
11988 * configure.in (libstdcxx-v3): Fix test.
11989 * configure: Regenerate.
11990
43db0363
RK
11991Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11992
11993 * calls.c (calls_function_1, expand_call): Only test
11994 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
11995 * function.c (thread_prologue_and_epilogue_insns): Likewise.
11996
853d8828
RH
119972000-08-16 Richard Henderson <rth@cygnus.com>
11998
11999 * combine.c (simplify_shift_const): Revert previous two
12000 changes. If SHIFT_COUNT_TRUNCATED, crop the shift count
12001 before the main loop.
12002
3e626beb
RH
120032000-08-15 Richard Henderson <rth@cygnus.com>
12004
12005 * combine.c (simplify_shift_const): Bound shift count when
12006 combining shifts.
12007
f507188a
RK
12008Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12009
7393c642
RK
12010 * calls.c (ECF_SP_DEPRESSED): New macro.
12011 (calls_function_1): Treat calling sp-depressed function as alloca.
12012 (emit_call_1): Don't adjust SP if calling sp-depressed function.
12013 (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
12014 If sp-depressed, ensure block saves and restores SP.
12015 * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
12016 for INTEGER_TYPE.
12017 * function.c (keep_stack_depressed): New function.
12018 (thread_prologue_and_epilogue_insns): Call it.
12019 * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
12020 to print DECL_OFFSET_ALIGN.
12021 Print no-force-blk and transparent-union flags properly.
12022 * stmt.c (expand_goto_internal): Don't restore stack if last block
12023 and function returns with sp depressed.
12024 (fixup_gotos): Likewise.
12025 (save_stack_pointer): New function, from code in expand_decl.
12026 (expand_decl): Call new function.
12027 * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
12028 (TYPE_RETURNS_STACK_DEPRESSED): New macro.
12029 (save_stack_pointer): New declaration.
12030
f507188a
RK
12031 * diagnostic.c (fatal_function): New variable.
12032 (set_fatal_function): New function.
12033 (fatal): Call it.
12034 * diagnostic.h (set_fatal_function): New declaration.
12035
56847207
WC
120362000-08-15 William Cohen <wcohen@redhat.com>
12037
12038 * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
12039 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
12040 (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
12041
7791b7f9
RH
120422000-08-15 Richard Henderson <rth@cygnus.com>
12043
12044 * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
12045
f99fce0c
RE
120462000-08-15 Richard Earnshaw <rearnsha@arm.com>
12047
12048 * arm.c (arm_function_ok_for_sibcall): New function.
12049 * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
12050 * arm.md (call expanders): Don't check here for calls that can't
12051 be sibling calls.
12052
74da3101
RE
120532000-08-15 Richard Earnshaw <rearnsha@arm.com>
12054
12055 * arm.md (splits generating cond_exec): Disable.
12056
2c210617
RE
120572000-08-15 Richard Earnshaw <rearnsha@arm.com>
12058
12059 * arm/linux-elf.h (text_section): Delete declaration.
12060
05ed98a1
RE
120612000-08-15 Richard Earnshaw <rearnsha@arm.com>
12062
12063 ARM support for unordered FP operations.
12064 * arm-protos.h (arm_comparison_operator): Declare.
12065 * arm.c (arm_comparison_operator): New function.
12066 (arm_select_cc_mode): Add unordered comparison codes.
12067 (get_arm_condition_code): Likewise.
12068 (arm_final_prescan_insn): Can't handle unordered jumps that can't
12069 be done in one insn.
12070 * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
12071 * arm.md (all uses of comparison_operator): Replace with
12072 arm_comparison_operator.
12073 (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
12074 expands.
12075 (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
12076 patterns.
0e5921e8 12077
ed78c862
OP
12078Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
12079
12080 * gthr-posix.h: Conditionally include <sched.h>; include
12081 <config.h> from libobjc/.
12082
4859dd36
RH
120832000-08-14 Richard Henderson <rth@cygnus.com>
12084
12085 * config/i386/i386.c (legitimize_pic_address): Use Pmode
12086 for all CONSTs.
12087
3f622353
RH
120882000-08-14 Richard Henderson <rth@cygnus.com>
12089
12090 * configure.in (ia64-*): Set float_format for i386 long double.
12091
12092 * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
12093 as we would for i386 XFmode.
12094 (PUT_REAL): Likewise.
12095 (endian, ereal_atof, real_value_truncate): Likewise.
12096 (ereal_isneg, toe64, etens, make_nan): Likewise.
12097 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
12098
12099 * config/ia64/ia64-protos.h: Update.
12100 * config/ia64/ia64.c (general_tfmode_operand): New.
12101 (destination_tfmode_operand): New.
12102 (tfreg_or_fp01_operand): New.
12103 (ia64_split_timode): New.
12104 (spill_tfmode_operand): New.
12105 (ia64_expand_prologue): Use TFmode not XFmode.
12106 (ia64_expand_epilogue): Likewise.
12107 (ia64_function_arg): Likewise.
12108 (ia64_function_arg_advance): Likewise.
12109 (ia64_return_in_memory): Likewise.
12110 (ia64_function_value): Likewise.
12111 (ia64_print_operand): Likewise.
12112 (ia64_register_move_cost): Set GR<->FR to 5.
12113 (ia64_secondary_reload_class): Get GR for TImode memory op.
12114 * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
12115 (ROUND_TYPE_ALIGN): Remove.
12116 (LONG_DOUBLE_TYPE_SIZE): Set to 128.
12117 (INTEL_EXTENDED_IEEE_FORMAT): Define.
12118 (HARD_REGNO_NREGS): Use TFmode, not XFmode.
12119 (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs.
12120 (MODES_TIEABLE_P): Use TFmode, not XFmode.
12121 (CLASS_MAX_NREGS): Likewise.
12122 (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
12123 (PREDICATE_CODES): Update.
12124 * config/ia64/ia64.md (movti): New.
12125 (movti_internal): Use a clobber for memory alternatives.
12126 (reload_inti, reload_outti): New.
12127 (movsfcc_astep): Predicate properly.
12128 (movdfcc_astep): Likewise.
12129 (movxf): Remove.
12130 (movtf): New.
12131 (extendsftf2, extenddftf2): New.
12132 (trunctfsf2, trunctfdf2): New.
12133 (floatditf2, fix_trunctfdi2): New.
12134 (floatunsditf2, fixuns_trunctfdi2): New.
12135 (addtf3, subtf3, multf3, abstf2): New.
12136 (negtf2, nabstf2, mintf3, maxtf3): New.
12137 (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
12138 (cmptf): New.
12139 (fr_spill): Use TFmode, not XFmode.
12140 (fr_restore): Likewise.
12141 * config/ia64/lib1funcs.asm (__divtf3): New.
12142 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
12143
e49a1d2e
KG
121442000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12145
12146 * cse.c (fold_rtx): Avoid empty body in an if-statement.
0e5921e8 12147
e49a1d2e
KG
12148 * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
12149 `U' integer constant suffix.
12150
12151 * dwarf2out.c (add_subscript_info): Avoid empty body in an
12152 else-statement.
12153
12154 * sparc/sol2.h (__enable_execute_stack): Prototype.
12155
78fbdbf7
DE
121562000-08-14 David Edelsohn <edelsohn@gnu.org>
12157
12158 * collect2.c: Remove use of AIX import file.
12159
12160 * longlong.h: Test ARCH_PWR not ARCH_POWER.
12161
12162 * rs6000.c (print_operand, case 'E'): Add else.
12163
9a89adb8
RH
121642000-08-14 Richard Henderson <rth@cygnus.com>
12165
12166 * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
12167 (movdi_symbolic): New.
12168
00e149c7
JW
121692000-08-14 Jim Wilson <wilson@cygnus.com>
12170
12171 * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
12172 to GNU as. For Intel as, pass -M const_gp and -M no_plabel.
12173 * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
12174 to GNU as.
12175
2ee5437b
RH
121762000-08-14 Richard Henderson <rth@cygnus.com>
12177
12178 * expr.c (emit_group_load): Don't force constants into registers.
12179 Special case source already in the correct mode.
12180
57119aa9
ZW
121812000-08-14 Zack Weinberg <zack@wolery.cumb.org>
12182
12183 * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
12184 * fixinc/inclhack.def: Likewise.
0e5921e8 12185 * fixinc/mkfixinc.sh: Likewise.
57119aa9
ZW
12186 * configure: Regenerate.
12187 * fixinc/fixincl.x: Regenerate.
12188 * install.texi: Document equivalence of linux and linux-gnu.
12189
d9f20424
R
12190Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12191
12192 * cse.c (insert_regs): Also in REG case: When finding an invalid
12193 value, and we make a new quantity, make sure that it won't be
12194 mistaken by for a valid one by mention_regs.
12195
c8fa6556
RG
12196