]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
texi2pod.pl: Handle "\,".
[gcc.git] / gcc / ChangeLog
CommitLineData
445c435a
JM
12001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
2
3 * gcc.1, cpp.1: Regenerate.
4
4cfc6042
AO
52001-01-24 Alexandre Oliva <aoliva@redhat.com>
6
7 * calls.c (emit_library_call_value_1): Memory slot for
8 pass-by-reference argument should have the mode of the argument,
9 not of the pointer to it.
10
597dba19
TT
112001-01-24 Tom Tromey <tromey@redhat.com>
12
13 * gcc.texi (G++ and GCC): Mention gcj manual.
14 (Standards): Link to section of manual mentioning gcj/Java
15 compatibility.
16
7855db7c
JJ
172001-01-24 Jakub Jelinek <jakub@redhat.com>
18
19 * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
20 * cppinit.c (cpp_start_read): Remove deps_add_dep call.
21 * tradcpp.c (main): Add -imacros or -include'd dependencies
22 for -M*.
23 * cpp.texi (-M, -MM): Document -M -include behaviour.
24
6a40fc2b
RC
252001-01-24 Roger Collins <roger@ProProject.com>
26
27 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
28
2f3fdc52
WC
292001-01-24 Will Cohen <wcohen@redhat.com>
30
31 * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
32 whether registers are 32 bits or 64 bits in size.
33
a941b588
BE
342001-01-24 Ben Elliston <bje@redhat.com>
35
36 * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
37
64b4ab5a
RH
382001-01-24 Richard Henderson <rth@redhat.com>
39
40 * config/alpha/alpha.md (builtin_longjmp_internal): New.
41 (builtin_longjmp): Use it instead of emit_indirect_jump.
42
b0cc7919
JDA
432001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
44
45 * bb-reorder.c (make_reorder_chain_1): Handle case where
46 jump edge goes to the same block as the fallthru edge.
47
0024a804
JW
482001-01-23 Jim Wilson <wilson@redhat.com>
49
50 * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
51 * frame.h (__ia64_personality_v1): Add prototype.
52 * libgcc2.c (ia64_throw_helper): Change personality declaration to
53 prototype form. Add void * cast to first argument to personality
54 call.
55 * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
56 (asctoe113): Likewise.
57 * config/ia64/frame-ia64.c: Include eh-common.h.
58 * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
59 prototypes.
60 * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
61 to dump parameter.
62 (itanium_split_issue): Add prototype.
63 (gen_nop_type): Ifdef out.
64 (find_best_packet): Initialize best_packet.
65 (ia64_encode_section_info): New local string. Use for ggc_alloc_string
66 result.
67 * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
68 * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
69 (flushrs): Add explicit stop bit at end.
70 * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
71 trailing \ to >.
72
8a1894ac
CD
732001-01-23 Chris Demetriou <cgd@broadcom.com>
74
75 * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
76 of EH symbols.
77 * libgcc2.c (__terminate_func): Make variable static.
78 (__terminate_set_func): New function to set __terminate_func.
79 * libgcc2.h (__terminate_func_ptr): New typedef.
80 (__terminate_set_func): New function.
81
240f9c2b
RH
822001-01-23 Richard Henderson <rth@redhat.com>
83
84 * flow.c (init_propagate_block_info): Don't consider unchanging
85 memories for dead frame store elimination.
86
fc9f395a
RH
872001-01-23 Richard Henderson <rth@redhat.com>
88
89 * varasm.c (UNIQUE_SECTION): Move default implementation ...
90 * defaults.h: ... here.
91
860b3499
MH
922001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
93
94 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
95
955dc84a
NB
962001-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
97
98 * c-lex.c (lex_charconst): Fix typo: s/p/str.
99
608ab802
FS
1002001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
101
102 * rs6000.h (rs6000_return_addr): Move prototype from here...
103 * rs6000-protos.h (rs6000_return_addr): ...to here.
104 (rs6000_init_expanders): Delete prototype.
105
371e300b
NC
1062001-01-23 Nick Clifton <nickc@redhat.com>
107
108 * invoke.texi: Replace , with \, inside @gccoptlist macros.
109 (Spec Files): Document %B and %j and %. and %v3 and %M and
110 %{S*&T} spec switches.
111
4a1f52a8
HB
1122001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
113
114 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
115
c933c209
CD
1162001-01-23 Chris Demetriou <cgd@sibyte.com>
117 Neil Booth <neil@daikokuya.demon.co.uk>
118
119 * cpperror.c: Merge handlers of PEDWARN and WARNING.
120 Have -Werror make pedantic warnings errors, like the
121 rest of GCC.
122
3fb74b82
PE
1232001-01-23 Phil Edwards <pme@sources.redhat.com>
124
125 * c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
126
96e60f0c
JJ
1272001-01-23 Jakub Jelinek <jakub@redhat.com>
128
129 * integrate.h (struct inline_remap): Add compare_src, compare_mode.
130 * integrate.c (expand_inline_function): Initialize them.
131 (subst_constants): If changing COMPARE so that both its arguments
132 will be VOIDmode and the comparison mode will be lost, note
133 compare_mode. Use the recorded compare_mode to optimize
134 IF_THEN_ELSE.
135
3f4907a6
JM
1362001-01-23 Jason Merrill <jason@redhat.com>
137
138 * dwarf2out.c (new_die): Use xcalloc.
139 (output_die): Abort rather than emit a local reference to offset 0.
140
44f715c8
AH
1412001-01-17 Andrew Haley <aph@redhat.com>
142
143 * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
144 of a saved register; return NULL instead.
145 (copy_reg): Take a pointer to a source register rather than a
146 frame_state.
147 (next_stack_level): Remember the address in the stack frame of all
148 saved registers.
149 Use the saved register pointer array as the source of the CFA.
150 (throw_helper): Rewrite. Unwind once rather than twice and keep
151 track of saved registers as we go.
152
eb253d90
HB
1532001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
154
155 * c4x-protos.h (c4x_legitimize_reload_address): Remove.
156 * c4x.c (c4x_legitimize_reload_address): Remove.
157 * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
158 reload address for ldp(k) insn.
159
2caa0ddf
JL
160Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com)
161
162 * pa.md (return_internal): Add a USE of the PIC register to ensure
163 it is restored after each call.
164 (return expander): Corresponding changes.
165
71f123ca
FS
1662001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
167
168 * rs6000.h (INIT_EXPANDERS): Delete.
169 (RETURN_ADDR_RTX): Call rs6000_return_addr().
170 * rs6000.c (rs6000_override_options): Call *_machine_status from
171 here...
172 (rs6000_init_expanders): ...instead of here. Delete.
173 (rs6000_mark_machine_status): New function.
174 (rs6000_init_machine_status): Use xcalloc.
175 (rs6000_return_addr): Generate RTX for the return address.
176 (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
177 (rs6000_stack_info): Use it.
178
5dab7f92
TP
1792001-01-22 Thomas Pfaff <tpfaff@gmx.net>
180
181 * gthr-win32.h: Include errno.h to get a declaration for
182 EINVAL and _mingw.h if the target is mingw32.
183
586964a7
AFV
1842001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
185
186 * cpp.texi: Correct typos.
187
f5f5363f
RK
188Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
189
190 * explow.c (probe_stack_range): Ensure value passed to
191 stack_check_libfunc is ptr_mode, not Pmode.
192
44e4159d
R
193Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com>
194
195 * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
196 case, don't use operand_subword to calculate a SUBREG that is
197 wider than a word.
198
199 * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
200
0bbcfbaf
HB
2012001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
202
203 * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
204 (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
205 valid. If not replace it by equivalent insns.
206
5078f5eb
HB
2072001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
208
209 * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
210 contains SYMBOL_REF, LABEL_REF and CONST_INT.
211 (c4x_U_constraint, symbolic_address_operand): Likewise.
212 (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
213 memory.
214 (c4x_r11_set_p, c4x_check_laj_p): New functions.
215 * c4x-protos.h (c4x_check_laj_p): Add prototype.
216 * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
217 anulling slot because of silicon bug.
218 (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
219
6dc0d164
AM
2202001-01-22 Alan Modra <alan@linuxcare.com.au>
221
222 * cppexp.c (parse_charconst): Change `mask' type to agree
223 with parse_escape.
224
c7f0da1d
RH
2252001-01-21 Richard Henderson <rth@redhat.com>
226
227 * config/i386/i386.c (ix86_asm_file_end): Disable putting
228 pic_label_name in a linkonce section.
229
380a627a
PT
2302001-01-17 Philipp Thomas <pthomas@suse.de>
231
232 * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
233 found in libintl.
234 * configure: Regenerate.
235
02a65aef
R
236Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com>
237
238 * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
239 uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
240
56b871c1
DC
241Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru>
242
243 * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
244 If REVERSE nonzero then condition code in X must be reversed.
245 (encode_section_info): Optimise if/else.
246 (avr_function_value): Fix formatting.
247
248 * config/avr/avr.md (branch): Call to ret_cond_branch changed.
249 (difficult_branch): Likewise.
250 (rvbranch): Likewise.
251 (difficult_rvbranch): Likewise.
252
253 * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
254
255 * config/avr/libgcc.S: Fix comment.
256
04e91ffb
MS
2572001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
258
259 * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
260
3943e756
MS
2612001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
262
263 * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
264
b3e1e64f
MS
2652001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
266
267 * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
268 * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
269 * configure, config.in: Regenerate.
270 * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
271 (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
272 (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
273 (doprint.o): New rule.
274
47f8b473
JM
2752001-01-20 Joseph S. Myers <jsm28@cam.ac.uk>
276
277 * c-typeck.c (digest_init): Handle boolean types as scalars.
278
2954d7db
RK
279Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
280
281 * stmt.c (expand_return): Don't return anything if size is zero.
282 Delete redundant assignment to BYTES.
283 * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
284
1d26ac96
MM
2852001-01-20 Marek Michalkiewicz <marekm@linux.org.pl>
286
287 * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
288 the same as the default library function names.
289 * config/avr/avr.md: Document special characters after '%'.
290 (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
291 knowing which of the call-used registers are really clobbered.
292 (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
293 New. Both quotient and remainder from one libgcc.S call.
294 * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
295 clobber as few registers as possible.
296 * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
297
673b13e2
NB
2982001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
299
300 * cppmacro.c (funlike_invocation_p): Don't move back up to the
301 context of the top of the stack.
302
a42a5f59
ZW
3032001-01-20 Jakub Jelinek <jakub@redhat.com>
304
305 * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
306 (fixup_var_refs_insns): ...here.
307
a42a5f59
ZW
3082001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
309
310 * function.c (fixup_var_refs_insns): Break up into
311 fixup_var_refs_insn [body of loop], fixup_var_refs_insns
312 [loop over entire insn list], and fixup_var_refs_insns_with_hash
313 [loop over hash table entries].
314 (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
315 fixup_var_refs_insns_with_hash, to match above changes.
316
03bbd83f
JDA
3172001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
318
319 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
320 (libgcc.a): Likewise.
321 (stmp-multilib): Likewise.
322 (STAGE2_FLAGS_TO_PASS): Likewise.
323
68c37dc9
AO
3242001-01-19 Alexandre Oliva <aoliva@redhat.com>
325
326 * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
327 temporary if no_new_pseudos.
328
111e0469
NB
3292001-01-19 Neil Booth <neil@daikokuya.demon.co.uk>
330
a42a5f59 331 * cppinternals.texi: Update.
111e0469 332
55cf7bb9
RE
3332001-01-19 Richard Earnshaw <rearnsha@arm.com>
334
335 * arm.c (arm_init_builtins): Re-enable builtins.
336
831ecbd4
RK
337Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
338
7193d1dc
RK
339 * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
340 * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
341 element to be null, and always expect an EXPR_LIST.
342 * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
343 * sched-deps.c (sched_analyze_1): Likewise.
344 * sched-rgn.c (check_live_1, update_live_1): Likewise.
345
79b9ec0d
RK
346 * regclass.c (max_set_parallel): New variable.
347 (reg_scan): Take it into account in computation of max_parallel.
348 (reg_scan_mark_refs, case SET): Compute it.
349
831ecbd4
RK
350 * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
351 args are REG.
352 * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
353 * function.c (assign_parms): Use INTVAL for a CONST_INT.
354
cb9e9d8d
JM
3552001-01-19 Jason Merrill <jason@redhat.com>
356
357 * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
358 for the abstract instance of an inline function.
359
831ecbd4
RK
360Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com>
361 J"orn Rennecke <amylaar@redhat.com>
61f5625b 362
20342a6b
AO
363 * reload1.c (move2add_note_store): Treat all registers directly or
364 indirectly derived from a base register as members of the same set
365 of values.
366 (reload_cse_move2add): Adjust accordingly. Take mode and offset
367 of base register into account.
61f5625b 368
61f0131c
R
369Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com>
370
371 * alias.c (find_base_value): Recognize TRUNCATE.
372 (record_set): In PLUS case, invalidate if other summand is also a
373 base value.
374
8eeb855e
RK
375Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
376
831ecbd4 377 * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
90d036a0
RK
378 entry to be EXPR_LIST.
379 * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
380 be an EXPR_LIST (but not null, which other code doesn't allow).
381 (note_stores): Properly handle PARALLEL in SET.
382 Recursively call for top-level PARALLEL.
383 * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
384 * sched-rgn.c (check_live_1, update_live_1): Likewise.
385
8eeb855e
RK
386 * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
387
6fe349a9
NB
3882001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
389
a42a5f59
ZW
390 * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
391 not pfile->skipping (== 0).
6fe349a9 392
988144ce
NC
3932001-01-17 Nick Clifton <nickc@redhat.com>
394
395 * config/rs6000/rs6000.c: Add prototypes for {init|free}_
396 machine_status.
397
15d3a111
JW
3982001-01-17 Jim Wilson <wilson@redhat.com>
399
400 * invoke.texi (IA-64 options): Improve.
401
2bab2366
TT
4022001-01-17 Tom Tromey <tromey@redhat.com>
403
404 * invoke.texi (Optimize Options): Use `{}' to around @samp
405 argument.
406
454d0cc7
AH
4072001-01-17 Aldy Hernandez <aldyh@redhat.com>
408
a42a5f59 409 * invoke.texi (-fno-guess-branch-probability): New option.
454d0cc7 410
c7be4f66
RK
411Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
412
413 * combine.c (try_combine): Don't set i3_subst_into_i2 for
414 case of making new double-word constant.
415 Revert last change: instead just test i3_subst_into_i2.
416
5efdd890
JJ
4172001-01-17 Jakub Jelinek <jakub@redhat.com>
418
419 * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
d70401eb 420 Use q constraints instead of r.
5efdd890 421
5dfcd8e1
AM
422Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
423
424 * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
425 (machine_function): Define.
426 (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
427 * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
428 pa_free_machine_status): New functions.
429 (override_options): Set {init,mark,free}_machine_status to above.
430 (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
431 PIC_OFFSET_TABLE_REGNUM_SAVED.
432 * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
433 PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
434 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
435 references to PIC_OFFSET_TABLE_REGNUM_SAVED.
436 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
437
ce3b8848
DD
4382001-01-15 DJ Delorie <dj@redhat.com>
439
440 * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
441 (cpp.1): Ditto.
442 (gcc.1): Ditto.
443
6953fdb4
RK
444Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
445
50e9b3f1
RK
446 * flow.c (propagate_on_insn): Make trying to delete a prologue
447 or epilogue insn an ICE, not a warning. Allow doing this if
448 the current function returns with stack pointer depressed.
449
6953fdb4
RK
450 * combine.c (try_combine): If i3_subst_into_i2, properly check for
451 I3 having more than one SET.
452
aebf2462
JW
4532001-01-16 Jim Wilson <wilson@redhat.com>
454
df6194d4
JW
455 * invoke.texi: Document IA-64 options.
456
aebf2462
JW
457 * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
458 (fixup_errata): Delete TARGET_A_STEP use.
459 * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
460 (TARGET_SWITCHES): Delete -ma-step option.
461 * config/ia64/ia64.md (all FP patterns): Delete %B0.
462 (movqicc_astep, movqi_internal_astep, movhicc_astep,
463 movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
464 movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
465 movdfcc_astep, movdf_internal_astep, movtfcc_astep,
466 movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
467 Delete.
468 (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
469 movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
470 cmovsi_internal): Delete ! TARGET_A_STEP check.
a42a5f59 471
aebb127a
GP
4722001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
473
474 * gcc.texi (Bug Lists): Do not mention newsgroups nor the
475 possibility to report bugs via postal mail. Change a URL and
476 merge in a nearly duplicate statement...
477 (Bug Reporting): ...from here.
478 (Service): Refer to the Bug Reporting section instead of
479 duplicating an URL.
480 (Contributing): Remove trivial explanations concerning snapshots.
481
95f4ac8b
AM
4822001-01-16 Alan Modra <alan@linuxcare.com.au>
483
a42a5f59 484 * cppmain.c (general_init): Don't use ANSI prototype.
95f4ac8b 485
c32ee81e
TT
4862001-01-16 Tom Tromey <tromey@redhat.com>
487
488 * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
489
2c873473
RH
4902001-01-16 Richard Henderson <rth@redhat.com>
491
492 * config/i386/i386.h: Fix comment typo.
493 * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
494 (ashr+compare patterns): Match CCGOCmode not CCNOmode.
495
76e5b312
PE
4962001-01-16 Phil Edwards <pme@sources.redhat.com>
497
498 * gcc.c: Revert previous -fsyntax-only-related change; move
499 to cp/g++spec.c.
500
b62d22a2
JJ
5012001-01-16 Jakub Jelinek <jakub@redhat.com>
502
503 * config/i386/i386.c (fcmov_comparison_operator): Only initialize
504 inmode after checking GET_CODE (op).
505
0875baa0
RH
5062001-01-16 Richard Henderson <rth@redhat.com>
507
508 * flow.c (struct propagate_block_info): Add mem_set_list_len.
509 (MAX_MEM_SET_LIST_LEN): New.
510 (propagate_one_insn): Update mem_set_list_len.
511 (invalidate_mems_from_autoinc): Likewise.
512 (invalidate_mems_from_set): Likewise.
513 (mark_used_regs): Likewise.
514 (init_propagate_block_info): Likewise. Stop collecting memories
515 when we reach MAX_MEM_SET_LIST_LEN.
516 (mark_set_1): Likewise.
517
c55fa4d6
RH
5182001-01-16 Richard Henderson <rth@redhat.com>
519
520 * unroll.c (precondition_loop_p): Fail if no iteration
521 variable found.
522
6488ac06
PE
5232001-01-16 Phil Edwards <pme@sources.redhat.com>
524
525 * gcc.c: When -fsyntax-only is given, do not complain about
526 unused libraries.
527
4cf12e7e
RH
5282001-01-15 Richard Henderson <rth@redhat.com>
529
530 * config/i386/i386.c (asm_output_function_prefix): Remove.
531 (ix86_asm_file_end): New.
532 (load_pic_register): Generate pic_label_name into a
533 staticly allocated buffer.
534 * config/i386/i386-protos.h: Update.
535 * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
536 (ASM_FILE_END): New.
537 * config/i386/i386afe.h: New file.
538 * config.gcc (i?86-*-elf) [tm_file]: Use it.
539 (i?86-*-{freebsd,linux*,moss*}): Likewise.
540 * config/elfos.h (ASM_FILE_END): Undef before redefinition.
541 * config/i386/cygwin.h (ASM_FILE_END): Likewise.
542 * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
543 * config/i386/sco5.h (ASM_FILE_END): Likewise.
544 * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
545
3f896fc2
JM
5462001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
547
ad3b5aff
JM
548 * Makefile.in (install-man): Remove explicit dependency on
549 $(srcdir)/gcc.1.
550
3f896fc2
JM
551 * configure.in, configure: Revert previous patch requiring perl
552 5.6.0.
553
3ff51205
AH
5542001-01-12 Aldy Hernandez <aldyh@redhat.com>
555
556 * toplev.c (flag_guess_branch_prob): New.
557 (f_options): Add guess-branch-probability option.
558 (rest_of_decl_compilation): Only estimate branch probability if
559 flag set.
560 (main): set flag_guess_branch_prob.
561
562 * flags.h (flag_guess_branch_prob): New.
563
b8dea7e0
DD
5642001-01-15 DJ Delorie <dj@redhat.com>
565
566 * gcc.texi (Makefile): Add documentation for Makefile targets.
567
c1163e75
PB
5682001-01-15 Philip Blundell <philb@gnu.org>
569
570 * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
571 (is_pic): Delete.
572 * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
573 (is_pic): Delete declaration.
3cf96b52 574 * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
c1163e75 575 (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
3cf96b52 576 * config/arm/arm.md (builtin_setjmp_receiver): New.
c1163e75 577
9b598fa0
RE
5782001-01-15 Richard Earnshaw <rearnsha@arm.com>
579
580 * arm.c (use_return_insn): Don't try to determine the function type
581 until after reload has completed.
582 (arm_output_epilogue): Don't adjust the sp value recovered from the
583 stack.
584 (emit_multi_reg_push): Don't record dwarf information for the pc.
585 * arm.md (eh_epilogue): The function type may have changed, so it
586 needs to be recalculated.
a42a5f59 587 * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2
9b598fa0
RE
588 unwind tables on arm/netbsd.
589
6c98269c
RE
5902001-01-15 Richard Earnshaw <rearnsha@arm.com>
591
592 * arm.md (cbranchsi4): Correct calculation of branch ranges.
593 (negated_cbranchsi4): Likewise.
594
fa13446b
RE
5952001-01-15 Richard Earnshaw <rearnsha@arm.com>
596
597 * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
598 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
b3c5b2be
RE
599 (ASM_SPEC): Call subtarget_extra_asm_spec. Don't
600 pass -mapcs-* options to assembler.
fa13446b
RE
601 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
602 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
603 (ASM_SPEC): Call subtarget_extra_asm_spec.
604
77ebd435
AJ
6052001-01-15 Andreas Jaeger <aj@suse.de>
606
a42a5f59 607 * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
fa13446b 608 warnings.
77ebd435
AJ
609 (ix86_expand_builtin): Likewise.
610
611 * gencodes.c (output_predicate_decls): Make i size_t to avoid
612 warning about comparison between signed and unsigned.
613
998a298e
GK
6142001-01-14 Geoffrey Keating <geoffk@redhat.com>
615
616 * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
617
1b26cad7
RB
6182001-01-14 Ralf Baechle <ralf@gnu.org>
619
a42a5f59
ZW
620 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
621 SUBTARGET_CPP_SPEC apropriatly.
1b26cad7 622
e3406b2a
MM
6232001-01-12 Mark Mitchell <mark@codesourcery.com>
624
625 * varasm.c (make_decl_rtl): Fix typo in last change.
626
ea4f1fce
JO
6272001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
628
629 * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
630 linker supports the init_priority C++ attribute.
631 * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
632 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
633 linker does not support init_priority C++ attribute.
634
3e854cf7
R
635Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com>
636
637 * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
638
400023a3
NB
6392001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
640
a42a5f59
ZW
641 * c-parse.in (finish_parse): Add comment about cpp_destroy.
642 * cp/lex.c (finish_parse): Similarly.
643 * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
644 Return the number of errors encountered.
645 * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
646 * cppmain.c (main): Don't call cpp_destroy.
400023a3 647
150d3c00
JM
6482001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
649
650 * configure.in: Require at least perl 5.6.0 to regenerate
651 manpages.
652 * configure: Regenerate.
653
521b9224
RH
6542001-01-14 Richard Henderson <rth@redhat.com>
655
656 * genrecog.c (DT_veclen_ge): New.
657 (add_to_sequence) [MATCH_PARALLEL]: Generate one.
658 (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
659 (nodes_identical_1): Handle DT_veclen_ge.
660 (write_cond, debug_decision_2): Likewise.
661
d6c5a763
RE
6622001-01-14 Richard Earnshaw <rearnsha@arm.com>
663
664 * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
665 with ...
666 (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
667
6de8f7fc
NB
6682001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
669
a42a5f59
ZW
670 * cppmain.c (do_preprocessing): New function; most of the old
671 main.
672 (main): Call it to do most of the work.
673 (cb): Move from global scope to set_callbacks ().
674 (setup_callbacks): Get the callback pointer.
675 (general_init, printer_init): Clean up code and comments.
6de8f7fc 676
17879734
RE
6772001-01-14 Richard Earnshaw <rearnsha@arm.com>
678
1b26cad7 679 * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
17879734
RE
680 compiling PIC.
681
c009a745
KH
6822001-01-14 Kazu Hirata <kazu@hxi.com>
683
684 * config/h8300/h8300.c (get_shift_alg): Update comments.
685
bd0f0717
RK
686Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
687
688 * ggc-page.c (alloc_annon): Call perror and correctly call exit.
689 (alloc_page, ggc_alloc): Add casts to remove warnings.
690
aa6683f7
GK
6912001-01-14 Geoffrey Keating <geoffk@redhat.com>
692
693 * combine.c (simplify_comparison): Don't change `code' when
694 can't reverse comparison.
695
fce7e199
RH
6962001-01-14 Richard Henderson <rth@redhat.com>
697
698 * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
699 update all call sites. Return true for all non-label constants.
700
a1b8572c
JH
701Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz>
702
703 * i386.c (ix86_expand_compare): Add bypass_test and second_test
704 parameters.
705 (ix86_expand_branch): Update.
706 (ix86_expand_setcc): Update to handle multiple test conditions.
707 (expand_int_movcc): Likewise.
708 (expand_fp_movcc): Likewise.
709 * i386-protos.h (ix86_expand_compare): New.
710 * i386.md (andqi_?_slp, orqi_?_slp): New.
711 (conditional trap expander): Update call to ix86_expand_compare.
712
17ad4377
RH
7132001-01-14 Richard Henderson <rth@redhat.com>
714
715 * config/vax/vax.md: Use nonimmediate_operand instead of
716 general_operand in destinations.
717
5b9b177a
RH
718 * config/vax/vax.md (indirect_jump): Use register_operand.
719
264ddbaa
RH
720 * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
721 * config/vax/vax.md (call_pop): Turn into an expander.
722 (call_value_pop): Likewise.
723 (call, call_value): New.
724
8752c357
AJ
7252001-01-14 Andreas Jaeger <aj@suse.de>
726
727 * config/i386/i386.c (ix86_split_fp_branch): Remove unused
728 variables.
729 (ix86_fp_compare_mode): Add unused attribute.
730 (ix86_expand_fp_movcc): Remove unused variable.
731 (ix86_expand_builtin): Make fcode unsigned.
732
733 * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
734 (expand_expr): Add cast to avoid signed warning.
735 (store_field): Likewise.
736 (store_constructor_field): Likewise.
737 (store_constructor): Likewise.
738 (store_expr): Likewise.
739 (clear_storage): Likewise.
740 (emit_group_store): Likewise.
741 (emit_group_load): Likewise.
742
1312c143
JM
7432001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
744
745 * c-common.c: Move format checking code to ...
746 * c-format.c: ... here. New file. Reorder some functions and
747 declarations.
748 (decl_handle_format_attribute, decl_handle_format_arg_attribute):
749 New functions.
750 * c-common.h (decl_handle_format_attribute,
751 decl_handle_format_arg_attribute): Declare.
752 * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
753 (c-common.o): Adjust dependencies.
754 (c-format.o): New list of dependencies.
755
9e2adb2a
JJ
7562001-01-13 Jakub Jelinek <jakub@redhat.com>
757
758 * unroll.c (loop_iterations): If we cannot prove iteration variable
759 is set once in each iteration, punt.
760
63eaee71
DC
761Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru>
762
763 * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
764 (*strlenhi): Remove clobber (which was buggy) of output address.
765
4bc1997b
JM
7662001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
767
768 * Makefile.in (generated-manpages): Add gcc.1
769 ($(srcdir)/gcc.1): New target.
770 (maintainer-clean): Delete $(srcdir)/gcc.1.
771 * gcc.texi: Add macros @gccoptlist and @gol.
772 * invoke.texi: Include option summary in manpage. Mark up option
773 summary with @gccoptlist and @gol. Use @r in one place where
774 appropriate.
775 * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
776 * gcc.1: Generate from invoke.texi.
777
130fadbb
RH
7782001-01-13 Richard Henderson <rth@redhat.com>
779
780 * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
781 (struct page_entry): Add group member.
782 (struct page_group): New.
783 (struct globals): Add page_groups member.
784 (alloc_anon): Only define for using mmap; remove valloc call.
785 (page_group_index): New.
786 (set_page_group_in_use): New.
787 (clear_page_group_in_use): New.
788 (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
789 (free_page, release_pages): Likewise.
790 * configure.in (with-gc): Default to ggc-page always.
791
086fef9e
AO
7922001-01-13 Alexandre Oliva <aoliva@redhat.com>
793
794 * reload1.c (replace_pseudos_in_call_usage): Use
795 reg_equiv_constant and reg_equiv_address, and don't try
796 regno_reg_rtx first.
797
ca79429a
RH
7982001-01-13 Richard Henderson <rth@redhat.com>
799
800 * ggc-page.c (alloc_page): Round up allocation size to one page.
801 Set e->order on extra pages.
802
2cec75a1
RH
8032001-01-13 Richard Henderson <rth@redhat.com>
804
805 * genrecog.c (nodes_identical): Expand commentary.
806 (write_switch): Watch out for identical nodes.
807
d6d52dd6
NB
8082001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
809
a42a5f59
ZW
810 * cppfiles.c (_cpp_fake_include): New function.
811 * cpphash.h (_cpp_fake_include): New.
812 * cpplib.c (do_line): Call _cpp_fake_include when entering
813 header files in preprocessed input.
814 * cppmain.c (cb_pragma_implementation): Remove handling.
d6d52dd6
NB
815 (setup_callbacks): Don't register pragmas.
816
ccd96f0a
NB
8172001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
818
819 * extend.texi: Udate for CPP.
820
174fa2c4
AJ
8212001-01-13 Andreas Jaeger <aj@suse.de>
822
823 * reload1.c: Add prototype for replace_pseudos_in_call_usage.
824
825 * regmove.c: Add prototype for replace_in_call_usage.
826
8121d2c3
NB
8272001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
828
a42a5f59
ZW
829 * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
830 struct cpp_chunk, struct htab, struct toklist,
831 struct cpp_context, CPP_STACK_MAX, struct lexer_state,
832 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
833 CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
834 ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
835 (struct macro_args): Delete.
836 * cpphash.h: See above.
8121d2c3 837
620ef26c
NB
8382001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
839
a42a5f59
ZW
840 * cppmain.c (struct printer): Remove no_line_dirs.
841 (options, cb): New.
842 (main, setup_callbacks, scan_buffer, printer_init, cb_define)
843 : Use options rather than CPP_OPTION.
844 (setup_callbacks): Use cb rather than pfile->cb.
845 (main): No need to check for a buffer. Use cpp_errors.
846 (printer_init): Don't set no_line_dirs.
847 (maybe_print_line): Use options not no_line_dirs.
848 (cb_file_change): Don't call print_line if -P.
620ef26c 849
b61c5ed0
NB
8502001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
851
a42a5f59
ZW
852 * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
853 callbacks.
854 * c-parse.in (finish_parse): Use cpp_errors.
855 (__yylex): Use return value of cpp_pop_buffer.
856 * cp/lex.c (finish_parse): Use cpp_errors.
857 * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
b61c5ed0 858
f14269a0
DC
859Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru>
860
861 * README.AVR: URLs corrected.
862
757e6639
RK
863Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
864
865 * c-decl.c (start_function): Don't warn if old prototype is builtin
866 that's not in C's namespace.
867 * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
868 (_bb): Add prototype for ctime.
869 * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
870
9e7adcb3
JH
871Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
872
873 * i386.c (ix86_fp_comparison_arithmetics_cost,
874 ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
875 ix86_fp_comparison_cost): New functions.
876 (ix86_expand_fp_compare): Use the costs to choose best bethod; add
877 two new parameters SECOND_TEST and BYPASS_TEST; allow generating
878 two-branch sequences; make static.
879 (ix86_use_fcomi_compare): Do decision according to the costs.
880 (split_fp_branch): New.
881 * i386.md (compare-and-branch patterns): Use split_fp_branch.
882 * i386-protos.h (ix86_expand_fp_compare): Remove
883 (ix86_split_fp_branch): Declare.
884
885 * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
886 and ix86_comparison_operator.
887
888 * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
889 to make it cheaper.
890
891 * i386.c (put_condition_code): Output properly the unordered/ordered
892 compares in fp case.
893 (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
894
895 * tm.texi (REVERSE_CONDITION): Document.
896 * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
897 in -ffast-math mode.
898 * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
899
35ef2880
AO
9002001-01-13 Alexandre Oliva <aoliva@redhat.com>
901
89d4bc35
AO
902 * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
903
b90dbca6
AO
904 * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
905 optimized away.
906
35ef2880
AO
907 * config/sh/sh.c (mova_p): Fix test for mova_const.
908
f85c14ee
NB
9092001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
910
a42a5f59
ZW
911 * fix-header.c (read_scan_file): Use cpp_get_callbacks and
912 cpp_get_options rather than dereferencing pfile and using
913 CPP_OPTION.
914 * scan-decls.c (scan_decls): Use return value of
915 cpp_pop_buffer rather than CPP_BUFFER.
174fa2c4 916
7e96d768
NB
9172001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
918
a42a5f59
ZW
919 * cppinit.c (cpp_handle_option): help_only is now part of the
920 cpp_options structure.
921 * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
922 cpp_set_callbacks): New functions.
923 * cpplib.h (cpp_callbacks): Break out as a named structure.
924 (cpp_options): Move help_only here from cpp_reader.
925 (CPP_FATAL_ERRORS): Update to use cpp_errors.
926 (cpp_errors, cpp_get_options, cpp_get_callbacks,
927 cpp_set_callbacks): New prototypes.
928 * cppmain.c (main): Update for help_only.
7e96d768 929
23de1fbf
JM
9302001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
931
932 * Makefile.in (info, maintainer-clean, install-info, uninstall):
933 Also build and remove and install and uninstall c-tree.info and
934 cppinternals.info.
935 ($(srcdir)/gcc.info): Add dependency on contrib.texi.
936 ($(srcdir)/cppinternals.info): New target.
937 * c-tree.texi: Change file name used when makeinfo used without -o
938 from ir.info to c-tree.info. Add info directory entry.
939 * cppinternals.texi: Add info directory entry.
940 * .cvsignore: Update.
941
8b6a5902
JJ
9422001-01-12 Jakub Jelinek <jakub@redhat.com>
943
944 * c-typeck.c (store_init_value): Don't require constant initializer
945 elements with -pedantic -std=c99.
946 (digest_init): Change error about non-constant initializer elements
947 into pedwarn.
948 (constructor_range_end): Remove.
949 (constructor_incremental, designator_depth,
950 designator_errorneous): New variables.
951 (struct constructor_stack): Remove range_end, add incremental.
952 (struct constructor_range_stack, constructor_range_stack): New.
953 (struct initializer_stack): Add constructor_range_stack.
954 (finish_init): Set it.
955 (start_init): Likewise. require_constant_elements for non-static
956 trees only if not flag_isoc99.
957 (really_start_incremental_init): Remove constructor_range_end, add
958 constructor_incremental.
959 (pop_init_level): Likewise.
960 (push_init_level): Likewise. If implicit and the subobject had some
961 value set already, preinitialize the level with it.
962 Warn about missing braces only if not pushing due to designators.
963 (set_designator, push_range_stack): New functions.
964 (set_init_label): Use them.
965 (set_init_index): Likewise. Remove constructor_range_end.
966 Error if designator index is outside of array bounds.
967 (add_pending_init): Compare values of purpose index trees, not the
968 trees themselves. Allow overwriting of already initialized element.
969 Issue a warning if it had side-effects.
970 (set_nonincremental_init, set_nonincremental_init_from_string): New
971 functions.
972 (pending_init_member): Rename to...
973 (find_init_member): ...this function. Call set_nonincremental_init
974 if necessary. Compare values of purpose index trees, not the trees
975 themselves. Return the actual value, not just non-zero if something
976 is found.
977 (output_init_element): Remove checks for duplicates.
978 If field has zero size, only check the initializer for correctness.
979 Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL
980 if constructor_incremental is zero. Change error about initializers
981 not computable at load time into pedwarn.
982 (output_pending_init_elements): Compare bit positions, not
983 FIELD_DECLs to take into account zero-sized fields.
984 (process_init_element): Use constructor_range_stack to fill all
985 ranges in the designator lists from current level up.
986 * extend.texi: Update documentation for labeled elements.
987
7dd232a8
AO
9882001-01-12 Alexandre Oliva <aoliva@redhat.com>
989
f474c6f8
AO
990 * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
991 to function usage for arguments passed by reference. Optimize
992 callee-copied arguments.
ec7c0481 993 * regmove.c (replace_in_call_usage): New function.
f474c6f8
AO
994 (fixup_match_1): Call it.
995 * cse.c (cse_insn): Canonicalize registers in function usage.
996 * reload1.c (replace_pseudos_in_call_usage): New function.
997 (reload): Call it.
998
7dd232a8
AO
999 * Makefile.in: Reverted yesterday's wrong patch. Installed the
1000 right version.
1001
d0285326
JJ
10022001-01-12 Jakub Jelinek <jakub@redhat.com>
1003
1004 * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
1005 not XEXP (tmp, 0).
1006
770861f3
DD
10072001-01-12 DJ Delorie <dj@redhat.com>
1008
1009 * Makefile.in (bootstrap): rename stages to be mnemonic. Add
1010 restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
1011 targets.
1012
5490d604
JM
10132001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1014
1015 * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
1016 tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to
1017 -std options alongside references to -ansi. Update some
1018 documentation for C99.
1019 * cpp.1: Regenerate.
1020
d24b8f53
AJ
10212001-01-12 Andreas Jaeger <aj@suse.de>
1022
14052b68
AJ
1023 * haifa-sched.c (restore_line_notes): Remove argument block B
1024 since it's unused.
1025 * sched-ebb.c (schedule_ebb): Change caller.
1026 * sched-rgn.c (schedule_region): Likewise.
1027 * sched-int.h (restore_line_notes): Adjust prototype.
1028
d24b8f53
AJ
1029 * loop.h: Remove wrong declaration of doloop_condition_get.
1030
e6f3b89d
PE
10312001-01-12 Phil Edwards <pme@sources.redhat.com>
1032
1033 * extend.texi: Move C++-extension-related node from the C section
1034 into the C++ section.
1035
89aed483
JM
10362001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1037
1038 * extend.texi: Refer to an array of pointers to functions instead
1039 of one of functions.
1040
c3ffea50
AJ
1041Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
1042 Jan Hubicka <jh@suse.cz>
1043
d24b8f53 1044 * combine.c (reversed_comparison): Fix typo in last patch.
c3ffea50 1045 Check X for NULL.
d24b8f53
AJ
1046 (combine_reversed_comparison_code): Make static to follow
1047 prototype declaration.
c3ffea50 1048
159227d5
PE
10492001-01-12 Phil Edwards <pme@sources.redhat.com>
1050
1051 * install.texi: Remove misplaced duplicate entry.
1052
ac70ce21
UD
10532001-01-11 Ulrich Drepper <drepper@redhat.com>
1054
1055 * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
1056
b660f82f
JW
1057Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
1058
1059 * final.c: (leaf_function_p): Fix typo.
1060
825b6926
ZW
10612001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
1062
1063 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
1064 Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
1065 which you have.
1066 (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
1067 * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
1068 mmap_anon, and valloc is available.
1069 * ggc-page.c: Restructure ifdef logic to match new autoconf
1070 spec. Don't throw away the test page in init_ggc.
1071
1072 * configure, config.in: Regenerate.
1073
099f0f3f
MH
10742001-01-12 Michael Hayes <mhayes@redhat.com>
1075
1076 * loop.h (total_biv_increment): Constify iv_class pointer.
1077 (struct induction): Replace `mem_mode' with `mem' rtx.
1078 * unroll.c (total_biv_increment): Constify iv_class pointer.
1079 * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
1080 (find_mem_givs, combine_givs_p): Likewise.
1081 (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
1082
69e905c8
TP
10832001-01-10 Thomas Pfaff <tpfaff@gmx.net>
1084
1085 * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
1086 LastError.
1087 (__gthread_getspecific): Ditto.
1088
9a915772
JH
1089Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
1090
1091 * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
1092 put_condition_code): Convert fp comparison codes to integer
1093 before handling.
1094 (ix86_expand_fp_compare): Postnote the fp comparison code converison
1095 to final.
1096
1097 * i386.c (unsigned_comparison, no_comparison_operator): Kill.
1098 * i386-protos.h (no_comparison_operator): Kill.
1099
1100 * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
1101
1102 * combine.c (REVERSIBLE_CC_MODE): Remove.
1103 (reversible_comparison_p): Remove.
1104 (combine_reversed_comparison_code): New.
1105 (reversed_comparison): New.
1106 (combine_simplify_rtx): Use
1107 combine_reversed_comparison_code/reversed_comparison instead
1108 of reversible_comparison_p.
1109 (simplify_if_then_else): Likewise.
1110 (simplify_set): Likewise.
1111 (simplify_logical): Likewise.
1112 (if_then_else_cond): Likewise.
1113 (known_cond): Likewise.
1114 (simplify_comparison): Likewise.
1115
bbc7fda9
AL
11162001-01-11 Alan Lehotsky <lehotsky@tiac.net>
1117
1118 * builtins.c (std_expand_builtin_va_start): Handle varargs when
1119 sizeof (int) is larger than sizeof(__word__).
825b6926 1120
a4299d07
NB
11212001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
1122
825b6926 1123 * cppinit.c (do_includes): Fix typo.
a4299d07 1124
76028b1f
SC
11252001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1126
1127 * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
1128 in S_REGS does not occur because not all sources are possible
1129 when a S_REGS is a destination (sometimes needs a clobber).
1130 (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
1131 (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
1132 (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
1133 (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
1134 (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
1135 (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
1136 (lshrdi_const1, lshrsi3_const16): Likewise.
1137 (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
1138 (*movhi_68hc12, *movqi_68hc12): Likewise.
825b6926 1139 (movstrictqi): Make sure reloading in D_REGS as a destination
76028b1f
SC
1140 does not happen.
1141
d3956766
NB
11422001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
1143
825b6926 1144 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
d3956766 1145
05e81724
NB
11462001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
1147
825b6926
ZW
1148 * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
1149 -D, -U and -A, and don't initialize the builtins.
a4299d07 1150 (do_includes): Error if -include or -imacros with -fpreprocessed.
825b6926
ZW
1151 * cppmain.c (cb_define, cb_undef): Unconditionally process
1152 the callback.
1153 * tradcpp.c (main): Fix typo.
05e81724
NB
1154
11552000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
825b6926 1156
05e81724
NB
1157 * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
1158 (read_name_map): Use IS_ABSOLUTE_PATH.
825b6926 1159 * tradcpp.c (get_filename): Likewise.
05e81724 1160
76d06edc
SC
11612001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1162
1163 * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
1164 (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
1165 (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
1166 (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
1167 (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
1168 (cmphi_z_used): Don't use '@' for the output.
1169 (tstqi_z_used): Likewise.
1170 (cmpqi_z_used): Likewise.
1171 (one_cmplsi2): Likewise.
1172
1594c6bc
AO
11732001-01-11 Alexandre Oliva <aoliva@redhat.com>
1174
1175 * config/sh/sh.c (barrier_align): Recognize branch around far
1176 branch and redundant insn.
1177
7da723ef
NB
11782001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
1179
825b6926 1180 * invoke.texi: Restore documentation of the drivers' switches -MD
7da723ef
NB
1181 and -MMD.
1182
a738a85c
AO
11832001-01-11 Alexandre Oliva <aoliva@redhat.com>
1184
f6f1dc95
AO
1185 * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
1186
a738a85c
AO
1187 * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
1188 check-objc//%): Support parallel testing of multilibs.
1189 (TESTSUITEDIR): Set to testsuite by default, but override for
1190 parallel testing.
1191 (check-gcc, check-g++, check-g77, check-objc): Enter
1192 $(TESTSUITEDIR).
1193
fb6754f0
BS
11942001-01-11 Bernd Schmidt <bernds@redhat.com>
1195
1196 * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
1197 * sched-deps.c (deps_may_trap_p): Likewise.
1198 * basic-block.h: Remove a comment.
1199 * flow.c (PROP_POSTRELOAD): Remove.
1200 (update_life_info): Don't add it to prop_flags.
1201 (mark_set_1): Lose the code that was enabled by it.
1202
0ab409ed
MH
12032001-01-11 Michael Hayes <mhayes@redhat.com>
1204
1205 * flow.c (flow_call_edges_add): New.
1206 * basic_block.h (flow_call_edges_add): New.
1207
ada6635f
R
12082001-01-11 J"orn Rennecke <amylaar@redhat.com>
1209
1210 * reload1.c (move2add_note_store): Update reg_set_luid even if
1211 base reg remains the same.
1212
73d771f0
NC
12132001-01-10 Nick Clifton <nickc@redhat.com>
1214
1215 * config/d30v/d30v.c (d30v_init_machine_status): Initialise
1216 machine_function structure to zero.
1217 Add prototypes for machine_status functions.
1218
cbd5937a
MM
12192001-01-10 Mark Mitchell <mark@codesourcery.com>
1220
1221 * c-common.h (CTI_VOID_LIST): Remove.
1222 (void_list_node): Likewise.
1223 * tree.h (TI_VOID_LIST_NODE): New enumeral.
1224 (void_list_node): New macro.
1225 * config/arm/arm.c (arm_init_builtins): Use void_list_node.
1226 * config/i386/i386.c (ix86_init_builtins): Likewise.
1227 * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
1228
2f638f96
NB
12292001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
1230
825b6926
ZW
1231 * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
1232 * cppinit.c (cpp_start_read): Update comment, remove unneeded
1233 if statement.
1234 * tradcpp.c: Include mkdeps.h.
1235 (deps, print_deps_phony_targets, deps_append, output_deps,
1236 init_dependency_output, output_deps): New.
1237 (deps_buffer, deps_allocated_size, deps_size, deps_column,
1238 deps_output): Delete.
1239 (print_deps_missing_files): Rename deps_missing_files.
1240 (inhibit_output): Make global.
1241 (main): Delete inhibit_output, deps_stream, deps_target.
1242 Use mkdeps functionality in the same way as cpplib. Remove
1243 -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of
1244 -M and -MM. Remove old handling of deps via deps_out, and
1245 old reading of environment variables.
1246 (get_filename): Update to use deps_add_dep.
2f638f96 1247
6c418184
MM
12482001-01-10 Mark Mitchell <mark@codesourcery.com>
1249
1250 * output.h (make_function_rtl): Remove prototype.
1251 (make_decl_rtl): Likewise.
1252 * varasm.c (make_function_rtl): Remove.
1253 (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
1254 than from a third parameter.
1255 * tree.h (make_decl_rtl): Remove last parameter.
1256 * c-decl.c (builtin_function): Remove last argument in call to
1257 make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
1258 (start_function): Likewise.
1259 * except.c (call_get_eh_context): Likewise.
1260 * expr.c (emit_block_move): Likewise.
1261 (clear_storage): Likewise.
1262 * profile.c (output_func_start_profiler): Likewise.
1263 * toplev.c (rest_of_decl_compilation): Likewise.
1264 * objc/objc-act.c (create_builtin_decl): Likewise.
1265 (synth_module_prologue): Likewise.
1266 (generate_static_reference): Likewise.
1267 (build_selector_reference_decl): Likewise.
1268 (build_class_reference_decl): Likewise.
1269 (build_objc_string_decl): Likewise.
1270 (build_protocol_reference): Likewise.
1271
4621c640
RH
12722001-01-10 Richard Henderson <rth@redhat.com>
1273
1274 * hwint.h: Revert yesterday's change.
1275
414c4dc4
NC
12762001-01-10 Nick Clifton <nickc@redhat.com>
1277
1278 * function.h (save_machine_status): Delete.
1279 (restore_machine_status): Delete.
1280 Amend comment describing {init|mark|free}_machine_status.
1281
1282 * function.c (save_machine_status): Delete.
1283 (restore_machine_status): Delete.
1284 Amend comment describing {init|mark|free}_machine_status.
1285 (push_function_context_to): Remove invocation of
1286 save_machine_status.
1287 (pop_function_context_from): Remove invocation of
1288 restore_machine_status.
1289
1290 * emit-rtl.c (init_emit_once): Amend comment describing
825b6926 1291 {init|mark|free}_machine_status.
414c4dc4
NC
1292
1293 * tm.texi (Per-Function Data): New node. Describe the
1294 INIT_EXPANDERS macro and the {init|mark|free}_machine_status
1295 function pointers.
1296
5c5d1ea0
NB
12972001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
1298
825b6926
ZW
1299 * cppinit.c (OPT_g): Remove.
1300 (cpp_handle_option): Update for removed -g3.
1301 (print_help): Update.
1302 * cpplib.h (struct cpp_options): Remove debug_output.
1303 * cppmain.c (setup_callbacks, cb_define): Update.
1304 * gcc.c (cpp_options): Translate -g3 to -dD.
5c5d1ea0 1305
d9271ccc
AH
13062001-01-10 Aldy Hernandez <aldyh@redhat.com>
1307
1308 * config/i960/i960.md: Change modifier to + on the zero_extract
825b6926 1309 pattern after the (rotate -2 reg) canonicalization pattern.
d9271ccc 1310
37b15744
RH
13112001-01-10 Richard Henderson <rth@redhat.com>
1312
1313 * config/alpha/alpha.c (alpha_free_machine_status): New.
1314 (override_options): Install it.
1315 (alpha_mark_machine_status): Verify machine non-null.
1316 * config/i386/i386.c (ix86_free_machine_status): New.
1317 (override_options): Install it.
1318 (ix86_init_machine_status): Use xcalloc.
1319 (ix86_mark_machine_status): Verify machine non-null.
1320 * config/ia64/ia64.c (ia64_free_machine_status): New.
1321 (ia64_override_options): Install it.
1322 (ia64_mark_machine_status): Verify machine non-null.
1323
87c61e2d
JL
1324Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com)
1325
1326 * function.c (instantiate_virtual_regs): Instantiate virtual
1327 registers found in CALL_INSN_FUNCTION_USAGE.
1328
930bbdd2
JM
13292001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1330
1331 * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
1332 equivalent to -ansi in disabling -Di386.
1333
c0c102a9
JH
1334Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz>
1335
1336 * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
1337 new functions.
1338 (ix86_expand_fp_compare): Make trivial use of new infrastructure.
1339
78053907
RE
13402001-01-10 Richard Earnshaw <rearnsha@arm.com>
1341
1342 * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
1343
a7537031
JM
13442001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1345
1346 * invoke.texi: Document that -fcond-mismatch isn't supported for
1347 C++.
1348
2642624b
JM
13492001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1350
1351 * gcc.texi: Define macro gcctabopt.
1352 * invoke.texi: Add manpage sections BUGS and AUTHOR. Use
1353 @command, @env and @option in some places where appropriate. Use
1354 @gcctabopt where appropriate. Put URLs and email addresses inside
1355 @w.
1356
11972f66 13572001-01-10 Nathan Sidwell <nathan@codesourcery.com>
825b6926
ZW
1358
1359 * gcc.c (cpp_options): Set MD file name from output
1360 filename, if specified.
1361 (suffix_subst): New static variable.
1362 (do_spec): Clear it.
1363 (do_spec_1, case '.'): Handle new `%.suffix' spec.
1364 Clear it.
1365 (give_switch): Handle suffix_subst.
11972f66 1366
0a75e5c3
PE
13672001-01-10 Phil Edwards <pme@sources.redhat.com>
1368
1369 * invoke.texi: Fix another typo.
1370
9169269f
PE
13712001-01-10 Phil Edwards <pme@sources.redhat.com>
1372
1373 * invoke.texi: Fix typo.
1374
ee811cfd
NB
13752001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
1376
825b6926
ZW
1377 * c-lang.c (lang_hooks): Update.
1378 (lang_decode_option): Remove.
1379 (lang_init_options): Rename c_init_options.
1380 * toplev.c (main): Use lang_hooks for lang_init_options
1381 and lang_decode_option.
1382 * toplev.h (lang_hooks): Add 2 new hooks.
1383 * tree.h: Remove lang_init_options and lang_decode_option.
1384 * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
1385 * cp/decl2.c: Similarly.
1386 * cp/lex.c (lang_init_options): Rename cxx_init_options.
1387 (lang_hooks): Update.
1388 * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
1389 for consistency.
1390 (lang_init_options): Rename ffe_init_options.
1391 (lang_hooks): Update.
1392 (lang_decode_option): Remove.
1393 * java/lang.c (lang_init_options): Rename java_init_options.
1394 (lang_decode_option): Rename java_decode_option.
1395 (lang_hooks): Update.
1396 * objc/objc-act.c (lang_init_options): Rename objc_init_options.
1397 (lang_decode_option): Rename objc_decode_option.
1398 (lang_hooks): Update.
ee811cfd 1399
8541c24b
NC
14002001-01-09 Nick Clifton <nickc@redhat.com>
1401
1402 * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
1403 (d30v_return_addr_rtx): Delete.
1404 (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
1405 cfun->machine structure.
1406 (struct machine_function): Move to d30v.h
1407 (d30v_save_machine_status): Delete.
1408 (d30v_restore_machine_status): Delete.
1409 (d30v_init_machine_status): New Function.
1410 (d30v_mark_machine_status): New Function.
1411 (d30v_free_machine_status): New Function.
1412 (d30v_init_expanders): Use new functions.
1413 (d30v_return_addr): Use ra_rtx field in cfun->machine.
1414 (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
1415 d30v_return_addr_rtx.
1416
1417 * config/d30v/d30v.h (struct_machine): Move here.
1418 Add eh_epilogue_sp_ofs field.
1419
1420 *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
1421 field in cfun->machine structure.
1422
4d5a6f78
JDA
1423Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca>
1424
1425 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
1426 PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
1427 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
1428
ecb7e784
JL
1429Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
1430
1431 * objc/lang-options.h: Remove bogus reference to
1432 Java trademark.
1433
35fb3d1f
KH
14342001-01-09 Kazu Hirata <kazu@hxi.com>
1435
1436 * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
1437 return the result.
1438
4971426b
AL
14392001-01-09 Alan Lehotsky <lehotsky@tiac.net>
1440
1441 * reload.c (find_reloads_address): Check for eliminable registers
1442 when substituting a constant expression for a pseudo.
825b6926 1443
10a4c7ac
JM
14442001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
1445
1446 * c-common.c (enum format_type): Add format_type_error.
1447 (decode_format_type): New function.
1448 (decl_attributes): Use it.
1449 (format_kind_info): Adjust comment.
1450
f6e0c56c
DB
14512001-01-09 David O'Brien <obrien@BSDi.com>
1452
1453 * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
1454 i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
1455 files in tm_file.
1456 * config/i386/gnu.h: Don't include required platform specific .h files,
1457 tm.h will do it instead.
1458 * config/i386/i386elf.h: Likewise.
1459 * config/i386/linux.h: Likewise.
1460 * config/i386/moss.h: Likewise.
1461 * config/mips/gnu.h: Likewise.
1462
e556ad19
FS
14632001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1464
1465 * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
1466 (rs6000-ibm-aix3.[01]*): Likewise.
1467 (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
1468 (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
1469 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
1470 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1471 (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
1472 (powerpc-*-eabiaix*): Likewise.
1473 (powerpc-*-eabisim*): Likewise.
1474 (powerpc-*-elf*): Likewise.
1475 (powerpc-*-eabi*): Likewise.
1476 (powerpc-*-rtems*): Likewise.
1477 (powerpc-*-linux*libc1): Likewise.
1478 (powerpc-*-linux*): Likewise.
1479 (powerpc-wrs-vxworks*): Likewise.
1480 (powerpcle-wrs-vxworks*): Likewise.
1481 (powerpcle-*-sysv*): Likewise.
1482 (powerpcle-*-elf*): Likewise.
1483 (powerpcle-*-eabisim*): Likewise.
1484 (powerpcle-*-eabi*): Likewise.
1485 (powerpcle-*-solaris2*): Likewise.
1486 * config/rs6000/aix31.h: Delete includes.
1487 * config/rs6000/aix3newas.h: Likewise.
1488 * config/rs6000/aix41.h: Likewise.
1489 * config/rs6000/aix43.h: Likewise.
1490 * config/rs6000/beos.h: Likewise.
1491 * config/rs6000/rtems.h: Likewise.
1492 * config/rs6000/sysv4.h: Likewise.
1493
9789584b
KH
14942001-01-09 Kazu Hirata <kazu@hxi.com>
1495
1496 * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
1497 Change an argument mode of machine_mode to shift_mode of
1498 shift_mode. Remove an extra error check.
1499 (emit_a_shift): Adopt to the new calling prototype of
1500 get_shift_alg.
46d00fef
KH
1501 (function_prologue): Fix code for a monitor
1502 function. Support H8/S.
1503 (function_epilogue): Do not output pop for a monitor function.
9789584b 1504
a2e11fd9
NC
15052001-01-09 Nick Clifton <nickc@redhat.com>
1506
1507 * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
1508 (setup_incoming_varargs): Use sysv_varargs_p field of the
1509 cfun->machine structure.
1510 (struct machine_function): Move to rs6000.h
1511 (rs6000_save_machine_status): Delete.
1512 (rs6000_restore_machine_status): Delete.
1513 (rs6000_init_machine_status): New Function.
1514 (rs6000_free_machine_status): New Function.
1515 (rs6000_init_expanders): Use new functions.
1516
1517 * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
1518 export.
1519 (struct machine_function): Move here.
1520
1521 * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
1522 sysv_varargs_p field of the cfun->machine structure.
1523
1524 * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
1525 Remove prototype.
1526 (rs6000_restore_machine_status): Remove prototype.
1527
4ba478b8
RH
15282001-01-09 Richard Henderson <rth@redhat.com>
1529
1530 * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
1531 reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
1532 * sched-deps.c (sched_analyze_1): Update uses of struct deps.
1533 (sched_analyze_2, sched_analyze_insn): Likewise.
1534 (sched_analyze, init_deps): Likewise.
1535 (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
1536 * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument.
1537 (compute_block_backward_dependences): Update propagate_deps call.
1538
9c1fcbfb
ME
15392001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
1540
1541 * gcc.c (process_command): Set switches[n_switches].ordering to 0.
1542
e582248c
NB
15432001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
1544
825b6926
ZW
1545 * cppinit.c (OPT_MD, OPT_MMD): Restore.
1546 (cpp_handle_option): Handle them.
1547 (cpp_post_options): Ensure one of -M or -MM is specified with
1548 any other -M? option.
1549 (init_dependency_output): Suppress output with -MG.
e582248c
NB
1550
15512001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
1552
825b6926
ZW
1553 * cpp.texi: Update.
1554 * invoke.texi: Update.
e582248c 1555
7894cb27
BS
15562001-01-09 Bernd Schmidt <bernds@redhat.com>
1557
1558 * sh.md (reload_outsf): Generate recognizable patterns for
1559 TARGET_SH3E.
1560
9f56ed15
NB
15612001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
1562
1563 * c-lang.c (lang_hooks): Update.
825b6926
ZW
1564 (lang_init): Rename c_init.
1565 (lang_finish): Remove.
1566 * toplev.c (compile_file): Use lang_hooks for lang_init ()
1567 and lang_finish ().
1568 * toplev.h (lang_hooks): Add init () and finish ().
1569 * tree.h (lang_init, lang_finish): Remove.
1570 * cp/tree.h (lang_init, lang_finish): Remove.
1571 * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
1572 * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
1573 lang_hooks): New.
1574 (lang_init, lang_finish): Remove.
1575 * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
1576 (lang_hooks): Update.
1577 * java/lang.c (lang_init): Rename java_init.
1578 (lang_finish): Remove.
1579 (lang_hooks): Update.
1580 * objc/objc-act.c (lang_init): Rename objc_init.
1581 (lang_finish): Remove.
1582 (lang_hoooks): Update.
9f56ed15 1583
fb83deef
GS
158420001-01-09 Graham Stott <grahams@redhat.com>
1585
1586 * cppfiles.c (_cpp_execute_include): Move `len` initialisation
1587 after `ptr` is initialised.
1588
ec4ad0f9
AO
15892001-01-09 Alexandre Oliva <aoliva@redhat.com>
1590
1591 * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
1592 (INITIALIZE_TRAMPOLINE): Adjust accordingly.
1593 * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
1594 stack adjusts, instead of r3.
1595
eab02feb
MH
15962001-01-09 Michael Hayes <mhayes@redhat.com>
1597
1598 * flow.c (flow_loop_scan): Break out of ...
1599 (flow_loops_find) ... here.
1600 * basic-block.h (flow_loop_scan): New.
1601 (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
1602 (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
1603
bad48d7e
AO
16042001-01-09 Alexandre Oliva <aoliva@redhat.com>
1605
4b49c365
AO
1606 * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
1607 macro_buffer_len.
1608 * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
1609 realloc()ing macro_buffer.
1610
bad48d7e
AO
1611 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
1612 if it's wider than long and the target's long is wider than the
1613 host's.
1614
34fa3e7d
MM
16152001-01-09 Mark Mitchell <mark@codesourcery.com>
1616
1617 Remove support for using UWIN as a host machine.
1618 * configure.in: Issue an error message.
1619 * configure: Regenerated.
1620 * config.gcc: Remove xm_* UWIN configury.
1621 * config/i386/xm-uwin.h: Remove.
1622
61db4608
NC
16232001-01-08 Nick Clifton <nickc@redhat.com>
1624
1625 * config/v850/v850.c (ra_rtx): Delete.
825b6926 1626 (v850_save_machine_status): Delete.
61db4608
NC
1627 (v850_restore_machine_status): Delete.
1628 (v850_init_machine_status): New function.
1629 (v850_mark_machine_status): New function.
1630 (v850_free_machine_status): New function.
1631 (v850_return_addr): Use ra_rtx field in machine structure.
1632 (v850_init_expanders): Use new functions.
1633
1634 * config/v850/v850-protos.h: Fix prototypes for v850_output_*
1635 * config/v850/v850.c: Change arguments to v850_output+* functions
1636 to take a const char *, to avoid compile time warning.
1637 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
1638 (USER_LABEL_PREFIX): Redefine.
825b6926 1639
9c8fad33
JW
16402000-01-08 Jim Wilson <wilson@redhat.com>
1641
1642 * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
1643 1 to unsigned HOST_WIDE_INT before left shift.
1644
f7a80099
NC
16452001-01-08 Nick Clifton <nickc@redhat.com>
1646
1647 * config/arm/arm.c (arm_mark_machine_status): Check to see if
1648 the machine structure has been allocated.
1649 (arm_free_machine_status): New function: Free the machine
1650 specific function structure.
1651
3c74f8f9
RH
16522001-01-08 Richard Henderson <rth@redhat.com>
1653
1654 * jump.c (simplejump_p): Revert last change.
1655
674c3b40
NB
16562001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
1657
825b6926
ZW
1658 * cppinit.c (init): Rename init_library.
1659 (cpp_create_reader): Update.
1660 * gcc.c (cpp_options): If -o given, use it as the target of
1661 any -M options.
674c3b40 1662
b15bca31
RE
16632001-01-08 Richard Earnshaw <rearnsha@arm.com>
1664
1665 * arm.c (arm_arch5e): New variable.
1666 (all_cores): XScale is a 5TE device.
1667 (arm_override_options): Set arm_arch5e.
1668 (arm_init_builtins): __builtin_prefetch is in arch5e.
1669 * arm.h (arm_arch5e): Declare it.
1670
1671 * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
1672
1673 * arm.md (define_constants): Add defines for UNSPEC and
1674 UNSPEC_VOLATILE insns. Update all users.
1675 (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
1676 * arm.c (multi_register_push, note_invalid_constants)
1677 (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
1678 * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
1679 (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
825b6926 1680
261efdef
JH
1681Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz>
1682
1683 * jump.c (jump_optimize_1): Use reversed_comparison_code
1684 instead of can_reverse_comparison_p.
1685 (jump_back_p): Likewise.
1686 (invert_exp_1): Likewise.
1687 (thread_jumps): Likewise.
1688 * simplify-rtx.c (simplify_unary_operation): Likewise.
1689 (simplify_ternary_operation): Likewise.
1690 * cse.c (find_comparison_args): Convert to use
1691 can_reverse_comparison_p.
1692 (record_jump_equiv): Likewise.
1693
c7861455
RE
16942001-01-08 Richard Earnshaw <rearnsha@arm.com>
1695
1696 * arm.h (HARD_REGNO_RENAME_OK): Delete.
1697 (EPILOGUE_USES): Define.
825b6926 1698 (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
c7861455
RE
1699 automatically stack the LR if it isn't live.
1700
734dba19
JH
1701Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz>
1702
1703 * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
1704 properly.
1705
b1095f9c
MM
1706Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com>
1707
1708 * ggc-page.c (max_alignment): New structure.
1709 (MAX_ALIGNMENT): New macro.
1710 (init_ggc): Use it to round up the sizes in the
1711 extra_order_size_table.
1712
a701949a
FS
17132001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1714
1715 * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
1716 after reload.
1717
18f988a0
KG
17182001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1719
1720 * builtins.def (BUILT_IN_FPRINTF): New entry.
1721
1722 * c-common.c (c_expand_builtin_fprintf): New function.
1723 (init_function_format_info): Handle __builtin_fprintf.
1724 (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
1725 (c_expand_builtin): Handle BUILT_IN_FPRINTF.
1726
1727 * c-decl.c (duplicate_decls): Adjust comment.
1728
1729 * extend.texi (fprintf): Document new builtin.
1730
8cd0792f
RH
17312001-01-07 Richard Henderson <rth@redhat.com>
1732
1733 * jump.c (simplejump_p): Recognize any single_set jump
1734 of the proper form.
1735
5b15f277
RH
17362001-01-07 Richard Henderson <rth@redhat.com>
1737
1738 * configure.in (slibdir): Accept an --with-slibdir option.
1739 Use "test" not "[" in configure. Default to $(libdir).
1740
9c2e06d9
RH
1741 * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
1742 fix typo in rm -f.
1743 * config/t-aix43 (SHLIB_INSTALL): Likewise.
1744 * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
1745 (SHLIB_LINK): Create links for the soname.
1746 * config/mips/t-iris6: Likewise.
1747 * config/sparc/t-slibgcc: Likewise.
1748 * config/sparc/t-slibgcc-sld: Likewise.
1749
eaf19aba
JJ
17502001-01-07 Jakub Jelinek <jakub@redhat.com>
1751
1752 * config/i386/i386.c (constant_call_address_operand): Accept
1753 (const (plus (symbol_ref) (const_int))).
1754 * config/i386/i386.h (PREDICATE_CODES): Add CONST for
1755 constant_call_address_operand.
1756
a8b462be
MH
17572001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1758
1759 * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
1760 and LONG_LONG_TYPE_SIZE > 32.
1761
3799607a
GP
17622001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1763
1764 * jump.c (reversed_comparison_code_parts): Fix typo introduced by
1765 the previous change.
1766
ab94bc48
JH
1767Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz>
1768
1769 * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
1770 New.
1771 (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
1772 (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
1773 * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
1774 Declare.
1775
f6a13bff
NB
17762001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
1777
825b6926 1778 * fix-header.c (read_scan_file): s/pfile/scan_in/.
f6a13bff 1779
96302433
NB
17802001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
1781
825b6926 1782 * c-lang.c (c_post_options): Call cpp_post_options.
96302433
NB
1783 * objc/objc-act.c (objc_post_options): Similarly.
1784 * cppmain.c (main): Similarly.
825b6926
ZW
1785 * fix-header.c (read_scan_file): Similarly.
1786 * cppinit.c (cpp_start_read): Move option consistency checks
1787 to cpp_post_options. Don't call init_dependency_output.
1788 If needed, add default target and main file dependency.
1789 (OPT_MD, OPT_MMD): Remove.
1790 (OPT_MF): New.
1791 (cpp_handle_option): Update for OPT_* changes.
1792 (cpp_post_options): New.
1793 (init_dependency_output): Command line -MF overrides environment
1794 variables. Don't set default target etc. Suppress output
1795 if dependencies are going to stdout.
1796 (print_help): Update.
1797 * cpplib.h (cpp_post_options): New.
1798 * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
1799
b34878a3
JH
1800Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
1801
1802 * jump.c (comparison_dominates_p): Support unordered compares.
1803
1f36a2dd
JH
1804Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
1805
1806 * simplify-rtx.c (simplify_relational_operation): Always simplify
1807 ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
1808 and UNGE.
1809
69bc0a1f
JH
1810Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz>
1811
1812 * combine.c (combine_simplify_rtx): Recognize the unordered compares.
1813 (nonzero_bits): Likewise.
1814 (simplify_comparison): Likewise.
1815 (num_sign_bit_copies): Likewise; return more sane value depending
1816 on STORE_FLAG_VALUE.
1817 (known_cond): Do not assume EQ to be always true for equivalent
1818 operands.
1819
fd13313f
JH
1820Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz>
1821
1822 * cse.c (fold_rtx): Handle unordered comparisons.
1823
91b2d119
JH
1824Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz>
1825
1826 * rtlanal.c (set_of_1): New static function.
1827 (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
1828 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
1829 reg_set_last_last_regno): Remove.
1830 (set_of): New global function.
1831 (set_of_data): New structure.
1832 (reg_set_p, reg_set_last): Revamp for set_of.
1833 * rtl.h (set_of): New.
1834
796cdb65
JM
18352001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1836
1837 * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
1838 * extend.texi: Document _Exit builtin.
1839
7ca3d2b1
NB
18402001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
1841
825b6926
ZW
1842 * (initialize, initialize_builtins,
1843 initialize_dependency_output, initialize_standard_includes):
1844 Rename s/initialize/init. Update.
1845 (init_dependency_output): Move to after
1846 cpp_handle_options, the correct location temporally at least.
1847 (opt_comp): Move next to init (), its caller. Fix prototype.
1848 (init): Make "initialized" local scope.
1849 (cpp_create_reader): Always call init ().
1850 (cpp_start_read): Update.
1851 (output_deps): New function, broken out of cpp_finish.
1852 (cpp_finish): Break out output_deps.
7ca3d2b1 1853
34445094
RH
18542001-01-07 Richard Henderson <rth@redhat.com>
1855
1856 * collect2.c (COFF specific stuff): Revert 12-06 patch
1857 to prototype system functions.
1858
96a45535
MH
18592001-01-07 Michael Hayes <mhayes@redhat.com>
1860
1861 * hard-reg-set.h: Add multiple include guard.
1862 * basic-block.h (struct loop): Add `sink' field.
1863 * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
1864 (emit_iv_add_mult): Delete.
1865 (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
1866 (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
1867 (unroll_loop): Remove end_insert_before argument.
1868 * loop.c (loop_givs_rescan): Remove end_insert_before argument.
1869 (maybe_eliminate_biv_1): Likewise.
1870 (emit_iv_add_mult): Delete.
1871 (gen_add_mult, loop_regs_update): New.
1872 (loop_insn_emit_after, loop_insn_emit_before): New.
1873 (loop_insn_sink, loop_insn_sink_or_swim): New.
1874 (emit_iv_add_mult): Delete.
1875 (scan_loop): Set loop->sink.
1876 (loop_givs_reduce): Use loop_insn_sink and its ilk.
1877 (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
1878 (maybe_eliminate_biv_1): Likewise.
1879 (maybe_eliminate_biv_1): Add basic block argument.
1880 * unroll.c (unroll_loop): Remove end_insert_before argument.
1881 (find_splittable_regs): Likewise.
1882 (find_splittable_regs): Use loop_insn_sink and its ilk.
1883 (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
1884
804a718a
MH
18852001-01-07 Michael Hayes <mhayes@redhat.com>
1886
1887 * loop.h (loop_insn_hoist): New prototype.
1888 * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
1889 (move_movables, loop_givs_rescan): Use loop_insn_hoist.
1890 (check_dbra_loop, load_mems): Likewise.
1891 * unroll.c (unroll_loop, find_splittable_regs): Likewise.
1892 (find_splittable_givs): Likewise.
1893
30a1181a
MH
18942001-01-07 Michael Hayes <mhayes@redhat.com>
1895
1896 * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
1897
cabf3891
RH
18982001-01-07 Richard Henderson <rth@redhat.com>
1899
1900 * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
1901
9db0819e
RH
19022001-01-07 Richard Henderson <rth@redhat.com>
1903
1904 * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
1905 NO_SHARED_LIBGCC_MULTILIB as required for the target.
1906 * gcc.c (init_spec): Massage the existing libgcc_spec into a
1907 variant that handles a shared libgcc.
1908 (process_command): Always validate -{static,shared}-libgcc.
1909 (do_spec_1): New 'M' case.
1910 * invoke.text (Link Options): Document -{static,shared}-libgcc.
1911
2bbea3a6
RH
19122001-01-07 Richard Henderson <rth@redhat.com>
1913
1914 * Makefile.in (slibdir): New variable.
1915 (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
1916 (installdirs): Create slibdir.
1917 (install-libgcc, install-multilib): Defer to libgcc.mk.
1918 * configure.in (slibdir): Substitute.
1919 * mklibgcc.in (install): New target.
1920
1921 * config/t-linux (SHLIB_LINK): Create links for the soname.
1922 (SHLIB_INSTALL): New.
1923 * config/alpha/t-osf4 (SHLIB_INSTALL): New.
1924 * config/mips/t-iris6 (SHLIB_INSTALL): New.
1925 * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
1926 * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
1927 * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
1928
fc51424c
RH
19292001-01-07 Richard Henderson <rth@redhat.com>
1930
1931 * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
1932 * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
1933 * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
1934
1d7ae250
MH
19352001-01-07 Michael Hayes <mhayes@redhat.com>
1936
1937 * loop.c (count_loop_regs_set): Delete.
1938 (load_mems_and_recount_loop_regs_set): Delete.
1939 (loop_regs_scan): Merge common code from count_loop_regs_set,
1940 scan_loop, and load_mems_and_recount_loop_regs_set.
1941 (scan_loop): Call load_mems directly and loop_regs_scan
1942 again if new registers created.
1943
cd2a3ba2
NB
19442001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
1945
825b6926
ZW
1946 * toplev.c (main): Call the front-end specific post_options
1947 hook if one is given.
1948 * toplev.h (struct_lang_hooks, lang_hooks): New.
1949 * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
1950 for the C front end.
1951 * cp/decl2.c (cxx_post_options, lang_hooks): Implement
1952 lang_hooks for the C++ front end.
1953 * objc/objc-act.c (objc_post_options, lang_hooks): Implement
1954 lang_hooks for the ObjC front end.
1955 * f/com.c (lang_hooks): Hooks for the Fortran front end.
1956 * java/lang.c (lang_hooks): Hooks for the Java front end.
cd2a3ba2 1957
65289a3a
NB
19582001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
1959
825b6926
ZW
1960 * c-lex.c (init_c_lex): Request #define / #undef callbacks
1961 for verbose DWARF[2] debugging.
1962 (cb_define, cb_undef): The new callbacks.
1963 * toplev.h (debug_define, debug_undef): Make const correct.
1964 * toplev.c (debug_define, debug_undef): Similarly. Do not
1965 perform the verbosity tests here anymore.
65289a3a 1966
f759eb8b
AO
19672001-01-07 Alexandre Oliva <aoliva@redhat.com>
1968
1969 * reload.c (subst_reloads): Take INSN argument. When
1970 replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
1971 * reload.h (subst_reloads): Adjust prototype.
1972 * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
1973 * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
1974 present in JUMP_INSNs and copy them to JUMP_LABEL.
1975 * flow.c (find_label_refs, find_basic_blocks_1): Skip
1976 JUMP_INSNs and insns with REG_LABELs that are followed by
1977 JUMP_INSNs with the same REG_LABEL.
1978 * sched-rgn.c (is_cfg_nonregular): Likewise.
1979 * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
1980 note is available.
1981 * unroll.c (unroll_loop): Look for REG_LABEL notes in
1982 JUMP_INSNs too.
1983 * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
1984
587f56c2
RH
19852001-01-06 Richard Henderson <rth@redhat.com>
1986
1987 * loop.c (scan_loop): Use xcalloc for the regs array.
1988 (load_mems_and_recount_loop_regs_set): Zero the new memory
1989 received from xrealloc.
1990
fa6f74f6
NB
19912001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
1992
1993 * mkdeps.c (deps_add_dep): Fix vector re-allocation.
1994
ea55fa7a
R
1995Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
1996
1997 * integrate.c (copy_rtx_and_substitute): When copying
1998 an ignored return value, strip REG_FUNCTION_VALUE_P.
1999
c804f3f8
MH
20002001-01-06 Michael Hayes <mhayes@redhat.com>
2001
2002 * loop.c (debug_biv, debug_giv): New.
2003 (loop_biv_dump): Break out from ...
2004 (record_biv): ... here.
2005 (loop_giv_dump): Break out from ...
2006 (record_giv): ... here.
2007 (loop_bivs_check): Use print_simple_rtl.
2008 * unroll.c (loop_iterations): Use print_simple_rtl.
2009
d492b096
JDA
20102000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2011
2012 * pa.md (return, return_internal): Modify patterns to prevent regrename
2013 mucking with the return pointer.
2014
f7d2b0ed
RH
20152001-01-05 Richard Henderson <rth@redhat.com>
2016
2017 * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
2018
0426e049
NC
2019Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com>
2020
2021 * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
2022 version supplied by Matteo Frigo.
2023
f7114e17
NB
20242001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2025
825b6926
ZW
2026 * cpp.texi: Update for -MQ.
2027 * cppinit.c (cpp_create_reader): Always create pfile->deps.
2028 (cpp_cleanup): Always free pfile->deps.
2029 (initialize_dependency_output): Don't create pfile->deps.
2030 (cpp_handle_option): Similarly.
2031 (OPT_MQ): New.
2032 * gcc.c (cpp_options): Handle -MQ.
2033 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
2034 * mkdeps.c (base_name): Remove.
2035 (deps_init): Don't allocate vector space until it's needed.
2036 (deps_free): Only free vectors if allocated.
2037 (deps_add_target, deps_add_dep): Update for initial allocation.
2038 (deps_add_default_target): Don't strip to the base_name.
f7114e17 2039
a64761a3
DD
20402001-01-05 DJ Delorie <dj@redhat.com>
2041
2042 * config/v850/v850.h (RETURN_ADDR_RTX): Define.
2043 (INIT_EXPANDERS): Define.
2044
2045 * config/v850/v850.c (struct machine_function): Define.
2046 (v850_save_machine_status): New function.
2047 (v850_restore_machine_status): New function.
2048 (v850_return_addr): New function.
2049 (v850_init_expanders): New function.
2050
2051 * config/v850/v850-protos.h: Add prototypes for v850_return_addr
2052 and v850_init_expanders.
825b6926 2053
f4cdc368
ZW
20542001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
2055
2056 * cpplib.h (struct cpp_reader): Add help_only field.
2057 * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
2058 (cpp_handle_option): Set pfile->help_only if we see -h,
2059 --help, -target-help, or --version. Print version string but
2060 do not set help_only if we see -v or -version. Make text
2061 printed by -v match that printed by (-)-version.
2062
2063 * cppmain.c (main): Exit after option parsing if
2064 pfile->help_only is true.
2065
2066 * toplev.c (independent_decode_option): Call print_version,
2067 then exit, if we see --version (but not -version).
2068 (print_version): Split lengthy message into two lines.
2069
3326b760
NC
20702001-01-05 Nick Clifton <nickc@redhat.com>
2071
2072 * config/v850/v850.c (v850_encode_data_area): Use alloca to create
2073 temporary string for initialisation before calling ggc_alloc_string.
2074
75b7557d
MH
20752001-01-06 Michael Hayes <mhayes@redhat.com>
2076
2077 * rtl.h (print_simple_rtl): New.
2078 * print-rtl.c (print_simple_rtl): New.
2079 (flag_simple): New.
2080 (print_rtx): Disable printing of flags and modes, etc.,
825b6926 2081 if `flag_simple` nonzero.
75b7557d 2082
b05467dc
ZW
20832001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
2084
2085 * function.c (fixup_var_refs): Use push_to_full_sequence where
2086 possible.
2087
b883f801
MM
20882001-01-05 Michael Meissner <meissner@redhat.com>
2089
2090 * flags.h (flag_reorder_blocks): Add declaration.
2091 (flag_rename_block): Ditto.
2092
cc1fe44f
DD
20932001-01-05 DJ Delorie <dj@redhat.com>
2094
2095 * function.c (reorder_blocks): Make sure the flags are all reset
2096 before using them to mark blocks, else a second invocation will
2097 corrupt the block chain.
2098 (reorder_blocks_0): New, resets the flags.
2099
8b03b984
R
2100Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
2101
2102 * cse.c (find_comparison_args): Stop if the argument is known to
2103 be constant.
2104
18a7c2a7
AO
21052001-01-05 Alexandre Oliva <aoliva@redhat.com>
2106
2107 * config/sh/sh.md (movdf): When splitting load into pair of
2108 registers, don't clobber the register used in the address too
2109 early.
2110
fcbd8ef2
JO
21112001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
2112
2113 * varasm.c (mark_constant_pool): Improve initial comments.
2114 (mark_constants): Move marking of constants to mark_constant.
2115 (mark_constant): New function to recursively mark all constants
2116 referred to by a constant.
2117
ebb0cdf3
CM
21182001-01-05 Catherine Moore <clm@redhat.com>
2119
2120 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
2121
3b4e6a16
PE
21222001-01-05 Phil Edwards <pme@sources.redhat.com>
2123
2124 * cp/lang-options.h: Bring comment in line with reality.
2125 * f/lang-options.h: Likewise.
2126 * java/lang-options.h: Likewise.
2127 * objc/lang-options.h: Likewise.
2128 * ch/lang-options.h: Likewise.
2129 * f/g77.texi: And update the manual.
2130
dcfb1a36
MM
21312001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
2132 Denis Chertykov <denisc@overta.ru>
2133
2134 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
2135 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
2136 * config/avr/avr.md (all peepholes that request a scratch register):
2137 Call it, FAIL the peephole if not safe (in interrupt functions).
2138
cef3d50c
MM
21392001-01-05 Mark Mitchell <mark@codesourcery.com>
2140
2141 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
2142
341e3d11
JM
21432001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
2144
2145 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
2146 Define.
2147 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
2148 BUILT_IN_CREAL and BUILT_IN_CIMAG.
2149 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
2150 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
2151 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
2152 BUILT_IN_CIMAG.
2153 * extend.texi: Document these builtins.
2154
604bb87d
DB
21552001-01-05 Daniel Berlin <dberlin@redhat.com>
2156
2157 * c-common.c (lang_get_alias_set): Say we know nothing of
825b6926 2158 VECTOR_TYPE aliasing.
604bb87d
DB
2159
2160 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
2161
15fe1a7e
BK
21622001-01-05 Bruce Korb <bkorb@gnu.org>
2163
2164 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
2165 their x* equivalent versions for atexit-less systems
2166 * fixinc/fixincl.c(main): do not return from main() on atexit-less
2167 systems (or any other system any more).
2168
b0888988
RE
21692001-01-05 Richard Earnshaw <rearnsha@arm.com>
2170
2171 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
2172 output operands. Use arm_hard_register_operand for operand 4.
2173 (stmsi_postinc): Similarly.
2174 (ldmsi): Use arm_hard_register_operand for opernand 2.
2175 (stmsi): Similarly.
2176 * arm.c (arm_hard_register_operand): New function.
2177 * arm-protos.h (arm_hard_register_operand): Prototype it.
2178
2179 * arm.h (HARD_REGNO_RENAME_OK): Define.
2180
90a74703
JH
2181Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
2182
2183 * simplify-rtx.c (cfc_args): add "unordered" field.
2184 (check_fold_consts): Set unordered field.
2185 (simplify_relational_operation): Simplify the unordered
2186 comparisons.
2187
2188 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
2189 is valid.
2190
2191 * emit-rtl.c (try_split): Fix code to mark labels.
2192 * jump.c (mark_jump_label): Make global.
2193 * rtl.h (mark_jump_label): Declare.
2194
2195 * predict.c (estimate_probability): Handle unordred comparisons.
2196
a5a4ce3c
NB
21972001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
2198
825b6926
ZW
2199 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
2200 * cppinit.c (initialize_dependency_output): Update.
2201 (cpp_finish): Output dummy targets for -MP.
2202 (OPT_MP): New.
2203 (cpp_handle_option): Handle -MP. Don't quote -MT options.
2204 * cpplib.h (struct cpp_options): Add deps_phony_targets.
2205 * gcc.c (cpp_options): Update to handle -MP.
2206 * mkdeps.c (deps_add_target, deps_add_default_target): Update
2207 to quote only the default target.
2208 (deps_phony_targets): Insert a preceding newline. Rename from
2209 deps_dummy_targets for consistency.
2210 * mkdeps.h: Update
a5a4ce3c 2211
97fc4caf
AO
22122001-01-05 Alexandre Oliva <aoliva@redhat.com>
2213
2214 * calls.c (emit_library_call_value_1): Support
2215 INIT_CUMULATIVE_LIBCALL_ARGS.
2216 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
2217
ffc5c6a9
RH
22182001-01-04 Richard Henderson <rth@redhat.com>
2219
2220 * c-decl.c (finish_struct): Detect flexible array members
2221 used in an inappropriate context.
2222 * c-typeck.c (really_start_incremental_init): Special case
2223 constructor_max_index for zero length arrays.
2224 (pop_init_level): Allow initialization of flexible array
2225 members. Deprecate initialization of zero length arrays.
2226 Don't issue missing initializer warning for flexible array
2227 members or zero length arrays.
2228 (process_init_element): Don't dereference null DECL_SIZE.
2229 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
2230 Don't abort for empty constructors. Use size_binop
825b6926 2231 (output_constructor): Add commentary regarding zero length
ffc5c6a9
RH
2232 array futures. Abort if we try to initialize an array of
2233 unspecified length with a non-empty constructor in the middle
2234 of a structure.
2235
2236 * extend.texi (Zero Length): Update and clarify documentation
2237 on static initialization.
2238
69f6e760
MH
22392001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2240
2241 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
2242 with more than 32767 words of local storage.
2243
06dd70c6
MH
22442001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2245
2246 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
2247 for 'abs', 'labs', and 'fabs'.
2248 (c4x_expand_builtin): Likewise.
2249 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
2250
99e87c10
AO
22512001-01-05 Alexandre Oliva <aoliva@redhat.com>
2252
2253 * config/sh/sh.md (prget, prset): New insn types.
2254 (return delay slot): Dont' allow prset.
2255 (call, sfunc delay slot): Don't allow prget.
2256 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
2257 for prset and prget.
2258
576d0b54 22592001-01-05 Michael Hayes <mhayes@redhat.com>
825b6926 2260
f1d4ac80
MH
2261 * loop.h (struct loop_reg): New.
2262 (struct loop_regs): Change to use array of `struct loop_reg'.
2263 * loop.c: Replace assortment of varrays with single regs array.
2264 (count_one_set): Delete may_not_move array argument
2265 and use regs array instead. All caller's changed.
2266 (count_loop_regs_set): Delete may_not_move and single_usage
2267 arguments and use regs array instead. All caller's changed.
2268 (find_single_use_in_loop): Replace usage array argument with pointer
2269 to regs structure. All caller's changed.
2270 (loop_optimize): Delete `moved_once' array.
2271
22722001-01-05 Michael Hayes <mhayes@redhat.com>
825b6926 2273
576d0b54
MH
2274 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
2275 Use it instead of loop_info->has_call for scanning loop mems.
2276 (check_dbra_loop): Replace loop_info->has_call test with
2277 loop_info->has_nonconst_call.
2278
616af7ee
MH
22792000-01-04 Matthew Hiller <hiller@redhat.com>
2280
2281 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
2282 for TARGET_SH3E.
2283
32812a40
JM
22842001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
2285
2286 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
2287 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
2288
eaa7c03f
JM
22892001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
2290
2291 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
2292 (flag_short_double, flag_short_wchar): Define.
2293 (c_common_nodes_and_builtins): Create many tree nodes shared
2294 between C and C++ here instead of in cp/decl.c and ...
2295 * c-decl.c (init_decl_processing): ... here.
2296 (SIZE_TYPE, WCHAR_TYPE): Don't define.
2297 (flag_short_double, flag_short_wchar): Don't define.
2298 (record_builtin_type): New function.
2299 (build_void_list_node): New function.
2300 * c-common.h (flag_short_double, flag_short_wchar,
2301 record_builtin_type, build_void_list_node): Declare.
2302
e2a5f96b
R
2303Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
2304
2305 * integrate.c (expand_inline_function): Don't put a virtual
2306 register into the reg map.
2307
2308 * function.c (fixup_var_refs_1): If force_operand didn't put
2309 the address into the target, move it there.
2310
2be510b8
MM
23112001-01-04 Mark Mitchell <mark@codesourcery.com>
2312
2313 Special-case tree_decl/tree_list allocations.
2314 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
2315 (OBJECT_SIZE): New macro.
2316 (NUM_EXTRA_ORDER): Likewise.
2317 (extra_order_size_table): New variable.
2318 (NUM_ORDERS): New macro.
2319 (objects_per_page_table): New variable.
2320 (object_size_table): New variable.
2321 (G.pages): Use NUM_ORDERS to bound the array.
2322 (G.page_tails): Likewise.
2323 (DIV_ROUND_UP): Remove.
2324 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
2325 (alloc_page): Use OBJECT_SIZE.
2326 (size_lookup): Don't make it const.
2327 (ggc_alloc): Use OBJECT_SIZE.
2328 (ggc_set_mark): Likewise.
2329 (ggc_get_size): Likewise.
2330 (init_ggc): Set up the object_size_table, objects_per_page_table,
2331 and adjust size_lookup.
2332 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
2333 (ggc_pop_context): Use NUM_ORDERS.
2334 (clear_marks): Likewise.
2335 (sweep_pages): Likewise.
2336 (poison_pages): Likewise.
2337 (ggc_print_statistics): Use OBJECT_SIZE.
2338
bf1aaf0a
RK
2339Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2340
2341 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
2342 Only call array_size_for_constructor if last field and array type
2343 with no upper bound.
2344
ceebdb09
PB
23452001-01-04 Philip Blundell <philb@gnu.org>
2346
2347 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
2348 from bit 31 downwards, if this requires no more insns.
2349 (count_insns_for_constant): New helper function for above.
2350
1fd4f141
AO
23512001-01-04 Alexandre Oliva <aoliva@redhat.com>
2352
2353 * gencodes.c (output_predicate_decls): Remove empty initializer.
2354
3af4c257
MM
23552001-01-04 Mark Mitchell <mark@codesourcery.com>
2356
2357 * tree.c (copy_node): Remove documentation about obstacks.
2358 (buidl1): Check that nobody tries to build 2-argument nodes this
2359 way.
2360
30472f46
KG
23612001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2362
a41d0855
KG
2363 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
2364 fp_high_losum_p.
2365
30472f46
KG
2366 * gencodes.c (output_predicate_decls): Fill empty initializer
2367 braces.
2368
c3843cea
JJ
23692001-01-04 Jakub Jelinek <jakub@redhat.com>
2370
2371 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
2372 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
2373 or -MM.
2374 (do_include): Handle missing headers like cpp0.
2375 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
2376 paths with first include pathname. Don't strcat to uninitialized
2377 string.
2378
f4d578da
BS
23792001-01-04 Bernd Schmidt <bernds@redhat.com>
2380
2381 * regrename.c (regrename_optimize): Don't rename from frame pointer
2382 if frame_pointer_needed.
2383 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
2384 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
2385 (ia64_reorg): Use it instead of scheduling if ! optimize.
2386 (errata_emit_nops): Properly call asm_noperands.
2387 (ia64_sched_reorder): Finish cycle if we see an asm.
2388 (ia64_variable_issue): Clear scheduling state after asms.
2389
03b9ab42
NB
23902001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
2391
825b6926
ZW
2392 * cpp.texi: Update for -MT.
2393 * cppinit.c (initialize_dependency_output): Add a default
2394 target if none has been given already.
2395 (no_tgt, OPT_MT): New.
2396 (cpp_handle_option): Handle -MT. Update -M etc.
2397 * cpplib.h (struct cpp_options): Remove deps_target.
2398 * gcc.c (cpp_options): Handle -MT.
2399 * mkdeps.c (struct deps): Move from mkdeps.h.
2400 (deps_calc_target): Rename deps_add_default_target. Add a
2401 default target if none has been specified already.
2402 * mkdeps.h (struct deps): Move to mkdeps.c.
2403 (deps_calc_target): Rename deps_add_default_target.
03b9ab42 2404
584ef5fe
RH
24052000-01-03 Richard Henderson <rth@redhat.com>
2406
2407 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
2408 Remove dead code.
2409 * c-typeck.c (push_init_level): Move checks for flexible array
2410 members and zero length arrays ...
2411 (pop_init_level): ... here. Silently discard empty initializations.
2412 Remove dead code.
2413 * varasm.c (output_constructor): Update for sizeof change to
2414 zero-length arrays.
2415
2416 * extend.texi (Zero Length): Clarify semantics.
2417
04d430b8
AO
24182001-01-03 Alexandre Oliva <aoliva@redhat.com>
2419
2420 * configure.in (tm.h): Include isns-codes.h last.
2421 * configure: Rebuilt.
2422
e55a9a6e
RH
24232001-01-03 Richard Henderson <rth@redhat.com>
2424
2425 * config/alpha/alpha.md (addvsi3, addvdi3): New.
2426 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
825b6926 2427
fa5db828
FS
24282001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2429
2430 * tradcpp.c (main): Make sure finclude() is called with a valid
2431 indepth value while handling -include.
2432
975d393a
AO
24332001-01-03 Alexandre Oliva <aoliva@redhat.com>
2434
2435 * gencodes.c (output_predicate_decls): New function.
2436 (main): Call it.
2437 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
2438 even if it is not the first time machmode.h is #included.
2439 * config/sh/sh.c (fpul_operand): Declare MODE argument.
2440 * tm.texi (PREDICATE_CODES): Document predicate declarations.
2441 * gcc.texi (Copyright): Added 2001.
2442
03dc0325
JM
24432001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
2444
2445 * c-common.c (c_common_lang_init): New function. Warn if format
2446 warning options which only have effects when used with -Wformat
2447 are used without -Wformat.
2448 * c-common.h (c_common_lang_init): Declare.
2449 * c-lang.c (lang_init): Call c_common_lang_init.
2450 * objc/objc-act.c (lang_init): Call c_common_lang_init.
2451
955be633
JM
24522001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
2453
2454 * configure.in: Check for the mktemp command.
2455 * configure: Regenerate.
2456 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
2457 $TEMP. Create temporary files with mktemp, if available at
2458 configure time; otherwise use set -C. Remove temporary files
2459 before exit.
2460
fd939e46
JM
24612001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
2462
2463 * configure.in: Require at least texinfo 4.0. Check for whether
2464 Pod::Man is sufficiently recent to regenerate GCC manpages.
2465 * configure: Regenerate.
2466 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
2467 on #!.
2468 (GENERATED_MANPAGES): Define.
2469 (generated-manpages): New target. Depend on cpp.1 as well as
2470 gcov.1.
2471 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
2472 configure to generated-manpages or empty) rather than on the
2473 manpages directly. Remove execute permission from installed
2474 gcov.1 as well as cpp.1.
2475 * cpp.1, gcov.1: Regenerate.
2476
819c1488
KG
24772001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2478
2479 * builtins.c (expand_builtin_strncmp): Use host_integerp and
2480 tree_low_cst. Allow using cmpstrsi in more cases.
2481
f07d22aa
RK
2482Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2483
2484 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
2485 sized types.
2486
7ccb4206
AO
2487Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
2488
2489 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
2490 * Makefile.in (HOST_CFLAGS): Mention build-make.
2491
a338321e
RK
2492Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2493
2494 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
2495 as JUMP_INSN.
2496
432fd734
BS
24972001-01-01 Bernd Schmidt <bernds@redhat.com>
2498
2499 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
2500 a REG rtx.
2501
2be28ee2
BS
2502 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
2503 callers changed.
2504
713f41f9
BS
2505 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
2506 reg_base_value and reg_known_value arrays.
2507 (init_alias_analysis): Add more cases to detect known values.
2508 * sched-deps.c (deps_may_trap_p): New function.
2509 (sched_analyze_2): Use it.
2510
8f8d8d6e
AO
25112001-01-03 Alexandre Oliva <aoliva@redhat.com>
2512
2513 * combine.c (simplify_shift_const): Even if we're sign-extracting,
2514 don't discard an ASHIFTRT if we're shifting in a wider mode.
2515
232a132f
JDA
25162000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
2517
2518 * toplev.c (rest_of_compilation): Don't print basic block information
2519 when CFG isn't up to date.
2520
19723541
ME
25212001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
2522
2523 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
2524 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
2525 (UNALIGNED_SHORT_ASM_OP): Define.
2526 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
2527
55560b9d
MM
25282001-01-02 Mark Mitchell <mark@codesourcery.com>
2529
2530 * fold-const.c (fold_convert): Fix typo.
2531
4f78b9a8
RH
25322001-01-02 Richard Henderson <rth@redhat.com>
2533
2534 * c-common.h (ASM_INPUT_P): New.
2535 * c-parse.in (asm): Set it when needed.
825b6926 2536 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
4f78b9a8
RH
2537 existance of an operand.
2538
e2134eea
JH
2539Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
2540
2541 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
2542 (dwarf2out_frame_debug_expr): Likewise.
2543 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
2544
2b589241
JH
2545Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
2546
2547 * i386.c (ix86_split_to_parts): Return number of part required;
2548 handle TFmodes.
2549 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
2550 TFmodes.
2551 (ix86_split_long_move): Use number of part returned
2552 by ix86_split_to_parts
2553 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
2554 New macros.
2555 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
2556 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
2557 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
2558 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
2559 (ALIGN_MODE_128): Add TFmode.
2560 (IS_STACK_MODE): Likewise.
2561 (HARD_REGNO_NREGS): TFmode needs 3 registers.
2562 (HARD_REGNO_OK): Support TFmodes.
2563 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
2564 * i386.md (scheduler definitions): Use memory operand to determine
2565 fst/fld instructions; use mode attribute to determine real mode of
2566 the instruction.
2567 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
2568 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
2569
330aa9a3
MM
25702001-01-02 Mark Mitchell <mark@codesourcery.com>
2571
2572 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
2573
e0339ef7
RK
2574Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
2575
2576 * expr.c (store_constructor_field): Update ALIGN before calling
2577 store_constructor.
2578
d07bec95
JO
25792001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
2580
2581 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
2582 host_integerp.
2583
3719d27b
JO
25842001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
2585
2586 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
2587 incomplete type.
2588
6d1c15cc
RK
2589Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
2590
2591 * c-decl.c (start_function): Don't warn on third parameter to main.
2592
16b97540
KG
25932001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2594
2595 * tsystem.h: Define HAVE_DECL_GETOPT.
2596
8515dc81
PB
25972001-01-02 Philip Blundell <pb@futuretv.com>
2598
825b6926 2599 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
8515dc81
PB
2600 of input operand.
2601
6f85e02b
RH
26022001-01-02 Richard Henderson <rth@redhat.com>
2603
2604 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
2605
21c7361e
AJ
26062001-01-02 Andreas Jaeger <aj@suse.de>
2607
2608 * c-decl.c (c_decode_option): Remove support of
2609 -Wmissing-noreturn.
2610
2611 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
2612 (W_options): Add -Wmissing-noreturn here.
2613
2614 * flow.c: Define lang_missing_noreturn_ok_p.
2615 (check_function_return_warnings): Use it.
2616
2617 * c-common.h: Declare lang_missing_noreturn_ok_p.
2618
2619 * c-lang.c (c_missing_noreturn_ok_p): New function.
2620 (lang_init): Set lang_missing_noreturn_ok_p.
2621
2622 * invoke.texi (Warning Options): Document this.
2623
5c25e11d
PE
26242000-12-27 Phil Edwards <pme@sources.redhat.com>
2625
2626 * extend.texi (C++ Extensions): New node for C++ attributes;
2627 describe init_priority and com_interface.
2628 * invoke.texi: Remove -finit-priority as it now has zero effect.
2629 * install.texi: Fix xref syntax.
2630 * md.texi: Likewise.
2631
d1608933
RK
2632Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2633
e428b937
RK
2634 * config.gcc (sparc64-wrs-vxworks*): New case.
2635 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
2636
3276910d
RK
2637 * config/sparc/sparc.c (sparc_override_options): Do support different
2638 pointer and architecture size.
2639 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
2640 (POINTERS_EXTEND_UNSIGNED): Define.
2641 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
2642 (FUNCTION_MODE): Define to be Pmode.
2643 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
2644
d1608933
RK
2645 * function.c (expand_function_end): Properly handle DECL_RESULT
2646 and copy when ptr_mode != Pmode.
2647 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
2648
c2e42aab
KG
26492001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2650
2651 * c-common.c (c_common_nodes_and_builtins): Set prototype
2652 parameters for __builtin_fputs, __builtin_fputc and
2653 __builtin_fwrite. Don't declare plain fputc as a builtin.
2654
5b1ef594
JDA
26552001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
2656
825b6926
ZW
2657 * loop.c (add_label_notes): Increment the label usage count when
2658 a note is added to an insn which refers to a CODE_LABEL.
2659 * gcse.c (add_label_notes): Likewise.
5b1ef594 2660
021d7b26
AJ
26612001-01-01 Andreas Jaeger <aj@suse.de>
2662
2663 * loop.c (scan_loop): Use xmalloc to allocate movables.
2664
cf011243
AO
26652001-01-01 Alexandre Oliva <aoliva@redhat.com>
2666
2667 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
2668 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
2669 * reload1.c (REGISTER_MOVE_COST): Likewise.
2670 * regclass.c (REGISTER_MOVE_COST): Likewise.
2671 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
2672 dimension. Adjust all users.
2673 (init_reg_sets_1): Iterate on all modes.
2674 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
2675 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
2676 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
2677 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
2678 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
2679 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
2680 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
2681 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
2682 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
2683 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
2684 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
2685 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
2686 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
2687 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
2688 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
2689 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
2690 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
2691 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
2692 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
2693 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
2694 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
2695 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
2696 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
2697 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
2698 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
2699 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
2700 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
2701
e38fe8e0
BS
27022001-01-01 Bernd Schmidt <bernds@redhat.com>
2703
2704 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
2705 arg VARIES_P. Call it with extra arg.
2706 (true_dependence): Likewise.
2707 * rtl.h (rtx_addr_can_trap_p): Declare.
2708 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
2709 prototypes.
2710 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
2711 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
2712 pic offset table register if it's zero. All callers changed.
2713 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
2714
7a2bf7af
RK
2715Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2716
7d797311
RK
2717 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
2718 STRING_POOL_ADDRESS_P.
2719
4746e0fe
RK
2720 * config/sparc/sparc.c (input_operand): Properly test for short op.
2721
fbd68e5d
RK
2722 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
2723 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
2724 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
2725 * config/sparc/elf.h: No longer include sol2.h.
2726 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
2727 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
2728
7a2bf7af
RK
2729 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
2730
14be28e5
MH
27312001-01-01 Michael Hayes <mhayes@redhat.com>
2732
86fee241
MH
2733 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
2734 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
2735 (record_initial): Likewise.
2736 * unroll.c (copy_loop_body, loop_iterations): Likewise.
2737 (remap_split_bivs): Likewise.
2738
21c7361e 27392001-01-01 Michael Hayes <mhayes@redhat.com>
86fee241 2740
b2735d9a
MH
2741 * loop.c (loop_ivs_free): New function.
2742 (strength_reduce): Break out from...
2743
27442001-01-01 Michael Hayes <mhayes@redhat.com>
21c7361e 2745
14be28e5
MH
2746 * loop.h (struct iv): New.
2747 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
2748 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
2749 'reg_biv_class' fields with 'regs' and 'n_regs'.
2750 (struct ivs): Rename 'loop_iv_list' field to 'list'.
2751 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
2752 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
2753
1d2215fe
AO
27542000-12-31 Alexandre Oliva <aoliva@redhat.com>
2755
2756 * resource.c (mark_referenced_resources): Abort() before
2757 attempting to mark a pseudo register.
2758 (mark_set_resources): Likewise.
2759
8b634749
MH
27602001-01-01 Michael Hayes <mhayes@redhat.com>
2761
2762 * loop.h (REG_IV_CLASS): New accessor macro.
2763 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
2764 * unroll.c (REG_IV_CLASS): Likewise.
21c7361e 2765
38fd12ea 2766See ChangeLog.4 for earlier changes.
This page took 0.410372 seconds and 5 git commands to generate.