]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
4acab94b
AO
12000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2
3 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
4 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
5 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
6 * configure, config.in: Rebuilt.
7
08439bec
ZW
82000-01-16 Zack Weinberg <zack@wolery.cumb.org>
9
10 * config/i386/i386.md: Add peephole to merge successive stack
11 adjusts.
12
b5229628
JW
13Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
14
15 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
16 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
17 when walking backwards to find all the parameter loads when
18 the basic block ends in a call.
19
a2be868f
MH
202000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21
22 * loop.c (this_loop_info): Delete.
23 (uid_loop): Add in place of uid_loop_num. All uses updated.
24 (loop_number_exit_count): Delete and replace with entry in loop
25 structure. All uses updated.
26 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
27 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
28 (loop_outer_loop): Likewise.
29 (loop_invalid, loop_number_exit_labels): Likewise.
30 (loop_used_count_register): Delete and replace with entry in
31 loop_info structure.
32 (find_and_verify_loops): Add loops argument.
33 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
34 loop_end, etc. arguments with loop structure pointer. All callers
35 changed.
36 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
37 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
38 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
39 (insert_bct): Likewise.
40 (basic_induction_var): New argument level.
41 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
42 vtop, and cont. Add used_count_register.
43 (uid_loop): Delete declaration.
44 (loop_number_exit_count): Likewise.
45 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
46 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
47 (loop_outer_loop, loop_used_count_register): Likewise.
48 (loop_invalid, loop_number_exit_labels): Likewise.
49 (unroll_loop): Replace loop_start and loop_end arguments
50 with loop structure pointer.
51 (loop_precondition_p, loop_iterations): Likewise.
52 Include basic-block.h.
53 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
54 with loop structure pointer.
55 (loop_precondition_p, loop_iterations): Likewise.
56 * basic-block.h (struct loop): New entries vtop, cont,
57 cont_dominator, start, end, top, scan_start, exit_labels,
58 exit_count.
59 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
60
d07ecc3b
GP
612000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
62
63 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
64
0f7624fc
NS
652000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
66
67 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
68
b0106b24
KG
692000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
70
71 * pdp11-protos.h: New file.
72
73 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
74 time warnings.
75
76 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
77 warnings.
78
79 * pdp11.md: Likewise.
80
81 * 2bsd.h: Likewise.
82
69bc71fa
KG
832000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
84
85 * mn10300-protos.h: New file.
86
87 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
88 time warnings.
89
90 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
91 warnings.
92
93 * mn10300.md: Likewise.
94
ac42d1e9
KG
952000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
96
97 * mn10200-protos.h: New file.
98
99 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
100 time warnings.
101
102 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
103 warnings.
104
105 * mn10200.md: Likewise.
106
441d04c6
KG
1072000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
108
109 * h8300-protos.h: New file.
110
111 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
112 time warnings.
113
114 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
115 warnings.
116
117 * h8300.md: Likewise.
118
05b13f59
KG
1192000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
120
121 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
122 (asm_emit_uninitialised): Likewise.
123
0025b7fa
GRK
1242000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
125
126 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
127 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
128
ea64cab4
CP
1292000-01-14 Clinton Popetz <cpopetz@cygnus.com>
130
131 * config/mips/mips.c (override_options): Don't turn on extra
132 alignment for mips16.
133
f5c8ac96
CP
1342000-01-14 Clinton Popetz <cpopetz@cygnus.com>
135
136 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
137 eabi, and make sure queued POSTINCREMENT rtl is emitted at
138 the right point.
139
5e4f6244
CP
1402000-01-14 Clinton Popetz <cpopetz@cygnus.com>
141
142 * builtins.c (PAD_VARARGS_DOWN): Define.
143 (std_expand_builtin_va_arg): Use the above macro.
f5c8ac96 144 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
5e4f6244
CP
145 * tm.texi (Register Arguments): Document the above macro.
146
06be9173
NC
1472000-01-14 Nick Clifton <nickc@cygnus.com>
148
149 * emit-rtl.c (emit_insn): If checking is enabled, make sure
150 that this function has not been used to emit a jump
151 instruction.
152
153 * jump.c (return_jump_1): Cope with being passed a null rtx.
154
711d877c
KG
1552000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
156
157 * eh-common.h: PROTO -> PARAMS.
158 * emit-rtl.c: Likewise.
159 * errors.c: Likewise.
160 * errors.h: Likewise.
161 * except.c: Likewise.
162 * except.h: Likewise.
163 * explow.c: Likewise.
164 * expmed.c: Likewise.
165 * expr.c: Likewise.
166 * expr.h: Likewise.
167 * final.c: Likewise.
168 * fix-header.c: Likewise.
169 * flow.c: Likewise.
170 * fold-const.c: Likewise.
171 * function.c: Likewise.
172 * function.h: Likewise.
173 * gcc.c: Likewise.
174 * gcov-io.h: Likewise.
175 * gcov.c: Likewise.
176 * gcse.c: Likewise.
177
318881c0
KG
1782000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
179
180 * sh-protos.h: New file.
181
182 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
183 Add static prototypes. Fix compile time warnings.
184
185 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
186 * sh.md: Likewise.
187 * elf.h: Likewise.
188
2b046bda
KG
1892000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
190
191 * arc-protos.h: New file.
192
193 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
194 time warnings.
195
196 * arc.h: Move prototypes to arc-protos.h. Fix compile time
197 warnings.
198
199 * arc.md: Likewise.
200
69985118
KG
2012000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
202
203 * dsp16xx-protos.h: New file.
204
205 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
206 time warnings.
207
208 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
209 warnings.
210
211 * dsp16xx.md: Likewise.
212
6b995286
KG
2132000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
214
215 * convex-protos.h: New file.
216
217 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
218 time warnings.
219
220 * convex.h: Move prototypes to convex-protos.h. Fix compile time
221 warnings.
222
ab526045
KG
2232000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
224
225 * elxsi-protos.h: New file.
226
227 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
228 time warnings.
229
230 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
231 warnings.
232
233 * elxsi.md: Likewise.
234
4790d878
CP
2352000-01-14 Clinton Popetz <cpopetz@cygnus.com>
236
237 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
238 case for moving from HI/LO/HI_LO_REG. This makes the behavior
239 match the comment for MIPS16.
240
6e11d5e9
JL
241Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
242
414094de
JL
243 * flow.c (split_edge): Do not call set_block_for_insn if we
244 do not have a basic_block_for_insn structure.
245
254a8f0d
JL
246 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
247 and destination functions are 32bit aligned within the trampoline.
248 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
249 (TRAMPOLINE_ALIGNMENT): Define.
250
516ff948
JL
251 * cse.c (cse_insn): When changing (set (pc) (reg)) to
252 (set (pc) (label_ref)), verify the change creates a valid insn.
253
6e11d5e9
JL
254 * fr30.c (call_operand): Tighten and rework to match rules for
255 call RTL expressions.
256 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
257 * fr30.md (call patterns): Improve constraints.
258
c99df684
RH
259Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
260
261 * fr30.c (fr30_expand_epilogue): Revert last change.
262 Use emit_jump_insn for the return insn.
263
f1ebdfc5
JE
264Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
265 Stan Cox <scox@cygnus.com>
266
267 * predict.c: New file. Preliminary infrastructure work for static
268 branch prediction and basic block reordering.
269 * basic-block.h: Add prototype for estimate_probability.
270 * Makefile.in: Add rules for predict.o.
271
91baa918
JM
2722000-01-13 Jason Merrill <jason@yorick.cygnus.com>
273
274 * fixincludes (va_list): Use __not_va_list__ for the dummy.
275 * fixinc/*: Likewise.
276
83d2b3b9
KG
2772000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
278
279 * cccp.c: PROTO -> PARAMS.
280 * cexp.y: Likewise.
281 * collect2.c: Likewise.
282 * combine.c: Likewise.
283 * convert.h: Likewise.
284 * cse.c: Likewise.
285 * dbxout.c: Likewise.
286 * dbxout.h: Likewise.
287 * diagnostic.c: Likewise.
288 * doprint.c: Likewise.
289 * dwarf2out.c: Likewise.
290 * dwarf2out.h: Likewise.
291 * dwarfout.c: Likewise.
292 * dwarfout.h: Likewise.
293 * dyn-string.h: Likewise.
294
57bed152
KG
2952000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
296
297 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
298 macro conditionals guarding use.
299
300 * dwarf2out.c: Include "tm_p.h".
301
302 * function.c (locate_and_pad_parm): Mark parameter with
303 ATTRIBUTE_UNUSED.
304 (expand_function_end): Likewise for variable `context'.
305
306 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
307
ff17f164
NC
3082000-01-13 Nick Clifton <nickc@cygnus.com>
309
310 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
311 register to prevent compile time warnings.
312
2a0e04e2
ZW
3132000-01-13 Zack Weinberg <zack@wolery.cumb.org>
314
315 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
316 to avoid -Wtraditional warning.
317
7ea0e99c
KG
3182000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
319
320 * 1750a-protos.h: New file.
321
322 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
323 time warnings.
324
325 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
326 warnings.
327
328 * 1750a.md: Likewise.
329
ff82ca23
KG
3302000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
331
332 * a29k-protos.h: New file.
333
334 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
335 time warnings.
336
337 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
338 warnings.
339
bcc6049c
KG
3402000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
341
342 * clipper-protos.h: New file.
343
344 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
345 time warnings.
346
347 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
348 warnings.
349
17ca0d81 350Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
54ed0905
R
351
352 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
353
08487117
NS
3542000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
355
356 * configure.in (--enable-new-gxx-abi): New option.
357 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
358 * Makefile.in (GXX_ABI_FLAG): New variable.
359 * configure: Regenerate.
360
7f7680a9
MH
3612000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
362
363 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
364 * tm.texi (FORCE_STRUCT_BLK): Document.
365 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
366
8f496bc2
HPN
367Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
368
369 * config/ns32k/ns32k.md: Revert Jan 9 change.
370
371 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
372 to a mode-test, if the predicate is address_operand.
373
08520ad8
JL
374Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
375
668bcf76
JL
376 * combine.c (if_then_else_cond): Be careful about what kinds
377 of RTL expressions are passed to operand_subword.
378
08520ad8
JL
379 * flow.c (split_edge): If we have to insert a new jump, make
380 sure to associate it with a basic block.
381
382 * flow.c (commit_one_edge_insertion): A block with one successor
383 can end in a JUMP_INSN that is not a simplejump.
384
499bf451
RL
3852000-01-12 Robert Lipe <robertl@sco.com>
386
387 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
388 (BUILD_VA_LIST_TYPE): Define.
389 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
390 with crtstuff.c.
391
149bb763
JM
3922000-01-12 Jason Merrill <jason@casey.cygnus.com>
393
394 * cccp.c (do_pragma): Add cast to (char *).
395
3962000-01-12 Richard Henderson <rth@cygnus.com>
397 Fred Fish <fnf@be.com>
398 Jason Merrill <jason@cygnus.com>
399
400 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
401 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
402 * i386/beos-elf.h, i386/beos-pe.h: New files.
403
404 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
405 * cross-make (SYSTEM_HEADER_DIR): Define using
406 CROSS_SYSTEM_HEADER_DIR.
407
408 * gcc.c (LIBRARY_PATH_ENV): Provide default.
409 (process_command): Use it.
410 (main): Likewise. Kill trailing = from env vars.
411 (build_search_list): Put it back.
412 * collect2.c (main): Use LIBRARY_PATH_ENV.
413
414 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
415 * toplev.c: Use NEED_DECLARATION_ENVIRON.
416
417 * tm.texi (Frame Layout): Document SMALL_STACK.
418 * c-common.c (c_common_nodes_and_builtins): Check it.
419
420 * system.h: Undef alloca after including glibc's <stdlib.h>,
421 if USE_C_ALLOCA is defined.
422
423 * gcc.c (set_input): New fn.
424 (main): After all input files are compiled, reset the input file
425 info to the first.
426
427 * aclocal.m4 (rindex, index): If already defined, don't attempt
428 to redefine.
429
430 * ginclude/varargs.h: (__va_list__): Define ifndef.
431 * ginclude/stdarg.h: Likewise.
432
433 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
434 instead of unsigned char.
435
436 * hash.h (true, false, boolean): Undef before enum.
437
438 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
439 proper type of "HOST_WIDE_INT *", rather than their natural type of
440 "unsigned HOST_WIDE_INT *".
441
80cca0e1
KG
4422000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
443
444 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
445
446 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
447
448 * regclass.c (choose_hard_reg_mode): Likewise.
449
450 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
451
452 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
453
6e090c76
KG
4542000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
455
456 * c-common.c: PROTO -> PARAMS.
457 * c-common.h: Likewise.
458 * c-decl.c: Likewise.
459 * c-iterate.c: Likewise.
460 * c-lang.c: Likewise.
461 * c-lex.c: Likewise.
462 * c-lex.h: Likewise.
463 * c-parse.in: Likewise.
464 * c-pragma.c: Likewise.
465 * c-pragma.h: Likewise.
466 * c-tree.h: Likewise.
467 * c-typeck.c: Likewise.
468 * objc/objc-act.c: Likewise.
469 * objc/objc-act.h: Likewise.
470
e5778b1e
KG
4712000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
472
473 * m88k-protos.h: New file.
474
475 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
476 time warnings.
477
478 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
479
480 * m88k.md: Likewise.
481
482 * tekXD88.h: Likewise.
483
5505f548
KG
4842000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
485
486 * m68k-protos.h: New file.
487
488 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
489 time warnings.
490
491 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
492
493 * mot3300.h: Likewise.
494
394c46fe
RE
4952000-01-12 Richard Earnshaw <rearnsha@arm.com>
496
497 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
498 extract_bitlst.
499 (extract_bitlist): Declare bitlen.
500
f668c81c
ZW
5012000-01-12 Zack Weinberg <zack@wolery.cumb.org
502
503 * cccp.c: Accept and ignore -lang-fortran.
504
cd6311ef
ZW
505 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
506 qualifiers don't match at any level of pointerness.
507
e8fe510b
RL
5082000-01-12 Robert Lipe <robertl@sco.com>
509
510 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
511
9e3a9cf2
BS
5122000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
513
514 * reload1.c (reload_reg_unavailable): New static variable.
515 (reload_reg_free_p): Test it.
516 (reload_reg_free_for_value_p): Test it instead of
517 reload_reg_used.
518 (choose_reload_regs_init): Compute it.
519
b746d31a
TM
520Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
521
522 * reorg.c (fill_slots_from_thread): Check modified_in_p
523 before replacing.
524
25e3c7bf
JM
525Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
526
527 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
528 these nodes even if INTERNALS is not set.
529
40d7a3fe
NB
530Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
531
532 * gcse.c (delete_null_pointer_checks_1): Cope when
533 get_condition cannot determine the condition.
534
b903d81e
GDR
5352000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
536
537 * toplev.h (set_message_length): Declare.
538
539 * diagnostic.c (obstack_chunk_alloc): Define macro.
540 (obstack_chunk_free): Likewise.
541 (struct output_buffer): New data structure.
542 (vmessage): Remove.
543 (output_maximum_width): New variable.
544 (doing_line_wrapping, set_message_length, init_output_buffer,
545 get_output_prefix, output_space_left, emit_output_prefix,
546 output_newline, output_append, output_puts, dump_output,
547 vbuild_message_string, build_message_string, build_location_prefix,
548 voutput_notice, output_printf, line_wrapper_printf,
549 vline_wrapper_message_with_location): New functions. Implement
550 automatic line wrapping.
551 (v_message_with_decl): Make it handle automatic line wrapping.
552 (v_error_with_file_and_line): Likewise.
553 (v_warning_with_file_and_line): Likewise.
554 (announce_function): Likewise.
555 (default_print_error_function): Likewise.
556
40c79d58
ZW
5572000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
558
559 * cpplib.h (struct cpp_options): Change lang_asm to char.
560 Add lang_fortran.
561 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
562 done in cpp_handle_option now.
563 (initialize_builtins): Take out special case code used only by
564 __STDC_VERSION__.
565 (cpp_handle_option): Turn off trigraphs and trigraph warnings
566 if -traditional. Recognize -lang-fortran and set
567 lang_fortran, also turn off cplusplus_comments.
568 (print_help): Document -lang-fortran.
569 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
570 lang_asm. Ignore all directives other than `# 123 "file"' if
571 CPP_PREPROCESSED.
572 (cpp_get_token): If -traditional, don't recognize directives
573 unless the # is in column 1.
574 (parse_string): If lang_fortran or lang_asm, silently
575 terminate strings ('' or "") at end of line.
576 Remove unnecessary braces.
577
5782000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
579 Richard Henderson <rth@cygnus.com>
07570c39
AO
580
581 * resource.c (mark_referenced_resources): Mark a set strict_low_part
582 as used.
583 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
584 strict_low_part when possible.
585
3d994c6b
KG
5862000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
587
588 * alias.c: PROTO -> PARAMS.
589 * basic-block.h: Likewise.
590 * bitmap.c: Likewise.
591 * bitmap.h: Likewise.
592 * builtins.c: Likewise.
593 * c-aux-info.c: Likewise.
594 * caller-save.c: Likewise.
595 * calls.c: Likewise.
596
d0af450d
KG
5972000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
598
599 * Makefile.in (toplev.o): Depend on regs.h.
600
601 * output.h (tdesc_section): Prototype.
602
603 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
604
605 * sdbout.c: Include "tm_p.h".
606
607 * toplev.c: Include "regs.h".
608
3951ad49
MS
609Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
610
611 * unroll.c (unroll_loop): Add EH support.
612
519104fe
KG
6132000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
614
615 * pa-protos.h: New file.
616
617 * pa.c: Include recog.h and tm_p.h.
618 (compute_zdepwi_operands, compute_movstrsi_length,
619 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
620 find_addr_reg, import_milli): Add static prototypes.
621 (pa_cpu_string, pa_arch_string): Constify a char*.
622 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
623 (read_only_operand): Add argument `mode'.
624 (singlemove_string, output_move_double, output_fp_move_double,
625 output_block_move, output_and, output_ior, output_ascii,
626 remove_useless_addtr_insns, milli_names, output_mul_insn,
627 output_div_insn, output_mod_insn, output_arg_descriptor,
628 output_cbranch, output_bb, output_bvb, output_dbra, ,
629 output_millicode_call, output_call, hppa_encode_label,
630 output_parallel_movb, output_parallel_addb): Constify a char*.
631 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
632 (output_parallel_addb): Remove extra arg to `constrain_operands'
633
634 * pa.h: Move all prototypes to pa-protos.h.
635 (pa_cpu_string, pa_arch_string): Constify a char*.
636 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
637
638 * pa.md: Call `function_label_operand' with mode argument.
639 Likewise for `read_only_operand'.
640 Fix nesting of parens in call to `symbolic_operand'.
641
e2d457f1
KG
6422000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
643
644 * i860-protos.h: New file.
645
646 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
647 time warnings.
648
649 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
650
651 * i860.md: Likewise.
652
f90800f8
JH
653Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
654
655 * i386.md (movstrsi expander): Rewrite.
656 (movstrsi_1 insn): Deleted.
657 (strmovhi, strmovqi expander): New expanders.
658 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
659 * i386.c (x86_single_stringop): New global variable.
660 * i386.h (x86_single_stringop): Declare.
661 (TARGET_SINGLE_STRINGOP): New macro.
662
1e7a71c1
CP
6632000-01-11 Clinton Popetz <cpopetz@cygnus.com>
664
665 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
666 integer vararg POSTINCREMENT before the destination of the jump
667 for the hard fp case.
668 (function_arg_pass_by_reference): Pass a copy of CUM to
669 FUNCTION_ARG.
670
671 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
672 for CONSTANT_ADDRESS_P above while loop for subreg.
673
a249decd
CP
6742000-01-11 Clinton Popetz <cpopetz@cygnus.com>
675
676 * flow.c (propagate_block): When a prologue/epilogue insn
677 is marked dead, unconditionally clear libcall_is_dead and
678 insn_is_dead, and only dump rtl if warnings aren't being
679 suppressed.
680
7c7ef435
JH
681Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
682
683 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
684 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
685 (FIXED_REGISTERS): Set dirflag as fixed.
686 (CALL_USED_REGISTERS): Set dirflag as used.
687 (REG_ALLOC_ORDER): Set dirflag as last one.
688 (DIRFLAG_REG): New macro.
689 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
690 (HI_REGISTER_NAMES): Add dirflag.
691 (DEBUF_PRINT_REG): Handle dirflag.
692 * i386.md (type attribute): New cld and str types.
693 (length_opcode attribute): Set cld and str to 1.
694 (memory attribute): Set str to unknown - it is not clear from the
695 patterns.
696 (pent_np function unit): Prefixed string operations takes 12 cycles
697 minimally; cld takes 2 cycles.
698 (ppro_uops attribute): Str is "many" and cld is "few".
699 (ppro_p0 unit): Handle cld here.
700 (k6_alux unit): Handle cld and str types.
701 (k6_load unit): It is ocupied by str opcodes.
702 (k6_store unit): It is ocupied by str opcodes.
703 (athlon_decode): Str is vector decoded.
704 (athlon_ieu): Handle str and cld.
705 (cld pattern): New.
706 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
707 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
708 cmpstrsi_nz_1 insn): Do not output cld instruction
709
ce8f925b
DS
710Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
711
712 * gcc.texi (G++ and GCC): Add Java and Chill.
713 (Bug Critera): Don't list languages.
714
715 * gcc.texi (Incompatibilities): No longer claim most C compilers
716 are K&R.
717
718 * gcc.texi (G++ and GCC): Update other front-ends list.
719
86133292
JL
720Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
721
a500c31b
JL
722 * i386.c (ix86_expand_setcc): Fix typo.
723 (ix86_expand_movcc): Similarly.
724
86133292
JL
725 * Band-aid until haifa's bitset implementation is nuked.
726 * haifa-sched.c (extract_bitlst): New parameter for size of the
727 bitset in bits. All callers changed. Avoid looking at undefined
728 bits in the bitset.
729 (edgeset_bitsize): New variable.
730 (schedule_region): Initialize edgeset_bitsize.
731
7bdb32b9
KG
7322000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
733
734 * Makefile.in (optabs.o): Depend on real.h
735 (resource.o): Depend on insn-attr.h
736
737 * builtins.c (result_vector): Wrap prototype in macro conditions
738 governing definition and use.
739
740 * c-common.c: Include tm_p.h.
741
742 * c-lex.c: Likewise.
743
744 * elfos.h: Constify a char*.
745
746 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
747 (get_attr_length, shorten_branches, profile_after_prologue): Mark
748 parameter with ATTRIBUTE_UNUSED.
749
750 * fold-const.c (exact_real_inverse): Wrap variable `i' in
751 CHECK_FLOAT_VALUE.
752
753 * haifa-sched.c (schedule_insns): Mark parameter with
754 ATTRIBUTE_UNUSED.
755
756 * optabs.c: Include real.h.
757
758 * real.h (ereal_atof): Add prototype arguments.
759
760 * resource.c: Include insn-attr.h.
761
762 * sdbout.c (sdbout_queue_anonymous_type,
763 sdbout_dequeue_anonymous_types): Wrap in macro
764 SDB_ALLOW_FORWARD_REFERENCES.
765 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
766 ATTRIBUTE_UNUSED.
767
768 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
769
770 * stupid.c: Include tm_p.h.
771
772 * tree.c (real_value_from_int_cst): Mark parameter with
773 ATTRIBUTE_UNUSED.
774
3d2cfac6
KG
7752000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
776
777 * i960-protos.h: New file.
778
779 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
780 time warnings.
781
782 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
783
b1e9c8a9
AO
7842000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
785
786 * combine.c (expand_field_assignment): Do not discard SUBREGs
787 while computing nonzero_bits.
788
b39e1240
NC
7892000-01-09 Nick Clifton <nickc@cygnus.com>
790
791 * config/arm/arm.c: Fix compile time warnings about signed vs
792 unsigned constants.
793 * config/arm/arm.h: Fix compile time warnings about signed vs
794 unsigned constants.
795
3a5a4282
PB
7962000-01-09 Philip Blundell <philb@gnu.org>
797
798 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
799 than `ldm' with only one register.
800 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
801 only one register.
802
0e3dd567
PB
803 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
804 clobbered.
805
9a29c058
HPN
806Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
807
808 * config/ns32k/ns32k.md (load or push effective address): Operand 1
809 must have SImode.
810
0ce8a59c
KG
8112000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
812
813 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
814 assignment used as truth value.
815
816 * function.c (assign_temp): Mark parameter `dont_promote' with
817 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
818 PROMOTE_FOR_CALL_ONLY.
819
820 * genrecog.c (write_subroutine): Mark variable `operands' with
821 ATTRIBUTE_UNUSED.
822
823 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
824 ATTRIBUTE_UNUSED.
825
826 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
827 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
828
829 * toplev.c (note_deferral_of_defined_inline_function): Likewise
830 for `decl'.
831
975ab131
MH
8322000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
833
834 * config/c4x.h: Tidy up comments.
835 * config/c4x.c: Likewise.
836
cb0a34c4
JW
837Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
838
839 * fold-const.c (lshift_double, rshift_double): Handle
840 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
841
d511f9d5
AO
8422000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
843
844 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
845 in prepare_function_start().
846
0e668396
NC
847Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
848
849 * config/v850/v850.c (expand_epilogue): Interrupt functions no
850 longer allocate extra stack for function calls.
851
6ee96de6
MH
8522000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
853
8421850f
MH
854 * config/c4x/c4x.md (*subqf3_set): Fix typo.
855
8562000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
857
6ee96de6
MH
858 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
859
c71791e0
DE
8602000-01-07 David Edelsohn <edelsohn@gnu.org>
861
862 * rs6000.c (processor_target_table): Add power3 as alias for 630.
863 * aix43.h: Revert Aug 2 change.
864 (HAS_INIT_SECTION): Define, not visible yet.
865 (LD_INIT_SWITCH): Define, not visible yet.
866 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
867
868 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
869
870 * collect2.c (main): Expand ld2 size further.
871 (export_object_lst): Cast assignment to avoid warning.
872 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
873 (scan_prog_file, COFF): Do not collect initialization or
874 finalization functions generated for entire shared object if
875 init/fini support present.
876
f6cad4c9
NC
8772000-01-07 Nick Clifton <nickc@cygnus.com>
878
879 * config/elfos.h: Tidy up formatting of marcos. Make sure
880 that .section directives are always prefixed by a tab.
881
882 * config/svr4.h: Add #include "elfos.h" and remove duplicate
883 definitions.
884
c71791e0 8852000-01-07 Matt Austern <austern@sgi.com>
a47ce296
MA
886
887 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
888 expon.
889
ac1c999f
JL
890Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
891
892 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
893 crtstuff.c.
894 (crtbegin.o, s-crtS): Likewise.
895
373a9956
RH
8962000-01-06 Richard Henderson <rth@cygnus.com>
897
898 * alpha.md (adddi_2+1): Limit offset such that it will be
899 loadable with a single ldah+lda pair.
900 (adddi_2+2): Explicitly fail split if we can't make it work.
901
fbb740da
MK
9022000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
903
ee77eda5
MK
904 * protoize.c: Conditionally include unistd.h.
905 (IS_SAME_PATH_CHAR): New macro.
906 (IS_SAME_PATH): New macro.
907 (CPLUS_FILE_SUFFIX): New macro.
908 (cplus_suffix): New static variable.
909 (is_abspath): New static function.
910 (in_system_include_dir): Handle DOS style pathnames.
911 (file_could_be_converted): Likewise.
912 (file_normally_convertible): Likewise.
913 (directory_specified_p): Likewise.
914 (file_excluded_p): Likewise.
915 (abspath): Likewise.
916 (shortpath): Likewise.
917 (referenced_file_is_newer): Likewise.
918 (save_def_or_dec): Likewise.
919 (do_processing): Likewise.
920 (main): Likewise.
921 (edit_file): Likewise. Use rename instead of link.
922 (rename_c_file): Likewise. Don't rename syscalls file.
923 (munge_compile_params): Define null device for DOS based systems.
924 (process_aux_info_file): Use binary mode if appliable.
925 (edit_file): Likewise.
926 * invoke.texi (Running Protoize): Document C++ suffixes used.
927
d5b6516d
MK
928 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
929 IS_DIR_SEPARATOR macros.
930 * collect2.c: Likewise.
931 * cppinit.c: Likewise.
932 * dwarf2out.c: Likewise.
933 * gcc.c: Likewise.
934 * gcov.c: Likewise.
935 * prefix.c: Likewise.
936 * rtl.c: Likewise.
937 * toplev.c: Likewise.
938 * system.h: And move to here.
939
fbb740da
MK
940 * prefix.c (update_path): Fix typo in variable name.
941
9b15c17f
RH
9422000-01-06 Richard Henderson <rth@cygnus.com>
943
944 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
945 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
946 (count_reg_sets_1, count_reg_references): Likewise.
947 (flow_loops_level_compute): Start counting actual loop depth at 1.
948 (flow_loops_find): Likewise.
949 * local-alloc.c (update_equiv_regs): Likewise.
950 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
951
c478efd1
GDR
9522000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
953
954 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
955 FIRST_PSEUDO_REGISTER
956 * dwarf2out.c: Don't include frame.h
957 * dwarfout.c: Likewise
958 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
959 frame.h
960
3040ffd6
JH
961Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
962
963 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
964 dead registers.
965
966 * i386.c (movsf splitter): Fix typo in my last checkin.
967
a56e7c08
NC
9682000-01-05 Nick Clifton <nickc@cygnus.com>
969
970 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
971 own definition of this macro.
972 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
973 flag_data_sections or UNIQUE_SECTION_P are true.
974
149bb763 975 * tm.texi (UNIQUE_SECTION): Document that it can be called for
a56e7c08
NC
976 unitialised data decls.
977
978 * config/i386/winnt.c (i386_pe_unique_section): Cope with
979 being called for uninitialised data.
980
981 * config/i386/interix.c (i386_pe_unique_section): Cope with
982 being called for uninitialised data.
983
984 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
985 for uninitialised data.
986
987 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
988 for uninitialised data.
989
990 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
991 for uninitialised data.
992
993 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
994 (UNIQUE_SECTION_P): Always generate a unique section if
995 flag_data_sections is true.
996 (UNIQUE_SECTION): Also generate unique sections for
997 uninitialised data.
998 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
999 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
1000 named_section().
1001
f42850b9
MH
10022000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1003
3f2d7f37
MH
1004 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
1005 SI, or DI.
1006
10072000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1008
1009 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
f42850b9
MH
1010 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
1011 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
1012 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
1013 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
1014
1015 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
1016
cb3ca04e
ZW
10172000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
1018
1019 * c-decl.c (finish_enum): Simplify code to determine minimum and
1020 maximum values of the enum, and calculate the type. Remove check
1021 for FUNCTION_DECLs in the values list, which cannot happen. Replace
1022 the DECL_INITIAL of each enumeration constant with a copy converted
1023 to the enumeration type. When updating variant types, don't bother
1024 updating the type itself.
1025
1026 * c-typeck.c (build_binary_op): Simplify conditional expressions
1027 when weeding out spurious signed-unsigned warnings. Add new
1028 spurious warning category: if the unsigned quantity is an enum
1029 and its maximum value fits in signed_type(result_type). Update
1030 commentary.
1031 (build_conditional_expr): Warn here if one alternative is signed
1032 and the other is unsigned.
1033
28b487d7
NC
10342000-01-05 Nick Clifton <nickc@cygnus.com>
1035
1036 * config/fr30/fr30.h: Remove extraneous comments.
1037
c0029be5
BS
10382000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
1039
1040 * reload1.c (choose_reload_regs): When disabling a reload, also
1041 set reload_spill_index to -1.
1042
6e5138f0
JS
10432000-01-04 Joel Sherrill (joel@OARcorp.com>
1044
1045 * configure.in (m68*-*-rtemscoff*): New target, formal name for
1046 old m68*-*-rtems*.
1047 (m68*-*-rtemself*): New target.
1048 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
1049 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
1050 (sparc*-*-rtemself*): New target.
1051 (sparc*-*-rtems*): Now elf not a.out.
1052 * config/i386/rtems.h: Include config/rtems.h.
1053 * config/i386/rtemself.h: Include config/rtems.h.
1054 * config/i960/rtems.h: Include config/rtems.h.
1055 * config/m68k/rtems.h: Include config/rtems.h.
1056 * config/m68k/rtemself.h: Include config/rtems.h.
1057 * config/mips/rtems64.h: Include config/rtems.h.
1058 * config/pa/rtems.h: Include config/rtems.h.
1059 * config/rs6000/rtems.h: Include config/rtems.h.
1060 * config/sh/rtems.h: Include config/rtems.h.
1061 * config/sh/rtemself.h: Include config/rtems.h.
1062 * config/sparc/rtems.h: Include config/rtems.h.
1063 * config/sparc/rtemself.h: Include config/rtems.h
1064
a30caf5c
DC
1065Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
1066
1067 * final.c (shorten_branches): Correctly compute length of
1068 asms without operands.
1069
1b992148
SC
1070Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
1071
1072 * configure.in: Add pj target.
1073 * configure: Regenerate.
1074 * config/pj: New directory.
1075 * config/pj/lib1funcs.S: New file.
1076 * config/pj/linux.h: New file.
1077 * config/pj/pj.c: New file.
1078 * config/pj/pj.md: New file.
1079 * config/pj/pjl.h: New file.
1080 * config/pj/t-pj: New file.
1081 * config/pj/xm-pj.h: New file
1082
67e1e279
JL
1083Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
1084
1085 * toplev.c (rest_of_compilation): Run shorten-branches before
1086 reg-stack for now.
1087
bc46716b
MH
10882000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1089
1090 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
1091 macros so that they're consistent with their names.
1092 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1093 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
1094
e46fbd72
MH
10952000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1096
1097 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
1098 modified inadvertently.
1099
966f8bfd
JS
11002000-01-04 Joel Sherrill <joel@OARcorp.com>
1101
1102 * configure.in (v850*-*-rtems*): New target.
1103 * configure: Regenerate.
1104 * config/v850/rtems.h: New file.
1105
f22a97d2
MK
11062000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1107
1108 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
1109 (__gthread_key_create): Likewise.
1110 (__gthread_key_dtor): Likewise.
1111 (__gthread_once): Fix logic.
1112 (__gthread_key_delete): Cast away constness.
1113
1114 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
1115 * invoke.texi: Document.
1116 * i386/mingw32.h (CPP_SPEC): Use.
1117 (LIBGCC_SPEC): Likewise.
1118 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
1119
6be57663
DE
11202000-01-04 David Edelsohn <edelsohn@gnu.org>
1121
1122 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
1123 (HANDLE_PRAGMA_PACK): Undefine.
1124 (SLOW_UNALIGNED_ACCESS): Define.
1125
e1565e65
DE
11262000-01-04 David Edelsohn <edelsohn@gnu.org>
1127
1128 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1129 to default definition.
1130 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
1131 (store_fixed_bit_field): Call macro with word_mode and alignment.
1132 (extract_bit_field): Call macro with relevant mode and alignment.
1133 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
1134 to default definition.
1135 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
1136 and alignment.
1137 (move_by_pieces_ninsns): Likewise.
1138 (clear_by_pieces): Likewise.
1139 (emit_push_insn): Likewise.
1140 (store_field): Call macro with relevant mode and alignment.
1141 (expand_expr): Likewise.
1142 (expand_expr_unaligned): Likewise.
1143
1144 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
1145 (SLOW_UNALIGNED_ACCESS): Define.
1146 (CASE_VECTOR_MODE): Always use 32-bit offsets.
1147 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
1148 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
1149 (toc_section): Likewise and .toc pseudo-op.
1150 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
1151 64-bit mode.
1152 (TEXT_SECTION_ASM_OP): Likewise.
1153 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
1154 32-bit offsets.
1155
1156 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
1157 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
1158 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
1159 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
1160 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
1161
399b9016
JL
1162Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
1163
1164 * regclass.c: Revert my Jan 4 change to loop cost computation.
1165
64615302
JH
1166Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1167
1168 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
1169 compilation.
1170
7f103e88
SC
11712000-01-04 Stan Cox <scox@cygnus.com>
1172
1173 * haifa-sched.c (build_control_flow): Change unreachable simple
1174 loop test to check if current block has only one predecessor.
1175 (find_rgns): Initialize degree. Use dest as degree index, not src.
1176
a544cfd2
KG
11772000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1178
1179 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
1180
1181 * calls.c (expand_call): Likewise for
1182 `old_stack_arg_under_construction'.
1183
1184 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
1185
1186 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
1187 `save_constant'.
1188
1189 * gcc.c (execute): Likewise for `ut' and `st'.
1190
1191 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
1192
1193 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
1194
1195 * jump.c (jump_optimize_1): Likewise for `temp2'.
1196
1197 * local-alloc.c (block_alloc): Likewise for `r1'.
1198
1199 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
1200
1201 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
1202 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
1203
1204 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
1205 and `set2'.
1206
1207 * reload.c (find_reloads): Likewise for `goal_alternative_number'
1208 and `goal_earlyclobber'.
1209
1210 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
1211
1212 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
1213
1214 * stupid.c (stupid_life_analysis): Likewise for `chain'.
1215
1216 * unroll.c (copy_loop_body): Likewise for `copy'.
1217
1218 * varasm.c (output_constructor): Likewise for `byte'.
1219
d7a29404
JH
1220Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1221
1222 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
1223 all FP constants for constant->reg moves.
1224 (ix86_split_to_parts): Try to convert memory address into immediate
1225 when available in the constant pool.
1226 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
1227 moves.
1228 (LEGITIMATE_CONSTANT_P): Return 1.
1229 * i386.md (pushsf): New splitter to convert constant pool memory
1230 reference to immediate.
1231 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
1232 reload.
1233
28cefcd2
BS
12342000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
1235
1236 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
1237 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
1238 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
1239 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
1240 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
1241
c8b313e7
ML
1242