]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/ChangeLog
config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
[thirdparty/gcc.git] / gcc / ChangeLog
1 2001-05-01 Zack Weinberg <zackw@stanford.edu>
2
3 * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
4 Remove references to deleted files.
5 (*-*-openbsd): No need to override xmake_file.
6 (*-*-sysv4): Treat like *-*-sysv.
7
8 * configure.in: Probe for ldopen in various places, and set up
9 collect2 to be linked with them if found.
10 Don't dink with Windows registry stuff unless $host_os is a
11 Win32 os name. Check to see if we need -ladvapi32.
12 * configure: Regenerate.
13
14 * Makefile: Get rid of CLIB and HOST_CLIB.
15 Substitute in COLLECT2_LIBS and link collect2 against its contents.
16 * build-make: Get rid of HOST_CLIB.
17
18 * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
19 config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
20 config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
21 config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
22 config/rs6000/x-rs6000: Delete.
23
24 * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
25 Don't set CLIB.
26
27 24 x-host fragments remain, 0 x-cpu, 3 top level.
28
29 2001-05-01 Zack Weinberg <zackw@stanford.edu>
30
31 * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
32 * configure: Regenerate.
33
34 2001-05-01 Angela Marie Thomas <angela@cygnus.com>
35
36 * Makefile.in (install-headers): Remove redundant dependency.
37
38 2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
39
40 * c-tree.texi (USING_STMT): Document.
41
42 2001-05-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
43
44 * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
45 * c-common.c: Likewise.
46 * c-decl.c: Likewise.
47 * combine.c: Likewise.
48 * rs6000.c: Likewise.
49 * except.c: Likewise.
50 * explow.c: Likewise.
51 * expr.c: Likewise.
52 * fold-const.c: Likewise.
53 * function.c: Likewise.
54 * gcc.c: Likewise.
55 * gcse.c: Likewise.
56 * integrate.c: Likewise.
57 * loop.c: Likewise.
58 * objc/objc-act.c: Likewise.
59 * recog.c: Likewise.
60 * reg-stack.c: Likewise.
61 * reload.c: Likewise.
62 * reload1.c: Likewise.
63 * simplify-rtx.c: Likewise.
64 * stmt.c: Likewise.
65 * varasm.c: Likewise.
66
67 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
68
69 * diagnostic.def: New file.
70 * diagnostic.h (diagnostic_t): New enum.
71 * Makefile.in (diagnostic.o): Depend on diagnostic.def
72
73 2001-04-30 Zack Weinberg <zackw@stanford.edu>
74
75 * tsystem.h: Test only POSIX for availability of string.h
76 and time.h.
77 * config.gcc (all systems): If USG appeared in xm_defines,
78 change it to POSIX. If both USG and POSIX appeared, just
79 delete USG. Remove unnecessary quotes around xm_defines
80 settings.
81 (m68k-crds-unos*): Don't #define unos - tested nowhere.
82 (m68k-apple-aux*): Don't #define AUX - tested nowhere.
83 (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
84 powerpc-*-linux*): No need to set xm_defines - handled by
85 global settings for *-*-linux*.
86
87 2001-04-30 Zack Weinberg <zackw@stanford.edu>
88
89 * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
90 Always include gstab.h, not system stab.h. Don't provide
91 default definitions of N_CATCH or N_OPT. Always use the
92 gstab.h variant of STAB_CODE_TYPE.
93 * final.c: Don't include stab.h/gstab.h at all, or provide
94 defaults for N_SLINE and N_SOL.
95
96 * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
97 N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
98 available.
99 * sdbout.c: Always include gsyms.h instead of system syms.h.
100
101 * configure.in: No need to check for stab.h.
102 * configure, config.in: Regenerate.
103 * Makefile.in (final.o): Don't depend on gstab.h.
104
105 2001-04-30 Mark Mitchell <mark@codesourcery.com>
106 Richard Henderson <rth@redhat.com>
107
108 * extend.texi: Improve documentation of volatile asms.
109
110 2001-04-30 Mark Mitchell <mark@codesourcery.com>
111
112 * c-tree.texi: Fix thinko.
113 * gcc.texi: Likewise.
114
115 2001-04-30 Richard Henderson <rth@redhat.com>
116
117 * c-common.c (c_promoting_integer_type_p): New function, from the
118 corpse of old macro. Properly promote too-small enumerations and
119 booleans. Adjust all callers.
120 * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
121 (c_promoting_integer_type_p): Declare.
122 * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
123 * c-typeck.c: Likewise.
124 (default_conversion): Remove now redundant boolean check.
125
126 2001-04-30 Jan Hubicka <jh@suse.cz>
127 Richard Henderson <rth@redhat.com>
128
129 * regmove.c (try_apply_stack_adjustment): Remove now redundant
130 sanity checks.
131 (combine_stack_adjustments_for_block): Don't combine stack
132 allocation followed by deallocations. Handle grow-up stacks.
133
134 2001-04-30 Mark Mitchell <mark@codesourcery.com>
135
136 * fdl.texi: New file.
137 * c-tree.texi: Use the GFDL.
138 * gcc.texi: Likewise.
139
140 2001-04-30 Stan Shebs <shebs@apple.com>
141
142 * invoke.texi: Add a section documenting Objective-C options.
143
144 2001-04-27 Andrew Haley <aph@cambridge.redhat.com>
145
146 * emit-rtl.c (try_split): Copy EH notes to sequence.
147
148 2001-04-30 Mark Mitchell <mark@codesourcery.com>
149
150 * regmove.c (record_stack_memrefs): Catch all references to the
151 stack pointer.
152
153 2001-04-29 Toomas Rosin <toomas at ns dot tklabor dot ee>
154
155 * Makefile.in(stmp-fixinc): quote shell assignment values
156
157 2001-04-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
158
159 * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
160
161 * gcc.c: Likewise.
162
163 * prefix.c: Likewise.
164
165 2001-04-28 Stan Shebs <shebs@apple.com>
166
167 * objc/objc-act.c (handle_class_ref): Rewrite to flush target
168 specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
169 * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
170 * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.
171
172 * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
173 (NEXT_OBJC_RUNTIME): Define.
174
175 Sat Apr 28 21:02:58 CEST 2001 Jan Hubicka <jh@suse.cz>
176
177 * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
178 * simplify-rtx.c (simplify_gen_relational): Likewise.
179
180 * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
181
182 * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
183 * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
184
185 * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
186 registers in SSE case; fix handling of the immediates.
187 (negsf2_ifs, abssf2_ifs): Tweak constraints; require
188 operands to be in regsiters before reload.
189 (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
190 (negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
191 (abstf,absxf,negtf,negxf splitters): Compute
192 properly the regnum for x86_64.
193 (avsdf2_if_rex64): New.
194
195 Sat Apr 28 10:36:23 2001 Jeffrey A Law (law@cygnus.com)
196
197 * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
198 and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
199 into the constant pool.
200 * jump.c (jump_optimize_1): Remove barrier successors after all
201 the LABEL_NUSES counds have been computed.
202 (delete_barrier_successors): When deleting a tablejump insn, also
203 delete the jump table it uses.
204 * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
205 label into memory.
206
207 2001-04-28 Martin Kalen <martin.kalen@todaysystems.com.au>
208
209 * pa.c (FRP): Remove erroneous white space in macro definition.
210
211 2001-04-28 Andreas Jaeger <aj@suse.de>
212
213 * invoke.texi: Use XX-bit instead of XXbit or XX bit where
214 appropriate.
215 * extend.texi: Likewise.
216 * tm.texi: Likewise.
217
218 2001-04-28 Andreas Jaeger <aj@suse.de>
219
220 * md.texi: Use XX-bit instead of XXbit or XX bit where
221 appropriate.
222
223 2001-04-28 Jens Schweikhardt <schweikh@schweikhardt.net>
224
225 * gcc.c (process_command): Allow -l lib in addition to -llib
226 for POSIX compliance. This fixes PR c/2347.
227
228 * invoke.texi: Update section on Link Options accordingly.
229
230 2001-04-27 Zack Weinberg <zackw@stanford.edu>
231
232 * function.c (purge_addressof_1): Remove the duplicate
233 if (code == SET) block. Fold the two if (code == ADDRESSOF)
234 blocks together.
235
236 2001-04-28 Jason Merrill <jason_merrill@redhat.com>
237
238 * except.c (expand_eh_region_start): Don't start a new block.
239 (expand_eh_region_end): Don't end a block.
240 * stmt.c (expand_end_bindings): Don't end EH blocks.
241 (expand_decl_cleanup): Starting an EH region won't change the block.
242 (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
243 (is_eh_region): Lose.
244 * tree.h: Adjust.
245
246 2001-04-27 Jeffrey Oldham <oldham@codesourcery.com>
247
248 * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
249
250 * collect2.c (main): Add `-L' case to remove duplicate entries.
251 (is_in_args): New function to check for a duplicate argument.
252 * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
253 * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
254 * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
255 Define to be nonzero.
256
257 2001-04-27 Andreas Jaeger <aj@suse.de>
258 Richard Henderson <rth@redhat.com>
259
260 * md.texi (Machine Constraints): Document additional i386
261 constraints and fix description of "A".
262
263 Fri Apr 27 10:43:49 2001 Jeffrey A Law (law@cygnus.com)
264
265 * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
266
267 2001-04-27 Jason Merrill <jason_merrill@redhat.com>
268
269 * except.c (get_exception_filter): word_mode, not Pmode.
270
271 2001-04-26 Geoffrey Keating <geoffk@redhat.com>
272
273 * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
274 common to other movsf patterns. Move up so that in future
275 people who change the other patterns will change it too.
276 (movsf_lo_sum): Allow even for soft-float; add appropriate
277 constraints.
278 (movsf_high): Likewise.
279 (movsf_high+1): Allow even for soft-float.
280
281 * function.c (expand_function_end): Always clobber the
282 return registers, even if there is no return label.
283
284 Thu Apr 26 20:28:21 CEST 2001 Jan Hubicka <jh@suse.cz>
285
286 * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
287
288 Thu Apr 26 19:20:28 CEST 2001 Jan Hubicka <jh@suse.cz>
289
290 * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
291 (pushqi2_rex64, pushhi2_rex64): Add.
292
293 2001-04-26 Andrew Haley <aph@cambridge.redhat.com>
294
295 * except.c (expand_eh_region_end_cleanup): Force pending stack
296 adjust before emitting label that branches around cleanup code.
297
298 2001-04-26 H.J. Lu (hjl@gnu.org)
299
300 * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
301
302 * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
303 define.
304 * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
305 (ASM_OUTPUT_SECTION_NAME): Likewise.
306 (ASM_WEAKEN_LABEL): Likewise.
307 (UNIQUE_SECTION): Likewise.
308 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
309 (ASM_OUTPUT_DESTRUCTOR): Likewise.
310 * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
311 (ASM_OUTPUT_SECTION_NAME): Likewise.
312 (ASM_WEAKEN_LABEL): Likewise.
313 (UNIQUE_SECTION): Likewise.
314 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
315 (ASM_OUTPUT_DESTRUCTOR): Likewise.
316 * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
317 * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
318 (ASM_FILE_START): Likewise.
319 (ASM_OUTPUT_SOURCE_LINE): Likewise.
320 (ASM_DECLARE_OBJECT_NAME): Likewise.
321 (ASM_FILE_END): Likewise.
322 (ASM_DECLARE_FUNCTION_NAME): Likewise.
323 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
324 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
325 (ASM_OUTPUT_CASE_LABEL): Likewise.
326 (ASM_OUTPUT_SKIP): Likewise.
327 (ASM_OUTPUT_ASCII): Likewise.
328 (ASM_OUTPUT_IDENT): Likewise.
329 (READONLY_DATA_SECTION): Likewise.
330 (EXTRA_SECTIONS): Likewise.
331 (EXTRA_SECTION_FUNCTIONS): Likewise.
332 (SELECT_RTX_SECTION): Likewise.
333 (SELECT_SECTION): Likewise.
334
335 * config/mips/linux.h (INVOKE__main): Undefine.
336 (CTOR_LIST_BEGIN): Likewise.
337 (CTOR_LIST_END): Likewise.
338 (DTOR_LIST_BEGIN): Likewise.
339 (DTOR_LIST_END): Likewise.
340 (SET_ASM_OP): Defined it to ".dummy".
341 (ASM_OUTPUT_DEF): Defined.
342 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
343
344 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
345
346 * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
347 assembler supports .p2align.
348
349 2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
350
351 * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
352
353 2001-04-26 Jakub Jelinek <jakub@redhat.com>
354
355 * integrate.c (expand_inline_function): Check for error_mark_node
356 in actual argument.
357
358 2001-04-26 Jakub Jelinek <jakub@redhat.com>
359
360 * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
361 -m386 and -m486.
362
363 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
364
365 * configure.in (configargs.h): Define thread_model.
366 * configure: Rebuilt.
367 * gcc.c (main): Print it with -v.
368
369 2001-04-25 Joseph S. Myers <jsm28@cam.ac.uk>
370
371 * invoke.texi: Document -Wmissing-braces, -dumpspecs,
372 -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
373 * gcc.1: Regenerate.
374
375 2001-04-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
376
377 * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
378 is_redundant_typedef): Use static inline instead of inline static.
379
380 Wed Apr 25 18:21:01 2001 Christopher Faylor <cgf@cygnus.com>
381
382 * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
383 this directory is always searched.
384
385 2001-04-25 Richard Henderson <rth@redhat.com>
386
387 * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
388 of registers to restore along non eh_return path.
389
390 2001-04-25 Jakub Jelinek <jakub@redhat.com>
391
392 * c-format.c (check_format_info_recurse): Handle
393 PLUS_EXPR for format string.
394
395 2001-04-25 Jakub Jelinek <jakub@redhat.com>
396
397 * config/ia64/ia64.h (CC1_SPEC): Define.
398 * config/ia64/linux.h (CC1_SPEC): Define.
399
400 Wed Apr 25 17:09:50 2001 J"orn Rennecke <amylaar@redhat.com>
401
402 * emit-rtl.c (constant_subword): Also do sign extension in
403 BITS_PER_WORD == 16 case.
404
405 2001-04-25 Jason Merrill <jason_merrill@redhat.com>
406
407 * loop.c (try_swap_copy_prop): Go back to checking insn.
408
409 2001-04-25 Jakub Jelinek <jakub@redhat.com>
410
411 * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
412 if check_mode is non-zero.
413
414 2001-04-25 Jakub Jelinek <jakub@redhat.com>
415
416 * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
417 out and comparison sequence has been detected, put result into
418 proper temporary pseudo.
419
420 2001-04-24 Zack Weinberg <zackw@stanford.edu>
421
422 * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
423 * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
424 * libgcc2.c: Remove __dummy and __builtin_saveregs.
425 * libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
426 * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
427 for future reference.
428
429 2001-04-24 Jason Merrill <jason_merrill@redhat.com>
430
431 * except.c (reachable_handlers): Step out one level from a RESX.
432
433 * except.c (struct eh_region): Rename 'last' to 'resume'.
434 (mark_eh_region, duplicate_eh_region_1): Adjust.
435 (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
436 (build_post_landing_pads): Likewise.
437 (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
438 (expand_eh_region_end_must_not_throw): Likewise.
439 (connect_post_landing_pads): Thread (only) regions with non-deleted
440 resume insns.
441
442 * except.c (expand_eh_region_end_cleanup): Save the EH return data
443 registers around the cleanup.
444 (get_exception_filter): New fn.
445 (finish_eh_generation): Use it.
446
447 2001-04-24 Nathan Sidwell <nathan@codesourcery.com>
448
449 * c-semantics.c (add_scope_stmt): Don't call
450 current_scope_stmt_stack multiple times.
451
452 2001-04-24 Zack Weinberg <zackw@stanford.edu>
453 Nathan Sidwell <nathan@codesourcery.com>
454
455 Lazy __FUNCTION__ generation.
456 * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
457 RID_C99_FUNCTION_NAME): New _RIDs.
458 (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
459 (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
460 CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
461 global tree slots.
462 (function_id_node, pretty_function_id_node, func_id_node): Remove.
463 (c99_function_name_decl_node, function_name_decl_node,
464 pretty_function_name_decl_node, saved_function_name_decls):
465 Declare.
466 (struct language_function): Remove x_function_name_declared_p.
467 (make_fname_decl): Remove a parameter.
468 (declare_function_names): Remove prototype.
469 (start_fname_decls, finish_fname_decls): Prototype.
470 (fname_as_string): Likewise.
471 (fname_string, fname_decl): Likewise.
472 * c-common.c (make_fname_decl): Adjust.
473 (struct fname_var_t): New struct.
474 (fname_vars): New static array.
475 (declare_function_name): Remove.
476 (start_fname_decls, finish_fname_decls): New functions.
477 (fname_as_string): New function from remnants of
478 declare_function_name.
479 (fname_string, fname_decl): New functions.
480
481 * c-decl.c (c_function_name_declared_p): Remove.
482 (init_decl_processing): Don't generate __FUNCTION__ et al ids,
483 don't call declare_function_name. Call start_fname_decls.
484 (c_make_fname_decl): Adjust parameters. Generate the name. Don't
485 clobber the line number. Call finish_decl.
486 (start_function): Call start_fname_decls.
487 (finish_function): Call finish_fname_decls.
488 Remove c_function_name_declared_p.
489 (push_c_function_context): Don't push c_function_name_declared_p.
490 (pop_c_function_context): Don't pop c_function_name_declared_p.
491 (c_begin_compound_stmt): Don't check c_function_name_declared_p.
492 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
493 (program): Call finish_fname_decls for C.
494 (primary): Add VAR_FUNC_NAME.
495 (reswords): Add slots for __FUNCTION__ et al.
496 (rid_to_yy): Add mappings for __FUNCTION__ et al.
497 (yylexname): If it's a STRING_FUNC_NAME generate the function name
498 now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
499 * c-semantics.c (prune_unused_decls): Remove.
500 (finish_stmt_tree): Don't call prune_unused_decls.
501 (genrtl_decl_stmt): Don't prune unused decls here.
502
503 2001-04-24 Nick Clifton <nickc@cambridge.redhat.com>
504
505 * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
506 constant pool, use the pool's SYMBOL_REF instead.
507
508 * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the
509 v850e.
510
511 2001-04-23 Joseph S. Myers <jsm28@cam.ac.uk>
512
513 * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
514 passing nested NOP_EXPRs to fold.
515
516 Mon Apr 23 14:32:12 CEST 2001 Jan Hubicka <jh@suse.cz>
517
518 * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
519
520 2001-04-22 Mark Mitchell <mark@codesourcery.com>
521
522 * loop.c (loop_delete_insns): Add prototype.
523
524 2001-04-23 Phil Edwards <pme@sources.redhat.com>
525
526 * configure.in: Remove ENABLE_STD_NAMESPACE.
527 * config.in: Regenerated.
528 * configure: Regenerated.
529
530 2001-04-22 Stan Shebs <shebs@apple.com>
531
532 * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
533 into xm_defines.
534 * config/rs6000/xm-darwin.h: Remove file.
535
536 2001-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
537
538 * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
539 (write_c_file_stat): Likewise.
540
541 * dbxout.c (dbxout_init): Likewise.
542
543 * profile.c (output_func_start_profiler): Likewise.
544
545 2001-04-22 Philipp Thomas <pthomas@suse.de>
546
547 * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
548 require it instead of the CVS version.
549 * cpperror.c (v_message): Put a blank before the macro
550 body to not confuse exgettext.
551
552 2001-04-21 Mark Mitchell <mark@codesourcery.com>
553
554 * flow.c (proagate_one_insn): Remove useless assignment.
555 * jump.c (delete_insn): Tidy.
556 * loop.c (try_copy_prop): When deleting an instruction with a
557 REG_RETVAL note, delete the entire libcall sequence.
558 (loop_delete_insns): New function.
559 * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
560 we're not substituting into them yet.
561
562 2001-04-21 Kazu Hirata <kazu@hxi.com>
563
564 * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
565
566 * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
567 Fix a comment typo.
568 * config/i960/i960.c (signed_arith_operand): Likewise.
569
570 * calls.c (expand_call): Fix a comment typo.
571
572 2001-04-20 Zack Weinberg <zackw@stanford.edu>
573
574 * configure.in: Probe for times, clock, struct tms, and clock_t.
575 * configure, config.in: Regenerate.
576 * timevar.c: Replace ifdef forest in get_time with (relatively)
577 straightforward series of checks based on autoconf's probes.
578
579 Fri Apr 20 12:24:50 2001 Jeffrey A Law (law@cygnus.com)
580
581 * config/pa/som.h (NM_FLAGS): Define.
582
583 2001-04-20 Bernd Schmidt <bernds@redhat.com>
584
585 * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
586 function.
587 * ia64-protos.h (ia64_sched_reorder): Additional arg for clock.
588 * ia64.c (nop_cycles_until): New function.
589 (prev_cycle, prev_first, last_issued): New static variables.
590 (ia64_sched_reorder): Additional arg for clock.
591 On final scheduling pass, emit extra NOPs as needed.
592 Set prev_first and prev_cycle.
593 (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder.
594 (ia64_variable_issue): Set last_issued.
595
596 2001-04-20 Alexandre Oliva <aoliva@redhat.com>
597
598 * config/i386/i386.c (ix86_expand_int_movcc,
599 ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
600
601 2001-04-20 Geoff Keating <geoffk@redhat.com>
602
603 * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
604 ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
605 ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
606 ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
607 ctrdi_internal6): In the short-branch case, this insn is only 4
608 bytes long. Reported by Reza Yazdani <reza@apple.com>.
609
610 2001-04-20 Jakub Jelinek <jakub@redhat.com>
611
612 * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
613 "=u" is used together with "st" resp. "st(1)" clobber.
614
615 2001-04-20 Jakub Jelinek <jakub@redhat.com>
616
617 * gcse.c (gcse_main): Fix comment typo.
618 (delete_null_pointer_check): Likewise.
619 (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
620 * cse.c (cse_insn): Likewise.
621 * function.c (fixup_var_refs_insns_with_hash): The sequence is
622 toplevel.
623
624 2001-04-19 Zack Weinberg <zackw@stanford.edu>
625
626 * toplev.c: Excise all code for the undocumented -dm option.
627 (float_signal): Call signal just once, unconditionally.
628
629 2001-04-19 Geoff Keating <geoffk@redhat.com>
630
631 * fold-const.c (fold): Use first_rtl_op rather than
632 TREE_CODE_LENGTH when looping over parameters of a tree.
633 Correct strange grouping in test for evaluated SAVE_EXPR.
634
635 Thu Apr 19 19:15:26 2001 Jeffrey A Law (law@cygnus.com)
636
637 * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
638 * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
639
640 * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
641 name at 32 total characters.
642 (ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing
643 functions in named sections -- data items can still go into unique
644 sections, but they have normal names (ie $LIT$ and $DATA$).
645
646 * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
647 INIT_PRIORITY.
648
649 2001-04-19 DJ Delorie <dj@redhat.com>
650
651 * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
652 to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
653 * config/i386/cygwin.h: Likewise.
654 * config/i386/mingw32.h: Likewise.
655 * config/vax/vms.h: Likewise.
656 * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
657
658 * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
659 to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
660 * config/i386/xm-cygwin.h: Likewise.
661 * config/i386/xm-djgpp.h: Likewise.
662 * config/i386/xm-mingw32.h: Likewise.
663 * config/vax/xm-vms.h: Likewise.
664
665 * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
666 instead of OBJECT_SUFFIX.
667 * collect2.c (find_a_file): Look for files matching the extension
668 HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
669 * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
670 TARGET_EXECUTABLE_SUFFIX.
671 (find_a_file): Use HOST_EXECUTABLE_SUFFIX.
672 (make_relative_prefix): Likewise.
673 (convert_filename): Use TARGET_ suffixes throughout. Remove
674 NO_AUTO_EXE_SUFFIX.
675 (process_command): Likewise.
676 (do_spec_1): Likewise.
677 * java/lang.c (init_parse): Likewise.
678
679 * gcc.texi : Document four new options matching the pattern
680 (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX. Remove documentation
681 for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX. Remove
682 documentation for NO_AUTO_EXE_SUFFIX.
683
684 2001-04-19 Mark Mitchell <mark@codesourcery.com>
685
686 * toplev.h (struct lang_hooks): Allow decode_option to indicate
687 that language-independent processing should not be done.
688 * toplev.c (main): Adjust accordingly.
689
690 * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
691 * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
692
693 * mips.md (reload_outputdi): Require that operand0 be a
694 general_operand.
695
696 2001-04-19 Jakub Jelinek <jakub@redhat.com>
697
698 * invoke.texi (-Wshadow): Clarify.
699
700 2001-04-18 Mark Mitchell <mark@codesourcery.com>
701
702 * loop.c (load_mems): Examine all the instructions in the loop
703 before concluding that all jumps branch to the first instruction
704 after the loop.
705
706 Wed Apr 18 20:32:03 2001 Christopher Faylor <cgf@cygnus.com>
707
708 * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
709
710 2001-04-18 Jakub Jelinek <jakub@redhat.com>
711
712 * cpp.texi (-Wwhite-space): Remove.
713 (-Wall): -Wall does not imply -Wwhite-space.
714
715 2001-04-17 Zack Weinberg <zackw@stanford.edu>
716
717 * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
718 use it instead of blindly generating a .stabs.
719 * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
720 in the right place.
721 * xcoffout.c: Don't bother defining default for N_CATCH.
722 (UNKNOWN_STAB): Use internal_error.
723 (stab_to_sclass): Remove now-unnecessary aborts.
724 Remove #if 0'ed case N_BROWS. Add #ifdef N_OPT block.
725
726 Tue Apr 17 21:41:11 2001 Jeffrey A Law (law@cygnus.com)
727
728 * jump.c (mark_all_labels): Canonicalize the tail recursion
729 label attached to CALL_PLACEHOLDER insns.
730
731 2001-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
732
733 * output.h (dump_flow_info, free_basic_block_vars,
734 which_alternative): Delete redundant prototypes.
735
736 * rtl.h (bss_section): Likewise.
737
738 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
739
740 * dbxout.c (N_OPT): Define if not available from <stab.h>
741
742 2001-04-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
743
744 * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
745 libraries and native K&R compilers.
746
747 2001-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
748
749 * c-typeck.c (convert_arguments): Don't check for width changes
750 with -Wtraditional.
751
752 * invoke.texi (-Wtraditional): Update documentation.
753
754 2001-04-16 Zack Weinberg <zackw@stanford.edu>
755
756 * toplev.c (output_lang_identify): Delete.
757 (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
758 Don't generate gcc2_compiled. label. Don't emit a nop if profiling.
759 If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
760 after calling ASM_FILE_END.
761
762 * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
763 Instead, unconditionally emit an N_OPT stab with string equal
764 to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
765
766 * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
767
768 * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
769 config/psos.h, config/ptx4.h, config/1750a/1750a.h,
770 config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
771 config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
772 config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
773 config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
774 config/i370/i370.h, config/i386/beos-elf.h,
775 config/i386/osf1elf.h, config/i386/osfrose.h,
776 config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
777 config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
778 config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
779 config/m68k/tower-as.h, config/mcore/mcore-elf.h,
780 config/mips/iris6.h, config/mips/osfrose.h,
781 config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
782 config/sparc/sp64-elf.h:
783 Delete definitions of any or all of: ASM_IDENTIFY_GCC,
784 ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
785
786 * config/elfos.h, config/freebsd.h, config/linux.h,
787 config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
788 config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
789 config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
790 of ASM_FILE_START which merely emit a .version directive. Delete
791 definitions of ASM_FILE_END which merely emit an .ident directive.
792
793 * config/avr/avr.h, config/vax/vax.h: Delete definition of
794 ASM_IDENTIFY_GCC and move part of its logic into
795 ASM_FILE_START.
796
797 * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
798 config/sparc/linux-aout.h: Don't emit .version directive in
799 ASM_FILE_START.
800
801 * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
802 (output_file_start): Correct comment.
803
804 * config/i386/osfrose.h: Don't emit trailing .ident directive.
805 * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
806 to match gdb.
807 * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
808 * config/rs6000/aix.h: Correct comment.
809
810 * config/i386/i386afe.h: Delete.
811 * config.gcc: Remove references to i386afe.h.
812
813 * tm.texi: Delete documentation of ASM_IDENTIFY_GCC. The
814 other macros deleted by this patch were undocumented.
815
816 Mon Apr 16 08:03:48 2001 Jeffrey A Law (law@cygnus.com)
817
818 * pa.md (reload_outdi): Operand 0 must be a non hard register.
819
820 * pa.c (secondary_reload_class): SAR<->FP copies require a
821 secondary register.
822
823 * install.texi (mips-mips-bsd): Update list of functions
824 required to include memmove.
825 * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
826 used functions to include memmove.
827
828 2001-04-15 Toon Moene <toon@moene.indiv.nluug.nl>
829
830 * i386.md (sqrtdf2): SFmode should be DFmode.
831
832 2001-04-15 Alexandre Oliva <aoliva@redhat.com>
833
834 * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
835 (find_moveable_store): Likewise.
836
837 2001-04-15 Jim Wilson <wilson@redhat.com>
838
839 * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
840
841 Sat Apr 14 16:24:19 CEST 2001 Jan Hubicka <jh@suse.cz>
842
843 * i386.md (ashldi3_1_rex64): Add 'J' to the constraints
844 (ashrdi3_1_rex64): Change 'n' constraint to 'J'.
845
846 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
847
848 * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
849 first alternative.
850
851 2001-04-14 Alan Modra <amodra@one.net.au>
852
853 * pa.c (force_mode): New function.
854 (emit_move_sequence): Use it instead of generating new rtx_REGs.
855
856 2001-04-13 Jim Wilson <wilson@redhat.com>
857
858 * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
859 (first_instruction): New static variable.
860 (rtx_needs_barrier): Return 1 for alloc.
861 (init_insn_group_barriers): Set first_instruction.
862 (rws_sum): Delete duplicate definition.
863 (group_barrier_needed_p): Return 0 when first_instruction true.
864 (safe_group_barrier_needed_p): Save and restore first_instruction
865 around group_barrier_needed_p call.
866
867 Fri Apr 13 21:40:28 2001 Loren J. Rittle <ljrittle@acm.org>
868
869 * expr.h (enum libfunc_index): Add LTI_memmove.
870 (memmove_libfunc): Define macro.
871 * optabs.c (init_optabs): Initialize memmove_libfunc.
872 * expr.c (expand_assignment): Use memmove_libfunc instead of
873 memcpy_libfunc.
874
875 2001-04-13 Alan Modra <alan@linuxcare.com.au>
876
877 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
878 fp mode addresses.
879
880 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
881
882 * Makefile.in (reg-stack.o): Depend on reload.h.
883 (insn-attrtab.o): Depend on flags.h.
884
885 * genattrtab (main): Include flags.h in insn-attrtab.c.
886
887 * reg-stack.c: Include reload.h.
888
889 * sparc.h (flag_pic): Delete redundant declaration.
890
891 * output.h (flag_pic): Likewise.
892
893 * tree.h (pedantic): Likewise.
894
895 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
896
897 * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
898
899 * jump.c, regmove.c, toplev.c: Include reload.h.
900
901 * reload.h (reload_cse_regs): Declare.
902
903 * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
904 reload_cse_regs, init_reload, mark_home_live, reload,
905 init_caller_save): Delete redundant prototypes.
906
907 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
908
909 * Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
910
911 * regclass.c, ssa.c: Include expr.h.
912
913 * rtl.h (memory_address, force_reg, emit_queue, emit_move_insn,
914 gen_move_insn): Delete redundant declarations.
915
916 2001-04-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
917
918 * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
919 (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down
920 MAKEINFO and MAKEINFOFLAGS too.
921 (stage4_build): Correctly order -B flags.
922
923 2001-04-13 Alan Modra <amodra@one.net.au>
924
925 * pa.c (hppa_init_pic_save): Set rtx_unchanging for
926 PIC_OFFSET_TABLE_SAVE_RTX.
927 (zdepi_cint_p): Describe zdepi insn.
928 Formatting and white space fixes throughout file.
929
930 * pa.c (uint32_operand): Don't use long constant >= 2^32.
931 (emit_move_sequence): Use HOST_WIDE_INT constants. Don't worry
932 about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
933 (compute_movstrsi_length): Make `align' unsigned to avoid warning.
934 (output_64bit_and): Use plain `int's for shift counts.
935 (output_64bit_ior): Likewise.
936 (function_arg_partial_nregs): Use unsigned vars to avoid warnings.
937 * pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
938 `N', and simplify.
939
940 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
941 * pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
942 * pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
943 NEW_HP_ASSEMBLER into one. Kill warnings.
944
945 * pa-gas.h: Delete file.
946 * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
947 Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*. Update
948 hppa*-*-linux*. For all pa targets, remove pa/gas.h from tm_file,
949 instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
950
951 * config/pa/mill32.S: New file.
952 * config/pa/mill64.S: New file.
953 * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
954 LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
955 * config/pa/t-linux64: New file.
956 * config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
957 (LIB1ASMFUNCS, LIB1ASMSRC): Define.
958 (TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
959
960 * elfos.h (SELECT_SECTION): Undef before defining.
961 * pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
962 (LIB_SPEC): Remove -lmilli.
963 (DBX_REGISTER_NUMBER): Remove.
964 (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
965 (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
966 NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
967 DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
968 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
969 ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
970 ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
971 TARGET_GAS): Define.
972 * pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
973 (function_arg): If TARGET_ELF32, pass fp args in both general and fp
974 regs if we don't have a prototype.
975 * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
976 * pa.h (TARGET_ELF32): Default to 0 if undefined.
977 (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
978 EH_RETURN_HANDLER_RTX): Define.
979 * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
980 (DWARF_FRAME_REGNUM): Define.
981 * pa64-regs.h (DWARF_FRAME_REGNUM): Define.
982 * pa32-linux.h: New file.
983 * pa64-linux.h: New file.
984
985 * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
986 (ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
987 (LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
988 NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
989 DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
990 DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
991 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
992 FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
993 READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
994 DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
995 UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
996 ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
997 TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
998 * pa64-hpux.h: New file.
999 (ASM_FILE_START): Correct typo.
1000 (PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
1001 * config.gcc: Modify for above.
1002
1003 Fri Apr 13 00:09:22 EDT 2001 John Wehle (john@feith.com)
1004
1005 * jump.c (jump_optimize_1): Don't delete dead stores here.
1006 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
1007 prior to running jump optimize before cse2.
1008
1009 2001-04-12 Richard Henderson <rth@redhat.com>
1010
1011 * Makefile.in (regmove.o): Depend on except.h.
1012 * regmove.c: Include it.
1013
1014 2001-04-12 Stan Shebs <shebs@apple.com>
1015
1016 * objc/objc-act.c: Remove all code ifdefed with the never-used
1017 macro OBJC_INT_SELECTORS.
1018 * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
1019 * tm.texi: Remove doc for OBJC_INT_SELECTORS.
1020
1021 Thu Apr 12 18:13:37 2001 Rodney Brown <RodneyBrown@mynd.com>
1022
1023 * config/pa/quadlib.c: Add prototypes.
1024
1025 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1026
1027 * bitmap.h (debug_bitmap): Delete redundant prototype.
1028
1029 * rtl.h (get_frame_size): Likewise.
1030
1031 2001-04-12 Jim Wilson <wilson@redhat.com>
1032
1033 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
1034 to just emit an fnorm.
1035
1036 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1037
1038 * c-common.h (truthvalue_conversion, type_for_mode,
1039 type_for_size): Delete redundant declarations.
1040
1041 * c-lex.h (is_class_name): Likewise.
1042
1043 * c-tree.h (pedantic, convert, getdecls, gettags,
1044 global_bindings_p, init_decl_processing, insert_block,
1045 maybe_build_cleanup, poplevel, print_lang_decl,
1046 print_lang_identifier, print_lang_type, pushdecl, pushlevel,
1047 set_block, incomplete_type_error, build_function_call,
1048 lvalue_or_else, mark_addressable): Likewise.
1049
1050 * expr.h (expand_tree_builtin): Likewise.
1051
1052 2001-04-12 Mark Mitchell <mark@codesourcery.com>
1053
1054 * invoke.texi: Document --param max-gcse-memory.
1055
1056 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1057
1058 * configure.in (errno): Check for declaration.
1059 * configure, config.in: Regenerated.
1060
1061 * system.h (errno): Only declare if not already done.
1062
1063 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
1064
1065 * recog.c (general_operand, immediate_operand,
1066 nonmemory_operand): Require CONST_INTs to be sign-extended
1067 values for their modes.
1068
1069 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
1070
1071 * expmed.c (store_bit_field): Truncate CONST_INTs.
1072 (expand_mult_highpart, expand_divmod): Likewise.
1073 * expr.c (convert_modes, store_field): Likewise.
1074 * integrate.c (expand_inline_function): Use promote_mode() to
1075 determine whether to convert_modes() an argument as signed
1076 or unsigned.
1077 * optabs.c (expand_binop): Get CONST_INT operands
1078 sign-extended for their appropriate modes.
1079 * stmt.c (emit_case_nodes): Convert node values to the
1080 appropriate mode.
1081 (expand_end_case): Convert minval and range to the appropriate
1082 mode.
1083 * unroll.c (loop_iterations): Truncate abs_diff to the mode of
1084 the iteration variable.
1085 * varasm.c (immed_double_const): Don't require words to be
1086 narrower than host wide ints to properly sign-extend
1087 CONST_INTs.
1088
1089 2001-04-12 kaz Kojima <kkojima@rr.iij4u.or.jp>
1090
1091 * sh.md (builtin_setjmp_receiver): New expander.
1092
1093 2001-04-12 David Edelsohn <dje@watson.ibm.com>
1094
1095 * config/rs6000/rs6000.c (rs6000_emit_move): Do not
1096 special-case HOST_BITS_PER_WIDE_INT != 32. Use same criteria
1097 for generating CONST_INT and CONST_DOUBLE.
1098
1099 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
1100
1101 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
1102 already sign-extended.
1103 (rs6000_emit_prologue): Make register iterator signed.
1104 (rs6000_emit_epilogue): Likewise.
1105 * config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
1106 and low.
1107 (movsf split, movdf split): Sign-extend CONST_INTs.
1108 (movdi splits): Likewise.
1109
1110 2001-04-12 Kelley Cook <kelley.cook@home.com>
1111
1112 * config-lang.in (lang_dirs): Add in zlib.
1113
1114 2001-04-11 Alexandre Oliva <aoliva@redhat.com>
1115
1116 * config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
1117 operands that make it to RTL.
1118
1119 2001-04-11 Stan Shebs <shebs@apple.com>
1120
1121 Add Darwin (Mac OS X kernel) native support.
1122 * config.gcc (powerpc-*-darwin*): Add native bits.
1123 * config/darwin.c: New file, generic Darwin support functions.
1124 * config/darwin.h: New file, generic Darwin definitions.
1125 * config/darwin-protos.h: New file, generic Darwin prototypes.
1126 * rs6000/darwin.h: New file, Darwin for PowerPC.
1127 * rs6000/t-darwin: New file, Darwin makefile fragment.
1128 * rs6000/rs6000.h (OBJECT_MACHO): New macro.
1129 (TARGET_MACHO): Ditto.
1130 (rs6000_abi): Add ABI_DARWIN.
1131 (RS6000_REG_SAVE): Add ABI_DARWIN case.
1132 (RS6000_SAVE_AREA): Ditto.
1133 (FP_ARG_MAX_REG): Ditto.
1134 (RETURN_ADDRESS_OFFSET): Ditto.
1135 * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
1136 cases.
1137 (rs6000_emit_move): Add ABI_DARWIN cases.
1138 (print_operand): Ditto.
1139 (first_reg_to_save): Ditto.
1140 (rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
1141 (debug_stack_info): Ditto.
1142 (rs6000_emit_prologue): Ditto.
1143 (rs6000_emit_epilogue): Ditto.
1144 (output_profiler_hook): Ditto.
1145 (output_function_profiler): Ditto.
1146 (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
1147 (output_mi_thunk): Add TARGET_MACHO case.
1148 (add_compiler_stub): Ditto.
1149 (output_compiler_stub): Ditto.
1150 (no_previous_def): Ditto.
1151 (output_call): Ditto.
1152 (machopic_output_stub): Ditto.
1153 (rs6000_machopic_legitimize_pic_address): Ditto.
1154 (toc_section): Ditto.
1155 * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
1156 (macho_high): Ditto.
1157 (macho_low): Ditto.
1158 (movsi_low): Ditto.
1159 (load_macho_picbase): Ditto.
1160 (call): Add TARGET_MACHO case to modify function.
1161 (call_value): Ditto.
1162 (call_nonlocal_sysv): Add ABI_DARWIN case.
1163 (call_value_nonlocal_sysv): Ditto.
1164 * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
1165 Add prototype.
1166 (machopic_output_stub): Ditto.
1167 * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
1168
1169 2001-04-11 Mark Mitchell <mark@codesourcery.com>
1170
1171 * dwarf2out.c (modified_type_die): Don't create new types here.
1172 * tree.h (get_qualified_type): New function.
1173 (build_qualified_type): Adjust comment.
1174 * tree.c (get_qualified_type): New function.
1175 (build_qualified_type): Use it.
1176
1177 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1178
1179 * cpp.texi (-Wtraditional): Update description.
1180
1181 * invoke.texi (-Wtraditional): Likewise.
1182
1183 2001-04-11 Jim Wilson <wilson@redhat.com>
1184
1185 * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument
1186 requires more than 64 bits of alignment.
1187
1188 2001-04-11 Neil Booth <neil@daikokuya.demon.co.uk>
1189
1190 * cpplib.c (do_line): Sanity check iff enable checking.
1191
1192 2001-04-11 Richard Henderson <rth@redhat.com>
1193
1194 * Makefile.in (insn-recog.o): Depend on toplev.h.
1195 (insn-emit.o, doloop.o): Likewise.
1196 * genrecog.c, genemit.c: Include toplev.h in generated file.
1197 * doloop.c: Include toplev.h.
1198
1199 2001-04-11 Mark Mitchell <mark@codesourcery.com>
1200
1201 * Makefile.in (gcse.o): Depend on params.h.
1202 * gcse.c: Include params.h.
1203 (gcse_main): Don't do GCSE if doing so will take inordinate
1204 amounts of memory.
1205 * params.def (PARAM_MAX_GCSE_MEMORY): New parameter.
1206 * params.h (MAX_GCSE_MEMORY): New macro.
1207
1208 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1209
1210 * Makefile.in (insn-output.o): Depend on $(EXPR_H).
1211
1212 * genoutput.c (output_prologue): Include expr.h in insn-output.c.
1213
1214 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1215
1216 * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined.
1217
1218 * real.h (ereal_atof, real_value_truncate, target_isnan,
1219 target_isinf, target_negative, assemble_real, debug_real): Delete
1220 redundant prototypes.
1221
1222 * Makefile.in (ifcvt.o): Depend on toplev.h.
1223
1224 * c-semantics.c: Include expr.h.
1225
1226 * ifcvt.c: Include toplev.h.
1227
1228 * expr.h (rtx_equal_p): Delete prototype.
1229
1230 * rtl.h (exact_log2_wide, floor_log2_wide, permalloc,
1231 protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble,
1232 eliminate_constant_term, expand_complex_abs, find_single_use,
1233 make_tree, init_expr_once, init_optabs, supports_one_only):
1234 Likewise.
1235
1236 * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return,
1237 rest_of_type_compilation, emit_queue, do_pending_stack_adjust,
1238 expand_assignment, store_expr, emit_line_note_after,
1239 emit_line_note_force, split_specs_attrs, label_rtx): Likewise.
1240
1241 * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype.
1242
1243 * sparc-protos.h: Delete redundant prototypes.
1244
1245 2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
1246
1247 * reload.c (push_reload): Add condition missed in SUBREG byte
1248 offset patch.
1249
1250 Wed Apr 4 00:28:23 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1251
1252 * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank.
1253
1254 Wed Apr 11 14:06:10 CEST 2001 Jan Hubicka <jh@suse.cz>
1255
1256 * i386.md (floatsisf_sse): Fix output template
1257 * i386.c (ix86_expand_fp_movcc)
1258
1259 * reg-stack.c (emit_pop_insn): Handle complex modes.
1260 (move_for_stack_reg): Emit proper move mode.
1261 (subst_stack_regs_pat): Handle complex modes.
1262
1263 2001-04-11 Jakub Jelinek <jakub@redhat.com>
1264
1265 * cpplex.c (_cpp_lex_token): Only warn if -Wcomment.
1266
1267 2001-04-10 Richard Henderson <rth@redhat.com>
1268
1269 * libgcc2.h (__terminate_func_ptr): Remove typedef.
1270 (__pure_virtual, __terminate, __terminate_set_func,
1271 __default_terminate, __throw_type_match, __empty,
1272 __get_eh_context, __get_eh_info, __get_dynamic_handler_chain,
1273 __eh_rtime_match, __unwinding_cleanup, __rethrow,
1274 __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free):
1275 Remove prototypes of deleted functions.
1276
1277 2001-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1278
1279 * c-typeck.c (convert_arguments): -Wtraditional now activates
1280 -Wconversion warnings, except for changes in signed-ness.
1281 Detect complex<->int & int<->complex conversions as well.
1282
1283 * invoke.texi (-Wtraditional): Document it.
1284
1285 Tue Apr 10 17:45:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1286
1287 * gcse.c (update_ld_motion_stores): Don't use variable I for an insn.
1288 * flow.c (set_block_for_new_insns): Remove needless cast and
1289 properly check for unset block number.
1290
1291 2001-04-10 Andrew MacLeod <amacleod@redhat.com>
1292
1293 * function.c (purge_single_hard_subreg_set): Only check REGNO if
1294 the subreg was a hard register. Pseudos are left as subregs.
1295
1296 2001-04-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1297
1298 * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
1299 (LIB2ADD_ST): New macro, pass it to mklibgcc.
1300 * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST.
1301 (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a.
1302 * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro.
1303
1304 2001-04-09 Bo Thorsen <bo@suse.co.uk>
1305
1306 * config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one.
1307
1308 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
1309
1310 * output.h (set_block_num): Missed it earlier, remove deprecated
1311 prototype.
1312
1313 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
1314
1315 * gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p.
1316 (load_killed_in_block_p): Change bb parameter from int to basic_block.
1317 (oprs_not_set_p): Pass basic_blocks instead of ints as parameters.
1318 (handle_rd_kill_set): Change bb parameter from int to basic_block.
1319 (compute_kill_rd): Pass basic_blocks instead of ints as parameters.
1320 (expr_killed_p): Change bb parameter from int to basic_block, pass
1321 basic_blocks instead of ints as parameters.
1322 (compute_ae_kill): Pass basic_blocks instead of ints as parameters.
1323 (expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter
1324 from int to basic_block, pass basic_blocks instead of ints as parms.
1325 (pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb
1326 parameter from int to basic_block, pass basic_blocks instead of ints.
1327 (process_insert_insn): Pass basic_blocks instead of ints as parameters.
1328 (insert_insn_end_bb): Change bb parameter from int to basic_block,
1329 pass basic_blocks instead of ints.
1330 (pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass
1331 basic_blocks instead of ints as parameters.
1332 (pre_delete): Pass basic_blocks instead of ints as parameters.
1333 (hoist_expr_reaches_here_p): Change bb parameter from int to
1334 basic_block, pass basic_blocks instead of ints.
1335 (hoist_code): Pass basic_blocks instead of ints as parameters.
1336 (reg_set_info, store_ops_ok, store_killed_after, store_killed_before):
1337 Change bb parameter from int to basic_block.
1338 (build_store_vectors): Pass basic_blocks instead of ints as parameters.
1339 (insert_insn_start_bb): Change bb parameter from int to basic_block,
1340 pass basic_blocks instead of ints.
1341 (insert_store): Pass basic_blocks instead of ints as parameters.
1342 (replace_store_insn, delete_store): Change bb parameter from int to
1343 basic_block, pass basic_blocks instead of ints.
1344 (store_motion): Pass basic_blocks instead of ints as parameters.
1345
1346 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
1347
1348 * basic-block.h (set_new_block_for_insns): New Prototype.
1349 (set_block_num): Delete prototype.
1350 * flow.c (set_block_num): Remove obsolete function.
1351 (set_block_for_new_insns): Set BB for single or multiple insns.
1352 * gcse.c (handle_avail_expr): Use set_block_for_new_insns.
1353 (process_insn_end_bb): Use set_block_for_new_insns or
1354 set_block_for_insn instead of set_block_num.
1355 (pre_insert_copy_insn): Use set_block_for_new_insns.
1356 (update_ld_motion_stores): Use set_block_for_new_insns.
1357 (insert_insn_start_bb): Use set_block_for_new_insns.
1358 (replace_store_insn): Use set_block_for_new_insns.
1359
1360 2001-04-09 Andrew MacLeod <amacleod@redhat.com>
1361 Jeff Law <law@redhat.com>
1362
1363 * alias.c (get_addr): Externalize.
1364 (canon_true_dependence): New function. Behaves like true_dependance
1365 except it already assumes a MEM has been canonicalized.
1366 * flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags.
1367 * gcse.c (struct ls_expr): Add load/store expressions structure.
1368 (modify_mem_list, canon_modify_mem_list): New variable.
1369 (gcse_main): Initialize & finalize alias analysis. Use enhanced
1370 load motion and store motion if requested.
1371 (alloc_gcse_mem): Allocate space for modify_mem_list array.
1372 (free_gcse_mem): Free the modify_mem_list array.
1373 (oprs_unchanged_p): Use load_killed_in_block_p.
1374 (gcse_mems_conflict_p, gcse_mem_operand): New variables.
1375 (mems_conflict_for_gcse_p): New function. Don't kill loads
1376 with stores to themselves if its in the load/store expression list.
1377 (load_killed_in_block_p): New function.
1378 (canon_list_insert): New Function.
1379 (record_last_mem_set_info): Keep a list of all instructions which
1380 can modify memory for each basic block.
1381 (compute_hash_table, reset_opr_set_tables): Clear modify_mem_list.
1382 (oprs_not_set_p): Use load_killed_in_block_p.
1383 (mark_call, mark_set, mark_clobber): Use record_last_mem_set_info.
1384 (expr_killed_p): Use load_killed_in_block_p.
1385 (compute_transp): Do not pessimize memory references.
1386 (pre_edge_insert): Update stores for a load motion expression.
1387 (one_pre_gcse_pass): Check loads/stores for extra load motion.
1388 (ldst_entry): Find or create a ldst_expr structure.
1389 (free_ldst_entry): Free memory for an individual item.
1390 (free_ldst_mems): Free entire load/store expression list.
1391 (print_ldst_list): Print debug info.
1392 (find_rtx_in_ldst): Try to find an rtx expression in the ldst list.
1393 (enumerate_ldsts): Assign integer values to each entry in list.
1394 (first_ls_expr): First expression in the list.
1395 (next_ls_expr): Next expression in the list.
1396 (simple_mem): Check if expression qualifies for ld/st expression list.
1397 (invalidate_any_buried_refs): Remove from expression list if its
1398 used in some other way we dont understand.
1399 (compute_ld_motion_mems): Find all potential enhanced load motion
1400 expression.
1401 (trim_ld_motion_mems): Remove any expressions which are invalid.
1402 (update_ld_motion_stores): Copy store values to registers for loads
1403 which have been moved.
1404 (regvec, st_antloc, num_store): New global statics.
1405 (reg_set_info): Marks registers as set.
1406 (store_ops_ok): Verfies registers expressions are valid in a block.
1407 (find_moveable_store): Look for moveable stores in a pattern.
1408 (compute_store_table): Find stores in a function worth moving, maybe.
1409 (load_kills_store): Check dependance of a load and store.
1410 (find_loads): Find any loads in a pattern.
1411 (store_killed_in_insn): Check if a store is killed in an insn.
1412 (store_killed_after): Check is store killed after an insn in a block.
1413 (store_killed_before): Check is store killed before an insn in a block.
1414 (build_store_vectors): Generate the antic and avail vectors.
1415 (insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD.
1416 (insert_store): Add a store to an edge.
1417 (replace_store_insn): Replace a store with a SET insn.
1418 (delete_store): Delete a store insn.
1419 (free_store_memory): Free memory.
1420 (store_motion): Perform store motion.
1421 * invoke.texi: Add documentation for -fcse-lm and -fgcse-sm.
1422 * rtl.h (get_addr, canon_true_dependence): Add prototypes.
1423 * toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables.
1424 (f_options): Add gcse-lm and gcse-sm.
1425
1426 Mon Apr 9 16:18:03 CEST 2001 Jan Hubicka <jh@suse.cz>
1427
1428 * i386.c (expand_fp_movcc): Fix condition reversal code.
1429
1430 * i386.c (ix86_register_move_cost): Fix handling of reformating penalty
1431 * i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New.
1432 (CLASS_MAX_NREGS): Use it.
1433
1434 * i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit;
1435 handle properly complex values.
1436 (CLASS_MAX_NREGS): Likewise; update comment.
1437
1438 2001-04-05 Bernd Schmidt <bernds@redhat.com>
1439
1440 * ia64.c (ia64_flag_schedule_insns2): New variable.
1441 (ia64_override_options): Initialize it. Clear
1442 flag_schedule_insns_after_reload.
1443 (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2.
1444
1445 Mon Apr 9 15:09:13 CEST 2001 Jan Hubicka <jh@suse.cz>
1446
1447 * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives;
1448 Do not require source to match destination anymore;
1449 Add abort to the nontrivial cases that should be handled by split.
1450 (fix_trunc?fdi): Add SSE case for x86_64.
1451 (floatdi?f): Likewise.
1452 (floatdi?f_sse): New.
1453 (fix_trunc?fdi_sse): New.
1454
1455 2001-04-09 Richard Sandiford <rsandifo@redhat.com>
1456
1457 * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label.
1458 (DEBUG_ARANGES_END_LABEL): Ditto.
1459 (dwarfout_init): Generate length and version fields at the start
1460 of the .debug_aranges info. Insert DEBUG_ARANGES_BEGIN_LABEL
1461 after the length field.
1462 (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of
1463 the .debug_aranges info.
1464
1465 Sun Apr 8 00:43:27 CEST 2001 Jan Hubicka <jh@suse.cz>
1466
1467 * i386.c (call, call_value): Make sure that resulting call_insn
1468 does have proper second operand.
1469
1470 Sun Apr 8 22:50:49 2001 Christopher Faylor <cgf@cygnus.com>
1471
1472 * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete
1473 function. Remove include of sys/cygwin.h.
1474
1475 Sun Apr 8 22:20:27 2001 Christopher Faylor <cgf@cygnus.com>
1476
1477 * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default.
1478 (CPP_SPEC): Always search */include/w32api for header files.
1479 (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL.
1480 (LINK_SPEC): Add "cyg" to the library search prefixes.
1481
1482 2001-04-08 Philip Blundell <philb@gnu.org>
1483
1484 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
1485
1486 2001-04-08 Neil Booth <neil@daikokuya.demon.co.uk>
1487
1488 * cpperror.c (print_location): Don't special case <stdin>.
1489 (_cpp_begin_message): Handle WARNING_SYSHDR the same as
1490 WARNING, but we don't check if we're in system headers.
1491 * cpplib.h (enum error_type): WARNING_SYSHDR: New.
1492 * cpplib.c (do_warning): Warn in system headers.
1493
1494 2001-04-07 Mumit Khan <khan@NanoTech.Wisc.EDU>
1495
1496 * mbchar.c: Include config.h first.
1497
1498 2001-04-07 Zack Weinberg <zackw@stanford.edu>
1499
1500 * config.gcc: Set default for xmake_file at top, not bottom.
1501 Change places that set xmake_file to "none" to set to the
1502 empty string instead, or remove them entirely if there is no
1503 default xmake_file for this cpu_type. Remove references to
1504 deleted files.
1505
1506 * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
1507 config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
1508 config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
1509 config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
1510 config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
1511 config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
1512 config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
1513 config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
1514 config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
1515 config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
1516 Delete.
1517
1518 * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
1519 config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
1520 config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
1521 config/mips/x-sysv, config/rs6000/x-aix31:
1522 Just set CLIB to -lld or -lmld, as appropriate.
1523
1524 * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
1525 config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
1526 config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
1527 config/mips/x-iris, config/pa/x-pa:
1528 Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
1529 OTHER_FIXINCLUDES_DIRS.
1530
1531 * config/i386/x-djgpp: Don't set LN or LN_S.
1532 * config/m88k/x-dolph: Don't define __m88k__.
1533 * config/m88k/x-tekXD88: Don't set AR_FLAGS.
1534 * config/pa/x-pa-mpeix: Just set up quadlib.asm.
1535 * config/i860/fx2800.h: No need to #undef SVR4.
1536
1537 38 x-host fragments remain, 2 x-cpu.
1538
1539 2001-04-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1540
1541 * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
1542
1543 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
1544
1545 * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>.
1546
1547 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
1548
1549 * configure.in: Add check for lstat.
1550 * configure, config.in: Regenerate.
1551 * cppinit.c (append_include_chain): Make empty path ".".
1552 * cpplib.c (do_line): Don't simplify #line paths.
1553 * cppfiles.c (remove_component_p): New function.
1554 (find_or_create_entry): Acknowledge stat () errors during
1555 path simplification.
1556 (handle_missing_header): Don't simplify paths.
1557 (_cpp_simplify_pathname): Don't simplify VMS paths. Return
1558 the empty path untouched. Don't leave a trailing '/'.
1559
1560 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1561
1562 * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
1563 * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
1564
1565 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk>
1566
1567 * cppfiles.c (open_file): Fail directories silently, but
1568 with an errno of NOENT set.
1569 (read_include_file): Move the common exit code to the sole
1570 caller. Return an int indicating success or failure. Let
1571 open_file handle directories.
1572 (stack_include_file): If read_include_file fails,
1573 push a "null" buffer.
1574
1575 2001-04-05 DJ Delorie <dj@redhat.com>
1576
1577 * function.h (virtuals_instantiated): Declare.
1578 * function.c: (virtuals_instantiated): Make global.
1579 * calls.c (emit_library_call_value_1): Use
1580 virtual_outgoing_args_rtx only if it hasn't been instantiated.
1581 Otherwise, use the stack pointer directly.
1582
1583 Thu Apr 5 19:13:33 CEST 2001 Jan Hubicka <jh@suse.cz>
1584
1585 * i386.c (x86_initialize_trampoline): New global function.
1586 * i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64.
1587 (INITIALIZE_TRAMPOLINE): Move offline.
1588 * i386-protos.h (x86_initialize_trampoline): Declare.
1589
1590 Thu Apr 5 19:02:15 CEST 2001 Jan Hubicka <jh@suse.cz>
1591
1592 * i386.md (movdi_1_rex64): Allow SSE->SSE reg move.
1593 (lea_0): Rename to lea_1.
1594 (lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns.
1595 (lea_general_?): Allow SImodes on TARGET_64BIT
1596 (lea_general_?_zext): New patterns.
1597 (call_1, call_1_rex64): Fix.
1598
1599 Thu Apr 5 19:00:15 CEST 2001 Jan Hubicka <jh@suse.cz>
1600
1601 * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
1602
1603 Thu Apr 5 18:25:56 CEST 2001 Jan Hubicka <jh@suse.cz>
1604
1605 * i386.c (function_arg): Return constm1_rtx for last argument.
1606 (ix86_expand_prologue): Update gen_call calls.
1607 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
1608 * i386.md (call_pop): Likewise.
1609 (call): Second operand is VOIDmode.
1610 (call_0): Likewise; Support 64bits.
1611 (call_exp): New expander.
1612 (call_1): Get to the sync.
1613 (call_1_exp): New pattern.
1614 (call_value): Support 64bit.
1615 (call_value_exp): New pattern.
1616 (untyped_call): Update gen_call call.
1617 (call_value_pop): Disable for 64bit.
1618 (call_value_0_rex64): New pattern.
1619 (call_value_1_rex64): Likewise.
1620
1621 2001-04-05 Bo Thorsen <bo@suse.de>
1622
1623 * i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT.
1624
1625 Thu Apr 5 13:44:17 2001 J"orn Rennecke <amylaar@redhat.com>
1626
1627 * i386.md (*andsi_1+3): If used after reload, make sure the operand
1628 satisfies ANY_QI_REG_P.
1629
1630 2001-04-05 Bernd Schmidt <bernds@redhat.com>
1631
1632 * config/ia64/ia64.c (rtx_needs_barrier): A PARALLEL can contain
1633 ASM_OPERAND.
1634
1635 * sched-deps.c (sched_analyze_insn): Revert more of the March 27
1636 change.
1637
1638 2001-04-04 Zack Weinberg <zackw@stanford.edu>
1639
1640 * config.gcc: Remove default for xm_file. Clean up local
1641 machine type handling. Remove settings of xm_file to
1642 something that doesn't exist. In the big switch, set xm_file,
1643 don't append to it (the value before the big switch is always
1644 null). Don't force build_xm_file or host_xm_file to have a value.
1645 * configure.in: Remove default for xm_file. Do not special
1646 case $cpu/xm-$cpu.h not existing.
1647 * configure: Regenerate.
1648
1649 2001-04-04 Diego Novillo <dnovillo@redhat.com>
1650
1651 * simplify-rtx.c (simplify_binary_operation): Check for overflow
1652 when folding integer division and modulo operations.
1653
1654 2001-04-04 Andrew MacLeod <amacleod@redhat.com>
1655
1656 * dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE
1657 instead of DWARF2_ADDR_SIZE for EH addresses.
1658 (output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for
1659 EH addresses.
1660
1661 2001-04-04 Richard Henderson <rth@redhat.com>
1662
1663 * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable.
1664 * config/ia64/t-glibc (LIB2ADDEH): Disable.
1665 * config/ia64/t-ia64 (LIB2ADDEH): Disable.
1666
1667 2001-04-04 Richard Henderson <rth@redhat.com>
1668
1669 * configure.in (gcc_cv_as_leb128): Escape "." in regexp.
1670 * configure: Rebuilt.
1671
1672 2001-04-04 Jakub Jelinek <jakub@redhat.com>
1673
1674 * gcse.c (delete_null_pointer_checks_1): Add delete_list argument,
1675 push insns to delete to it instead of deleting them.
1676 (delete_null_pointer_checks): Delete insns from delete_list after
1677 all delete_null_pointer_checks_1 passes are done.
1678
1679 2001-04-04 Richard Henderson <rth@redhat.com>
1680
1681 * configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
1682 * configure: Rebuilt.
1683
1684 2001-04-04 Zack Weinberg <zackw@stanford.edu>
1685
1686 * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic.
1687 * config/romp/xm-romp.h: Delete.
1688
1689 2001-04-04 Bernd Schmidt <bernds@redhat.com>
1690
1691 * sched-deps.c (sched_analyze_insn): Partially revert March 27
1692 change.
1693
1694 2001-04-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1695
1696 * emit-rtl.c (mark_label_nuses) Increment the label uses for
1697 all labels present in rtx.
1698 (try_split) Call new function for all split insns.
1699
1700 2001-04-04 Jakub Jelinek <jakub@redhat.com>
1701
1702 * recog.c (validate_replace_rtx_1): Instead of aborting just make
1703 sure the change won't be validated.
1704
1705 Wed Apr 4 00:45:38 EDT 2001 John Wehle (john@feith.com)
1706
1707 * rtl.h (set_noop_p): Declare.
1708 * flow.c (set_noop_p): Move from here ...
1709 * rtlanal.c (set_noop_p): ... to here and enhance.
1710 * cse.c (delete_trivially_dead_insns): Use it.
1711 * gcse.c (hash_scan_set): Likewise.
1712 * jump.c (delete_noop_moves): Likewise.
1713 * recog.c (split_all_insns): Likewise.
1714
1715 2001-04-04 Alan Modra <alan@linuxcare.com.au>
1716
1717 * dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting
1718 stack pointer via a LO_SUM. Ditto for setting a temp register
1719 used to save to the stack. Set cfa_temp when setting fp, and
1720 allow matches to cfa_temp in addition to cfa_store when saving
1721 regs. Handle POST_INC and LO_SUM register stores. Document the
1722 changes and errors in rule 12 doco.
1723
1724 * pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn.
1725 (actual_fsize, local_fsize, save_fregs): Move for store_reg to see.
1726 (load_reg): Move closer to epilogue code.
1727 (DO_FRAME_NOTES): Define to control the following..
1728 (FRP): Define to set RTX_FRAME_RELATED_P on insns.
1729 (hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR
1730 notes as necessary.
1731 (hppa_expand_epilogue): Likewise.
1732
1733 2001-04-03 Richard Henderson <rth@redhat.com>
1734
1735 * configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
1736 * configure: Rebuild.
1737
1738 2001-04-03 Richard Henderson <rth@redhat.com>
1739
1740 * rtl.h (LCT_THROW): New.
1741 * calls.c (emit_library_call_value_1): Handle it.
1742 * except.c (connect_post_landing_pads): Use it.
1743
1744 2001-04-03 Zack Weinberg <zackw@stanford.edu>
1745
1746 * gansidecl.h: Delete file.
1747 * configure.in: Change all refs to gansidecl.h to use
1748 ansidecl.h. Adjust *_file_list so they know where ansidecl.h
1749 lives.
1750 * configure: Regenerate.
1751
1752 * Makefile.in (intl.o): Don't depend on gansidecl.h.
1753 * defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
1754 * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
1755 Don't include gansidecl.h.
1756 * intl.c, main.c, version.c, fixinc/fixlib.h,
1757 fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
1758 gansidecl.h.
1759
1760 Tue Apr 3 19:41:21 CEST 2001 Jan Hubicka <jh@suse.cz>
1761
1762 * i386.c (ix86_force_to_memory, ix86_free_from_memory):
1763 Update for 64bit.
1764
1765 2001-04-03 Zack Weinberg <zackw@stanford.edu>
1766
1767 * config/i386/xm-beos.h, config/i386/xm-isc.h,
1768 config/i386/xm-next.h, config/i386/xm-sco.h,
1769 config/i386/xm-sco5.h, config/m68k/xm-plexus.h,
1770 config/m88k/xm-m88k.h: Delete.
1771
1772 * config/i386/xm-djgpp.h: Don't define __MSDOS__.
1773 * config/romp/xm-romp.h: Don't define bcopy.
1774 * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF,
1775 HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA.
1776
1777 * config.gcc: Remove references to deleted files.
1778
1779 14 xm-host.h remain, 1 xm-cpu.h.
1780
1781 2001-04-03 Jakub Jelinek <jakub@redhat.com>
1782 David S. Miller <davem@pierdol.cobaltmicro.com>
1783 Andrew MacLeod <amacleod@redhat.com>
1784
1785 Use byte offsets in SUBREGs instead of words.
1786
1787 * alias.c (nonlocal_mentioned_p): Use subreg_regno function.
1788 * caller-save.c (mark_set_regs): Change callers of subreg_hard_regno
1789 to pass new argument.
1790 (add_stored_regs): Use subreg_regno_offset function.
1791 * calls.c (expand_call): For non-paradoxical SUBREG take endianess
1792 into account.
1793 (precompute_arguments): Use gen_lowpart_SUBREG.
1794 * combine.c (try_combine): Replace explicit XEXP with SUBREG_REG.
1795 (combine_simplify_rtx): Rework to use SUBREG_BYTE.
1796 (simplify_set): Rework to use SUBREG_BYTE.
1797 (expand_field_assignment): Use SUBREG_BYTE.
1798 (make_extraction): Use SUBREG_BYTE.
1799 (if_then_else_cond): Use SUBREG_BYTE.
1800 (apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments.
1801 (gen_lowpart_for_combine): Compute full byte offset.
1802 * cse.c (mention_regs): Use SUBREG_BYTE.
1803 (remove_invalid_subreg_refs): Rework to use SUBREG_BYTE.
1804 (canon_hash): Use SUBREG_BYTE.
1805 (fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword.
1806 (gen_lowpart_if_possible): Formatting.
1807 * dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos
1808 correctly.
1809 * dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
1810 (mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
1811 (loc_descriptor): Fixup explicit XEXP into SUBREG_REG
1812 * dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG
1813 (output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
1814 (output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG
1815 * emit-rtl.c (gen_rtx_SUBREG): New function, used to verify
1816 certain invariants about SUBREGs the compiler creates.
1817 (gen_lowpart_SUBREG): New function.
1818 (subreg_hard_regno): New function to get the final register number.
1819 (gen_lowpart_common): Use SUBREG_BYTE.
1820 (gen_imagpart): Spacing nits.
1821 (subreg_realpart_p): Use SUBREG_BYTE.
1822 (gen_highpart): Use SUBREG_BYTE.
1823 (subreg_lowpart_p): Always compute endian corrected goal offset,
1824 even at the byte level, then compare against that.
1825 (constant_subword): New function, pulled out all constant cases
1826 from operand_subword and changed second argument name to offset.
1827 (operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early
1828 and call constant_subword to do the work. Return const0_rtx if
1829 looking for a word outside of OP.
1830 (operand_subword_force): Change second arg name to offset.
1831 * expmed.c (store_bit_field): Use SUBREG_BYTE.
1832 (store_split_bit_field): Use SUBREG_BYTE.
1833 (extract_bit_field): Use SUBREG_BYTE.
1834 (extract_split_bit_field): Use SUBREG_BYTE.
1835 (expand_shift): Use SUBREG_BYTE.
1836 * expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG.
1837 * final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE.
1838 * flow.c (set_noop_p): Use SUBREG_BYTE.
1839 (mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead.
1840 * function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG.
1841 (fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian
1842 correction code.
1843 (optimize_bit_field): Use SUBREG_BYTE.
1844 (purge_addressof_1): Use SUBREG_BYTE.
1845 (purge_single_hard_subreg_set): Use subreg_regno_offset function.
1846 (assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are
1847 actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true.
1848 * gengenrtl.c (special_rtx): Add SUBREG.
1849 * global.c (mark_reg_store): Use SUBREG_BYTE.
1850 (set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE.
1851 * ifcvt (noce_emit_move_insn): Use SUBREG_BYTE.
1852 * integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure
1853 final byte offset is congruent to subreg's mode size.
1854 (subst_constants): Use SUBREG_BYTE.
1855 (mark_stores): Use subreg_regno_offset function.
1856 * jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset
1857 function and SUBREG_BYTE.
1858 * local-alloc.c (combine_regs): Use subreg_regno_offset function.
1859 (reg_is_born): Use subreg_hard_regno.
1860 * recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte
1861 endian correction code. Don't combine subregs unless resulting
1862 offset aligns with type. Fix subreg constant extraction for DImode.
1863 Simplify SUBREG of VOIDmode CONST_DOUBLE.
1864 (general_operand): Remove dead mode_altering_drug code.
1865 (indirect_operand): Use SUBREG_BYTE.
1866 (constrain_operands): Use subreg_regno_offset function.
1867 * reg-stack.c (get_true_reg): Use subreg_regno_offset function.
1868 * regmove.c (regmove_optimize): Use SUBREG_BYTE.
1869 (optimize_reg_copy_3): Use gen_lowpart_SUBREG.
1870 * regs.h (REG_SIZE): Allow target to override.
1871 (REGMODE_NATURAL_SIZE): New macro which target can override.
1872 * reload.c (reload_inner_reg_of_subreg): subreg_regno should be used
1873 on the entire subreg rtx.
1874 (push_reload): Use SUBREG_BYTE in comments and code.
1875 (find_dummy_reload): Use subreg_regno_offset. Only adjust offsets
1876 for hard registers inside subregs.
1877 (operands_match_p): Use subreg_regno_offset.
1878 (find_reloads): Use SUBREG_BYTE and only advance offset for subregs
1879 containing hard regs.
1880 (find_reload_toplev): Use SUBREG_BYTE. Remove byte endian
1881 corrections when fixing up MEM subregs.
1882 (find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and
1883 subreg_regno_offset where appropriate.
1884 (find_reloads_subreg_address): Use SUBREG_BYTE. Remove
1885 byte endian corrections when fixing up MEM subregs.
1886 (subst_reloads): When combining two subregs, make sure final
1887 offset is congruent to subreg's mode size.
1888 (find_replacement): Use SUBREG_BYTE and subreg_regno_offset.
1889 (refers_to_regno_for_reload_p): Use subreg_regno.
1890 (reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset.
1891 * reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian
1892 correction code for memory subreg fixups.
1893 (forget_old_reload_1): Use subreg_regno_offset.
1894 (choose_reload_regs): Use subreg_regno.
1895 (emit_input_reload_insns): Use SUBREG_BYTE.
1896 (reload_combine_note_store): Use subreg_regno_offset.
1897 (move2add_note_store): Use subreg_regno_offset.
1898 * resource.c (update_live_status, mark_referenced_resources): Use
1899 subreg_regno function.
1900 (mark_set_resources): Use subreg_regno function.
1901 * rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE.
1902 (subreg_regno_offset, subreg_regno): Define prototypes.
1903 (subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions.
1904 (gen_lowpart_SUBREG): Add prototype.
1905 * rtl.texi (subreg): Update to reflect new byte offset representation.
1906 Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now.
1907 * rtlanal.c (refers_to_regno_p): Use subreg_regno.
1908 (reg_overlap_mentioned_p): Use subreg_regno.
1909 (replace_regs); Make sure final offset of combined subreg is
1910 congruent to size of subreg's mode.
1911 (subreg_regno_offset): New function.
1912 (subreg_regno): New function.
1913 * sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE.
1914 * sdbout.c (sdbout_symbol): Compute offset using alter_subreg.
1915 * stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG.
1916 * tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead.
1917 (SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides.
1918 * config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno.
1919 (a29k_get_reloaded_address): Use SUBREG_BYTE.
1920 (print_operand): Use SUBREG_BYTE.
1921 * config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE.
1922 * config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE.
1923 (arm_reload_out_hi): Use SUBREG_BYTE.
1924 * config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset
1925 instead of SUBREG_WORD.
1926 (d30v_print_operand_memory_reference): Use subreg_regno_offset.
1927 * config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix
1928 SUBREG creation to use byte offset.
1929 * config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit
1930 inverted load insns): Fix explicit rtl subregs to use byte
1931 offsets.
1932 * config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3,
1933 udivsi3, umodsi3): Generate SUBREGs with byte offsets.
1934 * config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE.
1935 * config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl
1936 to use byte offsets.
1937 (unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets.
1938 * config/i960/i960.md (extendhisi2): Generate SUBREGs with byte
1939 offsets, also make sure it is congruent to SUBREG's mode size.
1940 (extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2,
1941 unnamed ldob insn): Generate SUBREGs with byte offset.
1942 (zero_extendqihi2): SUBREG's are byte offsets.
1943 * config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE.
1944 (m68hc11_gen_highpart): Use SUBREG_BYTE.
1945 * config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2,
1946 zero-extendqisi2): Generate SUBREGs with byte offset.
1947 (umulsidi3, mulsidi3, subreghi1ashrdi_const32,
1948 subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit
1949 subregs in rtl to use byte offsets.
1950 * config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset.
1951 * config/mips/mips.c (mips_move_1word): Use subreg_regno_offset.
1952 (mips_move_2words): Use subreg_regno_offset.
1953 (mips_secondary_reload_class): Use subreg_regno_offset.
1954 * config/mips/mips.md (DImode plus, minus, move, and logical op
1955 splits): Fixup explicit subregs in rtl to use byte offsets.
1956 * config/mn10200/mn10200.c (print_operand): Use subreg_regno function.
1957 * config/mn10300/mn10300.c (print_operand): Use subreg_regno function.
1958 * config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in
1959 rtl to use byte offsets.
1960 * config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE.
1961 * config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit
1962 subregs to use byte offsets.
1963 * config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1):
1964 Fixup explicit subregs in rtl to use byte offsets.
1965 * config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE
1966 and remove byte endian correction code.
1967 * config/sh/sh.c (output_movedouble): Use subreg_regno.
1968 (gen_ashift_hi): Use SUBREG_BYTE.
1969 (regs_used): Use subreg_regno_offset.
1970 (machine_dependent_reorg): Use subreg_regno_offset.
1971 * config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE.
1972 * config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno.
1973 (movdf_i4): Subregs are byte offsets now.
1974 * config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE.
1975 * config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed.
1976 (REGMODE_NATURAL_SIZE): Override.
1977 (REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode.
1978 * config/sparc/sparc.md (TFmode move splits): Generate SUBREGs
1979 with byte offsets.
1980 (zero_extendhisi2, zero_extendqidi2_insn, extendhisi2,
1981 extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn,
1982 extendqidi2): Generate SUBREGs with byte offsets, also make sure
1983 it is congruent to SUBREG's mode size.
1984 (smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte
1985 offsets.
1986 (cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc,
1987 cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2,
1988 lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper
1989 SUBREG_BYTE offset for non-paradoxical subregs in patterns.
1990 * config/v850/v850.c (print_operand, output_move_double): Use
1991 subreg_regno function.
1992
1993 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
1994
1995 * configure.in (target_subdir): Use target_alias, not target.
1996 * configure: Rebuilt.
1997
1998 * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the
1999 other way round.
2000 * config/sh/crti.asm: Fix typos in comments.
2001
2002 2001-04-03 Alan Modra <alan@linuxcare.com.au>
2003
2004 * pa.h: Revise comments for TARGET_NO_SPACE_REGS and
2005 TARGET_FAST_INDIRECT_CALLS.
2006 * pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with
2007 -fPIC. Don't warn.
2008 (return_addr_rtx): Short circuit export stub matching when
2009 TARGET_NO_SPACE_REGS.
2010 (output_millicode_call): For out of range calls, make -fPIC
2011 take precedence, then TARGET_PORTABLE_RUNTIME, then ble. Don't
2012 return before delay slot checks when TARGET_PORTABLE_RUNTIME.
2013 * pa.md: Modify length attr calculation of all millicode insns to
2014 match above.
2015
2016 2001-04-02 Geoffrey Keating <geoffk@redhat.com>
2017
2018 * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
2019 Require at least 2.11 in the version test. Specifically check
2020 for and reject GAS version 2.10.90.
2021 * configure: regenerate.
2022
2023 2001-04-03 Alan Modra <alan@linuxcare.com.au>
2024
2025 * pa.c (override_options): Remove PIC profiling warning.
2026 (hp_profile_labelno): Delete.
2027 (hp_profile_label_rtx): Delete.
2028 (hp_profile_label_name): Delete.
2029 (pa_add_gc_roots): Remove reference to hp_profile_label_rtx.
2030 (output_function_prologue): Remove profiling code and all tests on
2031 profile_flag. Move store of PIC_OFFSET_TABLE_REGNUM now that
2032 merge_sp_adjust_with_store can work for PIC and profiling.
2033 (hppa_expand_epilogue): Remove profile_flag test.
2034 (hppa_can_use_return_insn_p): Likewise.
2035 (hppa_init_pic_save): Emit before tail_recursion_reentry, and
2036 cater for PROFILE_HOOK.
2037 (hppa_profile_hook): New function.
2038 * pa.h (FUNCTION_PROFILER): Now does nothing.
2039 (PROFILE_HOOK): Define.
2040 (hppa_profile_hook): Declare.
2041 (PROFILE_BEFORE_PROLOGUE): Delete.
2042 (ASM_OUTPUT_REG_PUSH): Delete.
2043 (ASM_OUTPUT_REG_POP): Delete.
2044 * pa.md (call_profiler): Turn it into a call insn, and don't `use'
2045 r24. Accept function name operand, and use this and a locally
2046 generated label to calculate pc-rel offset to func start.
2047
2048 2001-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2049
2050 * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o,
2051 ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on
2052 $(SYSTEM_H).
2053
2054 2001-04-03 Alan Modra <alan@linuxcare.com.au>
2055
2056 * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and
2057 LO_SUM cases to where they belong.
2058
2059 2001-04-02 Richard Henderson <rth@redhat.com>
2060
2061 * except.h (lang_eh_type_covers): Mark extern.
2062 (lang_eh_runtime_type): Likewise.
2063
2064 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2065
2066 * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c,
2067 gengenrtl.c: Wrap generated header in multiple-include guard.
2068 Improve error checking.
2069
2070 2001-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2071
2072 * configure.in: Don't check for putenv.
2073 * configure: Regenerate.
2074 * gcc.c (putenv): Don't define.
2075 * vax/xm-vms.h: Handle putenv.
2076
2077 2001-04-02 Jakub Jelinek <jakub@redhat.com>
2078
2079 * ifcvt.c (noce_emit_move_insn): New.
2080 (noce_try_store_flag, noce_try_store_flag_constants,
2081 noce_try_store_flag_inc, noce_try_store_flag_mask,
2082 noce_try_cmove, noce_try_cmove_arith, noce_try_minmax,
2083 noce_try_abs): Use it.
2084 (noce_process_if_block): Likewise.
2085 For STRICT_LOW_PART, take mode from its SUBREG.
2086
2087 2001-04-02 Jakub Jelinek <jakub@redhat.com>
2088
2089 * fold-const.c (fold): Before optimizing unsigned comparison with
2090 0x7fffffffU, make sure arg0 is integral type.
2091
2092 2001-04-02 Joseph S. Myers <jsm28@cam.ac.uk>
2093
2094 * c-tree.texi: Document representation of wide strings.
2095
2096 2001-04-01 Richard Henderson <rth@redhat.com>
2097
2098 * except.h (expand_builtin_dwarf_fp_regnum): Declare.
2099
2100 Sun Apr 1 11:49:05 CEST 2001 Jan Hubicka <jH@suse.cz>
2101
2102 * i386.md: remove obsoleted comments.
2103 (adddi_?): Rename to adddi_?_rex64; disable for 32bit.
2104 (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64;
2105 fix output template.
2106
2107 2001-03-31 Marek Michalkiewicz <marekm@linux.org.pl>
2108
2109 * config/avr/libgcc.S (__mulhi3): Optimize previous change.
2110
2111 2001-03-30 Bernd Schmidt <bernds@redhat.com>
2112
2113 * loop.c (load_mems): When generating a load from a pseudo, update
2114 REGNO_LAST_UID.
2115
2116 Fri Mar 30 17:36:43 CEST 2001 Jan Hubicka <jh@suse.cz>
2117
2118 * i386.c (ix86_split_long_move): Use change address to compensate
2119 stack pointer change in push instruction.
2120
2121 Fri Mar 30 00:31:00 CEST 2001 Jan Hubicka <jh@suse.cz>
2122
2123 * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p
2124 instead of rtx_equal_p; fix the output template.
2125
2126 Fri Mar 30 00:21:41 CEST 2001 Jan Hubicka <jh@suse.cz>
2127
2128 * i386.c (ix86_expand_setcc): Support 64bit.
2129 (ix86_expand_int_movcc): Likewise.
2130 * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64):
2131 New patterns.
2132
2133 * i386.md (allocate_stack_worker): Turn to expander.
2134 (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns.
2135
2136 * i386.c (print_reg): Do not print x86_64 style regs on IA-32
2137
2138 2001-03-29 Richard Henderson <rth@redhat.com>
2139
2140 * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h.
2141
2142 2001-03-28 Matthew Hiller <hiller@redhat.com>
2143
2144 * config/mn10300/mn10300.md (cmpsi): Fix first alternative's
2145 output template.
2146
2147 * MAINTAINERS: Added self.
2148
2149 2001-03-28 Richard Henderson <rth@redhat.com>
2150
2151 * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
2152 Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.
2153
2154 2001-03-28 Jim Wilson <wilson@redhat.com>
2155
2156 * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
2157 operand_subword.
2158
2159 2001-03-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2160
2161 * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN.
2162
2163 * tradcif.y (yyerror): Likewise. Add format specifier in call to
2164 `error'.
2165
2166 * tradcpp.c (macroexpand): Likewise for call to `error_with_line'.
2167
2168 2001-03-28 DJ Delorie <dj@redhat.com>
2169
2170 * Makefile.in (stage1_build): Revert CFLAGS patch.
2171
2172 2001-03-28 Marek Michalkiewicz <marekm@linux.org.pl>
2173
2174 * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop
2175 when multiplier or multiplicand is zero.
2176
2177 2001-03-28 Bernd Schmidt <bernds@redhat.com>
2178
2179 * cselib.c (hash_rtx): Don't do tail recursion elimination by hand.
2180
2181 * config/ia64/ia64.c (update_set_flags): New function, broken out of
2182 rtx_needs_barrier.
2183 (set_src_needs_barrier): Likewise.
2184 (rtx_needs_barrier): For SET case, use these two functions. Rework
2185 PARALLEL case to handle all inputs before all outputs.
2186 (emit_insn_group_barriers): Call init_insn_group_barriers only if we
2187 saw a label and no stop bit since then.
2188 (maybe_rotate, process_epilogue): Add prototypes.
2189
2190 2001-03-28 Richard Henderson <rth@redhat.com>
2191
2192 * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX,
2193 not TARGET_TOC for special toc restore handling.
2194 * config/rs6000/rs6000.md (eh_return): Likewise.
2195
2196 2001-03-28 Richard Henderson <rth@redhat.com>
2197
2198 * config/sparc/sparc.c (eligible_for_epilogue_delay): False if
2199 current_function_calls_eh_return.
2200 (output_function_epilogue): Handle eh_return.
2201 * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove.
2202 (EH_RETURN_DATA_REGNO): New.
2203 (EH_RETURN_STACKADJ_RTX): New.
2204 (EH_RETURN_HANDLER_RTX): New.
2205 * config/sparc/sparc.md (call/short branch peepholes): Check
2206 can_throw_internal instead of in_same_eh_region.
2207
2208 * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space
2209 for eh_return data registers.
2210 (rs6000_emit_prologue): Save eh_return data registers.
2211 (rs6000_emit_epilogue): Force inline restores if eh_return.
2212 Restore eh_return data registers. Mind EH_RETURN_STACKADJ_RTX.
2213 * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset.
2214 (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New.
2215 (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and
2216 the target uses one.
2217 * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove.
2218 (return_eh_si, return_eh_di): Remove.
2219 (eh_return): New, from corpse of eh_epilogue.
2220 (eh_set_lr_si, eh_set_lr_di): New.
2221
2222 * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs.
2223 (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs.
2224 True for pic register if current_function_calls_eh_return.
2225 (ix86_expand_epilogue): Change "emit_return" argument into "style".
2226 Handle eh_return requirements.
2227 * config/i386/i386.h (EH_RETURN_DATA_REGNO): New.
2228 (EH_RETURN_STACKADJ_RTX): New.
2229 * config/i386/i386.md (exception_receiver): Remove.
2230 (eh_return, eh_return_1): New.
2231 * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
2232
2233 * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs.
2234 (alpha_mark_machine_status): No eh_epilogue_sp_ofs ...
2235 (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead.
2236 * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs.
2237 (EH_RETURN_DATA_REGNO): New.
2238 (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New.
2239 * config/alpha/alpha.md (eh_epilogue): Remove.
2240 (exception_receiver): Use $26 for ldgp input.
2241 * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
2242
2243 2001-03-28 Richard Henderson <rth@redhat.com>
2244
2245 * except.c: Rewrite entirely for IA-64 ABI exception handling.
2246 * except.h: Likewise.
2247
2248 * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c
2249 (LIB2ADDEHDEP): New.
2250 (LIB2FUNCS_EH): Remove.
2251 (LIB2ADD): Remove LIB2ADDEH.
2252 (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH.
2253 (LIBGCC_DEPS): Use LIB2ADDEHDEP.
2254 (crt{begin,end}[S].o): Likewise.
2255 (except.o): Update includes.
2256 * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP.
2257 (libgcc2_c_dep): Use LIB2ADDEHDEP.
2258
2259 * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end.
2260 * bb-reorder.c (reorder_basic_blocks): Don't disable for EH.
2261 * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New.
2262 * builtins.c (expand_builtin): Implement it.
2263 [BUILT_IN_EH_RETURN]: Update for nr arguments change.
2264 * c-common.c (c_common_nodes_and_builtins): Declare it.
2265 * c-decl.c (init_decl_processing): Update __builtin_eh_return.
2266 * calls.c (libfunc_nothrow): Remove.
2267 (emit_library_call_value_1): Don't call it.
2268 * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h.
2269 * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements.
2270 (DW_EH_PE_*): New defines for pointer encoding in .eh_frame.
2271 * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number.
2272 (current_funcdef_number): Globalize.
2273 (output_call_frame_info): Emit frame data if an lsda is needed.
2274 Generate augmentation for personality routine. Don't play with
2275 difference symbols.
2276 (dwarf2out_begin_prologue): Record funcdef_number.
2277 * dwarf2out.h (current_funcdef_number): Declare.
2278 * expr.c (expand_expr): Update for except.h name changes.
2279 Remove POPDCC_EXPR, POPDHC_EXPR. Add EXC_PTR_EXPR.
2280 * expr.h (LTI_throw, LTI_rethrow): Remove.
2281 (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove.
2282 (LTI_eh_rtime_match): Remove.
2283 (LTI_unwind_resume, LTI_eh_personality): Add.
2284 (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add.
2285 * final.c (final): Don't call check_exception_handler_labels,
2286 init_insn_eh_region, or free_insn_eh_region.
2287 (final_scan_insn): Always emit debug labels for
2288 NOTE_INSN_EH_REGION notes.
2289 * flags.h (flag_new_exceptions): Remove.
2290 * flow.c (entry_exit_blocks): Remove eh_beg, eh_end.
2291 (record_active_eh_regions): Remove.
2292 (count_basic_blocks): Check all instructions for REG_EH_REGION.
2293 Use can_throw_internal.
2294 (find_basic_blocks_1): Likewise.
2295 (move_stray_eh_region_notes): Remove.
2296 (find_label_refs): No eh_return_stub_label.
2297 (make_edges): Likewise. No init/free_eh_nesting_info. Handle RESX.
2298 (make_eh_edge): No eh_nest_info. Update for reachable_handlers
2299 changes.
2300 (delete_unreachable_blocks): Don't track deleted handlers.
2301 (flow_delete_block): Use maybe_remove_eh_handler.
2302 (delete_eh_regions): Remove.
2303 (merge_blocks): Don't check for eh region match.
2304 (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO,
2305 EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX.
2306 (init_propagate_block_info): Disable dead frame store optimization
2307 when current_function_calls_eh_return.
2308 (dump_bb): Don't print eh_beg, eh_end.
2309 * function.c (fixup_var_refs): No catch_clauses.
2310 (expand_function_end): Likewise. Call expand_eh_return before
2311 the return register use. Call sjlj_emit_function_exit_after.
2312 (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions.
2313 * function.h (struct function): Add calls_eh_return, uses_eh_lsda.
2314 * ifcvt.c (dead_or_predicable): Remove eh region check.
2315 * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return.
2316 Don't check for EH vs parameters.
2317 (expand_inline_function_eh_labelmap, eif_eh_map): Remove.
2318 (expand_inline_function): Call duplicate_eh_regions.
2319 (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END.
2320 (copy_insn_notes): Remap REG_EH_REGION notes.
2321 (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check.
2322 * integrate.h (struct inline_remap): Add local_return_label.
2323 * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor
2324 check_exception_handler_labels, nor exception_optimize.
2325 (find_cross_jump): No EH region check.
2326 * optabs.c (init_optabs): Update for changed eh libfuncs.
2327 * rtl.def (RESX): New.
2328 * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove.
2329 * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p
2330 checks. Update for except.h name changes.
2331 (expand_cleanups): Likewise.
2332 (expand_dcc_cleanup, expand_dhc_cleanup): Remove.
2333 * toplev.c (dump_file_index, dump_file): Add .02.eh dump.
2334 (compile_file): Call init_eh before init_optabs. Don't
2335 output_exception_table here.
2336 (rest_of_compilation): Call convert_from_eh_region_ranges,
2337 convert_to_eh_region_ranges, output_function_exception_table.
2338 Don't emit_eh_context.
2339 * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove.
2340 (EXC_PTR_EXPR): New.
2341
2342 * md.texi (eh_epilogue): Remove.
2343 (eh_return): Document.
2344 * tm.texi (EH_RETURN_DATA_REGNO): Document.
2345 (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document.
2346
2347 * eh-common.h: Remove file.
2348 * frame-dwarf2.c, frame.c, frame.h: Remove files.
2349 * libgcc2.c (L_eh): Remove.
2350
2351 * unwind-dw2-fde.c: New file, largely copied from frame.c.
2352 * unwind-dw2-fde.h: New file.
2353 * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c.
2354 * unwind-sjlj.c, unwind.h, unwind.inc: New files.
2355 * libgcc-std.ver: Update for eh symbols.
2356
2357 2001-03-27 Richard Henderson <rth@redhat.com>
2358
2359 * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to
2360 reduce false positives.
2361 (regmove_optimize): Disable if flag_non_call_exceptions.
2362
2363 * stmt.c (expand_return): Remove always true predicate.
2364 (expand_decl_cleanup_no_eh): Remove dead code.
2365
2366 * sched-deps.c (sched_analyze_insn): Consolidate scheduling
2367 barrier code. Add a scheduling barrier if a non-call insn
2368 can throw internally.
2369
2370 * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap.
2371 Auto-inc addresses trap only if their base register does.
2372
2373 * except.c (can_throw_internal): Rename from can_throw.
2374 * except.h, resource.c: Update references.
2375
2376 * integrate.c (copy_insn_list): Use returnjump_p.
2377 (copy_insn_notes): Recurse for CALL_PLACEHOLDER.
2378
2379 * function.h (struct function): Move all boolean valued fields
2380 to single bit fields at the end of the struct.
2381
2382 * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c,
2383 jump.c, toplev.c:
2384 Rename asynchronous_exceptions to flag_non_call_exceptions.
2385
2386 * gthr-single.h (UNUSED): New. Distinguish between how C
2387 and C++ mark unused function arguments. Use throughout.
2388
2389 * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS
2390 value to target configuration header.
2391 * configure.in (CONFIG_SJLJ_EXCEPTIONS): New.
2392 * config.in, configure: Rebuild.
2393 * except.h (USING_SJLJ_EXCEPTIONS): New. Define based on
2394 configuration and target defines.
2395 (exceptions_via_longjmp): Remove.
2396 * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c:
2397 Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp.
2398
2399 * except.h (flag_non_call_exceptions): Move ...
2400 * flags.h: ... here.
2401
2402 * combine.c (distribute_notes) [REG_EH_REGION]: If non-call
2403 exceptions, put the note on the trapping instruction.
2404
2405 * flags.h (flag_new_exceptions): Remove.
2406 * toplev.c: Don't set it.
2407 * final.c: Don't check it.
2408 * except.c: Provide stub definition.
2409
2410 * flow.c (tidy_fallthru_edges): Don't combine complex edges.
2411 (calculate_global_regs_live): Kill call-clobbered registers
2412 across exception edges.
2413 * reg-stack.c (convert_regs_1): Kill the entire target stack
2414 across non-call exception edges.
2415
2416 * flow.c (cleanup_cfg): Take no argument.
2417 * output.h, sibcall.c, toplev.c: Update all calls.
2418
2419 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2420
2421 * configure.in: Don't check for bcopy.
2422 * configure, config.in: Regenerate.
2423
2424 * system.h: Don't define or prototype bcopy, instead poison it.
2425
2426 2001-03-27 Richard Henderson <rth@redhat.com>
2427
2428 * function.c (expand_function_start): Set DECL_REGISTER on
2429 a pseudo used for DECL_RESULT.
2430
2431 * rtl.h (LCT_NORETURN): New.
2432 * calls.c (emit_library_call_value_1): Handle it.
2433
2434 2001-03-27 Stan Shebs <shebs@apple.com>
2435
2436 * objc/objc-act.c (objc_init): Use dump_base_name.
2437 (gen_declaration): Clear the buffer arg.
2438 (gen_declaration_1): New function, body of gen_declaration.
2439 (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
2440 (gen_method_decl): Ditto, plus always clear buffer arg.
2441 (error_with_ivar): Simplify.
2442 (warn_with_method): Ditto.
2443 (build_message_expr): Don't clear buffers.
2444 (dump_interface): Ditto.
2445 (objc_debug): Ditto.
2446 (build_keyword_selector): Clear the buffer by only zeroing
2447 the first element.
2448 (objc_implementation_context): Declare.
2449 (start_class): Warn about missing @end.
2450 (finish_objc): Ditto.
2451
2452 2001-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
2453
2454 * reload1.c (eliminate_regs): Don't abort on MEM USEs.
2455
2456 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2457
2458 * Makefile.in (SYSTEM_H): Define.
2459 Depend on $(SYSTEM_H), not system.h.
2460
2461 * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.
2462
2463 2001-03-27 Jim Wilson <wilson@redhat.com>
2464
2465 * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
2466 IA64_UNWIND_EMIT.
2467 * config/ia64/ia64.c (block_num, need_copy_state): New static vars.
2468 (process_epilogue): New static function.
2469 (process_set): Call process_epilogue instead of emitting .restore
2470 directly.
2471 (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
2472
2473 * flow.c (struct reg_cond_life_info): New fields orig_condition
2474 and stores.
2475 (init_propagate_block_info): Set new fields.
2476 (mark_regno_cond_dead): Set and use new fields.
2477 (flush_reg_cond_reg_1): Likewise.
2478 (and_reg_cond, case AND): Check for redundant AND conditions.
2479 (mark_used_reg): Delete unnecessary clears before freeing splay trees.
2480 Set new fields.
2481
2482 2001-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
2483
2484 * cppmacro.c (stringify_arg): Null terminate strings.
2485
2486 2001-03-27 Zack Weinberg <zackw@stanford.edu>
2487
2488 * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
2489 inclusion style. xm-m68hc11.h no longer exists.
2490 * config/m68hc11/xm-m68hc11.h: Delete file.
2491 * config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.
2492
2493 * config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
2494 Don't define GCC_VERSION, N_, or PARAMS; don't include
2495 gansidecl.h or stdio.h. Define inhibit_libc here.
2496 Make code conditioned on #if GCC_VERSION > 2095 unconditional.
2497 Delete code conditioned on #if GCC_VERSION == 2095.
2498
2499 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
2500 Make code conditioned on #if GCC_VERSION > 2095 unconditional.
2501 Delete code conditioned on #if GCC_VERSION == 2095.
2502
2503 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2504
2505 * system.h: Include symcat.h.
2506 (STRINGIFY): Don't define.
2507
2508 * configure.in: Adjust comment.
2509
2510 * builtins.c: Use STRINGX, not STRINGIFY.
2511 * gencheck.c: Likewise.
2512 * gengenrtl.c: Likewise.
2513 * protoize.c: Likewise.
2514
2515 * cpplex.c: Don't include symcat.h.
2516 * cpplib.c: Likewise.
2517
2518 * gansidecl.h (HAVE_STRINGIZE): Don't define.
2519
2520 2001-03-27 Alan Modra <alan@linuxcare.com.au>
2521
2522 * c-typeck.c (digest_init): Fold init expression.
2523
2524 2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2525
2526 * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
2527
2528 2001-03-27 Alan Modra <alan@linuxcare.com.au>
2529
2530 * except.c (eh_regs): Save results of build_pointer_type to a temp
2531 as FUNCTION_VALUE macro may evaluate its args multiple times.
2532
2533 2001-03-26 Mark Mitchell <mark@codesourcery.com>
2534
2535 * c-common.h (DECL_NUM_STMTS): New macro.
2536 * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
2537 DECL_FRAME_SIZE.
2538 (pushdecl): Likewise.
2539 * c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
2540 * integrate.c (expand_inline_function): Don't check
2541 DECL_FRAME_SIZE.
2542 * print-tree.c (print_node): Don't print it.
2543 * toplev.c (rest_of_compilation): Don't try to inline when
2544 flag_no_inline is on.
2545 * tree.h (DECL_FRAME_SIZE): Remove.
2546 (tree_decl): Adjust accordingly.
2547
2548 2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2549
2550 * combine.c (try_combine): Use memcpy, not bcopy.
2551
2552 * genattrtab.c (expand_units): Likewise.
2553
2554 Mon Mar 26 15:55:08 CEST 2001 Jan Hubicka <jh@suse.cz>
2555
2556 * i386.md (push mem DI peep2): New.
2557 (mov 0, mov -1 peep2): Handle 64bit.
2558 (lea to arithmetics peep2): Handle 64bit leas.
2559 (rsp arithmetics to push/pop peep2s): New.
2560
2561 * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
2562
2563 Mon Mar 26 14:35:18 CEST 2001 Jan Hubicka <jh@suse.cz>
2564
2565 * i386.c (struct machine_function): Add save_varrargs_registers.
2566 (ix86_save_varrargs_registers): New macro.
2567 (ix86_frame_layout): Support 64bit; support red zones and varrargs area.
2568 (ix86_expand_prologue): Likewise.
2569 (ix86_emit_epilogue_esp_adjustement): Likewise.
2570 (ix86_expand_epilogue): Likewise.
2571 * i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
2572 (pro_epilogue_adjust_stack_1): New insn.
2573 (pro_epilogue_adjust_stack_rex64): Likewise.
2574 * i386.h (MASK_NO_RED_ZONE): New constant.
2575 (TARGET_RED_ZONE): New macro.
2576 (TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
2577 (RED_ZONE_SIZE): New constant.
2578 (RED_ZONE_RESERVE): New constant.
2579
2580 2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2581
2582 * toplev.c (set_float_handler): Use memcpy, not bcopy.
2583
2584 2001-03-25 Kazu Hirata <kazu@hxi.com>
2585
2586 * config/h8300/h8300.md (umodqi3): Output a tab instead of a
2587 space.
2588 (modqi3): Likewise.
2589 (umodhi3): Likewise.
2590 (modhi3): Likewise.
2591
2592 2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2593
2594 * mkconfig.sh (DEFINES): Handle entries with '='.
2595
2596 * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
2597 Set xm_defines to MACRO=value instead.
2598
2599 * i370/xm-mvs.h: Delete.
2600
2601 * ns32k/xm-pc532-min.h: Likewise.
2602
2603 Sun Mar 25 15:01:40 CEST 2001 Jan Hubicka <jh@suse.cz>
2604
2605 * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
2606 shiftdi_operand;
2607 use ix86_expand_binary_operator
2608 (?sh??i_?): Disable for 64bit.
2609 * i386.h (PREDICATE_CODES): Add shiftdi_operand.
2610 * i386.c (shiftdi_operand): New predicate.
2611
2612 * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
2613 ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
2614 ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
2615 ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
2616 ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
2617 lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
2618 lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
2619 rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
2620 rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
2621 rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
2622 (rotldi3, rotrdi3): New expanders.
2623
2624 Sun Mar 25 14:25:33 CEST 2001 Jan Hubicka <jh@suse.cz>
2625
2626 * i386.md (movstrsi): Move offline.
2627 (movstrdi): New.
2628 (strmovdi_rex64): New.
2629 (strmov?i): Accept 64bit.
2630 (strmov?i_rex64): New.
2631 (strmov?i_rex_1): New.
2632 (strmov?i_1): Disable for 64bit.
2633 (rep_mov?i_rex64): New.
2634 (rep_mov?i): Disable for 64bit.
2635 (clrstrsi): Move offline.
2636 (strset?i_rex64): New.
2637 (strset?i: Accept 64bit.
2638 (rep_stos?i): Disable for 64bit.
2639 (rep_stos?i_rex64): New.
2640 (strset?i_rex_1): New.
2641 (strset?i_1): Disable for 64bit.
2642 (cmpstrsi): Accept 64bit.
2643 (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
2644 (cmpstrqi_nz_rex_1): New.
2645 (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
2646 (strlensi): Move offline.
2647 (strlendi): New.
2648 (strlenqi_1): Disable for 64bit; fix constraints.
2649 (strlenqi_rex_1): New.
2650 * i386.c (ix86_adjust_counter): New static function.
2651 (ix86_zero_extend_to_Pmode): Likewise.
2652 (ix86_expand_aligntest): Likweise.
2653 (ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
2654 (ix86_expand_movstr): New global function.
2655 (ix86_expand_clrstr): New global function.
2656 (ix86_expand_strlen): New global function.
2657 * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
2658 ix86_expand_strlen): Declare.
2659 (ix86_expand_strlensi_unroll_1): Delete.
2660
2661 Sat Mar 24 23:15:19 CET 2001 Jan Hubicka <jh@suse.cz>
2662
2663 * i386.md (cmpdi): Fix operand predicates.
2664 (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64,
2665 cmpdi_1_insn_rex64): New patterns.
2666 (adddi3): Turn to expander.
2667 (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns.
2668 (addsi3_carry_zext): New pattern.
2669 (adddi_?_rex64): New patterns and splitters.
2670 (addsi_?_zext): New patterns.
2671 (subsi3_carry_zext): New pattern.
2672 (subdi_?_rex64): New patterns and splitters.
2673 (iorsi_?_zext): New patterns.
2674 (iordi_?_rex64): New patterns and splitters.
2675 (iorsi_?_zext): New patterns.
2676 (iorsi_?_zext_imm): New patterns.
2677 (xorsi_?_zext): New patterns.
2678 (xordi_?_rex64): New patterns and splitters.
2679 (xorsi_?_zext): New patterns.
2680 (negdi*): New patterns.
2681 (one_cmpldi*): Likewise.
2682 (one_cmplsi*_zext, negsi*_zext): Likewise.
2683 (testqi_ext_3_rex64): New pattern.
2684
2685 Sat Mar 24 21:13:28 CET 2001 Jan Hubicka <jh@suse.cz>
2686
2687 * i386-protos.h (ix86_split_long_move): Return void.
2688 * i386.c (ix86_split_to_parts): Handle 64bit target.
2689 (ix86_split_long_move): Likewise.
2690 * i386.md (all calls to ix86_split_long_move): Update.
2691
2692 2001-03-23 Richard Henderson <rth@redhat.com>
2693
2694 * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables
2695 to avoid shadowing arguments.
2696
2697 2001-03-23 Jakub Jelinek <jakub@redhat.com>
2698
2699 * varasm.c (make_decl_rtl): Don't append var_labelno discriminator
2700 to variable names where DECL_NAME is different from
2701 DECL_ASSEMBLER_NAME.
2702
2703 2001-03-23 Jim Wilson <wilson@redhat.com>
2704
2705 * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test.
2706 (assemble_alias): Call make_decl_rtl.
2707
2708 Fri Mar 23 16:59:08 2001 J"orn Rennecke <amylaar@redhat.com>
2709
2710 * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
2711
2712 2001-03-23 Bryce McKinlay <bryce@albatross.co.nz>
2713
2714 * extend.texi: Document the "java_interface" attribute.
2715
2716 2001-03-22 Zack Weinberg <zackw@stanford.edu>
2717
2718 * mkconfig.sh: Use a subshell with redirected stdout,
2719 instead of closing stdout and confusing commands that run
2720 afterward. Throw away output of cmp.
2721
2722 2001-03-22 Gordon Sadler <gbsadler1@lcisp.com>
2723
2724 * Makefile.in (stage1_build): Pass CFLAGS to stage1_build.
2725
2726 Thu Mar 22 22:15:59 CET 2001 Jan Hubicka <jh@suse.cz>
2727
2728 * i386.md (zero_extendsidi2_32): Break out from ...
2729 (zero_extendsidi2): ... here ; turn to expander.
2730 (zero_extendsidi2_rex64): New.
2731 (extendsidi2_32): Break out from ...
2732 (extendsidi2): ... here ; turn to expander.
2733 (extendsidi2_rex64): New.
2734 (zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New.
2735 (trunc?f?f splitters): Add 64bit versions.
2736
2737 Thu Mar 22 21:41:16 CET 2001 Jan Hubicka <jh@suse.cz>
2738
2739 * i386.md (pushsi, pushsi2_prologue): Disable.
2740 (pushsi2_rex64): New.
2741 (movabs?i_1_rex64, movabs?i_2_rex64): New.
2742 (movqi_ext_1): Disable for 64bit.
2743 (movqi_ext_1_rex64): New.
2744 (pushdi2_rex64): New pattern, peep2s and splitter.
2745 (pushdi2_prologue_rex64): New pattern.
2746 (popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64):
2747 Likewise.
2748 (movdi splitters): Disable for 64bit.
2749 (movdi_1_rex64): New pattern, peep2s and splitters.
2750 (swapdi): New pattern.
2751 (pushsf): Disable for 64bit.
2752 (pushsf_rex64): New pattern and splitter.
2753 (pushdf_nointeger): Disable for 64bit.
2754 (pushdf_integer): Handle the 64bit case.
2755 (pushtf): Likewise; update splitters.
2756
2757 2001-03-22 Richard Henderson <rth@redhat.com>
2758
2759 * mkconfig.sh: Include insn-flags.h.
2760 * Makefile.in (CONFIG_H): Include insn-flags.h.
2761 (lots of objects): Remove insn-codes.h and insn-flags.h.
2762
2763 * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c,
2764 integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c,
2765 regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
2766 avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c,
2767 dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c,
2768 i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c,
2769 m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c,
2770 mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c,
2771 pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c,
2772 v850/v850.c, vax/vax.c:
2773 Don't include insn-flags.h.
2774
2775 * diagnostic.c, expr.h, reload.c, toplev.c:
2776 Don't include insn-codes.h.
2777
2778 * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c,
2779 final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c,
2780 c4x/c4x.c, i960/i960.c, mips/mips.c:
2781 Don't include insn-codes.h or insn-flags.h.
2782
2783 * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h
2784 or insn-flags.h in the generated code.
2785 * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx".
2786 (main): Forward declare struct rtx_def.
2787
2788 2001-03-22 Joseph S. Myers <jsm28@cam.ac.uk>
2789
2790 * invoke.texi (-ffast-math): Remove duplicate line about
2791 __FAST_MATH__.
2792
2793 * gcc.texi: Remove more obsolete documentation of bugs and
2794 installation problems.
2795
2796 2001-03-21 Kazu Hirata <kazu@hxi.com>
2797
2798 * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
2799 into two parts.
2800
2801 2001-03-20 Jason Merrill <jason@redhat.com>
2802
2803 * collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
2804 not '.' or '$'.
2805 * tree.c (FILE_FUNCTION_FORMAT): Likewise.
2806 * varasm.c (CHKR_PREFIX): Likewise.
2807
2808 Wed Mar 21 14:27:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2809
2810 * gcse.c (hash_scan_set): An expression is not anticipatible if it
2811 is part of a multi-SET insn.
2812
2813 * cse.c (find_comparison_args): Remove previous change.
2814 * ifcvt.c (noce_process_if_block): When moving an insn, remove any
2815 REG_EQUAL notes.
2816
2817 * config/i386/i386.md (conditional_trap): Remove warning.
2818
2819 * recog.c (push_operand): Fix error in last change that caused
2820 undefined symbol on many targets.
2821
2822 * sdbout.c: #include ggc.h.
2823 (sdbout_init): Move to end of file.
2824 Call ggc_add_tree_root for anonymous_types.
2825 (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
2826 (sdbout_one_type): Use DECL_NAME for field name.
2827 * Makefile.in (sdbout.o): Show includes ggc.h.
2828
2829 Wed Mar 21 20:33:26 CET 2001 Jan Hubicka <jh@suse.cz>
2830
2831 * i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
2832 (override_options): Use properlimits for preferred_stack_boundary.
2833 (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
2834 on x86_64.
2835 (ext_register_operand): Accept DImode.
2836 (load_pic_register): Abort on 64bit.
2837 (gen_push): Use Pmode instead of SImode.
2838 (ix86_save_reg): Pic reg is never used on 64bit.
2839 (ix86_expand_prologue): Likewise.
2840 (ix86_emit_save_regs): Use Pmode instead of SImode.
2841 (legitimate_address_p): Check displacement for 64bit.
2842 (print_operand): Avoid outputting of (%rip) on 64bit.
2843 (print_operand_address): Output (%rip) where possible.
2844 (split_di): Abort on 64bit registers.
2845 (ix86_expand_branch): DImode comparison is simple for x86_64.
2846 (memory_address_length): Recognize memory addresses formed using
2847 PRE/POST modify.
2848 (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes
2849 for x86_64.
2850 * i386.h (TARGET_USE_SAHF): Disable for 64bit.
2851
2852 Wed Mar 21 18:51:19 CET 2001 Jan Hubicka <jh@suse.cz>
2853
2854 * recog.c (push_operand): Recognize new format of push instructions.
2855
2856 Wed Mar 21 10:53:57 CET 2001 Jan Hubicka <jh@suse.cz>
2857
2858 * i386.md (pushqi1): New.
2859 * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
2860 x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
2861 x86_64_immediate_operand, x86_64_immediate_operand,
2862 x86_64_zext_immediate_operand): Declare.
2863 * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
2864 x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
2865 x86_64_immediate_operand, x86_64_immediate_operand,
2866 x86_64_zext_immediate_operand): define.
2867 * i386.h (PREDICATE_CODES): Add new predicates.
2868
2869 Wed Mar 21 10:25:13 CET 2001 Jan Hubicka <jh@suse.cz>
2870
2871 * i386.md (pophi1, popqi1, pushqi1): Remove.
2872
2873 * expr.c (emit_single_push_insn): New function.
2874 (move_by_pieces): Accept NULL as destination for push instructions.
2875 (gen_push_operand): Kill.
2876 (emit_push_insn): Pass NULL when pushing; avoid updating of
2877 stack_pointer_delta.
2878 * expr.h (gen_push_operand): Kill.
2879
2880 Tue Mar 20 20:15:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2881
2882 * rtl.texi (COMPARE): Clarify documentation and reference section
2883 on comparisons.
2884
2885 2001-03-20 Stan Shebs <shebs@apple.com>
2886
2887 * objc/objc-act.c (get_static_reference): Use NULL_TREE.
2888 (get_object_reference): Ditto.
2889 (error_with_ivar): Use error_with_file_and_line.
2890 (warn_with_method): Use warning_with_file_and_line.
2891
2892 2001-03-20 Tom Tromey <tromey@redhat.com>
2893
2894 * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
2895
2896 2001-03-20 Mark Mitchell <mark@codesourcery.com>
2897
2898 * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
2899 variables that are TREE_PUBLIC, even if not TREE_STATIC.
2900
2901 2001-03-20 DJ Delorie <dj@redhat.com>
2902
2903 * Makefile.in (install-libgcc): Pass complete list of variables.
2904 (install-multilib): Ditto.
2905
2906 2001-03-20 David Billinghurst <David.Billinghurst@riotinto.com>
2907
2908 * config/i386/cygwin.h: Declare ctor_section, dtor_section
2909 drectve_section, switch_to_section.
2910
2911 * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
2912 i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
2913 i386_pe_mark_dllimport.
2914
2915 2001-03-20 David Billinghurst <David.Billinghurst@riotinto.com>
2916
2917 * config/i386/cygwin.h: Include <stdio.h> Declare and constify
2918 functions i386_pe_*.
2919
2920 * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
2921 i386_pe_* functions with char * arguments.
2922
2923 2001-03-20 Alexandre Oliva <aoliva@redhat.com>
2924
2925 * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
2926 and store.
2927 (movsi_ie): Introduce fpul store.
2928
2929 2001-03-20 Alan Modra <alan@linuxcare.com.au>
2930
2931 * Makefile.in (OBJS): Remove hashtab.o.
2932
2933 2001-03-19 Stan Shebs <shebs@apple.com>
2934
2935 * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
2936 * c-lang.c (maybe_objc_method_name): Ditto.
2937 * c-tree.h (maybe_objc_method_name): Remove decl.
2938
2939 2001-03-19 Tom Tromey <tromey@redhat.com>
2940
2941 * gcc.c (init_gcc_specs): Fix comment.
2942
2943 2001-03-19 Mark Mitchell <mark@codesourcery.com>
2944
2945 Compute DECL_ASSEMBLER_NAME lazily.
2946 * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
2947 (DECL_ASSEMBLER_NAME_SET_P): New macro.
2948 (SET_DECL_ASSEMBLER_NAME): Likewise.
2949 (COPY_DECL_ASSEMBLER_NAME): Likewise.
2950 (set_decl_assembler_name): Declare.
2951 (lang_set_decl_assembler_name): Likewise.
2952 * tree.c (lang_set_decl_assembler_name): New variab.e
2953 (set_decl_assembler_name): New function.
2954 (init_obstacks): Set lang_set_decl_assembler_name.
2955 (build_decl): Don't set DECL_ASSEMBLER_NAME.
2956 * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
2957 COPY_DECL_ASSEMBLER_NAME, etc. Don't set DECL_ASSEMBLER_NAME
2958 where it's not necessary.
2959 (builtin_function): Likewise.
2960 (finish_decl): Likewise.
2961 * dbxout.c (dbxout_type_methods): Likewise.
2962 * ggc-common.c (ggc_mark_trees): Likewise.
2963 * profile.c (output_func_start_profiler): Likewise.
2964 * varasm.c (make_decl_rtl): Likewise.
2965
2966 * cse.c (find_comparison_args): Update documentation. Fix
2967 mishandling of COMPARE operations.
2968
2969 * tree.def (ABS_EXPR): Add documentation.
2970 * fold-const.c (fold): Improve folding of ABS_EXPRs.
2971
2972 2001-03-19 Zack Weinberg <zackw@stanford.edu>
2973
2974 * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
2975
2976 2001-03-19 Jakub Jelinek <jakub@redhat.com>
2977
2978 * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
2979 Remove ia32 linux PIC kludge and move it...
2980 * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
2981
2982 Mon Mar 19 18:53:54 CET 2001 Jan Hubicka <jh@suse.cz>
2983
2984 * i386.md (absdf2 expander): Fix 64bit case.
2985
2986 2001-03-19 Brad Lucier <lucier@math.purdue.edu>
2987
2988 * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
2989
2990 2001-03-16 Andrew Haley <aph@cambridge.redhat.com>
2991
2992 * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
2993
2994 2001-03-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2995
2996 * README.X11: Remove obsolete file.
2997
2998 2001-03-18 Anthony Green <green@redhat.com>
2999
3000 * config/pj/pj.h: Remove some trailing commas.
3001 (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
3002
3003 2001-03-18 Richard Henderson <rth@redhat.com>
3004
3005 * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
3006 * calls.c: ... here.
3007 * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
3008 defaults for them here.
3009
3010 2001-03-17 Anthony Green <green@redhat.com>
3011
3012 * config/pj/lib1funcs.S: Fix broken comment.
3013 * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
3014 labels with '.'.
3015
3016 2001-03-18 Joseph S. Myers <jsm28@cam.ac.uk>
3017
3018 * gcc.texi: Remove obsolete information relating to build and
3019 installation problems with enquire or the Pyramid C compiler.
3020
3021 2001-03-17 Richard Henderson <rth@redhat.com>
3022
3023 * dwarf2out.c (queue_reg_save): New.
3024 (flush_queued_reg_saves, clobbers_queued_reg_save): New.
3025 (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
3026 dwarf2out_reg_save.
3027 (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
3028 (cfa, cfa_store, cfa_temp): Make static.
3029 * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
3030
3031 2001-03-17 Richard Henderson <rth@redhat.com>
3032
3033 * integrate.h (struct inline_remap): Add local_return_label.
3034 * integrate.c (expand_inline_function): Initialize it and emit
3035 it after copy_insn_notes.
3036 (copy_insn_list): Don't store local_return_label here.
3037 (copy_insn_notes): New function split out from copy_insn_list.
3038
3039 2001-03-17 Richard Henderson <rth@redhat.com>
3040
3041 * dwarf2out.c (lookup_filename): Emit .file if the assembler
3042 is generating .debug_line.
3043 (dwarf2out_init): Add main_input_filename to the file table first.
3044 * configure.in (as_dwarf2_debug_line): Test with file number 1
3045 instead of file number 0.
3046
3047 Sat Mar 17 11:52:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3048
3049 * combine.c (undobuf): Remove field previous_undos; all refs deleted.
3050 (gen_rtx_combine): Deleted; all references changed as appropriate.
3051 (gen_unary): Deleted; all refs changed to call simplify_gen_unary.
3052
3053 * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
3054
3055 2001-03-17 David Billinghurst <David.Billinghurst@riotinto.com>
3056
3057 * config/i386/xm-cygwin.h: Include <sys/cygwin.h. Remove unused
3058 variable.
3059
3060 2001-03-16 Jim Wilson <wilson@redhat.com>
3061
3062 * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
3063 then set it to LOC_REG (79) instead of aborting.
3064
3065 2001-03-16 Phil Edwards <pme@sources.redhat.com>
3066
3067 * gccbug.in: Remove high priority.
3068
3069 2001-03-16 Richard Henerson <rth@redhat.com>
3070
3071 * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
3072 output with a space instead of deleting it.
3073 * configure: Regenerate.
3074
3075 2001-03-16 Zack Weinberg <zackw@stanford.edu>
3076
3077 * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
3078 handles the gory details of converting an object file into
3079 something that's safe to grep.
3080 (gcc_AC_C_COMPILE_BIGENDIAN): Rename to
3081 gcc_AC_C_COMPILE_ENDIAN. Use gcc_AC_EXAMINE_OBJECT. Put
3082 newlines at either end of the string we're looking for.
3083 Make 'checking ...' message less stilted.
3084 (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT. Handle
3085 ARM in-memory layout and its hypothetical converse. Don't
3086 define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
3087 HOST_WORDS_BIG_ENDIAN.
3088
3089 * configure.in: Adjust for renamed macro. Move
3090 gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
3091 * configure, config.in: Regenerate.
3092
3093 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
3094
3095 * fixinc/Makefile.in: Set SHELL.
3096
3097 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
3098
3099 * fixinc/fixincl.c (fix_with_system): Quote file names before
3100 passing them to shell.
3101
3102 2001-03-16 Laurynas Biveinis <lauras@softhome.net>
3103
3104 * Makefile.in: Use fix-header$(build_exeext) instead
3105 of fix-header.
3106
3107 2001-03-16 Richard Henderson <rth@redhat.com>
3108
3109 * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
3110 (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
3111 (size_of_line_prolog): Remove.
3112 (output_line_info): Compute prologue size via label difference.
3113 (lookup_filename): Return "unspecified" for <internal> and <built-in>.
3114
3115 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
3116 assembler error when redefining file numbers.
3117 * config.in, configure: Rebuild.
3118
3119 * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
3120 (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
3121 (dw2_asm_output_delta_uleb128): Likewise.
3122 (dw2_asm_output_delta_sleb128): Similarly.
3123 (dw2_asm_output_data_sleb128): Similarly. Print number in decimal.
3124
3125 2001-03-16 Michael Meissner <meissner@redhat.com>
3126
3127 * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
3128 warnings.
3129 (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids
3130 warnings.
3131 (BITMASK_LOWER16): Replacement for 0x0000ffff.
3132
3133 * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16
3134 instead of 0xffff0000/0x0000ffff to avoid warnings about constants
3135 being unsigned in ISO C and signed in traditional.
3136 (expand_prologue): Ditto.
3137 (RA_MASK): Use BITMASK_HIGH to avoid warnings.
3138
3139 * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid
3140 warnings.
3141 (divsi3,divdi3): Ditto.
3142 (modsi3,moddi3): Ditto.
3143 (fix_truncdfsi2,fix_truncdfdi2): Ditto.
3144 (fix_truncsfsi2,fix_truncsfdi2): Ditto.
3145 (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid
3146 warnings.
3147
3148 Fri Mar 16 14:47:57 CET 2001 Jan Hubicka <jh@suse.cz>
3149
3150 * i386.c (ix86_expand_fp_movcc): Do not attempt to construct
3151 SSE based conditional moves on LTGT/UNEQ conditions;
3152 Canonicalize EQ to NE.
3153 * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
3154 (sse_mov?fcc_ne): New.
3155
3156 * i386-protos.h (sign_extended_value, zero_extended_value): Declare.
3157
3158 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3159
3160 * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
3161 register may be dead.
3162
3163 2001-03-16 Brad Lucier <lucier@math.purdue.edu>
3164
3165 * Makefile.in (hash.o): Depend on CONFIG_H.
3166
3167 2001-03-15 Mark Mitchell <mark@codesourcery.com>
3168
3169 * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
3170
3171 2001-03-15 Richard Henderson <rth@redhat.com>
3172
3173 * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
3174 (ASM_OUTPUT_DWARF_PCREL): New.
3175 * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove.
3176
3177 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3178
3179 * cppfiles.c (stack_include_file): Use MAX of sysp.
3180
3181 2001-03-15 Steve Ellcey <sje@cup.hp.com>
3182
3183 * config.gcc (ia64*-*-hpux*): New case.
3184 * config/ia64/hpux.h: New file for HP-UX support.
3185 * config/ia64/t-hpux: New file for HP-UX support.
3186
3187 2001-03-16 Bruce Korb <bkorb@gnu.org>, Alexandre Oliva <aoliva@redhat.com>
3188
3189 * fixinc/inclhack.def (irix_stdio_va_list): New.
3190 * fixinc/fixincl.x: Rebuilt.
3191
3192 2001-03-15 Richard Henderson <rth@redhat.com>
3193
3194 * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET
3195 if provided by the target.
3196 (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL.
3197 (dw2_asm_output_addr): New.
3198 * dwarf2asm.h (dw2_asm_output_addr): Declare.
3199 * dwarf2out.c (output_cfi): Use it for program addresses.
3200 (output_call_frame_info, output_die): Likewise.
3201 (output_aranges, output_line_info): Likewise.
3202
3203 2001-03-15 Bruce Korb <bkorb@gnu.org>
3204
3205 * gcc.c(main): make more rigorous
3206 * collect2.c(main): guard against ignoring SIGCHLD
3207 * protoize.c(main): ditto
3208 * gcc/fixinc/fixincl.c(initialize): ditto
3209
3210 2001-03-15 Mark Mitchell <mark@codesourcery.com>
3211
3212 * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
3213 (sdbout_parms): Likewise.
3214
3215 Thu Mar 15 12:57:14 2001 Jeffrey A Law (law@cygnus.com)
3216
3217 * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
3218 "widen" a destination that is already wider than a word. Also do
3219 not widen if LOAD_EXTEND_OP is NIL for the given mode.
3220
3221 2001-03-15 Bernd Schmidt <bernds@redhat.com>
3222
3223 * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids.
3224
3225 Thu Mar 15 11:30:31 EST 2001 John Wehle (john@feith.com)
3226
3227 * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo.
3228
3229 Thu Mar 15 11:24:29 EST 2001 John Wehle (john@feith.com)
3230
3231 * i960.h (i960_maxbitalignment,
3232 i960_last_maxbitalignment): Declare.
3233 * i960.c (i960_maxbitalignment,
3234 i960_last_maxbitalignment): Make global.
3235 (process_pragma): Delete.
3236 (i960_pr_align, i960_pr_noalign): Move from here ...
3237 * i960-c.c: ... to this new file.
3238 * t-960bare (i960-c.o): New rule.
3239 * t-vxworks960 (i960-c.o): Likewise.
3240 * config.gcc (i960-*-*): Define c_target_objs and
3241 cxx_target_objs.
3242
3243 2001-03-15 Bernd Schmidt <bernds@redhat.com>
3244
3245 * cselib.c (hash_rtx): For REG and MEM, just use value of expression
3246 without adding in rtx code and mode.
3247
3248 * alias.c (init_alias_analysis): Don't use any rtx whose value
3249 varies as a known value.
3250 Delete a superfluous test.
3251
3252 * config/ia64/ia64.c (maybe_rotate): New function, broken out of
3253 ia64_sched_reorder.
3254 (ia64_sched_reorder): Call maybe_rotate; also rotate after
3255 scheduling a stop bit.
3256 (ia64_emit_nops): Correctly handle ASMs.
3257
3258 2001-03-15 Mark Mitchell <mark@codesourcery.com>
3259
3260 * varasm.c (assemble_variable): Use DECL_RTL_SET_P.
3261
3262 2001-03-15 Neil Booth <neil@daikokuya.demon.co.uk>
3263
3264 * cpp.texi: Update documentation for -include and -imacros.
3265 * cppfiles.c (struct include_file): Remove "defined" memeber.
3266 (find_or_create_entry): Make a copy of the file name, and
3267 simplify it.
3268 (open_file): Update to ensure we use the simplified filename.
3269 (stack_include_file): Don't set search_from.
3270 (cpp_included): Don't simplify the path name here.
3271 (find_include_file): New prototype. Call search_from to
3272 get the start of the "" include chain. Don't simplify the
3273 filenames here.
3274 (_cpp_execute_include): New prototype. Move diagnostics to
3275 do_include_common. Update.
3276 (_cpp_pop_file_buffer): Don't set defined.
3277 (search_from): New prototype. Use the preprocessor's cwd
3278 for files included from the command line.
3279 (read_name_map): Don't simplify the pathname here.
3280 * cpphash.h (enum include_type): New.
3281 (struct buffer): Delete search from. New search_cached.
3282 (_cpp_execute_include): Update prototype.
3283 * cppinit.c (do_includes): Use _cpp_execute_include.
3284 * cpplib.c (do_include_common): New function.
3285 (do_include, do_include_next, do_import): Use it.
3286
3287 2001-03-14 Mark Mitchell <mark@codesourcery.com>
3288
3289 * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
3290 contents of the RTL, to determine the name of the object.
3291
3292 2001-03-14 Mark Mitchell <mark@codesourcery.com>
3293
3294 * tree.h (DECL_RTL): Allocate RTL lazily.
3295 (SET_DECL_RTL): New macro.
3296 (DECL_RTL_SET_P): Likewise.
3297 (COPY_DECL_RTL): Likewise.
3298 (DECL_RTL_IF_SET): Likewise.
3299 * varasm.c (make_decl_rtl): Add assertions about the kind of
3300 declaration we are processing.
3301 * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc.
3302 (start_decl): Likewise.
3303 (finish_decl): Likewise.
3304 * c-semantics.c (emit_local_var): Likewise.
3305 * calls.c (expand_call): Likewise.
3306 * dbxout.c (dbxout_symbol): Likewise.
3307 * emit-rtl.c (unshare_all_rtl): Likewise.
3308 (unshare_all_decls): Likewise.
3309 (reset_used_decls): Likewise.
3310 * expr.c (store_constructor): Likewise.
3311 (safe_from_p): Likewise.
3312 (expand_expr): Likewise.
3313 * function.c (put_var_into_stack): Likewise.
3314 (instantiate_decls_1): Likewise.
3315 (assign_parms): Likewise.
3316 (expand_function_start): Likewise.
3317 (expand_function_end): Likewise.
3318 * ggc-common.c (gcc_mark_trees): Likewise.
3319 * integrate.c (function_cannot_inline_p): Likewise.
3320 (copy_decl_for_inlining): Likewise.
3321 (expand_inline_function): Likewise.
3322 (integrate_parm_decls): Likewise.
3323 (integrate_decl_tree): Likewise.
3324 * print-tree.c (print_node): Likewise.
3325 * reg-stack.c (stack_result): Likewise.
3326 * stmt.c (label_rtx): Likewise.
3327 (expand_return): Likewise.
3328 (expand_decl): Likewise.
3329 (expand_decl_cleanup): Likewise.
3330 (expand_anon_union_decl): Likewise.
3331 * toplev.c (check_global_declarations): Likewise.
3332 (rest_of_decl_compilation): Likewise.
3333 * tree.c (simple_cst_equal): Likewise.
3334 * objc/objc-act.c (generate_static_references): Likewise.
3335
3336 2001-03-14 Zack Weinberg <zackw@stanford.edu>
3337
3338 * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
3339 gcc_AC_C_FLOAT_FORMAT): New macros.
3340 * configure.in: Add AC_PROG_CPP after CC tests;
3341 gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof
3342 tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT.
3343 * configure, config.in: Regenerate.
3344
3345 * config/a29k/xm-a29k.h, config/arc/xm-arc.h,
3346 config/arm/xm-arm.h, config/c4x/xm-c4x.h,
3347 config/convex/xm-convex.h, config/d30v/xm-d30v.h,
3348 config/i370/xm-linux.h, config/i370/xm-oe.h,
3349 config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
3350 config/m68k/xm-m68k.h, config/mips/xm-mips.h,
3351 config/pa/xm-linux.h, config/pa/xm-pa.h,
3352 config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h,
3353 config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h,
3354 config/sparc/xm-sparc.h, config/vax/xm-vax.h,
3355 config/we32k/xm-we32k.h: Delete.
3356
3357 * config/i370/xm-mvs.h, config/m88k/m88k.h,
3358 config/romp/xm-romp.h, config/rs6000/xm-beos.h,
3359 config/vax/xm-vms.h: Don't define any of:
3360 HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN
3361
3362 * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here.
3363
3364 * config.gcc: Remove references to deleted files.
3365 (i370-*-opened*): Use i370/xm-mvs.h (which now defines only
3366 FATAL_EXIT_CODE, which is the same between oe and mvs).
3367
3368 2001-03-14 DJ Delorie <dj@redhat.com>
3369 Vladimir Makarov <vmakarov@redhat.com>
3370
3371 * config/i960/i960.c (i960_function_prologue): Compute size of
3372 frame according to number of registers actually saved there.
3373
3374 2001-03-14 Richard Henderson <rth@redhat.com>
3375
3376 * expr.c (emit_move_insn_1): Fix else if around #endif.
3377
3378 Wed Mar 14 22:39:12 CET 2001 Jan Hubicka <jh@suse.cz>
3379 Vojtech Pavlik
3380
3381 * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z'
3382 constraints.
3383
3384 Wed Mar 14 22:26:10 CET 2001 Jan Hubicka <jh@suse.cz>
3385
3386 * i386.c (ix86_cmodel_string, ix86_cmodel): Define.
3387 (override_options): Parse cmodel string.
3388 (x86_64_sign_extended_value, x86_64_zero_extended_value): New.
3389 * i386.h (TARGET_OPTIONS): Add "cmodel".
3390 (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'.
3391 (enum cmodel): New.
3392 (ix86_cmodel_string, ix86_cmodel): Declare.
3393
3394 Wed Mar 14 22:26:54 CET 2001 Jan Hubicka <jh@suse.cz>
3395
3396 Spot by Matt Kraai:
3397 * i386.h (GENERAL_REG_P): Add missing REG_P.
3398
3399 2001-03-14 Laurynas Biveinis <lauras@softhome.net>
3400
3401 * configure.in: Use $gcc_cv_as instead of $as.
3402 * configure: Regenerated.
3403
3404 2001-03-14 Neil Booth <neil@daikokuya.demon.co.uk>
3405
3406 * cppfiles.c (stack_include_file): Only increase the include
3407 count if we actually process the file properly, as opposed
3408 to treating it as length zero. Only call read_include_file
3409 if not DO_NOT_REREAD. Handle the -H include file output
3410 here.
3411 (read_include_file): Remove now redundant DO_NOT_REREAD check.
3412 (cpp_included, find_include_file): Simplify pathnames after
3413 remapping them. If remapping, don't use the remapped file
3414 name's buffer as our scratch buffer.
3415 (cpp_pop_file_buffer): Replace the multiple include macro
3416 only if it isn't yet set.
3417 (read_name_map): Simplify remapped names when reading in.
3418 (remap_filename): Move code to code path that uses it.
3419 (_cpp_simplify_pathname): Return the input pointer.
3420 * cpphash.h (_cpp_simplify_pathname): Update prototype.
3421
3422 2001-03-14 Mark Mitchell <mark@codesourcery.com>
3423
3424 * expr.c (expand_expr): Revove bogus conditional.
3425
3426 Wed Mar 14 19:29:50 CET 2001 Jan Hubicka <jh@suse.cz>
3427
3428 * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
3429
3430 2001-03-14 Jakub Jelinek <jakub@redhat.com>
3431
3432 * reg-stack.c (stack_result): Unconditionally use
3433 FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
3434
3435 Wed Mar 14 16:36:25 CET 2001 Jan Hubicka <jh@suse.cz>
3436
3437 * expr.c (emit_move_insn_1): Split push of complex value when
3438 no suitable push instruction exist.
3439
3440 * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
3441 instead of QI_REG_P.
3442
3443 Tue Mar 13 22:22:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3444
3445 * alias.c (handled_component_p, can_address_p): New functions.
3446 (get_alias_set): Use them.
3447
3448 2001-03-13 Jim Wilson <wilson@redhat.com>
3449
3450 * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
3451 from 80 in try_locals code.
3452 (ia64_expand_prologue): Add comment pointing to find_gr_spill change.
3453
3454 2001-03-13 Zack Weinberg <zackw@stanford.edu>
3455
3456 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
3457 gcc_AC_C_LONG_LONG): New.
3458 * configure.in: Use them. Probe the size of short, int, long,
3459 and long long/__int64 if we have them. Move all the AC_C_*
3460 checks together, except gcc_AC_C_CHAR_BIT which has to go
3461 after AC_CHECK_HEADERS(limits.h).
3462 Take hwint.h out of host_xm_file and build_xm_file.
3463
3464 * hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
3465 HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
3466 and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
3467 Move the HOST_WIDEST_INT setup logic here from system.h.
3468 Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
3469 defined.
3470 * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT
3471 is now handled by hwint.h.
3472
3473 * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
3474 config/c4x/xm-c4x.h, config/i370/xm-oe.h,
3475 config/ia64/xm-ia64.h: Don't define any of:
3476 HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
3477 HOST_BITS_PER_LONGLONG.
3478
3479 * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
3480 config/h8300/xm-h8300.h, config/mips/iris6.h,
3481 config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
3482 config/sparc/xm-sp64.h: Delete.
3483 * config.gcc: Remove references to deleted files.
3484
3485 * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
3486 HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
3487 * config/i370/xm-linux.h: Clarify floating-point situation in
3488 a comment.
3489
3490 2001-03-13 Neil Booth <neil@daikokuya.demon.co.uk>
3491
3492 * cppfiles.c (NO_INCLUDE_PATH): New macro.
3493 (find_include_file): Decide here which part of the include
3494 chain to start the search. Complain about an empty include
3495 chain in all cases apart from an abolsute file name.
3496 (_cpp_execute_include): Don't choose the search chain here.
3497 Don't call handle_missing_include in the case of an empty
3498 include chain.
3499 (_cpp_compare_file_date): Don't choose the search chain here.
3500 * cpplib.c (do_include_next): Move the in-main-file diagnostic
3501 here from _cpp_execute_include. Behave like #include if
3502 we're in the main file.
3503
3504 2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3505
3506 * system.h (malloc, realloc, calloc, strdup): Only poison these
3507 tokens when IN_GCC is defined.
3508
3509 Tue Mar 13 14:38:44 CET 2001 Jan Hubicka <jh@suse.cz>
3510
3511 * i386.md (abs?f expander): Support SSE case.
3512 (abd?f_if): Add new "USE"; add splitters.
3513
3514 2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3515
3516 * cpp.texi (poison): Explain the macro expansion exception.
3517
3518 2001-03-13 Jakub Jelinek <jakub@redhat.com>
3519
3520 * expr.c (store_expr): Add dont_store_target. If temp is already in
3521 target before copying to reg, don't store it into target again.
3522
3523 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
3524
3525 * cppinternals.texi: Update for file handling.
3526
3527 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com>
3528
3529 * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
3530 2001-02-24 which broke building the Java library.
3531 * function.c (identify_blocks): Likewise.
3532 (all_blocks): Likewise.
3533 * integrate.c (integrate_decl_tree): Likewise.
3534 * print-tree.c (print_node): Likewise.
3535 * tree.h (BLOCK_NUMBER): Likewise.
3536 (struct tree_block): Likewise.
3537
3538 2001-03-12 David Edelsohn <edelsohn@gnu.org>
3539
3540 * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
3541 __WCHAR_TYPE__ definition.
3542 (WCHAR_TYPE_SIZE): #undef before #define.
3543
3544 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
3545
3546 * cppfiles.c: Update comments.
3547 (destroy_include_file_node): Rename destroy_node.
3548 (find_or_create_entry): New function.
3549 (open_file, _cpp_fake_include): Use it.
3550 (handle_missing_header): New function, broken out of
3551 _cpp_execute include. Don't segfault if there is no
3552 system or quoted path.
3553 (_cpp_execute_include): Use handle_missing_header.
3554
3555 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com>
3556
3557 * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
3558 2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
3559
3560 Mon Mar 12 14:05:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3561
3562 * flow.c (insn_dead_p): Don't consider two memrefs equivalent
3563 unless anti_dependence says they are.
3564 * alias.c (objects_must_conflict): If neither has a type specified,
3565 they must conflict.
3566
3567 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
3568 David Billinghurst <David.Billinghurst@riotinto.com>
3569
3570 * config/mips/iris5.h: Change WCHAR_TYPE to int.
3571
3572 Mon Mar 12 16:32:21 CET 2001 Jan Hubicka <jh@suse.cz>
3573
3574 * i386.md (trunctfdf2_2): Rename missnamed pattern.
3575 (*_one_bit): Remove type on the match_operand in attributes.
3576
3577 Mon Mar 12 16:27:56 CET 2001 Jan Hubicka <jh@suse.cz>
3578
3579 * i386.c: Commit forgotten hunk in previous patch.
3580 (regclass_map): Add extended registers.
3581 (dbx_register_map): Add missing frame register.
3582
3583 Mon Mar 12 15:41:08 CET 2001 Jan Hubicka <jh@suse.cz>
3584
3585 * i386.md (all XFmode patterns except swapxf): Disable for 64bit.
3586
3587 * i386.md (x86_sahf_1): Disable for 64bit.
3588 (popsi*, pophi*): Likewise.
3589 (pushqi, pushhi): Likewise.
3590 (movdi, pushdi): Likewise.
3591 (zero extend DImode splitter): Likewise.
3592 (adddi, minusdi splitter): Likewise.
3593 (umulsidi): Likewise.
3594 (umulsi): New.
3595 (mulsidi): Disable for 64bit
3596 (lshift:DI/ashift:DI): Disable for 64bit.
3597 (loop patterns): Likewise.
3598 (call_pop, call_value_pop expanders and patterns): Likewise.
3599 (prologue_get_pc): Likewise.
3600 (leave): Likewise.
3601 (fcmovDI pattern and splitter): Likewise.
3602 (movdfcc_1_rex64): New.
3603
3604 Mon Mar 12 15:16:36 CET 2001 Jan Hubicka <jh@suse.cz>
3605
3606 * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
3607 (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
3608 (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
3609 (STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
3610 (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
3611 (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
3612 (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
3613 (PUSH_ROUNDING): x86_64 rounds to 64bits.
3614 (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
3615 (REGPARM_MAX): Set to 6 for x86_64.
3616 (SSE_REGPARM_MAX): Set to 16 for x86_64.
3617 * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
3618 registers.
3619
3620 * (patterns that does use upper halves): Update constraints
3621 'q' to 'Q' and 'r' to 'R'.
3622 (cmpqi_ext_1): Disable for 64bit.
3623 (cmpqi_ext_3_insn): Likewise.
3624 (movqi_extzv_1): Likewsie.
3625 (addqi_ext_1): Liekwsie
3626 (testqi_ext_1): Liekwsie
3627 (andqi_ext_1): Liekwsie
3628 (xorqi_ext_1): Liekwsie
3629 (cmpqi_ext_1_rex64): New.
3630 (cmpqi_ext_3_insn_rex64): Likewise.
3631 (movqi_extzv_1_rex64): Likewsie.
3632 (addqi_ext_1_rex64): Liekwsie
3633 (testqi_ext_1_rex64): Liekwsie
3634 (andqi_ext_1_rex64): Liekwsie
3635 (xorqi_ext_1_rex64): Liekwsie
3636
3637 2001-03-11 Zack Weinberg <zackw@stanford.edu>
3638
3639 * configure.in: Move check for unsigned enumerated bitfields
3640 to macro in aclocal.m4. Disable it for now.
3641 * configure, config.in: Regenerate.
3642 * system.h: Don't do anything with ONLY_INT_FIELDS. Use the
3643 unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
3644 * varasm.c (struct rtx_const): Use ENUM_BITFIELD(). Move enum
3645 kind above its first use.
3646
3647 * config/xm-interix.h, config/alpha/xm-alpha.h,
3648 config/i370/xm-linux.h, config/i386/xm-beos.h,
3649 config/i386/xm-mingw32.h, config/mips/xm-mips.h,
3650 config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
3651 config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
3652 Don't define ONLY_INT_FIELDS under any circumstances.
3653
3654 * config/pa/xm-pa.h: Don't define __BSD_NET2__.
3655
3656 * config/pa/xm-pahpux.h, config/pa/xm-papro.h,
3657 config/sparc/xm-sysv4.h: Delete - now identical with some
3658 other xm header.
3659 * config.gcc (hppa targets): Replace xm-pahpux.h and
3660 xm-papro.h with implicit xm-pa.h.
3661 (sparc targets): Replace xm-sysv4.h with implicit or explicit
3662 xm-sparc.h.
3663
3664 2001-03-12 Aldy Hernandez <aldyh@redhat.com>
3665
3666 * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set
3667 before reload_cse_noop_set_p.
3668
3669 2001-03-11 Zack Weinberg <zackw@stanford.edu>
3670
3671 * config.gcc: Where xm-host.h used to include another
3672 xm-host.h, list the nested header directly in xm_file. Remove
3673 references to deleted files. Can now use sparc/xm-sp64.h for
3674 sparcv9-*-solaris*.
3675
3676 * config/xm-linux.h, config/arm/xm-linux.h,
3677 config/i386/xm-dos.h, config/i386/xm-gnu.h,
3678 config/i386/xm-linux.h, config/i386/xm-openbsd.h,
3679 config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
3680 config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
3681 config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
3682 Delete.
3683
3684 * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
3685 * config/mips/xm-iris5.h: Don't include mips/xm-mips.h. Don't
3686 bother to wrap #undef in #ifdef.
3687 * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
3688 Don't include xm-linux.h.
3689 * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.
3690
3691 * configure.in: Wrap regexps using [] in changequote block.
3692 Use expr : not echo | grep. Simplify regexps.
3693 * configure: Regenerate.
3694
3695 56 xm-files remain, 22 xm-arch.
3696
3697 2001-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3698
3699 * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
3700 (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
3701 (local_index, local_rindex): Delete, use strchr/strrchr instead.
3702 (copy_object): Fix format specifier vs argument mismatch.
3703
3704 * mips-tdump.c: Make local functions static.
3705 (rindex): Don't #undef.
3706 (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
3707 (fatal, fancy_abort): Delete.
3708 (read_seek): Avoid signed/unsigned compare.
3709
3710 Sun Mar 11 17:01:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3711
3712 * combine.c (try_combine): Fix error in change to try original
3713 register.
3714 (gen_rtx_combine): Do same as gen_rtx for now.
3715
3716 2001-03-11 Zack Weinberg <zackw@stanford.edu>
3717
3718 * configure.in: AC_SUBST xm_defines.
3719 * configure: Regenerate.
3720 * Makefile.in: Set DEFINES=$(xm_defines) when building
3721 tconfig.h.
3722
3723 2001-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
3724
3725 * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
3726 (cpp_included, find_include_file): Update.
3727 (_cpp_compare_file_date): Make else unconditional.
3728
3729 2001-03-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
3730
3731 * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
3732
3733 2001-03-10 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
3734
3735 * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
3736 * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
3737
3738 Sat Mar 10 22:42:05 2001 Alexandre Oliva <aoliva@redhat.com>
3739
3740 * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
3741 if it's a record type.
3742
3743 Sat Mar 10 17:52:54 2001 Christopher Faylor <cgf@cygnus.com>
3744
3745 * config/i386/cygwin.h: Make ../w32api a system directory. Reorganize
3746 mingw includes slightly.
3747
3748 2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3749
3750 * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
3751 #undef token before poisoning it.
3752
3753 2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3754
3755 * alpha.c (check_float_value): Use memcpy, not bcopy.
3756
3757 * m32r.c (m32r_sched_reorder): Likewise.
3758
3759 * vax.c (check_float_value): Likewise.
3760
3761 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
3762
3763 * toplev.c (file_name_nondirectory): Remove.
3764 * toplev.h: Similarly.
3765 * dwarf2out.c (compute_section_prefix): Use lbasename instead
3766 of file_name_nondirectory.
3767
3768 Sat Mar 10 10:36:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3769
3770 * mips-tdump.c (read_seek): Call xmalloc, not malloc.
3771 * mips-tfile.c: Don't #undef rindex; not used.
3772
3773 Sat Mar 10 14:34:59 CET 2001 Jan Hubicka <jh@suse.cz>
3774
3775 * i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
3776 (dbx64_register_map): Declare.
3777 (RETURN_ADDR_RTX): Fix for 64bit.
3778 (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
3779 (INCOMING_FRAME_SP_OFFSET): Set to 8.
3780 * i386.c (dbx64_register_map): New global array.
3781 * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
3782 linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
3783 for 64bits.
3784
3785 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
3786
3787 * cppfiles.c (search_from): Use lbasename.
3788 * mkdeps.c (deps_add_default_target): Use lbasename.
3789
3790 2001-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3791
3792 * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
3793 xcalloc in lieu of malloc, realloc & calloc.
3794
3795 * gencheck.c (xmalloc): Use really_call_malloc, not malloc.
3796
3797 * gengenrtl.c (xmalloc): Likewise.
3798
3799 * gensupport.c (xcalloc, xrealloc, xmalloc): Use the
3800 really_call_* memory allocation routines.
3801
3802 * stmt.c (check_for_full_enumeration_handling): Use
3803 really_call_calloc, not calloc.
3804
3805 * system.h (really_call_malloc, really_call_calloc,
3806 really_call_realloc): Define.
3807 (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.
3808
3809 Fri Mar 9 18:39:19 2001 Jeffrey A Law (law@cygnus.com)
3810
3811 * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
3812
3813 2001-03-09 Nicola Pero <n.pero@mi.flashnet.it>
3814
3815 * configure: Rebuilt.
3816 * configure.in: Only use `lang_requires' for languages athat are
3817 actually enabled.
3818
3819 2001-03-09 Joseph S. Myers <jsm28@cam.ac.uk>
3820
3821 * invoke.texi: Fix typo.
3822 * gcc.1: Regenerate.
3823
3824 2001-03-09 Zack Weinberg <zackw@stanford.edu>
3825
3826 * configure.in: Prune nonexistent files from build_xm_file,
3827 xm_file, and host_xm_file lists. Warn unless they're
3828 $cpu/xm-$cpu.h.
3829 Don't generate *config.h here.
3830 AC_SUBST all variables needed to generate *config.h.
3831 * configure: Regenerate.
3832 * mkconfig.sh: New helper script, from code removed from
3833 configure.in.
3834 * Makefile.in: Zap all MALLOC variables - no longer used
3835 anywhere, and malloc.c doesn't exist.
3836 Substitute in variables needed to generate *config.h.
3837 Stop lying about the dependencies contained in CONFIG_H and
3838 GCONFIG_H.
3839 (HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
3840 (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
3841 cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
3842 (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
3843 $(TM_P_H), etc. as appropriate.
3844
3845 * config.gcc: Zap references to deleted files.
3846 * ggc-none.c: Don't include rtl.h or tm_p.h.
3847
3848 * config/i386/xm-beos.h, config/i386/xm-dgux.h,
3849 config/i386/xm-djgpp.h, config/i386/xm-dos.h,
3850 config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
3851 config/i386/xm-linux.h, config/i386/xm-linux.h,
3852 config/i386/xm-next.h, config/i386/xm-openbsd.h,
3853 config/i386/xm-sun.h, config/i386/xm-sysv3.h:
3854 Don't include i386/xm-i386.h.
3855
3856 * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
3857 config/i386/xm-i386.h, config/i860/xm-i860.h,
3858 config/i960/xm-i960.h, config/mcore/xm-mcore.h,
3859 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
3860 config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
3861 Delete (empty except comments, #includes of other deleted
3862 files, and macros used nowhere).
3863
3864 Fri Mar 9 20:05:27 CET 2001 Jan Hubicka <jh@suse.cz>
3865
3866 * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
3867 independent on TARGET_FLAGS.
3868
3869 Fri Mar 9 19:52:52 CET 2001 Jan Hubicka <jh@suse.cz>
3870
3871 * i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
3872
3873 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add
3874 extended ones.
3875 (CONDITIONAL_REGISTER_USAGE): Set proper values according to
3876 TARGET_64BIT.
3877 (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG,
3878 LAST_REX_SSE_REG): define.
3879 (enum reg_class): Add 'LEGACY_REGS'
3880 (REG_CLASS_CONTENTS): Likewise; add extended registers.
3881 (SSE_REGNO_P): Recognize extended registers.
3882 (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
3883 (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
3884 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P,
3885 REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers.
3886 (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
3887 REG_OK_FOR_STRREG_P): Remove.
3888 (HI_REGISTER_NAMES): Add extended registers.
3889 (ADDITIONAL_REGISTER_NAMES): Likewise.
3890 (QI_REGISTER_NAMES): Add 8bit extended registers.
3891 (DEBUG_REG): Support extended registers.
3892 * i386.c (regclass_map): Add extended registers.
3893 (dbx_register-map): Likewise.
3894 (svr4_dbx_register_map): Likewise.
3895 (print_reg): Support extended registers.
3896 (print_operand): Support 64bit operands.
3897
3898 Fri Mar 9 19:37:46 CET 2001 Jan Hubicka <jh@suse.cz>
3899
3900 * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
3901 (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
3902 FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
3903 DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
3904 (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
3905 STACK_BOUNDARY): Set properly for 64bits.
3906 (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
3907 (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
3908 (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
3909 (MOVE_MAX): Set to 16.
3910 (MOVE_MAX_PIECES): 8 for 64bit.
3911 (Pmode): Set to SImode.
3912
3913 Fri Mar 9 09:00:36 2001 Mike Stump <mrs@wrs.com>
3914
3915 * cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
3916
3917 Fri Mar 9 17:38:08 CET 2001 Jan Hubicka <jh@suse.cz>
3918
3919 * i386.h (mask_64bit): New constant.
3920 (target_64bit): New macro.
3921 (target_options): Add '64'/'32'
3922 (target_default): Define.
3923 * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h
3924 isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h
3925 unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.
3926
3927 Thu Mar 8 23:36:56 2001 Jeffrey A Law (law@cygnus.com)
3928
3929 * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
3930
3931 Thu Mar 8 23:29:37 2001 John Wehle (john@feith.com)
3932
3933 * rtlanal.c (rtx_varies_p): Check operand 0 of a
3934 LO_SUM unless for_alias is set.
3935
3936 2001-03-08 Stan Shebs <shebs@apple.com>
3937
3938 * objc/objc-act.c: Fix old typos in comments, add comments for
3939 various functions.
3940 (hash_init): Fix file name in error message.
3941 (hash_enter): Ditto.
3942 (hash_add_attr): Ditto.
3943 (continue_class): Ditto.
3944
3945 2001-03-08 Bruce Korb <bkorb@gnu.org>
3946
3947 gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that
3948 wait4() can receive the signal.
3949
3950 Thu Mar 8 21:09:10 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3951
3952 * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML
3953 entities.
3954 * fixinc/fixincl.x: Regenerate.
3955
3956 Thu Mar 8 21:09:10 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3957
3958 * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage
3959 on Tru64 UNIX.
3960 * fixinc/fixincl.x: Regenerate.
3961
3962 2001-03-08 Richard Henderson <rth@redhat.com>
3963
3964 * configure.in (HAVE_AS_LEB128): New assembler check.
3965 * configure, config.in: Rebuilt.
3966
3967 Thu Mar 8 19:54:04 CET 2001 Jan Hubicka <jh@suse.cz>
3968
3969 * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
3970 TFmode too.
3971
3972 2001-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3973
3974 * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
3975 references to the MAXPATHLEN macro.
3976
3977 * config/alpha/xm-alpha.h, config/arm/xm-arm.h,
3978 config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
3979 the POSIX macro.
3980
3981 * config/i386/xm-gnu.h, config/xm-gnu.h,
3982 config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
3983 config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
3984 config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
3985 and/or unused files.
3986
3987 * config.gcc: Define POSIX in xm_defines as appropriate in lieu of
3988 doing so in various xm-*.h files.
3989
3990 Thu Mar 8 06:32:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3991
3992 * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
3993
3994 2001-03-08 Alexandre Oliva <aoliva@redhat.com>
3995
3996 * configure.in (enable_shared): Support per-package shared-library
3997 enabling.
3998 * configure: Rebuilt.
3999
4000 2001-03-07 David Edelsohn <edelsohn@gnu.org>
4001
4002 * rs6000.md (cr logic): Add original POWER mnemonic alternative
4003 for crnot. Set operands[5] in splitter.
4004
4005 2001-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4006
4007 * config/i370/xm-mvs.h, config/i370/xm-oe.h,
4008 config/i386/xm-beos.h, config/i386/xm-mingw32.h,
4009 config/m88k/xm-m88k.h, config/mips/xm-iris6.h,
4010 config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h,
4011 config/pa/xm-pahpux.h, config/rs6000/xm-beos.h,
4012 config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h,
4013 config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references
4014 to the USG macro.
4015
4016 * config/vax/xm-vaxv.h, config/a29k/xm-unix.h,
4017 config/i370/xm-i370.h, config/i386/xm-dgux.h,
4018 config/i386/xm-sun.h, config/i386/xm-sysv3.h,
4019 config/m68k/xm-tower.h, config/m68k/xm-aux.h,
4020 config/m68k/xm-hp320.h, config/m68k/xm-amix.h,
4021 config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h,
4022 config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h,
4023 config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h,
4024 config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h,
4025 config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h:
4026 Delete unused and/or empty files.
4027
4028 * config.gcc: Define USG in xm_defines as appropriate. Define
4029 POSIX in lieu of xm-svr4.h. Delete all references to the SVR3
4030 macro. Remove deleted xm-* files from $xm_files variable.
4031
4032 2001-03-07 Tom Tromey <tromey@redhat.com>
4033
4034 * configure: Rebuilt.
4035 * configure.in: Allow config-lang.in to set `lang_requires' to list
4036 of other required languages.
4037
4038 2001-03-07 Andrew MacLeod <amacleod@redhat.com>
4039
4040 * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
4041 after its emitted.
4042 (output_prologue): Use xmalloc not oballoc.
4043 (output_epilog): Free a29k_first_epilogue_insn when finished.
4044 * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
4045
4046 2001-03-07 Brad Lucier <lucier@math.purdue.edu>
4047
4048 * builtins.c (expand_builtin_mathfn): Check
4049 flag_unsafe_math_optimizations, not flag_fast_math.
4050 (expand_builtin): Likewise
4051 * combine.c (combine_simplify_rtx): Likewise.
4052 (simplify_if_then_else): Likewise.
4053 * cse.c (fold_rtx): Likewise.
4054 * flags.h: Remove flag_fast_math. Add
4055 flag_unsafe_math_optimizations and flag_trapping_math.
4056 * fold-const.c (negate_expr): Check
4057 flag_unsafe_math_optimizations, not flag_fast_math.
4058 (invert_truthvalue): Likewise.
4059 (fold): Likewise. Before associating operands, check that
4060 code == MULT_EXPR, not code != MULT_EXPR.
4061 * ifcvt.c (noce_try_minmax): Check
4062 flag_unsafe_math_optimizations, not flag_fast_math.
4063 (noce_operand_ok): Check flag_trapping_math, not flag_fast_math.
4064 * invoke.texi: Document -funsafe-math-optimizations and
4065 -fno-trapping-math. Change documentation for -ffast-math.
4066 * jump.c (reversed_comparison_code_parts): Likewise.
4067 (rtx_equal_for_thread_p): Likewise.
4068 * optabs.c (emit_conditional_move): Likewise.
4069 * simplify-rtx.c (simplify_binary_operation): Likewise.
4070 (simplify_relational_operation): Likewise.
4071 (simplify_ternary_operation): Likewise.
4072 * toplev.c: Remove flag_fast_math. Add flag_trapping_math and
4073 flag_unsafe_math_optimizations. Remove fast-math entry from f_options.
4074 Add trapping-math and unsafe-math-optimizations entries to f_options.
4075 (set_fast_math_flags): New, sets flags for -ffast-math.
4076 (set_no_fast_math_flags): New, sets flags for -fno-fast-math.
4077 (decode_f_option): Add code to handle -ffast-math and -fno-fast-math.
4078 * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags.
4079
4080 * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise.
4081 (alpha_emit_conditional_move): Initialize local_fast_math to
4082 flag_unsafe_math_optimizations, not flat_fast_math.
4083 * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags
4084 instead of setting flag_fast_math to 1.
4085 * config/convex/convex.md: Check flag_unsafe_math_optimizations,
4086 not flag_fast_math.
4087 * config/i386/i386.c (override_options): Likewise
4088 * config/i386/i386.md: Likewise.
4089 * config/m68k/m68k.md: Likewise.
4090 * config/mips/mips.md: Likewise.
4091 * config/rs6000/rs6000.c (validate_condition_mode): Likewise.
4092 (rs6000_generate_compare): Likewise.
4093
4094 2001-03-07 Laurynas Biveinis <lauras@softhome.net>
4095
4096 * Makefile.in: Set RANLIB to @RANLIB@.
4097 Remove RANLIB_TEST.
4098
4099 2001-03-07 Laurynas Biveinis <lauras@softhome.net>
4100
4101 * fixinc/inclhack.def (djgpp_wchar_h): New test.
4102 * fixinc/fixincl.x: Regenerated.
4103
4104 2001-03-07 Richard Henderson <rth@redhat.com>
4105
4106 * config/alpha/alpha.md (call_osf_1_noreturn): New pattern.
4107
4108 2001-03-07 Richard Henderson <rth@redhat.com>
4109
4110 * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting
4111 of block notes and exception handling notes.
4112
4113 * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
4114 * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
4115 (compile_file): ... here.
4116
4117 2001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4118
4119 * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
4120
4121 * fixinc/gnu-regex.c: Don't include auto-host.h since we get
4122 config.h now. Include libiberty.h to handle alloca.
4123
4124 2001-03-06 Zack Weinberg <zackw@stanford.edu>
4125
4126 * c-parse.in (yylexname): New function, split out of _yylex.
4127 (objc_rid_sans_at): New table.
4128 (init_reswords): Initialize it.
4129 (_yylex): Give labels clearer names. Handle CPP_ATSIGN by
4130 retrieving the next token and checking it for significance as
4131 an ObjC keyword or string constant.
4132
4133 * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
4134 * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
4135
4136 * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
4137 to CPP_OSTRING.
4138
4139 2001-03-06 Stephen L Moshier <moshier@mediaone.net>
4140
4141 * config/m68k/m68k.c (const_uint32_operand): Accept any
4142 const_int on a 32-bit host.
4143
4144 2001-03-06 Nicola Pero <n.pero@mi.flashnet.it>
4145
4146 * objc/objc-act.c (init_objc): Set save_lang_status,
4147 restore_lang_status, and mark_lang_status.
4148
4149 2001-03-06 Krister Walfridsson <cato@df.lth.se>
4150
4151 * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.
4152
4153 2001-03-06 Neil Booth <neil@daikokuya.demon.co.uk>
4154
4155 * cppinternals.texi: Update.
4156
4157 2001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4158
4159 * config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
4160 config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h,
4161 config/c4x/xm-c4x.h, config/clipper/xm-clix.h,
4162 config/convex/xm-convex.h, config/d30v/xm-d30v.h,
4163 config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h,
4164 config/h8300/xm-h8300.h, config/i370/xm-i370.h,
4165 config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h,
4166 config/i386/xm-i386.h, config/i860/xm-i860.h,
4167 config/i960/xm-i960.h, config/ia64/xm-ia64.h,
4168 config/m32r/xm-m32r.h, config/m68k/xm-m68k.h,
4169 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
4170 config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
4171 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
4172 config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
4173 config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h,
4174 config/romp/xm-romp.h, config/rs6000/xm-beos.h,
4175 config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h,
4176 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
4177 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
4178 config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h,
4179 config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which
4180 match the defaults provided in hwint.h.
4181
4182 * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
4183 config/sparc/xm-lynx.h, config/xm-std32.h: Delete files.
4184
4185 * config.gcc (xm_file): Don't set to files which are deleted.
4186
4187 * hwint.h: Provide default values for HOST_BITS_PER_*. No longer
4188 guard this file against these macros being undefined.
4189
4190 2001-03-06 Zack Weinberg <zackw@stanford.edu>
4191
4192 * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
4193 and DECL_DEFER_OUTPUT on the decl we create, before calling
4194 rest_of_decl_compilation.
4195
4196 2001-03-06 Zack Weinberg <zackw@stanford.edu>
4197
4198 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
4199 AC_FUNC_ALLOCA.
4200 * configure, config.in: Regenerate.
4201 * config.gcc: Remove references to deleted files.
4202
4203 * genattr.c, genattrtab.c, genextract.c, genoutput.c,
4204 genrecog.c, rtl.c: Do not use alloca anywhere.
4205
4206 * Makefile.in, build-make, system.h, config/x-interix,
4207 config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
4208 config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
4209 config/arc/xm-arc.h, config/arm/xm-arm.h,
4210 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
4211 config/h8300/xm-h8300.h, config/i370/x-oe,
4212 config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
4213 config/i386/x-ncr3000, config/i386/x-sco5,
4214 config/i386/xm-dgux.h, config/i860/x-sysv4,
4215 config/i960/xm-i960.h, config/m32r/xm-m32r.h,
4216 config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
4217 config/m68k/x-hp320g, config/m69k/x-mot3300,
4218 config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
4219 config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
4220 config/m68k/xm-mot3300.h, config/m88k/x-dolph,
4221 config/m88k/x-sysv4, config/m88k/x-tekXD88,
4222 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
4223 config/mips/x-iris, config/mips/x-iris3,
4224 config/mips/x-sni-svr4, config/mips/x-sysv,
4225 config/mips/xm-iris6.h, config/mips/xm-mips.h,
4226 config/mips/xm-nws3250v4.h, config/pa/x-hpux,
4227 config/pa/x-pa-mpeix, config/pa/xm-pa.h,
4228 config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
4229 config/pa/xm-papro.h, config/romp/xm-romp.h,
4230 config/rs6000/x-aix31, config/rs6000/x-aix41,
4231 config/rs6000/x-beos, config/rs6000/x-lynx,
4232 config/rs6000/x-mach, config/rs6000/x-rs6000,
4233 config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
4234 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
4235 config/sparc/x-sysv4, config/sparc/xm-linux.h,
4236 config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
4237 config/vax/xm-vms.h: Eradicate all references to alloca and
4238 related stuff.
4239
4240 * config/xm-alloca.h, config/clipper/x-clix,
4241 config/i386/xm-sysv4.h, config/i860/x-fx2800,
4242 config/i860/x-sysv3, config/m88k/x-sysv3,
4243 config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
4244 (contained only alloca related hacks).
4245
4246 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
4247 USE_C_ALLOCA.
4248
4249 2001-03-05 Brad Lucier <lucier@math.purdue.edu>
4250
4251 * invoke.texi: Document __FAST_MATH__.
4252
4253 2001-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4254
4255 * crtstuff.c: Restore include of auto-host.h.
4256
4257 2001-03-05 Fergus Henderson <fjh@cs.mu.oz.au>
4258
4259 Put main() in a separate file, so that the language
4260 front-end can use a different main().
4261
4262 * main.c: New.
4263 * toplev.c: (main): Rename as toplev_main.
4264 * toplev.h: Declare toplev_main.
4265 * Makefile.in (OBJS): add toplev.o.
4266 (BACKEND): remove toplev.o, add main.o.
4267
4268 2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
4269
4270 * cppfiles.c (search_from): Special case the empty string.
4271
4272 2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
4273
4274 * cppfiles.c (_cpp_execute_include): Don't make a null-terminated
4275 copy of the filename. Don't use CPP_PREV_BUFFER. Don't call
4276 strlen or strcpy; we already know the length.
4277 (_cpp_compare_file_date): Similarly.
4278 * cpphash.h (struct cpp_reader): Delete done_initialising.
4279 (CPP_PREV_BUFFER): Delete.
4280 * cppinit.c (cpp_start_read): Don't set done_initialising.
4281 * cpplex.c (parse_string): Guarantee null-termination.
4282 (_cpp_equiv_toklists): Remove.
4283 * cpplib.c (glue_header_name): Null-terminate.
4284 (do_line): Don't leak memory.
4285 * cpplib.h (BT_WEAK): Delete.
4286 * cppmain.c (cb_ident): Strings are now null-terminated.
4287
4288 2001-03-04 Laurynas Biveinis <lauras@softhome.net>
4289
4290 * gcc.c (convert_filename): Append executable suffix
4291 if NO_AUTO_EXE_SUFFIX is not defined.
4292 * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
4293 * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
4294
4295 2001-03-03 David O'Brien <obrien@FreeBSD.org>
4296
4297 from 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
4298 * c-parse.gperf, c-gperf.h: Delete.
4299 (c-gperf.h was accidently re-added to the CVS repo in the rev
4300 1.16 commit by tromey)
4301
4302 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
4303
4304 * cpplex.c (_cpp_lex_token): Don't warn about directives in
4305 macro arguments when looking for the '('.
4306 * cppmacro.c (funlike_invocation_p): Set parsing_args to
4307 2 when really parsing arguments; 1 when looking for '('.
4308 Always restore the lexer position.
4309
4310 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
4311
4312 * longlong.h (umul_ppmm): Don't use a multiline string.
4313
4314 2001-03-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
4315
4316 * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.
4317 * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of
4318 t_bool in declaration because pcc can't combine volatile with typedef
4319 types.
4320
4321 Sat Mar 3 19:47:13 CET 2001 Jan Hubicka <jh@suse.cz>
4322
4323 * i386.c (ix86_expand_fp_compare): Delay creating of scratch register
4324 until when it is really needed.
4325 (ix86_expand_compare): Update call of ix86_expand_fp_compare.
4326 * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator
4327 * i386.md (float?i?f splitter): Don't force source operand to memory
4328 for SSE.
4329 (sse_movdfcc): Fix constraint.
4330 (sse_movdfcc splitter): Handle properly the second alternative.
4331
4332 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
4333
4334 * cpplex.c (parse_string): Unconditionally pedwarn.
4335
4336 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
4337
4338 * cpp.texi: Update.
4339 * cppexp.c (parse_number): Update.
4340 * cpplex.c (parse_string): Pedwarn if multiline string does not
4341 result from a system header's macro.
4342 * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
4343 * cppmacro.c (sys_objmacro_p): Rename sys_macro_p. Return true
4344 for function-like macros too.
4345 * c-lex.c (lex_number): Update.
4346
4347 2001-03-03 Richard Henderson <rth@redhat.com>
4348
4349 * dwarf2out.c (output_call_frame_info): Fix augmentation length.
4350
4351 Sat Mar 3 04:17:17 2001 J"orn Rennecke <amylaar@redhat.com>
4352
4353 * combine.c (try_combine): If split with mode-changed scratch
4354 register didn't work, try the original mode.
4355
4356 Sat Mar 3 03:46:47 2001 J"orn Rennecke <amylaar@redhat.com>
4357
4358 * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK.
4359 * config/c4x/c4x.h: Likewise.
4360 * stor-layout.c (compute_record_mode): Likewise.
4361 (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK.
4362
4363 2001-03-02 Zack Weinberg <zackw@stanford.edu>
4364
4365 * configure.in: Kill tm.h. Include the files in the $tm_file
4366 list in all three of config.h, hconfig.h, tconfig.h, after the
4367 relevant set of xm_files. Put TARGET_CPU_DEFAULT in all
4368 three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
4369 * configure: Regenerate.
4370 * Makefile.in (clean): Don't delete tm.h.
4371
4372 * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
4373 defined, set them from EXIT_SUCCESS and EXIT_FAILURE. If
4374 those are not defined, set SEC and FEC to 0 and 1.
4375 * gcc.texi: Update to match.
4376
4377 * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
4378 * config/fp-bit.c, config/m68k/aux-crt2.asm,
4379 config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
4380 Include tconfig.h, not tm.h.
4381
4382 * config/xm-lynx.h, config/xm-std32.h,
4383 config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
4384 config/alpha/xm-alpha.h, config/arc/xm-arc.h,
4385 config/avr/xm-avr.h, config/c4x/xm-c4x.h,
4386 config/clipper/xm-clix.h, config/convex/xm-convex.h,
4387 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
4388 config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
4389 config/h8300/xm-h8300.h, config/i370/xm-linux.h,
4390 config/i386/xm-i386.h, config/i860/xm-i860.h,
4391 config/i960/xm-i960.h, config/ia64/xm-ia64.h,
4392 config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
4393 config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
4394 config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
4395 config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
4396 config/pa/xm-linux.h, config/pa/xm-pa.h,
4397 config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
4398 config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
4399 config/pj/xm-pj.h, config/romp/xm-romp.h,
4400 config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
4401 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
4402 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
4403 config/v850/xm-v850.h, config/vax/xm-vax.h,
4404 config/we32k/xm-we32k.h:
4405 Don't include tm.h.
4406 Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
4407
4408 * config/i370/xm-i370.h, config/i370/xm-mvs.h,
4409 config/i370/xm-oe.h: Don't include tm.h. Don't define
4410 SUCCESS_EXIT_CODE.
4411 * config/vax/xm-vms.h: Don't include tm.h.
4412
4413 * config/xm-lynx.h, config/avr/xm-avr.h,
4414 config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
4415 Delete; made empty by above changes.
4416 * config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
4417 config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
4418 Don't include config/xm-lynx.h or tm.h.
4419
4420 * config/xm-gnu.h: Don't include fcntl.h.
4421 * config/sparc/xm-lynx.h: Don't include sys/types.h and
4422 sys/wait.h.
4423 * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
4424
4425 2001-03-02 Richard Henderson <rth@redhat.com>
4426
4427 * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
4428 UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.
4429
4430 2001-03-02 Richard Henderson <rth@redhat.com>
4431
4432 * Makefile.in (OBJS): Add dwarf2asm.o.
4433 * dwarf2asm.c, dwarf2asm.h: New files.
4434 * dwarf2out.c (*): Use them.
4435 (size_of_uleb128, size_of_sleb128): Remove.
4436 (output_uleb128, output_sleb128): Remove.
4437 (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
4438 (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
4439 (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
4440 (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
4441 (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
4442 (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
4443 (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
4444 (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
4445 (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
4446 (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
4447 (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
4448 (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
4449 (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
4450 (dwarf2out_frame_debug): Remove unused variables.
4451 (output_loc_operands): Don't abort on 8 byte constants if
4452 host integers are wide enough.
4453 (output_symbolic_ref): Remove.
4454 (size_of_die): Don't assume 4 byte host integers.
4455 (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
4456 and end labels.
4457 (add_const_value_attribute) [CONST_INT]: Verify we're not doing
4458 something stupid with HOST_WIDE_INT to long truncation.
4459 [CONST_DOUBLE]: Likewise.
4460
4461 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
4462 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
4463 * config/arm/unknown-elf.h: Likewise.
4464 * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
4465 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
4466 (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
4467 (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
4468 (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
4469 (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
4470 (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
4471 (ASM_OUTPUT_DWARF_OFFSET): Remove.
4472 * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
4473 * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
4474 (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
4475 (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.
4476
4477 2001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4478
4479 * cselib.c (hash_rtx): Cast enums to unsigned int.
4480
4481 2001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4482
4483 * print-rtl.c (print_rtx): Cast enums to int for comparison.
4484 * c-decl.c (grokdeclarator): Cast enums to int for comparison and
4485 shifts.
4486 * c-format.c (C_STD_VER): Cast to int for comparisons.
4487 (check_function_format): Cast various enums to int for &.
4488 (maybe_read_dollar_number): Likewise.
4489 (check_format_info): Likewise.
4490 (check_format_info_main): Likewise.
4491 * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
4492 (safe_from_p): Likewise.
4493 * varasm.c (const_hash): Cast enum to int for %.
4494 * emit-rtl.c (init_emit_once): Use int loop variable to work around
4495 pcc enum problems with < and ++ operators.
4496 * regclass.c (init_reg_sets_1): Cast enums for comparison.
4497 (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
4498 (regclass_init): Change enum class to int to iterate over reg_classes.
4499 * genrecog.c (merge_trees): Cast enums for comparison.
4500 * rtl.h (GET_CODE): Cast to enum rtx_code.
4501 (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
4502 (GET_MODE): Cast to enum machine_mode.
4503 (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
4504 (GET_NOTE_INSN_NAME): Cast enum to int.
4505 * tree.h (TREE_CODE): Cast to enum tree_code.
4506 (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
4507 * timevar.c (timevar_print): Change loop variable id from enum to
4508 unsigned int.
4509 * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
4510 * config/i386/i386.md: Use PUT_MODE for mode assignment.
4511 * toplev.c (compile_file): Cast enum DFI to int.
4512 (decode_d_option): Likewise.
4513
4514 Fri Mar 2 12:18:13 2001 Christopher Faylor <cgf@cygnus.com>
4515
4516 * cppinit.c (append_include_chain): Mark "after" include file name list
4517 as a system directory.
4518 * cpp.texi: Document new behavior.
4519
4520 Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz>
4521
4522 * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
4523
4524 2001-03-02 Neil Booth <neil@daikokuya.demon.co.uk>
4525
4526 * cppfiles.c (struct include_file): Update.
4527 (stack_include_file): Use search_from.
4528 (cpp_included, find_include_file): Update.
4529 (cpp_execute_include): Update. ptr->name may not be
4530 null terminated. Use the new search_from member variable
4531 of cpp_buffer.
4532 (_cpp_compare_file_date): Similarly.
4533 (search_from): New function, similiar to actual_directory.
4534 (actual_directory): Delete.
4535 (remap_filename): Update. loc->name may not be null terminated.
4536 (struct file_name_list): Rename search_path. Update.
4537 * cpphash.h (struct cpp_buffer): Delete actual_dir. New members
4538 search_from and dir.
4539 (struct cpp_reader): Remove actual_dirs.
4540 * cppinit.c (struct cpp_pending): Update for renamed objects.
4541 (append_include_chain, remove_dup_dir, remove_dup_dirs,
4542 merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
4543 * cpplib.h (struct cpp_options): Similarly.
4544
4545 2001-03-01 Zack Weinberg <zackw@stanford.edu>
4546
4547 * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
4548 config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
4549 config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
4550 config/clipper/xm-clix.h, config/convex/xm-convex.h,
4551 config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
4552 config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
4553 config/h8300/xm-h8300.h, config/i370/xm-i370.h,
4554 config/i370/xm-linux.h, config/i370/xm-mvs.h,
4555 config/i370/xm-oe.h, config/i386/xm-aix.h,
4556 config/i386/xm-i386.h, config/i386/xm-osf.h,
4557 config/i860/xm-i860.h, config/i960/xm-i960.h,
4558 config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
4559 config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
4560 config/mcore/xm-mcore.h, config/mips/xm-mips.h,
4561 config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
4562 config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
4563 config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
4564 config/pa/xm-pahpux.h, config/pa/xm-papro.h,
4565 config/pj/xm-pj.h, config/romp/xm-romp.h,
4566 config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
4567 config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
4568 config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
4569 config/v850/xm-v850.h, config/vax/xm-vax.h,
4570 config/vax/xm-vms.h, config/we32k/xm-we32k.h:
4571 Do not define TRUE or FALSE.
4572
4573 * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
4574 empty by above change.
4575 * config.gcc: Remove references to these files.
4576
4577 * configure.in: Detect stdbool.h.
4578 * configure, config.in: Regenerate.
4579 * system.h: Include stddef.h here if available.
4580 Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
4581 Then set up a sensible boolean type at the very end.
4582
4583 * combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
4584 config/mcore/mcore.c: Rename variables named 'true' and/or 'false'.
4585
4586 * hash.h: Delete 'boolean' typedef and related #undefs.
4587
4588 * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
4589 all uses of 'boolean' with 'bool'.
4590
4591 2001-03-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
4592
4593 * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
4594 * cppexp.c (lex): Cast enums for comparison.
4595 * cppinit.c (parse_option): Cast enum for comparison.
4596 * cpplex.c (cpp_spell_token): Cast enums to int for minus.
4597 (cpp_output_token): Likewise.
4598 (cpp_can_paste): Cast enums for comparsion and plus/minus.
4599 (cpp_avoid_paste): Cast enums for minus and comparison.
4600
4601 2001-03-01 Zack Weinberg <zackw@stanford.edu>
4602
4603 * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec
4604 field to all array elements.
4605
4606 2001-03-01 Zack Weinberg <zackw@stanford.edu>
4607
4608 * cpphash.h (struct cpp_reader): Add print_version field.
4609 * cppinit.c (cpp_handle_option): For -v, -version, and --version,
4610 just set print_version and other flags as appropriate.
4611 (cpp_post_options): Print version here if print_version is set.
4612
4613 * toplev.c (exit_after_options): New flag.
4614 (independent_decode_option): Don't exit here; just set
4615 exit_after_options.
4616 (main): Exit after calling lang_hooks.post_options if
4617 exit_after_options is true.
4618
4619 * cppinit.c (append_include_chain): Drop never-used case QUOTE.
4620 (merge_include_chains): Adjust comment to match code.
4621
4622 2001-03-01 Zack Weinberg <zackw@stanford.edu>
4623
4624 * stringpool.c (set_identifier): New function.
4625 * tree.h: Prototype it.
4626
4627 * c-parse.in: Kill D_YES. If compiled for objc, call
4628 save_and_forget_protocol_qualifiers from init_reswords.
4629 * objc/objc-act.c (remember_protocol_qualifiers,
4630 forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
4631 Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
4632 vice versa.
4633 (save_and_forget_protocol_qualifiers): New function.
4634 * c-lex.h: Prototype save_and_forget_protocol_qualifiers.
4635
4636 2001-03-01 Diego Novillo <dnovillo@redhat.com>
4637
4638 * c-semantics.c (prune_unused_decls): Return error_mark_node
4639 instead of (tree) 1 to stop traversing the tree chain.
4640
4641 2001-03-01 Bernd Schmidt <bernds@redhat.com>
4642
4643 Fix a problem introduced by Kenner's Feb 18 change.
4644 * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
4645 flag_cse_skip_blocks only temporarily, not for ever.
4646
4647 Thu Mar 1 09:49:58 2001 Jeffrey A Law (law@cygnus.com)
4648
4649 * config/pa/som.h (ASM_IDENTIFY_GCC): Define.
4650 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
4651
4652 * pa.c (emit_move_sequence): Verify operand0 is a hard register
4653 before determining its register class.
4654
4655 2001-03-01 Bernd Schmidt <bernds@redhat.com>
4656
4657 * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
4658 from reg 4 if current_function_calls_setjmp.
4659 (gen_nop_type): New function.
4660 (ia64_emit_nops): New function.
4661 (ia64_reorg): Call it.
4662 (ia64_sched_reorder): Move code that rotates bundles up a bit.
4663
4664 * reload1.c (eliminate_regs_in_insn): Restrict the special case
4665 code not to try to optimize adds with anything but a REG destination.
4666
4667 * sched-int.h (struct haifa_insn_data): Add new member priority_known.
4668 (INSN_PRIORITY_KNOWN): New accessor macro.
4669 * haifa-sched.c (priority): Use it instead of testing priority against
4670 zero.
4671
4672 2001-02-28 DJ Delorie <dj@redhat.com>
4673
4674 * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
4675 since that doesn't work the way gcc wants on a generic m68k.
4676
4677 2001-02-28 Richard Henderson <rth@redhat.com>
4678
4679 * caller-save.c (save_call_clobbered_regs): Fix typo in
4680 comparison last change.
4681
4682 Wed Feb 28 19:31:42 CET 2001 Jan Hubicka <jh@suse.cz>
4683
4684 * i386.c (pentium4_cost): New.
4685 (m_PENT4): New macro.
4686 (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
4687 x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
4688 x86_integer_DFmode_moves, x86_partial_reg_dependency,
4689 x86_memory_mismatch_stall): Add Pentium4
4690 (x86_use_q_reg, x86_use_any_reg): Kill.
4691 (override_options): Add pentium4.
4692 (incdec_operand): Return 0 for pentium4.
4693 (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
4694 * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
4695 (TARGET_PENTIUM4): Define.
4696 (enum processor_type): Add PROCESSOR_PENTIUM4.
4697 (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
4698 * i386.md (attribute "cpu"): Add pentium4.
4699 * invoke.texi (march): Add pentium4.
4700
4701 Wed Feb 28 19:28:06 CET 2001 Jan Hubicka <jh@suse.cz>
4702
4703 * i386.md (sse_mov?fcc*): New patterns and splitters.
4704 * i386.c (ix86_expand_movcc): Work post-reload; recognize
4705 the SSE based conditional moves.
4706
4707 Wed Feb 28 19:18:23 CET 2001 Jan Hubicka <jh@suse.cz>
4708
4709 * i386.md (attribute mode): Add "TI".
4710 (movsf_1): Add pxor support; remove constant propagation splitter.
4711 (movdf_integer): Likewise.
4712 (movdf_nointeger): Likewise.
4713 (movxf constant prop splitter): Handle all modes; update for SSE.
4714 * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
4715 * i386.c (standard_80387_constant_p): Rewrite.
4716 (standard_sse_constant_p): New.
4717 * i386-protos.h (standard_sse_constant_p): New.
4718
4719 Wed Feb 28 19:05:37 CET 2001 Jan Hubicka <jh@suse.cz>
4720
4721 * i386.md (sse_setccsf, sse_setccdf): New.
4722 (sse_cmp* patterns): Use '%D' instead of outputtting condition
4723 flag directly.
4724 * i386.c (sse_comparison_operator): Accept the supported unordered
4725 comparses; be ready for fast_math.
4726 (print_operand): Support 'D'.
4727
4728 Wed Feb 28 18:54:51 CET 2001 Jan Hubicka <jh@suse.cz>
4729
4730 * jump.c (reversed_comparison_code): Kill.
4731
4732 Wed Feb 28 18:50:15 CET 2001 Jan Hubicka <jh@suse.cz>
4733
4734 * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
4735 for STACK_REGS
4736
4737 Wed Feb 28 18:47:37 CET 2001 Jan Hubicka <jh@suse.cz>
4738
4739 * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
4740 add missing '%' in constraints.
4741
4742 Wed Feb 28 17:24:24 CET 2001 Jan Hubicka <jh@suse.cz>
4743
4744 * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
4745 for HOST_BITS_PER_WIDE_INT == 32 too.
4746
4747 Wed Feb 28 17:22:35 CET 2001 Jan Hubicka <jh@suse.cz>
4748
4749 * caller-save.c (reg_save_code, reg_restore_code): Index by mode, not
4750 NREGS.
4751 (insert_save, insert_restore): New parameter save_mode.
4752 (init_caller_save): Update initialization of reg_save_code
4753 and reg_restore_code.
4754 (save_call_clobbered_regs): Compute save_modes and update calls to
4755 reg_save_code and reg_restore_code.
4756 (insert_restore): Unsignetize numbers; use save_modes to choose mode
4757 of spill; update use of reg_restore_code.
4758 (insert_save): Likewise.
4759 * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
4760 * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
4761 * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
4762
4763 Wed Feb 28 17:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
4764
4765 * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
4766 noce_try_store_flag_inc, noce_try_store_flag_mask,
4767 noce_try_cmove_arith):
4768 Use reversed_comparison_code instead of reverse_comparison and
4769 can_reverse_comparison_p.
4770
4771 Wed Feb 28 17:17:29 CET 2001 Jan Hubicka <jh@suse.cz>
4772
4773 * jump.c (reversed_comparison_code_parts): Allow reversal of
4774 unordered compares in -ffast-math mode; reverse ordered compares
4775 for FP even w/o -ffast-math.
4776
4777 2001-02-27 Richard Henderson <rth@redhat.com>
4778
4779 * print-rtl.c (print_rtx) [i]: Don't print field five on
4780 NOTEs other than NOTE_INSN_DELETED_LABEL.
4781
4782 2001-02-27 Zack Weinberg <zackw@stanford.edu>
4783
4784 * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
4785 * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
4786
4787 2001-02-27 Diego Novillo <dnovillo@redhat.com>
4788
4789 * c-common.c (walk_stmt_tree): Visit the chain of the current tree
4790 even if walk_subtrees is 0.
4791 * c-semantics.c (prune_unused_decls): Return a non-null value to
4792 stop traversing the tree chain.
4793
4794 2001-02-27 DJ Delorie <dj@redhat.com>
4795
4796 * config/m68k/m68k.c (output_function_prologue): Save the new CFA
4797 register, *then* define it as the new CFA.
4798
4799 Tue Feb 27 16:49:13 2001 Jeffrey A Law (law@cygnus.com)
4800
4801 * pa.c (override_options): Promote -fpic to -fPIC.
4802 (legitimize_pic_address): Simplify due to removal of
4803 small PIC as a code generation option.
4804 (secondary_reload_class): Similarly.
4805 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
4806 (PRINT_OPERAND_ADDRESS): Similarly.
4807 * pa.md (various patterns): Similarly.
4808 (small pic lo_sum pattern): Remove.
4809
4810 Tue Feb 27 16:01:13 CET 2001 Jan Hubicka <jh@suse.cz>
4811 Fergus Henderson
4812
4813 * md.texi (min, max): Document
4814
4815 Tue Feb 27 15:51:35 CET 2001 Jan Hubicka <jh@suse.cz>
4816
4817 * i386.md (movsf, movdf): Use movaps for reg-reg moves if
4818 TARGET_PARTIAL_REG_DEPENDENCY.
4819 (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
4820
4821 Tue Feb 27 15:36:48 CET 2001 Jan Hubicka <jh@suse.cz>
4822
4823 * i386.md (mins*, maxs*): New patterns, expanders and splitters.
4824
4825 2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
4826
4827 * mips.c (mips_make_temp_file): Fix thinko in last change.
4828
4829 2001-02-26 Jason Eckhardt <jle@redhat.com>
4830
4831 * combine.c (known_cond): Do not reverse the condition when
4832 SMAX/UMAX is being considered and the condition is for equality
4833 or inequality.
4834
4835 * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
4836
4837 2001-02-26 Philip Blundell <philb@gnu.org>
4838
4839 * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
4840 "armv2-*-linux".
4841 * config/arm/linux-elf.h: Remove historical relics related to
4842 above configurations.
4843 * config/arm/linux-oldld.h: Delete.
4844 * config/arm/linux-elf26.h: Delete.
4845
4846 2001-02-26 Jason Merrill <jason@redhat.com>
4847
4848 * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
4849 definitions.
4850 * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
4851 recognize a tentative definition. Lose obsolete code.
4852
4853 * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
4854 variables unless necessary, either.
4855
4856 2001-02-25 Richard Henderson <rth@redhat.com>
4857
4858 * ifcvt.c (struct noce_if_info): Add test_bb.
4859 (noce_get_alt_condition): New.
4860 (noce_try_minmax, noce_try_abs): New.
4861 (noce_operand_ok): New.
4862 (noce_process_if_block): Use them.
4863 * rtlanal.c (may_trap_p): NEG and ABS can never trap.
4864
4865 Sun Feb 25 14:26:17 2001 Christopher Faylor <cgf@cygnus.com>
4866
4867 * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
4868 include.
4869
4870 2001-02-25 Zack Weinberg <zackw@stanford.edu>
4871
4872 * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
4873 * config/mips/mips.c (mips_make_temp_file): Set temp_filename
4874 properly.
4875 (mips_asm_file_end): Free temp_filename here.
4876
4877 Sun Feb 25 08:34:23 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4878
4879 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
4880 * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
4881
4882 * config/i386/i386.md (movstrsi): Handle FAIL case.
4883
4884 2001-02-25 Neil Booth <neil@daikokuya.demon.co.uk>
4885
4886 * cppinit.c (builtin_array): Update.
4887 (init_builtins): Flag builtins to warn if redefined or
4888 undefined. Define __GXX_WEAK as a normal macro.
4889 * cpplib.c (do_undef): Warn if flagged NODE_WARN.
4890 * cpplib.h (NODE_WARN): New flag.
4891 * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
4892 Handle __STDC__ as a builtin only on Solaris.
4893 (warn_of_redefinition): Renamed from check_macro_definition.
4894 Reverse sense of test. Always warn if NODE_WARN.
4895 (_cpp_create_definition): Use warn_of_redefinition. Flag
4896 any macro beginning with "__STDC_" to require a mandatory
4897 warning if redefined or undefined.
4898
4899 2001-02-24 Zack Weinberg <zackw@stanford.edu>
4900
4901 * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
4902 i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
4903 i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
4904 i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
4905 m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
4906 mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
4907 Don't define any of:
4908 USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
4909 P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
4910 NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
4911 index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
4912 STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
4913
4914 * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
4915 fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
4916 definitions.
4917
4918 * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
4919 Delete now-empty file.
4920
4921 * alpha/vms.h: Define NEED_ATEXIT here...
4922 * alpha/xm-vms.h: ...not here.
4923
4924 * i386/cygwin.h: Don't define PARAMS.
4925 * mips/mips.c: Don't prototype mktemp. Don't define
4926 P_tmpdir. Use make_temp_file to create temporary files.
4927 Don't be clever and delete temporary files early.
4928 * config.gcc: Drop references to deleted files. Don't define
4929 FULL_PROTOTYPES.
4930 * gcc.texi: Don't mention USE_PROTOTYPES.
4931
4932 Sat Feb 24 20:25:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4933
4934 * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
4935 (ix86_set_move_mem_attrs_1): Likewise.
4936 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
4937 * config/i386/i386.md (movstrsi): Call it.
4938
4939 2001-02-24 Zack Weinberg <zackw@stanford.edu>
4940
4941 * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
4942 x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
4943 ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
4944 rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete.
4945
4946 (i750a-*-*): Error here if hosting on i750a.
4947 (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
4948
4949 * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
4950 Remove (empty modulo comments).
4951
4952 * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
4953 alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
4954 i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
4955 i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
4956 mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
4957 rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
4958
4959 * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
4960 Remove reference to winnt.h in comment.
4961 * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
4962
4963 2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4964
4965 * loop.c (check_dbra_loop): A biv has uses besides counting if it is
4966 used to set another biv.
4967
4968 Sat Feb 24 06:45:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4969
4970 * tree.h (BLOCK_DEAD): New macro.
4971 (struct tree_block): New flag, dead_flag.
4972 * print-tree.c (print_node, case 'b'): Print missing fields.
4973 * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
4974 * function.c (identify_blocks): Enable test for misplaced notes.
4975 (all_blocks): Skip BLOCK_DEAD blocks.
4976 * integrate.c (integrate_decl_tree): Likewise.
4977
4978 * errors.c (internal_error, trim_filename): New functions.
4979 (fancy_abort): Call internal_error.
4980 * errors.h (internal_error, trim_filename): New declarations.
4981
4982 2001-02-24 Alexandre Oliva <aoliva@redhat.com>
4983
4984 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
4985 2000-08-26's patch.
4986 (EXTRA_CONSTRAINT): Formatting changes.
4987
4988 2001-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4989
4990 * rtl.c (rtl_check_failed_code2): Fix typo in last change.
4991
4992 2001-02-23 Per Bothner <per@bothner.com>
4993
4994 * gcc.c (record_temp_file, pfatal_with_name, error): Make non-static,
4995 so they can be called from java/jvspec.c.
4996 * gcc.h (record_temp_file, pfatal_with_name, error): Declare.
4997
4998 Sat Feb 24 03:32:50 CET 2001 Jan Hubicka <jh@suse.cz>
4999
5000 * i386.c (ix86_frame): New structure.
5001 (ix86_compute_frame_size): Kill.
5002 (ix86_compute_frame_layout): New.
5003 (ix86_save_reg): New.
5004 (ix86_can_use_return_insn_p): Use frame layout stuff.
5005 (ix86_expand_prologue): Likewise.
5006 (ix86_expand_epilogue): Likewise.
5007 (ix86_initial_elimination_offset): Likewise.
5008 (ix86_nsaved_regs): Use ix86_save_reg.
5009 (ix86_emit_save_regs): Likewise.
5010
5011 Sat Feb 24 03:30:38 CET 2001 Jan Hubicka <jh@suse.cz>
5012
5013 * flow.c (find_sub_basic_blocks): New function.
5014 (split_block): Be ready for basic block introduced by CODE_LABEL.
5015 (commit_one_edge_insertion): Call find_sub_basic_block.
5016
5017 * flow.c (make_edges): Add edge from entry for blocks starting with
5018 label having ALTERNATE_NAME
5019
5020 Sat Feb 24 03:19:42 CET 2001 Jan Hubicka <jh@suse.cz>
5021
5022 * function.c (epilogue_done): Be ready for first basic block not
5023 containing PROLOGUE_END note.
5024 (reposition_prologue_and_epilogue_notes): Avoid placing
5025 PROLOGUE_END note between BASIC_BLOCK.
5026
5027 Sat Feb 24 03:17:09 CET 2001 Jan Hubicka <jh@suse.cz>
5028
5029 * loop.c (canonicalize_condition): Move to reversed_comparison_code.
5030
5031 2001-02-21 DJ Delorie <dj@redhat.com>
5032
5033 * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
5034 check for current_function_has_nonlocal_goto from 1999-11-12.
5035
5036 Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5037
5038 * diagnostic.c (trim_filename): No longer static.
5039 * toplev.h (trim_filename): Declare.
5040 * rtl.c (rtl_check_failed_bounds): Call internal_error.
5041 (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
5042 (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
5043 (rtvec_check_failed_bounds): Likewise.
5044 * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
5045
5046 * convert.c (convert_to_integer): Don't do unsigned unless result or
5047 both inputs are unsigned.
5048
5049 * fold-const.c (fold_convert): Don't call size_int_type_wide if
5050 input overflows.
5051
5052 * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
5053
5054 * varasm.c (output_constant): Recompute CODE after lang-specific fn.
5055
5056 2001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
5057
5058 * Makefile.in (resource.o): Add params.h dependence.
5059 * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
5060 * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
5061 * resource.c: Add dependence on params.h.
5062 (current_live_regs): Fix explanatory comment.
5063 (find_basic_block): Add new parameter to permit limiting search
5064 for a BARRIER.
5065 (mark_target_live_regs): Add new argument to find_basic_block call.
5066 (incr_ticks_for_insn): Likewise.
5067
5068 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5069
5070 * diagnostic.c (output_to_stream): Rename to
5071 output_buffer_to_stream. Loses the stream parameter.
5072 (init_output_buffer): Set diagnosic_buffer's stream.
5073 (flush_diagnostic_buffer): Adjust.
5074 (default_print_error_function): Likewise.
5075 (finish_diagnostic): Likewise.
5076 (verbatim): Likewise.
5077
5078 * diagnostic.h (struct output_buffer): Add `stream' field.
5079 (output_buffer_attached_stream): New macro.
5080
5081 2001-02-23 Jakub Jelinek <jakub@redhat.com>
5082
5083 * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
5084 check if either operand is divisible by C.
5085 (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
5086 If type is signed, consider negative numbers as well.
5087
5088 2001-02-22 Richard Henderson <rth@redhat.com>
5089
5090 * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
5091 reach .text instead of gp-relative relocs.
5092 * config/ia64/crtend.asm (.init): Likewise.
5093
5094 2001-02-22 Andreas Jaeger <aj@suse.de>
5095
5096 * extend.texi (C++ Attributes): Fix typo.
5097
5098 2001-02-21 David Mosberger <davidm@hpl.hp.com>
5099
5100 * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
5101 functions, drop current_function_args_info.words test.
5102 (ia64_compute_frame_size): Mark syscall_linkage functions as
5103 using eight input registers.
5104
5105 2001-02-21 Loren J. Rittle <ljrittle@acm.org>
5106 Bruce Korb <bkorb@gnu.org>
5107
5108 * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
5109 * fixinc/README: Document how to convert sed substitutions
5110 to format style c_fix-es.
5111 * fixinc/fixincl.x: regen
5112
5113 2001-02-21 Jeffrey D. Oldham <oldham@codesourcery.com>
5114
5115 * gcc.c: Add comment explaining how to add a command-line option.
5116 Add title to specs language comment.
5117
5118 2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
5119
5120 * gcc.c (cc1_options): Add "-param".
5121 (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
5122 (option_map): Likewise.
5123 * toplev.c (display_help): Add entry for "--param".
5124 (independent_decode_option): Fix typographical error.
5125
5126 Wed Feb 21 18:57:28 CET 2001 Catherine Moore <clm@redhat.com>
5127 Bernd Schmidt <bernds@redhat.com>
5128 Jan Hubicka <jh@suse.cz>
5129
5130 * i386.c (function_arg_advance): Pass SSE arguments in registers.
5131 (function_arg): Likewise.
5132
5133 Wed Feb 21 18:12:41 CET 2001 Jan Hubicka <jh@suse.cz>
5134
5135 * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
5136
5137 2001-02-21 Kazu Hirata <kazu@hxi.com>
5138
5139 * config/h8300/h8300.md (iorsi3): Do not output an extra newline
5140 character.
5141 (xorsi3): Likewise.
5142
5143 Wed Feb 21 17:35:24 CET 2001 Jan Hubicka <jh@suse.cz>
5144
5145 * flow.c (init_propagate_block_info): Canon address and use single_set
5146 for killing dead memory stores.
5147
5148 2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
5149
5150 * Makefile.in (reorg.o): Add params.h dependence.
5151 * params.def: Fix typographical error in comment.
5152 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
5153 * params.h: Modify introductory comment.
5154 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
5155 * reorg.c: Add dependence on params.h.
5156 (redundant_insn): Add parameterized throttle for search.
5157 (fill_simple_delay_slots): Add a comment explaining a variable.
5158 Move conditional out of loop, simplifying code.
5159 (fill_eager_delay_slots): Fix typographical error in comment.
5160
5161 2001-02-20 Aldy Hernandez <aldyh@redhat.com>
5162
5163 * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
5164
5165 * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
5166 (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
5167
5168 2001-02-21 Jason Merrill <jason@redhat.com>
5169
5170 * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
5171 (struct tree_decl): Add uninlinable bitfield.
5172 * c-decl.c (duplicate_decls): Set it.
5173 * integrate.c (function_cannot_inline_p): Check it.
5174
5175 * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
5176 DW_AT_MIPS_linkage_name to abstract methods.
5177 (dwarf2out_abstract_function): Emit class context before calling
5178 set_decl_abstract_flags. Don't clear DECL_ABSTRACT.
5179 (gen_subprogram_die): Remove obsolete code.
5180 (gen_member_die): Don't include clones in the member list.
5181 (gen_decl_die): Emit abstract info for clone origin.
5182 * dwarfout.c (output_type): Don't include clones in the member list.
5183 * dbxout.c (dbxout_type_methods): Ignore abstract methods.
5184 * toplev.c (note_deferral_of_defined_inline_function): Don't clear
5185 DECL_ABSTRACT on a function that already has it set.
5186
5187 * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
5188 (get_subprogram_die): Pass it in.
5189
5190 2001-02-21 Richard Earnshaw <rearnsha@arm.com>
5191
5192 * flow.c (mark_set_1): Make not_dead unsigned long. For
5193 non-pseudos, use it as a bitmask of the hard regs that
5194 don't die.
5195
5196 2001-02-21 Neil Booth <neil@daikokuya.demon.co.uk>
5197
5198 * cppfiles.c: Update comments.
5199 (_cpp_read_file): Don't check for NULL filenames any more.
5200 * cppinit.c (cpp_start_read): Don't do canonicalization of
5201 in_fname and out_fname. Use the passed file name exclusively.
5202 (_cpp_handle_options): Don't treat "-" as a command line option,
5203 but as a normal filename.
5204 (_cpp_post_options): Canonicalize in_fname and out_fname.
5205 * cppmain.c (printer_init): Don't check out_fname for NULL.
5206 * c-lex.c (orig_filename): Rename cpp_filename for clarity.
5207 (init_c_lex): Update, and use "" to represent stdin to CPP.
5208 (yyparse): Update.
5209
5210 2001-02-20 Will Cohen <wcohen@redhat.com>
5211
5212 * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
5213 * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
5214 (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
5215 fixunstfsi_libfunc.
5216
5217 2001-02-20 Stan Shebs <shebs@apple.com>
5218
5219 * config/rs6000/rs6000.c (output_cbranch): Output branches
5220 on separate lines instead of using ';' to separate.
5221
5222 2001-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
5223
5224 * cppinit.c (set_lang): Move builtin handling to...
5225 (init_builtins): ...here.
5226 (_cpp_create_reader): Move call to set_lang.
5227
5228 2001-02-20 Mark Mitchell <mark@codesourcery.com>
5229
5230 * stmt.c (expand_return): If an attempt is made to return the
5231 error_mar_node, treat the return like a return without a value.
5232
5233 2001-02-19 Zack Weinberg <zackw@stanford.edu>
5234
5235 * sibcall.c (skip_copy_to_return_value): Call
5236 identify_call_return_value here, and return orig_insn if it
5237 returns zero. Hardret and softret arguments now unnecessary.
5238 (call_ends_block_p): Don't call identify_call_return_value here.
5239
5240 * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
5241 's' slots in RTXen.
5242 * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
5243 * ggc.h (ggc_mark_if_gcable): Delete prototype.
5244
5245 Mon Feb 19 20:30:16 2001 Jeffrey A Law (law@cygnus.com)
5246
5247 * pa.c (move_operand): Accept code to load the address of a
5248 symbol out of the DLT as a valid move operand.
5249 (print_operand, case 'A'): New to handle generating a DLT
5250 reference for a LO_SUM expression.
5251 * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
5252 * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
5253
5254 2001-02-19 Joseph S. Myers <jsm28@cam.ac.uk>
5255
5256 * README, cpp.texi, gcc.texi, version.c: Update version number to
5257 3.1.
5258 * cpp.1, gcov.1, gcc.1: Regenerate.
5259
5260 2001-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
5261
5262 * cppfiles.c (stack_include_file): Generate dependencies
5263 here, and manage include_count here too.
5264 (PRINT_THIS_DEP): Delete.
5265 (_cpp_execute_include): Do not generate dependencies here,
5266 apart from the case of a missing header. Do not manage
5267 include_count.
5268 (_cpp_read_file): Leave dependency generation to
5269 stack_include_file.
5270
5271 Mon Feb 19 10:17:47 2001 Jeffrey A Law (law@cygnus.com)
5272
5273 * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
5274 target_cpu_default. Remove dead assignment to
5275 target_cpu_default.
5276
5277 Mon Feb 19 16:47:39 CET 2001 Jan Hubicka <jh@suse.cz>
5278
5279 * regclass.c (contains_reg_of_mode): Make global.
5280 (init_reg_sets): Remove contains_reg_of_mode; take into account
5281 CLASS_MAX_NREGS when looking for the proper mode.
5282 (dump_regclass): Dump only classes considered for the pseudo.
5283 (regclass): Use contains_reg_of_mode.
5284
5285 Mon Feb 19 16:45:42 CET 2001 Jan Hubicka <jh@suse.cz>
5286
5287 * gcc.c (do_spec_1): 'n' for printing notices.
5288 * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
5289
5290 Mon Feb 19 15:51:30 CET 2001 Jan Hubicka <jh@suse.cz>
5291
5292 * reg-stack.c (next_flags_user): Use current_block->end
5293 (swap_rtx_condition): Look for next user if flags don't die;
5294 give up on CALL_INSNs; use current_block->end.
5295
5296 Mon Feb 19 08:27:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5297
5298 * sibcall.c (call_ends_block_p): New function.
5299 (optimize_sibling_and_tail_recursive_call): Use it.
5300
5301 2001-02-18 Kazu Hirata <kazu@hxi.com>
5302
5303 * config/h8300/h8300.md: Update copyright.
5304 (andsi3): Do not output an extra newline character.
5305
5306 Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5307
5308 * toplev.c (note_deferral_of_defined_inlined_function): Argument
5309 FNDECL may be unused.
5310
5311 * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
5312 follow jumps after first run.
5313 If -fexpensive-optimizations rerun CSE after GCSE and iterate until
5314 it doesn't change any jumps.
5315
5316 Sun Feb 18 17:05:50 2001 Jeffrey A Law (law@cygnus.com)
5317
5318 * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
5319 ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
5320 (mostlyclean): Corresponding changes.
5321 * rtlanal.c (hard-reg-set.h): Include.
5322 (rtx_unstable_p): Do not treat the argument pointer specially
5323 if it is not a fixed register.
5324 (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
5325
5326 Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5327
5328 * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
5329 against last real insn in basic block.
5330 Rework to avoid gotos.
5331
5332 * Makefile.in (gcse.o): Now includes ggc.h.
5333 * gcse.c: Include ggc.h.
5334 (want_to_gcse_p): Verify expression can be in SET as valid insn.
5335 (try_replace_reg): Remove warning of uninitialize variable.
5336 (process_insert_insn): Call invalid_insn_p to validate insn.
5337 * recog.c (insn_invalid_p): Now global.
5338 See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
5339 * recog.h (insn_invalid_p): New declaration.
5340
5341 * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
5342
5343 * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
5344 assignments from FP constants since 'Y' output code can't handle it.
5345 (eligible_for_sibcall_delay): Likewise.
5346
5347 * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
5348 Call fancy_abort directly, passing args.
5349 (print_rtl_and_abort): Now a macro, like fancy_abort.
5350
5351 * final.c (output_operand_lossage): Use internal_error, not error.
5352
5353 2001-02-18 Shane Nay <shane@agendacomputing.com>
5354
5355 * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
5356 structure shift insns.
5357
5358 2001-02-18 Mark Mitchell <mark@codesourcery.com>
5359
5360 * invoke.texi (-fsquangle): Remove documentation.
5361 (-fname-mangling-version): Likewise.
5362
5363 2001-02-18 Lars Brinkhoff <lars@nocrew.org>
5364
5365 * optabs.c (expand_abs): Remove reference to
5366 HAVE_contitional_arithmetic.
5367 * combine.c (simplify_set): Likewise.
5368
5369 2001-02-18 Richard Henderson <rth@redhat.com>
5370
5371 * ifcvt.c (dead_or_predicable): Don't move code if eh regions
5372 would be disrupted.
5373
5374 2001-02-18 Richard Henderson <rth@redhat.com>
5375
5376 * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
5377
5378 * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
5379
5380 * reload1.c (reload_cse_simplify_set): Fix typo.
5381
5382 Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5383
5384 * diagnostic.c (_fatal_insn): Decrement errorcount.
5385
5386 * invoke.texi (-I): Add note avoiding use for system header files.
5387
5388 * rtl.h (add_clobbers): Remove duplicate declaration.
5389 * recog.h (added_clobbers_hard_reg_p): New declaration.
5390 * genemit.c (struct clobber_pat): New field has_hard_reg.
5391 (gen_insn): Record if added clobbers clobber hard reg.
5392 (gen_split): Avoid unused warning if number of operands is 0.
5393 (output_added_clobbers_hard_reg_p): New function.
5394 (main): Call it.
5395
5396 2001-02-18 Alan Modra <alan@linuxcare.com.au>
5397
5398 * pa.c (hppa_expand_prologue): Simplify code storing return
5399 pointer. For large (>=8k) frames with a post_store, adjust stack
5400 pointer by 8k-64 first rather than by 64. When testing with
5401 VAL_14_BITS_P, always use the actual value rather than the value
5402 negated. Add blockage to prevent scheduling of spills before
5403 stack frame has been created.
5404 (hppa_expand_epilogue): Simplify code loading return pointer.
5405 Allow a slightly larger range for merge_sp_adjust_with_load case.
5406 When testing with VAL_14_BITS_P, always use the actual value.
5407
5408 * pa.c (pa_adjust_insn_length): Check that block move
5409 pattern is a set before looking at operands.
5410
5411 2001-02-17 Mark Mitchell <mark@codesourcery.com>
5412
5413 * fold-const.c (fold_binary_op_with_conditional_arg): New
5414 function, split out from ...
5415 (fold): ... here.
5416 * tree.def (COND_EXPR): Document the use of VOID_TYPE for
5417 conditional arms that throw exceptions.
5418
5419 * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
5420 looking at a BLOCK.
5421
5422 2001-02-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5423
5424 * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
5425 define HAVE_DECL_* to 1 to mask potential backup declarations.
5426 * configure: Regenerated.
5427
5428 2001-02-17 Mark Mitchell <mark@codesourcery.com>
5429
5430 * invoke.texi (-Woverloaded-virtual): Clarify documentation.
5431
5432 2001-02-17 Richard Henderson <rth@redhat.com>
5433
5434 * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
5435 when replacing a memory load with a register.
5436
5437 Sat Feb 17 14:48:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5438 Jan Hubicka <jh@suse.cz>
5439
5440 * recog.c (validate_replace_src_1): New.
5441 (validate_replace_src_data): Likewise.
5442 (validate_replace_src): Use note_uses.
5443 * rtl.h (note_uses): Declare.
5444 * rtlanal.c (note_uses): New.
5445
5446 Sat Feb 17 10:52:34 CET 2001 Jan Hubicka <jh@suse.cz>
5447
5448 * reg-stack.c (stack_def): Make field reg unsigned.
5449 (remove_regno_note): Unsignetize parameter.
5450
5451 2001-02-16 Jes Sorensen <jes@linuxcare.com>
5452
5453 * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
5454 shladd_operand() call.
5455
5456 2001-02-16 Bruce Korb <bkorb@gnu.org>
5457 Rodney Brown <RodneyBrown@mynd.com>
5458
5459 * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
5460 * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
5461 machine restrictions
5462 * fixinc/fixincl.x: regen
5463
5464 Fri Feb 16 12:41:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5465
5466 * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
5467 Don't CSE a nop.
5468 (hash_scan_insn): Clean up calls to hash_scan_set.
5469 (compute_kill_rd): REGNO now unsigned.
5470 (try_replace_reg): Rework to use simplify_replace_rtx.
5471 (cprop_jump, cprop_cc0_jump): Likewise.
5472 (cprop_insn): Call find_reg_equal_equiv_note.
5473 Reflect changes to cprop_jump and cprop_cc0_jump.
5474
5475 * recog.c (validate_replace_src): Replace in operands of
5476 ZERO_EXTRACT in SET_DEST.
5477
5478 * cse.c (new_label_ref): New variable.
5479 (insert): Set it instead of recorded_label_ref.
5480 (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
5481 CODE_LABEL for this function, and not already in REG_LABEL note.
5482
5483 2001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
5484
5485 * resource.c (mark_referenced_resources): Fix typo in introductory
5486 comment.
5487 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
5488 string constant.
5489
5490 2001-02-16 Jason Merrill <jason@redhat.com>
5491
5492 * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
5493 NULL.
5494 (gen_subprogram_die): Don't abort on seeing a second definition if
5495 the previous one was abstract. Don't replace an abstract instance
5496 in the lookup table.
5497
5498 * dwarf2out.c (dwarf2out_abstract_function): Rename from
5499 gen_abstract_function.
5500 * dwarf2out.h: Declare it.
5501 * toplev.c (note_outlining_of_inline_function): New fn.
5502 * toplev.h: Declare it.
5503 * integrate.c (output_inline_function): Call it.
5504 * c-decl.c (duplicate_decls): Call it when redefining an extern
5505 inline. Don't inline the new defn.
5506
5507 * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
5508
5509 2001-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5510
5511 * .gdbinit: Rename to gdbinit.in.
5512 * gdbinit.in: New file,
5513 * configure.in: Generate .gdbinit from gdbinit.in.
5514 * configure: Regenerated.
5515 * Makefile.in (distclean): Always remove .gdbinit.
5516
5517 2001-02-16 Jakub Jelinek <jakub@redhat.com>
5518
5519 * objc/objc-act.c (start_class): Register implemented_classes with
5520 GC.
5521
5522 2001-02-16 Neil Booth <neil@daikokuya.demon.co.uk>
5523
5524 * cppfiles.c (_cpp_make_system_header): Generate a file
5525 change callback.
5526
5527 2001-02-15 Jim Meyering <meyering@lucent.com>
5528
5529 * Makefile.in (install-common): Don't depend on installdirs here.
5530 Instead, make each of the lang.install-common targets (e.g.,
5531 c++.install-common in cp/Make-lang.in) depend on it.
5532 (install-driver): Depend on installdirs.
5533
5534 Thu Feb 15 21:30:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5535
5536 * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
5537
5538 * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
5539 do in memory.
5540
5541 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5542
5543 * invoke.texi (--param): Document.
5544
5545 Thu Feb 15 15:16:38 2001 Alexandre Oliva <aoliva@redhat.com>
5546
5547 * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
5548
5549 Thu Feb 15 10:52:31 CET 2001 Jan Hubicka <jh@suse.cz>
5550
5551 * i386.md (extendsfdf2_2): Fix constraints.
5552
5553 Thu Feb 15 09:46:21 CET 2001 Jan Hubicka <jh@suse.cz>
5554
5555 * i386.md (fop_df_3 splitter): Fix operand number.
5556
5557 Wed Feb 14 12:37:37 CET 2001 Jan Hubicka <jh@suse.cz>
5558
5559 * invoke.texi (-mreg-alloc): Nuke.
5560 * i386.c (ix86_reg_alloc_order, regs_allocated,
5561 order_regs_for_local_alloc): Nuke.
5562 (override_options): Kill reg_alloc code.
5563 * i386.h (TARGET_OPTIONS): Kill reg-alloc.
5564 (REG_ALLOC_ORDER): SSE goes before I387.
5565 (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
5566 (ix86_reg_alloc_order): Likewise.
5567 * i386-protos.h (ix86_reg_alloc_order): Kill.
5568
5569 2001-02-14 Richard Henderson <rth@redhat.com>
5570
5571 * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
5572
5573 Wed Feb 14 11:59:58 CET 2001 Jan Hubicka <jh@suse.cz>
5574
5575 * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
5576
5577 Wed Feb 14 11:12:38 CET 2001 Jan Hubicka <jh@suse.cz>
5578
5579 * i386-protos.h (ix86_memory_move_cost): Move offline.
5580 * i386.c (ix86_register_move_cost): Compute properly cost of
5581 SSE, MMX and i387 instructions.
5582 (*_cost): Add costs of SSE/MMX moves.
5583 (ix86_memory_move_cost): Move offline from ....; Likewise.
5584 * i386.h (MEMORY_MOVE_COST): .... here;
5585 (struct processor costs): Add new fields to represent costs
5586 of SSE/MMX moves.
5587
5588 Wed Feb 14 10:08:26 CET 2001 Jan Hubicka <jh@suse.cz>
5589
5590 * regclass.c (init_reg_sets_1): Reinstall the optimization of
5591 move_cost together with Matt Kraai's fix.
5592
5593 2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
5594
5595 * Makefile.in (OBJS): Add params.o.
5596
5597 2001-02-14 Richard Henderson <rth@redhat.com>
5598 DJ Delorie <dj@redhat.com>
5599
5600 * jump.c (jump_optimize_1): When we delete a conditional jump
5601 preceeding a non-conditional jump to effectively the same place,
5602 make sure that the combined jump skips any clobber insns between
5603 the two labels.
5604
5605 2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
5606
5607 * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
5608
5609 2001-02-14 Mark Mitchell <mark@codesourcery.com>
5610
5611 * Makefile.in (toplev.o): Depend on params.h.
5612 (intergate.o): Likewise.
5613 (params.o): New target.
5614 * flags.h (inline_max_insns): Remove.
5615 * integrate.c: Include params.h.
5616 Use MAX_INLINE_INSNS instead of inline_max_insns.
5617 * params.c: New file.
5618 * params.h: Likewise.
5619 * params.def: Likewise.
5620 * toplev.c: Include params.h.
5621 (lang_independent_params): New variable.
5622 (decode_f_option): Use the param machinery instead of setting
5623 max_inline_insns.
5624 (independent_decode_option): Handle "--param name=value".
5625 (main): Register language-independent parameters.
5626
5627 Wed Feb 14 11:13:45 CET 2001 Jan Hubicka <jh@suse.cz>
5628
5629 * i386.md (pushsf, pushdf_nointeger): Fix constraint.
5630
5631 2001-02-14 Richard Henderson <rth@redhat.com>
5632
5633 * regclass.c (init_reg_sets_1): Revert last two changes.
5634
5635 2001-02-14 Jakub Jelinek <jakub@redhat.com>
5636
5637 * stor-layout.c (is_pending_size, put_pending_size): New functions.
5638 (variable_size): Call put_pending_size.
5639 * tree.h (is_pending_size, put_pending_size): Add prototypes.
5640 * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
5641 sizes list, put newly created SAVE_EXPR there as well.
5642
5643 2001-02-14 Jakub Jelinek <jakub@redhat.com>
5644
5645 * config/ia64/ia64.c (last_group): Only 2 entries are needed.
5646 (errata_find_address_regs): load_group has only 2 entries.
5647 (errata_emit_nops): Likewise. shladd is not problematic.
5648 Clear last_group if nop was emitted.
5649 (fixup_errata): load_group has only 2 entries.
5650 Optimize.
5651
5652 2001-02-14 Neil Booth <neil@daikokuya.demon.co.uk>
5653
5654 * c-lex.c (lex_number): Only warn traditionally for U suffix
5655 outside system macros.
5656 * cppexp.c (parse_number): Similarly.
5657 * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
5658 * cppmacro.c (struct cpp_macro): New member node.
5659 (parse_args): Only warn about missing rest args if not
5660 a system macro.
5661 (funlike_invocation_p): Similarly for uninvoked funlike macros.
5662 (cpp_sys_objmacro_p): New.
5663 (_cpp_create_definition): Store the node with the macro defn.
5664 Remember if the macro is defined in a system header.
5665
5666 2001-02-13 DJ Delorie <dj@redhat.com>
5667
5668 * configure.in (check_languages): determine languages to check
5669 * Makefile.in (check-c++): alias for check-g++
5670 (check-f77): alias for check-g77
5671 (CHECK_TARGETS): depend on configured languages
5672
5673 Wed Feb 14 01:13:59 CET 2001 Jan Hubicka <jh@suse.cz>
5674
5675 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
5676 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
5677 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
5678 (sqrtextendsfdf2): Disable for SSE2.
5679
5680 Wed Feb 14 00:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
5681
5682 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
5683 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
5684 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
5685 (sqrtextendsfdf2): Disable for SSE2.
5686
5687 Wed Feb 14 00:11:20 CET 2001 Jan Hubicka <jh@suse.cz>
5688
5689 * i386.md (movsfcc_1): Support integer cmove instruction.
5690 (movdfcc_1): Likewise; new splitter.
5691
5692 Tue Feb 13 23:19:27 CET 2001 Jan Hubicka <jh@suse.cz>
5693
5694 * i386.c (output_fp_compare): Support SSE.
5695 (prepare_fp_compare_args): SSE comparisons always support memory.
5696 * i386.h (TARGET_CMOVE): SSE imply cmove.
5697 * i386.md (cmp?f2): Enable for SSE too.
5698 (cmpfp_i*): Support SSE.
5699 (cmpfp_i_sse): New.
5700 (cmpfp_i_sse_only): New.
5701 (s*, b* fp expanters): Enable for SSE too.
5702 (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
5703 New patterns.
5704
5705 Tue Feb 13 23:05:42 CET 2001 Jan Hubicka <jh@suse.cz>
5706
5707 * regclass.c (init_reg_sets_1): Silence warning.
5708
5709 Tue Feb 13 22:03:07 CET 2001 Jan Hubicka <jh@suse.cz>
5710
5711 * i386.md (sqrt?f2): Change to expander.
5712 (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
5713
5714 Tue Feb 13 15:42:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5715
5716 * rtlanal.c (find_reg_equal_equiv_note): New function.
5717 * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
5718 (simplify_gen_relational, simplify_replace_rtx): Likewise.
5719 * rtl.h: Add declarations for above functions.
5720
5721 Tue Feb 13 21:09:11 CET 2001 Jan Hubicka <jh@suse.cz>
5722
5723 * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
5724 conditionals.
5725 * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
5726 * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
5727 * flow.c (mark_regs_live_at_end): Likewise.
5728 (calculate_global_regs_live): Likewise.
5729 * gcse.c (compute_hash_table): Likewise.
5730 (compute_kill_rd): Likewise.
5731 * resource.c (mark_target_live_regs): Likewise.
5732 * rtl.h (INVALID_REGNUM): New macro.
5733
5734 Tue Feb 13 20:59:22 CET 2001 Jan Hubicka <jh@suse.cz>
5735
5736 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
5737
5738 Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz>
5739
5740 * i386.md (fixsfsi2, fixdfdi2): Force operand to register
5741 for SSE.
5742
5743 Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz>
5744
5745 * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
5746 too.
5747 (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
5748 (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
5749 (fop_sf_1_sse, fop_df_1_sse): New patterns
5750 (fop_*): Disable float_extend and float patterns for SSE compilation.
5751 * i386.c (output_387_binary_op): Support SSE.
5752
5753 Tue Feb 13 14:16:34 CET 2001 Jan Hubicka <jh@suse.cz>
5754
5755 * i386.md (dummy_extendsfdf2): Support SSE2
5756 (extendsfdf2): Enable if 80387 or SSE2.
5757 (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
5758 and no MIX_I387_SSE2
5759 (extendsfdf2_1_sse_only): New pattern.
5760 (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
5761 of SSE.
5762 (truncdfsf2_1): Support SSE.
5763 (truncdfsf2_2): Support SSE.
5764 (truncdfsf2_2_1_sse): New pattern.
5765 (fixtruncsfsi2): Always use SSE if available.
5766 (fix_truncsfsi_sse): New pattern.
5767 (fix_truncdfsi_sse): New pattern.
5768 (floatsis?f2): Support SSE.
5769 (floatsidf2_i387): New pattern.
5770 (floatsidf2_sse): Likewise.
5771
5772 Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5773
5774 * configure.in: Use "have_gnat" variable, not "gnat".
5775 * configure: Regenerated.
5776
5777 * config/sparc/sparc.c (function_value): Treat all non-record
5778 aggregate types like used to treat UNION_TYPE.
5779
5780 Tue Feb 13 13:31:33 CET 2001 Jan Hubicka <jh@suse.cz>
5781
5782 * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
5783 * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
5784 (MASK_SSE2): New.
5785 (MASK_MIX_SSE_I387): New.
5786 (TARGET_SSE): SSE2 imply SSE.
5787 (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
5788 (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
5789 (enum reg_class): Add new classes.
5790 (REG_CLASS_NAMES): Likewise.
5791 (REG_CLASS_CONTENTS): Likewise.
5792 (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
5793 (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
5794 supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
5795 (CLASS_MAX_NREGS): Use new macros.
5796 (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
5797 * i386.md (pushsf, movsf): Support SSE.
5798 (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
5799 splitters to use ANY_FP_REGNO_P.
5800 (movdf_nointeger, movdf_integer): Likewise.
5801
5802 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
5803
5804 * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
5805 (try_combine): Use it.
5806
5807 Tue Feb 13 11:37:06 CET 2001 Jan Hubicka <jh@suse.cz>
5808
5809 * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
5810 MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
5811 (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
5812 (REGISTER_MOVE_COST): Likewise.
5813 * i386-protos.h (ix86_secondary_memory_needed,
5814 ix86_preferred_reload_class, ix86_register_move_cost): Declare.
5815 * i386.c (ix86_secondary_memory_needed,
5816 ix86_preferred_reload_class, ix86_register_move_cost): New function.
5817
5818 Die Feb 13 11:04:25 CET 2001 Jan Hubicka <jh@suse.cz>
5819
5820 * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
5821 (HARD_REGNO_MODE_OK): Move offline to ....
5822 * i386.c (ix86_hard_regno_mode_ok) ... here;
5823 refuse all incorrect modes.
5824 * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
5825
5826 2001-02-13 Richard Henderson <rth@redhat.com>
5827
5828 * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
5829 entire operator; replicate that and match_dup the operands.
5830 (cmp_ccx_arith_op_set): Likewise.
5831 (cmp_cc_arith_op_not_set): Likewise.
5832 (cmp_ccx_arith_op_not_set): Likewise.
5833
5834 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
5835
5836 * explow.c (trunc_int_for_mode): Sign-extend value to mode.
5837
5838 2001-02-12 Geoffrey Keating <geoffk@redhat.com>
5839
5840 * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
5841 (TARGET_NO_BITFIELD_WORD): New macro.
5842 (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
5843 (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
5844
5845 Mon Feb 12 18:13:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5846
5847 * cselib.c: New file, from simplify-rtx.c.
5848 * simplify-rtx.c: Remove cselib parts.
5849 * Makefile.in: Add cselib.o.
5850
5851 2001-02-12 Geoffrey Keating <geoffk@redhat.com>
5852
5853 * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
5854 (setup_incoming_varargs): Remove warning.
5855
5856 * config/rs6000/rs6000.c (validate_condition_mode): When
5857 flag_fast_math, allow floating-point conditionals to be reversed.
5858 (rs6000_generate_compare): When flag_fast_math, don't generate
5859 cror operations for FP conditionals.
5860
5861 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
5862 -mcall-i960.
5863 (ASM_SPEC): Likewise.
5864 (CC1_ENDIAN_LITTLE_SPEC): Likewise.
5865 (CC1_SPEC): Likewise.
5866 (LINK_TARGET_SPEC): Likewise.
5867 (CPP_ENDIAN_SPEC): Likewise.
5868 * Makefile.in (check-consistency): New target.
5869
5870 2001-02-12 Joseph S. Myers <jsm28@cam.ac.uk>
5871
5872 * c-decl.c (grokdeclarator): In C99 mode, give the more specific
5873 "return type defaults" warning for functions with return type
5874 defaulting to int.
5875 * c-lang.c (c_init): In C99 mode, enable warnings for implicit
5876 function declarations by default rather than only when pedantic.
5877
5878 Mon Feb 12 17:28:48 CET 2001 Jan Hubicka <jh@suse.cz>
5879
5880 * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
5881 arrays.
5882
5883 2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
5884
5885 * extend.texi (Deprecated): Deprecate new initializer lists.
5886
5887 2001-02-12 Nathan Sidwell <nathan@codesourcery.com>
5888
5889 * mkdeps.c (deps_add_default_target): Robustify. Add
5890 basename component only.
5891 * cpp.texi (-M): Describe how default target is generated.
5892 * invoke.texi (-M): Likewise.
5893
5894 2001-02-12 Kazu Hirata <kazu@hxi.com>
5895
5896 * toplev.c (push_float_handler): Remove.
5897 (pop_float_handler): Remove.
5898 * toplev.h: Remove prototypes for the above functions.
5899
5900 2001-02-12 Jakub Jelinek <jakub@redhat.com>
5901
5902 * c-common.c (constant_fits_type_p): New function.
5903 (convert_and_check): Use it.
5904
5905 2001-02-11 Mark Mitchell <mark@codesourcery.com>
5906
5907 * Makefile.in (GXX_ABI_FLAG): Don't define.
5908 * configure.in (--enable-new-gxx-abi): Remove option.
5909 * config.in: Regenerated.
5910 * configure: Likewise.
5911
5912 2001-02-12 Alexandre Oliva <aoliva@redhat.com>
5913
5914 * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
5915 basic block.
5916 (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
5917 regular basic block, and arrange for all edges into it to switch
5918 to normal mode.
5919
5920 2001-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5921
5922 * Makefile.in (distclean): Do not remove .gdbinit.
5923
5924 2001-02-11 Mark Mitchell <mark@codesourcery.com>
5925
5926 * Makefile.in (gcc.o): Fix typos.
5927 (protize.o): Likewise.
5928 (unprotoize.o): Likewise.
5929
5930 2001-02-11 Richard Henderson <rth@redhat.com>
5931
5932 * tree.c (build1): Check for null operand in last change.
5933
5934 2001-02-11 Richard Henderson <rth@redhat.com>
5935
5936 * fold-const.c (split_tree): Don't assume a constant isn't splittable.
5937 (fold): Don't assume a constant isn't foldable.
5938 * tree.c (build): Set TREE_CONSTANT for an expression with no
5939 side-effects and constant operands.
5940 (build1): Likewise.
5941
5942 2001-02-10 Richard Henderson <rth@redhat.com>
5943
5944 * jump.c (squeeze_notes): Revert 2000-05-12 change.
5945
5946 2001-02-10 Anthony Green <green@redhat.com>
5947
5948 * cpp.texi (Standard Predefined): Add documentation for
5949 __OPTIMIZE_SIZE__.
5950
5951 * c-common.c (combine_strings): Improve warning message.
5952
5953 2001-02-10 Geoffrey Keating <geoffk@redhat.com>
5954
5955 * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
5956 --oformat.
5957 * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
5958
5959 Fri Feb 9 15:05:27 2001 Christopher Faylor <cgf@cygnus.com>
5960
5961 * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
5962 CYGWIN_CROSS_DIR.
5963
5964 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
5965
5966 * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
5967 fp_mode attribute.
5968
5969 2001-02-09 Nick Clifton <nickc@redhat.com>
5970
5971 * config/arm/arm.md: Change output contraint on post inc
5972 load/store multiple patterns to be a read/write contraint.
5973
5974 2001-02-09 Neil Booth <neil@daikokuya.demon.co.uk>
5975
5976 * gcc.c (cpp_options): Delete .d files on error. Don't delete
5977 .o files when using the -M options.
5978
5979 2001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5980 David Edelsohn <edelsohn@gnu.org>
5981
5982 * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
5983 handle DImode constants. Use one TOC entry for SImode and smaller
5984 constants, aligned properly.
5985
5986 2001-02-08 Jason Merrill <jason@redhat.com>
5987
5988 * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
5989 about the SP adjustment for saving the static chain pointer.
5990 * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
5991 offset when setting a temporary CFA register.
5992
5993 2001-02-08 Chandrakala Chavva <cchavva@redhat.com>
5994
5995 * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
5996 powerpc-*-chorusos* .
5997 * config/rs6000/chorus.h : New file.
5998 * config/i386/chorus.h : New file.
5999 * config/sparc/chorus.h : New file.
6000 * config/sparc/t-chorus-elf : New file.
6001
6002 2001-02-08 David Edelsohn <edelsohn@gnu.org>
6003
6004 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
6005 * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
6006 * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
6007 (__WCHAR_TYPE__): Correct macro name.
6008
6009 2001-02-08 Richard Henderson <rth@redhat.com>
6010
6011 * config/i386/i386.c (ix86_frame_pointer_required): New.
6012 (ix86_setup_frame_addresses): New.
6013 (struct machine_funciton): Add accesses_prev_frame.
6014 * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
6015 ix86_frame_pointer_required.
6016 (SUBTARGET_FRAME_POINTER_REQUIRED): New.
6017 (SETUP_FRAME_ADDRESSES): New.
6018 * config/i386/i386-protos.h: Update.
6019 * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
6020 from FRAME_POINTER_REQUIRED.
6021 * config/i386/svr3gas.h: Likewise.
6022 * config/i386/sysv3.h: Likewise.
6023 * config/i386/v3gas.h: Likewise.
6024
6025 2001-02-08 Richard Henderson <rth@redhat.com>
6026
6027 * config/sparc/sparc.c (function_arg_record_value_3): Fix
6028 calculation of the number of integer registers required.
6029 (function_arg_record_value): Likewise.
6030
6031 2001-02-08 Jason Merrill <jason@redhat.com>
6032
6033 * diagnostic.c (internal_error): Say "confused" after 1 error, not
6034 two. Print file and line with "confused" message.
6035
6036 * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
6037
6038 Thu Feb 8 11:21:28 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6039
6040 * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
6041
6042 2001-02-08 Bernd Schmidt <bernds@redhat.com>
6043
6044 * final.c (cleanup_subreg_operands): The address of a MEM can
6045 contain SUBREGs.
6046
6047 * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
6048 for asms, too.
6049
6050 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
6051
6052 * gcc.texi (Incompatibilities): Update documentation of
6053 preprocessing numbers.
6054
6055 2001-02-07 Jakub Jelinek <jakub@redhat.com>
6056
6057 * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
6058
6059 2001-02-07 Mark Mitchell <mark@codesourcery.com>
6060
6061 * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
6062
6063 * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
6064 * gcc.c (struct compiler): Add cpp_spec field.
6065 (input_file_compiler): New variable.
6066 (do_spec_1): Allow a particular compiler to handle `%C'
6067 specially.
6068 (main): Store the current compiler in input_file_compiler.
6069 * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
6070
6071 2001-02-07 Zack Weinberg <zack@wolery.stanford.edu>
6072
6073 * cpphash.h (struct spec_nodes): Add n_true and n_false.
6074 * cppinit.c (cpp_create_reader): Initialize them.
6075 (append_include_chain): cxx_aware arg might be unused.
6076 * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
6077 keywords and give them their phase 7 meaning. Pedwarn about
6078 this unless '__bool_true_false_are_defined' is defined.
6079
6080 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
6081
6082 * lcm.c (optimize_mode_switching): Emit mode_set before the
6083 JUMP_INSN of an abnormal edge.
6084
6085 2001-02-07 Bernd Schmidt <bernds@redhat.com>
6086
6087 * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
6088 a scheduling barrier at the end.
6089
6090 * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
6091
6092 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
6093
6094 * config/sh/sh.md (reload_outsf): Removed.
6095 (movsf_ie): Introduce constraints for FPUL loads and stores.
6096 (reload_insf): Broaden the output constraint.
6097
6098 * config/elfos.h (INT_ASM_OP): Don't define it if it's already
6099 defined.
6100 * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
6101 ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
6102
6103 2001-02-06 Chandrakala Chavva <cchavva@redhat.com>
6104
6105 * final.c: Revert my previous changes.
6106 * output.h: Make profile_label_no extern.
6107 * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
6108 for generating label.
6109
6110 2001-02-06 Laurynas Biveinis <lauras@softhome.net>
6111
6112 * config/i386/djgpp.h: Add comments about standard paths.
6113 (MD_EXEC_PREFIX): Undefine before defining.
6114 (MD_STARTFILE_PREFIX): New.
6115
6116 2001-01-30 Bruce Korb <bkorb@gnu.org>
6117
6118 fixinc/fixincl.c(process): Emit error message only if appropriate :)
6119 (load_file): do not rely on load_file_data() to close file pointer
6120 fixinc/fixlib.c(load_file_data): do not close passed in file pointer
6121 fixinc/inclhack.def(irix_limits_const): add test_text
6122
6123 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
6124
6125 * cppexp.c (parse_defined): Improve diagnostics for invalid
6126 syntax.
6127
6128 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
6129
6130 * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
6131
6132 2001-02-06 Mark Mitchell <mark@codesourcery.com>
6133
6134 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
6135 * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
6136 * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
6137 (rs6000_output_symbol_ref): New function.
6138 (output_toc): Use VTABLE_NAME_P.
6139
6140 Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6141
6142 * print-tree.c (print_node, case PARM_DECL):
6143 Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
6144
6145 * stor-layout.c (reference_types_internal): New variable.
6146 (internal_reference_types): New function.
6147 (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
6148 * tree.h (internal_reference_types): New declaration.
6149
6150 * cse.c (find_best_addr): Fix typo in computing cost.
6151
6152 Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6153
6154 * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
6155 and this is the sum of a pointer and a constant, we know the result
6156 did not overflow.
6157 (num_sign_bit_copies, case PLUS): Likewise.
6158 * explow.c (convert_memory_address): Remove opposite SUBREG.
6159 * function.c (instantiate_new_reg): New function (from common code).
6160 (instantiate_virtual_regs_1): Call it.
6161 For PLUS, handle if (plus (subreg (virt-reg) (const_int))
6162 if pointers sign- or zero-extend.
6163 * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
6164 If pointers extend unsigned, use inside of SUBREG.
6165 (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
6166
6167 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6168
6169 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
6170 subdir of gcc_gxx_include_dir.
6171 (gcc_gxx_target_include_dir): Remove.
6172
6173 2001-02-05 Jeffrey Oldham <oldham@codesourcery.com>
6174
6175 * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
6176 (dwarf2out_frame_debug_expr): Revise introductory comments to add
6177 a high-level description.
6178
6179 2001-02-05 Chandrakala Chavva <cchavva@redhat.com>
6180
6181 * final.c: Move the declaration of profile_label_no to ...
6182 * output.h: ... here.
6183 * function.c (expand_function_start): Call PROFILE_HOOK.
6184 * config/rs6000/aix.h: Define PROFILE_HOOK.
6185 * config/rs6000/rs6000-protos.h: output_profile_hook new.
6186 * config/rs6000/rs6000.c (output_profile_hook): Define.
6187 (output_prolog): Do nothing for ABI_AIX as it is taken care by
6188 output_profile_hook.
6189 tm.texi : Explain new macro PROFILE_HOOK.
6190
6191 2001-02-06 Hans-Peter Nilsson <hp@axis.com>
6192
6193 * extend.texi (Extended Asm): Do not say that semicolon is always
6194 a valid line-breaking character for GNU assemblers. Use
6195 newline-tab as the most commonly supported syntax. Use
6196 newline-tab rather than semicolon in multi-insn examples.
6197
6198 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6199
6200 * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
6201
6202 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6203 David Edelsohn <edelsohn@gnu.org>
6204
6205 * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
6206 code for AIX, even without flag_pic.
6207
6208 2001-02-05 Jakub Jelinek <jakub@redhat.com>
6209
6210 * c-typeck.c (common_type): push and pop binding level around
6211 calling common_type on function parameters.
6212
6213 Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com>
6214
6215 * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
6216
6217 Mon Feb 5 11:23:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6218
6219 * config/mips/mips.c (override_options): Fix typo in last change.
6220 (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
6221 (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
6222
6223 2001-02-05 Nathan Sidwell <nathan@codesourcery.com>
6224
6225 * invoke.texi (-fdump-class-layout): Document.
6226 (-fdump-translation-unit): Use `=' as filename separator.
6227
6228 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6229
6230 * Makefile.in (s-mlib): Don't build multilibs if
6231 --disable-multilib.
6232 (DRIVER_DEFINES): Adjust accordingly.
6233 (gcc.o): Likewise.
6234 (protoize.o): Likewise.
6235 (unprotoize.o): Likewise.
6236 * configure.in: Recognize --enable-multilib.
6237
6238 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6239
6240 * Makefile.in (DRIVER_DEFINES): Fix quoting.
6241
6242 * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
6243 * configure.in: Remove --enable-libstdcxx_v3 support.
6244 * configure: Regenerated.
6245
6246 Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6247
6248 * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
6249 Call abort instead of fatal.
6250 (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
6251 * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
6252 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
6253 (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
6254 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
6255 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
6256
6257 * diagnostic.h (set_internal_error_function): Renamed.
6258 * toplev.h (internal_error): Renamed from fatal.
6259 (pfatal_with_name): Deleted.
6260 (fatal_io_error): Now has printf-style arguments.
6261 * diagnostic.c (pfatal_with_name): Deleted.
6262 (fatal_io_error): Rework to have args in printf-style.
6263 (set_internal_error_function): Renamed from set_fatal_function.
6264 (internal_error): Renamed from fatal.
6265 (error_recursion, fancy_abort): Call internal_error instead of fatal.
6266 * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
6267 * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
6268 * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
6269 * flow.c (verify_flow_info): Likewise.
6270 * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
6271 * config/mips/mips.c (save_restore_insns): Likewise.
6272
6273 * except.c (duplicate_eh_handlers): Call abort instead of fatal.
6274 * flow.c (verify_flow_info): Likewise.
6275 * config/arm/arm.c (thumb_load_double_from_address): Likewise.
6276 * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
6277 (avr_normalize_condition): Likewise.
6278 * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
6279 * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
6280 (limit_reload_class, double_reg_to_memory): Likewise.
6281 (print_operand_address, emit_1600_code_shift): Likewise.
6282 (gen_tst_reg, gen_compare_reg): Likewise.
6283 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
6284 * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
6285 Deleted.
6286 * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
6287
6288 * c-parse.in (methoddef): Call fatal_error instead of fatal.
6289 * objc/objc-act.c (build_ivar_chain): Likewise.
6290 * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
6291 pfatal_with_name.
6292 * graph.c (clean_graph_dump_file): Likewise.
6293 * profile.c (init_branch_prob): Likewise.
6294 * objc/objc-act.c (objc_init): Likewise.
6295
6296 * config/arm/arm.c (arm_override_options): Make errors non-fatal.
6297 * config/avr/avr.c (avr_override_options): Likewise.
6298 * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
6299 * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
6300 * config/h8300/h8300.c (h8300_init_once): Likewise.
6301 * config/mips/mips.c (override_options): Likewise.
6302 * config/i386/i386.c (override_options): Likewise, rework.
6303 * config/m68k/m68k.c (override_options): Likewise.
6304
6305 * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
6306 instead of fatal.
6307 * config/mips/mips.c (print_operand): Likewise.
6308 * hash.c (hash_allocate): Don't check for failure returns from
6309 obstack functions that can't fail.
6310 (hash_table_init_n, hash_table_init): Likewise; also now return void.
6311 * hash.h (hash_table_init_n, hash_table_init): Now return void.
6312 * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
6313 (get_object_reference): Likewise.
6314
6315 2001-02-04 Nick Clifton <nickc@redhat.com>
6316
6317 * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
6318 StrongARM1110, 10TDMI, and 1020T.
6319
6320 2001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6321
6322 * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
6323
6324 2001-02-04 Alexandre Oliva <aoliva@redhat.com>
6325
6326 * config/sh/sh.md (movdf load split): Pass register number to
6327 FP_OR_XD_REGISTER_P.
6328
6329 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6330
6331 * cppinit.c (BC): New macro.
6332 (builtin_array): Add __GXX_WEAK__.
6333 * cpplib.h (builtin_type): Add BT_WEAK.
6334 * cppmacro.c (builtin_macro): Handle BT_WEAK.
6335 * defaults.h (SUPPORTS_ONE_ONLY): Define.
6336 * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
6337
6338 2001-02-03 Jakub Jelinek <jakub@redhat.com>
6339
6340 * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
6341
6342 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
6343
6344 * cpphash.h: Rename _ALIGN POOL_ALIGN.
6345 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
6346
6347 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
6348
6349 * cpphash.h: Rename ALIGN _ALIGN.
6350 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
6351
6352 Fri Feb 2 23:15:29 2001 Christopher Faylor <cgf@cygnus.com>
6353
6354 * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
6355 compilation environment.
6356 * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
6357 control over location of cygwin includes and libs.
6358
6359 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
6360
6361 * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
6362
6363 2001-02-02 lars brinkhoff <lars@nocrew.org>
6364
6365 * md.texi (Standard Names): remove reference to spur.md.
6366
6367 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
6368
6369 * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
6370 (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
6371 (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
6372 * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
6373 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
6374
6375 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6376
6377 * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
6378 c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
6379 number before reload.
6380 (c4x_adjust_cost): Return zero before reload.
6381 * c4x.md (load_immed_address+1, load_immed_address+2): Do not
6382 split before reload.
6383
6384 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6385
6386 * c4x.c (c4x_hard_regno_rename_ok): New.
6387 * c4x-protos.h (c4x_hard_regno_rename_ok): New.
6388 * c4x.h (HARD_REGNO_RENAME_OK): Define.
6389
6390 Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6391
6392 * diagnostic.h: Add missing "extern" in all declarations.
6393
6394 2001-02-02 Alex Samuel <samuel@codesourcery.com>
6395
6396 * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
6397 as for gcc_gxx_include_dir.
6398
6399 2001-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
6400
6401 * cpp.texi, invoke.texi: Update -Wtraditional documentation.
6402
6403 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
6404
6405 * config/sh/sh.c (output_far_jump): Don't use braf on SH1. Emit
6406 label before alignment to be used as the braf base address.
6407 * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
6408 branches.
6409 (casesi_jump_2): Require at least TARGET_SH2.
6410
6411 * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
6412 truncation to 32-bit doubles on -m3e and -m4-single-only.
6413
6414 2001-02-02 Mark Mitchell <mark@codesourcery.com>
6415
6416 * gcc.c (init_gcc_specs): New function. Make -shared-libgcc
6417 the default when building a shared object.
6418 (init_spec): Use it.
6419 * testsuite/lib/g++.exp: Include the directory where libgcc
6420 is located to the LD_LIBRARY_PATH list.
6421 * invoke.texi (-shared-libgcc): Document the cases in which
6422 GCC defaults to using the shared libgcc.
6423
6424 2001-02-02 Alexandre Oliva <aoliva@redhat.com>
6425
6426 * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
6427 unsigned is wide enough.
6428 (BITS_PER_SI): New.
6429 * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
6430 (si_to_float): Likewise.
6431 (float_to_si, float_to_usi): Use BITS_PER_SI.
6432
6433 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
6434
6435 * dwarf2out.c: Added explanation of abbreviations.
6436 (def_cfa_1): Added comments listing DWARF2 instructions.
6437 (cfa_temp_reg): Removed in favor of cfa_temp.
6438 (cfa_temp_value): Removed in favor of cfa_temp.
6439 (cfa_temp): New global variable.
6440 (dwarf2out_frame_debug_expr): Added extensive introductory
6441 comments explaining the function's transformations. Revised to
6442 use cfa_temp. Added some rtx checking. Generalize IOR case.
6443 (dwarf2out_frame_debug): Revised to use cfa_temp.
6444 (output_aranges): Cast as "unsigned" to avoid warning.
6445 * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
6446 explain which instructions must be marked.
6447
6448 2001-02-01 Richard Henderson <rth@redhat.com>
6449
6450 * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
6451 new instruction.
6452
6453 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6454
6455 * config/sh/crt1.asm (main_k): Modified so that start calls
6456 ___setup_argv_and_call_main.
6457
6458 2001-02-01 Neil Booth <neil@daikokuya.demon.co.uk>
6459
6460 * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
6461 * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
6462 and AVOID_LPASTE is cleared on meeting an unescaped newline.
6463 * cppmacro.c (builtin_macro): Set builtin flags here.
6464 (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
6465 (replace_args): Clarify intent.
6466 (cpp_get_token): Macro expansion tokens get the saved flags.
6467 Update.
6468 * cppmain.c (scan_buffer): Remove now-redundant print.printed
6469 check.
6470
6471 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
6472
6473 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
6474 2001-Jan-29.
6475
6476 Thu Feb 1 07:22:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6477
6478 * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
6479 returns Pmode pseudo, but we need ptr_mode.
6480 * explow.c (allocate_dynamic_stack_space): Use plus_constant.
6481 Remove bogus conversions; use HOST_WIDE_INT for size.
6482 Don't use TARGET if wrong mode.
6483
6484 * config/i386/i386.c (ix86_compute_frame_size): Allow
6485 stack_alignment_needed to be non-default even if size is zero.
6486
6487 2001-01-31 Alan Modra <alan@linuxcare.com.au>
6488
6489 * pa.c (hppa_init_pic_save): New function.
6490 * pa.h (hppa_init_pic_save): Declare.
6491 * pa.md (call, call_value, sibcall, sibcall_value): Use
6492 the above instead of duplicated code.
6493
6494 * pa.c (hppa_encode_label): Correct size of alloca buffer
6495 so we don't overrun it. Correct leading `*' case.
6496 * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
6497 need to handle `*@'.
6498 (FUNCTION_NAME_P): Likewise.
6499
6500 2001-01-31 Richard Henderson <rth@redhat.com>
6501
6502 * config.gcc (alpha-osf5): Use float-i128.h.
6503
6504 * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
6505 * config/float-i32.h: Likewise.
6506 * config/float-i64.h: Likewise.
6507 * config/float-sh.h: Likewise.
6508 * config/float-sparc.h: Likewise.
6509
6510 2001-01-31 DJ Delorie <dj@redhat.com>
6511
6512 * expmed.c (extract_bit_field): allow non-integral modes if we
6513 want to extract a whole register from itself.
6514
6515 2001-01-31 Jakub Jelinek <jakub@redhat.com>
6516
6517 * c-typeck.c (set_init_index): If first is equal to last, assume as
6518 if it was not a range at all.
6519
6520 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
6521
6522 * config/fp-bit.c: Include tm.h.
6523 (float_to_si): Don't assume SImode is 32-bits wide.
6524 (float_to_usi): Likewise.
6525
6526 2001-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
6527
6528 * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
6529 incomplete type.
6530 (typename): Call pending_xref_error after parsing typed_typespecs.
6531 * c-decl.c (lookup_tag): Give error immediately rather than
6532 leaving it pending if the tag of the wrong type is in the same
6533 binding level.
6534 (xref_tag): Don't pedwarn for forward declarations of enum types
6535 here.
6536 * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
6537 and enum tags.
6538
6539 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
6540
6541 * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
6542
6543 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
6544
6545 * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
6546 (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
6547
6548 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
6549
6550 * cpphash.h (struct cpp_reader): New saved_flags.
6551 * cppmacro.c (cpp_get_token): Use saved_flags to remember
6552 to avoid a paste after a pasted token.
6553
6554 2001-01-31 Alexandre Oliva <aoliva@redhat.com>
6555
6556 * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
6557 * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
6558 Wtype_MIN instead of LONG_MIN.
6559
6560 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
6561
6562 * fixinc/fixincl.tpl: Add 2001 to copyright. Change name of
6563 README file.
6564 * fixinc/fixincl.x: Regenerated.
6565 * fixinc/inclhack.def (irix_limits_const): New definition to
6566 convert "const" to "__const" in limits.h.
6567
6568 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
6569
6570 * fixinc/genfixes (AG): Fix "autogen4" thinko.
6571
6572 2001-01-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6573
6574 * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
6575 when register dies in the insn.
6576
6577 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
6578
6579 * diagnostic.c (fatal): Fix word wrap.
6580
6581 2001-01-30 Alexandre Oliva <aoliva@redhat.com>
6582
6583 * combine.c (try_combine): Fix SUBREG setting for
6584 HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
6585
6586 2001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6587
6588 * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
6589 comparison codes.
6590
6591 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
6592
6593 * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
6594 is not NULL.
6595 * toplev.c (decode_W_option): Update warn_larger_than
6596 unconditionally for each processed switch.
6597
6598 2001-01-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
6599
6600 * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
6601 to NULL_RTX.
6602 (hppa_expand_prologue): Delete code to save pic offset table register
6603 in the function prologue.
6604 * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
6605 * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
6606 table register at the beginning of the function after the prologue.
6607
6608 2001-01-29 lars brinkhoff <lars@nocrew.org>
6609
6610 * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
6611
6612 2001-01-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
6613 Jeff Law <law@redhat.com>
6614
6615 * pa.md (return): Revise comment for trivial return.
6616 (return_internal): Non-trivial return pattern for non-PIC code.
6617 (return_internal_pic): Non-trivial return pattern for PIC code.
6618 It uses the PIC register to ensure it is restored after
6619 function calls.
6620 (epilogue): Generate appropriate return for PIC and non-PIC code.
6621
6622 Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com>
6623
6624 * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
6625
6626 2001-01-29 DJ Delorie <dj@redhat.com>
6627
6628 * combine.c (if_then_else_cond): Pass the correct mode to
6629 operand_subword() for constants.
6630
6631 Mon Jan 29 20:38:19 2001 Christopher Faylor <cgf@cygnus.com>
6632
6633 * config/i386/cygwin.h: Add w32api to include search. Search different
6634 directories in a cross-build environment.
6635
6636 2001-11-29 Tim Josling <tej@melbpc.org.au>
6637
6638 * tree.h (TYPE_STUB_DECL): Add documentation.
6639
6640 2001-11-29 Laurynas Biveinis <lauras@softhome.net>
6641
6642 * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
6643 (sdbout_field_types): Likwise. Fix use of host_integerp.
6644
6645 2001-01-29 Thomas Pfaff <tpfaff@gmx.net>
6646
6647 * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
6648 cygwin.h.
6649
6650 2001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
6651
6652 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
6653 to use flag_gnu_linker.
6654
6655 2001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
6656
6657 * cpplib.c (T_BAD_DIRECTIVE): Remove.
6658 (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
6659
6660 2001-01-29 Joseph S. Myers <jsm28@cam.ac.uk>
6661
6662 * tree.c, tree.h (build_parse_node): Remove; was identical to
6663 build_nt.
6664 * c-lang.c (start_cdtor), objc/objc-act.c
6665 (build_module_descriptor): Use build_nt instead of
6666 build_parse_node.
6667
6668 2001-01-29 Jakub Jelinek <jakub@redhat.com>
6669
6670 * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
6671 (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
6672 not have any upper bits set.
6673
6674 2001-01-29 Phil Edwards <pme@sources.redhat.com>
6675
6676 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
6677
6678 2001-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6679
6680 * stmt.c (estimate_case_costs): Use integer_minus_one_node.
6681
6682 * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
6683
6684 * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
6685 (integer_minus_one_node): Define.
6686
6687 2001-01-28 Alexandre Oliva <aoliva@redhat.com>
6688
6689 * Makefile.in (bootstrap2-lean): Fix typo.
6690
6691 2001-01-28 Neil Booth <neil@daikokuya.demon.co.uk>
6692
6693 * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
6694 : Don't set fe_value.
6695 * cpplib.h (AVOID_LPASTE): New flag.
6696 (struct cpp_hashnode): Remove fe_value.
6697 * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
6698 * cppmacro.c (builtin_macro): Don't set flags here.
6699 (replace_args): Set AVOID_LPASTE flag on first token of an
6700 argument, and the token following it.
6701 (cpp_get_token): Set AVOID_LPASTE flag on first token of a
6702 macro expansion, and on the token following it. Do it for
6703 builtins too.
6704 * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
6705
6706 2001-01-27 Richard Henderson <rth@redhat.com>
6707
6708 * config/alpha/t-ieee: Remove multilibbing.
6709 (TARGET_LIBGCC2_CFLAGS): Add -mieee.
6710
6711 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6712
6713 * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
6714
6715 * Makefile.in: Remove all dependencies on defaults.h.
6716 * builtins.c: Don't include defaults.h.
6717 * c-common.c: Likewise.
6718 * c-decl.c: Likewise.
6719 * c-pragma.c: Likewise.
6720 * c-typeck.c: Likewise.
6721 * combine.c: Likewise.
6722 * i386.c: Likewise.
6723 * frame-ia64.c: Likewise.
6724 * cppexp.c: Likewise.
6725 * crtstuff.c: Likewise.
6726 * dbxout.c: Likewise.
6727 * dwarf2out.c: Likewise.
6728 * dwarfout.c: Likewise.
6729 * emit-rtl.c: Likewise.
6730 * except.c: Likewise.
6731 * expr.c: Likewise.
6732 * final.c: Likewise.
6733 * frame-dwarf2.c: Likewise.
6734 * libgcc2.c: Likewise.
6735 * optabs.c: Likewise.
6736 * profile.c: Likewise.
6737 * sdbout.c: Likewise.
6738 * toplev.c: Likewise.
6739 * tradcif.y: Likewise.
6740 * tree.c: Likewise.
6741 * varasm.c: Likewise.
6742
6743 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6744
6745 * builtins.c (expand_builtin_fputs): Use size_one_node when
6746 transforming into fwrite.
6747
6748 2001-01-27 Joseph S. Myers <jsm28@cam.ac.uk>
6749
6750 * extend.texi (Attribute Syntax): New section.
6751
6752 2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6753
6754 * fixproto: Correctly install synthesised unistd.h and stdlib.h when
6755 they didn't need fixing.
6756
6757 2001-01-27 Janis Johnson <janis@us.ibm.com>
6758
6759 * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
6760 if appropriate.
6761 * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
6762 to remove macro definitions that are duplicated from elfos.h.
6763
6764 2001-01-27 Richard Henderson <rth@redhat.com>
6765
6766 * config/i386/sco5gas.h: Move ...
6767 * config/usegas.h: ... here.
6768 * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
6769
6770 2001-01-27 Jakub Jelinek <jakub@redhat.com>
6771
6772 * c-typeck.c (struct constructor_stack): Add range_stack member.
6773 (really_start_incremental_init): Clear it.
6774 (push_init_level): Save constructor_range_stack and clear it if
6775 pushing explicit braces.
6776 (pop_init_level): abort if constructor_range_stack is non-zero at
6777 explicit closing brace. Restore saved constructor_range_stack if
6778 not implicit.
6779
6780 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
6781
6782 * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
6783 into register was forced into memory.
6784
6785 2001-01-27 Alexandre Oliva <aoliva@redhat.com>
6786
6787 * Makefile.in: Remove uses of + before $(MAKE).
6788
6789 2001-01-26 Richard Henderson <rth@redhat.com>
6790
6791 * stmt.c (cost_table): Remove.
6792 (COST_TABLE, cost_table_initialized): New.
6793 (estimate_case_costs): Use the later instead of the former.
6794 (balance_case_nodes): Likewise.
6795
6796 2001-01-26 Richard Henderson <rth@redhat.com>
6797
6798 * alias.c (objects_must_conflict_p): Read-only slots may not
6799 conflict despite having the same type.
6800
6801 2001-01-27 Michael Hayes <mhayes@redhat.com>
6802
6803 * loop.c (loop_giv_reduce_benefit): Copy mode size into
6804 int variable.
6805 (check_ext_dependant_givs): Initialise u_start_val and
6806 u_end_val.
6807 (load_mems): Make last_max_reg unsigned.
6808 (try_swap_copy_prop): Use INSN_P and initialise set.
6809
6810 Fri Jan 26 23:22:58 2001 Denis Chertykov <denisc@overta.ru>
6811
6812 * README.AVR : Removed.
6813
6814 Fri Jan 26 11:37:26 2001 Jeffrey A Law (law@cygnus.com)
6815
6816 * pa-64.h (text_section): Remove declaration.
6817
6818 * pa.md (return_internal): Remove mode on PIC register use.
6819
6820 2001-01-25 lars brinkhoff <lars@nocrew.org>
6821
6822 * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
6823 ASM_CLOSE_PAREN): fix typos.
6824
6825 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6826
6827 * acconfig.h: Define `const' to the empty string if neither
6828 __STDC__ nor __cplusplus is defined.
6829 * config.in: Regenerated.
6830
6831 2001-01-25 David Edelsohn <edelsohn@gnu.org>
6832
6833 * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
6834 * collect2.c (main): Delete importf. Add ".obj" file extension.
6835 (GCC_CHECK_HDR): Handle AIX V5 new magic number.
6836 (aix_std_libs): Add additional AIX libraries to skip.
6837 * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
6838 * config/rs6000/aix51.h: New file.
6839
6840 2001-01-25 Michael Hayes <mhayes@redhat.com>
6841
6842 * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
6843 (loop_insn_emit_before): No longer static.
6844 (move_movables): Replace emit_insn_after with loop_insn_emit_after.
6845 (loop_givs_rescan, load_mems): Likewise.
6846 (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
6847 (maybe_eliminate_biv_1):
6848 (move_movables): Replace emit_call_insn_before with
6849 loop_call_insn_hoist.
6850 * loop.h (loop_insn_emit_before): Add.
6851 * unroll.c (copy_loop_body): Replace emit_insn_before with
6852 loop_insn_emit_before.
6853
6854 2001-01-25 Neil Booth <neil@daikokuya.demon.co.uk>
6855
6856 * diagnostic.c (fatal): Request preprocessed source.
6857
6858 Thu Jan 25 02:01:16 2001 J"orn Rennecke <amylaar@redhat.com>
6859
6860 * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
6861 olddecl has argument types and newdecl has none, use the argument
6862 types from olddecl.
6863
6864 2001-01-24 Ulrich Drepper <drepper@redhat.com>
6865
6866 * dwarf2out.c (prefix_of): New function. Determine longest common
6867 prefix of the two arguments. The units are whole path components.
6868 (output_file_names): When adding a new directory find the one entry
6869 with the longest common prefix already in the list. Artificially
6870 generate entry if there is none for this prefix.
6871 Fix test to check whether the zeroth directory entry is used.
6872
6873 Wed Jan 24 23:51:55 2001 J"orn Rennecke <amylaar@redhat.com>
6874
6875 * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
6876 Changed all callers. Take it into account when deciding if a
6877 previously loaded value matches.
6878
6879 2001-01-24 Richard Henderson <rth@redhat.com>
6880
6881 * reload.c (find_reloads_subreg_address): Fail the substitution
6882 if the resulting address is insufficiently aligned.
6883
6884 2001-01-24 DJ Delorie <dj@redhat.com>
6885
6886 * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
6887 check the original operand's mode also.
6888 * simplify-rtx.c (simplify_ternary_operation): Ditto.
6889
6890 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
6891
6892 * c-parse.in (cast_expr): Move compound literals from here ...
6893 (primary): ... to here. Use standard terminology "compound
6894 literal" instead of "constructor expression".
6895
6896 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
6897
6898 * gcc.1, cpp.1: Regenerate.
6899
6900 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
6901
6902 * calls.c (emit_library_call_value_1): Memory slot for
6903 pass-by-reference argument should have the mode of the argument,
6904 not of the pointer to it.
6905
6906 2001-01-24 Tom Tromey <tromey@redhat.com>
6907
6908 * gcc.texi (G++ and GCC): Mention gcj manual.
6909 (Standards): Link to section of manual mentioning gcj/Java
6910 compatibility.
6911
6912 2001-01-24 Jakub Jelinek <jakub@redhat.com>
6913
6914 * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
6915 * cppinit.c (cpp_start_read): Remove deps_add_dep call.
6916 * tradcpp.c (main): Add -imacros or -include'd dependencies
6917 for -M*.
6918 * cpp.texi (-M, -MM): Document -M -include behaviour.
6919
6920 2001-01-24 Roger Collins <roger@ProProject.com>
6921
6922 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
6923
6924 2001-01-24 Will Cohen <wcohen@redhat.com>
6925
6926 * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
6927 whether registers are 32 bits or 64 bits in size.
6928
6929 2001-01-24 Ben Elliston <bje@redhat.com>
6930
6931 * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
6932
6933 2001-01-24 Richard Henderson <rth@redhat.com>
6934
6935 * config/alpha/alpha.md (builtin_longjmp_internal): New.
6936 (builtin_longjmp): Use it instead of emit_indirect_jump.
6937
6938 2001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
6939
6940 * bb-reorder.c (make_reorder_chain_1): Handle case where
6941 jump edge goes to the same block as the fallthru edge.
6942
6943 2001-01-23 Jim Wilson <wilson@redhat.com>
6944
6945 * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
6946 * frame.h (__ia64_personality_v1): Add prototype.
6947 * libgcc2.c (ia64_throw_helper): Change personality declaration to
6948 prototype form. Add void * cast to first argument to personality
6949 call.
6950 * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
6951 (asctoe113): Likewise.
6952 * config/ia64/frame-ia64.c: Include eh-common.h.
6953 * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
6954 prototypes.
6955 * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
6956 to dump parameter.
6957 (itanium_split_issue): Add prototype.
6958 (gen_nop_type): Ifdef out.
6959 (find_best_packet): Initialize best_packet.
6960 (ia64_encode_section_info): New local string. Use for ggc_alloc_string
6961 result.
6962 * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
6963 * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
6964 (flushrs): Add explicit stop bit at end.
6965 * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
6966 trailing \ to >.
6967
6968 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6969
6970 * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
6971 of EH symbols.
6972 * libgcc2.c (__terminate_func): Make variable static.
6973 (__terminate_set_func): New function to set __terminate_func.
6974 * libgcc2.h (__terminate_func_ptr): New typedef.
6975 (__terminate_set_func): New function.
6976
6977 2001-01-23 Richard Henderson <rth@redhat.com>
6978
6979 * flow.c (init_propagate_block_info): Don't consider unchanging
6980 memories for dead frame store elimination.
6981
6982 2001-01-23 Richard Henderson <rth@redhat.com>
6983
6984 * varasm.c (UNIQUE_SECTION): Move default implementation ...
6985 * defaults.h: ... here.
6986
6987 2001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6988
6989 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
6990
6991 2001-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
6992
6993 * c-lex.c (lex_charconst): Fix typo: s/p/str.
6994
6995 2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6996
6997 * rs6000.h (rs6000_return_addr): Move prototype from here...
6998 * rs6000-protos.h (rs6000_return_addr): ...to here.
6999 (rs6000_init_expanders): Delete prototype.
7000
7001 2001-01-23 Nick Clifton <nickc@redhat.com>
7002
7003 * invoke.texi: Replace , with \, inside @gccoptlist macros.
7004 (Spec Files): Document %B and %j and %. and %v3 and %M and
7005 %{S*&T} spec switches.
7006
7007 2001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7008
7009 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
7010
7011 2001-01-23 Chris Demetriou <cgd@sibyte.com>
7012 Neil Booth <neil@daikokuya.demon.co.uk>
7013
7014 * cpperror.c: Merge handlers of PEDWARN and WARNING.
7015 Have -Werror make pedantic warnings errors, like the
7016 rest of GCC.
7017
7018 2001-01-23 Phil Edwards <pme@sources.redhat.com>
7019
7020 * c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
7021
7022 2001-01-23 Jakub Jelinek <jakub@redhat.com>
7023
7024 * integrate.h (struct inline_remap): Add compare_src, compare_mode.
7025 * integrate.c (expand_inline_function): Initialize them.
7026 (subst_constants): If changing COMPARE so that both its arguments
7027 will be VOIDmode and the comparison mode will be lost, note
7028 compare_mode. Use the recorded compare_mode to optimize
7029 IF_THEN_ELSE.
7030
7031 2001-01-23 Jason Merrill <jason@redhat.com>
7032
7033 * dwarf2out.c (new_die): Use xcalloc.
7034 (output_die): Abort rather than emit a local reference to offset 0.
7035
7036 2001-01-17 Andrew Haley <aph@redhat.com>
7037
7038 * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
7039 of a saved register; return NULL instead.
7040 (copy_reg): Take a pointer to a source register rather than a
7041 frame_state.
7042 (next_stack_level): Remember the address in the stack frame of all
7043 saved registers.
7044 Use the saved register pointer array as the source of the CFA.
7045 (throw_helper): Rewrite. Unwind once rather than twice and keep
7046 track of saved registers as we go.
7047
7048 2001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7049
7050 * c4x-protos.h (c4x_legitimize_reload_address): Remove.
7051 * c4x.c (c4x_legitimize_reload_address): Remove.
7052 * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
7053 reload address for ldp(k) insn.
7054
7055 Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com)
7056
7057 * pa.md (return_internal): Add a USE of the PIC register to ensure
7058 it is restored after each call.
7059 (return expander): Corresponding changes.
7060
7061 2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7062
7063 * rs6000.h (INIT_EXPANDERS): Delete.
7064 (RETURN_ADDR_RTX): Call rs6000_return_addr().
7065 * rs6000.c (rs6000_override_options): Call *_machine_status from
7066 here...
7067 (rs6000_init_expanders): ...instead of here. Delete.
7068 (rs6000_mark_machine_status): New function.
7069 (rs6000_init_machine_status): Use xcalloc.
7070 (rs6000_return_addr): Generate RTX for the return address.
7071 (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
7072 (rs6000_stack_info): Use it.
7073
7074 2001-01-22 Thomas Pfaff <tpfaff@gmx.net>
7075
7076 * gthr-win32.h: Include errno.h to get a declaration for
7077 EINVAL and _mingw.h if the target is mingw32.
7078
7079 2001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
7080
7081 * cpp.texi: Correct typos.
7082
7083 Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7084
7085 * explow.c (probe_stack_range): Ensure value passed to
7086 stack_check_libfunc is ptr_mode, not Pmode.
7087
7088 Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com>
7089
7090 * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
7091 case, don't use operand_subword to calculate a SUBREG that is
7092 wider than a word.
7093
7094 * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
7095
7096 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7097
7098 * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
7099 (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
7100 valid. If not replace it by equivalent insns.
7101
7102 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7103
7104 * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
7105 contains SYMBOL_REF, LABEL_REF and CONST_INT.
7106 (c4x_U_constraint, symbolic_address_operand): Likewise.
7107 (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
7108 memory.
7109 (c4x_r11_set_p, c4x_check_laj_p): New functions.
7110 * c4x-protos.h (c4x_check_laj_p): Add prototype.
7111 * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
7112 anulling slot because of silicon bug.
7113 (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
7114
7115 2001-01-22 Alan Modra <alan@linuxcare.com.au>
7116
7117 * cppexp.c (parse_charconst): Change `mask' type to agree
7118 with parse_escape.
7119
7120 2001-01-21 Richard Henderson <rth@redhat.com>
7121
7122 * config/i386/i386.c (ix86_asm_file_end): Disable putting
7123 pic_label_name in a linkonce section.
7124
7125 2001-01-17 Philipp Thomas <pthomas@suse.de>
7126
7127 * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
7128 found in libintl.
7129 * configure: Regenerate.
7130
7131 Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com>
7132
7133 * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
7134 uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
7135
7136 Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru>
7137
7138 * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
7139 If REVERSE nonzero then condition code in X must be reversed.
7140 (encode_section_info): Optimise if/else.
7141 (avr_function_value): Fix formatting.
7142
7143 * config/avr/avr.md (branch): Call to ret_cond_branch changed.
7144 (difficult_branch): Likewise.
7145 (rvbranch): Likewise.
7146 (difficult_rvbranch): Likewise.
7147
7148 * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
7149
7150 * config/avr/libgcc.S: Fix comment.
7151
7152 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
7153
7154 * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
7155
7156 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
7157
7158 * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
7159
7160 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
7161
7162 * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
7163 * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
7164 * configure, config.in: Regenerate.
7165 * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
7166 (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
7167 (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
7168 (doprint.o): New rule.
7169
7170 2001-01-20 Joseph S. Myers <jsm28@cam.ac.uk>
7171
7172 * c-typeck.c (digest_init): Handle boolean types as scalars.
7173
7174 Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7175
7176 * stmt.c (expand_return): Don't return anything if size is zero.
7177 Delete redundant assignment to BYTES.
7178 * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
7179
7180 2001-01-20 Marek Michalkiewicz <marekm@linux.org.pl>
7181
7182 * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
7183 the same as the default library function names.
7184 * config/avr/avr.md: Document special characters after '%'.
7185 (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
7186 knowing which of the call-used registers are really clobbered.
7187 (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
7188 New. Both quotient and remainder from one libgcc.S call.
7189 * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
7190 clobber as few registers as possible.
7191 * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
7192
7193 2001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
7194
7195 * cppmacro.c (funlike_invocation_p): Don't move back up to the
7196 context of the top of the stack.
7197
7198 2001-01-20 Jakub Jelinek <jakub@redhat.com>
7199
7200 * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
7201 (fixup_var_refs_insns): ...here.
7202
7203 2001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
7204
7205 * function.c (fixup_var_refs_insns): Break up into
7206 fixup_var_refs_insn [body of loop], fixup_var_refs_insns
7207 [loop over entire insn list], and fixup_var_refs_insns_with_hash
7208 [loop over hash table entries].
7209 (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
7210 fixup_var_refs_insns_with_hash, to match above changes.
7211
7212 2001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
7213
7214 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
7215 (libgcc.a): Likewise.
7216 (stmp-multilib): Likewise.
7217 (STAGE2_FLAGS_TO_PASS): Likewise.
7218
7219 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
7220
7221 * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
7222 temporary if no_new_pseudos.
7223
7224 2001-01-19 Neil Booth <neil@daikokuya.demon.co.uk>
7225
7226 * cppinternals.texi: Update.
7227
7228 2001-01-19 Richard Earnshaw <rearnsha@arm.com>
7229
7230 * arm.c (arm_init_builtins): Re-enable builtins.
7231
7232 Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7233
7234 * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
7235 * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
7236 element to be null, and always expect an EXPR_LIST.
7237 * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
7238 * sched-deps.c (sched_analyze_1): Likewise.
7239 * sched-rgn.c (check_live_1, update_live_1): Likewise.
7240
7241 * regclass.c (max_set_parallel): New variable.
7242 (reg_scan): Take it into account in computation of max_parallel.
7243 (reg_scan_mark_refs, case SET): Compute it.
7244
7245 * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
7246 args are REG.
7247 * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
7248 * function.c (assign_parms): Use INTVAL for a CONST_INT.
7249
7250 2001-01-19 Jason Merrill <jason@redhat.com>
7251
7252 * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
7253 for the abstract instance of an inline function.
7254
7255 Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com>
7256 J"orn Rennecke <amylaar@redhat.com>
7257
7258 * reload1.c (move2add_note_store): Treat all registers directly or
7259 indirectly derived from a base register as members of the same set
7260 of values.
7261 (reload_cse_move2add): Adjust accordingly. Take mode and offset
7262 of base register into account.
7263
7264 Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com>
7265
7266 * alias.c (find_base_value): Recognize TRUNCATE.
7267 (record_set): In PLUS case, invalidate if other summand is also a
7268 base value.
7269
7270 Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7271
7272 * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
7273 entry to be EXPR_LIST.
7274 * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
7275 be an EXPR_LIST (but not null, which other code doesn't allow).
7276 (note_stores): Properly handle PARALLEL in SET.
7277 Recursively call for top-level PARALLEL.
7278 * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
7279 * sched-rgn.c (check_live_1, update_live_1): Likewise.
7280
7281 * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
7282
7283 2001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
7284
7285 * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
7286 not pfile->skipping (== 0).
7287
7288 2001-01-17 Nick Clifton <nickc@redhat.com>
7289
7290 * config/rs6000/rs6000.c: Add prototypes for {init|free}_
7291 machine_status.
7292
7293 2001-01-17 Jim Wilson <wilson@redhat.com>
7294
7295 * invoke.texi (IA-64 options): Improve.
7296
7297 2001-01-17 Tom Tromey <tromey@redhat.com>
7298
7299 * invoke.texi (Optimize Options): Use `{}' to around @samp
7300 argument.
7301
7302 2001-01-17 Aldy Hernandez <aldyh@redhat.com>
7303
7304 * invoke.texi (-fno-guess-branch-probability): New option.
7305
7306 Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7307
7308 * combine.c (try_combine): Don't set i3_subst_into_i2 for
7309 case of making new double-word constant.
7310 Revert last change: instead just test i3_subst_into_i2.
7311
7312 2001-01-17 Jakub Jelinek <jakub@redhat.com>
7313
7314 * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
7315 Use q constraints instead of r.
7316
7317 Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
7318
7319 * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
7320 (machine_function): Define.
7321 (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
7322 * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
7323 pa_free_machine_status): New functions.
7324 (override_options): Set {init,mark,free}_machine_status to above.
7325 (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
7326 PIC_OFFSET_TABLE_REGNUM_SAVED.
7327 * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
7328 PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
7329 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
7330 references to PIC_OFFSET_TABLE_REGNUM_SAVED.
7331 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
7332
7333 2001-01-15 DJ Delorie <dj@redhat.com>
7334
7335 * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
7336 (cpp.1): Ditto.
7337 (gcc.1): Ditto.
7338
7339 Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7340
7341 * flow.c (propagate_on_insn): Make trying to delete a prologue
7342 or epilogue insn an ICE, not a warning. Allow doing this if
7343 the current function returns with stack pointer depressed.
7344
7345 * combine.c (try_combine): If i3_subst_into_i2, properly check for
7346 I3 having more than one SET.
7347
7348 2001-01-16 Jim Wilson <wilson@redhat.com>
7349
7350 * invoke.texi: Document IA-64 options.
7351
7352 * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
7353 (fixup_errata): Delete TARGET_A_STEP use.
7354 * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
7355 (TARGET_SWITCHES): Delete -ma-step option.
7356 * config/ia64/ia64.md (all FP patterns): Delete %B0.
7357 (movqicc_astep, movqi_internal_astep, movhicc_astep,
7358 movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
7359 movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
7360 movdfcc_astep, movdf_internal_astep, movtfcc_astep,
7361 movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
7362 Delete.
7363 (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
7364 movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
7365 cmovsi_internal): Delete ! TARGET_A_STEP check.
7366
7367 2001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7368
7369 * gcc.texi (Bug Lists): Do not mention newsgroups nor the
7370 possibility to report bugs via postal mail. Change a URL and
7371 merge in a nearly duplicate statement...
7372 (Bug Reporting): ...from here.
7373 (Service): Refer to the Bug Reporting section instead of
7374 duplicating an URL.
7375 (Contributing): Remove trivial explanations concerning snapshots.
7376
7377 2001-01-16 Alan Modra <alan@linuxcare.com.au>
7378
7379 * cppmain.c (general_init): Don't use ANSI prototype.
7380
7381 2001-01-16 Tom Tromey <tromey@redhat.com>
7382
7383 * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
7384
7385 2001-01-16 Richard Henderson <rth@redhat.com>
7386
7387 * config/i386/i386.h: Fix comment typo.
7388 * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
7389 (ashr+compare patterns): Match CCGOCmode not CCNOmode.
7390
7391 2001-01-16 Phil Edwards <pme@sources.redhat.com>
7392
7393 * gcc.c: Revert previous -fsyntax-only-related change; move
7394 to cp/g++spec.c.
7395
7396 2001-01-16 Jakub Jelinek <jakub@redhat.com>
7397
7398 * config/i386/i386.c (fcmov_comparison_operator): Only initialize
7399 inmode after checking GET_CODE (op).
7400
7401 2001-01-16 Richard Henderson <rth@redhat.com>
7402
7403 * flow.c (struct propagate_block_info): Add mem_set_list_len.
7404 (MAX_MEM_SET_LIST_LEN): New.
7405 (propagate_one_insn): Update mem_set_list_len.
7406 (invalidate_mems_from_autoinc): Likewise.
7407 (invalidate_mems_from_set): Likewise.
7408 (mark_used_regs): Likewise.
7409 (init_propagate_block_info): Likewise. Stop collecting memories
7410 when we reach MAX_MEM_SET_LIST_LEN.
7411 (mark_set_1): Likewise.
7412
7413 2001-01-16 Richard Henderson <rth@redhat.com>
7414
7415 * unroll.c (precondition_loop_p): Fail if no iteration
7416 variable found.
7417
7418 2001-01-16 Phil Edwards <pme@sources.redhat.com>
7419
7420 * gcc.c: When -fsyntax-only is given, do not complain about
7421 unused libraries.
7422
7423 2001-01-15 Richard Henderson <rth@redhat.com>
7424
7425 * config/i386/i386.c (asm_output_function_prefix): Remove.
7426 (ix86_asm_file_end): New.
7427 (load_pic_register): Generate pic_label_name into a
7428 staticly allocated buffer.
7429 * config/i386/i386-protos.h: Update.
7430 * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
7431 (ASM_FILE_END): New.
7432 * config/i386/i386afe.h: New file.
7433 * config.gcc (i?86-*-elf) [tm_file]: Use it.
7434 (i?86-*-{freebsd,linux*,moss*}): Likewise.
7435 * config/elfos.h (ASM_FILE_END): Undef before redefinition.
7436 * config/i386/cygwin.h (ASM_FILE_END): Likewise.
7437 * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
7438 * config/i386/sco5.h (ASM_FILE_END): Likewise.
7439 * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
7440
7441 2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
7442
7443 * Makefile.in (install-man): Remove explicit dependency on
7444 $(srcdir)/gcc.1.
7445
7446 * configure.in, configure: Revert previous patch requiring perl
7447 5.6.0.
7448
7449 2001-01-12 Aldy Hernandez <aldyh@redhat.com>
7450
7451 * toplev.c (flag_guess_branch_prob): New.
7452 (f_options): Add guess-branch-probability option.
7453 (rest_of_decl_compilation): Only estimate branch probability if
7454 flag set.
7455 (main): set flag_guess_branch_prob.
7456
7457 * flags.h (flag_guess_branch_prob): New.
7458
7459 2001-01-15 DJ Delorie <dj@redhat.com>
7460
7461 * gcc.texi (Makefile): Add documentation for Makefile targets.
7462
7463 2001-01-15 Philip Blundell <philb@gnu.org>
7464
7465 * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
7466 (is_pic): Delete.
7467 * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
7468 (is_pic): Delete declaration.
7469 * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
7470 (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
7471 * config/arm/arm.md (builtin_setjmp_receiver): New.
7472
7473 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
7474
7475 * arm.c (use_return_insn): Don't try to determine the function type
7476 until after reload has completed.
7477 (arm_output_epilogue): Don't adjust the sp value recovered from the
7478 stack.
7479 (emit_multi_reg_push): Don't record dwarf information for the pc.
7480 * arm.md (eh_epilogue): The function type may have changed, so it
7481 needs to be recalculated.
7482 * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2
7483 unwind tables on arm/netbsd.
7484
7485 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
7486
7487 * arm.md (cbranchsi4): Correct calculation of branch ranges.
7488 (negated_cbranchsi4): Likewise.
7489
7490 2001-01-15 Richard Earnshaw <rearnsha@arm.com>
7491
7492 * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
7493 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
7494 (ASM_SPEC): Call subtarget_extra_asm_spec. Don't
7495 pass -mapcs-* options to assembler.
7496 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
7497 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
7498 (ASM_SPEC): Call subtarget_extra_asm_spec.
7499
7500 2001-01-15 Andreas Jaeger <aj@suse.de>
7501
7502 * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
7503 warnings.
7504 (ix86_expand_builtin): Likewise.
7505
7506 * gencodes.c (output_predicate_decls): Make i size_t to avoid
7507 warning about comparison between signed and unsigned.
7508
7509 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
7510
7511 * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
7512
7513 2001-01-14 Ralf Baechle <ralf@gnu.org>
7514
7515 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
7516 SUBTARGET_CPP_SPEC apropriatly.
7517
7518 2001-01-12 Mark Mitchell <mark@codesourcery.com>
7519
7520 * varasm.c (make_decl_rtl): Fix typo in last change.
7521
7522 2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
7523
7524 * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
7525 linker supports the init_priority C++ attribute.
7526 * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
7527 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
7528 linker does not support init_priority C++ attribute.
7529
7530 Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com>
7531
7532 * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
7533
7534 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
7535
7536 * c-parse.in (finish_parse): Add comment about cpp_destroy.
7537 * cp/lex.c (finish_parse): Similarly.
7538 * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
7539 Return the number of errors encountered.
7540 * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
7541 * cppmain.c (main): Don't call cpp_destroy.
7542
7543 2001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
7544
7545 * configure.in: Require at least perl 5.6.0 to regenerate
7546 manpages.
7547 * configure: Regenerate.
7548
7549 2001-01-14 Richard Henderson <rth@redhat.com>
7550
7551 * genrecog.c (DT_veclen_ge): New.
7552 (add_to_sequence) [MATCH_PARALLEL]: Generate one.
7553 (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
7554 (nodes_identical_1): Handle DT_veclen_ge.
7555 (write_cond, debug_decision_2): Likewise.
7556
7557 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
7558
7559 * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
7560 with ...
7561 (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
7562
7563 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
7564
7565 * cppmain.c (do_preprocessing): New function; most of the old
7566 main.
7567 (main): Call it to do most of the work.
7568 (cb): Move from global scope to set_callbacks ().
7569 (setup_callbacks): Get the callback pointer.
7570 (general_init, printer_init): Clean up code and comments.
7571
7572 2001-01-14 Richard Earnshaw <rearnsha@arm.com>
7573
7574 * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
7575 compiling PIC.
7576
7577 2001-01-14 Kazu Hirata <kazu@hxi.com>
7578
7579 * config/h8300/h8300.c (get_shift_alg): Update comments.
7580
7581 Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7582
7583 * ggc-page.c (alloc_annon): Call perror and correctly call exit.
7584 (alloc_page, ggc_alloc): Add casts to remove warnings.
7585
7586 2001-01-14 Geoffrey Keating <geoffk@redhat.com>
7587
7588 * combine.c (simplify_comparison): Don't change `code' when
7589 can't reverse comparison.
7590
7591 2001-01-14 Richard Henderson <rth@redhat.com>
7592
7593 * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
7594 update all call sites. Return true for all non-label constants.
7595
7596 Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz>
7597
7598 * i386.c (ix86_expand_compare): Add bypass_test and second_test
7599 parameters.
7600 (ix86_expand_branch): Update.
7601 (ix86_expand_setcc): Update to handle multiple test conditions.
7602 (expand_int_movcc): Likewise.
7603 (expand_fp_movcc): Likewise.
7604 * i386-protos.h (ix86_expand_compare): New.
7605 * i386.md (andqi_?_slp, orqi_?_slp): New.
7606 (conditional trap expander): Update call to ix86_expand_compare.
7607
7608 2001-01-14 Richard Henderson <rth@redhat.com>
7609
7610 * config/vax/vax.md: Use nonimmediate_operand instead of
7611 general_operand in destinations.
7612
7613 * config/vax/vax.md (indirect_jump): Use register_operand.
7614
7615 * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
7616 * config/vax/vax.md (call_pop): Turn into an expander.
7617 (call_value_pop): Likewise.
7618 (call, call_value): New.
7619
7620 2001-01-14 Andreas Jaeger <aj@suse.de>
7621
7622 * config/i386/i386.c (ix86_split_fp_branch): Remove unused
7623 variables.
7624 (ix86_fp_compare_mode): Add unused attribute.
7625 (ix86_expand_fp_movcc): Remove unused variable.
7626 (ix86_expand_builtin): Make fcode unsigned.
7627
7628 * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
7629 (expand_expr): Add cast to avoid signed warning.
7630 (store_field): Likewise.
7631 (store_constructor_field): Likewise.
7632 (store_constructor): Likewise.
7633 (store_expr): Likewise.
7634 (clear_storage): Likewise.
7635 (emit_group_store): Likewise.
7636 (emit_group_load): Likewise.
7637
7638 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
7639
7640 * c-common.c: Move format checking code to ...
7641 * c-format.c: ... here. New file. Reorder some functions and
7642 declarations.
7643 (decl_handle_format_attribute, decl_handle_format_arg_attribute):
7644 New functions.
7645 * c-common.h (decl_handle_format_attribute,
7646 decl_handle_format_arg_attribute): Declare.
7647 * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
7648 (c-common.o): Adjust dependencies.
7649 (c-format.o): New list of dependencies.
7650
7651 2001-01-13 Jakub Jelinek <jakub@redhat.com>
7652
7653 * unroll.c (loop_iterations): If we cannot prove iteration variable
7654 is set once in each iteration, punt.
7655
7656 Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru>
7657
7658 * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
7659 (*strlenhi): Remove clobber (which was buggy) of output address.
7660
7661 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
7662
7663 * Makefile.in (generated-manpages): Add gcc.1
7664 ($(srcdir)/gcc.1): New target.
7665 (maintainer-clean): Delete $(srcdir)/gcc.1.
7666 * gcc.texi: Add macros @gccoptlist and @gol.
7667 * invoke.texi: Include option summary in manpage. Mark up option
7668 summary with @gccoptlist and @gol. Use @r in one place where
7669 appropriate.
7670 * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
7671 * gcc.1: Generate from invoke.texi.
7672
7673 2001-01-13 Richard Henderson <rth@redhat.com>
7674
7675 * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
7676 (struct page_entry): Add group member.
7677 (struct page_group): New.
7678 (struct globals): Add page_groups member.
7679 (alloc_anon): Only define for using mmap; remove valloc call.
7680 (page_group_index): New.
7681 (set_page_group_in_use): New.
7682 (clear_page_group_in_use): New.
7683 (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
7684 (free_page, release_pages): Likewise.
7685 * configure.in (with-gc): Default to ggc-page always.
7686
7687 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
7688
7689 * reload1.c (replace_pseudos_in_call_usage): Use
7690 reg_equiv_constant and reg_equiv_address, and don't try
7691 regno_reg_rtx first.
7692
7693 2001-01-13 Richard Henderson <rth@redhat.com>
7694
7695 * ggc-page.c (alloc_page): Round up allocation size to one page.
7696 Set e->order on extra pages.
7697
7698 2001-01-13 Richard Henderson <rth@redhat.com>
7699
7700 * genrecog.c (nodes_identical): Expand commentary.
7701 (write_switch): Watch out for identical nodes.
7702
7703 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
7704
7705 * cppfiles.c (_cpp_fake_include): New function.
7706 * cpphash.h (_cpp_fake_include): New.
7707 * cpplib.c (do_line): Call _cpp_fake_include when entering
7708 header files in preprocessed input.
7709 * cppmain.c (cb_pragma_implementation): Remove handling.
7710 (setup_callbacks): Don't register pragmas.
7711
7712 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
7713
7714 * extend.texi: Udate for CPP.
7715
7716 2001-01-13 Andreas Jaeger <aj@suse.de>
7717
7718 * reload1.c: Add prototype for replace_pseudos_in_call_usage.
7719
7720 * regmove.c: Add prototype for replace_in_call_usage.
7721
7722 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
7723
7724 * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
7725 struct cpp_chunk, struct htab, struct toklist,
7726 struct cpp_context, CPP_STACK_MAX, struct lexer_state,
7727 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
7728 CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
7729 ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
7730 (struct macro_args): Delete.
7731 * cpphash.h: See above.
7732
7733 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
7734
7735 * cppmain.c (struct printer): Remove no_line_dirs.
7736 (options, cb): New.
7737 (main, setup_callbacks, scan_buffer, printer_init, cb_define)
7738 : Use options rather than CPP_OPTION.
7739 (setup_callbacks): Use cb rather than pfile->cb.
7740 (main): No need to check for a buffer. Use cpp_errors.
7741 (printer_init): Don't set no_line_dirs.
7742 (maybe_print_line): Use options not no_line_dirs.
7743 (cb_file_change): Don't call print_line if -P.
7744
7745 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
7746
7747 * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
7748 callbacks.
7749 * c-parse.in (finish_parse): Use cpp_errors.
7750 (__yylex): Use return value of cpp_pop_buffer.
7751 * cp/lex.c (finish_parse): Use cpp_errors.
7752 * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
7753
7754 Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru>
7755
7756 * README.AVR: URLs corrected.
7757
7758 Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7759
7760 * c-decl.c (start_function): Don't warn if old prototype is builtin
7761 that's not in C's namespace.
7762 * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
7763 (_bb): Add prototype for ctime.
7764 * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
7765
7766 Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
7767
7768 * i386.c (ix86_fp_comparison_arithmetics_cost,
7769 ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
7770 ix86_fp_comparison_cost): New functions.
7771 (ix86_expand_fp_compare): Use the costs to choose best bethod; add
7772 two new parameters SECOND_TEST and BYPASS_TEST; allow generating
7773 two-branch sequences; make static.
7774 (ix86_use_fcomi_compare): Do decision according to the costs.
7775 (split_fp_branch): New.
7776 * i386.md (compare-and-branch patterns): Use split_fp_branch.
7777 * i386-protos.h (ix86_expand_fp_compare): Remove
7778 (ix86_split_fp_branch): Declare.
7779
7780 * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
7781 and ix86_comparison_operator.
7782
7783 * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
7784 to make it cheaper.
7785
7786 * i386.c (put_condition_code): Output properly the unordered/ordered
7787 compares in fp case.
7788 (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
7789
7790 * tm.texi (REVERSE_CONDITION): Document.
7791 * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
7792 in -ffast-math mode.
7793 * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
7794
7795 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
7796
7797 * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
7798
7799 * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
7800 optimized away.
7801
7802 * config/sh/sh.c (mova_p): Fix test for mova_const.
7803
7804 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
7805
7806 * fix-header.c (read_scan_file): Use cpp_get_callbacks and
7807 cpp_get_options rather than dereferencing pfile and using
7808 CPP_OPTION.
7809 * scan-decls.c (scan_decls): Use return value of
7810 cpp_pop_buffer rather than CPP_BUFFER.
7811
7812 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
7813
7814 * cppinit.c (cpp_handle_option): help_only is now part of the
7815 cpp_options structure.
7816 * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
7817 cpp_set_callbacks): New functions.
7818 * cpplib.h (cpp_callbacks): Break out as a named structure.
7819 (cpp_options): Move help_only here from cpp_reader.
7820 (CPP_FATAL_ERRORS): Update to use cpp_errors.
7821 (cpp_errors, cpp_get_options, cpp_get_callbacks,
7822 cpp_set_callbacks): New prototypes.
7823 * cppmain.c (main): Update for help_only.
7824
7825 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
7826
7827 * Makefile.in (info, maintainer-clean, install-info, uninstall):
7828 Also build and remove and install and uninstall c-tree.info and
7829 cppinternals.info.
7830 ($(srcdir)/gcc.info): Add dependency on contrib.texi.
7831 ($(srcdir)/cppinternals.info): New target.
7832 * c-tree.texi: Change file name used when makeinfo used without -o
7833 from ir.info to c-tree.info. Add info directory entry.
7834 * cppinternals.texi: Add info directory entry.
7835 * .cvsignore: Update.
7836
7837 2001-01-12 Jakub Jelinek <jakub@redhat.com>
7838
7839 * c-typeck.c (store_init_value): Don't require constant initializer
7840 elements with -pedantic -std=c99.
7841 (digest_init): Change error about non-constant initializer elements
7842 into pedwarn.
7843 (constructor_range_end): Remove.
7844 (constructor_incremental, designator_depth,
7845 designator_errorneous): New variables.
7846 (struct constructor_stack): Remove range_end, add incremental.
7847 (struct constructor_range_stack, constructor_range_stack): New.
7848 (struct initializer_stack): Add constructor_range_stack.
7849 (finish_init): Set it.
7850 (start_init): Likewise. require_constant_elements for non-static
7851 trees only if not flag_isoc99.
7852 (really_start_incremental_init): Remove constructor_range_end, add
7853 constructor_incremental.
7854 (pop_init_level): Likewise.
7855 (push_init_level): Likewise. If implicit and the subobject had some
7856 value set already, preinitialize the level with it.
7857 Warn about missing braces only if not pushing due to designators.
7858 (set_designator, push_range_stack): New functions.
7859 (set_init_label): Use them.
7860 (set_init_index): Likewise. Remove constructor_range_end.
7861 Error if designator index is outside of array bounds.
7862 (add_pending_init): Compare values of purpose index trees, not the
7863 trees themselves. Allow overwriting of already initialized element.
7864 Issue a warning if it had side-effects.
7865 (set_nonincremental_init, set_nonincremental_init_from_string): New
7866 functions.
7867 (pending_init_member): Rename to...
7868 (find_init_member): ...this function. Call set_nonincremental_init
7869 if necessary. Compare values of purpose index trees, not the trees
7870 themselves. Return the actual value, not just non-zero if something
7871 is found.
7872 (output_init_element): Remove checks for duplicates.
7873 If field has zero size, only check the initializer for correctness.
7874 Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL
7875 if constructor_incremental is zero. Change error about initializers
7876 not computable at load time into pedwarn.
7877 (output_pending_init_elements): Compare bit positions, not
7878 FIELD_DECLs to take into account zero-sized fields.
7879 (process_init_element): Use constructor_range_stack to fill all
7880 ranges in the designator lists from current level up.
7881 * extend.texi: Update documentation for labeled elements.
7882
7883 2001-01-12 Alexandre Oliva <aoliva@redhat.com>
7884
7885 * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
7886 to function usage for arguments passed by reference. Optimize
7887 callee-copied arguments.
7888 * regmove.c (replace_in_call_usage): New function.
7889 (fixup_match_1): Call it.
7890 * cse.c (cse_insn): Canonicalize registers in function usage.
7891 * reload1.c (replace_pseudos_in_call_usage): New function.
7892 (reload): Call it.
7893
7894 * Makefile.in: Reverted yesterday's wrong patch. Installed the
7895 right version.
7896
7897 2001-01-12 Jakub Jelinek <jakub@redhat.com>
7898
7899 * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
7900 not XEXP (tmp, 0).
7901
7902 2001-01-12 DJ Delorie <dj@redhat.com>
7903
7904 * Makefile.in (bootstrap): rename stages to be mnemonic. Add
7905 restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
7906 targets.
7907
7908 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
7909
7910 * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
7911 tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to
7912 -std options alongside references to -ansi. Update some
7913 documentation for C99.
7914 * cpp.1: Regenerate.
7915
7916 2001-01-12 Andreas Jaeger <aj@suse.de>
7917
7918 * haifa-sched.c (restore_line_notes): Remove argument block B
7919 since it's unused.
7920 * sched-ebb.c (schedule_ebb): Change caller.
7921 * sched-rgn.c (schedule_region): Likewise.
7922 * sched-int.h (restore_line_notes): Adjust prototype.
7923
7924 * loop.h: Remove wrong declaration of doloop_condition_get.
7925
7926 2001-01-12 Phil Edwards <pme@sources.redhat.com>
7927
7928 * extend.texi: Move C++-extension-related node from the C section
7929 into the C++ section.
7930
7931 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
7932
7933 * extend.texi: Refer to an array of pointers to functions instead
7934 of one of functions.
7935
7936 Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
7937 Jan Hubicka <jh@suse.cz>
7938
7939 * combine.c (reversed_comparison): Fix typo in last patch.
7940 Check X for NULL.
7941 (combine_reversed_comparison_code): Make static to follow
7942 prototype declaration.
7943
7944 2001-01-12 Phil Edwards <pme@sources.redhat.com>
7945
7946 * install.texi: Remove misplaced duplicate entry.
7947
7948 2001-01-11 Ulrich Drepper <drepper@redhat.com>
7949
7950 * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
7951
7952 Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
7953
7954 * final.c: (leaf_function_p): Fix typo.
7955
7956 2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
7957
7958 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
7959 Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
7960 which you have.
7961 (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
7962 * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
7963 mmap_anon, and valloc is available.
7964 * ggc-page.c: Restructure ifdef logic to match new autoconf
7965 spec. Don't throw away the test page in init_ggc.
7966
7967 * configure, config.in: Regenerate.
7968
7969 2001-01-12 Michael Hayes <mhayes@redhat.com>
7970
7971 * loop.h (total_biv_increment): Constify iv_class pointer.
7972 (struct induction): Replace `mem_mode' with `mem' rtx.
7973 * unroll.c (total_biv_increment): Constify iv_class pointer.
7974 * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
7975 (find_mem_givs, combine_givs_p): Likewise.
7976 (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
7977
7978 2001-01-10 Thomas Pfaff <tpfaff@gmx.net>
7979
7980 * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
7981 LastError.
7982 (__gthread_getspecific): Ditto.
7983
7984 Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
7985
7986 * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
7987 put_condition_code): Convert fp comparison codes to integer
7988 before handling.
7989 (ix86_expand_fp_compare): Postnote the fp comparison code converison
7990 to final.
7991
7992 * i386.c (unsigned_comparison, no_comparison_operator): Kill.
7993 * i386-protos.h (no_comparison_operator): Kill.
7994
7995 * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
7996
7997 * combine.c (REVERSIBLE_CC_MODE): Remove.
7998 (reversible_comparison_p): Remove.
7999 (combine_reversed_comparison_code): New.
8000 (reversed_comparison): New.
8001 (combine_simplify_rtx): Use
8002 combine_reversed_comparison_code/reversed_comparison instead
8003 of reversible_comparison_p.
8004 (simplify_if_then_else): Likewise.
8005 (simplify_set): Likewise.
8006 (simplify_logical): Likewise.
8007 (if_then_else_cond): Likewise.
8008 (known_cond): Likewise.
8009 (simplify_comparison): Likewise.
8010
8011 2001-01-11 Alan Lehotsky <lehotsky@tiac.net>
8012
8013 * builtins.c (std_expand_builtin_va_start): Handle varargs when
8014 sizeof (int) is larger than sizeof(__word__).
8015
8016 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
8017
8018 * cppinit.c (do_includes): Fix typo.
8019
8020 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8021
8022 * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
8023 in S_REGS does not occur because not all sources are possible
8024 when a S_REGS is a destination (sometimes needs a clobber).
8025 (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
8026 (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
8027 (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
8028 (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
8029 (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
8030 (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
8031 (lshrdi_const1, lshrsi3_const16): Likewise.
8032 (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
8033 (*movhi_68hc12, *movqi_68hc12): Likewise.
8034 (movstrictqi): Make sure reloading in D_REGS as a destination
8035 does not happen.
8036
8037 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
8038
8039 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
8040
8041 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
8042
8043 * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
8044 -D, -U and -A, and don't initialize the builtins.
8045 (do_includes): Error if -include or -imacros with -fpreprocessed.
8046 * cppmain.c (cb_define, cb_undef): Unconditionally process
8047 the callback.
8048 * tradcpp.c (main): Fix typo.
8049
8050 2000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
8051
8052 * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
8053 (read_name_map): Use IS_ABSOLUTE_PATH.
8054 * tradcpp.c (get_filename): Likewise.
8055
8056 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8057
8058 * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
8059 (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
8060 (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
8061 (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
8062 (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
8063 (cmphi_z_used): Don't use '@' for the output.
8064 (tstqi_z_used): Likewise.
8065 (cmpqi_z_used): Likewise.
8066 (one_cmplsi2): Likewise.
8067
8068 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
8069
8070 * config/sh/sh.c (barrier_align): Recognize branch around far
8071 branch and redundant insn.
8072
8073 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
8074
8075 * invoke.texi: Restore documentation of the drivers' switches -MD
8076 and -MMD.
8077
8078 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
8079
8080 * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
8081
8082 * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
8083 check-objc//%): Support parallel testing of multilibs.
8084 (TESTSUITEDIR): Set to testsuite by default, but override for
8085 parallel testing.
8086 (check-gcc, check-g++, check-g77, check-objc): Enter
8087 $(TESTSUITEDIR).
8088
8089 2001-01-11 Bernd Schmidt <bernds@redhat.com>
8090
8091 * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
8092 * sched-deps.c (deps_may_trap_p): Likewise.
8093 * basic-block.h: Remove a comment.
8094 * flow.c (PROP_POSTRELOAD): Remove.
8095 (update_life_info): Don't add it to prop_flags.
8096 (mark_set_1): Lose the code that was enabled by it.
8097
8098 2001-01-11 Michael Hayes <mhayes@redhat.com>
8099
8100 * flow.c (flow_call_edges_add): New.
8101 * basic_block.h (flow_call_edges_add): New.
8102
8103 2001-01-11 J"orn Rennecke <amylaar@redhat.com>
8104
8105 * reload1.c (move2add_note_store): Update reg_set_luid even if
8106 base reg remains the same.
8107
8108 2001-01-10 Nick Clifton <nickc@redhat.com>
8109
8110 * config/d30v/d30v.c (d30v_init_machine_status): Initialise
8111 machine_function structure to zero.
8112 Add prototypes for machine_status functions.
8113
8114 2001-01-10 Mark Mitchell <mark@codesourcery.com>
8115
8116 * c-common.h (CTI_VOID_LIST): Remove.
8117 (void_list_node): Likewise.
8118 * tree.h (TI_VOID_LIST_NODE): New enumeral.
8119 (void_list_node): New macro.
8120 * config/arm/arm.c (arm_init_builtins): Use void_list_node.
8121 * config/i386/i386.c (ix86_init_builtins): Likewise.
8122 * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
8123
8124 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
8125
8126 * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
8127 * cppinit.c (cpp_start_read): Update comment, remove unneeded
8128 if statement.
8129 * tradcpp.c: Include mkdeps.h.
8130 (deps, print_deps_phony_targets, deps_append, output_deps,
8131 init_dependency_output, output_deps): New.
8132 (deps_buffer, deps_allocated_size, deps_size, deps_column,
8133 deps_output): Delete.
8134 (print_deps_missing_files): Rename deps_missing_files.
8135 (inhibit_output): Make global.
8136 (main): Delete inhibit_output, deps_stream, deps_target.
8137 Use mkdeps functionality in the same way as cpplib. Remove
8138 -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of
8139 -M and -MM. Remove old handling of deps via deps_out, and
8140 old reading of environment variables.
8141 (get_filename): Update to use deps_add_dep.
8142
8143 2001-01-10 Mark Mitchell <mark@codesourcery.com>
8144
8145 * output.h (make_function_rtl): Remove prototype.
8146 (make_decl_rtl): Likewise.
8147 * varasm.c (make_function_rtl): Remove.
8148 (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
8149 than from a third parameter.
8150 * tree.h (make_decl_rtl): Remove last parameter.
8151 * c-decl.c (builtin_function): Remove last argument in call to
8152 make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
8153 (start_function): Likewise.
8154 * except.c (call_get_eh_context): Likewise.
8155 * expr.c (emit_block_move): Likewise.
8156 (clear_storage): Likewise.
8157 * profile.c (output_func_start_profiler): Likewise.
8158 * toplev.c (rest_of_decl_compilation): Likewise.
8159 * objc/objc-act.c (create_builtin_decl): Likewise.
8160 (synth_module_prologue): Likewise.
8161 (generate_static_reference): Likewise.
8162 (build_selector_reference_decl): Likewise.
8163 (build_class_reference_decl): Likewise.
8164 (build_objc_string_decl): Likewise.
8165 (build_protocol_reference): Likewise.
8166
8167 2001-01-10 Richard Henderson <rth@redhat.com>
8168
8169 * hwint.h: Revert yesterday's change.
8170
8171 2001-01-10 Nick Clifton <nickc@redhat.com>
8172
8173 * function.h (save_machine_status): Delete.
8174 (restore_machine_status): Delete.
8175 Amend comment describing {init|mark|free}_machine_status.
8176
8177 * function.c (save_machine_status): Delete.
8178 (restore_machine_status): Delete.
8179 Amend comment describing {init|mark|free}_machine_status.
8180 (push_function_context_to): Remove invocation of
8181 save_machine_status.
8182 (pop_function_context_from): Remove invocation of
8183 restore_machine_status.
8184
8185 * emit-rtl.c (init_emit_once): Amend comment describing
8186 {init|mark|free}_machine_status.
8187
8188 * tm.texi (Per-Function Data): New node. Describe the
8189 INIT_EXPANDERS macro and the {init|mark|free}_machine_status
8190 function pointers.
8191
8192 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
8193
8194 * cppinit.c (OPT_g): Remove.
8195 (cpp_handle_option): Update for removed -g3.
8196 (print_help): Update.
8197 * cpplib.h (struct cpp_options): Remove debug_output.
8198 * cppmain.c (setup_callbacks, cb_define): Update.
8199 * gcc.c (cpp_options): Translate -g3 to -dD.
8200
8201 2001-01-10 Aldy Hernandez <aldyh@redhat.com>
8202
8203 * config/i960/i960.md: Change modifier to + on the zero_extract
8204 pattern after the (rotate -2 reg) canonicalization pattern.
8205
8206 2001-01-10 Richard Henderson <rth@redhat.com>
8207
8208 * config/alpha/alpha.c (alpha_free_machine_status): New.
8209 (override_options): Install it.
8210 (alpha_mark_machine_status): Verify machine non-null.
8211 * config/i386/i386.c (ix86_free_machine_status): New.
8212 (override_options): Install it.
8213 (ix86_init_machine_status): Use xcalloc.
8214 (ix86_mark_machine_status): Verify machine non-null.
8215 * config/ia64/ia64.c (ia64_free_machine_status): New.
8216 (ia64_override_options): Install it.
8217 (ia64_mark_machine_status): Verify machine non-null.
8218
8219 Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com)
8220
8221 * function.c (instantiate_virtual_regs): Instantiate virtual
8222 registers found in CALL_INSN_FUNCTION_USAGE.
8223
8224 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
8225
8226 * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
8227 equivalent to -ansi in disabling -Di386.
8228
8229 Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz>
8230
8231 * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
8232 new functions.
8233 (ix86_expand_fp_compare): Make trivial use of new infrastructure.
8234
8235 2001-01-10 Richard Earnshaw <rearnsha@arm.com>
8236
8237 * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
8238
8239 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
8240
8241 * invoke.texi: Document that -fcond-mismatch isn't supported for
8242 C++.
8243
8244 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
8245
8246 * gcc.texi: Define macro gcctabopt.
8247 * invoke.texi: Add manpage sections BUGS and AUTHOR. Use
8248 @command, @env and @option in some places where appropriate. Use
8249 @gcctabopt where appropriate. Put URLs and email addresses inside
8250 @w.
8251
8252 2001-01-10 Nathan Sidwell <nathan@codesourcery.com>
8253
8254 * gcc.c (cpp_options): Set MD file name from output
8255 filename, if specified.
8256 (suffix_subst): New static variable.
8257 (do_spec): Clear it.
8258 (do_spec_1, case '.'): Handle new `%.suffix' spec.
8259 Clear it.
8260 (give_switch): Handle suffix_subst.
8261
8262 2001-01-10 Phil Edwards <pme@sources.redhat.com>
8263
8264 * invoke.texi: Fix another typo.
8265
8266 2001-01-10 Phil Edwards <pme@sources.redhat.com>
8267
8268 * invoke.texi: Fix typo.
8269
8270 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
8271
8272 * c-lang.c (lang_hooks): Update.
8273 (lang_decode_option): Remove.
8274 (lang_init_options): Rename c_init_options.
8275 * toplev.c (main): Use lang_hooks for lang_init_options
8276 and lang_decode_option.
8277 * toplev.h (lang_hooks): Add 2 new hooks.
8278 * tree.h: Remove lang_init_options and lang_decode_option.
8279 * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
8280 * cp/decl2.c: Similarly.
8281 * cp/lex.c (lang_init_options): Rename cxx_init_options.
8282 (lang_hooks): Update.
8283 * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
8284 for consistency.
8285 (lang_init_options): Rename ffe_init_options.
8286 (lang_hooks): Update.
8287 (lang_decode_option): Remove.
8288 * java/lang.c (lang_init_options): Rename java_init_options.
8289 (lang_decode_option): Rename java_decode_option.
8290 (lang_hooks): Update.
8291 * objc/objc-act.c (lang_init_options): Rename objc_init_options.
8292 (lang_decode_option): Rename objc_decode_option.
8293 (lang_hooks): Update.
8294
8295 2001-01-09 Nick Clifton <nickc@redhat.com>
8296
8297 * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
8298 (d30v_return_addr_rtx): Delete.
8299 (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
8300 cfun->machine structure.
8301 (struct machine_function): Move to d30v.h
8302 (d30v_save_machine_status): Delete.
8303 (d30v_restore_machine_status): Delete.
8304 (d30v_init_machine_status): New Function.
8305 (d30v_mark_machine_status): New Function.
8306 (d30v_free_machine_status): New Function.
8307 (d30v_init_expanders): Use new functions.
8308 (d30v_return_addr): Use ra_rtx field in cfun->machine.
8309 (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
8310 d30v_return_addr_rtx.
8311
8312 * config/d30v/d30v.h (struct_machine): Move here.
8313 Add eh_epilogue_sp_ofs field.
8314
8315 *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
8316 field in cfun->machine structure.
8317
8318 Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca>
8319
8320 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
8321 PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
8322 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
8323
8324 Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
8325
8326 * objc/lang-options.h: Remove bogus reference to
8327 Java trademark.
8328
8329 2001-01-09 Kazu Hirata <kazu@hxi.com>
8330
8331 * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
8332 return the result.
8333
8334 2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
8335
8336 * reload.c (find_reloads_address): Check for eliminable registers
8337 when substituting a constant expression for a pseudo.
8338
8339 2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
8340
8341 * c-common.c (enum format_type): Add format_type_error.
8342 (decode_format_type): New function.
8343 (decl_attributes): Use it.
8344 (format_kind_info): Adjust comment.
8345
8346 2001-01-09 David O'Brien <obrien@BSDi.com>
8347
8348 * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
8349 i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
8350 files in tm_file.
8351 * config/i386/gnu.h: Don't include required platform specific .h files,
8352 tm.h will do it instead.
8353 * config/i386/i386elf.h: Likewise.
8354 * config/i386/linux.h: Likewise.
8355 * config/i386/moss.h: Likewise.
8356 * config/mips/gnu.h: Likewise.
8357
8358 2001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8359
8360 * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
8361 (rs6000-ibm-aix3.[01]*): Likewise.
8362 (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
8363 (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
8364 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
8365 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8366 (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
8367 (powerpc-*-eabiaix*): Likewise.
8368 (powerpc-*-eabisim*): Likewise.
8369 (powerpc-*-elf*): Likewise.
8370 (powerpc-*-eabi*): Likewise.
8371 (powerpc-*-rtems*): Likewise.
8372 (powerpc-*-linux*libc1): Likewise.
8373 (powerpc-*-linux*): Likewise.
8374 (powerpc-wrs-vxworks*): Likewise.
8375 (powerpcle-wrs-vxworks*): Likewise.
8376 (powerpcle-*-sysv*): Likewise.
8377 (powerpcle-*-elf*): Likewise.
8378 (powerpcle-*-eabisim*): Likewise.
8379 (powerpcle-*-eabi*): Likewise.
8380 (powerpcle-*-solaris2*): Likewise.
8381 * config/rs6000/aix31.h: Delete includes.
8382 * config/rs6000/aix3newas.h: Likewise.
8383 * config/rs6000/aix41.h: Likewise.
8384 * config/rs6000/aix43.h: Likewise.
8385 * config/rs6000/beos.h: Likewise.
8386 * config/rs6000/rtems.h: Likewise.
8387 * config/rs6000/sysv4.h: Likewise.
8388
8389 2001-01-09 Kazu Hirata <kazu@hxi.com>
8390
8391 * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
8392 Change an argument mode of machine_mode to shift_mode of
8393 shift_mode. Remove an extra error check.
8394 (emit_a_shift): Adopt to the new calling prototype of
8395 get_shift_alg.
8396 (function_prologue): Fix code for a monitor
8397 function. Support H8/S.
8398 (function_epilogue): Do not output pop for a monitor function.
8399
8400 2001-01-09 Nick Clifton <nickc@redhat.com>
8401
8402 * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
8403 (setup_incoming_varargs): Use sysv_varargs_p field of the
8404 cfun->machine structure.
8405 (struct machine_function): Move to rs6000.h
8406 (rs6000_save_machine_status): Delete.
8407 (rs6000_restore_machine_status): Delete.
8408 (rs6000_init_machine_status): New Function.
8409 (rs6000_free_machine_status): New Function.
8410 (rs6000_init_expanders): Use new functions.
8411
8412 * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
8413 export.
8414 (struct machine_function): Move here.
8415
8416 * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
8417 sysv_varargs_p field of the cfun->machine structure.
8418
8419 * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
8420 Remove prototype.
8421 (rs6000_restore_machine_status): Remove prototype.
8422
8423 2001-01-09 Richard Henderson <rth@redhat.com>
8424
8425 * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
8426 reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
8427 * sched-deps.c (sched_analyze_1): Update uses of struct deps.
8428 (sched_analyze_2, sched_analyze_insn): Likewise.
8429 (sched_analyze, init_deps): Likewise.
8430 (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
8431 * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument.
8432 (compute_block_backward_dependences): Update propagate_deps call.
8433
8434 2001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
8435
8436 * gcc.c (process_command): Set switches[n_switches].ordering to 0.
8437
8438 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
8439
8440 * cppinit.c (OPT_MD, OPT_MMD): Restore.
8441 (cpp_handle_option): Handle them.
8442 (cpp_post_options): Ensure one of -M or -MM is specified with
8443 any other -M? option.
8444 (init_dependency_output): Suppress output with -MG.
8445
8446 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
8447
8448 * cpp.texi: Update.
8449 * invoke.texi: Update.
8450
8451 2001-01-09 Bernd Schmidt <bernds@redhat.com>
8452
8453 * sh.md (reload_outsf): Generate recognizable patterns for
8454 TARGET_SH3E.
8455
8456 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
8457
8458 * c-lang.c (lang_hooks): Update.
8459 (lang_init): Rename c_init.
8460 (lang_finish): Remove.
8461 * toplev.c (compile_file): Use lang_hooks for lang_init ()
8462 and lang_finish ().
8463 * toplev.h (lang_hooks): Add init () and finish ().
8464 * tree.h (lang_init, lang_finish): Remove.
8465 * cp/tree.h (lang_init, lang_finish): Remove.
8466 * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
8467 * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
8468 lang_hooks): New.
8469 (lang_init, lang_finish): Remove.
8470 * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
8471 (lang_hooks): Update.
8472 * java/lang.c (lang_init): Rename java_init.
8473 (lang_finish): Remove.
8474 (lang_hooks): Update.
8475 * objc/objc-act.c (lang_init): Rename objc_init.
8476 (lang_finish): Remove.
8477 (lang_hoooks): Update.
8478
8479 20001-01-09 Graham Stott <grahams@redhat.com>
8480
8481 * cppfiles.c (_cpp_execute_include): Move `len` initialisation
8482 after `ptr` is initialised.
8483
8484 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
8485
8486 * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
8487 (INITIALIZE_TRAMPOLINE): Adjust accordingly.
8488 * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
8489 stack adjusts, instead of r3.
8490
8491 2001-01-09 Michael Hayes <mhayes@redhat.com>
8492
8493 * flow.c (flow_loop_scan): Break out of ...
8494 (flow_loops_find) ... here.
8495 * basic-block.h (flow_loop_scan): New.
8496 (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
8497 (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
8498
8499 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
8500
8501 * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
8502 macro_buffer_len.
8503 * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
8504 realloc()ing macro_buffer.
8505
8506 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
8507 if it's wider than long and the target's long is wider than the
8508 host's.
8509
8510 2001-01-09 Mark Mitchell <mark@codesourcery.com>
8511
8512 Remove support for using UWIN as a host machine.
8513 * configure.in: Issue an error message.
8514 * configure: Regenerated.
8515 * config.gcc: Remove xm_* UWIN configury.
8516 * config/i386/xm-uwin.h: Remove.
8517
8518 2001-01-08 Nick Clifton <nickc@redhat.com>
8519
8520 * config/v850/v850.c (ra_rtx): Delete.
8521 (v850_save_machine_status): Delete.
8522 (v850_restore_machine_status): Delete.
8523 (v850_init_machine_status): New function.
8524 (v850_mark_machine_status): New function.
8525 (v850_free_machine_status): New function.
8526 (v850_return_addr): Use ra_rtx field in machine structure.
8527 (v850_init_expanders): Use new functions.
8528
8529 * config/v850/v850-protos.h: Fix prototypes for v850_output_*
8530 * config/v850/v850.c: Change arguments to v850_output+* functions
8531 to take a const char *, to avoid compile time warning.
8532 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
8533 (USER_LABEL_PREFIX): Redefine.
8534
8535 2000-01-08 Jim Wilson <wilson@redhat.com>
8536
8537 * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
8538 1 to unsigned HOST_WIDE_INT before left shift.
8539
8540 2001-01-08 Nick Clifton <nickc@redhat.com>
8541
8542 * config/arm/arm.c (arm_mark_machine_status): Check to see if
8543 the machine structure has been allocated.
8544 (arm_free_machine_status): New function: Free the machine
8545 specific function structure.
8546
8547 2001-01-08 Richard Henderson <rth@redhat.com>
8548
8549 * jump.c (simplejump_p): Revert last change.
8550
8551 2001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
8552
8553 * cppinit.c (init): Rename init_library.
8554 (cpp_create_reader): Update.
8555 * gcc.c (cpp_options): If -o given, use it as the target of
8556 any -M options.
8557
8558 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
8559
8560 * arm.c (arm_arch5e): New variable.
8561 (all_cores): XScale is a 5TE device.
8562 (arm_override_options): Set arm_arch5e.
8563 (arm_init_builtins): __builtin_prefetch is in arch5e.
8564 * arm.h (arm_arch5e): Declare it.
8565
8566 * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
8567
8568 * arm.md (define_constants): Add defines for UNSPEC and
8569 UNSPEC_VOLATILE insns. Update all users.
8570 (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
8571 * arm.c (multi_register_push, note_invalid_constants)
8572 (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
8573 * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
8574 (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
8575
8576 Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz>
8577
8578 * jump.c (jump_optimize_1): Use reversed_comparison_code
8579 instead of can_reverse_comparison_p.
8580 (jump_back_p): Likewise.
8581 (invert_exp_1): Likewise.
8582 (thread_jumps): Likewise.
8583 * simplify-rtx.c (simplify_unary_operation): Likewise.
8584 (simplify_ternary_operation): Likewise.
8585 * cse.c (find_comparison_args): Convert to use
8586 can_reverse_comparison_p.
8587 (record_jump_equiv): Likewise.
8588
8589 2001-01-08 Richard Earnshaw <rearnsha@arm.com>
8590
8591 * arm.h (HARD_REGNO_RENAME_OK): Delete.
8592 (EPILOGUE_USES): Define.
8593 (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
8594 automatically stack the LR if it isn't live.
8595
8596 Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz>
8597
8598 * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
8599 properly.
8600
8601 Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com>
8602
8603 * ggc-page.c (max_alignment): New structure.
8604 (MAX_ALIGNMENT): New macro.
8605 (init_ggc): Use it to round up the sizes in the
8606 extra_order_size_table.
8607
8608 2001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8609
8610 * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
8611 after reload.
8612
8613 2001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8614
8615 * builtins.def (BUILT_IN_FPRINTF): New entry.
8616
8617 * c-common.c (c_expand_builtin_fprintf): New function.
8618 (init_function_format_info): Handle __builtin_fprintf.
8619 (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
8620 (c_expand_builtin): Handle BUILT_IN_FPRINTF.
8621
8622 * c-decl.c (duplicate_decls): Adjust comment.
8623
8624 * extend.texi (fprintf): Document new builtin.
8625
8626 2001-01-07 Richard Henderson <rth@redhat.com>
8627
8628 * jump.c (simplejump_p): Recognize any single_set jump
8629 of the proper form.
8630
8631 2001-01-07 Richard Henderson <rth@redhat.com>
8632
8633 * configure.in (slibdir): Accept an --with-slibdir option.
8634 Use "test" not "[" in configure. Default to $(libdir).
8635
8636 * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
8637 fix typo in rm -f.
8638 * config/t-aix43 (SHLIB_INSTALL): Likewise.
8639 * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
8640 (SHLIB_LINK): Create links for the soname.
8641 * config/mips/t-iris6: Likewise.
8642 * config/sparc/t-slibgcc: Likewise.
8643 * config/sparc/t-slibgcc-sld: Likewise.
8644
8645 2001-01-07 Jakub Jelinek <jakub@redhat.com>
8646
8647 * config/i386/i386.c (constant_call_address_operand): Accept
8648 (const (plus (symbol_ref) (const_int))).
8649 * config/i386/i386.h (PREDICATE_CODES): Add CONST for
8650 constant_call_address_operand.
8651
8652 2001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8653
8654 * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
8655 and LONG_LONG_TYPE_SIZE > 32.
8656
8657 2001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8658
8659 * jump.c (reversed_comparison_code_parts): Fix typo introduced by
8660 the previous change.
8661
8662 Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz>
8663
8664 * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
8665 New.
8666 (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
8667 (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
8668 * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
8669 Declare.
8670
8671 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
8672
8673 * fix-header.c (read_scan_file): s/pfile/scan_in/.
8674
8675 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
8676
8677 * c-lang.c (c_post_options): Call cpp_post_options.
8678 * objc/objc-act.c (objc_post_options): Similarly.
8679 * cppmain.c (main): Similarly.
8680 * fix-header.c (read_scan_file): Similarly.
8681 * cppinit.c (cpp_start_read): Move option consistency checks
8682 to cpp_post_options. Don't call init_dependency_output.
8683 If needed, add default target and main file dependency.
8684 (OPT_MD, OPT_MMD): Remove.
8685 (OPT_MF): New.
8686 (cpp_handle_option): Update for OPT_* changes.
8687 (cpp_post_options): New.
8688 (init_dependency_output): Command line -MF overrides environment
8689 variables. Don't set default target etc. Suppress output
8690 if dependencies are going to stdout.
8691 (print_help): Update.
8692 * cpplib.h (cpp_post_options): New.
8693 * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
8694
8695 Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
8696
8697 * jump.c (comparison_dominates_p): Support unordered compares.
8698
8699 Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
8700
8701 * simplify-rtx.c (simplify_relational_operation): Always simplify
8702 ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
8703 and UNGE.
8704
8705 Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz>
8706
8707 * combine.c (combine_simplify_rtx): Recognize the unordered compares.
8708 (nonzero_bits): Likewise.
8709 (simplify_comparison): Likewise.
8710 (num_sign_bit_copies): Likewise; return more sane value depending
8711 on STORE_FLAG_VALUE.
8712 (known_cond): Do not assume EQ to be always true for equivalent
8713 operands.
8714
8715 Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz>
8716
8717 * cse.c (fold_rtx): Handle unordered comparisons.
8718
8719 Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz>
8720
8721 * rtlanal.c (set_of_1): New static function.
8722 (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
8723 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
8724 reg_set_last_last_regno): Remove.
8725 (set_of): New global function.
8726 (set_of_data): New structure.
8727 (reg_set_p, reg_set_last): Revamp for set_of.
8728 * rtl.h (set_of): New.
8729
8730 2001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
8731
8732 * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
8733 * extend.texi: Document _Exit builtin.
8734
8735 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
8736
8737 * (initialize, initialize_builtins,
8738 initialize_dependency_output, initialize_standard_includes):
8739 Rename s/initialize/init. Update.
8740 (init_dependency_output): Move to after
8741 cpp_handle_options, the correct location temporally at least.
8742 (opt_comp): Move next to init (), its caller. Fix prototype.
8743 (init): Make "initialized" local scope.
8744 (cpp_create_reader): Always call init ().
8745 (cpp_start_read): Update.
8746 (output_deps): New function, broken out of cpp_finish.
8747 (cpp_finish): Break out output_deps.
8748
8749 2001-01-07 Richard Henderson <rth@redhat.com>
8750
8751 * collect2.c (COFF specific stuff): Revert 12-06 patch
8752 to prototype system functions.
8753
8754 2001-01-07 Michael Hayes <mhayes@redhat.com>
8755
8756 * hard-reg-set.h: Add multiple include guard.
8757 * basic-block.h (struct loop): Add `sink' field.
8758 * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
8759 (emit_iv_add_mult): Delete.
8760 (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
8761 (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
8762 (unroll_loop): Remove end_insert_before argument.
8763 * loop.c (loop_givs_rescan): Remove end_insert_before argument.
8764 (maybe_eliminate_biv_1): Likewise.
8765 (emit_iv_add_mult): Delete.
8766 (gen_add_mult, loop_regs_update): New.
8767 (loop_insn_emit_after, loop_insn_emit_before): New.
8768 (loop_insn_sink, loop_insn_sink_or_swim): New.
8769 (emit_iv_add_mult): Delete.
8770 (scan_loop): Set loop->sink.
8771 (loop_givs_reduce): Use loop_insn_sink and its ilk.
8772 (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
8773 (maybe_eliminate_biv_1): Likewise.
8774 (maybe_eliminate_biv_1): Add basic block argument.
8775 * unroll.c (unroll_loop): Remove end_insert_before argument.
8776 (find_splittable_regs): Likewise.
8777 (find_splittable_regs): Use loop_insn_sink and its ilk.
8778 (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
8779
8780 2001-01-07 Michael Hayes <mhayes@redhat.com>
8781
8782 * loop.h (loop_insn_hoist): New prototype.
8783 * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
8784 (move_movables, loop_givs_rescan): Use loop_insn_hoist.
8785 (check_dbra_loop, load_mems): Likewise.
8786 * unroll.c (unroll_loop, find_splittable_regs): Likewise.
8787 (find_splittable_givs): Likewise.
8788
8789 2001-01-07 Michael Hayes <mhayes@redhat.com>
8790
8791 * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
8792
8793 2001-01-07 Richard Henderson <rth@redhat.com>
8794
8795 * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
8796
8797 2001-01-07 Richard Henderson <rth@redhat.com>
8798
8799 * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
8800 NO_SHARED_LIBGCC_MULTILIB as required for the target.
8801 * gcc.c (init_spec): Massage the existing libgcc_spec into a
8802 variant that handles a shared libgcc.
8803 (process_command): Always validate -{static,shared}-libgcc.
8804 (do_spec_1): New 'M' case.
8805 * invoke.text (Link Options): Document -{static,shared}-libgcc.
8806
8807 2001-01-07 Richard Henderson <rth@redhat.com>
8808
8809 * Makefile.in (slibdir): New variable.
8810 (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
8811 (installdirs): Create slibdir.
8812 (install-libgcc, install-multilib): Defer to libgcc.mk.
8813 * configure.in (slibdir): Substitute.
8814 * mklibgcc.in (install): New target.
8815
8816 * config/t-linux (SHLIB_LINK): Create links for the soname.
8817 (SHLIB_INSTALL): New.
8818 * config/alpha/t-osf4 (SHLIB_INSTALL): New.
8819 * config/mips/t-iris6 (SHLIB_INSTALL): New.
8820 * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
8821 * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
8822 * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
8823
8824 2001-01-07 Richard Henderson <rth@redhat.com>
8825
8826 * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
8827 * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
8828 * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
8829
8830 2001-01-07 Michael Hayes <mhayes@redhat.com>
8831
8832 * loop.c (count_loop_regs_set): Delete.
8833 (load_mems_and_recount_loop_regs_set): Delete.
8834 (loop_regs_scan): Merge common code from count_loop_regs_set,
8835 scan_loop, and load_mems_and_recount_loop_regs_set.
8836 (scan_loop): Call load_mems directly and loop_regs_scan
8837 again if new registers created.
8838
8839 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
8840
8841 * toplev.c (main): Call the front-end specific post_options
8842 hook if one is given.
8843 * toplev.h (struct_lang_hooks, lang_hooks): New.
8844 * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
8845 for the C front end.
8846 * cp/decl2.c (cxx_post_options, lang_hooks): Implement
8847 lang_hooks for the C++ front end.
8848 * objc/objc-act.c (objc_post_options, lang_hooks): Implement
8849 lang_hooks for the ObjC front end.
8850 * f/com.c (lang_hooks): Hooks for the Fortran front end.
8851 * java/lang.c (lang_hooks): Hooks for the Java front end.
8852
8853 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
8854
8855 * c-lex.c (init_c_lex): Request #define / #undef callbacks
8856 for verbose DWARF[2] debugging.
8857 (cb_define, cb_undef): The new callbacks.
8858 * toplev.h (debug_define, debug_undef): Make const correct.
8859 * toplev.c (debug_define, debug_undef): Similarly. Do not
8860 perform the verbosity tests here anymore.
8861
8862 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
8863
8864 * reload.c (subst_reloads): Take INSN argument. When
8865 replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
8866 * reload.h (subst_reloads): Adjust prototype.
8867 * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
8868 * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
8869 present in JUMP_INSNs and copy them to JUMP_LABEL.
8870 * flow.c (find_label_refs, find_basic_blocks_1): Skip
8871 JUMP_INSNs and insns with REG_LABELs that are followed by
8872 JUMP_INSNs with the same REG_LABEL.
8873 * sched-rgn.c (is_cfg_nonregular): Likewise.
8874 * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
8875 note is available.
8876 * unroll.c (unroll_loop): Look for REG_LABEL notes in
8877 JUMP_INSNs too.
8878 * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
8879
8880 2001-01-06 Richard Henderson <rth@redhat.com>
8881
8882 * loop.c (scan_loop): Use xcalloc for the regs array.
8883 (load_mems_and_recount_loop_regs_set): Zero the new memory
8884 received from xrealloc.
8885
8886 2001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
8887
8888 * mkdeps.c (deps_add_dep): Fix vector re-allocation.
8889
8890 Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
8891
8892 * integrate.c (copy_rtx_and_substitute): When copying
8893 an ignored return value, strip REG_FUNCTION_VALUE_P.
8894
8895 2001-01-06 Michael Hayes <mhayes@redhat.com>
8896
8897 * loop.c (debug_biv, debug_giv): New.
8898 (loop_biv_dump): Break out from ...
8899 (record_biv): ... here.
8900 (loop_giv_dump): Break out from ...
8901 (record_giv): ... here.
8902 (loop_bivs_check): Use print_simple_rtl.
8903 * unroll.c (loop_iterations): Use print_simple_rtl.
8904
8905 2000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
8906
8907 * pa.md (return, return_internal): Modify patterns to prevent regrename
8908 mucking with the return pointer.
8909
8910 2001-01-05 Richard Henderson <rth@redhat.com>
8911
8912 * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
8913
8914 Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com>
8915
8916 * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
8917 version supplied by Matteo Frigo.
8918
8919 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
8920
8921 * cpp.texi: Update for -MQ.
8922 * cppinit.c (cpp_create_reader): Always create pfile->deps.
8923 (cpp_cleanup): Always free pfile->deps.
8924 (initialize_dependency_output): Don't create pfile->deps.
8925 (cpp_handle_option): Similarly.
8926 (OPT_MQ): New.
8927 * gcc.c (cpp_options): Handle -MQ.
8928 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
8929 * mkdeps.c (base_name): Remove.
8930 (deps_init): Don't allocate vector space until it's needed.
8931 (deps_free): Only free vectors if allocated.
8932 (deps_add_target, deps_add_dep): Update for initial allocation.
8933 (deps_add_default_target): Don't strip to the base_name.
8934
8935 2001-01-05 DJ Delorie <dj@redhat.com>
8936
8937 * config/v850/v850.h (RETURN_ADDR_RTX): Define.
8938 (INIT_EXPANDERS): Define.
8939
8940 * config/v850/v850.c (struct machine_function): Define.
8941 (v850_save_machine_status): New function.
8942 (v850_restore_machine_status): New function.
8943 (v850_return_addr): New function.
8944 (v850_init_expanders): New function.
8945
8946 * config/v850/v850-protos.h: Add prototypes for v850_return_addr
8947 and v850_init_expanders.
8948
8949 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
8950
8951 * cpplib.h (struct cpp_reader): Add help_only field.
8952 * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
8953 (cpp_handle_option): Set pfile->help_only if we see -h,
8954 --help, -target-help, or --version. Print version string but
8955 do not set help_only if we see -v or -version. Make text
8956 printed by -v match that printed by (-)-version.
8957
8958 * cppmain.c (main): Exit after option parsing if
8959 pfile->help_only is true.
8960
8961 * toplev.c (independent_decode_option): Call print_version,
8962 then exit, if we see --version (but not -version).
8963 (print_version): Split lengthy message into two lines.
8964
8965 2001-01-05 Nick Clifton <nickc@redhat.com>
8966
8967 * config/v850/v850.c (v850_encode_data_area): Use alloca to create
8968 temporary string for initialisation before calling ggc_alloc_string.
8969
8970 2001-01-06 Michael Hayes <mhayes@redhat.com>
8971
8972 * rtl.h (print_simple_rtl): New.
8973 * print-rtl.c (print_simple_rtl): New.
8974 (flag_simple): New.
8975 (print_rtx): Disable printing of flags and modes, etc.,
8976 if `flag_simple` nonzero.
8977
8978 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
8979
8980 * function.c (fixup_var_refs): Use push_to_full_sequence where
8981 possible.
8982
8983 2001-01-05 Michael Meissner <meissner@redhat.com>
8984
8985 * flags.h (flag_reorder_blocks): Add declaration.
8986 (flag_rename_block): Ditto.
8987
8988 2001-01-05 DJ Delorie <dj@redhat.com>
8989
8990 * function.c (reorder_blocks): Make sure the flags are all reset
8991 before using them to mark blocks, else a second invocation will
8992 corrupt the block chain.
8993 (reorder_blocks_0): New, resets the flags.
8994
8995 Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
8996
8997 * cse.c (find_comparison_args): Stop if the argument is known to
8998 be constant.
8999
9000 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
9001
9002 * config/sh/sh.md (movdf): When splitting load into pair of
9003 registers, don't clobber the register used in the address too
9004 early.
9005
9006 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
9007
9008 * varasm.c (mark_constant_pool): Improve initial comments.
9009 (mark_constants): Move marking of constants to mark_constant.
9010 (mark_constant): New function to recursively mark all constants
9011 referred to by a constant.
9012
9013 2001-01-05 Catherine Moore <clm@redhat.com>
9014
9015 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
9016
9017 2001-01-05 Phil Edwards <pme@sources.redhat.com>
9018
9019 * cp/lang-options.h: Bring comment in line with reality.
9020 * f/lang-options.h: Likewise.
9021 * java/lang-options.h: Likewise.
9022 * objc/lang-options.h: Likewise.
9023 * ch/lang-options.h: Likewise.
9024 * f/g77.texi: And update the manual.
9025
9026 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
9027 Denis Chertykov <denisc@overta.ru>
9028
9029 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
9030 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
9031 * config/avr/avr.md (all peepholes that request a scratch register):
9032 Call it, FAIL the peephole if not safe (in interrupt functions).
9033
9034 2001-01-05 Mark Mitchell <mark@codesourcery.com>
9035
9036 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
9037
9038 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
9039
9040 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
9041 Define.
9042 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
9043 BUILT_IN_CREAL and BUILT_IN_CIMAG.
9044 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
9045 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
9046 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
9047 BUILT_IN_CIMAG.
9048 * extend.texi: Document these builtins.
9049
9050 2001-01-05 Daniel Berlin <dberlin@redhat.com>
9051
9052 * c-common.c (lang_get_alias_set): Say we know nothing of
9053 VECTOR_TYPE aliasing.
9054
9055 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
9056
9057 2001-01-05 Bruce Korb <bkorb@gnu.org>
9058
9059 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
9060 their x* equivalent versions for atexit-less systems
9061 * fixinc/fixincl.c(main): do not return from main() on atexit-less
9062 systems (or any other system any more).
9063
9064 2001-01-05 Richard Earnshaw <rearnsha@arm.com>
9065
9066 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
9067 output operands. Use arm_hard_register_operand for operand 4.
9068 (stmsi_postinc): Similarly.
9069 (ldmsi): Use arm_hard_register_operand for opernand 2.
9070 (stmsi): Similarly.
9071 * arm.c (arm_hard_register_operand): New function.
9072 * arm-protos.h (arm_hard_register_operand): Prototype it.
9073
9074 * arm.h (HARD_REGNO_RENAME_OK): Define.
9075
9076 Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
9077
9078 * simplify-rtx.c (cfc_args): add "unordered" field.
9079 (check_fold_consts): Set unordered field.
9080 (simplify_relational_operation): Simplify the unordered
9081 comparisons.
9082
9083 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
9084 is valid.
9085
9086 * emit-rtl.c (try_split): Fix code to mark labels.
9087 * jump.c (mark_jump_label): Make global.
9088 * rtl.h (mark_jump_label): Declare.
9089
9090 * predict.c (estimate_probability): Handle unordred comparisons.
9091
9092 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
9093
9094 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
9095 * cppinit.c (initialize_dependency_output): Update.
9096 (cpp_finish): Output dummy targets for -MP.
9097 (OPT_MP): New.
9098 (cpp_handle_option): Handle -MP. Don't quote -MT options.
9099 * cpplib.h (struct cpp_options): Add deps_phony_targets.
9100 * gcc.c (cpp_options): Update to handle -MP.
9101 * mkdeps.c (deps_add_target, deps_add_default_target): Update
9102 to quote only the default target.
9103 (deps_phony_targets): Insert a preceding newline. Rename from
9104 deps_dummy_targets for consistency.
9105 * mkdeps.h: Update
9106
9107 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
9108
9109 * calls.c (emit_library_call_value_1): Support
9110 INIT_CUMULATIVE_LIBCALL_ARGS.
9111 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
9112
9113 2001-01-04 Richard Henderson <rth@redhat.com>
9114
9115 * c-decl.c (finish_struct): Detect flexible array members
9116 used in an inappropriate context.
9117 * c-typeck.c (really_start_incremental_init): Special case
9118 constructor_max_index for zero length arrays.
9119 (pop_init_level): Allow initialization of flexible array
9120 members. Deprecate initialization of zero length arrays.
9121 Don't issue missing initializer warning for flexible array
9122 members or zero length arrays.
9123 (process_init_element): Don't dereference null DECL_SIZE.
9124 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
9125 Don't abort for empty constructors. Use size_binop
9126 (output_constructor): Add commentary regarding zero length
9127 array futures. Abort if we try to initialize an array of
9128 unspecified length with a non-empty constructor in the middle
9129 of a structure.
9130
9131 * extend.texi (Zero Length): Update and clarify documentation
9132 on static initialization.
9133
9134 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9135
9136 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
9137 with more than 32767 words of local storage.
9138
9139 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9140
9141 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
9142 for 'abs', 'labs', and 'fabs'.
9143 (c4x_expand_builtin): Likewise.
9144 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
9145
9146 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
9147
9148 * config/sh/sh.md (prget, prset): New insn types.
9149 (return delay slot): Dont' allow prset.
9150 (call, sfunc delay slot): Don't allow prget.
9151 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
9152 for prset and prget.
9153
9154 2001-01-05 Michael Hayes <mhayes@redhat.com>
9155
9156 * loop.h (struct loop_reg): New.
9157 (struct loop_regs): Change to use array of `struct loop_reg'.
9158 * loop.c: Replace assortment of varrays with single regs array.
9159 (count_one_set): Delete may_not_move array argument
9160 and use regs array instead. All caller's changed.
9161 (count_loop_regs_set): Delete may_not_move and single_usage
9162 arguments and use regs array instead. All caller's changed.
9163 (find_single_use_in_loop): Replace usage array argument with pointer
9164 to regs structure. All caller's changed.
9165 (loop_optimize): Delete `moved_once' array.
9166
9167 2001-01-05 Michael Hayes <mhayes@redhat.com>
9168
9169 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
9170 Use it instead of loop_info->has_call for scanning loop mems.
9171 (check_dbra_loop): Replace loop_info->has_call test with
9172 loop_info->has_nonconst_call.
9173
9174 2000-01-04 Matthew Hiller <hiller@redhat.com>
9175
9176 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
9177 for TARGET_SH3E.
9178
9179 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
9180
9181 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
9182 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
9183
9184 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
9185
9186 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
9187 (flag_short_double, flag_short_wchar): Define.
9188 (c_common_nodes_and_builtins): Create many tree nodes shared
9189 between C and C++ here instead of in cp/decl.c and ...
9190 * c-decl.c (init_decl_processing): ... here.
9191 (SIZE_TYPE, WCHAR_TYPE): Don't define.
9192 (flag_short_double, flag_short_wchar): Don't define.
9193 (record_builtin_type): New function.
9194 (build_void_list_node): New function.
9195 * c-common.h (flag_short_double, flag_short_wchar,
9196 record_builtin_type, build_void_list_node): Declare.
9197
9198 Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
9199
9200 * integrate.c (expand_inline_function): Don't put a virtual
9201 register into the reg map.
9202
9203 * function.c (fixup_var_refs_1): If force_operand didn't put
9204 the address into the target, move it there.
9205
9206 2001-01-04 Mark Mitchell <mark@codesourcery.com>
9207
9208 Special-case tree_decl/tree_list allocations.
9209 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
9210 (OBJECT_SIZE): New macro.
9211 (NUM_EXTRA_ORDER): Likewise.
9212 (extra_order_size_table): New variable.
9213 (NUM_ORDERS): New macro.
9214 (objects_per_page_table): New variable.
9215 (object_size_table): New variable.
9216 (G.pages): Use NUM_ORDERS to bound the array.
9217 (G.page_tails): Likewise.
9218 (DIV_ROUND_UP): Remove.
9219 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
9220 (alloc_page): Use OBJECT_SIZE.
9221 (size_lookup): Don't make it const.
9222 (ggc_alloc): Use OBJECT_SIZE.
9223 (ggc_set_mark): Likewise.
9224 (ggc_get_size): Likewise.
9225 (init_ggc): Set up the object_size_table, objects_per_page_table,
9226 and adjust size_lookup.
9227 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
9228 (ggc_pop_context): Use NUM_ORDERS.
9229 (clear_marks): Likewise.
9230 (sweep_pages): Likewise.
9231 (poison_pages): Likewise.
9232 (ggc_print_statistics): Use OBJECT_SIZE.
9233
9234 Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9235
9236 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
9237 Only call array_size_for_constructor if last field and array type
9238 with no upper bound.
9239
9240 2001-01-04 Philip Blundell <philb@gnu.org>
9241
9242 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
9243 from bit 31 downwards, if this requires no more insns.
9244 (count_insns_for_constant): New helper function for above.
9245
9246 2001-01-04 Alexandre Oliva <aoliva@redhat.com>
9247
9248 * gencodes.c (output_predicate_decls): Remove empty initializer.
9249
9250 2001-01-04 Mark Mitchell <mark@codesourcery.com>
9251
9252 * tree.c (copy_node): Remove documentation about obstacks.
9253 (buidl1): Check that nobody tries to build 2-argument nodes this
9254 way.
9255
9256 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9257
9258 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
9259 fp_high_losum_p.
9260
9261 * gencodes.c (output_predicate_decls): Fill empty initializer
9262 braces.
9263
9264 2001-01-04 Jakub Jelinek <jakub@redhat.com>
9265
9266 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
9267 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
9268 or -MM.
9269 (do_include): Handle missing headers like cpp0.
9270 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
9271 paths with first include pathname. Don't strcat to uninitialized
9272 string.
9273
9274 2001-01-04 Bernd Schmidt <bernds@redhat.com>
9275
9276 * regrename.c (regrename_optimize): Don't rename from frame pointer
9277 if frame_pointer_needed.
9278 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
9279 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
9280 (ia64_reorg): Use it instead of scheduling if ! optimize.
9281 (errata_emit_nops): Properly call asm_noperands.
9282 (ia64_sched_reorder): Finish cycle if we see an asm.
9283 (ia64_variable_issue): Clear scheduling state after asms.
9284
9285 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
9286
9287 * cpp.texi: Update for -MT.
9288 * cppinit.c (initialize_dependency_output): Add a default
9289 target if none has been given already.
9290 (no_tgt, OPT_MT): New.
9291 (cpp_handle_option): Handle -MT. Update -M etc.
9292 * cpplib.h (struct cpp_options): Remove deps_target.
9293 * gcc.c (cpp_options): Handle -MT.
9294 * mkdeps.c (struct deps): Move from mkdeps.h.
9295 (deps_calc_target): Rename deps_add_default_target. Add a
9296 default target if none has been specified already.
9297 * mkdeps.h (struct deps): Move to mkdeps.c.
9298 (deps_calc_target): Rename deps_add_default_target.
9299
9300 2000-01-03 Richard Henderson <rth@redhat.com>
9301
9302 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
9303 Remove dead code.
9304 * c-typeck.c (push_init_level): Move checks for flexible array
9305 members and zero length arrays ...
9306 (pop_init_level): ... here. Silently discard empty initializations.
9307 Remove dead code.
9308 * varasm.c (output_constructor): Update for sizeof change to
9309 zero-length arrays.
9310
9311 * extend.texi (Zero Length): Clarify semantics.
9312
9313 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
9314
9315 * configure.in (tm.h): Include isns-codes.h last.
9316 * configure: Rebuilt.
9317
9318 2001-01-03 Richard Henderson <rth@redhat.com>
9319
9320 * config/alpha/alpha.md (addvsi3, addvdi3): New.
9321 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
9322
9323 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9324
9325 * tradcpp.c (main): Make sure finclude() is called with a valid
9326 indepth value while handling -include.
9327
9328 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
9329
9330 * gencodes.c (output_predicate_decls): New function.
9331 (main): Call it.
9332 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
9333 even if it is not the first time machmode.h is #included.
9334 * config/sh/sh.c (fpul_operand): Declare MODE argument.
9335 * tm.texi (PREDICATE_CODES): Document predicate declarations.
9336 * gcc.texi (Copyright): Added 2001.
9337
9338 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
9339
9340 * c-common.c (c_common_lang_init): New function. Warn if format
9341 warning options which only have effects when used with -Wformat
9342 are used without -Wformat.
9343 * c-common.h (c_common_lang_init): Declare.
9344 * c-lang.c (lang_init): Call c_common_lang_init.
9345 * objc/objc-act.c (lang_init): Call c_common_lang_init.
9346
9347 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
9348
9349 * configure.in: Check for the mktemp command.
9350 * configure: Regenerate.
9351 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
9352 $TEMP. Create temporary files with mktemp, if available at
9353 configure time; otherwise use set -C. Remove temporary files
9354 before exit.
9355
9356 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
9357
9358 * configure.in: Require at least texinfo 4.0. Check for whether
9359 Pod::Man is sufficiently recent to regenerate GCC manpages.
9360 * configure: Regenerate.
9361 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
9362 on #!.
9363 (GENERATED_MANPAGES): Define.
9364 (generated-manpages): New target. Depend on cpp.1 as well as
9365 gcov.1.
9366 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
9367 configure to generated-manpages or empty) rather than on the
9368 manpages directly. Remove execute permission from installed
9369 gcov.1 as well as cpp.1.
9370 * cpp.1, gcov.1: Regenerate.
9371
9372 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9373
9374 * builtins.c (expand_builtin_strncmp): Use host_integerp and
9375 tree_low_cst. Allow using cmpstrsi in more cases.
9376
9377 Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9378
9379 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
9380 sized types.
9381
9382 Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
9383
9384 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
9385 * Makefile.in (HOST_CFLAGS): Mention build-make.
9386
9387 Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9388
9389 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
9390 as JUMP_INSN.
9391
9392 2001-01-01 Bernd Schmidt <bernds@redhat.com>
9393
9394 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
9395 a REG rtx.
9396
9397 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
9398 callers changed.
9399
9400 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
9401 reg_base_value and reg_known_value arrays.
9402 (init_alias_analysis): Add more cases to detect known values.
9403 * sched-deps.c (deps_may_trap_p): New function.
9404 (sched_analyze_2): Use it.
9405
9406 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
9407
9408 * combine.c (simplify_shift_const): Even if we're sign-extracting,
9409 don't discard an ASHIFTRT if we're shifting in a wider mode.
9410
9411 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
9412
9413 * toplev.c (rest_of_compilation): Don't print basic block information
9414 when CFG isn't up to date.
9415
9416 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
9417
9418 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
9419 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
9420 (UNALIGNED_SHORT_ASM_OP): Define.
9421 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
9422
9423 2001-01-02 Mark Mitchell <mark@codesourcery.com>
9424
9425 * fold-const.c (fold_convert): Fix typo.
9426
9427 2001-01-02 Richard Henderson <rth@redhat.com>
9428
9429 * c-common.h (ASM_INPUT_P): New.
9430 * c-parse.in (asm): Set it when needed.
9431 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
9432 existance of an operand.
9433
9434 Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
9435
9436 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
9437 (dwarf2out_frame_debug_expr): Likewise.
9438 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
9439
9440 Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
9441
9442 * i386.c (ix86_split_to_parts): Return number of part required;
9443 handle TFmodes.
9444 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
9445 TFmodes.
9446 (ix86_split_long_move): Use number of part returned
9447 by ix86_split_to_parts
9448 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
9449 New macros.
9450 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
9451 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
9452 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
9453 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
9454 (ALIGN_MODE_128): Add TFmode.
9455 (IS_STACK_MODE): Likewise.
9456 (HARD_REGNO_NREGS): TFmode needs 3 registers.
9457 (HARD_REGNO_OK): Support TFmodes.
9458 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
9459 * i386.md (scheduler definitions): Use memory operand to determine
9460 fst/fld instructions; use mode attribute to determine real mode of
9461 the instruction.
9462 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
9463 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
9464
9465 2001-01-02 Mark Mitchell <mark@codesourcery.com>
9466
9467 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
9468
9469 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
9470
9471 * expr.c (store_constructor_field): Update ALIGN before calling
9472 store_constructor.
9473
9474 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
9475
9476 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
9477 host_integerp.
9478
9479 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
9480
9481 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
9482 incomplete type.
9483
9484 Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
9485
9486 * c-decl.c (start_function): Don't warn on third parameter to main.
9487
9488 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9489
9490 * tsystem.h: Define HAVE_DECL_GETOPT.
9491
9492 2001-01-02 Philip Blundell <pb@futuretv.com>
9493
9494 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
9495 of input operand.
9496
9497 2001-01-02 Richard Henderson <rth@redhat.com>
9498
9499 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
9500
9501 2001-01-02 Andreas Jaeger <aj@suse.de>
9502
9503 * c-decl.c (c_decode_option): Remove support of
9504 -Wmissing-noreturn.
9505
9506 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
9507 (W_options): Add -Wmissing-noreturn here.
9508
9509 * flow.c: Define lang_missing_noreturn_ok_p.
9510 (check_function_return_warnings): Use it.
9511
9512 * c-common.h: Declare lang_missing_noreturn_ok_p.
9513
9514 * c-lang.c (c_missing_noreturn_ok_p): New function.
9515 (lang_init): Set lang_missing_noreturn_ok_p.
9516
9517 * invoke.texi (Warning Options): Document this.
9518
9519 2000-12-27 Phil Edwards <pme@sources.redhat.com>
9520
9521 * extend.texi (C++ Extensions): New node for C++ attributes;
9522 describe init_priority and com_interface.
9523 * invoke.texi: Remove -finit-priority as it now has zero effect.
9524 * install.texi: Fix xref syntax.
9525 * md.texi: Likewise.
9526
9527 Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9528
9529 * config.gcc (sparc64-wrs-vxworks*): New case.
9530 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
9531
9532 * config/sparc/sparc.c (sparc_override_options): Do support different
9533 pointer and architecture size.
9534 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
9535 (POINTERS_EXTEND_UNSIGNED): Define.
9536 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
9537 (FUNCTION_MODE): Define to be Pmode.
9538 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
9539
9540 * function.c (expand_function_end): Properly handle DECL_RESULT
9541 and copy when ptr_mode != Pmode.
9542 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
9543
9544 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9545
9546 * c-common.c (c_common_nodes_and_builtins): Set prototype
9547 parameters for __builtin_fputs, __builtin_fputc and
9548 __builtin_fwrite. Don't declare plain fputc as a builtin.
9549
9550 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
9551
9552 * loop.c (add_label_notes): Increment the label usage count when
9553 a note is added to an insn which refers to a CODE_LABEL.
9554 * gcse.c (add_label_notes): Likewise.
9555
9556 2001-01-01 Andreas Jaeger <aj@suse.de>
9557
9558 * loop.c (scan_loop): Use xmalloc to allocate movables.
9559
9560 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
9561
9562 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
9563 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
9564 * reload1.c (REGISTER_MOVE_COST): Likewise.
9565 * regclass.c (REGISTER_MOVE_COST): Likewise.
9566 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
9567 dimension. Adjust all users.
9568 (init_reg_sets_1): Iterate on all modes.
9569 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
9570 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
9571 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
9572 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
9573 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
9574 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
9575 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
9576 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
9577 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
9578 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
9579 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
9580 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
9581 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
9582 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
9583 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
9584 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
9585 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
9586 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
9587 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
9588 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
9589 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
9590 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
9591 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
9592 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
9593 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
9594 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
9595 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
9596
9597 2001-01-01 Bernd Schmidt <bernds@redhat.com>
9598
9599 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
9600 arg VARIES_P. Call it with extra arg.
9601 (true_dependence): Likewise.
9602 * rtl.h (rtx_addr_can_trap_p): Declare.
9603 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
9604 prototypes.
9605 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
9606 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
9607 pic offset table register if it's zero. All callers changed.
9608 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
9609
9610 Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9611
9612 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
9613 STRING_POOL_ADDRESS_P.
9614
9615 * config/sparc/sparc.c (input_operand): Properly test for short op.
9616
9617 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
9618 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
9619 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
9620 * config/sparc/elf.h: No longer include sol2.h.
9621 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
9622 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
9623
9624 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
9625
9626 2001-01-01 Michael Hayes <mhayes@redhat.com>
9627
9628 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
9629 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
9630 (record_initial): Likewise.
9631 * unroll.c (copy_loop_body, loop_iterations): Likewise.
9632 (remap_split_bivs): Likewise.
9633
9634 2001-01-01 Michael Hayes <mhayes@redhat.com>
9635
9636 * loop.c (loop_ivs_free): New function.
9637 (strength_reduce): Break out from...
9638
9639 2001-01-01 Michael Hayes <mhayes@redhat.com>
9640
9641 * loop.h (struct iv): New.
9642 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
9643 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
9644 'reg_biv_class' fields with 'regs' and 'n_regs'.
9645 (struct ivs): Rename 'loop_iv_list' field to 'list'.
9646 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
9647 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
9648
9649 2000-12-31 Alexandre Oliva <aoliva@redhat.com>
9650
9651 * resource.c (mark_referenced_resources): Abort() before
9652 attempting to mark a pseudo register.
9653 (mark_set_resources): Likewise.
9654
9655 2001-01-01 Michael Hayes <mhayes@redhat.com>
9656
9657 * loop.h (REG_IV_CLASS): New accessor macro.
9658 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
9659 * unroll.c (REG_IV_CLASS): Likewise.
9660
9661 See ChangeLog.4 for earlier changes.