1 2001-06-10 Alexandre Oliva <aoliva@redhat.com>
3 * doc/invoke.texi (MN10300 Options): Document -mno-crt0.
4 (SH Options): Document -mieee.
5 * doc/install.texi (Final install): Remove obsolete information
6 about installing cross compilers.
9 2001-06-10 Richard Henderson <rth@redhat.com>
11 * config/alpha/alpha.c (override_options): Set align_loops,
12 align_jumps, and align_functions.
13 * config/alpha/alpha.h (FUNCTION_BOUNDARY): Set to 32 bits.
14 (LOOP_ALIGN, LABEL_ALIGN_AFTER_BARRIER): Remove.
16 2001-06-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18 * emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode
19 are one and two words in size.
21 2001-06-10 Richard Henderson <rth@redhat.com>
23 * doc/invoke.texi (Optimization Options): Document -fpeephole2.
24 (Code Generation Options): Document -fnon-call-exceptions.
26 2001-06-10 Mark Kettenis <kettenis@gnu.org>
28 * config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
30 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
32 * m68hc11.md (peepholes): Remove unused and wrong peepholes.
34 2001-06-10 Mark Mitchell <mark@codesourcery.com>
35 Gabriel Dos Reis <gdr@codesourcery.com>
37 * Makefile.in (c-parse.o): Depend on diagnostic.h
38 (dwarf2out.o): Likewise.
40 * dwarf2out.c: #include diagnostic.h
42 * toplev.h (warningcount, errorcount, sorrycount): Remove
45 * toplev.c (warningcount, errorcount, sorrycount): Remove
48 * diagnostic.h (struct output_buffer): Reorder fields.
49 (diagnostic_kind_count): New macro.
50 (errorcount, warningcount, sorrycount): Define as macros.
51 (diagnostic_report_warnings_p): New macro.
52 (output_state): Add diagnostic_count field.
54 * diagnostic.c (warningcount, errorcount, inhibit_warnings):
55 Remove tentative declaration.
56 (count_error): Use diagnostic_report_warnings_p.
58 * c-parse.in: #include diagnostic.h
60 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
62 * config/m68hc11/m68hc11.md ("extendhisi2"): Fix constraints to
63 prefer a memory for operand 1.
64 ("*addsi3"): Fix constraints, the '!' was too strong.
65 ("*addsi3_split"): Accept soft register and split accordingly.
67 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
69 * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
70 Move definition in the RTX_CODE section.
72 2001-06-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
74 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return
75 address as relative to the argument pointer.
77 Sun Jun 10 10:58:53 CEST 2001 Jan Hubicka <jh@suse.cz>
79 * predict.def (PRED_OPCODE): Place before call and error_return.
81 Sun Jun 10 10:00:17 CEST 2001 Jan Hubicka <jh@suse.cz>
83 * predict.def (PRED_CALL, PRED_ERROR_RETURN): New.
84 * predict.c (estimate_probability): Calculate dominance
85 information; improve detection of NORETURN heuristics;
86 add call/error_return heuiristics; tweak comparison heuristics
89 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
91 * doc/invoke.texi (C Dialect Options): Document -aux-info.
92 (Debugging Options): Document -print-multi-directory and
96 * toplev.c (independent_decode_option): Require `=' between
97 `-aux-info' and filename in the same argument.
98 * gcc.c: Don't pass -aux-info=filename twice.
100 2001-06-09 Mark Mitchell <mark@codesourcery.com>
102 * expr.c (expand_expr, case ARRAY_REF): Do not replace
103 an array element with the known initializing value if it has
106 * toplev.c (rest_of_compilation): Remove dead code before
109 2001-06-09 Neil Booth <neil@daikokuya.demon.co.uk>
111 * cppinit.c (print_help): Document -fpreprocessed.
112 * invoke.texi: Similarly.
114 Sun Jun 10 00:35:37 CEST 2001 Jan Hubicka <jh@suse.cz>
116 * predict.def: New file.
117 * predict.h: New file.
118 * predict.c: Include predict.h.
119 (predictor_info): New structure and array.
120 (predict_edge, predict_insn): Rewrite; make global.
121 (predict_edge_def, predict_insn_def): New global functions.
122 (dump_prediction, combine_predictions_for_insns): New
124 (estimate_probability): Change calls to predict_edge
125 to predict_edge_def and calls to predict_insn to predict_insn_def;
126 combine probabilities.
127 (expected_value_to_br_prob): Behave as predictor.
128 * rtl.h (REG_BR_PRED): Update coment.
129 (invert_br_probabilities): New.
130 * jump.c: Include predict.h
131 (duplicate_loop_exit_test): Drop branch prediction notes.
132 (invert_jump): Use invert_br_probabilities.
133 * Makefile.in: Add dependancy on predict.h for jump and predict pass.
134 * ifcvt.c (dead_or_predicable): Use invert_br_probabilities.
135 * combine.c (distribute_notes): Handle BR_PRED.
137 Sat Jun 9 23:29:41 CEST 2001 Jan Hubicka <jh@suse.cz>
139 * predict.c (predict_insn, predict_edge): New static functions.
140 (estimate_probability): Revamp to use new functions;
141 fix loop header heruistics; add loop exist heruistics
143 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
145 * config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.
147 2001-06-09 Peter Jakubek <pjak@snafu.de>
149 * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
151 2001-06-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
153 * vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
154 for integer operations that don't update C bit.
156 2001-06-09 Nicola Pero <nicola@brainstorm.co.uk>
158 * gthr-posix.h (__gthread_objc_init_thread_system): If
159 pthread_key_create fails, it's not clear what the return value is.
160 This obvious fix makes sure it always returns -1 if a problem
163 2001-06-09 Joseph S. Myers <jsm28@cam.ac.uk>
165 * doc/gcc.texi: Use @defcodeindex for the index of options. Add
166 more index entries. Use more logical markup where appropriate.
167 Use TeX quotes and dashes.
169 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
171 * unwind-pe.h: Conditionally qualify references to abort with
174 2001-06-09 Julian Foad <julian_foad@hotmail.com>
176 * doc/invoke.texi: Remove superfluous text.
178 2001-06-08 Richard Henderson <rth@redhat.com>
180 * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
181 (LIB_SPEC): Mirror config/linux.h version.
183 2001-06-08 Richard Henderson <rth@redhat.com>
185 * except.c (get_exception_pointer, get_exception_filter): Take a
186 struct function. Update all callers.
187 * except.h (get_exception_pointer): Update declaration.
188 * expr.c (expand_expr): Update get_exception_pointer call.
189 * integrate.c (expand_inline_function): Remap the exception pointer
190 from callee to caller.
192 2001-06-08 Mark Mitchell <mark@codesourcery.com>
194 * c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
195 accurately reflect its cv-qualification.
196 * c-typeck.c (type_lists_compatible_p): Ignore the top-levl
197 cv-qualifiers on function types.
199 2001-06-08 Mark Mitchell <mark@codesourcery.com>
201 * basic-block.h: Improve comments.
202 * except.c (expand_eh_region_end_allowed): Remove redundant call
203 to do_pending_stack_adjust.
204 * flow.c (life_analysis): Fix typo in comment.
205 (calculate_global_regs_live): Add documentation.
206 (mark_set_1): Likewise.
207 (debug_regset): Likewise.
208 * doc/rtl.texi (cond_exec): Document it.
210 Fri Jun 8 21:52:51 CEST 2001 Jan Hubicka <jh@suse.cz>
212 * i386.h (CONST_COSTS): set cost of constants representable in
213 immediate fields to 0.
215 Fri Jun 8 21:34:54 CEST 2001 Jan Hubicka <jh@suse.cz>
217 * function.c (diddle_return_value): Kill code to determine
218 return value before expand_function_end.
219 (expand_function_end): Delay call to clobber_return_register
220 after fucntion return value is computed.
222 Re-install temporary reverted patch:
223 * toplev.c (rest_of_compilation): Call split_all_insns
224 before reg-stack and shorten-branches. Do shorten-branches
226 * final.c (shorten_branches): Remove insn splitting code.
228 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
230 * doc/gcc.texi, doc/invoke.texi: Add index of command line
231 options. Use @opindex to index them rather than other indexing
232 commands. Use @var{...} instead of <...>. Avoid spaces in names
233 inside @var. Don't use @kindex to index escape sequences in
236 2001-06-08 Jason Merrill <jason_merrill@redhat.com>
238 * stmt.c (current_nesting_level): New fn.
239 * tree.h: Declare it.
240 * c-semantics.c (genrtl_compound_stmt): Use it.
242 * dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P.
244 2001-06-08 Jakub Jelinek <jakub@redhat.com>
246 * jump.c (mark_modified_reg): Allow jump threading if condition
247 codes are represented by a hard register.
249 2001-06-08 Jakub Jelinek <jakub@redhat.com>
251 * config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
252 for complex floats passed to unprototyped functions.
254 2001-06-08 Mark Mitchell <mark@codesourcery.com>
256 * except.c (expand_eh_region_end_allowed): Call
257 do_pending_stack_adjust as necessary.
259 Fri Jun 8 14:16:33 CEST 2001 Jan Hubicka <jh@suse.cz>
261 * function.c (clobber_return_register): Clobber the pseudo return
264 * sibcall.c (skip_unreturned_value): New function.
265 (call_ends_block_p): Use it.
267 * recog.c (split_insn): Break out from ...
268 (split_all_insns): ... here; do not use basic block information
271 Thu Jun 7 18:27:53 CEST 2001 Jan Hubicka <jh@suse.cz>
273 * simplify-rtx.c (simplify_subreg): Fix verification of
276 2001-06-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
278 * config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling.
279 Don't define _LANGUAGE_C and variants for .cpp/.cp/.c++ files.
280 Move definition of _LANGUAGE_C_PLUS_PLUS ...
281 (CPLUSPLUS_CPP_SPEC): ... here.
282 Fixes PRs c++/3047, target/441.
284 2001-06-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
286 * doc/install.texi2html (MAKEINFO): Keep value if set already.
288 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
290 * doc/gcc.texi: Add trailing slash to URL.
292 2001-06-07 Stan Shebs <shebs@apple.com>
294 * config/darwin.h (ENCODE_SECTION_INFO): Define.
295 (REDO_SECTION_INFO_P): Ditto.
296 (STRIP_NAME_ENCODING): Ditto.
297 (ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO.
298 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto.
299 (ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING.
300 (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto.
301 * config/darwin.c: No longer include c-tree.h.
302 (machopic_classify_ident): Rewrite to use symbol encoding.
303 (lookup_name_darwin): Remove.
304 (machopic_non_lazy_ptr_name): Handle encoded symbols.
305 (machopic_stub_name): Use STRIP_NAME_ENCODING.
306 (machopic_validate_stub_or_non_lazy_ptr): Ditto.
307 (machopic_finish): Ditto, remove test of decl.
308 (update_non_lazy_ptrs): New function.
309 (darwin_encode_section_info): New function.
310 * config/darwin-protos.h: Declare it.
311 * config/rs6000/rs6000.c (machopic_output_stub): Use
314 2001-06-07 Mark Mitchell <mark@codesourcery.com>
316 * tree.h (DECL_SOURCE_FILE): Improve documentation.
317 (DECL_SOURCE_LINE): Likewise.
319 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
321 * config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
324 2001-06-07 Phil Edwards <pme@sources.redhat.com>
326 * linux.h (CPLUSPLUS_CPP_SPEC): Move -D_GNU_SOURCE to here.
327 * pa/pa-linux.h: Allow CPLUSPLUS_CPP_SPEC to remain.
329 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
331 * doc/contrib.texi: Add copyright notice.
333 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
335 * doc/md.texi: Use four digit years in copyright notice.
337 2001-06-08 Joseph S. Myers <jsm28@cam.ac.uk>
339 * config.gcc: For $target_alias of athlon-*, set
340 target_cpu_default2=5.
342 Thu Jun 7 16:17:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
344 * global.c (build_insn_chain): Allow ADDR_VEC or ADDR_DIF_VEC after
345 end of last block if last real insn is a JUMP_INSN.
347 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
351 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
353 * gthr-posix.h (__gthread_objc_thread_detach): Simply cast
354 pthread_t to objc_thread_t.
355 (__gthread_objc_thread_id): Likewise.
357 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
359 * alpha/osf5.h (CPP_XFLOAT_SPEC): Override default definition.
360 (ASM_OLDAS_SPEC): Likewise.
362 * alpha/osf.h (CPP_XFLOAT_SPEC): Define.
363 (CPP_SUBTARGET_SPEC): Use it.
364 (ASM_OLDAS_SPEC): Define.
366 (SUBTARGET_EXTRA_SPECS): Define, declare the new specs above.
368 2001-06-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
370 * config/alpha/alpha.c (alpha_va_arg): Handle TFmode, TCmode args,
373 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
375 * doc/tm.texi (TARGET_SWITCHES, TARGET_OPTIONS): Adjust markup.
376 Document use of N_(...), and show it in examples. Note that
377 documentation should be added to invoke.texi. Avoid an overfull
380 Thu Jun 7 17:09:50 CEST 2001 Jan Hubicka <jh@suse.cz>
382 * toplev.c (rest_of_compilation): Revert previous patch.
383 * final.c (shorten_branches): Likewise.
385 2001-06-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
387 * pself.c, pself1.c, pself2.c, pself3.c, pself4.c, pself5.c:
390 2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
392 * doc/install-old.texi: Remove more obsolete documentation.
394 Thu Jun 7 13:20:14 CEST 2001 Jan Hubicka <jh@suse.cz>
396 * expr.c (copy_blkmode_from_reg): Fix operand_subword_force call.
398 Thu Jun 7 12:12:58 CEST 2001 Jan Hubicka <jh@suse.cz>
400 * toplev.c (rest_of_compilation): Call split_all_insns
401 before reg-stack and shorten-branches. Do shorten-branches
403 * final.c (shorten_branches): Remove insn splitting code.
405 2001-06-07 Nathan Sidwell <nathan@codesourcery.com>
407 * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
408 * configure: Rebuilt.
410 2001-06-07 Andreas Jaeger <aj@suse.de>
412 * emit-rtl.c (operand_subword): Remove unused variable.
414 Wed Jun 6 14:51:05 CEST 2001 Jan Hubicka <jh@suse.cz>
416 * i386.md (floatdi?f): Avoid usinf of SSE instructions
417 if TARGET_64BIT is false.
418 (floatdi?f_i386_only): New insn.
419 (floatdi?f_i386): Disable for !TARGET_64BIT.
421 * (min?f, max?f splitters): Handle case where
422 operands are cross-matched.
424 * i386.h (HI_REGISTER_NAMES): Remove redundant definition
425 (MMX_REGISTER_NAMES): Kill.
426 (PRINT_OPERAND): Fix comment.
427 (PRINT_REG): Likewise.
428 * i386.c (print_reg): Kill support for 'm' CODE; simplify.
429 (print_operand): Update comment; kill 'm'.
431 * i386.c (x86_branch_hints): New global variable
432 (print_operand): Support outputting of branch prediction hints.
433 * i386.md (conditional jump patterns): Add branch prediction hints
435 * i386.h (x86_branch_hints): Declare
436 (TARGET_BRANCH_PREDICTION_HINTS): New macro.
437 (PRINT_OPERAND_FUNCT_VALID_P): New.
438 * final.c (final_forward_branch_p): New function.
440 2001-06-06 Richard Henderson <rth@redhat.com>
442 * flow.c (mark_used_reg): Clean up looping over multiple hard
443 registers. Do conditional life bits across multiple hard regs.
445 2001-06-05 Jeffrey D. Oldham <oldham@codesourcery.com>
447 * reload1.c (reload): Revert Schmidt's change so all USEs are not
448 deleted during reload.
450 2001-06-05 Mark Mitchell <mark@codesourcery.com>
452 * c-semantics.c (genrtl_scope_stmt): Write out nested inline
453 functions here, instead of ...
454 * c-decl.c (c_expand_body): ... here.
456 2001-06-05 David O'Brien <obrien@FreeBSD.org>
458 * config.gcc, config/sparc/bsd.h: Do not directly include
459 sparc/sparc.h. Instead do it via tm_file.
461 2001-06-05 Richard Henderson <rth@redhat.com>
463 * dwarf2.h (DW_EH_PE_aligned): New.
464 * dwarf2asm.c (eh_data_format_name): Name it.
465 (dw2_asm_output_encoded_addr_rtx): Align for it.
466 * dwarf2out.c (output_call_frame_info): Handle it for personality
467 routine and LSDA pointers.
469 * unwind-pe.h (DW_EH_PE_aligned): New.
470 (base_of_encoded_value): Handle it.
471 (read_encoded_value_with_base): Likewise.
472 * unwind-dw2-fde.c (base_from_object): Likewise.
473 (get_cie_encoding): Likewise.
475 * config/alpha/elf.h: Remove ecoff commentary.
476 * config/alpha/osf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
478 2001-06-05 David O'Brien <obrien@FreeBSD.org>
480 * config.gcc, config/i386/bsd386.h: Do not directly include
481 i386/386bsd.h. Instead do it via tm_file.
483 2001-06-05 David O'Brien <obrien@FreeBSD.org>
485 * elfos.h (USING_ELFOS_H): Identify the use of elfos.h in the same
488 2001-06-05 Pascal Obry <obry@act-europe.fr>
490 * configure.in: Quote $enable_win32_registry in case the value has
494 2001-06-05 Mark Mitchell <mark@codesourcery.com>
496 * print-rtl.c (xspaces): Remove.
497 (print_rtx): Use printf field-width, rather than xpsaces, to
499 * toplev.c (main): Disable sibling-call optimization if we are
502 2001-06-05 Bernd Schmidt <bernds@redhat.com>
504 * reload1.c (reload): Delete all USEs generated during reload.
506 2001-06-05 scott snyder <snyder@fnal.gov>
508 * gccbug.in: Fix typo.
510 2001-06-05 Andreas Jaeger <aj@suse.de>
512 * builtins.def: Fix definition of __builtin_cosf, it uses float as
513 parameter and return value.
515 2001-06-04 Anthony Green <green@redhat.com>
517 * config/sparc/elf.h (CPP_PREDEFINES): Don't assert cpu or
518 machine. This is now done in sparc.h.
520 2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
522 Correct CVS resurrection of invoke.texi.
523 * doc/invoke.texi: Document new tree dump flags.
525 2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk>
527 * c-typeck.c (build_c_cast): Use TYPE_MAIN_VARIANT when checking
528 for casting an aggregate to its own type. Fixes PR c/2735.
530 2001-06-05 Joseph S. Myers <jsm28@cam.ac.uk>
532 * doc/texinfo.tex: Update to version 2001-05-24.08.
534 2001-06-05 Nathan Sidwell <nathan@codesourcery.com>
536 * c-common.h (flag_dump_translation_unit): Remove.
537 (enum tree_dump_index): Define.
538 (TDF_ADDRESS, TDF_SLIM): New #defines.
539 (dump_node_to_file): Remove.
540 (dump_node): Make extern. Add flags.
541 (dump_flag, dump_enabled_p, dump_begin, dump_end,
542 dump_switch_p): Prototype.
543 * c-common.c (flag_dump_translation_unit): Remove.
544 * c-decl.c (c_decode_option): Remove -fdump-translation-unit
545 logic. Use dump_switch_p.
546 * c-dump.h (struct dump_info): Add node and user fields.
547 (dump_pointer): Declare.
548 * c-dump.c (dump_node): Make extern. Add flags.
549 (SOL_COLUMN, EOL_COLUMN, COLUMN_ALIGNMENT): New #defines.
550 (dump_new_line, dump_maybe_newline): Use them.
551 (dump_pointer): New function.
552 (dequeue_and_dump): Check TDF_SLIM before dumping a _DECL's
553 chain or function's body. Dump address, if TDF_ADDRESS set.
555 (dump_node_to_file): Remove.
556 (struct dump_file_info): New struct.
557 (dump_files): New array.
558 (dump_begin, dump_end, dump_enabled_p, dump_switch_p): Define.
559 * c-lang.c (finish_file): Adjust dumping.
560 * toplev.h (dump_base_name): Make extern.
561 * invoke.texi: Document new flags.
563 2001-06-04 Mark Mitchell <mark@codesourcery.com>
565 * c-tree.h (lang_decl): Add pending_sizes fields.
566 * c-decl.c (store_parm_decls): Save pending_sizes away for nested
568 (c_expand_body): Expand them.
569 (lang_mark_tree): Mark lang_decl:pending_sizes.
570 * function.c (expand_pending_sizes): New function, broken out
572 (expand_function_start): ... here.
573 * tree.h (expand_pending_sizes): Declare it.
575 2001-06-04 Loren J. Rittle <ljrittle@acm.org>
577 * doc/install.texi: Update FreeBSD information. Generalize
578 and update information for alpha-based platforms using ELF.
580 2001-06-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
582 * c-decl.c (get_parm_info): Use INTEGRAL_TYPE_P.
583 (store_parm_decls): Likewise.
584 * c-typeck.c (convert_arguments): Likewise.
586 2001-06-04 Richard Henderson <rth@redhat.com>
588 * sibcall.c (optimize_sibling_and_tail_recursive_call): Suppress
589 optimization if current_function_calls_setjmp.
591 2001-06-04 Joseph S. Myers <jsm28@cam.ac.uk>
593 * doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
596 Mon Jun 4 20:44:25 CEST 2001 Jan Hubicka <jh@suse.cz>
598 * simplify-rtx.c (simplify_subreg): Fix combining of
601 Mon Jun 4 20:15:25 CEST 2001 Jan Hubicka <jh@suse.cz>
603 * rtlanal.c (rtx_unsable_p): ADDRESSOF is stable.
604 (no_labels_between_p): Short circuit case beg==end.
606 Mon Jun 4 20:03:05 CEST 2001 Jan Hubicka <jh@suse.cz>
608 * rtlanal.c (operand_preference): Fix preference for objects.
610 Mon Jun 4 20:00:40 CEST 2001 Jan Hubicka <jh@suse.cz>
612 * gcse.c (handle_avail_expr): Be prepared to handle single_set
615 Mon Jun 4 19:59:46 CEST 2001 Jan Hubicka <jh@suse.cz>
617 * combine.c (if_then_else_cond): Use simplify_subreg instead
619 * integreate.c (sub_constants): Likewise.
621 Mon Jun 4 19:59:12 CEST 2001 Jan Hubicka <jh@suse.cz>
623 * emit-rtl.c (constant_subword): Deprecate; remove most of code
624 and use simplify_gen_subreg.
626 Mon Jun 4 19:55:23 CEST 2001 Lars Brinkhoff <lars@nocrew.org>
628 * sibcall.c (skip_copy_to_return_value): recognize the situation
629 when the called function's return value is copied into an
630 intermediate pseudo, and then into the calling functions return
633 Mon Jun 4 16:50:33 CEST 2001 Jan Hubicka <jh@suse.cz>
635 * simplify_rtx.c (simplify_subreg): Keep subregs on return values,
636 check CLASS_CANNOT_CHANGE_MODE before avoiding subreg on hard reg,
637 in case register wasn't OK previously, accept it now; allow
638 subregs of frame pointer if reload completed and frame pointer
641 * combine.c (sombine_simplify_rtx): Fix comment;
642 use subreg_lowpart_offset instead of subreg_lowpart_p
643 (gen_lowpart_for_combine): Use subreg_lowpart_offset.
644 * rtl.h (subreg_lowpart_parts_p): Kill.
645 (subreg_lowpart_offset, subreg_highpart_offset): Declare.
646 * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset.
647 * emit-rtl.c (gen_lowpart_SUBREG): Use subreg_lowpart_offset;
648 (gen_lowpart_common): Likewise.
649 (subreg_lowpart_p): Likewise.
650 (subreg_lowpart_parts_p): Kill.
651 (subreg_lowpart_offset, subreg_highpart_offset): New function.
653 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
654 to simplify SUBREG and REG.
655 (gen_highpart): Use simplify_gen_subreg for all simplifications.
657 * emit-rtl.c (gen_realpart, gen_imagpart): Do not handle
660 * rtlanal.c (replace_regs): Use simplify_gen_subreg
662 Mon Jun 4 09:21:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
664 * doc/c-tree.texi (ARRAY_REF): Say what type of expression must be.
665 (ARRAY_RANGE_REF): Added description.
667 * tree.def (ARRAY_RANGE_REF): New code.
668 * alias.c (handled_component_p, can_address_p): Handle it.
669 * dwarf2out.c (loc_descriptor_from_tree): Likewise.
670 * explow.c (set_mem_attributes): Likewise.
671 * expr.c (expand_assignment, get_inner_reference): Likewise.
672 (expand_expr, expand_expr_unaligned, do_jump): Likewise.
673 * fold-const.c (operand_equal_p): Likewise.
674 * tree.c (staticp, stabilize_reference): Likewise.
675 * varasm.c (decode_addr_const): Likewise.
677 Sun Jun 3 21:59:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
679 * reload.c (reload_inner_reg_of_subreg): Return 1 for PLUS.
680 (push_reload): Handle non-REG in reload_inner_reg_of_subreg case.
682 2001-06-03 kaz Kojima <kkojima@rr.iij4u.or.jp>
684 * gcc/config/sh/sh.c (print_operand_address, print_operand): Call
685 mark_constant_pool_use before output_addr_const.
686 (struct pool_node): New field wend.
687 (add_constant): Note a sequence of constants that are referenced
689 (pool_window_label, pool_window_last): New variables.
690 (dump_table): Emit a unspec_volatile representing the end of a
691 sequence of constants.
692 (mark_constant_pool_use): New function.
693 * gcc/config/sh/sh.md (UNSPECV_WINDOW_END): New constant.
694 (consttable_2): Add the second operand which flags whether
695 this consttable entry was used or not.
696 (consttable_4, consttable_8, consttable_sf, consttable_df):
698 (consttable_window_end): New insn.
700 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
702 * insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.
703 Reformat according to coding standards.
706 * config/sh/sh.c (print_operand_address): Cast INTVAL to int.
707 (shl_and_kind): Cast wide constant.
708 (gen_far_branch): Define as static, as in declaration.
709 (barrier_align): Compute cache-line length as unsigned. Add
710 parentheses in initial credit computation.
711 (rounded_frame_size): Add parentheses.
712 (permanent_obstack): Remove declaration. Include ggc.h for
713 declaration of ggc_add_root_rtx().
714 (get_free_reg): Removed declaration of unused variable reg.
715 (legitimize_pic_address): Mark mode argument as unused.
717 2001-06-03 Igor Shevlyakov <igor@windriver.com>
719 * config/sh/sh.c (output_branch): Support for insn with lenght
720 attr 12 & 16 which represents cond branches outside +-4096 range.
722 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
724 * config/sh/lib1funcs.asm (ic_invalidate): Align the
725 cache-mirroring sequence. Add nops.
727 2001-06-03 Joseph S. Myers <jsm28@cam.ac.uk>
729 * doc/install-old.texi: Remove more old installation
731 * doc/install.texi: Add relevant parts here.
733 2001-06-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
735 * doc/install.texi2html: New script.
737 2001-06-03 David Edelsohn <edelsohn@gnu.org>
739 * doc/install.texi: Update AIX information again.
741 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
743 * doc/gcc.texi, doc/install-old.texi: Remove old system-specific
744 installation documentation.
745 * doc/install.texi: Move it to here.
747 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
749 * doc/install.texi: Clean up Texinfo markup.
751 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
753 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi: Move contents
754 to just after title page.
756 2001-06-02 Joseph S. Myers <jsm28@cam.ac.uk>
758 * doc/install-old.texi: Remove documentation of some configuration
760 * doc/install.texi: Add relevant parts of this documentation here.
762 2001-06-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
764 * contrib.texi: Updated entries for Mark Mitchell, Joseph S. Myers,
765 Gerald Pfeifer, Bernd Schmidt, and Dean Wakerley.
767 Sat Jun 2 12:23:51 CEST 2001 Jan Hubicka <jh@suse.cz>
769 * i386.md (all uses of ext_register_operand): Make sure they are
770 VOIDmode; replace all uses outside zero_extend.
771 (and?i splitters): Use ext_register_operands.
772 (test?i peep2): Remove ignored constraints.
773 * i386.c (ext_register_operand): Check that operand is
774 eighter pseudo or hard or 'Q' register.
776 Sat Jun 2 06:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
778 * tree.h (struct record_layout_info_s): New field unpadded_align.
779 (set_lang_adjust_rli): New declaration.
780 * stor-layout.c (layout_decl): If DECL is packed, but at alignment
781 it would have if not packed, do not downgrade DECL_ALIGN.
782 (lang_adjust_rli, set_lang_adjust_rli): New.
783 (start_record_layout): Initialize new field unpadded_align.
784 (debug_rli): Display it.
785 (place_union_field, place_field): Set it.
786 (layout_type, case RECORD_TYPE): Call via lang_adjust_rli if set.
788 * print-tree.c (print_node): Don't print "regdecl" when bit doesn't
789 mean that; use proper names instead.
790 Print DECL_NO_STATIC_CHAIN.
792 * except.c (expand_builtin_frob_return_addr): Add missing call
793 to convert_memory_address #ifdef POINTERS_EXTEND_UNSIGNED.
794 (expand_builtin_eh_return): Likewise.
795 (expand_eh_return): Clean up ptr_mode != Pmode cases.
797 2001-06-01 Jan van Male <jan.vanmale@fenk.wau.nl>
799 * doc/invoke.texi: Remove references to papers about sequence points
800 to readings.html, refer to that page.
802 2001-06-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
804 * README: Update references to installation instructions.
806 2001-06-01 Laurent Guerby <guerby@acm.org>
807 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
809 * doc/install.texi: Define srcdir when sources come from CVS.
810 Significantly improve markup. Wrap overly long lines
812 2001-06-01 DJ Delorie <dj@redhat.com>
814 * c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi,
815 extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi,
816 objc.texi, rtl.texi, tm.texi, texinfo.tex, gcc.1, cpp.1,
817 gcov.1: Move to doc subdirectory.
818 * install.texi: Move to doc/install-old.texi.
819 * gcc.texi: Move to doc, refer to install-old.texi.
820 * Makefile.in: Reflect move of docs to doc/.
821 * f/Make-lang.in: Ditto.
822 * java/Make-lang.in: Ditto.
823 * doc/.cvsignore: New.
825 2001-05-31 Jan van Male <jan.vanmale@fenk.wau.nl>
827 * invoke.texi: use two spaces between command options, eliminate
828 some 'overfull hboxes'
830 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
832 * Makefile.in (s-mlib): Make backtick-commands always succeed.
833 (DRIVER_DEFINES): Ditto.
835 2001-05-31 Richard Henderson <rth@redhat.com>
837 * gcc.c (init_gcc_specs): When linking against libgcc_s.so,
838 also link against libgcc.a.
840 2001-05-31 Geoff Keating <geoffk@cygnus.com>
842 * config/mips/mips.h (ASM_OUTPUT_ASCII): Convert to function.
843 * config/mips/mips.c (mips_output_ascii): New function.
844 * config/mips/mips-protos.h (mips_output_ascii): Prototype.
846 * config/mips/mips.h (DWARF_CIE_DATA_ALIGNMENT): Force to 4.
848 Thu May 31 19:09:53 CEST 2001 Jan Hubicka <jh@suse.cz>
850 * flow.c (set_block_for_new_insns): Remove bogus shortcut.
851 * i386.c (ix86_expand_int_movcc): Force one of operands to be register.
853 2001-05-31 Rodney Brown <rbrown64@csc.com.au>
855 * install.texi (Configuration): Add html links for --with-gnu-as &
856 --with-gnu-ld and refer to them from hppa & SCO triplets.
857 (Specific): Link back to with-gnu-ld for all ELF platfoms.
858 (Specific): Reword AVR binutils recommendation.
860 2001-05-30 Zack Weinberg <zackw@stanford.edu>
862 * ggc-page.c (size_lookup): Increase minimum allocation size
864 (ggc_print_statistics): Report size of each bin in bytes, not
865 as its order; there is no longer a direct relationship.
867 2001-05-31 Jan van Male <jan.vanmale@fenk.wau.nl>
869 * extend.texi: Fix formating of examples, eliminate some
871 * gcc.texi: Eliminate some 'overfull hboxes'.
872 * invoke.texi: Use two spaces between command options, eliminate
873 some 'overfull hboxes'.
875 2001-05-30 Richard Henderson <rth@redhat.com>
877 * dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
879 2001-05-30 Tom Tromey <tromey@redhat.com>
881 * gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
882 use it in the new association.
884 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
885 John David Anglin <dave@hiauly1.hia.nrc.ca>
887 * gthr-posix.h (__gthread_active_ptr): Cast function pointer
888 to target type to allow ISO C++ compiler to accept it.
889 * gthr-dce.h (__gthread_active_ptr): Likewise.
890 * gthr-solaris.h (__gthread_active_ptr): Likewise.
892 2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
894 * cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
895 so that we do accept comments in preprocessed input.
897 2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
899 * cpphash.c (alloc_node): Cast allocated pointer.
901 2001-05-30 Gordon Sadler <gbsadler1@lcisp.com>
903 * invoke.texi (Option Summary): Remove -isystem-c++ from options.
905 2001-05-29 Stan Shebs <shebs@apple.com>
907 * gcc.texi: Add links for information about Objective-C.
909 2001-05-29 Nathan Sidwell <nathan@codesourcery.com>
911 * configure.in (gcc_version): Remove unrequired \ on ". (Solaris
912 /bin/sed fails on [^\"]).
913 (configargs.h): Likewise.
915 2001-05-29 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
917 * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
919 2001-05-28 Stan Shebs <shebs@apple.com>
921 * objc/objc.gperf: Remove, no longer used.
923 2001-05-28 Joseph S. Myers <jsm28@cam.ac.uk>
925 * c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
926 gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
927 Remove trailing whitespace.
929 2001-05-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
931 * doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
932 became http://freeware.sgi.com/.
934 2001-05-27 Geoffrey Keating <geoffk@redhat.com>
936 * local-alloc.c (update_equiv_regs): Don't eliminate constant
939 2001-05-27 Stan Shebs <shebs@apple.com>
941 * objc/objc-act.c: Add/fix various comments.
942 (init_selector): Remove, no longer used.
943 (build_msg_pool_reference): Ditto.
946 2001-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
948 * c-decl.c (init_decl_processing):
949 Don't call start_identifier_warnings.
950 * flags.h (warn_id_clash, id_clash_len): Remove.
951 * stringpool.c: Don't include flags.h.
952 (scan_for_clashes, do_identifier_warnings,
953 start_identifier_warnings): Remove.
954 * toplev.c (warn_id_clash, id_clash_len): Remove.
955 (display_help): Don't document -Wid-clash.
956 (decode_W_option): Print warning on -Wid-clash.
957 * tree.h (start_identifier_warnings): Remove.
958 * invoke.texi: Remove documentation of -Wid-clash.
960 2001-05-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
962 * fixinc/fixtests.c: Declare entries in ENV_TABLE.
964 2001-05-27 Bruce Korb <bkorb@gnu.org>
966 * fixinc/check.tpl(HACK) add and use a Scheme variable
967 (has no test text): error out if no "test_text" is defined
968 * fixinc/fixincl.tpl: likewise
969 (FIXIDX): make it an enumeration so we minimize diffs
970 * fixinc/inclhack.def: re-alphabetize and add sort instructions
971 * fixinc/fixincl.x: regenerate
972 * fixinc/tests/base/stdio.h: test output got moved due to
974 * README-fixinc: rewrite (mostly)
976 2001-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
978 * cpplib.c (run_directive): Set pfile->directive.
980 2001-05-23 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
982 * c-tree.texi: Reformat the manual as a single chapter now
983 included by gcc.texi.
984 * gcc.texi: Include c-tree.texi. Merge all indexes.
985 * Makefile.in (dvi): Add generation for the cppinternals
986 documentation. Added dependencies on fdl.texi and c-tree.texi
987 where appropriate. Use TEXI2DVI instead of custom tex calls.
988 (info): Added dependencies on fdl.texi and c-tree.texi where
989 appropriate. Remove the target c-tree.info.
991 2001-05-27 Lars Brinkhoff <lars@nocrew.org>
993 * combine.c (try_combine): Fix typo in comment.
994 * expr.c (expand_expr): Likewise.
995 * config/i370/i370.md (untyped_call): Likewise.
997 2001-05-26 Bruce Korb <bkorb@gnu.org>
999 * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
1000 when fixincl is operating in test mode
1001 * fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
1002 (AAB_ultrix_limits): remove redundant text
1003 (AAB_ultrix_memory): ditto
1004 (AAB_ultrix_string): ditto
1005 (djgpp_wchar_h): fix the test text
1006 (irix_stdio_va_list): add test text
1007 (irix_limits_const): add a testing output file (limits.h is overwritten)
1008 (strict_ansi_not_ctd): put limits.h second in list for same reason
1009 (solaris27_mutex_init): test text needed selection text, too
1011 * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
1012 when fixincl is operating in test mode
1014 2001-05-26 Philip Blundell <philb@gnu.org>
1016 * config/c4x/c4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
1017 * config/i960/i960-protos.h: Likewise.
1018 * config/i370/i370-protos.h: Likewise.
1019 * config/h8300/h8300-protos.h: Likewise,
1020 * config/sh/sh-protos.h: Likewise.
1021 * config/v850/v850-protos.h: Likewise.
1023 2001-05-26 Philip Blundell <philb@gnu.org>
1025 * config/arm/arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
1027 2001-05-25 Zack Weinberg <zackw@stanford.edu>
1029 * toplev.c (debug_args, f_options, W_options): Mark
1030 descriptions for translation.
1031 (display_help): Translate descriptions on output.
1033 * cp/lang-options.h, f/lang-options.h, java/lang-options.h,
1034 objc/lang-options.h: Mark descriptions for translation.
1036 * aclocal.m4: Quote final argument of patsubst. Use
1037 3-argument form of AC_DEFINE. Restore quotes to [] while
1039 * configure.in: Remove unnecessary changequote calls.
1040 * configure, config.in: Regenerate.
1042 2001-05-25 Sam TH <sam@uchicago.edu>
1044 * basic-block.h: Fix header include guards.
1045 * bitmap.h c-dump.h c-lex.h c-pragma.h c-tree.h collect2.h
1046 cppdefault.h cpphash.h cpplib.h defaults.h diagnostic.h errors.h
1047 except.h flags.h gcc.h gcov-io.h graph.h gstab.h gthr-aix.h
1048 gthr-dce.h gthr-posix.h gthr-rtems.h gthr-single.h gthr-solaris.h
1049 gthr-vxworks.h gthr-win32.h gthr.h hard-reg-set.h hwint.h
1050 insn-addr.h libgcc2.h mbchar.h mkdeps.h params.h prefix.h real.h
1051 rtl.h sbitmap.h system.h timevar.h toplev.h tradcpp.h tsystem.h
1052 varray.h version.h: Likewise.
1053 * config/dbxelf.h config/fp-bit.h config/arm/arm-protos.h
1054 config/arm/arm.h config/c4x/c4x-protos.h
1055 config/h8300/h8300-protos.h config/h8300/h8300.h
1056 config/i370/i370-protos.h config/i370/i370.h
1057 config/i960/i960-protos.h config/mcore/mcore.h
1058 config/mips/mips-protos.h config/sh/sh-protos.h config/sh/sh.h
1059 config/v850/v850-protos.h config/v850/v850.h: Likewise.
1060 * fixinc/fixlib.h fixinc/server.h: Likewise.
1062 2001-05-25 Stacey Sheldon <ssheldon@Catena.com>
1064 * config/arc/initfini.c (.init): Fix typo.
1066 2001-05-25 Geoffrey Keating <geoffk@redhat.com>
1068 * config/rs6000/rs6000.md (fseldfsf4): Correct mode of operand 4.
1070 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1072 * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
1074 2001-05-25 Richard Henderson <rth@redhat.com>
1076 * libgcc-std.ver: Export XFmode and TFmode versions of symbols.
1078 2001-05-25 Richard Henderson <rth@redhat.com>
1080 * config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
1081 (i386-*-solaris2): Use t-slibgcc-elf-ver or t-slibgcc-sld.
1082 (sparc*-*-solaris2): Likewise.
1083 * config/t-linux: Remove shared libgcc macros.
1084 * config/t-slibgcc-elf-ver: Move from sparc/t-slibgcc.
1085 * config/t-slibgcc-sld: Move from sparc/t-slibgcc-sld.
1087 2001-05-25 Loren J. Rittle <ljrittle@acm.org>
1089 * config.gcc (*-*-freebsd*): Report bad configuration.
1091 2001-05-25 David Edelsohn <edelsohn@gnu.org>
1093 * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
1095 * config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
1097 (ASM_OUTPUT_LABELREF): Delete.
1099 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1101 * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
1102 strict_ansi_only): Don't run if stdc_0_in_system_headers.
1103 * fixinc/fixincl.x: Regenerate.
1104 * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
1105 (FIX_TEST_TABLE): Declare it.
1106 * fixinc/fixlib.h: Include config.h.
1108 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1110 * fixinc/inclhack.def (alpha___assert): Change char * args to
1111 const char * on Tru64 UNIX to avoid excessive warnings from
1113 * fixinc/fixincl.x: Regenerate.
1115 2001-05-25 Geoff Keating <geoffk@redhat.com>
1117 * dbxout.c (dbxout_symbol): Invert previous patch, which was
1118 outputting a tag only for variable-size records.
1120 2001-05-25 Jeff Knaggs <jknaggs@redhat.com>
1122 * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
1123 instead of rtx_equal_p for early clobber test.
1125 2001-05-26 Mark Mitchell <mark@codesourcery.com>
1127 * builtins.def: Encode additional information, such as names and
1129 * builtin-types.def: New file.
1130 * builtins.c (built_in_names): Adjust use of DEF_BUILTIN.
1131 (built_in_decls): Likewise. Don't explicitly initialize global
1133 (expand_builtin_mathfn): Handle float and long double variants of
1135 (expand_builtin): Likewise.
1136 * c-common.c (c_common_nodes_and_builtins): Make it table-driven.
1137 (expand_tree_builtin): Handle long, long long, float, and long
1138 double variants of math functions.
1139 * c-common.h (c_tree_index): Remove some unused nodes.
1140 (void_ftype): Remove.
1141 (void_type_ptr): Likewise.
1142 (int_ftype_int): Likewise.
1143 (ptr_ftype_sizetype): Likewise.
1144 * c-decl.c (init_decl_processing): Remove creation of DWARF
1146 * defaults.h (MD_INIT_BUILTINS): Provide default definition.
1147 * tree.h (built_in_function): Adjust definition of DEF_BUILTIN.
1148 * Makefile.in (c-common.o): Depend on builtin-types.def.
1150 2001-05-25 Dale Johannesen <dalej@apple.com>
1152 * config/rs6000/t-darwin: Fix dependencies for darwin.o.
1154 2001-05-25 Neil Booth <neil@daikokuya.demon.co.uk>
1156 * c-parse.in (notype_initdcl): Remove redundant line.
1158 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1160 * aclocal.m4: Fixed typo.
1161 (gcc_AC_HEADER_STDBOOL): Define.
1162 (gcc_AC_C__BOOL): Define.
1163 * configure.in: Use them.
1164 (AC_CHECK_HEADERS): Remove stdbool.h
1165 * configure, config.in: Regenerate.
1167 2001-05-25 Richard Henderson <rth@redhat.com>
1169 * function.c (expand_function_start): Don't abort on PARALLEL
1170 returns from hard_function_value.
1172 2001-05-25 Richard Henderson <rth@redhat.com>
1174 * config/i386/i386.md: Revert previous change. Do not apply
1175 the peephole if the components do not die after the sequence.
1177 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
1179 * c-parse.in (array_declarator): New. Handle C99 constructs.
1180 Don't restrict [*] declarators to C only.
1181 (after_type_declarator, parm_declarator_starttypename,
1182 parm_declarator_nostarttypename, notype_declarator,
1183 direct_absdcl1): Use it.
1184 * c-decl.c (build_array_declarator, set_array_declarator_type):
1185 New functions. Warn that [*] isn't properly implemented; pedwarn
1186 for [*] outside C99 mode if pedantic rather than giving a hard
1188 (grokdeclarator): Handle static and type qualifiers in parameter
1190 * c-tree.h (build_array_declarator, set_array_declarator_type):
1192 * extend.texi (Attribute Syntax): Document attributes in parameter
1195 2001-05-25 Mark Mitchell <mark@codesourcery.com>
1197 * config/i386/i386.md: Make sure cmpstr peepholes do not
1198 affect liveness information.
1200 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1202 * c-typeck.c (digest_init): Issue error messages about
1203 invalid constants, not warnings.
1205 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1207 * invoke.texi (-fno-builtin): Document that this is always on
1210 2001-05-24 Philip Blundell <philb@gnu.org>
1212 * doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
1215 2001-05-24 Philip Blundell <philb@gnu.org>
1217 * config/arm/arm.c (output_return_instruction): Correctly handle
1218 interworking and interrupt functions.
1220 2001-05-24 Philip Blundell <philb@gnu.org>
1222 * config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
1223 -m{no-}sched-prolog. Fix typos and improve formatting.
1225 2001-05-24 Philip Blundell <philb@gnu.org>
1227 * invoke.texi (ARM Options): Improve wording slightly. Add
1228 documentation for more options, including those for Thumb mode.
1229 Don't mention options that don't exist or are unimplemented.
1230 (Thumb Options): Delete; merged into above section.
1232 2001-05-24 Geoff Keating <geoffk@redhat.com>
1234 * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
1235 (MD_FALLBACK_FRAME_STATE_FOR): Use it.
1237 Thu May 24 19:47:19 CEST 2001 Jan Hubicka <jh@suse.cz>
1239 * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
1240 fix hard register simplification.
1242 Thu May 24 00:15:17 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1244 * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
1245 of just copying CPP_CPU_SPEC.
1247 Thu May 24 15:56:48 CEST 2001 Jan Hubicka <jh@suse.cz>
1249 * i386.c (incdec_operand): Accept only 1 and -1.
1251 2001-05-23 Kelley Cook <kelley.cook@home.com>
1253 * Makefile.in: Move many of the *_H definitions eariler in the
1254 file, so that rules in t-* files that use them for
1255 dependencies will work in a parallel build.
1256 * config/i386/t-cygwin (winnt.o): Depend on $(CONFIG_H).
1258 2001-05-23 Richard Henderson <rth@redhat.com>
1260 * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
1262 2001-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
1264 * cpp.texi: Update for handling of charconsts.
1265 * cpplex.c (maybe_read_ucs): Don't accept D800-DFFF. Update
1266 diagnostics. Skip to the end if the UCS is too short.
1267 (cpp_interpret_charconst): Long charconsts issue a warning
1270 2001-05-23 Richard Henderson <rth@redhat.com>
1272 * doc/install.texi (alpha-linux): Require binutils 2.11.
1274 2001-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
1276 * c-lex.c (read_escape, read_ucs): Delete.
1277 (lex_string): Use cpp_parse_escape.
1278 * cpplex.c (read_ucs): Rename maybe_read_ucs. Do nothing
1279 if not C++ or not C99. Warn if traditional.
1280 (parse_escape): Rename cpp_parse_escape. Make the bitmask
1281 unsigned. Warn for out-of-range escape sequences here.
1282 Update to use maybe_read_ucs.
1283 (cpp_interpret_charconst): Don't warn here.
1284 * cpplib.h (cpp_parse_escape): New exported function.
1286 2001-05-23 Joseph S. Myers <jsm28@cam.ac.uk>
1288 * extend.texi (Attribute Syntax): Clarify application of
1289 attributes to parameters declared as functions or arrays.
1291 2001-05-23 Jason Merrill <jason_merrill@redhat.com>
1293 * dbxout.c (dbxout_type_methods): Do still group methods by name.
1295 2001-05-23 Zack Weinberg <zackw@stanford.edu>
1297 * diagnostic.c (vnotice): Kill.
1298 (fnotice): Call vfprintf directly.
1299 (diagnostic_for_decl, output_do_verbatim, output_verbatim,
1300 verbatim, set_diagnostic_context): Rename string argument to
1301 indicate that it is run through gettext.
1302 (vbuild_message_string, build_message_string, output_do_printf):
1303 Rename string argument to indicate that it is NOT run through
1305 (output_printf, diagnostic_for_decl, fatal_io_error, sorry,
1306 output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
1307 Run msgid argument through gettext.
1308 (default_print_error_function): Run constant strings through
1309 gettext when nothing else will.
1310 (fatal_error, internal_error, error_recursion): Use fnotice.
1311 Present complete sentences to gettext.
1313 2001-05-23 Mark Mitchell <mark@codesourcery.com>
1315 * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
1317 2001-05-23 Richard Henderson <rth@redhat.com>
1319 * function.c (expand_function_start): Always use a pseudo
1320 for the function result value.
1322 2001-05-22 Richard Henderson <rth@redhat.com>
1324 * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
1325 section pointer alignment.
1327 * doc/install.texi (alpha-linux): Require binutils >= 2.10.
1329 * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
1330 of __USER_LABEL_PREFIX__.
1332 2001-05-22 Richard Henderson <rth@redhat.com>
1334 * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
1335 (__deregister_frame_info_bases): New.
1336 * unwind-dw2-fde.h: Declare it.
1337 * libgcc-std.ver: Export it.
1338 * crtstuff.c (__do_global_dtors_aux): Call it if we would have
1339 called __register_frame_info_bases.
1341 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
1343 * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
1344 instead of #elif (which is OK for this case but not in general).
1346 2001-05-22 Andrew MacLeod <amacleod@redhat.com>
1348 * builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
1349 * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
1350 parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
1351 * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing
1352 "r2" to the assembly file. Only issue allocs with non-zero parameters.
1354 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
1355 David O'Brien <obrien@freebsd.org>
1357 * config/freebsd.h (LIB_SPEC): Key the exact setting to
1358 configure-time options and target version of FreeBSD. Set-up
1359 to match architectural change in threading support. Correctly
1360 report when -pthread option is not supported by configure-time
1362 (FBSD_CPP_PREDEFINES): Move from architecture-specific files
1363 and extend to encode target version number in run-time setting
1364 of __FreeBSD__ macro to match the system compiler.
1365 (CPP_PREDEFINES): Likewise.
1366 (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
1368 * config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
1369 * config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
1371 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
1372 David O'Brien <obrien@freebsd.org>
1374 * config.gcc (the unlabeled system switch statement): Add
1375 generic configuration section to handle *-*-freebsd*. Also,
1376 to match the system compiler, default to threading support (it
1377 may be disabled with the standard --disable-threads
1378 configuration-time switch).
1379 (i[34567]86-*-freebsd* in machine-specific section): Use it.
1380 (alpha*-*-freebsd* in machine-specific section): Likewise.
1382 * config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
1383 * config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
1384 * config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
1385 * config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
1386 * config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
1388 2001-05-22 Loren J. Rittle <ljrittle@acm.org>
1389 David O'Brien <obrien@freebsd.org>
1391 * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
1392 * config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
1393 -pthread instead setting macro.
1395 2001-05-22 Richard Henderson <rth@redhat.com>
1397 * crtstuff.c (__register_frame_info_bases): Declare.
1398 (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
1399 (__do_global_dtors_aux, __do_global_dtors): Streamline.
1401 * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
1402 (CRT_GET_RFIB_DATA): New.
1403 * config/i386/sysv4.h: Likewise.
1404 * config/i386/sco5.h: Likewise.
1405 (ASM_PREFERRED_EH_DATA_FORMAT): New.
1407 2001-05-22 Richard Henderson <rth@redhat.com>
1409 * rtl.c (read_string): Break out from ...
1410 (read_rtx): ... here.
1412 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1414 * doc/install.texi (Specific): Remove a bogus and duplicate part
1415 copied from the end of the document.
1417 2001-05-22 Bernd Schmidt <bernds@redhat.com>
1419 * Makefile.in (LIBGCC_DEPS): Correct LIB1ASMSRC dependency.
1421 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1423 * install.texi: Remove obsolete information on SunOS as well as
1424 i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
1425 (Installing GNU CC on the Sun): Remove section.
1427 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
1429 * cppfiles.c (remove_component_p): Don't assume lstat/stat will
1430 keep errno unchanged on success.
1432 2001-05-22 Joseph S. Myers <jsm28@cam.ac.uk>
1434 * c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
1435 once for hexadecimal floats, whether or not they contain a decimal
1436 point. Don't let the setting of pedantic otherwise affect the
1437 parsing of hexadecimal floats.
1439 2001-05-22 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1441 * README.ACORN: Remove obsolete file.
1443 2001-05-22 Jan Hubicka <jh@suse.cz>
1445 * combine.c (gen_binary): Use swap_commutative_operands_p
1446 (simplify_comparison): Likewise.
1447 * expmed.c (emit_store_flag): Likewise.
1448 * expr.c (compare_from_rtx): Likewise.
1449 (do_compare_rtx_and_jump): Likewise.
1450 * optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
1451 if not emitting a branch and operands want swapping.
1453 2001-05-22 Neil Booth <neil@daikokuya.demon.co.uk>
1455 * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
1456 * stringpool.c: (IS_FE_IDENT, make_identifier): Delete.
1457 (maybe_get_identifier): Update.
1458 * tree.h (make_identifier): Delete.
1460 2001-05-21 Richard Henderson <rth@redhat.com>
1462 * combine.c (subst): Do not substitute for a register as
1463 a destination subreg/strict_low_part/zero_extract.
1465 * combine.c (simplify_comparison): Update op1 after constant
1467 * recog.c (const_int_operand): Accept only constants valid
1469 * genrecog.c: Update comments wrt const_int_operand.
1471 * emit-rtl.c (init_emit_once): Zero unused memory in a
1474 2001-05-21 Mark Mitchell <mark@codesourcery.com>
1476 * tree.h (type_num_arguments): Declare it.
1477 * tree.c (type_num_arguments): New function.
1479 2001-05-21 Richard Henderson <rth@redhat.com>
1481 * dwarf2out.c (current_funcdef_number): Move outside dwarf2
1484 2001-05-21 Geoff Keating <geoffk@redhat.com>
1486 * config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
1488 (minsf3): Use rs6000_emit_minmax.
1489 (minsf3+1): Generalize to handle both SMIN and SMAX. Use
1491 (movsfcc): Use rs6000_emit_cmove.
1492 (fselsfsf4): Don't compare a CONST_INT with a floating-point value.
1493 Don't generate emit_fselsfsf4.
1494 (fseldfsf4): Likewise.
1495 (maxdf3): Use rs6000_emit_minmax.
1497 (mindf3): Use rs6000_emit_minmax.
1498 (mindf3+1): Generalize to handle both SMIN and SMAX. Use
1500 (movdfcc): Use rs6000_emit_cmove.
1501 (fseldfdf4): Don't compare a CONST_INT with a floating-point value.
1502 Don't generate emit_fselsfsf4.
1503 (fselsfdf4): Likewise.
1504 * config/rs6000/rs6000.c (zero_fp_constant): New predicate.
1505 (min_max_operator): New predicate.
1506 (rs6000_emit_cmove): New function.
1507 (rs6000_emit_minmax): New function.
1508 * config/rs6000/rs6000-protos.h: Prototype new functions.
1509 * config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
1510 and min_max_operator.
1512 * config/rs6000/rs6000.c (output_cbranch): Handle all
1513 conditional types in the switch statement.
1515 2001-05-21 Mark Mitchell <mark@codesourcery.com>
1517 * c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
1518 non-register variables.
1519 * extend.texi: Document that asm-specifications do not make sense
1520 for non-static local variables.
1522 2001-05-21 Jason Merrill <jason_merrill@redhat.com>
1524 * dbxout.c (MINIMAL_DEBUG, flag_minimal_debug): Lose.
1525 (dbxout_type_fields): Lose minimal_debug support.
1526 (dbxout_type_methods, dbxout_type): Likewise.
1528 2001-05-17 Andrew Haley <aph@redhat.com>
1530 * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
1532 2001-05-21 Richard Henderson <rth@redhat.com>
1534 * dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
1537 2001-05-20 Richard Henderson <rth@redhat.com>
1539 * dwarf2out.c (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
1540 DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION,
1541 DEBUG_STR_SECTION): Rename from s/DEBUG_//. Update all users.
1542 * dwarfout.c (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
1543 DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION):
1545 * config/mips/iris6.h (DEBUG_SFNAMES_SECTION, DEBUG_SRCINFO_SECTION,
1546 DEBUG_MACINFO_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_ARANGES_SECTION,
1547 DEBUG_FRAME_SECTION, DEBUG_ABBREV_SECTION): Rename as above.
1548 (DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
1549 * config/ia64/ia64.h (DEBUG_ABBREV_SECTION, DEBUG_ARANGES_SECTION,
1550 DEBUG_PUBNAMES_SECTION): Rename as above.
1551 (DEBUG_MACINFO_SECTION, DEBUG_LOC_SECTION, DEBUG_STR_SECTION): New.
1553 2001-05-20 Richard Henderson <rth@redhat.com>
1555 * optabs.c (emit_cmp_and_jump_insns): Don't swap commutative
1556 operands unless the operation is commutative.
1558 2001-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1560 * fold-const.c (tree_expr_nonnegative_p): Detect more non-negative
1563 2001-05-21 Joseph S. Myers <jsm28@cam.ac.uk>
1565 * extend.texi: Clarify documentation of extensions included in ISO
1566 C99. Prefer C99 terminology and syntax to old GNU terminology and
1567 syntax. Add more index entries. Document mixed declarations and
1568 code as an extension in C89 mode. Warn about future changes to
1569 semantics of inline functions. Fixes PR other/930.
1571 Sun May 20 16:39:24 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1573 * expr.c (expand_expr, case ARRAY_REF): Don't fold constant
1574 access if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
1575 (expand_expr, case COMPONENT_REF): Do copy if misaligned even
1576 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
1578 * stmt.c (expand_decl): Set mode, alignment, and sizes for CONST_DECL.
1580 2001-05-20 Richard Henderson <rth@redhat.com>
1582 * sched-deps.c (sched_analyze_insn): Force volatile memory reads
1583 to be output before a branch.
1585 2001-05-20 Richard Henderson <rth@redhat.com>
1587 * Makefile.in (dwarf2asm.o): Depend on $(TREE_H).
1589 2001-05-20 Richard Henderson <rth@redhat.com>
1591 * config/i386/att.h (ASM_SHORT, ASM_LONG): Add trailing \t.
1592 (ASM_DOUBLE): Remove.
1593 * config/i386/bsd.h, config/i386/sco5.h: Likewise.
1594 * config/i386/sun386.h: Likewise.
1596 * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New.
1597 (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New.
1599 * config/i386/cygwin.h (INT_ASM_OP): Remove.
1600 * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise.
1601 * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise.
1602 * config/i386/netbsd.h, config/i386/openbsd.h: Likewise.
1604 * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t.
1605 * config/i386/djgpp.h, config/i386/i386.h: Likewise.
1606 * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise.
1607 * config/i386/sco5.h, config/i386/svr3gas.h: Likewise.
1608 * config/i386/sysv4.h, config/i386/vsta.h: Likewise.
1609 * config/i386/win32.h: Likewise.
1611 2001-05-20 Joseph S. Myers <jsm28@cam.ac.uk>
1613 * invoke.texi: Add more options to summary list.
1615 2001-05-20 Joseph S. Myers <jsm28@cam.ac.uk>
1617 * invoke.texi: Document meaning of -pedantic when -std=gnu* is
1618 used. Fixes PR c/2291.
1619 * gcc.1: Regenerate.
1621 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1623 * config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
1624 the -fpic and -fPIC options, clear flag_pic.
1626 2001-05-20 Neil Booth <neil@daikokuya.demon.co.uk>
1628 * hashtable.c (calc_hash): Fix HASHSTEP definition.
1629 * stringpool.c (make_identifier): No statistics here anymore.
1630 * objc-act.c (steup_string_decl): Remove redundant check.
1632 2001-05-20 Neil Booth <neil@daikokuya.demon.co.uk>
1634 * Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
1635 cpplib.o, cpphash.o, fix-header): Update.
1636 (hashtable.o): New target.
1637 * c-common.h: Include cpplib.h. Define C_RID_CODE and
1638 struct c_common_identifier here.
1639 * c-lang.c (c_init_options): Update. Call set_identifier_size.
1640 * c-lex.c (c_lex): Update.
1641 * c-pragma.h: Update.
1642 * c-tree.h (struct lang_identifier): Contain c_common_identifier.
1644 (C_RID_CODE): Delete.
1645 * cpphash.c: Rewrite to use hashtable.c.
1646 * cpphash.h: Update include guards.
1647 (struct cpp_reader): Remove hashtab.
1648 hash_ob and buffer_ob are no longer pointers. Add hash_table
1650 (HASHSTEP, _cpp_init_hashtable, _cpp_lookup_with_hash): Delete.
1651 (_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
1652 (_cpp_cleanup_stacks): Rename _cpp_init_directives.
1653 * cppinit.c (cpp_create_reader): Update.
1654 * cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
1655 (cpp_interpret_charconst): Eliminate warning.
1656 * cpplib.c (do_pragma, do_endif, push_conditional,
1657 cpp_push_buffer, cpp_pop_buffer): Update.
1658 (_cpp_init_stacks): Rename cpp_init_directives.
1659 (_cpp_cleanup_stacks): Remove.
1660 * cpplib.h: Update include guards. Include tree-core.h and c-rid.h.
1661 (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
1662 cpp_forall_identifiers, cpp_create_reader): Update.
1663 (C_RID_CODE, cpp_make_node): New.
1664 (c_common_identifier): New identifier node for C front ends.
1665 * cppmain.c (main): Update.
1666 * fix-header.c (read_scan_file): Update.
1667 * flags.h (id_clash_len): Make unsigned.
1668 * ggc.h (ggc_mark_nonnull_tree): New.
1671 * stringpool.c: Update comments and copyright. Update to use
1673 * toplev.c (approx_sqrt): Move to hashtable.c.
1674 (id_clash_len): Make unsigned.
1675 * toplev.h (ident_hash): New.
1676 * tree.c (gcc_obstack_init): Move to hashtable.c.
1677 * tree.h: Include hashtable.h.
1678 (IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
1679 (GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
1680 (struct tree_identifier): Update.
1681 (make_identifier): New.
1683 * cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
1684 (C_RID_CODE): Remove.
1685 * lex.c (cxx_init_options): Call set_identifier_size. Update.
1686 (init_parse): Don't do it here.
1688 * objc-act.c (objc_init_options): Call set_identifier_size. Update.
1690 Sat May 19 18:23:04 2001 Richard Henderson <rth@redhat.com>
1692 * except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
1694 (expand_eh_return): Convert between word_mode and Pmode.
1695 * unwind-dw2.c (extract_cie_info): Do not assume words and pointers
1697 (execute_stack_op): Likewise.
1698 (execute_cfa_program): Likewise.
1699 (uw_frame_state_for): Likewise.
1700 (uw_update_context_1): Likewise.
1701 * unwind.inc (_Unwind_Reason_Code): Likewise.
1702 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
1703 (EH_RETURN_STACKADJ_RTX): Likewise.
1704 * config/mips/mips.c (compute_frame_size): Make space for saving
1705 EH return registers.
1706 (mips_expand_epilogue): Handle EH stack adjustments.
1707 * config/mips/mips.md (eh_return): New pattern.
1708 (eh_set_lr_si): Likewise.
1709 (eh_set_lr_di): Likewise.
1710 Add splitter to perform EH return after reload.
1712 2001-05-19 Mark Mitchell <mark@codesourcery.com>
1714 * jump.c (mark_jump_label): Tidy previous change.
1716 2001-05-19 Bruce Korb <bkorb@gnu.org>
1718 * fixinc/genfixes: no need for two warnings
1719 * fixinc/Makefile.in: open stdin for those building with a closed one.
1721 2001-05-19 Mark Mitchell <mark@codesourcery.com>
1723 * jump.c (jump_optimize_1): Tidy.
1724 (mark_jump_label): When changing the label in a LABEL_REF, change
1725 update any REG_EQUAL notes as well.
1727 2001-05-19 Joseph S. Myers <jsm28@cam.ac.uk>
1729 * c-parse.in (parm_declarator): Split into
1730 parm_declarator_starttypename and parm_declarator_nostarttypename.
1731 (parm_declarator_starttypename, parm_declarator_nostarttypename):
1732 New. Allow parenthesised sub-declarators which don't begin with a
1733 TYPENAME. Fixes PR c/166.
1735 2001-05-19 Mark Mitchell <mark@codesourcery.com>
1737 * defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
1739 * tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
1741 * toplev.c (main): If the target does not allow profiling without
1742 a frame pointer, issue an error message.
1743 * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
1746 Sat May 19 07:53:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1748 * recog.c (general_operand): Modify last change to allow it if reload
1751 Sat May 19 10:23:54 CEST 2001 Jan Hubicka <jh@suse.cz>
1753 * recog.c (general_operand): Prohibit nonzero subreg bytes on
1754 subregs containing mem.
1756 Sat May 19 09:40:45 2001 Denis Chertykov <denisc@overta.ru>
1758 * regrename.c (regrename_optimize): frame pointer register can
1761 2001-05-18 Jason Merrill <jason_merrill@redhat.com>
1763 * README.DWARF: Move into dwarfout.c.
1765 2001-05-18 Dale Johannesen <dalej@apple.com>
1767 * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
1768 specific misuse of r0 as a reload address.
1770 Fri May 18 22:42:04 CEST 2001 Jan Hubicka <jh@suse.cz>
1772 * combine.c (combine_simplify_rtx): Clear op0_mode if simplification
1775 Fri May 18 07:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1777 * genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
1778 (add_to_sequence): Make that decision type.
1779 (maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
1780 (write_switch, write_cond, debug_decision_2): Likewise.
1782 * dbxout.c (dbxout_type): Use host_integerp and fix typo in testing
1784 (dbxout_symbol, case TYPE_DECL): Don't generate tag for records of
1787 2001-05-18 Stan Shebs <shebs@apple.com>
1789 * configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
1790 * configure: Regenerate.
1792 2001-05-18 Per Bothner <per@bothner.com>
1794 Changes needed for java/jvspec.c
1795 * gcc.h (n_infiles, outfiles): Add declarations.
1796 * gcc.c (n_infiles, outfiles): Mske no longer static.
1798 Fri May 18 10:14:42 2001 Jeffrey A Law (law@cygnus.com)
1800 * config/pa/som.h (EXCEPTION_SECTION): Define.
1802 2001-05-18 Daniel Berlin <dan@cgsoftware.com>
1804 * dwarf2out.c: Add dw_loc_list_ref, a reference to a location
1806 Add have_location_lists, a variable to determine whether we need a
1807 .debug_loc section or not.
1808 (enum dw_val_class): Add dw_val_class_loc_list.
1809 (dw_val_struct): Add val_loc_list.
1810 (dw_loc_list_struct): New structure, represents location lists.
1811 (new_loc_list): New function, return a new location list, given
1812 the range and location expression.
1813 (add_loc_descr_to_loc_list): New function, add a location
1814 expression to a location list, given the expression and range.
1815 (output_loc_list): New function, output a location list.
1816 (gen_internal_sym): Modified to take symbol prefix, so we can
1817 reuse it for location list symbols.
1818 (add_AT_loc_list): New function, add a location list to a DIE at
1819 the named attribute.
1820 (AT_loc_list): New function, return the location list reference
1821 for a given attribute, if it's a location list.
1822 (print_die): Handle dw_val_class_loc_list.
1823 (size_of_die): Ditto.
1824 (value_format): Ditto.
1825 (output_die): Ditto.
1826 (output_location_lists): New function, output all of the location
1827 lists for a DIE and it's children.
1828 (dwarf2out_finish): Call output_location_lists if we have location
1832 Fri May 18 15:39:16 CEST 2001 Jan Hubicka <jh@suse.cz>
1834 * gcse.c (try_replace_reg): First try global replace, later try to
1835 simplify the expression.
1837 * gcse.c (find_used_regs): Change calling convention; work via
1839 (cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.
1841 2001-05-18 Bernd Schmidt <bernds@redhat.com>
1844 2001-02-09 Nick Clifton <nickc@redhat.com>
1845 * config/arm/arm.md: Change output constraint on post inc
1846 load/store multiple patterns to be a read/write constraint.
1848 2001-05-18 Mark Mitchell <mark@codesourcery.com>
1850 * basic-block.h (struct basic_block_def): Add documentation about
1851 what a basic block is, and what the various fields are used for.
1852 * flow.c (calculate_globlal_regs_live): Add documentation about
1853 how the algorithm works, and how we know that it will terminate.
1854 Check that the the inductive assumption that guarantees
1855 termination actually holds.
1856 (mark_used_regs): Treat conditionally set registers as used.
1857 (debug_regset): Add comment.
1858 * rtl.texi (cond_exec): Add documentation.
1860 * function.c (expand_function_start): Avoid creating BLKmode
1863 2001-05-17 Mark Mitchell <mark@codesourcery.com>
1865 * dwarf2out.c (output_comp_unit): Always output a compilation-unit
1866 DIE, even if it has no children.
1867 (dwarf2out_finish): Always output the line-number table, even if
1870 2001-05-18 David Edelsohn <edelsohn@gnu.org>
1872 * rs6000.md (movsfcc,movdfcc): Remove NE case.
1874 2001-05-17 Bruce Korb <bkorb@gnu.org>
1876 * fixinc/fixincl.tpl: rewritten as an AutoGen version 5 template
1877 * fixinc/genfixes: emit a warning if AutoGen is out of date
1879 2001-05-17 Brendan Conoboy <blc@cygnus.com>
1880 Bruce Korb <bkorb@gnu.org>
1882 * fixinc/fixincl.sh(FIXINC): accept local directory if fixincl not
1883 found in fixinc directory. Facilitates binary distributions.
1885 2001-05-17 Jeffrey Oldham <oldham@codesourcery.com>
1887 * dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
1890 Thu May 17 19:42:39 2001 Mark Kettenis <kettenis@wins.uva.nl>
1892 * dwarf2out.c (modified_type_die): Equate qualified type to die.
1894 Thu May 17 23:19:46 CEST 2001 Jan Hubicka <jh@suse.cz>
1896 * integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
1897 (simplify_subreg): Handle complex types represented as CONCAT.
1899 * recog.c (validate_replace_rtx_1): Properly canonicalize expression
1900 * rtl.h (swap_commutative_operands_p): Declare.
1901 * rtlanal.c (swap_commutative_operands_p): New.
1902 (operand_preference): New static function.
1904 * combine.c (combine_simplify_rtx): Use swap_commutative_operands_p.
1905 (gen_binary): Likewise.
1906 * optabs.c (emit_cmp_and_jump_insns, emit_conditional_move): Likewise.
1907 * simplify-rtx.c (simplify_gen_binary,
1908 simplify_gen_relational): Likewise.
1910 Thu May 17 20:43:36 CEST 2001 Jan Hubicka <jh@suse.cz>
1912 * cse.c (fold_rtx): Use simplify_subreg.
1914 * simplify-rtx.c (simplify_replace_rtx): Use simplify_gen_subreg.
1915 (simplify_gen_subreg): New.
1916 (simplify_rtx): Use simplify_subreg.
1917 * rtl.h (simplify_gen_subreg): Declare.
1919 2001-05-17 Mark Mitchell <mark@codesourcery.com>
1921 * doc/install.texi: Update Solaris information.
1923 * except.h (protect_cleanup_actions): Remove it.
1924 (lang_protect_cleanup_actions): Declare it.
1925 * except.c (protect_cleanup_actions): Remove it.
1926 (lang_protect_cleanup_actions): New variable.
1927 (init_eh): Don't make protect_cleanup_actions a GC root.
1928 (expand_eh_region_and_cleanup): Call
1929 lang_protect_cleanup_actions.
1930 (output_function_exception_table): Remove unused `align'
1932 * varasm.c (assemble_external): Abort if we have not yet
1933 opened the assembly output file.
1935 Thu May 17 11:54:50 2001 Jeffrey A Law (law@cygnus.com)
1937 * except.c (sjlj_emit_function_enter): Call assemble_external_libcall
1938 for eh_personality_libfunc.
1940 Thu May 17 19:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
1942 * recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
1943 when calling simplify_subreg. This is needed to allow replacing
1944 of expression of one mode by expression of different mode.
1946 Thu May 17 19:40:03 CEST 2001 Jan Hubicka <jh@suse.cz>
1948 * simplify-rtx.c (simplify_subreg): Avoid creating of incorrect subregs.
1950 2001-05-17 Bernd Schmidt <bernds@redhat.com>
1952 * expr.c (protect_from_queue): Protect against subsequent calls to
1954 (expand_expr, case ADDR_EXPR): Prevent protect_from_queue from being
1957 Thu May 17 18:17:34 CEST 2001 Jan Hubicka <jh@suse.cz>
1959 * simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
1961 2001-05-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1963 * gccbug.in (CATEGORIES): Add "bootstrap".
1965 Thu May 17 16:59:41 CEST 2001 Jan Hubicka <jh@suse.cz>
1967 * simplify-rtx.c (simplify_subreg): Break out from ...
1968 * combine.c (combine_splify_rtx) ... here and ...
1969 * recog.c (validate_replace_rtx_1): ... here;
1970 * rtl.h (subreg_lowpart_parts_p, simplify_subreg): Declare.
1971 * emit-rtl.c (subreg_lowpart_parts_p): Break out from ...
1972 (subreg_lowpart_p): ... here.
1974 2001-05-17 Bernd Schmidt <bernds@redhat.com>
1976 * stmt.c (expand_asm_operands): For inout operands, make sure
1977 the substitution of '=' for '+' makes it into the rtl.
1979 * reload1.c (delete_output_reload): Call eliminate_regs on substed.
1980 (reload_as_needed): Call update_eliminable_offsets a bit later.
1982 2001-05-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1984 * gcc.texi (gccbug): Refer to the web pages for detailed information
1987 2001-05-16 Zack Weinberg <zackw@stanford.edu>
1989 * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
1991 * Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR,
1992 OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1,
1993 LIB1FUNCS, and LIB1FUNCS_EXTRA. Delete rules: libgcc1-test,
1994 libgcc1-test.o. Clarify commentary now that libgcc1 no longer exists.
1995 * cross-make: Don't set LIBGCC1.
1996 * mklibgcc.in: Delete all code for building from libgcc1.c.
1997 Always honor LIB1ASMFUNCS if set.
1999 * crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c,
2000 config/arc/lib1funcs.asm, config/arm/lib1funcs.asm,
2001 config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm,
2002 config/h8300/lib1funcs.asm, config/i386/cygwin.asm,
2003 config/i386/uwin.asm, config/m68hc11/larith.asm,
2004 config/m68k/lb1sf68.asm, config/mcore/lib1.asm,
2005 config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm,
2006 config/sparc/lb1spc.asm, config/sparc/lb1spl.asm,
2007 config/v850/lib1funcs.asm, config/c4x/libgcc.S:
2008 Delete or update references to libgcc1 in commentary.
2010 * config/t-libc-ok, config/t-linux, config/t-linux-aout,
2011 config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k,
2012 config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms,
2013 config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff,
2014 config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe,
2015 config/arm/t-semi, config/arm/t-strongarm-coff,
2016 config/arm/t-strongarm-elf, config/arm/t-strongarm-pe,
2017 config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr,
2018 config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30,
2019 config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin,
2020 config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware,
2021 config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2,
2022 config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64,
2023 config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx,
2024 config/m68k/t-m68kbare, config/m68k/t-m68kelf,
2025 config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas,
2026 config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug,
2027 config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs,
2028 config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k,
2029 config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore,
2030 config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas,
2031 config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf,
2032 config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3,
2033 config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas,
2034 config/mips/t-ultrix, config/mn10200/t-mn10200,
2035 config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64,
2036 config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro,
2037 config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43,
2038 config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas,
2039 config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux,
2040 config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf,
2041 config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare,
2042 config/sparc/t-sparclite, config/sparc/t-splet,
2043 config/sparc/t-sunos41, config/sparc/t-vxsparc,
2044 config/sparc/t-vxsparc64, config/v850/t-v850:
2045 Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST.
2047 * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h:
2048 Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY.
2049 * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE,
2050 FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY,
2051 nongcc_SI_type, nongcc_word_type, or perform_*
2052 * config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3.
2054 * config/i386/386bsd.h, config/i386/beos-elf.h,
2055 config/i386/linux-aout.h, config/i386/linux-oldld.h,
2056 config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h,
2057 config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h:
2058 Don't include i386/perform.h.
2060 * config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370,
2061 config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe,
2062 config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta,
2063 config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas,
2064 config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40,
2065 config/vax/t-openbsd, config/vax/t-vax: Delete.
2067 * config.gcc: Remove references to deleted files.
2068 (arm-semi-aof): Use arm/t-semi for tmake_file.
2070 * gcc.texi, install.texi, invoke.texi, tm.texi:
2071 Delete or rewrite text which is no longer relevant now that
2072 libgcc1 no longer exists.
2074 * config/t-openbsd, config/alpha/t-interix, config/i386/t-interix:
2075 No need to set INSTALL_ASSERT_H. (Missed in previous sweep.)
2077 2001-05-16 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2078 Bruce Korb <bkorb@gnu.org>
2080 * fixinc/inclhack.def(solaris27_mutex_init): Fix broken mutex
2083 2001-05-16 Zack Weinberg <zackw@stanford.edu>
2085 * i386.md: Add two peepholes to clean up code generated by
2088 2001-05-16 Richard Henderson <rth@redhat.com>
2090 * dwarf2asm.c (eh_data_format_name): Add names for "pointer size"
2091 variants of non-absolute encodings.
2093 * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
2095 * libgcc-std.ver (_Unwind_Find_FDE, __register_frame_info_bases,
2096 __register_frame_info_table_bases): Export.
2098 2001-05-16 Richard Henderson <rth@redhat.com>
2100 * except.c (eh_data_format_name): Move to ...
2101 * dwarf2asm.c: ... here. Use designated initializers if available.
2102 (dw2_asm_output_encoded_addr_rtx): Accept varargs commentary.
2103 * dwarf2asm.h: Update declarations.
2104 * dwarf2out.c (output_cfi) [DW_CFA_set_loc]: If for_eh, mind
2105 ASM_PREFERRED_EH_DATA_FORMAT.
2106 (output_call_frame_info): Likewise. Use 'L' augmentation for
2109 * unwind-dw2-fde.h (struct fde_vector): New.
2110 (struct old_object): Rename from struct object.
2111 (struct object): New.
2112 (__register_frame_info_bases): Declare.
2113 (__register_frame_info_table_bases): Declare.
2114 (struct dwarf_fde): Remove explicit pc_begin/pc_range members.
2115 * unwind-dw2-fde.c (objects): Remove.
2116 (unseen_objects, seen_objects): New.
2117 (__register_frame_info_bases): New.
2118 (__register_frame_info): Use it.
2119 (__register_frame_info_table_bases): New.
2120 (__register_frame_info_table): Use it.
2121 (__deregister_frame_info): Rewrite for changed object struct.
2122 (base_from_object, get_cie_encoding, get_fde_encoding): New.
2123 (fde_unencoded_compare): Rename from fde_compare; uninline.
2124 (fde_single_encoding_compare, fde_mixed_encoding_compare): New.
2125 (start_fde_sort): Adjust for new definition of fde_vector.
2126 (fde_insert): Likewise.
2127 (end_fde_sort): Likewise. Select comparison function based
2128 on properties of the object.
2129 (fde_split): Take object and fde_compare_t arguments.
2130 (frame_heapsort, fde_merge): Likewise.
2131 (classify_object_over_fdes): Rename from count_fdes. Handle
2132 encoded pointers. Collect encoding, mixed_encoding, and pc_begin
2134 (add_fdes): Handle encoded pointers.
2135 (init_object): Rename from frame_init. Update for new struct object.
2136 (linear_search_fdes): Rename from search_fdes. Handle encoded
2138 (binary_search_unencoded_fdes): Broken out from _Unwind_Find_FDE.
2139 (binary_search_single_encoding_fdes): New.
2140 (binary_search_mixed_encoding_fdes): New.
2141 (search_object): New.
2142 (_Unwind_Find_FDE): Update for new struct object. Fill in
2144 * unwind-dw2.c: Include unwind-pe.h. Constify all pointers
2145 iterating over EH data.
2146 (_Unwind_FrameState): Remove saw_lsda, addr_encoding. Add
2147 fde_encoding, lsda_encoding.
2148 (read_uleb128, read_sleb128): Remove.
2149 (read_encoded_pointer): Remove. All callers use read_encoded_value.
2150 (extract_cie_info): Set lsda_encoding from 'L' augmentation.
2151 (uw_frame_state_for): Don't set bases.func. Handle encoded fde
2153 * unwind-pe.h: Add "struct" to _Unwind_Context references.
2155 2001-05-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2157 * cppexp.c (lex): Use NODE_NAME and NODE_LEN.
2158 * cpphash.c (_cpp_lookup_with_hash): Similarly.
2159 * cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
2160 cpp_spell_token, cpp_output_token): Similarly.
2161 * cpplib.c (lex_macro_node, do_undef, do_pragma,
2162 do_pragma_poison, parse_assertion, do_assert): Similarly.
2163 * cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
2164 save_parameter, _cpp_create_definition, check_trad_stringification,
2165 cpp_macro_definition): Similarly.
2166 * cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
2167 * c-lex.c (cb_undef, c_lex): Similarly.
2168 * fix-header.c (recognized_function): Similarly.
2169 * cpplib.h (NODE_LEN, NODE_NAME): New.
2170 (cpp_hashnode): Rename length len.
2172 Wed May 16 13:41:10 2001 Jeffrey A Law (law@cygnus.com)
2174 * pa32-regs.h (HARD_REGNO_MODE_OK): Allow TI/TFmode values in
2177 2001-05-16 Andreas Jaeger <aj@suse.de>
2179 * Makefile.in (toplev.o): Add dependency on dwarf2asm.h.
2181 * toplev.c: Include dwarf2asm.h for prototype of
2182 dw2_output_indirect_constants.
2184 Wed May 16 19:53:53 CEST 2001 Jan Hubicka <jh@suse.cz>
2186 * stmt.c (expand_asm_operands): Be able to offload addressof
2187 expression to memory. (PR optimization/185)
2189 Wed May 16 18:53:23 CEST 2001 Jan Hubicka <jh@suse.cz>
2191 * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
2192 applying distributive law.
2194 2001-05-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
2196 * pa-hpux10.h (THREAD_MODEL_SPEC): Define.
2198 * gthr-dce.h (UNUSED): Attribute unused macro.
2199 (__gthread_key_dtor): Make arguments UNUSED.
2200 (__gthread_key_delete): Revise for compatibility with DRAFT4
2203 2001-05-16 David Edelsohn <edelsohn@gnu.org>
2205 * doc/install.texi: Update AIX information.
2206 * README.RS6000: Remove obsolete file.
2208 2001-05-16 Jakub Jelinek <jakub@redhat.com>
2209 Nathan Sidwell <nathan@codesourcery.com>
2211 * gcc.c (give_switch): Don't write before start of string.
2212 Always append suffix.
2214 2001-05-16 Nathan Sidwell <nathan@codesourcery.com>
2216 * cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
2219 2001-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2221 * README.ALTOS: Remove obsolete file.
2223 2001-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
2225 * c-lex.h (save_and_forget_protocol_qualifiers,
2226 forget_protocol_qualifiers, remember_protocol_qualifiers):
2227 Remove deleted functions' prototypes.
2229 2001-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
2231 * c-parse.in (methodtype): New production.
2232 (methoddef, methodproto): Collapse separate '-' and '+'
2235 2001-05-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2237 * c-common.h (RID_FIRST_PQ): New.
2238 * c-parse.in (objc_pq_context): New.
2239 (objc parser): Set objc_pq_context rather than calling
2240 remember_protocol_qualifiers and forget_protocol_qualifiers.
2241 Don't call save_and_forget_protocol_qualifiers.
2242 (yylexname): Handle objc protocol qualifiers here.
2243 * stringpool.c (struct str_header): Replace with sp_hashnode.
2244 (SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
2245 (alloc_string): Rename alloc_ident. Use the SP_ accessors.
2246 Allocate an IDENTIFIER_NODE for each identifier.
2247 (FORALL_STRINGS, set_identifier): Delete.
2248 (FORALL_IDS, expand_string_table, stringpool_statistics): Update.
2249 (ggc_alloc_string): Use an obstack.
2250 (get_identifier, maybe_get_identifier, mark_string_hash): Update.
2251 * tree.h: Update comments.
2252 (set_identifier): Delete.
2253 * objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
2254 save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
2255 remember_protocol_qualifiers): Delete.
2257 Tue May 15 22:14:09 2001 Jeffrey A Law (law@cygnus.com)
2259 * flow.c (life_analysis): After life analysis is complete, do
2260 an optional scan over insns looking for REG_LABEL notes that
2261 reference a deleted label.
2262 (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
2263 before peeking at LABEL_NUSES.
2265 2001-05-15 Richard Henderson <rth@redhat.com>
2267 * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
2268 (_Unwind_GetTextRelBase): New.
2270 2001-05-15 Mark Mitchell <mark@codesourcery.com>
2272 * config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
2274 2001-05-15 Geoffrey Keating <geoffk@redhat.com>
2276 * objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
2277 so that CHOOSE_SECTION gets used.
2279 * config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
2280 TARGET_RELOCATABLE like flag_pic for now.
2282 2001-05-15 David Edelsohn <edelsohn@gnu.org>
2284 * rs6000.md (movdi splitter): Sign extend more efficiently.
2285 * rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
2286 to "long long" valid on 32-bit and 64-bit hosts.
2287 (logical_operand): Cast trunc_int_for_mode return value.
2288 (rs6000_emit_move): Shift macro to encapsulate variable.
2289 (rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
2290 (rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
2291 plus_constant requires signed argument.
2293 2001-05-15 Loren J. Rittle <ljrittle@acm.org>
2295 * gthr-posix.h: Make additional pthread-* functions weak.
2297 Tue May 15 13:51:32 CEST 2001 Jan Hubicka <jh@suse.cz>
2299 * recog.c (apply_change_group): Avoid unneeded validating.
2301 2001-05-14 David Edelsohn <edelsohn@gnu.org>
2303 * rs6000.c (num_insns_constant_wide): Constants are sign-extended.
2304 (num_insns_constant): CONST_INT can be 64-bits.
2306 2001-05-14 Stan Shebs <shebs@apple.com>
2308 * config/darwin.h (LIB_SPEC): Just use -lSystem.
2309 (LIBGCC_SPEC): Don't define.
2311 2001-05-14 Richard Henderson <rth@redhat.com>
2313 * configure.in (gcc_cv_as_eh_frame): New test.
2314 * config.in, configure: Rebuild.
2315 * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
2317 2001-05-14 Andrew MacLeod <amacleod@redhat.com>
2319 * config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
2320 extended precision divide.
2322 2001-05-14 Andrew MacLeod <amacleod@redhat.com>
2324 * config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
2325 for RETURNS as well.
2327 Mon May 14 17:34:48 CEST 2001 Jan Hubicka <jh@suse.cz>
2329 * i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
2330 (CPP_CPU??_SIZE_TYPE): New.
2331 (CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
2332 (CPP_CPU_SPEC): ... here; support choosing of CPU.
2333 (EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
2334 (MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
2336 * i386.c (override_options): Add sorry about not suported modes.
2338 Mon May 14 08:56:47 2001 Jeffrey A Law (law@cygnus.com)
2340 * config/pa/som.h (NM_FLAGS): Remove.
2341 (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
2342 (ASM_OUTPUT_SECTION_NAME): Remove.
2343 (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
2345 2001-05-14 Mark Mitchell <mark@codesourcery.com>
2347 * regrename.c (regrename_optimize): Do not rename registers to
2350 2001-05-14 Alexandre Oliva <aoliva@redhat.com>
2352 * rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
2353 contain MEMs. Remove useless distinction about clobbering
2356 2001-05-13 Geoff Keating <geoffk@redhat.com>
2358 * config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
2359 * config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
2360 * config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
2361 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2362 (EXCEPTION_SECTION): Define.
2364 2001-05-13 Zack Weinberg <zackw@stanford.edu>
2366 * libgcc2.c, libgcc2.h: Restore __eprintf. Label as used for
2367 binary backward compat only.
2368 * Makefile.in (LIB2FUNCS_ST): New. Put _eprintf here, not
2369 in LIB2FUNCS. Pass it to mklibgcc.
2370 * mklibgcc.in: Handle LIB2FUNCS_ST.
2372 * Makefile.in (installdirs): Don't create $(gcc_tooldir).
2374 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
2376 * tm.texi (THREAD_MODEL_SPEC): Document it.
2377 * gcc.c (main): Use it.
2378 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
2379 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
2381 2001-05-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2383 * rtl.h (SYMBOL_REF_WEAK): New macro.
2384 * rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
2385 * varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
2386 * rtl.texi (SYMBOL_REF_WEAK): Document it.
2387 * gcc.texi: Remove wrong description.
2389 2001-05-13 Mark Mitchell <mark@codesourcery.com>
2391 * Makefile.in (STAMP): New macro.
2392 Replace all uses of `touch' with $(STAMP).
2393 * fixinc/Makefile.in: Likewise.
2395 Sun May 13 07:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2397 * configure.in: ldopen is never in -lexc, so don't test for it.
2398 Add test for exc_resume in -lexc for Ada.
2399 * configure: Regenerated.
2401 2001-05-12 Richard Henderson <rth@redhat.com>
2403 * dwarf2asm.c (size_of_encoded_value): New function.
2404 * dwarf2asm.h: Declare it.
2405 * except.c (output_function_exception_table): Align the TType
2406 array only as wide as the encoding.
2408 2001-05-12 Zack Weinberg <zackw@stanford.edu>
2410 * extend.texi: Document #pragma GCC java_exceptions.
2412 2001-05-12 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2414 * c-parse.in (bison parser, init_reswords): Remove uses of
2416 * c-tree.h (doing_objc_thang): Remove.
2418 2001-05-12 Neil Booth <neil@daikokuya.demon.co.uk>
2420 * cpplex.c (_cpp_lex_token): Ensure we warn at most once
2421 about files not ending in newlines.
2423 2001-05-12 Neil Booth <neil@cat.daikokuya.demon.co.uk>
2425 * dwarfout.c (dwarfout_init): Add cast.
2426 * sched-deps.c (sched_analyze_insn): Remove unused vars.
2427 * unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
2429 * method.c (build_mangled_C99_name): Remove unused prototype.
2431 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
2433 * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
2435 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
2437 * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
2438 * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
2440 2001-05-11 Richard Henderson <rth@redhat.com>
2442 * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
2443 * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
2444 dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
2445 * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
2446 (dw2_output_indirect_constants): Prototype.
2447 * dwarf2out.c (dwarf2out_begin_prologue): Generate
2448 current_function_func_begin_label if we'll need it for EH. Exit
2449 early for IA64_UNWIND_INFO.
2450 * except.c: Get DW_EH_PE_* defines from dwarf2.h.
2451 (eh_data_format_name): Update for indirect references.
2452 (output_function_exception_table): Care for IA64_UNWIND_INFO.
2453 Handle ASM_PREFERRED_EH_DATA_FORMAT.
2454 * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
2455 define HAVE_eh_return etc.
2456 * final.c (final_start_function): Always call dwarf2out_begin_prologue.
2457 (final_end_function): Don't call output_function_exception_table.
2458 * toplev.c (compile_file): Call dw2_output_indirect_constants.
2459 (rest_of_compilation): Invoke output_function_exception_table
2460 for ia64 before assemble_end_function.
2461 * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
2462 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
2464 * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
2465 * unwind.h: Declare them.
2466 * libgcc-std.ver: Export them.
2467 * unwind-pe.h: New file.
2469 * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
2471 * config/ia64/fde-glibc.c: Use "struct unw_table_entry"
2473 (find_fde_for_dso): Extract DT_PLTGOT.
2474 (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
2475 the segment and gp as well.
2476 * config/ia64/frame-ia64.c: Remove file.
2477 * config/ia64/frame-ia64.h: Remove file.
2478 * config/ia64/unwind-ia64.c: New file.
2479 * config/ia64/unwind-ia64.h: New file.
2480 * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
2481 (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
2482 (ASM_OUTPUT_EH_DOUBLE_INT): Remove.
2483 (ASM_PREFERRED_EH_DATA_FORMAT): New.
2484 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
2485 (IA64_UNWIND_INFO): Re-enable.
2486 (HANDLER_SECTION): Remove.
2487 (EH_RETURN_DATA_REGNO): New.
2488 * config/ia64/ia64.md (exception_receiver): Remove.
2489 * config/ia64/t-glibc (LIB2ADDEH): Re-enable.
2490 * config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
2492 2001-05-11 Richard Henderson <rth@redhat.com>
2494 * config/ia64/ia64.c (group_barrier_needed_p): Don't allow
2495 calls and jumps to be bundled together.
2496 (ia64_reorg): Emit a break after a noreturn call that ends
2498 * config/ia64/ia64.md (break_f): New.
2500 2001-05-12 Neil Booth <neil@daikokuya.demon.co.uk>
2502 * c-lex.c (lex_charconst): Convert into a simple wrapper
2503 around cpp_interpret_charconst, to which most of the code
2505 * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
2506 MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
2507 MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
2508 (lex): Use cpp_interpret_charconst.
2509 * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
2510 hex_digit_value): New functions.
2511 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
2512 * cpplib.h (cpp_interpret_charconst): New prototype.
2513 * Makefile.in: Update.
2515 2001-05-12 Dean Wakerley <dean@wakerley.com>
2517 * doc/install.texi: New file. Converted to texinfo from the HTML
2518 documentation in wwwdocs/htdocs/install.
2520 Fri May 11 15:50:13 2001 Jeffrey A Law (law@cygnus.com)
2522 * gcse.c (insert_insn_end_bb): Do not search for assignments to
2523 non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
2525 * toplev.c (compile_file): Move comment for opening output
2526 file to just before the code that opens the output file.
2528 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2530 * regmove.c (regmove_optimize): Suppress the optimization for
2531 unchanging destination register. Add comment above function.
2533 2001-05-11 Zack Weinberg <zackw@stanford.edu>
2535 * Makefile.in: Exterminate all references to assert.h.
2536 * cross-make: Likewise.
2538 * configure.in: Correct commentary.
2539 * configure: Regenerate.
2541 * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
2544 * config/t-freebsd, config/t-linux, config/t-linux-aout,
2545 config/t-netbsd, config/t-rtems, config/x-linux,
2546 config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
2547 No need to override INSTALL_ASSERT_H.
2549 * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
2550 fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
2551 fixinc/fixincl.sh: Don't install assert.h into objdir/include.
2553 2001-05-11 Graham Stott <grahams@redhat.com>
2555 * combine.c (simplify_comparison): Fix typo.
2557 2001-05-11 Mark Mitchell <mark@codesourcery.com>
2559 * loop.h (struct movables): Remove `num'.
2560 * loop.c (scan_loop): Don't set it. Use count_insns_in_loop.
2561 Adjust call to strength_reduce.
2562 (num_unmoved_movables): New function.
2563 (move_movables): Don't set movables->num.
2564 (strength_reduce): Compute the number of instructions in the loop
2565 here, rather than in the caller.
2566 (check_dbra_loop): Always clear reversible_mem_store if there
2567 are any memory sets.
2568 (loop_regs_scan): Don't count instructions here.
2569 (count_insn_in_loop): New function.
2571 2001-05-11 Mark Mitchell <mark@codesourcery.com>
2573 * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
2575 2001-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
2577 * c-common.c (finish_label_expr): New function, lifted from
2578 from cp/semantics.c.
2579 * c-common.h (finish_label_expr, lookup_label): New prototypes.
2580 * c-parse.in: Move 3 blocks of parser code into new functions.
2581 * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
2582 * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
2583 (lookup_label): Remove.
2585 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
2587 * config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
2588 FLOAT_BIT_ORDER_MISMATCH.
2590 2001-05-10 David Edelsohn <edelsohn@gnu.org>
2592 * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
2593 bytes. Reported by Kazu Hirata <kazu@hxi.com>.
2595 2001-05-10 David Edelsohn <edelsohn@gnu.org>
2597 * expr.c (emit_group_load): extract_bit_field requires a REG or
2600 Thu May 10 14:45:44 2001 Jeffrey A Law (law@cygnus.com)
2602 * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
2603 a computed jump into an unconditional jump.
2604 In second hunk of code for collapsing computed and conditional jumps
2605 into unconditional jumps, reemit the jump in additional cases.
2607 * jump.c (jump_optimize_1): Do not wrap the new jump target
2608 inside a LABEL_REF; gen_jump will do that automatically.
2610 2001-05-10 Toon Moene <toon@moene.indiv.nluug.nl>
2612 * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
2613 contents for a SYMBOL_REF in case of floating point constants.
2615 2001-05-10 DJ Delorie <dj@redhat.com>
2617 * c-common.c (combine_strings): Widen strings in a
2618 host-endian-independent way.
2620 2001-05-10 Joseph S. Myers <jsm28@cam.ac.uk>
2622 * c-parse.in: Remove many shift/reduce conflicts. Update
2624 (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
2625 declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
2626 declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
2627 declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
2628 declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
2629 declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
2630 declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
2631 declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
2632 declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
2633 declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
2634 maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
2635 typespec_reserved_nonattr, typespec_reserved_attr,
2636 typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
2637 structsp_nonattr, components_notype, component_notype_declarator,
2638 absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
2639 firstparm, setspecs_fp): New
2640 (typed_declspecs, reserved_declspecs, typed_typespecs,
2641 reserved_typespecquals, declmods, typespec, typespecqual_reserved,
2642 typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
2643 declmods_no_prefix_attr, nonempty_type_quals, structsp,
2644 type_quals): Remove. Users updated.
2645 (initdecls, notype_initdecls, after_type_declarator,
2646 parm_declarator, notype_declarator, absdcl1, components, ivars):
2647 Don't allow attributes at the start of a declarator; include them
2648 in the production containing the declarator instead. Always
2649 require type specifiers before trying to redeclare a typedef name.
2650 (typename): Allow for attributes but warn that they are ignored.
2651 (parmlist, firstparm, setspecs_fp): Include attributes in
2652 parmlist; suck them off the parser stack in firstparm using
2655 Thu May 10 09:17:42 2001 Jeffrey A Law (law@cygnus.com)
2657 * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p
2658 to determine if a block has an unconditional jump at its end.
2660 * jump.c (jump_optimize_1): When converting a conditional jump
2661 to an unconditional jump, build the jump using gen_jump instead
2662 of just modify operands in-place.
2664 2001-05-09 Zack Weinberg <zackw@stanford.edu>
2666 * cppinit.c (cpp_post_options): Shut off macro expansion if
2668 * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
2669 IN_I directives only if the # is in column 1 and the directive
2670 name begins in column 2.
2671 * cppmain.c (scan_buffer): Insert a space between # and an
2672 identifier, when that identifier is a directive name.
2674 * tradcpp.c (struct file_buf): Add a pointer to the next entry
2675 in the header search path.
2676 (enum node_type): Add T_INCLUDE_NEXT.
2677 (directive_table): Add entry for include_next.
2678 (do_include_next): New function.
2679 (process_include): New routine, broken out of do_include.
2680 (finclude): Insert 'nhd' argument, to be copied into
2681 next_header_dir of the new buffer.
2682 (main): Adjust to match.
2683 * gsyslimits.h, limity.h: Un-indent #include_next.
2685 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
2687 * objc.texi: Move from ../libobjc/objc-features.texi. Adjust for
2688 inclusion as a chapter of the GCC manual.
2689 * gcc.texi: Include objc.texi.
2690 * fdl.texi: Use @unnumberedsec for the addendum.
2691 * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
2693 Wed May 9 16:01:41 CEST 2001 Jan Hubicka <jh@suse.cz>
2695 * i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
2697 Wed May 9 10:40:25 2001 Alexandre Oliva <aoliva@redhat.com>
2699 * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
2700 handling of two-address insns.
2702 Wed May 9 10:36:18 2001 Alexandre Oliva <aoliva@redhat.com>
2704 * Makefile.in (NM_FOR_TARGET): Look for ./nm, then
2705 ../binutils/nm-new instead of ../binutils/nm.
2707 Wed May 9 12:15:46 CEST 2001 Jan Hubicka <jh@suse.cz>
2709 * i386.md (movdi splitter): Fix the splitting condition
2710 (float_extenddftf splitter): Fix mode.
2712 Wed May 9 12:05:39 CEST 2001 Jan Hubicka <jh@suse.cz>
2714 * genrecog.c (write_switch): Avoid outputting of switch for
2715 types wider than int.
2717 2001-05-03 Andrew Haley <aph@cambridge.redhat.com>
2719 * reload1.c (copy_eh_notes): New function.
2720 (emit_input_reload_insns): Call it.
2721 (emit_output_reload_insns): Call it.
2723 2001-05-07 Zack Weinberg <zackw@stanford.edu>
2725 * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
2727 * config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
2728 config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
2730 * optabs.c: Delete #ifdef BROKEN_LDEXP block.
2732 2001-05-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
2734 * pa.md (interspace_jump): Revise comment.
2735 (builtin_longjmp): Block initial setup insns from delay slot of
2737 (builtin_setjmp_receiver): New expander to save and restore PIC
2740 * som.h (NM_FLAGS): Remove `-n' sort option. Revise comment.
2742 Mon May 7 09:30:14 2001 Jeffrey A Law (law@cygnus.com)
2744 * toplev.c (compile_file): Set up the output file before we call
2745 the various initializers for the compiler.
2747 * except.c (sjlj_mark_call_sites): Do not search for assignments to
2748 non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
2750 * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
2751 * pa-64.h (*_TYPE_SIZE): Undefine before redefining.
2753 2001-05-06 Zack Weinberg <zackw@stanford.edu>
2755 * Makefile.in (tradcpp0): Correct typo in dependency list.
2757 2001-05-06 Geoff Keating <geoffk@redhat.com>
2759 * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
2760 the link register if we're not going to use it.
2762 * config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
2763 (output_function_profiler): Likewise.
2765 2001-05-07 Alan Modra <amodra@one.net.au>
2767 * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
2769 2001-05-06 Alexandre Oliva <aoliva@redhat.com>
2771 * unroll.c (loop_iterations): Don't sign-extend abs_diff;
2772 zero-extend it. Make abs_inc unsigned.
2774 * optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
2775 widest mode in narrowing and widening operations.
2777 * config/mips/mips.md: Sign extend CONST_INTs.
2779 2001-05-06 Andreas Jaeger <aj@suse.de>
2781 * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
2782 (i386 Options): Document -momit-leaf-frame-pointer.
2784 2001-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
2786 * c-typeck.c (internal_build_compound_expr): Check for
2787 array to pointer conversion just once.
2789 2001-05-05 Richard Henderson <rth@redhat.com>
2791 * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
2793 2001-05-05 Richard Henderson <rth@redhat.com>
2795 * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
2796 to the parent of the fixup region.
2798 2001-05-05 Jakub Jelinek <jakub@redhat.com>
2800 * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
2802 * cpp.texi (__NO_INLINE): Document it.
2804 2001-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
2806 * cppfiles.c (struct include_file): New member err_no.
2807 (find_or_create_entry): Set it.
2808 (open_file): Don't set fds to -2. Instead, use err_no to
2809 remember previous errors, if any.
2811 2001-05-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2813 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
2814 between X and Y by using sequences of xgdx and xgdy.
2816 2001-05-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2818 * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
2819 of '!' for the 'D' alternative ('!' is too strong).
2820 ("*logicalsi3_silshl16"): Likewise.
2821 ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
2822 ("movstrictsi"): Remove spurious '+'.
2823 ("movstrictqi"): Don't accept 'A' and remove spurious '+'.
2824 ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
2825 ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
2828 2001-05-04 David Edelsohn <edelsohn@gnu.org>
2830 * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT.
2832 2001-05-04 Lars Brinkhoff <lars@nocrew.org>
2834 * simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1
2837 2001-05-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2839 * config/rs6000/rs6000.md (ashldi3 splits): Guard with
2842 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2844 * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
2845 soft register, use ror instead of rol.
2847 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2849 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
2850 into account pre/post increment decrement for 68HC12.
2851 Fix other problems in replacement and fix call to reg_mentioned_p.
2853 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2855 * config/m68hc11/larith.asm (L_regs_frame): New for _.frame.
2856 Put the soft registers in bss for 68HC12.
2857 (L_regs_d3_4): New for _.d3 and _.d4.
2858 (L_regs_d5_6): Likewise.
2859 (L_regs_d1_2): Likewise.
2860 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts.
2862 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2864 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
2865 to the pre-processor when -fshort-double is specified.
2866 * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
2868 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2870 * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
2871 (__mulsi3): Rewrite for 68HC12.
2872 * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
2873 Mark 'x' constraint with earlyclobber to prevent a
2874 RELOAD_FOR_OTHER_ADDRESS to go in it.
2875 (mulhi3_m68hc12): New pattern.
2876 (mulhi3_m68hc11): Rename of mulhi3.
2877 (mulhi3): New expand for 68HC12 optimisation.
2878 (umulhisi3, mulhisi3): New patterns for 68HC12.
2880 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2882 * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
2883 (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
2884 (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.
2886 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2888 * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
2889 constants cheap after reload.
2890 * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
2892 (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
2893 so that gcc prefers a shift by 16.
2894 (m6811_cost, m6812_cost): Make the shift cheap compared to an add.
2896 2001-05-04 Nick Clifton <nickc@cambridge.redhat.com>
2898 * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
2900 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2902 * alpha.h: NULL_PTR -> NULL.
2909 * i386.md: Likewise.
2912 * m68hc11.h: Likewise.
2913 * rs6000.h: Likewise.
2916 * sparc.h: Likewise.
2920 * final.c: Likewise.
2922 * recog.c: Likewise.
2924 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2926 * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
2927 `bool' parameter to `int'.
2929 * hash.c (hash_lookup): Likewise.
2931 * hash.h (hash_lookup): Likewise.
2933 * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.
2935 Fri May 4 13:10:03 CEST 2001 Jan Hubicka <jh@suse.cz>
2937 * i386.c (x86_initialize_trampoline): Fix mode of constant.
2939 2001-05-03 Geoff Keating <geoffk@redhat.com>
2941 * invoke.texi (i386 Options): Delete references to -malign-jumps,
2942 -malign-loops, -malign-functions.
2943 * i386.c (ix86_align_funcs): Delete.
2944 (ix86_align_loops): Delete.
2945 (ix86_align_jumps): Delete.
2946 (override_options): Mark -malign-* as obsolete. Emulate their
2947 behaviour with the -falign-* options. Default -falign-* from
2948 the processor table.
2949 * i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
2950 patch of Wed May 2 13:09:36 2001.
2951 (LOOP_ALIGN): Delete.
2952 (LOOP_ALIGN_MAX_SKIP): Delete.
2953 (LABEL_ALIGN_AFTER_BARRIER): Delete.
2954 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.
2956 2001-05-04 Andreas Jaeger <aj@suse.de>
2958 * except.h: Add prototype declaration for
2959 expand_builtin_init_dwarf_reg_sizes.
2961 2001-05-03 Geoffrey Keating <geoffk@redhat.com>
2963 * Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.
2965 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2967 * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
2969 ("bitcmpqi2"): New pattern for bit-extract and test.
2970 ("bitcmphi"): New pattern for bitb/bita instructions.
2972 2001-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
2974 * gccbug.in: Use a temporary directory when the mktemp command is
2977 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2979 * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
2981 (INITIALIZE_TRAMPOLINE): Call it.
2982 (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
2983 (TRAMPOLINE_TEMPLATE): Remove.
2984 * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
2985 * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
2988 2001-05-03 David O'Brien <obrien@FreeBSD.org>
2990 * config/t-freebsd: Don't install "assert.h" in gcc. Compile crtbeginS.o
2991 and crtendS.o with PIC.
2993 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2995 * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
2997 (___subdi3, ___adddi3): Use x instead of y as index register.
2998 (__init_bss_section, __map_data_section): Optimize for 68HC12.
2999 (__memset, __memcpy): Likewise.
3000 (regs): Put the soft registers in bss for 68HC12.
3001 (abort): Use trap to abort for 68hc12.
3002 (__mulhi3, __mulhi32): Use emul for 68hc12.
3003 (__mulsi3): Avoid to use the tmp soft register for 68hc12.
3005 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3007 * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
3008 * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
3009 * config/m68hc11/m68hc11.c (limit_reload_class): Remove.
3010 (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
3011 Set 68HC12 min offset to -65536.
3012 (print_operand): Put parenthesis arround the operand if it refers
3013 to a symbol having the same name as a register.
3014 (m68hc11_z_replacement): When z register is replaced by its
3015 equivalent soft register, force the insn to be re-recognized.
3016 (m68hc11_check_z_replacement): Fix the test when destination is
3017 the index register and z dies in the insn.
3018 (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
3020 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3022 * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
3023 costs according to processor variant.
3024 (m68hc11_shift_cost): New function to compute shift costs.
3025 (m68hc11_rtx_costs): Define costs according to processor variant.
3026 (m6811_cost): Costs for 68HC11.
3027 (m6812_cost): Costs for 68HC12.
3028 (COSTS_N_INSNS): Remove.
3030 * config/m68hc11/m68hc11.h (RTX_COSTS): New.
3031 (DEFAULT_RTX_COSTS): Remove.
3032 (CONST_COSTS): Define costs according to OUTER_CODE.
3033 (processor_costs): New struct to define costs.
3034 (m68hc11_cost): Pointer to current costs.
3036 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3038 * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
3039 and use m68hc11_notice_keep_cc when using leax/leay.
3040 (addhi3 split): Reject split if the insn is handled by
3042 * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
3043 push must be handled in a special way if the source operand uses
3044 sp as index register.
3045 (m68hc11_notice_keep_cc): New function.
3046 (m68hc11_gen_movhi): Use it when an insn changes a register but
3048 (m68hc11_gen_movqi): Fix move for 68HC12.
3049 * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.
3051 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3053 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
3054 and don't pass operands[0] to emit_library_call_value.
3056 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3058 * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
3059 (zero_extendsi split): Simplify and use (zero_extendhi).
3060 (*addhi3): Remove 'w' constraint since stack pointer is handled
3062 (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
3063 (*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
3064 (*ashrhi3_const): Fix shift by 7.
3065 (*lshrsi3_const16): Fix template.
3066 (call, call_value): Fix constraint and predicate.
3068 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3070 * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
3071 (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
3072 (CC_REGNUM): Likewise.
3073 (*unnamed splits): Use above constants instead of hard coded numbers.
3074 (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
3075 (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
3076 (*return_16bit, *unnamed peepholes): Likewise.
3078 2001-05-03 David O'Brien <obrien@FreeBSD.org>
3080 * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix): Do not include
3081 rs6000/rs6000.h twice.
3083 2001-05-03 Mark Elbrecht <snowball3@bigfoot.com>
3085 * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
3086 (CPP_SPEC): Conditionally define MSDOS and GO32.
3087 (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
3088 (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
3090 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.
3092 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3094 * config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
3096 2001-05-03 Mark Mitchell <mark@codesourcery.com>
3098 * integrate.h (struct inline_remap): Add leaf_reg_map table.
3099 * integrate.c (expand_inline_function): Use xcalloc to allocate
3101 (copy_rtx_and_substitute): Use the leaf_reg_map for leaf
3104 2001-05-03 Mark Mitchell <mark@codesourcery.com>
3106 * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
3109 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3111 * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
3112 linker if -mrelax is given.
3113 (TARGET_SWITCHES): Document -mrelax.
3115 Re-installed 2001-01-09's patch:
3116 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
3117 if it's wider than long and the target's long is wider than the
3120 2001-05-02 David O'Brien <obrien@FreeBSD.org>
3122 * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h: Do not
3123 directly include rs6000/rs6000.h. Instead do it in tm.h.
3125 2001-05-02 Stan Shebs <shebs@apple.com>
3127 * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
3128 NSConstantString for NeXT-style runtimes.
3129 (STRING_OBJECT_GLOBAL_NAME): New macro.
3130 (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
3131 OCTI_STRING_CLASS_DECL.
3132 (constant_string_global_id): New macro.
3133 (string_class_decl): Ditto.
3134 (setup_string_decl): New function.
3135 (build_objc_string_object): Use it to build a NeXT runtime
3136 compatible string initializer.
3138 2001-05-02 Jakub Jelinek <jakub@redhat.com>
3140 * tradcpp.c (do_define): Make sure we don't walk past limit.
3142 2000-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3144 * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
3145 offsets if not REG_OK_STRICT.
3147 * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
3148 (INT_REG_OK_FOR_INDEX_P): Likewise.
3149 (INT_REG_OK_FOR_BASE_P): Likewise.
3150 (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
3151 (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
3152 (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
3153 INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
3154 REG_OK_FOR_BASE_P. Take an additional parameter.
3155 (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
3156 (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
3157 (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
3158 (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
3159 rs6000_legitimate_address() and use it.
3160 * config/rs6000/rs6000.c: Update all callers.
3161 (rs6000_legitimate_address): New function.
3163 2001-05-02 David Edelsohn <edelsohn@gnu.org>
3165 * config/rs6000/rs6000.c (rs6000_emit_move): Merge
3166 special_constant conditional blocks together.
3168 2001-05-02 Dale Johannesen <dalej@apple.com>
3170 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
3172 (STRICT_ARGUMENT_NAMING): Define.
3173 * config/rs6000/rs6000.c (function_arg_advance, function_arg,
3174 function_arg_partial_nregs, setup_incoming_varargs): Remove
3175 args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
3178 Wed May 2 13:09:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3180 * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
3182 * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
3185 * expr.c (store_field): Do nothing except elaborate side-effects if
3188 2001-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3190 * c-lex.c: NULL_PTR -> NULL.
3192 * emit-rtl.c: Likewise.
3194 * genpeep.c: Likewise.
3196 * mips-tdump.c: Likewise.
3197 * reload1.c: Likewise.
3198 * rtlanal.c: Likewise.
3200 * stor-layout.c: Likewise.
3201 * toplev.c: Likewise.
3203 2001-05-01 Per Bothner <per@bothner.com>
3205 * expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR,
3206 call do_pending_stack_adjust before emiting label.
3208 2001-05-01 Mark Mitchell <mark@codesourcery.com>
3210 * extend.texi: Fix typo.
3212 2001-05-01 Stan Shebs <shebs@apple.com>
3214 * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
3215 of UOBJC_MODULES_decl.
3216 (generate_strings): Clear DECL_CONTEXT of new decl nodes.
3217 (generate_descriptor_table): Ditto.
3218 (generate_protocols): Ditto.
3219 (generate_protocol_list): Ditto.
3220 (generate_classref_translation_entry): Ditto.
3222 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
3224 * invoke.texi (Optimize Options): Add documentation for `--param
3225 max-delay-slot-insn-search' and `--param
3226 max-delay-slot-live-search' and reorder --param section.
3227 * params.def: Modify initial comment.
3228 * params.h (param_info): Add `help' member.
3229 * toplev.c (lang_independent_params): Include `help' description.
3230 (display_help): Print --param parameters.
3232 2001-05-01 Zack Weinberg <zackw@stanford.edu>
3234 * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
3235 Remove references to deleted files.
3236 (*-*-openbsd): No need to override xmake_file.
3237 (*-*-sysv4): Treat like *-*-sysv.
3239 * configure.in: Probe for ldopen in various places, and set up
3240 collect2 to be linked with them if found.
3241 Don't dink with Windows registry stuff unless $host_os is a
3242 Win32 os name. Check to see if we need -ladvapi32.
3243 * configure: Regenerate.
3245 * Makefile: Get rid of CLIB and HOST_CLIB.
3246 Substitute in COLLECT2_LIBS and link collect2 against its contents.
3247 * build-make: Get rid of HOST_CLIB.
3249 * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
3250 config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
3251 config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
3252 config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
3253 config/rs6000/x-rs6000: Delete.
3255 * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
3258 24 x-host fragments remain, 0 x-cpu, 3 top level.
3260 2001-05-01 Zack Weinberg <zackw@stanford.edu>
3262 * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
3263 * configure: Regenerate.
3265 2001-05-01 Angela Marie Thomas <angela@cygnus.com>
3267 * Makefile.in (install-headers): Remove redundant dependency.
3269 2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
3271 * c-tree.texi (USING_STMT): Document.
3273 2001-05-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3275 * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
3276 * c-common.c: Likewise.
3277 * c-decl.c: Likewise.
3278 * combine.c: Likewise.
3279 * rs6000.c: Likewise.
3280 * except.c: Likewise.
3281 * explow.c: Likewise.
3283 * fold-const.c: Likewise.
3284 * function.c: Likewise.
3287 * integrate.c: Likewise.
3289 * objc/objc-act.c: Likewise.
3290 * recog.c: Likewise.
3291 * reg-stack.c: Likewise.
3292 * reload.c: Likewise.
3293 * reload1.c: Likewise.
3294 * simplify-rtx.c: Likewise.
3296 * varasm.c: Likewise.
3298 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3300 * diagnostic.def: New file.
3301 * diagnostic.h (diagnostic_t): New enum.
3302 * Makefile.in (diagnostic.o): Depend on diagnostic.def
3304 2001-04-30 Zack Weinberg <zackw@stanford.edu>
3306 * tsystem.h: Test only POSIX for availability of string.h
3308 * config.gcc (all systems): If USG appeared in xm_defines,
3309 change it to POSIX. If both USG and POSIX appeared, just
3310 delete USG. Remove unnecessary quotes around xm_defines
3312 (m68k-crds-unos*): Don't #define unos - tested nowhere.
3313 (m68k-apple-aux*): Don't #define AUX - tested nowhere.
3314 (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
3315 powerpc-*-linux*): No need to set xm_defines - handled by
3316 global settings for *-*-linux*.
3318 2001-04-30 Zack Weinberg <zackw@stanford.edu>
3320 * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
3321 Always include gstab.h, not system stab.h. Don't provide
3322 default definitions of N_CATCH or N_OPT. Always use the
3323 gstab.h variant of STAB_CODE_TYPE.
3324 * final.c: Don't include stab.h/gstab.h at all, or provide
3325 defaults for N_SLINE and N_SOL.
3327 * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
3328 N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
3330 * sdbout.c: Always include gsyms.h instead of system syms.h.
3332 * configure.in: No need to check for stab.h.
3333 * configure, config.in: Regenerate.
3334 * Makefile.in (final.o): Don't depend on gstab.h.
3336 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3337 Richard Henderson <rth@redhat.com>
3339 * extend.texi: Improve documentation of volatile asms.
3341 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3343 * c-tree.texi: Fix thinko.
3344 * gcc.texi: Likewise.
3346 2001-04-30 Richard Henderson <rth@redhat.com>
3348 * c-common.c (c_promoting_integer_type_p): New function, from the
3349 corpse of old macro. Properly promote too-small enumerations and
3350 booleans. Adjust all callers.
3351 * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
3352 (c_promoting_integer_type_p): Declare.
3353 * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
3354 * c-typeck.c: Likewise.
3355 (default_conversion): Remove now redundant boolean check.
3357 2001-04-30 Jan Hubicka <jh@suse.cz>
3358 Richard Henderson <rth@redhat.com>
3360 * regmove.c (try_apply_stack_adjustment): Remove now redundant
3362 (combine_stack_adjustments_for_block): Don't combine stack
3363 allocation followed by deallocations. Handle grow-up stacks.
3365 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3367 * fdl.texi: New file.
3368 * c-tree.texi: Use the GFDL.
3369 * gcc.texi: Likewise.
3371 2001-04-30 Stan Shebs <shebs@apple.com>
3373 * invoke.texi: Add a section documenting Objective-C options.
3375 2001-04-27 Andrew Haley <aph@cambridge.redhat.com>
3377 * emit-rtl.c (try_split): Copy EH notes to sequence.
3379 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3381 * regmove.c (record_stack_memrefs): Catch all references to the
3384 2001-04-29 Toomas Rosin <toomas at ns dot tklabor dot ee>
3386 * Makefile.in (stmp-fixinc): quote shell assignment values
3388 2001-04-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3390 * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
3394 * prefix.c: Likewise.
3396 2001-04-28 Stan Shebs <shebs@apple.com>
3398 * objc/objc-act.c (handle_class_ref): Rewrite to flush target
3399 specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
3400 * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
3401 * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.
3403 * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
3404 (NEXT_OBJC_RUNTIME): Define.
3406 Sat Apr 28 21:02:58 CEST 2001 Jan Hubicka <jh@suse.cz>
3408 * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
3409 * simplify-rtx.c (simplify_gen_relational): Likewise.
3411 * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.
3413 * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
3414 * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.
3416 * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
3417 registers in SSE case; fix handling of the immediates.
3418 (negsf2_ifs, abssf2_ifs): Tweak constraints; require
3419 operands to be in regsiters before reload.
3420 (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
3421 (negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
3422 (abstf,absxf,negtf,negxf splitters): Compute
3423 properly the regnum for x86_64.
3424 (avsdf2_if_rex64): New.
3426 Sat Apr 28 10:36:23 2001 Jeffrey A Law (law@cygnus.com)
3428 * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
3429 and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
3430 into the constant pool.
3431 * jump.c (jump_optimize_1): Remove barrier successors after all
3432 the LABEL_NUSES counds have been computed.
3433 (delete_barrier_successors): When deleting a tablejump insn, also
3434 delete the jump table it uses.
3435 * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
3438 2001-04-28 Martin Kalen <martin.kalen@todaysystems.com.au>
3440 * pa.c (FRP): Remove erroneous white space in macro definition.
3442 2001-04-28 Andreas Jaeger <aj@suse.de>
3444 * invoke.texi: Use XX-bit instead of XXbit or XX bit where
3446 * extend.texi: Likewise.
3447 * tm.texi: Likewise.
3449 2001-04-28 Andreas Jaeger <aj@suse.de>
3451 * md.texi: Use XX-bit instead of XXbit or XX bit where
3454 2001-04-28 Jens Schweikhardt <schweikh@schweikhardt.net>
3456 * gcc.c (process_command): Allow -l lib in addition to -llib
3457 for POSIX compliance. This fixes PR c/2347.
3459 * invoke.texi: Update section on Link Options accordingly.
3461 2001-04-27 Zack Weinberg <zackw@stanford.edu>
3463 * function.c (purge_addressof_1): Remove the duplicate
3464 if (code == SET) block. Fold the two if (code == ADDRESSOF)
3467 2001-04-28 Jason Merrill <jason_merrill@redhat.com>
3469 * except.c (expand_eh_region_start): Don't start a new block.
3470 (expand_eh_region_end): Don't end a block.
3471 * stmt.c (expand_end_bindings): Don't end EH blocks.
3472 (expand_decl_cleanup): Starting an EH region won't change the block.
3473 (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
3474 (is_eh_region): Lose.
3477 2001-04-27 Jeffrey Oldham <oldham@codesourcery.com>
3479 * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode.
3481 * collect2.c (main): Add `-L' case to remove duplicate entries.
3482 (is_in_args): New function to check for a duplicate argument.
3483 * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro.
3484 * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation.
3485 * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
3486 Define to be nonzero.
3488 2001-04-27 Andreas Jaeger <aj@suse.de>
3489 Richard Henderson <rth@redhat.com>
3491 * md.texi (Machine Constraints): Document additional i386
3492 constraints and fix description of "A".
3494 Fri Apr 27 10:43:49 2001 Jeffrey A Law (law@cygnus.com)
3496 * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
3498 2001-04-27 Jason Merrill <jason_merrill@redhat.com>
3500 * except.c (get_exception_filter): word_mode, not Pmode.
3502 2001-04-26 Geoffrey Keating <geoffk@redhat.com>
3504 * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
3505 common to other movsf patterns. Move up so that in future
3506 people who change the other patterns will change it too.
3507 (movsf_lo_sum): Allow even for soft-float; add appropriate
3509 (movsf_high): Likewise.
3510 (movsf_high+1): Allow even for soft-float.
3512 * function.c (expand_function_end): Always clobber the
3513 return registers, even if there is no return label.
3515 Thu Apr 26 20:28:21 CEST 2001 Jan Hubicka <jh@suse.cz>
3517 * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
3519 Thu Apr 26 19:20:28 CEST 2001 Jan Hubicka <jh@suse.cz>
3521 * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
3522 (pushqi2_rex64, pushhi2_rex64): Add.
3524 2001-04-26 Andrew Haley <aph@cambridge.redhat.com>
3526 * except.c (expand_eh_region_end_cleanup): Force pending stack
3527 adjust before emitting label that branches around cleanup code.
3529 2001-04-26 H.J. Lu (hjl@gnu.org)
3531 * config.gcc (mips*-*-linux*): Add elfos.h to tm_file.
3533 * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
3535 * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
3536 (ASM_OUTPUT_SECTION_NAME): Likewise.
3537 (ASM_WEAKEN_LABEL): Likewise.
3538 (UNIQUE_SECTION): Likewise.
3539 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
3540 (ASM_OUTPUT_DESTRUCTOR): Likewise.
3541 * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
3542 (ASM_OUTPUT_SECTION_NAME): Likewise.
3543 (ASM_WEAKEN_LABEL): Likewise.
3544 (UNIQUE_SECTION): Likewise.
3545 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
3546 (ASM_OUTPUT_DESTRUCTOR): Likewise.
3547 * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
3548 * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
3549 (ASM_FILE_START): Likewise.
3550 (ASM_OUTPUT_SOURCE_LINE): Likewise.
3551 (ASM_DECLARE_OBJECT_NAME): Likewise.
3552 (ASM_FILE_END): Likewise.
3553 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3554 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3555 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3556 (ASM_OUTPUT_CASE_LABEL): Likewise.
3557 (ASM_OUTPUT_SKIP): Likewise.
3558 (ASM_OUTPUT_ASCII): Likewise.
3559 (ASM_OUTPUT_IDENT): Likewise.
3560 (READONLY_DATA_SECTION): Likewise.
3561 (EXTRA_SECTIONS): Likewise.
3562 (EXTRA_SECTION_FUNCTIONS): Likewise.
3563 (SELECT_RTX_SECTION): Likewise.
3564 (SELECT_SECTION): Likewise.
3566 * config/mips/linux.h (INVOKE__main): Undefine.
3567 (CTOR_LIST_BEGIN): Likewise.
3568 (CTOR_LIST_END): Likewise.
3569 (DTOR_LIST_BEGIN): Likewise.
3570 (DTOR_LIST_END): Likewise.
3571 (SET_ASM_OP): Defined it to ".dummy".
3572 (ASM_OUTPUT_DEF): Defined.
3573 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.
3575 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
3577 * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
3578 assembler supports .p2align.
3580 2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
3582 * c-lex.c (c_lex): Remove # from %o diagnostic formatting.
3584 2001-04-26 Jakub Jelinek <jakub@redhat.com>
3586 * integrate.c (expand_inline_function): Check for error_mark_node
3589 2001-04-26 Jakub Jelinek <jakub@redhat.com>
3591 * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
3594 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3596 * configure.in (configargs.h): Define thread_model.
3597 * configure: Rebuilt.
3598 * gcc.c (main): Print it with -v.
3600 2001-04-25 Joseph S. Myers <jsm28@cam.ac.uk>
3602 * invoke.texi: Document -Wmissing-braces, -dumpspecs,
3603 -dumpmachine, -dumpversion, -fmem-report and -ftime-report.
3604 * gcc.1: Regenerate.
3606 2001-04-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3608 * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
3609 is_redundant_typedef): Use static inline instead of inline static.
3611 Wed Apr 25 18:21:01 2001 Christopher Faylor <cgf@cygnus.com>
3613 * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that
3614 this directory is always searched.
3616 2001-04-25 Richard Henderson <rth@redhat.com>
3618 * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
3619 of registers to restore along non eh_return path.
3621 2001-04-25 Jakub Jelinek <jakub@redhat.com>
3623 * c-format.c (check_format_info_recurse): Handle
3624 PLUS_EXPR for format string.
3626 2001-04-25 Jakub Jelinek <jakub@redhat.com>
3628 * config/ia64/ia64.h (CC1_SPEC): Define.
3629 * config/ia64/linux.h (CC1_SPEC): Define.
3631 Wed Apr 25 17:09:50 2001 J"orn Rennecke <amylaar@redhat.com>
3633 * emit-rtl.c (constant_subword): Also do sign extension in
3634 BITS_PER_WORD == 16 case.
3636 2001-04-25 Jason Merrill <jason_merrill@redhat.com>
3638 * loop.c (try_swap_copy_prop): Go back to checking insn.
3640 2001-04-25 Jakub Jelinek <jakub@redhat.com>
3642 * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
3643 if check_mode is non-zero.
3645 2001-04-25 Jakub Jelinek <jakub@redhat.com>
3647 * config/i386/i386.c (ix86_expand_int_movcc): If overlap between
3648 out and comparison sequence has been detected, put result into
3649 proper temporary pseudo.
3651 2001-04-24 Zack Weinberg <zackw@stanford.edu>
3653 * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy.
3654 * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty.
3655 * libgcc2.c: Remove __dummy and __builtin_saveregs.
3656 * libgcc2.h: Don't prototype __builtin_saveregs or __dummy.
3657 * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs
3658 for future reference.
3660 2001-04-24 Jason Merrill <jason_merrill@redhat.com>
3662 * except.c (reachable_handlers): Step out one level from a RESX.
3664 * except.c (struct eh_region): Rename 'last' to 'resume'.
3665 (mark_eh_region, duplicate_eh_region_1): Adjust.
3666 (expand_eh_region_end_cleanup): Remember the jump, not the barrier.
3667 (build_post_landing_pads): Likewise.
3668 (expand_end_catch, expand_eh_region_end_allowed): Don't set it.
3669 (expand_eh_region_end_must_not_throw): Likewise.
3670 (connect_post_landing_pads): Thread (only) regions with non-deleted
3673 * except.c (expand_eh_region_end_cleanup): Save the EH return data
3674 registers around the cleanup.
3675 (get_exception_filter): New fn.
3676 (finish_eh_generation): Use it.
3678 2001-04-24 Nathan Sidwell <nathan@codesourcery.com>
3680 * c-semantics.c (add_scope_stmt): Don't call
3681 current_scope_stmt_stack multiple times.
3683 2001-04-24 Zack Weinberg <zackw@stanford.edu>
3684 Nathan Sidwell <nathan@codesourcery.com>
3686 Lazy __FUNCTION__ generation.
3687 * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME,
3688 RID_C99_FUNCTION_NAME): New _RIDs.
3689 (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove.
3690 (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL,
3691 CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New
3693 (function_id_node, pretty_function_id_node, func_id_node): Remove.
3694 (c99_function_name_decl_node, function_name_decl_node,
3695 pretty_function_name_decl_node, saved_function_name_decls):
3697 (struct language_function): Remove x_function_name_declared_p.
3698 (make_fname_decl): Remove a parameter.
3699 (declare_function_names): Remove prototype.
3700 (start_fname_decls, finish_fname_decls): Prototype.
3701 (fname_as_string): Likewise.
3702 (fname_string, fname_decl): Likewise.
3703 * c-common.c (make_fname_decl): Adjust.
3704 (struct fname_var_t): New struct.
3705 (fname_vars): New static array.
3706 (declare_function_name): Remove.
3707 (start_fname_decls, finish_fname_decls): New functions.
3708 (fname_as_string): New function from remnants of
3709 declare_function_name.
3710 (fname_string, fname_decl): New functions.
3712 * c-decl.c (c_function_name_declared_p): Remove.
3713 (init_decl_processing): Don't generate __FUNCTION__ et al ids,
3714 don't call declare_function_name. Call start_fname_decls.
3715 (c_make_fname_decl): Adjust parameters. Generate the name. Don't
3716 clobber the line number. Call finish_decl.
3717 (start_function): Call start_fname_decls.
3718 (finish_function): Call finish_fname_decls.
3719 Remove c_function_name_declared_p.
3720 (push_c_function_context): Don't push c_function_name_declared_p.
3721 (pop_c_function_context): Don't pop c_function_name_declared_p.
3722 (c_begin_compound_stmt): Don't check c_function_name_declared_p.
3723 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens.
3724 (program): Call finish_fname_decls for C.
3725 (primary): Add VAR_FUNC_NAME.
3726 (reswords): Add slots for __FUNCTION__ et al.
3727 (rid_to_yy): Add mappings for __FUNCTION__ et al.
3728 (yylexname): If it's a STRING_FUNC_NAME generate the function name
3729 now. Don't look for VAR_DECLs containing __FUNCTION__ et al.
3730 * c-semantics.c (prune_unused_decls): Remove.
3731 (finish_stmt_tree): Don't call prune_unused_decls.
3732 (genrtl_decl_stmt): Don't prune unused decls here.
3734 2001-04-24 Nick Clifton <nickc@cambridge.redhat.com>
3736 * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
3737 constant pool, use the pool's SYMBOL_REF instead.
3739 * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the
3742 2001-04-23 Joseph S. Myers <jsm28@cam.ac.uk>
3744 * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
3745 passing nested NOP_EXPRs to fold.
3747 Mon Apr 23 14:32:12 CEST 2001 Jan Hubicka <jh@suse.cz>
3749 * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
3751 2001-04-22 Mark Mitchell <mark@codesourcery.com>
3753 * loop.c (loop_delete_insns): Add prototype.
3755 2001-04-23 Phil Edwards <pme@sources.redhat.com>
3757 * configure.in: Remove ENABLE_STD_NAMESPACE.
3758 * config.in: Regenerated.
3759 * configure: Regenerated.
3761 2001-04-22 Stan Shebs <shebs@apple.com>
3763 * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h
3765 * config/rs6000/xm-darwin.h: Remove file.
3767 2001-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3769 * collect2.c (main): Use concat in lieu of xmalloc/sprintf.
3770 (write_c_file_stat): Likewise.
3772 * dbxout.c (dbxout_init): Likewise.
3774 * profile.c (output_func_start_profiler): Likewise.
3776 2001-04-22 Philipp Thomas <pthomas@suse.de>
3778 * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out,
3779 require it instead of the CVS version.
3780 * cpperror.c (v_message): Put a blank before the macro
3781 body to not confuse exgettext.
3783 2001-04-21 Mark Mitchell <mark@codesourcery.com>
3785 * flow.c (proagate_one_insn): Remove useless assignment.
3786 * jump.c (delete_insn): Tidy.
3787 * loop.c (try_copy_prop): When deleting an instruction with a
3788 REG_RETVAL note, delete the entire libcall sequence.
3789 (loop_delete_insns): New function.
3790 * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if
3791 we're not substituting into them yet.
3793 2001-04-21 Kazu Hirata <kazu@hxi.com>
3795 * config/h8300/h8300.c (general_operand_src): Fix a comment typo.
3797 * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
3799 * config/i960/i960.c (signed_arith_operand): Likewise.
3801 * calls.c (expand_call): Fix a comment typo.
3803 2001-04-20 Zack Weinberg <zackw@stanford.edu>
3805 * configure.in: Probe for times, clock, struct tms, and clock_t.
3806 * configure, config.in: Regenerate.
3807 * timevar.c: Replace ifdef forest in get_time with (relatively)
3808 straightforward series of checks based on autoconf's probes.
3810 Fri Apr 20 12:24:50 2001 Jeffrey A Law (law@cygnus.com)
3812 * config/pa/som.h (NM_FLAGS): Define.
3814 2001-04-20 Bernd Schmidt <bernds@redhat.com>
3816 * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
3818 * ia64-protos.h (ia64_sched_reorder): Additional arg for clock.
3819 * ia64.c (nop_cycles_until): New function.
3820 (prev_cycle, prev_first, last_issued): New static variables.
3821 (ia64_sched_reorder): Additional arg for clock.
3822 On final scheduling pass, emit extra NOPs as needed.
3823 Set prev_first and prev_cycle.
3824 (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder.
3825 (ia64_variable_issue): Set last_issued.
3827 2001-04-20 Alexandre Oliva <aoliva@redhat.com>
3829 * config/i386/i386.c (ix86_expand_int_movcc,
3830 ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.
3832 2001-04-20 Geoff Keating <geoffk@redhat.com>
3834 * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
3835 ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
3836 ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
3837 ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
3838 ctrdi_internal6): In the short-branch case, this insn is only 4
3839 bytes long. Reported by Reza Yazdani <reza@apple.com>.
3841 2001-04-20 Jakub Jelinek <jakub@redhat.com>
3843 * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
3844 "=u" is used together with "st" resp. "st(1)" clobber.
3846 2001-04-20 Jakub Jelinek <jakub@redhat.com>
3848 * gcse.c (gcse_main): Fix comment typo.
3849 (delete_null_pointer_check): Likewise.
3850 (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
3851 * cse.c (cse_insn): Likewise.
3852 * function.c (fixup_var_refs_insns_with_hash): The sequence is
3855 2001-04-19 Zack Weinberg <zackw@stanford.edu>
3857 * toplev.c: Excise all code for the undocumented -dm option.
3858 (float_signal): Call signal just once, unconditionally.
3860 2001-04-19 Geoff Keating <geoffk@redhat.com>
3862 * fold-const.c (fold): Use first_rtl_op rather than
3863 TREE_CODE_LENGTH when looping over parameters of a tree.
3864 Correct strange grouping in test for evaluated SAVE_EXPR.
3866 Thu Apr 19 19:15:26 2001 Jeffrey A Law (law@cygnus.com)
3868 * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
3869 * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
3871 * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
3872 name at 32 total characters.
3873 (ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing
3874 functions in named sections -- data items can still go into unique
3875 sections, but they have normal names (ie $LIT$ and $DATA$).
3877 * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
3880 2001-04-19 DJ Delorie <dj@redhat.com>
3882 * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
3883 to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
3884 * config/i386/cygwin.h: Likewise.
3885 * config/i386/mingw32.h: Likewise.
3886 * config/vax/vms.h: Likewise.
3887 * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
3889 * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
3890 to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
3891 * config/i386/xm-cygwin.h: Likewise.
3892 * config/i386/xm-djgpp.h: Likewise.
3893 * config/i386/xm-mingw32.h: Likewise.
3894 * config/vax/xm-vms.h: Likewise.
3896 * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
3897 instead of OBJECT_SUFFIX.
3898 * collect2.c (find_a_file): Look for files matching the extension
3899 HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
3900 * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
3901 TARGET_EXECUTABLE_SUFFIX.
3902 (find_a_file): Use HOST_EXECUTABLE_SUFFIX.
3903 (make_relative_prefix): Likewise.
3904 (convert_filename): Use TARGET_ suffixes throughout. Remove
3906 (process_command): Likewise.
3907 (do_spec_1): Likewise.
3908 * java/lang.c (init_parse): Likewise.
3910 * gcc.texi : Document four new options matching the pattern
3911 (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX. Remove documentation
3912 for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX. Remove
3913 documentation for NO_AUTO_EXE_SUFFIX.
3915 2001-04-19 Mark Mitchell <mark@codesourcery.com>
3917 * toplev.h (struct lang_hooks): Allow decode_option to indicate
3918 that language-independent processing should not be done.
3919 * toplev.c (main): Adjust accordingly.
3921 * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
3922 * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
3924 * mips.md (reload_outputdi): Require that operand0 be a
3927 2001-04-19 Jakub Jelinek <jakub@redhat.com>
3929 * invoke.texi (-Wshadow): Clarify.
3931 2001-04-18 Mark Mitchell <mark@codesourcery.com>
3933 * loop.c (load_mems): Examine all the instructions in the loop
3934 before concluding that all jumps branch to the first instruction
3937 Wed Apr 18 20:32:03 2001 Christopher Faylor <cgf@cygnus.com>
3939 * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
3941 2001-04-18 Jakub Jelinek <jakub@redhat.com>
3943 * cpp.texi (-Wwhite-space): Remove.
3944 (-Wall): -Wall does not imply -Wwhite-space.
3946 2001-04-17 Zack Weinberg <zackw@stanford.edu>
3948 * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
3949 use it instead of blindly generating a .stabs.
3950 * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
3952 * xcoffout.c: Don't bother defining default for N_CATCH.
3953 (UNKNOWN_STAB): Use internal_error.
3954 (stab_to_sclass): Remove now-unnecessary aborts.
3955 Remove #if 0'ed case N_BROWS. Add #ifdef N_OPT block.
3957 Tue Apr 17 21:41:11 2001 Jeffrey A Law (law@cygnus.com)
3959 * jump.c (mark_all_labels): Canonicalize the tail recursion
3960 label attached to CALL_PLACEHOLDER insns.
3962 2001-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3964 * output.h (dump_flow_info, free_basic_block_vars,
3965 which_alternative): Delete redundant prototypes.
3967 * rtl.h (bss_section): Likewise.
3969 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
3971 * dbxout.c (N_OPT): Define if not available from <stab.h>
3973 2001-04-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
3975 * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
3976 libraries and native K&R compilers.
3978 2001-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3980 * c-typeck.c (convert_arguments): Don't check for width changes
3983 * invoke.texi (-Wtraditional): Update documentation.
3985 2001-04-16 Zack Weinberg <zackw@stanford.edu>
3987 * toplev.c (output_lang_identify): Delete.
3988 (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
3989 Don't generate gcc2_compiled. label. Don't emit a nop if profiling.
3990 If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
3991 after calling ASM_FILE_END.
3993 * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
3994 Instead, unconditionally emit an N_OPT stab with string equal
3995 to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
3997 * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
3999 * config/dbxelf.h, config/freebsd.h, config/nextstep.h,
4000 config/psos.h, config/ptx4.h, config/1750a/1750a.h,
4001 config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
4002 config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
4003 config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
4004 config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
4005 config/i370/i370.h, config/i386/beos-elf.h,
4006 config/i386/osf1elf.h, config/i386/osfrose.h,
4007 config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
4008 config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
4009 config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
4010 config/m68k/tower-as.h, config/mcore/mcore-elf.h,
4011 config/mips/iris6.h, config/mips/osfrose.h,
4012 config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
4013 config/sparc/sp64-elf.h:
4014 Delete definitions of any or all of: ASM_IDENTIFY_GCC,
4015 ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
4017 * config/elfos.h, config/freebsd.h, config/linux.h,
4018 config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
4019 config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
4020 config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
4021 of ASM_FILE_START which merely emit a .version directive. Delete
4022 definitions of ASM_FILE_END which merely emit an .ident directive.
4024 * config/avr/avr.h, config/vax/vax.h: Delete definition of
4025 ASM_IDENTIFY_GCC and move part of its logic into
4028 * config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
4029 config/sparc/linux-aout.h: Don't emit .version directive in
4032 * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
4033 (output_file_start): Correct comment.
4035 * config/i386/osfrose.h: Don't emit trailing .ident directive.
4036 * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
4038 * config/pa/lib2funcs.asm: Delete gcc_compiled. label.
4039 * config/rs6000/aix.h: Correct comment.
4041 * config/i386/i386afe.h: Delete.
4042 * config.gcc: Remove references to i386afe.h.
4044 * tm.texi: Delete documentation of ASM_IDENTIFY_GCC. The
4045 other macros deleted by this patch were undocumented.
4047 Mon Apr 16 08:03:48 2001 Jeffrey A Law (law@cygnus.com)
4049 * pa.md (reload_outdi): Operand 0 must be a non hard register.
4051 * pa.c (secondary_reload_class): SAR<->FP copies require a
4054 * install.texi (mips-mips-bsd): Update list of functions
4055 required to include memmove.
4056 * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
4057 used functions to include memmove.
4059 2001-04-15 Toon Moene <toon@moene.indiv.nluug.nl>
4061 * i386.md (sqrtdf2): SFmode should be DFmode.
4063 2001-04-15 Alexandre Oliva <aoliva@redhat.com>
4065 * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
4066 (find_moveable_store): Likewise.
4068 2001-04-15 Jim Wilson <wilson@redhat.com>
4070 * function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
4072 Sat Apr 14 16:24:19 CEST 2001 Jan Hubicka <jh@suse.cz>
4074 * i386.md (ashldi3_1_rex64): Add 'J' to the constraints
4075 (ashrdi3_1_rex64): Change 'n' constraint to 'J'.
4077 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
4079 * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
4082 2001-04-14 Alan Modra <amodra@one.net.au>
4084 * pa.c (force_mode): New function.
4085 (emit_move_sequence): Use it instead of generating new rtx_REGs.
4087 2001-04-13 Jim Wilson <wilson@redhat.com>
4089 * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
4090 (first_instruction): New static variable.
4091 (rtx_needs_barrier): Return 1 for alloc.
4092 (init_insn_group_barriers): Set first_instruction.
4093 (rws_sum): Delete duplicate definition.
4094 (group_barrier_needed_p): Return 0 when first_instruction true.
4095 (safe_group_barrier_needed_p): Save and restore first_instruction
4096 around group_barrier_needed_p call.
4098 Fri Apr 13 21:40:28 2001 Loren J. Rittle <ljrittle@acm.org>
4100 * expr.h (enum libfunc_index)